/* Setup step two only. */
#app.schedule-view{--sch-surface:#fffcf6;--sch-soft:#f4eee2;--sch-rule:#c9c1b0;--sch-outline:#8b8d82;--sch-active:#244c46;--sch-active-ink:#fff;--sch-pill:#e2ece6;--sch-gold:#76582d;container-type:inline-size}
html[data-theme=dark] #app.schedule-view{--sch-surface:#242c27;--sch-soft:#2d3028;--sch-rule:#555f50;--sch-outline:#92998a;--sch-active:#b3c9ac;--sch-active-ink:#18281e;--sch-pill:#293930;--sch-gold:#e0c491}
#app.schedule-view>header{grid-area:brand;text-align:left;padding:0;margin:0;min-width:0}
#app.schedule-view>header h1{font-size:clamp(1.2rem,5.7cqi,2rem);line-height:1.2;margin:0;letter-spacing:-.018em}
#app.schedule-view>header :is(.brand,.brand-tagline){display:none}
#app.schedule-view{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand nav" "status status" "main main" "footer footer";align-items:center;column-gap:.5rem}
#app.schedule-view>.toplinks{grid-area:nav;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:0 .28rem;margin:0;padding:0}
#app.schedule-view>.toplinks button{padding:.35rem .25rem;min-height:44px;font-size:.82rem;white-space:nowrap}
#app.schedule-view>.status{grid-area:status;margin:.55rem 0 0}
#app.schedule-view>.status:not(.status-tab-conflict){font-size:.79rem;line-height:1.35}
#app.schedule-view>main{grid-area:main;min-width:0;inline-size:100%;max-inline-size:39rem;margin-inline:auto}
#app.schedule-view>footer{grid-area:footer}
.schedule-view .schedule-progress{color:var(--sch-gold);font:750 .72rem/1.45 system-ui;letter-spacing:.15em;margin:1.15rem 0 .48rem}
.schedule-view #schedule-heading{font-size:clamp(2rem,8.8cqi,2.6rem);margin:.15rem 0 .65rem;line-height:1.08}
.schedule-view .schedule-lead{margin:0 0 1.15rem;max-width:none;font:400 1rem/1.52 system-ui}
.schedule-view :is(.schedule-week,.schedule-person){border:1px solid var(--sch-rule);border-radius:1rem;background:var(--sch-surface);margin:0 0 1.2rem;padding:.84rem;color:var(--ink)}
.schedule-view .schedule-week h3{font-size:1.27rem;margin:0 0 .63rem}
.schedule-view .schedule-presets{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.68rem}
.schedule-view .schedule-presets button{display:inline-flex;justify-content:center;align-items:center;gap:.28rem;min-height:44px;padding:.36rem .72rem;border-radius:2rem;font-size:.83rem}
.schedule-view .schedule-presets svg{display:none}
.schedule-view .schedule-presets [aria-pressed=true]{background:var(--sch-pill);color:var(--ink);border-color:var(--sch-outline)}
.schedule-view .schedule-presets [aria-pressed=true] svg{display:block}
.schedule-view .schedule-days{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:4px}
.schedule-view .schedule-days button{min-width:0;min-height:50px;display:grid;place-content:center;justify-items:center;gap:.2rem;padding:.25rem .06rem;border:1px solid var(--sch-outline);border-radius:.52rem;background:var(--sch-surface);color:var(--ink);font-size:.8rem;line-height:1.1}
.schedule-view .schedule-days [aria-pressed=true]{background:var(--sch-active);color:var(--sch-active-ink);border-color:var(--sch-active)}
.schedule-view .schedule-day-mark{display:grid;place-items:center;height:16px}
.schedule-view .schedule-day-mark svg,.schedule-view .schedule-days [aria-pressed=true] .schedule-day-mark span{display:none}
.schedule-view .schedule-days [aria-pressed=true] .schedule-day-mark svg{display:block}
.schedule-view .schedule-selection{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem .6rem;border-top:1px solid var(--sch-rule);margin-top:.65rem;padding-top:.6rem;font:400 .875rem/1.36 system-ui;color:var(--muted)}
.schedule-view .schedule-selection strong{color:var(--ink)}
.schedule-view .schedule-time{margin:0 0 1.15rem}
.schedule-view .schedule-time label{display:block;margin:0 0 .43rem;font:700 1.16rem/1.25 Georgia,serif}
.schedule-view #timezone{min-height:50px;display:block;width:100%;background:var(--sch-surface);color:var(--ink);border:1px solid var(--sch-outline);border-radius:.55rem;font:650 1rem/1.3 system-ui}
.schedule-view .schedule-time p{margin:.4rem 0 0;font:400 .84rem/1.45 system-ui;color:var(--muted)}
.schedule-view .schedule-person{padding:0;background:var(--sch-soft)}
.schedule-view .schedule-person>summary{display:flex;flex-wrap:wrap;align-items:center;gap:.42rem .5rem;list-style:none;cursor:pointer;color:var(--ink);padding:1rem}
.schedule-view .schedule-person>summary::-webkit-details-marker{display:none}
.schedule-view .schedule-person-title{flex:1 1 auto;font:700 1.28rem/1.2 Georgia,serif}
.schedule-view .schedule-optional{color:var(--sch-gold);font:750 .64rem/1.2 system-ui;letter-spacing:.08em;text-transform:uppercase}
.schedule-view .schedule-person-desc,.schedule-view .schedule-person-action{flex-basis:100%;font:400 .88rem/1.4 system-ui;color:var(--muted)}
.schedule-view .schedule-person-action{display:flex;align-items:center;gap:.55rem;color:var(--ink);font-weight:700;margin-top:.18rem}
.schedule-view .schedule-chevron{width:.45rem;height:.45rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-.15rem}
.schedule-view .schedule-person[open] .schedule-chevron{transform:rotate(225deg);margin-top:.15rem}
.schedule-view .schedule-person:not([open]) .schedule-person-hide,.schedule-view .schedule-person[open] .schedule-person-show{display:none}
.schedule-view .schedule-person-body{padding:0 1rem 1rem}
.schedule-view .schedule-finish{padding:.8rem 0 .15rem;border-top:1px solid var(--sch-rule);text-align:center}
.schedule-view #schedule-first-day{margin:.04rem auto .62rem;max-width:100%;font:700 .9rem/1.45 system-ui;color:var(--ink)}
.schedule-view #save-template{min-height:50px;margin:0;background:var(--sch-active);border-color:var(--sch-active);color:var(--sch-active-ink)}
.schedule-view #save-template:disabled{opacity:.56;cursor:default}
.schedule-view #arrange-back{min-height:44px;margin:.27rem 0 0}
.schedule-view :is(button,summary,select):focus-visible{outline:2px solid var(--sch-gold);outline-offset:2px}
@container (max-width:24rem){.schedule-view .schedule-days{grid-template-columns:repeat(4,minmax(44px,1fr))}}
@container (max-width:19rem){#app.schedule-view>header h1{font-size:1.16rem}.schedule-view .schedule-days{grid-template-columns:repeat(3,minmax(44px,1fr))}}
/* Match a mobile week strip when there is room for seven 44px tap targets. */
@container (min-width:21.1rem) and (max-width:24rem){
 .schedule-view .schedule-week{padding-inline:.42rem}
 .schedule-view .schedule-days{grid-template-columns:repeat(7,minmax(44px,1fr));gap:3px}
}
