.analytics-choice{position:fixed;bottom:0;left:0;right:0;z-index:160;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px max(20px,calc((100% - 1200px)/2));background:#fff;border-top:1px solid #cbdedb;box-shadow:0 -4px 20px #173c3412;color:#253e39}
.analytics-choice p{font-size:13px;margin:0;line-height:1.6;max-width:70ch;overflow-wrap:anywhere}
.analytics-choice>div{display:flex;gap:10px;flex-shrink:0}
.analytics-choice button{min-height:44px;padding:10px 14px;border:1px solid #c4d7d1;background:#fff;border-radius:4px;color:#173c34;font-size:12px;font-family:inherit;cursor:pointer}
.analytics-choice button:focus-visible{outline:3px solid #2e86c1;outline-offset:3px}
.analytics-choice button:disabled{opacity:.55;cursor:default}
.analytics-choice p{padding-right:28px}
.analytics-choice .analytics-dismiss{position:absolute;right:6px;top:6px;width:36px;min-height:36px;padding:0;border:0;background:transparent;font-size:24px;line-height:1}
.dark .analytics-choice{background:#192620;color:#edf6f0;border-color:#50665a}
.dark .analytics-choice button{background:#24372c;color:#edf6f0;border-color:#799486}
@media(max-width:620px){.analytics-choice{flex-direction:column;align-items:stretch;gap:10px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.analytics-choice p{font-size:12px}.analytics-choice>div{display:grid;grid-template-columns:1fr 1fr}.analytics-choice button{white-space:normal}}

.rider-change-banner{border:1px solid #c9ddd6;background:linear-gradient(135deg,#edf7f2,#fff8ed);padding:17px;border-radius:14px;margin:8px 0 18px;color:#193f35}.rider-change-banner small,.rider-change-banner strong{display:block}.rider-change-banner strong{font-size:19px;margin:7px 0}.rider-change-banner p{margin:7px 0 0;font-size:13px;line-height:1.6}.rider-change-confirm{display:flex;gap:10px;align-items:flex-start;line-height:1.6;margin:17px 0}.rider-change-confirm input{width:18px;height:18px;flex:none;accent-color:#176a51;margin-top:3px}.rider-change-history{margin:22px 0 8px;border:1px solid #d8e3df;background:#f7faf8;border-radius:14px;padding:17px;color:#204138}.rider-change-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.rider-change-heading h3{font-size:18px;margin:7px 0}.rider-change-total{font-size:12px;white-space:nowrap;border-radius:20px;background:#deeee5;padding:6px 9px;color:#265c44}.rider-change-events{padding:0;list-style:none;display:grid;gap:11px}.rider-change-events li{border:1px solid #dbe5df;background:#fff;padding:14px;border-radius:11px;overflow-wrap:anywhere}.rider-change-route{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}.rider-change-route>span:first-child{color:#62756c}.rider-change-route>strong{color:#17634c}.rider-change-events p{font-size:14px;line-height:1.6;margin:10px 0}.rider-change-events small{display:block;font-size:11px;color:#62756c;line-height:1.6}.rider-change-empty{padding:12px 0;color:#586f63;font-size:14px}.rider-change-pages{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}.rider-change-pages button,[data-rider-history-refresh]{font-size:12px;padding:8px 11px;border:1px solid #c9d9cf;background:white;border-radius:9px;color:#204138}.rider-change-pages span{font-size:12px;color:#536d5e}.rider-change-pages button:disabled{opacity:.4}.rider-change-history [role=alert]{color:#8c2f24}.rider-change-warning{padding:12px;background:#fff3e8;border:1px solid #e8c9a8;border-radius:10px;line-height:1.6;font-size:13px}@media(max-width:480px){.rider-change-history{padding:12px}.rider-change-heading{align-items:flex-start;flex-wrap:wrap}.rider-change-events li{padding:12px}.rider-change-pages{gap:7px}.rider-change-confirm{font-size:13px}}

.pickup-routing-panel{margin:22px 0;padding:22px;border:1px solid #c9dfdc;border-radius:18px;background:linear-gradient(130deg,#f1f9f7,#fff9ef);color:#173e39;min-width:0}.pickup-panel-heading,.pickup-result-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.pickup-panel-heading h4,.pickup-result-heading h4{margin:5px 0 8px;font-size:20px}.pickup-panel-heading p{margin:0 0 14px}.pickup-manual-tag{white-space:nowrap;padding:7px 10px;border-radius:20px;background:#173e39;color:#fff;font-size:12px}.pickup-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pickup-rider-choice{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce7e3;border-radius:12px;padding:12px;cursor:pointer;min-width:0}.pickup-rider-choice input{width:18px;height:18px;flex:none;accent-color:#156b5b}.pickup-rider-choice span{min-width:0}.pickup-rider-choice strong,.pickup-rider-choice small{display:block;overflow-wrap:anywhere}.pickup-rider-choice small{margin-top:5px;color:#56716a;font-size:12px}.pickup-unavailable{opacity:.65;cursor:default}.pickup-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.pickup-review{padding:16px;background:#fff;border:1px solid #cee2da;border-radius:12px;margin:12px 0}.pickup-review label{display:flex;align-items:flex-start;gap:9px;margin:14px 0}.pickup-review input{width:18px;height:18px;flex:none}.pickup-review button{max-width:100%;white-space:normal}.pickup-result{margin-top:18px;padding:18px;border:1px solid #cadbd6;border-radius:14px;background:#fff}.pickup-provider{white-space:nowrap;font:400 12px/1.4 sans-serif;letter-spacing:normal;color:#5e5e5e;padding:4px 0}.pickup-route-list{display:grid;gap:8px}.pickup-route-row{display:flex;align-items:center;gap:10px;padding:13px 10px;border-radius:11px;background:#f4f8f6;min-width:0}.pickup-rank{width:28px;height:28px;border-radius:50%;background:#deeee7;color:#156047;display:grid;place-items:center;flex:none;font-weight:700}.pickup-route-row>div{min-width:0;overflow-wrap:anywhere}.pickup-route-row small{display:block;font-size:11px;color:#5c716a;margin-top:5px}.pickup-route-time{margin-left:auto;text-align:right;flex:none}.pickup-route-time strong{color:#14694f;font-size:18px}.pickup-snapshot-note{font-size:12px;line-height:1.5;color:#506b62}.pickup-routing-panel [role=status]{margin:12px 0;line-height:1.5}.pickup-routing-panel[aria-busy=true] [role=status]:before{content:'';display:inline-block;width:11px;height:11px;margin-right:8px;border:2px solid #c8dfd8;border-top-color:#156b5b;border-radius:50%;animation:pickup-spin .85s linear infinite}@keyframes pickup-spin{to{transform:rotate(360deg)}}@media(max-width:620px){.pickup-routing-panel{padding:14px}.pickup-panel-heading,.pickup-result-heading{flex-wrap:wrap}.pickup-selection{grid-template-columns:1fr}.pickup-result{padding:12px}.pickup-route-row{gap:7px;padding:10px 7px}.pickup-route-time strong{font-size:16px}.pickup-panel-heading h4{font-size:18px}.pickup-actions button{flex:1;min-width:0;white-space:normal}.pickup-review{padding:12px}}@media(prefers-reduced-motion:reduce){.pickup-routing-panel[aria-busy=true] [role=status]:before{animation:none}}

.auto-dispatch{--auto-ink:#173f3b;--auto-border:#dce7e2;color:var(--auto-ink);max-width:1400px;margin:auto;min-width:0}.auto-dispatch *{box-sizing:border-box}.auto-dispatch-heading,.auto-dispatch-job-top,.auto-dispatch-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.auto-dispatch-heading h3{font-size:clamp(1.35rem,2vw,1.8rem);margin:.2em 0}.auto-dispatch h4{margin:0 0 12px;font-size:1.05rem}.auto-dispatch p{line-height:1.55;margin:.5em 0}.auto-dispatch .eyebrow{font-size:.7rem;letter-spacing:.15em;color:#56756c}.auto-dispatch-notice{min-height:1.5em;font-size:.85rem;color:#506f64}.auto-dispatch-location{display:block;max-width:390px;margin:16px 0}.auto-dispatch select,.auto-dispatch input:not([type=checkbox]),.auto-dispatch textarea{display:block;width:100%;min-width:0;padding:10px;border:1px solid #c8d9cf;border-radius:9px;background:#fff;color:#173f3b;font:inherit;margin-top:6px}.auto-dispatch textarea{resize:vertical}.auto-dispatch-banner{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid var(--auto-border);border-radius:15px;background:linear-gradient(115deg,#eef5f1,#f9fbf3);margin-bottom:18px}.auto-dispatch-banner>div{flex:1;min-width:0}.auto-dispatch-banner p{font-size:.85rem;color:#4a6257}.auto-dispatch-banner>span:last-child{font-size:.8rem;white-space:nowrap}.auto-dispatch-dot{flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:#b07b24;box-shadow:0 0 0 6px #b07b2412}.running .auto-dispatch-dot{background:#1d8e61;box-shadow:0 0 0 6px #1d8e6114}.auto-dispatch-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.auto-dispatch-card{min-width:0;padding:24px;border:1px solid var(--auto-border);border-radius:16px;background:#fff;box-shadow:0 4px 20px #173f3b05;margin-bottom:18px;overflow-wrap:anywhere}.auto-dispatch dl{margin:0}.auto-dispatch dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:14px;padding:13px 0;border-bottom:1px solid #edf1ed}.auto-dispatch dt{color:#587267;font-size:.85rem}.auto-dispatch dd{margin:0;font-size:.85rem}.auto-dispatch-terms{background:#f3f7f2;padding:16px;border-radius:12px;margin:18px 0;border-left:3px solid #b9b075}.auto-dispatch-terms small{font-size:.75rem;color:#5d7365}.auto-dispatch-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auto-dispatch label{font-size:.82rem}.auto-dispatch form>label{display:block;margin:15px 0}.auto-dispatch .auto-dispatch-check{display:flex;gap:10px;align-items:flex-start;line-height:1.5}.auto-dispatch input[type=checkbox]{flex-shrink:0;width:17px;height:17px;margin:2px 0;accent-color:#256c57}.auto-dispatch fieldset{border:1px solid #dce7df;border-radius:10px;padding:15px;margin:16px 0;max-height:240px;overflow:auto}.auto-dispatch legend{font-size:.82rem;padding:0 6px}.auto-dispatch fieldset label{margin:8px 0}.auto-dispatch .form-note{font-size:.78rem;color:#61766b}.auto-dispatch button{max-width:100%;white-space:normal;border:1px solid #c9d9cf;background:#f7faf7;border-radius:9px;padding:10px 14px;color:#22513e;font:inherit;font-size:.8rem;cursor:pointer}.auto-dispatch button.primary{background:#225d49;color:#fff;border-color:#225d49}.auto-dispatch button:disabled{opacity:.5;cursor:not-allowed}.auto-dispatch button:focus-visible,.auto-dispatch summary:focus-visible{outline:3px solid #e8b656;outline-offset:3px}.auto-dispatch-warning{padding:14px;border-radius:10px;background:#fff5df;border:1px solid #ecd7a8;font-size:.85rem}.auto-dispatch-job{border:1px solid #e1e9e2;border-radius:12px;padding:18px;margin:12px 0}.auto-dispatch-job>p{font-size:.78rem;color:#60766a}.auto-dispatch-job summary{cursor:pointer;font-size:.83rem;padding:8px 0}.auto-dispatch-job ol{padding-left:20px;font-size:.85rem}.auto-dispatch-job li{padding:8px}.auto-dispatch-job small{color:#6d7f74}.auto-dispatch-state{background:#eef3f0;border-radius:20px;padding:5px 11px;text-transform:capitalize;font-size:.75rem}.auto-dispatch-empty{text-align:center;padding:32px 14px;color:#60786a}.auto-dispatch-empty>span{display:inline-grid;place-items:center;font-size:2rem;border-radius:50%;width:60px;height:60px;background:#eff5ed;margin-bottom:16px}.auto-dispatch-empty p{max-width:460px;margin:auto;font-size:.85rem}@media(max-width:800px){.auto-dispatch-grid{grid-template-columns:1fr}.auto-dispatch-card{padding:18px}.auto-dispatch-banner{padding:16px;align-items:flex-start}.auto-dispatch-banner>span:last-child{display:none}}@media(max-width:420px){.auto-dispatch-fields{grid-template-columns:1fr}.auto-dispatch dl>div{grid-template-columns:1fr;gap:5px}.auto-dispatch-card{padding:14px}.auto-dispatch-heading{align-items:flex-start}.auto-dispatch-actions>button{flex:1}.auto-dispatch-job{padding:13px}}

.staff-shifts{color:#183f36;min-width:0}.shift-hero{padding:1.4rem;border-radius:18px;background:linear-gradient(125deg,#e7f4ed,#edf2ff 58%,#fff2e3);margin-bottom:1rem}.shift-hero h3{margin:.3rem 0}.shift-hero p:last-child{margin-bottom:0}.shift-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.shift-section-heading h3,.shift-section-heading h4{margin:.25rem 0}.shift-chip{display:inline-flex;padding:.35rem .65rem;border-radius:999px;background:#e3f2ed;color:#245c4b;font-size:.85em}.shift-chip.review{background:#fff0d7;color:#78491c}.shift-chip.recorded{background:#e7edf9;color:#38577e}.shift-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:.8rem}.shift-toolbar>div{display:flex;gap:.5rem;flex-wrap:wrap}.shift-toolbar label{flex:1;min-width:180px}.shift-toolbar input,.shift-toolbar select{margin-bottom:0}.shift-plan-grid,.shift-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.shift-plan-card,.shift-records>article{padding:1rem;border:1px solid #d4e4dd;border-radius:14px;background:#fbfdfb;min-width:0;overflow-wrap:anywhere}.shift-plan-card h4{margin:.8rem 0 .3rem}.shift-plan-card p{margin:.5rem 0}.shift-plan-card button{margin-top:.7rem}.shift-empty{padding:1rem;border-radius:14px;background:#f0f5f3;margin:1rem 0}.shift-ack{color:#456f65;font-size:.92em}.shift-comparison{margin:1.2rem 0;padding:1rem;background:#f7fafb;border:1px solid #dce7e6;border-radius:18px}.shift-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:1rem 0}.shift-metrics article{padding:.9rem;background:#fff;border-radius:12px;border:1px solid #e0e9e5;min-width:0}.shift-metrics small{display:block;color:#57746c;line-height:1.4}.shift-metrics strong{display:block;font-size:1.15em;margin-top:.4rem;overflow-wrap:anywhere}.shift-coverage{display:block;height:18px;width:100%;min-height:18px;overflow:hidden;border-radius:8px;background:#e5ebe9}.shift-coverage .closed{fill:#5085ad}.shift-coverage .provisional{fill:#e9b35d}.shift-coverage .unrecorded{fill:#cf818b}.shift-legend{display:flex;gap:.6rem 1rem;flex-wrap:wrap;font-size:.8em;margin:.6rem 0;color:#4c675f}.shift-legend span:before{content:'';display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:.35rem;background:#5085ad}.shift-legend span:nth-child(2):before{background:#e9b35d}.shift-legend span:nth-child(3):before{background:#cf818b}.shift-review-note{padding:.8rem;border-radius:10px;background:#fff2dc;color:#76521f}.shift-records{display:grid;gap:.7rem;margin-top:1rem}.shift-records p{margin:.5rem 0}.shift-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem}.shift-edit fieldset{min-width:0;border:1px solid #d3e2db;border-radius:12px;padding:1rem;margin:.8rem 0}.shift-edit>button[type=submit]{margin-top:1rem}.staff-shifts .sop-history article{overflow-wrap:anywhere}.staff-shifts label,.staff-shifts input,.staff-shifts select{min-width:0;max-width:100%}@media(max-width:680px){.shift-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.shift-plan-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:420px){.shift-two{grid-template-columns:minmax(0,1fr)}.shift-comparison{padding:.8rem}.shift-metrics article{padding:.65rem}.shift-hero{padding:1rem}.shift-toolbar label{min-width:100%}}
#app-dialog:has(.staff-shifts){width:min(860px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.staff-shifts{font-size:14px;line-height:1.6}
.staff-shifts p,.staff-shifts small{overflow-wrap:anywhere}
.staff-shifts label{display:grid;gap:7px;margin:14px 0;font-weight:600}
.staff-shifts input:not([type=checkbox]),.staff-shifts select{display:block;width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #b8cec4;border-radius:10px;background:#fff;color:#183f36;font:inherit;min-height:44px}
.staff-shifts input:focus-visible,.staff-shifts select:focus-visible{outline:2px solid #5085ad;outline-offset:2px}
.staff-shifts .check{display:flex;align-items:flex-start;gap:10px;font-weight:400;padding:12px 14px;border-radius:10px;background:#f1f7f4}
.staff-shifts .check input{flex:none;width:17px;height:17px;margin:3px 0 0;accent-color:#245c4b}
.staff-shifts .button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}
.staff-shifts .shift-two>label{margin:10px 0}
.staff-shifts form{margin:14px 0 20px}
.staff-shifts details>summary{cursor:pointer;padding:10px 0;font-weight:600}
.staff-shifts .sop-history article>small{display:block;color:#57746c;margin-top:4px}
.staff-shifts .shift-edit>h4{margin:22px 0 10px}
@media(max-width:420px){.staff-shifts{font-size:13px}.staff-shifts input:not([type=checkbox]),.staff-shifts select{padding:10px;min-height:44px}}

.extra-panel .assisted-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.extra-panel .assisted-steps>span{padding:12px;border:1px solid #e6dbf0;border-radius:12px;background:#f7f2fc;color:#715881;overflow-wrap:anywhere;font-size:12px}.extra-panel .assisted-steps .done{background:#eaf6f0;border-color:#cbe5d8;color:#285a45}.extra-panel .extra-state.awaiting_acknowledgement{background:#fff2d8;color:#805c24}.extra-panel .extra-state.declined{background:#fae9ed;color:#92455b}@media(max-width:680px){.extra-panel .assisted-steps{grid-template-columns:1fr}}

.reviewer-change-panel{margin:1rem 0;padding:1rem 1.1rem;border:1px solid #c8d7e5;border-radius:16px;background:linear-gradient(120deg,#f0f6fd,#faf5ff);color:#20394e;overflow-wrap:anywhere}.reviewer-change-panel p{margin:.4rem 0}.reviewer-change-panel .eyebrow{color:#355c7d}

.availability-files{margin:1.25rem 0;padding:1rem;border:1px solid #c8d7e5;border-radius:18px;background:#f5f8fd;overflow-wrap:anywhere}.availability-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:.8rem}.availability-file-grid article{padding:1rem;border:1px solid #dce3ef;background:#fff;border-radius:14px}.availability-file-grid article p{margin:.4rem 0}.availability-file-grid small{display:block;margin-bottom:.8rem}.availability-files form{margin-top:1rem;padding-top:1rem;border-top:1px solid #dce3ef}.availability-files input[type=file]{max-width:100%;padding:.7rem;font-size:12px}
.leave-types{margin:1rem 0}.leave-types>article{padding:1rem;margin:1rem 0;background:#f5f4fc;border:1px solid #dcd8f0;border-radius:16px}.leave-type-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.leave-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0;border:1px solid #dce6e5;border-radius:14px;padding:1rem}.leave-roles label{display:flex;align-items:center;gap:.5rem}.leave-roles input{width:auto}.leave-rule-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin:1rem 0}.leave-rule-cards article{padding:1rem;border:1px solid #cddfea;border-radius:16px;background:linear-gradient(145deg,#f3f8fc,#faf4ff);overflow-wrap:anywhere}.leave-rule-cards dt{font-size:12px;color:#526e73}.leave-rule-cards dd{margin:0 0 .7rem;font-weight:600}@media(max-width:600px){.leave-type-fields{grid-template-columns:1fr}.leave-roles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Assigned leave rules share the responsive, private People panels. */

.leave-ledger-table{overflow-x:auto;margin:16px 0;border:1px solid #d5dcef;border-radius:14px}.leave-ledger-table table{width:100%;border-collapse:collapse;font-size:13px}.leave-ledger-table th,.leave-ledger-table td{padding:12px;text-align:left;border-bottom:1px solid #e2e7f0;overflow-wrap:anywhere}.leave-ledger-table thead{background:#eef2fd;color:#30496d}.leave-ledger-table tbody tr:nth-child(even){background:#f5faf8}.leave-rule-cards strong{display:block;font-size:24px;color:#165b50;margin:12px 0}@media(max-width:600px){.leave-ledger-table th,.leave-ledger-table td{padding:8px 5px;font-size:11px}}

@media(max-width:600px){.leave-ledger-table{overflow:visible}.leave-ledger-table table{display:block;min-width:0;width:100%;table-layout:fixed}.leave-ledger-table thead{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden;white-space:nowrap}.leave-ledger-table tbody{display:block;width:100%}.leave-ledger-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.leave-ledger-table tbody th{grid-column:1/-1;font-size:12px;padding:12px;background:#eaf3ef;white-space:normal}.leave-ledger-table td{min-width:0;white-space:normal;font-size:12px;padding:12px 8px}.leave-ledger-table td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.4;color:#587079;margin-bottom:6px;font-weight:600}}

.leave-request-summary,.leave-request-policy {padding:1.1rem;border:1px solid #cfdfdc;border-radius:18px;background:linear-gradient(125deg,#eef8f3,#f7f4ec);margin:1rem 0;overflow-wrap:anywhere}.leave-request-summary h4,.leave-request-policy h4 {margin:.35rem 0}.leave-request-panel .sop-fields {grid-template-columns:repeat(2,minmax(0,1fr))}.leave-request-panel input,.leave-request-panel select,.leave-request-panel textarea {min-width:0;width:100%;box-sizing:border-box}.leave-request-panel .button {white-space:normal}.leave-request-numbers {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.leave-request-numbers article {border-radius:12px;background:#fff;padding:.75rem}.leave-request-numbers strong {display:block;font-size:1.25rem;color:#144b3b}.leave-request-panel small {overflow-wrap:anywhere}@media(max-width:600px){.leave-request-panel .sop-fields {grid-template-columns:1fr}.leave-request-numbers {grid-template-columns:1fr}.leave-request-panel {padding:.8rem}}
.leave-request-panel .check{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.leave-request-panel .check input[type=checkbox]{width:18px;min-width:18px;height:18px;flex:0 0 18px;margin:4px 0 0}

.shift-plan-grid.is-attendance{grid-template-columns:minmax(0,1fr)}.shift-review-heading{padding:1rem 0}.shift-review-summary,.shift-review-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.shift-review-summary article:nth-child(2){background:#fff4df}.shift-review-summary article:nth-child(3){background:#fff6e8}.shift-review-summary article:nth-child(4){background:#fff0f1}@media(max-width:680px){.shift-review-summary,.shift-review-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

#app-dialog:has(.staff-rotas){width:min(980px,calc(100vw - 24px))}.staff-rotas .shift-hero{background:linear-gradient(120deg,#e4f3ef,#edf0fc 60%,#fff0d6)}.rota-cards,.rota-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rota-cards>article,.rota-occurrences>article,.rota-metrics>article{padding:18px;border:1px solid #d0e2dc;border-radius:15px;background:#fbfdfc;min-width:0;overflow-wrap:anywhere}.rota-cards>article h4{margin:12px 0 6px}.rota-metrics{margin:18px 0}.rota-metrics strong{display:block;font-size:23px;color:#184c43;margin-top:8px}.rota-metrics small{color:#58766e}.rota-metrics>article:nth-child(2){background:#eef3fc;border-color:#d8e2f5}.rota-metrics>article:nth-child(3){background:#fff4e4;border-color:#f0dfc2}.rota-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.staff-rotas .rota-weekdays .check{margin:8px 0;padding:10px 5px;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px}.staff-rotas fieldset{border:1px solid #ccdfd5;border-radius:14px;padding:16px;min-width:0;margin:18px 0}.rota-occurrences{display:grid;gap:12px}.rota-occurrences .rota-conflict{background:#fff4e9;border-color:#e9bf95}.rota-occurrences p{margin:8px 0}.rota-occurrences .button{display:block;margin-top:12px}.staff-rotas form>button[type=submit]{margin-top:18px}.rota-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:680px){.rota-weekdays{grid-template-columns:repeat(4,minmax(0,1fr))}.rota-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rota-cards{grid-template-columns:1fr}.rota-metrics>article:last-child{grid-column:1/-1}}@media(max-width:420px){.rota-occurrences>article,.rota-metrics>article{padding:12px}.rota-weekdays{gap:5px}.staff-rotas fieldset{padding:12px}.rota-metrics strong{font-size:19px}}

.rota-cancellation .rota-cancel-selected{background:#fff3e6;border-color:#d9a05d}.rota-cancellation .rota-cancel-result{padding:24px;border-radius:16px;border:1px solid #bddbcf;background:#edf8f2}.rota-cancellation .rota-cancel-result h3{margin-top:14px}.rota-cancellation .shift-section-heading{gap:10px;flex-wrap:wrap}

.rota-templates .rt-overview{padding:16px;border-radius:14px;background:#f1f7f5;margin:16px 0}.rota-templates .rt-time{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rota-templates .rt-time strong{font-size:20px}.rota-templates .rt-days-label{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.rota-templates .rt-days-label span{padding:5px 9px;border-radius:9px;background:#e1ebfc;color:#294d7d;font-size:12px}.rota-templates .rt-timeline{display:block;width:100%;height:20px;border-radius:7px;overflow:hidden}.rota-templates .rt-track{fill:#f2d5a3}.rota-templates .rt-work{fill:#347b6c}.rota-templates .rt-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.rota-templates .rt-days .check{margin:0;justify-content:center;flex-wrap:wrap}.rota-templates .rt-filters{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:end}.rota-templates .rt-filters>button{margin:0!important}.rota-templates details{margin:15px 0}.rota-templates summary{cursor:pointer;font-weight:650}.rota-templates .shift-section-heading{gap:12px;flex-wrap:wrap}@media(max-width:680px){.rota-templates .rt-days{grid-template-columns:repeat(4,minmax(0,1fr))}.rota-templates .rt-filters{grid-template-columns:1fr}.rota-templates .rt-time strong{font-size:17px}}

#app-dialog:has(.staff-calendar){width:min(1240px,calc(100vw - 24px))}.staff-calendar .shift-hero{background:linear-gradient(120deg,#e2f3ed,#eaf0ff 62%,#fcead6)}.staff-cal-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.staff-cal-filters .check{align-self:end;min-height:44px;box-sizing:border-box}.staff-cal-toolbar,.staff-cal-toolbar>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.staff-cal-toolbar{justify-content:space-between;margin:12px 0 20px}.staff-cal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.staff-cal-metrics>article{padding:17px;border:1px solid #d5e5de;border-radius:16px;background:#f6faf8;min-width:0}.staff-cal-metrics>article:nth-child(2),.staff-cal-metrics>article:nth-child(5){background:#eef3fd;border-color:#d8e2f6}.staff-cal-metrics>article:nth-child(4),.staff-cal-metrics>article:nth-child(6){background:#fff3df;border-color:#f1dfbd}.staff-cal-metrics small{display:block;color:#567367;line-height:1.5}.staff-cal-metrics strong{display:block;font-size:25px;margin-top:8px;overflow-wrap:anywhere}.staff-cal-legend,.staff-cal-tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.staff-cal-legend>span,.staff-cal-tag{display:inline-flex;border-radius:30px;padding:5px 9px;font-size:12px;background:#e9f0f8;color:#315e86}.staff-cal-legend .extra,.staff-cal-tag.extra{background:#fff0cf;color:#805619}.staff-cal-legend .cancelled,.staff-cal-tag.cancelled{background:#edf0f0;color:#67746f}.staff-cal-legend .overlap,.staff-cal-tag.overlap{background:#ffe7e6;color:#963f42}.staff-cal-scroll{max-width:100%;overflow:auto;max-height:580px;border:1px solid #d4e2dd;border-radius:15px;background:#fff}.staff-cal-table{min-width:1200px}.staff-cal-table.period-14{min-width:1600px}.staff-cal-axis,.staff-cal-timeline-row{display:grid;grid-template-columns:200px minmax(0,1fr)}.staff-cal-axis{position:sticky;top:0;z-index:3;background:#eef4f1;border-bottom:1px solid #cedfd5;min-height:48px;align-items:center}.staff-cal-axis>strong{position:sticky;left:0;background:#eef4f1;height:100%;display:flex;align-items:center;padding:10px 14px;box-sizing:border-box}.staff-cal-date-grid{display:grid;text-align:center;font-size:12px;font-weight:600;align-items:center}.staff-cal-date-grid.days-1{grid-template-columns:1fr}.staff-cal-date-grid.days-7{grid-template-columns:repeat(7,minmax(0,1fr))}.staff-cal-date-grid.days-14{grid-template-columns:repeat(14,minmax(0,1fr))}.staff-cal-date-grid>span{border-left:1px solid #d4e2dc;padding:9px 4px}.staff-cal-timeline-row{border-bottom:1px solid #e0e9e4;align-items:stretch}.staff-cal-timeline-row:last-child{border:0}.staff-cal-person{position:sticky;left:0;z-index:2;background:#fff;padding:12px 14px;border-right:1px solid #d6e3dd;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:center}.staff-cal-person small{display:block;color:#637a70}.staff-cal-track{display:block;width:100%;min-width:0;overflow:visible}.staff-cal-grid-line{stroke:#e0e9e6;stroke-width:1}.staff-cal-bar{cursor:pointer;outline:none}.staff-cal-base{fill:#dbe8f8;stroke:#5780ae;stroke-width:1}.staff-cal-work{fill:#5780ae;pointer-events:none}.staff-cal-bar.extra .staff-cal-base{fill:#fff0cb;stroke:#bc8530}.staff-cal-bar.extra .staff-cal-work{fill:#c69a45}.staff-cal-bar.cancelled .staff-cal-base{fill:#eef0ef;stroke:#82948b;stroke-dasharray:5 3}.staff-cal-bar.cancelled .staff-cal-work{fill:#b7c3bb;opacity:.5}.staff-cal-bar.overlap .staff-cal-base{stroke:#c4444f;stroke-width:3}.staff-cal-bar:focus .staff-cal-base,.staff-cal-bar:hover .staff-cal-base{stroke:#173d34;stroke-width:3}.staff-cal-bar text{fill:#fff;font:11px Arial,sans-serif;pointer-events:none}.staff-cal-empty-text{fill:#71857b;font:12px Arial,sans-serif}.staff-cal-calendar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.staff-cal-day{border:1px solid #d7e4dd;border-radius:16px;background:#f8fbf9;padding:14px;min-width:0}.staff-cal-day>header{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #d8e5dd;padding-bottom:12px}.staff-cal-day>header>strong{font-size:17px}.staff-cal-day>header>small{color:#557267}.staff-cal-plan{padding:14px;border:1px solid #d8e3df;border-radius:12px;background:#fff;margin-bottom:10px;min-width:0;overflow-wrap:anywhere}.staff-cal-plan h4{margin:8px 0}.staff-cal-plan p{margin:8px 0;font-size:13px}.staff-cal-plan>small{display:block;color:#5e766a;font-size:12px}.staff-cal-plan .button{margin-top:12px}.staff-cal-plan.cancelled{background:#f0f3f1}.staff-cal-tags{margin:0 0 8px}.staff-cal-tag{padding:4px 7px;font-size:11px}.staff-cal-list-person{margin:18px 0;padding:18px;border:1px solid #d7e4dd;border-radius:16px;background:#f8fbf9}.staff-cal-list-person>h3{margin:0}.staff-cal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.staff-cal-empty{padding:15px;background:#eef4f0;border-radius:12px;color:#587366}.staff-cal-loading{padding:18px;border-radius:14px;background:linear-gradient(110deg,#eaf5ef,#edf1fc);color:#305f4d}@media(max-width:900px){.staff-cal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-cal-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.staff-cal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-cal-calendar,.staff-cal-list{grid-template-columns:1fr}.staff-cal-toolbar>div{gap:6px}.staff-cal-toolbar .button{padding:9px 11px;font-size:12px}.staff-cal-day{padding:12px}.staff-cal-metrics>article{padding:13px}.staff-cal-metrics strong{font-size:21px}}@media(max-width:420px){.staff-cal-filters{grid-template-columns:1fr}.staff-cal-metrics>article{padding:11px}.staff-cal-metrics strong{font-size:19px}.staff-cal-scroll{max-height:440px}.staff-cal-list-person{padding:12px}.staff-cal-plan{padding:12px}}

.staff-cal-hours{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));font-size:11px;color:#597468}.staff-cal-hours>span{padding:4px 5px;border-left:1px solid #dae6df}@media(max-width:680px){.staff-cal-axis,.staff-cal-timeline-row{grid-template-columns:120px minmax(0,1fr)}.staff-cal-table{min-width:960px}.staff-cal-table.period-14{min-width:1520px}.staff-cal-person{padding:10px;font-size:12px}}

.staff-cal-legend .availability,.staff-cal-tag.availability{background:#f0e9ff;color:#624395}.staff-cal-plan.availability{border-color:#d8c8ed;background:linear-gradient(135deg,#faf7ff,#f4effb)}.staff-cal-bar.availability .staff-cal-base{fill:#e9def7;stroke:#8c67b2;stroke-dasharray:4 2}.staff-cal-bar.availability .staff-cal-work{fill:#8c67b2}.staff-cal-bar.availability.cancelled .staff-cal-work{fill:#b7c3bb;opacity:.5}.staff-cal-metrics>article:nth-child(3),.staff-cal-metrics>article:nth-child(6),.staff-cal-metrics>article:nth-child(7){background:#f6f0fc;border-color:#e0d2ef}

.shift-duty-panel{display:grid;gap:18px;min-width:0}.shift-duty-hero{padding:24px;border-radius:20px;background:linear-gradient(125deg,#eaf4f0,#edf0fc 65%,#fff1e4)}.shift-duty-hero h3{margin:6px 0 10px}.shift-duty-hero p:last-child{margin:0;color:#526961}.shift-duty-panel form{display:grid;gap:18px}.shift-duty-panel input,.shift-duty-panel textarea,.shift-duty-panel select{box-sizing:border-box;min-width:0;max-width:100%;width:100%}.shift-duty-panel input[type=checkbox]{width:auto}.shift-duty-source{padding:20px;border:1px solid #d3e4dd;border-radius:16px;background:#f4f9f6;min-width:0;overflow-wrap:anywhere}.shift-duty-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shift-duty-heading h4{margin:5px 0}.shift-duty-heading .eyebrow{margin:0}.shift-duty-pill{flex-shrink:0;padding:7px 10px;border-radius:24px;background:#dfede7;font-size:12px;color:#295c49}.shift-duty-source p{margin:12px 0;line-height:1.6}.shift-duty-source small{color:#526961;line-height:1.6}.shift-duty-warning{padding:12px;border-radius:10px;background:#fff0d7;color:#76500e}.shift-duty-colleague{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:0;padding:14px 18px;border-radius:12px;background:#eef2fb}.shift-duty-colleague span{color:#53627b}.shift-duty-success{padding:24px;background:#edf7f1;border:1px solid #cee4d6;border-radius:16px}.shift-duty-panel .sop-actions{display:flex;gap:10px;flex-wrap:wrap}.shift-duty-panel label{display:grid;gap:9px}.shift-duty-panel label.check{display:flex;align-items:flex-start;gap:10px}.shift-duty-panel label.check input{margin-top:4px;flex-shrink:0}@media(max-width:480px){.shift-duty-heading{flex-direction:column}.shift-duty-hero,.shift-duty-source,.shift-duty-success{padding:16px}.shift-duty-panel input[type=datetime-local]{font-size:13px}.shift-duty-panel .sop-actions .button{flex:1}.shift-duty-panel{gap:16px}}
#app-dialog:has(.shift-duty-panel){width:min(850px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.shift-duty-panel label{font-size:14px;font-weight:600;color:#214b40}.shift-duty-panel input,.shift-duty-panel textarea,.shift-duty-panel select{border:1px solid #b9cec5;border-radius:10px;background:#fff;padding:12px 13px;color:#173d32;font:inherit;font-weight:400;line-height:1.5;min-height:46px}.shift-duty-panel input:focus,.shift-duty-panel textarea:focus,.shift-duty-panel select:focus{outline:2px solid #6ba68f;outline-offset:2px}.shift-duty-panel textarea{min-height:110px;resize:vertical}.shift-duty-panel input[type=checkbox]{min-height:auto;padding:0;accent-color:#285b49}.shift-duty-panel label.check{font-weight:400;padding:13px;background:#edf4f0;border-radius:10px;line-height:1.6}

#app-dialog:has(.rota-duty-panel){width:min(920px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.rota-duty-panel{display:grid;gap:18px;min-width:0}.rota-duty-hero{padding:24px;border-radius:20px;background:linear-gradient(125deg,#eaf4f0,#edf0fc 65%,#fff1e4)}.rota-duty-hero h3{margin:7px 0 10px}.rota-duty-hero p:last-child{margin:0;color:#526961}.rota-duty-panel form,.rota-duty-review{display:grid;gap:18px}.rota-duty-panel label{display:grid;gap:9px;color:#214b40;font-size:14px;font-weight:600}.rota-duty-panel input,.rota-duty-panel textarea,.rota-duty-panel select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:46px;padding:12px 13px;background:#fff;color:#173d32;border:1px solid #b9cec5;border-radius:10px;font:inherit;font-weight:400;line-height:1.5}.rota-duty-panel textarea{min-height:110px;resize:vertical}.rota-duty-panel input:focus,.rota-duty-panel textarea:focus,.rota-duty-panel select:focus{outline:2px solid #6ba68f;outline-offset:2px}.rota-duty-panel label.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.6;padding:13px;border-radius:10px;background:#edf4f0}.rota-duty-panel input[type=checkbox]{width:auto;min-height:0;margin-top:5px;accent-color:#285b49;flex-shrink:0}.rota-duty-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rota-duty-person{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 18px;background:#eef2fb;border-radius:14px}.rota-duty-person span{color:#53627b}.rota-duty-person small{width:100%;color:#526961}.rota-duty-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rota-duty-metrics article{padding:16px;background:#edf4f0;border-radius:14px;display:grid;gap:8px}.rota-duty-metrics article:nth-child(2){background:#eaf0fc}.rota-duty-metrics article:nth-child(3){background:#f2f2f2}.rota-duty-metrics article:nth-child(4){background:#fff1dc}.rota-duty-metrics strong{font-size:26px;color:#214b40}.rota-duty-rows{display:grid;gap:14px}.rota-duty-rows>article{padding:18px;border:1px solid #d2e1da;border-radius:14px;background:#fbfdfb;overflow-wrap:anywhere}.rota-duty-row-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.rota-duty-chip{padding:6px 10px;border-radius:22px;background:#edf0f0;color:#4e5f58;font-size:12px;flex-shrink:0}.rota-duty-chip.assign{background:#dff1e5;color:#24583d}.rota-duty-chip.already_linked{background:#e7edfc;color:#3b5289}.rota-duty-chip.review{background:#fff0d7;color:#76500e}.rota-duty-warning{padding:12px;border-radius:10px;background:#fff0d7;color:#76500e;line-height:1.6}.rota-duty-rows p{margin:12px 0;line-height:1.6}.rota-duty-rows small{color:#526961}.rota-duty-deadline{font-weight:600;color:#24583d}.rota-duty-pages,.rota-duty-panel .sop-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rota-duty-success{display:grid;gap:15px}.rota-duty-success h4{color:#24583d}@media(max-width:540px){.rota-duty-two{grid-template-columns:1fr}.rota-duty-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rota-duty-row-heading{flex-direction:column}.rota-duty-hero,.rota-duty-rows>article{padding:16px}.rota-duty-panel .sop-actions .button{flex:1}.rota-duty-panel input[type=date]{font-size:13px}}

#app-dialog:has(.rota-coverage-panel){width:min(1060px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.rota-coverage-panel{display:grid;gap:18px;min-width:0;color:#203f39}.coverage-hero{padding:24px;border-radius:20px;background:linear-gradient(120deg,#e8f5ee,#e9eefc 65%,#fff0de)}.coverage-hero h3{margin:7px 0 10px}.coverage-hero p:last-child{margin:0;color:#50675e}.coverage-toolbar,.coverage-pages{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.coverage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.coverage-metrics article{display:grid;gap:9px;padding:18px;border-radius:16px;background:#edf5f0}.coverage-metrics article:nth-child(2),.coverage-metrics article:nth-child(4){background:#e9effb}.coverage-metrics article:nth-child(5),.coverage-metrics article:nth-child(6){background:#fff0da}.coverage-metrics span{font-size:13px}.coverage-metrics strong{font-size:29px}.coverage-flow{padding:18px;border:1px solid #d4e2dc;border-radius:16px}.coverage-flow svg{display:block;width:100%;height:18px;border-radius:10px;background:#edf1ee}.coverage-assigned{fill:#5373c9}.coverage-submitted{fill:#e3ae3c}.coverage-changes_requested{fill:#e58b50}.coverage-verified{fill:#42936a}.coverage-cancelled{fill:#a9b7b1}.coverage-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:12px}.coverage-legend span,.coverage-pill{padding:7px 10px;border-radius:20px;background:#eef2f0;color:#405b50}.coverage-pill{font-size:12px;display:inline-block}.coverage-legend .coverage-verified,.coverage-pill.coverage-verified{background:#e1f2e7;color:#236140}.coverage-legend .coverage-assigned,.coverage-pill.coverage-open,.coverage-pill.coverage-assigned{background:#e7edfc;color:#3c5592}.coverage-legend .coverage-submitted,.coverage-pill.coverage-submitted,.coverage-pill.coverage-changes_requested{background:#fff0d4;color:#77530f}.coverage-filter{display:grid;gap:8px;max-width:320px;font-weight:600;font-size:14px}.coverage-filter select{min-height:46px;padding:12px;max-width:100%;width:100%;background:white;border:1px solid #b9cec5;border-radius:10px;color:#203f39;font:inherit}.coverage-filter select:focus{outline:2px solid #6ba68f;outline-offset:2px}.coverage-rows{display:grid;gap:20px}.coverage-shift{padding:22px;border:1px solid #d3e0d9;border-radius:18px;background:#fbfdfb;min-width:0;overflow-wrap:anywhere}.coverage-shift>header,.coverage-task>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.coverage-shift h4{margin:8px 0}.coverage-shift p{line-height:1.6}.coverage-task-list{display:grid;gap:12px;margin-top:16px}.coverage-task{padding:16px;background:white;border:1px solid #d9e3de;border-radius:13px}.coverage-task .button{margin-top:12px}.coverage-task small{display:block;color:#51675d;line-height:1.6}.coverage-note,.coverage-empty,.coverage-notice{padding:15px;border-radius:12px;background:#edf3f0;line-height:1.6}.coverage-warning{padding:12px;background:#fff0d9;color:#765015;border-radius:10px;line-height:1.6}.coverage-alert{color:#a4472e}.coverage-shift small{color:#526a5e}.coverage-pages{padding-top:10px;font-size:13px}@media(max-width:560px){.coverage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.coverage-hero,.coverage-shift{padding:16px}.coverage-task>div,.coverage-shift>header{flex-direction:column}.coverage-filter{max-width:none}.coverage-toolbar .button{flex:1}.coverage-legend{gap:8px}.coverage-metrics article{padding:14px}.coverage-task{padding:13px}}

#app-dialog:has(.duty-handover-panel){width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.duty-handover-panel{display:grid;gap:18px;min-width:0;color:#203f39}.duty-handover-hero{padding:24px;border-radius:20px;background:linear-gradient(120deg,#e6f2ed,#edf0fb 60%,#fff0df)}.duty-handover-hero h3{margin:7px 0 10px}.duty-handover-hero p:last-child{margin:0;color:#52675e}.duty-handover-source{padding:19px;border-radius:15px;background:#eef3fc;border:1px solid #dce4f3;overflow-wrap:anywhere}.duty-handover-source h4{margin:10px 0}.duty-handover-source p{line-height:1.6}.duty-handover-source small{color:#4f6275}.duty-handover-panel form{display:grid;gap:18px}.duty-handover-panel label{display:grid;gap:9px;font-size:14px;font-weight:600}.duty-handover-panel input,.duty-handover-panel select,.duty-handover-panel textarea{box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:46px;padding:12px 13px;border:1px solid #b9cec5;border-radius:10px;background:white;color:#203f39;font:inherit;font-weight:400;line-height:1.5}.duty-handover-panel textarea{min-height:100px;resize:vertical}.duty-handover-panel :is(input,select,textarea):focus{outline:2px solid #6ba68f;outline-offset:2px}.duty-handover-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.duty-handover-panel label.check{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:11px;background:#edf4f0;font-weight:400;line-height:1.6}.duty-handover-panel input[type=checkbox]{width:auto;min-height:0;margin-top:5px;accent-color:#285c48;flex-shrink:0}.duty-handover-notice{padding:16px;border-radius:12px;background:#fff1db;color:#755017;line-height:1.6}.duty-handover-success{padding:22px;background:#e8f4ed;border-radius:16px;line-height:1.7}.duty-handover-panel .sop-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:560px){.duty-handover-two{grid-template-columns:1fr}.duty-handover-hero,.duty-handover-source{padding:16px}.duty-handover-panel .sop-actions .button{flex:1}.duty-handover-panel input[type=datetime-local]{font-size:13px}}

#app-dialog:has(.handover-assignment-panel){width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px)}.handover-assignment-panel{display:grid;gap:18px;min-width:0;color:#203f39}.handover-assignment-hero{padding:24px;border-radius:20px;background:linear-gradient(120deg,#e6f2ed,#edf0fb 60%,#fff0df)}.handover-assignment-hero h3{margin:7px 0 10px}.handover-assignment-hero p:last-child{margin:0;color:#52675e}.handover-assignment-source{padding:19px;border-radius:15px;background:#eef3fc;border:1px solid #dce4f3;overflow-wrap:anywhere}.handover-assignment-source h4{margin:10px 0}.handover-assignment-source p{line-height:1.6}.handover-assignment-source small{color:#4f6275}.handover-assignment-panel form{display:grid;gap:18px}.handover-assignment-panel label{display:grid;gap:9px;font-size:14px;font-weight:600}.handover-assignment-panel input,.handover-assignment-panel select,.handover-assignment-panel textarea{box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:46px;padding:12px 13px;border:1px solid #b9cec5;border-radius:10px;background:white;color:#203f39;font:inherit;font-weight:400;line-height:1.5}.handover-assignment-panel textarea{min-height:100px;resize:vertical}.handover-assignment-panel :is(input,select,textarea):focus{outline:2px solid #6ba68f;outline-offset:2px}.handover-assignment-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.handover-assignment-panel label.check{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:11px;background:#edf4f0;font-weight:400;line-height:1.6}.handover-assignment-panel input[type=checkbox]{width:auto;min-height:0;margin-top:5px;accent-color:#285c48;flex-shrink:0}.handover-assignment-notice{padding:16px;border-radius:12px;background:#fff1db;color:#755017;line-height:1.6}.handover-assignment-success{padding:22px;background:#e8f4ed;border-radius:16px;line-height:1.7}.handover-assignment-panel .sop-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:560px){.handover-assignment-two{grid-template-columns:1fr}.handover-assignment-hero,.handover-assignment-source{padding:16px}.handover-assignment-panel .sop-actions .button{flex:1}.handover-assignment-panel input[type=datetime-local]{font-size:13px}}

.handover-assignment-person{padding:18px;border-radius:14px;background:#edf5ee;display:grid;gap:8px}.handover-assignment-person strong{font-size:18px}.handover-assignment-person p{margin:4px 0;line-height:1.6}.handover-assignment-person small{color:#51695c}

.bag-kitchen-notice,.bag-kitchen-undo{padding:16px;margin:16px 0;border:1px solid #d4e1d6;border-radius:12px;background:#f1f6ef;color:#21483c;font-size:.85rem;line-height:1.55}.bag-kitchen-notice strong{display:block;margin-bottom:5px}.bag-kitchen-notice p,.bag-kitchen-undo p{margin:4px 0 10px}.bag-kitchen-notice button,.bag-kitchen-undo button{width:100%}.bag-kitchen-review{color:#21483c;line-height:1.55}.bag-kitchen-review>p{font-size:.9rem}.bag-kitchen-options{display:grid;gap:14px;margin:18px 0}.bag-kitchen-choice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:18px;border:1px solid #d6e3d9;border-radius:12px;background:#fafcf9;cursor:pointer;overflow-wrap:anywhere}.bag-kitchen-choice:has(input:checked){border-color:#266d55;background:#eff7ef;box-shadow:0 0 0 1px #266d55}.bag-kitchen-choice:has(input:disabled){background:#f5f5f2;color:#6b746c;cursor:default}.bag-kitchen-choice input{margin:5px 0 0;accent-color:#266d55;width:17px;height:17px}.bag-kitchen-choice strong,.bag-kitchen-choice small{display:block}.bag-kitchen-choice small{color:#66786b;font-size:.78rem}.bag-kitchen-choice ul{padding-left:18px;margin:12px 0;font-size:.85rem}.bag-kitchen-subtotal{font-weight:700;font-size:.88rem}.bag-kitchen-impact{padding:14px;background:#fff5e5;border:1px solid #ebd9b2;border-radius:10px;font-size:.85rem;margin:12px 0}.bag-kitchen-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:.85rem}.bag-kitchen-confirm input{flex:0 0 17px;height:17px;accent-color:#266d55;margin-top:3px}.bag-kitchen-review button{max-width:100%;white-space:normal}@media(max-width:420px){.bag-kitchen-choice{padding:14px;gap:9px}.bag-kitchen-notice,.bag-kitchen-undo{padding:13px}}

.kitchen-tasks{color:#173d39;max-width:100%;overflow-wrap:anywhere}.kitchen-tasks h3{font-size:1.45rem;margin:.2rem 0 .8rem}.kt-kicker{font-size:.7rem;letter-spacing:.13em;font-weight:800;color:#38756c;margin:0 0 .4rem}.kt-heading{display:flex;align-items:start;gap:1rem;justify-content:space-between}.kt-heading p:not(.kt-kicker){color:#657975;font-size:.85rem;max-width:42rem}.kt-heading>.button{flex-shrink:0}.kt-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin:1rem 0}.kt-metric{display:flex;flex-direction:column;border:1px solid #dbe7e3;border-radius:12px;padding:.7rem;background:#f3f7f5}.kt-metric strong{font-size:1.35rem}.kt-metric span{font-size:.7rem;margin-top:.1rem}.kt-metric.kt-completed{background:#e8f5eb;color:#23704b}.kt-metric.kt-blocked{background:#fff0e7;color:#98401e}.kt-metric.kt-in_progress{background:#eaf3fb;color:#255a8a}.kt-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.kt-results{font-size:.78rem;color:#657975}.kt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.kt-card,.kt-edit-row{padding:1rem;border:1px solid #dbe7e3;border-radius:14px;background:#fff;min-width:0}.kt-card header{display:flex;justify-content:space-between;gap:.5rem;font-size:.7rem;color:#647b76}.kt-state{border-radius:20px;background:#f0f5f3;padding:.18rem .5rem;color:#365c54}.kt-blocked .kt-state{background:#ffede3;color:#98401e}.kt-completed .kt-state{background:#e4f3e8;color:#23704b}.kt-in_progress .kt-state{background:#e8f0ff;color:#255a8a}.kt-card h4,.kt-edit-row h4{margin:.8rem 0 .3rem;font-size:1rem}.kt-quantity{font-size:.78rem;color:#657975}.kt-owner{display:flex;flex-direction:column;gap:.25rem;margin:.8rem 0;font-size:.8rem}.kt-owner span{font-size:.7rem;color:#657975}.kt-instructions,.kt-report{white-space:pre-wrap;font-size:.8rem;line-height:1.6}.kt-completion{font-size:.72rem;color:#38756c;border-top:1px solid #edf1ed;padding-top:.7rem}.kt-card-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem}.kt-empty{border:1px dashed #b4c9c2;border-radius:14px;padding:1.2rem;background:#f5f8f5;margin:1rem 0}.kt-empty h4{margin:0 0 .6rem}.kt-empty p{color:#647b76;font-size:.85rem}.kt-editor{display:grid;gap:.7rem}.kt-edit-row>span{font-size:.8rem;color:#647b76}.kt-edit-fields{display:grid;grid-template-columns:2fr 1fr;gap:.6rem;margin-top:.8rem}.kt-confirm{display:flex;align-items:flex-start;gap:.6rem;font-size:.85rem;line-height:1.5;padding:.8rem;border-radius:12px;background:#eef5f0;margin:.8rem 0}.kt-confirm input{width:18px;height:18px;flex-shrink:0;margin:.1rem 0}.kt-history{border-top:1px solid #dbe7e3;padding-top:1rem;margin-top:1.2rem;font-size:.8rem}.kt-history summary{font-weight:700;cursor:pointer}.kt-history ol{padding-left:1rem}.kt-history li{padding:.6rem 0}.kt-history li>span{display:block;color:#657975;font-size:.7rem;margin-top:.3rem}.kt-pages{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.kt-order-summary{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin:.6rem 0;font-size:.78rem}.kt-order-summary span{color:#657975}.kt-order-summary small{color:#98401e}.kitchen-tasks .field{min-width:0}.kitchen-tasks input,.kitchen-tasks textarea,.kitchen-tasks select{max-width:100%;min-width:0;box-sizing:border-box}.kitchen-tasks .form-note{font-size:.76rem;line-height:1.6}@media(max-width:600px){.kt-heading{flex-direction:column}.kt-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.kt-filters{grid-template-columns:1fr}.kt-grid{grid-template-columns:1fr}.kt-edit-fields{grid-template-columns:1fr}.kt-heading>.button{width:100%}.kt-card-actions .button{white-space:normal}.kitchen-tasks h3{font-size:1.25rem}}

#app-dialog:has(.kitchen-tasks){width:min(960px,calc(100% - 32px));max-width:960px}@media(min-width:760px){.kt-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.kt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

#app-dialog:has(.kitchen-station-board){width:min(1160px,calc(100% - 32px));max-width:1160px}.kitchen-station-board{color:#173d39;overflow-wrap:anywhere;max-width:100%}.kb-heading{display:flex;justify-content:space-between;gap:1rem;align-items:start}.kb-kicker{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:#38756c;margin:0 0 .3rem}.kb-heading h3{font-size:1.55rem;margin:0 0 .45rem}.kb-updated{font-size:.75rem;color:#647b76;margin:0}.kb-tools{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}.kb-tools label{display:flex;gap:.4rem;align-items:center;font-size:.75rem}.kb-tools input{width:16px;height:16px}.kb-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1.2rem 0}.kb-summary>div{background:#f1f6f3;padding:.8rem 1rem;border:1px solid #dbe7e3;border-radius:13px;display:flex;flex-direction:column;gap:.3rem}.kb-summary strong{font-size:1.6rem}.kb-summary span{font-size:.75rem;color:#526e66}.kb-filter-panel{border:1px solid #dbe7e3;border-radius:12px;background:#fafcfb;padding:.8rem 1rem}.kb-filter-panel>summary{font-size:.85rem;font-weight:700;cursor:pointer}.kb-filter-panel>summary>span{font-weight:400;color:#647b76;margin-left:.5rem}.kb-filter-panel form{margin-top:1rem}.kb-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.kb-filter-grid .field{min-width:0;margin:0}.kb-filter-grid input,.kb-filter-grid select{max-width:100%;min-width:0;box-sizing:border-box}.kb-filter-actions{display:flex;gap:.5rem;margin:.7rem 0;flex-wrap:wrap}.kb-no-area{display:flex;gap:.5rem;align-items:center;font-size:.8rem;margin-top:.8rem}.kb-no-area input{width:16px;height:16px}.kb-live-note,.kb-caption,.kb-footnote{font-size:.74rem;line-height:1.65;color:#647b76}.kb-statuses{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;margin:.9rem 0}.kb-status{border-radius:12px;padding:.65rem .8rem;background:#f0f5f3;display:flex;align-items:center;gap:.6rem;min-width:0}.kb-status strong{font-size:1.2rem}.kb-status span{font-size:.73rem}.kb-status.kb-completed,.kb-completed .kb-state{background:#e5f5e9;color:#23704b}.kb-status.kb-blocked,.kb-blocked .kb-state{background:#fff0e5;color:#98401e}.kb-status.kb-in_progress,.kb-in_progress .kb-state{background:#e9f2ff;color:#255a8a}.kb-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.kb-task{border:1px solid #dbe7e3;border-radius:14px;background:#fff;padding:1rem;min-width:0;display:flex;flex-direction:column;align-items:start}.kb-task header{display:flex;justify-content:space-between;gap:.5rem;width:100%;font-size:.7rem;color:#647b76}.kb-state{border-radius:20px;padding:.2rem .5rem;background:#f0f5f3;color:#365c54}.kb-reference{font-size:.7rem;color:#647b76;margin:.9rem 0 .5rem}.kb-task h4{font-size:1rem;margin:0 0 .35rem}.kb-portions{font-size:.8rem;margin:0;color:#526e66}.kb-person{display:flex;flex-direction:column;gap:.2rem;font-size:.8rem;margin:.9rem 0}.kb-person span{font-size:.7rem;color:#647b76}.kb-instructions,.kb-last-note{font-size:.79rem;line-height:1.6;white-space:pre-wrap}.kb-warning{font-size:.75rem;line-height:1.5;color:#98401e;background:#fff2e9;padding:.6rem;border-radius:8px}.kb-food-facts{font-size:.74rem;width:100%;margin:.4rem 0 .8rem;line-height:1.6}.kb-food-facts summary{cursor:pointer;color:#38756c}.kb-food-facts dl{margin:.6rem 0}.kb-food-facts dt{font-weight:700}.kb-food-facts dd{margin:0 0 .5rem}.kb-task>.button{margin-top:auto}.kb-pages{display:flex;justify-content:space-between;gap:.7rem;align-items:center;flex-wrap:wrap;font-size:.75rem;color:#647b76;margin:.9rem 0 1.2rem}.kb-pages>div{display:flex;gap:.4rem}.kb-unplanned{border-top:1px solid #dbe7e3;padding-top:.7rem;margin-top:1rem}.kb-unplanned h4{font-size:.95rem;margin:.5rem 0}.kb-unplanned h4 span{color:#647b76;margin-left:.5rem}.kb-unplanned>p{font-size:.74rem;color:#647b76;line-height:1.6}.kb-unplanned-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.kb-unplanned-grid>article{padding:.9rem;border:1px dashed #b4c9c2;background:#f6f9f6;border-radius:12px;display:flex;flex-direction:column;gap:.5rem;align-items:start;font-size:.8rem;min-width:0}.kb-unplanned-grid small,.kb-unplanned-grid span{font-size:.72rem;color:#647b76}.kb-empty{padding:1rem;border:1px dashed #b4c9c2;border-radius:12px;grid-column:1/-1}.kb-empty h4{margin:0 0 .4rem}.kb-empty p{font-size:.8rem;color:#647b76}.kitchen-board-entry{display:flex;justify-content:flex-end;margin:0 0 1rem}.kb-back{margin-bottom:.9rem}@media(max-width:900px){.kb-task-grid,.kb-unplanned-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-status{flex-direction:column;align-items:start;gap:.2rem}.kb-heading{flex-direction:column}}@media(max-width:600px){.kb-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-summary strong{font-size:1.3rem}.kb-task-grid,.kb-unplanned-grid,.kb-filter-grid{grid-template-columns:1fr}.kb-statuses{grid-template-columns:repeat(3,minmax(0,1fr))}.kb-heading h3{font-size:1.3rem}.kb-task>.button{margin-top:.6rem}.kb-filter-panel{padding:.8rem}.kb-tools{gap:.5rem}}@media(max-width:360px){.kb-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}}

#app-dialog:has(.kitchen-readiness),#app-dialog:has(.order-stock-review){width:min(1040px,calc(100% - 32px));max-width:1040px}.kitchen-readiness{color:#173d39;overflow-wrap:anywhere}.kr-intro h3{font-size:1.5rem;margin:.2rem 0 .4rem}.kr-kicker{color:#38756c;font-size:.7rem;font-weight:800;letter-spacing:.12em;margin:0}.kr-intro>p:last-child{font-size:.75rem;color:#647b76}.kr-outcome{display:flex;flex-direction:column;gap:.4rem;border-radius:14px;padding:1rem 1.2rem;background:#edf4f1;margin:1rem 0;border:1px solid #dbe7e3}.kr-outcome>span{font-size:.76rem}.kr-outcome>strong{font-size:1.15rem}.kr-outcome.kr-blocked{background:#fff0e9;border-color:#f0d2c1;color:#8b3f24}.kr-outcome.kr-review{background:#fff5df;color:#795317}.kr-outcome.kr-packing{background:#eaf1ff;color:#285a91}.kr-outcome.kr-available{background:#e7f4eb;color:#256644}.kr-records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1rem 0 1.3rem}.kr-records>div{min-width:0;border:1px solid #dbe7e3;border-radius:11px;padding:.7rem;display:flex;flex-direction:column;gap:.3rem}.kr-records span{font-size:.7rem;color:#647b76}.kr-records strong{font-size:.82rem}.kr-checks{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}.kr-check{border:1px solid #dbe7e3;border-radius:13px;padding:.9rem 1rem;background:#fff}.kr-check-head{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.kr-number{font-size:.72rem;min-width:23px;height:23px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eff5f2;color:#38756c}.kr-check h4{font-size:.9rem;margin:0;flex:1;min-width:120px}.kr-status{font-size:.65rem;border-radius:20px;background:#eff5f2;padding:.3rem .55rem;color:#38756c}.kr-check>p{font-size:.8rem;line-height:1.65;color:#526e66;margin:.7rem 0 0}.kr-check.kr-blocked{border-color:#ebc4b0}.kr-check.kr-blocked .kr-status{background:#fff0e9;color:#8b3f24}.kr-check.kr-review .kr-status{background:#fff5df;color:#795317}.kr-check.kr-pending .kr-status{background:#eaf1ff;color:#285a91}.kr-check.kr-not_checked .kr-status{background:#f1f3f2;color:#647b76}.kr-links{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.2rem 0}.kr-boundary{font-size:.74rem;line-height:1.7;color:#647b76;border-top:1px solid #dbe7e3;padding-top:.9rem}.kr-back{margin-bottom:.8rem}@media(max-width:650px){.kr-records{grid-template-columns:repeat(2,minmax(0,1fr))}.kr-intro h3{font-size:1.25rem}.kr-check{padding:.8rem}.kr-check-head{gap:.45rem}.kr-status{margin-left:1.9rem}.kr-links>.button{width:100%}.kr-outcome>strong{font-size:1rem}}

.kb-task>[data-kb-readiness]{margin-top:auto;margin-bottom:.4rem}.kb-task>[data-kb-open]{margin-top:0}

#app-dialog:has(.preparation-owner-review){width:min(780px,calc(100% - 24px));max-width:780px}.preparation-owner-review{min-width:0;color:#24453e}.preparation-owner-kicker{font-size:10px;letter-spacing:.14em;font-weight:700;color:#907044;margin:0 0 6px}.preparation-owner-review h3{font-size:23px;margin:0 0 16px}.preparation-owner-lead{display:grid;gap:6px;padding:18px;border:1px solid #d0e1d5;border-radius:14px;background:linear-gradient(120deg,#edf6ef,#fafcf9);margin-bottom:16px}.preparation-owner-lead>span,.preparation-owner-lead small{font-size:12px;color:#60786b}.preparation-owner-lead>strong{font-size:21px;overflow-wrap:anywhere}.preparation-owner-offer{padding:16px;border:1px solid #ead8b6;background:#fff9ef;border-radius:14px;margin-bottom:18px}.preparation-owner-offer p{margin:8px 0;line-height:1.5;font-size:13px}.preparation-owner-offer small{font-size:12px;color:#80683d}.preparation-owner-review [hidden]{display:none}.preparation-owner-review .field input,.preparation-owner-review .field select,.preparation-owner-review textarea{width:100%;min-width:0}.preparation-owner-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:13px;padding:14px;border-radius:12px;background:#f1f7f3;margin:18px 0}.preparation-owner-confirm input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:#286854}.preparation-owner-history{margin:20px 0;padding-top:16px;border-top:1px solid #dae6de}.preparation-owner-history summary{cursor:pointer;font-weight:600;font-size:13px}.preparation-owner-history ol{list-style:none;padding:0;display:grid;gap:12px}.preparation-owner-history li{border-left:3px solid #d3e3d7;padding:2px 0 4px 12px;display:grid;gap:5px;font-size:12px;overflow-wrap:anywhere}.preparation-owner-history li small{color:#6b7e70}.preparation-owner-history li p{margin:0;line-height:1.5}.preparation-owner-pages{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px}.preparation-owner-card{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border-radius:10px;background:#f0f4fa;font-size:12px;overflow-wrap:anywhere}.preparation-owner-card>span,.preparation-owner-card small{color:#65768b}.preparation-owner-card strong{color:#344d6b}
@media(max-width:540px){.preparation-owner-review h3{font-size:20px}.preparation-owner-lead{padding:14px}.preparation-owner-lead>strong{font-size:19px}}

#app-dialog:has(.packing-review){width:min(780px,calc(100% - 24px));max-width:780px}.packing-review{color:#24453e;min-width:0}.packing-kicker{color:#906d3f;font-weight:700;font-size:10px;letter-spacing:.14em;margin:0 0 5px}.packing-review h3{font-size:24px;margin:0 0 16px}.packing-summary{display:flex;flex-wrap:wrap;gap:10px;padding:12px 14px;border-radius:12px;background:#eef6f1;margin-bottom:14px;font-size:12px}.packing-summary span{padding-right:12px}.packing-summary strong{font-size:18px}.packing-items{display:grid;gap:14px;margin:18px 0}.packing-item{padding:18px;border:1px solid #d6e2db;border-radius:16px;background:linear-gradient(135deg,#fff,#f7faf8)}.packing-item-heading{display:flex;gap:12px;align-items:flex-start}.packing-number{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:#e0ede5;color:#245b44;font-weight:700}.packing-item h4{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}.packing-item-heading p{margin:3px 0 0;font-size:12px;color:#65796c}.packing-item dl{display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px;margin:16px 0;font-size:12px;line-height:1.5}.packing-item dt{color:#65796c}.packing-item dd{margin:0;overflow-wrap:anywhere}.packing-count{max-width:230px}.packing-review input:not([type="checkbox"]){width:100%;min-width:0}.packing-checks{display:grid;gap:10px;border-top:1px solid #e0e9e3;padding-top:14px}.packing-review .packing-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:13px;white-space:normal;margin:8px 0}.packing-review .packing-check input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:#286854}.packing-record{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border-radius:10px;background:#edf5ef;font-size:12px;overflow-wrap:anywhere}.packing-record span{color:#617869}
@media(max-width:540px){.packing-review h3{font-size:20px}.packing-item{padding:14px}.packing-item dl{grid-template-columns:1fr;gap:3px}.packing-item dd{margin-bottom:8px}.packing-count{max-width:none}.packing-item h4{font-size:16px}}

#app-dialog:has(.kitchen-hours-editor){width:min(760px,calc(100% - 24px));max-width:760px}
.kitchen-hours-editor .check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.5;white-space:normal}.kitchen-hours-editor .check-row input[type="checkbox"]{width:18px;height:18px;min-height:18px;padding:0;margin:2px 0 0;flex:0 0 18px;accent-color:#286854}
.kitchen-hours-editor{color:#24433e;min-width:0}.hours-kicker{font-size:10px;letter-spacing:.14em;font-weight:700;color:#967143;margin:0 0 6px}.kitchen-hours-editor h3{margin:0 0 10px;font-size:23px}.kitchen-hours-editor>p{line-height:1.55}.hours-week{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:18px 0}.hours-week .field{margin:0}.hours-week input{width:100%;min-width:0;font-variant-numeric:tabular-nums}.hours-confirm{margin-top:20px;padding:14px;border:1px solid #cbded6;border-radius:12px;background:#f3f8f5}.kitchen-hours-editor textarea{font-size:13px;line-height:1.6;width:100%;min-width:0}.kitchen-hours-editor [hidden]{display:none}
@media(max-width:540px){.hours-week{grid-template-columns:1fr;gap:10px}.kitchen-hours-editor h3{font-size:20px}.kitchen-hours-editor{font-size:13px}}

.order-stock-review{color:#173c36;overflow-wrap:anywhere;font-size:.88rem}.order-stock-review h2{font-size:1.35rem;margin:.3rem 0}.order-stock-review h3{font-size:1.02rem;margin:.4rem 0}.order-stock-review h4{font-size:.95rem;margin:.3rem 0}.osr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.osr-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.osr-toolbar>div:first-child{display:block}.osr-kicker{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#2a7567;font-weight:700}.osr-note{color:#5d706c;font-size:.78rem;line-height:1.7}.osr-filters{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;align-items:end;gap:10px;margin:20px 0}.osr-filters label{display:grid;gap:6px;min-width:0;font-size:.78rem}.osr-filters input,.osr-filters select{width:100%;min-width:0;border:1px solid #c7d9d1;border-radius:12px;padding:10px;background:white;color:#173c36;font:inherit}.osr-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.osr-summary>div{background:linear-gradient(135deg,#eef8f3,#f9f5eb);border:1px solid #dbe9e0;border-radius:16px;padding:14px}.osr-summary small{display:block;color:#526a63;font-size:.72rem}.osr-summary strong{display:block;font-size:1.5rem;margin-top:8px}.osr-records{display:grid;gap:12px}.osr-card,.osr-mini{border:1px solid #dae5df;border-radius:17px;padding:18px;background:linear-gradient(145deg,#fff,#f6faf8)}.osr-card header{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.osr-card header small,.osr-mini>small{color:#61736d;font-size:.72rem}.osr-status{padding:6px 10px;border-radius:20px;font-size:.68rem;font-weight:700;white-space:normal}.osr-matched{background:#e7f3ed;color:#17664f}.osr-review{background:#fff0df;color:#865212}.osr-incomplete{background:#f3eafb;color:#744a92}.osr-findings{padding-left:20px;font-size:.79rem;line-height:1.65;color:#7f4e19}.osr-section{margin:24px 0}.osr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.osr-mini>span{display:block;margin-top:8px}.osr-mini p{font-size:.78rem;line-height:1.6}.osr-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.osr-metrics span{font-size:.69rem;color:#5f726b}.osr-metrics strong{display:block;color:#18473d;font-size:.95rem;margin-top:5px}.osr-message{background:#fff2dc;color:#70481c;padding:14px;border-radius:12px}.osr-empty,.osr-loading{padding:25px;border:1px dashed #bed8cb;border-radius:16px;background:#f6faf8;line-height:1.6}.osr-empty p{font-size:.8rem}.order-stock-review button{max-width:100%;white-space:normal}.order-stock-review button:focus-visible,.osr-filters input:focus-visible,.osr-filters select:focus-visible{outline:3px solid #e0b34e;outline-offset:3px}@media(max-width:700px){.osr-filters{grid-template-columns:1fr 1fr}.osr-summary{grid-template-columns:1fr 1fr}.osr-grid{grid-template-columns:1fr}}@media(max-width:380px){.osr-filters{grid-template-columns:1fr}.osr-card,.osr-mini{padding:14px}.osr-summary>div{padding:12px}.osr-summary small{font-size:.67rem}}

#app-dialog:has(.stock-expiry){width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
.stock-expiry{color:#173c36;font-size:.88rem;overflow-wrap:anywhere}.expiry-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:linear-gradient(125deg,#e7f4ee,#fff4de);padding:22px;border-radius:20px;border:1px solid #d9e9dc}.expiry-hero small{font-size:.67rem;letter-spacing:.12em;font-weight:750;color:#367c67}.expiry-hero h2{font-size:1.55rem;margin:7px 0}.expiry-hero p{margin:0;font-size:.8rem;line-height:1.6;color:#557266}.expiry-kinds{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.expiry-kinds button{padding:10px 15px;border-radius:24px;border:1px solid #c4dbce;color:#245a48;background:#fff;font:inherit}.expiry-kinds [aria-pressed=true]{background:#173e34;color:#fff;border-color:#173e34}.expiry-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;align-items:end;margin:18px 0}.expiry-filters label{display:grid;gap:7px;min-width:0;font-size:.77rem}.expiry-filters input,.expiry-filters select{min-width:0;width:100%;border:1px solid #c5d8cc;border-radius:11px;padding:10px;color:#173c36;background:#fff;font:inherit}.expiry-caption{color:#5c746a;font-size:.75rem;line-height:1.7}.expiry-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:18px 0}.expiry-stat{padding:16px;text-align:left;border-radius:17px;border:1px solid var(--edge,#d5e4dc);background:var(--tint,#f1f7f3);color:var(--ink,#286b57);font:inherit;min-width:0}.expiry-stat span{font-size:.75rem;display:block}.expiry-stat strong{display:block;font-size:1.85rem;margin:8px 0}.expiry-stat[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.expiry-stat meter{width:100%;height:8px;display:block;accent-color:var(--ink)}.expiry-stat meter::-webkit-meter-bar{border:0;background:#ffffffa8;border-radius:8px}.expiry-stat meter::-webkit-meter-optimum-value{background:var(--ink);border-radius:8px}.expiry-expired{--edge:#efc8c1;--tint:#fff0eb;--ink:#a34335}.expiry-today{--edge:#ecd5a4;--tint:#fff8e6;--ink:#8c6419}.expiry-soon{--edge:#bfdccf;--tint:#edf9f2;--ink:#286d51}.expiry-later{--edge:#c6d7e8;--tint:#f0f6fc;--ink:#3e668a}.expiry-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.expiry-card{padding:20px;border:1px solid #d9e6de;border-left:4px solid var(--ink);border-radius:17px;background:linear-gradient(140deg,#fff,#f8fbf9)}.expiry-card header,.expiry-card footer{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.expiry-card header small{font-size:.7rem;color:#61786c}.expiry-card h3{font-size:1.05rem;margin:7px 0}.expiry-card header p{font-size:.75rem;color:#60766a;line-height:1.5;margin:0}.expiry-badge,.expiry-quality,.expiry-review{padding:6px 9px;border-radius:20px;font-size:.68rem;background:var(--tint);color:var(--ink);border:1px solid var(--edge)}.expiry-quality{--ink:#46675b;--tint:#edf4ef;--edge:#d9e6de}.expiry-review{--ink:#825920;--tint:#fff6e8;--edge:#ead9b4}.expiry-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:22px 0}.expiry-facts small{display:block;color:#647b70;font-size:.7rem}.expiry-facts strong{display:block;font-size:1rem;margin-top:6px;line-height:1.5}.expiry-facts em{font-style:normal;font-size:.73rem;font-weight:400}.expiry-card footer{align-items:center}.expiry-card footer>div{display:flex;gap:7px;flex-wrap:wrap}.expiry-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:.76rem;margin:18px 0}.expiry-pager>div{display:flex;gap:8px}.expiry-empty,.expiry-loading{border:1px dashed #bcd5c8;border-radius:17px;padding:26px;background:#f6faf7;line-height:1.7}.expiry-empty h3{font-size:1rem;margin:0 0 8px}.expiry-empty p{font-size:.8rem;color:#597268}.expiry-message{padding:14px;border-radius:12px;background:#fff4de;color:#785b25;font-size:.8rem;line-height:1.7}.stock-expiry button{max-width:100%;white-space:normal}.stock-expiry :focus-visible{outline:3px solid #dba54b;outline-offset:3px}@media(max-width:700px){.expiry-records{grid-template-columns:1fr}.expiry-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.expiry-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.expiry-hero{padding:18px}.expiry-card{padding:17px}}@media(max-width:380px){.expiry-filters{grid-template-columns:1fr}.expiry-hero h2{font-size:1.3rem}.expiry-facts{grid-template-columns:1fr}.expiry-stat{padding:13px}.expiry-stat strong{font-size:1.6rem}.expiry-card{padding:14px}}

#app-dialog:has(.stock-count-history){width:min(1120px,calc(100vw - 24px));max-width:1120px}
.stock-count-history{color:var(--ink,#193f38)}
.count-trail-toolbar,.count-trail-actions,.count-trail-pager,.count-trail-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.count-trail-toolbar h3,.count-trail-batch h3{margin:4px 0 10px}.count-trail-toolbar small,.count-trail-note,.count-trail-filter p{color:#56736a}
.count-trail-batch{margin:20px 0;padding:18px;border:1px solid #d7e7df;border-radius:16px;background:linear-gradient(120deg,#eff8f2,#f6faf9)}
.count-trail-batch p{margin:6px 0 0;font-size:12px}.count-trail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.count-trail-summary button{padding:15px;text-align:left;border:1px solid #d7e4de;border-radius:14px;background:#f4f8f6;color:#25453d;cursor:pointer}
.count-trail-summary button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.count-trail-summary small{display:block;line-height:1.4}.count-trail-summary strong{display:block;margin-top:6px;font-size:26px}
.count-trail-summary .is-pending{background:#fff5df;color:#775512}.count-trail-summary .is-approved{background:#e9f6ed;color:#296b43}.count-trail-summary .is-returned{background:#ebf1ff;color:#385b91}.count-trail-summary .is-cancelled{background:#f2edf7;color:#6c508a}
.count-trail-filter{margin:22px 0;align-items:flex-end}.count-trail-filter label{display:grid;gap:5px;min-width:180px;font-size:12px}.count-trail-filter select{min-height:40px;border:1px solid #c6dbd2;border-radius:9px;background:#fff;padding:8px;color:#23493d}.count-trail-filter p{flex:1;min-width:200px;font-size:12px;line-height:1.6}
.count-trail-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.count-trail-card{padding:20px;border:1px solid #dae6df;border-radius:16px;background:#fff;min-width:0}.count-trail-card header{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.count-trail-card h3{margin:5px 0 18px;font-size:16px;overflow-wrap:anywhere}.count-trail-card small{font-size:11px}.count-trail-state{padding:5px 8px;border-radius:8px;font-size:11px;background:#f0f4f2;white-space:nowrap}.count-trail-state.is-approved{background:#e9f6ed;color:#296b43}.count-trail-state.is-pending{background:#fff5df;color:#775512}.count-trail-state.is-returned{background:#ebf1ff;color:#385b91}
.count-trail-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.count-trail-amounts div{padding:10px;border-radius:10px;background:#f3f7f5;min-width:0}.count-trail-amounts small{display:block;line-height:1.4}.count-trail-amounts strong{display:block;margin-top:8px;font-size:20px;overflow-wrap:anywhere}.count-trail-amounts .is-loss{background:#fff2df;color:#865313}.count-trail-amounts .is-gain{background:#eaf1ff;color:#355d91}.count-trail-amounts .is-match{background:#eaf7ed;color:#2d7045}
.count-trail-note,.count-trail-decision{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.count-trail-decision{border-top:1px solid #e2ebe6;padding-top:12px;min-height:58px}.count-trail-actions{justify-content:flex-start}.count-trail-actions button{white-space:normal}.count-trail-pager{margin:20px 0;font-size:12px;justify-content:flex-end}.count-trail-pager span{margin-right:auto}.count-trail-empty{grid-column:1/-1;padding:24px;border:1px dashed #ccdbd4;border-radius:14px;background:#f6faf8}.count-trail-empty h3{font-size:17px}.count-trail-empty p{font-size:13px;line-height:1.6}.count-trail-message{padding:16px;border-radius:12px;background:#fff4df;color:#755015}
@media(max-width:700px){.count-trail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.count-trail-records{grid-template-columns:1fr}.count-trail-card{padding:14px}.count-trail-amounts div{padding:8px}.count-trail-amounts strong{font-size:18px}.count-trail-card header{flex-wrap:wrap}.count-trail-toolbar h3{font-size:20px}}

#duty-replacements-root dl {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 12px;
}
#duty-replacements-root dd { margin: 0; }
@media (max-width: 480px) {
  #duty-replacements-root dl { grid-template-columns: minmax(0, 1fr); row-gap: 3px; }
  #duty-replacements-root dd { margin-bottom: 12px; }
}

#duty-alerts-root { color: #173c34; width: 100%; min-width: 0; }
.duty-alert-head { padding: 20px; border-radius: 18px; background: linear-gradient(120deg,#e6f4ed,#edf0fc 65%,#fff1dc); }
.duty-alert-head h3 { margin: 5px 0; }
.duty-alert-head p { margin: 5px 0; }
.duty-alert-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.duty-alert-metrics div { padding: 13px; background: #f0f6f3; border: 1px solid #d9e7df; border-radius: 12px; }
.duty-alert-metrics strong { display: block; font-size: 23px; }
.duty-alert-metrics small { font-size: 11px; }
.duty-alert-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 15px 0; }
.duty-alert-tools label { flex: 1 1 140px; min-width: 0; }
.duty-alert-tools select,.duty-alert-policy input:not([type=checkbox]),.duty-alert-policy textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.duty-alert-tools select,.duty-alert-policy input:not([type=checkbox]),.duty-alert-policy textarea { min-height: 44px; padding: 10px 12px; margin-top: 6px; border: 1px solid #b8cec2; border-radius: 10px; background: #fff; color: #173c34; font: inherit; font-size: 13px; }
.duty-alert-tools select:focus,.duty-alert-policy input:focus,.duty-alert-policy textarea:focus { outline: 2px solid #8ab7a2; outline-offset: 2px; }
.duty-alert-policy input[type=checkbox] { flex: 0 0 auto; accent-color: #286953; margin-top: 3px; }
.duty-alert-card { border: 1px solid #dbe5e0; border-left: 4px solid #d7843c; padding: 17px; border-radius: 14px; margin: 12px 0; background: #fffdf8; }
.duty-alert-card.review { border-left-color: #637bc5; background: #f6f8ff; }
.duty-alert-card.earlier { border-left-color: #8faaa0; background: #f6f8f7; }
.duty-alert-card h4 { margin: 8px 0; }
.duty-alert-card p { margin: 8px 0; overflow-wrap: anywhere; }
.duty-alert-tag { display: inline-block; padding: 5px 9px; border-radius: 15px; background: #fff0d9; font-size: 11px; font-weight: 700; }
.duty-alert-card.review .duty-alert-tag { background: #e7edff; }
.duty-alert-card .inventory-row-actions { flex-wrap: wrap; }
.duty-alert-status { padding: 12px; background: #eef5f1; border-radius: 10px; margin: 12px 0; overflow-wrap: anywhere; }
.duty-alert-status.warn { background: #fff0dc; }
.duty-alert-policy { padding: 16px; border: 1px solid #d5e2da; border-radius: 14px; margin: 15px 0; background: #fafcfb; }
.duty-alert-policy label { display: block; margin: 12px 0; }
.duty-alert-policy label.check-field { display: flex; gap: 8px; align-items: start; }
.duty-alert-policy fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.duty-alert-policy textarea { min-height: 80px; }
@media(max-width:480px) { .duty-alert-head { padding:15px; } .duty-alert-metrics { gap:6px; } .duty-alert-metrics div { padding:10px 7px; } .duty-alert-card { padding:13px; } }

#duty-schedules-root { color:#173c34; min-width:0; }
.duty-schedule-head { padding:20px; border-radius:18px; background:linear-gradient(120deg,#e9f5ed,#edf1ff 65%,#fff1df); }
.duty-schedule-head h3,.duty-schedule-head p { margin:6px 0; }
.duty-schedule-card,.duty-schedule-form,.duty-schedule-history { padding:16px; margin:14px 0; border:1px solid #d9e6de; border-radius:14px; background:#fbfdfb; overflow-wrap:anywhere; }
.duty-schedule-card { border-left:4px solid #6c91bd; }
.duty-schedule-card.paused { border-left-color:#b0aba0; background:#faf9f5; }
.duty-schedule-card h4 { margin:8px 0; }
.duty-schedule-tag { display:inline-block; padding:5px 9px; border-radius:14px; background:#e9f0ff; font-size:11px; font-weight:700; }
.duty-schedule-status { padding:12px; margin:12px 0; border-radius:10px; background:#edf5f0; overflow-wrap:anywhere; }
.duty-schedule-status.warn { background:#fff0dc; }
.duty-schedule-form label { display:block; margin:12px 0; }
.duty-schedule-form label.check-field { display:flex; align-items:start; gap:8px; }
.duty-schedule-form input:not([type=checkbox]),.duty-schedule-form select,.duty-schedule-form textarea { width:100%; box-sizing:border-box; min-width:0; min-height:44px; padding:10px 12px; margin-top:6px; border:1px solid #b8cec2; border-radius:10px; background:#fff; color:#173c34; font:inherit; font-size:13px; }
.duty-schedule-form textarea { min-height:80px; }
.duty-schedule-form input[type=checkbox] { flex:0 0 auto; accent-color:#286953; margin-top:3px; }
.duty-schedule-form input:focus,.duty-schedule-form select:focus,.duty-schedule-form textarea:focus { outline:2px solid #8ab7a2; outline-offset:2px; }
.duty-schedule-numbers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#duty-schedules-root .inventory-row-actions { flex-wrap:wrap; }
.duty-schedule-history { border-left:4px solid #76a18b; background:#f2f8f4; }
.duty-schedule-history.skipped { border-left-color:#d79d53; background:#fff9ed; }
@media(max-width:480px) { .duty-schedule-head { padding:15px; } .duty-schedule-card,.duty-schedule-form,.duty-schedule-history { padding:13px; } .duty-schedule-numbers { grid-template-columns:minmax(0,1fr); gap:0; } }

#duty-review-cover-root { color:#173c34; min-width:0; }
.review-cover-head { padding:20px; border-radius:18px; background:linear-gradient(120deg,#e8f4ef,#edf1ff 65%,#fff3df); }
.review-cover-head h3,.review-cover-head p { margin:6px 0; }
.review-cover-card,.review-cover-form { padding:16px; margin:14px 0; border:1px solid #d8e5dd; border-radius:14px; background:#fbfdfb; overflow-wrap:anywhere; }
.review-cover-card.current { border-left:4px solid #648dbb; background:#f5f8ff; }
.review-cover-card.revoke { border-left:4px solid #c69b61; background:#fff9ef; }
.review-cover-card h4 { margin:6px 0; }
.review-cover-card dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:10px 14px; }
.review-cover-card dt { font-size:11px; color:#506b61; }
.review-cover-card dd { margin:0; font-weight:700; overflow-wrap:anywhere; }
.review-cover-status { padding:12px; margin:12px 0; border-radius:10px; background:#edf5f0; overflow-wrap:anywhere; }
.review-cover-status.warn { background:#fff0dc; }
.review-cover-form label { display:block; margin:12px 0; }
.review-cover-form label.check-field { display:flex; align-items:start; gap:8px; }
.review-cover-form input:not([type=checkbox]),.review-cover-form select,.review-cover-form textarea { width:100%; min-width:0; min-height:44px; box-sizing:border-box; padding:10px 12px; margin-top:6px; border:1px solid #b8cec2; border-radius:10px; background:#fff; color:#173c34; font:inherit; font-size:13px; }
.review-cover-form input[type=checkbox] { flex:0 0 auto; accent-color:#286953; margin-top:3px; }
.review-cover-form input:focus,.review-cover-form select:focus,.review-cover-form textarea:focus { outline:2px solid #8ab7a2; outline-offset:2px; }
.review-cover-form textarea { min-height:80px; }
#duty-review-cover-root .inventory-row-actions { flex-wrap:wrap; }
@media(max-width:480px) { .review-cover-head { padding:15px; } .review-cover-card,.review-cover-form { padding:13px; } .review-cover-card dl { grid-template-columns:minmax(0,1fr); gap:3px; } .review-cover-card dd { margin-bottom:10px; } }

#duty-prerequisites-root { color:#173c34; min-width:0; }
.prerequisite-head { padding:20px; border-radius:18px; background:linear-gradient(120deg,#eaf5ee,#edf3fd 65%,#fff4df); }
.prerequisite-head h3,.prerequisite-head p { margin:6px 0; }
.prerequisite-card,.prerequisite-editor { padding:16px; margin:14px 0; border:1px solid #d8e5dd; border-radius:14px; background:#fbfdfb; overflow-wrap:anywhere; }
.prerequisite-card h4 { margin:6px 0; }
.prerequisite-card.waiting { border-left:4px solid #ceaa67; background:#fff9ef; }
.prerequisite-card.ready { border-left:4px solid #65a28b; background:#f2faf6; }
.prerequisite-card strong { display:block; margin-bottom:8px; }
.prerequisite-note { padding:12px; margin:12px 0; border-radius:10px; background:#edf5f0; overflow-wrap:anywhere; }
.prerequisite-state { display:inline-block; padding:7px 12px; border-radius:20px; font-size:12px; background:#e0f2e9; }
.prerequisite-state.waiting { background:#ffe7bf; }
.prerequisite-editor label { display:block; margin:12px 0; }
.prerequisite-editor label.check-field { display:flex; align-items:start; gap:8px; }
.prerequisite-editor input:not([type=checkbox]),.prerequisite-editor select,.prerequisite-editor textarea { width:100%; min-width:0; min-height:44px; box-sizing:border-box; padding:10px 12px; margin-top:6px; border:1px solid #b8cec2; border-radius:10px; background:#fff; color:#173c34; font:inherit; font-size:13px; }
.prerequisite-editor input[type=checkbox] { flex:0 0 auto; accent-color:#286953; margin-top:3px; }
.prerequisite-editor input:focus,.prerequisite-editor select:focus,.prerequisite-editor textarea:focus { outline:2px solid #8ab7a2; outline-offset:2px; }
.prerequisite-editor textarea { min-height:80px; }
#duty-prerequisites-root .inventory-row-actions { flex-wrap:wrap; }
@media(max-width:480px) { .prerequisite-head { padding:15px; } .prerequisite-card,.prerequisite-editor { padding:13px; } }

#duty-escalations-root { min-width:0; color:#173c34; }
.escalation-head { padding:20px; border-radius:18px; background:linear-gradient(125deg,#e9f3ed,#f1edfc 65%,#fff0da); }
.escalation-head h3,.escalation-head p { margin:6px 0; }
.escalation-note { padding:12px; margin:12px 0; border-radius:10px; background:#edf5f0; overflow-wrap:anywhere; }
.escalation-note.warn { background:#fff0dc; }
.escalation-card,.escalation-settings { padding:16px; margin:14px 0; border:1px solid #d8e5dd; border-radius:14px; background:#fbfdfb; overflow-wrap:anywhere; }
.escalation-card h4 { margin:10px 0; }
.escalation-card.tier-1 { border-left:4px solid #6793bd; background:#f4f8ff; }
.escalation-card.tier-2 { border-left:4px solid #af82bf; background:#faf4fc; }
.escalation-card.earlier { border-left-color:#bdc6c0; background:#f6f7f5; }
.escalation-tag { display:inline-block; border-radius:20px; padding:7px 11px; background:#e5eafa; font-size:12px; }
.tier-2 .escalation-tag { background:#ecdff4; }
.escalation-card dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:9px 12px; }
.escalation-card dt { color:#506b61; font-size:11px; }
.escalation-card dd { margin:0; overflow-wrap:anywhere; }
.escalation-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:15px 0; }
.escalation-metrics article { padding:14px; border-radius:12px; background:#edf4f8; }
.escalation-metrics article:nth-child(2) { background:#f1eafb; }
.escalation-metrics article:nth-child(3) { background:#fff0db; }
.escalation-metrics strong,.escalation-metrics small { display:block; }
.escalation-metrics strong { font-size:24px; line-height:1.3; }
.escalation-metrics small { margin-top:6px; overflow-wrap:anywhere; }
.escalation-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.escalation-settings label,.escalation-tools label { display:block; margin:12px 0; }
.escalation-settings label.check-field { display:flex; align-items:start; gap:8px; }
.escalation-settings input:not([type=checkbox]),.escalation-settings select,.escalation-settings textarea,.escalation-tools select { width:100%; min-width:0; box-sizing:border-box; min-height:44px; padding:10px 12px; margin-top:6px; border:1px solid #b8cec2; border-radius:10px; color:#173c34; background:#fff; font:inherit; font-size:13px; }
.escalation-settings input[type=checkbox] { flex:0 0 auto; accent-color:#286953; margin-top:3px; }
.escalation-settings textarea { min-height:80px; }
.escalation-settings input:focus,.escalation-settings select:focus,.escalation-settings textarea:focus,.escalation-tools select:focus { outline:2px solid #8ab7a2; outline-offset:2px; }
.escalation-pause { padding-top:16px; margin-top:18px; border-top:1px solid #d8e5dd; }
#duty-escalations-root .inventory-row-actions { flex-wrap:wrap; }
@media(max-width:480px) { .escalation-head,.escalation-card,.escalation-settings { padding:13px; } .escalation-tools,.escalation-card dl { grid-template-columns:minmax(0,1fr); } .escalation-card dl { gap:3px; } .escalation-card dd { margin-bottom:9px; } .escalation-metrics article { padding:10px; } }

.duty-calendar-days { display:flex; flex-wrap:wrap; gap:8px; padding:14px; margin:14px 0; border:1px solid #d1dfd5; border-radius:12px; }
.duty-calendar-days legend { padding:0 5px; font-weight:700; }
.duty-schedule-form .duty-calendar-days label { display:inline-flex; align-items:center; gap:7px; min-height:44px; margin:0; padding:7px 10px; border:1px solid #d4e4da; border-radius:10px; background:#f4f9f6; }
.duty-calendar-days input { accent-color:#286953; }
.duty-calendar-days label:has(input:checked) { background:#e0efe7; border-color:#78a38d; }
.duty-calendar-time { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.duty-calendar-preview { padding:12px 14px; border-left:4px solid #8c88be; border-radius:10px; background:linear-gradient(110deg,#edf3fc,#f2ecfa); overflow-wrap:anywhere; }
@media(max-width:480px) { .duty-calendar-time { grid-template-columns:minmax(0,1fr); gap:0; } .duty-calendar-days { padding:10px; gap:6px; } }

.duty-queue{display:grid;gap:18px;max-width:1200px}.duty-queue h3{font-size:1.55rem;margin:6px 0}.duty-queue h4{margin:0 0 10px}.duty-queue p{line-height:1.6}.duty-queue-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.duty-queue-kpi,.duty-queue-panel{border:1px solid #cfe0dc;border-radius:18px;padding:20px;min-width:0;background:linear-gradient(145deg,#fff,#f2f8f5)}.duty-queue-kpi:nth-child(2){background:linear-gradient(145deg,#edf5ff,#fff);border-color:#c9dced}.duty-queue-kpi:nth-child(3){background:linear-gradient(145deg,#fff7e7,#fff);border-color:#edddbd}.duty-queue-kpi p{margin:0;color:#405e5c}.duty-queue-kpi strong{display:block;font-size:2rem;color:#163f40;margin:8px 0}.duty-queue-kpi small{color:#4e6565;overflow-wrap:anywhere}.duty-queue-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.duty-queue-panel label{display:grid;gap:7px;margin:14px 0}.duty-queue-panel input[type=number],.duty-queue-panel textarea{box-sizing:border-box;width:100%;border:1px solid #b4cbc5;border-radius:9px;padding:11px;background:#fff;color:#173f40;font:inherit}.duty-queue-panel dl{margin:10px 0}.duty-queue-panel dl>div{display:flex;gap:14px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #dce8e3}.duty-queue-panel dt{color:#456360}.duty-queue-panel dd{margin:0;font-weight:650;text-align:right;overflow-wrap:anywhere}.duty-queue-panel .duty-queue-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.duty-queue-confirm input{margin-top:5px;flex:0 0 auto}.duty-queue-state{border-radius:10px;background:#e2f3ea;color:#205747;padding:10px 12px}.duty-queue-state.warn{background:#fff1d6;color:#70450a}.duty-queue-message{padding:12px 15px;border-left:3px solid #337f72;background:#edf7f3;border-radius:8px}.duty-queue-history{padding:12px 0;border-bottom:1px solid #dce8e3;overflow-wrap:anywhere}.duty-queue-history:last-child{border:0}.duty-queue button{white-space:normal;max-width:100%}@media(max-width:760px){.duty-queue-layout,.duty-queue-metrics{grid-template-columns:1fr}.duty-queue-kpi,.duty-queue-panel{padding:15px}.duty-queue-panel dl>div{gap:10px;font-size:.92rem}.duty-queue-kpi strong{font-size:1.7rem}.duty-queue .inventory-row-actions{flex-wrap:wrap}}
#app-dialog:has(.duty-queue){width:min(1120px,calc(100vw - 32px));max-width:1120px}.duty-queue button{border:1px solid #bad2cb;border-radius:9px;padding:10px 14px;background:#fff;color:#16443a;font-weight:600;cursor:pointer}.duty-queue button.primary{background:#174d40;color:#fff;border-color:#174d40}.duty-queue button:disabled{opacity:.55;cursor:not-allowed}

#area-access-mount{max-width:1400px;margin:auto;color:var(--ink,#173f40)}
.aa-heading,.aa-list-heading,.aa-card-top,.aa-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.aa-heading{align-items:flex-start;margin:0 0 16px}.aa-heading h1{font-size:clamp(24px,3vw,34px);margin:5px 0 10px}.aa-heading p{margin:6px 0;max-width:760px;line-height:1.6}.aa-status:empty{display:none}.aa-status{padding:12px 0;font-weight:600;line-height:1.5}.aa-note{padding:14px 18px;background:#edf5f2;border:1px solid #d4e5dd;border-radius:14px;line-height:1.6;margin:14px 0;color:#254e49}.aa-panel{background:var(--card,#fff);border:1px solid var(--line,#dce5df);border-radius:20px;padding:24px;margin:18px 0;box-shadow:0 5px 24px #173f4005}.aa-panel h2{font-size:21px;margin:0 0 16px}.aa-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.aa-form label{display:grid;gap:8px;font-weight:600;font-size:14px;min-width:0}.aa-form input:not([type=checkbox]),.aa-form select,.aa-form textarea{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #c6d8d0;border-radius:10px;background:var(--card,#fff);color:inherit;font:inherit}.aa-form fieldset{border:1px solid #dce5df;border-radius:13px;margin:18px 0;padding:16px}.aa-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.aa-form .aa-choices label,.aa-form .aa-confirm{display:flex;align-items:flex-start;font-weight:400;line-height:1.5}.aa-confirm{margin:16px 0}.aa-form input[type=checkbox]{accent-color:#176a56;width:18px;height:18px;flex-shrink:0;margin:0}.aa-actions{justify-content:flex-start;margin-top:14px}.aa-actions button,.aa-heading button{border:1px solid #bbd3c7;background:#f1f7f4;color:#173f40;border-radius:10px;padding:10px 15px;font:inherit;font-size:14px;cursor:pointer;min-height:42px}.aa-form button[type=submit],.aa-preview button[data-aa-retry]{background:#17634f;color:white;border:1px solid #17634f;border-radius:10px;padding:11px 18px;font:inherit;cursor:pointer}.aa-panel button:disabled{opacity:.45;cursor:default}.aa-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px}.aa-card{border:1px solid #dde6e0;border-radius:16px;padding:18px;background:linear-gradient(120deg,#f9fcfa,#f1f7f4)}.aa-card h3{font-size:18px;margin:0;overflow-wrap:anywhere}.aa-card p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.aa-muted{opacity:.75}.aa-badge{display:inline-flex;padding:6px 10px;border-radius:8px;font-size:12px;background:#f4ead7;color:#6c4a12;line-height:1.4}.aa-active{background:#dbeee2;color:#185b3e}.aa-preview{border:2px solid #93b9a5;background:#f2f8f4}.aa-preview small{display:block;line-height:1.6;margin-top:12px}.aa-table{overflow-x:auto}.aa-table table{width:100%;border-collapse:collapse;font-size:14px}.aa-table th,.aa-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #e3eae6;line-height:1.5;overflow-wrap:anywhere}.aa-history{padding:15px 0;border-bottom:1px solid #e0e8e2}.aa-history p{line-height:1.5;overflow-wrap:anywhere}.aa-empty{padding:28px 12px;text-align:center}.aa-empty p{line-height:1.6}#area-access-mount :focus-visible{outline:3px solid #e2a240;outline-offset:3px}@media(max-width:700px){.aa-fields{grid-template-columns:1fr}.aa-panel{padding:17px;border-radius:15px}.aa-choices{grid-template-columns:1fr}.aa-table th,.aa-table td{padding:10px 5px;font-size:12px}.aa-badge{font-size:11px}.aa-card{padding:14px}.aa-heading h1{font-size:25px}}

.sequence-shell{display:grid;gap:20px;color:var(--ink,#183f36);min-width:0}.sequence-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.sequence-heading h3{margin:6px 0 10px}.sequence-heading p,.sequence-note{font-size:12px;line-height:1.65;color:#5b7068}.sequence-kicker{font-size:10px;letter-spacing:.13em;color:#50756a;font-weight:750}.sequence-summary,.sequence-record{padding:20px;border:1px solid #d1e1da;border-radius:18px;background:linear-gradient(130deg,#f3faf6,#fffaf2)}.sequence-summary{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}.sequence-record>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.sequence-record h3,.sequence-record h4{margin:0}.sequence-record p{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.sequence-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px}.sequence-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.sequence-metrics>div{padding:16px;border:1px solid #dbe5ed;border-radius:14px;background:#eff7f5}.sequence-metrics>div:nth-child(2){background:#fff6e8}.sequence-metrics>div:nth-child(3){background:#edf1ff}.sequence-metrics small{font-size:11px;display:block;margin-bottom:8px;line-height:1.6}.sequence-metrics strong{font-size:23px;line-height:1.3}.sequence-state{border-radius:24px;padding:7px 11px;font-size:11px;background:#edf0f6;text-transform:capitalize;white-space:nowrap}.sequence-active{background:#def3e7;color:#216047}.sequence-waiting{background:#fff0d4;color:#785617}.sequence-stopped{background:#ffece6;color:#8c4738}.sequence-assigned{background:#e5eaff;color:#364fa0}.sequence-empty{padding:30px;border:1px dashed #cddbd4;border-radius:18px;background:#f7faf8}.sequence-notice,.sequence-uncertain{padding:16px;background:#fff4df;border:1px solid #e7d3aa;border-radius:14px;line-height:1.6;font-size:12px}.sequence-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.sequence-shell form{display:grid;gap:18px}.sequence-shell label{display:grid;gap:9px;font-size:12px;line-height:1.6}.sequence-shell select,.sequence-shell textarea{min-width:0;width:100%;box-sizing:border-box;max-width:100%;border:1px solid #aecbc0;border-radius:12px;padding:12px;color:inherit;background:white;font:inherit}.sequence-shell textarea{min-height:100px;resize:vertical}.sequence-shell .sequence-confirm{display:flex;align-items:flex-start;gap:10px;background:#f1f7f4;padding:14px;border-radius:12px}.sequence-confirm input{margin-top:3px;flex:0 0 auto}.sequence-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.sequence-timeline{display:grid;gap:12px}.sequence-timeline article{display:flex;gap:14px;padding:16px;border:1px solid #d9e4dd;border-radius:15px;background:white}.sequence-timeline article>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:#e8f1ff;font-size:11px}.sequence-timeline small{display:block;margin-top:6px;color:#65796f;font-size:11px}.sequence-timeline p{font-size:12px;line-height:1.6;margin-bottom:0;overflow-wrap:anywhere}.sequence-candidates{line-height:1.9;font-size:12px}.sequence-current{background:#eef5ff;padding:14px;border-radius:12px}.sequence-filter{max-width:260px}@media(max-width:600px){.sequence-heading{flex-direction:column}.sequence-metrics{gap:8px}.sequence-metrics>div{padding:12px}.sequence-metrics strong{font-size:20px}.sequence-record{padding:16px}.sequence-record>div:first-child{flex-wrap:wrap}.sequence-timeline article{padding:12px;gap:10px}.sequence-timeline small{line-height:1.6}.sequence-empty{padding:20px}}

.sequence-shortlist{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #b9d7cd;border-radius:18px;background:linear-gradient(120deg,#e9f5ee,#f2f3ff);min-width:0}.sequence-shortlist>div{min-width:0}.sequence-shortlist h4{font-size:16px;margin:7px 0}.sequence-shortlist p{font-size:12px;line-height:1.65;margin:0;max-width:55ch}.sequence-shortlist button{flex:0 0 auto;white-space:normal}.sequence-shortlist button:focus-visible{outline:3px solid #477bba;outline-offset:3px}@media(max-width:600px){.sequence-shortlist{flex-direction:column;align-items:stretch;padding:16px;gap:14px}.sequence-shortlist button{width:100%}}

.delivery-timeline{display:grid;gap:20px;color:#183f36;min-width:0}.dt-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dt-heading h3{margin:6px 0 10px;font-size:24px}.dt-heading p,.dt-asof{font-size:12px;line-height:1.7;color:#5d736b;max-width:75ch}.dt-kicker{font-size:10px;letter-spacing:.13em;font-weight:750;color:#567a6c}.dt-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;border:1px solid #d6e4df;border-radius:18px;background:#f7faf8}.dt-filters label{display:grid;gap:8px;font-size:12px;flex:1 1 150px;min-width:0}.dt-filters input,.dt-filters select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #afc8be;border-radius:10px;padding:11px;background:white;color:inherit;font:inherit}.dt-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.dt-summary>div{padding:17px;border-radius:16px;border:1px solid #d6e3e0;background:#eef7f3}.dt-summary>div:nth-child(2){background:#edf2ff}.dt-summary>div:nth-child(3){background:#e9f5e8}.dt-summary>div:nth-child(4){background:#fff0f2}.dt-summary>div:nth-child(5){background:#fff6e6}.dt-summary small{display:block;font-size:11px;line-height:1.6;margin-bottom:8px}.dt-summary strong{font-size:26px}.dt-asof{margin:0}.dt-orders{display:grid;gap:20px}.dt-order{padding:24px;border:1px solid #d4e3dc;border-radius:20px;background:linear-gradient(135deg,#fff,#f8fbfa);min-width:0}.dt-order>header{display:flex;gap:14px;align-items:start;justify-content:space-between}.dt-order h4{font-size:17px;margin:0 0 8px;overflow-wrap:anywhere}.dt-order header p,.dt-promise{font-size:12px;line-height:1.7;margin:0;overflow-wrap:anywhere}.dt-state{font-size:11px;border-radius:24px;padding:7px 12px;text-transform:capitalize;flex:0 0 auto;background:#eef2ff;color:#3c5290}.dt-delivered{background:#e3f2e6;color:#2a623d}.dt-cancelled{background:#fbecef;color:#92485a}.dt-promise{padding:12px 0;color:#5f7069}.dt-review,.dt-notice{padding:12px 15px;border:1px solid #e9d1a6;border-radius:12px;background:#fff5e3;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.dt-review{margin:4px 0 16px}.dt-axis{display:flex;justify-content:space-between;font-size:10px;color:#6c7e75;margin:15px 0 4px}.dt-stage{padding:12px 0;border-bottom:1px solid #e6ece9}.dt-stage-title{display:flex;gap:10px;justify-content:space-between;font-size:12px;line-height:1.7}.dt-stage-title span{color:#566e63;text-align:right}.dt-track{height:17px;position:relative;overflow:hidden;border-radius:5px;background:repeating-linear-gradient(90deg,#e8eeeb 0,#e8eeeb 1px,transparent 1px,transparent 25%),#f3f6f4;margin:9px 0}.dt-bar{position:absolute;top:3px;bottom:3px;min-width:2px;border-radius:4px;background:#517bbb}.dt-ready_wait .dt-bar{background:#d49d36}.dt-delivery .dt-bar{background:#3f9b86}.dt-provisional{opacity:.65;background-image:repeating-linear-gradient(120deg,transparent,transparent 6px,#ffffff80 6px,#ffffff80 9px)}.dt-stage small{display:block;font-size:10px;line-height:1.7;color:#66776f;overflow-wrap:anywhere}.dt-milestones{margin-top:18px;font-size:12px}.dt-milestones summary{cursor:pointer;color:#2a6958;padding:6px 0}.dt-milestones dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0 0}.dt-milestones dl>div{padding:12px;border-radius:10px;background:#f0f5f3;min-width:0}.dt-milestones dt{text-transform:capitalize;font-size:10px;color:#60756a;margin-bottom:6px}.dt-milestones dd{margin:0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.dt-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.dt-empty{padding:30px;border:1px dashed #bdcfc5;border-radius:18px;background:#f5faf6}.dt-empty p{font-size:12px;line-height:1.7}.delivery-timeline button:focus-visible,.dt-milestones summary:focus-visible{outline:3px solid #5f85be;outline-offset:3px}@media(max-width:600px){.dt-heading{flex-direction:column}.dt-heading h3{font-size:21px}.dt-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dt-summary>div:last-child{grid-column:1/-1}.dt-summary>div{padding:14px}.dt-filters{padding:14px}.dt-filters label{flex-basis:100%}.dt-filters button{width:100%}.dt-order{padding:16px}.dt-order>header{flex-wrap:wrap}.dt-stage-title{font-size:11px}.dt-milestones dl{grid-template-columns:1fr}.dt-axis{font-size:9px}.dt-pager{justify-content:center}}

.dt-filter-panel>summary{cursor:pointer;font-size:12px;font-weight:650;color:#286c57;padding:12px 16px;border:1px solid #c9ddd4;border-radius:12px;background:#f5faf7}.dt-filter-panel[open]>summary{margin-bottom:12px}.dt-filter-panel>summary:focus-visible{outline:3px solid #5f85be;outline-offset:3px}@media(min-width:360px) and (max-width:600px){.dt-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.dt-summary>div:last-child{grid-column:auto}.dt-summary>div{padding:12px}.dt-summary strong{font-size:23px}}

.dt-mode-nav{display:flex;gap:8px;flex-wrap:wrap}.dt-mode-nav button{border:1px solid #bdcfc7;border-radius:12px;padding:11px 18px;font:inherit;font-size:12px;background:#fff;color:#476b5c;cursor:pointer}.dt-mode-nav button[aria-pressed=true]{background:#214f43;border-color:#214f43;color:white;opacity:1}.dt-mode-nav button:focus-visible{outline:3px solid #658dc4;outline-offset:3px}.ot-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ot-summary>div{padding:18px;border:1px solid #d4e2dc;border-radius:16px;background:#eef5ff}.ot-summary>div:nth-child(2){background:#eaf6ee}.ot-summary>div:nth-child(3){background:#f2efff}.ot-summary>div:nth-child(4){background:#fff4e3}.ot-summary small{display:block;font-size:11px;line-height:1.6;margin-bottom:9px}.ot-summary strong{font-size:26px}.ot-badge{padding:7px 12px;border-radius:24px;background:#f0f1f5;color:#5a6677;font-size:11px;text-transform:capitalize}.ot-accepted{background:#e2f3e7;color:#216146}.ot-pending{background:#ede9ff;color:#59448e}.ot-declined,.ot-invalidated{background:#fff0eb;color:#8d5540}.ot-expired{background:#fff4dc;color:#8b6525}.ot-window{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.ot-window>div{padding:14px;border-radius:12px;background:#f0f6f3}.ot-window small{display:block;font-size:10px;color:#63786d;margin-bottom:6px}.ot-window strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.ot-track{height:18px;background:repeating-linear-gradient(90deg,#dae4de 0,#dae4de 1px,transparent 1px,transparent 25%),#eff4f1;border-radius:6px;overflow:hidden;position:relative;margin:12px 0 16px}.ot-track:after{content:'';position:absolute;right:0;top:0;bottom:0;border-right:2px dashed #8eaaa0}.ot-bar{position:absolute;left:0;top:3px;bottom:3px;background:#4b8d7a;border-radius:4px}.ot-elapsed{background:repeating-linear-gradient(120deg,#8599d1,#8599d1 7px,#adb9dd 7px,#adb9dd 11px)}.ot-deadline{background:#d0aa61}.ot-observation,.ot-acceptance{font-size:12px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.ot-acceptance{padding:14px;border-radius:12px;background:#edf5ee;color:#35604b}@media(max-width:600px){.ot-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ot-summary>div{padding:14px}.ot-summary strong{font-size:23px}.ot-window{grid-template-columns:1fr;gap:10px;margin:16px 0}.dt-mode-nav button{flex:1;min-width:0;padding:11px 10px}}

.rc-window{font-size:12px;line-height:1.8;color:#5c7266;margin:16px 0;overflow-wrap:anywhere}.rc-axis{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#647a70;margin-top:22px}.rc-track{position:relative;height:28px;border-radius:7px;overflow:hidden;background:#eef2f6;margin:9px 0}.rc-days-7{background:repeating-linear-gradient(90deg,#ccd8e3 0,#ccd8e3 1px,transparent 1px,transparent 14.285714%),#f0f4f8}.rc-days-1{background:repeating-linear-gradient(90deg,#ccd8e3 0,#ccd8e3 1px,transparent 1px,transparent 25%),#f0f4f8}.rc-plan{position:absolute;top:6px;bottom:6px;min-width:1px;background:#6687c3;border-radius:4px}.rc-caption{font-size:11px;color:#60756a;line-height:1.75;margin:9px 0 18px}.rc-coverage-track{display:flex;height:15px;border-radius:6px;overflow:hidden;background:#edf1ee;margin-top:20px}.rc-closed_microseconds{background:#4b9c80}.rc-provisional_microseconds{background:repeating-linear-gradient(120deg,#cfa448,#cfa448 6px,#e7c97f 6px,#e7c97f 10px)}.rc-unrecorded_microseconds{background:#c6d0d8}.rc-legend{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:11px;margin-top:12px;line-height:1.6}.rc-legend span:before{content:'';display:inline-block;width:8px;height:8px;background:#4b9c80;border-radius:50%;margin-right:6px}.rc-legend span:nth-child(2):before{background:#cfa448}.rc-legend span:nth-child(3):before{background:#b1bec8}.rider-coverage .dt-stage-title{margin-top:15px}@media(max-width:600px){.rc-axis{font-size:9px;gap:2px}.rc-window{font-size:11px}.rc-legend{gap:8px 12px;font-size:10px}.rider-coverage .dt-mode-nav button{font-size:11px}}

.rb-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.rb-subnav [aria-pressed=true]{background:#244f45;color:#fff;opacity:1}.rb-summary{grid-template-columns:repeat(6,minmax(0,1fr))}.rb-summary small{display:block}.rb-rows{display:grid;gap:24px}.rb-rider{padding:24px;border:1px solid #d6e4df;border-radius:18px;background:linear-gradient(140deg,#fff,#f8fbfa)}.rb-rider>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.rb-profile{display:flex;align-items:center;gap:12px}.rb-profile h4{margin:0 0 5px}.rb-profile p{margin:0;color:#54716b;font-size:11px}.rb-avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:14px;background:linear-gradient(140deg,#d4eade,#e0e8f6);font-size:13px;font-weight:700;color:#285147}.rb-axis{display:flex;justify-content:space-between;padding-left:150px;font-size:10px;color:#55736b;margin:10px 0}.rb-lane{display:grid;grid-template-columns:135px minmax(0,1fr);gap:4px 15px;padding:12px 0;border-top:1px solid #e5ece8}.rb-lane-name{display:flex;flex-direction:column;gap:5px;font-size:11px}.rb-lane-name span{font-size:10px;color:#71827a}.rb-plots{display:grid;gap:5px;max-height:130px;overflow-y:auto;overflow-x:hidden;align-content:start;padding:1px}.rb-plot{position:relative;height:15px;border-radius:4px;background:repeating-linear-gradient(90deg,#edf3f0,#edf3f0 calc(14.285% - 1px),#dce7e1 calc(14.285% - 1px),#dce7e1 14.285%);overflow:hidden}.rb-mark{position:absolute;top:2px;bottom:2px;min-width:2px;border-radius:3px;background:#409a82}.rb-point{min-width:4px}.rb-break,.rb-created,.rb-ended,.rb-resolved{background:#dcb967}.rb-deadline{background:#b98a4d}.rb-time_off{background:#ad8abf}.rb-cancelled,.rb-expired{background:#abb7bf}.rb-cancelled{background:repeating-linear-gradient(120deg,#9aaab2,#9aaab2 3px,#d2dce0 3px,#d2dce0 6px)}.rb-unknown{background:repeating-linear-gradient(120deg,#a97a98,#a97a98 3px,#decbd8 3px,#decbd8 6px)}.rb-delivery{background:#6f93ce}.rb-lane:nth-of-type(2) .rb-planned{background:#7895c8}.rb-paused{background:#dcb967}.rb-empty-lane{color:#7e8f88;font-size:10px;padding:5px 10px;background:#f1f5f3;border-radius:5px}.rb-unchecked{background:repeating-linear-gradient(120deg,#faf1df,#faf1df 8px,#f7ebd4 8px,#f7ebd4 16px);font-size:11px;line-height:1.7;padding:9px 12px;border-radius:6px;color:#795b2d}.rb-sources{grid-column:2;font-size:11px;margin-top:5px}.rb-sources>summary{cursor:pointer;color:#326658}.rb-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.rb-source{background:#eff5f1;border-radius:7px;padding:12px;overflow-wrap:anywhere}.rb-source strong,.rb-source span{display:block;font-size:11px;line-height:1.7}.rb-source span{color:#62796e}.rb-source p{font-size:10px;line-height:1.7;margin:7px 0 0}.rb-review{color:#8b5e31}.rb-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:10px;margin:16px 0 22px}.rb-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#409a82;margin-right:6px}.rb-legend span:nth-child(2):before{background:#7895c8}.rb-legend span:nth-child(3):before{background:#dcb967}.rb-legend span:nth-child(4):before{background:#ad8abf}.rb-legend span:nth-child(5):before{background:#abb7bf}@media(max-width:800px){.rb-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.rb-rider{padding:16px}}@media(max-width:600px){.rb-rider>header{align-items:flex-start;flex-direction:column}.rb-axis{padding-left:0;font-size:9px}.rb-lane{grid-template-columns:minmax(0,1fr);gap:8px}.rb-lane-name{flex-direction:row;justify-content:space-between}.rb-sources{grid-column:1}.rb-source-list{grid-template-columns:minmax(0,1fr)}.rb-plot{height:18px}.rb-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-avatar{width:34px;height:34px;font-size:11px}.rb-rider .dt-state{font-size:10px}}

.rb-conflicts{grid-column:auto;border:1px solid #e8cbbc;background:#fff7f1;border-radius:12px;padding:13px 16px;margin:0 0 18px}.rb-conflicts>summary{color:#8d4636;font-size:12px;font-weight:700;line-height:1.7}.rb-conflict-clear{font-size:11px;color:#4b6d60;background:#edf5ef;padding:10px 13px;border-radius:8px;line-height:1.7}.rb-conflict-note{font-size:11px;line-height:1.8;color:#7b6053}.rb-conflict-list{display:grid;gap:10px;max-height:420px;overflow-y:auto;margin-top:14px}.rb-conflict-list article{padding:13px;border:1px solid #ead4c8;border-radius:9px;background:#fffdfb;overflow-wrap:anywhere}.rb-conflict-list strong{font-size:12px;color:#853f32}.rb-conflict-list p{font-size:11px;line-height:1.8;margin:7px 0}.rb-conflict-refs{display:flex;flex-wrap:wrap;gap:7px}.rb-conflict-refs button{font-size:10px;white-space:normal;max-width:100%;line-height:1.6}.rb-conflict-status{margin-bottom:16px}.rb-source:focus{outline:2px solid #3c7d69;outline-offset:2px}@media(max-width:600px){.rb-conflicts{padding:12px}.rb-conflict-refs{flex-direction:column;align-items:flex-start}}

.rb-planning-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:17px 20px;border:1px solid #dfdce7;border-radius:14px;background:linear-gradient(120deg,#fbf7f2,#f2f6fb);margin-bottom:20px}.rb-planning-overview small{display:block;font-size:10px;color:#68787a;line-height:1.7}.rb-planning-overview strong{display:block;font-size:20px;color:#4e4a64;margin-top:6px}.rb-planning-overview p{grid-column:1/-1;font-size:10px;color:#6f757b;margin:0;line-height:1.7}@media(max-width:600px){.rb-planning-overview{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.rb-planning-overview>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.rb-planning-overview strong{font-size:16px;margin:0}}

.rb-manage-plan{margin-top:12px;font-size:10px;max-width:100%;white-space:normal}

.cq-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.cq-summary>div{padding:18px;border:1px solid #dbe6e0;border-radius:14px;background:#eff7f3}.cq-summary>div:nth-child(2){background:#fff2eb;border-color:#edd6c8}.cq-summary>div:nth-child(3){background:#fff8e8;border-color:#e9dfc7}.cq-summary>div:nth-child(4){background:#eef2fb;border-color:#dce1ef}.cq-summary small{display:block;color:#60766e;font-size:11px;line-height:1.7}.cq-summary strong{display:block;margin-top:8px;font-size:24px;color:#234c43}.cq-scope{font-size:12px;line-height:1.8;padding:14px 17px;border:1px solid #e4deee;border-radius:10px;background:#f7f4fb;color:#63576d}.cq-accounts{display:grid;gap:20px;margin:22px 0}.cq-account{border:1px solid #d9e6df;border-radius:16px;padding:22px;background:#fff}.cq-account>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cq-account h4{margin:0 0 7px;font-size:15px}.cq-account header p{font-size:11px;color:#637e72;margin:0}.cq-affected{color:#8b5041;background:#fff7f1;padding:12px 14px;border-radius:9px;font-size:11px;margin:17px 0;line-height:1.8}.cq-affected strong{font-size:19px;margin-right:9px}.cq-note{font-size:11px;line-height:1.8;color:#8b6645}.cq-details{grid-column:auto;font-size:11px}.cq-details>summary{padding:7px 0}.cq-details>p{font-size:11px;line-height:1.8}.cq-windows{display:grid;gap:10px;max-height:430px;overflow:auto;margin:12px 0 18px}.cq-windows>section{padding:14px;border:1px solid #ecd6c8;border-radius:10px;background:#fffbf8;overflow-wrap:anywhere}.cq-windows strong{color:#894631;font-size:12px}.cq-windows p,.cq-windows li{font-size:11px;line-height:1.8}.cq-windows ul{padding-left:18px;margin-bottom:0}.cq-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:440px;overflow:auto}.cq-plan.rb-rider{padding:15px;border-radius:10px;margin:0}.cq-plan strong,.cq-plan span{display:block;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.cq-plan span{color:#61796e}.cq-plan p{font-size:11px;line-height:1.8}.cq-plan button{font-size:11px}.cq-details h5{font-size:12px;margin:18px 0 10px}@media(max-width:800px){.cq-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cq-summary{gap:8px}.cq-summary>div{padding:14px}.cq-summary strong{font-size:20px}.cq-account{padding:16px}.cq-account>header{flex-direction:column}.cq-plans{grid-template-columns:minmax(0,1fr)}.cq-scope{font-size:11px}.cq-account .dt-state{font-size:10px}}

.rdt-track{height:32px}.rdt-band{position:absolute;top:5px;bottom:5px;min-width:1px;border-radius:3px}.rdt-available{background:#439f89}.rdt-paused{background:#d5a347}.rdt-expired{background:#a4afbd}.rdt-unknown{background:repeating-linear-gradient(120deg,#aa859e,#aa859e 5px,#e2cddb 5px,#e2cddb 9px)}.rdt-elapsed{outline:1px dashed #456257;outline-offset:-1px}.rdt-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;line-height:1.7;margin:15px 0 20px}.rdt-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#439f89}.rdt-key-paused:before{background:#d5a347!important}.rdt-key-expired:before{background:#a4afbd!important}.rdt-key-unknown:before{background:#aa859e!important}.rider-duty .dt-milestones p{font-size:11px;line-height:1.7}@media(max-width:600px){.rdt-legend{font-size:10px;gap:6px 10px}}

.rdc-context{margin-top:24px;padding-top:18px;border-top:1px solid #dfe8e3}

.rdp-context{margin-top:18px;padding-top:16px;border-top:1px solid #dfe8e3}.rdp-track{position:relative;height:16px;margin:16px 0 12px;background:#edf1ef;border-radius:6px;overflow:hidden}.rdp-band{position:absolute;inset-block:0}.rdp-regular{background:#469b88}.rdp-extra{background:#7297d3}.rdp-break{background:#e6bd69}.rdp-time_off{background:#b990c5}.rdp-conflicting{background:#e2857f}.rdp-no_plan{background:#afb9c1}.rdp-legend{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:11px;line-height:1.7;margin:12px 0}.rdp-legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#469b88}.rdp-key-extra:before{background:#7297d3!important}.rdp-key-break:before{background:#e6bd69!important}.rdp-key-time_off:before{background:#b990c5!important}.rdp-key-conflicting:before{background:#e2857f!important}.rdp-key-no_plan:before{background:#afb9c1!important}.rdp-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0}.rdp-matrix table{width:100%;min-width:530px;border-collapse:collapse;font-size:11px}.rdp-matrix th,.rdp-matrix td{text-align:left;padding:9px;border-bottom:1px solid #dfe8e3}.rdp-matrix thead{background:#f0f5f2}.rdp-matrix th{font-weight:600}@media(max-width:600px){.rdp-legend,.rdp-matrix table{font-size:10px}}

.handover-preparation-panel{display:grid;gap:18px;min-width:0}.prep-hero{padding:24px;border-radius:20px;background:linear-gradient(120deg,#e5f1ec,#eef0fc,#fff2e1)}.prep-hero h3{margin:6px 0;color:#173f38}.prep-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.prep-metrics article{display:grid;gap:8px;padding:16px;border:1px solid #d7e5df;border-radius:15px;background:#f5f9f7}.prep-metrics article:nth-child(2){background:#fff2e8}.prep-metrics article:nth-child(3){background:#e8f4ee}.prep-metrics article:nth-child(4){background:#eef1ff}.prep-metrics article:nth-child(5){background:#fff7df}.prep-metrics span{font-size:12px}.prep-metrics strong{font-size:25px;color:#183f38}.prep-actions,.prep-pages,.prep-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.prep-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}.prep-filters label{display:grid;gap:6px;min-width:0}.prep-filters input,.prep-filters select{min-width:0;width:100%}.prep-flow svg{width:100%;height:14px;border-radius:12px;background:#edf1ef}.prep-legend{margin-top:8px;font-size:12px}.prep-legend span{padding:6px 10px;border-radius:10px}.prep-ready{fill:#319a75;background:#e8f4ee;color:#175940}.prep-offered{fill:#6772c5;background:#eef1ff;color:#3c458d}.prep-blocked{fill:#cf963b;background:#fff3dc;color:#7c501a}.prep-task{padding:20px;border:1px solid #d9e6df;border-radius:18px;background:#fff;min-width:0}.prep-task header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.prep-task h4{margin:5px 0 0}.prep-task h5{margin:0 0 8px;font-size:14px}.prep-task p,.prep-task small,.prep-task h4,.prep-task h5,.prep-note{overflow-wrap:anywhere}.prep-pill{padding:6px 10px;background:#e9f1ec;border-radius:18px;font-size:12px;white-space:nowrap}.prep-late{background:#fff0e8;color:#9b421b}.prep-links{display:grid;gap:12px;margin-top:18px}.prep-links section{padding:16px;border-radius:14px;background:#f1f3fc}.prep-notice{padding:14px;border:1px solid #ecd8ac;border-radius:12px;background:#fff6e4;overflow-wrap:anywhere}.prep-ready,.prep-note,.prep-empty{padding:14px;border-radius:12px}.prep-note,.prep-empty{background:#f0f6f3}.prep-pages{justify-content:center}.prep-rows{display:grid;gap:16px}.prep-empty h4{margin-top:0}@media(max-width:650px){.prep-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-filters{grid-template-columns:1fr}.prep-task header{flex-direction:column}.prep-hero,.prep-task{padding:16px}.prep-actions .button{flex:1 1 110px}.prep-pill{white-space:normal}}

#app-dialog:has(.payment-reference-review){width:min(980px,calc(100% - 32px));max-width:980px}.payment-reference-review{color:#173d39;overflow-wrap:anywhere}.payment-reference-review>button{margin-bottom:1rem}.pr-kicker{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:#38756c;margin:0}.payment-reference-review h3{font-size:1.4rem;margin:.4rem 0 1rem}.pr-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.pr-facts>div{min-width:0;border:1px solid #dbe7e3;border-radius:12px;padding:.8rem;display:flex;flex-direction:column;gap:.4rem}.pr-facts span{font-size:.73rem;color:#647b76}.pr-facts strong{font-size:.85rem}.pr-hold{background:#fff2e5;border:1px solid #efd5bd;border-radius:13px;padding:1rem;margin:1rem 0;color:#795022}.pr-hold strong{font-size:.95rem}.pr-hold p{font-size:.81rem;line-height:1.6;margin:.6rem 0 0}.pr-verified{display:flex;flex-direction:column;gap:.5rem;border:1px solid #c7e0d3;background:#edf7f0;padding:1rem;border-radius:13px}.pr-verified span{font-size:.82rem;line-height:1.5}.pr-verified small{font-size:.72rem;color:#647b76}.pr-confirm{display:flex;align-items:flex-start;gap:.6rem;border:1px solid #dbe7e3;background:#f2f7f4;padding:.9rem;border-radius:12px;font-size:.82rem;line-height:1.5;margin:1rem 0}.pr-confirm input{width:18px;height:18px;flex-shrink:0;margin-top:.1rem}.pr-notice{font-size:.83rem;line-height:1.6;background:#f1f5f3;padding:.9rem;border-radius:12px}.pr-boundary{font-size:.74rem;line-height:1.7;color:#647b76;border-top:1px solid #dbe7e3;padding-top:1rem;margin:1.2rem 0 0}.pr-history{margin:1.2rem 0;font-size:.8rem}.pr-history summary{cursor:pointer;font-weight:700}.pr-history ol{padding-left:1.1rem}.pr-history li{padding:.6rem 0}.pr-history small,.pr-history span{display:block;color:#647b76;font-size:.73rem;line-height:1.6;margin-top:.4rem}.pr-history li p{white-space:pre-wrap}.pr-pages{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-top:.9rem}.payment-reference-review .field{min-width:0}.payment-reference-review input,.payment-reference-review textarea{box-sizing:border-box;min-width:0;max-width:100%}.payment-reference-entry{display:flex;justify-content:flex-end;margin-bottom:1rem}@media(max-width:650px){.pr-facts{grid-template-columns:1fr}.payment-reference-review h3{font-size:1.2rem}.pr-confirm,.pr-hold{padding:.8rem}}

#app-dialog:has(.refund-reference-review){width:min(980px,calc(100% - 32px));max-width:980px}.refund-reference-review{color:#173d39;overflow-wrap:anywhere}.refund-reference-review>button{margin-bottom:1rem}.pr-kicker{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:#38756c;margin:0}.refund-reference-review h3{font-size:1.4rem;margin:.4rem 0 1rem}.pr-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.pr-facts>div{min-width:0;border:1px solid #dbe7e3;border-radius:12px;padding:.8rem;display:flex;flex-direction:column;gap:.4rem}.pr-facts span{font-size:.73rem;color:#647b76}.pr-facts strong{font-size:.85rem}.pr-hold{background:#fff2e5;border:1px solid #efd5bd;border-radius:13px;padding:1rem;margin:1rem 0;color:#795022}.pr-hold strong{font-size:.95rem}.pr-hold p{font-size:.81rem;line-height:1.6;margin:.6rem 0 0}.pr-verified{display:flex;flex-direction:column;gap:.5rem;border:1px solid #c7e0d3;background:#edf7f0;padding:1rem;border-radius:13px}.pr-verified span{font-size:.82rem;line-height:1.5}.pr-verified small{font-size:.72rem;color:#647b76}.pr-confirm{display:flex;align-items:flex-start;gap:.6rem;border:1px solid #dbe7e3;background:#f2f7f4;padding:.9rem;border-radius:12px;font-size:.82rem;line-height:1.5;margin:1rem 0}.pr-confirm input{width:18px;height:18px;flex-shrink:0;margin-top:.1rem}.pr-notice{font-size:.83rem;line-height:1.6;background:#f1f5f3;padding:.9rem;border-radius:12px}.pr-boundary{font-size:.74rem;line-height:1.7;color:#647b76;border-top:1px solid #dbe7e3;padding-top:1rem;margin:1.2rem 0 0}.pr-history{margin:1.2rem 0;font-size:.8rem}.pr-history summary{cursor:pointer;font-weight:700}.pr-history ol{padding-left:1.1rem}.pr-history li{padding:.6rem 0}.pr-history small,.pr-history span{display:block;color:#647b76;font-size:.73rem;line-height:1.6;margin-top:.4rem}.pr-history li p{white-space:pre-wrap}.pr-pages{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-top:.9rem}.refund-reference-review .field{min-width:0}.refund-reference-review input,.refund-reference-review textarea{box-sizing:border-box;min-width:0;max-width:100%}.refund-reference-entry{display:flex;justify-content:flex-end;margin-bottom:1rem}@media(max-width:650px){.pr-facts{grid-template-columns:1fr}.refund-reference-review h3{font-size:1.2rem}.pr-confirm,.pr-hold{padding:.8rem}}

#workspace-button[aria-busy="true"]::after{content:"";display:inline-block;width:12px;height:12px;flex:0 0 12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:workspace-opening .7s linear infinite}
@keyframes workspace-opening{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#workspace-button[aria-busy="true"]::after{animation:none}}

.delivery-address-picker{margin:18px 0;padding:16px;border:1px solid var(--line,#dce7e2);border-radius:16px;background:var(--surface,#f5f9f6)}.delivery-address-picker h3{margin:0 0 8px}.delivery-address-picker p{font-size:13px;line-height:1.5}.delivery-address-map{display:block;border:1px solid #dce7e2;width:100%;height:470px;border-radius:12px;background:#edf3ef;margin:12px 0}.delivery-address-actions{display:flex;gap:8px;flex-wrap:wrap}.delivery-address-status{padding:9px 0;margin:0}.delivery-address-status[data-confirmed=true]{color:var(--green,#188367);font-weight:700}.delivery-address-picker button{white-space:normal}.delivery-arrival-notes{margin-top:12px}.delivery-arrival-notes summary{font-weight:700;cursor:pointer;padding:8px 0}@media(max-width:480px){.delivery-address-picker{padding:10px}.delivery-address-map{height:450px}.delivery-address-actions .button{flex:1 1 120px}}

.address-location-status:not(:empty){padding:10px 12px;margin:8px 0 12px;border-radius:10px;background:var(--soft,#edf5f1);color:var(--ink,#254b3d);overflow-wrap:anywhere}.delivery-address-actions button[aria-busy=true]::before{content:"";display:inline-block;width:12px;height:12px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:address-locating .8s linear infinite}@keyframes address-locating{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.delivery-address-actions button[aria-busy=true]::before{animation:none}}

.duty-step-file-choice{display:grid;gap:.45rem;margin:.6rem 0 1rem;padding:.8rem;border:1px solid #c5dcd3;border-radius:12px;background:#f2f8f5;color:#234f42;font-weight:600;min-width:0}
.duty-step-file-choice select{min-width:0;max-width:100%;width:100%;min-height:44px;font-weight:400;background:#fff}
.duty-step-files{border-left:3px solid #8ca9d1;border-radius:8px;margin:.9rem 0;padding:.75rem;background:#f4f7fc;min-width:0;overflow-wrap:anywhere}
.duty-step-files>.op-evidence-files{margin-top:.5rem}

.duty-rules-editor{border:1px solid #bbd8ce;border-radius:16px;padding:1rem;background:linear-gradient(135deg,#f0f8f4,#f7f7ff);margin:1rem 0;min-width:0}
.duty-rules-editor fieldset{background:#fff;border:1px solid #d8e5df;border-radius:12px;padding:1rem;margin:.8rem 0;min-width:0}
.duty-rules-editor input{max-width:100%;min-width:0}.duty-rules-bounds{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem}
.duty-evidence-requirement{color:#315f51;font-size:.9em}.duty-measurement{display:grid;gap:.4rem;padding:.8rem;margin:.8rem 0;background:#eaf2fd;border-radius:10px;overflow-wrap:anywhere}
@media(max-width:480px){.duty-rules-bounds{grid-template-columns:minmax(0,1fr)}}
.duty-order-item{display:grid;gap:.3rem;padding:.65rem 0;border-top:1px solid #cbdcee}.duty-order-reference{display:block;margin:.5rem 0;overflow-wrap:anywhere}

.handover-alert-head{padding:1.3rem;border-radius:18px;background:linear-gradient(130deg,#e8f5ee,#edf0ff,#fff0df);margin-bottom:1rem}.handover-alert-head h3{margin:.35rem 0}.handover-alert-status{padding:.8rem;background:#eaf4ee;border-radius:10px}
.handover-alert-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.7rem 0}.handover-alert-actions button{min-height:40px;white-space:normal}.handover-alert-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.handover-alert-metrics article{display:grid;gap:.4rem;padding:1rem;border:1px solid #dce8e2;border-radius:14px;background:#f4f8fd;min-width:0}.handover-alert-metrics strong{font-size:1.6rem;color:#24594a}
.handover-alert-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.handover-alert-filters label,.handover-alert-form label{display:grid;gap:.4rem;min-width:0;margin:.8rem 0}.handover-alert-form .check-field{display:flex;align-items:flex-start;gap:.6rem}.handover-alert-form input[type=checkbox]{flex:0 0 auto;margin-top:.25rem}.handover-alert-filters select,.handover-alert-form input,.handover-alert-form textarea{max-width:100%;min-width:0;min-height:44px}.handover-alert-form textarea{min-height:90px}
.handover-alert-card,.handover-alert-form,.handover-alert-history{padding:1rem;border:1px solid #cddfd6;border-left:4px solid #779dd0;border-radius:14px;margin:1rem 0;background:#fafdfb;overflow-wrap:anywhere}.handover-alert-card.historical{border-left-color:#aab4ae;background:#f6f7f6}.handover-alert-card small{display:block;margin:.45rem 0;color:#587166}.handover-alert-tags{display:flex;flex-wrap:wrap;gap:.4rem}.handover-alert-tags span{padding:.25rem .55rem;border-radius:16px;background:#e9efff;font-size:.8rem}.handover-alert-tags .critical{background:#fff0dc;color:#94541d}.handover-alert-warning{padding:.8rem;background:#fff2df;border-radius:10px}.handover-alert-empty{padding:1rem;border:1px dashed #b9d1c5;border-radius:12px}.handover-alert-policy{color:#376350}
.handover-alert-form select{width:100%;min-width:0;max-width:100%;min-height:44px;padding:.7rem .8rem;border:1px solid #bacfc6;border-radius:10px;background:#fff;color:#173f35;font:inherit}
@media(max-width:480px){.handover-alert-filters{grid-template-columns:minmax(0,1fr)}.handover-alert-metrics article{padding:.65rem .5rem}.handover-alert-metrics small{font-size:.75rem}.handover-alert-actions button{min-height:44px}}

.road-budget{padding:1rem;margin:.9rem 0 1.2rem;background:#f1f7f5;border:1px solid #d2e4de;border-radius:16px;color:#153f37;overflow-wrap:anywhere}
.road-budget h4{margin:0 0 .8rem;font-size:1rem}.road-budget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.road-budget-card{display:flex;flex-direction:column;gap:.3rem;min-width:0;padding:.8rem;background:#fff;border:1px solid #dce9e4;border-radius:12px}
.road-budget-card strong{font-size:1.35rem;line-height:1.3;color:#115a47}.road-budget-card span{font-size:.8rem;color:#526b63}.road-budget-card progress{width:100%;height:.5rem;margin-top:.3rem;accent-color:#227c62}
.road-budget .form-note{margin:.75rem 0 .4rem}.road-budget>small{color:#526b63}.road-budget-card:nth-child(2) strong{color:#3367a0}.road-budget-card:nth-child(2) progress{accent-color:#3367a0}.road-budget-card:nth-child(3) strong{color:#956321}.road-budget-card:nth-child(3) progress{accent-color:#ad792f}
@media(max-width:540px){.road-budget{padding:.8rem}.road-budget-grid{grid-template-columns:1fr}.road-budget-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.25rem .5rem}.road-budget-card small{grid-column:1}.road-budget-card strong{grid-column:2;grid-row:1 / span 2;font-size:1.2rem}.road-budget-card span{grid-column:1}.road-budget-card progress{grid-column:1 / -1}}

.statement-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:22px 0 10px}.statement-presets{display:flex;gap:8px;flex-wrap:wrap}.statement-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.statement-totals>div{border:1px solid #ccded6;background:#edf5f2;border-radius:12px;padding:18px 14px;min-width:0}.statement-totals>div.statement-incoming{background:#eaf6ef;border-color:#c0ddcb}.statement-totals>div.statement-outgoing{background:#fff2e5;border-color:#ecd2b8}.statement-totals>div.statement-closing{background:#eef0fc;border-color:#d3d8ed}.statement-totals small{display:block;font-size:11px;color:#52675f}.statement-totals strong{display:block;font-size:24px;font-variant-numeric:tabular-nums;margin-top:10px;overflow-wrap:anywhere}.statement-movements h4,.statement-current h4{font-size:16px;margin:25px 0 8px}.statement-movements h4 small{font-size:11px;font-weight:400;margin-left:10px}.statement-head,.statement-movement{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,1fr) minmax(100px,1fr);gap:14px}.statement-head{font-size:11px;color:#576e63;padding:12px 14px;border-bottom:1px solid #cadcd1}.statement-movement{padding:16px 14px;border-bottom:1px solid #dae5df;align-items:start;min-width:0}.statement-movement:nth-child(even){background:#f5f8f5}.statement-movement>div{min-width:0}.statement-movement time{display:block;font-size:10px;line-height:1.6;color:#597164}.statement-movement strong{display:block;font-size:13px;line-height:1.7;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.statement-movement details{font-size:11px;margin-top:10px;overflow-wrap:anywhere}.statement-movement summary{cursor:pointer;color:#3c6654}.statement-movement details p{white-space:pre-wrap;line-height:1.7}.statement-change>small,.statement-running>small{display:none}.statement-change.is-in{color:#23714e}.statement-change.is-out{color:#9c4e24}.statement-running{color:#3f4c88}.statement-current{background:#f1f5f2;border-radius:12px;padding:1px 18px 10px;margin-top:22px;line-height:1.8}.statement-current p{font-size:11px;overflow-wrap:anywhere}@media(max-width:640px){.statement-filters{grid-template-columns:1fr 1fr}.statement-filters>button{grid-column:1/-1;justify-self:start}.statement-totals{grid-template-columns:1fr 1fr}.statement-totals strong{font-size:21px}.statement-head{display:none}.statement-movement{grid-template-columns:1fr 1fr;gap:10px;padding:15px 12px;border:1px solid #d3e1d7;border-radius:10px;margin:10px 0}.statement-movement>div:first-child{grid-column:1/-1}.statement-change>small,.statement-running>small{display:block;font-size:10px;font-weight:400;color:#5b7066}.statement-movement details{margin-top:6px}}@media(max-width:360px){.statement-filters{grid-template-columns:1fr}.statement-totals>div{padding:13px 10px}.statement-totals strong{font-size:19px}.statement-presets .button{font-size:11px}}

