:root{--sidebar-width: 248px;--topbar-height: 104px;--border: #d8e0ea;--surface: #ffffff;--surface-muted: #f8fafc;--ink: #18212f;--muted: #64748b;--accent: #0f766e;--accent-strong: #0f5f59;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:#eef3f8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,a,input,select{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:var(--sidebar-width);background:#111827;color:#eef4ff;padding:20px 16px;overflow-y:auto;transition:transform .18s ease}.nav-collapsed .sidebar{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-toggle,.nav-restore-button,.side-panel-close,.side-panel-restore{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgb(255 255 255 / 14%);border-radius:8px;cursor:pointer}.sidebar-toggle{position:absolute;top:18px;right:14px;width:34px;height:34px;background:#ffffff14;color:#dbeafe}.sidebar-toggle:hover{background:#ffffff24;color:#fff}.nav-restore-button{position:fixed;top:18px;left:14px;z-index:60;width:38px;height:38px;border-color:#cbd5e1;background:#fff;color:#1f2937;box-shadow:0 12px 28px #0f172a29}.brand-block{display:flex;gap:12px;align-items:center;padding-right:42px;padding-bottom:24px;border-bottom:1px solid rgb(255 255 255 / 12%)}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#f0b35a;color:#172033;font-weight:800}.brand-block h1,.brand-block p,.topbar h2,.topbar p,.grid-toolbar h3,.grid-toolbar p,.metric-panel p,.validation-panel h3,.warning-item p{margin:0}.brand-block h1{font-size:17px;line-height:1.2}.brand-block p{color:#9fb0cc;font-size:12px;margin-top:3px}.nav-list{display:grid;gap:6px;margin-top:22px}.nav-item{width:100%;border:0;display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;background:transparent;color:#b9c6da;text-decoration:none;font-size:14px;font-weight:750;text-align:left;cursor:pointer}.nav-item.active,.nav-item:hover{background:#ffffff17;color:#fff}.workspace{min-height:100vh;margin-left:var(--sidebar-width);background:#eef3f8;transition:margin-left .18s ease}.nav-collapsed .workspace{margin-left:0}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:#eef3fb}.auth-panel{width:min(420px,100%);border:1px solid #d7deea;border-radius:8px;background:#fff;padding:24px;box-shadow:0 18px 42px #0f172a1a}.auth-panel h1{margin:8px 0 16px;color:#111827;font-size:26px;line-height:1.1}.auth-panel>p{margin:14px 0 0}.auth-form{display:grid;gap:12px}.auth-form label,.password-form label{display:grid;gap:6px;color:#374151;font-size:13px;font-weight:700}.auth-form input,.password-form input{width:100%;height:40px;border:1px solid #cbd3df;border-radius:8px;padding:0 10px;color:#111827;background:#fff}.auth-form button,.password-form button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #cbd3df;border-radius:8px;background:#fff;color:#18212f;cursor:pointer}.auth-form button:disabled,.password-form button:disabled{cursor:not-allowed;opacity:.62}.auth-form .primary,.password-form .primary{border-color:#1d4ed8;background:#1d4ed8;color:#fff}.form-error,.form-message{margin:0;border-radius:6px;padding:9px 10px;font-size:13px;line-height:1.4}.form-error{background:#fef2f2;color:#991b1b}.form-message{background:#ecfdf5;color:#065f46}.topbar{position:fixed;top:0;right:0;left:var(--sidebar-width);z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:var(--topbar-height);border-bottom:1px solid var(--border);background:#fffffff5;padding:16px 26px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.nav-collapsed .topbar{left:0;padding-left:70px}.main-panel{display:grid;gap:16px;padding:calc(var(--topbar-height) + 22px) 26px 32px}.small-label{color:#69758a;font-size:12px;font-weight:700;text-transform:uppercase}.topbar h2{margin-top:3px;font-size:26px;line-height:1.15}.connection-badge{display:inline-flex;margin-top:8px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;padding:4px 9px;color:#9a3412;font-size:12px;font-weight:700}.connection-badge.live{border-color:#99f6e4;background:#f0fdfa;color:#115e59}.topbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.topbar-actions button{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border:1px solid #cbd3df;border-radius:8px;background:#fff;color:#18212f;cursor:pointer}.topbar-actions button:disabled{cursor:not-allowed;opacity:.58}.topbar-actions .primary{border-color:#1d4ed8;background:#1d4ed8;color:#fff}.topbar-actions .important-action{border-color:#0f766e;background:#ecfdf5;color:#0f5f59;font-weight:850}.account-panel,.password-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dce3ee;border-radius:8px;background:#fff;padding:14px 16px}.planner-strip{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(240px,1.4fr) minmax(150px,.6fr) auto auto auto;gap:12px;align-items:end;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px;box-shadow:0 10px 28px #0f172a0d}.planner-strip label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:800;text-transform:uppercase}.planner-strip input,.planner-strip select{width:100%;height:38px;border:1px solid #93c5fd;border-radius:8px;background:#eff6ff;padding:0 10px;color:#0f2f63;font-size:14px;font-weight:850;text-transform:none;box-shadow:inset 0 0 0 1px #ffffffb8}.planner-strip input:disabled,.planner-strip select:disabled{background:#f8fafc;opacity:1}.week-control{display:grid;grid-template-columns:auto minmax(150px,1fr) auto;gap:6px}.week-control button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 10px;color:#334155;cursor:pointer;font-size:13px;font-weight:800}.week-control button:disabled{cursor:not-allowed;opacity:.62}.planner-status{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;padding:0 12px;color:#115e59;font-size:13px;font-weight:800;white-space:nowrap}.planner-status.muted{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.planner-status.stale{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.lifecycle-actions{display:flex;align-items:center}.empty-roster-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;padding:14px 16px;color:#7c2d12}.empty-roster-actions{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.empty-roster-actions button{height:38px;border:1px solid #ea580c;border-radius:8px;background:#ea580c;padding:0 14px;color:#fff;cursor:pointer;font-size:13px;font-weight:800;white-space:nowrap}.empty-roster-actions .secondary-create{border-color:#fdba74;background:#fff;color:#9a3412}.empty-roster-actions button:disabled{cursor:not-allowed;opacity:.62}.empty-roster-banner strong{color:#7c2d12;font-size:14px}.empty-roster-banner p{margin:4px 0 0;color:#9a3412;font-size:13px}.account-panel strong{display:block;margin-top:3px;font-size:16px}.account-panel span{display:block;color:#5f6f85;font-size:13px}.scope-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.scope-list span{border:1px solid #c7d2fe;border-radius:999px;background:#eef2ff;padding:5px 8px;color:#3730a3;font-size:12px;font-weight:700}.password-banner{align-items:flex-start;flex-direction:column}.password-form{display:grid;width:min(520px,100%);grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.status-row,.kpi-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.metric-panel,.kpi-card,.editor-grid,.validation-panel,.side-card{border:1px solid var(--border);border-radius:8px;background:var(--surface)}.kpi-card{min-height:94px;padding:14px;box-shadow:0 10px 26px #0f172a0d}.kpi-card span{color:#64748b;font-size:12px;font-weight:800}.kpi-card strong{display:block;margin-top:8px;color:#0f172a;font-size:24px;line-height:1}.kpi-card p{margin:8px 0 0;color:#64748b;font-size:12px}.kpi-card.critical{border-color:#fecaca;box-shadow:inset 4px 0 #dc2626}.kpi-card.critical strong{color:#b91c1c}.kpi-card.warning{border-color:#fed7aa;box-shadow:inset 4px 0 #d97706}.kpi-card.warning strong{color:#b45309}.metric-panel{padding:14px;border-top:4px solid #94a3b8}.metric-panel:nth-child(1){border-top-color:#0f766e}.metric-panel:nth-child(2){border-top-color:#2563eb}.metric-panel:nth-child(3){border-top-color:#b45309}.metric-panel span{color:#69758a;font-size:12px;font-weight:700}.metric-panel strong{display:block;margin-top:6px;font-size:24px}.metric-panel p{margin-top:3px;color:#69758a;font-size:13px}.editor-grid{display:grid;overflow:hidden;box-shadow:0 16px 38px #0f172a12}.planner-workbench{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:14px;align-items:start}.planner-workbench.side-collapsed{grid-template-columns:minmax(0,1fr)}.grid-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--border);background:#fff}.workflow-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border);background:#f8fafc;overflow-x:auto}.workflow-step{display:grid;grid-template-columns:26px minmax(0,auto);column-gap:8px;align-items:center;flex:0 0 150px;min-width:150px;margin-right:4px}.workflow-step span{display:grid;width:26px;height:26px;place-items:center;border-radius:999px;background:#0f766e;color:#fff;font-size:12px;font-weight:900;grid-row:span 2}.workflow-step strong{color:#0f172a;font-size:13px}.workflow-step small{color:#64748b;font-size:12px}.workflow-actions button{min-height:34px;white-space:nowrap}.workflow-actions .primary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #1d4ed8;border-radius:8px;background:#1d4ed8;color:#fff;padding:0 14px;cursor:pointer;font-weight:850;min-width:96px}.workflow-actions .secondary-action{min-width:88px;justify-content:center}.workflow-actions .validate-action{min-width:122px}.save-action{border-color:#99f6e4;background:#ecfdf5;color:#0f5f59}.validate-action{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.export-summary-toggle{display:inline-flex;align-items:center;gap:7px;color:#334155;font-size:12px;font-weight:800;white-space:nowrap;min-width:128px}.export-summary-toggle input{width:15px;height:15px}.grid-toolbar h3{font-size:18px}.toolbar-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.team-filter{display:inline-flex;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;padding:3px}.highlight-filter{display:inline-flex;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;padding:3px}.team-filter button{min-height:30px;border:0;border-radius:6px;background:transparent;padding:0 10px;color:#475569;cursor:pointer;font-size:13px;font-weight:800}.highlight-filter button{min-height:30px;border:0;border-radius:6px;background:transparent;padding:0 10px;color:#1e3a8a;cursor:pointer;font-size:13px;font-weight:850}.team-filter button.active{background:#0f766e;color:#fff;box-shadow:0 4px 10px #0f766e2e}.highlight-filter button.active{background:#1d4ed8;color:#fff;box-shadow:0 4px 10px #1d4ed82e}.team-count{display:flex;align-items:center;gap:8px;color:#374151;font-size:14px}.panel-toggle-button{display:inline-flex;min-height:32px;align-items:center;gap:6px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;padding:0 10px;cursor:pointer;font-size:13px;font-weight:800}.panel-toggle-button:hover{border-color:#94a3b8;background:#f8fafc}.panel-toggle-button.active{border-color:#0f766e;background:#ecfdf5;color:#0f5f59}.row-management{display:grid;grid-template-columns:minmax(170px,.85fr) auto minmax(150px,.75fr) minmax(220px,1fr) auto;align-items:end;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border);background:#f8fafc}.row-management label{display:grid;gap:5px;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.row-management select,.row-management input{height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033;font-size:14px}.search-input-wrap{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:6px;height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 8px}.search-input-wrap svg{color:#64748b}.row-management .search-input-wrap input{height:34px;border:0;outline:0;padding:0}.helper-action{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.day-summary{display:grid;grid-template-columns:repeat(7,minmax(96px,1fr));gap:0;border-bottom:1px solid var(--border);background:#f8fafc}.day-card{min-height:76px;padding:10px;border-right:1px solid #e2e8f0}.day-card:last-child{border-right:0}.day-card span{color:#64748b;font-size:12px;font-weight:800}.day-card em{display:block;margin-top:4px;color:#64748b;font-size:11px;font-style:normal;font-weight:700}.day-card strong{display:block;margin-top:4px;color:#0f172a;font-size:20px}.day-card p{margin:2px 0 0;color:#475569;font-size:12px}.day-card.under{background:#fff1f2;box-shadow:inset 0 4px #e11d48}.table-scroll{max-height:calc(100vh - 430px);min-height:420px;overflow-x:auto;overflow-y:auto;background:#fff}.roster-table{min-width:890px}.table-row{display:grid;grid-template-columns:64px 124px 156px 42px repeat(7,minmax(72px,1fr));min-height:46px;border-bottom:1px solid #e8edf4}.table-row:last-child{border-bottom:0}.table-row>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 8px;border:0;border-right:1px solid #e8edf4;background:#fff;text-align:left}.table-row>div:first-child{position:sticky;left:0;z-index:12}.table-row>div:nth-child(2){position:sticky;left:64px;z-index:12}.table-row>div:nth-child(3){position:sticky;left:188px;z-index:12}.table-row>div:nth-child(4){position:sticky;left:344px;z-index:12}.table-row>:last-child{border-right:0}.table-head{position:sticky;top:0;z-index:18;min-height:46px;background:#e7eef7;color:#46546a;font-size:12px;font-weight:800}.table-head div{background:#e7eef7}.table-head>div:first-child,.table-head>div:nth-child(2),.table-head>div:nth-child(3),.table-head>div:nth-child(4){z-index:20}.table-head span,.table-row span{display:block;margin-top:2px;color:#7a8799;font-size:11px;font-weight:500}.table-row>div:nth-child(2) strong,.table-row>div:nth-child(3) strong{display:block;overflow:hidden;max-width:100%;text-overflow:ellipsis;line-height:1.2}.table-row>div:nth-child(3) strong,.table-row>div:nth-child(3) span{white-space:nowrap}.row-remove{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:26px;min-height:26px;border:1px solid #fed7aa;border-radius:6px;background:#fff7ed;color:#9a3412;cursor:pointer;font-size:11px;font-weight:800}.action-cell{align-items:center}.row-remove:disabled{cursor:default;opacity:.45}.shift-cell{width:100%;min-height:28px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 4px;color:#115e59;cursor:pointer;font-size:13px;font-weight:850}.shift-cell:hover{background:#f0fdfa}.shift-cell:disabled{cursor:default;opacity:1}.shift-cell-wrap{gap:4px;transition:background .12s ease,box-shadow .12s ease,opacity .12s ease}.shift-cell-wrap.tone-open{background:var(--shift-bg, #e0f2fe)}.shift-cell-wrap.tone-open .shift-cell{color:var(--shift-fg, #075985)}.shift-cell-wrap.tone-mid{background:var(--shift-bg, #dcfce7)}.shift-cell-wrap.tone-mid .shift-cell{color:var(--shift-fg, #166534)}.shift-cell-wrap.tone-close{background:var(--shift-bg, #ede9fe)}.shift-cell-wrap.tone-close .shift-cell{color:var(--shift-fg, #5b21b6)}.shift-cell-wrap.tone-help{background:var(--shift-bg, #ffedd5)}.shift-cell-wrap.tone-help .shift-cell{color:var(--shift-fg, #c2410c)}.shift-cell-wrap.tone-off{background:var(--shift-bg, #f1f5f9)}.shift-cell-wrap.tone-off .shift-cell{color:var(--shift-fg, #475569)}.shift-cell-wrap.tone-leave{background:var(--shift-bg, #fee2e2)}.shift-cell-wrap.tone-leave .shift-cell{color:var(--shift-fg, #b91c1c)}.shift-cell-wrap.dirty{box-shadow:inset 0 0 0 2px #f59e0b;background:#fffbeb}.roster-table.highlight-opening .shift-cell-wrap.highlight-muted,.roster-table.highlight-closing .shift-cell-wrap.highlight-muted{background:#f8fafc;opacity:.42}.roster-table.highlight-opening .shift-cell-wrap.highlight-muted .shift-cell,.roster-table.highlight-closing .shift-cell-wrap.highlight-muted .shift-cell{color:#64748b}.shift-cell-wrap.highlight-target{position:relative;box-shadow:inset 0 0 0 2px #0f766e,0 0 0 1px #0f766e24;opacity:1}.roster-table.highlight-closing .shift-cell-wrap.highlight-target{box-shadow:inset 0 0 0 2px #7c3aed,0 0 0 1px #7c3aed24}.shift-cell-wrap.highlight-target:after{content:"OPEN";position:absolute;top:2px;right:4px;color:#0f766e;font-size:9px;font-weight:950;letter-spacing:0}.roster-table.highlight-closing .shift-cell-wrap.highlight-target:after{content:"CLOSE";color:#6d28d9}.shift-cell-wrap.highlight-target .shift-cell{padding-right:28px}.destination-cell{width:100%;min-height:28px;border:1px solid #bfdbfe;border-radius:6px;background:#fff;color:#1d4ed8;font-size:12px;font-weight:700}.roster-row-block{display:contents}.color-field-with-action{display:grid;grid-template-columns:42px auto;gap:8px;align-items:center}.color-field-with-action input[type=color]{width:42px}.mini-inline-action{height:32px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;cursor:pointer;font-size:12px;font-weight:850}.mini-inline-action:hover{border-color:#94a3b8;background:#f8fafc}.coverage-summary-table{overflow-x:auto;border-bottom:1px solid #dbe5ef;background:#fff}.coverage-summary-table.frozen{position:sticky;top:var(--topbar-height);z-index:16;box-shadow:0 10px 22px #0f172a14}.coverage-summary-head,.summary-row{display:grid;grid-template-columns:64px 124px 156px repeat(7,minmax(72px,1fr));min-width:848px;min-height:34px;border-bottom:1px solid #dbe5ef}.coverage-summary-head>div,.summary-row>div{display:flex;align-items:center;min-width:0;border-right:1px solid #dbe5ef;padding:5px 8px;font-size:12px;font-weight:850}.coverage-summary-head>div{background:#f8fafc;color:#475569}.coverage-summary-head span{display:block;margin-top:1px;color:#64748b;font-size:11px;font-weight:650}.team-group-row{display:grid;grid-template-columns:64px 124px 156px 42px repeat(7,minmax(72px,1fr));min-height:38px;border-bottom:1px solid #dbe5ef}.team-group-row>div{display:flex;align-items:center;min-width:0;border-right:1px solid #dbe5ef;padding:5px 8px;font-size:12px;font-weight:800}.team-group-row>div:first-child{position:sticky;left:0;z-index:13}.team-group-row>div:nth-child(2){position:sticky;left:64px;z-index:13}.team-group-row>div:nth-child(3){position:sticky;left:188px;z-index:13}.team-group-row>div:nth-child(4){position:sticky;left:344px;z-index:13}.team-group-row>div{background:#f1f5f9;color:#0f172a}.summary-row>div{background:#fbfdff;color:#334155}.summary-row.daily-minimum>div{background:#ecfdf5;color:#0f5f59}.summary-row.opening>div{background:#eff6ff}.summary-row.closing>div{background:#fff7ed}.summary-cell{justify-content:center;font-size:15px!important;font-weight:950!important;font-variant-numeric:tabular-nums}.summary-cell.under{color:#991b1b!important;background:#fee2e2!important;box-shadow:inset 0 0 0 2px #ef4444}.destination-cell:disabled{opacity:1}.validation-panel{padding:16px}.validation-panel h3{font-size:18px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.export-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.export-range{display:flex;align-items:end;gap:10px;margin-top:12px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.export-range label{display:grid;gap:5px;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.export-range input{height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033}.export-range span{color:#64748b;font-size:13px;font-weight:700}.secondary-action{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border:1px solid #cbd3df;border-radius:8px;background:#fff;color:#18212f;cursor:pointer}.export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.export-grid article{min-height:92px;border:1px solid #e2e8f0;border-radius:8px;padding:12px;background:#f8fafc}.export-grid strong{font-size:14px}.export-grid p{margin:6px 0 0;color:#4b5563;font-size:13px;line-height:1.45}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.admin-grid article{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:14px}.admin-grid .wide-admin-card{grid-column:1 / -1}.admin-main-panel{padding-top:18px}.admin-grid strong{display:block;color:#172033}.admin-grid p{margin:8px 0 0;color:#64748b;font-size:13px;line-height:1.5}.admin-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:12px}.admin-filter-form{align-items:end;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:10px}.create-form{border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa;padding:10px}.admin-form label{display:grid;gap:5px;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.admin-form .wide-field{min-width:230px;flex:1 1 230px}.admin-form input,.admin-form select{height:36px;min-width:150px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033}.file-upload-control{min-height:36px;align-content:center;border:1px dashed #0f766e;border-radius:8px;background:#fff;padding:7px 10px;color:#0f5f59!important;cursor:pointer}.file-upload-control input{display:none}.small-note{color:#64748b;font-size:12px;line-height:1.45}.warning-list{display:grid;gap:10px;margin-top:12px}.warning-item{border-left:4px solid #f59e0b;border-radius:6px;background:#fffbeb;padding:10px 12px}.severity-pill{display:inline-flex;width:fit-content;margin-bottom:6px;border-radius:999px;background:#fef3c7;padding:3px 8px;color:#92400e;font-size:11px;font-weight:900}.critical-pill{background:#fee2e2;color:#991b1b}.warning-item.critical{border-left-color:#dc2626;background:#fef2f2}.warning-item.critical .severity-pill{background:#fee2e2;color:#991b1b}.warning-item.info .severity-pill,.warning-item.clear .severity-pill{background:#e0f2fe;color:#075985}.validation-view,.exports-view,.admin-view,.access-view{min-height:calc(100vh - var(--topbar-height) - 170px);box-shadow:0 16px 38px #0f172a0f}.planner-side-panel{position:relative;display:grid;gap:14px}.side-panel-close{position:absolute;top:10px;right:10px;z-index:4;width:32px;height:32px;border-color:#cbd5e1;background:#fff;color:#475569}.side-panel-close:hover{border-color:#94a3b8;background:#f8fafc}.side-panel-restore{position:fixed;top:132px;right:18px;z-index:40;min-height:36px;gap:6px;border-color:#cbd5e1;background:#fff;color:#334155;padding:0 11px;box-shadow:0 10px 24px #0f172a24;font-size:13px;font-weight:850}.side-panel-restore:hover{border-color:#94a3b8;background:#f8fafc}.side-card{padding:14px;box-shadow:0 16px 38px #0f172a0f}.warning-list.compact{gap:8px}.warning-list.compact .warning-item{padding:9px 10px}.warning-list.compact .warning-item strong{font-size:12px}.warning-list.compact .warning-item p{font-size:12px;line-height:1.35}.legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;max-height:260px;overflow-y:auto}.legend-grid span{display:inline-flex;align-items:center;gap:7px;color:#334155;font-size:13px;font-weight:750}.shift-legend-chip{min-height:28px;border:1px solid rgb(15 23 42 / 8%);border-radius:6px;background:var(--shift-bg, #f8fafc);color:var(--shift-fg, #334155)!important;padding:0 8px;font-size:12px!important;font-weight:900!important}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:999px;background:var(--shift-fg, currentColor)}.legend-dot.open{background:var(--shift-fg, #38bdf8)}.legend-dot.mid{background:var(--shift-fg, #22c55e)}.legend-dot.close{background:var(--shift-fg, #8b5cf6)}.legend-dot.help{background:var(--shift-fg, #fb923c)}.legend-dot.off{background:var(--shift-fg, #cbd5e1)}.legend-dot.leave{background:var(--shift-fg, #f87171)}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.admin-tabs button{min-height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 11px;color:#475569;cursor:pointer;font-size:13px;font-weight:850}.admin-tabs button.active{border-color:#0f766e;background:#0f766e;color:#fff}.mini-table{display:grid;gap:8px;margin-top:12px}.mini-table>div{display:grid;grid-template-columns:92px minmax(0,1fr) minmax(120px,auto);gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:8px 10px}.mini-table.action-table>div{grid-template-columns:72px minmax(120px,1fr) minmax(160px,auto) auto}.holiday-table.action-table>div{grid-template-columns:110px minmax(220px,1fr) minmax(150px,auto) auto}.station-requirement-form{align-items:end}.station-requirement-table.action-table>div{grid-template-columns:130px minmax(150px,1fr) minmax(210px,auto) auto auto}.labor-table>div{grid-template-columns:90px minmax(140px,1fr) minmax(220px,auto)}.muted-row{opacity:.62}.mini-table span,.mini-table small{color:#64748b;font-size:12px;font-weight:750}.mini-table strong{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.table-action{min-height:30px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:0 10px;color:#334155;cursor:pointer;font-size:12px;font-weight:850}.table-action:disabled{opacity:.45;cursor:not-allowed}.admin-table-wrap{margin-top:12px;max-width:100%;overflow:auto;border:1px solid #dbe5ef;border-radius:8px;background:#fff}.admin-table-wrap.fit-content{width:fit-content}.admin-table-wrap.full{width:100%}.admin-data-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:#172033;font-size:12px}.admin-table-wrap.fit-content .admin-data-table{min-width:0}.admin-data-table caption{caption-side:top;padding:9px 11px;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#475569;text-align:left;font-size:12px;font-weight:850}.admin-data-table th,.admin-data-table td{height:34px;max-width:340px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;padding:6px 9px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.admin-data-table th:last-child,.admin-data-table td:last-child{border-right:0}.admin-data-table tbody tr:last-child td{border-bottom:0}.admin-data-table th{position:sticky;top:0;z-index:1;background:#eef4fb;color:#46546a;text-align:left;font-size:11px;font-weight:900;text-transform:uppercase}.admin-data-table tbody tr:nth-child(2n) td{background:#fbfdff}.admin-data-table tbody tr:hover td{background:#f0fdfa}.admin-data-table.compact th,.admin-data-table.compact td{height:32px;padding-top:5px;padding-bottom:5px}.admin-data-table .wide-text-cell{min-width:180px;max-width:420px}.admin-data-table .numeric-cell{text-align:right}.admin-data-table .action-column{min-width:116px;text-align:right}.table-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;background:#e2e8f0;padding:0 8px;color:#334155;font-size:11px;font-weight:900;text-transform:lowercase}.status-active,.status-pill.status-active{background:#dcfce7;color:#166534}.status-inactive,.status-archived,.status-hidden,.status-disabled,.status-pill.status-inactive,.status-pill.status-archived,.status-pill.status-hidden,.status-pill.status-disabled{background:#f1f5f9;color:#64748b}.severity-critical{background:#fee2e2;color:#991b1b;text-transform:none}.severity-warning{background:#fef3c7;color:#92400e;text-transform:none}.severity-info{background:#dbeafe;color:#1d4ed8;text-transform:none}.empty-table-cell{color:#64748b;font-weight:750;text-align:left}.shift-color-chip{display:inline-flex;min-width:60px;justify-content:center;border:1px solid rgb(15 23 42 / 8%);border-radius:6px;padding:4px 7px;font-style:normal;font-weight:900}.reports-view{display:grid;gap:14px}.report-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-kpi{min-height:88px;border:1px solid #dbe5ef;border-radius:8px;background:#fff;padding:12px}.report-kpi span{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.report-kpi strong{display:block;margin-top:4px;color:#172033;font-size:24px;line-height:1}.report-kpi p{margin:7px 0 0;color:#506078;font-size:12px}.report-kpi.critical{border-color:#fecaca;background:#fff7f7}.report-kpi.critical strong{color:#b91c1c}.report-kpi.warning{border-color:#fde68a;background:#fffbeb}.report-kpi.warning strong{color:#92400e}.report-section{border:1px solid #dbe5ef;border-radius:8px;background:#fff;padding:12px}.compact-report-section{width:fit-content;max-width:100%}.compact-header{gap:12px;margin-bottom:8px}.compact-header h3{font-size:16px}.report-two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.admin-form .checkbox-label{display:inline-flex;min-height:36px;align-items:center;gap:7px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;padding:0 10px;color:#334155;text-transform:none}.admin-form .checkbox-label input{min-width:0;width:16px;height:16px}.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.access-grid article{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:14px}.access-grid span{color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase}.access-grid strong{display:block;margin-top:6px;font-size:18px}.access-grid p{margin:6px 0 0;color:#64748b;font-size:13px}.scope-list.inline{justify-content:flex-start;margin-top:10px}.warning-item strong{font-size:13px}.warning-item p{margin-top:3px;color:#4b5563;font-size:13px}@media (max-width: 900px){:root{--sidebar-width: 0px;--topbar-height: auto}.app-shell{display:block}.sidebar{position:static;width:auto;padding:16px}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-item{justify-content:flex-start}.workspace{margin-left:0;padding:16px;overflow-x:auto}.topbar{position:static;padding:0 0 16px}.main-panel{padding:0}.topbar,.grid-toolbar,.panel-header,.account-panel,.toolbar-controls{align-items:flex-start;flex-direction:column}.scope-list{justify-content:flex-start}.password-form,.status-row,.kpi-row,.planner-workbench,.planner-strip,.week-control{grid-template-columns:1fr}.table-scroll{max-height:none}.row-management,.export-grid,.report-kpi-grid,.report-two-column,.admin-grid,.access-grid{grid-template-columns:1fr}}
