/* Calculator controls set the scale for scheduling, including on narrow phones.
   Scope above dashboard defaults so this form keeps the calculator's sizing. */
#calculator #scheduler-host{display:flex;flex-direction:column;min-height:100%}
#calculator .calculator-schedule{display:flex;flex:1;flex-direction:column;max-width:none;font-family:inherit;font-size:var(--ss-type-body)}
#calculator .calculator-schedule :is([data-start-day-form],.cs-status,.cs-success){display:flex;flex:1;flex-direction:column;gap:18px;margin:0}
#calculator .calculator-schedule .cs-selection-summary{display:flex;flex:none;flex-direction:column;gap:12px;min-width:0;padding:14px;border-radius:12px;background:#292929}
#calculator .calculator-schedule .cs-name{margin:0;font-size:var(--ss-type-heading);font-weight:700;line-height:1.3;overflow-wrap:anywhere}
#calculator .calculator-schedule .cs-protocol{display:grid;grid-template-columns:minmax(72px,.9fr) minmax(0,1.3fr) minmax(0,1fr);gap:10px;margin:0}
#calculator .calculator-schedule .cs-protocol>div{display:flex;flex-direction:column;gap:4px;min-width:0}
#calculator .calculator-schedule .cs-protocol dt{font-size:var(--ss-type-small);line-height:1.4;color:#b7bbc8}
#calculator .calculator-schedule .cs-protocol dd{margin:0;font-size:var(--ss-type-body);line-height:1.4;overflow-wrap:anywhere}
#calculator .calculator-schedule .cs-protocol>div:first-child dd{overflow-wrap:normal}
#calculator .calculator-schedule .cs-question{margin:0;color:#fff;font-size:var(--ss-type-heading);font-weight:600;line-height:1.4}
#calculator .calculator-schedule .cs-date-picker{padding:0;border-radius:12px;background:transparent}
#calculator .calculator-schedule .cs-month-navigation{display:flex;gap:8px;align-items:center;margin-bottom:16px}
#calculator .calculator-schedule .cs-month-arrow{display:flex;align-items:center;justify-content:center;flex:none;width:52px;min-height:52px;padding:0 12px;border-radius:12px;background:#292929;font-size:24px}
#calculator .calculator-schedule .cs-month-arrow:is(:hover,:focus-visible){background:#383838}
#calculator .calculator-schedule .cs-month-arrow:disabled{opacity:.45}
#calculator .calculator-schedule .cs-month-heading{flex:1;min-width:0;text-align:center;font-size:var(--ss-type-heading);line-height:1.3}
#calculator .calculator-schedule .cs-month-heading strong{font-weight:700}
#calculator .calculator-schedule .cs-month-pager{display:flex;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;overflow-anchor:none;border-radius:0}
#calculator .calculator-schedule .cs-month-pager::-webkit-scrollbar{display:none}
#calculator .calculator-schedule .cs-month-slide{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
#calculator .calculator-schedule[aria-busy=true] .cs-month-pager{overflow-x:hidden;touch-action:pan-y pinch-zoom}
#calculator .calculator-schedule .cs-weekday-labels,#calculator .calculator-schedule .cs-day-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
#calculator .calculator-schedule .cs-weekday-labels{margin-bottom:8px;color:#c2c2c2;font-size:var(--ss-type-small);font-weight:700;text-align:center}
#calculator .calculator-schedule .cs-day-options button{min-width:0;min-height:56px;padding:4px 0;border-radius:12px;background:#292929;font-size:var(--ss-type-heading);font-weight:700}
#calculator .calculator-schedule .cs-day-options>span{min-height:56px}
#calculator .calculator-schedule .cs-day-options button:is(:hover,:focus-visible){background:#353535}
#calculator .calculator-schedule .cs-day-options button[aria-pressed=true]{background:#c8c8c8;color:#171717}
#calculator .calculator-schedule .cs-selected{margin:0;color:#b7bbc8;font-size:var(--ss-type-body);text-align:center}
#calculator .calculator-schedule .cs-error{margin:0 0 14px;color:#ffd0bc;font-size:var(--ss-type-body);line-height:1.5}
#calculator .calculator-schedule .cs-actions{display:grid;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin-top:auto;padding:4px 0}
#calculator .calculator-schedule .cs-actions>.cs-action:only-child{grid-column:1/-1}
#calculator .calculator-schedule .cs-account{display:flex;align-items:center;justify-content:center;min-height:var(--calculator-action-height);padding:8px;border-radius:12px;background:#292929;color:#fff;font-size:var(--ss-type-body);font-weight:700;text-align:center;text-decoration:none}
#calculator .calculator-schedule .cs-actions .cs-action{display:flex;align-items:center;justify-content:center;height:auto;min-height:var(--calculator-action-height);padding:8px;border-radius:12px;background:#323232;color:#fff;font:inherit;font-size:var(--ss-type-body);font-weight:700;line-height:1.35;text-align:center;text-decoration:none;overflow-wrap:normal;border:0!important;outline:0!important;box-shadow:none!important}
#calculator .calculator-schedule .cs-actions .cs-action:is(:hover,:focus-visible){background:#3c3c3c;text-decoration:none}
#calculator .calculator-schedule .cs-actions .cs-primary{background:#c8c8c8;color:#171717}
#calculator .calculator-schedule .cs-actions .cs-primary:is(:hover,:focus-visible){background:#e0e0e0;color:#171717}
#calculator .calculator-schedule .cs-action:disabled{opacity:.45}
/* Match the calculator page's final bottom clearance, with the safe inset once. */
@media(max-width:560px){
  #calculator .sheet:has(#scheduler-host){padding-bottom:calc(19.2px + var(--phone-bottom,env(safe-area-inset-bottom,0px)))}
  #calculator .calculator-schedule .cs-actions{padding-bottom:0}
}
@media(max-width:359px){
  #calculator .calculator-schedule .cs-day-options,#calculator .calculator-schedule .cs-weekday-labels{gap:2px}
}

#calculator .sheet.is-scheduler #sheet-title{display:none}#calculator .calculator-schedule [data-peptide-summary]{flex:none;min-width:0}
#calculator .sheet.is-scheduler .schedule-more{margin-left:auto}

/* A screen has one scrolling content region and an always-visible action row. */
#calculator .sheet.is-scheduler{height:min(860px,calc(var(--visible-height,100dvh) - 24px));min-height:0}
#calculator .sheet.is-scheduler .sheet-head{margin-bottom:8px;min-height:40px;gap:8px}
#calculator .sheet.is-scheduler .schedule-brand{display:block!important;min-width:0}
#calculator .sheet.is-scheduler .schedule-brand .wordmark{font-size:25px}
/* The shared sheet wraps its tools and body in .sheet-panel (the Choose peptide page, 7 October). On the Add sheet that wrapper must pass the height down, or the start-day form's flexible content collapses to its padding and the sheet shows only the green line and the two actions (owner's phone, 8 October). */
#calculator .sheet.is-scheduler .sheet-panel{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;margin:0;background:transparent}
#calculator .sheet.is-scheduler .sheet-body{flex:1;min-height:0;overflow:hidden;padding:0;margin:0;scrollbar-gutter:auto}
#calculator .sheet.is-scheduler #scheduler-host{height:100%;min-height:0}
#calculator .calculator-schedule{min-height:0;height:100%}
#calculator .calculator-schedule [data-start-day-form]{height:100%;min-height:0;gap:0}
#calculator .calculator-schedule .cs-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;padding-bottom:2px}
#calculator .calculator-schedule .cs-content::-webkit-scrollbar{display:none}
#calculator .calculator-schedule :is(.cs-announcer,[data-start-day-form]>.cs-content>.cs-question){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Row height = max(32px, min((panel width - six gaps)/7, remaining calendar height/rows)).
   Remaining height reserves the intrinsic summary, measured occupancy, month controls,
   weekday labels and gaps. Extra room grows the summary up to244px; insufficient
   room scrolls content while the calculator-height actions remain available.
   Columns always fill the panel width; short-screen row sizing must not inset the grid. */
#calculator .calculator-schedule .cs-content{container-type:size;justify-content:space-between;--cs-gap:8px;--cs-day-floor:32px;--cs-summary-pad:clamp(8px,calc((100cqh - 420px)/12),20px);--cs-summary-gap:clamp(3px,calc((100cqh - 420px)/40),8px);--cs-syringe-height:clamp(40px,calc((100cqh - 420px)/16 + 40px),54px);--cs-summary-min:var(--sp-block-height);--cs-status-size:clamp(28px,calc(100cqh /16),40px);--cs-nav-size:clamp(36px,calc(100cqh /14),44px);--cs-nav-gap:clamp(4px,calc((100cqh - 420px)/30),8px);--cs-weekday-size:25px;gap:var(--cs-gap)}
#calculator .calculator-schedule [data-peptide-summary]{flex:none;min-height:var(--cs-summary-min);display:flex;flex-direction:column}
#calculator .calculator-schedule .sp-card{flex:none}

#calculator .calculator-schedule .cs-date-picker{container-type:inline-size;flex:none;width:100%;min-height:0;--cs-day-size:max(var(--cs-day-floor),min(calc((100cqw - 24px)/7),calc((100cqh - var(--cs-summary-min) - var(--cs-occupied-height,var(--cs-status-size)) - var(--cs-nav-size) - var(--cs-nav-gap) - var(--cs-weekday-size) - var(--cs-gap)*2 - 2px - (var(--cs-weeks,6) - 1)*4px)/var(--cs-weeks,6))))}
#calculator .calculator-schedule .cs-month-navigation{margin-bottom:var(--cs-nav-gap);flex:none}
#calculator .calculator-schedule .cs-month-arrow{width:var(--cs-nav-size);height:var(--cs-nav-size);min-height:var(--cs-nav-size);line-height:1}
#calculator .calculator-schedule .cs-month-pager{align-items:flex-start;flex:none;height:calc(var(--cs-weeks,6)*(var(--cs-day-size) + 4px) - 4px)}
#calculator .calculator-schedule .cs-month-slide{display:flex;flex-direction:column;height:auto}
#calculator .calculator-schedule .cs-weekday-labels{flex:none;height:calc(var(--cs-weekday-size) - 8px);align-items:center;line-height:21px;margin:0 auto 8px}
#calculator .calculator-schedule :is(.cs-day-options,.cs-weekday-labels){width:100%;max-width:100%;gap:4px;margin-inline:auto}
#calculator .calculator-schedule .cs-day-options{flex:none;min-height:0;grid-template-rows:repeat(var(--cs-weeks,6),var(--cs-day-size))}
#calculator .calculator-schedule .cs-day-options> :is(button,span){height:var(--cs-day-size);min-height:0}
#calculator .calculator-schedule .cs-actions{margin-top:0;padding:18px 0 0;background:#171717;min-height:0}
#calculator .calculator-schedule :is(.cs-status,.cs-success){min-height:0;overflow:auto}
#calculator .calculator-schedule :is(.cs-status,.cs-success) .cs-actions{margin-top:auto}
@media(max-width:560px){#calculator .sheet.is-scheduler{height:100%;max-height:100%;padding-bottom:calc(19.2px + var(--phone-bottom,env(safe-area-inset-bottom,0px)))}}
/* A filled date remains selectable: several peptides may share a day, and a peptide may overlap itself (the owner, 10 October). One dot per dose on the day in that peptide's group colour (--cs-dot from look.js), up to four in a row. */
#calculator .calculator-schedule .cs-day-options button{position:relative}
#calculator .calculator-schedule .cs-dots{position:absolute;bottom:6px;left:0;right:0;display:flex;justify-content:center;gap:3px;pointer-events:none}
#calculator .calculator-schedule .cs-occupied-dot{flex:none;width:5px;height:5px;background:var(--cs-dot,#0ac437);border-radius:50%}
#calculator .calculator-schedule .cs-day-options button[aria-pressed=true] .cs-occupied-dot{background:var(--cs-dot,#17662b)}
#calculator .calculator-schedule .cs-occupied-summary{display:flex;flex:none;justify-content:center;align-items:center;gap:4px 12px;flex-wrap:wrap;min-height:var(--cs-status-size);padding-block:3px;font-size:var(--ss-type-small);text-align:center;color:#bbb;line-height:1.35}
#calculator .calculator-schedule .cs-occupied-legend{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;color:#c8c8c8}
#calculator .calculator-schedule .cs-occupied-legend i{flex:none;width:12px;height:12px;border-radius:50%;background:var(--cs-dot,#0ac437)}
/* Upcoming dose days of the protocol being added: a slightly lighter cell. Never a border, ring or outline (owner rule). */
#calculator .calculator-schedule .cs-day-options button[data-protocol-day]{background:#3f3f3f}
#calculator .calculator-schedule .cs-day-options button[data-protocol-day][aria-pressed=true]{background:#c8c8c8}
#calculator .calculator-schedule .cs-rhythm{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;color:#c8c8c8}
#calculator .calculator-schedule .cs-rhythm i{flex:none;width:12px;height:12px;border-radius:50%;background:#3f3f3f}



/* Wide, short screens use their width; primary actions stay beside the calendar. */
@media(min-width:600px) and (min-height:360px) and (max-height:700px) and (min-aspect-ratio:5/4){
 #calculator .overlay:has(#scheduler-host){padding:0;align-items:stretch;background:#171717}
 #calculator .sheet.is-scheduler{width:100%;max-width:100%;height:100%;max-height:100%;margin:0;border-radius:0;padding:12px 12px max(12px,env(safe-area-inset-bottom,0px))}
 #calculator .calculator-schedule [data-start-day-form]{container-type:size;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(248px,1fr);grid-template-rows:minmax(0,1fr) auto 64px;gap:8px 16px}
 #calculator .calculator-schedule .cs-content{display:contents}
 #calculator .calculator-schedule [data-peptide-summary]{grid-column:1;grid-row:1;max-height:none;min-height:0}
 #calculator .calculator-schedule .sp-card{min-height:0}
 #calculator .calculator-schedule .cs-occupied-summary{grid-column:1;grid-row:2}
 #calculator .calculator-schedule .cs-date-picker{grid-column:2;grid-row:1/4;align-self:center;--cs-day-size:max(32px,min(calc((100cqw - 24px)/7),calc((100cqh - var(--cs-nav-size) - var(--cs-nav-gap) - var(--cs-weekday-size) - (var(--cs-weeks,6) - 1)*4px)/var(--cs-weeks,6))))}
 #calculator .calculator-schedule .cs-actions{grid-column:1;grid-row:3;padding:0}
 #calculator .calculator-schedule .cs-content:has(.cs-error:not([hidden])) .cs-occupied-summary{display:none}
 #calculator .calculator-schedule .cs-error:not([hidden]){grid-column:1;grid-row:2;margin:0;max-height:48px;overflow:auto}
}

/* Compact occupied cells reserve space below the numeral for the raised dot. */
#calculator .calculator-schedule .cs-day-options button.cs-has-schedule{--cs-dot-lift:clamp(0px,calc(42px - var(--cs-day-size)),8px);padding-top:calc(4px - var(--cs-dot-lift)/2);padding-bottom:calc(4px + var(--cs-dot-lift)/2);line-height:1}
/* The completed save is a small choice dialog, never another full-screen step. */
@keyframes cs-success-ring{from{opacity:0;transform:scale(.85);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}
@keyframes cs-success-tick{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.cs-required-duration{flex:none;padding:8px 0}
#calculator .calculator-schedule .cs-content:has(.cs-required-duration){justify-content:flex-start}

/* The month header is also the weekly selector: one aligned row, no extra strip. */
#calculator .calculator-schedule .cs-date-picker:has(.cs-weekday-circle){--cs-weekday-size:52px}
#calculator .calculator-schedule .cs-weekday-labels .cs-weekday-circle{justify-self:center;display:flex;align-items:center;justify-content:center;width:min(40px,100%);height:auto;min-width:0;min-height:0;aspect-ratio:1;padding:0;border:0;border-radius:50%;background:#292929;color:#eee;font:700 var(--ss-type-small) Nunito,sans-serif;line-height:1;-webkit-tap-highlight-color:transparent;transition:background-color 180ms ease,color 180ms ease}
#calculator .calculator-schedule .cs-weekday-labels .cs-weekday-circle[data-active]{background:#c8c8c8;color:#171717}
/* Compact phones give the complete month priority without shrinking footer actions. */
@media(max-width:560px) and (max-height:700px){
 #calculator .calculator-schedule .cs-content{--cs-gap:6px;--cs-nav-size:32px;--cs-nav-gap:4px}
 #calculator .calculator-schedule .cs-date-picker:has(.cs-weekday-circle){--cs-weekday-size:44px}
 #calculator .calculator-schedule .cs-weekday-labels .cs-weekday-circle{width:min(36px,100%)}
 #calculator .calculator-schedule .cs-actions{padding-top:12px}
}

/* Already in your calendar (owner, 8 October; mock-up 1): a full green screen in the red / yellow shape, slid up on the drawer curve over the Add sheet,
   a deeper green than the dose block with the Add buttons darker; Cancel is the cream one (owner, 8 October). Appended to the body so no sheet transform can trap it. */
.cs-dup-shelf{position:fixed;inset:0;z-index:140;color:#f0f0f0;font:400 var(--ss-type-body,16px)/1.4 Nunito,system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.cs-dup-shelf *{box-sizing:border-box}
.cs-dup-screen{position:absolute;inset:0;display:flex;flex-direction:column;background:#0b8a1a;transform:translateY(100%);transition:transform 260ms cubic-bezier(.37,0,.63,1)}
.cs-dup-shelf[open] .cs-dup-screen{transform:none}
.cs-dup-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;scrollbar-width:none}
.cs-dup-body::-webkit-scrollbar{display:none}
.cs-dup-ask{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:496px;margin:0 auto;padding:24px max(12px,env(safe-area-inset-right,0px)) 24px max(12px,env(safe-area-inset-left,0px));text-align:center}
.cs-dup-mark{display:block;width:144px;height:144px;flex:none;margin:0 auto 30px}
.cs-dup-title{margin:0;font-size:34px;line-height:1.2;font-weight:800;outline:0}
.cs-month-pager,.cs-month-navigation{direction:ltr}
.cs-dup-note{margin:14px 0 0;padding:0 12px;color:#d6f0d9;font-size:var(--ss-type-body,16px);line-height:1.4}
.cs-dup-note b{color:#f0f0f0;font-weight:700}
/* The green screen's own measure (owner, 8 October): a 28px title on two lines and a 19px sentence; the dark Added screen keeps 34 / 16. */
.cs-dup-shelf:not(.cs-done) .cs-dup-title{font-size:28px}
.cs-dup-shelf:not(.cs-done) .cs-dup-note{font-size:19px}
/* A longer name wraps the sentence; the date never splits across lines, so the break lands before it. */
.cs-dup-date{white-space:nowrap}
.cs-dup-actions{flex:none;display:flex;flex-direction:column;gap:12px;width:100%;max-width:496px;margin:0 auto;padding:0 max(12px,env(safe-area-inset-right,0px)) calc(19.2px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}
.cs-dup-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:60px;padding:12px 8px;border:0;border-radius:12px;background:#07641a;color:#f0f0f0;font:700 var(--ss-type-button,16px)/1.25 Nunito,system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cs-dup-button.cs-dup-primary{background:#c8c8c8;color:#171717}
.cs-dup-shelf .cs-dup-button:focus-visible{background:#085a17;outline:0;text-decoration:none}
.cs-dup-shelf .cs-dup-button.cs-dup-primary:focus-visible{background:#e0e0e0;color:#171717}
@media(hover:hover) and (pointer:fine){.cs-dup-shelf .cs-dup-button:hover{background:#085a17}.cs-dup-shelf .cs-dup-button.cs-dup-primary:hover{background:#e0e0e0;color:#171717}}
@media(max-height:700px){.cs-dup-mark{width:120px;height:120px;margin-bottom:24px}.cs-dup-ask{padding-top:16px;padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){.cs-dup-screen{transition:none}}
/* A day this peptide already covers (or a day before the cycle's end in "after" mode) is closed: a darker cell, never a border or a strike. */
#calculator .calculator-schedule .cs-day-options button.cs-closed-day,#calculator .calculator-schedule .cs-day-options button.cs-closed-day:is(:hover,:focus-visible){background:#1d1d1d;color:#6f6f6f;cursor:default}

/* Added to your calendar (owner's pick A, 8 October): the confirmation shape on the page dark, the thin green tick (the old dialog's weight at 144px) drawing itself once the screen has risen, Open My Calendar in cream over Back to Calculator on the section grey. */
.cs-dup-shelf.cs-done .cs-dup-screen{background:#171717}
.cs-done .cs-dup-note{color:#bcbcbc}
.cs-done .cs-dup-button{background:#292929;color:#f0f0f0}
.cs-done .cs-dup-button.cs-dup-primary{background:#c8c8c8;color:#171717}
.cs-dup-shelf.cs-done .cs-dup-button:focus-visible{background:#353535}
.cs-dup-shelf.cs-done .cs-dup-button.cs-dup-primary:focus-visible{background:#e0e0e0;color:#171717}
@media(hover:hover) and (pointer:fine){.cs-dup-shelf.cs-done .cs-dup-button:hover{background:#353535}.cs-dup-shelf.cs-done .cs-dup-button.cs-dup-primary:hover{background:#e0e0e0;color:#171717}}
.cs-done-tick{display:block;width:144px;height:144px;flex:none;margin:0 auto 30px;overflow:visible;color:#0aa31c}
.cs-done-tick circle{fill:rgba(10,163,28,.07);stroke:currentColor;stroke-width:1.5;animation:cs-success-ring 420ms 240ms cubic-bezier(.2,.7,.2,1) both}
.cs-done-tick path{fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0;animation:cs-success-tick 480ms 420ms cubic-bezier(.3,0,.2,1) both}
@media(max-height:700px){.cs-done-tick{width:120px;height:120px;margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.cs-done-tick circle,.cs-done-tick path{animation:none}}
/* On this day (the owner, 11 October, from the mock-up): one centred 60px row under the block, the chevron at the edge and the words centred in the room beside it; the legend is gone. Opening it folds the block up and away, hides the picker, lays the day's peptides as the Choose peptide page's rows (scrolling inside, no bar) down to the footer, and the footer is one Close. */
#calculator .calculator-schedule .cs-occupied-summary{display:block;flex:none;min-height:0;padding:0;text-align:left;color:inherit;line-height:1.4}
#calculator .calculator-schedule .cs-day-row{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:60px;min-height:60px;padding:0 38px 0 16px;border:0;border-radius:12px;background:#292929;color:#f0f0f0;font:inherit;font-size:var(--ss-type-body);font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;overflow:hidden}
#calculator .calculator-schedule .cs-day-row:is(:hover,:focus-visible){background:#353535}
#calculator .calculator-schedule .cs-day-label,#calculator .calculator-schedule .cs-day-sep{color:#bcbcbc}
#calculator .calculator-schedule .cs-day-value{color:#c8c8c8;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis}
#calculator .calculator-schedule .cs-day-chev{position:absolute;right:16px;top:50%;width:14px;height:14px;margin-top:-7px;transition:transform 320ms cubic-bezier(.37,0,.63,1)}
#calculator .calculator-schedule .cs-day-row[aria-expanded=true] .cs-day-chev{transform:rotate(180deg)}
#calculator .calculator-schedule .cs-day-none{cursor:default}
#calculator .calculator-schedule .cs-day-none:is(:hover,:focus-visible){background:#292929}
#calculator .calculator-schedule .cs-day-none .cs-day-value{color:#bcbcbc;font-weight:500}
#calculator .calculator-schedule .cs-day-none .cs-day-chev{visibility:hidden}
#calculator .calculator-schedule [data-peptide-summary].cs-folded{overflow:hidden;transition:height 320ms cubic-bezier(.37,0,.63,1)}
#calculator .calculator-schedule [data-peptide-summary] .sp-card{transition:transform 320ms cubic-bezier(.37,0,.63,1)}
#calculator .calculator-schedule .cs-day-open [data-peptide-summary] .sp-card{transform:translateY(-100%)}
#calculator .calculator-schedule .cs-day-open :is(.cs-question,.cs-date-picker,.cs-announcer,.cs-error,[data-schedule-required]){display:none}
#calculator .calculator-schedule .cs-day-list{display:flex;flex:1 1 auto;flex-direction:column;gap:10px;min-height:0;padding:10px;border-radius:15px;background:#292929;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}
#calculator .calculator-schedule .cs-day-list::-webkit-scrollbar{display:none}
#calculator .calculator-schedule .cs-day-item{display:flex;flex:none;align-items:center;gap:12px;height:60px;min-height:60px;padding:0 16px;border-radius:12px;background:#1d1d1d;scroll-snap-align:start;font-size:var(--ss-type-body);font-weight:700;color:#f0f0f0}
#calculator .calculator-schedule .cs-day-dot{width:12px;height:12px;border-radius:50%;flex:none;background:var(--cs-dot,#0ac437)}
#calculator .calculator-schedule .cs-day-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#calculator .calculator-schedule .cs-day-item small{margin-left:auto;font-size:var(--ss-type-body);font-weight:500;color:#bcbcbc;white-space:nowrap}
#calculator .calculator-schedule .cs-actions.cs-day-open>.cs-close-day{grid-column:1/-1}
@media (prefers-reduced-motion:reduce){#calculator .calculator-schedule [data-peptide-summary].cs-folded,#calculator .calculator-schedule [data-peptide-summary] .sp-card,#calculator .calculator-schedule .cs-day-chev{transition:none}}
/* With the legend gone the spare height sits above the footer, not around the row (the owner, 11 October: nothing overspread); the row is 60px in the day-size sum; the folded block host may shrink to nothing. */
#calculator .calculator-schedule .cs-content{justify-content:flex-start;--cs-occupied-height:60px}
#calculator .calculator-schedule [data-peptide-summary].cs-folded{min-height:0}
/* Ultra-small screens (the owner, 11 October): where the sheet would still scroll, the wordmark and the menu go and the sheet takes their height; nowhere else. */
@media (max-height:619px){#calculator .sheet.is-scheduler .sheet-head{display:none}
