.appt-preview{position:fixed;top:4rem;right:0;bottom:0;z-index:45;width:min(460px,100vw);display:flex;flex-direction:column;background:#fff;border-left:1px solid #e2e8f0;box-shadow:-12px 0 32px #0f172a1f;transform:translate(100%);visibility:hidden;transition:transform .22s ease,visibility 0s linear .22s}.appt-preview.is-open{transform:translate(0);visibility:visible;transition:transform .22s ease}.appt-preview-backdrop{position:fixed;top:4rem;right:0;bottom:0;left:0;z-index:44;background:#0f172a66}.appt-preview-head{flex:none;display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1rem .85rem 1.1rem;border-bottom:1px solid #e2e8f0}.appt-preview-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:1rem 1.1rem 2rem}.appt-preview-section{margin-top:1.1rem}.appt-preview-section>h3{margin-bottom:.45rem;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.appt-preview-grid{display:grid;grid-template-columns:7.5rem 1fr;gap:.35rem .75rem;font-size:14px}.appt-preview-grid dt{color:#64748b}.appt-preview-grid dd{min-width:0;color:#1e293b;overflow-wrap:anywhere}.appt-preview-box{padding:.7rem .8rem;border:1px solid #e2e8f0;border-radius:.6rem}.appt-preview-edit{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .9rem;border-radius:.5rem;background:#0f766e;color:#fff;font-size:13px;font-weight:650;white-space:nowrap}.appt-preview-edit:hover{background:#115e59}.appt-preview-close{padding:.35rem;border-radius:.4rem;color:#64748b;font-size:22px;line-height:1}.appt-preview-close:hover{background:#f1f5f9;color:#0f172a}[data-id].is-previewing{outline:2px solid #0f766e;outline-offset:-2px}@media(min-width:1024px){.appt-preview-backdrop{display:none}body.appt-preview-open #status-center-app{padding-right:calc(min(460px,100vw) + 1rem)}body.appt-preview-open #status-center-app .ops-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.appt-preview,.appt-preview.is-open{transition:none}}.dark .appt-preview{background:#0f172a;border-color:#334155}.dark .appt-preview-head{border-color:#334155}.dark .appt-preview-grid dd{color:#e2e8f0}.dark .appt-preview-grid dt,.dark .appt-preview-section>h3{color:#94a3b8}.dark .appt-preview-box{border-color:#334155}.dark .appt-preview-close:hover{background:#1e293b;color:#fff}#table-view.status-compact table{font-size:12px}#table-view.status-compact th{padding:.4rem .5rem!important}#table-view.status-compact td{padding:2px .5rem!important;line-height:1.3;vertical-align:middle}#table-view.status-compact td.sc-unit{min-width:0!important;max-width:280px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}#table-view.status-compact td.sc-unit>div{display:inline;margin-left:.35rem}#table-view.status-compact .ops-flags{display:inline-flex;flex-wrap:nowrap;gap:.2rem;margin:0 0 0 .3rem!important;vertical-align:middle}#table-view.status-compact .ops-pill{padding:0 .35rem;font-size:10px;line-height:1.4}#table-view.status-compact td.sc-status>div{display:inline-block;margin:0 0 0 .3rem!important}#table-view.status-compact td.sc-actions>div{flex-direction:row!important}#table-view.status-compact td.sc-unit,#table-view.status-compact th[data-sort=property]{position:sticky;left:0;z-index:1;background:inherit}@media(max-width:639px){#table-view td.sc-unit,#table-view.status-compact td.sc-unit{min-width:0!important;max-width:40vw!important}#table-view.status-compact td.sc-unit>.db-unit{flex-wrap:wrap}}#table-view.status-compact thead tr,#table-view.status-compact tbody tr:not([data-service-color]){background-color:#fff}.dark #table-view.status-compact thead tr,.dark #table-view.status-compact tbody tr:not([data-service-color]){background-color:#1e293b}.sc-date-short,.sc-label-short,#table-view.status-compact .sc-date-long,#table-view.status-compact .sc-label-long{display:none}#table-view.status-compact .sc-date-short,#table-view.status-compact .sc-label-short{display:inline}#table-view:not(.status-compact) .tc-fixed td{white-space:normal}#table-view td.sc-status .sc-codes{display:inline-flex;align-items:center;gap:.25rem;vertical-align:middle}#table-view td.sc-status{position:relative}#table-view td.sc-status .sc-codes .ops-pill{white-space:nowrap}#table-view .tc-fixed td.sc-status{white-space:normal}#table-view .tc-fixed td.sc-status .sc-codes{flex-wrap:wrap;max-width:100%}#table-view td.sc-status .sc-cancelled-by{max-width:10rem;white-space:normal}#table-view.status-compact td.sc-status .sc-cancelled-by{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.sc-crew-edit{display:inline-block;max-width:100%;margin:-2px -4px;padding:2px 4px;border-radius:.4rem;text-align:left;color:inherit;font:inherit;line-height:inherit;cursor:pointer}.sc-crew-edit:hover{background:#0f172a12}.sc-crew-edit:focus-visible,.sc-time:focus-visible,.sc-ta-toggle:focus-visible{outline:2px solid #0f766e;outline-offset:1px}.sc-crew-edit:disabled{cursor:wait;opacity:.6}.sc-time{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;font-size:12px;font-weight:600;color:inherit;border-radius:.3rem}button.sc-time{cursor:pointer;-webkit-text-decoration:underline dotted #94a3b8;text-decoration:underline dotted #94a3b8;text-underline-offset:3px}button.sc-time:hover{text-decoration-style:solid}.sc-pre{font-size:10px;font-weight:700;text-transform:uppercase;color:#7e22ce}.sc-loc-dot{width:7px;height:7px;flex:none;border-radius:50%}.sc-loc-dot.loc-ok,.dark .sc-loc-dot.loc-ok{background:#16a34a}.sc-loc-dot.loc-near,.dark .sc-loc-dot.loc-near{background:#d97706}.sc-loc-dot.loc-far,.dark .sc-loc-dot.loc-far{background:#e11d48}.sc-loc-dot.loc-off,.dark .sc-loc-dot.loc-off{background:#94a3b8}.sc-popover{position:absolute;z-index:46;padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;box-shadow:0 12px 32px #0f172a2e}.sc-pop-title{margin-bottom:.5rem;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.sc-pop-title span{display:block;margin-top:.1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:#1e293b}.sc-pop-reset{width:100%;margin-top:.6rem;padding:.45rem .75rem;border:1px solid #fecdd3;border-radius:.5rem;background:#fff1f2;color:#be123c;font-size:13px;font-weight:650}.sc-pop-reset:hover{background:#ffe4e6}.sc-crew-row{display:flex;align-items:center;gap:.4rem}.sc-crew-row[hidden]{display:none}.sc-crew-row+.sc-crew-row{margin-top:.4rem}.sc-crew-remove{flex:none;padding:.35rem .5rem;border-radius:.45rem;color:#be123c;font-size:12px;font-weight:600}.sc-crew-remove:hover{background:#fff1f2}.sc-crew-more{margin-top:.5rem;color:#0f766e;font-size:12px;font-weight:650}.sc-crew-more:hover{text-decoration:underline}.sc-crew{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;vertical-align:middle}.sc-crew-add{display:inline-flex;flex:none;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border:1px dashed #94a3b8;border-radius:999px;color:#64748b;font-size:13px;font-weight:700;line-height:1}.sc-crew-add:hover,.sc-crew-add:focus-visible{border-style:solid;border-color:#0f766e;color:#0f766e;outline:none}.sc-crew-add:disabled{cursor:wait;opacity:.6}.sc-crew-split{display:block;margin-top:.3rem;color:#64748b;font-size:12px;font-weight:600}.sc-crew-split+.sc-crew-row{margin-top:.4rem}@media(max-width:639px){.sc-crew-add{position:relative;min-height:0;width:1.75rem;height:1.75rem;font-size:15px}.sc-crew-add:after{content:"";position:absolute;top:-.45rem;right:-.45rem;bottom:-.45rem;left:-.45rem}}.sc-unit-link{color:inherit;-webkit-text-decoration:underline dotted #94a3b8;text-decoration:underline dotted #94a3b8;text-decoration-thickness:1px;text-underline-offset:4px}.sc-unit-link:hover{text-decoration-style:solid;text-decoration-color:currentColor}.sc-unit-link:focus-visible{outline:2px solid #0f766e;outline-offset:2px;border-radius:.25rem}.sc-new-tab{margin-left:.3rem;font-size:.8em;font-weight:600;opacity:.55}.appt-preview-grid .sc-crew-inline,.appt-preview-grid .sc-money-inline{grid-column:1 / -1;padding:.6rem;border:1px solid #e2e8f0;border-radius:.6rem;background:#f8fafc}.sc-money{display:inline-flex;align-items:center;gap:.5rem;max-width:100%;padding:0 .15rem;margin:0 -.15rem;border-radius:.3rem;color:inherit;font:inherit;font-weight:650;font-variant-numeric:tabular-nums;cursor:pointer}.sc-money-value{-webkit-text-decoration:underline dotted #94a3b8;text-decoration:underline dotted #94a3b8;text-underline-offset:3px}.sc-money:hover .sc-money-value{text-decoration-style:solid}.sc-money:focus-visible{outline:2px solid #0f766e;outline-offset:1px}.sc-money:disabled{cursor:wait;opacity:.6}.sc-money-edit{color:#0f766e;font-size:12px;font-weight:650}.sc-money-amount{font-weight:650;font-variant-numeric:tabular-nums}.sc-money-note{margin-left:.5rem;color:#64748b;font-size:12px;font-weight:600;white-space:nowrap}.sc-money .sc-money-note{margin-left:0}.sc-money-form{display:flex;align-items:center;gap:.45rem}.sc-money-form .sc-li-dollar{flex:1 1 8rem;min-width:0}.sc-money-cancel{flex:none;padding:calc(.45rem - 1px) .75rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;color:#475569;font-size:13px;font-weight:650}.sc-money-cancel:hover{background:#f1f5f9}.sc-money-form .sc-li-add-btn:disabled,.sc-money-cancel:disabled{cursor:wait}.sc-ta-row{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin-top:.75rem}.sc-ta-toggle{display:inline-flex;align-items:center;gap:.5rem;padding:.15rem .1rem;border-radius:.5rem;color:#334155;font-size:14px;font-weight:650}.sc-ta-toggle.is-on{color:#be123c}.sc-ta-toggle:disabled{cursor:default}.sc-switch{position:relative;flex:none;width:2.5rem;height:1.4rem;border-radius:999px;background:#cbd5e1;transition:background .15s}.sc-switch span{position:absolute;top:.2rem;left:.2rem;width:1rem;height:1rem;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0f172a40;transition:transform .15s}.sc-ta-toggle.is-on .sc-switch{background:#e11d48}.sc-ta-toggle.is-on .sc-switch span{transform:translate(1.1rem)}.sc-ta-toggle:disabled .sc-switch{opacity:.6}.sc-link{padding:0 .2rem;border-radius:.3rem;color:#0f766e;font-size:13px;font-weight:650}.sc-link:hover{text-decoration:underline}.sc-link:disabled{opacity:.5}.sc-li-item{padding:.45rem 0;border-bottom:1px solid #e2e8f0}.sc-li-item:first-child{padding-top:0}.sc-li-item:last-child{border-bottom:0}.sc-li-amount{flex:none;font-size:13px;font-weight:700;white-space:nowrap}.sc-li-remove{flex:none;width:1.6rem;height:1.6rem;border-radius:.4rem;color:#94a3b8;font-size:18px;line-height:1}.sc-li-remove:hover{background:#fff1f2;color:#be123c}.sc-li-add{display:grid;gap:.45rem;margin-top:.6rem;padding-top:.6rem;border-top:1px solid #e2e8f0}.sc-li-amounts{display:flex;align-items:flex-end;gap:.45rem}.sc-li-money{flex:1;min-width:0;display:grid;gap:.15rem;color:#64748b;font-size:11px;font-weight:600}.sc-li-dollar{position:relative;display:block}.sc-li-dollar:before{content:"$";position:absolute;left:.55rem;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:13px;pointer-events:none}.sc-li-dollar input{padding-left:1.3rem}.sc-li-add-btn{flex:none;padding:.45rem .9rem;border-radius:.5rem;background:#059669;color:#fff;font-size:13px;font-weight:650}.sc-li-add-btn:hover{background:#047857}.sc-li-add-btn:disabled{opacity:.6}.dark .sc-crew-edit:hover{background:#ffffff14}.dark .sc-pre{color:#d8b4fe}.dark .sc-popover{background:#0f172a;border-color:#334155}.dark .sc-pop-title span{color:#e2e8f0}.dark .sc-pop-reset{background:#4c0519;border-color:#881337;color:#fecdd3}.dark .sc-crew-remove,.dark .sc-ta-toggle.is-on{color:#fda4af}.dark .sc-crew-remove:hover,.dark .sc-li-remove:hover{background:#4c0519}.dark .sc-crew-more,.dark .sc-link{color:#5eead4}.dark .sc-crew-add{border-color:#64748b;color:#cbd5e1}.dark .sc-crew-add:hover,.dark .sc-crew-add:focus-visible{border-color:#2dd4bf;color:#5eead4}.dark .sc-crew-split{color:#94a3b8}.dark .appt-preview-grid .sc-crew-inline,.dark .appt-preview-grid .sc-money-inline{background:#1e293b;border-color:#334155}.dark .sc-money-edit{color:#5eead4}.dark .sc-money-note{color:#94a3b8}.dark .sc-money-cancel{border-color:#475569;background:#0f172a;color:#cbd5e1}.dark .sc-money-cancel:hover{background:#334155}.dark .sc-ta-toggle{color:#e2e8f0}.dark .sc-switch{background:#475569}.dark .sc-li-item,.dark .sc-li-add{border-color:#334155}.appt-preview-grid.sc-team-grid,.appt-preview-grid.sc-money-grid{align-items:center}.sc-photo-mark{display:inline-flex;align-items:center;justify-content:center;margin-left:.3rem;padding:0 .15rem;border-radius:.3rem;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:14px;line-height:1.2;vertical-align:middle;cursor:pointer}.sc-photo-mark:hover{background:#0f172a12}.sc-photo-mark:focus-visible{outline:2px solid #0f766e;outline-offset:1px}.sc-thumbs{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}.sc-thumb{flex:none;width:4rem;height:4rem;overflow:hidden;padding:0;border:1px solid #e2e8f0;border-radius:.45rem;background:#f1f5f9;cursor:zoom-in}.sc-thumb img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.sc-thumb img:not([src]){visibility:hidden}.sc-thumb.is-missing{cursor:default;background:repeating-linear-gradient(135deg,#f1f5f9 0,#f1f5f9 6px,#e2e8f0 6px,#e2e8f0 12px)}.sc-thumb:focus-visible{outline:2px solid #0f766e;outline-offset:1px}.sc-thumbs-all{align-self:center;padding:0 .3rem;color:#0f766e;font-size:12px;font-weight:650}.sc-thumbs-all:hover{text-decoration:underline}.sc-photo-dialog{max-width:min(960px,94vw);max-height:94vh;padding:.75rem;border:0;border-radius:.9rem;background:#0f172a;color:#e2e8f0;cursor:zoom-out}.sc-photo-dialog::backdrop{background:#020617cc}.sc-photo-dialog img{display:block;max-width:100%;max-height:82vh;margin:auto;border-radius:.5rem;-o-object-fit:contain;object-fit:contain}.sc-photo-dialog p{margin-top:.5rem;font-size:13px;text-align:center;overflow-wrap:anywhere}.sc-photo-close{position:absolute;top:.35rem;right:.5rem;width:2.25rem;height:2.25rem;border-radius:999px;background:#0f172acc;color:#fff;font-size:22px;line-height:1}.sc-issues{display:grid;gap:.4rem}.sc-issue{display:grid;gap:.2rem;width:100%;padding:.45rem .55rem;border:1px solid #e2e8f0;border-radius:.5rem;background:#fff;text-align:left;color:#1e293b}.sc-issue:hover{border-color:#0f766e}.sc-issue:focus-visible{outline:2px solid #0f766e;outline-offset:1px}.sc-issue-head{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem}.sc-issue-badge{padding:.05rem .4rem;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:11px;font-weight:700}.sc-issue-badge.is-progress{background:#fef3c7;color:#92400e}.sc-issue-badge.is-urgent{background:#dc2626;color:#fff}.sc-issue-when{color:#64748b;font-size:11.5px}.sc-issue-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;overflow-wrap:anywhere}.sc-issues-all{display:inline-block;margin-top:.5rem;color:#0f766e;font-size:12px;font-weight:650}.sc-issues-all:hover{text-decoration:underline}@media(max-width:639px){.sc-photo-mark{position:relative;min-height:0}.sc-photo-mark:after{content:"";position:absolute;top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem}.sc-thumb{min-height:0;width:4.5rem;height:4.5rem}.sc-thumbs-all{min-height:0;padding:.5rem .3rem}}.dark .sc-photo-mark:hover{background:#ffffff14}.dark .sc-thumb{border-color:#334155;background:#1e293b}.dark .sc-thumbs-all,.dark .sc-issues-all{color:#5eead4}.dark .sc-issue{border-color:#334155;background:#0f172a;color:#e2e8f0}.dark .sc-issue:hover{border-color:#2dd4bf}.dark .sc-issue-badge{background:#4c0519;color:#fecdd3}.dark .sc-issue-badge.is-progress{background:#422006;color:#fde68a}.dark .sc-issue-badge.is-urgent{background:#e11d48;color:#fff}.dark .sc-issue-when{color:#94a3b8}.sc-note-add{display:grid;gap:.45rem;margin-top:.5rem}.sc-note-add textarea{width:100%;min-height:3.25rem;padding:.45rem .6rem;border:1px solid #cbd5e1;border-radius:.5rem;background:#fff;color:#0f172a;font-size:14px;resize:vertical}.sc-note-row{display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.sc-note-row select{padding:.35rem 1.75rem .35rem .5rem;border:1px solid #cbd5e1;border-radius:.5rem;background-color:#fff;color:#334155;font-size:13px}.sc-note-row button{flex:none;padding:.45rem .9rem;border-radius:.5rem;background:#0f766e;color:#fff;font-size:13px;font-weight:650}.sc-note-row button:hover{background:#115e59}.sc-note-row button:disabled{opacity:.6;cursor:wait}.dark .sc-note-add textarea,.dark .sc-note-row select{background-color:#1e293b;border-color:#475569;color:#e2e8f0}.tc-picker{position:relative}.tc-picker>summary{list-style:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.tc-picker>summary::-webkit-details-marker{display:none}.tc-picker>summary:after{content:"▾";margin-left:.35rem;opacity:.6}.tc-picker[open]>summary{border-color:#0f766e;color:#0f766e}.tc-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:min(16rem,calc(100vw - 1rem));max-height:min(32rem,calc(100vh - 9rem));overflow-y:auto;padding:.35rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;box-shadow:0 12px 32px #0f172a29}.tc-menu label{display:flex;align-items:center;gap:.6rem;min-height:2.25rem;padding:.2rem .5rem;border-radius:.45rem;color:#1e293b;font-size:13px;cursor:pointer}.tc-menu label:hover{background:#f1f5f9}.tc-menu input{width:1rem;height:1rem;flex:none;accent-color:#0f766e}.tc-menu label.tc-menu-required{cursor:default}.tc-menu label.tc-menu-required:hover{background:none}.tc-menu-tag{margin-left:auto;color:#94a3b8;font-size:11px}.tc-menu-note{margin:.3rem .5rem 0;padding-top:.45rem;border-top:1px solid #e2e8f0;color:#64748b;font-size:11.5px;line-height:1.4}.tc-menu-reset{display:block;width:100%;margin-top:.25rem;padding:.5rem;border-radius:.45rem;color:#0f766e;font-size:12.5px;font-weight:700;text-align:left}.tc-menu-reset:hover{background:#f0fdfa}.tc-table th{position:relative}.tc-resize{position:absolute;top:0;right:0;bottom:0;z-index:2;width:9px;cursor:col-resize;touch-action:none}.tc-resize:after{content:"";position:absolute;top:25%;bottom:25%;right:3px;width:2px;border-radius:2px;background:#cbd5e1;opacity:0;transition:opacity .12s}.tc-table thead:hover .tc-resize:after{opacity:1}.tc-resize:hover:after,.tc-resize:focus-visible:after,body.tc-resizing .tc-resize:after{opacity:1;background:#0f766e}.tc-resize:focus-visible{outline:none}body.tc-resizing,body.tc-resizing *{cursor:col-resize!important;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}@media(pointer:coarse){.tc-resize{width:16px}.tc-resize:after{opacity:1}}.tc-table.tc-fixed{table-layout:fixed}.tc-table.tc-fixed th,.tc-table.tc-fixed td{overflow:hidden;text-overflow:ellipsis}.tc-table .tc-fill{padding:0!important}.dark .tc-menu{background:#0f172a;border-color:#334155}.dark .tc-menu label{color:#e2e8f0}.dark .tc-menu label:hover{background:#1e293b}.dark .tc-menu label.tc-menu-required:hover{background:none}.dark .tc-menu-note{border-color:#334155;color:#94a3b8}.dark .tc-menu-reset{color:#5eead4}.dark .tc-menu-reset:hover{background:#042f2e}.dark .tc-resize:after{background:#475569}.dark .tc-picker[open]>summary{border-color:#2dd4bf;color:#5eead4}.tc-menu-row{display:flex;align-items:center;gap:.25rem}.tc-menu-row>label{flex:1;min-width:0}.tc-menu-move{display:inline-flex;flex:none;gap:.15rem}.tc-menu-move button{min-height:0;width:1.75rem;height:1.75rem;border-radius:.4rem;color:#64748b;font-size:10px;line-height:1}.tc-menu-move button:hover,.tc-menu-move button:focus-visible{background:#f0fdfa;color:#0f766e;outline:none}.tc-table thead th[draggable=true]{cursor:grab}.tc-table thead th.tc-moving{opacity:.45}.tc-table thead th.tc-drop-before{box-shadow:inset 3px 0 #0f766e!important}.tc-table thead th.tc-drop-after{box-shadow:inset -3px 0 #0f766e!important}.dark .tc-menu-move button{color:#94a3b8}.dark .tc-menu-move button:hover,.dark .tc-menu-move button:focus-visible{background:#042f2e;color:#5eead4}@media(min-width:640px){body[data-page=day-board] .ops-status-filters{flex-basis:100%}body[data-page=day-board] .ops-filter-items select{flex:1 1 9rem;min-width:0}body[data-page=day-board] .ops-stats .ops-metric{flex-direction:row;align-items:center;gap:.5rem;padding:.45rem .7rem}body[data-page=day-board] .ops-stats .ops-metric strong{font-size:20px}body[data-page=day-board] .ops-stats .ops-metric small{display:none}}body[data-page=day-board] .ops-stats{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:1023px){body[data-page=day-board] .ops-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:639px){body[data-page=day-board] .ops-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}body[data-page=day-board] #table-view td.sc-unit,body[data-page=day-board] #table-view th[data-col=property]{position:sticky;left:0;z-index:1;background:inherit}body[data-page=day-board] #table-view thead tr,body[data-page=day-board] #table-view tbody tr:not([data-service-color]){background-color:#fff}.dark body[data-page=day-board] #table-view thead tr,.dark body[data-page=day-board] #table-view tbody tr:not([data-service-color]){background-color:#1e293b}.db-tabs{display:inline-flex;overflow:hidden;border:1px solid #cbd5e1;border-radius:.6rem;background:#fff}.db-tabs.hidden{display:none}.db-tabs button{min-height:2.5rem;padding:.4rem 1rem;color:#334155;font-size:.875rem;font-weight:650;white-space:nowrap}.db-tabs button+button{border-left:1px solid #cbd5e1}.db-tabs button:hover{background:#f1f5f9}.db-tabs button[aria-selected=true]{background:#0f766e;color:#fff}.db-tabs button[data-board-tab=plan][aria-selected=true]{background:#b45309}.db-tabs button:focus-visible{outline:2px solid currentColor;outline-offset:-5px}.dark .db-tabs{background:#0f172a;border-color:#475569}.dark .db-tabs button{color:#e2e8f0}.dark .db-tabs button+button{border-color:#475569}.dark .db-tabs button:hover{background:#1e293b}.dark .db-tabs button[aria-selected=true]{background:#0f766e;color:#fff}.dark .db-tabs button[data-board-tab=plan][aria-selected=true]{background:#b45309}body[data-page=day-board] #table-view td.text-sm:not(.sc-date){font-size:inherit}body[data-page=day-board] #table-view [data-person]>span{font-size:12px}body[data-page=day-board] #table-view.status-compact td.sc-unit>.db-unit{display:flex;align-items:center;margin:0}body[data-page=day-board] #table-view.status-compact .db-unit>a{min-width:3rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page=day-board] #table-view.status-compact .db-unit>.plan-select,body[data-page=day-board] #table-view.status-compact .db-unit>.ops-flags{flex:none}.db-layout{display:flex;gap:.75rem;align-items:flex-start}.db-layout>#views-container{flex:1 1 auto;min-width:0}.db-layout>.plan-rail{position:sticky;top:4.75rem;max-height:calc(100vh - 6rem)}.db-layout>.plan-rail[hidden]{display:none}.db-planning .db-plan-cell .sc-crew-edit{outline:1px dashed #d97706;outline-offset:1px}.db-plan-badge{display:inline-block;margin-left:.3rem;padding:0 .3rem;border:1px dashed #b45309;border-radius:.3rem;background:#fffbeb;color:#92400e;font-size:9.5px;letter-spacing:.04em;line-height:1.5;vertical-align:1px}#table-view .plan-tag{margin:0 0 .15rem .3rem;vertical-align:middle}#table-view.status-compact .plan-tag{margin-bottom:0}#table-view tr.plan-selected{background-color:#fef3c7!important}#table-view tr.plan-drop{background-color:#ccfbf1!important}#table-view tr[draggable=true]{cursor:grab}#table-view .plan-select{width:1rem;height:1rem;accent-color:#b45309}.dark .db-planning .db-plan-cell .sc-crew-edit{outline-color:#f59e0b}.dark .db-plan-badge{background:#3c2c12;border-color:#d97706;color:#fcd34d}.dark #table-view tr.plan-selected{background-color:#422006!important}.dark #table-view tr.plan-drop{background-color:#134e4a!important}@media(max-width:639px){.db-layout{flex-direction:column;align-items:stretch;gap:.5rem}.db-layout>.plan-rail{order:-1;position:static;max-height:none}.db-layout>.plan-rail.is-collapsed{width:auto}.db-layout>.plan-rail.is-collapsed .plan-rail-show{flex-direction:row;justify-content:center;padding:.6rem .75rem;font-size:13px}.db-layout>.plan-rail.is-collapsed .plan-rail-show>span:first-child{display:none}.db-layout>.plan-rail.is-collapsed .plan-rail-show-label{writing-mode:horizontal-tb}.db-layout>.plan-rail:not(.is-collapsed){position:fixed;z-index:47;top:4rem;right:0;bottom:0;left:0;width:auto;max-height:none;border-width:1px 0 0;border-radius:0;box-shadow:0 -8px 24px #0f172a29}.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-list{flex:1;padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px))}.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-hide{width:2.75rem;font-size:0}.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-hide:after{content:"×";font-size:22px;font-weight:500}.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-tabs button,.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-filter{min-height:2.5rem;font-size:14px}.db-layout>.plan-rail:not(.is-collapsed) .plan-rail-hint{font-size:13px}.db-layout>.plan-rail:not(.is-collapsed) .plan-person{min-height:2.75rem;font-size:14px}#table-view .plan-select{width:1.25rem;height:1.25rem}}.db-rings{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem}.db-ring{display:flex;align-items:center;gap:.55rem}.db-ring svg{flex:none;width:54px;height:54px}.db-ring circle{fill:none;stroke-width:5.5}.db-ring text{fill:#0f172a;font-size:12px;font-weight:700;text-anchor:middle;dominant-baseline:central}.db-ring strong{display:block;color:#0f172a;font-size:.8rem;font-weight:700;line-height:1.1rem}.db-ring span{display:flex;align-items:center;gap:.3rem;color:#475569;font-size:.7rem;line-height:1rem;white-space:nowrap}.db-ring b{margin-left:auto;padding-left:.5rem;color:#0f172a;font-weight:600}.db-ring-dot{flex:none;width:.5rem;height:.5rem;border-radius:999px}circle.db-ring-done{stroke:#065f46}.db-ring-dot.db-ring-done{background:#065f46}circle.db-ring-going{stroke:#34d399}.db-ring-dot.db-ring-going{background:#34d399}circle.db-ring-left{stroke:#cbd5e1}.db-ring-dot.db-ring-left{background:#cbd5e1}.dark .db-ring text{fill:#f1f5f9}.dark .db-ring strong,.dark .db-ring b{color:#f1f5f9}.dark .db-ring span{color:#cbd5e1}.dark circle.db-ring-left{stroke:#475569}.dark .db-ring-dot.db-ring-left{background:#475569}@media(max-width:639px){.db-rings{order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.75rem}}.db-area{display:inline-block;max-width:100%;padding:.05rem .5rem;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.db-area-none{background:#e2e8f0;color:#334155}#table-view tr.db-area-row td{padding:.6rem .6rem .3rem!important;border-top:3px solid var(--area);background:#f8fafc}.db-area-head{position:sticky;left:.6rem;display:inline-flex;align-items:center;gap:.5rem;color:#475569;font-size:12px;font-weight:600}.db-area-head .db-area{font-size:12.5px;padding:.1rem .65rem}.dark #table-view tr.db-area-row td{background:#0f172a}.dark .db-area-head{color:#cbd5e1}.dark .db-area-none{background:#334155;color:#e2e8f0}body[data-page=day-board] #table-view{max-height:calc(100vh - 5.5rem);max-height:calc(100dvh - 5.5rem);overflow:auto}body[data-page=day-board] #table-view thead th{position:sticky;top:0;z-index:2;background:#f8fafc;box-shadow:0 1px #e2e8f0}body[data-page=day-board] #table-view thead th[data-col=property]{z-index:3;background:#f8fafc}.dark body[data-page=day-board] #table-view thead th{background:#0f172a;box-shadow:0 1px #334155}.db-legend-menu{width:min(19rem,calc(100vw - 1rem))}.db-legend-menu .ops-legend{flex-direction:column;align-items:flex-start;gap:.35rem;margin:0;padding:.35rem .25rem;border:0;background:none}.db-legend-menu .ops-legend-note{margin:.25rem 0 0}.db-tasks{margin-bottom:.75rem;padding:.6rem .75rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff}.db-tasks[hidden]{display:none}.db-tasks-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem 1rem;margin-bottom:.35rem}.db-tasks-head h2{margin-right:auto;color:#0f172a;font-size:.875rem;font-weight:700}.db-tasks-head a{color:#0f766e;font-size:.8125rem;font-weight:650}.db-tasks-head a:hover{text-decoration:underline}.db-tasks ul{display:grid;gap:.1rem}.db-task{display:flex;align-items:center;gap:.65rem;padding:.35rem 0;border-top:1px solid #f1f5f9}.db-task:first-child{border-top:0}.db-task select{flex:none;min-height:2rem;padding:.2rem 1.75rem .2rem .5rem;border:1px solid #cbd5e1;border-radius:.45rem;background-color:#fff;color:#334155;font-size:.8125rem}.db-task-title{color:#0f172a;font-size:.875rem;font-weight:650;word-break:break-word}.db-task-title:hover{color:#0f766e;text-decoration:underline}.db-task.is-done .db-task-title{color:#64748b;text-decoration:line-through}.db-task-meta{color:#64748b;font-size:.75rem;word-break:break-word}.db-task-late{color:#dc2626;font-weight:650}.db-task-pay{color:#047857;font-weight:650}.db-task-done{flex:none;margin-left:auto;min-height:2rem;padding:.2rem .65rem;border-radius:.45rem;background:#059669;color:#fff;font-size:.8125rem;font-weight:650}.db-task-done:hover{background:#047857}.db-task-done:disabled{opacity:.6}.db-tasks-note{color:#64748b;font-size:.8125rem}.dark .db-tasks{background:#0f172a;border-color:#334155}.dark .db-tasks-head h2,.dark .db-task-title{color:#f1f5f9}.dark .db-tasks-head a{color:#5eead4}.dark .db-task{border-color:#1e293b}.dark .db-task select{background-color:#1e293b;border-color:#475569;color:#e2e8f0}.dark .db-task-meta,.dark .db-tasks-note,.dark .db-task.is-done .db-task-title{color:#94a3b8}.dark .db-task-late{color:#f87171}.dark .db-task-pay{color:#34d399}
