:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#0f172a;background-color:#eef2ff;line-height:1.5;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#eef2ff}#root{min-height:100vh}.shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh;background:#eef2ff}.shell--collapsed{grid-template-columns:72px 1fr}.sidebar{padding:2rem;background:#0f172a;color:#e0e7ff;display:flex;flex-direction:column;gap:1.25rem;position:sticky;top:0;height:100vh;overflow:hidden}.sidebar--collapsed{padding:1.5rem .75rem}.sidebar--collapsed .sidebar__heading,.sidebar--collapsed .sidebar__group-title{display:none}.sidebar--collapsed .sidebar__list{gap:.25rem}.sidebar__icons-only .sidebar__label{display:none}.sidebar__heading{margin:0;font-size:1.25rem;letter-spacing:.06em}.sidebar__nav{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}.sidebar__nav::-webkit-scrollbar{width:5px}.sidebar__nav::-webkit-scrollbar-track{background:transparent}.sidebar__nav::-webkit-scrollbar-thumb{background:#ffffff40;border-radius:3px}.sidebar__group{border-top:1px solid rgba(255,255,255,.1);padding-top:.75rem}.sidebar__group-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;border:none;background:transparent;color:inherit;padding:0;cursor:pointer}.sidebar__group-title{margin:0;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:#fff9;margin-bottom:.5rem}.sidebar__group-caret{color:#ffffff8c;font-size:.8rem;transform:translateY(-3px)}.sidebar__list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.4rem}.sidebar__list--hidden{display:none}.sidebar__list a{color:#e0e7ff;text-decoration:none;padding:.35rem .25rem;display:inline-block;border-radius:4px}.sidebar__list a{display:flex;align-items:center;gap:.5rem}.sidebar__icon{width:32px;height:32px;border-radius:8px;background:#ffffff26;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600}.sidebar--collapsed .sidebar__icon{width:40px;height:40px}.sidebar__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__badge{margin-left:auto;min-width:1.25rem;height:1.25rem;padding:0 .35rem;border-radius:999px;background:#dc2626;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;line-height:1}.sidebar__list a.active,.sidebar__list a:hover{background:#ffffff1a}.sidebar__footer{padding-top:1rem}.sidebar__logout{width:100%;justify-content:center;display:flex;padding:.45rem 0}.sidebar--collapsed .sidebar__footer{padding:1rem .75rem}.sidebar--collapsed .sidebar__logout{padding:.35rem 0}.portal-users{position:relative}.portal-users__form{margin-bottom:1.5rem}.portal-users__form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1rem}.portal-users__form label,.portal-users__dialog label,.portal-users__field{display:flex;flex-direction:column;gap:.35rem}.portal-users__wide{grid-column:1 / -1}.portal-users__form input,.portal-users__form select,.portal-users__dialog input,.portal-users__dialog select,.portal-users__control{width:100%;min-height:40px;padding:.55rem .7rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.portal-users__branch-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem;max-height:10rem;overflow-y:auto;padding:.65rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.portal-users__branch-option{display:flex!important;flex-direction:row!important;align-items:center;gap:.5rem!important;min-height:32px;padding:.35rem .5rem;border-radius:6px;background:#f8fafc}.portal-users__branch-option input{width:16px;min-height:16px;margin:0;padding:0}.portal-users__table{background:#fff}.portal-users__actions{display:flex;flex-wrap:wrap;gap:.5rem}.portal-users__toast{position:fixed;top:1rem;right:1rem;z-index:1100;max-width:28rem;padding:.8rem 1rem;border-radius:8px;background:#166534;color:#fff;box-shadow:0 10px 30px #0f172a33}.portal-users__toast--error{background:#b91c1c}.portal-users__overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:#0f172a8c}.portal-users__dialog{width:min(34rem,100%);max-height:calc(100vh - 2rem);overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.portal-users__checkbox{flex-direction:row!important;align-items:center}.shell__content{display:flex;flex-direction:column;min-height:100vh;background:#f8fafc}.topbar{padding:1rem 2rem;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8f0;gap:1rem}.topbar__brand{display:flex;align-items:center;gap:1.5rem}.topbar__logo-stack{display:flex;flex-direction:column}.topbar__logo{font-size:1.2rem;font-weight:700}.topbar__tagline{font-size:.85rem;color:#475569}.topbar__tenant{display:flex;flex-direction:column;gap:.2rem;font-size:.75rem;color:#475569}.topbar__tenant strong{font-size:.95rem;color:#0f172a}.topbar__actions{display:flex;align-items:center;gap:1rem}.topbar__collapse{border:1px solid #e2e8f0;background:transparent;color:#0f172a;border-radius:6px;padding:.5rem .75rem;cursor:pointer;font-weight:600}.topbar__user{text-align:right;font-size:.8rem;color:#64748b}.topbar__user strong{display:block;font-size:.95rem;color:#0f172a}.btn{padding:.45rem 1rem;border-radius:6px;border:none;cursor:pointer;font-weight:600;background:#0f172a;color:#fff;transition:transform .2s ease}.btn:hover{transform:translateY(-1px)}.btn.ghost{background:transparent;color:#0f172a;border:1px solid #cbd5f5}.btn.ghost.active{background:#0f172a;color:#fff;border-color:#0f172a}.shell__main{padding:6.75rem 2rem 2rem;flex:1}.page{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 24px 55px #0f172a14}.placeholder h1{margin-top:0}.muted{color:#64748b}.sidebar__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.sidebar__collapse{width:2rem;height:2rem;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#ffffff14;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.topbar{position:fixed;top:0;left:260px;right:0;z-index:900;display:flex;align-items:center;flex:0 0 auto;min-height:4.75rem}.shell--collapsed .topbar{left:72px}.topbar__spacer{min-width:0}.topbar__brand{margin-right:auto;min-width:0}.topbar__tenant-heading{margin:0;text-align:left;font-size:clamp(1.45rem,2vw,2rem);font-weight:800;letter-spacing:-.025em;color:#0f172a}.topbar__actions{display:flex;align-items:center;gap:.75rem;margin-right:.25rem}.topbar__tenant-selector{display:flex;align-items:center;gap:.5rem;color:#64748b;font-size:.78rem;font-weight:600;white-space:nowrap}.topbar__tenant-selector select{width:min(22rem,30vw);min-width:12rem;padding:.5rem 2rem .5rem .7rem;border:1px solid #cbd5e1;border-radius:.6rem;background:#fff;color:#0f172a}.topbar__last-login{white-space:nowrap;color:#64748b;font-size:.8rem;font-weight:500}.topbar__user{text-decoration:none;border:1px solid #dbe3ee;background:#fff;color:#0f172a;padding:.55rem .9rem;border-radius:999px;font-size:.95rem;font-weight:600;box-shadow:0 8px 18px #0f172a0d}.topbar__logout{border-radius:999px;padding:.55rem 1rem;background:#0d2336}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .95fr;background:linear-gradient(135deg,#0d2336,#15324b)}.login-shell__promo{padding:clamp(2rem,4vw,4rem);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:1.25rem}.login-shell__logo{width:100px;height:100px;object-fit:contain;border-radius:24px;background:#ffffff14;padding:14px;box-shadow:0 16px 44px #0000002e}.login-shell__eyebrow{margin:0;text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;color:#ffffffb3}.login-shell__promo h1{margin:0;max-width:20ch;font-size:clamp(2.4rem,4vw,4.3rem);line-height:1.02;letter-spacing:-.04em}.login-shell__features{list-style:none;padding:0;margin:0;display:grid;gap:.7rem;font-size:1rem;color:#ffffffeb}.login-shell__form-panel{background:#fff;display:grid;align-items:center;justify-items:center;padding:clamp(1.5rem,4vw,4rem)}.login-shell__form-card{width:min(420px,100%);background:#fff;border:1px solid #dbe3ee;border-radius:24px;padding:clamp(1.5rem,3vw,2.25rem);box-shadow:0 24px 60px #0f172a1f}.login-shell__form-card h2{margin-top:0;margin-bottom:1.25rem;font-size:1.4rem}.login-shell__link{display:inline-block;margin-top:1rem;color:#15324b;text-decoration:none;font-weight:600}.profile-page .profile-card{display:grid;gap:1.25rem}.profile-page__actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.profile-page__button{width:fit-content;justify-self:start;align-self:start}.profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-edit-grid label{display:grid;gap:.4rem}.profile-edit-grid input{width:100%}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-grid div{background:#f8fafc;border:1px solid #dbe3ee;border-radius:16px;padding:1rem 1.1rem}.profile-grid dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#667085;margin-bottom:.35rem}.profile-grid dd{margin:0;font-size:1rem;color:#0f172a;font-weight:600}.modal-card{width:min(560px,100%);border-radius:22px;padding:1.5rem}.modal-card label{display:grid;gap:.4rem;margin-top:.9rem}.modal-card input{width:100%}.modal-card .actions-cell{justify-content:flex-end}@media (max-width: 960px){.login-shell{grid-template-columns:1fr}.topbar{flex-wrap:nowrap;overflow-x:auto}.topbar__spacer{display:none}.topbar__brand,.topbar__actions{justify-self:stretch}.topbar__tenant-heading{text-align:left}.profile-grid,.profile-edit-grid{grid-template-columns:1fr}}.toast{position:fixed;right:1.5rem;bottom:1.5rem;background:#0f172a;color:#fff;padding:.75rem 1rem;border-radius:6px;box-shadow:0 10px 20px #0f172a4d}.card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 18px 45px #0f172a0f;margin-bottom:1rem}.card h2{margin-top:0}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{padding:.75rem;border-bottom:1px solid #e2e8f0;text-align:left}.thSort{background:none;border:none;padding:0;font:inherit;font-weight:700;color:inherit;cursor:pointer}.thSort:hover{text-decoration:underline}.thSort:focus-visible{outline:2px solid #94a3b8;outline-offset:2px}.section-divider{height:1px;background:#e2e8f0;margin:1.5rem 0}.form{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}.form label{display:flex;flex-direction:column;font-weight:600;gap:.35rem}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.search-field{display:flex;flex-wrap:wrap;gap:.5rem}.search-field input{padding:.45rem .75rem;border-radius:6px;border:1px solid #cbd5f5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.form input,.form select{padding:.5rem;border-radius:6px;border:1px solid #cbd5f5;font-size:1rem}.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}.tile{border:1px solid #e2e8f0;border-radius:12px;padding:1rem;background:#fff;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:.35rem}.tile strong{font-size:1rem}.error{color:#dc2626;margin:0}.integration-page .integration-card{display:flex;flex-direction:column;gap:1rem}.integration-page table{width:100%;border-collapse:collapse}.integration-page th,.integration-page td{border:1px solid #e2e8f0;padding:.65rem;text-align:left}.headcount-panel table{width:100%;border-collapse:collapse}.headcount-panel th,.headcount-panel td{border-bottom:1px solid #e2e8f0;padding:.55rem;text-align:left}.policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}.policy-card{display:flex;flex-direction:column;gap:.5rem}.report-table pre{margin:0;font-size:.75rem;background:#f1f5f9;padding:.25rem;border-radius:4px;max-width:240px;overflow-x:auto}.report-builder .table-wrapper{margin-top:1rem}.integration-section{display:grid;gap:1rem}.admin-schedules .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.admin-schedules .helper{margin-top:.5rem}.integration-card .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;align-items:end}.inline-form{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}.compact-panel{margin:1rem 0}.success{color:#0f766e}.tu-page{padding:2rem;background:#f4f4f2;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tu-card{padding:16px;margin-bottom:16px}.tu-page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.75rem;gap:1rem}.tu-page-header h1{font-size:20px;font-weight:600;margin-bottom:3px;color:#111;line-height:1.2}.tu-page-header p{font-size:13px;color:#6b6b6b;margin:0}.tu-page .btn,.tu-page .btn.primary,.tu-page .btn.ghost,.tu-page .btn-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;font-size:13px;line-height:1}.tu-page .btn{background:#111;color:#fff;border:none;padding:9px 16px;font-weight:500}.tu-page .btn:hover{background:#333}.tu-page .btn:disabled{opacity:.45;cursor:not-allowed}.tu-page .btn.ghost{background:#fff;color:#333;border:1px solid #d8d8d4;padding:8px 14px}.tu-page .btn.ghost:hover{background:#f5f5f3;border-color:#bbb}.tu-page .btn.primary{background:#111;color:#fff;border:none;padding:9px 16px}.tu-page .btn-icon{width:32px;height:32px;border:1px solid #e0e0dc;background:#fff;color:#666;padding:0}.tu-page .btn-icon:hover{background:#f0f0ee;color:#111;border-color:#bbb}.table-card{background:#fff;border:1px solid #e8e8e4;border-radius:12px;overflow:hidden}.table-wrap,.table-wrapper{overflow-x:auto}.tu-table,.table-card table{width:100%;border-collapse:collapse;white-space:nowrap}.tu-table thead tr,.table-card thead tr{border-bottom:1px solid #efefeb}.tu-table th,.table-card th{padding:10px 16px;text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#888;background:#fafaf8;-webkit-user-select:none;user-select:none}.tu-table td,.table-card td{padding:11px 16px;font-size:13px;color:#111;border-bottom:1px solid #f0f0ec}.table-card tbody tr:last-child td,.tu-table tbody tr:last-child td{border-bottom:none}.table-card tbody tr:hover td,.tu-table tbody tr:hover td{background:#f8f8f5}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-top:1px solid #efefeb;font-size:13px;color:#888}.checkbox-label{flex-direction:row;align-items:center;gap:.5rem}.page-actions{justify-content:flex-end;margin:0 0 1rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#0f172a73;padding:1rem}.modal-panel{width:min(1100px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:8px;border:1px solid #dbe3ef;box-shadow:0 24px 70px #0f172a47;padding:1rem}.user-create-modal .detail-section{margin-top:1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-top:1rem}.dashboard-filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1.5rem}.filter-group{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}.filter-group label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#475569;font-size:.85rem}.filter-group input,.filter-group select{padding:.45rem .65rem;border-radius:6px;border:1px solid #cbd5f5}.shift-screen textarea,.shift-screen input,.shift-screen select{padding:.55rem .7rem;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.shift-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.shift-master-detail{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.95fr);gap:1rem;align-items:start}.shift-detail-panel,.shift-list-panel{min-width:0}.shift-list-panel{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:1rem;position:sticky;top:1rem}.shift-list-panel table tbody tr{cursor:pointer}.shift-list-panel table tbody tr.is-selected,.shift-list-panel table tbody tr:hover{background:#eff6ff}.shift-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;align-items:end}.shift-form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.shift-form-grid--header{grid-template-columns:minmax(160px,220px) minmax(0,1fr)}.shift-form-grid label,.shift-detail-panel>label{display:flex;flex-direction:column;gap:.35rem;font-weight:600}.shift-inline-actions{display:flex;align-items:end}.shift-tab-strip{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.shift-toolbar-inline{justify-content:space-between;margin-top:.75rem}.shift-timings-input{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:.75rem;align-items:end}.shift-night-pill{align-self:center;padding:.4rem .7rem;border-radius:999px;background:#fee2e2;color:#b91c1c;font-size:.8rem;font-weight:700}.shift-details-panel{margin-top:1rem}.shift-details-panel summary,.shift-screen details>summary{cursor:pointer;font-weight:700}.shift-screen details[open]>summary{margin-bottom:.75rem}.shift-section-caption{margin:0 0 .65rem;font-weight:700}.shift-week-mask{display:flex;flex-direction:column;gap:.5rem}.shift-week-mask__grid{display:flex;flex-wrap:wrap;gap:.75rem}.shift-weekoff-rotation{margin-top:1rem;display:grid;gap:.75rem}.shift-weekoff-rotation h4{margin:0}.shift-assignment-form{margin-bottom:1rem}.shift-break-form{display:grid;gap:1rem}@media (max-width: 1100px){.shift-master-detail{grid-template-columns:1fr}.shift-list-panel{position:static}}@media (max-width: 860px){.shift-form-grid,.shift-form-grid--two,.shift-timings-input{grid-template-columns:1fr}}.filter-actions{display:flex;align-items:center;gap:.75rem}.dashboard-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin-bottom:1.5rem}.kpi-card{border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:.85rem;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;text-align:left;cursor:pointer}.kpi-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.kpi-value{font-size:1.25rem;color:#0f172a}.kpi-helper{font-size:.75rem;color:#64748b}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}.dashboard-card{border:1px solid #e2e8f0;border-radius:12px;padding:1rem;background:#fff;display:flex;flex-direction:column;gap:.75rem}.card-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.card-header h3{margin:0}.dense-table{width:100%;border-collapse:collapse;font-size:.85rem}.dense-table th,.dense-table td{border-bottom:1px solid #e2e8f0;padding:.45rem .5rem;text-align:left}.split-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem}.split-card{border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:.75rem;text-align:left;cursor:pointer}.exception-summary{display:flex;gap:1rem;font-weight:600;color:#0f172a}.big-number{font-size:1.5rem;color:#0f172a}.drawer-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.filter-chip{background:#e2e8f0;color:#0f172a;border-radius:999px;padding:.25rem .6rem;font-size:.75rem}.drawer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem}.stat-tile{border:1px solid #e2e8f0;border-radius:10px;padding:1rem;background:#fff;text-align:center}.summary-row{border-top:1px solid #e2e8f0;padding-top:1rem;margin-top:1rem;display:flex;gap:1rem;flex-wrap:wrap;font-size:.9rem}.helper{font-size:.9rem;color:#475569;margin:.3rem 0 0}.modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0f172a66;z-index:10}.modal__content{background:#fff;border-radius:12px;padding:1.5rem;width:min(560px,90vw)}.modal__actions{display:flex;gap:.5rem;justify-content:flex-end}.pill{padding:.2rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600}.pill--success{background:#dcfce7;color:#15803d}.pill--muted{background:#e2e8f0;color:#475569}.truncate{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actions-cell{display:flex;gap:.35rem;flex-wrap:wrap}.table-wrapper{margin-top:1rem}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin:1rem 0}.kpi-grid-secondary{grid-template-columns:minmax(160px,220px);margin-top:-.25rem}.kpi-card{border:1px solid #dde4ff;border-radius:10px;padding:.75rem 1rem;background:#fff;text-align:left}.kpi-card span{color:#5b6b8b;font-size:.8rem}.kpi-card strong{display:block;font-size:1.4rem;margin-top:.35rem}.kpi-card.clickable{cursor:pointer}.kpi-card.clickable:hover{border-color:#4c6fff;box-shadow:0 6px 16px #4c6fff1f}.scope-filter{display:flex;gap:.75rem;flex-wrap:wrap}.roster-grid{overflow-x:auto}.roster-grid th,.roster-grid td{min-width:52px;text-align:center}.roster-grid td.weekoff{background:#f7f4ff}.roster-grid td.holiday,.roster-grid th.holiday{background:#fff2f2}.panel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem}.panel-header-row{display:flex;align-items:center;justify-content:space-between}.trend-chart{display:grid;gap:.5rem;margin-top:.75rem}.bar-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(22px,1fr));gap:.45rem;align-items:end;min-height:240px;padding:.75rem .25rem 0}.bar-chart__group{min-width:0;display:grid;grid-template-rows:1fr auto;gap:.35rem;align-items:end}.bar-chart__bars{position:relative;height:190px;display:flex;align-items:end;justify-content:center;gap:3px;border-bottom:1px solid #e2e8f0}.bar-chart__bar{width:8px;border-radius:4px 4px 0 0}.bar-chart__bar.active,.legend-dot.active{background:#2563eb}.bar-chart__bar.limit,.legend-dot.limit{background:#0f766e}.bar-chart__bar.inactive,.legend-dot.inactive{background:#f59e0b}.bar-chart__group.is-exceeded .bar-chart__bar.active,tr.is-exceeded td{color:#991b1b}.bar-chart__group.is-exceeded .bar-chart__bar.active{background:#dc2626}.bar-chart__group span{font-size:.68rem;color:#64748b;text-align:center;writing-mode:vertical-rl;transform:rotate(180deg)}.chart-legend{grid-column:1 / -1;display:flex;gap:1rem;justify-content:flex-end;font-size:.8rem;color:#475569}.legend-dot{width:.65rem;height:.65rem;display:inline-block;border-radius:999px;margin-right:.25rem}.trend-row{display:grid;grid-template-columns:50px 1fr;gap:.5rem;align-items:center;font-size:.85rem}.trend-bars{display:flex;gap:4px;align-items:center}.trend-bars .bar{height:6px;border-radius:999px}.trend-bars .bar.active{background:#2e7dff}.trend-bars .bar.inactive{background:#f59e0b}.drawer-content .form{display:grid;gap:.75rem}.drawer-section{margin-top:1rem}.tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.tabs button{border:1px solid #cbd5f5;background:#fff;border-radius:999px;padding:.35rem .9rem;font-weight:600;cursor:pointer}.tabs button.active{background:#0f172a;color:#fff;border-color:#0f172a}.panel{border:1px solid #e2e8f0;border-radius:12px;padding:1rem;background:#fff}.panel pre{margin:0;font-size:.75rem;background:#f1f5f9;padding:.35rem;border-radius:6px;max-width:320px;overflow-x:auto}.link-button{text-decoration:none;color:#0f172a;border-bottom:1px dashed transparent}.link-button:hover{border-bottom-color:#0f172a}button.link-button{background:none;border:none;padding:0;font:inherit;color:inherit;cursor:pointer}.detail-drawer{position:fixed;top:5rem;right:1rem;width:min(420px,90vw);max-height:calc(100vh - 5rem);background:#fff;border-radius:12px;box-shadow:0 20px 45px #0f172a26;padding:1rem;overflow:auto}.detail-drawer header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.detail-drawer .detail-grid{margin-top:1rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem}.detail-drawer .detail-label{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.detail-drawer .detail-value{font-size:.9rem;color:#0f172a}.sync-switch{position:relative;width:44px;height:24px;border-radius:999px;border:none;background:#d3d7df;padding:0;cursor:pointer;transition:background .2s;display:inline-flex;align-items:center;justify-content:center}.sync-switch--on{background:#34d399}.sync-switch__thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 4px 8px #0f172a4d;transition:transform .2s}.sync-switch--on .sync-switch__thumb{transform:translate(20px)}.sync-switch:disabled{opacity:.65;cursor:not-allowed}.detail-sections{margin-top:1rem;display:flex;flex-direction:column;gap:1rem}.detail-section{border-top:1px solid #e2e8f0;padding-top:.75rem}.detail-section summary{cursor:pointer;font-weight:600}.detail-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 .5rem}.tab-button{border:1px solid #cbd5f5;background:#fff;padding:.25rem .65rem;border-radius:999px;font-size:.75rem;font-weight:600;cursor:pointer}.tab-button.active{background:#0f172a;color:#fff;border-color:#0f172a}.events-controls{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end;margin:.75rem 0 1rem}.events-controls label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;font-weight:600;color:#475569}.events-controls input,.events-controls select,.policy-input{padding:.35rem .5rem;border:1px solid #cbd5f5;border-radius:6px}.policy-input{width:100%}.detail-json pre{max-height:240px;overflow:auto}.right-drawer{width:min(50vw,720px)}@media (max-width: 900px){.right-drawer{width:min(90vw,520px)}}.detail-metadata{margin-top:1rem}.detail-metadata h4{margin:0;margin-bottom:.5rem;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:#475569}.roster-planner{display:flex;flex-direction:column;gap:1.5rem}.template-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.template-card{border:1px solid #e2e8f0;border-radius:12px;padding:1rem;background:#f8fafc;display:flex;flex-direction:column;gap:.75rem}.template-card label{display:flex;justify-content:space-between;gap:.5rem;font-weight:600}.roster-grid{display:grid;gap:.75rem}.roster-grid-header{display:grid;grid-template-columns:repeat(7,1fr);font-weight:700;color:#0f172a}.roster-grid-body{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:.75rem}.roster-day{min-height:180px;border:1px solid #e2e8f0;border-radius:12px;padding:.5rem;background:#fff;display:flex;flex-direction:column;gap:.5rem}.roster-day.empty{background:#f1f5f9;border-style:dashed}.day-header{display:flex;justify-content:space-between;align-items:center;font-weight:700}.badge.holiday{background:#1d4ed8;color:#fff;font-size:.7rem;padding:.15rem .4rem;border-radius:999px}.shift-lanes{display:flex;flex-direction:column;gap:.5rem}.shift-lane{border:1px solid #cbd5f5;border-radius:10px;padding:.5rem;background:#f8fafc;display:flex;flex-direction:column;gap:.4rem;cursor:pointer}.shift-lane.unfilled{border-color:#fca5a5;background:#fef2f2}.lane-header{display:flex;justify-content:space-between;font-size:.8rem;font-weight:700}.lane-users{display:flex;flex-wrap:wrap;gap:.25rem}.user-chip{background:#e2e8f0;color:#0f172a;padding:.2rem .4rem;border-radius:999px;font-size:.7rem;cursor:grab}.user-chip.conflict{background:#fdba74}.user-chip.weekoff{background:#cbd5e1}.user-chip.holiday{background:#93c5fd}.user-chip.leave{background:#c084fc;color:#1f1438}.gap-chip{background:#fecaca;color:#7f1d1d;padding:.2rem .4rem;border-radius:999px;font-size:.7rem;font-weight:700}.exceptions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.missing-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.35rem}.drawer-content.roster-drawer{display:flex;flex-direction:column;gap:1rem}.drawer-section{border-top:1px solid #e2e8f0;padding-top:1rem}.drawer-section:first-child{border-top:none;padding-top:0}.demand-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem}.assignment-block{border:1px solid #e2e8f0;border-radius:10px;padding:.5rem;margin-bottom:.75rem}.assignment-header{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:.5rem}.assignment-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.2rem 0}.assignment-row select{padding:.2rem .4rem}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem}.danger{color:#b91c1c;font-weight:700}.warning{color:#c2410c;font-weight:700}@media (max-width: 960px){.roster-grid-body{grid-template-columns:repeat(1,minmax(0,1fr))}.roster-grid-header{display:none}}.car-shell{border:1px solid #d4d7dc;background:#f6f7f9;padding:1rem;border-radius:6px;display:grid;gap:.75rem}.car-period-grid{display:grid;grid-template-columns:180px 120px 120px 1fr;gap:.75rem;align-items:center}.car-label{font-weight:600;color:#2b3138}.car-radio{display:inline-flex;gap:.45rem;align-items:center;color:#2b3138}.car-inline-fields{display:flex;gap:.75rem;flex-wrap:wrap}.car-inline-fields select,.car-inline-fields input,.car-user-grid select,.car-user-grid input{min-width:170px}.car-section-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid #d3d7dc;background:#e6e8eb;color:#2d3239;font-weight:600;padding:.6rem .75rem;border-radius:4px}.car-section-toggle--inner{margin-bottom:.75rem}.car-panel{border:1px solid #d3d7dc;background:#f3f4f6;padding:.75rem;border-radius:4px}.car-user-grid{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));gap:.75rem 1rem}.car-user-grid label{display:grid;gap:.35rem;color:#2b3138}.car-actions{display:flex;justify-content:center;margin-top:.25rem}.car-table{margin-top:1rem}.car-table-meta{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:.9rem;color:#566171;padding:.6rem .2rem}@media (max-width: 960px){.car-period-grid,.car-user-grid{grid-template-columns:1fr}}.muster-shell{display:grid;grid-template-columns:220px 1fr;border:1px solid #d4d7dc;background:#f5f6f8;min-height:480px}.muster-side-tabs{border-right:1px solid #d4d7dc;display:grid;align-content:start}.muster-side-tabs button{border:0;border-bottom:1px solid #d4d7dc;background:#f0f2f4;text-align:left;padding:.85rem .9rem;color:#213042}.muster-side-tabs button.active{background:#fff;color:#0b6bcb}.muster-content{padding:1rem 1.25rem}.muster-form-grid{max-width:700px;display:grid;grid-template-columns:180px 1fr;gap:.6rem .8rem;align-items:center}.muster-inline-row{display:flex;gap:.5rem;align-items:center}.muster-inline-row input,.muster-inline-row select{min-width:140px}.muster-scope-table{margin-top:.9rem;max-width:780px}.muster-search-row{margin-bottom:.5rem}.muster-search-row input{max-width:220px}.muster-footer-controls{margin-top:.9rem;max-width:700px;display:grid;grid-template-columns:180px 1fr;gap:.6rem .8rem;align-items:center}.muster-actions{margin-top:.9rem;max-width:700px;display:flex;justify-content:center}.muster-progress{max-width:700px;display:grid;grid-template-columns:1fr auto;gap:.75rem;align-items:center;margin:.1rem auto 0;color:#20324d;font-weight:600}.muster-progress__track{height:10px;overflow:hidden;border:1px solid #b9c3d0;background:#eef2f6}.muster-progress__bar{height:100%;background:#0b6bcb;transition:width .16s ease}.muster-config-card{border:1px solid #d4d7dc;background:#fff;border-radius:6px;padding:1rem;max-width:520px}.muster-cosec{display:grid;gap:.75rem;border:1px solid #d4d7dc;background:#f8f9fb;padding:.9rem 1rem}.muster-row{display:grid;grid-template-columns:260px minmax(140px,260px) minmax(140px,260px) auto;gap:.6rem;align-items:center}.muster-row label{text-align:right}.muster-row .muster-inline-field{display:grid;gap:6px;text-align:left}.muster-row .muster-inline-field input,.muster-row .muster-inline-field select{width:100%}.muster-row input,.muster-row select{min-height:32px;border:1px solid #c8cfd8;background:#fff;padding:.3rem .45rem}.muster-section{border:1px solid #d4d7dc;background:#fff}.muster-section summary{cursor:pointer;padding:.45rem .6rem;background:#e9eaec;color:#0b6bcb;font-weight:700}.muster-section .muster-row{padding:.55rem .75rem}.muster-report-table{overflow:auto;max-height:560px}.muster-report-table table{min-width:1400px}.muster-report-table th,.muster-report-table td{white-space:nowrap;padding:.45rem .55rem}.muster-register{margin-top:1rem;background:#fff;color:#0f172a;font-family:Calibri,Arial,sans-serif;font-size:.78rem}.muster-register__header{display:grid;gap:.25rem;padding:.5rem .25rem .75rem}.muster-register__organization,.muster-register__title{text-align:center;font-weight:700}.muster-register__title{font-size:1rem}.muster-register__meta{display:flex;justify-content:space-between;gap:1rem}.muster-register__range{margin:0 0 .6rem;color:#334155}.muster-register__employee{border-top:1px solid #b8c2cf;padding:.55rem 0 .75rem}.muster-register__scroll{margin-top:0;overflow-x:auto}.muster-register-summary,.muster-register-days{width:max-content;min-width:100%;border-collapse:collapse;font-size:.72rem}.muster-register-summary th,.muster-register-summary td,.muster-register-days th,.muster-register-days td{border:1px solid #d4d7dc;padding:.22rem .35rem;white-space:nowrap;text-align:center;line-height:1.2}.muster-register-summary th,.muster-register-days th{background:#f1f3f5;font-weight:700}.muster-register-summary td:nth-child(3),.muster-register-summary td:nth-child(4),.muster-register-summary td:nth-child(5),.muster-register-summary td:nth-child(6){text-align:left}.muster-register-days{margin-top:.35rem}.muster-register-days th:first-child{position:sticky;left:0;z-index:1;min-width:76px;text-align:left}.muster-register-days td{min-width:48px}.muster-register__legend{margin:.75rem 0 0;font-size:.76rem;color:#334155}.muster-picker{width:min(680px,94vw);padding:.9rem}.muster-picker__header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.muster-picker__header h3{margin:0;font-size:1rem}.muster-picker__count{margin:.75rem 0 .5rem;padding:.65rem;background:#e2f3d8;border:1px solid #cfe7c1;color:#7a4f00;text-align:center}.muster-picker__toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:center}.muster-picker__toolbar input{width:240px;min-height:32px;border:1px solid #c8cfd8;padding:.35rem .5rem}.muster-picker__table{max-height:340px;overflow:auto}.muster-picker__table th,.muster-picker__table td{padding:.4rem .55rem}.muster-picker__pager{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:.8rem 0}.muster-picker__pager div{display:flex;gap:.4rem;align-items:center}.advance-report-2-table{margin-top:20px;max-height:68vh}.advance-report-2-table table{min-width:1800px}.advance-report-2-table th,.advance-report-2-table td{white-space:nowrap;vertical-align:top}.advance-report-2-table small{display:block;color:var(--muted);min-height:16px}.muster-v2-card{display:grid;gap:1rem;border:1px solid #d4d7dc;background:#f8fafc;padding:1rem}.muster-v2-legend{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.9rem}.muster-v2-legend-item{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;color:#475569}.muster-v2-legend-swatch{min-width:52px;padding:.22rem .45rem;border-radius:6px;border-bottom:2px solid transparent;font-weight:700;text-align:center}.muster-v2-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,420px));gap:.85rem;justify-content:start}.muster-v2-filters label{display:grid;gap:.35rem;color:#334155;font-weight:600}.muster-v2-filters select,.muster-v2-filters input{min-height:38px;border:1px solid #cbd5e1;background:#fff;padding:.45rem .6rem;width:100%;max-width:420px}.muster-v2-filter-field{width:100%;max-width:420px}.muster-v2-checkbox{grid-template-columns:1fr auto;align-items:center}.muster-v2-checkbox input{min-height:auto;width:18px;height:18px}.muster-v2-actions{display:flex;gap:.75rem;flex-wrap:wrap}.muster-v2-empty{margin-top:1rem;padding:2rem 1rem;text-align:center;border:1px dashed #cbd5e1;background:#fff;color:#64748b}.muster-v2-report{margin-top:1rem;display:grid;gap:.75rem}.muster-v2-report__meta{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;color:#334155}.muster-v2-table-wrap{overflow:auto;border:1px solid #d4d7dc;background:#fff;max-height:72vh}.muster-v2-table{border-collapse:separate;border-spacing:0;min-width:max-content;width:max-content}.muster-v2-table th,.muster-v2-table td{border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:0;text-align:center;background:#fff}.muster-v2-table thead th,.muster-v2-table tfoot th{position:sticky;top:0;z-index:6;background:#eff6ff;color:#0f172a;font-weight:700;padding:.55rem .35rem}.muster-v2-table tfoot th{top:auto;bottom:0;z-index:5;background:#f8fafc}.muster-v2-day-col{min-width:96px}.muster-v2-day-col span,.muster-v2-day-col small{display:block}.muster-v2-sub-col{min-width:48px;width:48px}.muster-v2-user-col{width:220px;min-width:220px;max-width:220px;text-align:left;padding:.55rem .75rem!important;background:#fff}.muster-v2-sticky-left{position:sticky;left:0;z-index:7;box-shadow:1px 0 #e2e8f0}.muster-v2-sticky-right-2,.muster-v2-sticky-right-1{position:sticky;z-index:7;background:#fff;min-width:96px;width:96px;padding:.55rem .35rem!important}.muster-v2-sticky-right-2{right:96px;box-shadow:-1px 0 #e2e8f0}.muster-v2-sticky-right-1{right:0;box-shadow:-1px 0 #e2e8f0}.muster-v2-table thead .muster-v2-sticky-left,.muster-v2-table thead .muster-v2-sticky-right-2,.muster-v2-table thead .muster-v2-sticky-right-1,.muster-v2-table tfoot .muster-v2-sticky-left,.muster-v2-table tfoot .muster-v2-sticky-right-2,.muster-v2-table tfoot .muster-v2-sticky-right-1{background:inherit}.muster-v2-group-label{margin-bottom:.3rem;color:#0b6bcb;font-size:.72rem;font-weight:700;text-transform:uppercase}.muster-v2-group-start{border-top:2px solid #cbd5e1!important}.muster-v2-user-name{font-weight:700;color:#0f172a}.muster-v2-user-sub{margin-top:.15rem;color:#64748b;font-size:.78rem}.muster-v2-day-cell{min-width:48px;width:48px;height:48px;padding:.15rem!important}.muster-v2-status{min-height:26px;display:grid;place-items:center;font-size:.78rem;font-weight:700;border-bottom:2px solid transparent}.muster-v2-ot{min-height:26px;display:grid;place-items:center;font-size:.7rem;color:#64748b;line-height:1.1}.muster-v2-summary-line{line-height:1.35;white-space:nowrap}@media (max-width: 960px){.muster-shell{grid-template-columns:1fr}.muster-side-tabs{border-right:0;border-bottom:1px solid #d4d7dc}.muster-form-grid,.muster-footer-controls{grid-template-columns:1fr}.muster-inline-row{flex-wrap:wrap}.muster-row{grid-template-columns:1fr}.muster-row label{text-align:left}}.dav-config{border:1px solid #d4d7dc;background:#f5f6f8;padding:.9rem 1rem;border-radius:6px}.dav-grid{max-width:980px;display:grid;grid-template-columns:170px 1fr;gap:.55rem .8rem;align-items:center}.dav-grid--filters input,.dav-grid--filters select{width:100%;min-height:40px;padding:.55rem .7rem;border:1px solid #cfd6dd;border-radius:6px;background:#fff}.dav-inline{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.dav-inline select,.dav-inline input{min-width:180px}.dav-period-block{display:grid;gap:.55rem}.dav-radio{display:inline-flex;gap:.35rem;margin-right:1rem;align-items:center}.dav-meta{margin-top:.7rem;margin-bottom:.4rem;display:flex;gap:1rem;flex-wrap:wrap;color:#475569;font-size:.9rem}.dav-table th,.dav-table td{white-space:nowrap}.dav-selected-user{display:flex;flex-direction:column;gap:.15rem;color:#334155}.dav-selected-user strong{color:#0f172a}.dav-grid--legacy{grid-template-columns:180px minmax(280px,420px);align-items:start;justify-content:start}.dav-user-picker{display:flex;gap:.6rem;align-items:center;width:100%;max-width:420px}.dav-user-picker select{flex:1;min-width:0;max-width:320px}.dav-period-block{display:grid;gap:.7rem}.dav-period-controls{display:flex;gap:.55rem;flex-wrap:wrap;width:100%;max-width:420px}.dav-period-controls input,.dav-period-controls select{min-width:0;flex:1 1 180px;max-width:200px}.daily-attendance-view-page .dav-input{width:100%;max-width:420px}.daily-attendance-view-page .dav-input--wide{max-width:420px}.daily-attendance-view-page .dav-input--medium{max-width:320px}.daily-attendance-view-page .dav-input--narrow{max-width:220px}.dav-week-total-row{background:#eceff3;color:#475569;font-weight:700}.dav-week-total-row td{color:inherit}.dav-status{font-weight:700;color:#0f172a}.dav-status--absent{color:#c62828}.dav-status--off{color:#b26b00}.dav-details-btn{min-width:34px;padding:.15rem .45rem}.dav-modal{width:min(1100px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:flex;flex-direction:column;gap:1rem}.dav-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.dav-modal__header h3{margin:0}.dav-modal__header p{margin:.25rem 0 0;color:#64748b}.dav-modal__summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;padding:.85rem;border:1px solid #d6dee8;border-radius:10px;background:#f8fafc}.dav-modal__summary div{display:grid;gap:.2rem}.dav-modal__summary span{font-size:.78rem;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.dav-modal__table{max-height:380px}.dav-table--modal th,.dav-table--modal td{white-space:normal}@media (max-width: 960px){.dav-grid{grid-template-columns:1fr}.dav-user-picker{flex-direction:column;align-items:stretch}}.row-inactive{background-color:#f7f5f5}.row:hover{background-color:#f5dbdb}.status-active{color:#1a7f37;font-weight:500}.status-inactive{color:#c62828;font-weight:500}.kpi-card-wide{grid-column:1 / -1}.section-error{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .9rem;border:1px solid #f2b8b5;background:#fff5f5;color:#a21b1b;border-radius:8px;margin:.75rem 0}.warning-banner{padding:.75rem .9rem;border:1px solid #f2c66d;background:#fff8e6;color:#7a4f00;border-radius:8px;margin:.75rem 0}.status-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 .55rem;border-radius:999px;font-size:.78rem;font-weight:700}.status-badge.success{background:#e9f8ef;color:#1f7a3f}.status-badge.warning{background:#fff4d6;color:#946200}.status-badge.danger{background:#fde8e8;color:#b42318}.trend-chart-stack{display:grid;gap:1rem}.combo-chart{min-height:220px}.bar-chart__limit-line{position:absolute;left:10%;right:10%;height:2px;background:#d92d20;border-radius:2px}.legend-line{display:inline-block;width:18px;height:2px;margin-right:.35rem;vertical-align:middle;background:#d92d20}.tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.tab{border:1px solid #d7dce3;background:#fff;color:inherit;border-radius:8px;padding:.55rem .8rem;cursor:pointer}.tab.active{background:#102a43;color:#fff;border-color:#102a43}.limit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.limit-toolbar .tabs{margin-bottom:0}.limit-input{max-width:110px}.checkbox-inline{display:inline-flex;align-items:center;gap:.5rem}.device-last-activity-alert{color:#b42318;font-weight:700}@media (max-width: 760px){.section-error,.warning-banner{align-items:flex-start;flex-direction:column}.kpi-card-wide{grid-column:auto}}.limit-inline{float:right;margin-left:8px;color:#64748b;font-size:12px;font-weight:500}.limit-inline.reached{color:#b91c1c}.report-filter-bar{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px;margin:12px 0}.report-filter-bar label{display:grid;gap:6px}.report-filter-bar--reports{grid-template-columns:repeat(3,minmax(180px,1fr));padding:16px;margin:16px 0;border:1px solid #dbe3ef;border-radius:12px;background:#fff}.report-filter-bar--reports label{color:#334155;font-size:13px;font-weight:600}.report-filter-bar--reports select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a}.report-filter-bar--reports select:disabled{background:#f1f5f9;color:#475569}@media (max-width: 900px){.report-filter-bar--reports{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media (max-width: 560px){.report-filter-bar--reports{grid-template-columns:1fr}}.hierarchy-crud-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}
