.brand-word span{color:#81a18f;font-weight:600}
.add-worker-form{display:flex;gap:7px;margin-top:10px;max-width:300px}
.add-worker-form input{height:31px;min-width:0;flex:1;border:1px solid #dfe8e2;border-radius:5px;padding:0 9px;font:10px "DM Sans",sans-serif;color:#29443b;outline:none}
.add-worker-form input:focus{border-color:#78aa91;box-shadow:0 0 0 2px #eaf4ee}
.add-worker-form button{white-space:nowrap;border:1px solid #d6e4db;border-radius:5px;background:#fff;color:#34735b;font:600 10px "DM Sans",sans-serif;padding:0 10px;cursor:pointer}
.add-worker-form button:hover{background:#f1f7f3}
.worker-chip button.edit-worker{font-size:10px;color:#5a856b;border:1px solid #d9e6dc;border-radius:50%;width:18px;height:18px;line-height:1;padding:0}
.worker-chip button.edit-worker:hover{background:#e6f1e9;color:#286a50}
.dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:3px}
.worker-dialog .field-block{margin-bottom:14px}
.activity-results{position:absolute;z-index:20;top:calc(100% + 5px);left:0;width:100%;max-height:260px;overflow:auto;background:#fff;border:1px solid #d8e4dc;border-radius:7px;box-shadow:0 10px 24px rgba(20,55,42,.16);padding:4px}
.activity-result{display:block;width:100%;border:0;border-radius:4px;background:transparent;color:#53675d;text-align:left;padding:8px 9px;font:10px/1.45 "DM Sans",sans-serif;cursor:pointer}
.activity-result strong{color:#28664f;font-variant-numeric:tabular-nums;white-space:nowrap}
.activity-result:hover,.activity-result.active{background:#edf5ef}
.activity-no-results{display:flex;flex-direction:column;gap:7px;padding:10px;color:#839188;font-size:10px}
.activity-use-text{align-self:flex-start;border:0;background:transparent;padding:0;color:#387657;font:600 10px "DM Sans",sans-serif;cursor:pointer}
.extra-hours-tools{display:flex;align-items:center;gap:10px;margin:-3px 0 15px}
.extra-hours-tools>span{color:#94a099;font-size:9px}
.extra-hours-editor{border:1px solid #e1eae3;background:#f8fbf8;border-radius:7px;padding:13px 14px;margin:0 0 16px}
.extra-hours-heading{display:flex;flex-direction:column;margin-bottom:9px}
.extra-hours-heading strong{font-size:10px;color:#3b5d4d}
.extra-hours-heading small{font-size:9px;color:#8c9991;margin-top:2px}
.extra-day-options{display:flex;gap:7px;margin-bottom:12px}
.extra-hours-editor .field-grid{margin-bottom:4px}
.extra-hours-editor .field-block{margin-bottom:8px}
@media(max-width:390px){.add-worker-form{max-width:none}}
.theme-toggle{display:flex;align-items:center;gap:6px;border:1px solid #dbe6df;background:#f7faf7;color:#476b5a;border-radius:18px;padding:6px 10px;font:600 10px "DM Sans",sans-serif;cursor:pointer}
.theme-toggle span{font-size:14px;line-height:1;color:#a27a40}
.theme-toggle:hover{background:#edf5ef}
:root[data-theme="dark"]{color-scheme:dark;--ink:#e5eee8;--muted:#aab9b0;--soft:#83958a;--green:#56a17e;--green-dark:#d9eee1;--mint:#213c30;--mint2:#182d24;--line:#2b4035;--paper:#14221b;--canvas:#0d1713;--gold:#d0a566;--rose:#d17a70;--shadow:0 18px 50px rgba(0,0,0,.28)}
:root[data-theme="dark"] body{background:var(--canvas);color:var(--ink)}
:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .app-layout,:root[data-theme="dark"] .role-card,:root[data-theme="dark"] .scenario-tab.active,:root[data-theme="dark"] .help-dialog{background:#14221b;color:var(--ink);border-color:#2b4035}
:root[data-theme="dark"] .topbar{border-bottom-color:#263b30}
:root[data-theme="dark"] .brand,:root[data-theme="dark"] h1,:root[data-theme="dark"] .panel-heading h2,:root[data-theme="dark"] .section-title-row h3,:root[data-theme="dark"] .help-dialog h2{color:#e0eee4}
:root[data-theme="dark"] .brand-word span,:root[data-theme="dark"] h1 em{color:#7dbb98}
:root[data-theme="dark"] .step-rail{background:#101c17;border-right-color:#263b30}
:root[data-theme="dark"] .step-number,:root[data-theme="dark"] .field-block input,:root[data-theme="dark"] .field-block select,:root[data-theme="dark"] .day-chip,:root[data-theme="dark"] .edit-button,:root[data-theme="dark"] .secondary-button,:root[data-theme="dark"] .add-worker-form input,:root[data-theme="dark"] .add-worker-form button{background:#172720;color:#d0dfd5;border-color:#354b3e}
:root[data-theme="dark"] .step strong,:root[data-theme="dark"] .role-title,:root[data-theme="dark"] .role-fields label,:root[data-theme="dark"] .field-block label,:root[data-theme="dark"] .coverage-note strong,:root[data-theme="dark"] .schedule-card-head strong{color:#c8dfd0}
:root[data-theme="dark"] .panel-heading p,:root[data-theme="dark"] .intro>p,:root[data-theme="dark"] .field-hint,:root[data-theme="dark"] .private-note,:root[data-theme="dark"] .saved-note,:root[data-theme="dark"] .coverage-note p,:root[data-theme="dark"] .rail-tip p,:root[data-theme="dark"] .site-footer,:root[data-theme="dark"] .schedule-table td,:root[data-theme="dark"] .next-steps-card p{color:#94a79a}
:root[data-theme="dark"] .coverage-note,:root[data-theme="dark"] .info-notice,:root[data-theme="dark"] .rail-tip,:root[data-theme="dark"] .summary-card,:root[data-theme="dark"] .schedule-card-head,:root[data-theme="dark"] .next-steps-card,:root[data-theme="dark"] .extra-hours-editor{background:#182a20;border-color:#2c4436}
:root[data-theme="dark"] .input-suffix span,:root[data-theme="dark"] .extra-hours-tools>span,:root[data-theme="dark"] .extra-hours-heading small,:root[data-theme="dark"] .summary-label,:root[data-theme="dark"] .summary-detail,:root[data-theme="dark"] .schedule-table th{color:#8fa296}
:root[data-theme="dark"] .worker-chip,:root[data-theme="dark"] .scenario-switch,:root[data-theme="dark"] .role-fields input{background:#1b2d23;border-color:#304638;color:#c8dbce}
:root[data-theme="dark"] .worker-chip button.edit-worker{background:#22382a;border-color:#3a5843;color:#9ed2aa}
:root[data-theme="dark"] .activity-results{background:#172720;border-color:#354b3e;box-shadow:0 10px 24px rgba(0,0,0,.4)}
:root[data-theme="dark"] .activity-result{color:#c5d5ca}
:root[data-theme="dark"] .activity-result strong{color:#9ed2af}
:root[data-theme="dark"] .activity-result:hover,:root[data-theme="dark"] .activity-result.active{background:#243b2d}
:root[data-theme="dark"] .activity-no-results{color:#91a297}
:root[data-theme="dark"] .activity-use-text{color:#8bc29d}
:root[data-theme="dark"] .schedule-table td,:root[data-theme="dark"] .schedule-table th{border-color:#253a2d}
:root[data-theme="dark"] .schedule-table td:first-child,:root[data-theme="dark"] .schedule-table td.shift-cell{color:#a9d3b7}
:root[data-theme="dark"] .scenario-tab{color:#91a397}
:root[data-theme="dark"] .scenario-tab.active{color:#d3e8d8;box-shadow:0 1px 5px #0005}
:root[data-theme="dark"] .scenario-tab.active b,:root[data-theme="dark"] .summary-value{color:#81c29a}
:root[data-theme="dark"] .theme-toggle{background:#20342a;border-color:#385242;color:#d5e7da}
:root[data-theme="dark"] .theme-toggle span{color:#e1bb73}
:root[data-theme="dark"] .primary-button{background:#277a5b;border-color:#277a5b}
:root[data-theme="dark"] .site-footer{border-color:#263b30}
:root[data-theme="dark"] .help-dialog::backdrop{background:#030907bb}
:root[data-theme="dark"] .field-block input::placeholder{color:#73877a}
:root[data-theme="dark"] .scenario-alert{background:#332b1d;border-color:#534529;color:#ddc38e}
:root[data-theme="dark"] .scenario-alert.warning{background:#352321;border-color:#563330;color:#e0a39a}
@media print{:root[data-theme="dark"] body,:root[data-theme="dark"] .app-layout,:root[data-theme="dark"] .schedule-card,:root[data-theme="dark"] .schedule-card-head,:root[data-theme="dark"] .next-steps-card{background:#fff!important;color:#222!important}:root[data-theme="dark"] .schedule-table td,:root[data-theme="dark"] .schedule-table th,:root[data-theme="dark"] .schedule-card-head strong,:root[data-theme="dark"] .next-steps-card p{color:#333!important;border-color:#ddd!important}}
@media(max-width:650px){.theme-toggle b{display:none}.theme-toggle{padding:7px 9px}}
:root{--ink:#12243b;--muted:#63778c;--soft:#8294a7;--green:#0877bd;--green-dark:#071b34;--mint:#e5f6ff;--mint2:#f2f9fd;--line:#d8e8f2;--paper:#fff;--canvas:#f3f7fb;--gold:#008fae;--rose:#ad4b66;--shadow:0 18px 48px rgba(4,24,52,.12)}
:root[data-theme="dark"]{--ink:#e8f4ff;--muted:#a1b4c8;--soft:#8197ae;--green:#19a8ec;--green-dark:#def7ff;--mint:#102842;--mint2:#0b1a2e;--line:#203d60;--paper:#0c192c;--canvas:#060d1b;--gold:#00d8ee;--rose:#f17e93;--shadow:0 20px 52px rgba(0,0,0,.36)}
.topbar{background:#06152b;border-bottom-color:#173555}
.brand{gap:12px;color:#f4fbff}
.brand-logo{display:block;width:220px;height:55px;object-fit:contain;object-position:center;border-radius:3px;background:#06152b}
.brand-divider{height:36px;border-left:1px solid #126a9d}
.product-name{font-family:Manrope,sans-serif;color:#f2fbff;font-size:15px;font-weight:800;letter-spacing:.15px;line-height:1.15}
.product-name small{display:block;color:#00d9ee;font:700 8px "DM Sans",sans-serif;letter-spacing:1.15px;margin-top:4px}
.private-note{color:#a1b7cc}
.help-button{color:#d7e8f5}
.theme-toggle{background:#10243c;color:#e9f7ff;border-color:#254461}
.theme-toggle:hover{background:#173250}
.intro{position:relative}
.eyebrow,.panel-kicker,.rail-caption{color:#087eae}
:root[data-theme="dark"] .eyebrow,:root[data-theme="dark"] .panel-kicker,:root[data-theme="dark"] .rail-caption{color:#3cccf4}
:root[data-theme="dark"] .topbar{background:#06152b;border-bottom-color:#173555}
:root[data-theme="dark"] .app-layout{background:#0c192c;border-color:#203d60}
:root[data-theme="dark"] .step-rail{background:#091629;border-right-color:#203d60}
:root[data-theme="dark"] h1,:root[data-theme="dark"] .panel-heading h2,:root[data-theme="dark"] .section-title-row h3,:root[data-theme="dark"] .help-dialog h2{color:#edf7ff}
:root[data-theme="dark"] h1 em{color:#33d5ec}
:root[data-theme="dark"] .brand{color:#f4fbff}
:root[data-theme="dark"] .step.active strong,:root[data-theme="dark"] .role-title,:root[data-theme="dark"] .field-block label,:root[data-theme="dark"] .coverage-note strong{color:#d7edfb}
:root[data-theme="dark"] .step.active .step-number{background:#0a3858;border-color:#12678f;color:#59d9f4}
:root[data-theme="dark"] .step.done .step-number{background:#096fa4;border-color:#096fa4;color:#fff}
:root[data-theme="dark"] .primary-button{background:linear-gradient(100deg,#087cdb,#00b9da);border-color:#0aa5d4;color:#061628}
:root[data-theme="dark"] .primary-button:hover{background:linear-gradient(100deg,#158ce9,#08d2e8)}
:root[data-theme="dark"] .theme-toggle{background:#10243c;border-color:#254461;color:#e5f7ff}
:root[data-theme="dark"] .theme-toggle span{color:#00d8ee}
:root[data-theme="dark"] .secondary-button,:root[data-theme="dark"] .edit-button{background:#10243c;border-color:#294966;color:#83dcf4}
:root[data-theme="dark"] .secondary-button:hover{background:#173250;border-color:#2f7196}
:root[data-theme="dark"] .source-link,:root[data-theme="dark"] .next-steps-card a{color:#4dccef}
:root[data-theme="dark"] .extra-hours-editor{background:#0e2036;border-color:#264763}
:root[data-theme="dark"] .extra-hours-heading strong{color:#d3edfa}
:root[data-theme="dark"] .coverage-note,:root[data-theme="dark"] .info-notice,:root[data-theme="dark"] .rail-tip,:root[data-theme="dark"] .summary-card,:root[data-theme="dark"] .schedule-card-head,:root[data-theme="dark"] .next-steps-card{background:#102139;border-color:#223f5c}
:root[data-theme="dark"] .step-number,:root[data-theme="dark"] .field-block input,:root[data-theme="dark"] .field-block select,:root[data-theme="dark"] .day-chip,:root[data-theme="dark"] .add-worker-form input,:root[data-theme="dark"] .add-worker-form button{background:#10243b;color:#d6eafa;border-color:#2b4967}
.day-chip{font-family:"DM Sans",sans-serif;font-size:10px;font-weight:700;line-height:1;padding:0;text-align:center;appearance:none;-webkit-appearance:none}
.day-chip.selected{background:linear-gradient(140deg,#087be0,#00cde4);border-color:#00b9df;color:#051a2e;box-shadow:0 3px 12px rgba(0,183,226,.22)}
:root[data-theme="dark"] .day-chip.selected{background:linear-gradient(140deg,#087be0,#00d8ee);border-color:#32e5f5;color:#04162a;box-shadow:0 0 0 2px #00c8ed2b,0 4px 14px #007fc33b}
.extra-hours-editor.hidden{display:block!important}
.extra-hours-tools>span{color:#7691aa}
.weekend-save-note{display:block;color:#7891a7;font-size:9px;margin-top:9px}
.panel-actions .primary-button{white-space:nowrap}
.site-footer{border-top:1px solid #d8e8f2;margin-top:12px}
.footer-brand-seal{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid #147dbe;box-shadow:0 0 12px #00c6ed35}
.footer-brand-copy{display:flex;flex-direction:column;gap:3px;min-width:160px}
.footer-brand-copy strong{font:800 11px Manrope,sans-serif;color:#123a60}
.footer-brand-copy strong span{color:#56829d;font-weight:600}
.footer-brand-copy small{font-size:8px;letter-spacing:.9px;color:#7795a7}
:root[data-theme="dark"] .site-footer{border-top-color:#183451}
:root[data-theme="dark"] .footer-brand-copy strong{color:#dff5ff}
:root[data-theme="dark"] .footer-brand-copy strong span,:root[data-theme="dark"] .footer-brand-copy small{color:#60cbea}
@media(max-width:650px){.brand-logo{width:150px;height:auto}.brand-divider,.product-name{display:none}.brand{gap:0}.site-footer{gap:9px}.footer-brand-copy{min-width:125px}.footer-brand-copy strong{font-size:10px}.footer-brand-copy small{font-size:7px}}
@media(max-width:390px){.brand-logo{width:128px}.day-chip{width:34px;height:34px}}
@media(max-width:390px){.panel-actions:not(.result-actions){align-items:stretch;flex-direction:column}.panel-actions:not(.result-actions) .primary-button{width:100%}}
.primary-button{background:linear-gradient(100deg,#086fc8,#008fae);border-color:#087eb9;color:#fff}
.primary-button:hover{background:linear-gradient(100deg,#087ddb,#00a7c4)}
.secondary-button,.edit-button{color:#0879ad;border-color:#cee0ec}
.source-link,.next-steps-card a{color:#087eae}
.step-count,.step.active strong,.coverage-symbol,.role-title,.summary-value{color:#0878b6}
.day-chip:focus-visible,.theme-toggle:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible{outline:3px solid #45d5ed;outline-offset:2px}
:root[data-theme="dark"] .intro>p,:root[data-theme="dark"] .panel-heading p,:root[data-theme="dark"] .saved-note,:root[data-theme="dark"] .coverage-note p{color:#a1b4c8}
:root[data-theme="dark"] .primary-button{background:linear-gradient(100deg,#087cdb,#00b9da);border-color:#0aa5d4;color:#061628}
:root[data-theme="dark"] .primary-button:hover{background:linear-gradient(100deg,#158ce9,#08d2e8)}
:root[data-theme="dark"] .secondary-button,:root[data-theme="dark"] .edit-button{color:#83dcf4}
:root[data-theme="dark"] .step-count,:root[data-theme="dark"] .step.active strong,:root[data-theme="dark"] .coverage-symbol,:root[data-theme="dark"] .role-title,:root[data-theme="dark"] .summary-value{color:#4dccef}
.wizard-panel{display:none;scroll-margin-top:18px}
.wizard-panel.revealed{display:block}
.team-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
.team-section-heading h3{font:700 16px Manrope,sans-serif;letter-spacing:-.3px;color:#153a5b;margin:4px 0 0}
.team-section-heading .add-role{margin:0}
.employee-entry-card{margin-top:18px;padding:17px;border:1px solid #d7e6f1;border-radius:8px;background:#f7fbfe}
.employee-heading{margin:0 0 14px}
.employee-create-form{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) auto;align-items:end;gap:12px}
.employee-create-form .field-block{margin:0}
.employee-create-form .primary-button{height:42px;white-space:nowrap}
.empty-role-workers{font-size:10px;color:#8296a8;padding:5px 2px}
:root[data-theme="dark"] .team-section-heading h3{color:#ddf3ff}
:root[data-theme="dark"] .employee-entry-card{background:#0e2036;border-color:#264763}
:root[data-theme="dark"] .empty-role-workers{color:#8da4b8}
@media(max-width:650px){.employee-create-form{grid-template-columns:1fr}.employee-create-form .primary-button{width:100%}.team-section-heading h3{font-size:14px}}
.schedule-manager{padding:16px;border:1px solid #d5e6f1;border-radius:8px;background:#f8fbfd;margin-bottom:20px}
.schedule-manager .field-block{margin-bottom:13px}
.schedule-manager .field-grid{margin-bottom:2px}
.schedule-day-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.day-picker#scheduleDayPicker{gap:8px}
.day-picker#scheduleDayPicker .day-chip{width:38px;height:38px}
.day-chip:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.schedule-form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.schedule-form-actions .primary-button{white-space:nowrap}
.schedule-list-heading{display:flex;flex-direction:column;gap:2px;margin-top:19px;margin-bottom:8px}
.schedule-list-heading strong{font-size:11px;color:#173d5e}
.schedule-list-heading small{font-size:9px;color:#8196a8}
.schedule-entry-list{display:flex;flex-direction:column;gap:7px}
.schedule-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d9e8f1;border-radius:6px;background:#fff}
.schedule-entry-info{display:flex;align-items:center;gap:12px;min-width:0}
.schedule-entry-info strong{font-size:10px;color:#174c70}
.schedule-entry-info span{font-size:10px;color:#087eae;font-weight:700;white-space:nowrap}
.schedule-entry-actions{display:flex;align-items:center;gap:10px;flex:none}
.schedule-list-empty{padding:11px 12px;border:1px dashed #ccdeea;border-radius:6px;color:#8195a8;font-size:10px;background:#fff}
:root[data-theme="dark"] .schedule-manager{background:#0e2036;border-color:#264763}
:root[data-theme="dark"] .schedule-list-heading strong{color:#d9f1ff}
:root[data-theme="dark"] .schedule-list-heading small{color:#8fa8bc}
:root[data-theme="dark"] .schedule-entry,:root[data-theme="dark"] .schedule-list-empty{background:#10243b;border-color:#274661}
:root[data-theme="dark"] .schedule-entry-info strong{color:#d4f0ff}
:root[data-theme="dark"] .schedule-entry-info span{color:#42c9ef}
:root[data-theme="dark"] .schedule-list-empty{color:#91a9bc}
:root[data-theme="dark"] .day-chip:disabled{opacity:.33;background:#0a192c;color:#7891a8;border-color:#203751}
@media(max-width:650px){.schedule-manager{padding:12px}.day-picker#scheduleDayPicker{gap:5px}.day-picker#scheduleDayPicker .day-chip{width:34px;height:34px}.schedule-entry{align-items:flex-start;flex-direction:column}.schedule-entry-actions{width:100%;justify-content:flex-end}.schedule-form-actions .primary-button{width:100%}}
.role-draft{border-style:dashed}
.role-draft .role-title{color:#1989bf}
.role-card .save-role{color:#087eae;background:#e8f7ff;border:1px solid #b9dfef;border-radius:5px;padding:5px 9px}
.role-card .save-role:hover{background:#d9f2ff}
:root[data-theme="dark"] .role-card{background:#0e2036;border-color:#264763}
:root[data-theme="dark"] .role-draft{border-style:dashed;border-color:#1d83b3}
:root[data-theme="dark"] .role-card .save-role{background:linear-gradient(100deg,#087cdb,#00b9da);border-color:#00a8d4;color:#04182a}
:root[data-theme="dark"] .role-card .save-role:hover{background:linear-gradient(100deg,#1595ea,#00d5e9)}
:root[data-theme="dark"] .worker-chip{background:#10243b;border-color:#2b4967;color:#cde8f7}
.result-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.employee-create-form{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(145px,.8fr) auto}
.employee-create-form .field-block{min-width:0}
.schedule-table td.shift-cell{white-space:normal;min-width:220px}
.shift-cell strong,.shift-cell small{display:block}
.shift-cell strong{font-size:10px;color:#59c9ed;margin-bottom:3px}
.shift-cell small{font-size:9px;color:#9bb0c4;margin-top:2px}
.schedule-warning{display:block;color:#ffc56a;font-size:9px;font-style:normal;margin-top:4px}
:root[data-theme="dark"] .shift-cell small{color:#a1b4c8}
@media(max-width:900px){.result-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-create-form .primary-button{grid-column:1/-1}}
@media(max-width:650px){.result-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-create-form{grid-template-columns:1fr}.employee-create-form .primary-button{grid-column:auto}}
.schedule-table{min-width:1120px}
.schedule-table td.day-cell{min-width:112px;white-space:nowrap;vertical-align:top}
.schedule-table td.day-cell strong,.schedule-table td.day-cell small,.schedule-table td.weekly-total strong,.schedule-table td.weekly-total small{display:block}
.schedule-table td.day-cell strong{color:#59c9ed;font-size:9px}
.schedule-table td.day-cell small{font-size:8px;color:#9bb0c4;margin-top:2px}
.schedule-table td.weekly-total{white-space:nowrap;text-align:center;min-width:82px}
.schedule-table td.weekly-total strong{font-size:11px;color:#59c9ed}
.schedule-table td.weekly-total small{font-size:8px;color:#9bb0c4}
.schedule-table td.person-cell{min-width:120px}
.person-note-row td{padding-top:3px!important;padding-bottom:8px!important;border-top:0!important}
.schedule-warning strong{color:#ffd58b}
.schedule-legend{font-size:9px;color:#93a8bb;margin:-4px 0 10px}
:root[data-theme="light"] .schedule-table td.day-cell small,:root[data-theme="light"] .schedule-table td.weekly-total small{color:#64778b}
@media print{.schedule-table{min-width:0}.schedule-table td.day-cell{min-width:0;white-space:normal}.schedule-table td.day-cell small{font-size:7px}}
.month-selection-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;margin:14px 0;border:1px solid #284767;border-radius:8px;background:#102139}
.month-selection-card>div:first-child strong,.monthly-role-heading strong,.monthly-worker-heading strong{display:block;color:#d8edfc;font-size:12px}
.month-selection-card>div:first-child small{display:block;color:#9cb1c5;font-size:9px;margin-top:3px}
.month-selection-card .field-block{margin:0;min-width:180px}
.month-selection-card input{min-height:38px}
.monthly-agenda{margin-top:26px}
.monthly-month-label{text-transform:capitalize;color:#59c9ed;font-size:11px;font-weight:700}
.monthly-schedule-results{display:flex;flex-direction:column;gap:14px}
.monthly-role-card{border:1px solid #284767;border-radius:8px;overflow:hidden;background:#0d1b2c}
.monthly-role-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#102139;border-bottom:1px solid #284767}
.monthly-role-heading span{font-size:9px;color:#9cb1c5}
.monthly-workers{display:flex;flex-direction:column;gap:12px;padding:12px}
.monthly-worker-card{border:1px solid #263f58;border-radius:7px;overflow:hidden}
.monthly-worker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#11233a}
.monthly-worker-heading small,.month-total small,.month-total span{display:block;color:#a1b4c8;font-size:8px;margin-top:3px}
.month-total{text-align:right;white-space:nowrap}
.month-total strong{display:block;color:#59c9ed;font-size:15px}
.month-calendar-wrap{overflow-x:auto;padding:8px}
.month-calendar-weekdays,.month-calendar-row{display:grid;grid-template-columns:repeat(7,minmax(92px,1fr)) minmax(95px,.8fr);gap:4px;min-width:790px}
.month-calendar-weekdays{margin-bottom:4px}
.month-calendar-weekdays span{text-align:center;color:#91a8bd;font-size:8px;font-weight:700;text-transform:uppercase;padding:5px 2px}
.month-calendar-weekdays span:last-child{color:#59c9ed}
.calendar-day{position:relative;min-height:77px;padding:7px 6px;border:1px solid #263f58;border-radius:5px;background:#102139}
.calendar-day.outside-month{opacity:.42}
.calendar-day.rest-day{background:#0b1828}
.calendar-date{display:block;color:#b7c9da;font-size:8px;font-weight:700;margin-bottom:5px}
.calendar-day strong{display:block;color:#59c9ed;font-size:9px}
.calendar-day small{display:block;color:#a1b4c8;font-size:7px;margin-top:2px;white-space:nowrap}
.calendar-rest-label{display:block;color:#8397aa;font-size:8px;margin-top:12px}
.calendar-week-total{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:1px solid #284767;border-radius:5px;background:#102139;padding:5px 3px}
.calendar-week-total strong{color:#59c9ed;font-size:11px}
.calendar-week-total small{color:#a1b4c8;font-size:7px;margin-top:3px}
:root[data-theme="light"] .month-selection-card,:root[data-theme="light"] .monthly-role-card{background:#fff;border-color:#d6e4ef}
:root[data-theme="light"] .month-selection-card>div:first-child strong,:root[data-theme="light"] .monthly-role-heading strong,:root[data-theme="light"] .monthly-worker-heading strong{color:#19344c}
:root[data-theme="light"] .month-selection-card>div:first-child small,:root[data-theme="light"] .monthly-role-heading span,:root[data-theme="light"] .monthly-worker-heading small,:root[data-theme="light"] .month-total small,:root[data-theme="light"] .month-total span,:root[data-theme="light"] .calendar-day small,:root[data-theme="light"] .calendar-week-total small{color:#657b90}
:root[data-theme="light"] .monthly-role-heading,:root[data-theme="light"] .monthly-worker-heading,:root[data-theme="light"] .calendar-day,:root[data-theme="light"] .calendar-week-total{background:#f2f8fc;border-color:#d6e4ef}
:root[data-theme="light"] .calendar-day.rest-day{background:#f7f9fb}
:root[data-theme="light"] .calendar-date,:root[data-theme="light"] .calendar-rest-label,:root[data-theme="light"] .month-calendar-weekdays span{color:#5d7185}
@media(max-width:650px){.month-selection-card{align-items:stretch;flex-direction:column;gap:10px}.month-selection-card .field-block{min-width:0;width:100%}.monthly-worker-heading{align-items:flex-start}.month-total strong{font-size:13px}}
@media print{.month-selection-card{display:none!important}.monthly-worker-card,.monthly-role-card{break-inside:avoid}.month-calendar-wrap{overflow:visible}.month-calendar-weekdays,.month-calendar-row{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr)) 70px;gap:2px}.calendar-day{min-height:55px;padding:4px}.calendar-day small{font-size:6px;white-space:normal}.monthly-agenda{break-before:page}}
@media(max-width:760px){.desktop-recommendation{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;margin:0 0 19px;border:1px solid #215371;border-radius:8px;background:#0d2035;color:#cceeff}.desktop-recommendation>span{font-size:16px;line-height:1.2;color:#00d9ee}.desktop-recommendation p{margin:0;font-size:11px;line-height:1.45;color:inherit}}
.desktop-recommendation{display:none}
.escalai-mark{width:24px;height:24px;flex:none;border:1.5px solid #00d9ee;border-radius:7px;background:linear-gradient(145deg,#092644,#087bdd);box-shadow:0 0 9px #00c9ee55;gap:3px;padding:4px}
.escalai-mark span{border-radius:2px;background:#00d9ee}
.escalai-mark span:nth-child(2),.escalai-mark span:nth-child(3){opacity:.5}
.footer-contact{letter-spacing:0!important;font-size:8px!important;line-height:1.5}
.footer-contact a{color:inherit;text-decoration:none}
.footer-contact a:hover{text-decoration:underline}
@media(max-width:650px){.brand-logo,.brand-divider{display:none}.product-name{display:block!important;margin-left:9px;font-size:14px}.product-name small{font-size:7px}.brand{gap:0}.footer-contact{font-size:7px!important}}
@media print{.schedule-table-wrap{overflow:visible!important}.schedule-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.schedule-table th,.schedule-table td{font-size:7px!important;line-height:1.2;padding:3px 2px!important;white-space:normal!important;overflow-wrap:anywhere}.schedule-table th:first-child,.schedule-table td:first-child{width:15%}.schedule-table th:nth-child(n+2):nth-child(-n+8),.schedule-table td:nth-child(n+2):nth-child(-n+8){width:8.4%}.schedule-table th:nth-child(9),.schedule-table td:nth-child(9),.schedule-table th:nth-child(10),.schedule-table td:nth-child(10){width:13.05%}.schedule-table td.day-cell small{font-size:6px!important}.schedule-card{width:100%;break-inside:avoid}.schedule-table-wrap::-webkit-scrollbar{display:none}.site-footer{display:flex!important;gap:8px;padding:8px 0!important;margin-top:12px!important;break-inside:avoid}.footer-brand-seal{width:28px;height:28px}.footer-brand-copy{gap:1px;min-width:0}.footer-brand-copy strong{font-size:8px}.footer-brand-copy small,.footer-contact{font-size:6px!important}.site-footer p,.footer-version{font-size:6px!important;color:#666!important}.desktop-recommendation{display:none!important}}
.app-layout{display:flex;flex-direction:column}
.step-rail{display:block;flex:none;padding:14px 24px;background:#07182c;border-right:0;border-bottom:1px solid #203b58}
.rail-head{margin:0 0 11px}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.step{align-items:center;gap:9px;min-width:0;padding:0}
.step:not(:last-child):after{display:none}
.step-number{flex:none}
.step>span:last-child{display:flex;flex-direction:column;min-width:0}
.step strong{font-size:11px;white-space:normal}
.step small{font-size:9px}
.rail-tip,.rail-source{display:none!important}
.workspace{min-width:0}
@media(max-width:650px){.step-rail{display:block;padding:11px 13px}.rail-head{margin-bottom:8px}.rail-caption{font-size:8px}.step-count{font-size:9px}.steps{gap:6px}.step{align-items:flex-start;gap:5px}.step-number{width:21px;height:21px;font-size:9px}.step strong{font-size:8px;line-height:1.25}.step small{font-size:7px;line-height:1.2}.mobile-progress{display:none!important}}
@media print{.schedule-table-wrap{overflow:visible!important}.schedule-table{width:100%!important;min-width:0!important;table-layout:fixed!important}.schedule-table th,.schedule-table td{font-size:7px!important;line-height:1.2;padding:3px 2px!important;white-space:normal!important;overflow-wrap:anywhere}.schedule-table th:first-child,.schedule-table td:first-child{width:15%}.schedule-table th:nth-child(n+2):nth-child(-n+8),.schedule-table td:nth-child(n+2):nth-child(-n+8){width:8.4%}.schedule-table th:nth-child(9),.schedule-table td:nth-child(9),.schedule-table th:nth-child(10),.schedule-table td:nth-child(10){width:13.05%}.schedule-table td.day-cell small{font-size:6px!important}.schedule-card{width:100%;break-inside:avoid}.schedule-table-wrap::-webkit-scrollbar{display:none}.site-footer{display:flex!important;gap:8px;padding:8px 0!important;margin-top:12px!important;break-inside:avoid}.footer-brand-seal{width:28px;height:28px}.footer-brand-copy{gap:1px;min-width:0}.footer-brand-copy strong{font-size:8px}.footer-brand-copy small,.footer-contact{font-size:6px!important}.site-footer p,.footer-version{font-size:6px!important;color:#666!important}.desktop-recommendation{display:none!important}}

@media(max-width:760px){.desktop-recommendation{display:flex!important}}
:root{--account-accent:#00c7e8}
.account-button{border:1px solid rgba(0,199,232,.38);border-radius:12px;background:rgba(0,199,232,.09);color:var(--text);padding:10px 15px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:.2s}
.account-button:hover{background:rgba(0,199,232,.18);border-color:var(--account-accent)}
.account-dialog{width:min(700px,calc(100vw - 28px));max-height:calc(100vh - 32px);overflow:auto}
.account-dialog>p{color:var(--muted);line-height:1.6}
.auth-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
.reset-password{margin-top:8px;padding:8px 0}
.account-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.account-stat{padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft,#0d2032)}
.account-stat strong{display:block;color:var(--gold);font-size:20px;margin-bottom:4px}
.account-stat small{color:var(--muted);font-size:12px}
.admin-section{border-top:1px solid var(--line);padding:18px 0}
.admin-section h3{margin:0 0 5px;font:700 16px inherit}
.admin-section p{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.5}
.logo-upload-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.logo-upload-row input[type=file]{max-width:100%;color:var(--muted)}
.company-logo-preview{width:76px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#fff;padding:5px}
.registered-scale-list{display:grid;gap:8px}
.registered-scale-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.registered-scale-item strong{display:block}
.registered-scale-item small{display:block;color:var(--muted);margin-top:3px}
.registered-scale-item .balance-good{color:#44c99a}.registered-scale-item .balance-bad{color:#e8a54b}
.admin-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0}
.billing-note{border:1px solid rgba(0,199,232,.3);background:rgba(0,199,232,.06);border-radius:12px;padding:15px}
.billing-note p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.billing-note>small{display:block;margin-top:5px;color:var(--ink);font-weight:700;line-height:1.5}
.result-export-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.individual-export{display:grid;gap:5px;font-size:12px;color:var(--muted);font-weight:600}
.individual-export select{min-height:42px;min-width:180px}
.account-toast{position:fixed;z-index:1000;right:20px;bottom:20px;max-width:min(440px,calc(100vw - 40px));padding:13px 16px;background:#10283a;color:var(--text);border:1px solid rgba(0,199,232,.4);border-radius:12px;box-shadow:0 12px 40px #0005}
@media(max-width:760px){.account-overview{grid-template-columns:1fr}.registered-scale-item{align-items:flex-start;flex-direction:column}.result-export-actions{width:100%}.result-export-actions>*{flex:1}.topbar-right .private-note{display:none}}
@media print{body.escalai-printing>*{display:none!important}body.escalai-printing .individual-print-area{display:block!important}.individual-print-area{display:none}.individual-print-area{font:12px Arial,sans-serif;color:#152536;padding:20px}.individual-print-area h1{font-size:20px}.individual-print-area header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #00a9d0;padding-bottom:10px;margin-bottom:16px}.individual-print-area header img{max-width:115px;max-height:48px;object-fit:contain}.individual-print-area table{border-collapse:collapse;width:100%;margin-top:15px}.individual-print-area th,.individual-print-area td{border:1px solid #aab7c4;padding:8px;text-align:left;vertical-align:top}.individual-print-area th{background:#eaf4fa}.individual-print-area footer{margin-top:20px;font-size:10px;color:#4d6070}.individual-print-area .week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.individual-print-area .day-box{min-height:64px;border:1px solid #9daebb;padding:5px;font-size:10px}.individual-print-area .day-box strong{display:block;color:#007c9c}.individual-print-area .day-box small{display:block;margin-top:4px}}
.trial-notice{margin:0 0 18px;padding:14px 18px;border:1px solid rgba(232,165,75,.55);border-radius:12px;background:rgba(232,165,75,.1);color:var(--ink);font-size:14px;font-weight:650;line-height:1.5}
.company-switch-row{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:10px;margin:8px 0 16px}
.company-switch-row label{font-size:13px;font-weight:700}
.company-switch-row select{min-height:42px}
.signup-only.hidden{display:none!important}
.company-identity-fields{margin-bottom:2px}
.scale-people-details>div{display:grid;gap:7px;margin-top:10px}
.scale-people-details p{margin:0;padding:10px;border:1px solid var(--line);border-radius:8px}
.scale-people-details small,.scale-calendar-details small{display:block;margin-top:4px;color:var(--muted);line-height:1.6}
.scale-calendar-details>section{border-top:1px solid var(--line);padding:8px 0}
.scale-calendar-details>section>p{margin:7px 0}
.scale-calendar-details summary,.scale-people-details summary{cursor:pointer;color:var(--accent);font-weight:700;padding:7px 0}
.account-stat strong{overflow-wrap:anywhere}
@media(max-width:650px){.company-switch-row{grid-template-columns:1fr}.company-switch-row select{width:100%}}
