/* GENERATED by main/scripts/make_v1_theme.py from app.css: v2 palette (approved design 2026-11-14) and corner shapes. Do not edit. */
:root{--bg:#181818;--bg2:#242424;--panel:#1f1f1f;--panel-alt:#242424;--blackpanel:#242424;--border:#2c2c2c;--line:#2c2c2c;--text:#f4f3ef;--muted:#b8b6ae;--sub:#dedcd4;--blue:#8ab4ff;--shadow:0 12px 36px transparent}
body{background:var(--bg);color:var(--text)}
a{color:var(--blue)}
.appbar{background:#1f1f1f;box-shadow:0 1px 0 var(--border)}
.app-brand{color:var(--text)}
.brand-icon{border:1px solid #2c2c2c;background:#2c2c2c;color:#8ab4ff}
.brand-label small{color:#b8b6ae}
.environment-stamp{color:#b8b6ae;border:1px solid #2c2c2c}
.menu-toggle{border:1px solid transparent;background:transparent}
.menu-toggle:hover,.menu-toggle[aria-expanded='true']{background:#2c2c2c}
.menu-toggle span{background:#f4f3ef;color:#181818}
.portal-controls{border-top:1px solid var(--border);background:#1f1f1f}
.portal-nav a{border:1px solid var(--border);color:var(--sub)}
.portal-nav a:hover,.portal-nav a.active{background:#3a3a3a;color:#f4f3ef;border-color:rgba(138,180,255,0.45)}
.control-trailer{color:var(--muted)}
.overline{color:#b8b6ae}
.page-heading p{color:var(--muted)}
.stamp{border:1px solid var(--border);color:var(--muted)}
.icon-button{border:1px solid var(--border);color:#f4f3ef;background:#1f1f1f}
.icon-button:hover{background:#2c2c2c}
.desk-tools{background:#1f1f1f;border:1px solid var(--border)}
.tabs a{color:#dedcd4}
.tabs a.active{background:#3a3a3a;color:#f4f3ef}
.tabs a:hover{background:#2c2c2c}
.search-control{background:#242424;border:1px solid #2c2c2c;color:#b8b6ae}
.search-control input{border:0;outline:0;background:transparent;color:var(--text)}
.search-control:focus-within{border-color:rgba(138,180,255,0.45)}
input::placeholder,textarea::placeholder{color:#b8b6ae}
select{border:1px solid #2c2c2c;background:#1f1f1f;color:#f4f3ef}
.filter-action{border:1px solid #3a3a3a;color:#f4f3ef;background:#2c2c2c}
.filter-action:hover{background:#3a3a3a}
.desk-list-caption{color:var(--muted)}
.issue-card{color:var(--text);background:#1f1f1f;border:1px solid var(--border)}
.issue-card:hover{background:#2c2c2c;border-color:#3a3a3a}
.priority{border:1px solid #2c2c2c}
.priority.urgent{color:#ff7b6e;background:rgba(255,123,110,0.20);border-color:rgba(255,123,110,0.45)}
.priority.medium{color:#f0b660;background:rgba(240,182,96,0.20);border-color:rgba(240,182,96,0.45)}
.priority.low{color:#8ab4ff;background:#2c2c2c;border-color:#3a3a3a}
.priority.fyi{color:#7dd3a8;background:rgba(125,211,168,0.20);border-color:rgba(125,211,168,0.45)}
.priority.ignore{color:#dedcd4;background:#2c2c2c;border-color:#3a3a3a}
.dept-chip{border:1px solid #2c2c2c;background:#2c2c2c;color:#dedcd4}
.case-company{color:#dedcd4}
.case-truck{color:#dedcd4}
.case-age{color:var(--muted)}
.case-check{color:#8ab4ff}
.case-summary{color:#dedcd4}
.zero-state{background:#1f1f1f;border:1px solid var(--border);color:var(--muted)}
.zero-state h2{color:#f4f3ef}
.data-warning{background:#2c2c2c;border-left:3px solid rgba(138,180,255,0.45);color:#dedcd4}
.data-warning strong{color:#f4f3ef}
.desk-footnote{color:var(--muted)}
.back-link{color:#dedcd4}
.detail-surface,.detail-panel,.profile-card{background:#1f1f1f;border:1px solid var(--border)}
.detail-status{color:var(--muted)}
.detail-surface .lead{color:#dedcd4}
.case-facts{border-top:1px solid var(--line)}
.case-facts small{color:var(--muted)}
.detail-panel p{color:#dedcd4}
.small-muted{color:var(--muted)!important}
.minor-empty{border:1px dashed #2c2c2c;color:var(--muted)}
.evidence-row{border-top:1px solid #2c2c2c}
.evidence-row:first-of-type{border-top:none}
.evidence-title span{color:var(--muted)}
.review-form label{color:#f4f3ef}
textarea{border:1px solid #2c2c2c;background:#242424;color:var(--text);outline:none}
.solid-button{background:#3a3a3a;border:1px solid rgba(138,180,255,0.45);color:#f4f3ef}
.outline-button{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.quiet-button{border:1px solid var(--border);background:#1f1f1f;color:#dedcd4}
.review-dialog{background:#1f1f1f;color:var(--text);border:1px solid #3a3a3a;box-shadow:0 20px 80px transparent}
.review-dialog::backdrop{background:rgba(24,24,24,0.72)}
.review-dialog p{color:var(--muted)}
.profiles-source{color:var(--muted)}
.view-toggle{border:1px solid var(--border);background:#1f1f1f}
.view-toggle button{color:#dedcd4;background:transparent;border:none}
.view-toggle button.active{color:#f4f3ef;background:#2c2c2c}
.profile-notice{color:#b8b6ae}
.profile-sidebar{background:#1f1f1f;border:1px solid var(--border)}
.aside-title{border-bottom:1px solid var(--border)}
.aside-title span{color:var(--muted)}
.profile-entries{scrollbar-color:#3a3a3a transparent}
.profile-option{border-bottom:1px solid var(--border);color:#f4f3ef;border-left:3px solid transparent}
.profile-option:hover{background:#2c2c2c}
.profile-option.selected{background:#2c2c2c;border-left-color:rgba(138,180,255,0.45)}
.profile-option small{color:var(--muted)}
.profile-option-foot{color:#b8b6ae}
.profile-option-foot b{color:#f0b660}
.quiet-tag{color:var(--muted)}
.profile-stat{border:1px solid #2c2c2c;background:#1f1f1f}
.profile-stat small{color:#b8b6ae}
.profile-secondary{color:#b8b6ae}
.inner-panel{background:#1f1f1f;border:1px solid var(--border)}
.driver-tile{color:#f4f3ef;border:1px solid #2c2c2c;background:#242424}
.driver-tile:hover{background:#2c2c2c}
.driver-tile span{color:#b8b6ae}
.driver-tile b{color:#f4f3ef}
.driver-tile small{color:#b8b6ae}
.situational{color:#f4f3ef}
.caution{color:#f0b660!important}
.profile-inner-tabs{border-bottom:1px solid var(--border)}
.profile-inner-tabs button{color:#dedcd4;background:transparent;border:1px solid var(--border)}
.profile-inner-tabs button.active{background:#3a3a3a;color:#f4f3ef;border-color:#3a3a3a}
.table-wrap th,.table-wrap td{border-bottom:1px solid var(--border)}
.table-wrap th{color:#b8b6ae}
.source-details{border-top:1px solid var(--border)}
.source-details summary,.profile-tab summary{color:#dedcd4}
.phone-frame{border:7px solid #2c2c2c;background:#181818;box-shadow:0 10px 24px transparent}
.phone-speaker{background:#181818}
.phone-header{border-bottom:1px solid #2c2c2c}
.phone-header small{color:#b8b6ae}
.phone-no-messages{color:#b8b6ae}
.phone-bottom{background:#3a3a3a}
.lesson-card{background:#1f1f1f;border:1px solid var(--border)}
.lesson-card p{color:#dedcd4}
.lesson-meta strong{color:#dedcd4}
.info-note{border:1px solid #2c2c2c;background:#1f1f1f;color:#dedcd4}
.status-line{border-top:1px solid var(--border)}
.status-line:first-of-type{border-top:0}
.status-line span{color:#dedcd4}
.settings-page code{color:#8ab4ff}
.login-body{background:radial-gradient(ellipse at 50% 35%,#1f1f1f 0%,#181818 72%)}
.portal-login-card{border:1px solid #2c2c2c;background:#1f1f1f;box-shadow:0 12px 60px transparent}
.portal-wordmark{color:#f4f3ef}
.portal-wordmark span{color:#b8b6ae}
.portal-login-card p{color:#b8b6ae}
.portal-login-card label{color:#dedcd4}
.portal-login-card input{color:#f4f3ef;border:1px solid #2c2c2c;background:#242424;outline:none}
.portal-login-card input:focus{border-color:rgba(138,180,255,0.45)}
.portal-login-card button{background:#f4f3ef;border:0;color:#181818}
.portal-login-card button:hover{background:#f4f3ef;color:#181818}
.portal-login-card>small{color:#b8b6ae}
.portal-login-card .login-error{color:#ff7b6e}
.review-step{background:#1f1f1f;border:1px solid var(--border)}
.step-label{color:#dedcd4}
.review-options label{border:1px solid #2c2c2c;background:#2c2c2c;color:#f4f3ef}
.review-options label:has(input:checked){border-color:rgba(138,180,255,0.45);background:#3a3a3a}
.staged-review label{color:#f4f3ef}
.sms-bubble{background:#2c2c2c;color:#f4f3ef}
.sms-bubble.outbound{background:#f4f3ef;color:#181818}
@media(max-width:700px){:root{--bg:#242424;--bg2:#242424;--panel:#1f1f1f;--panel-alt:#1f1f1f;--border:#2c2c2c;--line:#2c2c2c;--text:#f4f3ef;--muted:#b8b6ae;--sub:#dedcd4;--blue:#8ab4ff}
body{background:radial-gradient(ellipse at 30% 0%,#1f1f1f 0,#242424 65%)}
.appbar{background:#242424;box-shadow:0 1px 0 transparent}
.mobile-top-nav a{border:1px solid #3a3a3a;background:#1f1f1f;color:#dedcd4}
.mobile-top-nav a.active{background:linear-gradient(rgba(138,180,255,0.28),#2c2c2c);border-color:rgba(138,180,255,0.45);box-shadow:inset 0 0 0 1px rgba(138,180,255,0.45)}
.menu-toggle{border:0;background:#2c2c2c}
.menu-toggle span{background:#f4f3ef;color:#181818}
.menu-toggle:hover,.menu-toggle[aria-expanded='true']{background:#3a3a3a}
.portal-scrim:not([hidden]){border:0;background:rgba(24,24,24,0.73)}
.portal-controls:not([hidden]){border-left:1px solid rgba(138,180,255,0.45);background:linear-gradient(150deg,#2c2c2c,#1f1f1f 75%);box-shadow:-16px 0 45px transparent}
.mobile-drawer-head{border-bottom:1px solid #2c2c2c}
.mobile-drawer-head small{color:#8ab4ff}
.mobile-drawer-head button{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.portal-nav a{border:1px solid transparent;background:transparent;color:#f4f3ef}
.portal-nav a.active{border-color:rgba(138,180,255,0.45);background:rgba(138,180,255,0.20);color:white}
.portal-nav a:focus-visible,.mobile-top-nav a:focus-visible,.mobile-open-case:focus-visible{outline:2px solid rgba(138,180,255,0.45)}
.mobile-menu-section{color:#8ab4ff}
.mobile-search{border:1px solid #3a3a3a;background:#1f1f1f;color:#dedcd4}
.mobile-search input{border:0;outline:none;background:none;color:#f4f3ef}
.mobile-search input::placeholder{color:#b8b6ae}
.mobile-search:focus-within{border-color:rgba(138,180,255,0.45)}
.mobile-filter-toggle{border:1px solid rgba(138,180,255,0.45);background:#3a3a3a;color:#f4f3ef}
.mobile-filter-toggle.is-open{background:#f4f3ef;color:#181818}
.mobile-filter-fields:not([hidden]){background:#1f1f1f;border:1px solid #3a3a3a}
.mobile-field-grid label{color:#dedcd4}
.mobile-field-grid select,.mobile-field-grid input{border:1px solid #3a3a3a;background:#1f1f1f;color:#f4f3ef}
.mobile-filter-actions button{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.mobile-filter-actions .mobile-apply{background:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}
.mobile-retro-switch{border:1px solid #3a3a3a;background:#242424}
.mobile-retro-thumb{border:1px solid rgba(138,180,255,0.45);background:linear-gradient(#f4f3ef,#3a3a3a);box-shadow:0 1px 6px transparent;color:#181818}
.mobile-retro-switch button{border:0;background:transparent;color:#dedcd4}
.mobile-retro-switch button.on{color:#f4f3ef}
.mobile-case-item{border:1px solid #2c2c2c;background:linear-gradient(120deg,#1f1f1f,#1f1f1f)}
.mobile-case-item.priority-edge-urgent{border-left:4px solid rgba(255,123,110,0.45)}
.mobile-case-item.priority-edge-medium{border-left:4px solid rgba(240,182,96,0.45)}
.mobile-case-item.priority-edge-low{border-left:4px solid rgba(138,180,255,0.45)}
.mobile-case-item.expanded{border-color:rgba(138,180,255,0.45);background:#2c2c2c}
.mobile-case-toggle{border:0;background:transparent;color:#f4f3ef}
.mobile-card-icon{color:#dedcd4}
.mobile-card-text small{color:#dedcd4}
.mobile-case-detail:not([hidden]){border-top:1px solid #3a3a3a;background:#2c2c2c}
.mobile-case-facts small{color:#8ab4ff}
.mobile-case-facts strong{color:#f4f3ef}
.mobile-open-case{border:1px solid rgba(138,180,255,0.45);background:#3a3a3a;color:#f4f3ef}
.training-page .lesson-card{background:#1f1f1f;border-color:#2c2c2c}
.profile-sidebar{border-color:#2c2c2c;background:#1f1f1f}
.profile-option.selected{background:#2c2c2c;border-left-color:rgba(138,180,255,0.45)}
.profile-card{background:#1f1f1f;border-color:#2c2c2c}
.mobile-fullcase-main .back-link{background:#1f1f1f;border-bottom:1px solid #3a3a3a;color:#f4f3ef}
.mobile-fullcase-main .detail-surface,.mobile-fullcase-main .detail-panel{background:#1f1f1f;border-color:#2c2c2c}}
.person-picker{color:inherit;background:var(--panel,#1f1f1f);border:1px solid var(--border,#2c2c2c)}
.weekly-plan-heading nav{color:#dedcd4}
.weekly-plan-heading nav a{border:1px solid #3a3a3a;color:#f4f3ef}
.week-scroll{border:1px solid #2c2c2c}
.week-days{background:#1f1f1f}
.week-days>div,.week-observations>div{border-right:1px solid #2c2c2c}
.week-days>div:last-child,.week-observations>div:last-child{border-right:0}
.week-days strong{color:#f4f3ef}
.week-days span{color:#b8b6ae}
.week-observations{border-top:1px solid #2c2c2c}
.week-observations>div{color:#dedcd4}
.week-route-row{border-top:1px solid #2c2c2c}
.week-route-miles{color:#8ab4ff}
.week-route-miles small{color:#b8b6ae}
.week-route-line{color:#f4f3ef}
.week-route-arrow{border-top:2px solid rgba(138,180,255,0.45)}
.week-route-arrow::after{border-top:2px solid rgba(138,180,255,0.45);border-right:2px solid rgba(138,180,255,0.45)}
.week-route-number{color:#b8b6ae}
.week-source{color:#b8b6ae}
@media(max-width:700px){.mobile-compact-driver,.mobile-compact-situation{background:#1f1f1f;border:1px solid #2c2c2c}
.rp-kicker{color:#8ab4ff}
.rp-company{color:#b8b6ae}
.rp-pay{color:#f4f3ef;background:#2c2c2c;border:1px solid #3a3a3a}
.rp-facts{border-top:1px solid #2c2c2c;border-bottom:1px solid #2c2c2c}
.rp-fact{border-right:1px solid #2c2c2c}
.rp-fact:last-child{border-right:0}
.rp-fact small{color:#b8b6ae}
.rp-wtd{color:#8ab4ff;background:#2c2c2c;border:1px solid #3a3a3a}
.rp-fin-box{border:1px solid #2c2c2c;background:#1f1f1f}
.rp-fin-box small{color:#dedcd4}
.rp-fin-box:first-child strong{color:#f4f3ef}
.rp-plan-title span{color:#dedcd4}
.rp-timeline{border:1px solid #2c2c2c;background:#1f1f1f}
.rp-days{border-bottom:1px solid #2c2c2c}
.rp-day{background:#1f1f1f;border-right:1px solid #2c2c2c}
.rp-day:last-child{border:0}
.rp-day span{color:#dedcd4}
.rp-week-row{border-top:1px solid #2c2c2c}
.rp-week-row a,.rp-week-disabled{background:#2c2c2c;border:1px solid #3a3a3a;color:#f4f3ef}
.rp-week-center small{color:#b8b6ae}
.rp-plan-note{color:#dedcd4}
.rp-plan-source{color:#b8b6ae}
.mobile-compact-situation{border-bottom:0}
.rp-status-tag{color:#7dd3a8;border:1px solid rgba(125,211,168,0.45);background:rgba(125,211,168,0.20)}
.rp-status-desc{color:#dedcd4}
.profile-tabs-card{border-top:0;background:#1f1f1f;border-color:#2c2c2c}
.profile-inner-tabs{border-top:1px solid #2c2c2c;border-bottom:0}
.profile-inner-tabs button{border:1px solid #3a3a3a;background:#1f1f1f;color:#dedcd4}
.profile-inner-tabs button.active{background:rgba(138,180,255,0.28);border-color:rgba(138,180,255,0.45);color:#f4f3ef}
.mobile-message-switch button{border:1px solid #3a3a3a;color:#dedcd4;background:#2c2c2c}
.mobile-message-switch button.active{background:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}}
:root{--bg:#181818;--bg2:#242424;--panel:#1f1f1f;--panel-alt:#242424;--blackpanel:#181818;--border:#2c2c2c;--line:#2c2c2c;--text:#f4f3ef;--muted:#b8b6ae;--sub:#dedcd4;--blue:#8ab4ff}
html{background:#181818}
body{background:linear-gradient(170deg,#181818,#181818 75%);color:#f4f3ef}
.appbar{background:#242424;box-shadow:0 1px 0 transparent}
.portal-controls{background:#1f1f1f;border-color:#2c2c2c}
.app-main h1,.app-main h2,.app-main h3,.case-title,.detail-surface h1,.detail-panel h2,.profile-card h2,.profile-card h3,.section-head h2,.section-head h3{color:#f4f3ef}
.detail-surface,.detail-panel,.profile-card,.lesson-card,.zero-state,.issue-card,.inner-panel{background:#1f1f1f;border-color:#2c2c2c}
.profile-stat{background:#242424;border-color:#2c2c2c}
.profile-stat strong,.profile-card strong,.detail-panel strong,.issue-card strong,.rp-fin-box strong{color:#f4f3ef}
.lesson-card p,.profile-secondary,.detail-panel p,.case-summary{color:#dedcd4}
.profile-inner-tabs button:not(.active){background:#242424;color:#f4f3ef;border-color:#2c2c2c}
.profile-inner-tabs button.active{background:rgba(138,180,255,0.20);color:#f4f3ef;border-color:rgba(138,180,255,0.45)}
@media(max-width:700px){:root{--bg:#181818;--bg2:#242424;--panel:#1f1f1f;--panel-alt:#242424;--border:#2c2c2c;--line:#2c2c2c;--text:#f4f3ef;--muted:#b8b6ae;--sub:#dedcd4;--blue:#8ab4ff}
body{background:linear-gradient(170deg,#242424,#181818 80%);color:#f4f3ef}
.appbar{background:#242424}
.mobile-top-nav a{background:#242424;border-color:#3a3a3a;color:#f4f3ef}
.mobile-top-nav a.active{background:linear-gradient(rgba(138,180,255,0.20),#2c2c2c);color:#f4f3ef}
.menu-toggle{background:#2c2c2c}
.portal-controls:not([hidden]){background:linear-gradient(#1f1f1f,#242424)}
.mobile-profiles-form .mobile-search,.mobile-profiles-form .person-picker{background:#242424;border-color:#2c2c2c;color:#f4f3ef}
.mobile-profiles-form input,.mobile-profiles-form select{color:#f4f3ef}
.mobile-retro-switch{background:#242424;border-color:#2c2c2c}
.mobile-retro-switch button{color:#dedcd4}
.mobile-retro-switch button.on{color:#f4f3ef}
.mobile-filter-toggle{background:#2c2c2c;color:#f4f3ef}
.mobile-filter-fields:not([hidden]){background:#1f1f1f;border-color:#2c2c2c}
.mobile-compact-driver,.mobile-compact-situation,.profile-tabs-card,.profile-content .profile-card,.mobile-case-item,.training-page .lesson-card{background:#1f1f1f;border-color:#2c2c2c;color:#f4f3ef}
.rp-kicker,.rp-company{color:#b8b6ae}
.rp-identity h2,.rp-fin-title strong,.rp-plan-title strong,.rp-status-head strong,.rp-fact strong,.rp-week-center strong,.rp-fin-box strong{color:#f4f3ef}
.rp-fin-box:first-child strong{color:#f4f3ef}
.rp-pay{background:#2c2c2c;color:#f4f3ef;border-color:#3a3a3a}
.rp-facts{border-top-color:#2c2c2c;border-bottom-color:#2c2c2c}
.rp-fact{border-right-color:#2c2c2c}
.rp-fact small,.rp-fin-box small,.rp-status-desc,.rp-plan-title span,.rp-week-center small,.rp-plan-source{color:#dedcd4}
.rp-fin-box,.profile-stat{background:#242424;border-color:#2c2c2c}
.rp-timeline{background:#242424;border-color:#2c2c2c}
.rp-day{background:#1f1f1f;border-color:#2c2c2c}
.rp-day span{color:#f4f3ef}
.rp-week-row{border-top-color:#2c2c2c}
.rp-week-row a,.rp-week-disabled{background:#2c2c2c;border-color:#3a3a3a;color:#f4f3ef}
.rp-wtd{background:#2c2c2c;color:#8ab4ff;border-color:#3a3a3a}
.profile-content .mobile-compact-situation{background:#1f1f1f!important;border-color:#2c2c2c!important;border-bottom:0!important}
.profile-content .profile-tabs-card{background:#1f1f1f!important;border-color:#2c2c2c!important;border-top:0!important}
.profile-content .profile-inner-tabs{border-top:0!important;border-bottom:0!important}
.profile-content .profile-inner-tabs button{background:#242424;color:#f4f3ef;border-color:#2c2c2c}
.profile-content .profile-inner-tabs button.active{background:rgba(138,180,255,0.20);border-color:rgba(138,180,255,0.45);color:#f4f3ef}
.profile-content .profile-tab{background:#1f1f1f;color:#f4f3ef}
.rp-status-tag{color:#7dd3a8;background:#2c2c2c;border-color:rgba(125,211,168,0.45)}
.mobile-case-toggle,.mobile-card-text strong{color:#f4f3ef}
.mobile-case-detail:not([hidden]){background:#1f1f1f}}
.driver-compact-all{color:#f4f3ef}
.driver-compact-all .mobile-retro-switch{border:1px solid #3a3a3a;background:#242424}
.driver-compact-all .mobile-retro-thumb{background:linear-gradient(#f4f3ef,#3a3a3a);border:1px solid rgba(138,180,255,0.45);color:#181818}
.driver-compact-all .mobile-retro-switch button{border:0;background:transparent;color:#dedcd4}
.driver-compact-all .mobile-retro-switch button.on{color:#f4f3ef}
.driver-compact-all .mobile-filter-toggle{border:1px solid rgba(138,180,255,0.45);background:#2c2c2c;color:#f4f3ef}
.driver-compact-all .mobile-search{border:1px solid #2c2c2c;background:#242424;color:#dedcd4}
.driver-compact-all .mobile-search input{background:transparent;border:0;outline:0;color:#f4f3ef}
.driver-compact-all .person-picker{border:1px solid #2c2c2c;background:#1f1f1f;color:#f4f3ef}
.driver-compact-all .mobile-filter-fields:not([hidden]){background:#1f1f1f;border:1px solid #2c2c2c}
.driver-compact-all .mobile-field-grid label{color:#dedcd4}
.driver-compact-all .mobile-field-grid select,
.driver-compact-all .mobile-field-grid input{border:1px solid #2c2c2c;background:#242424;color:#f4f3ef}
.driver-compact-all .mobile-filter-actions button{border:1px solid #3a3a3a;background:#1f1f1f;color:#f4f3ef}
.driver-compact-all .mobile-filter-actions .mobile-apply{background:#3a3a3a;border-color:rgba(138,180,255,0.45)}
.driver-compact-all .mobile-compact-driver,
.driver-compact-all .mobile-compact-situation{background:#1f1f1f;color:#f4f3ef;border:1px solid #2c2c2c}
.driver-compact-all .rp-kicker{color:#b8b6ae}
.driver-compact-all .rp-company{color:#dedcd4}
.driver-compact-all .rp-identity h2{color:#f4f3ef}
.driver-compact-all .rp-pay{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.driver-compact-all .rp-facts{border-top:1px solid #2c2c2c;border-bottom:1px solid #2c2c2c}
.driver-compact-all .rp-fact{border-right:1px solid #2c2c2c}
.driver-compact-all .rp-fact:last-child{border-right:0}
.driver-compact-all .rp-fact small{color:#dedcd4}
.driver-compact-all .rp-fact strong{color:#f4f3ef}
.driver-compact-all .rp-fin-title strong{color:#f4f3ef}
.driver-compact-all .rp-wtd{border:1px solid #3a3a3a;background:#2c2c2c;color:#8ab4ff}
.driver-compact-all .rp-fin-box{border:1px solid #2c2c2c;background:#242424}
.driver-compact-all .rp-fin-box small{color:#dedcd4}
.driver-compact-all .rp-fin-box strong{color:#f4f3ef}
.driver-compact-all .rp-fin-box:first-child strong{color:#f4f3ef}
.driver-compact-all .rp-plan-title strong{color:#f4f3ef}
.driver-compact-all .rp-plan-title span{color:#dedcd4}
.driver-compact-all .rp-timeline{border:1px solid #2c2c2c;background:#242424}
.driver-compact-all .rp-days{border-bottom:1px solid #2c2c2c}
.driver-compact-all .rp-day{border-right:1px solid #2c2c2c;background:#1f1f1f}
.driver-compact-all .rp-day:last-child{border:0}
.driver-compact-all .rp-day span{color:#f4f3ef}
.driver-compact-all .rp-week-row{border-top:1px solid #2c2c2c}
.driver-compact-all .rp-week-row a,
.driver-compact-all .rp-week-disabled{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.driver-compact-all .rp-week-center strong{color:#f4f3ef}
.driver-compact-all .rp-week-center small{color:#dedcd4}
.driver-compact-all .rp-plan-note{color:#dedcd4}
.driver-compact-all .rp-plan-source{color:#b8b6ae}
.driver-compact-all .mobile-compact-situation{border-bottom:0}
.driver-compact-all .rp-status-head strong{color:#f4f3ef}
.driver-compact-all .rp-status-tag{color:#7dd3a8;background:#2c2c2c;border:1px solid rgba(125,211,168,0.45)}
.driver-compact-all .rp-status-desc{color:#dedcd4}
.driver-compact-all .profile-tabs-card{background:#1f1f1f;border:1px solid #2c2c2c;border-top:0;box-shadow:none}
.driver-compact-all .profile-inner-tabs{border:0!important;outline:0!important;box-shadow:none}
.driver-compact-all .profile-inner-tabs button{border:1px solid #2c2c2c;background:#242424;color:#f4f3ef}
.driver-compact-all .profile-inner-tabs button.active{background:rgba(138,180,255,0.20);border-color:rgba(138,180,255,0.45);color:#f4f3ef}
.driver-compact-all .profile-tab{background:#1f1f1f;color:#f4f3ef}
.driver-compact-all .mobile-message-switch button{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.driver-compact-all .mobile-message-switch button.active{background:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}
.driver-compact-all .rp-route-unavailable{background:#242424;border-top:1px solid #2c2c2c;color:#f4f3ef}
.driver-compact-all .rp-route-unavailable strong{color:#f4f3ef}
.driver-compact-all .rp-route-unavailable p{color:#dedcd4}
.driver-compact-all .rp-route-unavailable a{color:#8ab4ff}
.driver-compact-all [data-current-driver-picker]{color:#f4f3ef}
.driver-compact-all .rp-basis{color:#b8b6ae}
.driver-compact-all .rp-day.rp-day-home{background:rgba(240,182,96,0.25)!important;border-color:rgba(240,182,96,0.22)!important}
.driver-compact-all .situation-unified{border:1px solid #2c2c2c;background:#1f1f1f}
.driver-compact-all .situation-unified .mobile-compact-situation{background:transparent!important;border:0!important;box-shadow:none!important}
.driver-compact-all .situation-unified .profile-tabs-card{background:transparent!important;border:0!important;box-shadow:none!important}
.driver-compact-all .situation-unified .profile-inner-tabs{border:0!important;outline:0!important;box-shadow:none!important}
.units-shell{color:#f4f3ef}
.units-head small,.units-detail-head small{color:#dedcd4}
.units-toggle{border:1px solid #3a3a3a;background:#242424}
.units-toggle a{color:#f4f3ef}
.units-toggle a.active{background:rgba(138,180,255,0.28);color:#f4f3ef;border:1px solid rgba(138,180,255,0.45)}
.units-disclaimer{color:#b8b6ae}
.units-card{background:#1f1f1f;border:1px solid #2c2c2c}
.units-detail-head p,.units-list p{color:#dedcd4}
.units-detail-head a,.units-card a{color:#8ab4ff}
.units-stats>div{background:#242424;border:1px solid #2c2c2c}
.units-stats small,.units-list small{color:#b8b6ae}
.units-history{border-top:1px solid #2c2c2c}
.units-history small{color:#b8b6ae}
.units-history-times{color:#dedcd4}
.units-field-list span{background:#242424;border:1px dashed #2c2c2c;color:#dedcd4}
.units-filter input,.units-filter select{border:1px solid #2c2c2c;background:#242424;color:#f4f3ef}
.units-filter button{background:#3a3a3a;border:1px solid rgba(138,180,255,0.45);color:#f4f3ef}
.units-list .units-number{color:#f4f3ef}
.driver-compact-all .rp-expand-field summary:after{color:#dedcd4}
.driver-compact-all .rp-expand-field[open]{background:#242424;border:1px solid #2c2c2c}
.driver-compact-all .rp-field-list{border-top:1px solid #2c2c2c}
.driver-compact-all .rp-field-line{border-bottom:1px solid #2c2c2c}
.driver-compact-all .rp-field-line:last-child{border-bottom:0}
.driver-compact-all .rp-field-line small{color:#b8b6ae}
.driver-compact-all .rp-fact a,.driver-compact-all .rp-fin-box a{color:#f4f3ef;text-decoration-color:#8ab4ff}
.driver-compact-all .rp-pay-menu[open]{border:1px solid #3a3a3a;background:#1f1f1f}
.driver-compact-all .rp-pay-menu .rp-field-list{background:#242424;border:1px solid #2c2c2c;box-shadow:0 10px 22px transparent}
@media(min-width:701px){.desktop-sidebar{scrollbar-color:#2c2c2c transparent;background:#242424;border-right:1px solid #2c2c2c;color:#f4f3ef}
.desktop-sidebar-heading{border-bottom:1px solid #2c2c2c}
.desktop-sidebar-heading small{color:#8ab4ff}
.desktop-sidebar-heading strong{color:#f4f3ef}
.desktop-sidebar-section{color:#b8b6ae}
.desktop-sidebar-nav a{border:1px solid transparent;background:transparent;color:#dedcd4}
.desktop-sidebar-nav a:hover,.desktop-sidebar-nav a:focus-visible{background:#2c2c2c;color:#f4f3ef}
.desktop-sidebar-nav a.active{border-color:rgba(138,180,255,0.45);background:#3a3a3a;color:#f4f3ef}}
.dispatch-week-view .dispatch-week-nav a,.dispatch-week-view .dispatch-week-disabled{border:1px solid #3a3a3a;background:#2c2c2c;color:#f4f3ef}
.dispatch-week-view .dispatch-week-nav a:hover,.dispatch-week-view .dispatch-week-nav a:focus-visible{background:#3a3a3a;border-color:rgba(138,180,255,0.45)}
.dispatch-week-view .dispatch-week-label strong{color:#f4f3ef}
.dispatch-week-view .dispatch-week-label small{color:#dedcd4}
.dispatch-week-view .dispatch-week-note{color:#dedcd4}
:root{--bg:#181818;--bg2:#242424;--panel:#242424;--panel-alt:#1f1f1f;--blackpanel:#242424;--border:#2c2c2c;--line:#2c2c2c;--text:#f4f3ef;--muted:#b8b6ae;--sub:#dedcd4;--blue:#8ab4ff;--shadow:0 10px 28px transparent;--sms-surface:#918f88;--sms-recess:#918f88;--sms-raised:#918f88;--sms-stroke:#918f88;--sms-hover:#918f88;--sms-selected:#918f88}
html,body{background-color:var(--bg);color:var(--text)}
a{color:#8ab4ff;text-decoration-color:#b8b6ae}
a:hover{color:#dedcd4}
:where(a,button,input,select,textarea,summary):focus-visible{outline-color:rgba(138,180,255,0.45)}
.appbar{background-color:#242424;box-shadow:0 1px 0 transparent}
.app-brand,.brand-label strong{color:#f4f3ef}
.brand-label small{color:#b8b6ae}
.brand-icon{background:#2c2c2c;border-color:#3a3a3a;color:#f4f3ef}
.environment-stamp{background:#1f1f1f;border-color:#2c2c2c;color:#8ab4ff}
.desktop-sidebar{background-color:#242424;border-color:#2c2c2c}
.desktop-sidebar-heading{border-color:#2c2c2c}
.desktop-sidebar-heading small,.desktop-sidebar-section{color:#b8b6ae}
.desktop-sidebar-heading strong{color:#f4f3ef}
.desktop-sidebar-nav a{color:#dedcd4}
.desktop-sidebar-nav a:hover,.desktop-sidebar-nav a:focus-visible{background:#1f1f1f;color:#f4f3ef}
.desktop-sidebar-nav a.active{background:#2c2c2c;border-color:#2c2c2c;color:#f4f3ef}
.portal-controls{background-color:#242424;border-color:#2c2c2c}
.portal-nav a{background-color:#1f1f1f;border-color:#2c2c2c;color:#dedcd4}
.portal-nav a.active,.portal-nav a:hover{background-color:#2c2c2c;border-color:#2c2c2c;color:#f4f3ef}
.menu-toggle,.menu-toggle[aria-expanded="true"]{background-color:#1f1f1f}
.menu-toggle span{background-color:#f4f3ef;color:#181818}
.mobile-top-nav a{background:#1f1f1f;border-color:#2c2c2c;color:#dedcd4}
.mobile-top-nav a.active{background:#2c2c2c;border-color:rgba(138,180,255,0.45);color:#f4f3ef}
:where(.app-main) :is(h1,h2,h3){color:#f4f3ef}
:where(.app-main) :is(.overline,.rp-kicker,.units-kicker,.eyebrow){color:#b8b6ae}
:where(.app-main) :is(.small-muted,.muted,.quiet-tag,.profiles-source,.rp-plan-note,
 .rp-plan-source,.units-disclaimer,.units-muted,.case-age){color:#b8b6ae}
:where(.app-main) :is(.detail-panel,.detail-surface,.profile-card,.lesson-card,
 .issue-card,.inner-panel,.zero-state,.units-card,.units-list-card,.profile-sidebar){background-color:#242424;border-color:#2c2c2c;box-shadow:0 1px 0 transparent;color:#f4f3ef}
:where(.app-main) :is(.desk-tools,.profile-toolbar,.mobile-filter-fields,
 .profile-notice,.filter-bar,.source-details,.units-stats > div,.units-summary-grid > div){background-color:#242424;border-color:#2c2c2c;color:#dedcd4}
:where(.app-main) :is(.profile-stat,.field,.fact,.units-stats > div,
 .units-summary-grid > div,.profile-fact,.metric-card){background-color:#242424;border-color:#2c2c2c}
:where(.app-main) :is(.profile-stat small,.field-name,.units-stats small,
 .rp-fin-box small,.units-summary-grid small){color:#b8b6ae}
:where(.app-main) :is(.profile-stat strong,.field-value){color:#f4f3ef}
.app-main .driver-compact-all .mobile-compact-driver{background-color:#242424;border-color:#2c2c2c;color:#f4f3ef}
.app-main .driver-compact-all .situation-unified{background-color:#242424;border-color:#2c2c2c}
.app-main .driver-compact-all .situation-unified :is(.mobile-compact-situation,.profile-tabs-card){background-color:transparent;border-color:transparent}
.app-main .driver-compact-all .rp-fact{border-color:#2c2c2c}
.app-main .driver-compact-all .rp-fact small{color:#b8b6ae}
.app-main .driver-compact-all :is(.rp-fact strong,.rp-identity h2,.rp-fin-title strong,
 .rp-plan-title strong){color:#f4f3ef}
.app-main .driver-compact-all .rp-fin-box{background-color:#242424;border-color:#2c2c2c}
.app-main .driver-compact-all .rp-fin-box small{color:#b8b6ae}
.app-main .driver-compact-all .rp-fin-box strong{color:#f4f3ef}
.app-main .driver-compact-all .rp-wtd{background-color:#1f1f1f;border-color:#2c2c2c;color:#8ab4ff}
.app-main .driver-compact-all .rp-timeline{background-color:#242424;border-color:#2c2c2c}
.app-main .driver-compact-all .rp-days{border-color:#2c2c2c}
.app-main .driver-compact-all .rp-day:not(.rp-day-home){background-color:#1f1f1f;border-color:#2c2c2c}
.app-main .driver-compact-all .rp-day span{color:#f4f3ef}
.app-main .driver-compact-all .rp-route-svg > rect:first-child{fill:#918f88}
.app-main .driver-compact-all .rp-week-row{border-color:#2c2c2c}
.app-main .driver-compact-all :is(.rp-week-row a,.rp-week-disabled){background-color:#1f1f1f;border-color:#2c2c2c;color:#f4f3ef}
.app-main .driver-compact-all .rp-week-row a:hover{background-color:#2c2c2c}
.app-main .driver-compact-all .profile-inner-tabs button{background-color:#1f1f1f;border-color:#2c2c2c;color:#dedcd4}
.app-main .driver-compact-all .profile-inner-tabs button.active{background-color:#2c2c2c;border-color:rgba(138,180,255,0.45);color:#f4f3ef}
.app-main .driver-compact-all .rp-history-pop:not([hidden]){background-color:#242424;border-color:#2c2c2c}
.app-main .driver-compact-all .rp-history-record{border-color:#2c2c2c;color:#f4f3ef}
:where(.app-main) :is(.mobile-search,.search-control,.search-box,.desk-search,
 .person-picker,.profile-toolbar select,.mobile-field-grid input,.mobile-field-grid select,
 .units-filter input,.units-filter select,.units-search input,.units-search select,
 .detail-panel input,.detail-panel select,.detail-panel textarea,.filter-bar select){background-color:#242424;border-color:#2c2c2c;color:#f4f3ef}
:where(.app-main) :is(.mobile-search,.search-control,.search-box,.person-picker):focus-within{border-color:rgba(138,180,255,0.45);outline-color:rgba(138,180,255,0.45)}
:where(.app-main) :is(input,textarea)::placeholder{color:#b8b6ae}
:where(.app-main) :is(.mobile-filter-toggle,.icon-button,.quiet,.rp-mini-arrow,
 .pagination a,.pagination button,.dispatch-week-nav a,.dispatch-week-disabled){background-color:#1f1f1f;border-color:#2c2c2c;color:#f4f3ef}
:where(.app-main) :is(.filter-action,.solid-button,.mobile-apply,.primary,
 .units-filter button,.mobile-filter-actions button[type="submit"]){background-color:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}
:where(.app-main) :is(.filter-action,.solid-button,.mobile-apply,.primary,
 .units-filter button):hover{background-color:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}
:where(.app-main) :is(.mobile-retro-switch,.view-toggle,.units-toggle){background-color:#242424;border-color:#2c2c2c}
:where(.app-main) :is(.mobile-retro-thumb,.view-toggle button.active,
 .units-toggle a.active){background:#2c2c2c;border-color:rgba(138,180,255,0.45);color:#f4f3ef}
:where(.app-main) :is(.tabs a.active,.profile-option.selected,.units-list-card.selected){background-color:#2c2c2c;border-color:#2c2c2c;color:#f4f3ef}
:where(.app-main) :is(.profile-option,.driver-tile,.evidence-row,.case-row,.units-history,
 .rp-field-list,.rp-field-line,.units-history-row){border-color:#2c2c2c;color:#dedcd4}
:where(.app-main) :is(.profile-option,.driver-tile):hover{background-color:#1f1f1f}
:where(.app-main) :is(.issue-card,.driver-tile,.units-list-card){background-color:#242424;border-color:#2c2c2c}
:where(.app-main) :is(.issue-card,.driver-tile,.units-list-card):hover{background-color:#1f1f1f;border-color:#2c2c2c}
:where(.app-main) :is(.table-wrap,.table-wrapper){background-color:#242424;border-color:#2c2c2c}
:where(.app-main) :is(th,td){border-color:#2c2c2c}
:where(.app-main) th{background-color:#1f1f1f;color:#dedcd4}
:where(.app-main) td{background-color:#242424;color:#dedcd4}
:where(.app-main) .dispatch-week-nav{border-color:#2c2c2c}
:where(.app-main) .dispatch-week-nav a:hover{background-color:#2c2c2c;border-color:rgba(138,180,255,0.45)}
:where(.app-main) :is(.settings-grid > *,.phone-frame,.phone-header){background-color:#242424;border-color:#2c2c2c}
:where(.app-main) .sms-thread{background-color:#242424}
:where(.app-main) .sms-bubble{background-color:#1f1f1f;color:#f4f3ef}
:where(.app-main) .sms-bubble.outbound{background-color:#2c2c2c;color:#f4f3ef}
:where(.app-main) :is(.profile-notice,.data-warning){background-color:#1f1f1f;border-color:#2c2c2c}
body.login-body{background-color:#181818}
.portal-login-card{background-color:#242424;border-color:#2c2c2c;box-shadow:0 14px 40px transparent}
.portal-login-card :is(input,select){background-color:#242424;border-color:#2c2c2c;color:#f4f3ef}
.portal-login-card button[type="submit"]{background-color:#f4f3ef;border-color:rgba(138,180,255,0.45);color:#181818}
@media(max-width:700px){.appbar{background-color:#242424}
.portal-controls:not([hidden]){background:#242424;border-color:#2c2c2c}
.portal-nav a{background-color:transparent;border-color:transparent;color:#dedcd4}
.portal-nav a.active{background-color:#2c2c2c;border-color:#2c2c2c;color:#f4f3ef}
.mobile-top-nav a.active{background:#2c2c2c;border-color:rgba(138,180,255,0.45);color:#f4f3ef}
.mobile-fullcase-main .detail-surface,.mobile-fullcase-main .detail-panel{background-color:#242424;border-color:#2c2c2c}}

/* v2: side menu (wider screens) as plain rows; the selected row is a lighter grey */
.desktop-sidebar{background:#1f1f1f!important;border-color:#2c2c2c!important}
.desktop-sidebar-heading{border-color:#2c2c2c!important}
.desktop-sidebar-heading small,.desktop-sidebar-section{color:#918f88!important}
.desktop-sidebar-heading strong{color:#f4f3ef!important}
.desktop-sidebar-nav a{color:#b8b6ae!important;background:transparent!important;border-color:transparent!important;border-radius:10px!important}
.desktop-sidebar-nav a:hover,.desktop-sidebar-nav a:focus-visible{background:#242424!important;color:#f4f3ef!important}
.desktop-sidebar-nav a.active{background:#2c2c2c!important;color:#f4f3ef!important}
/* v2: the light pill for selected toggles and tabs */
.mobile-retro-thumb{background:#f4f3ef!important;border-color:#f4f3ef!important}
.mobile-retro-switch button.on,.driver-compact-all .mobile-retro-switch button.on{color:#181818!important}
.view-toggle button.active,.profile-inner-tabs button.active,.mobile-message-switch button.active{background:#f4f3ef!important;border-color:#f4f3ef!important;color:#181818!important}
.app-main :is(button,input[type=submit]):not([class]){background:#242424;border-color:#242424;color:#f4f3ef}
/* v2 shapes: cards and panels 14px, buttons and inputs 12px, tags 6px, dialogs 16px */
.app-main :is(.issue-card,.detail-panel,.detail-surface,.profile-card,.lesson-card,.inner-panel,.zero-state,.units-card,
 .units-list-card,.desk-tools,.profile-toolbar,.mobile-filter-fields,.profile-notice,.data-warning,.table-wrap,.table-wrapper,
 .profile-sidebar,.situation-unified,.mobile-compact-driver,.rp-fin-box,.rp-timeline,.settings-grid>*,.driver-tile,
 .source-details,.filter-bar,.phone-frame,.notice,.preview-banner,.mobile-retro-switch,.view-toggle,.units-toggle){border-radius:14px!important}
.app-main :is(button,.button,.solid-button,.primary,.quiet,.icon-button,.filter-action,.mobile-apply,.mobile-filter-toggle,
 .pagination a,.rp-week-row a,.rp-week-disabled,.dispatch-week-nav a,.dispatch-week-disabled,.rp-mini-arrow,
 input:not([type=checkbox]):not([type=radio]),select,textarea,.search-control,.mobile-search,.person-picker,
 .units-toggle a,.view-toggle button,.profile-inner-tabs button,.mobile-retro-thumb){border-radius:12px!important}
.app-main :is(.priority,.dept-chip,.quiet-tag){border-radius:6px!important}
dialog{border-radius:16px!important}

/* page chrome and SVG presentation attributes (not in app.css) */
html,body{background:#181818}
.rp-route-svg>rect:first-of-type{fill:#242424}
.rp-route-svg>rect[opacity]{fill:#f0b660}
.rp-route-svg>line{stroke:#2c2c2c}
.rp-route-svg text,.rp-route-svg g text{fill:#f4f3ef}
.rp-route-svg g line,.rp-route-svg g path{stroke:#f4f3ef}

/* ---- v2 layout: serif for big names (Newsreader 500, OFL, vendored in static/fonts) ---- */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/newsreader-500.woff2) format('woff2')}
/* links, tags and urgency (every width) */
.app-main a:not([class]){color:#f4f3ef;text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:3px}
.app-main :is(.dept-chip,.quiet-tag,.rp-wtd,.rp-status-tag){background:transparent!important;border:1px solid #3a3a3a!important;border-radius:5px!important;padding:0 6px!important;font-size:11px!important;line-height:16px!important;font-weight:700!important;letter-spacing:.04em!important;color:#b8b6ae!important;box-shadow:none!important}
.app-main .priority{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;font-size:12px!important;line-height:18px!important;font-weight:700!important;letter-spacing:.06em!important;color:#b8b6ae!important}
.app-main .priority.urgent{color:#ff7b6e!important}.app-main .priority.medium{color:#f0b660!important}.app-main .priority.low{color:#8ab4ff!important}.app-main .priority.ignore{color:#918f88!important}
.urg-tile{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#242424;color:#b8b6ae}
.urg-tile svg{width:20px;height:20px}.urg-tile rect{fill:currentColor}
.urg-tile.urgent{background:rgba(255,123,110,0.14);color:#ff7b6e}.urg-tile.medium{background:rgba(240,182,96,0.14);color:#f0b660}.urg-tile.low{background:rgba(138,180,255,0.14);color:#8ab4ff}
/* Issues: header, status tabs, rows (every width) */
.app-main>.desk-expanded-controls{display:block!important}
.desk-heading{display:flex;align-items:center;gap:4px}.desk-heading>div:first-child{flex:1;min-width:0}
.desk-meta{margin:0;font-size:14px;line-height:20px;color:#b8b6ae}.desk-meta-sub{margin:0;font-size:13px;line-height:18px;color:#918f88}
.desk-heading-right{display:flex}.desk-heading-right .icon-button{width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;border:0!important;background:transparent!important;color:#b8b6ae!important;border-radius:12px!important;padding:0!important}
.desk-heading-right .icon-button svg{width:21px;height:21px}
.app-main .desk-tools{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.app-main .tabs{display:flex!important;gap:20px!important;margin-top:14px;padding:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;background:transparent!important;border-radius:0!important;overflow-x:auto;scrollbar-width:none}
.app-main .tabs a{flex:none;height:44px;display:flex!important;align-items:center;margin-bottom:-1px;padding:0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;color:#918f88!important;text-decoration:none;white-space:nowrap}
.app-main .tabs a.active{color:#f4f3ef!important;border-bottom-color:#f4f3ef!important;box-shadow:none!important}
.app-main .case-list{display:flex!important;flex-direction:column;gap:0!important;margin-top:6px}
.app-main a.issue-card{display:flex!important;gap:14px;padding:16px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit;text-decoration:none}
.issue-card .case-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.issue-card .case-topline{display:flex!important;align-items:center;gap:8px;min-height:18px;margin:0!important}
.issue-card .dept-chips{display:flex;gap:8px}.issue-card .case-age{margin-left:auto;font-size:13px;color:#918f88}
.issue-card .case-title{font-size:16px!important;line-height:22px!important;font-weight:600!important;color:#f4f3ef!important;margin:0!important}
.issue-card .case-summary{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;font-size:14px!important;line-height:20px!important;color:#b8b6ae!important;margin:0!important}
.issue-card .case-meta{display:flex;flex-wrap:wrap;gap:0 14px;margin-top:2px;font-size:13px;line-height:18px;color:#b8b6ae}
.issue-card .case-meta small{font-size:13px;color:#918f88}
.case-state{display:inline-flex;align-items:center;gap:4px}.case-state svg{width:15px;height:14px}.case-state.reviewed,.case-state.resolved{color:#7dd3a8}
.app-main .mobile-case-item{display:none!important}
.app-main .desk-footnote{font-size:13px;line-height:18px;color:#918f88}
.app-main :is(.data-warning,.profile-notice){margin:14px 0 0!important;padding:12px 14px!important;border:0!important;border-radius:12px!important;background:#242424!important;box-shadow:none!important;font-size:13px!important;line-height:19px!important;color:#b8b6ae!important}
.app-main :is(.data-warning,.profile-notice) strong{font-weight:600;color:#f4f3ef}
@media (max-width:900px){
/* page frame: 20px sides like the design */
.app-main{padding-left:20px!important;padding-right:20px!important}
.app-main>.desk-expanded-controls{margin:0!important}.app-main .mobile-workspace-tools{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
/* page meta instead of titles */
.app-main .page-heading .overline{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.08em;color:#918f88;margin:0!important}
.app-main .page-heading p:not(.overline){font-size:14px;line-height:20px;color:#b8b6ae;margin:4px 0 0}
.app-main .desk-search{display:none!important}
/* search row, filter button, segmented toggles */
.app-main .mobile-search-row{display:flex;gap:8px;margin-top:14px}
.app-main .mobile-search{flex:1;min-width:0;height:44px;display:flex;align-items:center;gap:10px;padding:0 14px!important;border:0!important;border-radius:12px!important;background:#242424!important;color:#918f88!important;box-shadow:none!important}
.app-main .mobile-search svg{width:19px;height:19px;flex:none}
.app-main .mobile-search input{flex:1;min-width:0;height:42px!important;min-height:0!important;border:0!important;background:transparent!important;padding:0!important;font-size:15px!important;color:#f4f3ef!important;outline:0;box-shadow:none!important}
.app-main .mobile-filter-toggle{height:44px;display:flex!important;align-items:center;gap:8px;padding:0 14px!important;border:0!important;border-radius:12px!important;background:#242424!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;color:#f4f3ef!important}
.app-main .mobile-filter-toggle svg{width:18px;height:18px}
/* flat sections: no boxes inside boxes */
.app-main :is(.detail-panel,.detail-surface,.inner-panel,.profile-card,.situation-unified,.profile-tabs-card,.settings-grid>*){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.app-main :is(.detail-panel,.inner-panel,.profile-card,.situation-unified,.detail-surface){margin:0 0 28px!important}
.app-main :is(.settings-grid,.detail-grid){display:block!important;margin:0!important}
.app-main :is(.detail-panel>h2,.inner-panel>h3,.detail-panel>summary,.source-details>summary,.profile-tab>h3,.rp-status-head>strong,.legacy-driver-situation h3){font-size:18px!important;line-height:24px!important;font-weight:600!important;color:#f4f3ef!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 4px!important}
.app-main .detail-panel p{font-size:15px;line-height:21px;color:#b8b6ae}
.app-main code{background:transparent!important;border:0!important;padding:0!important;color:#f4f3ef!important;font-size:13px}
.app-main .page-heading{display:block!important;margin:0 0 24px!important;padding:0!important;background:transparent!important;border:0!important}
.app-main :is(.detail-panel,.inner-panel,.profile-tab) .small-muted{font-size:13px!important;line-height:18px!important;color:#918f88!important}
.app-main .status-line{display:flex!important;justify-content:space-between;align-items:center;gap:16px;padding:12px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;background:transparent!important;font-size:14px;line-height:20px}
.app-main .status-line strong{font-size:14px!important;font-weight:400!important;letter-spacing:0!important;color:#918f88!important}
.app-main .settings-grid>:first-child .status-line strong{font-size:12px!important;font-weight:700!important;letter-spacing:.06em!important}
.app-main .status-line span{text-align:right;color:#dedcd4!important;font-size:15px}
.app-main .detail-panel>h2+p>a{margin-right:14px}
/* fields and buttons */
.app-main :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=search]),select,textarea){min-height:44px;padding:0 14px;border:1px solid #242424!important;border-radius:12px!important;background:#242424!important;color:#f4f3ef!important;font-size:15px!important;box-shadow:none!important}
.app-main textarea{padding:12px 14px!important;min-height:64px}
.app-main label>:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){display:block;width:100%;max-width:none;margin-top:6px}
.app-main :is(button,input[type=submit]):not([class]){min-height:44px;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#242424!important;color:#f4f3ef!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;outline-offset:2px}
.app-main :is(input,textarea)::placeholder{color:#918f88!important}
.app-main :is(.solid-button,.outline-button,.filter-action,.mobile-filter-actions button,.review-actions button){min-height:44px;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#242424!important;color:#f4f3ef!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important}
.app-main :is(.mobile-apply,[data-review-next],[data-review-submit],.dialog-actions .solid-button){background:#f4f3ef!important;color:#181818!important}
.app-main .quiet-button{min-height:44px;padding:0 16px!important;background:transparent!important;border:1px solid #3a3a3a!important;border-radius:12px!important;color:#b8b6ae!important;font-size:15px!important;font-weight:600!important}
/* case page */
.app-main .case-detail .back-link{display:inline-flex!important;align-items:center;gap:6px;height:44px;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;font-weight:600!important;color:#b8b6ae!important;text-decoration:none}
.app-main .detail-first{display:grid!important;grid-template-columns:40px auto 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;margin-top:8px}
.app-main .detail-first .urg-tile{grid-row:1/3}.app-main .detail-first .priority{grid-column:2}.app-main .detail-first .dept-chips{grid-column:3;display:flex;gap:8px}
.app-main .detail-first .detail-status{grid-column:2/4;grid-row:2;justify-self:start;text-align:left!important;margin:0!important;font-size:13px!important;line-height:18px;font-weight:400!important;letter-spacing:0!important;color:#918f88!important;background:none!important;border:0!important;padding:0!important}
.app-main .case-detail .detail-surface h1{font-family:'Newsreader',Georgia,'Times New Roman',serif!important;font-weight:500!important;font-size:26px!important;line-height:32px!important;letter-spacing:-.01em!important;color:#f4f3ef!important;margin:14px 0 10px!important}
.app-main .case-detail .lead{font-size:16px!important;line-height:22px!important;color:#b8b6ae!important;margin:0!important}
.app-main .case-facts{display:grid!important;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:0!important;margin-top:18px!important;border-top:1px solid #2c2c2c!important;background:transparent!important;padding:0!important}
.app-main .case-facts>div{padding:12px 0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;background:transparent!important;border-radius:0!important}
.app-main .case-facts small{display:block;font-size:13px!important;line-height:18px;color:#918f88!important;text-transform:none!important;letter-spacing:0!important}
.app-main .case-facts strong{font-size:16px!important;line-height:22px;font-weight:600!important;color:#f4f3ef!important}
.app-main .evidence-row{padding:14px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;border-radius:0!important;background:transparent!important}
.app-main .evidence-row p{font-size:16px!important;line-height:22px!important;color:#f4f3ef!important;margin:4px 0 0!important}
.app-main .evidence-title{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#b8b6ae}.app-main .evidence-title strong{font-weight:600;color:#b8b6ae}
.app-main :is(.minor-empty,.rp-route-unavailable){font-size:14px!important;line-height:20px;color:#918f88!important;background:transparent!important;border:0!important;padding:8px 0!important}
.app-main .staged-review{background:#242424!important;border:0!important;border-radius:14px!important;padding:16px!important;margin-top:12px}
.app-main .step-label{font-size:12px;font-weight:700;letter-spacing:.06em;color:#b8b6ae}
.app-main .review-step h3{font-size:17px;line-height:23px;font-weight:600;color:#f4f3ef}
.app-main .review-options label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:15px;color:#f4f3ef}
.app-main .review-actions{display:flex;flex-wrap:wrap;gap:8px}
/* Reports */
.app-main .profiles-shell{display:flex!important;flex-direction:column}
.app-main .profiles-top{order:-1;display:block!important;margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important}
.app-main .profiles-source{display:block!important;font-size:14px!important;line-height:20px;color:#b8b6ae!important;text-align:left!important}
.app-main .profiles-source span{display:block;font-size:13px;line-height:18px;color:#918f88}
.app-main .mobile-profiles-top{display:flex;gap:8px;align-items:stretch}
.app-main .mobile-retro-switch{flex:1;height:52px!important;background:#242424!important;border:0!important;border-radius:14px!important;padding:4px!important}
.app-main .mobile-retro-switch button{font-size:15px!important;font-weight:600!important;color:#b8b6ae!important}
.app-main .profiles-shell .mobile-retro-switch button.on{color:#181818!important}
.app-main .mobile-retro-thumb{border-radius:10px!important}
.app-main .mobile-profiles-top .mobile-filter-toggle{height:52px}
.app-main .mobile-profiles-form .person-search-row{display:flex!important;flex-direction:column;gap:8px;margin-top:8px}
.app-main .mobile-profiles-form .person-search-row .mobile-search{width:100%}
.app-main .profiles-shell .mobile-profiles-form .person-search-row .person-picker{width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:0 14px!important;border-radius:12px!important;background:transparent!important;border:1px solid #3a3a3a!important;font-size:16px!important;color:#f4f3ef!important}
.app-main .profiles-shell .profile-notice{display:block!important;margin:8px 0 24px!important}
.app-main .rp-kicker{display:flex!important;justify-content:space-between;align-items:baseline;font-size:12px!important;font-weight:700!important;letter-spacing:.08em!important;color:#918f88!important}
.app-main .rp-company{font-size:14px!important;font-weight:400!important;letter-spacing:0!important;color:#b8b6ae!important;text-transform:none!important}
.app-main .rp-identity{display:block!important}
.app-main .rp-identity h2,.app-main .dispatch-week-view .section-head h2{font-family:'Newsreader',Georgia,'Times New Roman',serif!important;font-weight:500!important;font-size:28px!important;line-height:34px!important;letter-spacing:-.01em!important;color:#f4f3ef!important;margin:6px 0 12px!important}
.app-main .rp-pay{display:inline-flex!important;align-items:center;gap:6px;height:44px;padding:0 14px!important;border:0!important;border-radius:12px!important;background:#242424!important;font-size:15px!important;font-weight:400!important;color:#b8b6ae!important;list-style:none;cursor:pointer}
.app-main .rp-pay small{font-size:15px!important;color:#b8b6ae!important;letter-spacing:0!important;text-transform:none!important}.app-main .rp-pay b{font-weight:600;color:#f4f3ef}
.app-main .rp-pay::-webkit-details-marker{display:none}.app-main .rp-pay::after{content:'';width:7px;height:7px;margin:0 2px 4px 6px;border-right:1.6px solid #918f88;border-bottom:1.6px solid #918f88;transform:rotate(45deg)}
.app-main :is(.rp-facts,.rp-fin-grid){display:block!important;margin-top:16px!important;border-top:1px solid #2c2c2c;gap:0!important}
.app-main :is(.rp-fact,.rp-fin-box){display:block!important;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-main :is(.rp-fact,.rp-fin-box)>summary{display:flex!important;align-items:center;gap:12px;min-height:52px;padding:0!important;list-style:none;cursor:pointer}
.app-main .rp-fin-box>summary{min-height:60px}
.app-main :is(.rp-fact,.rp-fin-box)>summary::-webkit-details-marker{display:none}
.app-main :is(.rp-fact,.rp-fin-box)>summary small{font-size:15px!important;line-height:20px;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:#b8b6ae!important}
.app-main .rp-fin-box>summary small{font-size:16px!important;color:#f4f3ef!important}
.app-main :is(.rp-fact,.rp-fin-box)>summary strong{margin-left:auto;text-align:right;font-size:16px!important;font-weight:600!important;color:#f4f3ef!important}
.app-main .rp-fin-box>summary strong{font-size:22px!important;line-height:28px}
.app-main :is(.rp-fact,.rp-fin-box)>summary::after{content:''!important;flex:none;width:7px;height:7px;margin:0 4px 4px 2px;border:0!important;border-right:1.6px solid #918f88!important;border-bottom:1.6px solid #918f88!important;transform:rotate(45deg);background:none!important;position:static!important}
.app-main :is(.rp-fact,.rp-fin-box)[open]>summary::after{transform:rotate(-135deg);margin:4px 4px 0 2px}
.app-main .rp-field-list{background:#242424!important;border:0!important;border-radius:12px!important;padding:10px 14px!important;margin:0 0 12px!important;position:static!important;box-shadow:none!important}
.app-main :is(.rp-fin-title,.rp-plan-title,.rp-status-head){display:flex!important;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 8px!important}
.app-main :is(.rp-fin-title,.rp-plan-title)>strong{font-size:18px!important;line-height:24px;font-weight:600!important;color:#f4f3ef!important}
.app-main .rp-plan-title>span{font-size:14px!important;color:#b8b6ae!important}
.app-main :is(.rp-basis,.rp-plan-note,.rp-plan-source,.dispatch-week-note){font-size:13px!important;line-height:18px!important;color:#918f88!important}
.app-main .dispatch-week-note{font-size:14px!important;line-height:20px!important;color:#b8b6ae!important;margin:12px 0!important}
.app-main .rp-timeline{background:transparent!important;border:0!important;padding:0!important}
.app-main .rp-status-desc{font-size:17px!important;line-height:25px!important;color:#dedcd4!important}
.app-main :is(.rp-week-row,.dispatch-week-nav){display:grid!important;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin:12px 0!important;background:transparent!important;border:0!important;padding:0!important}
.app-main :is(.rp-week-row a,.rp-week-disabled,.dispatch-week-nav a,.dispatch-week-disabled){width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;border-radius:12px!important;background:#242424!important;border:0!important;color:#f4f3ef!important;font-size:20px;text-decoration:none}
.app-main :is(.rp-week-disabled,.dispatch-week-disabled){background:transparent!important;border:1px solid #2c2c2c!important;color:#918f88!important}
.app-main :is(.rp-week-center,.dispatch-week-label){text-align:center}
.app-main :is(.rp-week-center,.dispatch-week-label) strong{display:block;font-size:16px!important;font-weight:600!important;color:#f4f3ef!important}
.app-main :is(.rp-week-center,.dispatch-week-label) small{font-size:13px!important;color:#918f88!important}
.app-main .profile-inner-tabs{display:flex!important;gap:20px!important;padding:0!important;margin:0 0 16px!important;border:0!important;border-bottom:1px solid #2c2c2c!important;background:transparent!important;overflow-x:auto;scrollbar-width:none}
.app-main .profile-inner-tabs button,.app-main .profile-inner-tabs button.active,.app-main .profile-inner-tabs button:not(.active){flex:none;height:44px!important;min-width:0!important;padding:0!important;margin-bottom:-1px;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;font-size:15px!important;font-weight:600!important;color:#918f88!important;white-space:nowrap}
.app-main .profile-inner-tabs button.active{color:#f4f3ef!important;border-bottom-color:#f4f3ef!important}
.app-main :is(.table-wrap,.table-wrapper){background:transparent!important;border:0!important;padding:0!important}
.app-main .profile-tab{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
.app-main .profile-tab>h3{margin-top:20px!important}
.app-main .source-details{margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #2c2c2c!important;border-radius:0!important;box-shadow:none!important}
.app-main .source-details>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:56px;margin:0!important;padding:0!important;list-style:none;cursor:pointer}
.app-main .source-details>summary::-webkit-details-marker{display:none}
.app-main .source-details>summary::after{content:'';flex:none;width:7px;height:7px;margin:0 4px 4px 0;border-right:1.6px solid #918f88;border-bottom:1.6px solid #918f88;transform:rotate(45deg)}
.app-main .source-details[open]>summary::after{transform:rotate(-135deg);margin:4px 4px 0 0}
.app-main .source-details[open]{padding-bottom:14px!important}
.app-main :is(.table-wrap,.table-wrapper) table{width:100%;border-collapse:collapse}
.app-main :is(.table-wrap,.table-wrapper) th{white-space:normal!important;vertical-align:bottom;text-align:left}
.app-main :is(.table-wrap,.table-wrapper) table{font-size:13px}.app-main :is(.table-wrap,.table-wrapper) th{font-size:12px;font-weight:600;color:#918f88!important;background:transparent!important}
.app-main :is(.table-wrap,.table-wrapper) :is(th,td){border:0!important;border-bottom:1px solid #2c2c2c!important;padding:9px 4px!important;background:transparent!important}
.app-main .dispatch-week-view .section-head{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:0 8px}.app-main .dispatch-week-view .section-head>div{display:contents}
.app-main .dispatch-week-view .section-head :is(.overline,h2){flex-basis:100%}.app-main .dispatch-week-view .section-head .small-muted{margin:0!important}
.app-main .dispatch-week-view .section-head .overline{font-size:12px!important;font-weight:700;letter-spacing:.08em;color:#918f88!important}
.app-main .dispatch-week-view .section-head .small-muted{display:inline;font-size:16px!important;color:#b8b6ae!important;margin-right:8px}
.app-main .profile-stats{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;margin:16px 0 28px!important}
.app-main .profile-stat{background:#242424!important;border:0!important;border-radius:14px!important;padding:16px 14px!important}
.app-main .profile-stat small{display:block;font-size:14px!important;line-height:18px;color:#b8b6ae!important}
.app-main .profile-stat strong{display:block;margin-top:14px;font-size:28px!important;line-height:32px;font-weight:600!important;color:#f4f3ef!important}
.app-main .driver-grid{display:block!important;margin-top:8px;border-top:1px solid #2c2c2c}
.app-main .driver-tile{display:grid!important;grid-template-columns:1fr auto;column-gap:12px;row-gap:4px;padding:16px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #2c2c2c!important;border-radius:0!important;background:transparent!important;color:inherit;text-decoration:none}
.app-main .driver-tile>div{display:contents!important}
.app-main .driver-tile>div:first-child>strong{grid-area:1/1}.app-main .driver-tile>div:first-child>span{grid-area:2/1}
.app-main .driver-tile>div:nth-child(2)>b{grid-area:1/2;text-align:right}.app-main .driver-tile>div:nth-child(2)>span{grid-area:3/1;justify-self:start;margin-top:4px}
.app-main .driver-tile>small{grid-area:2/2!important;text-align:right}
.app-main .driver-tile>div:first-child strong{font-size:17px;font-weight:600;color:#f4f3ef}.app-main .driver-tile>div:first-child span{font-size:15px;color:#b8b6ae}
.app-main .driver-tile>div:nth-child(2) b{font-size:17px;font-weight:600;color:#f4f3ef}
.app-main .driver-tile>div:nth-child(2) span{border:1px solid #3a3a3a;border-radius:5px;padding:0 6px;font-size:13px;color:#b8b6ae}
.app-main .driver-tile>small{font-size:14px!important;color:#b8b6ae!important}
}
