/* Scheduling sheets: stable grids, legacy colour meanings, separate provenance. */
.sheet-intro,.sheet-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 22px;color:#203a36}
.sheet-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:1.8px;color:#78918a;margin-bottom:7px}
.sheet-intro h2,.sheet-overview h2{font-size:26px;line-height:1.3;font-weight:750;letter-spacing:-.6px}
.sheet-intro p,.sheet-overview p{font-size:12px;color:#75847e;margin-top:7px;line-height:1.7}
.sheet-segment{display:flex;gap:4px;padding:4px;border:1px solid #dbe4df;background:#edf2ee;border-radius:10px;flex-shrink:0}
.sheet-segment button{font-size:12px;padding:8px 16px;border-radius:7px;color:#6d7e75;white-space:nowrap}
.sheet-segment button.active{background:#fff;color:#245b47;box-shadow:0 1px 4px #244a3212;font-weight:650}
.sheet-toolbar{margin-bottom:16px}.sheet-card{border:1px solid #dae3df;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #1b3d2a04}
.sheet-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #e1e8e4;background:#fff}
.sheet-card-heading b{font-size:14px;color:#2c443a;font-weight:700}.sheet-card-heading span{font-size:11px;color:#86938d;margin-left:12px}.sheet-hint{font-size:11px;color:#86938d;white-space:nowrap}
.sheet-scroll{overflow-x:auto;overflow-y:auto;max-height:none;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:#b8c9bf #f3f6f4}
.board-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:center;color:#34493e;font-size:12px}
.board-table[data-view=week]{min-width:720px}.board-table[data-view=month]{width:max-content;min-width:100%;table-layout:auto}
.board-table thead th{height:74px;position:sticky;top:0;z-index:5;background:#eff4f1!important;border-right:1px solid #dfe7e2;border-bottom:1px solid #d7e2db;color:#4e685b;padding:8px 2px!important;font-weight:600}
.board-table thead th>div:first-child{font-size:15px;font-weight:750}.board-table thead th>div:nth-child(2){font-size:11px;margin-top:3px}
.board-table .board-person{width:112px;min-width:112px;padding:10px 16px!important;text-align:left;z-index:6;color:#304d3d;border-right:1px solid #d6e2d9;background:#fafcfb!important;font-size:13px;box-shadow:2px 0 4px #253b2c05}
.board-table thead .board-person{z-index:8;background:#e8f0ea!important}.board-table .board-total{width:64px;min-width:64px;background:#f7faf8!important;color:#56705e;position:sticky;right:0;z-index:3;border-left:1px solid #dce6df;font-variant-numeric:tabular-nums}
.board-table thead .board-total{z-index:7}.board-table[data-view=month] th:not(.board-person):not(.board-total){width:50px;min-width:50px}
.board-table td[data-shift]{padding:0!important;border-right:1px solid #e5ebe7;border-bottom:1px solid #e3ebe5}
.board-table .board-cell{border:0;min-width:48px;height:48px;background:#fff;transition:box-shadow .12s}
.board-table [data-shift=中班] .board-cell{background:#d5f5e3}.board-table [data-shift=晚班] .board-cell{background:#add780}
.board-table [data-shift=休] .board-cell{background:#fff2cc}.board-table [data-shift=年假] .board-cell{background:#e5e8ea}
.board-table .shift-pill{background:transparent;border:0;padding:0;font-size:12px;font-weight:600;letter-spacing:0;color:#344c3c;line-height:1.6;border-radius:0;min-width:0}
.board-table [data-shift=休] .shift-pill{color:#806018}.board-table [data-shift=年假] .shift-pill{color:#6a7480}
.board-table .status-pending{background-image:none}.board-table .status-pending:before{content:'';position:absolute;left:5px;top:5px;width:4px;height:4px;border-radius:50%;background:#ad823a}
.board-table .board-cell.today{outline:0;box-shadow:inset 0 0 0 2px #3d7c61}.board-table .board-cell:hover{box-shadow:inset 0 0 0 2px #7aa48e;z-index:2}
.board-table .board-cell.selected{background:#d9e9f7!important;box-shadow:inset 0 0 0 2px #4c81a6}.board-table .board-cell.selected .shift-pill{background:transparent!important;color:#245477!important}
.board-day-state{display:inline-flex;align-items:center;justify-content:center;margin:5px auto 0;padding:1px 4px;border-radius:4px;font-size:8px;line-height:1.35;letter-spacing:0;white-space:nowrap;background:#edf5ef;color:#397055;border:1px solid #d7e8dd}
.board-day-state.protected{background:#f1f2f3;color:#69737b;border-color:#dfe2e4}.board-day-state.confirmed{background:#e8eef8;color:#526f9d;border-color:#d4deef}.board-day-state.locked,.board-day-state.loading{background:#fff3df;color:#9a6b2f;border-color:#eedbb9}
.board-table .board-cell.is-locked{cursor:not-allowed;filter:saturate(.72);box-shadow:inset 0 0 0 1px #cdd5d0}.board-table .board-cell.is-locked:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 9px,rgba(71,85,78,.055) 9px 11px);pointer-events:none}
.board-table .board-cell.is-locked:hover{box-shadow:inset 0 0 0 2px #87948d}.board-lock-mark{position:absolute;right:3px;bottom:2px;z-index:1;font-size:8px;line-height:12px;min-width:12px;padding:0 2px;border-radius:3px;background:#596a61;color:#fff;font-weight:700;pointer-events:none}
.board-table .group-row td{background:#e8efea;color:#667d6a;font-size:10px;letter-spacing:1px;padding:6px 16px;text-align:left;border-top:0;border-bottom:1px solid #dce6de}
.board-table .sep-row td{height:7px;padding:0;background:#f7faf8}.sheet-empty{color:#c3cec7;font-size:13px}
#schedule-page>.evo-notice{padding:10px 14px;border-radius:9px;background:#f7f9f2;border-color:#e0e6d4;margin-bottom:14px}#schedule-page>.evo-notice strong{font-size:12px}#schedule-page>.evo-notice p{font-size:10px;line-height:1.7;color:#819077}
.sheet-management{border:1px solid #e1e7e4;border-radius:10px;background:#fff;padding:0 14px;color:#5f7469}
.sheet-management summary{font-size:12px;padding:12px 0;cursor:pointer;font-weight:650}.sheet-management summary span{font-size:11px;margin-left:12px;color:#8a968f;font-weight:400}
.sheet-management-actions{border-top:1px solid #edf1ee;padding-top:12px}.sheet-management .evo-help{margin-bottom:12px}
.sheet-overview{margin:22px 0 14px}.sheet-overview h2{font-size:24px}.sheet-overview-meta{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;font-size:11px;color:#7e8f85}.sheet-overview-meta>span{padding:5px 9px;background:#f0f4f1;border:1px solid #dfe8e2;border-radius:6px}.sheet-overview-meta .sheet-attention{background:#fff5ef;color:#b37753;border-color:#edddce}
.sheet-legend{display:flex;gap:8px 20px;flex-wrap:wrap;align-items:center;padding:12px 0;margin-bottom:10px;font-size:11px;color:#61766a}.sheet-legend>span{display:flex;gap:7px;align-items:center}.sheet-legend-note{margin-left:auto;color:#91a098;font-size:10px}.swatch{display:inline-block;width:15px;height:12px;border-radius:3px;border:1px solid #cedbd2;background:#fff}.swatch.mid{background:#d5f5e3;border-color:#b6dfc5}.swatch.late{background:#ffedc2;border-color:#e8d39d}.swatch.gap{background:#fff5ef;border-bottom:3px solid #d76060}.swatch.empty{background:#f3f5f7}
#evo-duihao-table{border:1px solid #d6e1da!important;border-radius:12px!important;overflow-x:auto;overflow-y:auto;max-height:none;box-shadow:0 3px 12px #193c2505!important;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:#b8c9bf #f3f6f4}
.dh-table{table-layout:fixed;min-width:1080px;border-collapse:separate;border-spacing:0;background:#fff;width:100%}
.dh-table.dh-month{table-layout:auto;width:max-content;min-width:100%}.dh-table.dh-month .dh-cell{min-width:132px}
.dh-table .dh-th{background:#eef4ef!important;height:70px;padding:10px 7px;border-right:1px solid #dce5de;border-bottom:1px solid #d2dfd5;color:#405f4d;font-weight:700;z-index:5}.dh-th>div:first-child{font-size:14px!important;font-weight:750}.dh-th>div:nth-child(2){font-size:10px!important;margin-top:3px;color:#869b8b}
.dh-table .dh-th:first-child{position:sticky;left:0;top:0;width:152px;min-width:152px;text-align:left;padding-left:18px;z-index:9!important;background:#e6eee7!important}
.dh-table .dh-store{width:152px;min-width:152px;max-width:152px;height:64px;padding:10px 16px;border-right:1px solid #d6e0d8;border-bottom:1px solid #e2e9e4;background:#fafcfb!important;z-index:4;box-shadow:2px 0 4px #2d483309}
.dh-store>div:first-child{font-size:13px!important;letter-spacing:.1px;color:#344e3e}.dh-store>div:nth-child(2){font-size:10px!important;color:#93a297;margin-top:4px}
.dh-table .dh-cell{height:64px;min-width:128px;padding:10px 10px;border-right:1px solid #dfe7e1;border-bottom:1px solid #dfe7e1;vertical-align:middle;text-align:center;line-height:1.6;position:relative}
.dh-table .dh-cell:hover{outline:2px solid #74a68a;outline-offset:-2px;z-index:3}.dh-table .dh-cell.is-manual:after{content:'';position:absolute;inset:3px;border:1px solid #81a8cf;border-radius:5px;pointer-events:none}
.dh-names{display:flex;flex-wrap:wrap;gap:2px 9px;align-items:center;justify-content:center}.dh-table .dh-name{font-size:13px;font-weight:650;line-height:1.65;color:#304e3a;white-space:nowrap}.dh-table .dh-name.temp{color:#367aba}
.dh-manual-label{position:absolute;right:6px;top:4px;font-size:8px;line-height:12px;letter-spacing:.3px;color:#6187ac;padding:0 3px;background:#f3f8ff;border-radius:2px}.dh-table .is-manual{padding-top:18px}
.dh-table .dh-handover{font-size:10px;font-weight:400;line-height:1.6;color:#7c815a;margin-top:4px;padding:0;overflow-wrap:anywhere}.dh-table .dh-plus{font-size:9px;padding:1px 5px;line-height:1.4;border-radius:4px;background:#fae5e0;color:#ae5d50;white-space:nowrap}.dh-table .dh-empty{font-size:11px;color:#a0aba7}
.dh-table .evo-lock-label{display:inline-block;font-size:9px;background:transparent;padding:1px 0;color:#8b9e8c;margin-top:3px;font-weight:400}.dh-table .evo-lock-label.open{color:#b18853;background:transparent}
.sheet-footnote{font-size:10px;color:#97a399;line-height:1.8;margin:12px 2px 0}
.shift-middle{background:#d5f5e3;color:#345e47}.shift-evening{background:#add780;color:#345526}.shift-rest{background:#fff2cc;color:#806018}.shift-annual{background:#e5e8ea;color:#6a7480}
.status-pending:not(.board-cell){background-image:radial-gradient(#ad823a 1.8px,transparent 2px);background-size:10px 10px}
/* Capture keeps the exact same colour semantics and every person's full name. */
.evo-capture .sheet-overview,.evo-capture .sheet-footnote{display:none}.evo-capture .sheet-legend{margin:0 0 12px;padding:8px 0}
.evo-capture .dh-table .dh-cell{padding:10px 9px;height:64px}.evo-capture .dh-table .is-manual{padding-top:18px}.evo-capture .dh-table .dh-name{font-size:13px}.evo-capture .dh-table .dh-store{background:#fafcfb!important}
@media(max-width:700px){.sheet-intro,.sheet-overview{gap:12px;align-items:flex-start;flex-wrap:wrap;margin-top:3px}.sheet-intro h2,.sheet-overview h2{font-size:23px}.sheet-segment{padding:3px}.sheet-segment button{padding:7px 13px}.sheet-overview-meta{justify-content:flex-start}.sheet-legend{gap:8px 14px}.sheet-legend-note{margin-left:0;flex-basis:100%}.sheet-card-heading{padding:13px}.sheet-card-heading span{display:block;margin:4px 0 0}.sheet-card-heading .sheet-hint{display:none}.sheet-management summary span{display:none}.dh-table .dh-th:first-child,.dh-table .dh-store{width:124px;min-width:124px;max-width:124px;padding-left:12px}}
@media print{.sheet-intro,.sheet-toolbar,.sheet-management,.sheet-card-heading .sheet-hint{display:none!important}.sheet-scroll,#evo-duihao-table{overflow:visible!important;max-height:none!important}.board-table .board-person,.board-table .board-total,.board-table thead th{position:static}.board-table{min-width:0!important;width:100%!important}.dh-table{min-width:0!important}.dh-table .dh-cell{min-width:0}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Counts use the 09:00 confirmation list, never time shares or handovers. */
.dh-load{margin:10px 0 26px;padding:20px;border:1px solid #d8e4dc;border-radius:14px;background:#fff;color:#334e3e}
.dh-load-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dh-load-heading h3{font-size:19px;font-weight:650;margin:4px 0}.dh-load-heading p{font-size:13px;color:#687e70;margin:4px 0}.dh-load-date{display:flex;align-items:center;gap:10px;color:#526b5a;font-size:12px}.dh-load-date select{padding:8px 12px;border:1px solid #cbdcd0;border-radius:7px;color:#31513a;background:#f8fbf8;font-size:13px;max-width:100%}
.dh-load-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}.dh-load-metrics>div{padding:13px 16px;background:#f3f7f3;border:1px solid #e3ece4;border-radius:9px;display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px}.dh-load-metrics span{width:100%;font-size:12px;color:#617968}.dh-load-metrics strong{font-size:23px;font-weight:650;line-height:1.4;color:#285e40;font-variant-numeric:tabular-nums}.dh-load-metrics small{font-size:11px;color:#718474}
.dh-load-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;color:#667f6e;margin:10px 0}.dh-load-caption p{margin:0}.dh-load-caption label{display:flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}.dh-load-caption input{accent-color:#39714b}
.dh-load-scroll{max-height:390px;overflow:auto;border:1px solid #dde7df;border-radius:8px;overscroll-behavior:contain;scrollbar-gutter:stable}
.dh-load-table{width:100%;min-width:600px;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.55;text-align:center}.dh-load-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.dh-load-table thead th{position:sticky;top:0;z-index:1;background:#eaf1eb;color:#46664f;font-weight:550;padding:10px 12px;border-bottom:1px solid #d4e1d7;white-space:nowrap}.dh-load-table th:first-child{text-align:left;min-width:125px}.dh-load-table thead small{display:block;font-weight:400;font-size:10px;color:#718676}.dh-load-table td,.dh-load-table tbody th{padding:9px 12px;border-bottom:1px solid #e8eee9;font-variant-numeric:tabular-nums}.dh-load-table tbody th{font-weight:550}.dh-load-table tbody tr:last-child>*{border-bottom:0}.dh-load-table tbody tr.is-selected{background:#f0f7ed}.dh-load-table tbody tr.is-zero{color:#8c9b90}.dh-load-table tbody th small{display:block;font-size:11px;color:#819187;font-weight:400}.dh-load-table td>small{margin-left:4px;font-size:10px;color:#819187}.dh-load-total{font-size:17px;font-weight:650;color:#315b3b}.dh-load-table .is-zero .dh-load-total{color:#9aaba0}.dh-load-joint.has-joint{display:inline-block;background:#eaf1ff;color:#4b65a3;border-radius:5px;min-width:25px;padding:1px 7px}.dh-load-table button{padding:5px 9px;border:1px solid #d3dfd6;border-radius:5px;background:#fff;font-size:12px;color:#3d7350;cursor:pointer}.dh-load-table button:disabled{border-color:transparent;opacity:.35;cursor:default}.dh-load-empty{padding:25px!important;color:#8c9b90}
.dh-load-detail{margin-top:13px;padding:13px;background:#f6faf5;border:1px solid #dbe8d9;border-radius:8px}.dh-load-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.dh-load-detail-heading h4{font-size:14px;font-weight:600;margin:0}.dh-load-detail-heading button{font-size:12px;color:#4a7254;padding:4px 7px;cursor:pointer;background:transparent;border:0}.dh-load-store-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:8px;max-height:290px;overflow:auto}.dh-load-store{background:#fff;border:1px solid #e1e9e1;border-radius:6px;padding:9px 11px;font-size:12px}.dh-load-store>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.dh-load-store small{font-size:11px;color:#7d8f81}.dh-load-store b{font-weight:550}.dh-load-store p{font-size:12px;color:#607da4;margin:5px 0 0}.dh-load-store-badge{font-size:10px;padding:1px 5px;border-radius:4px;color:#6d8371;background:#edf2ed}.dh-load-store.shared{border-color:#d3dff2}.dh-load-store.shared .dh-load-store-badge{color:#526f9e;background:#edf3ff}.dh-load-note{font-size:11px;line-height:1.7;color:#7b8e7f;margin:12px 0 0}.dh-load button:focus-visible,.dh-load select:focus-visible,.dh-load-scroll:focus-visible{outline:2px solid #6b9d74;outline-offset:2px}
.dh-shared-badge{flex-basis:100%;font-size:10px;font-weight:450;color:#5978a4;line-height:1.4;text-align:center}.dh-table .dh-names:has(.dh-shared-badge:not([style*="display: none"])){row-gap:1px}
@media(max-width:700px){.dh-load{padding:14px;margin-bottom:18px}.dh-load-heading h3{font-size:17px}.dh-load-heading{gap:10px}.dh-load-date{width:100%;justify-content:space-between}.dh-load-date select{flex:1;min-width:0}.dh-load-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}.dh-load-metrics>div{padding:10px 12px}.dh-load-metrics strong{font-size:20px}.dh-load-table td,.dh-load-table tbody th{padding:8px 10px}.dh-load-scroll{max-height:320px}.dh-load-store-list{grid-template-columns:1fr}.dh-load-caption{align-items:flex-start}}
@media print{.dh-load-scroll{max-height:none;overflow:visible}.dh-load-table thead th{position:static}.dh-load-date,.dh-load-caption label{display:none}.dh-load{break-inside:avoid}}

.dh-load-table tbody th:first-child{position:sticky;left:0;z-index:1;background:#fff}.dh-load-table thead th:first-child{left:0;z-index:3}.dh-load-table tbody tr.is-selected th:first-child{background:#f0f7ed}

/* Visible actions and legible text on both working sheets. */
.sheet-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 16px;background:#fff;border:1px solid #b8cdbf;border-radius:12px;color:#18382b;box-shadow:0 2px 7px #244a3210}
.sheet-actions-status{display:flex;flex-direction:column;gap:3px;margin-right:auto}.sheet-actions-status b{font-size:15px;font-weight:750}.sheet-actions-status span{font-size:12px;color:#40594d}.sheet-action-buttons{display:flex;flex-wrap:wrap;gap:8px}.sheet-actions .evo-button,.evo-capture-controls .evo-button{font-size:14px;font-weight:650;min-height:40px;padding:9px 15px;color:#254a38;border-color:#a6bdae;cursor:pointer;white-space:nowrap;text-decoration:none}.sheet-actions .evo-button.primary{background:#245e46;color:#fff;border-color:#245e46}.sheet-actions .evo-button.unlock{color:#76450c;border-color:#b99b6d;background:#fff9ed}.sheet-actions .evo-button:hover{box-shadow:0 0 0 2px #dce9e0}.sheet-actions .evo-button:focus-visible,.evo-dialog button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.sheet-action-help{font-size:13px;line-height:1.6;color:#455b50;margin:8px 2px 16px}
.sheet-intro p,.sheet-overview p,.sheet-footnote,.sheet-legend,.sheet-legend-note{font-size:13px;color:#455b50}.sheet-eyebrow{color:#526d5e}.sheet-toolbar button,.sheet-toolbar a,.evo-duihao-toolbar button,.evo-duihao-toolbar a{font-size:13px!important;font-weight:600}.sheet-card-heading b{font-size:16px}.sheet-card-heading span,.sheet-hint,.sheet-overview-meta{font-size:12px;color:#486252}
.board-table{color:#172f26;font-size:14px}.board-table .board-person{font-size:15px;color:#17372a}.board-table .shift-pill{font-size:15px;font-weight:750;color:#17352a}.board-table [data-shift=休] .shift-pill{color:#654700}.board-table [data-shift=年假] .shift-pill{color:#374151}.board-table .board-cell.is-locked{filter:none}.board-table .board-cell.is-locked:after{display:none}.board-lock-mark{font-size:10px;line-height:14px;background:#344f42}.board-day-state{font-size:11px;font-weight:650}.board-day-state.protected{color:#374151}.board-day-state.confirmed{color:#214e83}.board-day-state.locked,.board-day-state.loading{color:#754b10}.board-table .group-row td{font-size:12px;color:#34513e}.board-table thead th>div:nth-child(2){font-size:12px;opacity:1}.board-table .other-month{opacity:.72}.board-table[data-view=month] .shift-pill{font-size:14px}.board-table[data-view=month] .board-day-state{font-size:10px;padding:1px 2px}
#schedule-page>.evo-notice strong{font-size:14px}#schedule-page>.evo-notice p{font-size:12px;color:#486044}.sheet-empty{color:#5f7466}
.dh-table{min-width:1000px}.dh-table .dh-name{font-size:15px;font-weight:750;color:#19372a}.dh-table .dh-name.temp{color:#164e8b}.dh-table .dh-store>div:first-child{font-size:14px!important;font-weight:750;color:#1f3c2d}.dh-table .dh-store>div:nth-child(2){font-size:12px!important;color:#536b5c}.dh-table .dh-th{color:#234532}.dh-table .dh-th>div:nth-child(2){font-size:12px!important;color:#405c49}.dh-table .evo-lock-label{font-size:11px;font-weight:650;color:#3e5846;line-height:1.3}.dh-table .evo-lock-label.open{color:#7a4c0d}.dh-table .dh-empty{font-size:13px;color:#526459}.dh-table .dh-plus{font-size:11px;color:#8b2828;background:#fff0eb;font-weight:650}.dh-shared-badge{font-size:11px;font-weight:650;color:#244f87}.dh-manual-label{font-size:10px;color:#245680;font-weight:650;line-height:14px}.dh-table .is-manual{padding-top:20px}
.dh-load{margin-top:24px}.dh-load-heading p,.dh-load-caption,.dh-load-date{color:#40594a}.dh-load-note{font-size:12px;color:#475e4f}.dh-load-table{font-size:14px;color:#284333}.dh-load-table thead th{color:#2d4c37;font-weight:650}.dh-load-table thead small,.dh-load-table tbody th small,.dh-load-table td>small{font-size:12px;color:#526858}.dh-load-table tbody tr.is-zero{color:#53665a}.dh-load-table .is-zero .dh-load-total{color:#526858}.dh-load-store small,.dh-load-store p{color:#455f52}

/* A single shared dialog stays visible from schedule and assignment pages. */
.evo-dialog-backdrop{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:20px;background:#10251db3;overscroll-behavior:contain}
.evo-dialog{position:relative;width:min(650px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border:1px solid #a8beae;border-radius:16px;box-shadow:0 20px 70px #10251d40;padding:28px;color:#203b2e}.evo-dialog h3{font-size:21px;font-weight:750;padding-right:30px;margin:0 0 18px}.evo-dialog-close{position:absolute;right:14px;top:10px;font-size:28px;color:#405b4b;width:38px;height:38px;border-radius:8px;cursor:pointer}.evo-dialog-close:hover{background:#eaf1ec}.evo-dialog .evo-form{grid-template-columns:1fr 1fr}.evo-dialog .evo-form label{font-size:14px;color:#314d3d;font-weight:600}.evo-dialog .evo-form input{font-size:15px;border-color:#9db3a4;padding:11px;color:#173a29}.evo-dialog .evo-help{font-size:14px;color:#486050;line-height:1.75}.evo-dialog .guide-checkbox{display:flex;gap:9px;align-items:flex-start;font-size:14px;color:#344f3e;margin:12px 0;line-height:1.65}.evo-dialog .guide-checkbox input{margin-top:5px;accent-color:#245e46}.evo-dialog .evo-button{font-size:14px;font-weight:650;min-height:42px;cursor:pointer}.evo-dialog .evo-error{font-size:14px;color:#822f13;border-color:#d9a58a}.evo-dialog button:disabled{cursor:wait}

/* The desktop sheet uses actual row dimensions, never transform or zoom. */
body.evo-capture{overflow:hidden}
.evo-capture #app>.toast{min-height:0!important;height:auto!important;max-width:calc(100vw - 24px);padding:10px 16px;font-size:14px}
.evo-dh-dialog{z-index:75!important}
.evo-capture #evo-duihao-page{position:fixed;inset:0;z-index:65;display:flex!important;flex-direction:column;gap:8px;background:#fff;padding:12px;overflow:hidden;isolation:isolate}
.evo-capture #evo-duihao-page>:not(.evo-capture-title):not(#evo-duihao-table){display:none!important}
.evo-capture #evo-duihao-page .evo-capture-title{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:0 2px;min-height:54px;flex-shrink:0}.evo-capture-title h2{font-size:20px;color:#173e2b;line-height:1.3}.evo-capture-title p{font-size:13px;color:#3e5948;margin-top:4px}.evo-capture-controls{display:flex;align-items:center;gap:12px;white-space:nowrap}.evo-capture-controls>span{font-size:12px;color:#4f6356}
.evo-capture #evo-duihao-table{flex:1;min-height:0;height:auto!important;max-height:none!important;overflow:auto!important;border-radius:6px!important;overscroll-behavior:contain}
.evo-capture .dh-table{width:100%;height:100%;min-width:1000px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.evo-capture .dh-table .dh-th{height:58px;padding:3px 5px;position:sticky;top:0;white-space:nowrap;background:#eaf1ec!important;z-index:5}.evo-capture .dh-table .dh-th>div{display:inline-block;margin:0 3px 0 0}.evo-capture .dh-table .dh-th>div:first-child{font-size:14px!important}.evo-capture .dh-table .evo-lock-label{display:block;margin:2px 0 0;font-size:11px}
.evo-capture .dh-table .dh-th:first-child,.evo-capture .dh-table .dh-store{width:132px;min-width:132px;max-width:132px;position:sticky;left:0;padding:2px 10px;background:#f4f8f5!important;white-space:nowrap}
.evo-capture .dh-table .dh-store{height:var(--dh-fit-row,28px);z-index:4}.evo-capture .dh-table .dh-store>div:first-child{font-size:14px!important;overflow:visible;white-space:nowrap}.evo-capture .dh-table .dh-store>div:nth-child(2){display:none}
.evo-capture .dh-table .dh-cell{height:var(--dh-fit-row,28px);min-width:0;padding:2px 5px;line-height:1.25;overflow:visible}.evo-capture .dh-table .dh-names{gap:1px 7px;line-height:1.25}.evo-capture .dh-table .dh-name{font-size:14px;line-height:1.35;font-weight:750;flex:0 0 auto;white-space:nowrap}.evo-capture .dh-shared-badge{flex-basis:auto;white-space:nowrap;line-height:1.35;font-size:11px}.evo-capture .dh-table .dh-plus{font-size:11px;line-height:1.3;padding:0 3px}.evo-capture .dh-manual-label{display:none}.evo-capture .dh-table .is-manual:after{inset:2px;border-radius:2px}.evo-capture .dh-table .is-manual{padding-top:2px}
.evo-capture .dh-table .dh-cell,.evo-capture .dh-table .dh-store{padding-top:1px;padding-bottom:1px}.evo-capture .dh-table .dh-store>div:first-child{line-height:1.3}
@media(min-width:1100px){#evo-duihao-table{max-height:calc(100dvh - 320px);min-height:330px}.dh-table .dh-th{position:sticky;top:0}.dh-table .dh-cell,.dh-table .dh-store{height:50px;padding-top:6px;padding-bottom:6px}.dh-table .is-manual{padding-top:18px}}
@media(max-width:700px){.sheet-actions{padding:12px;gap:10px}.sheet-actions-status{width:100%}.sheet-action-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}.sheet-actions .evo-button{font-size:13px;padding:9px 11px}.evo-dialog-backdrop{padding:12px}.evo-dialog{padding:22px 18px;max-height:calc(100dvh - 24px)}.evo-dialog .evo-form{grid-template-columns:1fr}.evo-dialog .evo-form .span-2{grid-column:span 1}.evo-capture #evo-duihao-page{padding:8px;gap:6px}.evo-capture-title h2{font-size:17px}.evo-capture-title p{font-size:12px;max-width:230px}.evo-capture-controls>span{display:none}.evo-capture-controls .evo-button{padding:8px 10px;font-size:13px}.evo-capture #evo-duihao-table{min-height:0}.evo-capture .dh-table{height:auto}.evo-capture .dh-table .dh-cell,.evo-capture .dh-table .dh-store{height:36px}.dh-load-heading{scroll-margin-top:20px}}
@media print{.sheet-actions,.sheet-action-help,.evo-dialog-backdrop,.evo-capture-controls{display:none!important}.evo-capture #evo-duihao-page{position:static;padding:0;overflow:visible;display:block!important}.evo-capture #evo-duihao-table{overflow:visible!important;display:block}.evo-capture .dh-table{height:auto;min-width:0}.evo-capture .dh-table .dh-store,.evo-capture .dh-table .dh-th{position:static}.evo-capture .dh-table .dh-cell{height:auto}}

/* One application viewport; page scrolling never expands a second empty document. */
html:has(#app.authenticated),body:has(#app.authenticated){height:100%;overflow:hidden;overscroll-behavior:none}
#app.authenticated{height:100dvh;min-height:0;overflow:hidden}.app-shell{height:100dvh!important;min-height:0}.app-main{min-height:0}#app.authenticated main{min-height:0;overscroll-behavior-y:contain}
.dh-datebar{padding:18px;background:#fff;border:1px solid #c3d6c9;border-radius:13px;margin:14px 0 20px;color:#203d2d}.dh-date-main{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dh-date-main h2{font-size:19px;line-height:1.35;font-weight:750}.dh-date-main p{font-size:13px;line-height:1.6;color:#526855;margin-top:5px}.dh-date-main .sheet-eyebrow{font-size:9px;margin-bottom:5px}
.dh-date-picker{display:flex;align-items:center;gap:6px;flex-shrink:0}.dh-date-picker input{min-width:148px;max-width:180px;border:1px solid #a7bfaf;background:#fff;border-radius:7px;padding:8px 9px;font-size:14px;line-height:1.5;color:#234b34;min-height:38px}.dh-date-picker>button{height:38px;min-width:36px;padding:6px 9px;border:1px solid #c0d0c4;border-radius:7px;background:#f8fbf8;color:#28513a;font-size:20px;line-height:1;cursor:pointer}.dh-date-picker>button.evo-button{font-size:13px;background:#245e46;border-color:#245e46;color:#fff;font-weight:650;padding:10px 14px;white-space:nowrap}
.dh-date-days{display:flex;gap:7px;margin-top:15px;overflow-x:auto;padding-bottom:2px}.dh-date-chip{flex:1;min-width:86px;display:grid;grid-template-columns:1fr auto;gap:4px 7px;padding:10px 12px;background:#f5f8f5;border:1px solid #d4e1d7;border-radius:8px;text-align:left;color:#365b41;cursor:pointer}.dh-date-chip b{font-size:14px}.dh-date-chip>span{font-size:12px;color:#536e59}.dh-date-chip small{font-size:11px;color:#5f725d}.dh-date-chip .dh-date-expand{font-size:10px;align-self:end}.dh-date-chip.active{background:#e8f3eb;border-color:#3e7953;box-shadow:inset 0 0 0 1px #3e7953;color:#214e32}.dh-date-chip:hover{border-color:#3e7953}.dh-date-chip:disabled,.dh-date-picker>button:disabled{opacity:.5;cursor:wait}
.dh-header-day{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 5px;padding:2px 4px;border-radius:5px;color:#274d35;line-height:1.3;cursor:pointer}.dh-header-day b{font-size:14px;font-weight:750}.dh-header-day span{font-size:12px}.dh-header-day small{font-size:10px;flex-basis:100%;color:#386a4a}.dh-header-day:hover{background:#d5e8d9}.dh-header-day:focus-visible,.dh-datebar button:focus-visible,.dh-pool-dialog button:focus-visible,.dh-pool-dialog input:focus-visible{outline:3px solid #2563eb;outline-offset:2px}

/* Open a day as a large, independent store-to-person workspace. */
.dh-pool-backdrop{position:fixed;inset:0;z-index:86;display:flex;align-items:center;justify-content:center;padding:18px;background:#142b22ad;overscroll-behavior:contain}
.dh-pool-dialog{display:flex;flex-direction:column;width:min(1860px,100%);height:calc(100dvh - 36px);min-height:0;border:1px solid #a7c2af;border-radius:16px;background:#f7faf7;box-shadow:0 20px 80px #102b254d;overflow:hidden;color:#203e2c}
.dh-pool-dialog-header{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-shrink:0;background:#fff;border-bottom:1px solid #dbe6dd;padding:16px 22px}.dh-pool-dialog-header .sheet-eyebrow{font-size:9px;margin-bottom:3px}.dh-pool-dialog-header h2{font-size:21px;font-weight:750;line-height:1.35}.dh-pool-dialog-header p{font-size:13px;line-height:1.6;color:#4b6654;margin-top:4px}.dh-pool-close{font-size:28px;line-height:1;min-width:38px;height:38px;color:#3b6047;border-radius:8px;background:#edf4ee;cursor:pointer}.dh-pool-close:disabled{opacity:.45;cursor:wait}
.dh-pool-date-toolbar{display:flex;align-items:center;gap:18px;flex-shrink:0;background:#fff;border-bottom:1px solid #dbe6dd;padding:10px 22px;min-height:62px}.dh-pool-weekdays{display:flex;gap:5px;flex:1;min-width:0;overflow-x:auto;padding:2px}.dh-pool-weekdays>button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:80px;padding:9px 8px;background:#f4f8f4;border:1px solid #d4e2d7;border-radius:7px;white-space:nowrap;cursor:pointer}.dh-pool-weekdays b{font-size:13px;font-weight:650}.dh-pool-weekdays span{font-size:12px;color:#586f5d}.dh-pool-weekdays button.active{border-color:#3b7750;background:#e6f1e8;color:#235237;box-shadow:inset 0 0 0 1px #3b7750}
.dh-pool-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 22px;flex-shrink:0;font-size:13px;line-height:1.5;color:#47634f;background:#f0f6f0;border-bottom:1px solid #dce6dc}.dh-pool-banner b{font-weight:750;color:#234d34}.dh-pool-lock{color:#805719;display:inline-flex;align-items:center;gap:10px}.dh-pool-lock .evo-button{font-size:12px;padding:4px 9px;min-height:28px;background:#fffbef;border-color:#c7ac79;color:#785013}.dh-pool-error{flex-shrink:0;margin:8px 20px 0;max-height:100px;overflow:auto;font-size:13px;color:#842c13;white-space:pre-wrap}
.dh-pool-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;flex:1;min-height:0;padding:16px 22px}.dh-store-library{display:flex;flex-direction:column;gap:10px;min-height:0;padding:15px;background:#fff;border:1px solid #d0dfd3;border-radius:11px}.dh-pool-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.dh-pool-heading h3{font-size:16px;font-weight:750}.dh-pool-heading>span{font-size:12px;color:#526e59}.dh-pool-search{display:flex;align-items:center;gap:8px;font-size:12px;color:#4a6652}.dh-pool-search>span{white-space:nowrap}.dh-pool-search input{display:block;width:100%;min-width:0;padding:8px 10px;border:1px solid #b9cebf;border-radius:7px;color:#23462f;font-size:13px;background:#fbfdfb}.dh-pool-intro{font-size:12px;line-height:1.65;color:#5c715f}.dh-store-selection{font-size:12px;line-height:1.6;padding:7px 9px;background:#e8f3ff;border:1px solid #b6cfe6;border-radius:6px;color:#294f79;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.dh-store-selection button{margin-left:auto;font-size:12px;text-decoration:underline;cursor:pointer}
.dh-store-sources{display:flex;flex-direction:column;gap:7px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 2px 1px;scrollbar-width:thin}.dh-store-source{display:block;flex-shrink:0;text-align:left;padding:10px 11px;border:1px solid #d2dfd4;border-radius:7px;background:#f8fbf8;color:#264d34;cursor:grab;touch-action:pan-y}.dh-store-source>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.dh-store-source b{font-size:14px;font-weight:700}.dh-store-source i{font-size:21px;font-style:normal;color:#809d88;line-height:1}.dh-store-source small{display:block;font-size:12px;color:#526d5a;margin-top:3px;line-height:1.5}.dh-store-source:hover{border-color:#729e7f;background:#f1f8f1}.dh-store-source.selected{border-color:#386d9a;box-shadow:inset 0 0 0 1px #386d9a;background:#edf5ff}.dh-store-source:disabled{cursor:default;opacity:.7}
.dh-people-area{display:flex;flex-direction:column;min-height:0;gap:12px;min-width:0}.dh-people-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;flex-shrink:0}.dh-people-toolbar h3{font-size:17px;font-weight:750}.dh-people-toolbar p{font-size:12px;color:#57705c;margin-top:3px}.dh-people-toolbar .dh-pool-search{max-width:240px}.dh-pool-filter{font-size:12px;color:#4a6652;display:flex;align-items:center;gap:6px;cursor:pointer}.dh-pool-filter input{accent-color:#356b47}.dh-person-pools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:auto;overscroll-behavior:contain;min-height:0;align-content:start;padding:2px 4px 4px 2px;scrollbar-width:thin}
.dh-person-bucket{display:flex;flex-direction:column;min-width:0;border:1px solid #b9d1bf;border-radius:11px;background:#fff;overflow:hidden;transition:border-color .1s,box-shadow .1s}.dh-person-bucket.unavailable{border-color:#d9dfda;background:#f6f7f6}.dh-person-bucket.is-drop-target{border-color:#356f49;box-shadow:0 0 0 3px #8ab998;background:#f1faef}.dh-person-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px 7px}.dh-person-heading h4{font-size:17px;line-height:1.3;font-weight:750;color:#21482e}.dh-person-shift{display:block;font-size:12px;line-height:1.5;color:#597460;margin-top:3px}.unavailable .dh-person-shift{color:#806448}.dh-person-count{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.dh-person-count strong{font-size:25px;line-height:1.2;font-weight:750;color:#275d3b;font-variant-numeric:tabular-nums}.dh-person-count span{font-size:11px;color:#617a66}.dh-person-metrics{display:flex;gap:12px;flex-wrap:wrap;padding:0 14px 9px;font-size:11px;line-height:1.6;color:#5b7461;border-bottom:1px solid #e6eee7}.dh-person-metrics b{font-weight:700}.dh-person-metrics .shared{color:#2f5e9b}
.dh-person-stores{display:flex;align-items:flex-start;align-content:flex-start;gap:6px;flex-wrap:wrap;padding:11px 12px;min-height:94px;flex:1}.dh-person-store{border:1px solid #d5e3d5;border-radius:6px;padding:5px 8px;color:#37533d;background:#f2f7f1;cursor:grab;max-width:100%}.dh-person-store b{font-size:12px;font-weight:650;line-height:1.5;display:block;overflow-wrap:anywhere}.dh-person-store small{display:block;font-size:10px;line-height:1.5;color:#3f6497;overflow-wrap:anywhere}.dh-person-store.shared{background:#eef4ff;border-color:#c1d3ed;color:#315581}.dh-person-drop-hint{width:100%;align-self:center;font-size:12px;text-align:center;padding:15px 0;color:#718976}.dh-person-add{font-size:12px;font-weight:600;line-height:1.5;padding:8px 11px;border-top:1px solid #d8e7da;background:#eaf3e9;color:#2c613e;cursor:pointer}.dh-person-add:disabled{color:#7c8e7e;background:#f5f8f4;cursor:default}
.dh-pool-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;position:relative;padding:11px 22px;border-top:1px solid #d7e4d9;background:#fff}.dh-pool-status{font-size:12px;color:#57705c;line-height:1.65}.dh-pool-dialog-footer>.evo-button{font-size:13px;padding:9px 16px;color:#265b3b;border-color:#9ebeaa;white-space:nowrap}.dh-pool-add{font-size:13px;color:#315e40}.dh-pool-add summary{cursor:pointer;font-weight:650;padding:5px 0}.dh-pool-add[open] form{position:absolute;bottom:calc(100% + 5px);left:20px;width:340px;max-width:calc(100vw - 64px);padding:17px;background:#fff;border:1px solid #b8cfbd;box-shadow:0 4px 24px #1d46292b;border-radius:10px;z-index:2;display:flex;flex-wrap:wrap;gap:10px}.dh-pool-add form label{width:100%;font-size:12px;color:#48644e}.dh-pool-add form input{display:block;width:100%;border:1px solid #adc7b5;border-radius:6px;padding:8px 10px;margin-top:5px;font-size:14px;color:#21482e}.dh-pool-add form p{font-size:12px;line-height:1.6;color:#5f765f}.dh-pool-add .evo-button{font-size:13px;color:#2b5e3c;border-color:#a7c4b0}
.dh-person-pools{flex:1;grid-auto-rows:max-content;align-items:start}.dh-person-bucket{min-height:210px}.dh-person-heading,.dh-person-metrics,.dh-person-add{flex-shrink:0}.dh-person-stores{flex:1 0 auto}
.evo-capture .dh-header-day small{display:none}.evo-capture .dh-header-day{padding:0;gap:3px}.evo-capture .dh-pool-dialog-header{display:flex!important}.evo-capture #app>.dh-pool-backdrop{min-height:0!important}.evo-capture .dh-pool-dialog header{display:flex!important}
@media(max-width:1500px){.dh-person-pools{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-pool-workspace{grid-template-columns:235px minmax(0,1fr);gap:13px;padding:13px 18px}.dh-pool-dialog-header{padding:14px 18px}.dh-pool-date-toolbar{padding:9px 18px;gap:12px}.dh-pool-weekdays>button{min-width:70px;padding:8px 5px}.dh-pool-weekdays b{font-size:12px}.dh-pool-weekdays span{font-size:11px}}
@media(max-height:730px) and (min-width:801px){.dh-pool-dialog-header{padding-top:10px;padding-bottom:10px}.dh-pool-dialog-header .sheet-eyebrow{display:none}.dh-pool-dialog-header h2{font-size:19px}.dh-pool-dialog-header p{font-size:12px}.dh-pool-date-toolbar{min-height:50px;padding-top:6px;padding-bottom:6px}.dh-person-stores{min-height:72px}.dh-person-heading{padding-top:10px}.dh-pool-dialog-footer{padding-top:8px;padding-bottom:8px}}
@media(max-width:800px){.dh-datebar{padding:14px}.dh-date-main{gap:12px}.dh-date-main h2{font-size:18px}.dh-date-main .dh-date-picker{width:100%;flex-wrap:wrap}.dh-date-main .dh-date-picker input{flex:1;max-width:none}.dh-date-main .dh-date-picker .evo-button{margin-left:auto}.dh-date-chip{min-width:92px}.dh-pool-backdrop{padding:0}.dh-pool-dialog{height:100dvh;width:100%;border-radius:0;border:0}.dh-pool-dialog-header{padding:12px 14px}.dh-pool-dialog-header .sheet-eyebrow{display:none}.dh-pool-dialog-header h2{font-size:18px}.dh-pool-dialog-header p{font-size:12px;max-width:310px}.dh-pool-date-toolbar{padding:8px 12px;gap:7px;display:block}.dh-pool-weekdays{margin-top:7px}.dh-pool-weekdays>button{min-width:69px}.dh-pool-banner{padding:8px 14px;font-size:12px;gap:7px}.dh-pool-workspace{grid-template-columns:1fr;grid-template-rows:minmax(126px,29%) minmax(0,1fr);padding:9px 12px;gap:10px}.dh-store-library{padding:9px 10px;gap:7px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.dh-store-library .dh-pool-heading h3{font-size:14px}.dh-store-library .dh-pool-heading>span{display:none}.dh-store-library .dh-pool-search>span{display:none}.dh-store-library .dh-pool-search input{padding:5px 8px;font-size:12px}.dh-store-library .dh-pool-intro{display:none}.dh-store-selection{display:none!important}.dh-store-sources{grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:1px;overflow:auto}.dh-store-source{padding:6px 8px}.dh-store-source b{font-size:12px}.dh-store-source i{display:none}.dh-store-source small{font-size:10px;line-height:1.3;margin-top:2px}.dh-people-toolbar{gap:7px}.dh-people-toolbar h3{font-size:15px}.dh-people-toolbar p{display:none}.dh-people-toolbar .dh-pool-search{max-width:150px}.dh-people-toolbar .dh-pool-search>span{display:none}.dh-people-toolbar .dh-pool-search input{padding:5px 8px;font-size:12px}.dh-pool-filter{font-size:11px}.dh-people-area{gap:7px}.dh-person-pools{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dh-person-heading{padding:10px 9px 6px;gap:5px}.dh-person-heading h4{font-size:15px}.dh-person-count{gap:3px}.dh-person-count strong{font-size:21px}.dh-person-count span{font-size:10px}.dh-person-shift{font-size:10px}.dh-person-metrics{gap:5px 8px;padding:0 9px 7px;font-size:10px}.dh-person-stores{padding:8px;gap:5px;min-height:65px}.dh-person-store{padding:4px 5px}.dh-person-store b{font-size:11px}.dh-person-store small{font-size:9px}.dh-person-add{font-size:11px;padding:7px 5px}.dh-person-drop-hint{font-size:11px}.dh-pool-dialog-footer{padding:9px 12px;gap:7px}.dh-pool-dialog-footer>.dh-pool-status{display:none}.dh-pool-add{font-size:12px}.dh-pool-add[open] form{left:12px;max-width:calc(100vw - 24px)}.dh-pool-dialog-footer>.evo-button{font-size:12px;padding:8px 11px}.dh-pool-error{margin:5px 12px 0;font-size:12px;max-height:68px}}
@media print{html:has(#app.authenticated),body:has(#app.authenticated),#app.authenticated{height:auto;overflow:visible}.app-shell{height:auto!important;overflow:visible}.dh-datebar,.dh-pool-backdrop{display:none!important}.dh-header-day small{display:none}}
@media(max-height:480px) and (max-width:800px){.dh-pool-dialog-header{padding:7px 12px}.dh-pool-dialog-header p{display:none}.dh-pool-dialog-header h2{font-size:16px}.dh-pool-date-toolbar{display:flex;gap:8px;padding:5px 10px;min-height:46px}.dh-pool-date-toolbar .dh-date-picker input{min-width:118px;width:118px;padding:5px;font-size:12px}.dh-pool-date-toolbar .dh-date-picker>button{min-width:28px;height:32px;padding:4px}.dh-pool-weekdays{margin-top:0}.dh-pool-workspace{grid-template-columns:145px minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:7px 10px;gap:8px}.dh-store-library{display:flex;gap:5px;padding:7px}.dh-store-library .dh-pool-search{flex-shrink:0}.dh-store-sources{display:flex;flex-direction:column}.dh-people-toolbar p,.dh-people-toolbar .dh-pool-filter{display:none}.dh-people-toolbar .dh-pool-search{max-width:110px}.dh-person-pools{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.dh-person-bucket{min-height:180px}.dh-pool-dialog-footer{padding:5px 10px}}

/* Show waiting shops first; assigned shops are optional, grey and explicitly labelled. */
.dh-store-filter{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;color:#435d4c;cursor:pointer;flex-shrink:0}.dh-store-filter input{accent-color:#356b47;flex-shrink:0}.dh-store-filter b{margin-left:auto;font-size:11px;font-weight:650;white-space:nowrap;color:#57645d}
.dh-store-source .dh-store-label{flex-wrap:wrap;justify-content:flex-start;gap:4px 7px}.dh-store-label>b{min-width:0;overflow-wrap:anywhere;margin-right:auto}.dh-store-label>i{flex-shrink:0}.dh-store-status{font-size:10px;font-weight:650;white-space:nowrap;line-height:1.5;padding:1px 5px;border:1px solid #c2cbd2;border-radius:4px;background:#dde3e8;color:#394852}
.dh-store-source.is-assigned{background:#f0f2f4;border-color:#c9d0d6;color:#43515c}.dh-store-source.is-assigned b{color:#43515c}.dh-store-source.is-assigned small{color:#52616c}.dh-store-source.is-assigned i{color:#7c8891}.dh-store-source.is-assigned:hover{background:#e7ebee;border-color:#9eabb5}.dh-store-source.is-assigned.selected{background:#e9eef3;border-color:#386d9a;box-shadow:inset 0 0 0 1px #386d9a}
.dh-store-empty{padding:16px 8px;text-align:center;color:#526a59;grid-column:1/-1;font-size:13px;line-height:1.7}.dh-store-empty small{display:block;font-size:12px;margin-top:8px;color:#607265}
@media(max-width:800px){.dh-store-library{grid-template-rows:auto auto minmax(0,1fr)}.dh-store-filter{grid-column:span 2;font-size:11px;gap:5px}.dh-store-filter b{font-size:10px}.dh-store-status{font-size:9px;padding:0 4px}.dh-store-empty{font-size:12px;padding:9px 4px}.dh-store-empty small{font-size:10px;margin-top:3px}}

/* Each person-shop membership can be returned without disturbing other holders. */
.dh-store-library.can-return{border-style:dashed;border-color:#b28b59;background:#fffcf5}.dh-store-library.is-return-target{border:2px solid #9a652a;background:#fff4df;box-shadow:0 0 0 3px #e7c48c55}.dh-store-return-hint{flex-shrink:0;border:1px dashed #b58a52;border-radius:6px;background:#fff3db;color:#79501d;padding:9px;font-size:12px;line-height:1.5;grid-column:1/-1}.dh-person-store{position:relative;padding-right:30px}.dh-person-store:focus-visible{outline:2px solid #3e7050;outline-offset:2px}.dh-person-store[draggable=false]{cursor:default}.dh-person-store-menu{position:absolute;top:2px;right:2px;min-width:24px;height:24px;border-radius:4px;border:1px solid transparent;background:transparent;color:#42614b;font-size:19px;line-height:16px;cursor:pointer}.dh-person-store-menu:hover,.dh-person-store-menu:focus-visible{background:#fff;border-color:#9bb4a2;color:#254d33;outline:1px solid #517b5f}.dh-person-store-menu:disabled{opacity:.45;cursor:default}.dh-pool-context-menu{position:fixed;z-index:99;padding:11px;border:1px solid #9fb7a6;border-radius:9px;background:#fff;box-shadow:0 7px 28px #183b2a38;color:#294b34}.dh-pool-context-menu>strong{display:block;font-size:14px;overflow-wrap:anywhere}.dh-pool-context-menu>small{display:block;font-size:11px;color:#5b7161;margin-top:2px}.dh-pool-context-menu>button{display:block;width:100%;margin-top:8px;padding:8px 9px;text-align:left;background:#fff3ec;border:1px solid #d7aa92;border-radius:5px;color:#873d24;font-size:13px;font-weight:650;cursor:pointer}.dh-pool-context-menu>button:hover,.dh-pool-context-menu>button:focus-visible{background:#ffe6d8;outline:2px solid #ac6748;outline-offset:1px}.dh-pool-context-menu>button:disabled{opacity:.5;cursor:default}.dh-pool-context-menu>p{font-size:11px;line-height:1.5;color:#5b7161;margin-top:7px}
@media(max-width:800px){.dh-person-store{padding-right:29px;min-height:31px}.dh-person-store-menu{top:1px;right:1px;min-width:25px;height:27px}.dh-store-return-hint{font-size:10px;padding:4px 6px}.dh-store-library.can-return .dh-store-filter{display:none}.dh-store-library.can-return{grid-template-rows:auto auto minmax(0,1fr)}}

/* Mid/late shift pools are independent from the 09:00 confirmation counts. */
.dh-shift-section{flex-shrink:0;min-height:0;border:1px solid #bccbd9;border-radius:9px;background:#f8fafe;overflow:hidden;color:#344f6b}.dh-shift-section>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:9px 12px;font-size:12px;line-height:1.5;list-style:none}.dh-shift-section>summary:before{content:'▸';color:#53728e}.dh-shift-section[open]>summary:before{content:'▾'}.dh-shift-section>summary::-webkit-details-marker{display:none}.dh-shift-section>summary strong{font-weight:650}.dh-shift-section>summary>span{margin-left:auto;white-space:nowrap;font-size:11px;color:#60788c}.dh-shift-content{padding:0 11px 11px;max-height:30dvh;overflow:auto;overscroll-behavior:contain}.dh-shift-help{font-size:11px;line-height:1.6;color:#5b7186;margin-bottom:8px}.dh-shift-pools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dh-shift-person{min-width:0;background:#fff;border:1px solid #d4dee6;border-radius:7px;padding:9px}.dh-shift-person>header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.dh-shift-person h4{font-size:13px;font-weight:700;line-height:1.5;color:#314f6a}.dh-shift-person header span{font-size:11px;color:#587189}.dh-shift-person header>small{font-size:10px;color:#60788d;white-space:nowrap;line-height:1.5}.dh-shift-stores{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;min-height:25px;align-items:flex-start}.dh-shift-stores>span{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfdaE5;border-radius:5px;background:#edf3fa;padding:3px 6px;color:#3e5972;max-width:100%;overflow-wrap:anywhere}.dh-shift-stores b{font-weight:600;font-size:11px}.dh-shift-stores button{min-width:20px;height:21px;line-height:1;font-size:17px;color:#845345;border-radius:3px;cursor:pointer}.dh-shift-stores button:hover{background:#fce9e0}.dh-shift-stores>p{font-size:11px;color:#687d8f}.dh-shift-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.dh-shift-actions>select{flex:1;min-width:110px;max-width:100%;border:1px solid #b4c5d3;border-radius:5px;padding:5px 6px;font-size:11px;color:#395772;background:#fff}.dh-shift-actions>button,.dh-shift-error>button{border:1px solid #acc0d1;border-radius:5px;padding:5px 7px;font-size:11px;color:#365875;background:#f0f5fa;cursor:pointer;white-space:nowrap}.dh-shift-actions>button:disabled,.dh-shift-actions>select:disabled,.dh-shift-stores button:disabled,.dh-shift-error>button:disabled{opacity:.5;cursor:default}.dh-shift-error{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px;color:#904a30;font-size:12px;line-height:1.6}.dh-balance-setting{padding:12px 14px;border:1px solid #c6d7ca;border-radius:10px;background:#f5faf6}.dh-balance-setting h3{font-size:13px;font-weight:700;color:#345b40}.dh-balance-setting p{font-size:11px;line-height:1.6;color:#587260;margin:4px 0 8px}.dh-balance-setting>div{display:flex;gap:6px;flex-wrap:wrap}.dh-balance-setting label{display:flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #cbd9cf;border-radius:6px;background:#fff;font-size:12px;color:#4c6655;cursor:pointer}.dh-balance-setting label.selected{border-color:#6c9979;background:#e6f2e8;color:#315c3f}.dh-balance-setting input{accent-color:#426f50}
@media(max-width:800px){.dh-shift-section>summary{font-size:11px;padding:6px 9px;gap:5px}.dh-shift-section>summary>span{font-size:10px}.dh-shift-content{max-height:28dvh;padding:0 8px 8px}.dh-shift-pools{grid-template-columns:1fr;gap:6px}.dh-shift-person{padding:7px}.dh-shift-person h4{font-size:12px}.dh-shift-help{font-size:10px}.dh-shift-actions>button{padding:5px 6px}}

.dh-cap-setting input[type=number]{width:54px;border:1px solid #aebfb2;border-radius:4px;padding:4px 5px;color:#294d33;background:#fff}.dh-cap-setting button{font-size:19px;line-height:1;color:#855039;min-width:25px;cursor:pointer}.dh-cap-setting select{min-width:150px;max-width:100%;border:1px solid #bdcfc2;border-radius:5px;padding:5px 8px;font-size:12px;color:#385b42;background:#fff}

@media(max-width:800px) and (max-height:740px){.dh-people-area:has(.dh-shift-section[open]){overflow-y:auto;overscroll-behavior:contain;display:block;min-height:0;padding-right:2px}.dh-people-area:has(.dh-shift-section[open]) .dh-people-toolbar{margin-bottom:7px}.dh-people-area:has(.dh-shift-section[open]) .dh-person-pools{height:160px;min-height:120px;max-height:160px;overflow-y:auto;margin-bottom:8px;display:grid}.dh-people-area:has(.dh-shift-section[open]) .dh-shift-content{max-height:230px}}

/* A store opens a read-only daily handover timeline above its people pool. */
.dh-store-detail-link{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:#2f6285;font-style:normal;text-decoration:underline;text-underline-offset:2px}.dh-store-detail-backdrop{position:fixed;inset:0;z-index:98;display:flex;align-items:center;justify-content:center;background:#10291e88;padding:22px;backdrop-filter:blur(2px)}.dh-store-detail-dialog{display:flex;flex-direction:column;max-height:min(860px,calc(100dvh - 44px));width:min(850px,100%);min-width:0;background:#fff;border:1px solid #bbd0c1;border-radius:16px;box-shadow:0 25px 80px #10291e38;overflow:hidden}.dh-store-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 26px 18px;border-bottom:1px solid #dbe6de;background:#f6faf7}.dh-store-detail-header h2{font-size:23px;line-height:1.4;font-weight:750;color:#214b32;margin:4px 0 6px;overflow-wrap:anywhere}.dh-store-detail-header p{font-size:13px;line-height:1.7;color:#496553}.dh-store-detail-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 26px}.dh-store-detail-loading,.dh-store-detail-error{font-size:14px;line-height:1.7;padding:16px 0;color:#4a6654}.dh-store-detail-error{color:#8a3e2d}.dh-store-detail-meta{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:13px;line-height:1.7;color:#42604d;margin-bottom:16px}.dh-store-detail-meta b{font-weight:700;color:#214a31}.dh-store-detail-meta>span{padding:6px 9px;background:#eef5ee;border:1px solid #d5e3d6;border-radius:6px}.dh-store-slot-list{display:flex;flex-direction:column;gap:10px}.dh-store-slot{border:1px solid #cddfd1;border-radius:9px;overflow:hidden}.dh-store-slot>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#edf5ef;border-bottom:1px solid #d8e5db}.dh-store-slot>header strong{font-size:16px;line-height:1.4;font-weight:750;font-variant-numeric:tabular-nums;color:#2d573a}.dh-store-slot>header>span{font-size:12px;color:#52715c}.dh-store-slot-people{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;min-height:62px;align-items:center}.dh-store-slot-people>span{display:flex;flex-direction:column;gap:3px;padding:7px 11px;border:1px solid #d1e0d5;border-radius:6px;background:#f7faf7;color:#244c34}.dh-store-slot-people b{font-size:15px;font-weight:700}.dh-store-slot-people small{font-size:11px;color:#526e5b}.dh-store-slot.empty{border-color:#e0cbb1}.dh-store-slot.empty>header{background:#fff7e9;border-color:#e9dcc7}.dh-store-slot.empty>header strong,.dh-store-slot.empty>header>span{color:#7f5a2c}.dh-store-slot-people>em{font-size:13px;font-style:normal;color:#8a6234}.dh-store-detail-people{display:flex;gap:6px;flex-direction:column;font-size:12px;line-height:1.7;color:#546c5d;background:#f7faf8;padding:13px 14px;border-radius:8px;margin-top:17px}.dh-store-detail-people>b{font-weight:700;color:#345b42}.dh-store-detail-note{font-size:12px;line-height:1.7;color:#607467;margin-top:11px}.dh-store-detail-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 26px;border-top:1px solid #dbe6de;background:#f8fbf8}.dh-store-detail-footer .evo-button{font-size:13px}.dh-store-detail-dialog button:focus-visible{outline:3px solid #639b78;outline-offset:3px}.dh-published-note{padding:10px 13px;margin:9px 0 12px;border:1px solid #c5d6e4;border-radius:7px;color:#33556f;background:#f0f6fc;font-size:12px;line-height:1.7}.dh-published-note.in-pool{margin:0 22px 4px;padding:7px 11px;flex-shrink:0}

.dh-presence-section{flex-shrink:0;border:1px solid #c8d6ce;background:#f5f9f6;border-radius:8px;overflow:hidden}.dh-presence-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 11px}.dh-presence-heading>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.dh-presence-heading b{font-size:12px;line-height:1.5;color:#3a5c47;font-weight:700}.dh-presence-heading span{font-size:11px;color:#607768}.dh-presence-heading>button,.dh-presence-actions>button{border:1px solid #aebfb4;border-radius:5px;padding:5px 9px;background:#fff;color:#315740;font-size:11px;line-height:1.5;cursor:pointer;white-space:nowrap}.dh-presence-form{padding:0 11px 11px;max-height:300px;overflow-y:auto;overscroll-behavior:contain}.dh-presence-form>p{font-size:11px;line-height:1.7;color:#5f7767}.dh-presence-fields{display:grid;grid-template-columns:minmax(115px,1.1fr) minmax(100px,.8fr) minmax(100px,.8fr) minmax(170px,1.5fr);gap:8px}.dh-presence-fields label{font-size:11px;line-height:1.5;color:#486351;display:flex;flex-direction:column;gap:4px}.dh-presence-fields input,.dh-presence-fields select{width:100%;min-width:0;padding:6px 8px;border:1px solid #b6cbbd;border-radius:5px;background:#fff;color:#294c36;font-size:12px}.dh-presence-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.dh-presence-actions>button.primary{background:#3f7051;color:#fff;border-color:#3f7051}.dh-presence-actions>button:disabled{opacity:.5;cursor:default}.dh-presence-form>.dh-presence-help{font-size:10px;line-height:1.6;margin:7px 0 0;color:#5d7465}.dh-presence-form>.dh-presence-error{color:#8f3e29;font-size:12px;margin-top:7px}.dh-presence-fields input:focus-visible,.dh-presence-fields select:focus-visible,.dh-presence-section button:focus-visible{outline:2px solid #5a8d6b;outline-offset:2px}
.dh-presence-absent{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:11px;color:#496452}.dh-presence-absent input{accent-color:#3f7051}.dh-presence-fields input:disabled{background:#eef1ee;color:#718477}
.dh-person-returning{padding:9px 11px;border-top:1px solid #d5dfeb;background:#f0f5fc}.dh-person-returning>div:first-child{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:7px}.dh-person-returning b{font-size:11px;line-height:1.6;color:#315d82;font-weight:700}.dh-person-returning small{font-size:10px;color:#60798d}.dh-person-returning>div:last-child{display:flex;gap:5px;flex-wrap:wrap}.dh-person-returning button{background:#fff;border:1px solid #bdcee0;border-radius:5px;padding:4px 6px;color:#355f84;font-size:11px;line-height:1.5;cursor:pointer}.dh-person-returning button:focus-visible{outline:2px solid #527b9c;outline-offset:2px}
.dh-shift-stores button.dh-shift-store-detail{height:auto;min-width:0;padding:0;line-height:1.5;font-size:11px;font-weight:600;color:#355b7a;text-decoration:underline;text-underline-offset:2px;border:0;background:transparent;text-align:left;overflow-wrap:anywhere}.dh-shift-stores button.dh-shift-store-detail:hover{background:transparent;color:#1d496a}.dh-shift-stores button.dh-shift-store-detail:focus-visible{outline:2px solid #6385a0;outline-offset:2px}
@media(max-width:800px){.dh-people-area:has(.dh-shift-section[open]){overflow-y:auto;overscroll-behavior:contain;display:block;min-height:0;padding-right:2px}.dh-people-area:has(.dh-shift-section[open]) .dh-people-toolbar{margin-bottom:7px}.dh-people-area:has(.dh-shift-section[open]) .dh-presence-section{margin-bottom:7px}.dh-people-area:has(.dh-shift-section[open]) .dh-person-pools{height:160px;min-height:120px;max-height:160px;overflow-y:auto;margin-bottom:8px;display:grid}.dh-people-area:has(.dh-shift-section[open]) .dh-shift-content{max-height:230px}}
@media(max-width:1000px){.dh-presence-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.dh-presence-fields .reason{grid-column:span 3}.dh-presence-heading span{display:none}}
@media(max-width:800px){.dh-store-detail-backdrop{padding:10px}.dh-store-detail-dialog{max-height:calc(100dvh - 20px);border-radius:11px}.dh-store-detail-header{padding:15px 15px 12px;gap:10px}.dh-store-detail-header .sheet-eyebrow{display:none}.dh-store-detail-header h2{font-size:18px;margin:0 0 4px}.dh-store-detail-header p{font-size:12px}.dh-store-detail-body{padding:13px 15px}.dh-store-detail-meta{font-size:12px;gap:7px;margin-bottom:12px}.dh-store-slot>header{padding:9px 10px}.dh-store-slot>header strong{font-size:14px}.dh-store-slot-people{padding:9px 10px;gap:6px}.dh-store-slot-people>span{padding:6px 8px}.dh-store-slot-people b{font-size:14px}.dh-store-slot-people small{font-size:10px}.dh-store-detail-people{font-size:11px;margin-top:12px}.dh-store-detail-note{font-size:11px}.dh-store-detail-footer{padding:10px 15px;gap:7px;flex-wrap:wrap}.dh-store-detail-footer .evo-button{font-size:12px;padding:8px 10px}.dh-published-note.in-pool{margin:0 12px 3px;font-size:10px;padding:5px 8px;max-height:48px;overflow:auto}.dh-store-detail-link{font-size:10px;margin-top:3px}.dh-presence-heading{padding:6px 8px;gap:7px}.dh-presence-heading b{font-size:11px}.dh-presence-heading>button{font-size:10px;padding:4px 6px}.dh-presence-form{padding:0 8px 8px;max-height:230px}.dh-presence-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.dh-presence-fields label:first-child,.dh-presence-fields .reason{grid-column:span 2}.dh-presence-fields input,.dh-presence-fields select{font-size:11px;padding:5px 6px}.dh-presence-actions{gap:5px}.dh-presence-actions>button{font-size:10px;padding:5px 6px}.dh-presence-actions>button.primary{margin-left:0}.dh-people-area:has(.dh-presence-form:not([style*="display: none"])){overflow-y:auto;overscroll-behavior:contain;display:block;padding-right:2px}.dh-people-area:has(.dh-presence-form:not([style*="display: none"])) .dh-people-toolbar{margin-bottom:7px}.dh-people-area:has(.dh-presence-form:not([style*="display: none"])) .dh-presence-section{margin-bottom:7px}.dh-people-area:has(.dh-presence-form:not([style*="display: none"])) .dh-person-pools{height:160px;min-height:120px;max-height:160px;overflow-y:auto;margin-bottom:8px}}

/* Schedule quality stays reviewable; soft preferences never block adoption. */
.assistant-quality-card{margin:14px 0;min-width:0;border:1px solid #cbd8d0;border-radius:9px;background:#fff;overflow:hidden;color:#334b3d}.assistant-quality-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:5px 12px;padding:12px 14px 0}.assistant-quality-heading h4{margin:0;font-size:14px;line-height:1.6;font-weight:700;color:#294d36}.assistant-quality-heading>span{font-size:12px;line-height:1.6;color:#52685a}.assistant-quality-card>p{padding:6px 14px 11px;margin:0;font-size:12px;line-height:1.75;color:#4c6254}.assistant-quality-scroll{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.assistant-quality-scroll:focus-visible{outline:2px solid #397b56;outline-offset:-2px}.assistant-quality-table{width:100%;min-width:500px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px;line-height:1.65;color:#334b3d}.assistant-quality-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.assistant-quality-table thead th{position:sticky;top:0;z-index:1;padding:9px 12px;background:#edf3ee;color:#31513a;border-block:1px solid #d5e1d8;text-align:left;font-weight:650}.assistant-quality-table th:first-child{width:126px}.assistant-quality-table th:nth-child(2){width:110px}.assistant-quality-table th:nth-child(3){width:110px}.assistant-quality-table td,.assistant-quality-table tbody th{padding:10px 12px;border-bottom:1px solid #e3eae5;text-align:left;vertical-align:top;overflow-wrap:anywhere}.assistant-quality-table tbody th{font-weight:550;font-variant-numeric:tabular-nums}.assistant-quality-table tbody th small{display:block;font-size:11px;color:#5b7062}.assistant-quality-table td b{font-size:15px;font-weight:750;color:#294d36}.assistant-quality-table td>span{font-size:12px;color:#52685a}.assistant-quality-table tbody tr:last-child>*{border-bottom:0}.assistant-quality-table tr.has-warning{background:#fffaf0}.assistant-quality-table .assistant-quality-flag{display:inline-block;color:#80501a;font-size:12px;line-height:1.6;font-weight:650}.assistant-transition-warning{border-color:#d8b784;background:#fff8eb}.assistant-transition-warning .assistant-quality-heading h4,.assistant-transition-warning>p,.assistant-transition-warning .assistant-quality-heading>span{color:#744711}.assistant-transition-warning .assistant-quality-heading>span{background:#ffedcc;border:1px solid #e2c18e;border-radius:5px;padding:2px 7px}.assistant-transition-warning strong{font-weight:700}.assistant-transition-warning>ul{list-style:none;padding:0 14px 12px;margin:0;display:flex;flex-direction:column;gap:6px}.assistant-transition-warning li{display:flex;gap:7px 12px;flex-wrap:wrap;padding:8px 10px;border:1px solid #e7d0aa;border-radius:6px;background:#fff;color:#744711;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.assistant-transition-warning li b{font-weight:700}.assistant-transition-warning li span{font-variant-numeric:tabular-nums}
@media(max-width:700px){.assistant-quality-heading{padding:10px 10px 0;gap:4px 8px}.assistant-quality-heading h4{font-size:13px}.assistant-quality-heading>span{font-size:11px}.assistant-quality-card>p{padding:5px 10px 9px}.assistant-quality-table td,.assistant-quality-table tbody th,.assistant-quality-table thead th{padding:8px 10px}.assistant-transition-warning>ul{padding:0 10px 10px}.assistant-transition-warning li{padding:7px 8px;gap:3px 8px}.assistant-quality-scroll{max-height:300px}}
/* Account-owned conversation history and actual staff-write receipts. */
.assistant-history-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 18px;background:#f4f8f4;border-bottom:1px solid #d6e3d8}
.assistant-history-toggle{display:flex;align-items:center;gap:10px;flex:1;min-width:150px;text-align:left;background:white;border:1px solid #bacdbd;border-radius:8px;padding:7px 10px;color:#2f4d39;font-size:13px}
.assistant-history-toggle>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px;flex:1;font-weight:600;color:#243d2c}
.assistant-history-new,.assistant-history-list button,.assistant-history-feedback button,.assistant-history-more,.assistant-request-recovery button{border:1px solid #b5cbb9;border-radius:7px;background:#fff;padding:6px 10px;color:#285a37;font-size:12px;line-height:1.5;cursor:pointer}
.assistant-history-new:disabled,.assistant-history-list button:disabled,.assistant-history-feedback button:disabled,.assistant-history-more:disabled{opacity:.55;cursor:wait}
.assistant-history-account{font-size:11px;color:#506657;white-space:nowrap}
.assistant-history-list{max-height:230px;overflow:auto;padding:8px 18px 12px;background:#f8faf7;border-bottom:1px solid #d6e3d8;overscroll-behavior:contain}
.assistant-history-list-header{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#52665a;margin-bottom:5px}
.assistant-history-list .assistant-history-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;margin-top:5px;padding:8px 10px;background:white;border-color:#d7e2d9;color:#31483a}
.assistant-history-item>span{flex:1;min-width:0}.assistant-history-item b,.assistant-history-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.assistant-history-item b{font-size:13px}.assistant-history-item small{color:#617166;margin-top:2px;font-size:11px}
.assistant-history-item time{font-size:10px;color:#617166;white-space:nowrap}.assistant-history-item em{font-size:11px;font-style:normal;color:#8a591d;background:#fff1cf;border-radius:4px;padding:2px 5px;white-space:nowrap}
.assistant-history-list .assistant-history-item.active{background:#e8f3e8;border-color:#699b72;box-shadow:inset 3px 0 #397144}
.assistant-history-feedback{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px;font-size:12px;color:#3e5b48;background:#f4f8f3}
.assistant-history-feedback.error{color:#9a3412;background:#fff5eb;border-bottom:1px solid #f3d0b2}
.assistant-messages>.assistant-history-more{display:block;margin:0 auto 15px}
.assistant-message-pending{padding:10px 12px;background:#fff7df;color:#77551d;border:1px solid #e7d39f;border-radius:7px;font-size:12px}
.assistant-message-failed{font-size:12px;color:#9f3f22;background:#fff4ee;padding:8px;border-radius:6px}
.assistant-request-recovery{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 18px;font-size:12px;color:#83541b;background:#fff8e7}
.assistant-request-recovery button{white-space:nowrap}
.assistant-staff-receipt{margin-top:12px;border:1px solid #96bf9e;border-radius:9px;overflow:hidden;background:white;color:#254b31}
.assistant-staff-receipt>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eaf5ec;padding:10px 12px}.assistant-staff-receipt h4{font-size:14px;font-weight:700;margin:0}.assistant-staff-receipt>div:first-child>span{font-size:12px;font-weight:600;color:#25643b}
.assistant-staff-scroll{overflow:auto;max-width:100%;max-height:280px;overscroll-behavior:contain}.assistant-staff-scroll table{width:100%;border-collapse:collapse;min-width:570px;font-size:12px}.assistant-staff-scroll caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.assistant-staff-scroll th,.assistant-staff-scroll td{padding:9px 10px;vertical-align:top;border-top:1px solid #dbe8dd;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-staff-scroll thead th{color:#415d48;background:#f4f8f4;font-weight:600}.assistant-staff-scroll tbody th{color:#23492f;font-weight:650}.assistant-staff-scroll td{color:#344c3b}.assistant-staff-receipt>p{font-size:12px;color:#526657;padding:7px 12px;margin:0;border-top:1px solid #e0ebe2}
@media(max-width:700px){.assistant-history-toolbar{padding:8px 12px}.assistant-history-toggle>b{max-width:calc(100vw - 225px)}.assistant-history-account{flex-basis:100%;font-size:10px}.assistant-history-list{padding:8px 12px;max-height:190px}.assistant-history-item time{display:none}.assistant-history-feedback,.assistant-request-recovery{padding:7px 12px}.assistant-request-recovery{align-items:flex-start}.assistant-staff-scroll table{min-width:560px}}

/* 对号上号池按线上/线下分隔，避免拖拽时混淆人员分组。 */
.dh-pool-group{display:contents}
.dh-pool-group-divider{grid-column:1 / -1;display:flex;align-items:center;gap:.55rem;margin:1rem 0 .45rem;padding:.45rem .7rem;border-top:2px solid #cbd5e1;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#1e3a5f;font-weight:700;letter-spacing:.02em}
.dh-pool-group-divider::before{content:"";width:.28rem;height:1.1rem;border-radius:999px;background:#3b82f6}
.dh-pool-group.group-offline .dh-pool-group-divider{color:#475569;background:#f8fafc}
.dh-pool-group.group-offline .dh-pool-group-divider::before{background:#94a3b8}
.dh-pool-group.group-other .dh-pool-group-divider{color:#64748b;background:#f8fafc}
.dh-pool-group-divider small{margin-left:auto;color:#64748b;font-size:.78rem;font-weight:600}
.board-table .shift-pill.is-halfday{font-size:12px;white-space:normal;max-width:100%;line-height:1.25}

/* Keep people and their extra shift sections in a single reading surface. */
.dh-people-area{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding-right:3px}
.dh-people-area .dh-person-pools{flex:0 0 auto;overflow:visible;min-height:0;max-height:none;height:auto;grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}
.dh-person-bucket{min-height:190px}.dh-person-store{padding-top:7px;padding-bottom:7px}.dh-person-store b{font-size:13px}.dh-person-store small{font-size:11px}.dh-person-stores{gap:8px}
.dh-people-area .dh-shift-content,.dh-people-area .dh-presence-form{max-height:none;overflow:visible}
.dh-people-area .dh-shift-section,.dh-people-area .dh-presence-section{flex-shrink:0}
@media(min-width:801px) and (max-width:1100px){.dh-pool-workspace{grid-template-columns:205px minmax(0,1fr);gap:12px;padding:12px}.dh-pool-date-toolbar{display:block;padding:8px 14px}.dh-pool-weekdays{margin-top:6px}.dh-pool-dialog-header p{max-width:490px}.dh-person-heading{padding:11px 12px 7px}.dh-person-count strong{font-size:22px}}
@media(max-width:800px){.dh-people-area .dh-person-pools,.dh-people-area:has(.dh-shift-section[open]) .dh-person-pools,.dh-people-area:has(.dh-presence-form:not([style*="display: none"])) .dh-person-pools{height:auto;min-height:0;max-height:none;overflow:visible;grid-template-columns:1fr;gap:10px}.dh-people-area:has(.dh-shift-section[open]) .dh-shift-content{max-height:none}.dh-person-heading h4{font-size:16px}.dh-person-metrics{font-size:12px;padding-bottom:9px}.dh-person-stores{min-height:75px;padding:10px;gap:7px}.dh-person-store{padding:6px 30px 6px 8px}.dh-person-store b{font-size:13px}.dh-person-store small{font-size:11px}.dh-person-add{font-size:12px;padding:9px}.dh-person-bucket{min-height:175px}.dh-pool-group-divider{margin-top:9px}}
@media(max-height:480px) and (max-width:800px){.dh-people-area .dh-person-pools{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}

/* v44: normal pages have one vertical reading surface; dialogs contain theirs. */
@media screen {
  .app-shell>aside,.app-shell>aside>nav,.app-main{min-height:0}
  .app-shell>aside>nav{overscroll-behavior-y:contain;scrollbar-gutter:stable}
  .app-main>main{min-width:0;scrollbar-gutter:stable;scroll-padding-block:16px}
  body:not(.evo-capture) #evo-duihao-table{max-height:none;min-height:0;overscroll-behavior-y:auto}
  .dh-load-scroll,.dh-load-store-list,.guide-table-scroll,.guide-audit,.guide-assignment-list{max-height:none;overscroll-behavior-y:auto}
  .dh-load-store-list,.guide-audit,.guide-assignment-list,.app-page-list{overflow:visible}
  .app-modal-backdrop{overscroll-behavior:contain}
  body:has(.app-modal-backdrop:not([style*="display: none"])) .assistant-launcher{display:none!important}
  body:has(.app-modal-backdrop:not([style*="display: none"])) .assistant-panel-visibility{visibility:hidden!important;pointer-events:none!important}
  .app-modal{display:flex;flex-direction:column;min-height:0;min-width:0;max-height:calc(100dvh - 32px);overflow:hidden}
  .app-modal-header,.app-modal-footer{flex:none;min-width:0}
  .app-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-padding-block:12px}
  .app-modal-scroll{min-width:0;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
  .app-modal .modal-flat-list{max-height:none;overflow:visible}
  .app-modal input,.app-modal select,.app-modal textarea{min-width:0;max-width:100%}
  .app-modal-footer{flex-wrap:wrap}
  .app-modal-footer>div{min-width:0;flex-wrap:wrap}
  .evo-dialog{overscroll-behavior-y:contain;scrollbar-gutter:stable}
  .evo-dialog-form>.flex{flex-wrap:wrap}
  .dh-pool-add[open] form{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
}
@media screen and (max-height:560px) {
  .app-modal-header,.app-modal-footer{padding-top:9px;padding-bottom:9px}
  .dh-pool-dialog{display:block;overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:12px}
  .dh-pool-dialog-header{padding-top:8px;padding-bottom:8px}
  .dh-pool-dialog-header p{display:none}
  .dh-pool-workspace{flex:none;min-height:280px;grid-template-rows:auto;align-items:start}
  .dh-store-library{max-height:280px;min-height:150px}
  .dh-people-area{overflow:visible;max-height:none}
  .dh-pool-dialog-footer{position:sticky;bottom:0;z-index:3;flex-wrap:wrap;gap:8px}
  .dh-pool-dialog-footer>.dh-pool-status{display:none}
}
@media screen and (max-height:560px) and (max-width:800px) {
  .dh-pool-workspace{grid-template-columns:1fr;grid-template-rows:auto auto}
  .dh-store-library{height:180px;max-height:180px}
}
