:root{color-scheme:light;--ink:#13072f;--ink-2:#2c2352;--muted:#635d78;--line:#d7d8e5;--paper:#ffffff;--panel:#f8f9fd;--white:#fff;--wash:#e9eef6;--action:#6c19ff;--action-dark:#250861;--focus:#087f8c;--warning:#b76e00;--radius-sm:6px;--radius:10px;--radius-lg:12px;--content:1100px}*{box-sizing:border-box}body,html{background:var(--paper)}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}button,input{font:inherit}button{color:inherit}button:focus-visible,dialog:focus-visible,input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.app-shell{display:flex;flex-direction:column}.app-header{height:68px;padding:0 max(20px,calc((100vw - var(--content)) / 2));align-items:center;justify-content:space-between;background:var(--panel);border-bottom:1px solid var(--line)}.wordmark{padding:0;border:0;background:transparent;font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.prototype-chip,.wordmark{min-height:44px;cursor:pointer}.prototype-chip{padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--white);color:var(--ink-2);font-size:.8rem;font-weight:700}.prototype-chip span{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:7px;border-radius:50%;background:var(--wash)}.app-nav{min-height:52px;padding:0 max(20px,calc((100vw - var(--content)) / 2));display:flex;align-items:stretch;gap:24px;background:var(--panel);border-bottom:1px solid var(--line)}.app-nav button{position:relative;min-width:68px;min-height:44px;border:0;background:transparent;color:var(--muted);font-weight:700;cursor:pointer}.app-nav button[aria-current=page]{color:var(--ink)}.app-nav button[aria-current=page]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--action)}.app-nav button:disabled{opacity:.45;cursor:not-allowed}.workspace{width:min(var(--content),calc(100% - 40px));margin:0 auto;padding:48px 0 80px}.workspace.narrow{width:min(760px,calc(100% - 40px))}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}.kicker{margin:0 0 6px;color:var(--action-dark);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1{font-size:clamp(2rem,4vw,2.65rem);line-height:1.1;letter-spacing:-.04em}h1,h2{margin:0}h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.02em}.page-heading p:last-child{max-width:600px;margin:10px 0 0;color:var(--muted)}.button{min-height:46px;padding:0 18px;border:1px solid transparent;border-radius:var(--radius-sm);font-weight:800;cursor:pointer}.button.primary{background:var(--action);color:white}.button.primary:hover{background:var(--action-dark)}.button.secondary{background:var(--white);border-color:#aaa7b9;color:var(--ink)}.button.secondary:hover{border-color:var(--action);color:var(--action-dark)}.empty-state{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;border:1px dashed #b9b9ca;border-radius:var(--radius-lg);background:var(--panel);text-align:center}.empty-state p{max-width:430px;margin:10px 0 24px;color:var(--muted)}.empty-mark{width:56px;height:56px;display:grid;align-content:center;gap:6px;margin-bottom:20px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white)}.empty-mark span{height:4px;border-radius:2px;background:var(--wash)}.empty-mark span:first-child{width:70%;background:var(--action)}.back-button,.text-button{min-height:44px;border:0;background:transparent;color:var(--action-dark);font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.empty-state .text-button{margin-top:8px}.event-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:28px;padding:22px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel)}.event-row p{margin:4px 0 0;color:var(--muted)}.row-label{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--warning)!important}.coverage{display:flex;flex-direction:column;align-items:center;min-width:64px}.coverage strong{font-size:1.45rem}.coverage span{color:var(--muted);font-size:.8rem}.back-button{margin:0 0 20px;padding:0}.event-form,.form-section{display:grid;gap:18px}.form-section{margin:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel)}.form-section legend{padding:0 8px;font-weight:800}.event-form label{display:grid;gap:7px;color:var(--ink-2);font-size:.86rem;font-weight:750}.event-form input{width:100%;min-height:48px;padding:0 12px;border:1px solid #aaa7b9;border-radius:var(--radius-sm);background:var(--white);color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.shift-fields{display:grid;grid-template-columns:1fr 1fr .7fr;gap:14px}.privacy-note{margin:0;padding:12px 14px;border-left:3px solid var(--focus);background:#edf9fa;color:var(--ink-2);font-size:.84rem}.form-actions{display:flex;justify-content:flex-end;gap:10px}.app-footer{margin-top:auto;min-height:70px;padding:18px max(20px,calc((100vw - var(--content)) / 2));display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem}@media (max-width:640px){.app-header{height:60px}.app-header,.app-nav{padding:0 16px}.workspace,.workspace.narrow{width:calc(100% - 32px);padding:32px 0 56px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:24px}.page-heading>.button{width:100%}.empty-state{min-height:360px;padding:36px 18px}.event-row,.form-grid,.shift-fields{grid-template-columns:1fr}.coverage{align-items:flex-start}.event-row>.button,.form-actions .button{width:100%}.form-actions{flex-direction:column-reverse}.app-footer{padding:18px 16px;align-items:flex-start;flex-direction:column;gap:4px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}body:has(.ss-app),html:has(.ss-app){color-scheme:light dark}@media (prefers-color-scheme:dark){body:has(.ss-app),html:has(.ss-app){background:#0d1722}}:root{--success:#087f5b;--danger:#b42318}.page-heading h1:focus{outline:none}button:disabled{cursor:not-allowed;opacity:.55}.wordmark{display:flex;align-items:center}.role-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:var(--radius);background:var(--wash)}.role-switch button{min-height:38px;padding:0 16px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-weight:750;cursor:pointer}.role-switch button[aria-pressed=true]{background:var(--white);color:var(--ink)}.prototype-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px max(20px,calc((100vw - var(--content)) / 2));background:#edf9fa;border-bottom:1px solid #b5dfe4;color:var(--ink-2)}.prototype-panel strong{display:block}.prototype-panel p{max-width:720px;margin:3px 0 0;font-size:.85rem}.reset-confirm{display:flex;align-items:center;gap:12px;font-size:.82rem;font-weight:700}.reset-confirm button{min-height:44px;border:0;background:transparent;text-decoration:underline;cursor:pointer}.danger-link{color:var(--danger)!important}.test-controls{margin-top:9px;font-size:.8rem}.test-controls summary{min-height:44px;width:max-content;display:flex;align-items:center;cursor:pointer;font-weight:750}.test-controls div{display:flex;flex-wrap:wrap;gap:8px}.test-controls button{min-height:44px;padding:0 10px;border:1px solid #8dbfc5;border-radius:6px;background:transparent;color:#075f69;font-weight:750;cursor:pointer}.test-controls button[aria-pressed=true]{background:#075f69;color:white}.field-error,.field-help{font-size:.78rem}.field-help{color:var(--muted)}.field-error{color:var(--danger);font-weight:750}.notice{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:8px 20px;border-bottom:1px solid var(--line);font-size:.86rem}.notice.info{background:#edf9fa;color:#075f69}.notice.success{background:#e9f8f2;color:var(--success)}.notice.warning{background:#fff7df;color:#795000}.notice.danger{background:#fff0ee;color:var(--danger)}.notice button{min-height:36px;border:0;background:transparent;color:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.notice .notice-close{position:absolute;right:14px;width:40px;text-decoration:none;font-size:1.25rem}.role-control{display:flex;align-items:center;gap:9px}.role-control>span{color:var(--muted);font-size:.78rem;font-weight:750}.offline-banner{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:9px 20px;border-bottom:1px solid #ecd994;background:#fff7df;color:#795000;font-size:.9rem}.event-list,.request-groups,.roster-groups{display:grid;gap:14px}.loading-row,.small-empty{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--muted)}.status{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:28px;padding:4px 9px;border:1px solid transparent;border-radius:999px;font-size:.84rem;font-weight:800;line-height:1.2}.status.info{background:#e8f7f9;color:#075f69;border-color:#b5dfe4}.status.success{background:#e6f7f0;color:var(--success);border-color:#b7e7d5}.status.warning{background:#fff5d6;color:#795000;border-color:#ecd994}.status.neutral{background:var(--wash);color:var(--ink-2);border-color:var(--line)}.event-row h2{margin-top:7px}.event-metrics{display:grid;gap:4px;min-width:128px;color:var(--muted);font-size:.86rem}.event-metrics strong{color:var(--ink)}.personal-state{color:var(--action-dark)!important;font-weight:800}.event-shift-preview{display:grid;gap:4px;max-width:300px;margin:12px 0 0;padding:0;list-style:none;font-size:.86rem}.event-shift-preview li{display:flex;justify-content:space-between;gap:16px;color:var(--ink-2)}.event-shift-preview li span:last-child{color:var(--muted);font-weight:750}.shift-editor{display:grid;gap:12px;padding:0 0 20px;border-bottom:1px solid var(--line)}.shift-editor:last-of-type{border-bottom:0}.shift-editor>.text-button{justify-self:start;padding:0}.add-shift{justify-self:start}.event-hub{display:grid;grid-template-columns:1fr}.panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid var(--line)}.panel-heading p{margin:5px 0 0;color:var(--muted);font-size:.9rem}.shift-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:14px 20px;border-bottom:1px solid var(--line)}.shift-summary:last-child{border-bottom:0}.shift-summary>div{display:flex;flex-direction:column}.shift-summary span{color:var(--muted);font-size:.84rem}.heading-actions{display:flex;align-items:center;gap:10px}.eyebrow{color:var(--action-dark);font-size:.78rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.confirmation-dialog{width:min(520px,calc(100% - 32px));padding:24px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel);color:var(--ink);box-shadow:0 24px 80px rgba(19,7,47,.24)}.confirmation-dialog::backdrop{background:rgba(19,7,47,.52);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.confirmation-dialog h2{margin-top:7px}.confirmation-dialog p{margin:8px 0 0;color:var(--ink-2)}.confirmation-dialog small{display:block;margin-top:8px;color:var(--muted);font-size:.86rem}.confirmation-actions{gap:10px}.confirmation-actions,.danger-zone{display:flex;justify-content:flex-end;margin-top:24px}.danger-zone{gap:18px}.notice .notice-close{min-width:44px;min-height:44px}.staff-workspace{max-width:840px}.shift-list{display:grid;gap:12px}.staff-shift{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;padding:22px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel)}.shift-time{margin:0;font-size:1.05rem;font-weight:800}.capacity-text{margin:4px 0 0;color:var(--muted);font-size:.88rem}.shift-action{display:flex;align-items:center;gap:12px}.request-action{display:grid;justify-items:end;gap:5px}.request-action small{color:var(--muted);font-size:.82rem}.staff-shift-mine{border-color:#9d80d9;box-shadow:inset 4px 0 0 var(--action)}.state-copy{color:var(--muted);font-size:.84rem;font-weight:750}.authority-note{margin:22px 0 0;border-left:3px solid var(--focus);background:#edf9fa;color:var(--ink-2)}.authority-note,.inline-state{padding:14px 16px;font-size:.86rem}.inline-state{display:flex;flex-direction:column;gap:2px;margin:0 0 18px;border:1px solid;border-radius:var(--radius)}.inline-state.danger{background:#fff0ee;color:var(--danger);border-color:#efc3bd}.inline-state.warning{background:#fff7df;color:#795000;border-color:#ecd994}.inline-state.success{background:#e9f8f2;color:var(--success);border-color:#b7e7d5}.inline-state .text-button{min-height:32px;padding:0}.person-list{display:grid}.person-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px;padding:14px 20px;border-bottom:1px solid var(--line);cursor:pointer}.person-row:last-child{border-bottom:0}.person-row>span:first-child{display:flex;flex-direction:column}.person-row small{margin-top:2px;color:var(--muted)}.person-row input{position:absolute;width:1px;height:1px;opacity:0}.checkbox-ui{width:24px;height:24px;border:2px solid #918da3;border-radius:5px;background:var(--white)}.person-row input:focus-visible+.checkbox-ui{outline:3px solid var(--focus);outline-offset:2px}.person-row input:checked+.checkbox-ui{display:grid;place-items:center;border-color:var(--action);background:var(--action)}.person-row input:checked+.checkbox-ui:after{content:"✓";color:white;font-weight:900}.assigned-list{list-style:none;margin:0;padding:0}.assigned-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:12px 20px;border-bottom:1px solid var(--line);font-weight:750}.assigned-list li:last-child{border-bottom:0}.sticky-action{position:sticky;bottom:14px;display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:20px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(248,249,253,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sticky-action span{order:-1;color:var(--muted);font-size:.78rem}.empty-state.compact{min-height:300px}@media (max-width:760px){.prototype-panel{align-items:flex-start;flex-direction:column}.reset-confirm{align-items:flex-start;flex-wrap:wrap}.event-hub{grid-template-columns:1fr}.panel-heading{align-items:flex-start;flex-direction:column}.staff-shift{grid-template-columns:1fr}.shift-action{align-items:flex-start;flex-direction:column}.shift-action .button{width:100%}.heading-actions{width:100%;justify-content:space-between}.offline-banner{align-items:flex-start;flex-direction:column;gap:0}.event-metrics{min-width:0}.request-action,.request-action .button{width:100%;justify-items:stretch}.confirmation-actions{flex-direction:column-reverse}.confirmation-actions .button{width:100%}.sticky-action{align-items:stretch;flex-direction:column}.sticky-action .button{width:100%}.notice{justify-content:flex-start;padding-right:58px}.app-footer{margin-bottom:0}}@media (max-width:540px){.app-header{height:auto;min-height:60px;flex-wrap:wrap;gap:8px;padding-block:8px}.role-switch{width:100%}.role-control{order:3;width:100%}.role-control>span{display:none}.role-switch button{flex:1 1;min-height:44px}}.app-shell{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);background:radial-gradient(circle at 86% 3%,rgba(108,25,255,.08),transparent 28rem),var(--paper)}.app-sidebar{position:sticky;top:0;z-index:30;min-height:100vh;height:100vh;padding:24px 16px;overflow-y:auto;background:#160638;color:white}.app-header,.app-sidebar{display:flex;flex-direction:column;gap:18px}.app-header{height:auto;padding:0;align-items:stretch;background:transparent;border:0}.brand-lockup{display:flex;align-items:center;gap:12px;padding:0 8px 8px}.brand-mark,.profile-avatar{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:white;color:#160638;font-weight:900}.wordmark{color:white;font-size:1.16rem}.profile-card{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.08)}.profile-avatar{width:38px;height:38px;border-radius:50%;background:#eae1ff}.profile-card>span:last-child{min-width:0;display:grid}.profile-card strong{font-size:.84rem}.profile-card small{color:#c8bddf;font-size:.72rem}.role-control{align-items:stretch;flex-direction:column;gap:7px}.role-control>span{padding:0 4px;color:#c8bddf}.role-switch{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.08)}.role-switch button{flex:1 1;color:#d9d2e7}.role-switch button[aria-pressed=true]{background:white;color:#160638}.prototype-chip{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:white}.prototype-chip span{background:rgba(255,255,255,.14)}.app-nav{min-height:auto;padding:0;display:grid;gap:7px;background:transparent;border:0}.app-nav button{min-width:0;min-height:48px;display:flex;align-items:center;gap:11px;padding:0 14px;border-radius:10px;color:#c8bddf;text-align:left}.app-nav button[aria-current=page]{background:rgba(255,255,255,.12);color:white}.app-nav button[aria-current=page]:after{display:none}.nav-icon{width:22px;color:#a985ff;font-size:1.1rem;text-align:center}.app-content{min-width:0;display:flex;flex-direction:column;min-height:100vh}.workspace{width:min(1260px,calc(100% - 64px));padding-top:56px}.workspace.narrow{width:min(1040px,calc(100% - 64px))}.prototype-panel{position:fixed;z-index:60;left:288px;top:18px;width:min(720px,calc(100vw - 320px));align-items:flex-start;border:1px solid #b5dfe4;border-radius:12px;box-shadow:0 18px 50px rgba(19,7,47,.18)}.notification-state{display:flex;align-items:flex-start;gap:12px;margin-top:16px;padding:16px 18px;border:1px solid #ecd994;border-radius:10px;background:#fff9e9;color:#684900}.notification-state p{margin:2px 0 0;font-size:.86rem}.timeline-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 16px 42px rgba(19,7,47,.07)}.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line)}.timeline-heading>span{color:var(--muted);font-size:.84rem;font-weight:750}.timeline-scroll{overflow-x:auto;padding:18px 22px 22px}.timeline-scroll:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.timeline-canvas{min-width:820px}.timeline-axis{position:relative;height:22px;margin-left:174px;padding-bottom:8px;color:var(--muted);font-size:.72rem}.timeline-axis span{position:absolute;left:var(--timeline-tick);transform:translateX(-50%);white-space:nowrap}.timeline-axis span.first{transform:none}.timeline-axis span.last{transform:translateX(-100%)}.timeline-day+.timeline-day{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.timeline-day h3{margin:0 0 10px;font-size:.88rem}.timeline-row{display:grid;grid-template-columns:160px minmax(640px,1fr);align-items:center;gap:14px;min-height:62px}.timeline-meta{display:grid;font-size:.8rem}.timeline-meta span{color:var(--muted)}.timeline-track{position:relative;height:44px;border-radius:8px;background:#eef0f7}.timeline-bar{position:absolute;left:var(--timeline-start);width:var(--timeline-width);min-width:0;height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;overflow:hidden;border:1px solid #8d64ea;border-radius:8px;background:#e8ddff;color:#250861;font-size:.75rem}.timeline-bar.has-gap{border-style:dashed;border-color:#b76e00;background:#fff1cc;color:#684900}.timeline-bar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-bar span{flex:0 0 auto;font-weight:800}.timeline-help{margin:0;padding:0 24px 18px;color:var(--muted);font-size:.78rem}.inline-state.success{align-items:center;grid-template-columns:1fr auto}.change-dialog label{display:grid;gap:7px;margin-top:18px;color:var(--ink-2);font-size:.84rem;font-weight:750}.change-dialog textarea{width:100%;padding:10px 12px;resize:vertical;border:1px solid #aaa7b9;border-radius:7px;background:white;color:var(--ink);font:inherit}.change-dialog textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.event-command-grid,.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.event-command-grid article,.overview-metrics article{min-height:132px;display:grid;align-content:space-between;padding:19px 20px;border:1px solid var(--line);border-radius:var(--radius-lg);background:rgba(255,255,255,.88);box-shadow:0 14px 36px rgba(19,7,47,.055)}.event-command-grid article.needs-attention,.overview-metrics article.needs-attention{border-color:#ecd994;background:#fffaf0}.overview-metrics article.confirmed-metric{border-color:#b7e7d5;background:#f0faf6}.event-command-grid span,.overview-metrics span,.staff-event-summary span{color:var(--muted);font-size:.77rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase}.event-command-grid strong,.overview-metrics strong{margin-block:8px 4px;font-size:clamp(1.75rem,3vw,2.55rem);line-height:1}.event-command-grid small,.overview-metrics small{color:var(--muted);font-size:.78rem}.overview-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:20px;align-items:start}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:4px 0 13px}.section-heading h2{margin-top:4px;font-size:1.3rem}.attention-panel{position:sticky;top:24px;padding:18px;border:1px solid var(--line);border-radius:var(--radius-lg);background:rgba(255,255,255,.9);box-shadow:0 16px 42px rgba(19,7,47,.065)}.attention-panel ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.attention-panel li button{width:100%;min-height:72px;display:grid;gap:2px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);text-align:left;cursor:pointer}.attention-panel li button:hover{border-color:#bba6e9;background:#faf8ff}.attention-panel li small,.attention-panel li span{color:var(--muted);font-size:.75rem}.delivery-summary{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px;border-radius:10px;background:var(--wash)}.delivery-summary div{display:grid}.delivery-summary small{color:var(--muted)}.event-phase{margin-top:13px}.event-phase,.event-phase span{display:flex;align-items:center;gap:4px}.event-phase span{color:var(--muted);font-size:.69rem;font-weight:800;text-transform:uppercase}.event-phase span:not(:last-child):after{content:"";width:18px;height:2px;background:var(--line)}.event-phase span.complete{color:var(--action-dark)}.event-phase span.complete:not(:last-child):after{background:#a985ff}.event-command-grid{margin-top:-4px}.manager-day-groups{padding:2px 20px 12px}.manager-day+.manager-day{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.manager-day h3{margin:12px 0 4px;color:var(--ink-2);font-size:.8rem;letter-spacing:.04em;text-transform:uppercase}.manager-day .shift-summary{padding-inline:0}.event-secondary-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:12px 16px;border:1px solid #b5dfe4;border-radius:var(--radius);background:#edf9fa;color:#075f69;font-size:.84rem}.inline-state.info{background:#edf9fa;color:#075f69;border-color:#b5dfe4}.inline-state.warning:has(.button){align-items:center;justify-content:space-between;flex-direction:row}.inline-state.warning>div{display:grid;gap:3px}.substitute-picker{border-top:1px solid var(--line)}.substitute-picker summary{min-height:52px;display:flex;align-items:center;padding:0 20px;color:var(--action-dark);font-weight:800;cursor:pointer}.substitute-picker>p{margin:0;padding:0 20px 12px;color:var(--muted);font-size:.8rem}.change-review{margin-bottom:18px;padding:18px;border:1px solid #cbb8f6;border-radius:var(--radius-lg);background:#faf8ff}.change-review ul{display:grid;gap:8px;margin:0 0 12px;padding:0;list-style:none}.change-review li{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:white;font-size:.82rem}.change-review li span,.change-review>p,.change-review>small{color:var(--muted)}.change-review>p{margin:0 0 10px}.staff-event-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.staff-event-summary>div{display:grid;gap:5px;padding:15px 17px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}.staff-event-summary strong{font-size:1rem}.timeline-mobile-copy{display:none}@media (max-width:900px){.app-shell{display:block}.app-sidebar{position:sticky;min-height:0;height:auto;overflow:visible;padding:0;background:var(--panel);color:var(--ink);border-bottom:1px solid var(--line)}.app-header{min-height:64px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:9px 18px}.brand-lockup{padding:0}.brand-mark{width:40px;height:40px;background:#160638;color:white}.wordmark{color:var(--ink)}.profile-card,.role-control>span{display:none}.role-control{display:block;width:auto;order:0}.role-switch{width:auto;border-color:var(--line);background:var(--wash)}.role-switch button{color:var(--muted);padding-inline:11px}.role-switch button[aria-pressed=true]{color:var(--ink)}.prototype-chip{width:44px;padding:0;justify-content:center;overflow:hidden;border-color:var(--line);background:white;color:transparent}.prototype-chip span{flex:0 0 22px;margin:0;background:var(--wash);color:var(--ink)}.app-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:4px;padding:7px 10px max(7px,env(safe-area-inset-bottom));background:rgba(248,249,253,.96);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.app-nav button{flex:1 1;max-width:180px;min-height:52px;flex-direction:column;justify-content:center;gap:1px;padding:3px 6px;color:var(--muted);font-size:.72rem;text-align:center}.app-nav button[aria-current=page]{background:#eee8ff;color:var(--action-dark)}.nav-icon{height:22px}.app-content{padding-bottom:78px}.sticky-action{bottom:76px}.prototype-panel{left:16px;right:16px;top:76px;width:auto}.workspace,.workspace.narrow{width:min(1040px,calc(100% - 36px))}.overview-layout{grid-template-columns:1fr}.attention-panel{position:static}}@media (max-width:600px){.app-header{grid-template-columns:1fr auto}.role-control{position:static;grid-row:2;grid-column:1/-1;width:100%}.prototype-chip{grid-row:1;grid-column:2}.brand-lockup{grid-row:1;grid-column:1}.brand-lockup .wordmark{font-size:1rem}.role-switch button{min-height:44px;padding-inline:8px;font-size:.72rem}.prototype-panel{align-items:stretch;flex-direction:column;max-height:calc(100vh - 160px);overflow-y:auto}.inline-state.success,.timeline-heading{align-items:flex-start;grid-template-columns:1fr;flex-direction:column}.inline-state.success .button{width:100%}.event-command-grid,.overview-metrics{grid-template-columns:1fr;gap:9px}.event-command-grid article,.overview-metrics article{min-height:92px;grid-template-columns:1fr auto;align-items:center}.event-command-grid article strong,.overview-metrics article strong{grid-row:1/span 2;grid-column:2}.event-command-grid article small,.overview-metrics article small{grid-column:1}.staff-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.staff-overview article{min-height:92px;display:flex;align-items:flex-start;justify-content:space-between;padding:13px 11px}.staff-overview article strong{margin:0;font-size:1.65rem}.staff-overview article small{display:none}.staff-overview article span{font-size:.64rem}.event-secondary-action,.inline-state.warning:has(.button){align-items:stretch;flex-direction:column}.event-secondary-action .button,.inline-state.warning .button{width:100%}.staff-event-summary{grid-template-columns:1fr}.timeline-scroll{overflow:visible;padding:8px 18px 18px}.timeline-canvas{min-width:0}.timeline-axis,.timeline-track{display:none}.timeline-row{grid-template-columns:1fr;gap:7px;margin-bottom:10px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--white)}.timeline-mobile-copy{display:grid;gap:3px;font-size:.82rem}.timeline-mobile-copy span{color:var(--muted)}.timeline-help{display:none}}@media (max-width:360px){.staff-overview article{align-items:center;justify-content:center;gap:6px;padding-inline:6px;text-align:center}.staff-overview article span{font-size:.56rem;line-height:1.2}.staff-overview article strong{font-size:1.4rem}}.roster-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;list-style:none;padding:0;margin:0 0 1.5rem}.roster-steps li{display:flex;align-items:center;gap:.5rem;padding:.75rem;border-bottom:3px solid #d7dce5;color:#526176;font-size:.875rem}.roster-steps li.complete{border-color:#6355d8;color:#332779}.roster-steps li[aria-current=step]{background:#f0edff;font-weight:700}.roster-steps li span{flex:0 0 auto;font-weight:700}@media (max-width:640px){.roster-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.roster-steps li{padding:.6rem}.event-phase{flex-wrap:wrap}}.event-row>*,.page-heading>div,.person-row>span,.shift-editor,.workspace{min-width:0}.event-row h2,.page-heading h1,.person-row strong,.staff-event-summary strong{overflow-wrap:anywhere}.roster-steps{width:min(1260px,calc(100% - 64px));margin:24px auto 0}.button{white-space:normal;padding-block:.6rem}.change-dialog textarea,.event-form input{font-size:1rem}.app-nav button,.field-error,.field-help,.role-switch button,.staff-overview article span{font-size:.875rem}@media (min-width:641px) and (max-width:1100px){.shift-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.event-row{grid-template-columns:minmax(0,1fr) auto}.event-row>.button{grid-column:1/-1;justify-self:start}}@media (max-width:900px){.roster-steps{width:calc(100% - 36px)}}@media (max-width:600px){.staff-overview{grid-template-columns:1fr}.staff-overview article{display:grid;min-height:84px}.staff-overview article small{display:block}.staff-event-summary{grid-template-columns:1fr}}