:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-sans:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;--font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;--font-mono:ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;--radius-sm:8px;--radius-md:10px;--radius-lg:14px;--radius-xl:20px;--control-height:44px;--sidebar-width:264px;--topbar-height:60px;--content-max:1680px;--ease-out:cubic-bezier(.23, 1, .32, 1);--ease-drawer:cubic-bezier(.32, .72, 0, 1);--page:#f2f2f7;--surface:#fff;--surface-raised:#fff;--surface-subtle:#f7f7f9;--surface-inverse:#1d1d1f;--sidebar:#f6f6f9db;--topbar:#f2f2f7c7;--fill:#7676801f;--fill-strong:#76768033;--highlight:#ffffffb3;--backdrop:#00000052;--text:#1d1d1f;--text-secondary:#3c3c43;--text-tertiary:#6e6e73;--text-on-solid:#fff;--separator:#3c3c4324;--separator-strong:#3c3c4342;--shadow-color:#00000014;--shadow-card:0 1px 2px #0000000a, 0 4px 16px #0000000a;--shadow-pop:0 12px 40px #00000029, 0 2px 6px #0000000f;--focus-ring:0 0 0 4px #007aff47;--accent-solid:#007aff;--accent-solid-hover:#0068d9;--on-accent:#fff;--accent-text:#0062cc;--accent-tint:#007aff12;--accent-tint-strong:#007aff26;--accent-border:#007aff3d;--accent-border-strong:#007affb3;--success-solid:#248a3d;--on-success:#fff;--success-text:#1f7a35;--success-tint:#34c7591a;--success-tint-strong:#34c75933;--success-border:#248a3d47;--success-border-strong:#248a3db3;--warning-solid:#ff9500;--on-warning:#1d1d1f;--warning-text:#a14a00;--warning-tint:#ff95001a;--warning-tint-strong:#ff950038;--warning-border:#c96e004d;--warning-border-strong:#c96e00bf;--danger-solid:#ff3b30;--on-danger:#fff;--danger-text:#c4150b;--danger-tint:#ff3b3014;--danger-tint-strong:#ff3b3029;--danger-border:#d700153d;--danger-border-strong:#d70015a6;--violet-text:#8944ab;--violet-tint:#af52de1a;--violet-border:#af52de4d}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#000;--surface:#1c1c1e;--surface-raised:#2c2c2e;--surface-subtle:#151517;--surface-inverse:#f5f5f7;--sidebar:#161618db;--topbar:#000000b8;--fill:#76768033;--fill-strong:#76768052;--highlight:#ffffff0d;--backdrop:#00000094;--text:#f5f5f7;--text-secondary:#d1d1d6;--text-tertiary:#98989f;--text-on-solid:#fff;--separator:#54545880;--separator-strong:#7878809e;--shadow-color:#00000080;--shadow-card:0 0 0 1px #ffffff0a;--shadow-pop:0 18px 50px #0009, 0 0 0 1px #ffffff0f;--focus-ring:0 0 0 4px #0a84ff66;--accent-solid:#0a84ff;--accent-solid-hover:#3395ff;--accent-text:#64aaff;--accent-tint:#0a84ff1f;--accent-tint-strong:#0a84ff3d;--accent-border:#0a84ff59;--accent-border-strong:#64aaffd9;--success-solid:#30d158;--on-success:#04260f;--success-text:#4cd964;--success-tint:#30d15821;--success-tint-strong:#30d1583d;--success-border:#30d15852;--success-border-strong:#30d158bf;--warning-solid:#ff9f0a;--on-warning:#1d1d1f;--warning-text:#ffb340;--warning-tint:#ff9f0a21;--warning-tint-strong:#ff9f0a42;--warning-border:#ff9f0a57;--warning-border-strong:#ff9f0ac7;--danger-solid:#ff453a;--on-danger:#fff;--danger-text:#ff6961;--danger-tint:#ff453a21;--danger-tint-strong:#ff453a42;--danger-border:#ff453a57;--danger-border-strong:#ff6961c7;--violet-text:#da8fff;--violet-tint:#bf5af226;--violet-border:#bf5af25c}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#000;--surface:#1c1c1e;--surface-raised:#2c2c2e;--surface-subtle:#151517;--surface-inverse:#f5f5f7;--sidebar:#161618db;--topbar:#000000b8;--fill:#76768033;--fill-strong:#76768052;--highlight:#ffffff0d;--backdrop:#00000094;--text:#f5f5f7;--text-secondary:#d1d1d6;--text-tertiary:#98989f;--text-on-solid:#fff;--separator:#54545880;--separator-strong:#7878809e;--shadow-color:#00000080;--shadow-card:0 0 0 1px #ffffff0a;--shadow-pop:0 18px 50px #0009, 0 0 0 1px #ffffff0f;--focus-ring:0 0 0 4px #0a84ff66;--accent-solid:#0a84ff;--accent-solid-hover:#3395ff;--accent-text:#64aaff;--accent-tint:#0a84ff1f;--accent-tint-strong:#0a84ff3d;--accent-border:#0a84ff59;--accent-border-strong:#64aaffd9;--success-solid:#30d158;--on-success:#04260f;--success-text:#4cd964;--success-tint:#30d15821;--success-tint-strong:#30d1583d;--success-border:#30d15852;--success-border-strong:#30d158bf;--warning-solid:#ff9f0a;--on-warning:#1d1d1f;--warning-text:#ffb340;--warning-tint:#ff9f0a21;--warning-tint-strong:#ff9f0a42;--warning-border:#ff9f0a57;--warning-border-strong:#ff9f0ac7;--danger-solid:#ff453a;--on-danger:#fff;--danger-text:#ff6961;--danger-tint:#ff453a21;--danger-tint-strong:#ff453a42;--danger-border:#ff453a57;--danger-border-strong:#ff6961c7;--violet-text:#da8fff;--violet-tint:#bf5af226;--violet-border:#bf5af25c}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{min-width:320px;min-height:100dvh;color:var(--text);background:var(--page);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:15px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3,h4,p{margin-top:0}h1{color:var(--text);font-family:var(--font-display);letter-spacing:-.022em;margin-bottom:8px;font-size:clamp(1.75rem,2.6vw,2.125rem);font-weight:700;line-height:1.12}h2{color:var(--text);font-family:var(--font-display);letter-spacing:-.018em;margin:4px 0 0;font-size:clamp(1.35rem,2vw,1.625rem);font-weight:700;line-height:1.2}h3{color:var(--text);letter-spacing:-.01em;font-size:1.0625rem;font-weight:600}a{color:var(--accent-text)}::selection{background:var(--accent-tint-strong)}:focus-visible{outline:2px solid var(--accent-solid);outline-offset:2px}.eyebrow{color:var(--text-tertiary);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem;font-weight:600}.lead{max-width:62ch;color:var(--text-tertiary);font-size:1rem;line-height:1.5}button{min-height:var(--control-height);border-radius:var(--radius-md);color:var(--on-accent);background:var(--accent-solid);cursor:pointer;letter-spacing:-.005em;transition:background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .16s var(--ease-out);-webkit-tap-highlight-color:transparent;border:0;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-size:.9375rem;font-weight:600;display:inline-flex}button:hover:not(:disabled){background:var(--accent-solid-hover)}button:active:not(:disabled){transform:scale(.98)}button:focus-visible{box-shadow:var(--focus-ring);outline:none}button:disabled,select:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.45}.secondary-button{min-height:38px;color:var(--accent-text);background:var(--fill);border:0;padding:0 14px;font-size:.875rem;text-decoration:none}.secondary-button:hover:not(:disabled){background:var(--fill-strong)}.danger-button{color:var(--on-danger);background:var(--danger-solid)}.danger-button:hover:not(:disabled){background:var(--danger-solid);filter:brightness(.92)}input,select,textarea{width:100%;min-height:var(--control-height);border:1px solid var(--separator-strong);border-radius:var(--radius-md);color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}input,textarea{padding:0 12px}textarea{padding:10px 12px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:12px;padding:0 36px 0 12px}input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:18px;accent-color:var(--accent-solid);padding:0}input[type=file]{padding:9px 12px}input::placeholder,textarea::placeholder{color:var(--text-tertiary);opacity:.8}input:focus,select:focus,textarea:focus{border-color:var(--accent-solid);box-shadow:var(--focus-ring)}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--danger-border-strong)}label{color:var(--text-secondary);font-size:.875rem;font-weight:500}fieldset{min-width:0}.form-group{gap:6px;display:grid}.form-help{color:var(--text-tertiary);font-size:.8125rem}.form-help-error{color:var(--danger-text)}table{border-collapse:collapse;font-variant-numeric:tabular-nums}thead th{color:var(--text-tertiary);letter-spacing:.04em;text-align:left;text-transform:uppercase;font-size:.75rem;font-weight:600}tbody th{color:var(--text);text-align:left;font-weight:600}.message{border-radius:var(--radius-md);color:var(--text-secondary);background:var(--fill);white-space:pre-line;margin:16px 0;padding:12px 14px;line-height:1.45}.error-message{color:var(--danger-text)}.message.error-message{background:var(--danger-tint)}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.error-popup{z-index:60;border:1px solid var(--separator);border-radius:var(--radius-lg);width:min(100vw - 32px,420px);max-height:calc(100dvh - 32px);color:var(--text);background:var(--surface-raised);box-shadow:var(--shadow-pop);animation:toast-in .32s var(--ease-out);gap:12px;padding:14px 14px 14px 16px;display:flex;position:fixed;top:16px;right:16px;overflow-y:auto}.error-popup-icon{width:30px;height:30px;color:var(--danger-text);background:var(--danger-tint-strong);border-radius:50%;flex:0 0 30px;place-items:center;display:grid}.error-popup-body{flex:1;min-width:0}.error-popup-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.error-popup-header strong{font-size:.9375rem;font-weight:600}.error-popup p{color:var(--text-secondary);white-space:pre-line;margin:4px 0 0;font-size:.875rem;line-height:1.45}.error-popup-close{width:28px;min-height:28px;color:var(--text-tertiary);background:var(--fill);border-radius:50%;padding:0}.error-popup-close:hover:not(:disabled){color:var(--text);background:var(--fill-strong)}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.section-heading,.employee-form-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.personal-roster{margin-top:30px}.personal-roster-intro{color:var(--text-tertiary);margin:8px 0 0;line-height:1.5}.personal-roster-summary{border:1px solid var(--accent-border);border-radius:var(--radius-lg);color:var(--accent-text);background:var(--accent-tint);justify-content:space-between;align-items:center;gap:16px;margin:24px 0 16px;padding:16px 18px;display:flex}.personal-roster-summary strong{color:var(--text);font-size:1.15rem}.personal-roster-empty{border:1px dashed var(--separator-strong);border-radius:var(--radius-lg);color:var(--text-tertiary);text-align:center;background:var(--surface-subtle);gap:7px;margin-top:24px;padding:24px;display:grid}.personal-roster-empty strong{color:var(--text);font-size:1.05rem}.role-details{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--accent-tint);gap:18px;margin-top:32px;padding:20px;display:grid}.driver-workspace .role-details{border-color:var(--accent-border)}.instore-workspace .role-details{border-color:var(--success-border);background:var(--success-tint)}.employee-workspace .role-details{border-color:var(--violet-border);background:var(--violet-tint)}.absent-fields,.absent-record-details{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;margin:20px 0;padding:0;display:grid}.absent-field{align-content:start;gap:8px;min-width:0;display:grid}.absent-field label,.absent-field-label,.absent-record dt{color:var(--text-secondary);font-size:.88rem;font-weight:700}.absent-shift-mode{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.absent-shift-mode button{border:1px solid var(--separator);background:var(--surface);min-height:44px;color:var(--text-secondary)}.absent-shift-mode button.active{border-color:var(--accent-border-strong);background:var(--accent-tint-strong);color:var(--accent-text)}.absent-field input,.absent-field select,.absent-field textarea{box-sizing:border-box;border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface-raised);width:100%;min-width:0;min-height:46px;color:var(--text);font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;padding:12px}.absent-field textarea{resize:vertical}.absent-field input[readonly]{color:var(--text-secondary);background:var(--surface)}.absent-field small,.absent-form-footer{color:var(--text-tertiary);font-size:.85rem}.absent-filter-form{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface-subtle);gap:14px;margin:24px 0 4px;padding:16px;display:grid}.absent-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.absent-filter-field{gap:7px;display:grid}.absent-filter-field label{color:var(--text-secondary);font-size:.84rem;font-weight:700}.absent-filter-field input{box-sizing:border-box;border:1px solid var(--separator);border-radius:var(--radius-sm);background:var(--surface-raised);width:100%;min-height:42px;color:var(--text);font:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;padding:10px 12px}.absent-filter-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.absent-filter-count{color:var(--text-tertiary);font-size:.86rem}.absent-wide{grid-column:1/-1}.absent-form-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.absent-history-list{gap:16px;display:grid}.absent-record{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface-raised);min-width:0;padding:20px}.absent-record h4{margin:0}.absent-record-actions,.absent-edit-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.absent-record-actions button,.absent-record-actions .secondary-button{min-height:34px;padding:7px 12px}.absent-admin-edit{border-top:1px solid var(--separator);margin-top:14px;padding-top:2px}.absent-edit-footer{padding-top:2px}.absent-record-details{margin-bottom:0}.absent-record dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.store-settings-form{gap:18px;display:grid}.store-settings-fields{margin:4px 0 0}@media (width<=600px){.absent-fields,.absent-record-details,.absent-filter-fields{grid-template-columns:minmax(0,1fr)}.absent-record{padding:14px}.absent-shift-mode{grid-template-columns:minmax(0,1fr)}.absent-form-footer button{width:100%}.absent-record .section-heading,.absent-record-actions,.absent-edit-actions{flex-direction:column;align-items:stretch}}.role-details h2{margin-top:6px}.role-details p{color:var(--text-tertiary);margin:0;line-height:1.6}.holiday-panel,.holiday-admin-panel{margin-top:32px}.holiday-limit{color:var(--accent-text);font-size:.82rem;font-weight:700}.holiday-help{max-width:720px;color:var(--text-tertiary);margin:0;line-height:1.5}.holiday-form{gap:8px;max-width:760px;margin-top:22px;display:grid}.holiday-form label{color:var(--text-secondary);font-size:.9rem;font-weight:700}.holiday-form-row{grid-template-columns:minmax(120px,180px) auto auto;align-items:center;gap:10px;display:grid}.holiday-form-row button{white-space:nowrap}.holiday-request-meta{color:var(--text-tertiary);margin:4px 0 0;font-size:.82rem}.holiday-request-meta strong{color:var(--warning-text)}.holiday-history{border-top:1px solid var(--separator);margin-top:30px;padding-top:24px}.holiday-history h3{color:var(--text);margin:6px 0 0;font-size:1.15rem}.holiday-total{color:var(--success-text);font-variant-numeric:tabular-nums}.holiday-table-wrapper{border:1px solid var(--separator);border-radius:var(--radius-md);overflow-x:auto}.holiday-table{border-collapse:collapse;width:100%;min-width:620px;color:var(--text-secondary);font-size:.84rem}.holiday-table th,.holiday-table td{border-bottom:1px solid var(--separator);text-align:left;white-space:nowrap;padding:10px 12px}.holiday-table th{color:var(--text-tertiary);background:var(--surface);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem}.holiday-table tr:last-child td{border-bottom:0}.holiday-table td strong,.holiday-table td small{display:block}.holiday-table td strong{color:var(--text)}.holiday-table td small{color:var(--text-tertiary);margin-top:3px}.holiday-status{text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:700;display:inline-block}.holiday-status.requested{color:var(--warning-text);background:var(--warning-tint-strong)}.holiday-status.used,.holiday-status.approved{color:var(--success-text);background:var(--success-tint-strong)}.holiday-status.rejected{color:var(--danger-text);background:var(--danger-tint-strong)}.sick-leave-form{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface-subtle);gap:16px;max-width:980px;margin-top:22px;padding:18px;display:grid}.sick-leave-fields{grid-template-columns:minmax(160px,190px) minmax(160px,190px) minmax(300px,1fr);align-items:end;gap:12px;display:grid}.sick-leave-field{gap:7px;min-width:0;display:grid}.sick-leave-field>label,.sick-note-label{color:var(--text-secondary);font-size:.9rem;font-weight:700}.deleted-note{color:var(--text-tertiary);font-size:.75rem}.sick-note-picker{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface-raised);cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:46px;transition:border-color .15s,box-shadow .15s;display:grid;overflow:hidden}.sick-note-picker:hover,.sick-note-field input:focus-visible+.sick-note-picker{border-color:var(--accent-border-strong);box-shadow:0 0 0 3px var(--accent-border)}.sick-note-button{color:var(--text-on-solid);background:var(--accent-solid);align-self:stretch;align-items:center;padding:0 16px;font-size:.82rem;font-weight:700;display:inline-flex}.sick-note-name{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;padding:0 14px;font-size:.86rem;font-weight:500;overflow:hidden}.sick-note-picker.has-file .sick-note-name{color:var(--text)}.sick-leave-form-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.sick-leave-form-footer small{color:var(--text-tertiary);font-size:.76rem}.sick-leave-form-footer button{flex:none}.sick-leave-table{min-width:850px}.sick-leave-actions{gap:8px;display:flex}.table-link{color:var(--accent-text);font-weight:700}.holiday-admin-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.holiday-summary{grid-template-columns:repeat(2,minmax(0,220px));gap:10px;margin-top:22px;display:grid}.holiday-summary>div{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface);gap:4px;padding:14px;display:grid}.holiday-summary span,.holiday-summary small{color:var(--text-tertiary);text-transform:uppercase;font-size:.76rem}.holiday-summary strong{color:var(--success-text);font-size:1.15rem}.schedule-header{color:var(--text-tertiary);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:700}.time-selector{display:block}.time-selector select{width:100%;min-width:0;padding:0 10px}.employee-form{gap:10px;display:grid}.employee-form label{color:var(--text-secondary);font-size:.9rem;font-weight:700}.admin-tools,.availability-section,.demand-tools{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface);margin-top:32px;padding:20px}.demand-help{color:var(--text-tertiary);margin:0 0 18px;font-size:.9rem;line-height:1.5}.demand-tools input[readonly]{cursor:default;opacity:.82}.demand-labour-settings{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--accent-tint);justify-content:space-between;align-items:flex-end;gap:18px;margin:20px 0 14px;padding:16px;display:grid}.demand-labour-settings h3{color:var(--text);margin:4px 0 6px;font-size:1.05rem}.demand-labour-settings p{max-width:680px;color:var(--accent-text);margin:0;font-size:.82rem;line-height:1.45}.demand-labour-settings label{color:var(--accent-text);flex:0 0 160px;gap:6px;font-size:.82rem;font-weight:700;display:grid}.demand-labour-settings input,.demand-labour-table input{min-height:34px;color:var(--text);background:var(--surface-raised);border:1px solid var(--separator);border-radius:var(--radius-sm);font:inherit;text-align:right;padding:0 8px}.demand-overview-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.demand-overview-group{--overview-accent:var(--accent-text);border:1px solid color-mix(in srgb, var(--overview-accent) 30%, transparent);border-radius:var(--radius-md);background:var(--surface);padding:16px}.demand-overview-staffing{--overview-accent:var(--success-text)}.demand-overview-cost{--overview-accent:var(--warning-text)}.demand-overview-group-heading{align-items:flex-start;gap:10px;min-height:54px;display:flex}.demand-overview-group-heading>span{width:28px;height:28px;color:var(--text-on-solid);background:var(--overview-accent);border-radius:50%;flex:0 0 28px;place-items:center;font-size:.76rem;font-weight:700;display:grid}.demand-overview-group h4{color:var(--overview-accent);margin:0;font-size:.96rem}.demand-overview-group-heading p{color:var(--text-tertiary);margin:3px 0 0;font-size:.74rem;line-height:1.35}.demand-overview-group dl{gap:0;margin:12px 0 0;display:grid}.demand-overview-group dl>div{border-top:1px solid var(--separator);justify-content:space-between;align-items:baseline;gap:16px;padding:8px 0;display:flex}.demand-overview-group dt{color:var(--text-tertiary);font-size:.76rem}.demand-overview-group dd{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;margin:0;font-size:.9rem;font-weight:700}.demand-assumptions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.demand-assumptions>span{border:1px solid var(--separator);color:var(--text-tertiary);background:var(--surface-subtle);border-radius:999px;padding:6px 9px;font-size:.72rem}.demand-assumptions strong{color:var(--accent-text);font-variant-numeric:tabular-nums}.demand-metric-guide{border:1px solid var(--separator);border-radius:var(--radius-md);color:var(--text-tertiary);background:var(--surface-subtle);margin-bottom:14px;padding:10px 12px;font-size:.77rem}.demand-metric-guide summary{cursor:pointer;color:var(--accent-text);font-weight:700}.demand-metric-guide>div{gap:5px;margin-top:10px;display:grid}.demand-metric-guide p{margin:0;line-height:1.45}.demand-metric-guide strong{color:var(--text)}.demand-labour-table-wrapper{border:1px solid var(--separator);border-radius:var(--radius-md);margin-bottom:16px;overflow-x:auto}.demand-labour-table{border-collapse:collapse;width:100%;min-width:1060px;color:var(--text-secondary);font-size:.82rem}.demand-labour-table th,.demand-labour-table td{border:1px solid var(--separator);text-align:right;white-space:nowrap;padding:9px 10px}.demand-labour-table thead th{color:var(--text-tertiary);background:var(--surface);text-transform:uppercase;font-size:.7rem}.demand-labour-table tbody th{color:var(--text);background:var(--surface-subtle);text-align:left}.demand-labour-table input{width:120px}.demand-daily-table th:first-child,.demand-hourly-table th:first-child{z-index:2;box-shadow:5px 0 10px var(--shadow-color);position:sticky;left:0}.demand-daily-table thead th:first-child,.demand-hourly-table thead th:first-child{z-index:3;background:var(--surface)}.demand-daily-table tbody th:first-child,.demand-hourly-table tbody th:first-child{background:var(--surface-raised)}.demand-stacked-cell{min-width:155px;line-height:1.3}.demand-stacked-cell>strong{color:var(--text);font-variant-numeric:tabular-nums}.demand-hourly-analysis{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--accent-tint);margin:24px 0 18px;padding:16px}.demand-hourly-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.demand-hourly-heading h3{color:var(--text);margin:4px 0 5px;font-size:1.05rem}.demand-hourly-heading p{color:var(--text-tertiary);margin:0;font-size:.8rem}.demand-hourly-heading label{color:var(--text-secondary);flex:0 0 190px;gap:6px;font-size:.8rem;font-weight:700;display:grid}.demand-hourly-heading select{width:100%}.demand-hourly-summary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:14px;display:grid}.demand-hourly-summary>div{border:1px solid var(--separator);border-radius:var(--radius-sm);background:var(--surface);gap:3px;padding:10px 12px;display:grid}.demand-hourly-summary span{color:var(--text-tertiary);letter-spacing:.04em;text-transform:uppercase;font-size:.68rem}.demand-hourly-summary strong{color:var(--accent-text);font-variant-numeric:tabular-nums;font-size:.95rem}.demand-hourly-table-wrapper{margin-bottom:0}.demand-hourly-table{min-width:1120px}.staffing-status{border:1px solid #0000;border-radius:999px;padding:4px 8px;font-size:.7rem;font-weight:700;display:inline-flex}.staffing-status-matched{color:var(--success-text);border-color:var(--success-border);background:var(--success-tint)}.staffing-status-under{color:var(--danger-text);border-color:var(--danger-border);background:var(--danger-tint)}.staffing-status-above{color:var(--warning-text);border-color:var(--warning-border);background:var(--warning-tint)}.staffing-status-unknown{color:var(--text-secondary);border-color:var(--separator);background:var(--surface-subtle)}.metric-success{color:var(--success-text)}.metric-warning{color:var(--warning-text)!important}.metric-danger{color:var(--danger-text)}.demand-empty-hourly{color:var(--text-tertiary);text-align:center!important;padding:22px!important}.saved-roster-labour{border-top:1px solid var(--separator);margin:24px 0;padding-top:20px}.roster-labour-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:16px 0;display:grid}.roster-labour-card{border:1px solid var(--accent-border);border-radius:var(--radius-md);background:var(--accent-tint);gap:7px;padding:16px;display:grid}.roster-labour-card h4{color:var(--text);margin:0}.roster-labour-cost{color:var(--success-text);font-variant-numeric:tabular-nums;font-size:1.4rem}.roster-labour-card span,.roster-labour-card small{color:var(--text-tertiary);font-size:.8rem}.roster-labour-warning{color:var(--warning-text);border:1px solid var(--warning-border);border-radius:var(--radius-md);background:var(--warning-tint);padding:14px 16px;font-size:.85rem}.roster-labour-warning ul{margin-bottom:0;padding-left:20px}.roster-labour-table{font-variant-numeric:tabular-nums;min-width:560px}.roster-labour-table tfoot{color:var(--success-text);background:var(--success-tint);font-weight:700}.roster-labour-table small{color:var(--text-tertiary);white-space:normal;margin-top:4px;font-size:.72rem;font-weight:400;display:block}.demand-paste-label{color:var(--text-secondary);gap:7px;font-size:.88rem;font-weight:700;display:grid}.demand-paste-label textarea{resize:vertical;border:1px solid var(--separator);border-radius:var(--radius-md);width:100%;min-height:130px;color:var(--text);background:var(--surface-raised);font:inherit;outline:none;padding:12px}.demand-paste-label textarea:focus{border-color:var(--accent-border-strong);box-shadow:0 0 0 3px var(--accent-border)}.demand-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.roster-week-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.roster-week-summary-card{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface);gap:6px;padding:14px 16px;display:grid}.roster-week-summary-card span{color:var(--text-tertiary);text-transform:uppercase;font-size:.78rem;font-weight:700}.roster-week-summary-card strong{color:var(--success-text);font-variant-numeric:tabular-nums;font-size:1.35rem}.roster-generation-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;display:flex}.roster-edit-panel{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--accent-tint);margin-top:24px;padding:16px}.roster-view-selectors{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.roster-edit-panel h3{color:var(--text);margin:4px 0 0}.roster-edit-panel .demand-help{margin:10px 0 0}.roster-edit-panel .roster-generation-actions{margin-top:14px}.hub-status{color:var(--text-tertiary);text-transform:capitalize;font-size:.88rem}.hub-status.connected{color:var(--success-text)}.hub-status.error,.hub-status.disconnected{color:var(--danger-text)}.roster-generation-tools[hidden]{display:none}.roster-settings{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface);margin-top:24px;padding:16px}.roster-settings summary{color:var(--text);cursor:pointer;font-weight:700}.roster-settings[open] summary{margin-bottom:16px}.roster-settings-fields{border:0;min-width:0;margin:0;padding:0}.roster-settings-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;display:grid}.roster-settings-grid label{color:var(--text-secondary);grid-template-rows:auto auto 1fr;align-content:start;gap:8px;font-size:.88rem;font-weight:600;display:grid}.roster-settings-grid small,.roster-footnote{color:var(--text-tertiary);font-size:.8rem;font-weight:400;line-height:1.6}.roster-footnote{margin:14px 0 0}.demand-productivity-grid{grid-template-columns:minmax(0,320px);gap:14px;display:grid}.demand-productivity-grid label{align-content:end}.demand-productivity-grid input{width:100%}.demand-table td.demand-missing-value input{border-color:var(--warning-border-strong);background:var(--warning-tint)}.demand-table.demand-desktop-table{min-width:1100px}.demand-labour-table td small{color:var(--text-tertiary);margin-top:4px;display:block}.roster-role-groups{gap:20px;margin-top:20px;display:grid}.roster-role-group{--roster-group-accent:var(--accent-text);--roster-group-border:var(--accent-border);--roster-group-surface:var(--accent-tint);border:1px solid var(--roster-group-border);border-radius:var(--radius-lg);background:var(--roster-group-surface);overflow:hidden}.roster-role-group-drivers{--roster-group-accent:var(--success-text);--roster-group-border:var(--success-border);--roster-group-surface:var(--success-tint)}.roster-role-group-inside{--roster-group-accent:var(--warning-text);--roster-group-border:var(--warning-border);--roster-group-surface:var(--warning-tint)}.roster-role-group-other{--roster-group-accent:var(--violet-text);--roster-group-border:var(--violet-border);--roster-group-surface:var(--violet-tint)}.roster-role-group-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px 14px;display:flex}.roster-role-group-heading h3{color:var(--roster-group-accent);margin:0;font-size:1.05rem}.roster-role-group-heading p{color:var(--text-tertiary);margin:4px 0 0;font-size:.82rem;line-height:1.45}.roster-role-group-empty{border-top:1px solid var(--roster-group-border);color:var(--text-tertiary);margin:0;padding:18px;font-size:.85rem}.roster-role-group-count{border:1px solid var(--roster-group-border);color:var(--roster-group-accent);background:var(--roster-group-surface);white-space:nowrap;border-radius:999px;flex:none;padding:5px 9px;font-size:.75rem;font-weight:700}.roster-role-group .availability-table,.roster-role-group .demand-table-wrapper{border-bottom:0;border-left:0;border-right:0;border-radius:0;margin-top:0}.roster-role-group .availability-row:last-child{border-bottom:0}.roster-group-divider th{color:var(--accent-text);letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;background:var(--accent-tint)!important;text-align:left!important}.roster-group-divider-drivers th{color:var(--success-text);background:var(--success-tint)!important}.roster-group-divider-inside th{color:var(--warning-text);background:var(--warning-tint)!important}.roster-group-divider-other th{color:var(--violet-text);background:var(--violet-tint)!important}.roster-diagnostics{border:1px solid var(--warning-border);border-radius:var(--radius-md);color:var(--warning-text);background:var(--warning-tint);margin-top:20px;padding:16px}.roster-diagnostics h3{margin:0 0 10px;font-size:1rem}.roster-diagnostics ul{max-height:380px;margin:0;padding-left:20px;line-height:1.6;overflow-y:auto}.roster-diagnostics li+li{margin-top:6px}.roster-diagnostic-filter{max-width:480px;color:var(--text-secondary);gap:8px;margin-bottom:14px;font-size:.85rem;display:grid}.roster-section-title{margin-top:28px}.saved-roster-table{border-collapse:collapse;width:100%;min-width:1100px;color:var(--text-secondary);font-size:.82rem}.saved-roster-table th,.saved-roster-table td{border:1px solid var(--separator);text-align:center;font-variant-numeric:tabular-nums;padding:12px 10px}.saved-roster-table thead th{color:var(--accent-text);background:var(--surface);white-space:nowrap}.saved-roster-table th:first-child{z-index:1;min-width:150px;color:var(--text);background:var(--surface-raised);text-align:left;position:sticky;left:0}.saved-roster-table td small{color:var(--text-tertiary);margin-top:4px;display:block}.roster-approximate-percentage{color:var(--success-text)}.roster-fairness-metrics{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.roster-fairness-details{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface);margin-top:24px}.roster-fairness-details>summary{color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:15px 16px;font-weight:700;list-style-position:inside;display:flex}.roster-fairness-details>summary small{color:var(--text-tertiary);font-size:.78rem;font-weight:600}.roster-fairness-details[open]>summary{border-bottom:1px solid var(--separator)}.roster-fairness-details .roster-fairness-section{padding:0 16px 16px}.roster-fairness-table{min-width:960px}.roster-shift{white-space:nowrap;display:block}.roster-day-off{color:var(--text-tertiary)}.saved-roster-table td.roster-shift-cell-editable{padding:0}.roster-shift-cell-button{width:100%;min-height:76px;color:inherit;font-weight:inherit;background:0 0;border:1px solid #0000;border-radius:0;padding:10px}.roster-shift-cell-button:hover:not(:disabled),.roster-shift-cell-button:focus-visible{border-color:var(--accent-border-strong);color:var(--accent-text);background:var(--accent-tint);box-shadow:inset 0 0 0 2px var(--accent-border);outline:none}.roster-shift-cell-button:hover:not(:disabled) .roster-day-off,.roster-shift-cell-button:focus-visible .roster-day-off{color:var(--accent-text)}.roster-cell-edit-hint{color:var(--accent-text);letter-spacing:.04em;text-transform:uppercase;margin-top:6px;font-size:.64rem;font-weight:700;display:block}.roster-demand-warning{border:1px solid var(--danger-border-strong);border-radius:var(--radius-md);color:var(--danger-text);background:var(--danger-tint);gap:6px;margin:18px 0;padding:14px 16px;font-size:.85rem;display:grid}.roster-demand-warning>strong{color:var(--danger-text)}.roster-demand-warning p{margin:0;line-height:1.45}.roster-demand-warning ul{max-height:180px;margin:4px 0 0;padding-left:20px;line-height:1.5;overflow-y:auto}.roster-demand-warning li+li{margin-top:3px}.roster-demand-warning li strong,.roster-demand-warning>small{color:var(--danger-text)}.saved-roster-table thead th.demand-mismatch,.saved-roster-table td.demand-mismatch{border-color:var(--danger-border-strong);color:var(--danger-text);background:var(--danger-tint)}.saved-roster-table thead th.demand-mismatch,.saved-roster-table td.demand-mismatch .roster-shift,.saved-roster-table td.demand-mismatch .roster-day-off{color:var(--danger-text)}.roster-mismatch-label{text-transform:uppercase;margin-top:4px;font-size:.68rem;font-weight:700;display:block;color:var(--danger-text)!important}.roster-snapshot-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:0;font-size:.85rem;display:grid}.roster-snapshot-grid dt{color:var(--text-tertiary)}.roster-snapshot-grid dd{color:var(--accent-text);margin:5px 0 0;font-weight:700}.roster-generation-status{border:1px solid var(--accent-border);border-radius:var(--radius-md);background:var(--surface);margin-top:20px;padding:16px}.roster-generation-status.completed{border-color:var(--success-border)}.roster-generation-status.failed{border-color:var(--danger-border-strong)}.roster-generation-status-heading{color:var(--text-secondary);justify-content:space-between;gap:12px;display:flex}.roster-generation-status-heading span{color:var(--accent-text);font-variant-numeric:tabular-nums;font-weight:700}.roster-generation-stage{gap:4px;display:grid}.roster-generation-stage .eyebrow{color:var(--text-tertiary);font-size:.68rem}.roster-generation-message{color:var(--text-secondary);margin:10px 0 0}.roster-progress{background:var(--surface-raised);border-radius:999px;height:10px;margin:12px 0 8px;overflow:hidden}.roster-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent-solid), var(--success-solid));transform-origin:0;height:100%;transition:transform .25s linear;display:block}.roster-generation-status small{color:var(--text-tertiary)}.roster-generation-log{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface);margin-top:16px;padding:16px}.roster-generation-log-heading{color:var(--text-tertiary);justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.roster-generation-log-heading h3{color:var(--text);margin:4px 0 0}.roster-generation-log>ol{max-height:360px;color:var(--text-secondary);margin:14px 0 0;padding:0 10px 0 30px;overflow-y:auto}.roster-generation-log li{border-bottom:1px solid var(--separator);grid-template-columns:78px 150px minmax(0,1fr);gap:10px;padding:6px 0;font-size:.86rem;display:grid}.roster-generation-log li:last-child{border-bottom:0}.roster-generation-log time{color:var(--text-tertiary);font-variant-numeric:tabular-nums}.roster-generation-log strong{color:var(--accent-text);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.roster-generation-log li.log-error,.roster-generation-log li.log-error strong{color:var(--danger-text)}.roster-generation-log li.log-warning,.roster-generation-log li.log-warning strong{color:var(--warning-text)}.roster-generation-log li span{overflow-wrap:anywhere;white-space:pre-line}@media (width<=760px){.roster-generation-log li{grid-template-columns:70px minmax(0,1fr)}.roster-generation-log li strong,.roster-generation-log li span{grid-column:2}}.file-button{cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.file-button input{display:none}.demand-table-wrapper{border:1px solid var(--separator);border-radius:var(--radius-lg);max-width:100%;margin-top:20px;overflow:auto}.demand-table{border-collapse:collapse;width:100%;min-width:980px;color:var(--text-secondary);font-size:.8rem}.demand-table th,.demand-table td{border:1px solid var(--separator);text-align:center;white-space:nowrap;min-width:0;padding:8px}.demand-table thead th{color:var(--text-tertiary);background:var(--surface);text-transform:uppercase;font-size:.72rem}.demand-day-label,.demand-day-hours{display:block}.demand-day-label{color:var(--text)}.demand-day-hours{color:var(--success-text);text-transform:none;margin-top:4px;font-size:.68rem;font-weight:700}.demand-table thead th input{min-width:100px;min-height:32px;color:var(--text);text-align:center;padding:0 6px;font-size:.75rem;font-weight:700}.demand-table tbody th{color:var(--text);background:var(--surface-subtle)}.demand-table th:first-child{z-index:2;box-shadow:5px 0 10px var(--shadow-color);position:sticky;left:0}.demand-table thead th:first-child{z-index:3;background:var(--surface)}.demand-table tbody th:first-child{background:var(--surface-raised)}.demand-table td input{text-align:right;min-width:0;min-height:34px;padding:0 6px;font-size:.8rem}.demand-stepper{grid-template-columns:40px minmax(46px,1fr) 40px;align-items:center;gap:5px;min-width:136px;display:grid}.demand-table td .demand-stepper-input{border-radius:var(--radius-sm);text-align:center;appearance:textfield;min-height:40px;padding:0 4px;font-size:.9rem;font-weight:700}.demand-stepper-input::-webkit-inner-spin-button{appearance:none;margin:0}.demand-stepper-input::-webkit-outer-spin-button{appearance:none;margin:0}.demand-stepper-button{border:1px solid var(--accent-border-strong);border-radius:var(--radius-sm);width:40px;min-height:40px;color:var(--text);background:var(--accent-tint-strong);box-shadow:0 3px 10px var(--shadow-color);justify-content:center;align-items:center;padding:0;font-size:1.45rem;line-height:1;display:inline-flex}.demand-stepper-remove{border-color:var(--danger-border-strong);color:var(--text);background:var(--danger-tint-strong)}.demand-stepper-button:hover:not(:disabled),.demand-stepper-button:focus-visible{border-color:var(--accent-border-strong);color:var(--on-accent);background:var(--accent-solid);box-shadow:0 0 0 3px var(--accent-border);outline:none}.demand-stepper-remove:hover:not(:disabled),.demand-stepper-remove:focus-visible{border-color:var(--danger-border-strong);color:var(--on-danger);background:var(--danger-solid);box-shadow:0 0 0 3px var(--danger-border)}.demand-mobile-controls,.demand-mobile-view{display:none}.section-heading{align-items:flex-end;margin-bottom:18px}.section-heading h2{margin-top:4px}.employee-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-top:22px}.employee-editor-help{max-width:680px;color:var(--text-tertiary);margin:-6px 0 0;font-size:.92rem;line-height:1.55}.employee-save-alert{border:1px solid var(--danger-border-strong);border-radius:var(--radius-md);color:var(--danger-text);background:var(--danger-tint);gap:8px;margin-top:18px;padding:14px 16px;display:grid}.employee-save-alert>strong{color:var(--danger-text)}.employee-save-alert p{white-space:pre-line;margin:0;line-height:1.45}.employee-save-alert-detail{border-top:1px solid var(--danger-border);grid-template-columns:minmax(120px,.35fr) minmax(0,1fr);gap:8px;padding-top:8px;font-size:.86rem;display:grid}.employee-save-alert-detail strong{color:var(--danger-text)}.employee-save-alert-detail span{overflow-wrap:anywhere}.employee-form-field{gap:7px;display:grid}.employee-field-error{color:var(--danger-text);margin:-1px 0 0;font-size:.78rem;line-height:1.35}.employee-form-field label,.employee-form>label:not(.checkbox-label){color:var(--text-secondary);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.employee-form input,.employee-form select{min-height:42px}.employee-form input[aria-invalid=true],.employee-form select[aria-invalid=true]{border-color:var(--danger-border-strong);box-shadow:0 0 0 3px var(--danger-border)}.employee-role-fieldset{border:1px solid var(--accent-border);border-radius:var(--radius-md);background:var(--accent-tint);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:10px 18px;min-width:0;margin:0;padding:14px 16px 16px;display:flex}.employee-role-fieldset[aria-invalid=true]{border-color:var(--danger-border-strong);background:var(--danger-tint)}.employee-role-fieldset .employee-field-error{flex-basis:100%}.employee-role-fieldset legend{color:var(--accent-text);letter-spacing:.08em;text-transform:uppercase;padding:0 7px;font-size:.78rem;font-weight:700}.employee-form .checkbox-label{color:var(--text-secondary);align-items:center;gap:10px;font-size:.9rem;font-weight:700;display:flex}.employee-form .checkbox-label input{width:18px;min-height:18px;accent-color:var(--accent-text)}.employee-form-actions,.employee-form .save-message{grid-column:1/-1}.employee-form-actions{border-top:1px solid var(--separator);flex-wrap:wrap;justify-content:flex-start;padding-top:6px}.employee-groups{gap:20px;margin-top:20px;display:grid}.employee-group{--employee-accent:var(--accent-text);--employee-border:var(--accent-border);--employee-surface:var(--accent-tint);--employee-card-surface:var(--surface);border:1px solid var(--employee-border);border-radius:var(--radius-lg);background:var(--employee-surface);padding:16px}.employee-group-drivers{--employee-accent:var(--success-text);--employee-border:var(--success-border);--employee-surface:var(--success-tint);--employee-card-surface:var(--surface)}.employee-group-instore{--employee-accent:var(--violet-text);--employee-border:var(--violet-border);--employee-surface:var(--violet-tint);--employee-card-surface:var(--surface)}.employee-group-managers{--employee-accent:var(--warning-text);--employee-border:var(--warning-border);--employee-surface:var(--warning-tint);--employee-card-surface:var(--surface)}.employee-group-other{--employee-accent:var(--accent-text)}.employee-group-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.employee-group-label{color:var(--employee-accent);margin:0;font-size:1.02rem;font-weight:850}.employee-group-heading p{color:var(--text-tertiary);margin:4px 0 0;font-size:.82rem;line-height:1.45}.employee-group-count{border:1px solid var(--employee-border);color:var(--employee-accent);background:var(--employee-surface);white-space:nowrap;border-radius:999px;flex:none;padding:5px 9px;font-size:.75rem;font-weight:700}.employee-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.employee-active-count{color:var(--text-tertiary);margin:6px 0 0;font-size:.9rem}.employee-active-count strong{color:var(--success-text);font-size:1.15rem}.employee-card{border:1px solid var(--accent-border);border-radius:var(--radius-lg);min-height:184px;color:var(--text-secondary);background:var(--surface);text-align:left;gap:5px;padding:18px;display:grid}.employee-group .employee-card{border-color:var(--employee-border);background:var(--employee-card-surface)}.employee-card:hover:not(:disabled){border-color:var(--accent-border-strong);background:var(--surface)}.employee-group .employee-card:hover:not(:disabled){border-color:var(--employee-accent);background:var(--employee-card-surface)}.employee-card strong{color:var(--text);font-size:1rem}.employee-card span{color:var(--text-tertiary);font-size:.82rem}.employee-card.inactive{border-color:var(--danger-border)}.employee-editor-card{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:linear-gradient(135deg, var(--accent-tint), var(--surface));margin-top:22px;padding:24px}.week-selector{min-width:238px;color:var(--text-secondary);letter-spacing:.08em;text-transform:uppercase;gap:6px;font-size:.78rem;font-weight:700;display:grid}.week-picker-trigger{border:1px solid var(--separator);border-radius:var(--radius-md);width:100%;min-height:58px;color:var(--text);background:linear-gradient(135deg, var(--surface), var(--surface-raised));text-align:left;box-shadow:inset 0 1px 0 var(--highlight);justify-content:space-between;align-items:center;padding:8px 12px 8px 14px;transition:border-color .15s,box-shadow .15s;display:flex}.week-picker-trigger-copy{gap:2px;display:grid}.week-picker-trigger-copy strong{color:var(--text);letter-spacing:0;text-transform:none;font-size:.9rem}.week-picker-trigger-copy small{color:var(--text-tertiary);letter-spacing:0;text-transform:none;font-size:.76rem;font-weight:600}.week-picker-calendar-icon{border:1px solid var(--accent-border);border-radius:var(--radius-sm);width:34px;min-height:34px;color:var(--accent-text);background:var(--accent-tint);flex:0 0 34px;place-items:center;font-size:1rem;display:grid}@media (hover:hover) and (pointer:fine){.week-picker-trigger:hover:not(:disabled){border-color:var(--accent-border-strong);background:linear-gradient(135deg, var(--surface), var(--accent-tint-strong))}}.selection-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:12px;margin-left:auto;display:flex}.demand-tools>.section-heading,.saved-roster-tools>.section-heading{flex-wrap:wrap}.area-selector{border:0;min-width:360px;margin:0;padding:0}.area-selector legend{color:var(--text-secondary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;padding:0;font-size:.78rem;font-weight:700}.area-selector-options{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface);box-shadow:inset 0 1px 4px var(--shadow-color);grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px;display:grid}.area-selector-options button{border-radius:var(--radius-md);min-height:50px;color:var(--text-tertiary);text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:6px 10px;transition:border-color .15s,background .15s,color .15s,box-shadow .15s;display:grid}.area-selector-options button:hover:not(:disabled){color:var(--text);background:var(--surface)}.area-selector-options button.selected{border-color:var(--accent-border-strong);color:var(--text);background:linear-gradient(135deg, var(--accent-tint-strong), var(--accent-tint-strong));box-shadow:0 5px 18px var(--accent-border), inset 0 1px 0 var(--highlight)}.area-selector-badge{border-radius:var(--radius-sm);width:30px;min-height:30px;color:var(--accent-text);background:var(--accent-tint);letter-spacing:.04em;place-items:center;margin-right:9px;font-size:.62rem;font-weight:700;display:grid}.area-selector-copy{gap:1px;display:grid}.area-selector-copy strong{font-size:.86rem}.area-selector-copy small{color:var(--text-tertiary);white-space:nowrap;font-size:.68rem;font-weight:600}.area-selector-check{color:var(--success-text);opacity:0;margin-left:7px}.area-selector-options button.selected .area-selector-check{opacity:1}.week-picker-backdrop{z-index:30;background:var(--backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.week-picker-dialog{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--surface-raised);width:min(100%,420px);max-height:calc(100dvh - 40px);box-shadow:0 24px 80px var(--shadow-color);outline:none;padding:22px;overflow-y:auto}.week-picker-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.week-picker-dialog-heading h3{color:var(--text);margin:4px 0 0;font-size:1.25rem}.week-picker-close{flex:0 0 38px;width:38px;min-height:38px;padding:0;font-size:1.25rem}.week-picker-month-nav{justify-content:space-between;align-items:center;gap:10px;margin-top:22px;display:flex}.week-picker-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:20px;display:grid}.week-picker-shortcuts button{border:1px solid var(--separator);min-height:38px;color:var(--text-secondary);background:var(--surface);padding:5px 8px;font-size:.72rem}.week-picker-shortcuts button:hover:not(:disabled),.week-picker-shortcuts button.active{border-color:var(--accent-border-strong);color:var(--text);background:var(--accent-tint-strong)}.week-picker-nav-button{width:42px;min-height:42px;padding:0;font-size:1.15rem}.week-picker-current{min-height:42px;padding:0 12px}.week-picker-help{color:var(--text-tertiary);text-align:center;margin:16px 0;font-size:.85rem;line-height:1.45}.week-picker-marker-legend{color:var(--text-tertiary);justify-content:center;align-items:center;gap:7px;margin:-8px 0 14px;font-size:.75rem;display:flex}.week-picker-marker-legend span,.week-picker-day i{background:var(--warning-solid);width:6px;height:6px;box-shadow:0 0 8px var(--warning-border-strong);border-radius:50%}.week-picker-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.week-picker-weekdays{color:var(--text-tertiary);text-align:center;text-transform:uppercase;margin-bottom:6px;font-size:.72rem;font-weight:700}.week-picker-day{border:1px solid var(--separator);min-height:42px;color:var(--text);background:var(--surface);padding:0;font-size:.88rem;display:grid;position:relative}.week-picker-day>span{place-self:center}.week-picker-day i{position:absolute;bottom:5px;right:5px}.week-picker-day:hover:not(:disabled){border-color:var(--accent-border-strong);background:var(--accent-tint-strong)}.week-picker-day:disabled{color:var(--text-tertiary);background:var(--surface-subtle);cursor:not-allowed}.week-picker-day.outside-month{color:var(--text-tertiary);background:var(--surface)}.week-picker-day.selected-week{border-color:var(--success-border-strong);color:var(--on-success);background:var(--success-solid);font-weight:700}.week-picker-day.selected-week i{background:var(--warning-tint-strong);box-shadow:none}.availability-week-range{text-align:left;margin:-4px 0 14px}.availability-missing-summary{border:1px solid var(--warning-border);border-radius:var(--radius-md);color:var(--warning-text);background:var(--warning-tint);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 18px;margin-bottom:14px;padding:12px 14px;display:flex}.availability-missing-summary span{color:var(--warning-text);font-size:.82rem}.availability-table{overflow-x:auto}.availability-row{border-top:1px solid var(--separator);min-width:760px;color:var(--text-secondary);text-align:center;grid-template-columns:minmax(170px,1.7fr) repeat(7,minmax(78px,1fr));gap:10px;padding:10px 12px;font-size:.85rem;display:grid}.availability-row:first-child{border-top:0}.availability-row strong{color:var(--text);text-align:left}.availability-row-missing{box-shadow:inset 4px 0 0 var(--warning-border-strong);background:var(--warning-tint)}.availability-employee-name{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.availability-missing-badge{border:1px solid var(--warning-border-strong);color:var(--warning-text);background:var(--warning-tint-strong);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:.66rem;font-weight:700;line-height:1.2;display:inline-flex}.availability-header{color:var(--text-tertiary);background:var(--surface);text-transform:uppercase;font-size:.75rem;font-weight:700}.approximate-hours-preview{border:1px solid var(--success-border);border-radius:var(--radius-lg);background:linear-gradient(135deg, var(--success-tint), var(--surface));box-shadow:inset 0 1px 0 var(--highlight);justify-content:space-between;align-items:center;gap:20px;margin:18px 0;padding:16px 18px;display:flex}.approximate-hours-preview.pending{border-color:var(--warning-border);background:linear-gradient(135deg, var(--warning-tint), var(--surface))}.approximate-hours-value{flex:none;gap:3px;min-width:190px;display:grid}.approximate-hours-value span{color:var(--success-text);letter-spacing:.07em;text-transform:uppercase;font-size:.73rem;font-weight:700}.approximate-hours-value strong{color:var(--success-text);font-variant-numeric:tabular-nums;font-size:1.7rem;line-height:1.1}.approximate-hours-preview.pending .approximate-hours-value span,.approximate-hours-preview.pending .approximate-hours-value strong{color:var(--warning-text)}.approximate-hours-preview p{max-width:760px;color:var(--text-secondary);margin:0;font-size:.84rem;line-height:1.5}.availability-approximate-badge{border:1px solid var(--success-border);width:fit-content;color:var(--success-text);background:var(--success-tint);letter-spacing:.02em;white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:.66rem;font-weight:700;line-height:1.2;display:inline-flex}.availability-approximate-badge.pending{border-color:var(--warning-border);color:var(--warning-text);background:var(--warning-tint)}.availability-heatmap{border:1px solid var(--separator);border-radius:var(--radius-md);background:var(--surface);min-width:0;max-width:100%;margin:18px 0;padding:16px}.availability-heatmap-message{margin:18px 0}.availability-heatmap-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.availability-heatmap-heading h3{color:var(--text);margin:3px 0 5px}.availability-heatmap-heading p{max-width:720px;color:var(--text-tertiary);margin:0;font-size:.84rem}.availability-heatmap-legend{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.availability-heatmap-legend span{border:1px solid var(--separator);color:var(--text);white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:.68rem;font-weight:750}.availability-heatmap-scroll{overflow-x:auto}.heatmap-mobile-view,.availability-heatmap-heading .heatmap-mobile-intro{display:none}.availability-heatmap table{border-collapse:separate;border-spacing:5px;table-layout:fixed;width:100%;min-width:760px}.availability-heatmap th,.availability-heatmap td{border-radius:var(--radius-sm);text-align:center;padding:7px 5px}.availability-heatmap thead th,.availability-heatmap tbody th{color:var(--text-secondary);font-size:.76rem}.availability-heatmap th span,.availability-heatmap th small,.availability-heatmap td strong,.availability-heatmap td small{display:block}.availability-heatmap th small,.availability-heatmap td small{color:inherit;opacity:.8;margin-top:2px;font-size:.64rem;font-weight:500}.availability-heatmap td{color:var(--text);border:1px solid #0000}.availability-heatmap td strong{font-size:.9rem}.heatmap-shortage,.heatmap-legend-shortage{background:var(--danger-tint-strong);border-color:var(--danger-border-strong)!important}.heatmap-tight,.heatmap-legend-tight{background:var(--warning-tint-strong);border-color:var(--warning-border)!important}.heatmap-limited,.heatmap-legend-limited{background:var(--warning-tint);border-color:var(--warning-border)!important}.heatmap-covered,.heatmap-legend-covered{background:var(--success-tint);border-color:var(--success-border)!important}.availability-heatmap td.heatmap-empty{color:var(--text-tertiary);background:var(--surface-subtle)}@media (width<=760px){.approximate-hours-preview{flex-direction:column;align-items:flex-start;gap:10px}.availability-heatmap-heading{flex-direction:column;gap:12px}.availability-heatmap{border-radius:var(--radius-lg);padding:12px}.availability-heatmap-heading h3{margin:5px 0 7px;font-size:1.1rem;line-height:1.3}.availability-heatmap-heading p{line-height:1.5}.availability-heatmap-scroll,.heatmap-desktop-description{display:none}.heatmap-mobile-view,.availability-heatmap-heading .heatmap-mobile-intro{display:block}.availability-heatmap-legend{justify-content:flex-start;gap:5px}.availability-heatmap-legend span{padding:4px 6px;font-size:.65rem}.heatmap-day-picker{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:18px 0;display:grid}.heatmap-day-picker .heatmap-day-button{border:1px solid var(--separator);border-radius:var(--radius-md);min-width:0;min-height:68px;color:var(--text-secondary);background:var(--surface);box-shadow:none;align-content:center;justify-items:center;gap:4px;padding:7px 0;line-height:1;display:grid;transform:none}.heatmap-day-button span{font-size:.67rem;font-weight:500}.heatmap-day-button strong{font-variant-numeric:tabular-nums;font-size:.95rem}.heatmap-day-picker .heatmap-day-button.is-selected{border-color:var(--accent-border-strong);color:var(--text);background:var(--accent-tint);box-shadow:0 0 0 1px var(--accent-border-strong)}.heatmap-day-picker .heatmap-day-button:not(.is-selected):hover{border-color:var(--separator-strong);background:var(--surface)}.heatmap-day-button:focus-visible{outline:2px solid var(--separator-strong);outline-offset:3px}.heatmap-day-dot{border:1px solid #0000;border-radius:50%;width:6px;height:6px}.heatmap-day-dot.heatmap-empty{background:var(--fill-strong)}.heatmap-day-summary h4{color:var(--text);margin:0 0 4px;font-size:.94rem}.heatmap-day-summary p{color:var(--text-tertiary);margin:0 0 12px;font-size:.78rem}.heatmap-day-summary .has-shortage{color:var(--danger-text)}.heatmap-hour-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.heatmap-hour-card{border-radius:var(--radius-md);min-width:0;color:var(--text);border:1px solid #0000;flex-direction:column;gap:7px;padding:12px 10px;display:flex}.heatmap-card-time{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-bottom:4px;font-size:1rem;display:flex}.heatmap-card-time small{font-size:.64rem}.heatmap-card-status{font-size:.8rem;line-height:1.3}.heatmap-card-count{color:var(--text);font-size:.7rem;line-height:1.5}.heatmap-day-empty{border:1px dashed var(--separator-strong);border-radius:var(--radius-md);color:var(--text-tertiary);margin:0;padding:18px 12px;font-size:.85rem;line-height:1.5}.heatmap-help{color:var(--text-tertiary);margin-top:14px;font-size:.78rem;line-height:1.5}.heatmap-help summary{color:var(--accent-text);cursor:pointer;padding:12px 0}.heatmap-help p{margin:0 0 4px}}.schedule-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.week-range{color:var(--text-secondary);text-align:center;font-size:.95rem}.week-range strong,.week-range span{display:block}.week-range strong{color:var(--text);font-size:.9rem}.week-range span{white-space:nowrap;margin-top:3px}.schedule-table{border:1px solid var(--separator);border-radius:var(--radius-lg);overflow:hidden}.schedule-row{border-top:1px solid var(--separator);grid-template-columns:1.4fr 1fr 1fr auto;align-items:center;gap:16px;padding:12px 16px;display:grid}.schedule-row:first-child{border-top:0}.schedule-header{background:var(--surface)}.day-cell{gap:3px;display:grid}.day-cell strong{color:var(--text)}.day-cell span{color:var(--text-tertiary);font-size:.88rem}.day-cell .shift-duration{color:var(--success-text);font-size:.82rem;font-weight:700}.busy-day-message{color:var(--warning-text);border:1px solid var(--warning-border);background:var(--warning-tint)}.schedule-row.busy-day-row{background:var(--warning-tint);box-shadow:inset 4px 0 var(--warning-border-strong)}.day-cell .busy-day-badge{border:1px solid var(--warning-border);border-radius:var(--radius-sm);width:fit-content;color:var(--warning-text);padding:3px 7px;font-size:.75rem;font-weight:700}.form-footer{justify-content:space-between;align-items:center;gap:20px;margin-top:20px;display:flex}.save-message{color:var(--text-tertiary);font-size:.9rem}.save-message.success{color:var(--success-text)}.save-message.warning{color:var(--warning-text)}.save-message.error{color:var(--danger-text)}.reset-button{border:1px solid var(--danger-border);min-height:40px;color:var(--danger-text);background:var(--danger-tint);padding:0 12px;font-size:.85rem}.reset-button:hover:not(:disabled){border-color:var(--danger-border-strong);background:var(--danger-tint-strong)}.roster-cell-dialog-backdrop{z-index:30;background:var(--backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.roster-cell-dialog{border:1px solid var(--accent-border);border-radius:var(--radius-lg);background:var(--surface-raised);width:min(100%,640px);max-height:calc(100dvh - 40px);box-shadow:0 24px 80px var(--shadow-color);padding:22px;overflow-y:auto}.roster-cell-dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.roster-cell-dialog-heading h3{color:var(--text);margin:4px 0 0;font-size:1.25rem}.roster-cell-dialog-heading p{color:var(--text-tertiary);margin:5px 0 0}.roster-cell-dialog-close{flex:0 0 38px;width:38px;min-height:38px;padding:0;font-size:1.25rem}.roster-cell-dialog-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.roster-cell-dialog-fields label{color:var(--text-secondary);letter-spacing:.04em;text-transform:uppercase;gap:7px;font-size:.78rem;font-weight:700;display:grid}.roster-cell-dialog-duration{border-radius:var(--radius-sm);margin:16px 0 0;padding:10px 12px;font-size:.88rem;font-weight:700}.roster-cell-dialog-duration.valid{color:var(--success-text);background:var(--success-tint)}.roster-cell-dialog-duration.invalid{color:var(--danger-text);background:var(--danger-tint)}.roster-cell-dialog-duration.warning{color:var(--warning-text);background:var(--warning-tint)}.roster-cell-dialog-warnings{border:1px solid var(--warning-border-strong);border-radius:var(--radius-sm);color:var(--warning-text);background:var(--warning-tint);margin-top:12px;padding:12px}.roster-cell-dialog-warnings ul{margin:7px 0;padding-left:20px}.roster-cell-dialog-warnings small{color:var(--warning-text);display:block}.roster-cell-dialog-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}@media (width<=640px){.roster-cell-dialog{padding:18px}.roster-cell-dialog-fields{grid-template-columns:1fr}.schedule-heading,.form-footer{flex-direction:column;align-items:flex-start}.employee-form{grid-template-columns:1fr}.personal-roster{margin-top:24px}.personal-roster-heading{gap:20px}.personal-roster-summary{flex-direction:column;align-items:flex-start;gap:6px}.section-heading{flex-direction:column;align-items:flex-start}.employee-group-heading,.roster-role-group-heading{flex-direction:column;gap:8px}.week-selector{width:100%}.selection-toolbar,.area-selector{width:100%;min-width:0}.area-selector-options button{padding-inline:8px}.area-selector-copy small{white-space:normal}.demand-labour-settings{flex-direction:column;align-items:stretch}.demand-labour-settings label{flex-basis:auto}.roster-week-summary{grid-template-columns:1fr}.employee-form-actions{flex-direction:column;align-items:stretch}.employee-form-actions,.employee-form .save-message{grid-column:auto}.holiday-form-row,.holiday-summary{grid-template-columns:1fr}.sick-leave-form{padding:14px}.sick-leave-fields{grid-template-columns:1fr}.sick-leave-form-footer{flex-direction:column;align-items:stretch}.holiday-admin-actions{justify-content:stretch;width:100%}.holiday-admin-actions>*{text-align:center;flex:100%;justify-content:center}.schedule-row{grid-template-columns:1fr 1fr;gap:10px}.schedule-header span:first-child,.schedule-header span:last-child,.schedule-row:not(.schedule-header) .day-cell{grid-column:1/-1}.schedule-row:not(.schedule-header) .reset-button{width:100%}}@media (width<=768px){.demand-overview-groups{grid-template-columns:1fr}.demand-hourly-heading{flex-direction:column;align-items:stretch}.demand-hourly-heading label{flex-basis:auto}.demand-hourly-summary,.demand-productivity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demand-mobile-controls{color:var(--text-secondary);gap:7px;margin-top:20px;font-size:.88rem;font-weight:700;display:grid}.demand-mobile-controls select{width:100%}.demand-desktop-view{display:none}.demand-mobile-view{display:block}.demand-mobile-view .demand-table-wrapper{overflow-x:auto}.demand-mobile-table{table-layout:fixed;min-width:0}.demand-mobile-table th,.demand-mobile-table td{width:33.333%}.demand-mobile-table .demand-stepper{grid-template-columns:repeat(2,minmax(36px,1fr));gap:4px;min-width:0}.demand-mobile-table .demand-stepper-input{grid-area:1/1/auto/-1}.demand-mobile-table .demand-stepper-remove{grid-area:2/1}.demand-mobile-table .demand-stepper-add{grid-area:2/2}.demand-mobile-table .demand-stepper-button{width:100%;min-height:40px}}.skip-link{z-index:80;border-radius:var(--radius-md);color:var(--on-accent);background:var(--accent-solid);padding:10px 14px;font-weight:600;text-decoration:none;position:fixed;top:8px;left:8px;transform:translateY(-200%)}.skip-link:focus{transform:none}.shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100dvh;display:grid}.shell-sidebar{border-right:1px solid var(--separator);background:var(--sidebar);-webkit-backdrop-filter:saturate(180%)blur(20px);flex-direction:column;height:100dvh;padding:18px 12px 12px;display:flex;position:sticky;top:0}.shell-brand{align-items:center;gap:10px;padding:2px 8px 18px;display:flex}.shell-brand-mark{color:#fff;letter-spacing:-.02em;background:linear-gradient(145deg,#3a8dff,#0058d6);border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:.8125rem;font-weight:700;display:grid;box-shadow:inset 0 1px #ffffff47,0 2px 6px #0058d64d}.shell-brand-copy{min-width:0;line-height:1.2;display:grid}.shell-brand-copy strong{letter-spacing:-.01em;font-size:.9375rem;font-weight:600}.shell-brand-copy span{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.shell-nav{flex:1;min-height:0;margin:0 -4px;padding:0 4px;overflow-y:auto}.shell-nav-group+.shell-nav-group{margin-top:18px}.shell-nav-label{color:var(--text-tertiary);padding:0 10px 6px;font-size:.75rem;font-weight:600;display:block}.shell-nav ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.shell-nav-item{border-radius:var(--radius-sm);width:100%;min-height:36px;color:var(--text);text-align:left;background:0 0;justify-content:flex-start;gap:10px;padding:0 10px;font-size:.9375rem;font-weight:500}.shell-nav-item .icon{color:var(--accent-text);flex:none}.shell-nav-item:hover:not(:disabled){background:var(--fill)}.shell-nav-item:active:not(:disabled){transform:none}.shell-nav-item.active,.shell-nav-item.active:hover:not(:disabled){color:var(--on-accent);background:var(--accent-solid)}.shell-nav-item.active .icon{color:inherit}.shell-account{border-top:1px solid var(--separator);justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding:12px 6px 0;display:flex}.shell-account-person{align-items:center;gap:10px;min-width:0;display:flex}.shell-avatar{width:32px;height:32px;color:var(--text-secondary);background:var(--fill-strong);border-radius:50%;flex:none;place-items:center;font-size:.75rem;font-weight:600;display:grid}.shell-account-copy{min-width:0;line-height:1.25;display:grid}.shell-account-copy strong,.shell-account-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shell-account-copy strong{font-size:.875rem;font-weight:600}.shell-account-copy span{color:var(--text-tertiary);font-size:.75rem}.shell-account-actions{gap:2px;display:flex}.shell-icon-button{width:36px;min-height:36px;color:var(--text-secondary);background:0 0;border-radius:50%;flex:none;padding:0}.shell-icon-button:hover:not(:disabled){color:var(--text);background:var(--fill)}.shell-main{flex-direction:column;min-width:0;display:flex}.shell-topbar{z-index:20;min-height:var(--topbar-height);border-bottom:1px solid var(--separator);background:var(--surface);align-items:center;gap:12px;padding:8px clamp(16px,3vw,36px);display:flex;position:sticky;top:0}.shell-menu-button{display:none}.shell-topbar-title{min-width:0;line-height:1.2;display:grid}.shell-topbar-context{color:var(--text-tertiary);font-size:.75rem;font-weight:500}.shell-topbar-title strong{letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-size:1.0625rem;font-weight:600;overflow:hidden}.shell-topbar-tools{align-items:center;gap:10px;margin-left:auto;display:flex}.shell-content{width:100%;max-width:var(--content-max);animation:content-in .28s var(--ease-out);outline:none;margin:0 auto;padding:clamp(20px,3vw,36px) clamp(16px,3vw,36px) 64px}.shell-content>:first-child,.shell-content>[hidden]:first-child+*{border-top:0;margin-top:0}.shell-topbar-tools .week-selector{margin:0;display:block}.shell-topbar-tools .week-selector>span:first-child{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.shell-topbar-tools .week-picker-trigger{border-radius:var(--radius-md);min-height:44px;padding:4px 6px 4px 14px}.shell-content>section,.shell-content>form{border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-card);padding:clamp(18px,2.4vw,28px)}.shell-content>section+section,.shell-content>section+form,.shell-content>form+section{margin-top:20px}@keyframes content-in{0%{opacity:0;transform:translateY(4px)}}.shell-drawer-backdrop{z-index:50;background:var(--backdrop);animation:.2s fade-in;position:fixed;inset:0}.shell-drawer{width:min(86vw,320px);padding:18px 12px calc(12px + env(safe-area-inset-bottom));background:var(--surface-raised);box-shadow:var(--shadow-pop);animation:drawer-in .32s var(--ease-out);flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0}.shell-drawer-close{position:absolute;top:16px;right:10px}@keyframes fade-in{0%{opacity:0}}@keyframes drawer-in{0%{transform:translate(-100%)}}.shell-tabbar{display:none}@media (width<=960px){.shell{grid-template-columns:minmax(0,1fr)}.shell-sidebar{display:none}.shell-menu-button{margin-left:-8px;display:inline-flex}.shell-topbar{padding-top:calc(8px + env(safe-area-inset-top));flex-wrap:wrap}.shell-topbar-tools{flex:auto;justify-content:flex-end}.shell-has-tabbar .shell-content{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.shell-tabbar{z-index:30;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--separator);background:var(--surface);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.shell-tab{min-height:50px;color:var(--text-tertiary);background:0 0;flex-direction:column;gap:2px;padding:4px 2px;font-size:.6875rem;font-weight:500}.shell-tab:hover:not(:disabled){color:var(--text-secondary);background:0 0}.shell-tab.active,.shell-tab.active:hover:not(:disabled){color:var(--accent-text)}}@media (width<=640px){.shell-topbar-tools{flex-basis:100%;justify-content:stretch}.shell-topbar-tools>*{flex:1}.shell-content>section,.shell-content>form{border-radius:var(--radius-lg);margin-left:-4px;margin-right:-4px;padding:18px 14px}}.page-shell{min-height:100dvh;padding:32px 16px}.centered-page{place-items:center;display:grid}.splash{color:var(--text-tertiary);align-content:center;gap:14px}.splash .shell-brand-mark{border-radius:14px;width:52px;height:52px;font-size:1.125rem;animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.55}}.login-page{background:radial-gradient(1200px 600px at 50% -10%, var(--accent-tint-strong), transparent 60%), var(--page)}.login-card{background:var(--surface);width:min(100%,400px);box-shadow:var(--shadow-pop);text-align:center;border-radius:24px;padding:32px 28px 24px}.login-mark{border-radius:15px;width:56px;height:56px;margin:0 auto 18px;font-size:1.125rem}.login-header h1{font-size:1.625rem}.login-header .lead{margin:0 auto 24px;font-size:.9375rem}.login-form{text-align:left;gap:14px;display:grid}.login-fieldset{border:0;gap:14px;margin:0;padding:0;display:grid}.login-form .message{margin:0}.password-field{position:relative}.password-field input{padding-right:64px}.password-toggle{border-radius:var(--radius-sm);min-height:32px;color:var(--accent-text);background:0 0;padding:0 10px;font-size:.8125rem;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.password-toggle:hover:not(:disabled){background:var(--fill)}.password-toggle:active:not(:disabled){transform:translateY(-50%)}.login-submit{width:100%;min-height:48px;margin-top:4px;font-size:1rem}.login-secondary{width:100%}.login-footnote{color:var(--text-tertiary);margin:20px 0 0;font-size:.8125rem}.shell-content>section>*,.shell-content>section>section>*,.shell-content>form>*{min-width:0}.info-message{color:var(--text-secondary);background:var(--fill)}.info-message strong{color:var(--text)}.empty-state{border:1px dashed var(--separator-strong);border-radius:var(--radius-lg);color:var(--text-tertiary);text-align:center;justify-items:center;gap:6px;margin:16px 0;padding:32px 16px;display:grid}.empty-state strong{color:var(--text);font-size:1rem}.empty-state button{margin-top:8px}.directory-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 4px;display:flex}.search-field{flex:280px;max-width:420px;position:relative}.search-field:before{background:var(--text-tertiary);content:"";width:15px;height:15px;position:absolute;top:50%;left:12px;transform:translateY(-50%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20'/%3E%3C/svg%3E") 50%/contain no-repeat}.search-field input{background:var(--fill);border-color:#0000;min-height:40px;padding-left:36px}.search-field input:focus{background:var(--surface)}.segmented-control{background:var(--fill);border-radius:9px;gap:2px;padding:2px;display:inline-flex}.segmented-control button{min-height:32px;color:var(--text-secondary);white-space:nowrap;background:0 0;border-radius:7px;padding:0 12px;font-size:.8125rem;font-weight:500}.segmented-control button:hover:not(:disabled){background:var(--fill)}.segmented-control button.active,.segmented-control button.active:hover:not(:disabled){color:var(--text);background:var(--surface-raised);box-shadow:0 1px 3px var(--shadow-color), 0 0 0 .5px var(--separator);font-weight:600}.absent-shift-mode{background:var(--fill);border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;max-width:420px;padding:2px;display:grid}.absent-shift-mode button{min-height:36px;color:var(--text-secondary);background:0 0;border:0;border-radius:7px;font-size:.875rem;font-weight:500}.absent-shift-mode button:hover:not(:disabled){background:var(--fill)}.absent-shift-mode button.active,.absent-shift-mode button.active:hover:not(:disabled){color:var(--text);background:var(--surface-raised);box-shadow:0 1px 3px var(--shadow-color), 0 0 0 .5px var(--separator);border:0;font-weight:600}.employee-card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.employee-group .employee-card,.employee-card{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface);min-height:0;color:var(--text-secondary);text-align:left;align-content:start;gap:12px;padding:14px;font-weight:400;display:grid}.employee-group .employee-card:hover:not(:disabled),.employee-card:hover:not(:disabled){border-color:var(--accent-border-strong);background:var(--surface);box-shadow:0 2px 10px var(--shadow-color)}.employee-card.inactive{opacity:.72}.employee-card-top{align-items:center;gap:10px;min-width:0;display:flex}.employee-avatar{width:40px;height:40px;color:var(--employee-accent,var(--accent-text));background:var(--employee-surface,var(--accent-tint));border-radius:50%;flex:0 0 40px;place-items:center;font-size:.875rem;font-weight:600;display:grid}.employee-card-name{flex:1;min-width:0;display:grid}.employee-card .employee-card-name strong{color:var(--text);text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-size:.9375rem;font-weight:600;overflow:hidden}.employee-card .employee-card-name span{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;overflow:hidden}.status-pill{border-radius:999px;flex:none;padding:3px 8px;font-size:.6875rem;font-weight:600}.employee-card .status-pill.is-active{color:var(--success-text);background:var(--success-tint-strong)}.employee-card .status-pill.is-inactive{color:var(--text-tertiary);background:var(--fill-strong)}.employee-card-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;display:grid}.employee-card .employee-card-facts span{color:var(--text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;display:grid;overflow:hidden}.employee-card-facts small{color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.04em;font-size:.6875rem;font-weight:500}.employee-card-meta{border-top:1px solid var(--separator);justify-content:space-between;gap:8px;padding-top:10px;display:flex}.employee-card .employee-card-meta span{color:var(--text-tertiary);font-size:.75rem}.employee-card .employee-card-meta .needs-attention{color:var(--warning-text)}.sheet-backdrop{z-index:40;background:var(--backdrop);justify-content:flex-end;animation:.2s fade-in;display:flex;position:fixed;inset:0}.employee-editor-card.sheet,.sheet{background:var(--surface-raised);width:min(560px,100vw);height:100%;box-shadow:var(--shadow-pop);overscroll-behavior:contain;animation:sheet-in-side .34s var(--ease-out);border:0;border-radius:0;outline:none;margin:0;padding:24px;overflow-y:auto}.sheet .section-heading{z-index:2;border-bottom:1px solid var(--separator);background:var(--surface-raised);margin:-24px -24px 12px;padding:18px 24px 14px;position:sticky;top:-24px}.sheet .employee-form{grid-template-columns:1fr 1fr;align-items:start}.employee-editor-card.sheet .employee-form-field label,.employee-editor-card.sheet .employee-form>label:not(.checkbox-label){letter-spacing:0;text-transform:none;font-size:.8125rem;font-weight:500}.employee-editor-card.sheet small{color:var(--text-tertiary);font-size:.75rem;line-height:1.4}.sheet .employee-form-actions{padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--separator);background:var(--surface-raised);flex-wrap:wrap;margin:8px -24px -24px;position:sticky;bottom:-24px}@keyframes sheet-in-side{0%{opacity:0;transform:translate(40px)}}@keyframes sheet-in-bottom{0%{opacity:0;transform:translateY(40px)}}.cell-actions .danger-button,.absent-record-actions .danger-button{color:var(--danger-text);background:var(--danger-tint-strong)}.cell-actions .danger-button:hover:not(:disabled),.absent-record-actions .danger-button:hover:not(:disabled){color:var(--on-danger);background:var(--danger-solid);filter:none}.roster-diagnostics li{color:var(--text-secondary)}.roster-diagnostics li::marker{color:var(--warning-text)}.saved-roster-table td.demand-mismatch{border-color:var(--separator);color:inherit;background:0 0}.saved-roster-table thead th.demand-mismatch{background:var(--danger-tint)}.saved-roster-table td.demand-mismatch .roster-shift,.saved-roster-table .roster-shift{color:var(--accent-text);background:var(--accent-tint-strong);white-space:nowrap;border-radius:8px;padding:4px 8px;font-weight:600;display:inline-block}.saved-roster-table td.demand-mismatch .roster-day-off,.saved-roster-table .roster-day-off{color:var(--text-tertiary)}.saved-roster-table tbody th{text-transform:none}.saved-roster-table tbody td{background:var(--surface)}.roster-day-view{display:none}.roster-day-tabs{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:12px;display:grid}.roster-day-tabs button{min-height:52px;color:var(--text-secondary);background:var(--surface);border-radius:12px;gap:0;padding:4px 0;font-weight:500;display:grid;position:relative}.roster-day-tabs button small{text-transform:uppercase;font-size:.6875rem}.roster-day-tabs button strong{font-size:1.0625rem}.roster-day-tabs button.has-mismatch:after{background:var(--danger-solid);content:"";border-radius:50%;width:6px;height:6px;position:absolute;top:6px;right:6px}.roster-day-tabs button.active,.roster-day-tabs button.active:hover:not(:disabled){color:var(--on-accent);background:var(--accent-solid)}.roster-day-mismatch{color:var(--danger-text);margin:0 0 10px;font-size:.8125rem}.roster-day-list{border-radius:var(--radius-lg);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.roster-day-list li{border-top:1px solid var(--separator);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.roster-day-list li:first-child{border-top:0}.roster-day-name{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.roster-day-time{color:var(--accent-text);font-variant-numeric:tabular-nums;flex:none;justify-items:end;font-weight:600;display:grid}.roster-day-time small{color:var(--text-tertiary);font-size:.75rem;font-weight:500}.roster-day-off-count{color:var(--text-tertiary);margin:10px 2px 0;font-size:.8125rem}@media (width<=640px){.roster-day-view{display:block}.saved-roster-grid:not(.is-editing){display:none}}.personal-roster-summary small{display:block}.my-week{gap:6px;margin:16px 0 0;padding:0;list-style:none;display:grid}.my-week-day{border-radius:var(--radius-lg);background:var(--surface-subtle);align-items:center;gap:14px;padding:10px 14px;display:flex}.my-week-day.is-working{border:1px solid var(--accent-border);background:var(--accent-tint)}.my-week-date{flex:0 0 40px;justify-items:center;line-height:1.1;display:grid}.my-week-date small{color:var(--text-tertiary);text-transform:uppercase;font-size:.6875rem;font-weight:600}.my-week-date strong{color:var(--text);font-size:1.25rem;font-weight:600}.my-week-detail{flex:1;gap:4px;display:grid}.my-week-shift{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.my-week-shift strong{color:var(--accent-text);font-variant-numeric:tabular-nums;font-size:1.0625rem}.my-week-shift small,.my-week-off{color:var(--text-tertiary)}.my-week-note{color:var(--text-tertiary);margin:10px 2px 0;font-size:.8125rem}.demand-jump-links{top:calc(var(--topbar-height) + 4px);z-index:6;border:1px solid var(--separator);background:var(--surface);scrollbar-width:none;border-radius:12px;gap:6px;margin:4px 0 16px;padding:6px;display:flex;position:sticky;overflow-x:auto}.demand-jump-links a{color:var(--text-secondary);border-radius:8px;flex:none;padding:6px 12px;font-size:.8125rem;font-weight:500;text-decoration:none}.demand-jump-links a:hover{color:var(--text);background:var(--fill)}.demand-jump-links a[href=\#demand-edit]{color:var(--accent-text);background:var(--accent-tint)}#demand-summary,#demand-daily,#demand-hourly-heading,#demand-edit{scroll-margin-top:calc(var(--topbar-height) + 70px)}.demand-import{border:1px solid var(--separator);border-radius:var(--radius-lg);margin:0 0 18px;padding:12px 14px}.demand-import>summary{color:var(--accent-text);cursor:pointer;font-weight:600}.demand-import[open]>summary{margin-bottom:10px}.demand-edit-heading{border-top:1px solid var(--separator);margin:32px 0 12px;padding-top:24px}.demand-edit-heading h3{margin:4px 0}.demand-edit-heading p{color:var(--text-tertiary);margin:0;font-size:.875rem}.demand-stepper-button,.demand-stepper-button.demand-stepper-add,.demand-stepper-button.demand-stepper-remove{color:var(--accent-text);background:var(--fill);border:0;font-weight:500}.demand-stepper-button:disabled{color:var(--text-tertiary);background:0 0}.demand-stepper-button.demand-stepper-add:hover:not(:disabled),.demand-stepper-button.demand-stepper-add:focus-visible{color:var(--on-accent);background:var(--accent-solid);box-shadow:none;border:0}.demand-stepper-button.demand-stepper-remove:hover:not(:disabled),.demand-stepper-button.demand-stepper-remove:focus-visible{color:var(--on-danger);background:var(--danger-solid);box-shadow:none;border:0}.demand-save-bar{z-index:6;border-top:1px solid var(--separator);border-radius:0 0 var(--radius-xl) var(--radius-xl);background:var(--surface);margin:16px calc(-1*clamp(18px,2.4vw,28px)) calc(-1*clamp(18px,2.4vw,28px));padding:12px clamp(18px,2.4vw,28px);position:sticky;bottom:0}.demand-table input[readonly]{color:var(--text-tertiary);background:var(--fill);border-color:#0000}.demand-save-bar>.secondary-button:last-child{color:var(--danger-text);margin-left:auto}.absent-record .section-heading h4{margin:0;font-size:.9375rem;font-weight:600}.absent-record .section-heading,.absent-record .absent-record-actions{flex-flow:wrap;align-items:center}.absent-record .role-badge{width:fit-content;color:var(--success-text);background:var(--success-tint-strong);border-radius:999px;padding:3px 8px;font-size:.6875rem;font-weight:600}.absent-record-details{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px 16px;margin:12px 0 0;display:grid}.absent-record-details dt{color:var(--text-tertiary);letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:.6875rem;font-weight:600}.absent-record-details dd{color:var(--text);margin:0;font-size:.875rem}.absent-record-details .absent-wide{grid-column:1/-1}.inline-help{color:var(--text-tertiary);margin:-4px 0 16px;font-size:.875rem}.inline-help summary{width:fit-content;color:var(--accent-text);cursor:pointer;font-weight:500}.inline-help p{max-width:75ch;margin:8px 0 0;line-height:1.5}.roster-settings>summary{align-items:center;gap:10px;display:flex}.roster-settings-fields{position:relative}.roster-help-toggle{float:right;margin:0 0 8px 12px}.roster-settings-fields:not(.show-help) .roster-settings-grid small{display:none}.roster-settings-fields h3{margin:20px 0 8px}.unsaved-badge{color:var(--warning-text);background:var(--warning-tint-strong);border-radius:999px;padding:2px 8px;font-size:.6875rem;font-weight:600}.demand-help{max-width:75ch;color:var(--text-tertiary);line-height:1.5}.schedule-form{margin-top:0}.schedule-heading,.schedule-heading>div{text-align:left;flex-direction:row;align-items:center}.schedule-heading h2{overflow-wrap:anywhere}.schedule-progress{color:var(--text-secondary);background:var(--fill);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;padding:6px 12px;font-size:.8125rem}.schedule-progress strong{color:var(--accent-text)}.schedule-progress.is-full strong{color:var(--warning-text)}.schedule-rules{color:var(--text-tertiary);margin:0 0 16px;font-size:.8125rem}.schedule-rules ul{flex-wrap:wrap;gap:6px;margin:0 0 6px;padding:0;list-style:none;display:flex}.schedule-rules li{color:var(--text-secondary);background:var(--fill);border-radius:999px;padding:4px 10px;font-weight:500}.schedule-rules p{margin:0}.schedule-table{background:var(--surface)}.schedule-row{grid-template-columns:minmax(150px,1.4fr) minmax(120px,1fr) minmax(120px,1fr) 72px}.schedule-row.has-hours .day-cell-title strong{color:var(--text)}.day-cell{gap:6px}.day-cell-title{align-items:baseline;gap:8px;display:flex}.day-cell-title span{color:var(--text-tertiary);font-size:.8125rem}.day-cell-badges{flex-wrap:wrap;gap:6px;display:flex}.day-cell-badges:empty{display:none}.day-cell .shift-duration,.day-cell .busy-day-badge{border:0;border-radius:999px;width:fit-content;padding:2px 8px;font-size:.6875rem;font-weight:600}.day-cell .shift-duration{color:var(--success-text);background:var(--success-tint-strong)}.day-cell .busy-day-badge{color:var(--warning-text);background:var(--warning-tint-strong)}.time-cell-label{display:none}.reset-cell{justify-content:flex-end;display:flex}.reset-button,.schedule-row:not(.schedule-header) .reset-button{width:auto;min-height:34px;color:var(--accent-text);background:0 0;border:0;padding:0 10px;font-size:.8125rem;font-weight:500}.reset-button:hover:not(:disabled){background:var(--fill);border:0}.reset-button:disabled{opacity:0;pointer-events:none}.schedule-footer{padding:14px 0 0}.schedule-insights{margin-top:28px}@media (width<=760px){.schedule-header{display:none}.schedule-row,.schedule-row:not(.schedule-header){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px;padding:14px}.schedule-row .day-cell,.schedule-row:not(.schedule-header) .day-cell{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.reset-cell{position:absolute;right:8px}.schedule-row{position:relative}.schedule-row .day-cell{padding-right:64px}.schedule-row .reset-cell{top:8px}.time-cell{gap:4px;display:grid}.time-cell-label{color:var(--text-tertiary);font-size:.75rem;font-weight:500;display:block}.schedule-footer{z-index:5;border-top:1px solid var(--separator);background:var(--surface);flex-direction:row;align-items:center;margin:16px -14px 0;padding:12px 14px;position:sticky;bottom:0}.shell-has-tabbar .schedule-footer{bottom:calc(63px + env(safe-area-inset-bottom))}.schedule-footer .save-message{flex:1;min-width:0;font-size:.8125rem}.schedule-footer button{flex:none}.sheet-backdrop{align-items:flex-end}.employee-editor-card.sheet,.sheet{width:100%;height:auto;max-height:calc(100% - 24px - env(safe-area-inset-top));border-radius:16px 16px 0 0;padding:20px 16px;animation-name:sheet-in-bottom}.sheet .section-heading{border-radius:16px 16px 0 0;margin:-20px -16px 12px;padding:16px;top:-20px}.sheet .employee-form{grid-template-columns:1fr}.sheet .employee-form-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px -16px -20px;display:grid;bottom:-20px}.sheet .employee-form-actions>button{width:100%;min-height:44px}.sheet .employee-form-actions>button[type=submit]{order:-1;grid-column:1/-1}.sheet .section-heading{flex-direction:row;align-items:center}}@media (width<=640px){.shell-content{padding-left:12px;padding-right:12px}.shell-content>section,.shell-content>form{border-radius:var(--radius-lg);box-shadow:var(--shadow-card);margin-left:0;margin-right:0;padding:18px 16px}.shell-content>section+section{border-top:0;margin-top:12px}.schedule-footer{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.directory-toolbar{flex-direction:column;align-items:stretch}.search-field{flex-basis:auto;max-width:none}.segmented-control{display:flex}.segmented-control button{flex:1}.employee-group{padding:12px}.employee-card-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.holiday-summary{grid-template-columns:1fr 1fr;gap:8px}.holiday-admin-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.holiday-admin-actions>*{justify-content:center;align-items:center;width:100%;min-height:42px;display:inline-flex}.absent-filter-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.absent-filter-fields .absent-filter-name{grid-column:1/-1}.absent-filter-fields .date-picker-trigger{padding:0 10px;font-size:.875rem}.absent-record .absent-record-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid}.absent-record .absent-record-actions .role-badge{grid-column:1/-1}.absent-record-actions>a,.absent-record-actions>button{text-align:center;white-space:nowrap;justify-content:center;align-items:center;width:100%;min-height:38px;padding:0 6px;font-size:.8125rem;display:inline-flex}.demand-save-bar{padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-radius:0 0 var(--radius-lg) var(--radius-lg);grid-template-columns:1fr auto;gap:8px;margin:16px -16px -18px;display:grid}.demand-save-bar>button[type=submit]{grid-column:1/-1}.demand-save-bar>button{width:100%;min-height:42px}.demand-mobile-table .demand-stepper{grid-template-columns:32px minmax(30px,1fr) 32px;align-items:center;gap:3px;display:grid}.demand-mobile-table .demand-stepper>*{grid-row:1}.demand-mobile-table .demand-stepper .demand-stepper-remove{grid-column:1}.demand-mobile-table .demand-stepper .demand-stepper-input{grid-column:2}.demand-mobile-table .demand-stepper .demand-stepper-add{grid-column:3}.demand-mobile-table .demand-stepper-button{width:32px;min-height:36px;padding:0}.demand-mobile-table th:first-child{width:56px;padding-left:4px;padding-right:4px}.demand-mobile-table td{padding-left:6px;padding-right:6px}.demand-mobile-table .demand-stepper-input{text-align:center;order:0;width:100%;min-height:36px;padding:0 4px}.holiday-table-wrapper{border:0;overflow:visible}.holiday-table,.holiday-table tbody,.holiday-table tr,.holiday-table td{width:100%;min-width:0;display:block}.holiday-table thead{display:none}.holiday-table tr{border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:1fr 1fr;gap:10px 12px;margin-bottom:10px;padding:14px;display:grid}.holiday-table td,.holiday-table th{text-align:left;border:0;padding:0}.holiday-table td[data-label]:before{color:var(--text-tertiary);content:attr(data-label);letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:.6875rem;font-weight:600;display:block}.holiday-table td:empty{display:none}.holiday-table td.cell-primary,.holiday-table td.cell-actions{grid-column:1/-1}.holiday-table td.cell-primary:before{display:none}.holiday-table td.cell-primary strong{font-size:1rem}.holiday-table td.cell-actions{border-top:1px solid var(--separator);gap:8px;padding-top:10px;display:flex}.holiday-table td.cell-actions:empty{display:none}.holiday-table td.cell-actions button{flex:1}.availability-row>:first-child{z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--separator);margin:-10px 0 -10px -12px;padding:10px 8px 10px 12px;position:sticky;left:0}.availability-row-missing>:first-child{background:linear-gradient(var(--warning-tint), var(--warning-tint)), var(--surface)}}@media (width<=760px){input,select,textarea{font-size:16px!important}}.date-picker{width:100%;position:relative}.date-picker-trigger,.date-picker-trigger:hover:not(:disabled){width:100%;min-height:var(--control-height);border:1px solid var(--separator-strong);border-radius:var(--radius-md);color:var(--text);background:var(--surface);text-align:left;justify-content:space-between;padding:0 12px;font-size:.9375rem;font-weight:400}.date-picker-trigger .icon{color:var(--accent-text)}.date-picker-trigger.is-empty span{color:var(--text-tertiary)}.date-picker-trigger:active:not(:disabled){transform:none}.date-picker.is-open .date-picker-trigger{border-color:var(--accent-solid);box-shadow:var(--focus-ring)}.date-picker .date-picker-proxy{opacity:0;pointer-events:none;position:absolute;bottom:0;left:12px;border:0!important;width:1px!important;min-width:0!important;height:1px!important;min-height:0!important;padding:0!important}.shell-content select:not([multiple]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:12px;padding-right:36px}.date-picker-popover{z-index:45;border:1px solid var(--separator);border-radius:var(--radius-lg);background:var(--surface-raised);width:304px;box-shadow:var(--shadow-pop);animation:popover-in .18s var(--ease-out);padding:12px;position:absolute;top:calc(100% + 6px);left:0}@keyframes popover-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.date-picker-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.date-picker-header strong{font-size:.9375rem;font-weight:600}.date-picker-nav{width:34px;min-height:34px;color:var(--accent-text);background:0 0;border-radius:50%;padding:0;font-size:1.375rem;line-height:1}.date-picker-nav:hover:not(:disabled){background:var(--fill)}.date-picker-weekdays,.date-picker-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.date-picker-weekdays span{color:var(--text-tertiary);text-align:center;text-transform:uppercase;padding:4px 0;font-size:.6875rem;font-weight:600}.date-picker-day{aspect-ratio:1;width:100%;min-height:36px;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border-radius:50%;padding:0;font-size:.9375rem;font-weight:400}.date-picker-day:hover:not(:disabled){background:var(--fill)}.date-picker-day.outside-month{color:var(--text-tertiary)}.date-picker-day.is-today{color:var(--accent-text);font-weight:600}.date-picker-day.is-selected,.date-picker-day.is-selected:hover:not(:disabled){color:var(--on-accent);background:var(--accent-solid);font-weight:600}.date-picker-day:disabled{opacity:.3}.date-picker-footer{border-top:1px solid var(--separator);gap:8px;margin-top:10px;padding-top:10px;display:flex}.date-picker-footer .secondary-button{min-height:34px}.date-picker-done{margin-left:auto}.confirm-backdrop{z-index:70;background:var(--backdrop);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.confirm-dialog{background:var(--surface-raised);width:min(100%,400px);box-shadow:var(--shadow-pop);border-radius:18px;padding:22px 20px 18px}.confirm-dialog h2{margin:0 0 6px;font-size:1.125rem}.confirm-dialog p{color:var(--text-secondary);margin:0;font-size:.9375rem;line-height:1.45}.confirm-input{gap:6px;margin-top:14px;display:grid}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;display:grid}.confirm-actions button{width:100%;min-height:44px}.number-stepper{border:1px solid var(--separator-strong);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:44px minmax(56px,88px) auto 44px;align-items:center;display:inline-grid;overflow:hidden}.number-stepper:focus-within{border-color:var(--accent-solid);box-shadow:var(--focus-ring)}.number-stepper button{width:44px;min-height:44px;color:var(--accent-text);background:0 0;border-radius:0;padding:0;font-size:1.25rem;font-weight:500}.number-stepper button:hover:not(:disabled){background:var(--fill)}.number-stepper input,.number-stepper input:focus{min-height:44px;box-shadow:none;font-variant-numeric:tabular-nums;text-align:right;-moz-appearance:textfield;background:0 0;border:0;padding:0 2px;font-size:1.0625rem;font-weight:600}.number-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-stepper-unit{color:var(--text-tertiary);padding:0 6px 0 2px;font-weight:500}.holiday-form-row{align-items:center}@media (width<=640px){.date-picker.is-open:before{z-index:44;background:var(--backdrop);content:"";animation:.2s fade-in;position:fixed;inset:0}.date-picker-popover{width:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom));animation:sheet-in-bottom .3s var(--ease-out);border:0;border-radius:16px 16px 0 0;position:fixed;inset:auto 0 0}.date-picker-day{min-height:42px}.date-picker-footer .secondary-button{min-height:44px}.holiday-form-row{flex-wrap:wrap}.holiday-form-row .number-stepper{grid-template-columns:52px 1fr 1fr 52px;width:100%}}.shell-drawer{animation:drawer-in .28s var(--ease-drawer)}.shell-drawer-backdrop.is-closing{animation:fade-out .2s var(--ease-out) forwards}.shell-drawer-backdrop.is-closing .shell-drawer{animation:drawer-out .2s var(--ease-out) forwards}@keyframes drawer-out{to{transform:translate(-100%)}}.employee-editor-card.sheet,.sheet{animation:sheet-in-side .3s var(--ease-drawer)}.sheet-backdrop.is-closing{animation:fade-out .2s var(--ease-out) forwards}.sheet-backdrop.is-closing .sheet{animation:sheet-out-side .2s var(--ease-out) forwards}@keyframes sheet-out-side{to{opacity:0;transform:translate(40px)}}@keyframes sheet-out-bottom{to{opacity:0;transform:translateY(40px)}}.error-popup.is-closing{animation:toast-out .16s var(--ease-out) forwards}@keyframes toast-out{to{opacity:0;transform:translateY(-8px)scale(.98)}}.date-picker-popover{transform-origin:0 0}.date-picker.is-closing .date-picker-popover{animation:popover-out .15s var(--ease-out) forwards}@keyframes popover-out{to{opacity:0;transform:translateY(-4px)scale(.98)}}.week-picker-backdrop,.roster-cell-dialog-backdrop,.confirm-backdrop{animation:fade-in .2s var(--ease-out)}.confirm-backdrop.is-closing{animation:fade-out .16s var(--ease-out) forwards}.confirm-backdrop.is-closing .confirm-dialog{animation:popover-out .16s var(--ease-out) forwards}.week-picker-dialog,.roster-cell-dialog,.confirm-dialog{transform-origin:50%;animation:dialog-in .2s var(--ease-out)}@keyframes dialog-in{0%{opacity:0;transform:scale(.96)}}@keyframes fade-out{to{opacity:0}}@media (width<=760px){.employee-editor-card.sheet,.sheet{animation:sheet-in-bottom .3s var(--ease-drawer)}.sheet-backdrop.is-closing .sheet{animation-name:sheet-out-bottom}}@media (width<=640px){.confirm-backdrop{place-items:end stretch;padding:0}.confirm-dialog{width:100%;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation:sheet-in-bottom .28s var(--ease-drawer);border-radius:18px 18px 0 0}.confirm-backdrop.is-closing .confirm-dialog{animation:sheet-out-bottom .16s var(--ease-out) forwards}.date-picker-popover{transform-origin:bottom;animation:sheet-in-bottom .28s var(--ease-drawer)}.date-picker.is-closing .date-picker-popover{animation:sheet-out-bottom .18s var(--ease-out) forwards}.date-picker.is-closing:before{animation:fade-out .18s var(--ease-out) forwards}}@media (prefers-reduced-motion:reduce){button,button:active:not(:disabled){transform:none}.shell-content{animation:none}.shell-drawer,.sheet,.employee-editor-card.sheet,.error-popup,.date-picker-popover,.week-picker-dialog,.roster-cell-dialog,.confirm-dialog{animation:.16s fade-in}.confirm-backdrop.is-closing .confirm-dialog,.shell-drawer-backdrop.is-closing .shell-drawer,.sheet-backdrop.is-closing .sheet,.error-popup.is-closing,.date-picker.is-closing .date-picker-popover{animation:.12s forwards fade-out}.splash .shell-brand-mark{animation:none}}
