.schedule-bar,.schedule-switch,.schedule-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.schedule-bar{justify-content:space-between;margin-bottom:20px}.schedule-switch>div{display:grid;gap:3px}.schedule-switch strong{font-size:18px;letter-spacing:-.4px}.schedule-switch span{font-size:12px;color:var(--muted)}.schedule-owner{display:grid;gap:4px;min-width:160px}.schedule-tools{margin:18px 0}.schedule-totals{display:grid;grid-template-columns:1.3fr 1fr 1fr;border-block:1px solid var(--line);padding:22px 0;gap:18px;margin-top:18px}.schedule-totals strong{display:block;font-size:34px;letter-spacing:-1px;line-height:1.3}.schedule-totals strong span{font-size:17px;font-weight:500;color:var(--muted)}.schedule-totals b{display:block;color:var(--green);margin-top:8px}.schedule-policy{font-size:12px;margin:16px 0}.schedule-day-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:20px 0}.schedule-day-strip button{white-space:normal;text-align:left;line-height:1.6}.schedule-day-strip .has-gap{border-left:3px solid var(--orange)}.schedule-issues{background:#fff0df;border-left:3px solid var(--orange);padding:18px;margin:16px 0}.schedule-issues ul{padding-left:20px}.schedule-ready{font-size:12px;margin:16px 0}.schedule-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;margin:20px 0}.schedule-workspace>*{min-width:0}.schedule-agenda{display:grid;gap:18px;align-content:start}.schedule-day{margin:0}.schedule-day-heading{display:flex;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.schedule-day-heading h2{font-size:16px}.schedule-day-heading>b{white-space:nowrap;font-size:12px}.schedule-block{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:14px;padding:18px;border-bottom:1px solid var(--line);align-items:start}.schedule-block p{font-size:12px;margin-top:6px}.schedule-block small{font-size:11px;margin-top:5px}.schedule-block h3{font-size:15px;line-height:1.4}.schedule-time{font-variant-numeric:tabular-nums;font-size:12px}.schedule-work{min-width:0;overflow-wrap:anywhere}.schedule-day-note{padding:14px 18px;background:#f1efe7}.schedule-day-note p{color:var(--orange-dark);font-size:12px}.schedule-no-work,.schedule-empty{padding:24px}.schedule-empty{display:grid;gap:16px;justify-items:start}.schedule-review{padding:22px;margin:0;align-self:start;position:sticky;top:20px}.schedule-review>small{letter-spacing:1.5px;font-size:10px}.schedule-review h2{font-size:26px;line-height:1.15;margin:10px 0 18px}.schedule-review>ol{padding-left:19px}.schedule-review>ol li{padding:8px 0}.schedule-review p{font-size:12px}.schedule-review>button{display:block;width:100%;white-space:normal;margin:10px 0}.schedule-review details{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:12px}.schedule-review summary{cursor:pointer;min-height:36px}.schedule-state{background:#ede9dc;padding:10px;font-weight:700}.schedule-history{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.schedule-history h3{margin-bottom:10px}.schedule-history ol{padding-left:18px}.schedule-history li{padding:8px 0;overflow-wrap:anywhere}.schedule-history small{font-size:10px}.schedule-proof{padding:12px 0;color:var(--orange-dark);font-size:12px!important}.schedule-pending{padding:14px;background:#fff0df}.schedule-staff-day{padding:22px 0;border-bottom:1px solid var(--line)}.schedule-staff-day article{display:grid;grid-template-columns:110px 1fr;gap:16px;margin:20px 0}.schedule-staff-day h4{margin:0 0 6px}.schedule-staff-day article>strong{font-size:12px}.schedule-staff-day p{font-size:12px;overflow-wrap:anywhere}.schedule-staff-day small{margin-top:6px}.schedule-approved .schedule-totals{grid-template-columns:1fr 1fr}.schedule-weekdays{border:1px solid var(--line);display:flex;flex-wrap:wrap;gap:12px}.schedule-weekdays label{display:flex;align-items:center;gap:5px}.schedule-weekdays input{width:18px;min-height:20px}.schedule-form textarea{font:inherit;min-height:80px;width:100%;padding:10px}.schedule-form label{overflow-wrap:anywhere}.schedule-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-calendar .schedule-block{display:block}.schedule-calendar .schedule-block>button{padding-left:0}.schedule-calendar .schedule-day-heading{display:block}.schedule-list h2{padding:18px}#editor:has(.schedule-form),#editor:has(.schedule-approved){width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}#editor .schedule-totals{padding:16px 0}#editor .schedule-totals strong{font-size:28px}
@media(max-width:1150px){.schedule-workspace{grid-template-columns:minmax(0,1fr)}.schedule-review{position:static}.schedule-review>button{max-width:380px}.schedule-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-day-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.schedule-switch{width:100%;display:grid;grid-template-columns:44px 1fr 44px;gap:8px}.schedule-switch>button{font-size:0;padding:8px;min-height:44px}.schedule-switch>button:first-child:before{content:'‹';font-size:24px}.schedule-switch>button:last-child:before{content:'›';font-size:24px}.schedule-switch>div{text-align:center}.schedule-switch strong{font-size:14px}.schedule-owner{width:100%}.schedule-totals{grid-template-columns:1fr 1fr;gap:18px}.schedule-totals strong{font-size:30px}.schedule-totals>div:last-child{grid-column:1/-1}.schedule-day-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-workspace{gap:18px}.schedule-block{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:16px}.schedule-time{grid-column:1/-1}.schedule-time small{display:inline;margin-left:8px}.schedule-tools{gap:7px}.schedule-tools>button{padding:9px 12px;min-height:44px;white-space:normal}.schedule-calendar{grid-template-columns:1fr}.schedule-day-heading{padding:14px}.schedule-day-heading h2{font-size:14px}.schedule-staff-day article{grid-template-columns:1fr;gap:6px}.schedule-approved .schedule-totals>div:last-child{grid-column:1/-1}.schedule-form input,.schedule-form select,.schedule-form textarea{font-size:16px;min-width:0;width:100%}.schedule-form .fields{grid-template-columns:1fr}.schedule-weekdays input{width:18px}.schedule-review{padding:18px}.schedule-history li{font-size:12px}.schedule-block .text-button{padding-inline:6px}}

/* Nov 1 client refinement: task-first agenda, secondary setup/history. */
.schedule-workspace{grid-template-columns:minmax(0,1fr)}
.schedule-handoff{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.schedule-handoff>div{min-width:0}.schedule-handoff p{font-size:12px;line-height:1.6;margin-top:10px}.schedule-handoff .schedule-state{display:inline-block}.schedule-handoff .schedule-tools{margin:0;justify-content:flex-end}.schedule-handoff .schedule-proof{padding:0}
.schedule-secondary{border-block:1px solid var(--line);margin:18px 0;padding:0 16px}.schedule-secondary>summary{cursor:pointer;min-height:48px;display:list-item;padding:15px 0;font-weight:600}.schedule-secondary>summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}.schedule-revisions{margin-top:26px}.schedule-revisions>details{padding:16px 0}.schedule-revisions>details>summary{min-height:44px;cursor:pointer}.schedule-block button{min-height:44px}.schedule-block .schedule-time{padding-top:4px}
@media(max-width:750px){.schedule-handoff{display:block}.schedule-handoff .schedule-tools{justify-content:flex-start;margin-top:12px}.schedule-handoff .schedule-tools>button{flex:1 1 140px}.schedule-bar,.schedule-handoff{max-width:100%;min-width:0}.schedule-secondary{padding-inline:10px}.schedule-secondary .schedule-totals strong{font-size:26px}}
