/* 2026-10-27: shared alignment and scoped spacing; no data or motion changes. */
.today-main .today-overview{align-items:start}
.today-main .task-popover{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px}
.today-main .task-popover button{display:flex;align-items:center;justify-content:center;min-height:44px;flex-direction:row;flex-wrap:wrap;gap:4px;padding:6px;font-size:13px}
.today-main .task-popover button small{flex-basis:100%;font-size:12px}
.today-main .task-option-actions{grid-column:1/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:6px}
.today-main .task-option-actions button{flex:0 0 auto;padding:6px 10px}
.today-main .task-option-actions .task-options-close{margin-left:auto}
.project-dashboard{margin-bottom:12px}
.archive-section{margin-top:16px}
.report-content .page-intro{margin-bottom:20px}
.report-content .report-navigation{margin:0 0 20px}
.weekly-planner>.page-intro{margin-bottom:20px;align-items:flex-start}
.weekly-planner .planner-section-head{margin:0 0 8px}
.weekly-planner .planner-section-head h2{font-size:18px;line-height:1.5}
.weekly-planner>.weekly-status{margin:0 0 16px;padding:0;background:transparent;font-size:13px}
.weekly-planner .weekly-add-row{margin-top:12px;gap:8px}
.weekly-controls-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.weekly-controls-layout .weekly-limit{flex-basis:100%;margin:0}
.weekly-planner .planner-footer{margin-top:12px;padding-top:0;border:0;align-items:flex-end}
.weekly-footer-actions{width:100%;justify-content:flex-end}
.weekly-footer-actions .primary{flex:none;min-width:88px}
.weekly-reference{margin-top:24px}
.weekly-card-actions{gap:0}
.weekly-card-actions :is(.head-action,.icon-button){display:grid;place-items:center;width:44px!important;min-width:44px;min-height:44px;height:44px;padding:0!important;border:0;border-radius:8px;background:transparent;color:var(--muted)}
.weekly-icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.weekly-icon-action:hover{background:var(--accent-soft);color:var(--accent)}
.weekly-icon-action:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.weekly-card-actions .icon-button::after{display:none}
.weekly-read-card .plan-card-head{flex-wrap:wrap}
.weekly-read-card h3{flex:1 1 160px;margin:7px 0 8px}
.weekly-card-actions{margin-left:auto}
.crew-content .crew-page>.page-intro{margin-bottom:20px}
.crew-content .crew-section-heading{align-items:flex-start}
.crew-section-heading>div{width:100%;min-width:0}
.crew-content .crew-section-heading p{max-width:none;min-height:1.5em;margin:7px 0 0;line-height:1.5}
.crew-section-heading+.crew-section-nav{line-height:1.5}
.crew-section-heading+.crew-section-nav>button:not(.crew-badges-button){width:100px;flex:none;padding-inline:8px}
.crew-list-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.crew-list-actions .crew-story-replay{display:inline-flex;align-items:center;min-height:44px;font-weight:500}
.crew-list-actions>.crew-secondary{min-height:44px;margin-left:auto}
.crew-my-boards .crew-discover-grid{align-items:start}
@media(max-width:1099px){
 .personal-save-status{bottom:calc(88px + env(safe-area-inset-bottom))}
}
@media(min-width:768px) and (max-width:1099px){
 .content.crew-content{width:100%;max-width:960px;padding:48px 32px 112px}
}
@media(min-width:1100px){
 .content.crew-content{width:min(100%,var(--layout-content));max-width:var(--layout-content);padding:clamp(52px,6vh,72px) var(--layout-gutter) 112px}
}
@media(max-width:600px){
 .crew-content .crew-section-heading h1{font-size:28px;line-height:1.2}
 .crew-content .crew-section-heading p{min-height:3em}
 .crew-section-heading+.crew-section-nav>button:not(.crew-badges-button){width:clamp(72px,22vw,92px)}
 .weekly-card-actions{gap:4px}
 .weekly-card-actions :is(.head-action,.icon-button){width:36px!important;min-width:36px}
 #app:has(.toast.show) .personal-save-status{bottom:calc(164px + env(safe-area-inset-bottom))}
 .content.crew-content{padding-inline:16px}
 .today-main .task-popover{grid-template-columns:repeat(3,minmax(0,1fr))}
 .weekly-planner>.page-intro{gap:12px;flex-wrap:wrap}
 .weekly-planner>.page-intro>.head-action{font-size:13px;margin-left:auto}
 .weekly-add-row .weekly-limit{flex-basis:100%;margin:0}
 .weekly-footer-actions .primary{flex:none}
 .weekly-controls-layout .weekly-footer-actions{flex-direction:column-reverse;align-items:stretch}
}
