/* Portal Schedule adapter: shared tokens/buttons/badges/table; app-owned guidance, cycle cards and event details. No global theme or workflow overrides. */
.schedule-page[hidden],.schedule-page [hidden]{display:none!important}
/* Portal-only Medium action adapter; shared primitives and Hub stay unchanged. */
:is(.schedule-page,.schedule-help){--portal-control-size:36px}
:is(.schedule-page,.schedule-help) .button:not(.primary){--button-size:var(--portal-control-size);--button-inline:12px;--button-gap:8px;--button-icon-size:18px}
.schedule-page .ds-table-control{min-height:var(--portal-control-size);min-width:var(--portal-control-size);padding-block:calc((var(--portal-control-size) - 24px)/2)}
.schedule-page .ds-sort-action{min-height:var(--portal-control-size);min-width:var(--portal-control-size)}
@media(max-width:700px),(pointer:coarse){:is(.schedule-page,.schedule-help){--portal-control-size:44px}}
.schedule-page :is(h3,ol,dl,dd){margin:0}
.schedule-kicker{color:var(--muted);font-size:14px;line-height:22px;font-weight:500;margin-bottom:var(--s2)}
.schedule-page h2{font-size:22px;line-height:30px;font-weight:600;letter-spacing:-.3px}
.schedule-page h3{font-size:16px;line-height:24px;font-weight:600}
.schedule-meta{color:var(--muted);font-size:14px;line-height:22px}
.schedule-decision-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s4);align-items:stretch}
.schedule-planning-card{padding:var(--s6);border:1px solid var(--border);border-radius:var(--radius-surface);background:var(--surface);min-width:0}
.schedule-primary{border-top:3px solid var(--action-fill)}
.schedule-planning-card h2{margin-bottom:var(--s4)}
.schedule-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s4);margin:0}
.schedule-facts dt{color:var(--muted);font-size:14px;line-height:22px;margin-bottom:var(--s1)}
.schedule-facts dd{font-size:16px;line-height:24px;font-weight:500;overflow-wrap:anywhere}
.schedule-facts small{display:block;font-weight:400;margin-top:var(--s1)}
.schedule-next-step{margin-top:var(--s6);font-size:16px;line-height:26px}
.schedule-next-step strong{display:block;font-weight:600;margin-bottom:var(--s1)}
.schedule-cta{display:flex;flex-wrap:wrap;gap:var(--s2);margin-block:var(--s4)}
.schedule-principle{font-size:14px;line-height:22px;color:var(--muted);padding-top:var(--s4);border-top:1px solid var(--border)}
#schedule-release-explanation{font-size:14px;line-height:22px;color:var(--muted)}
.schedule-readiness{margin-top:var(--s8)}
.schedule-readiness>p{margin-top:var(--s2)}
.schedule-stages{list-style:none;padding:0;counter-reset:stage;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--s4);margin-top:var(--s4)!important}
.schedule-stages li{counter-increment:stage;border-top:2px solid var(--border);padding-top:var(--s3);min-width:0}
.schedule-stages li::before{content:counter(stage);display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--subtle);color:var(--muted);font-weight:600;margin-bottom:var(--s2)}
.schedule-stages h3{margin-bottom:var(--s2)}
.schedule-stages h3 .ds-badge{display:inline-block;font-size:14px;font-weight:400}
.schedule-stages p{font-size:14px;line-height:22px;color:var(--muted)}
.schedule-stages p+p{margin-top:var(--s2);color:var(--ink)}
.schedule-urgent{margin-block:var(--s6) var(--s8);padding:var(--s4);border-left:2px solid var(--border);background:var(--subtle);border-radius:0 var(--radius-control) var(--radius-control) 0;font-size:14px;line-height:22px}
.schedule-urgent p+p{margin-top:var(--s2);color:var(--muted)}
.schedule-urgent a{text-decoration:underline;text-underline-offset:3px}
.schedule-combined{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s8);min-width:0}.schedule-combined>section{min-width:0}
.schedule-section-heading{display:flex;justify-content:space-between;align-items:start;gap:var(--s4);margin-bottom:var(--s4)}
.schedule-section-heading h2{margin-bottom:var(--s2)}
.schedule-timeline-viewport{position:relative;overflow:hidden;padding:4px;margin:-4px;min-width:0;container-type:inline-size}
.schedule-timeline{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
/* Four Sprint cards: 4 across, then 2x2, then 1 column (never 3+1). Same breakpoints as two 400px pair-groups of 190px cards, kept on the ol>li list. */
@container (min-width:392px){.schedule-timeline:has(>li+li){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:812px){.schedule-timeline:has(>li+li){grid-template-columns:repeat(4,minmax(0,1fr))}}
.schedule-timeline.timeline-departing{position:absolute;inset:4px;pointer-events:none}
:is(#schedule-previous,#schedule-timeline-previous)>svg{transform:rotate(90deg)}
:is(#schedule-next,#schedule-timeline-next)>svg{transform:rotate(-90deg)}
.timeline-sprint{min-width:0}.timeline-node{display:none}
/* Cycle card (Sprint cycles + Release plans, Oct 16 handoff): title row, date row, full-bleed footer bar. Dark handoff values mapped to token mixes so Light follows. */
.schedule-page{--cycle-border:color-mix(in srgb,var(--ink) 8%,var(--surface));--cycle-block-border:color-mix(in srgb,var(--ink) 10%,var(--surface));--cycle-border-hover:color-mix(in srgb,var(--muted) 32%,var(--surface));--cycle-hover:color-mix(in srgb,var(--ink) 3%,var(--surface));--cycle-done-border:color-mix(in srgb,var(--ink) 18%,var(--surface));--cycle-pill-border:color-mix(in srgb,var(--ink) 14%,var(--surface));--cycle-selected:color-mix(in srgb,var(--action-fill) 8%,var(--surface));--cycle-ring:color-mix(in srgb,var(--action-fill) 20%,transparent);--cycle-dim:var(--muted);--cycle-faint:var(--muted);--cycle-strong:var(--ink);--cycle-footer-ink:var(--muted);--cycle-footer-hover-ink:var(--ink)}
:root[data-theme=dark] .schedule-page{--cycle-dim:color-mix(in srgb,var(--muted) 78%,var(--canvas));--cycle-faint:color-mix(in srgb,var(--muted) 70%,var(--canvas));--cycle-strong:#fff;--cycle-footer-hover-ink:#fff}
.schedule-page .schedule-cycle-card{box-sizing:border-box;padding:16px;border:1px solid var(--cycle-border);border-radius:var(--radius-surface);background:var(--surface);height:100%;display:flex;flex-direction:column;gap:14px;min-width:0;margin:0;transition:background-color 150ms,border-color 150ms,box-shadow 150ms,transform 100ms}
.schedule-page .schedule-cycle-card[data-cycle-status=done]{border-style:dashed;border-color:var(--cycle-done-border);background:transparent}
.schedule-page .schedule-cycle-card .schedule-cycle-card-heading h3{font:700 20px/26px var(--font-body);letter-spacing:-.01em;white-space:nowrap;margin:0;color:var(--cycle-strong)}
.schedule-page .schedule-cycle-card[data-cycle-status=done] .schedule-cycle-card-heading h3{color:var(--muted)}
.schedule-page .ds-badge.schedule-cycle-status{flex:none;margin:3px 0 0 auto;min-height:0;padding:0 9px;gap:0;border:1px solid var(--cycle-pill-border);border-radius:999px;background:transparent;color:var(--status-pending-ink);font-size:12px;line-height:20px;font-weight:600;white-space:nowrap}
.schedule-page .ds-badge.schedule-cycle-status[data-status=done]{color:var(--cycle-dim)}
.schedule-page .ds-badge.schedule-cycle-status[data-status=current]{background:var(--action-fill);border-color:var(--action-fill);color:var(--on-action)}
.schedule-page .ds-badge.schedule-cycle-status[data-status=committed]{background:var(--success-surface);border-color:var(--success-border);color:var(--success)}
.schedule-page .ds-badge.schedule-cycle-status[data-status=today]{background:var(--success);border-color:var(--success);color:var(--surface)}
.schedule-cycle-date-row{display:flex;align-items:center;gap:12px;min-width:0}
.schedule-cycle-date-block{box-sizing:border-box;flex:none;width:46px;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;border:1px solid var(--cycle-block-border);border-radius:8px;text-align:center}
.schedule-cycle-date-month{font-size:11px;line-height:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--subtle);color:var(--muted)}
.schedule-cycle-date-day{font-size:16px;line-height:26px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.schedule-cycle-date-text{display:grid;min-width:0}
.schedule-page .schedule-cycle-line{margin:0;font-size:14px;line-height:22px;color:var(--muted);overflow-wrap:anywhere}
.schedule-page .schedule-cycle-planning{margin:0;font-size:13px;line-height:20px;color:var(--cycle-faint)}
.schedule-page .schedule-cycle-card[data-cycle-status=done] :is(.schedule-cycle-line,.schedule-cycle-date-day){color:var(--cycle-dim)}
/* Selectable Sprint cards: hover, press and selected (aria-pressed) states. Selection lives on the card border, never on the pill. */
.timeline-sprint .timeline-card,.release-plan-preview:has([data-select-release]){cursor:pointer}
@media(hover:hover){.schedule-page :is(.timeline-sprint:not(.is-linked-highlight) .timeline-card,.release-plan-preview:has([data-select-release]):not(.is-selected)):hover{border-style:solid;border-color:var(--cycle-border-hover);background:var(--cycle-hover)}}
:is(.timeline-sprint .timeline-card,.release-plan-preview:has([data-select-release])):active:not(:has(.schedule-cycle-footer-link:active)){transform:scale(.985)}
.schedule-page :is(.timeline-sprint.is-linked-highlight .timeline-card,.schedule-cycle-card.is-selected){border-style:solid;border-color:var(--action-fill);background:var(--cycle-selected);box-shadow:0 0 0 3px var(--cycle-ring)}
.schedule-page :is(.timeline-sprint.is-linked-highlight .schedule-cycle-card,.schedule-cycle-card.is-selected) .schedule-cycle-card-heading h3{color:var(--cycle-strong)}
:is(.timeline-sprint.is-linked-highlight,.schedule-cycle-card.is-selected) .schedule-cycle-date-block{border-color:var(--action-fill)}
:is(.timeline-sprint.is-linked-highlight,.schedule-cycle-card.is-selected) .schedule-cycle-date-month{background:var(--action-fill);color:var(--on-action)}
.schedule-day.is-release-highlight{background-color:color-mix(in srgb,var(--success) 16%,transparent)}
/* Release hover/focus preview, same as Sprint: dashed outline on the card, a neutral tint on its calendar day.
   Hover is neutral for Sprint and Release (Oct 16 user decision), so it never reads as the blue/green selected state. */
.schedule-page{--calendar-preview:color-mix(in srgb,var(--ink) 6%,var(--surface))}
.release-plan-preview.is-linked-preview:not(.is-selected){outline:1px dashed var(--muted);outline-offset:2px}
.schedule-day.is-release-preview:not(.is-release-highlight){background-color:var(--calendar-preview)}
.schedule-page .schedule-cycle-card-footer{display:block;margin-top:auto;padding:0}
.schedule-page .schedule-cycle-footer-link{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:var(--s2);margin:2px -16px -16px;padding:12px 16px;border-top:1px solid var(--border);border-radius:0 0 11px 11px;color:var(--cycle-footer-ink);font-size:14px;line-height:22px;font-weight:600;text-decoration:none;transition:background-color 150ms,color 150ms}
@media(hover:hover){.schedule-page .schedule-cycle-footer-link:hover{background:var(--cycle-hover);color:var(--cycle-footer-hover-ink)}}
@media(pointer:coarse){.schedule-page .schedule-cycle-footer-link{min-height:44px}}
@media(prefers-reduced-motion:reduce){.schedule-page :is(.schedule-cycle-card,.schedule-cycle-footer-link){transition:none}.timeline-sprint .timeline-card:active{transform:none}}
.schedule-cycle-card-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0}
.schedule-cycle-card-body{display:grid;gap:var(--s2);min-width:0}
.timeline-title .timeline-state{margin-left:auto;flex:none}
.timeline-body :is(p,time){overflow-wrap:anywhere}
.timeline-select{background:transparent;border:0;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-align:left;color:inherit;cursor:pointer}
.timeline-range{display:flex;align-items:baseline;flex-wrap:wrap}
.timeline-date-range{white-space:nowrap}
.timeline-scope{font-size:14px;line-height:22px;color:var(--muted)}
.timeline-sprint.is-linked-preview:not(.is-linked-highlight) .timeline-card{outline:1px dashed var(--muted);outline-offset:2px}
.schedule-cycle-heading{align-items:center}
.schedule-cycle-heading h2{min-width:0;margin-bottom:0}
.schedule-cycle-controls{display:flex;flex:none;align-items:center;gap:var(--s2);margin-left:auto}
.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);flex-wrap:wrap;margin-bottom:var(--s3)}
.schedule-calendar-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 var(--s2);min-width:0;margin:0}
.schedule-calendar-period{color:var(--muted);font-weight:400;white-space:nowrap}
.schedule-controls{display:flex;flex-wrap:wrap;gap:var(--s2);margin-left:auto}
.schedule-register{max-width:100%;min-width:0;overflow:auto;border:1px solid var(--border);border-radius:var(--radius-surface);background:var(--surface)}
/* Stable month grid: natural week counts share one height; no filler dates. */
.schedule-table{height:600px;width:100%;min-width:840px;table-layout:fixed;border-collapse:collapse;font-size:14px;line-height:22px}
.schedule-table thead th{text-align:left;padding:var(--s2);background:var(--table-header);color:var(--muted);border-bottom:1px solid var(--border);font-weight:500}
.schedule-table .schedule-weekend-col{width:auto}
.schedule-day{padding:var(--s1);height:60px;vertical-align:top;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.schedule-day:last-child{border-right:0}
.schedule-sprint-group:last-of-type tr:last-child td{border-bottom:0}.schedule-sprint-group.is-current{border-left:3px solid var(--ink)}
.schedule-day.is-outside{background:var(--canvas)}.is-outside .schedule-date{color:var(--muted)}
.schedule-day.is-weekend{background-image:repeating-linear-gradient(135deg,transparent 0 6px,var(--border) 6px 7px)}
.schedule-day-head{display:flex;justify-content:center;margin-bottom:var(--s1)}
.calendar-select{display:flex;justify-content:center;align-items:center;min-height:28px;min-width:28px;padding:0;border:0;background:transparent;font:inherit;color:var(--ink);cursor:pointer}
.schedule-date{display:grid;place-items:center;min-width:28px;min-height:28px;border-radius:50%;font-variant-numeric:tabular-nums;white-space:nowrap}
.schedule-date.is-month-start{border-radius:var(--radius-control)}.is-today .schedule-date{background:var(--action-fill);color:var(--on-action);font-weight:600}
.schedule-sprint-group.is-linked-highlight .schedule-day{background-color:var(--menu-active)}
.schedule-sprint-group.is-linked-preview:not(.is-linked-highlight) .schedule-day{background-color:var(--calendar-preview)}
/* Live pill family: two restrained hues plus neutral, kind-owned variants. */
.schedule-chip{--schedule-chip-fill:var(--menu-active);--schedule-chip-ink:var(--action);--schedule-chip-border:var(--schedule-chip-ink);display:flex;align-items:center;gap:var(--s1);width:max-content;max-width:100%;height:28px;min-height:28px;padding:0 var(--s2);border:1px solid var(--schedule-chip-border);border-radius:var(--button-radius,999px);background:var(--schedule-chip-fill);color:var(--schedule-chip-ink);font:600 14px/22px var(--font-body);text-align:left;cursor:pointer}
/* Planning peers share solid tinted geometry;release is dominant,reviews quiet. */
.schedule-chip.is-qa-planning{--schedule-chip-fill:var(--violet-surface);--schedule-chip-ink:var(--violet)}
.schedule-chip.is-grooming{--schedule-chip-fill:var(--surface)}
/* Review exception: white/theme surface with quiet dashed neutral contour. */
.schedule-chip:is(.is-triage,.is-retro){--schedule-chip-fill:var(--surface);--schedule-chip-ink:var(--muted);--schedule-chip-border:var(--border);font-weight:400;border-style:dashed}
.schedule-chip.is-release{--schedule-chip-fill:var(--success);--schedule-chip-ink:var(--surface);--schedule-chip-border:var(--success)}
.schedule-chip.is-release-planning{--schedule-chip-fill:var(--surface);--schedule-chip-ink:var(--success)}
.schedule-chip+.schedule-chip{margin-top:2px}
@media(hover:hover){.schedule-chip:hover{background:color-mix(in srgb,var(--schedule-chip-fill),var(--schedule-chip-ink) 5%)}}
.schedule-chip:active{background:color-mix(in srgb,var(--schedule-chip-fill),var(--schedule-chip-ink) 10%)}
.schedule-chip .schedule-event{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.ceremony-tile{display:inline-grid;place-items:center;flex:none;width:18px;height:22px;color:inherit}.ceremony-tile svg{width:16px;height:16px}
.schedule-event-details{margin-top:var(--s3);padding:var(--s4);border:1px solid var(--border);border-radius:var(--radius-surface);background:var(--surface);display:grid;gap:var(--s2)}
.schedule-event-details>p:not(.schedule-meta){font-size:16px;line-height:26px}
.schedule-page :is(button,a,summary,[tabindex="0"]):focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.schedule-summary{display:grid;gap:var(--s3);padding:var(--s4);margin-bottom:var(--s6);border:1px solid var(--border);border-radius:var(--radius-surface);background:var(--surface)}
.schedule-summary-row{display:flex;align-items:center;flex-wrap:wrap;gap:var(--s3)}.schedule-progress{height:4px;background:var(--subtle);border-radius:999px;overflow:hidden}.schedule-progress>span{display:block;height:100%;background:var(--action-fill)}
.sprint-ticket{color:var(--muted)}
.release-tickets{margin-top:var(--s6,24px)}
@media(max-width:900px){.schedule-decision-grid{grid-template-columns:minmax(0,1fr)}.schedule-stages{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.schedule-planning-card{padding:var(--s4)}.schedule-facts{grid-template-columns:minmax(0,1fr)}.schedule-stages{grid-template-columns:minmax(0,1fr);gap:var(--s3)}.schedule-stages li{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:var(--s3);border-top:0;padding-top:0}.schedule-stages li::before{grid-column:1;grid-row:1/4}.schedule-stages li>*{grid-column:2}.schedule-stages li p+p{margin-top:var(--s1)}.schedule-timeline{grid-template-columns:minmax(0,1fr)}.schedule-cta .button{min-height:44px}.schedule-section-heading{gap:var(--s2)}.schedule-day{padding:var(--s1)}.timeline-range{white-space:normal}.schedule-calendar-heading{flex-basis:100%}}
/* Density follows input, not viewport width: narrow desktop stays compact. */
@media(pointer:coarse){.schedule-table{height:816px}.schedule-day{height:96px}.calendar-select{min-height:44px;min-width:44px}.schedule-chip{height:44px;min-height:44px}}
@media(forced-colors:active){.is-today .schedule-date{outline:2px solid Highlight}.timeline-sprint.is-current .timeline-card{border:2px solid CanvasText}.timeline-sprint.is-linked-highlight .timeline-card{outline:2px solid Highlight}.schedule-sprint-group.is-linked-highlight .schedule-day{outline:1px solid Highlight;outline-offset:-1px}.schedule-chip{border:1px solid ButtonText}}

/* Same release-plan composition in overview and sprint detail; no separate status model. */
.release-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin:0}
/* Release plans carousel (Oct 16 user decisions): 4 cards per view like Sprint, 2 under 900px, 1 under 480px; arrows in the heading page by one card. */
#release-plans{container-type:inline-size}
#release-plans-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.release-plan-grid:has(>.release-plan-preview){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px) / 4);margin:-4px;padding:4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:4px;scrollbar-width:none;position:relative}
.release-plan-grid:has(>.release-plan-preview)::-webkit-scrollbar{display:none}
.release-plan-grid>.release-plan-preview{scroll-snap-align:start}
@container (max-width:900px){.release-plan-grid:has(>.release-plan-preview){grid-auto-columns:calc((100% - 12px) / 2)}}
/* "…" card: releases skipped between Upcoming and a far selected release; not selectable. */
.schedule-page .release-plan-gap.schedule-cycle-card{border-style:dashed;border-color:var(--cycle-done-border);background:transparent;justify-content:center;text-align:center}
.schedule-page .release-plan-gap .schedule-cycle-card-heading{justify-content:center}
.schedule-page .release-plan-gap .schedule-cycle-card-heading h3{color:var(--muted);letter-spacing:.2em}
.release-plan-gap .schedule-cycle-card-body{justify-items:center}
@container (max-width:480px){.release-plan-grid:has(>.release-plan-preview){grid-auto-columns:100%}}
.release-plan-nav{display:flex;gap:8px;flex:none}
.release-plan-nav[hidden]{display:none}
.schedule-page .release-plan-nav-button{width:36px;height:36px;min-height:0;padding:0;display:inline-grid;place-items:center;border-radius:999px}
.release-plan-nav-button svg{width:18px;height:18px}
.release-plan-nav-button:disabled{opacity:.45;cursor:default}
@media(pointer:coarse){.schedule-page .release-plan-nav-button{width:44px;height:44px}}
/* Release plan cards (Oct 16 user decisions): same anatomy and neutral tones as Sprint cards; green replaces Sprint blue only where Sprint shows its action colour
   (selected border, ring, tint, selected date-block border and month band, the highlighted calendar day). The Today badge is solid green. */
.schedule-page .release-plan-preview.schedule-cycle-card{--action-fill:var(--success);--on-action:var(--surface);--cycle-selected:color-mix(in srgb,var(--success) 9%,var(--surface));--cycle-ring:color-mix(in srgb,var(--success) 24%,transparent)}
.release-plan-card{min-width:0;margin-bottom:0;align-content:start;overflow-wrap:anywhere}
.release-plan-heading>.ds-badge{margin-left:auto;flex:none}
.release-plan-work{padding-left:var(--s6);margin:0;display:grid;gap:var(--s2)}
#release-plans-heading-content{display:flex;flex-direction:column;gap:var(--s2)}
#release-plans-heading h2{margin-bottom:0}

/* Independent overview composition; shared calendar/cards have one renderer. */
#release-overview-content{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s8);margin-bottom:var(--s8)}

#sprint-overview-content{margin-bottom:var(--s8)}
/* Current cadence is the anchor; the carousel below changes only selected work. */
.sprint-current-progress-label{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--s2);margin-block:var(--s4) var(--s2)}
#sprint-current-day{font-size:14px;line-height:22px;font-weight:600}
#sprint-current-progress{height:8px}
#sprint-current-progress-note{margin-top:var(--s2)}
@media(forced-colors:active){#sprint-current-progress{outline:1px solid CanvasText;background:Canvas}#sprint-current-progress>span{background:Highlight;forced-color-adjust:none}}

/* Ticket navigation is the cycle-card footer bar; the existing detail register uses natural page height. */
/* Ticket Workflow modal (Oct 16 handoff design_handoff_ticket_workflow): header, two-column body, pinned aside footer. */
.schedule-help{--wf-review-ink:var(--action);--wf-review-rail:#b8cbf5;--wf-deliver-ink:var(--success);--wf-deliver-rail:#a7d9bc;--wf-step-hover:var(--subtle);--wf-aside:var(--canvas);--wf-line:var(--dropdown-border,var(--border));
 box-sizing:border-box;width:min(992px,calc(100vw - 32px));max-width:none;height:min(720px,calc(100dvh - 48px));max-height:none;padding:0;border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden}
:root[data-theme=dark] .schedule-help{--wf-review-rail:#2f4a7a;--wf-deliver-rail:#2b5a42;--wf-step-hover:#1c1c22;--wf-aside:#121216}
.schedule-help[open]{display:flex;flex-direction:column}
.schedule-help::backdrop{background:var(--dialog-backdrop)}
.schedule-help .workflow-header{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s4);padding:20px 20px 18px 28px;border-bottom:1px solid var(--border)}
.schedule-help .workflow-heading{min-width:0}
.schedule-help .workflow-heading h2{margin:0;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}
.schedule-help .workflow-heading p{margin:4px 0 0;color:var(--muted);text-wrap:pretty}
.schedule-help .workflow-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--wf-line);border-radius:999px;background:transparent;color:var(--ink);cursor:pointer}
.schedule-help .workflow-close .ds-icon{width:18px;height:18px}
.schedule-help .workflow-close:hover{background:var(--subtle)}
.schedule-help .workflow-close:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.schedule-help .workflow-body{flex:1 1 auto;min-height:0;display:flex;flex-wrap:wrap;overflow:hidden}
.schedule-help :is(.workflow-main,.workflow-aside-scroll){overscroll-behavior:contain}
.schedule-help :is(.workflow-main,.workflow-aside-scroll):focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.schedule-help .workflow-main{flex:2 1 420px;min-width:0;height:100%;box-sizing:border-box;overflow-y:auto;padding:24px 28px 28px;display:flex;flex-direction:column;gap:20px}
.schedule-help .workflow-intro h3{margin:0;font-size:16px;line-height:24px;font-weight:600}
.schedule-help .workflow-intro p{margin:2px 0 0;color:var(--muted);text-wrap:pretty}
.schedule-help .workflow-phase{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0}
.schedule-help .workflow-phase-label{flex:0 0 96px;padding-top:10px}
.schedule-help .workflow-phase-name{margin:0;font-size:13px;line-height:20px;font-weight:600;color:var(--wf-ink)}
.schedule-help .workflow-phase-range{margin:0;font-size:13px;line-height:20px;color:var(--muted)}
.schedule-help .workflow-phase-review{--wf-ink:var(--wf-review-ink);--wf-rail:var(--wf-review-rail)}
.schedule-help .workflow-phase-deliver{--wf-ink:var(--wf-deliver-ink);--wf-rail:var(--wf-deliver-rail)}
.schedule-help .workflow-steps{flex:1 1 260px;min-width:0;list-style:none;margin:0;padding:0 0 0 16px;border-left:2px solid var(--wf-rail);display:flex;flex-direction:column;gap:4px}
.schedule-help .workflow-step{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:10px 12px;border-radius:12px}
.schedule-help .workflow-step:hover{background:var(--wf-step-hover)}
.schedule-help .workflow-step-number{box-sizing:border-box;width:28px;height:28px;border:1px solid var(--wf-rail);border-radius:50%;display:grid;place-items:center;color:var(--wf-ink);font-size:13px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums}
.schedule-help .workflow-step-text{min-width:0}
.schedule-help .workflow-step-name{display:block;font-weight:600}
.schedule-help .workflow-step-description{display:block;color:var(--muted);text-wrap:pretty}
.schedule-help .workflow-aside{flex:1 1 280px;min-width:0;height:100%;box-sizing:border-box;display:flex;flex-direction:column;background:var(--wf-aside);box-shadow:-1px 0 0 var(--border),0 -1px 0 var(--border)}
.schedule-help .workflow-aside-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;padding:24px 24px 16px;display:flex;flex-direction:column;gap:24px}
.schedule-help .workflow-discussions h3{margin:0 0 4px;font-size:14px;line-height:22px;font-weight:600;color:var(--muted)}
.schedule-help .workflow-upcoming{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.schedule-help .workflow-upcoming>li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.schedule-help .workflow-upcoming>li.workflow-upcoming-empty{display:block;color:var(--muted)}
.schedule-help .workflow-date{display:block;align-self:start;overflow:hidden;border:1px solid var(--wf-line);border-radius:8px;text-align:center}
.schedule-help .workflow-date-month{display:block;font-size:11px;line-height:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--subtle);color:var(--muted)}
.schedule-help .workflow-date-day{display:block;font-size:16px;line-height:26px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.schedule-help .workflow-upcoming-text{min-width:0}
.schedule-help .workflow-upcoming-name{display:block;font-weight:600}
.schedule-help .workflow-upcoming-meta{display:block;font-size:13px;line-height:20px;color:var(--muted)}
.schedule-help .workflow-sooner{padding:14px 16px;border-radius:12px;background:var(--info);color:var(--on-info,var(--ink));display:flex;flex-direction:column;gap:8px}
.schedule-help .workflow-sooner p{margin:0;color:inherit;text-wrap:pretty}
.schedule-help .workflow-sooner-title{font-weight:600}
.schedule-help .workflow-sooner strong{font-weight:600}
.schedule-help .workflow-sooner a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.schedule-help .workflow-priority-note{margin:0;color:var(--muted);text-wrap:pretty}
.schedule-help .workflow-actions{flex:none;display:flex;flex-direction:column;gap:8px;margin:0;padding:16px 24px 24px;border-top:1px solid var(--border)}
.schedule-help .workflow-actions .workflow-action{--button-size:40px;width:100%;box-sizing:border-box;text-decoration:none}
@media(max-width:700px){
 .schedule-help{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0}
 .schedule-help .workflow-header{padding:16px 12px 14px 16px}
 .schedule-help .workflow-body{overflow-y:auto;overscroll-behavior:contain}
 .schedule-help :is(.workflow-main,.workflow-aside,.workflow-aside-scroll){height:auto;overflow:visible}
 .schedule-help .workflow-main{flex-basis:100%;padding:20px 16px 24px}
 .schedule-help .workflow-aside{flex-basis:100%}
 .schedule-help .workflow-aside-scroll{padding:20px 16px 16px}
 .schedule-help .workflow-actions{padding:16px 16px 24px}
}
@media(max-width:700px),(pointer:coarse){.schedule-help .workflow-close{width:44px;height:44px}.schedule-help .workflow-actions .workflow-action{--button-size:44px}}
@media(prefers-reduced-motion:reduce){.schedule-help[open]{animation:none}}
@media(forced-colors:active){.schedule-help :is(.workflow-steps,.workflow-step-number,.workflow-date,.workflow-close){border-color:CanvasText}.schedule-help .workflow-sooner{outline:1px solid CanvasText}}
/* Portal topbar layout moved to styles.css `.portal-topbar` (Oct 16 portal topbar handoff). */

/* Two direct inclusion choices, shared across Sprint and Release. */
.calendar-filter-popover{margin:0;padding:var(--s2);overflow:auto;max-width:calc(100vw - 16px)}
.calendar-filter-popover [hidden]{display:none!important}
.calendar-filter-popover :is(button,label,input){font-size:14px;line-height:22px}
.calendar-filter-popover .ds-dropdown__item{min-height:44px}
.calendar-filter-option{cursor:pointer;gap:var(--s2)}
.calendar-filter-option input{width:18px;height:18px;flex:none;accent-color:var(--action-fill)}
#calendar-filter-summary{margin:var(--s2);font-size:14px;line-height:22px}

/* One alignment overview shell; each feature owns meaningful content only. */
.schedule-page .schedule-overview-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:var(--s8);row-gap:var(--s6);align-items:start}
.sprint-current-overview{margin-bottom:var(--s6)}
.schedule-overview-main{min-width:0;display:grid;gap:var(--s2)}
.schedule-overview-main>.schedule-kicker{margin:0}
.schedule-page .schedule-overview-main>h2{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.3px;margin:0}
.schedule-overview-main>.schedule-meta{margin:0}
.schedule-overview-note{margin:var(--s2) 0 0;color:var(--muted);font-size:14px;line-height:22px}
.schedule-page .schedule-overview-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s4);margin:0;min-width:0}
@media(max-width:700px){.schedule-page .schedule-overview-card{grid-template-columns:minmax(0,1fr);gap:var(--s6)}}

.schedule-overview-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:var(--s2);min-width:0}
.schedule-overview-actions[hidden]{display:none}
.schedule-overview-actions>a{max-width:100%}

/* One header/action layout for Portal process help; Back remains a distinct detail navigation action. */
.portal-help-header>.portal-help-identity{min-width:0;flex:1}
.portal-help-actions{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:var(--s2);flex-wrap:wrap;max-width:100%}
.portal-help-actions .button{min-height:36px}
@media(max-width:760px){.portal-help-actions{justify-content:flex-start;align-self:flex-start}}
@media(max-width:700px),(pointer:coarse){.portal-help-actions .button{min-height:44px}}

/* Alignment-first help: main timeline unchanged;supporting dates and collaboration have distinct homes. */
/* Shared Workflow composition: primary timeline, visible supporting columns, contextual conversation actions. */

/* Canonical Release estimates v1: public table composes existing DS table/buttons. */
/* Release detail (Rakha, Oct 19): the status badge sits beside the page title, styled like the cycle-card status. */
.schedule-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.schedule-title-row h1{margin:0}
.schedule-page .schedule-title-row .ds-badge.schedule-cycle-status{margin:0}
