/* Screen-only presentation. Official report/PDF templates do not load this file. */
@media screen {
/* Approved reference: compact masthead, charcoal surfaces, olive controls. */
html[lang=en] .rank-name-bn,html[lang=bn] .rank-name-en{display:none}
:root[data-theme=dark]{--bg:#111318;--panel:#1b1e25;--panel2:#22262e;--header:#15171d;--field:#191c23;--readonly:#22262e;--text:#f2f4f8;--muted:#c2c8d2;--border:#444b58;--soft-border:#343a46;--field-border:#505968;--hover:#2b303b;--cyan:#79e4d3;--green:#66d6a0;--yellow:#f2c86b;--red:#ff94a2;--table-heading-text:#e9edf4;--ui-accent:#a8af63;--ui-primary:#505126;--ui-primary-hover:#606134;--ui-primary-border:#a3a666;--ui-brown:#985c43;--ui-brown-border:#d8a78e;--ui-focus:#98b9f4;--ui-shadow:0 20px 70px #0008}
:root[data-theme=light]{--bg:#f6f7fa;--panel:#fff;--panel2:#f0f2f6;--header:#fff;--field:#fff;--readonly:#f0f2f6;--text:#000;--muted:#000;--border:#aeb7c6;--soft-border:#d7dce5;--field-border:#a8b2c2;--hover:#e9edf3;--cyan:#006e63;--green:#08754a;--yellow:#805700;--red:#a42c43;--table-heading-text:#111827;--ui-accent:#545a27;--ui-primary:#505126;--ui-primary-hover:#606134;--ui-primary-border:#505126;--ui-brown:#985c43;--ui-brown-border:#985c43;--ui-focus:#325dab;--ui-shadow:0 18px 65px #15223b26}
:root[data-theme] body.app-redesign{font-family:'Segoe UI',SolaimanLipi,Arial,sans-serif;line-height:1.5;background:var(--bg)!important;color:var(--text);--sidebar-width:228px;--header-height:68px}
:root[data-theme] body.app-redesign [hidden]{display:none!important}
:root[data-theme] body.app-redesign a{color:var(--cyan)}
:root[data-theme] body.app-redesign :focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.skip-link{position:fixed;top:-100px;left:16px;z-index:1000;padding:12px 18px;border-radius:8px;background:var(--panel);color:var(--text)}
.skip-link:focus{top:12px}
.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:40;background:var(--header);border-right:1px solid var(--soft-border);display:flex;flex-direction:column;padding:24px 14px 18px}
.sidebar-brand{display:flex;align-items:center;gap:12px;color:var(--text)!important;padding:0 10px 24px;min-width:0}
.sidebar-brand img{width:38px;height:38px;object-fit:contain}
.sidebar-brand strong{font-size:25px;letter-spacing:.04em;line-height:1.1;display:block}
.sidebar-brand small{display:block;font-size:12px;margin-top:4px;color:var(--muted)}
.sidebar-section-label{font-size:11px;letter-spacing:.12em;font-weight:700;color:var(--muted);margin:4px 12px 12px}
:root[data-theme] body.app-redesign .linkbar{display:flex;flex-direction:column;gap:6px;border:0;padding:0;background:none;overflow-y:auto;min-height:0;flex:1}
:root[data-theme] body.app-redesign .linkbar a{display:flex;align-items:center;gap:10px;min-height:46px;flex:none;padding:11px 12px;border:1px solid transparent;border-radius:9px;color:var(--muted);font-size:14px;line-height:1.4;font-weight:500;white-space:normal}
:root[data-theme] body.app-redesign .linkbar a svg{width:19px;height:19px;flex:0 0 19px}
:root[data-theme] body.app-redesign .linkbar a.active,:root[data-theme] body.app-redesign .linkbar a[aria-current=page]{color:#fff;background:var(--ui-primary);border-color:var(--ui-primary-border);box-shadow:none;font-weight:600}
:root[data-theme] body.app-redesign .linkbar a:hover:not(.active){background:var(--hover);color:var(--text)}
:root[data-theme] body.app-redesign .linkbar a[href='/units']{margin-top:16px}
.sidebar-footer{border-top:1px solid var(--soft-border);padding:15px 10px 0;margin-top:15px}
.sidebar-role{font-size:13px;font-weight:600;text-transform:capitalize}
:root[data-theme] body.app-redesign .credit{display:block!important;font-size:10px!important;line-height:1.6!important;color:var(--muted);margin:10px 0 0;white-space:normal}
:root[data-theme] body.app-redesign .app-header{position:sticky;top:0;z-index:30;margin-left:var(--sidebar-width);height:var(--header-height);padding:0 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft-border);background:var(--header);box-shadow:none;gap:15px}
.header-context{display:flex;align-items:center;gap:12px;min-width:0}
.header-context strong{display:block;font-size:14px;font-weight:600}
.header-context small{display:block;font-size:12px;color:var(--muted)}
:root[data-theme] body.app-redesign #sidebarToggle{width:38px;height:38px;min-height:38px;padding:8px;background:transparent!important;color:var(--text)!important;border:1px solid var(--soft-border)!important}
#sidebarToggle svg{width:20px;height:20px}
:root[data-theme] body.app-redesign .account{gap:14px;flex:none;align-items:center;max-width:none}
:root[data-theme] body.app-redesign .language-switch{display:inline-flex;border:1px solid var(--border);border-radius:8px;padding:3px;gap:2px;background:var(--field);flex:none}
:root[data-theme] body.app-redesign .language-switch button{padding:5px 9px;min-height:30px;font-size:12px;line-height:18px;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important;border-radius:5px;min-width:0}
:root[data-theme] body.app-redesign .language-switch button[aria-pressed=true]{background:var(--ui-primary)!important;color:#fff!important}
:root[data-theme] body.app-redesign .theme-toggle{width:38px;height:38px;min-width:38px;min-height:38px;padding:8px;border:1px solid var(--soft-border)!important;background:transparent!important;color:var(--text)!important;flex:none}
:root[data-theme] body.app-redesign .theme-toggle svg{width:20px;height:20px}
:root[data-theme] body.app-redesign [data-theme-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-menu{position:relative;flex:none}
.account-menu summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:44px}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary strong{display:block;font-size:13px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-menu summary small{font-size:11px;display:block;color:var(--muted);text-transform:capitalize}
.account-avatar{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);background:var(--panel2);border-radius:50%;font-size:14px;font-weight:700;flex:none}
.account-menu-actions{position:absolute;right:0;top:calc(100% + 12px);width:215px;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:8px;box-shadow:var(--ui-shadow);display:grid;gap:6px;z-index:50}
:root[data-theme] body.app-redesign.authenticated>.main-content{margin-left:var(--sidebar-width);padding:30px 32px 40px;max-width:none;min-width:0}
:root[data-theme] body.app-redesign .main-focus-target{scroll-margin-top:85px}
:root[data-theme] body.app-redesign .assignment-context{margin:0 0 0 var(--sidebar-width);padding:10px 32px;border:0;border-bottom:1px solid var(--soft-border);border-radius:0;background:var(--panel);font-size:13px}
.assignment-context p{line-height:1.6}
:root[data-theme] body.app-redesign .assignment-context ul{max-height:180px}
:root[data-theme] body.app-redesign .page-heading{margin-bottom:25px;align-items:flex-start;gap:15px}
:root[data-theme] body.app-redesign .page-heading h1,:root[data-theme] body.app-redesign .online-title h1{font-size:28px;line-height:1.35;letter-spacing:-.025em;margin:0 0 8px;color:var(--text)}
:root[data-theme] body.app-redesign .page-heading .eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 8px;color:var(--muted)}
:root[data-theme] body.app-redesign .page-heading p,:root[data-theme] body.app-redesign .online-title p{font-size:14px;line-height:1.6;margin:3px 0 0}
:root[data-theme] body.app-redesign .live-tag{display:none}
:root[data-theme] body.app-redesign h2{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:-.01em}
:root[data-theme] body.app-redesign h3{font-size:16px;line-height:1.5;font-weight:600}
:root[data-theme] body.app-redesign .panel{background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;margin-bottom:24px;min-width:0}
:root[data-theme] body.app-redesign .panel>.section-heading,:root[data-theme] body.app-redesign .panel>h2{margin-bottom:16px}
:root[data-theme] body.app-redesign .toolbar.panel{padding:16px 0;border-top:1px solid var(--soft-border);border-bottom:1px solid var(--soft-border);margin-bottom:20px;gap:14px}
:root[data-theme] body.app-redesign .toolbar{gap:12px}
:root[data-theme] body.app-redesign .toolbar label{font-size:13px;font-weight:500;min-width:140px}
:root[data-theme] body.app-redesign label{color:var(--text);font-weight:500}
:root[data-theme] body.app-redesign :is(input,select,textarea){border-radius:7px;border:1px solid var(--field-border);background:var(--field);color:var(--text);font-size:14px;line-height:21px;min-height:42px;padding:9px 11px;box-shadow:none}
:root[data-theme] body.app-redesign input[type=checkbox]{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--ui-primary)}
:root[data-theme] body.app-redesign textarea{min-height:88px;line-height:1.65}
:root[data-theme] body.app-redesign :is(input,textarea)::placeholder{color:var(--muted);opacity:.85}
:root[data-theme] body.app-redesign input:read-only{background:var(--readonly)}
:root[data-theme] body.app-redesign :is(button,a.button){min-height:42px;padding:9px 14px;border-radius:7px;font-size:14px;line-height:21px;font-weight:600;gap:7px;box-shadow:none;transition:background-color .15s,border-color .15s;color:var(--text);background:var(--panel2);border:1px solid var(--border);filter:none!important;transform:none!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=primary]{background:var(--ui-primary)!important;border-color:var(--ui-primary-border)!important;color:#fff!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=brown]{background:var(--ui-brown)!important;border-color:var(--ui-brown-border)!important;color:#fff!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=positive]{background:#126b50!important;border-color:#5bbca0!important;color:#fff!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=warning]{background:#77561b!important;border-color:#caa356!important;color:#fff!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=danger]{background:#943446!important;border-color:#d88b98!important;color:#fff!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=neutral]{background:var(--panel2)!important;border-color:var(--border)!important;color:var(--text)!important}
:root[data-theme] body.app-redesign :is(button,a.button):hover:not(:disabled){box-shadow:none;filter:none!important;border-color:var(--ui-focus)}
:root[data-theme] body.app-redesign :is(button,a.button):disabled{opacity:.46;cursor:not-allowed;box-shadow:none}
:root[data-theme] body.app-redesign :is(.action-only,.account-action-icon,button.icon){width:40px;min-width:40px;min-height:40px;height:40px;padding:8px;flex:none}
:root[data-theme] body.app-redesign #usersBody .account-action-icon{width:40px;min-width:40px;min-height:40px;height:40px;padding:8px;flex-basis:40px}
:root[data-theme] body.app-redesign .action-icon{width:18px;height:18px;flex:0 0 18px}
:root[data-theme] body.app-redesign .actions{gap:8px}
:root[data-theme] body.app-redesign .metrics{gap:14px;margin-bottom:24px}
:root[data-theme] body.app-redesign .metrics .metric{background:var(--panel);border:1px solid var(--soft-border);border-radius:10px;padding:17px 19px;box-shadow:none;min-height:125px;overflow:hidden}
:root[data-theme] body.app-redesign .metrics .metric>.metric-label{font-size:13px;line-height:1.5;font-weight:500;color:var(--text)}
:root[data-theme] body.app-redesign .metrics .metric strong{font-size:32px;line-height:1.35;margin:8px 0 5px;font-weight:650;letter-spacing:-.035em;text-align:left;color:var(--cyan)}
:root[data-theme] body.app-redesign .metrics .metric.green strong{color:var(--green)}
:root[data-theme] body.app-redesign .metrics .metric.yellow strong{color:var(--yellow)}
:root[data-theme] body.app-redesign .metrics .metric.red strong{color:var(--red)}
:root[data-theme] body.app-redesign .metrics .metric small{font-size:12px;line-height:1.5;color:var(--muted)}
:root[data-theme] body.app-redesign :is(.report-metrics,#submissionMetrics,#consolidatedMetrics,#consolidatedActivityMetrics){border-top:1px solid var(--soft-border);border-bottom:1px solid var(--soft-border);gap:0;background:var(--panel);border-radius:0}
:root[data-theme] body.app-redesign :is(.report-metrics,#submissionMetrics,#consolidatedMetrics,#consolidatedActivityMetrics) .metric{border:0;border-right:1px solid var(--soft-border);border-radius:0;background:transparent;min-height:0;padding:14px 18px}
:root[data-theme] body.app-redesign :is(.report-metrics,#submissionMetrics,#consolidatedMetrics,#consolidatedActivityMetrics) .metric strong{font-size:26px;margin:7px 0 0}
:root[data-theme] body.app-redesign :is(.report-metrics,#submissionMetrics,#consolidatedMetrics,#consolidatedActivityMetrics) .metric small{display:none}
:root[data-theme] body.app-redesign #consolidatedActivityMetrics{grid-template-columns:repeat(5,minmax(0,1fr))}
:root[data-theme] body.app-redesign #consolidatedActivityMetrics .metric{border-bottom:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign .dashboard-overview{gap:26px;margin-top:26px}
:root[data-theme] body.app-redesign .rank-panel,:root[data-theme] body.app-redesign .dashboard-side-panels>.panel{padding:18px;border:1px solid var(--soft-border);border-radius:10px;background:var(--panel)}
:root[data-theme] body.app-redesign .rank-panel .section-heading .pill{font-size:11px}
:root[data-theme] body.app-redesign .rank-panel .rank-table{min-height:360px}
:root[data-theme] body.app-redesign .legend{font-size:12px;margin:8px 0 16px;gap:12px}
:root[data-theme] body.app-redesign .unit-grid{display:flex!important;flex-direction:column;gap:0;padding:0!important}
:root[data-theme] body.app-redesign .unit-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 0;border:0;border-bottom:1px solid var(--soft-border);border-radius:0;background:none;min-height:49px;overflow:hidden}
:root[data-theme] body.app-redesign .unit-card span{grid-column:1;grid-row:1;font-size:12px;line-height:1.5;color:var(--text);z-index:1}
:root[data-theme] body.app-redesign .unit-card strong{grid-column:2;grid-row:1;font-size:18px;line-height:1.5;color:var(--cyan);z-index:1;letter-spacing:-.025em}
:root[data-theme] body.app-redesign .unit-card:hover{background:var(--hover)}
:root[data-theme] body.app-redesign .statistics-total{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:13px}
:root[data-theme] body.app-redesign .progress{height:7px;border-radius:4px;background:var(--soft-border)}
:root[data-theme] body.app-redesign .progress>div{background:var(--green);border-radius:4px}
:root[data-theme] body.app-redesign .progress-number{font-size:28px;line-height:1.4;color:var(--text)}
:root[data-theme] body.app-redesign .service-rankings{margin-top:30px;gap:26px}
:root[data-theme] body.app-redesign .service-ranking-card{border-top:1px solid var(--soft-border);padding-top:20px}
:root[data-theme] body.app-redesign .person-row{border:0;border-bottom:1px solid var(--soft-border);border-radius:0;background:none;padding:13px 0}
:root[data-theme] body.app-redesign .person-row strong{font-size:14px}
:root[data-theme] body.app-redesign .longest-service-list{max-height:360px}
:root[data-theme] body.app-redesign .table-panel{background:var(--panel);border:1px solid var(--soft-border);border-radius:9px;overflow:hidden}
:root[data-theme] body.app-redesign .table-wrap{border:0;scrollbar-width:thin;max-width:100%}
:root[data-theme] body.app-redesign table{font-size:14px;line-height:1.5;background:var(--panel);width:100%}
:root[data-theme] body.app-redesign :is(th,td){padding:13px 12px;border-bottom:1px solid var(--soft-border);vertical-align:middle;font-size:14.5px!important;line-height:1.6!important}
:root[data-theme] body.app-redesign th{font-size:13px!important;font-weight:650!important;background:var(--panel2);color:var(--text)!important;white-space:normal}
:root[data-theme] body.app-redesign .table-wrap thead{background:var(--panel2)}
:root[data-theme] body.app-redesign tbody tr:hover{background:var(--hover)}
:root[data-theme] body.app-redesign td small{font-size:12px;line-height:1.6;color:var(--muted);margin-top:3px}
:root[data-theme] body.app-redesign td strong{font-weight:600}
:root[data-theme] body.app-redesign .numeric-column{font-variant-numeric:tabular-nums}
:root[data-theme] body.app-redesign .table-wrap tfoot :is(td,th){background:var(--panel2);border-top:2px solid var(--border);color:var(--cyan)!important;font-weight:700}
:root[data-theme] body.app-redesign :is(.online-state,.pill,.return-state){font-size:12px;line-height:1.5;border-radius:6px;padding:3px 8px;white-space:nowrap}
:root[data-theme] body.app-redesign .online-state[data-state=accepted]{background:color-mix(in srgb,var(--green) 12%,transparent);color:var(--green);border-color:color-mix(in srgb,var(--green) 40%,transparent)}
:root[data-theme] body.app-redesign .online-state[data-state=missing]{background:color-mix(in srgb,var(--red) 10%,transparent);color:var(--red);border-color:color-mix(in srgb,var(--red) 40%,transparent)}
:root[data-theme] body.app-redesign .online-state[data-state=awaiting_review]{background:color-mix(in srgb,var(--ui-focus) 12%,transparent);color:var(--ui-focus)}
:root[data-theme] body.app-redesign .pager{padding:15px 18px;gap:12px;border-top:1px solid var(--soft-border);font-size:12px;flex-wrap:wrap}
:root[data-theme] body.app-redesign .pager-controls{gap:8px;flex-wrap:wrap}
:root[data-theme] body.app-redesign .pager :is(button,a.button){font-size:12px;min-height:35px;padding:6px 10px}
:root[data-theme] body.app-redesign .page-numbers button{min-width:35px}
:root[data-theme] body.app-redesign .page-numbers [aria-current=page]{background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary-border)!important;box-shadow:none}
:root[data-theme] body.app-redesign .page-jump input{width:65px;min-height:35px;padding:5px 8px}
:root[data-theme] body.app-redesign #personnelActions{padding:10px 0;border:0;gap:8px;min-height:42px}
:root[data-theme] body.app-redesign #personnelActions[data-has-selection=false]>:not(#selectMatchingOfficers){display:none}
:root[data-theme] body.app-redesign .online-title{margin:0 0 22px}
:root[data-theme] body.app-redesign .online-board{max-height:65dvh}
:root[data-theme] body.app-redesign .online-report-toolbar .online-bulk-actions>button{font-size:13px;line-height:1.6;min-height:44px}
:root[data-theme] body.app-redesign .report-overview-actions{flex-wrap:nowrap}
:root[data-theme] body.app-redesign .report-section-tabs{gap:4px;border-bottom:1px solid var(--soft-border);padding-bottom:10px;margin-bottom:18px}
:root[data-theme] body.app-redesign .report-section-tabs button{font-size:14px;background:transparent!important;border-color:transparent!important;color:var(--muted)!important}
:root[data-theme] body.app-redesign .report-section-tabs button[aria-selected=true]{background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary-border)!important;box-shadow:none}
:root[data-theme] body.app-redesign dialog{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:12px;box-shadow:var(--ui-shadow);padding:22px;max-width:calc(100vw - 32px)}
:root[data-theme] body.app-redesign dialog::backdrop{background:#02050bb3;backdrop-filter:blur(3px)}
:root[data-theme] body.app-redesign .dialog-heading{align-items:center;gap:15px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign .dialog-heading h2{margin:0;font-size:21px}
:root[data-theme] body.app-redesign .dialog-actions{border-top:1px solid var(--soft-border);padding-top:15px;margin-top:18px;gap:9px}
:root[data-theme] body.app-redesign :is(.online-dialog-header,.master-dialog-heading,.return-review-header){background:var(--panel);padding:20px 24px;border-bottom:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign :is(.online-dialog-footer,.master-dialog-footer,.return-review-footer){background:var(--panel);padding:15px 24px;border-top:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign :is(.online-form-dialog,.master-dialog,.report-preview-dialog,.subunit-overview-dialog,#returnReviewDialog){padding:0;border-radius:12px;overflow:hidden}
:root[data-theme] body.app-redesign .online-form-dialog{width:min(1180px,calc(100vw - 40px));height:min(820px,92dvh);max-height:92dvh}
:root[data-theme] body.app-redesign .online-dialog-body{padding:22px 24px;min-height:0;overflow:auto}
:root[data-theme] body.app-redesign .online-dialog-body .panel{margin-bottom:18px;padding:0}
:root[data-theme] body.app-redesign .online-section-question{justify-content:flex-start;gap:15px}
:root[data-theme] body.app-redesign .online-section-question select{margin:0}
:root[data-theme] body.app-redesign .online-exception-entry{gap:12px}
:root[data-theme] body.app-redesign .online-counts{gap:24px;padding:12px 0;border-top:1px solid var(--soft-border);border-bottom:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign .online-counts strong{font-size:23px}
:root[data-theme] body.app-redesign .report-detail-field{border:0;border-top:1px solid var(--soft-border);border-radius:0;padding:17px 0;background:none}
:root[data-theme] body.app-redesign .report-detail-grid{gap:25px}
:root[data-theme] body.app-redesign .report-detail-field h4{font-size:15px;color:var(--cyan)}
:root[data-theme] body.app-redesign .report-detail-field p{font-size:15px;line-height:1.8}
:root[data-theme] body.app-redesign .master-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--soft-border);border-radius:9px;overflow:hidden;margin:20px 0}
:root[data-theme] body.app-redesign .master-card{padding:18px!important;border:0;border-right:1px solid var(--soft-border);margin:0;background:var(--panel)}
:root[data-theme] body.app-redesign .master-card h2{font-size:15px;color:var(--text);margin:0 0 7px}
:root[data-theme] body.app-redesign .master-card p{font-size:12px;color:var(--muted);margin:0 0 15px;line-height:1.6}
:root[data-theme] body.app-redesign .master-panel{border-top:1px solid var(--soft-border);padding-top:20px}
:root[data-theme] body.app-redesign .activity-tabs{border-bottom:1px solid var(--soft-border);padding-bottom:12px}
:root[data-theme] body.app-redesign .activity-tabs button{background:transparent!important;color:var(--muted)!important;border-color:transparent!important}
:root[data-theme] body.app-redesign .activity-tabs button[aria-selected=true]{background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary-border)!important}
:root[data-theme] body.app-redesign .activity-alert{background:var(--panel);border-color:var(--soft-border);border-left-width:3px;padding:18px;border-radius:8px}
:root[data-theme] body.app-redesign .profile-grid{gap:1px;background:var(--soft-border);border:1px solid var(--soft-border);border-radius:8px;overflow:hidden}
:root[data-theme] body.app-redesign .profile-grid>div{padding:15px;background:var(--panel)}
:root[data-theme] body.app-redesign .profile-section{border:0;border-top:1px solid var(--soft-border);border-radius:0;background:none;padding:18px 0}
:root[data-theme] body.app-redesign .notice{border:1px solid var(--soft-border);border-left:3px solid var(--ui-focus);border-radius:7px;background:var(--panel2);padding:12px 15px;font-size:14px;line-height:1.7}
:root[data-theme] body.app-redesign .search-select-input{padding-right:30px}
:root[data-theme] body.app-redesign .search-select-popup{border:1px solid var(--border);box-shadow:var(--ui-shadow);border-radius:9px;background:var(--panel)}
:root[data-theme] body.app-redesign .search-select-option{padding:10px 12px;font-size:14px;line-height:1.6}
:root[data-theme] body.app-redesign .search-select-option.active{background:var(--hover);color:var(--text)}
:root[data-theme] body.app-redesign .search-select-footer{background:var(--panel2);border-top-color:var(--soft-border)}
:root[data-theme] body.app-redesign .search-select-clear{font-size:12px;min-height:30px;padding:4px 8px}
:root[data-theme] body.app-redesign>.message,:root[data-theme] body.app-redesign .filter-loading{border-radius:9px;box-shadow:var(--ui-shadow)}
:root[data-theme] body.app-redesign>footer{margin-left:var(--sidebar-width);border-top:1px solid var(--soft-border);padding:18px 32px;font-size:11px;color:var(--muted);background:none}
:root[data-theme] body.app-redesign:not(.authenticated)>footer{margin-left:0}
:root[data-theme] body.app-redesign .login-appearance{display:flex;align-items:center;gap:12px;position:absolute;top:24px;right:26px}
:root[data-theme] body.app-redesign .login-wrap{min-height:calc(100dvh - 60px);padding:90px 20px 40px;display:grid;place-items:center;background:var(--bg)}
:root[data-theme] body.app-redesign .login-card{width:440px;max-width:100%;padding:34px!important;background:var(--panel);border:1px solid var(--soft-border);border-radius:14px;box-shadow:var(--ui-shadow)}
:root[data-theme] body.app-redesign .login-card h1{font-size:25px;line-height:1.4}
:root[data-theme] body.app-redesign .login-card input{min-height:46px}
:root[data-theme] body.app-redesign .login-card .full{min-height:46px;margin-top:8px}
:root[data-theme] body.app-redesign .login-logo{width:56px;height:56px}
:root[data-theme] body.app-redesign .sidebar-shade{position:fixed;inset:0;z-index:35;background:#0009!important;border:0!important;border-radius:0;padding:0;width:100%;height:100%}
@media(min-width:1051px){:root[data-theme] body.app-redesign.sidebar-collapsed{--sidebar-width:76px}.sidebar-collapsed .sidebar-brand{padding-left:4px}.sidebar-collapsed :is(.sidebar-brand span,.sidebar-section-label,.sidebar-footer,.linkbar .nav-caption){display:none}.sidebar-collapsed .linkbar a{justify-content:center;padding:12px 8px}.sidebar-collapsed .app-sidebar{padding-left:10px;padding-right:10px}.sidebar-collapsed .sidebar-brand img{width:34px;height:34px}}
@media(max-width:1400px){:root[data-theme] body.app-redesign{--sidebar-width:224px}:root[data-theme] body.app-redesign .main-content{padding-left:24px;padding-right:24px}:root[data-theme] body.app-redesign .toolbar label{min-width:130px}:root[data-theme] body.app-redesign .account-menu summary strong{max-width:130px}:root[data-theme] body.app-redesign .dashboard-overview{gap:18px}:root[data-theme] body.app-redesign .rank-panel,:root[data-theme] body.app-redesign .dashboard-side-panels>.panel{padding:14px}}
@media(max-width:1200px){:root[data-theme] body.app-redesign .dashboard-overview{grid-template-columns:minmax(0,1fr)}:root[data-theme] body.app-redesign .dashboard-side-panels{display:grid;grid-template-columns:1fr 1fr}:root[data-theme] body.app-redesign .account-menu summary>span:nth-child(2){display:none}:root[data-theme] body.app-redesign .header-context small{display:none}:root[data-theme] body.app-redesign .master-card .actions{gap:7px}:root[data-theme] body.app-redesign #consolidatedActivityMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){:root[data-theme] body.app-redesign.authenticated{--sidebar-width:0px}:root[data-theme] body.app-redesign .app-sidebar{width:248px;transform:translateX(-100%);transition:transform .2s}:root[data-theme] body.app-redesign.sidebar-open .app-sidebar{transform:none}:root[data-theme] body.app-redesign .app-header{padding:0 20px}:root[data-theme] body.app-redesign.authenticated>.main-content{padding:25px 20px}:root[data-theme] body.app-redesign .assignment-context{padding:10px 20px}:root[data-theme] body.app-redesign .account{gap:10px}:root[data-theme] body.app-redesign .header-context strong{font-size:13px}}
@media(max-width:700px){:root[data-theme] body.app-redesign{--header-height:62px}:root[data-theme] body.app-redesign .app-header{padding:0 12px;gap:8px}:root[data-theme] body.app-redesign .header-context>span{display:none}:root[data-theme] body.app-redesign .account{gap:8px}:root[data-theme] body.app-redesign .language-switch button{font-size:11px;padding:5px 7px}:root[data-theme] body.app-redesign.authenticated>.main-content{padding:20px 14px 30px}:root[data-theme] body.app-redesign .page-heading h1,:root[data-theme] body.app-redesign .online-title h1{font-size:24px}:root[data-theme] body.app-redesign .page-heading p{font-size:13px}:root[data-theme] body.app-redesign .toolbar{gap:10px}:root[data-theme] body.app-redesign .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:root[data-theme] body.app-redesign .metrics .metric{min-height:112px;padding:14px}:root[data-theme] body.app-redesign .metrics .metric strong{font-size:29px}:root[data-theme] body.app-redesign .report-metrics{gap:0}:root[data-theme] body.app-redesign .report-metrics .metric{min-height:0;padding:12px}:root[data-theme] body.app-redesign .report-metrics .metric strong{font-size:23px}:root[data-theme] body.app-redesign .dashboard-side-panels{display:flex}:root[data-theme] body.app-redesign .service-rankings{grid-template-columns:1fr}:root[data-theme] body.app-redesign .rank-panel .rank-table{min-height:300px}:root[data-theme] body.app-redesign .master-cards{grid-template-columns:1fr}:root[data-theme] body.app-redesign .master-card{border-right:0;border-bottom:1px solid var(--soft-border);padding:14px!important}:root[data-theme] body.app-redesign .master-card p{margin-bottom:10px}:root[data-theme] body.app-redesign .account-avatar{width:30px;height:30px}:root[data-theme] body.app-redesign .account-menu summary{gap:4px}:root[data-theme] body.app-redesign :is(.online-form-dialog,.master-dialog,.report-preview-dialog,.subunit-overview-dialog,#returnReviewDialog){width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:96dvh;border-radius:10px}:root[data-theme] body.app-redesign .online-form-dialog{height:94dvh}:root[data-theme] body.app-redesign :is(.online-dialog-header,.master-dialog-heading,.return-review-header){padding:15px}:root[data-theme] body.app-redesign .online-dialog-body{padding:15px}:root[data-theme] body.app-redesign :is(.online-dialog-footer,.master-dialog-footer,.return-review-footer){padding:12px 15px;gap:7px}:root[data-theme] body.app-redesign .online-dialog-footer button{font-size:13px;padding:8px 10px;min-height:40px}:root[data-theme] body.app-redesign .report-section-tabs{gap:4px}:root[data-theme] body.app-redesign .report-section-tabs button{font-size:13px;padding:7px 11px;min-height:36px}:root[data-theme] body.app-redesign .report-detail-grid{grid-template-columns:1fr}:root[data-theme] body.app-redesign #consolidatedActivityMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign>footer{padding:16px 14px}:root[data-theme] body.app-redesign .login-appearance{top:16px;right:15px}:root[data-theme] body.app-redesign .login-card{padding:26px!important}:root[data-theme] body.app-redesign .person-row{gap:8px}:root[data-theme] body.app-redesign .pager{padding:12px}:root[data-theme] body.app-redesign .employee-pagination .pager-controls{gap:7px}:root[data-theme] body.app-redesign .assignment-context{padding:10px 14px}:root[data-theme] body.app-redesign .online-report-toolbar .online-bulk-actions{grid-template-columns:1fr 1fr}:root[data-theme] body.app-redesign .online-report-toolbar .online-bulk-actions>button{font-size:12px;padding:8px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){:root[data-theme] body.app-redesign *{scroll-behavior:auto!important;transition:none!important}}

/* Reference layout refinements take precedence over legacy presentation rules. */
:root[data-theme=dark]{--bg:#1c2026;--panel:#252a30;--panel2:#2d3239;--header:#252a30;--field:#24292f;--readonly:#30353c;--text:#f3f4f5;--muted:#d1d3d7;--border:#59616c;--soft-border:#444b55;--cyan:#7ae5eb;--green:#8fdd70;--yellow:#f1cf75;--red:#ffaaa8;--ui-primary:#555b21;--ui-primary-hover:#646b2b;--ui-primary-border:#878b47;--ui-brown:#8d593a;--ui-brown-border:#b18b70}
:root[data-theme=light]{--bg:#fafbfc;--panel:#fff;--panel2:#eceef0;--header:#f6f7f9;--field:#fff;--readonly:#f0f1f3;--text:#111;--muted:#202020;--border:#b8bdc4;--soft-border:#d7dadd;--cyan:#006e76;--ui-primary:#555b21;--ui-primary-hover:#646b2b;--ui-primary-border:#777d43;--ui-brown:#8d593a;--ui-brown-border:#aa8066}
:root[data-theme] body.app-redesign.authenticated>.main-content{padding:16px 22px 30px}
:root[data-theme] body.app-redesign .app-header{margin-left:0;padding:0 22px;height:var(--header-height);background:linear-gradient(110deg,var(--panel2),var(--header) 65%);z-index:45}
:root[data-theme] body.app-redesign .app-sidebar{top:var(--header-height);padding:30px 9px 16px;background:linear-gradient(110deg,var(--header),var(--bg));z-index:40}
.masthead-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)!important;white-space:nowrap}
.masthead-brand img{width:42px;height:48px;object-fit:contain}
:root[data-theme=dark] .masthead-brand img{filter:grayscale(1) invert(1) brightness(2);mix-blend-mode:screen}
.masthead-brand>strong{font-size:31px!important;font-weight:750;line-height:1;letter-spacing:0}
.masthead-brand b{font-size:13px;line-height:1.2;font-weight:600}
.masthead-brand small{font-size:11px;line-height:1.3}
:root[data-theme] body.app-redesign #sidebarToggle{width:28px;min-width:28px;min-height:30px;height:30px;border:0!important;padding:3px}
:root[data-theme] body.app-redesign .header-context{gap:10px}
:root[data-theme] body.app-redesign .header-date{font-size:13px;white-space:nowrap;display:flex;gap:8px;align-items:center;font-weight:600}
:root[data-theme] body.app-redesign .account{gap:18px}
:root[data-theme] body.app-redesign .language-switch{border-radius:6px;padding:2px;gap:0}
:root[data-theme] body.app-redesign .language-switch button{font-size:13px;padding:3px 9px;min-height:29px;border-radius:3px}
:root[data-theme] body.app-redesign .language-switch button+button{border-left:1px solid var(--border)!important}
:root[data-theme] body.app-redesign .theme-toggle{border-radius:50%;border-color:var(--border)!important}
:root[data-theme] body.app-redesign .account-menu{border-left:1px solid var(--border);padding-left:18px}
:root[data-theme] body.app-redesign .account-menu summary small{display:none}
:root[data-theme] body.app-redesign .account-avatar{border:0;background:transparent;border-radius:0}
:root[data-theme] body.app-redesign .linkbar{gap:9px}
:root[data-theme] body.app-redesign .linkbar a{font-size:14px;min-height:42px;padding:9px 11px;border-radius:6px}
:root[data-theme] body.app-redesign .linkbar a[href='/units']{margin-top:0}
:root[data-theme] body.app-redesign .page-heading,:root[data-theme] body.app-redesign .online-title{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid var(--border)}
:root[data-theme] body.app-redesign .page-heading h1,:root[data-theme] body.app-redesign .online-title h1{font-size:28px;margin:0;line-height:1.4}
:root[data-theme] body.app-redesign .page-heading .eyebrow{display:none}
:root[data-theme] body.app-redesign .page-heading #pageSubtitle{font-size:12px;margin:4px 0 0}
:root[data-theme] body.app-redesign[data-page=dashboard] #pageSubtitle,:root[data-theme] body.app-redesign[data-page=employees] #pageSubtitle{display:none}
:root[data-theme] body.app-redesign .toolbar.panel{padding:10px 0;gap:12px;margin-bottom:12px;border-top:0}
:root[data-theme] body.app-redesign .toolbar label{font-size:12px}
:root[data-theme] body.app-redesign :is(input,select,textarea){min-height:37px;padding:6px 10px;font-size:14px;line-height:23px;border-radius:5px}
:root[data-theme] body.app-redesign :is(button,a.button){min-height:37px;padding:6px 13px;border-radius:6px;font-size:14px;line-height:23px}
:root[data-theme] body.app-redesign :is(.action-only,.account-action-icon,button.icon){width:36px;min-width:36px;height:36px;min-height:36px;padding:7px}
:root[data-theme] body.app-redesign .dashboard-filters{display:grid;grid-template-columns:minmax(230px,1fr) minmax(230px,1fr) auto auto;align-items:center}
:root[data-theme] body.app-redesign .dashboard-filters label{display:flex;align-items:center;gap:12px;min-width:0;font-size:14px;white-space:nowrap}
:root[data-theme] body.app-redesign .dashboard-filters label .search-select{min-width:0;flex:1}
:root[data-theme] body.app-redesign .metrics{gap:12px;margin-bottom:16px}
:root[data-theme] body.app-redesign #dashboardMetrics .metric{background:linear-gradient(120deg,var(--panel2),var(--panel));min-height:82px;padding:10px 18px;border-radius:7px;border:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign #dashboardMetrics .metric::before{display:none}
:root[data-theme] body.app-redesign #dashboardMetrics .metric .metric-label{font-size:14px;font-weight:600;line-height:1.35}
:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:32px;color:var(--cyan);margin:1px 0 0;line-height:1.25}
:root[data-theme] body.app-redesign #dashboardMetrics .metric small{display:none}
:root[data-theme] body.app-redesign .dashboard-overview{grid-template-columns:minmax(0,64fr) minmax(0,36fr);gap:16px;margin-top:0;align-items:start}
:root[data-theme] body.app-redesign .rank-panel,:root[data-theme] body.app-redesign .dashboard-side-panels>.panel{padding:0;border:1px solid var(--border);border-radius:7px;overflow:hidden;background:var(--panel)}
:root[data-theme] body.app-redesign .rank-panel>.section-heading,:root[data-theme] body.app-redesign .dashboard-side-panels>.panel>h2{padding:9px 14px;margin:0;border-bottom:1px solid var(--border);background:linear-gradient(100deg,var(--panel2),var(--panel));font-size:17px;line-height:1.4}
:root[data-theme] body.app-redesign .rank-panel .section-heading h2{margin:0;font-size:17px}
:root[data-theme] body.app-redesign .rank-panel .section-heading :is(p,.pill),:root[data-theme] body.app-redesign .rank-panel .legend{display:none}
:root[data-theme] body.app-redesign .rank-panel .rank-table{min-height:0;max-height:570px;overflow:auto}
:root[data-theme] body.app-redesign .rank-panel :is(th,td){padding:5px 10px;font-size:13.5px!important;line-height:1.5!important}
:root[data-theme] body.app-redesign .rank-panel td:not(:first-child),:root[data-theme] body.app-redesign .rank-panel th:not(:first-child){text-align:center}
:root[data-theme] body.app-redesign .rank-panel td:nth-child(2){color:var(--cyan)}
:root[data-theme] body.app-redesign .rank-panel td:is(.green,.yellow,.red){color:var(--text)}
:root[data-theme] body.app-redesign .rank-panel .distribution{height:9px;border:1px solid var(--border);background:var(--soft-border);border-radius:2px;overflow:hidden}
:root[data-theme] body.app-redesign .rank-panel .distribution span{background:var(--cyan)!important}
:root[data-theme] body.app-redesign .dashboard-side-panels{gap:14px}
:root[data-theme] body.app-redesign .dashboard-unit-panel{order:-1}
:root[data-theme] body.app-redesign #unitSummary{padding:12px 14px 0!important;max-height:490px}
:root[data-theme] body.app-redesign .unit-card{grid-template-columns:minmax(80px,1.12fr) minmax(70px,1fr) 38px;gap:7px;padding:6px 0;border:0;min-height:30px;overflow:visible}
:root[data-theme] body.app-redesign .unit-card span{grid-column:1;grid-row:1;font-size:12px;text-align:right;line-height:1.4}
:root[data-theme] body.app-redesign .unit-card strong{grid-column:3;grid-row:1;font-size:13px;color:var(--text);text-align:left}
:root[data-theme] body.app-redesign .office-bar{grid-column:2;grid-row:1;position:relative;display:block;width:100%;height:16px;border-left:1px solid var(--border);background:transparent}
:root[data-theme] body.app-redesign .office-bar::before{content:'';display:block;width:var(--bar-size);height:100%;background:linear-gradient(0deg,#52d1da,#82edf0);border:1px solid #b3f1f5;box-sizing:border-box}
:root[data-theme] body.app-redesign .statistics-total{margin:10px 14px 12px;padding-top:8px;font-size:13px}
:root[data-theme] body.app-redesign #reportProgress{padding:10px 14px 0}
:root[data-theme] body.app-redesign #reportProgress .progress-number{font-size:24px}
:root[data-theme] body.app-redesign .dashboard-side-panels .text-link{margin:0 14px 12px;display:inline-block;font-size:12px}
:root[data-theme] body.app-redesign .table-panel{border-radius:6px}
:root[data-theme] body.app-redesign :is(th,td){padding:8px 11px;font-size:14px!important;line-height:1.55!important}
:root[data-theme] body.app-redesign th{font-size:13px!important;background:linear-gradient(var(--panel2),var(--panel));border-bottom:1px solid var(--border)}
:root[data-theme] body.app-redesign tbody tr:nth-child(even){background:color-mix(in srgb,var(--panel2) 50%,var(--panel))}
:root[data-theme] body.app-redesign .table-wrap tfoot :is(td,th){background:var(--panel2);color:var(--cyan)!important}
:root[data-theme=light] body.app-redesign .table-wrap tfoot :is(td,th){background:#c3c8a3;color:#101500!important}
:root[data-theme] body.app-redesign .employee-filters{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(140px,1fr) minmax(165px,1fr) minmax(165px,1fr) minmax(140px,1fr) minmax(170px,1.2fr) auto}
:root[data-theme] body.app-redesign .employee-filters label{min-width:0}
:root[data-theme] body.app-redesign .employee-filters label:first-child{order:-4}
:root[data-theme] body.app-redesign .employee-filters label:has(#unitFilter){order:-3}
:root[data-theme] body.app-redesign .employee-filters label:has(#subunitFilter){order:-2}
:root[data-theme] body.app-redesign .employee-filters label:has(#rankFilter){order:-1}
:root[data-theme] body.app-redesign .employee-filters #clearEmployeeFilters{align-self:end}
:root[data-theme] body.app-redesign #personnelActions{min-height:0;padding:0;margin-bottom:10px}
:root[data-theme] body.app-redesign #personnelActions[data-has-selection=false]>:not(#selectMatchingOfficers){display:none}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics){border:1px solid var(--border);border-radius:6px;overflow:hidden;background:linear-gradient(100deg,var(--panel),var(--bg))}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics) .metric{padding:10px 16px;border-right:1px solid var(--border);background:none;min-height:0;border-radius:0;border-top:0;border-bottom:0}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics) .metric::before{display:none}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics) .metric-label{font-size:14px;font-weight:600}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics) .metric strong{font-size:28px;margin:3px 0 0}
:root[data-theme] body.app-redesign :is(#consolidatedMetrics,#submissionMetrics,#onlineMetrics) .metric small{display:none}
:root[data-theme] body.app-redesign .reference-completion{padding:12px 16px;min-width:190px;display:flex;flex-direction:column;justify-content:center;gap:7px}
.reference-completion>span{font-size:13px;font-weight:600}.reference-completion>strong{font-size:14px;text-align:right}.reference-completion .progress{height:13px;border:1px solid var(--border);border-radius:3px}.reference-completion .progress>div{background:#85db60;border-radius:2px}
:root[data-theme] body.app-redesign .master-workspace-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:20px}
:root[data-theme] body.app-redesign .master-workspace-tabs button{flex:1;border:0;border-radius:5px 5px 0 0;background:transparent!important;color:var(--text)!important;min-height:44px}
:root[data-theme] body.app-redesign .master-workspace-tabs button[aria-selected=true]{background:var(--ui-primary)!important;color:#fff!important}
:root[data-theme] body.app-redesign .report-comparison{padding:14px 16px;border:1px solid var(--soft-border);border-radius:5px;background:var(--panel);margin:15px 0}
:root[data-theme] body.app-redesign .report-comparison h2{font-size:16px;margin:0 0 12px}
.comparison-legend{display:flex;justify-content:center;gap:20px;font-size:12px;margin-bottom:8px}.comparison-legend i{display:inline-block;width:10px;height:10px;background:#68a64b;margin-right:5px}.comparison-legend i.disposed{background:#8d593a}
.comparison-chart{height:170px;display:flex;align-items:stretch;gap:30px;padding:20px 15px 0;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--soft-border) 40px)}
.comparison-group{flex:1;min-width:0;display:grid;grid-template-rows:1fr 25px;gap:5px;text-align:center;font-size:12px}.comparison-bars{display:flex;align-items:end;justify-content:center;gap:8px}.comparison-bars>span{position:relative;width:40%;max-width:50px;min-height:1px;background:#68a64b;border:1px solid #a5cd8f}.comparison-bars>span.disposed{background:#8d593a;border-color:#ae866e}.comparison-bars b{position:absolute;bottom:calc(100% + 2px);left:50%;transform:translateX(-50%);font-size:11px;color:var(--text)}
@media(min-width:1280px){:root[data-theme] body.app-redesign #submissionMetrics{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(240px,1.6fr)}:root[data-theme] body.app-redesign[data-page=employees] .page-heading{padding-right:500px}:root[data-theme] body.app-redesign[data-page=employees] .toolbar.between{position:absolute;top:84px;right:22px;gap:10px}:root[data-theme] body.app-redesign[data-page=employees] .toolbar.between>#employeeCount{display:none}}
@media(max-width:1500px){:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(130px,1fr))}:root[data-theme] body.app-redesign .employee-filters>*{min-width:0}:root[data-theme] body.app-redesign .dashboard-filters{grid-template-columns:1fr 1fr auto}:root[data-theme] body.app-redesign #openEmployeeRegister{grid-column:3;grid-row:1}:root[data-theme] body.app-redesign #clearDashboardFilters{grid-column:3;grid-row:2;min-height:25px;padding:0 4px;background:transparent!important;border-color:transparent!important;color:var(--muted)!important;font-size:12px}:root[data-theme] body.app-redesign .dashboard-filters label{grid-row:1}:root[data-theme] body.app-redesign .dashboard-filters{padding-bottom:2px}}
@media(max-width:1200px){:root[data-theme] body.app-redesign .dashboard-overview{grid-template-columns:1fr}:root[data-theme] body.app-redesign .dashboard-side-panels{display:grid;grid-template-columns:1fr 1fr}:root[data-theme] body.app-redesign .header-date{display:none}}
@media(max-width:1050px){:root[data-theme] body.app-redesign .app-sidebar{top:var(--header-height)}:root[data-theme] body.app-redesign .app-header{padding:0 12px}:root[data-theme] body.app-redesign .masthead-brand>strong{font-size:25px!important}:root[data-theme] body.app-redesign .masthead-brand img{width:32px;height:40px}:root[data-theme] body.app-redesign .masthead-brand span{display:none}:root[data-theme] body.app-redesign .dashboard-filters{display:flex;flex-wrap:wrap}:root[data-theme] body.app-redesign .dashboard-filters label{flex:1 1 220px}:root[data-theme] body.app-redesign #clearDashboardFilters{min-height:37px;padding:6px 13px}:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:root[data-theme] body.app-redesign .account{gap:8px}:root[data-theme] body.app-redesign .account-menu{padding-left:7px}:root[data-theme] body.app-redesign .masthead-brand>strong{font-size:21px!important}:root[data-theme] body.app-redesign .masthead-brand img{width:25px;height:34px}:root[data-theme] body.app-redesign .masthead-brand{gap:5px}:root[data-theme] body.app-redesign .language-switch button{font-size:11px;padding:3px 7px}:root[data-theme] body.app-redesign .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign .dashboard-overview{gap:14px}:root[data-theme] body.app-redesign .dashboard-side-panels{display:flex}:root[data-theme] body.app-redesign .reference-completion{grid-column:1/-1}:root[data-theme] body.app-redesign #dashboardMetrics .metric{padding:12px;min-height:82px}:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:28px}:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign .comparison-chart{gap:12px;padding-left:5px;padding-right:5px}:root[data-theme] body.app-redesign .rank-panel :is(th,td){font-size:12px!important;padding:6px 7px}}


:root[data-theme] body.app-redesign .rank-panel{display:block}
:root[data-theme] body.app-redesign .rank-panel .rank-table{flex:none;height:auto;max-height:520px;overflow:auto}
:root[data-theme] body.app-redesign .rank-share{display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:130px;font-size:12px}
:root[data-theme] body.app-redesign .rank-share>.distribution{flex:1;min-width:65px}
:root[data-theme] body.app-redesign .rank-share>span{min-width:40px;text-align:right}
:root[data-theme] body.app-redesign #dashboardMetrics{margin-top:0;margin-bottom:16px}
:root[data-theme] body.app-redesign .dashboard-overview{margin-top:0}
:root[data-theme] body.app-redesign .dashboard-side-panels{gap:14px}
:root[data-theme] body.app-redesign .register-display-tools{display:flex;justify-content:flex-end;gap:16px;align-items:center;margin:5px 0 9px;font-size:12px}
:root[data-theme] body.app-redesign .register-display-tools label{font-size:12px}
:root[data-theme] body.app-redesign .register-help{position:relative;max-width:360px}
:root[data-theme] body.app-redesign .register-help summary{font-size:12px;font-weight:500;cursor:pointer}
:root[data-theme] body.app-redesign .register-help[open]{padding:10px;border:1px solid var(--border);background:var(--panel)}
:root[data-theme] body.app-redesign:not(.register-show-extra) .register-table .register-extra{display:none!important}
:root[data-theme] body.app-redesign .register-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
:root[data-theme] body.app-redesign .register-row-actions button{min-width:0;width:auto;min-height:28px;height:auto;border:0!important;background:transparent!important;padding:0 3px;color:#cda383!important;box-shadow:none}
:root[data-theme=light] body.app-redesign .register-row-actions button{color:#825033!important}
:root[data-theme] body.app-redesign .register-row-actions .action-icon{width:17px;height:17px;flex-basis:17px}
:root[data-theme] body.app-redesign .register-table td{padding:6px 11px;line-height:1.5!important}
:root[data-theme] body.app-redesign .register-table td small{font-size:11px;margin:0}
:root[data-theme] body.app-redesign .register-table .employee-bp{white-space:nowrap;font-size:12px!important}
:root[data-theme] body.app-redesign .online-title{position:relative}
:root[data-theme] body.app-redesign .online-title #onlineTime{display:none}
:root[data-theme] body.app-redesign .online-title #onlineOffice{position:absolute;right:0;top:8px;margin:0;font-size:12px;border:1px solid var(--border);border-radius:5px;padding:3px 12px;max-width:42%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
:root[data-theme] body.app-redesign .online-page>.toolbar{justify-content:flex-start}
:root[data-theme] body.app-redesign .online-page>.toolbar label:has(#onlineDate){order:-2;display:flex;align-items:center;gap:12px;font-size:14px;flex:0 1 auto}
:root[data-theme] body.app-redesign .online-page>.toolbar label:has(#onlineMain){flex:0 1 260px;min-width:200px}
:root[data-theme] body.app-redesign .online-page>.toolbar label:has(#onlineMain)>span{display:none}
:root[data-theme] body.app-redesign #onlineMetrics.online-console-metrics{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,1.6fr)}
:root[data-theme] body.app-redesign #onlineMetrics.online-console-metrics .metric{border-bottom:0}
:root[data-theme] body.app-redesign #onlineMainOverview>h2,:root[data-theme] body.app-redesign #onlineOverviewSummary{display:none}
:root[data-theme] body.app-redesign #onlineMainOverview{margin-top:16px}
:root[data-theme] body.app-redesign .online-state[data-state=accepted]{background:linear-gradient(#416c2c,#345c20);border-color:#6d974d;color:#ecffdf}
:root[data-theme] body.app-redesign .online-state[data-state=missing]{background:linear-gradient(#a14039,#85302b);border-color:#c77c75;color:#fff}
:root[data-theme] body.app-redesign .online-state[data-state=draft],:root[data-theme] body.app-redesign .online-state[data-state=awaiting_review]{background:linear-gradient(#826a20,#6b5516);border-color:#b39b55;color:#fff4d4}
:root[data-theme=light] body.app-redesign .online-state[data-state=accepted]{background:#c9eeb7;color:#193c08;border-color:#9dcd83}
:root[data-theme=light] body.app-redesign .online-state[data-state=missing]{background:#f3c2bd;color:#7b1710;border-color:#d7958c}
:root[data-theme] body.app-redesign #consolidatedMetrics{grid-template-columns:repeat(5,minmax(0,1fr));display:grid}
:root[data-theme] body.app-redesign #consolidatedMetrics .metric{display:flex;gap:8px;align-items:center;justify-content:center;padding:5px 10px;border-right:1px solid var(--border)}
:root[data-theme] body.app-redesign #consolidatedMetrics .metric strong{font-size:18px;line-height:1.5;margin:0;color:var(--text)}
:root[data-theme] body.app-redesign #consolidatedMetrics .metric-label{font-size:12px;white-space:nowrap}
:root[data-theme] body.app-redesign #consolidatedMetrics .metric:last-child{border-right:0}
:root[data-theme] body.app-redesign .daily-activity-toggle,:root[data-theme] body.app-redesign #consolidatedUnitsDetails{display:inline-block;margin:2px 18px 12px 0;font-size:12px}
:root[data-theme] body.app-redesign .daily-activity-toggle[open],:root[data-theme] body.app-redesign #consolidatedUnitsDetails[open]{display:block}
:root[data-theme] body.app-redesign #completionNotice{background:transparent;border:0;padding:0;margin:3px 0 7px;font-size:12px}
:root[data-theme] body.app-redesign #consolidatedTables>.report-section-tabs{padding:0;margin:0 0 8px;border-bottom:1px solid var(--border);gap:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
:root[data-theme] body.app-redesign #consolidatedTables>.report-section-tabs button{border-radius:5px 5px 0 0;font-size:16px;min-height:39px;justify-content:center}
:root[data-theme] body.app-redesign #consolidatedTables>.report-section-tabs .action-icon{display:none}
:root[data-theme] body.app-redesign #consolidatedTables>.panel>h2{margin:7px 0;font-size:16px}
:root[data-theme] body.app-redesign #consolidatedTables>.panel .table-wrap{border:1px solid var(--soft-border);border-radius:5px}
:root[data-theme] body.app-redesign #consolidatedTables :is(td,th){padding:5px 10px;font-size:13px!important;line-height:1.45!important}
:root[data-theme] body.app-redesign .rank-detail-toggle{margin-top:8px;font-size:12px}
:root[data-theme] body.app-redesign .rank-detail-toggle>summary{cursor:pointer}
:root[data-theme] body.app-redesign .consolidated-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
:root[data-theme] body.app-redesign .report-comparison{margin:0;padding:12px}
:root[data-theme] body.app-redesign .report-comparison :is(td,th){font-size:12px!important;padding:6px 8px}
:root[data-theme] body.app-redesign #appendixIndex>button{min-height:29px;font-size:12px;padding:2px 9px;margin-top:10px}
:root[data-theme] body.app-redesign .report-comparison h2{font-size:16px;margin:0 0 10px}
@media(min-width:1280px){:root[data-theme] body.app-redesign .dashboard-filters{grid-template-columns:minmax(250px,1fr) minmax(250px,1fr) auto auto}:root[data-theme] body.app-redesign .online-console-metrics .metric:last-of-type{border-right:1px solid var(--border)}}
@media(max-width:900px){:root[data-theme] body.app-redesign #onlineMetrics.online-console-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}:root[data-theme] body.app-redesign .reference-completion{grid-column:1/-1}:root[data-theme] body.app-redesign #consolidatedMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}:root[data-theme] body.app-redesign .consolidated-lower-grid{grid-template-columns:1fr}}
@media(max-width:600px){:root[data-theme] body.app-redesign #onlineMetrics.online-console-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign #consolidatedMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign #consolidatedMetrics .metric{justify-content:flex-start}:root[data-theme] body.app-redesign .online-title #onlineOffice{position:static;max-width:100%;margin:8px 0 0;width:fit-content}:root[data-theme] body.app-redesign .online-page>.toolbar label:has(#onlineDate){flex-wrap:wrap}:root[data-theme] body.app-redesign #consolidatedTables>.report-section-tabs button{font-size:13px;padding:6px}:root[data-theme] body.app-redesign .register-row-actions{gap:4px}:root[data-theme] body.app-redesign .register-display-tools{justify-content:flex-start;align-items:start;flex-wrap:wrap}}


:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:minmax(210px,1.5fr) repeat(4,minmax(135px,1fr)) auto}
:root[data-theme] body.app-redesign:not(.register-show-filters) .register-advanced-filter{display:none!important}
:root[data-theme] body.app-redesign:not(.register-select-records) .register-select{display:none!important}
:root[data-theme] body.app-redesign:not(.register-select-records) #personnelActions{display:none}
:root[data-theme] body.app-redesign .employee-filters label:has(#employeeDailyStatus){order:0}
:root[data-theme] body.app-redesign .employee-filters #clearEmployeeFilters{order:1}
:root[data-theme] body.app-redesign .employee-filters .register-advanced-filter{order:3}
:root[data-theme] body.app-redesign :is(.filter-reset,#clearDashboardFilters,#clearEmployeeFilters,#clearConsolidatedFilters){background:transparent!important;border-color:transparent!important;color:#c7aa8f!important;min-width:0;padding-left:5px;padding-right:5px;box-shadow:none;text-decoration:underline;font-weight:500}
:root[data-theme=light] body.app-redesign :is(.filter-reset,#clearDashboardFilters,#clearEmployeeFilters,#clearConsolidatedFilters){color:#765035!important}
:root[data-theme] body.app-redesign :is(.filter-reset,#clearDashboardFilters,#clearEmployeeFilters,#clearConsolidatedFilters) .action-icon{display:none}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=primary]{background:linear-gradient(#62682c,#4d541d)!important}
:root[data-theme] body.app-redesign :is(button,a.button)[data-ui-tone=brown]{background:linear-gradient(#986746,#825035)!important}
:root[data-theme] body.app-redesign .register-row-actions button[data-ui-tone]{background:transparent!important}
:root[data-theme] body.app-redesign .dialog-locale{margin-left:auto;flex:none}
:root[data-theme] body.app-redesign .dialog-locale button{min-height:28px;font-size:11px;line-height:20px;padding:2px 6px}
:root[data-theme] body.app-redesign #consolidatedMain{min-width:200px}

@media(max-width:700px){:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-theme] body.app-redesign .register-display-tools{gap:10px}:root[data-theme] body.app-redesign .dialog-heading{flex-wrap:wrap}:root[data-theme] body.app-redesign .dialog-locale{order:3;margin-left:0}}


:root[data-theme] body.app-redesign .cluster-progress-strip{display:flex;gap:16px;margin:12px 0 16px}
:root[data-theme] body.app-redesign .cluster-progress-chip{display:flex;align-items:center;gap:13px;min-height:33px;padding:3px 16px;background:linear-gradient(#786032,#624b20)!important;color:#fff!important;border-color:#9c7c47!important;font-size:13px;box-shadow:inset 0 1px 2px #ffffff18}
:root[data-theme] body.app-redesign .cluster-progress-chip[data-complete=true]{background:linear-gradient(#476b2e,#34531f)!important;border-color:#69814c!important}
:root[data-theme] body.app-redesign .cluster-progress-chip strong{color:inherit;font-size:14px}


/* Dashboard cards reproduce the approved reference component. */
:root[data-theme] body.app-redesign #dashboardMetrics .metric{height:108px;min-height:108px;padding:13px 20px;border:2px solid #424950;border-radius:11px;background:linear-gradient(110deg,#30353b,#292e34);box-shadow:inset 0 1px 2px #ffffff08,0 1px 3px #0002}
:root[data-theme] body.app-redesign #dashboardMetrics .metric .metric-label{font-size:18px;line-height:24px;font-weight:650;letter-spacing:0;color:#f2f3f4;text-shadow:0 1px 1px #0005}
:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:42px;line-height:51px;font-weight:700;color:#78e6ed!important;margin:0;text-align:left;letter-spacing:-.03em;text-shadow:0 1px 2px #0008}
:root[data-theme] body.app-redesign #dashboardMetrics .metric::before,:root[data-theme] body.app-redesign #dashboardMetrics .metric small{display:none!important}
:root[data-theme=light] body.app-redesign #dashboardMetrics .metric{background:linear-gradient(110deg,#fff,#f0f2f4);border-color:#d6dade;box-shadow:inset 0 1px 2px #fff,0 1px 3px #0001}
:root[data-theme=light] body.app-redesign #dashboardMetrics .metric .metric-label{color:#111;text-shadow:none}
:root[data-theme=light] body.app-redesign #dashboardMetrics .metric strong{color:#006f76!important;text-shadow:none}
:root[data-theme] body.app-redesign h2,:root[data-theme] body.app-redesign h3,:root[data-theme] body.app-redesign .report-detail-field h4{color:var(--text)!important}

:root[data-theme] body.app-redesign .dashboard-overview{gap:16px;margin-top:0!important}
:root[data-theme] body.app-redesign .page-heading h1,:root[data-theme] body.app-redesign .online-title h1{font-size:31px;font-weight:700}
:root[data-theme] body.app-redesign .linkbar a{font-size:15px}
:root[data-theme] body.app-redesign .dashboard-filters label{font-size:15px}
:root[data-theme] body.app-redesign .rank-panel .section-heading h2,:root[data-theme] body.app-redesign .dashboard-unit-panel>h2{font-size:18px}
:root[data-theme] body.app-redesign .rank-panel :is(td,th){font-size:14px!important;padding:4px 12px;line-height:1.45!important}
:root[data-theme] body.app-redesign[data-page=consolidated-report] #pageSubtitle{display:none}
:root[data-theme] body.app-redesign[data-page=consolidated-report] .toolbar.panel{align-items:center;gap:14px}
:root[data-theme] body.app-redesign[data-page=consolidated-report] .toolbar.panel>label{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:14px}
:root[data-theme] body.app-redesign[data-page=consolidated-report] :is(#clearConsolidatedFilters,#openUnitReports){display:none}
:root[data-theme] body.app-redesign[data-page=consolidated-report] #consolidatedMetrics .metric{padding:3px 10px}
:root[data-theme] body.app-redesign #onlineMetrics .metric strong{font-size:32px}
:root[data-theme] body.app-redesign #onlineMetrics .metric-label{font-size:15px}
:root[data-theme] body.app-redesign #onlineMetrics .reference-completion>span{font-size:15px}
:root[data-theme] body.app-redesign #onlineMetrics .reference-completion{padding:12px 16px}
:root[data-theme] body.app-redesign .online-page #onlineMetrics{margin-bottom:0}
:root[data-theme] body.app-redesign .register-table .employee-bp{text-align:left!important}
:root[data-theme] body.app-redesign #employeeDailyStatusHeading{white-space:nowrap}
:root[data-theme] body.app-redesign .service-rankings{margin-top:25px}
:root[data-theme] body.app-redesign .dashboard-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto}
:root[data-theme] body.app-redesign .dashboard-filters label{justify-content:flex-start}
:root[data-theme] body.app-redesign .dashboard-filters .search-select{width:auto;flex:1}
:root[data-theme] body.app-redesign .dashboard-filters .search-select-input{width:100%}
:root[data-theme] body.app-redesign .employee-filters #employeeSearch{font-weight:400}
@media(max-width:700px){:root[data-theme] body.app-redesign #dashboardMetrics .metric{height:100px;min-height:100px;padding:12px}:root[data-theme] body.app-redesign #dashboardMetrics .metric .metric-label{font-size:14px;line-height:21px}:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:34px;line-height:43px}:root[data-theme] body.app-redesign .dashboard-filters{display:flex;flex-wrap:wrap}:root[data-theme] body.app-redesign .page-heading h1,:root[data-theme] body.app-redesign .online-title h1{font-size:27px}}


:root[data-theme] body.app-redesign .comparison-chart{position:relative;height:210px;padding:20px 10px 0 45px;gap:23px;isolation:isolate;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--soft-border) 40px)}
:root[data-theme] body.app-redesign .comparison-y-axis{position:absolute;left:0;top:12px;bottom:20px;display:flex;flex-direction:column;justify-content:space-between;font-size:10px;text-align:right;width:33px;line-height:14px}
:root[data-theme] body.app-redesign .comparison-group{grid-template-rows:1fr 30px;font-size:12px}
:root[data-theme] body.app-redesign .comparison-bars{gap:6px}
:root[data-theme] body.app-redesign .comparison-bars>span{max-width:65px;width:45%;background:linear-gradient(90deg,#669c45,#78af55);border-color:#91bd73}
:root[data-theme] body.app-redesign .comparison-bars>span.disposed{background:linear-gradient(90deg,#815538,#966548);border-color:#ae8366}
:root[data-theme] body.app-redesign .comparison-bars b{font-size:11px;font-weight:600}
:root[data-theme] body.app-redesign .comparison-legend{font-size:12px}


:root[data-theme] body.app-redesign .register-display-tools{margin:0 0 8px;min-height:0;justify-content:flex-end}
:root[data-theme] body.app-redesign .register-options{position:relative;margin-left:auto}
:root[data-theme] body.app-redesign .register-options>summary{font-size:22px;line-height:20px;list-style:none;border:1px solid var(--border);border-radius:5px;padding:0 9px;cursor:pointer}
.register-options>summary::-webkit-details-marker{display:none}
:root[data-theme] body.app-redesign .register-options-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:12;width:270px;padding:15px;display:grid;gap:12px;background:var(--panel);border:1px solid var(--border);border-radius:7px;box-shadow:var(--ui-shadow)}
:root[data-theme] body.app-redesign .register-options-menu>label{font-size:13px}
:root[data-theme] body.app-redesign #openEmployeeRegister .action-icon{order:2;margin-left:4px}
:root[data-theme] body.app-redesign .daily-status-cell .daily-return-label{display:none}
:root[data-theme] body.app-redesign .daily-status-cell>.pill{border-radius:5px;min-width:70px;display:inline-block;text-align:center;border:0;padding:1px 9px;font-weight:650;line-height:20px}
:root[data-theme] body.app-redesign .daily-status-cell>.pill.green{background:#c5eeb6;color:#173c0d}
:root[data-theme] body.app-redesign .daily-status-cell>.pill.yellow{background:#f5d58e;color:#513800}
:root[data-theme] body.app-redesign .daily-status-cell>.pill.red{background:#f2b7af;color:#771d15}
:root[data-theme] body.app-redesign .daily-status-cell[data-report-state=accepted]>.pill{outline:1px solid #539747}
:root[data-theme] body.app-redesign .daily-status-cell[data-report-state=awaiting_review]>.pill{outline:2px solid #b28936}
:root[data-theme] body.app-redesign .register-options-menu .register-help{font-size:12px}


:root[data-theme] body.app-redesign .additional-statistics{margin-top:16px;padding-top:12px;border-top:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign .additional-statistics>summary{font-size:12px;cursor:pointer}
:root[data-theme] body.app-redesign .additional-statistics>.panel{padding:16px 0;border-bottom:1px solid var(--soft-border);margin:10px 0}


:root[data-theme] body.app-redesign .search-select-native{position:absolute!important;width:1px!important;height:1px!important;max-width:1px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%);pointer-events:none}
:root[data-theme] body.app-redesign .report-comparison{min-width:0}
:root[data-theme] body.app-redesign .consolidated-lower-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:900px){:root[data-theme] body.app-redesign .consolidated-lower-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){:root[data-theme] body.app-redesign #consolidatedMetrics .metric-label{white-space:normal;line-height:1.4}:root[data-theme] body.app-redesign #consolidatedMetrics .metric{align-items:flex-start;flex-wrap:wrap;gap:2px 7px}:root[data-theme] body.app-redesign[data-page=consolidated-report] .toolbar.panel>label{flex-wrap:wrap;max-width:100%;white-space:normal}}


:root[data-theme] body.app-redesign .master-workspace-tabs button{flex:1 1 0;min-width:0;white-space:normal;text-align:center;line-height:1.4;padding:9px}
:root[data-theme] body.app-redesign #masterUnitsPanel .table-wrap{max-height:62dvh;overflow:auto}
:root[data-theme] body.app-redesign .master-panel>.section-heading{flex-wrap:wrap}
@media(max-width:600px){:root[data-theme] body.app-redesign .master-workspace-tabs button{font-size:12px;padding:8px 5px}}

/* Match the reference's sans-serif English typography rather than the old Bengali fallback. */
:root[data-theme][lang=en] body.app-redesign,:root[data-theme][lang=en] body.app-redesign :is(h1,h2,h3,h4,p,a,span,strong,b,small,button,label,select,input,textarea,th,td,summary){font-family:'Segoe UI',Arial,sans-serif!important}
:root[data-theme] body.app-redesign .register-row-actions :is(button,button .action-caption,button svg){color:#cda383!important;background:transparent!important}
:root[data-theme=light] body.app-redesign .register-row-actions :is(button,button .action-caption,button svg){color:#825033!important;background:transparent!important}
:root[data-theme] body.app-redesign .daily-status-cell{background:transparent!important;box-shadow:none!important;border-left:0!important}
:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:minmax(210px,1.5fr) repeat(4,minmax(135px,1fr)) auto;align-items:end}
:root[data-theme] body.app-redesign .employee-filters #employeeDailyStatus{min-width:0}
:root[data-theme] body.app-redesign .register-table th{font-size:14px!important}
:root[data-theme] body.app-redesign .register-table td{font-size:14px!important}
@media(min-width:1051px) and (max-width:1180px){:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){:root[data-theme] body.app-redesign .employee-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}


:root[data-theme] body.app-redesign .demo-data-tag{font-size:11px!important;white-space:nowrap;background:#4e5661;color:#fff!important;padding:4px 9px;border-radius:5px;border:1px solid #727a83;line-height:1.4}
:root[data-theme=light] body.app-redesign .demo-data-tag{background:#d8dadd;color:#353b42!important;border-color:#d0d3d7}
@media(max-width:700px){:root[data-theme] body.app-redesign .demo-data-tag{display:none}}


:root[data-theme=dark] body.app-redesign{background:linear-gradient(120deg,#242a31 0%,#1c2127 48%,#151a20 100%)!important}
:root[data-theme=light] body.app-redesign{background:linear-gradient(110deg,#f7f8fa,#fff 65%,#f7f8fa)!important}
:root[data-theme] body.app-redesign .online-title{display:flex;align-items:center;justify-content:space-between;gap:15px}
:root[data-theme] body.app-redesign .online-scope{max-width:240px;flex:0 1 240px;margin:0}
:root[data-theme] body.app-redesign .online-scope .search-select{width:100%}
:root[data-theme] body.app-redesign:is([data-role=super_admin],[data-role=admin],[data-role=viewer]) #onlineOffice{display:none}
:root[data-theme] body.app-redesign #onlineMainOverview>.section-heading{display:none}
:root[data-theme] body.app-redesign #onlineMainOverview :is(th,td){border:1px solid var(--soft-border)}
:root[data-theme] body.app-redesign .online-page>.toolbar{margin-top:0}
:root[data-theme] body.app-redesign .online-page>.toolbar #onlineClearFilters{background:transparent!important;border:0!important;color:var(--muted)!important;text-decoration:underline}
:root[data-theme] body.app-redesign .register-table :is(th,td){font-size:15px!important;line-height:1.4!important;padding:4px 10px}
:root[data-theme] body.app-redesign .register-table .employee-bp{font-size:14px!important}
:root[data-theme] body.app-redesign .register-row-actions button{min-height:24px;line-height:23px;font-size:14px}
:root[data-theme] body.app-redesign .employee-filters label{font-size:13px}
:root[data-theme][lang=bn] body.app-redesign .linkbar a{font-size:17px}
:root[data-theme][lang=bn] body.app-redesign #onlineMainOverview :is(th,td){font-size:17px!important;line-height:1.5!important;padding:10px 12px}
:root[data-theme][lang=bn] body.app-redesign .report-overview-actions button{font-size:17px}
:root[data-theme][lang=bn] body.app-redesign #onlineMetrics .metric-label,:root[data-theme][lang=bn] body.app-redesign #onlineMetrics .reference-completion>span{font-size:18px}
:root[data-theme][lang=bn] body.app-redesign #onlineMetrics .metric strong{font-size:34px}
:root[data-theme][lang=bn] body.app-redesign #consolidatedTables :is(td,th){font-size:16px!important;line-height:1.4!important;padding:4px 10px}
@media(max-width:700px){:root[data-theme] body.app-redesign .online-title{flex-wrap:wrap}:root[data-theme] body.app-redesign .online-scope{flex-basis:100%;max-width:100%}:root[data-theme][lang=bn] body.app-redesign #onlineMetrics .metric-label,:root[data-theme][lang=bn] body.app-redesign #onlineMetrics .reference-completion>span{font-size:15px}}


/* Reference card proportions scale with the available dashboard width. */
:root[data-theme] body.app-redesign #dashboardMetrics{container-type:inline-size}
:root[data-theme] body.app-redesign #dashboardMetrics .metric{height:auto;min-height:0;aspect-ratio:3/1;padding:clamp(8px,1cqw,16px) clamp(14px,1.8cqw,26px)}
:root[data-theme] body.app-redesign #dashboardMetrics .metric .metric-label{font-size:clamp(14px,1.75cqw,26px);line-height:1.25;font-weight:650}
:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:clamp(28px,3.5cqw,58px);line-height:1.12;font-weight:700;margin:0}
@media(max-width:700px){:root[data-theme] body.app-redesign #dashboardMetrics .metric{aspect-ratio:auto;height:100px;min-height:100px;padding:12px}:root[data-theme] body.app-redesign #dashboardMetrics .metric .metric-label{font-size:14px;line-height:21px}:root[data-theme] body.app-redesign #dashboardMetrics .metric strong{font-size:34px;line-height:43px}}


:root[data-theme] body.app-redesign .pager .page-numbers button[aria-current=page]{opacity:1!important;background:linear-gradient(#62682c,#4d541d)!important;border-color:var(--ui-primary-border)!important;color:#fff!important}
:root[data-theme] body.app-redesign .pager :is(#prevEmployees,#nextEmployees){width:35px;min-width:35px;height:35px;min-height:35px;padding:6px}
}
