:root{--bg:#f2f3f1;--surface:#fff;--ink:#202020;--muted:#707070;--line:#dedbd4;--gold:#c99a2e;--gold-2:#f1d17a;--green:#178052;--red:#b7342d;--blue:#1f5f9f;--soft:#f8f6f0;--shadow:0 18px 42px rgba(28,28,28,.12)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:292px minmax(0,1fr);min-height:100vh}.sidebar{background:#191919;color:#fff;padding:24px 18px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;gap:12px;align-items:center}.brand-logo{width:52px;height:52px;border-radius:8px;background:linear-gradient(135deg,var(--gold),var(--gold-2));color:#111;display:grid;place-items:center;font-weight:900}.brand strong,.brand span{display:block}.brand span{color:#d8d2c4;margin-top:4px}.nav{display:grid;gap:6px}.nav button{border:0;background:transparent;color:#ddd;text-align:right;border-radius:8px;padding:12px 13px}.nav button.active,.nav button:hover{background:#2d2a23;color:#fff}.operator-card{margin-top:auto;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:8px;padding:16px}.operator-card span,.operator-card small{display:block;color:#cfc8b9}.operator-card strong{display:block;margin:7px 0;font-size:22px}.main{padding:28px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.eyebrow{margin:0 0 6px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:0}h1,h2,h3{margin:0}h1{font-size:30px}.top-actions{display:flex;gap:12px;align-items:end}.search{display:grid;gap:6px;color:var(--muted);font-size:12px}.search input{width:min(410px,36vw)}input,select,textarea{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:11px 12px;min-width:0}.primary-action,.ghost,.chip,.icon-button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:11px 14px}.primary-action{background:var(--gold);border-color:var(--gold);color:#111;font-weight:800}.ghost:hover,.chip:hover{border-color:#b9ad94}.layout-grid{display:grid;gap:16px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric,.panel,.card{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.metric{padding:17px}.metric span{color:var(--muted);font-size:13px}.metric strong{display:block;margin-top:7px;font-size:28px}.metric small{color:var(--green)}.grid-2{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.panel{padding:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.chip.active{background:#1f1f1f;color:#fff;border-color:#1f1f1f}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:820px}th,td{text-align:right;border-bottom:1px solid var(--line);padding:12px 10px;white-space:nowrap}th{font-size:12px;color:var(--muted)}.badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.ok{background:#e7f6ef;color:#126d48}.warn{background:#fff4dd;color:#93610b}.bad{background:#ffe9e7;color:#9f2922}.info{background:#e9f1ff;color:#1c5593}.card{padding:16px}.card header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.card p{margin:4px 0;color:var(--muted)}.kv{display:grid;gap:8px}.kv div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:8px}.board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px}.column{background:#eee9df;border:1px solid #ddd3c2;border-radius:8px;padding:12px;min-height:280px}.column h3{font-size:16px;margin-bottom:10px}.job{background:#fff;border:1px solid var(--line);border-right:4px solid var(--gold);border-radius:8px;padding:12px;margin-bottom:10px}.job strong,.job span{display:block}.job span{color:var(--muted);font-size:13px;margin-top:4px}.portal-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portal{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px;min-height:150px;box-shadow:var(--shadow)}.portal strong{font-size:20px}.portal ul{margin:12px 0 0;padding:0 18px;color:var(--muted)}.route-map{min-height:315px;border-radius:8px;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(201,154,46,.13) 1px,transparent 1px),linear-gradient(0deg,rgba(31,31,31,.08) 1px,transparent 1px),#fbfaf7;background-size:34px 34px}.route{position:absolute;height:5px;border-radius:10px;background:var(--gold);transform-origin:right center}.r1{width:56%;right:17%;top:44%;transform:rotate(-19deg)}.r2{width:52%;right:23%;top:54%;transform:rotate(28deg);background:#333}.r3{width:39%;right:36%;top:43%;transform:rotate(86deg);background:var(--blue)}.hub{position:absolute;width:54px;height:54px;border-radius:50%;background:#fff;border:2px solid var(--gold);display:grid;place-items:center;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.15)}.h1{top:40%;right:45%}.h2{top:13%;right:17%}.h3{top:42%;left:13%}.h4{bottom:14%;right:22%}.modal{width:min(780px,calc(100vw - 30px));border:0;border-radius:8px;padding:0;box-shadow:var(--shadow)}.modal::backdrop{background:rgba(0,0,0,.55)}.modal form{padding:22px}.modal-header,.modal-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.icon-button{width:38px;height:38px;padding:0;font-size:25px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.form-grid label{display:grid;gap:7px;color:var(--muted);font-size:13px}.wide{grid-column:1/-1}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.nav{grid-template-columns:repeat(4,minmax(0,1fr))}.operator-card{display:none}.metrics,.grid-2,.grid-3,.portal-strip,.board{grid-template-columns:1fr 1fr}}@media(max-width:760px){.main{padding:18px}.topbar,.top-actions{flex-direction:column;align-items:stretch}.search input{width:100%}.metrics,.grid-2,.grid-3,.portal-strip,.board,.form-grid,.nav{grid-template-columns:1fr}h1{font-size:24px}}

/* Visual identity based on muliliran.co.il */
:root{--bg:#0a0a0a;--surface:#141412;--surface-2:#1d1b16;--ink:rgba(255,255,255,.92);--muted:rgba(255,255,255,.62);--line:rgba(201,168,76,.22);--gold:#c9a84c;--gold-2:#f0d888;--green:#43c58a;--red:#ff6b60;--blue:#6da8ff;--soft:rgba(201,168,76,.08);--shadow:0 24px 60px rgba(0,0,0,.35)}
body{background:radial-gradient(circle at 18% -10%,rgba(201,168,76,.15),transparent 34%),#0a0a0a;color:var(--ink);font-family:Assistant,Heebo,Arial,sans-serif}.sidebar{background:rgba(10,10,10,.96);border-left:1px solid rgba(201,168,76,.2)}.brand{align-items:center}.brand-image{width:92px;max-height:46px;object-fit:contain;background:#fff;border-radius:6px;padding:4px}.brand-logo{display:none}.brand strong{color:#fff}.brand span{color:var(--gold)}.nav button{color:rgba(255,255,255,.72);font-weight:600}.nav button.active,.nav button:hover{background:rgba(255,255,255,.08);color:var(--gold);box-shadow:inset 3px 0 0 var(--gold)}.operator-card{background:rgba(201,168,76,.08);border-color:rgba(201,168,76,.26)}.main{background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 260px)}.eyebrow,.search,.form-grid label,th,.card p,.trip-meta,.alert span{color:var(--muted)}h1{font-family:"Playfair Display",Georgia,serif;font-weight:900;color:#fff}.topbar{border-bottom:1px solid rgba(201,168,76,.18);padding-bottom:18px}.search input,input,select,textarea{background:#11110f;border-color:rgba(201,168,76,.24);color:#fff}.search input::placeholder,input::placeholder,textarea::placeholder{color:rgba(255,255,255,.38)}.primary-action{background:var(--gold);border-color:var(--gold);color:#0a0a0a}.ghost,.chip,.icon-button{background:rgba(255,255,255,.04);border-color:rgba(201,168,76,.28);color:var(--ink)}.chip.active,.segment.active{background:rgba(201,168,76,.14);color:var(--gold);border-color:var(--gold)}.metric,.panel,.card,.portal{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));border-color:rgba(201,168,76,.22);box-shadow:var(--shadow)}.metric strong,.panel h2,.card h3,.portal strong{color:#fff}.metric small{color:var(--gold)}.portal ul{color:var(--muted)}.table-wrap{border:1px solid rgba(201,168,76,.16);border-radius:8px}th,td{border-bottom-color:rgba(201,168,76,.14)}tr:hover td{background:rgba(201,168,76,.045)}.column{background:rgba(255,255,255,.035);border-color:rgba(201,168,76,.18)}.job{background:#12120f;border-color:rgba(201,168,76,.2);border-right-color:var(--gold)}.route-map{background:linear-gradient(90deg,rgba(201,168,76,.13) 1px,transparent 1px),linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px),#11110f}.hub{background:#17140e;border-color:var(--gold);color:#fff}.modal{background:#11110f;color:#fff;border:1px solid rgba(201,168,76,.35)}.modal::backdrop{background:rgba(0,0,0,.72)}.ok{background:rgba(67,197,138,.15);color:#6ee5a8}.warn{background:rgba(201,168,76,.16);color:#f0d888}.bad{background:rgba(255,107,96,.16);color:#ff9189}.info{background:rgba(109,168,255,.15);color:#9bc2ff}


/* Dense daily dispatch grid and editable data screens */
.daily-shell{background:#d7d7d7;color:#050505;border:1px solid #8d8d8d;border-radius:3px;padding:8px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.daily-title{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#ededed;border:1px solid #999;padding:8px 10px;margin-bottom:8px}.daily-title h2{font-size:18px;color:#111}.daily-title p{margin:4px 0 0;color:#333}.daily-actions{display:flex;gap:8px}.daily-filters{display:grid;grid-template-columns:220px 180px 180px 1fr;gap:8px;background:#efefef;border:1px solid #aaa;padding:8px;margin-bottom:8px}.daily-filters label{display:grid;gap:4px;font-weight:700;color:#111;font-size:12px}.daily-filters input,.daily-filters select{background:#fff;color:#000;border:1px solid #777;border-radius:0;padding:4px 6px}.daily-grid-wrap{overflow:auto;border:1px solid #767676;background:#fff;max-height:62vh}.daily-grid{min-width:1500px;font-size:13px;color:#000}.daily-grid th{position:sticky;top:0;z-index:1;background:#008277;color:#fff;border:1px solid #fff;text-align:center;padding:5px 6px;font-size:13px}.daily-grid td{border:1px solid #fff;padding:2px 4px;color:#000;font-weight:700;white-space:nowrap}.daily-grid input,.daily-grid select{width:100%;min-width:72px;background:transparent;color:#000;border:0;border-radius:0;padding:2px 3px;font-size:13px;font-weight:700}.daily-grid .route-input{min-width:360px}.row-white td{background:#f9f9f9}.row-regular td{background:#dfe7ff}.row-pink td{background:#f5a8df}.row-blue td{background:#0078d7;color:#fff}.row-blue input,.row-blue select{color:#fff}.row-tools{display:flex;gap:3px}.row-tools button{background:#ffd900;color:#000;border:1px solid #555;padding:1px 4px;font-size:11px}.daily-bottom{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:8px}.daily-bottom button{border-radius:0}.edit-table input,.edit-table select{width:100%;min-width:110px}.edit-table td{vertical-align:middle}.edit-table .badge{margin-inline-start:6px}.cards-list{display:grid;gap:10px}
@media(max-width:900px){.daily-filters{grid-template-columns:1fr}.daily-title{align-items:stretch;flex-direction:column}.daily-bottom{grid-template-columns:1fr 1fr}}


/* Classic horizontal application menu */
.classic-menu{position:sticky;top:0;z-index:20;display:flex;align-items:stretch;gap:0;background:#ececec;color:#000;border:1px solid #8a8a8a;border-bottom-color:#6f6f6f;min-height:24px;margin:-16px -16px 18px;padding:0 6px;box-shadow:0 2px 0 rgba(255,255,255,.35) inset;font-family:Tahoma,Arial,sans-serif;direction:rtl}.menu-group{position:relative}.menu-root{height:24px;padding:2px 12px;border:0;border-left:1px solid transparent;border-right:1px solid transparent;background:transparent;color:#000;border-radius:0;font-size:13px;line-height:18px}.menu-group:hover .menu-root{background:#0a64c8;color:#fff;border-color:#084f9b}.menu-dropdown{display:none;position:absolute;top:24px;right:0;min-width:210px;background:#f3f3f3;border:1px solid #7d7d7d;box-shadow:3px 4px 10px rgba(0,0,0,.35);padding:3px;z-index:50}.menu-group:hover .menu-dropdown{display:grid}.menu-dropdown button{text-align:right;background:transparent;border:0;color:#000;padding:7px 12px;border-radius:0;font-size:13px;white-space:nowrap}.menu-dropdown button:hover{background:#0a64c8;color:#fff}.main{padding-top:16px}.topbar{margin-top:0}@media(max-width:760px){.classic-menu{overflow-x:auto;margin:0 0 14px}.menu-dropdown{position:fixed;right:10px;left:10px;min-width:auto}.menu-root{padding-inline:10px;white-space:nowrap}}


/* Classic menu final polish */
.classic-menu{height:25px;min-height:25px;background:linear-gradient(#f8f8f8,#e2e2e2);border-color:#9b9b9b;color:#000;margin:-16px -16px 16px;align-items:center;box-shadow:inset 0 1px #fff,0 1px 2px rgba(0,0,0,.18)}
.menu-root{height:23px;min-width:54px;padding:2px 10px;font-size:13px;color:#000;text-shadow:0 1px #fff}.menu-group:hover .menu-root{background:#d9e8ff;color:#000;border:1px solid #6c9bd2;box-shadow:inset 0 0 0 1px #fff}.menu-dropdown{top:24px;background:#f7f7f7;border-color:#858585;padding:2px;box-shadow:4px 5px 12px rgba(0,0,0,.32)}.menu-dropdown button{height:25px;padding:4px 28px 4px 12px;position:relative}.menu-dropdown button:before{content:"";position:absolute;right:8px;top:9px;width:7px;height:7px;border:1px solid #999;background:#fff}.menu-dropdown button:hover{background:#1f62c2;color:#fff}.menu-dropdown button:hover:before{border-color:#fff;background:#ffdf4a}.topbar{padding-top:2px}


/* Top only layout */
.app-shell{display:block;min-height:100vh}.sidebar{display:none}.main{padding:16px 18px 28px;min-height:100vh}.classic-menu{margin:0 0 8px}.module-bar{display:flex;align-items:center;gap:5px;overflow-x:auto;background:#171717;border:1px solid rgba(201,168,76,.28);border-radius:4px;padding:6px;margin-bottom:14px}.module-bar button{white-space:nowrap;border:1px solid rgba(201,168,76,.24);background:rgba(255,255,255,.04);color:rgba(255,255,255,.82);border-radius:4px;padding:7px 10px;font-size:13px}.module-bar button:hover{background:rgba(201,168,76,.14);color:#f0d888;border-color:#c9a84c}.license-pill{margin-inline-start:auto;white-space:nowrap;border:1px solid rgba(201,168,76,.34);background:rgba(201,168,76,.1);color:#f0d888;border-radius:999px;padding:6px 12px;font-size:12px}.topbar{border:1px solid rgba(201,168,76,.18);border-radius:8px;background:rgba(255,255,255,.03);padding:14px;margin-bottom:14px}.license-note{margin-top:14px;border:1px solid rgba(201,168,76,.25);background:rgba(201,168,76,.08);border-radius:8px;padding:14px;color:var(--ink)}@media(max-width:760px){.license-pill{margin-inline-start:0}.module-bar{align-items:flex-start}.main{padding:10px}}


/* Richer license console */
.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.license-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.license-summary article{border:1px solid rgba(201,168,76,.24);background:rgba(201,168,76,.08);border-radius:8px;padding:12px}.license-summary span{display:block;color:var(--muted);font-size:12px}.license-summary strong{display:block;color:#fff;font-size:24px;margin-top:4px}.license-table{min-width:1780px}.license-table td{vertical-align:top}.license-key{min-width:180px;font-family:Consolas,monospace}.module-checks{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:5px;min-width:280px}.module-checks label{display:flex;align-items:center;gap:5px;color:var(--ink);font-size:12px}.module-checks input{width:auto;min-width:auto}.license-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;min-width:180px}.tenant-blocked td{background:rgba(255,107,96,.08)!important}.module-bar button.active{background:rgba(201,168,76,.22);border-color:#c9a84c;color:#f0d888}@media(max-width:900px){.license-summary{grid-template-columns:1fr 1fr}.license-actions{grid-template-columns:1fr}}


/* Users and card ledgers */
.users-table{min-width:1320px}.cards-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.cards-menu{background:#eeeeee;border:1px solid #9b9b9b;color:#000;padding:0;align-self:start}.cards-menu h3{margin:0;padding:7px 10px;background:#f8f8f8;border-bottom:1px solid #bdbdbd;font-size:14px;color:#000}.cards-menu button{display:block;width:100%;text-align:right;border:0;border-bottom:1px solid #d5d5d5;background:#efefef;color:#000;padding:7px 14px;font-size:13px;border-radius:0}.cards-menu button:hover,.cards-menu button.active{background:#86c2f0;color:#000}.card-editor{min-width:0}.cards-table{min-width:1260px}.empty-state{border:1px dashed rgba(201,168,76,.35);background:rgba(201,168,76,.08);border-radius:8px;padding:18px;color:var(--muted)}@media(max-width:900px){.cards-layout{grid-template-columns:1fr}.cards-menu{display:grid;grid-template-columns:repeat(2,1fr)}}


/* Classic black gold windows */
.classic-window{border:1px solid rgba(201,168,76,.38);background:#11110f;color:#fff;border-radius:6px;box-shadow:0 22px 60px rgba(0,0,0,.45);overflow:hidden}.cw-title{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#222,#141412);border-bottom:1px solid rgba(201,168,76,.3);padding:8px 12px}.cw-title h2{font-size:18px;color:#fff}.cw-title p{margin:3px 0 0;color:var(--muted);font-size:12px}.cw-window-buttons{display:flex;gap:5px}.cw-window-buttons span{width:16px;height:14px;border:1px solid rgba(201,168,76,.45);background:#0a0a0a;border-radius:2px}.cw-tabs{display:flex;gap:2px;overflow-x:auto;background:#1c1a15;border-bottom:1px solid rgba(201,168,76,.25);padding:5px 8px 0}.cw-tabs button{border:1px solid rgba(201,168,76,.28);border-bottom:0;background:#171717;color:rgba(255,255,255,.78);padding:7px 12px;border-radius:5px 5px 0 0}.cw-tabs button.active,.cw-tabs button:hover{background:rgba(201,168,76,.16);color:#f0d888}.cw-body{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px;padding:10px}.cw-side{background:#efefef;color:#000;border:1px solid #9b9b9b;align-self:start}.cw-side button{display:block;width:100%;border:0;border-bottom:1px solid #d0d0d0;background:#efefef;color:#000;text-align:right;padding:7px 12px;border-radius:0}.cw-side button.active,.cw-side button:hover{background:#86c2f0}.cw-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:10px}.cw-group{border:1px solid rgba(201,168,76,.28);border-radius:5px;padding:12px;background:rgba(255,255,255,.03)}.cw-group.full{grid-column:1/-1}.cw-group legend{color:#f0d888;padding:0 8px;font-weight:700}.cw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}.cw-field{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:8px;color:var(--ink);font-size:13px}.cw-field span{color:#fff;font-weight:700}.cw-field input,.cw-field select,.cw-field textarea{height:30px;background:#0c0c0b;border:1px solid rgba(201,168,76,.28);color:#fff;border-radius:3px;padding:5px 8px}.cw-field textarea{height:70px}.cw-field.wide{grid-column:1/-1}.cw-footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid rgba(201,168,76,.2);background:#17150f;padding:9px 12px}.mini-table{min-width:760px}.mini-table th{background:#007f78;color:#fff}.mini-table td,.mini-table th{padding:6px;border:1px solid rgba(255,255,255,.12)}@media(max-width:1000px){.cw-body{grid-template-columns:1fr}.cw-grid{grid-template-columns:1fr}.cw-fields{grid-template-columns:1fr}.cw-field{grid-template-columns:1fr}.cw-side{display:grid;grid-template-columns:repeat(2,1fr)}}


/* Enhanced schedule sorting and editing */
.daily-filters.enhanced{grid-template-columns:repeat(6,minmax(140px,1fr))}.enhanced-grid{min-width:2100px}.sort-head{background:transparent;border:0;color:#fff;font-weight:800;padding:0;white-space:nowrap}.sort-head:hover{text-decoration:underline}.enhanced-grid td input,.enhanced-grid td select{min-width:96px}.enhanced-grid td .route-input{min-width:330px}.daily-grid td:first-child{position:sticky;right:0;z-index:2}.daily-grid th:first-child{position:sticky;right:0;z-index:3}.row-tools{background:inherit}@media(max-width:1100px){.daily-filters.enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.daily-filters.enhanced{grid-template-columns:1fr}}

/* Version marker polish */
.license-pill{font-weight:700}

/* Development status screen */
.endpoint-list{display:grid;gap:8px}.endpoint-list code{display:block;border:1px solid rgba(201,168,76,.25);background:#090909;color:#f0d888;border-radius:6px;padding:9px;direction:ltr;text-align:left}.inner-panel{margin-top:14px}


/* SaaS license workspace */
.saas-console .saas-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}.tenant-list{border:1px solid rgba(201,168,76,.25);background:rgba(255,255,255,.035);border-radius:8px;padding:10px}.tenant-list h3{margin:0 0 8px;color:#f0d888;font-size:15px}.tenant-list button{width:100%;display:grid;gap:3px;text-align:right;border:1px solid transparent;background:transparent;color:var(--ink);border-radius:6px;padding:9px;margin-bottom:6px}.tenant-list button strong{color:#fff}.tenant-list button span{font-size:12px;color:var(--muted)}.tenant-list button.active,.tenant-list button:hover{border-color:rgba(201,168,76,.45);background:rgba(201,168,76,.13)}.tenant-workspace{min-width:0}.tenant-editor{border:1px solid rgba(201,168,76,.28);background:linear-gradient(180deg,rgba(201,168,76,.08),rgba(255,255,255,.03));border-radius:8px;padding:14px;margin-bottom:14px}.tenant-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.tenant-editor-head h3{margin:6px 0 2px;color:#fff}.tenant-editor-head p{margin:0;color:var(--muted)}.tenant-fields{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.tenant-fields label{display:grid;gap:5px;color:#fff;font-size:12px}.tenant-fields label.wide{grid-column:span 2}.tenant-fields span{color:#f0d888;font-weight:700}.tenant-fields input,.tenant-fields select{height:34px;background:#0c0c0b;border:1px solid rgba(201,168,76,.32);border-radius:4px;color:#fff;padding:6px 8px}.tenant-design-preview{display:flex;align-items:center;gap:8px;margin:12px 0;color:var(--muted)}.tenant-design-preview i{width:24px;height:24px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:inline-block}.module-checks.large{grid-template-columns:repeat(4,minmax(130px,1fr));margin-top:10px}.license-table small{display:block;color:var(--muted);margin-top:3px}.license-table code{font-family:Consolas,monospace;color:#f0d888}.mini-chip{display:inline-block;border:1px solid rgba(201,168,76,.28);background:rgba(201,168,76,.1);color:#f0d888;border-radius:999px;padding:3px 7px;margin:2px;font-size:11px}@media(max-width:1050px){.saas-console .saas-layout{grid-template-columns:1fr}.tenant-fields{grid-template-columns:repeat(2,minmax(140px,1fr))}.module-checks.large{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media(max-width:650px){.tenant-fields{grid-template-columns:1fr}.tenant-fields label.wide{grid-column:auto}.tenant-editor-head{display:block}}


/* Tenant users workspace */
.users-console .users-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;align-items:start}.users-workspace{min-width:0}.user-editor{margin-bottom:14px}.user-cards{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.user-cards article{border:1px solid rgba(201,168,76,.24);background:rgba(0,0,0,.22);border-radius:8px;padding:10px}.user-cards strong{display:block;color:#fff}.user-cards span{display:block;color:#f0d888;font-size:12px;margin-top:3px}.user-cards small{display:block;color:var(--muted);margin-top:6px}.users-table{min-width:1500px}.users-table td{vertical-align:top}.users-table td input+input{margin-top:5px}.users-table small{display:block;color:var(--muted);margin-top:4px}@media(max-width:1100px){.users-console .users-layout{grid-template-columns:1fr}.user-cards{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:650px){.user-cards{grid-template-columns:1fr}}


/* Server connection settings */
.settings-stack{display:grid;gap:14px}.server-panel{border-color:rgba(201,168,76,.32)}.server-grid{display:grid;grid-template-columns:220px minmax(260px,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end}.server-grid label{display:grid;gap:6px;color:#fff;font-size:12px}.server-grid label span{color:#f0d888;font-weight:700}.server-grid input,.server-grid select{height:36px;background:#0c0c0b;border:1px solid rgba(201,168,76,.32);border-radius:5px;color:#fff;padding:6px 9px}.server-actions{display:flex;gap:8px;flex-wrap:wrap}.server-panel code{direction:ltr;display:inline-block;color:#f0d888}@media(max-width:1100px){.server-grid{grid-template-columns:1fr 1fr}.server-actions{grid-column:1/-1}}@media(max-width:650px){.server-grid{grid-template-columns:1fr}}


/* Branch management */
.branches-console .branches-table{min-width:1180px}.branches-table td{vertical-align:top}.branches-table .badge{display:inline-block;margin-top:6px}.branches-table input,.branches-table select{min-width:130px}.branches-table td:nth-child(4) input{min-width:220px}


/* Route price list */
.routes-console .routes-table{min-width:1380px}.routes-table td{vertical-align:top}.routes-table input,.routes-table select{min-width:120px}.routes-table .badge{display:inline-block;margin-top:6px}.routes-table .profit{color:#77e08c}.routes-table .loss{color:#ff8b80}.routes-table td:nth-child(2) input{min-width:210px}


/* Recurring trip templates */
.recurring-console .recurring-table{min-width:1720px}.recurring-table td{vertical-align:top}.recurring-table input,.recurring-table select{min-width:120px}.recurring-table input+input,.recurring-table select+select{margin-top:5px}.recurring-table small{display:block;color:var(--muted);margin-top:4px}.day-checks{display:grid;grid-template-columns:repeat(4,38px);gap:4px}.day-checks label{display:flex;align-items:center;gap:3px;color:#fff;font-size:12px}.day-checks input{min-width:auto;width:auto}


/* Adhoc trips workspace */
.adhoc-console .adhoc-table{min-width:1880px}.adhoc-table td{vertical-align:top}.adhoc-table input,.adhoc-table select{min-width:115px}.adhoc-table input+input,.adhoc-table select+select{margin-top:5px}.adhoc-table small{display:block;color:var(--muted);margin-top:4px}.adhoc-table .badge{display:inline-block;margin-top:6px}


/* Daily dispatch enhancements */
.daily-summary{margin:10px 0 12px}.daily-grid tr.row-conflict td{background:rgba(255,107,96,.22)!important;border-top:1px solid rgba(255,107,96,.55);border-bottom:1px solid rgba(255,107,96,.35)}.daily-actions{display:flex;gap:8px;flex-wrap:wrap}.row-tools button{margin:2px;white-space:nowrap}.daily-grid input.route-input{min-width:240px}


/* Weekly and monthly schedule planning */
.schedule-range{overflow:hidden}.range-filter{margin:10px 0}.week-board{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:10px;overflow:auto;padding-bottom:6px}.week-day{min-width:180px;border:1px solid rgba(201,168,76,.25);background:rgba(255,255,255,.035);border-radius:8px;overflow:hidden}.week-day header{display:grid;gap:6px;padding:10px;border-bottom:1px solid rgba(201,168,76,.2);background:rgba(201,168,76,.08)}.week-day header button{border:0;background:transparent;color:#fff;text-align:right;padding:0}.week-day header strong,.week-day header span{display:block}.week-day header b{color:#f0d888;font-size:12px}.week-jobs{display:grid;gap:7px;padding:8px}.week-job{border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.2);border-radius:6px;padding:8px}.week-job strong,.week-job span,.week-job small,.week-job em{display:block}.week-job strong{color:#fff}.week-job span,.week-job small{color:var(--muted);font-size:12px}.week-job em{color:#f0d888;font-style:normal;font-size:11px;margin-top:4px}.week-job.conflict{border-color:rgba(255,107,96,.7);background:rgba(255,107,96,.12)}.empty-day{color:var(--muted);font-size:12px;margin:0;padding:8px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:6px}.month-grid>div{color:#f0d888;font-weight:700;text-align:center;padding:7px}.month-cell{min-height:92px;border:1px solid rgba(201,168,76,.22);background:rgba(255,255,255,.035);border-radius:8px;color:#fff;text-align:right;padding:9px;display:grid;align-content:start;gap:6px}.month-cell:hover{border-color:#c9a84c;background:rgba(201,168,76,.1)}.month-cell.muted{opacity:.45}.month-cell.conflict{border-color:rgba(255,107,96,.7);background:rgba(255,107,96,.12)}.month-cell span,.month-cell small{color:var(--muted);font-size:12px}@media(max-width:900px){.week-board{grid-template-columns:repeat(7,180px)}.month-grid{grid-template-columns:repeat(7,120px);overflow:auto}}


/* Finance workspace */
.finance-console .finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.finance-tabs button{border:1px solid rgba(201,168,76,.28);background:rgba(255,255,255,.04);color:#fff;border-radius:6px;padding:8px 12px}.finance-tabs button.active,.finance-tabs button:hover{background:rgba(201,168,76,.18);border-color:#c9a84c;color:#f0d888}.finance-table{min-width:1250px}.finance-table td{vertical-align:top}.finance-table input,.finance-table select{min-width:115px}.finance-table .badge{display:inline-block;margin-top:5px}


/* Safety and fleet officer */
.safety-console .safety-table{min-width:1280px}.safety-table td{vertical-align:top}.safety-table input,.safety-table select{min-width:115px}.safety-table .badge{display:inline-block;margin-top:5px}.safety-console .finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}


/* Website order intake */
.website-orders-console .website-orders-table{min-width:1500px}.website-orders-table td{vertical-align:top}.website-orders-table input,.website-orders-table select{min-width:115px}.website-orders-table input+input{margin-top:5px}


/* Reports center */
.reports-console .report-filters{margin:10px 0}.reports-console .report-tabs{margin:12px 0}.report-table{min-width:1200px}.report-table td{vertical-align:top}.reports-console .inner-panel{border:1px solid rgba(201,168,76,.24);background:rgba(255,255,255,.03);border-radius:8px;padding:12px}.reports-console .inner-panel h2{margin:0 0 10px;color:#f0d888;font-size:16px}

.report-subtitle{color:#f0d888;margin:8px 0 12px;font-size:17px}


/* Backup and restore */
.backup-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:14px}.backup-text{width:100%;min-height:360px;background:#0c0c0b;border:1px solid rgba(201,168,76,.32);border-radius:8px;color:#fff;padding:12px;direction:ltr;text-align:left;font-family:Consolas,monospace;font-size:12px}.ok-text{color:#77e08c}.bad-text{color:#ff8b80}@media(max-width:950px){.backup-layout{grid-template-columns:1fr}}


.portal-console{display:grid;gap:16px}.portal-hero{display:flex;justify-content:space-between;align-items:center;gap:18px}.portal-hero h2{font-size:28px}.portal-hero p{margin:8px 0 0;color:var(--muted)}.portal-selector{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.portal-selector label,.portal-form label{display:grid;gap:7px;color:var(--muted);font-size:13px}.portal-summary article{min-height:92px}.driver-trip-list{display:grid;gap:10px}.portal-trip-card{border:1px solid rgba(201,168,76,.2);background:rgba(255,255,255,.035);border-radius:8px;padding:13px}.portal-trip-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.portal-trip-card strong,.portal-trip-card span{display:block}.portal-trip-card span{color:var(--muted);margin-top:4px}.portal-trip-meta{display:flex;flex-wrap:wrap;gap:8px;margin:11px 0}.portal-trip-meta span{border:1px solid rgba(201,168,76,.18);border-radius:999px;padding:5px 9px;background:rgba(255,255,255,.025)}.portal-action-panel{display:grid;align-content:start;gap:16px}.active-trip{border:1px solid rgba(201,168,76,.25);background:rgba(201,168,76,.08);border-radius:8px;padding:16px}.active-trip h3{margin:10px 0 6px;color:#fff}.active-trip p{margin:0 0 14px;color:var(--muted)}.portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-form .wide{grid-column:1/-1}.passenger-ticket{min-height:360px}.ticket-main{border-bottom:1px solid rgba(201,168,76,.18);padding-bottom:16px;margin-bottom:16px}.ticket-main h2{font-size:30px;margin:12px 0 8px;color:#fff}.ticket-main p{color:var(--muted);font-size:18px}.ticket-kv div{padding:11px 0}.passenger-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;text-align:right;border:1px solid rgba(201,168,76,.2);background:rgba(255,255,255,.035);color:var(--ink);border-radius:8px;padding:12px}.passenger-row strong,.passenger-row span{display:block}.passenger-row span{color:var(--muted)}.passenger-row .badge{grid-row:1/3;align-self:center}.empty-state{border:1px dashed rgba(201,168,76,.28);border-radius:8px;padding:18px;color:var(--muted);background:rgba(255,255,255,.025)}@media(max-width:760px){.portal-hero,.portal-selector{align-items:stretch;flex-direction:column}.portal-form{grid-template-columns:1fr}.passenger-row{grid-template-columns:1fr}.passenger-row .badge{grid-row:auto;justify-self:start}}


.alerts-console{display:grid;gap:14px}.alert-summary article{min-height:92px}.alert-tabs{margin-bottom:0}.alerts-list{display:grid;gap:10px}.alert-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid rgba(201,168,76,.2);background:rgba(255,255,255,.035);border-radius:8px;padding:14px;border-right-width:5px}.alert-row.severity-bad{border-right-color:#ff6b60}.alert-row.severity-warn{border-right-color:var(--gold)}.alert-row.severity-info{border-right-color:#6da8ff}.alert-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.alert-main h3{margin:0 0 5px;color:#fff;font-size:18px}.alert-main p{margin:0;color:var(--muted)}.alert-side{display:grid;gap:7px;justify-items:end;min-width:210px}.alert-side span{color:var(--muted)}.alert-side b{color:#fff}@media(max-width:760px){.alert-row{flex-direction:column;align-items:stretch}.alert-side{justify-items:start;min-width:0}.alert-main{flex-direction:column}}


.audit-console{display:grid;gap:14px}.audit-summary article{min-height:92px}.audit-filters{margin-bottom:0}.audit-table{min-width:980px}.audit-table code{display:inline-block;border:1px solid rgba(201,168,76,.2);border-radius:6px;padding:4px 7px;background:rgba(255,255,255,.035);color:var(--gold)}.audit-table td:nth-child(6){white-space:normal;min-width:260px}.audit-table .mini-chip{white-space:nowrap}


.permission-denied{display:flex;justify-content:space-between;align-items:center;gap:18px;border-right:5px solid #ff6b60}.permission-denied p{color:var(--muted);max-width:780px}.permission-denied h2{color:#fff}@media(max-width:760px){.permission-denied{flex-direction:column;align-items:stretch}}


.owner-rescue{border:1px solid rgba(201,168,76,.45);background:rgba(201,168,76,.16);color:var(--gold);border-radius:8px;padding:8px 11px;font-weight:800;white-space:nowrap}.owner-rescue:hover{background:rgba(201,168,76,.24)}


.owner-console{display:grid;gap:14px}.owner-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.owner-active-band{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid rgba(201,168,76,.24);background:rgba(201,168,76,.08);border-radius:8px;padding:14px}.owner-active-band span,.owner-active-band small{display:block;color:var(--muted)}.owner-active-band strong{display:block;color:#fff;font-size:22px;margin:4px 0}.owner-tenant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.owner-tenant-card{border:1px solid rgba(201,168,76,.22);background:rgba(255,255,255,.035);border-radius:8px;padding:14px}.owner-tenant-card.active{border-color:var(--gold);box-shadow:inset 4px 0 0 var(--gold)}.owner-tenant-card header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.owner-tenant-card h3{color:#fff;margin:7px 0 4px}.owner-tenant-card p{margin:0;color:var(--muted)}.owner-tenant-card code{align-self:start;border:1px solid rgba(201,168,76,.2);border-radius:6px;padding:5px 7px;color:var(--gold);background:rgba(0,0,0,.18)}.owner-tenant-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.owner-tenant-metrics span{border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px;color:var(--muted)}.owner-tenant-metrics b{display:block;color:#fff;font-size:17px}@media(max-width:1100px){.owner-summary,.owner-tenant-grid{grid-template-columns:1fr 1fr}.owner-tenant-metrics{grid-template-columns:1fr 1fr}}@media(max-width:760px){.owner-summary,.owner-tenant-grid{grid-template-columns:1fr}.owner-active-band{flex-direction:column;align-items:stretch}.owner-tenant-card header{flex-direction:column}.owner-tenant-metrics{grid-template-columns:1fr}}


.license-blocked{display:flex;justify-content:space-between;align-items:center;gap:18px;border-right:5px solid #ff6b60;background:linear-gradient(180deg,rgba(255,107,96,.08),rgba(255,255,255,.02))}.license-blocked h2{color:#fff}.license-blocked p{color:var(--muted);max-width:820px}.owner-tenant-card.license-problem{border-color:rgba(255,107,96,.45);box-shadow:inset 4px 0 0 #ff6b60}@media(max-width:760px){.license-blocked{flex-direction:column;align-items:stretch}}


.plans-console{display:grid;gap:14px}.plans-summary article{min-height:92px}.plans-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.plan-card{border:1px solid rgba(201,168,76,.22);background:rgba(255,255,255,.035);border-radius:8px;padding:14px}.plan-card header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.plan-card h3{margin:6px 0 0}.plan-card h3 input{font-size:18px;font-weight:800;color:#fff}.plan-card header strong{color:var(--gold);font-size:22px;white-space:nowrap}.plan-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.plan-fields label{display:grid;gap:6px;color:var(--muted);font-size:12px}.plan-modules{margin:12px 0}.plans-table small{display:block;color:var(--muted);margin-top:4px}@media(max-width:1200px){.plans-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.plans-grid,.plan-fields{grid-template-columns:1fr}}


.subscription-billing{display:grid;gap:14px}.billing-summary article{min-height:92px}.subscription-table{min-width:1050px}.subscription-table small{display:block;color:var(--muted);margin-top:4px}.subscription-table code{display:inline-block;border:1px solid rgba(201,168,76,.22);border-radius:6px;padding:4px 7px;color:var(--gold);background:rgba(0,0,0,.18)}


.onboarding-console{display:grid;gap:14px}.onboarding-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.onboarding-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.onboarding-form label{display:grid;gap:6px;color:var(--muted);font-size:13px}.onboarding-form .wide{grid-column:1/-1}.onboarding-plan-preview{margin-top:12px;border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:12px;background:rgba(201,168,76,.08);display:grid;gap:5px}.onboarding-plan-preview strong{font-size:22px;color:#fff}.onboarding-plan-preview span,.onboarding-plan-preview p{color:var(--muted);margin:0}@media(max-width:1100px){.onboarding-layout{grid-template-columns:1fr}.onboarding-form{grid-template-columns:1fr 1fr}}@media(max-width:760px){.onboarding-form{grid-template-columns:1fr}}


.module-blocked{display:flex;justify-content:space-between;align-items:center;gap:18px;border-right:5px solid var(--gold);background:linear-gradient(180deg,rgba(201,168,76,.10),rgba(255,255,255,.02))}.module-blocked h2{color:#fff}.module-blocked p{color:var(--muted);max-width:820px}.owner-tenant-metrics .limit-over{border-color:rgba(255,107,96,.45);background:rgba(255,107,96,.08)}.owner-tenant-metrics .limit-over b{color:#ff9189}@media(max-width:760px){.module-blocked{flex-direction:column;align-items:stretch}}


.admin-cards-page{display:grid;gap:18px}.admin-cards-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid rgba(201,168,76,.25);padding:10px 0 18px}.admin-cards-hero h2{font-size:30px;color:#fff}.admin-cards-hero p{color:var(--muted);margin:6px 0 0}.admin-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.admin-card-metrics article{border:1px solid rgba(201,168,76,.22);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));border-radius:8px;padding:18px;min-height:96px}.admin-card-metrics span{display:block;color:var(--muted)}.admin-card-metrics strong{display:block;color:#fff;font-size:28px;margin-top:8px}.admin-card-tabs{display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap}.admin-card-tabs button{border:1px solid rgba(201,168,76,.25);background:rgba(255,255,255,.035);color:var(--ink);border-radius:8px;padding:12px 18px;font-weight:800}.admin-card-tabs button span{margin-left:8px}.admin-card-tabs button.active{background:rgba(201,168,76,.18);border-color:var(--gold);color:var(--gold)}.admin-card-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px}.admin-card-list,.admin-card-editor{border:1px solid rgba(201,168,76,.22);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.02));border-radius:8px;padding:14px}.admin-card-search{margin-bottom:12px}.admin-card-search input{width:100%}.admin-card-list-items{display:grid;gap:8px;max-height:680px;overflow:auto}.admin-card-list-items button{text-align:right;border:1px solid rgba(201,168,76,.16);background:rgba(255,255,255,.025);color:var(--ink);border-radius:8px;padding:12px}.admin-card-list-items button.active{border-color:var(--gold);background:rgba(201,168,76,.13)}.admin-card-list-items strong,.admin-card-list-items span{display:block}.admin-card-list-items span{color:var(--muted);font-size:12px;margin-top:5px}.admin-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.admin-editor-head h3{color:#fff;font-size:24px;margin:8px 0 4px}.admin-editor-head p{color:var(--muted);margin:0}.admin-editor-grid{display:grid;gap:13px}.admin-editor-grid fieldset{border:1px solid rgba(201,168,76,.2);border-radius:8px;padding:14px;margin:0}.admin-editor-grid legend{color:var(--gold);font-weight:900;padding:0 8px}.admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.admin-fields label{display:grid;gap:6px;color:var(--muted);font-size:13px}.admin-fields input,.admin-fields select{width:100%}@media(max-width:1100px){.admin-card-workspace{grid-template-columns:1fr}.admin-card-metrics{grid-template-columns:1fr 1fr}.admin-fields{grid-template-columns:1fr 1fr}}@media(max-width:760px){.admin-cards-hero{flex-direction:column;align-items:stretch}.admin-card-metrics,.admin-fields{grid-template-columns:1fr}.admin-card-tabs button{width:100%}}


/* Card document uploads */
.card-documents{border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:14px;margin:14px 0 0;background:rgba(255,255,255,.025)}.card-documents legend{color:var(--gold);font-weight:900;padding:0 8px}.card-doc-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:var(--muted);font-size:13px}.card-doc-table{overflow:auto;border:1px solid rgba(201,168,76,.16);border-radius:8px}.card-doc-table table{width:100%;min-width:980px;border-collapse:collapse}.card-doc-table th,.card-doc-table td{border-bottom:1px solid rgba(201,168,76,.12);padding:8px;text-align:right;vertical-align:middle}.card-doc-table th{color:var(--gold);background:rgba(201,168,76,.08);font-size:12px}.card-doc-table input,.card-doc-table select{width:100%;min-width:110px}.file-picker{display:flex;align-items:center;gap:8px;min-width:160px}.file-picker input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.file-picker span{display:block;width:100%;border:1px solid rgba(201,168,76,.28);border-radius:8px;padding:8px 10px;background:rgba(0,0,0,.18);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.file-picker:hover span{border-color:var(--gold);color:var(--gold)}@media(max-width:760px){.card-doc-toolbar{align-items:stretch;flex-direction:column}.card-doc-table table{min-width:860px}}


/* Direct document preview */
.doc-preview-modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.78);display:grid;place-items:center;padding:24px}.doc-preview-box{width:min(1100px,96vw);height:min(820px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid rgba(201,168,76,.42);border-radius:8px;background:#10100f;box-shadow:0 24px 80px rgba(0,0,0,.45);overflow:hidden}.doc-preview-box header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(201,168,76,.25);background:rgba(201,168,76,.08)}.doc-preview-box strong,.doc-preview-box span{display:block}.doc-preview-box strong{color:#fff}.doc-preview-box span{color:var(--muted);font-size:12px;margin-top:3px}.doc-preview-box button{border:1px solid rgba(201,168,76,.32);background:rgba(0,0,0,.18);color:var(--gold);border-radius:8px;padding:8px 14px;font-weight:800}.doc-preview-box iframe,.doc-preview-box img{width:100%;height:100%;border:0;background:#1a1a18}.doc-preview-box img{object-fit:contain;padding:16px}


/* Card finance ledger */
.card-record-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}.card-record-tabs button{border:1px solid rgba(201,168,76,.25);background:rgba(255,255,255,.035);color:var(--ink);border-radius:8px;padding:10px 16px;font-weight:900}.card-record-tabs button.active{border-color:var(--gold);background:rgba(201,168,76,.16);color:var(--gold)}.card-finance-ledger{border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:14px;margin:12px 0 0;background:rgba(255,255,255,.025)}.card-finance-ledger legend{color:var(--gold);font-weight:900;padding:0 8px}.finance-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.finance-summary-strip article{border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:12px;background:rgba(0,0,0,.16)}.finance-summary-strip span{display:block;color:var(--muted);font-size:12px}.finance-summary-strip strong{display:block;color:#fff;font-size:20px;margin-top:5px}.finance-summary-strip article.warn strong{color:#f0d888}.finance-summary-strip article.ok strong{color:#7ee08a}.finance-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.card-finance-table{overflow:auto;border:1px solid rgba(201,168,76,.16);border-radius:8px}.card-finance-table table{width:100%;min-width:1120px;border-collapse:collapse}.card-finance-table th,.card-finance-table td{border-bottom:1px solid rgba(201,168,76,.12);padding:8px;text-align:right;vertical-align:middle}.card-finance-table th{color:var(--gold);background:rgba(201,168,76,.08);font-size:12px}.card-finance-table input,.card-finance-table select{width:100%;min-width:110px}.finance-status{display:inline-block;border-radius:999px;padding:5px 9px;font-weight:900;font-size:12px}.finance-status.ok{background:rgba(126,224,138,.12);color:#8ff09a}.finance-status.warn{background:rgba(240,216,136,.12);color:#f0d888}.finance-status.bad{background:rgba(255,107,96,.12);color:#ff9189}@media(max-width:900px){.finance-summary-strip{grid-template-columns:1fr 1fr}}@media(max-width:620px){.finance-summary-strip{grid-template-columns:1fr}.card-record-tabs button{width:100%}}


/* Tabbed cards and fixed client routes */
.card-detail-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}.card-detail-tabs button{border:1px solid rgba(201,168,76,.22);background:rgba(255,255,255,.03);color:var(--ink);border-radius:8px;padding:9px 13px;font-weight:900}.card-detail-tabs button.active{border-color:var(--gold);background:rgba(201,168,76,.16);color:var(--gold)}.admin-editor-grid.tabbed{margin-bottom:8px}.client-routes-panel{border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:14px;margin:12px 0 0;background:rgba(255,255,255,.025)}.client-routes-panel legend{color:var(--gold);font-weight:900;padding:0 8px}.client-route-list{display:grid;gap:12px}.client-route-card{border:1px solid rgba(201,168,76,.18);border-radius:8px;background:rgba(0,0,0,.14);padding:12px}.client-route-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.client-route-card header span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.route-title-input{font-size:18px;font-weight:900;color:#fff}.client-route-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.client-route-fields label{display:grid;gap:6px;color:var(--muted);font-size:12px}.route-subtables{display:grid;grid-template-columns:1fr 1fr;gap:12px}.route-subtables section{border:1px solid rgba(201,168,76,.14);border-radius:8px;overflow:auto}.subtable-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;background:rgba(201,168,76,.08);color:#fff}.route-subtables table{width:100%;min-width:620px;border-collapse:collapse}.route-subtables th,.route-subtables td{border-top:1px solid rgba(201,168,76,.12);padding:7px;text-align:right}.route-subtables th{color:var(--gold);font-size:12px}.route-subtables input{width:100%}@media(max-width:1100px){.client-route-fields,.route-subtables{grid-template-columns:1fr 1fr}}@media(max-width:760px){.client-route-card header,.route-subtables{grid-template-columns:1fr;display:grid}.client-route-fields{grid-template-columns:1fr}.card-detail-tabs button{width:100%}}


/* Inactive schedule guards */
.admin-card-list-items button:not(.active) span:has(+ .x){color:var(--muted)}.daily-grid option:disabled{color:#8b8170}.status-note{color:var(--muted);font-size:12px}


/* Client departments */
.client-departments-panel{border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:14px;margin:12px 0 0;background:rgba(255,255,255,.025)}.client-departments-panel legend{color:var(--gold);font-weight:900;padding:0 8px}.client-department-list{display:grid;gap:12px}.client-department-card{border:1px solid rgba(201,168,76,.18);border-radius:8px;background:rgba(0,0,0,.14);padding:12px}.client-department-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.client-department-card header span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.client-department-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.client-department-fields label{display:grid;gap:6px;color:var(--muted);font-size:12px}.client-department-fields input,.client-department-fields select{width:100%}@media(max-width:1100px){.client-department-fields{grid-template-columns:1fr 1fr}}@media(max-width:760px){.client-department-card header{display:grid}.client-department-fields{grid-template-columns:1fr}}


/* Route department assignment */
.route-department-badge{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(201,168,76,.18);border-radius:8px;background:rgba(201,168,76,.08);padding:9px 11px;margin-bottom:12px}.route-department-badge strong,.route-department-badge span{display:block}.route-department-badge strong{color:#fff}.route-department-badge span{color:var(--muted);font-size:12px}.route-department-badge.muted{background:rgba(255,255,255,.025)}@media(max-width:760px){.route-department-badge{align-items:flex-start;flex-direction:column}}


/* Fixed route day import */
.client-route-fields .wide{grid-column:1/-1}.daily-actions .chip{white-space:nowrap}


/* Compact client route list */
.route-list-toolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) repeat(4,minmax(130px,auto));gap:8px;align-items:center;margin-bottom:8px}.route-list-toolbar input,.route-list-toolbar select{width:100%}.route-list-count{color:var(--muted);font-size:12px;margin:0 0 10px}.client-routes-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:12px;align-items:start}.route-master-list{display:grid;gap:8px;max-height:720px;overflow:auto;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px;background:rgba(0,0,0,.12)}.route-list-item{display:grid;gap:4px;text-align:right;border:1px solid rgba(201,168,76,.14);border-radius:8px;background:rgba(255,255,255,.025);color:var(--ink);padding:10px;cursor:pointer}.route-list-item.active{border-color:var(--gold);background:rgba(201,168,76,.14)}.route-list-item strong{color:#fff}.route-list-item span,.route-list-item small{color:var(--muted);font-size:12px;line-height:1.35}.route-detail-pane{min-width:0}.client-routes-panel.compact .client-route-card{margin:0}.client-routes-panel.compact .client-route-list{display:block}@media(max-width:1150px){.route-list-toolbar{grid-template-columns:1fr 1fr}.client-routes-layout{grid-template-columns:1fr}.route-master-list{max-height:360px}}@media(max-width:760px){.route-list-toolbar{grid-template-columns:1fr}}


/* Per-day route schedule */
.route-day-schedule{border:1px solid rgba(201,168,76,.14);border-radius:8px;overflow:auto;margin:12px 0;background:rgba(0,0,0,.10)}.route-day-schedule table{width:100%;min-width:860px;border-collapse:collapse}.route-day-schedule th,.route-day-schedule td{border-top:1px solid rgba(201,168,76,.12);padding:7px;text-align:right;vertical-align:middle}.route-day-schedule th{color:var(--gold);font-size:12px}.route-day-schedule td strong,.route-day-schedule td small{display:block}.route-day-schedule td small{color:var(--muted);font-size:11px}.route-day-schedule input[type=time],.route-day-schedule select{width:100%;min-width:110px}.route-day-schedule input[type=checkbox]{width:auto;min-width:0}.route-subtables.compact{grid-template-columns:1fr}.client-routes-layout .client-route-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.client-routes-layout .client-route-fields{grid-template-columns:1fr}}


/* Inner tabs for fixed route details */
.route-inner-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid rgba(201,168,76,.18);padding-bottom:10px;margin:10px 0 12px}.route-inner-tabs button{border:1px solid rgba(201,168,76,.22);background:rgba(255,255,255,.03);color:var(--ink);border-radius:8px;padding:8px 12px;font-weight:900}.route-inner-tabs button.active{border-color:var(--gold);background:rgba(201,168,76,.16);color:var(--gold)}.route-inner-body{min-height:220px}.compact-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.route-subtable-single{border:1px solid rgba(201,168,76,.14);border-radius:8px;overflow:auto;background:rgba(0,0,0,.10)}.route-subtable-single table{width:100%;min-width:720px;border-collapse:collapse}.route-subtable-single th,.route-subtable-single td{border-top:1px solid rgba(201,168,76,.12);padding:7px;text-align:right}.route-subtable-single th{color:var(--gold);font-size:12px}.route-price-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-price-panel label{display:grid;gap:6px;color:var(--muted);font-size:12px}.route-price-panel .wide{grid-column:1/-1}@media(max-width:760px){.route-inner-tabs button{width:100%}.compact-detail,.route-price-panel{grid-template-columns:1fr}}


/* Client random trips */
.client-random-panel{border:1px solid rgba(201,168,76,.22);border-radius:8px;padding:14px;margin:12px 0 0;background:rgba(255,255,255,.025)}.client-random-panel legend{color:var(--gold);font-weight:900;padding:0 8px}.client-random-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:12px}.random-trip-list{display:grid;gap:8px;max-height:620px;overflow:auto;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px;background:rgba(0,0,0,.12)}.random-trip-editor{border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:12px;background:rgba(0,0,0,.10)}.random-trip-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.random-trip-fields label{display:grid;gap:6px;color:var(--muted);font-size:12px}.random-trip-fields .wide{grid-column:1/-1}.random-trip-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}@media(max-width:1050px){.client-random-layout{grid-template-columns:1fr}.random-trip-list{max-height:320px}.random-trip-fields{grid-template-columns:1fr 1fr}}@media(max-width:760px){.random-trip-fields{grid-template-columns:1fr}}


/* Visual polish pass */
.admin-card-list-items.polished button{position:relative}.card-list-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.mini-status{border-radius:999px;padding:3px 7px;font-size:11px;font-weight:900;border:1px solid rgba(255,255,255,.12)}.mini-status.ok{color:#8ff09a;background:rgba(126,224,138,.10);border-color:rgba(126,224,138,.22)}.mini-status.warn{color:#f0d888;background:rgba(240,216,136,.10);border-color:rgba(240,216,136,.22)}.mini-status.bad{color:#ff9189;background:rgba(255,107,96,.10);border-color:rgba(255,107,96,.22)}.admin-card-list-items small{display:block;color:var(--gold);font-size:11px;min-height:14px;margin-top:5px}.route-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:6px 0 12px}.route-summary-strip.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.route-summary-strip article{border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:11px;background:rgba(0,0,0,.14)}.route-summary-strip span{display:block;color:var(--muted);font-size:12px}.route-summary-strip strong{display:block;color:#fff;font-size:20px;margin-top:4px}.route-summary-strip article.warn strong{color:#f0d888}.route-summary-strip article.ok strong{color:#8ff09a}.daily-summary.enhanced{grid-template-columns:repeat(5,minmax(0,1fr))}.panel-actions,.daily-actions{align-items:center}.primary-action,.chip{transition:background .15s ease,border-color .15s ease,transform .12s ease}.primary-action:hover,.chip:hover{transform:translateY(-1px)}@media(max-width:1100px){.route-summary-strip,.route-summary-strip.compact,.daily-summary.enhanced{grid-template-columns:1fr 1fr}}@media(max-width:650px){.route-summary-strip,.route-summary-strip.compact,.daily-summary.enhanced{grid-template-columns:1fr}}


/* Driver sending */
.send-badge{display:block;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:900;text-align:center;margin-bottom:4px;border:1px solid rgba(255,255,255,.12)}.send-badge.ok{color:#8ff09a;background:rgba(126,224,138,.10);border-color:rgba(126,224,138,.22)}.send-badge.warn{color:#f0d888;background:rgba(240,216,136,.10);border-color:rgba(240,216,136,.22)}.send-badge.bad{color:#ff9189;background:rgba(255,107,96,.10);border-color:rgba(255,107,96,.22)}.send-badge.muted{color:var(--muted);background:rgba(255,255,255,.04)}.row-tools button{margin:1px}


/* Schedule quality control */
.schedule-readiness{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid rgba(201,168,76,.22);border-radius:8px;background:linear-gradient(180deg,rgba(201,168,76,.10),rgba(255,255,255,.02));padding:12px 14px}.schedule-readiness span{display:block;color:var(--muted);font-size:12px}.schedule-readiness strong{display:block;color:#fff;font-size:26px}.schedule-readiness p{margin:0;color:var(--muted)}.schedule-qa-bar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.schedule-qa-bar button{border:1px solid rgba(201,168,76,.18);background:rgba(255,255,255,.03);color:var(--ink);border-radius:8px;padding:9px;text-align:right;display:flex;justify-content:space-between;align-items:center;gap:8px}.schedule-qa-bar button.active{border-color:var(--gold);background:rgba(201,168,76,.16);color:var(--gold)}.schedule-qa-bar span{font-weight:900}.schedule-qa-bar strong{font-size:18px;color:#fff}@media(max-width:1150px){.schedule-qa-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.schedule-readiness{align-items:flex-start;flex-direction:column}.schedule-qa-bar{grid-template-columns:1fr}}


/* Schedule keyboard shortcuts */
.shortcut-help{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:9px 11px;background:rgba(255,255,255,.025);color:var(--muted);font-size:12px}.shortcut-help strong{color:var(--gold);margin-left:4px}.shortcut-help span{border:1px solid rgba(201,168,76,.14);border-radius:999px;padding:4px 8px;background:rgba(0,0,0,.12)}.daily-grid tr.selected-trip{outline:2px solid var(--gold);outline-offset:-2px}.daily-grid tr.selected-trip td:first-child{box-shadow:inset 4px 0 0 var(--gold)}


/* Assignment modal */
.assignment-backdrop{position:fixed;inset:0;z-index:9998;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px}.assignment-modal{width:min(1120px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(201,168,76,.42);border-radius:8px;background:#10100f;box-shadow:0 24px 80px rgba(0,0,0,.45);padding:16px}.assignment-modal header,.assignment-modal footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.assignment-modal h2{color:#fff;margin:4px 0}.assignment-modal p{color:var(--muted);margin:0}.assignment-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.assignment-settings label,.assignment-grid section>input{display:grid;gap:6px;color:var(--muted);font-size:12px}.assignment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.assignment-grid section{border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:12px;background:rgba(255,255,255,.025)}.assignment-grid h3{margin:0 0 10px;color:#fff}.assignment-list{display:grid;gap:7px;max-height:390px;overflow:auto;margin-top:10px}.assignment-list button{text-align:right;border:1px solid rgba(201,168,76,.14);border-radius:8px;background:rgba(0,0,0,.14);color:var(--ink);padding:9px}.assignment-list button.active{border-color:var(--gold);background:rgba(201,168,76,.16)}.assignment-list strong,.assignment-list span{display:block}.assignment-list span{color:var(--muted);font-size:12px;margin-top:3px}.assignment-modal footer{margin-top:14px;justify-content:flex-start}@media(max-width:850px){.assignment-settings,.assignment-grid{grid-template-columns:1fr}.assignment-modal header{align-items:flex-start;flex-direction:column}}


/* Trip details modal */
.trip-details-modal{width:min(1120px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(201,168,76,.42);border-radius:8px;background:#10100f;box-shadow:0 24px 80px rgba(0,0,0,.45);padding:16px}.trip-details-modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.trip-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.trip-details-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px}.trip-details-grid .wide{grid-column:1/-1}.trip-details-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.trip-route-preview{display:grid;gap:12px}.route-preview-head{border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:12px;background:rgba(201,168,76,.08)}.route-preview-head strong,.route-preview-head span{display:block}.route-preview-head strong{color:#fff}.route-preview-head span{color:var(--muted);margin-top:4px}@media(max-width:900px){.trip-details-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.trip-details-grid{grid-template-columns:1fr}}


/* Selected trip quick actions */
.selected-trip-panel{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid rgba(201,168,76,.22);border-radius:8px;background:rgba(255,255,255,.035);padding:12px}.selected-trip-info{display:grid;gap:4px;min-width:240px}.selected-trip-info strong{color:#fff;font-size:17px}.selected-trip-info small{color:var(--muted)}.selected-trip-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.chip.danger{border-color:rgba(255,107,96,.35);color:#ff9189;background:rgba(255,107,96,.08)}@media(max-width:900px){.selected-trip-panel{align-items:flex-start;flex-direction:column}.selected-trip-actions{justify-content:flex-start}}


/* Daily resource load */
.resource-load-panel{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resource-load-panel section{border:1px solid rgba(201,168,76,.18);border-radius:8px;background:rgba(255,255,255,.025);padding:10px;display:grid;gap:7px}.resource-load-panel header{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.resource-load-panel header strong{color:#fff;font-size:15px}.resource-load-item{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:right;border:1px solid rgba(201,168,76,.14);border-radius:8px;background:rgba(0,0,0,.12);color:var(--ink);padding:8px}.resource-load-item b,.resource-load-item small{display:block}.resource-load-item small{color:var(--muted);font-size:11px;margin-top:2px}.resource-load-item strong{font-size:20px;color:#fff}.resource-load-item.ok{border-right:4px solid #7ee08a}.resource-load-item.warn{border-right:4px solid var(--gold)}.resource-load-item.bad{border-right:4px solid #ff6b60}@media(max-width:900px){.resource-load-panel{grid-template-columns:1fr}}


/* Compact professional data tables */
:root{--row-h:34px;--field-h:30px}.table-wrap,.daily-grid-wrap,.card-doc-table,.card-finance-table,.route-subtable-single,.route-day-schedule,.route-subtables section{border-radius:6px;scrollbar-width:thin;scrollbar-color:rgba(201,168,76,.55) rgba(255,255,255,.06)}.table-wrap table,.daily-grid,.edit-table,.card-doc-table table,.card-finance-table table,.route-subtable-single table,.route-day-schedule table,.route-subtables table{font-size:12px;line-height:1.25}.daily-grid th,.daily-grid td,.edit-table th,.edit-table td,.card-doc-table th,.card-doc-table td,.card-finance-table th,.card-finance-table td,.route-subtable-single th,.route-subtable-single td,.route-day-schedule th,.route-day-schedule td,.route-subtables th,.route-subtables td{padding:4px 6px;min-height:var(--row-h);vertical-align:middle}.daily-grid th,.edit-table th,.card-doc-table th,.card-finance-table th,.route-subtable-single th,.route-day-schedule th,.route-subtables th{position:sticky;top:0;z-index:2;background:#171713;color:#d9bd63;border-bottom:1px solid rgba(201,168,76,.26);font-size:11px;font-weight:900;white-space:nowrap}.daily-grid td,.edit-table td{white-space:nowrap}.daily-grid input,.daily-grid select,.edit-table input,.edit-table select,.card-doc-table input,.card-doc-table select,.card-finance-table input,.card-finance-table select,.route-subtable-single input,.route-day-schedule input,.route-day-schedule select,.route-subtables input,.route-subtables select{height:var(--field-h);min-height:var(--field-h);padding:4px 7px;border-radius:6px;font-size:12px}.daily-grid .route-input{min-width:240px}.daily-grid .row-tools{min-width:112px;white-space:normal}.row-tools button{height:24px;padding:2px 7px;border-radius:5px;font-size:11px}.daily-grid-wrap{max-height:58vh;overflow:auto;background:rgba(0,0,0,.10)}.daily-grid.enhanced-grid{min-width:1680px}.panel,.daily-shell,.admin-card-list,.admin-card-editor{border-radius:8px}.license-summary article,.admin-card-metrics article,.route-summary-strip article{min-height:auto;padding:12px}.license-summary strong,.admin-card-metrics strong{font-size:22px}.daily-title{padding:10px 0}.daily-title h2{font-size:24px}.daily-actions,.panel-actions{gap:6px}.chip,.primary-action{min-height:30px;padding:7px 11px;border-radius:7px;font-size:12px}.daily-filters.enhanced{gap:8px}.daily-filters.enhanced label{font-size:12px}.daily-filters.enhanced input,.daily-filters.enhanced select{height:32px}.shortcut-help,.selected-trip-panel,.schedule-readiness{padding:9px 10px}.resource-load-panel{gap:8px}.resource-load-panel section{padding:8px}.resource-load-item{padding:6px 8px}.resource-load-item strong{font-size:17px}.admin-card-workspace{grid-template-columns:280px minmax(0,1fr)}.admin-card-list,.admin-card-editor{padding:12px}.admin-fields{gap:8px}.admin-fields input,.admin-fields select,.client-route-fields input,.client-route-fields select,.random-trip-fields input,.random-trip-fields select,.trip-details-grid input,.trip-details-grid select,.assignment-settings input,.assignment-settings select{height:32px;padding:5px 8px;border-radius:6px;font-size:12px}.client-routes-layout{grid-template-columns:310px minmax(0,1fr)}.route-master-list,.random-trip-list{max-height:560px}.route-list-item{padding:8px}.route-list-toolbar{gap:6px}.client-route-card,.random-trip-editor,.assignment-modal,.trip-details-modal{border-radius:8px}.route-inner-tabs button,.card-record-tabs button,.card-detail-tabs button{padding:7px 10px;border-radius:7px;font-size:12px}.route-inner-body{min-height:160px}.assignment-modal,.trip-details-modal{padding:14px}.assignment-list{max-height:330px}.doc-preview-box{border-radius:8px}@media(max-width:1200px){.daily-grid-wrap{max-height:62vh}.admin-card-workspace,.client-routes-layout{grid-template-columns:1fr}.route-master-list,.random-trip-list{max-height:300px}}@media(max-width:760px){.license-summary,.admin-card-metrics{grid-template-columns:1fr 1fr}.daily-grid.enhanced-grid{min-width:1400px}.chip,.primary-action{width:auto}.daily-actions{align-items:flex-start}.admin-card-tabs button,.card-record-tabs button,.card-detail-tabs button,.route-inner-tabs button{width:auto}}


/* Driver vehicle sync */
.driver-vehicle-sync{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid rgba(201,168,76,.24);border-radius:8px;background:rgba(201,168,76,.08);padding:9px 11px;margin-bottom:10px}.driver-vehicle-sync span,.driver-vehicle-sync small{color:var(--muted);font-size:12px}.driver-vehicle-sync strong{color:#fff}@media(max-width:760px){.driver-vehicle-sync{align-items:flex-start;flex-direction:column}}


/* Extra compact card workspace */
.admin-cards-page{gap:12px}.admin-cards-hero{padding:6px 0 12px}.admin-cards-hero h2{font-size:24px}.admin-card-metrics{gap:8px}.admin-card-metrics article{padding:10px;min-height:70px}.admin-card-metrics strong{font-size:20px}.admin-card-tabs{gap:6px}.admin-card-tabs button{padding:8px 12px;border-radius:7px;font-size:12px}.admin-card-workspace{grid-template-columns:250px minmax(0,1fr);gap:10px}.admin-card-list,.admin-card-editor{padding:10px}.admin-card-list-items{gap:6px;max-height:600px}.admin-card-list-items button{padding:8px;border-radius:7px}.admin-card-list-items span{font-size:11px}.admin-editor-head{margin-bottom:8px}.admin-editor-head h3{font-size:20px;margin:5px 0 2px}.card-detail-tabs,.card-record-tabs,.route-inner-tabs{gap:5px;margin:8px 0}.card-detail-tabs button,.card-record-tabs button,.route-inner-tabs button{padding:6px 9px;font-size:11px}.admin-editor-grid{gap:8px}.admin-editor-grid fieldset{padding:10px;border-radius:7px}.admin-editor-grid legend{font-size:12px}.admin-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.admin-fields label,.client-department-fields label,.client-route-fields label,.random-trip-fields label,.trip-details-grid label,.assignment-settings label{font-size:11px;gap:4px}.admin-fields input,.admin-fields select{height:29px;font-size:11px;padding:4px 7px}.card-finance-ledger,.card-documents,.client-routes-panel,.client-random-panel,.client-departments-panel{padding:10px;margin-top:8px}.finance-summary-strip,.route-summary-strip{gap:7px;margin-bottom:8px}.finance-summary-strip article,.route-summary-strip article{padding:8px}.finance-summary-strip strong,.route-summary-strip strong{font-size:17px}.client-routes-layout,.client-random-layout{gap:8px}.route-master-list,.random-trip-list{max-height:480px;padding:6px}.client-route-card,.client-department-card,.random-trip-editor{padding:9px}.route-list-toolbar{grid-template-columns:auto minmax(180px,1fr) repeat(4,minmax(100px,auto))}.route-list-toolbar input,.route-list-toolbar select{height:30px;font-size:11px}.driver-vehicle-sync{padding:7px 9px;margin-bottom:8px}.driver-vehicle-sync strong{font-size:13px}@media(max-width:1250px){.admin-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-card-workspace{grid-template-columns:1fr}.route-list-toolbar{grid-template-columns:1fr 1fr}}@media(max-width:760px){.admin-fields{grid-template-columns:1fr 1fr}.admin-card-tabs button,.card-detail-tabs button,.card-record-tabs button,.route-inner-tabs button{width:auto}.route-list-toolbar{grid-template-columns:1fr}}


/* Ultra compact daily schedule */
.daily-shell{gap:8px}.daily-grid-wrap{max-height:64vh;border:1px solid rgba(201,168,76,.18);border-radius:7px}.daily-grid.enhanced-grid{font-size:11px;min-width:1580px}.daily-grid th{font-size:10.5px;padding:3px 5px;height:28px}.daily-grid td{padding:2px 4px;height:30px}.daily-grid input,.daily-grid select{height:26px;min-height:26px;padding:2px 5px;font-size:11px;border-radius:5px}.daily-grid .route-input{min-width:210px}.daily-grid td:nth-child(1){min-width:105px}.daily-grid td:nth-child(2){min-width:72px}.daily-grid td:nth-child(6){min-width:130px}.daily-grid td:nth-child(8){min-width:230px}.daily-grid td:nth-child(9),.daily-grid td:nth-child(10){min-width:120px}.row-tools button{height:21px;padding:1px 5px;font-size:10.5px}.send-badge{padding:2px 5px;font-size:10px;margin-bottom:2px}.sort-head{font-size:10.5px}.daily-title h2{font-size:22px}.daily-title p{font-size:12px}.build-status{display:inline-block;margin-right:8px;border:1px solid rgba(201,168,76,.25);border-radius:999px;padding:2px 7px;color:var(--gold);background:rgba(201,168,76,.08)}.schedule-readiness,.selected-trip-panel,.shortcut-help{padding:7px 9px}.schedule-qa-bar button{padding:6px 8px}.schedule-qa-bar strong{font-size:15px}.daily-summary.enhanced article{padding:9px}.resource-load-panel section{gap:5px}.resource-load-item{padding:5px 7px}.resource-load-item strong{font-size:15px}@media(max-width:760px){.daily-grid.enhanced-grid{min-width:1320px}.daily-grid-wrap{max-height:68vh}}


/* Resource control view and cleaner daily schedule */
.resource-control{display:grid;gap:12px}.resource-control-filters{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:8px}.resource-control-filters label{display:grid;gap:5px;color:var(--muted);font-size:12px}.resource-control-filters input,.resource-control-filters select{height:30px}.resource-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compact-head{margin-bottom:4px}.compact-resource-table table{min-width:620px}.compact-resource-table th,.compact-resource-table td{padding:5px 7px;font-size:12px}.daily-shell .resource-load-panel{display:none}.daily-shell{gap:7px}.daily-title{padding:6px 0}.daily-title h2{font-size:21px}.daily-actions{gap:5px}.daily-actions .chip,.daily-actions .primary-action{height:28px;min-height:28px;padding:5px 9px}.daily-filters.enhanced{grid-template-columns:repeat(6,minmax(120px,1fr));gap:6px}.daily-filters.enhanced label{font-size:11px}.daily-filters.enhanced input,.daily-filters.enhanced select{height:28px;font-size:11px}.schedule-readiness,.selected-trip-panel,.shortcut-help{padding:6px 8px}.schedule-readiness strong{font-size:20px}.schedule-readiness p{font-size:12px}.schedule-qa-bar{gap:5px}.schedule-qa-bar button{padding:5px 7px}.daily-summary.enhanced{gap:6px}.daily-summary.enhanced article{padding:7px}.daily-summary.enhanced strong{font-size:18px}.selected-trip-info strong{font-size:15px}.selected-trip-info small{font-size:11px}.selected-trip-actions{gap:5px}.daily-grid-wrap{max-height:68vh}.daily-grid.enhanced-grid{font-size:10.5px;min-width:1500px}.daily-grid th{height:25px;padding:2px 4px;font-size:10px}.daily-grid td{height:27px;padding:1px 3px}.daily-grid input,.daily-grid select{height:24px;min-height:24px;font-size:10.5px;padding:1px 4px}.row-tools button{height:19px;padding:1px 4px;font-size:10px}.send-badge{font-size:9.5px;padding:1px 4px}.shortcut-help span{padding:3px 6px}@media(max-width:1100px){.resource-control-grid{grid-template-columns:1fr}.daily-filters.enhanced{grid-template-columns:1fr 1fr 1fr}}@media(max-width:700px){.resource-control-filters,.daily-filters.enhanced{grid-template-columns:1fr}.daily-grid.enhanced-grid{min-width:1280px}}


/* schedule-unified-cards-v062 */
.daily-shell{background:transparent;border:0;padding:0;color:var(--text)}
.daily-title{background:linear-gradient(180deg,rgba(20,20,20,.98),rgba(12,12,12,.98));border:1px solid rgba(181,140,45,.28);border-radius:8px;padding:10px 12px;box-shadow:0 12px 24px rgba(0,0,0,.22)}
.daily-title h2{font-size:20px;line-height:1.1;margin:0;color:#f7d36a}.daily-title p{font-size:12px;color:var(--muted);margin-top:5px}
.daily-actions .chip,.daily-actions .primary-action,.daily-bottom .chip,.daily-bottom .primary-action{border-radius:7px;height:28px;font-size:11px;padding:4px 9px;white-space:nowrap}
.daily-filters.enhanced{background:#101010;border:1px solid rgba(181,140,45,.24);border-radius:8px;padding:9px;grid-template-columns:repeat(7,minmax(105px,1fr));box-shadow:none}
.daily-filters.enhanced label{font-size:11px;color:#b9b9b9;gap:4px}.daily-filters.enhanced input,.daily-filters.enhanced select{height:27px;border-radius:6px;background:#171717;border-color:#2b2b2b;color:#f1f1f1;font-size:11px;padding:3px 7px}
.daily-grid-wrap{background:#111;border:1px solid rgba(181,140,45,.24);border-radius:8px;max-height:66vh;overflow:auto;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.daily-grid.enhanced-grid{min-width:1220px;width:100%;border-collapse:separate;border-spacing:0;font-size:10.5px;background:#111;color:#eee;table-layout:fixed}
.daily-grid.enhanced-grid th{position:sticky;top:0;z-index:3;height:25px;background:#171717;color:#d6b44d;border-bottom:1px solid rgba(181,140,45,.32);font-weight:700;font-size:10px;padding:2px 4px;white-space:nowrap}
.daily-grid.enhanced-grid td{height:25px;padding:1px 3px;border-bottom:1px solid rgba(255,255,255,.055);border-left:1px solid rgba(255,255,255,.035);vertical-align:middle;overflow:hidden}
.daily-grid.enhanced-grid tr:hover td{background:rgba(181,140,45,.07)}.daily-grid.enhanced-grid tr.selected-trip td{background:rgba(181,140,45,.16)!important;border-bottom-color:rgba(181,140,45,.35)}
.daily-grid.enhanced-grid input,.daily-grid.enhanced-grid select{width:100%;height:22px;min-height:22px;border-radius:5px;background:#151515;border:1px solid #2a2a2a;color:#f4f4f4;font-size:10.5px;padding:1px 5px;line-height:1.1}
.daily-grid.enhanced-grid input:focus,.daily-grid.enhanced-grid select:focus{outline:1px solid rgba(214,180,77,.75);border-color:rgba(214,180,77,.75)}
.daily-grid.enhanced-grid th:nth-child(1),.daily-grid.enhanced-grid td:nth-child(1){width:136px}.daily-grid.enhanced-grid th:nth-child(2),.daily-grid.enhanced-grid td:nth-child(2){width:78px}.daily-grid.enhanced-grid th:nth-child(3),.daily-grid.enhanced-grid td:nth-child(3){width:86px}.daily-grid.enhanced-grid th:nth-child(4),.daily-grid.enhanced-grid td:nth-child(4),.daily-grid.enhanced-grid th:nth-child(5),.daily-grid.enhanced-grid td:nth-child(5){width:62px}.daily-grid.enhanced-grid th:nth-child(6),.daily-grid.enhanced-grid td:nth-child(6){width:112px}.daily-grid.enhanced-grid th:nth-child(7),.daily-grid.enhanced-grid td:nth-child(7){width:88px}.daily-grid.enhanced-grid th:nth-child(8),.daily-grid.enhanced-grid td:nth-child(8){width:210px}.daily-grid.enhanced-grid th:nth-child(9),.daily-grid.enhanced-grid td:nth-child(9){width:105px}.daily-grid.enhanced-grid th:nth-child(10),.daily-grid.enhanced-grid td:nth-child(10){width:88px}.daily-grid.enhanced-grid th:nth-child(11),.daily-grid.enhanced-grid td:nth-child(11){width:64px}.daily-grid.enhanced-grid th:nth-child(12),.daily-grid.enhanced-grid td:nth-child(12){width:54px}.daily-grid.enhanced-grid th:nth-child(13),.daily-grid.enhanced-grid td:nth-child(13),.daily-grid.enhanced-grid th:nth-child(14),.daily-grid.enhanced-grid td:nth-child(14){width:70px}.daily-grid.enhanced-grid th:nth-child(15),.daily-grid.enhanced-grid td:nth-child(15),.daily-grid.enhanced-grid th:nth-child(16),.daily-grid.enhanced-grid td:nth-child(16){width:68px}.daily-grid.enhanced-grid th:nth-child(17),.daily-grid.enhanced-grid td:nth-child(17){width:74px}.daily-grid.enhanced-grid th:nth-child(18),.daily-grid.enhanced-grid td:nth-child(18){width:120px}
.row-tools{display:flex;gap:3px;align-items:center;justify-content:center;flex-wrap:nowrap}.row-tools button{height:20px;border-radius:5px;padding:1px 5px;background:#191919;border:1px solid rgba(181,140,45,.35);color:#d6b44d;font-size:10px}.row-tools button:hover{background:#251f12}
.daily-cell{cursor:default}.daily-cell.cell-driver,.daily-cell.cell-vehicle,.daily-cell.cell-client,.daily-cell.cell-department,.daily-cell.cell-date,.daily-cell.cell-time,.daily-cell.cell-route{cursor:pointer}.daily-cell.cell-driver:hover,.daily-cell.cell-vehicle:hover,.daily-cell.cell-client:hover,.daily-cell.cell-department:hover{box-shadow:inset 0 0 0 1px rgba(214,180,77,.45);background:rgba(214,180,77,.08)}.daily-cell.cell-date:hover,.daily-cell.cell-time:hover,.daily-cell.cell-route:hover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);background:rgba(255,255,255,.045)}
.sort-head{font-size:10px;color:#d6b44d;background:transparent;border:0;padding:0;cursor:pointer}.send-badge{display:inline-block;margin-left:3px;font-size:9px;line-height:1;padding:2px 4px;border-radius:999px;background:rgba(181,140,45,.14);color:#d6b44d}.daily-bottom{background:#101010;border:1px solid rgba(181,140,45,.2);border-radius:8px;padding:7px;justify-content:flex-start}
.schedule-readiness,.selected-trip-panel,.shortcut-help,.schedule-qa-bar{border-radius:8px;background:#101010;border:1px solid rgba(181,140,45,.18)}
@media(max-width:1200px){.daily-grid.enhanced-grid{min-width:1160px}.daily-filters.enhanced{grid-template-columns:repeat(4,minmax(120px,1fr))}}@media(max-width:760px){.daily-filters.enhanced{grid-template-columns:1fr 1fr}.daily-grid.enhanced-grid{min-width:1120px}.daily-title{display:block}.daily-actions{margin-top:8px}}


/* daily-schedule-layout-customizer-v063 */
.schedule-design-panel{background:#101010;border:1px solid rgba(181,140,45,.22);border-radius:8px;padding:8px 10px;display:grid;gap:8px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.design-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.design-panel-head strong{color:#f1d06c;font-size:13px}.design-panel-head div{display:flex;gap:6px;flex-wrap:wrap}.schedule-design-panel p{margin:0;color:#8f8f8f;font-size:11px}
.layout-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.layout-controls label{display:flex;align-items:center;gap:7px;color:#bdbdbd;font-size:11px}.layout-controls input[type=range]{width:150px;accent-color:#d6b44d}.layout-controls select{height:26px;border-radius:6px;background:#171717;border:1px solid #2b2b2b;color:#f1f1f1;font-size:11px;padding:2px 7px}.layout-controls span{color:#d6b44d;min-width:34px}
.layout-chip-row{display:flex;gap:6px;flex-wrap:wrap}.layout-chip{height:28px;display:inline-flex;align-items:center;gap:6px;border-radius:7px;border:1px solid rgba(181,140,45,.34);background:#151515;color:#eee;padding:3px 7px;cursor:grab;font-size:11px}.layout-chip:active{cursor:grabbing}.layout-chip.off{opacity:.48;border-color:#333;color:#999}.layout-chip span{font-weight:700}.layout-chip small{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:4px;background:#202020;color:#d6b44d;font-size:13px;line-height:1;cursor:pointer}.layout-chip b{font-size:10px;font-weight:700;border-radius:999px;padding:2px 6px;background:rgba(181,140,45,.16);color:#d6b44d;cursor:pointer}.layout-chip.off b{background:#222;color:#aaa}
.daily-grid.custom-grid{min-width:max-content}.daily-grid.custom-grid th{min-width:48px}.daily-grid.custom-grid td{height:var(--daily-row-h,25px)}.daily-grid.custom-grid input,.daily-grid.custom-grid select{height:calc(var(--daily-row-h,25px) - 4px);min-height:20px}.daily-shell.density-normal .daily-grid.custom-grid th,.daily-shell.density-normal .daily-grid.custom-grid td{font-size:11.5px;padding:2px 5px}.daily-shell.density-wide .daily-grid.custom-grid th,.daily-shell.density-wide .daily-grid.custom-grid td{font-size:12px;padding:4px 7px}.daily-shell.density-wide .row-tools{gap:5px}.daily-cell.active-filter-cell{background:rgba(214,180,77,.16)!important;box-shadow:inset 0 0 0 1px rgba(214,180,77,.58)}.daily-cell.active-filter-cell input,.daily-cell.active-filter-cell select{border-color:rgba(214,180,77,.72);background:#1e1a10}
@media(max-width:760px){.design-panel-head{align-items:flex-start;flex-direction:column}.layout-controls{display:grid;grid-template-columns:1fr}.layout-chip-row{max-height:170px;overflow:auto}.layout-chip{font-size:10.5px}}


/* daily-build-date-range-v064 */
.daily-build-box{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;align-items:end;gap:10px;background:#101010;border:1px solid rgba(181,140,45,.24);border-radius:8px;padding:10px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.daily-build-box strong{display:block;color:#f1d06c;font-size:13px;margin-bottom:4px}.daily-build-box p{margin:0;color:#9b9b9b;font-size:11px;line-height:1.45}.daily-build-box label{display:grid;gap:4px;color:#bdbdbd;font-size:11px}.daily-build-box input{height:29px;border-radius:6px;background:#171717;border:1px solid #2b2b2b;color:#f1f1f1;font-size:12px;padding:3px 8px}.daily-build-box label span{color:#d6b44d;font-size:11px}.daily-build-box .primary-action{height:31px;border-radius:7px;white-space:nowrap}
@media(max-width:980px){.daily-build-box{grid-template-columns:1fr 1fr}.daily-build-box>div{grid-column:1/-1}}@media(max-width:620px){.daily-build-box{grid-template-columns:1fr}}


/* daily-build-preview-v065 */
.daily-build-preview{grid-column:1/-1;display:grid;gap:8px;border-top:1px solid rgba(181,140,45,.18);padding-top:8px}.preview-total{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#bdbdbd;font-size:11px}.preview-total strong{color:#f1d06c}.preview-days{display:flex;gap:6px;overflow:auto;padding-bottom:2px}.preview-day{min-width:138px;text-align:right;border:1px solid rgba(181,140,45,.23);background:#151515;color:#eee;border-radius:7px;padding:7px 8px;display:grid;gap:2px;cursor:pointer}.preview-day:hover{background:#1c1a13;border-color:rgba(214,180,77,.55)}.preview-day.active{background:rgba(181,140,45,.18);border-color:rgba(214,180,77,.72);box-shadow:inset 0 0 0 1px rgba(214,180,77,.2)}.preview-day b{font-size:12px;color:#fff}.preview-day span{font-size:11px;color:#d6b44d}.preview-day small{font-size:10px;color:#a7a7a7}.daily-build-box{align-items:start}.daily-build-box>button.primary-action{align-self:end}
@media(max-width:620px){.preview-total{display:grid}.preview-days{max-width:100%}.preview-day{min-width:125px}}


/* daily-resizable-layout-v067 */
.layout-chip-row.resizable-columns{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.layout-chip-row.resizable-columns .layout-chip{height:auto;display:grid;gap:7px;padding:8px;cursor:grab}.layout-chip .chip-main{display:flex;align-items:center;gap:6px}.layout-chip .chip-main span{flex:1;min-width:0}.layout-chip button{height:22px;border-radius:5px;border:1px solid rgba(181,140,45,.28);background:#1b1b1b;color:#d6b44d;font-size:11px;cursor:pointer}.layout-chip button.vis{padding:1px 7px;background:rgba(181,140,45,.14)}.column-size-control{display:grid;grid-template-columns:24px 58px 24px 1fr;gap:5px;align-items:center}.column-size-control input[type=number],.row-height-number{height:24px;border-radius:5px;border:1px solid #303030;background:#171717;color:#f1f1f1;font-size:11px;padding:1px 5px}.column-size-control input[type=range]{width:100%;accent-color:#d6b44d}.daily-grid.custom-grid{table-layout:fixed}.daily-grid.custom-grid col{min-width:44px}.daily-grid.custom-grid td,.daily-grid.custom-grid th{box-sizing:border-box}.daily-grid.custom-grid input,.daily-grid.custom-grid select{min-width:0}.daily-grid.custom-grid .route-input{min-width:0}.layout-controls .row-height-number{width:58px}.daily-grid-wrap{resize:vertical;min-height:260px}


/* daily-width-override-v067 */
.daily-grid.custom-grid th,.daily-grid.custom-grid td{width:auto!important;max-width:none}.daily-grid.custom-grid col{width:var(--col-width)}


/* schedule-filter-suggest-v068 */
.daily-filters.filter-autocomplete{align-items:start;overflow:visible}.filter-combo{position:relative;z-index:6}.filter-combo:focus-within{z-index:20}.filter-suggest-wrap{display:none;position:absolute;top:100%;right:0;left:0;margin-top:4px;background:#111;border:1px solid rgba(214,180,77,.42);border-radius:7px;box-shadow:0 14px 30px rgba(0,0,0,.45);max-height:240px;overflow:auto;padding:4px}.filter-combo:focus-within .filter-suggest-wrap{display:block}.filter-suggest{display:grid;gap:3px}.filter-suggest button{border:0;background:#171717;color:#f3f3f3;border-radius:5px;padding:6px 7px;text-align:right;display:grid;gap:2px;cursor:pointer}.filter-suggest button:hover{background:rgba(181,140,45,.18)}.filter-suggest strong{font-size:12px;color:#fff}.filter-suggest span{font-size:10px;color:#9d9d9d}.filter-suggest.empty{font-size:11px;color:#999;padding:8px}.readonly-cell-value{height:100%;min-height:20px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px;color:#f1f1f1}.readonly-cell-value.empty{color:#777}.daily-cell.cell-client .readonly-cell-value,.daily-cell.cell-department .readonly-cell-value{cursor:pointer}


/* schedule-multi-select-v069 */
.daily-grid.enhanced-grid tr.selected-trip td{background:rgba(214,180,77,.18)!important;border-bottom-color:rgba(214,180,77,.45)}.daily-grid.enhanced-grid tr.selected-trip td:first-child{box-shadow:inset -3px 0 0 #d6b44d}.bulk-panel{border-color:rgba(214,180,77,.42);background:linear-gradient(180deg,#15130d,#101010)}.bulk-edit-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.bulk-edit-controls label{display:grid;gap:4px;color:#bdbdbd;font-size:11px}.bulk-edit-controls input{height:28px;border-radius:6px;border:1px solid #303030;background:#171717;color:#f1f1f1;padding:3px 7px}.bulk-edit-controls .primary-action,.bulk-edit-controls .chip{height:29px}.shortcut-help span:last-child{color:#d6b44d;border-color:rgba(214,180,77,.35)}


/* daily-calm-black-theme-v070 */
.daily-shell .daily-grid-wrap{background:#070707;border-color:rgba(120,86,32,.45)}
.daily-shell .daily-grid.enhanced-grid{background:#070707;color:#fff;border-collapse:separate;border-spacing:0 2px}
.daily-shell .daily-grid.enhanced-grid th{background:#0b0b0b!important;color:#d6b44d!important;border-bottom:1px solid rgba(181,140,45,.55)!important;border-left:1px solid rgba(255,255,255,.08)!important}
.daily-shell .daily-grid.enhanced-grid tr{background:#070707!important}.daily-shell .daily-grid.enhanced-grid td{background:#070707!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.06)!important;border-left:1px solid rgba(255,255,255,.035)!important}
.daily-shell .daily-grid.enhanced-grid tr.row-fixed-assigned td,.daily-shell .daily-grid.enhanced-grid tr.row-casual td{background:#070707!important;color:#fff!important}.daily-shell .daily-grid.enhanced-grid tr.row-active td{background:#0b0b0b!important;color:#fff!important}.daily-shell .daily-grid.enhanced-grid tr.row-alert td,.daily-shell .daily-grid.enhanced-grid tr.row-conflict td{background:#120b0b!important;color:#ffd4d4!important}
.daily-shell .daily-grid.enhanced-grid tr.row-fixed-unassigned td{background:#080708!important;color:#ff8ab8!important}.daily-shell .daily-grid.enhanced-grid tr.row-fixed-unassigned input,.daily-shell .daily-grid.enhanced-grid tr.row-fixed-unassigned select,.daily-shell .daily-grid.enhanced-grid tr.row-fixed-unassigned .readonly-cell-value{color:#ff8ab8!important;border-color:rgba(255,138,184,.42)!important}
.daily-shell .daily-grid.enhanced-grid tr:hover td{background:#101010!important}.daily-shell .daily-grid.enhanced-grid tr.row-fixed-unassigned:hover td{background:#120b10!important}
.daily-shell .daily-grid.enhanced-grid tr.selected-trip td{background:#090807!important;color:#fff!important;border-top:1px solid #7b5420!important;border-bottom:1px solid #7b5420!important;box-shadow:none!important}.daily-shell .daily-grid.enhanced-grid tr.selected-trip td:first-child{border-right:2px solid #7b5420!important;box-shadow:inset -3px 0 0 #7b5420!important}.daily-shell .daily-grid.enhanced-grid tr.selected-trip td:last-child{border-left:2px solid #7b5420!important}
.daily-shell .daily-grid.enhanced-grid input,.daily-shell .daily-grid.enhanced-grid select{background:#050505!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important}.daily-shell .daily-grid.enhanced-grid input:focus,.daily-shell .daily-grid.enhanced-grid select:focus{outline:1px solid #7b5420!important;border-color:#7b5420!important}.daily-shell .daily-grid.enhanced-grid option{background:#090909;color:#fff}
.daily-shell .daily-grid.enhanced-grid .readonly-cell-value{color:#fff!important}.daily-shell .daily-grid.enhanced-grid .readonly-cell-value.empty{color:#999!important}.daily-shell .daily-grid.enhanced-grid .badge,.daily-shell .daily-grid.enhanced-grid .send-badge{background:#111!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important}.daily-shell .daily-grid.enhanced-grid .badge.bad{color:#ff8ab8!important;border-color:rgba(255,138,184,.45)!important}
.daily-shell .row-tools button{background:#070707!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important}.daily-shell .row-tools button:hover{background:#15100a!important;border-color:#7b5420!important;color:#fff!important}.daily-cell.active-filter-cell{background:#100b05!important;box-shadow:inset 0 0 0 1px #7b5420!important}.daily-cell.active-filter-cell input,.daily-cell.active-filter-cell select{border-color:#7b5420!important;background:#070707!important;color:#fff!important}


/* schedule-legend-undo-v071 */
.schedule-legend-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#0a0a0a;border:1px solid rgba(120,84,32,.42);border-radius:8px;padding:7px 9px;color:#d8d8d8;font-size:11px}.schedule-legend-bar>div{display:flex;align-items:center;gap:5px}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#fff}.legend-dot.pink{background:#ff8ab8;border-color:#ff8ab8}.legend-dot.white{background:#f5f5f5}.legend-border{display:inline-block;width:18px;height:10px;border-radius:3px;border:2px solid #7b5420}.legend-actions{margin-right:auto;display:flex!important;gap:6px;flex-wrap:wrap}.legend-actions .chip{height:25px;padding:3px 8px;border-color:rgba(255,255,255,.14);color:#fff;background:#080808}.legend-actions .chip:hover,.legend-actions .chip.brown{border-color:#7b5420;background:#120d06;color:#fff}.schedule-qa-bar{background:#0a0a0a;border:1px solid rgba(120,84,32,.25);border-radius:8px;padding:6px}.schedule-qa-bar button{background:#070707;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:6px}.schedule-qa-bar button.active{border-color:#7b5420;background:#120d06;color:#fff}.schedule-qa-bar button strong{color:#d6b44d}


/* schedule-pointer-multiselect-v072 */
.daily-grid.enhanced-grid tr[data-trip-id]{cursor:pointer}.daily-grid.enhanced-grid tr[data-trip-id]:hover td{outline-color:rgba(123,84,32,.28)}.shortcut-help span:nth-last-child(-n+2){color:#d6b44d;border-color:rgba(214,180,77,.35)}


/* full-finance-system-v073 */
.finance-console{display:grid;gap:12px}.finance-kpis{grid-template-columns:repeat(5,minmax(120px,1fr))}.finance-tabs{display:flex;gap:6px;flex-wrap:wrap;background:#0a0a0a;border:1px solid rgba(181,140,45,.22);border-radius:8px;padding:7px}.finance-tabs button{height:30px;border-radius:7px;border:1px solid rgba(255,255,255,.12);background:#101010;color:#eee;padding:4px 10px;cursor:pointer}.finance-tabs button.active,.finance-tabs button:hover{border-color:#b58c2d;background:#18130a;color:#fff}.finance-doc-toolbar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 8px;background:#0b0b0b;border:1px solid rgba(181,140,45,.18);border-radius:8px;padding:8px}.finance-table.full-finance{min-width:1320px}.finance-table th{white-space:nowrap}.finance-table input,.finance-table select{height:28px;border-radius:6px;background:#0d0d0d;color:#fff;border:1px solid #2e2e2e;padding:3px 7px}.finance-table input[type=checkbox]{height:16px}.finance-table td{vertical-align:middle}.finance-match-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:12px}.finance-match-layout section{background:#0b0b0b;border:1px solid rgba(181,140,45,.18);border-radius:8px;padding:10px}.finance-match-layout h3{margin:0 0 8px;color:#d6b44d;font-size:14px}.open-invoices-list{display:grid;gap:6px;max-height:420px;overflow:auto}.open-invoices-list label{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center;background:#101010;border:1px solid rgba(255,255,255,.08);border-radius:7px;padding:7px;color:#eee}.open-invoices-list label:hover{border-color:#b58c2d}.open-invoices-list span{grid-column:2;color:#aaa;font-size:11px}.finance-table .license-actions{display:flex;gap:5px;flex-wrap:wrap}.finance-table .chip{height:25px;padding:3px 7px}.finance-console .badge{border-radius:999px;padding:2px 7px}.finance-console .badge.ok{background:rgba(57,180,90,.12);color:#82e09a}.finance-console .badge.warn{background:rgba(214,180,77,.14);color:#e4c96d}.finance-console .badge.info{background:rgba(120,160,255,.12);color:#adc4ff}.finance-console .badge.bad{background:rgba(255,100,130,.12);color:#ff8ab8}@media(max-width:900px){.finance-kpis{grid-template-columns:1fr 1fr}.finance-match-layout{grid-template-columns:1fr}.finance-tabs{overflow:auto;flex-wrap:nowrap}.finance-tabs button{white-space:nowrap}}@media print{body *{visibility:hidden}.finance-console,.finance-console *{visibility:visible}.finance-console{position:absolute;inset:0;background:#fff;color:#000}.finance-console .panel-actions,.finance-tabs,.finance-doc-toolbar{display:none!important}.finance-table input,.finance-table select{border:0;color:#000;background:transparent}}


/* finance-period-invoicing-v074 */
.finance-period-box{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(4,minmax(130px,.7fr)) auto;gap:8px;align-items:end;background:#0b0b0b;border:1px solid rgba(181,140,45,.24);border-radius:8px;padding:10px;margin-bottom:10px}.finance-period-box strong{display:block;color:#d6b44d;font-size:14px}.finance-period-box span{display:block;color:#aaa;font-size:11px;margin-top:3px}.finance-period-box label{display:grid;gap:4px;color:#bdbdbd;font-size:11px}.finance-period-box input,.finance-period-box select{height:29px;border-radius:6px;background:#121212;color:#fff;border:1px solid #303030;padding:3px 7px}.finance-period-box .primary-action{height:31px;white-space:nowrap}@media(max-width:1100px){.finance-period-box{grid-template-columns:1fr 1fr}.finance-period-box>div{grid-column:1/-1}}@media(max-width:650px){.finance-period-box{grid-template-columns:1fr}}


/* tax-compliance-finance-v075 */
.finance-compliance-panel{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(130px,.7fr));gap:8px;align-items:end;background:#090909;border:1px solid rgba(181,140,45,.34);border-radius:8px;padding:10px;margin-bottom:10px}.finance-compliance-panel strong{display:block;color:#d6b44d;font-size:14px}.finance-compliance-panel span{display:block;color:#aaa;font-size:11px;margin-top:3px}.finance-compliance-panel label{display:grid;gap:4px;color:#ddd;font-size:11px}.finance-compliance-panel input{height:28px;border-radius:6px;background:#111;color:#fff;border:1px solid #303030;padding:3px 7px}.finance-compliance-panel input[type=checkbox]{height:16px}.finance-table tr.locked-doc td{background:rgba(181,140,45,.045)}.finance-table tr.locked-doc input:disabled,.finance-table tr.locked-doc select:disabled{opacity:.72;border-color:rgba(181,140,45,.22)}.doc-state{display:inline-block;white-space:nowrap;border:1px solid rgba(181,140,45,.35);border-radius:999px;padding:2px 7px;color:#d6b44d;background:#120d06}.finance-table tr.draft-doc .doc-state{color:#ccc;background:#111;border-color:#333}.finance-table input[placeholder="מספר הקצאה"]{border-color:rgba(90,140,255,.35)}@media(max-width:1100px){.finance-compliance-panel{grid-template-columns:1fr 1fr}.finance-compliance-panel>div{grid-column:1/-1}}@media(max-width:650px){.finance-compliance-panel{grid-template-columns:1fr}}


/* trip-invoice-subtabs-v076 */
.finance-subtabs{display:flex;gap:6px;flex-wrap:wrap;background:#080808;border:1px solid rgba(181,140,45,.24);border-radius:8px;padding:7px;margin-bottom:10px}.finance-subtabs button{border:1px solid rgba(255,255,255,.12);background:#101010;color:#eee;border-radius:7px;padding:7px 10px;cursor:pointer}.finance-subtabs button.active,.finance-subtabs button:hover{background:#171108;border-color:#b58c2d;color:#fff}.trip-invoice-action{display:grid;gap:10px;background:#0b0b0b;border:1px solid rgba(181,140,45,.2);border-radius:8px;padding:12px}.trip-invoice-action h3{margin:0;color:#d6b44d;font-size:17px}.trip-invoice-action p{margin:4px 0 0;color:#aaa;font-size:12px}.trip-invoice-action .primary-action.big{justify-self:start;height:34px;padding:6px 14px}.trip-invoice-preview{display:grid;gap:7px}.trip-invoice-preview h4{margin:0;color:#fff;font-size:13px}.trip-invoice-preview article{display:flex;justify-content:space-between;gap:10px;background:#101010;border:1px solid rgba(255,255,255,.08);border-radius:7px;padding:7px 9px}.trip-invoice-preview strong{color:#fff}.trip-invoice-preview span{color:#d6b44d}.trip-invoice-preview p{color:#888}


/* trip-finance-links-v077 */
.trip-finance-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}.trip-finance-links article{border:1px solid rgba(181,140,45,.24);background:#0b0b0b;border-radius:8px;padding:9px;display:grid;gap:3px}.trip-finance-links article.ok{border-color:rgba(57,180,90,.35)}.trip-finance-links article.warn{border-color:rgba(255,138,184,.35)}.trip-finance-links span{color:#aaa;font-size:11px}.trip-finance-links strong{color:#fff;font-size:15px}.trip-finance-links small{color:#d6b44d}.trip-details-modal .trip-finance-links{grid-column:1/-1}@media(max-width:700px){.trip-finance-links{grid-template-columns:1fr}}


/* auto-invoice-cancel-v078 */
.finance-subtabs button.active{box-shadow:inset 0 -2px 0 #b58c2d}.trip-invoice-action .cancel-preview article{border-color:rgba(255,138,184,.35);background:#130a0f}.trip-invoice-action .cancel-preview span{color:#ff8ab8}.trip-invoice-action button.big[onclick*="cancelMarked"]{background:#5b251f;border-color:#b86a55;color:#fff}


/* invoice-trip-detail-preview-v079 */
.trip-invoice-preview.detailed{display:grid;gap:10px}.trip-invoice-preview .preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.trip-invoice-client-group{display:grid;gap:5px;background:#0b0b0b;border:1px solid rgba(181,140,45,.18);border-radius:8px;padding:8px}.trip-invoice-client-group header{display:flex;justify-content:space-between;gap:8px;color:#d6b44d;border-bottom:1px solid rgba(255,255,255,.07);padding-bottom:5px}.trip-invoice-line{display:grid;grid-template-columns:auto 110px minmax(180px,1fr) 90px;gap:7px;align-items:center;background:#101010;border:1px solid rgba(255,255,255,.06);border-radius:6px;padding:5px 7px}.trip-invoice-line b{color:#fff;font-size:12px}.trip-invoice-line span{color:#ddd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trip-invoice-line em{font-style:normal;color:#d6b44d;text-align:left}.trip-invoice-line .chip{height:24px;padding:2px 7px}.trip-invoice-client-group.excluded{border-color:rgba(255,138,184,.28);opacity:.82}.trip-invoice-client-group.excluded header{color:#ff8ab8}@media(max-width:760px){.trip-invoice-line{grid-template-columns:1fr 1fr}.trip-invoice-line span,.trip-invoice-line em{grid-column:1/-1;text-align:right}}


/* owner auth and nested menu */
.module-bar-hidden,.module-bar{display:none!important}
.login-mode .topbar,.login-mode .classic-menu{display:none!important}
.login-mode .main{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at top,rgba(201,168,76,.18),transparent 38%),#090909}
.login-screen{width:min(520px,calc(100vw - 32px))}.login-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(201,168,76,.34);border-radius:10px;box-shadow:0 26px 80px rgba(0,0,0,.55);padding:30px;display:grid;gap:14px}.login-card h1{font-size:30px}.login-card p,.login-card small{color:rgba(255,255,255,.68);line-height:1.55}.login-card label{display:grid;gap:7px;color:rgba(255,255,255,.72);font-size:13px}.login-card input{height:42px}.login-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(201,168,76,.22);padding-bottom:14px}.login-brand strong{font-size:22px;color:var(--gold)}.login-brand span{color:rgba(255,255,255,.62);font-size:12px}.login-error{min-height:18px;color:#ff8e86;font-size:13px;font-weight:700}
.classic-menu{position:sticky;top:0;z-index:80;min-height:42px;margin:-28px -28px 22px;padding:0 22px;display:flex;align-items:stretch;gap:2px;background:linear-gradient(180deg,#fbfbfa,#ece9df);border-bottom:1px solid rgba(201,168,76,.45);box-shadow:0 10px 28px rgba(0,0,0,.28);color:#17140e;overflow:visible}.classic-menu-start{display:flex;align-items:center;gap:10px;padding:0 12px;margin-left:8px;border-left:1px solid rgba(0,0,0,.12);color:#111}.classic-menu-start b{color:#8b681c}.classic-menu-start span{font-size:12px;color:#4e4a3e}.classic-menu-item{position:relative;display:flex;align-items:stretch}.classic-menu-item>button{height:42px;border:0;border-radius:0;background:transparent;color:#17140e;padding:0 13px;font-weight:800;display:flex;align-items:center;gap:8px}.classic-menu-item>button span{transform:rotate(180deg);font-size:15px}.classic-menu-item:hover>button,.classic-menu-item.active>button{background:#11110f;color:var(--gold)}.classic-submenu{position:absolute;right:0;top:100%;min-width:245px;background:#11110f;border:1px solid rgba(201,168,76,.45);box-shadow:0 18px 48px rgba(0,0,0,.55);padding:6px;display:none;z-index:100;border-radius:0 0 8px 8px}.classic-menu-item:hover>.classic-submenu{display:block}.classic-submenu .classic-menu-item{display:block}.classic-submenu .classic-menu-item>button{width:100%;justify-content:space-between;text-align:right;color:rgba(255,255,255,.88);height:34px;border-radius:6px;padding:0 10px}.classic-submenu .classic-menu-item:hover>button,.classic-submenu .classic-menu-item.active>button{background:rgba(201,168,76,.16);color:var(--gold)}.classic-submenu .classic-submenu{right:calc(100% + 6px);top:0;border-radius:8px}.owner-side-panel{position:fixed;left:14px;top:92px;width:214px;z-index:70;background:linear-gradient(180deg,#161512,#0e0e0d);border:1px solid rgba(201,168,76,.42);box-shadow:0 20px 55px rgba(0,0,0,.45);border-radius:10px;padding:12px;display:grid;gap:8px}.owner-side-panel strong{color:var(--gold);font-size:16px}.owner-side-panel span{color:rgba(255,255,255,.62);font-size:12px;margin-bottom:4px}.owner-side-panel button{border:1px solid rgba(201,168,76,.28);background:rgba(255,255,255,.04);color:#fff;border-radius:7px;padding:9px 10px;text-align:right}.owner-side-panel button:hover{background:rgba(201,168,76,.15);color:var(--gold)}.owner-mode .main{padding-left:244px}@media(max-width:980px){.classic-menu{overflow-x:auto;margin:-18px -18px 18px}.classic-menu-start{display:none}.classic-submenu{position:fixed;right:12px;left:12px;top:46px;min-width:0}.classic-submenu .classic-submenu{right:12px;top:86px}.owner-side-panel{position:static;width:auto;margin:0 18px 16px}.owner-mode .main{padding-left:18px}}


/* system insight bar */
#systemInsightBar{margin:-8px 0 18px}.system-insight-bar{border:1px solid rgba(201,168,76,.25);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:0 18px 46px rgba(0,0,0,.28);border-radius:10px;padding:12px;display:grid;gap:10px}.insight-main{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(110px,.55fr));gap:10px;align-items:stretch}.insight-main>div,.insight-main article{background:#10100f;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:10px 12px;min-height:64px}.insight-main span,.insight-main em{display:block;color:rgba(255,255,255,.58);font-size:12px;font-style:normal}.insight-main strong{display:block;color:#fff;font-size:18px;margin:3px 0}.insight-main b{display:block;color:var(--gold);font-size:24px;margin-top:3px}.insight-actions{display:flex;flex-wrap:wrap;gap:8px}.insight-actions button,.insight-tenants button{border:1px solid rgba(201,168,76,.28);background:rgba(255,255,255,.04);color:#fff;border-radius:7px;padding:8px 11px;font-weight:800}.insight-actions button:hover,.insight-tenants button:hover,.insight-tenants button.active{background:rgba(201,168,76,.15);color:var(--gold);border-color:rgba(201,168,76,.55)}.insight-tenants{display:flex;align-items:center;gap:7px;overflow:auto;padding-top:2px}.insight-tenants span{color:rgba(255,255,255,.55);font-size:12px;white-space:nowrap}.insight-tenants button{white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis;padding:7px 10px}@media(max-width:980px){#systemInsightBar{margin:0 0 14px}.insight-main{grid-template-columns:1fr 1fr}.insight-main>div{grid-column:1/-1}.insight-actions button{flex:1 1 130px}}@media(max-width:620px){.insight-main{grid-template-columns:1fr}.system-insight-bar{padding:10px}}

/* client contacts pro */
.client-contact-list{display:grid;gap:10px}.client-contact-card{background:#10100f;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:12px}.client-contact-card header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.client-contact-card strong{color:#fff}.client-contact-fields{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:9px}.client-contact-fields label{display:grid;gap:5px;color:rgba(255,255,255,.62);font-size:12px}.client-contact-fields .wide{grid-column:1/-1}.client-operations-panel,.client-billing-rules,.client-contacts-panel{border-color:rgba(201,168,76,.28)}@media(max-width:900px){.client-contact-fields{grid-template-columns:1fr}}

/* client department pro */
.client-department-card.pro header{align-items:flex-start}.department-stats{display:flex;align-items:center;gap:6px;background:rgba(201,168,76,.08);border:1px solid rgba(201,168,76,.18);border-radius:7px;padding:7px 9px;color:#fff}.department-stats b{color:var(--gold);font-size:18px}.department-stats small{color:rgba(255,255,255,.58);margin-left:8px}.client-department-fields .wide{grid-column:1/-1}.client-department-card.pro{border-color:rgba(201,168,76,.3);box-shadow:0 14px 34px rgba(0,0,0,.2)}@media(max-width:820px){.client-department-card.pro header{display:grid}.department-stats{justify-content:flex-start}}

/* client route pro */
.pro-route>header{align-items:flex-start;gap:12px}.route-card-stats{display:flex;align-items:center;gap:6px;background:rgba(201,168,76,.08);border:1px solid rgba(201,168,76,.2);border-radius:8px;padding:7px 9px;white-space:nowrap}.route-card-stats b{color:var(--gold);font-size:18px}.route-card-stats small{color:rgba(255,255,255,.58);margin-left:7px}.route-card-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pro-detail{grid-template-columns:repeat(3,minmax(160px,1fr))}.pro-price{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px}.pro-price .wide{grid-column:1/-1}.route-price-summary{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.route-price-summary article{background:#10100f;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:10px}.route-price-summary span{display:block;color:rgba(255,255,255,.58);font-size:12px}.route-price-summary strong{color:#fff;font-size:18px}@media(max-width:980px){.pro-route>header{display:grid}.route-card-stats{overflow:auto}.pro-detail,.pro-price,.route-price-summary{grid-template-columns:1fr}}

/* route stations passengers pro */
.pro-stations table,.pro-passengers table{min-width:1080px}.station-order{display:flex;align-items:center;gap:4px}.station-order input{width:58px;text-align:center}.mini-btn{width:24px;height:24px;border:1px solid rgba(201,168,76,.25);background:rgba(255,255,255,.04);color:#fff;border-radius:5px;padding:0}.mini-btn:hover{background:rgba(201,168,76,.18);color:var(--gold)}.pro-stations .subtable-title,.pro-passengers .subtable-title{display:flex;align-items:center;gap:10px;justify-content:space-between}.pro-stations .subtable-title span,.pro-passengers .subtable-title span{color:rgba(255,255,255,.58);font-size:12px;margin-inline-start:auto}.pro-stations select,.pro-passengers select{min-width:105px}.pro-passengers td input,.pro-stations td input{height:32px;padding:7px 8px}.pro-passengers td select,.pro-stations td select{height:32px;padding:6px 8px}

/* cards visual reset 2026 */
.admin-cards-page{display:grid;gap:12px}.admin-cards-hero{padding:14px 16px;border:1px solid rgba(201,168,76,.18);border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));box-shadow:0 14px 34px rgba(0,0,0,.22)}.admin-cards-hero h2{font-size:22px}.admin-cards-hero p{margin:4px 0 0;color:rgba(255,255,255,.56);font-size:13px}.admin-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.admin-card-metrics article{padding:10px 12px;border-radius:8px;background:#10100f;border:1px solid rgba(201,168,76,.16)}.admin-card-metrics span{font-size:11px;color:rgba(255,255,255,.55)}.admin-card-metrics strong{font-size:20px;color:#fff}.admin-card-tabs{display:flex;gap:6px;overflow:auto;padding:4px 0}.admin-card-tabs button{height:34px;border-radius:7px;border:1px solid rgba(201,168,76,.22);background:#10100f;color:rgba(255,255,255,.76);padding:0 12px;font-weight:800;white-space:nowrap}.admin-card-tabs button.active,.admin-card-tabs button:hover{background:rgba(201,168,76,.16);color:var(--gold);border-color:rgba(201,168,76,.55)}.admin-card-tabs span{margin-left:5px}.admin-card-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}.admin-card-list{position:sticky;top:54px;max-height:calc(100vh - 98px);overflow:auto;border:1px solid rgba(201,168,76,.18);border-radius:10px;background:#0f0f0e;padding:10px}.admin-card-search{margin-bottom:8px}.admin-card-search input{height:34px;width:100%;border-radius:7px}.admin-card-list-items.polished{display:grid;gap:6px}.admin-card-list-items.polished button{width:100%;text-align:right;border:1px solid rgba(201,168,76,.14);background:rgba(255,255,255,.025);color:#fff;border-radius:8px;padding:9px 10px;display:grid;gap:4px}.admin-card-list-items.polished button.active,.admin-card-list-items.polished button:hover{border-color:rgba(201,168,76,.55);background:rgba(201,168,76,.1)}.card-list-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.card-list-title strong{font-size:13px;overflow:hidden;text-overflow:ellipsis}.admin-card-list-items small,.admin-card-list-items span{font-size:11px;color:rgba(255,255,255,.55);overflow:hidden;text-overflow:ellipsis}.mini-status{font-size:10px;padding:3px 7px;border-radius:999px}.admin-card-editor{min-width:0;border:1px solid rgba(201,168,76,.18);border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));padding:12px}.admin-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(201,168,76,.14);padding-bottom:10px;margin-bottom:10px}.admin-editor-head h3{font-size:20px}.admin-editor-head p{margin:3px 0 0;color:rgba(255,255,255,.56);font-size:12px}.card-detail-tabs{display:flex;gap:5px;overflow:auto;padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid rgba(201,168,76,.12)}.card-detail-tabs button{height:31px;border-radius:7px;border:1px solid rgba(201,168,76,.18);background:#10100f;color:rgba(255,255,255,.72);padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}.card-detail-tabs button.active,.card-detail-tabs button:hover{background:var(--gold);border-color:var(--gold);color:#090909}.admin-editor-grid.tabbed{display:block}.admin-editor-grid fieldset,.admin-editor-grid.tabbed fieldset,.client-departments-panel,.client-routes-panel,.client-random-panel,.client-contacts-panel,.client-operations-panel,.client-billing-rules,.card-documents,.card-finance-ledger{border:1px solid rgba(201,168,76,.18);border-radius:10px;background:rgba(0,0,0,.12);padding:12px;margin:0}.admin-editor-grid legend,fieldset legend{padding:0 8px;color:var(--gold);font-weight:900;font-size:13px}.admin-fields{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:9px}.admin-fields label,.client-department-fields label,.client-contact-fields label,.client-route-fields label,.route-price-panel label{display:grid;gap:5px;color:rgba(255,255,255,.58);font-size:11px}.admin-fields input,.admin-fields select,.client-department-fields input,.client-department-fields select,.client-contact-fields input,.client-contact-fields select,.client-route-fields input,.client-route-fields select,.route-price-panel input,.route-price-panel select{height:34px;border-radius:7px;padding:7px 9px;font-size:12px}.admin-fields .wide,.client-route-fields .wide,.route-price-panel .wide{grid-column:1/-1}.client-department-list,.client-contact-list{display:grid;gap:8px}.client-department-card,.client-contact-card,.client-route-card{border-radius:9px;background:#10100f;border:1px solid rgba(201,168,76,.18);box-shadow:none;padding:10px}.client-department-card header,.client-contact-card header,.client-route-card header{margin-bottom:8px}.client-department-fields,.client-contact-fields,.client-route-fields{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:8px}.route-summary-strip{gap:8px}.route-summary-strip article{border-radius:8px;padding:9px 10px}.route-inner-tabs{gap:5px;margin:8px 0}.route-inner-tabs button{height:30px;border-radius:7px;font-size:12px}.table-wrap table,.route-subtable-single table{font-size:12px}.table-wrap th,.table-wrap td,.route-subtable-single th,.route-subtable-single td{padding:7px 8px}.route-subtable-single input,.route-subtable-single select{height:31px;border-radius:6px;padding:6px 8px;font-size:12px}.card-doc-toolbar,.subtable-title{min-height:34px}.chip,.primary-action,.ghost{border-radius:7px}.admin-card-editor .chip{padding:7px 10px;font-size:12px}.driver-vehicle-sync{margin-bottom:10px;border-radius:8px;padding:9px 11px;background:rgba(201,168,76,.08);border:1px solid rgba(201,168,76,.18)}@media(max-width:1180px){.admin-card-workspace{grid-template-columns:240px minmax(0,1fr)}.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:820px){.admin-card-workspace{grid-template-columns:1fr}.admin-card-list{position:static;max-height:320px}.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.pro-detail,.pro-price{grid-template-columns:1fr}.admin-card-metrics{grid-template-columns:1fr 1fr}}

/* cards ux polish 2026 */
.admin-editor-head.improved{position:sticky;top:43px;z-index:20;background:linear-gradient(180deg,#11110f,#0d0d0c);border:1px solid rgba(201,168,76,.18);border-radius:9px;padding:10px 12px;margin:-2px 0 10px;box-shadow:0 12px 28px rgba(0,0,0,.22)}.card-quick-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}.card-quick-summary article{background:#0f0f0e;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px 10px;min-width:0}.card-quick-summary span{display:block;color:rgba(255,255,255,.52);font-size:11px}.card-quick-summary strong{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-action-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px;padding:8px;border:1px solid rgba(201,168,76,.16);border-radius:8px;background:rgba(0,0,0,.14)}.card-action-strip .chip{height:30px;padding:0 10px;font-size:12px}.card-detail-tabs.improved{position:sticky;top:124px;z-index:18;background:#0d0d0c;padding-top:7px;border-radius:8px}.card-density-compact fieldset{padding:9px}.card-density-compact .admin-fields{gap:7px}.card-density-compact input,.card-density-compact select{height:30px;font-size:11px;padding:5px 7px}.card-density-compact label span{font-size:10px}.card-density-comfortable fieldset{padding:15px}.card-density-comfortable .admin-fields{gap:12px}.card-density-comfortable input,.card-density-comfortable select{height:38px}.admin-card-editor:has(.card-density-compact) .client-department-card,.admin-card-editor:has(.card-density-compact) .client-contact-card,.admin-card-editor:has(.card-density-compact) .client-route-card{padding:8px}.admin-card-editor:has(.card-density-compact) table th,.admin-card-editor:has(.card-density-compact) table td{padding:5px 6px}@media(max-width:980px){.admin-editor-head.improved,.card-detail-tabs.improved{position:static}.card-quick-summary{grid-template-columns:1fr 1fr}.card-action-strip .chip{flex:1 1 110px}}

/* card list filters 2026 */
.card-list-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px;padding:8px;border:1px solid rgba(201,168,76,.16);border-radius:8px;background:rgba(0,0,0,.18)}.card-list-toolbar select{height:29px;font-size:11px;border-radius:6px;padding:4px 7px}.card-list-toolbar .chip{height:29px;padding:0 8px;font-size:11px}.card-list-toolbar small{display:flex;align-items:center;justify-content:center;color:var(--gold);font-weight:900;border:1px solid rgba(201,168,76,.18);border-radius:6px;background:rgba(201,168,76,.08)}@media(max-width:820px){.card-list-toolbar{grid-template-columns:1fr 1fr}}

/* card tasks 2026 */
.card-tasks-panel{display:grid;gap:10px}.task-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.task-summary-strip article{background:#10100f;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:9px 10px}.task-summary-strip span{display:block;color:rgba(255,255,255,.55);font-size:11px}.task-summary-strip strong{font-size:20px;color:#fff}.task-list{display:grid;gap:8px}.card-task-row{border:1px solid rgba(201,168,76,.16);border-right:3px solid rgba(201,168,76,.4);background:#10100f;border-radius:9px;padding:10px}.card-task-row.bad{border-right-color:#ff6b60}.card-task-row.warn{border-right-color:#f0d888}.card-task-row.ok{border-right-color:#43c58a}.card-task-row header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.card-task-row header input{flex:1;height:32px;font-weight:800}.task-fields{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px}.task-fields label{display:grid;gap:4px;color:rgba(255,255,255,.55);font-size:11px}.task-fields input,.task-fields select{height:31px;border-radius:6px;padding:6px 8px;font-size:12px}.task-fields .wide{grid-column:1/-1}.card-task-row footer{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}@media(max-width:980px){.task-fields{grid-template-columns:1fr 1fr}.task-summary-strip{grid-template-columns:1fr 1fr 1fr}}@media(max-width:640px){.task-fields,.task-summary-strip{grid-template-columns:1fr}}

/* card history 2026 */
.card-history-panel{display:grid;gap:10px}.card-history-list{display:grid;gap:8px}.card-history-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;background:#10100f;border:1px solid rgba(201,168,76,.16);border-right:3px solid var(--gold);border-radius:9px;padding:10px}.card-history-row strong{display:block;color:#fff;font-size:13px}.card-history-row span{display:block;color:rgba(255,255,255,.62);font-size:12px;margin-top:3px}.card-history-row small{color:rgba(255,255,255,.48);font-size:11px;white-space:nowrap}@media(max-width:720px){.card-history-row{display:grid}.card-history-row small{white-space:normal}}

/* card alerts 2026 */
.card-alerts-panel{display:grid;gap:10px}.alert-summary article.bad{border-right:3px solid #ff6b60}.alert-summary article.warn{border-right:3px solid #f0d888}.card-alert-list{display:grid;gap:8px}.card-alert-row{border:1px solid rgba(201,168,76,.16);border-right:3px solid rgba(201,168,76,.38);border-radius:9px;background:#10100f;padding:10px 12px}.card-alert-row.bad{border-right-color:#ff6b60;background:rgba(255,107,96,.08)}.card-alert-row.warn{border-right-color:#f0d888;background:rgba(240,216,136,.07)}.card-alert-row.ok{border-right-color:#43c58a;background:rgba(67,197,138,.07)}.card-alert-row.info{border-right-color:#6da8ff}.card-alert-row strong{display:block;color:#fff;font-size:13px}.card-alert-row span{display:block;color:rgba(255,255,255,.64);font-size:12px;margin-top:3px;line-height:1.45}.card-detail-tabs.improved button:first-child.active{box-shadow:inset 0 -2px 0 #ffcf70}

/* card report 2026 */
.card-report-panel{display:grid;gap:12px}.card-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid rgba(201,168,76,.18);border-radius:10px;background:#10100f}.card-report-head h3{font-size:22px}.card-report-head p{margin:4px 0 0;color:rgba(255,255,255,.58);font-size:12px}.card-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.card-report-kpis article{border:1px solid rgba(201,168,76,.16);border-radius:9px;background:#10100f;padding:10px}.card-report-kpis span{display:block;color:rgba(255,255,255,.55);font-size:11px}.card-report-kpis strong{font-size:20px;color:#fff}.card-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card-report-grid section{border:1px solid rgba(201,168,76,.16);border-radius:10px;background:rgba(0,0,0,.15);padding:12px;display:grid;gap:7px}.card-report-grid h4{margin:0 0 4px;color:var(--gold);font-size:13px}.card-report-grid div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(201,168,76,.08);padding-bottom:6px}.card-report-grid span{color:rgba(255,255,255,.55);font-size:12px}.card-report-grid b{color:#fff;font-size:12px;text-align:left}.card-report-grid p{margin:0;color:rgba(255,255,255,.55);font-size:12px}.report-alert.bad b{color:#ff9b94}.report-alert.warn b{color:#f0d888}.report-alert.ok b{color:#77d9a9}.card-report-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}@media(max-width:820px){.card-report-kpis,.card-report-grid{grid-template-columns:1fr}.card-report-head{display:grid}.card-report-actions .chip{flex:1 1 130px}}

/* card export actions 2026 */
.card-action-strip .danger-soft{border-color:rgba(255,107,96,.35);color:#ffaaa4;background:rgba(255,107,96,.08)}.card-action-strip .ok-soft{border-color:rgba(67,197,138,.35);color:#88e8b4;background:rgba(67,197,138,.08)}.card-action-strip .danger-soft:hover{background:rgba(255,107,96,.16);color:#fff}.card-action-strip .ok-soft:hover{background:rgba(67,197,138,.16);color:#fff}

/* card relations 2026 */
.card-relations-panel{display:grid;gap:12px}
.relation-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.relation-kpis article{background:#10100f;border:1px solid rgba(201,168,76,.16);border-radius:9px;padding:10px;min-width:0}
.relation-kpis span{display:block;color:rgba(255,255,255,.55);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.relation-kpis strong{display:block;font-size:20px;color:#fff;line-height:1.25}
.relation-link-card{border:1px solid rgba(201,168,76,.18);border-right:3px solid var(--gold);border-radius:9px;background:rgba(201,168,76,.07);padding:10px 12px;display:grid;gap:2px}
.relation-link-card span{display:block;color:rgba(255,255,255,.55);font-size:11px}
.relation-link-card strong{display:block;color:#fff;font-size:17px;line-height:1.35}
.relation-link-card small{display:block;color:rgba(255,255,255,.58);line-height:1.4}
.card-relations-panel section{border:1px solid rgba(201,168,76,.14);border-radius:9px;background:rgba(0,0,0,.14);padding:10px;min-width:0}
.card-relations-panel h4{margin:0 0 8px;color:var(--gold);font-size:13px}
.relation-table{overflow:auto;border-radius:8px;border:1px solid rgba(255,255,255,.06)}
.relation-table table{min-width:620px;width:100%;font-size:12px;border-collapse:collapse}
.relation-table th,.relation-table td{padding:7px 8px;border-bottom:1px solid rgba(255,255,255,.055);white-space:nowrap;text-align:right}
.relation-table th{background:#171716;color:var(--gold);font-weight:700}
.relation-table td{color:rgba(255,255,255,.82)}
.relation-table tr:last-child td{border-bottom:0}
.relation-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.empty-state.small{padding:10px;font-size:12px;color:rgba(255,255,255,.55)}
@media(max-width:820px){.relation-kpis{grid-template-columns:1fr 1fr}.relation-actions .chip{flex:1 1 130px}.relation-table table{min-width:520px}}

/* card operations 2026 */
.card-operations-panel{display:grid;gap:12px}
.operation-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(201,168,76,.2);border-right:4px solid var(--gold);background:#10100f;border-radius:10px;padding:12px}
.operation-hero.bad{border-right-color:#ff6b60;background:rgba(255,107,96,.07)}.operation-hero.warn{border-right-color:#f0d888;background:rgba(240,216,136,.07)}.operation-hero.ok{border-right-color:#43c58a;background:rgba(67,197,138,.07)}
.operation-hero span,.operation-hero small{display:block;color:rgba(255,255,255,.58);font-size:12px}.operation-hero strong{display:block;color:#fff;font-size:20px;line-height:1.3}.operation-score{text-align:center;border:1px solid rgba(255,255,255,.08);border-radius:9px;padding:8px 12px;min-width:90px;background:rgba(0,0,0,.18)}.operation-score b{display:block;color:#fff;font-size:24px}.operation-score span{font-size:10px}
.operation-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.operation-kpis article{background:#10100f;border:1px solid rgba(201,168,76,.15);border-radius:9px;padding:9px 10px}.operation-kpis span{display:block;color:rgba(255,255,255,.54);font-size:11px}.operation-kpis strong{display:block;color:#fff;font-size:19px;line-height:1.3}
.card-operations-panel section{border:1px solid rgba(201,168,76,.14);background:rgba(0,0,0,.14);border-radius:9px;padding:10px}.card-operations-panel h4{margin:0 0 8px;color:var(--gold);font-size:13px}.operation-checklist{display:grid;gap:8px}.operation-check{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(201,168,76,.14);border-right:3px solid rgba(201,168,76,.45);background:#10100f;border-radius:8px;padding:9px}.operation-check.bad{border-right-color:#ff6b60}.operation-check.warn{border-right-color:#f0d888}.operation-check.ok{border-right-color:#43c58a}.operation-check.info{border-right-color:#6da8ff}.operation-check strong{display:block;color:#fff;font-size:13px}.operation-check span{display:block;color:rgba(255,255,255,.6);font-size:12px;line-height:1.4;margin-top:2px}
.operation-timeline{display:grid;gap:7px}.operation-timeline article{display:grid;grid-template-columns:95px 1fr;gap:8px;align-items:start;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:7px}.operation-timeline article:last-child{border-bottom:0;padding-bottom:0}.operation-timeline time{color:var(--gold);font-size:12px}.operation-timeline strong{display:block;color:#fff;font-size:12px}.operation-timeline span{display:block;color:rgba(255,255,255,.58);font-size:12px;line-height:1.4}.operation-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
@media(max-width:820px){.operation-hero{display:grid}.operation-kpis{grid-template-columns:1fr 1fr}.operation-check{align-items:stretch}.operation-timeline article{grid-template-columns:1fr}.operation-actions .chip{flex:1 1 120px}}
/* card design pass 2026 */
.admin-cards-page{gap:10px;color:var(--ink)}
.admin-cards-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:10px 12px;border-radius:8px;background:linear-gradient(180deg,#11110f,#0d0d0c);border-color:rgba(201,168,76,.2);box-shadow:none}
.admin-cards-hero h2{font-size:20px;line-height:1.2;margin:0;color:#fff}.admin-cards-hero p{font-size:12px;line-height:1.35;max-width:760px}
.admin-card-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.admin-card-metrics article{padding:8px 10px;border-radius:7px;background:#0f0f0e}.admin-card-metrics span{font-size:10px}.admin-card-metrics strong{font-size:18px;margin-top:3px}
.admin-card-tabs{gap:5px;padding:2px 0 4px}.admin-card-tabs button{height:30px;padding:0 10px;font-size:11px;border-radius:6px;background:#0e0e0d}.admin-card-tabs button.active{box-shadow:inset 0 -2px 0 rgba(255,255,255,.18)}
.admin-card-workspace{grid-template-columns:260px minmax(0,1fr);gap:10px}.admin-card-list,.admin-card-editor{border-radius:8px;background:#0d0d0c;border-color:rgba(201,168,76,.18);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.admin-card-list{padding:8px;top:46px}.admin-card-search{margin-bottom:7px}.admin-card-search input{height:31px;font-size:12px;background:#090909;border-color:rgba(201,168,76,.2)}
.card-list-toolbar{grid-template-columns:1fr 1fr;gap:5px;padding:6px;margin-bottom:7px;border-radius:7px;background:#10100f}.card-list-toolbar select,.card-list-toolbar .chip{height:27px;font-size:10px}.card-list-toolbar small{font-size:10px}
.admin-card-list-items.polished{gap:5px}.admin-card-list-items.polished button{padding:7px 8px;border-radius:7px;background:#11110f;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.admin-card-list-items.polished button.active{background:linear-gradient(90deg,rgba(201,168,76,.18),rgba(201,168,76,.06));border-color:rgba(201,168,76,.65)}.admin-card-list-items.polished button:hover{background:rgba(201,168,76,.09)}
.card-list-title strong{font-size:12px;line-height:1.25}.admin-card-list-items small,.admin-card-list-items span{font-size:10px;line-height:1.25}.mini-status{font-size:9px;padding:2px 6px;min-width:42px;text-align:center}
.admin-card-editor{padding:10px}.admin-editor-head.improved{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin:0 0 8px;padding:9px 10px;border-radius:8px;background:linear-gradient(180deg,#131312,#0e0e0d);box-shadow:none}.admin-editor-head.improved h3{font-size:18px;line-height:1.25;margin:4px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-editor-head.improved p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-editor-head.improved .badge{font-size:10px;padding:3px 7px}
.card-quick-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:7px}.card-quick-summary article{padding:7px 8px;border-radius:7px;background:#10100f}.card-quick-summary span{font-size:10px}.card-quick-summary strong{font-size:12px;line-height:1.25}
.card-action-strip{gap:5px;padding:6px;margin-bottom:7px;border-radius:7px;background:#10100f}.card-action-strip .chip,.admin-card-editor .chip{height:27px;min-height:27px;padding:0 8px;font-size:11px;border-radius:6px}
.card-detail-tabs.improved{position:sticky;top:44px;z-index:12;display:flex;gap:4px;padding:6px 6px 7px;margin:0 0 8px;border:1px solid rgba(201,168,76,.13);border-radius:8px;background:#0c0c0b;box-shadow:0 8px 18px rgba(0,0,0,.25);scrollbar-width:thin}.card-detail-tabs.improved button{height:28px;padding:0 9px;border-radius:6px;font-size:11px;background:#11110f;color:rgba(255,255,255,.72)}.card-detail-tabs.improved button.active{background:var(--gold);border-color:var(--gold);color:#070707;box-shadow:none}.card-detail-tabs.improved button:hover:not(.active){background:rgba(201,168,76,.12);color:#fff}
.admin-editor-grid.tabbed fieldset{padding:10px;border-radius:8px;background:#0f0f0e;border-color:rgba(201,168,76,.17)}.admin-editor-grid legend,fieldset legend{font-size:12px;color:#d8bd65}.admin-fields{grid-template-columns:repeat(4,minmax(145px,1fr));gap:7px}.admin-fields label{gap:3px;font-size:10px;color:rgba(255,255,255,.56)}.admin-fields label span{line-height:1.2}.admin-fields input,.admin-fields select,.admin-fields textarea{height:29px;min-height:29px;padding:4px 7px;border-radius:6px;font-size:11px;background:#090909;border-color:rgba(201,168,76,.19);color:#fff}.admin-fields input:focus,.admin-fields select:focus,.admin-fields textarea:focus{border-color:var(--gold);box-shadow:0 0 0 2px rgba(201,168,76,.14);outline:none}
.client-department-card,.client-contact-card,.client-route-card,.random-trip-editor,.card-task-row,.card-alert-row,.relation-link-card,.card-relations-panel section,.card-operations-panel section,.card-report-grid section{border-radius:8px;background:#10100f;border-color:rgba(201,168,76,.16);box-shadow:none}.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields{grid-template-columns:repeat(4,minmax(140px,1fr));gap:7px}.client-department-fields input,.client-department-fields select,.client-contact-fields input,.client-contact-fields select,.client-route-fields input,.client-route-fields select,.random-trip-fields input,.random-trip-fields select{height:29px;font-size:11px;padding:4px 7px;border-radius:6px;background:#090909}
.card-report-head,.operation-hero{padding:9px 10px;border-radius:8px}.card-report-head h3,.operation-hero strong{font-size:17px}.card-report-kpis,.operation-kpis,.relation-kpis,.task-summary-strip{gap:6px}.card-report-kpis article,.operation-kpis article,.relation-kpis article,.task-summary-strip article{padding:7px 8px;border-radius:7px}.card-report-kpis span,.operation-kpis span,.relation-kpis span,.task-summary-strip span{font-size:10px}.card-report-kpis strong,.operation-kpis strong,.relation-kpis strong,.task-summary-strip strong{font-size:17px}
.card-doc-table table,.card-finance-table table,.relation-table table,.route-subtable-single table,.route-day-schedule table{font-size:11px}.card-doc-table th,.card-doc-table td,.card-finance-table th,.card-finance-table td,.relation-table th,.relation-table td,.route-subtable-single th,.route-subtable-single td,.route-day-schedule th,.route-day-schedule td{padding:5px 6px}.relation-table{border-radius:7px}.empty-state{padding:12px;border-radius:7px;font-size:12px}
.card-density-comfortable .admin-fields{grid-template-columns:repeat(3,minmax(165px,1fr));gap:10px}.card-density-comfortable .admin-fields input,.card-density-comfortable .admin-fields select{height:34px;font-size:12px}.card-density-compact .admin-fields{grid-template-columns:repeat(4,minmax(135px,1fr))}
@media(max-width:1250px){.admin-card-workspace{grid-template-columns:230px minmax(0,1fr)}.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields{grid-template-columns:repeat(3,minmax(135px,1fr))}}
@media(max-width:900px){.admin-cards-hero{grid-template-columns:1fr}.admin-card-workspace{grid-template-columns:1fr}.admin-card-list{position:static;max-height:300px}.card-detail-tabs.improved{position:static}.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields{grid-template-columns:repeat(2,minmax(130px,1fr))}.card-quick-summary,.admin-card-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields,.card-quick-summary,.admin-card-metrics{grid-template-columns:1fr}.admin-editor-head.improved{grid-template-columns:1fr}.admin-editor-head.improved .chip{justify-self:start}.card-action-strip .chip{flex:1 1 110px}}
/* fixed routes layout repair 2026 */
.client-routes-panel.compact{box-sizing:border-box;max-width:100%;overflow:hidden;padding:10px;background:#0e0e0d}
.client-routes-panel.compact *{box-sizing:border-box;min-width:0}
.client-routes-panel.compact .route-summary-strip{grid-template-columns:repeat(5,minmax(86px,1fr));gap:6px;margin:2px 0 8px}
.client-routes-panel.compact .route-summary-strip article{padding:7px 8px;min-height:54px;border-radius:7px;background:#0a0a09}
.client-routes-panel.compact .route-summary-strip span{font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-routes-panel.compact .route-summary-strip strong{font-size:17px;line-height:1.2}
.client-routes-panel.compact .route-list-toolbar{display:grid;grid-template-columns:82px minmax(180px,1fr) minmax(86px,.6fr) minmax(110px,.75fr) minmax(82px,.55fr) minmax(112px,.8fr);gap:5px;align-items:center;margin-bottom:6px}
.client-routes-panel.compact .route-list-toolbar input,.client-routes-panel.compact .route-list-toolbar select,.client-routes-panel.compact .route-list-toolbar .chip{height:28px;min-height:28px;font-size:10px;padding:3px 7px;border-radius:6px;width:100%}
.client-routes-panel.compact .route-list-toolbar .chip{display:flex;align-items:center;justify-content:center;white-space:nowrap}
.client-routes-panel.compact .route-list-count{font-size:11px;margin:0 0 7px;color:rgba(255,255,255,.55)}
.client-routes-panel.compact .client-routes-layout{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:8px;align-items:start;width:100%;overflow:hidden}
.client-routes-panel.compact .route-master-list{max-height:520px;overflow:auto;padding:6px;border-radius:8px;background:#090909;border-color:rgba(201,168,76,.14)}
.client-routes-panel.compact .route-list-item{padding:8px;border-radius:7px;gap:3px;overflow:hidden;background:#10100f}
.client-routes-panel.compact .route-list-item strong,.client-routes-panel.compact .route-list-item span,.client-routes-panel.compact .route-list-item small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-routes-panel.compact .route-list-item strong{font-size:12px;line-height:1.25}.client-routes-panel.compact .route-list-item span,.client-routes-panel.compact .route-list-item small{font-size:10px;line-height:1.3}
.client-routes-panel.compact .route-detail-pane{width:100%;overflow:hidden}.client-routes-panel.compact .client-route-card{width:100%;overflow:hidden;padding:9px;border-radius:8px;background:#0b0b0a}
.client-routes-panel.compact .client-route-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;margin-bottom:8px;border-bottom:1px solid rgba(201,168,76,.12);padding-bottom:8px}
.client-routes-panel.compact .client-route-card>header h3,.client-routes-panel.compact .client-route-card>header strong,.client-routes-panel.compact .client-route-card>header span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-routes-panel.compact .route-title-input{height:31px;font-size:15px;line-height:1.2;width:100%;background:#090909;border:1px solid rgba(201,168,76,.18);border-radius:6px;padding:5px 8px;color:#fff}
.client-routes-panel.compact .route-card-stats{display:grid;grid-template-columns:repeat(4,minmax(44px,auto));gap:6px;padding:6px 8px;border-radius:7px;white-space:nowrap;max-width:100%;overflow:hidden}
.client-routes-panel.compact .route-card-stats b{font-size:16px}.client-routes-panel.compact .route-card-stats small{font-size:10px;margin:0;color:rgba(255,255,255,.58)}
.client-routes-panel.compact .route-card-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.client-routes-panel.compact .route-card-actions .chip{height:27px;min-height:27px;font-size:10px;padding:0 8px}
.client-routes-panel.compact .route-inner-tabs{display:flex;gap:4px;flex-wrap:nowrap;overflow:auto;margin:6px 0 8px;padding:0 0 6px;border-bottom:1px solid rgba(201,168,76,.12);scrollbar-width:thin}
.client-routes-panel.compact .route-inner-tabs button{height:27px;min-width:max-content;padding:0 8px;font-size:10px;border-radius:6px;white-space:nowrap}
.client-routes-panel.compact .route-inner-body{min-height:0;overflow:hidden}.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail{display:grid;grid-template-columns:repeat(3,minmax(135px,1fr));gap:7px;margin-bottom:0}
.client-routes-panel.compact .client-route-fields label,.client-routes-panel.compact .route-price-panel label{gap:3px;font-size:10px;color:rgba(255,255,255,.58);overflow:hidden}.client-routes-panel.compact .client-route-fields label span,.client-routes-panel.compact .route-price-panel label span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-routes-panel.compact .client-route-fields input,.client-routes-panel.compact .client-route-fields select,.client-routes-panel.compact .route-price-panel input,.client-routes-panel.compact .route-price-panel select{height:29px;font-size:11px;padding:4px 7px;border-radius:6px;width:100%;background:#090909;border-color:rgba(201,168,76,.18)}
.client-routes-panel.compact .client-route-fields .wide,.client-routes-panel.compact .route-price-panel .wide{grid-column:1/-1}
.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{display:grid;grid-template-columns:repeat(3,minmax(135px,1fr));gap:7px;overflow:hidden}.client-routes-panel.compact .route-price-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;grid-column:1/-1}.client-routes-panel.compact .route-price-summary article{padding:7px 8px;border-radius:7px;background:#090909}.client-routes-panel.compact .route-price-summary span{font-size:10px}.client-routes-panel.compact .route-price-summary strong{font-size:16px}
.client-routes-panel.compact .route-subtable-single,.client-routes-panel.compact .route-day-schedule{max-width:100%;overflow:auto;border-radius:7px}.client-routes-panel.compact .route-subtable-single table,.client-routes-panel.compact .route-day-schedule table{font-size:11px}.client-routes-panel.compact .subtable-title{min-height:30px;padding:6px 8px}.client-routes-panel.compact .subtable-title strong{font-size:12px}.client-routes-panel.compact .subtable-title .chip{height:26px;min-height:26px;font-size:10px;padding:0 8px}
@media(max-width:1280px){.client-routes-panel.compact .client-routes-layout{grid-template-columns:minmax(210px,270px) minmax(0,1fr)}.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(2,minmax(135px,1fr))}}
@media(max-width:980px){.client-routes-panel.compact .route-list-toolbar{grid-template-columns:1fr 1fr}.client-routes-panel.compact .client-routes-layout{grid-template-columns:1fr}.client-routes-panel.compact .route-master-list{max-height:260px}.client-routes-panel.compact .client-route-card>header{grid-template-columns:1fr}.client-routes-panel.compact .route-card-actions{justify-content:flex-start}.client-routes-panel.compact .route-summary-strip{grid-template-columns:1fr 1fr}.client-routes-panel.compact .route-card-stats{grid-template-columns:repeat(2,minmax(44px,auto));justify-content:start}}
@media(max-width:620px){.client-routes-panel.compact .route-list-toolbar,.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price,.client-routes-panel.compact .route-price-summary{grid-template-columns:1fr}.client-routes-panel.compact .route-inner-tabs button{flex:1 0 auto}}
/* system overflow repair 2026 */
html,body,#app,.app-shell,.main,main,.layout-grid,.panel,.card,.admin-cards-page,.admin-card-workspace,.admin-card-editor,.admin-editor-grid,.admin-fields,.daily-shell,.classic-window,.cw-body,.cw-grid,.assignment-modal,.trip-details-modal,.finance-workspace,.settings-stack{min-width:0;max-width:100%;box-sizing:border-box}
.panel,.card,.admin-card-editor,.admin-card-list,.classic-window,.daily-shell,.assignment-modal,.trip-details-modal,.modal,.client-departments-panel,.client-contacts-panel,.client-routes-panel,.client-random-panel,.card-documents,.card-finance-ledger,.card-report-panel,.card-alerts-panel,.card-relations-panel,.card-operations-panel{overflow:hidden}
.panel-head,.toolbar,.topbar,.daily-title,.daily-actions,.daily-filters,.classic-menu,.module-bar,.cw-title,.cw-tabs,.cw-footer,.card-action-strip,.card-detail-tabs,.card-record-tabs,.route-inner-tabs,.card-doc-toolbar,.subtable-title,.trip-details-actions,.assignment-actions,.finance-actions,.panel-actions{min-width:0;max-width:100%;box-sizing:border-box}
:is(.panel,.card,.admin-card-editor,.admin-card-list,.classic-window,.daily-shell,.assignment-modal,.trip-details-modal,.client-route-card,.client-department-card,.client-contact-card,.random-trip-editor,.card-task-row,.card-alert-row,.operation-check,.relation-link-card,.route-list-item,.job,.metric,.portal) :is(h1,h2,h3,h4,strong,span,p,small,b,time,label,legend,button){min-width:0;overflow-wrap:anywhere}
:is(.admin-editor-head,.panel-head,.daily-title,.cw-title,.card-report-head,.operation-hero,.client-route-card>header,.client-department-card header,.client-contact-card header,.card-task-row header,.card-history-row,.operation-check){min-width:0;max-width:100%}
:is(.admin-editor-head,.panel-head,.daily-title,.cw-title,.client-route-card>header,.operation-check)>*{min-width:0}
:is(.admin-editor-head h3,.admin-editor-head p,.panel-head h2,.panel-head p,.daily-title h2,.daily-title p,.cw-title h2,.cw-title p,.card-report-head h3,.card-report-head p,.operation-hero strong,.operation-hero small,.route-list-item strong,.route-list-item span,.route-list-item small,.admin-card-list-items strong,.admin-card-list-items span,.admin-card-list-items small){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
:is(input,select,textarea,button,.chip,.primary-action,.ghost,.icon-button){max-width:100%;box-sizing:border-box}
textarea{resize:vertical;min-height:62px;white-space:pre-wrap}.wide{min-width:0;max-width:100%}
:is(.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields,.task-fields,.trip-details-grid,.assignment-settings,.server-grid,.form-grid,.cw-fields,.route-price-panel,.pro-price,.pro-detail){min-width:0;max-width:100%;overflow:hidden}
:is(.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields,.task-fields,.trip-details-grid,.assignment-settings,.server-grid,.form-grid,.cw-fields,.route-price-panel,.pro-price,.pro-detail)>label{min-width:0;max-width:100%;overflow:hidden}
:is(.admin-fields,.client-department-fields,.client-contact-fields,.client-route-fields,.random-trip-fields,.task-fields,.trip-details-grid,.assignment-settings,.server-grid,.form-grid,.cw-fields,.route-price-panel,.pro-price,.pro-detail)>label>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.table-wrap,.daily-grid-wrap,.card-doc-table,.card-finance-table,.relation-table,.route-subtable-single,.route-day-schedule,.route-subtables section,.license-table-wrap,.audit-table-wrap{max-width:100%;overflow:auto;overscroll-behavior:contain}
table{max-width:100%;table-layout:auto}th,td{max-width:280px;overflow:hidden;text-overflow:ellipsis}td :is(input,select,textarea){min-width:0;width:100%}
.daily-grid th,.daily-grid td{max-width:none}.daily-grid :is(input,select){max-width:100%;overflow:hidden;text-overflow:ellipsis}.daily-grid .route-input{min-width:220px;max-width:360px}.daily-grid-wrap{border-radius:8px;contain:layout paint}
.card-detail-tabs.improved,.card-record-tabs,.route-inner-tabs,.cw-tabs,.classic-menu,.module-bar,.toolbar,.daily-actions,.card-action-strip{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;white-space:nowrap}.card-detail-tabs.improved button,.card-record-tabs button,.route-inner-tabs button,.cw-tabs button,.classic-menu button,.module-bar button,.toolbar .chip,.daily-actions .chip,.card-action-strip .chip{flex:0 0 auto;white-space:nowrap}
.card-quick-summary,.admin-card-metrics,.license-summary,.finance-summary-strip,.route-summary-strip,.card-report-kpis,.operation-kpis,.relation-kpis,.task-summary-strip{min-width:0;max-width:100%;overflow:hidden}.card-quick-summary article,.admin-card-metrics article,.license-summary article,.finance-summary-strip article,.route-summary-strip article,.card-report-kpis article,.operation-kpis article,.relation-kpis article,.task-summary-strip article{min-width:0;overflow:hidden}.card-quick-summary :is(span,strong),.admin-card-metrics :is(span,strong),.license-summary :is(span,strong),.finance-summary-strip :is(span,strong),.route-summary-strip :is(span,strong),.card-report-kpis :is(span,strong),.operation-kpis :is(span,strong),.relation-kpis :is(span,strong),.task-summary-strip :is(span,strong){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.assignment-backdrop{overflow:auto;padding:18px}.assignment-modal,.trip-details-modal{width:min(1040px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto}.trip-details-grid,.assignment-settings{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.trip-details-grid .wide,.assignment-settings .wide{grid-column:1/-1}
.cw-body{grid-template-columns:minmax(145px,170px) minmax(0,1fr)}.cw-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.cw-field{min-width:0}.cw-field input,.cw-field select,.cw-field textarea{width:100%;min-width:0}
.admin-card-list-items.polished button,.route-list-item,.random-trip-list .route-list-item{max-width:100%;overflow:hidden}.admin-card-list-items.polished button *,.route-list-item *{min-width:0}.card-list-title{min-width:0}.card-list-title strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-status{flex:0 0 auto}
.card-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.card-history-row small{max-width:150px;overflow:hidden;text-overflow:ellipsis}.operation-check{display:grid;grid-template-columns:minmax(0,1fr) auto}.operation-check .chip{align-self:center}.card-report-grid div{min-width:0}.card-report-grid b,.card-report-grid span{min-width:0;overflow:hidden;text-overflow:ellipsis}.relation-table td,.relation-table th{max-width:220px}
@media(max-width:1100px){.grid-2,.grid-3,.metrics,.portal-strip,.board{grid-template-columns:1fr 1fr}.cw-body{grid-template-columns:1fr}.assignment-modal,.trip-details-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}}
@media(max-width:760px){.grid-2,.grid-3,.metrics,.portal-strip,.board,.license-summary,.card-report-kpis,.operation-kpis,.relation-kpis,.task-summary-strip{grid-template-columns:1fr}.panel,.card,.admin-card-editor,.admin-card-list{padding:9px}.assignment-backdrop{padding:10px}.card-history-row,.operation-check{grid-template-columns:1fr}.card-history-row small{max-width:100%;white-space:normal}.daily-grid .route-input{min-width:180px}.classic-menu,.module-bar{max-width:100%}}
/* system qa center 2026 */
.qa-center{display:grid;gap:12px;margin-bottom:14px}.qa-center .panel-head p{margin:4px 0 0;color:rgba(255,255,255,.58);font-size:12px}.qa-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.qa-kpis article{background:#10100f;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:10px}.qa-kpis article.bad{border-right:3px solid #ff6b60}.qa-kpis article.warn{border-right:3px solid #f0d888}.qa-kpis article.info{border-right:3px solid #6da8ff}.qa-kpis span{display:block;color:rgba(255,255,255,.55);font-size:11px}.qa-kpis strong{display:block;color:#fff;font-size:22px;line-height:1.25}.qa-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:7px;border:1px solid rgba(201,168,76,.14);border-radius:8px;background:#0d0d0c}.qa-toolbar .chip{height:29px;min-height:29px;font-size:11px;padding:0 10px}.qa-list{display:grid;gap:7px;max-height:520px;overflow:auto;padding-inline-end:2px}.qa-issue{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(201,168,76,.15);border-right:3px solid rgba(201,168,76,.35);background:#10100f;border-radius:8px;padding:9px 10px}.qa-issue.bad{border-right-color:#ff6b60;background:rgba(255,107,96,.06)}.qa-issue.warn{border-right-color:#f0d888;background:rgba(240,216,136,.055)}.qa-issue.info{border-right-color:#6da8ff}.qa-issue span{display:block;color:var(--gold);font-size:10px;font-weight:800}.qa-issue strong{display:block;color:#fff;font-size:13px;line-height:1.3}.qa-issue p{margin:2px 0 0;color:rgba(255,255,255,.62);font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.qa-issue .chip{height:28px;min-height:28px;font-size:11px;padding:0 9px;white-space:nowrap}@media(max-width:760px){.qa-kpis{grid-template-columns:1fr 1fr}.qa-issue{grid-template-columns:1fr}.qa-issue p{white-space:normal}.qa-issue .chip{justify-self:start}}
/* smart card navigation 2026 */
.operation-check .chip,.qa-issue .chip{min-width:86px;text-align:center}.operation-check.info .chip,.qa-issue.info .chip{border-color:rgba(109,168,255,.35)}.operation-check.warn .chip,.qa-issue.warn .chip{border-color:rgba(240,216,136,.42)}.operation-check.bad .chip,.qa-issue.bad .chip{border-color:rgba(255,107,96,.42)}
/* route time validity 2026 */
.route-time-validity table{min-width:1180px}.route-time-validity input[type=date]{min-width:118px}.route-validity-badge{display:inline-flex;align-items:center;justify-content:center;min-width:78px;height:24px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:900;border:1px solid rgba(255,255,255,.12);white-space:nowrap}.route-validity-badge.ok{background:rgba(67,197,138,.12);color:#8ff0b5;border-color:rgba(67,197,138,.28)}.route-validity-badge.warn{background:rgba(240,216,136,.12);color:#f0d888;border-color:rgba(240,216,136,.32)}.route-validity-badge.bad{background:rgba(255,107,96,.12);color:#ff9b94;border-color:rgba(255,107,96,.32)}.route-validity-badge.info{background:rgba(109,168,255,.12);color:#9fc5ff;border-color:rgba(109,168,255,.32)}.route-time-validity tr.validity-bad td{background:rgba(255,107,96,.045)}.route-time-validity tr.validity-warn td{background:rgba(240,216,136,.035)}.client-routes-panel.compact .route-time-validity table{font-size:10.5px}.client-routes-panel.compact .route-time-validity input,.client-routes-panel.compact .route-time-validity select{height:28px;font-size:10px}
/* route level validity 2026 */
.route-validity-panel{display:grid;grid-template-columns:minmax(0,1fr) 150px 150px;gap:8px;align-items:end;border:1px solid rgba(201,168,76,.18);border-right:3px solid var(--gold);background:#0a0a09;border-radius:8px;padding:9px;margin-bottom:8px}.route-validity-panel.bad{border-right-color:#ff6b60}.route-validity-panel.warn{border-right-color:#f0d888}.route-validity-panel.info{border-right-color:#6da8ff}.route-validity-panel span{display:block;color:rgba(255,255,255,.55);font-size:10px}.route-validity-panel strong{display:block;color:#fff;font-size:14px}.route-validity-panel small{display:block;color:rgba(255,255,255,.55);font-size:11px;line-height:1.35}.route-validity-panel label{display:grid;gap:3px;font-size:10px;color:rgba(255,255,255,.55)}.route-validity-panel input{height:29px;font-size:11px;background:#090909;border:1px solid rgba(201,168,76,.18);border-radius:6px;color:#fff;padding:4px 7px}.route-level-validity table{min-width:860px}@media(max-width:820px){.route-validity-panel{grid-template-columns:1fr 1fr}.route-validity-panel>div{grid-column:1/-1}}@media(max-width:520px){.route-validity-panel{grid-template-columns:1fr}}
/* route validity layout fix 2026 */
.client-routes-panel.compact .route-inner-body{overflow:visible}
.route-validity-panel{grid-template-columns:1fr 1fr!important;align-items:stretch;width:100%;max-width:100%;overflow:hidden;contain:layout;background:#0b0b0a!important}
.route-validity-panel>div{grid-column:1/-1;min-width:0;padding-inline-end:2px}
.route-validity-panel *{overflow-wrap:normal!important;word-break:normal!important;line-break:auto!important}
.route-validity-panel span,.route-validity-panel strong,.route-validity-panel small{max-width:100%;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;text-align:right}
.route-validity-panel label{min-width:0;overflow:hidden;background:#090909;border:1px solid rgba(201,168,76,.12);border-radius:7px;padding:6px}
.route-validity-panel label span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block}
.route-validity-panel input{width:100%;min-width:0;text-align:center;direction:ltr}
.client-routes-panel.compact .route-validity-panel{margin:0 0 8px;padding:8px;gap:7px}
@media(max-width:680px){.route-validity-panel{grid-template-columns:1fr!important}}
/* reports sync upgrade 2026 */
.report-sync-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.report-sync-panel article{background:#10100f;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:9px 10px;min-width:0}.report-sync-panel span{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-sync-panel strong{display:block;color:#fff;font-size:18px;line-height:1.25}.report-sync-panel small{display:block;color:rgba(255,255,255,.52);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-tools-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.report-tools-row .chip{height:29px;min-height:29px;font-size:11px;padding:0 10px}@media(max-width:900px){.report-sync-panel{grid-template-columns:1fr 1fr}}@media(max-width:560px){.report-sync-panel{grid-template-columns:1fr}}
/* wide workspace pass 2026 */
.main{padding-left:14px;padding-right:14px}
.owner-mode .main{padding-left:226px}
#content,.layout-grid,.admin-cards-page,.reports-console,.finance-console,.daily-shell,.settings-stack,.panel{width:100%;max-width:none}
.panel{padding:14px}
.admin-card-workspace{grid-template-columns:220px minmax(0,1fr)!important;gap:9px!important;width:100%}
.admin-card-list{max-width:220px;padding:7px!important}
.admin-card-editor{padding:12px!important;min-width:0;width:100%}
.admin-card-list-items.polished button{padding:7px 8px}
.admin-card-list-items.polished span,.admin-card-list-items.polished small{font-size:10px}
.admin-editor-grid.tabbed fieldset{padding:12px!important}
.admin-fields{grid-template-columns:repeat(5,minmax(130px,1fr))!important}
.card-density-comfortable .admin-fields{grid-template-columns:repeat(4,minmax(150px,1fr))!important}
.card-density-compact .admin-fields{grid-template-columns:repeat(5,minmax(120px,1fr))!important}
.client-routes-panel.compact{width:100%;padding:12px!important;border-radius:9px}
.client-routes-panel.compact .client-routes-layout{grid-template-columns:minmax(190px,245px) minmax(0,1fr)!important;gap:10px!important}
.client-routes-panel.compact .route-detail-pane{min-width:0;width:100%}
.client-routes-panel.compact .client-route-card{padding:12px!important;width:100%;min-height:520px}
.client-routes-panel.compact .route-master-list{max-height:640px}
.client-routes-panel.compact .route-list-toolbar{grid-template-columns:86px minmax(260px,1fr) minmax(90px,.45fr) minmax(120px,.55fr) minmax(90px,.45fr) minmax(130px,.55fr)!important}
.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail{grid-template-columns:repeat(4,minmax(135px,1fr))!important;gap:8px!important}
.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(4,minmax(135px,1fr))!important;gap:8px!important}
.route-validity-panel{grid-template-columns:minmax(240px,1fr) 170px 170px!important;gap:10px!important;padding:10px 12px!important}
.route-validity-panel>div{grid-column:auto!important}
.route-day-schedule table{min-width:980px}
.route-subtable-single table{min-width:860px}
.card-doc-table table,.card-finance-table table,.relation-table table{min-width:760px}
.reports-console .table-wrap,.finance-console .table-wrap,.daily-grid-wrap{width:100%}
.report-table{min-width:1380px}.finance-table.full-finance{min-width:1480px}.daily-grid.enhanced-grid{min-width:1760px}
.grid-2{grid-template-columns:minmax(0,1.5fr) minmax(300px,.55fr)}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.classic-window .cw-body{grid-template-columns:150px minmax(0,1fr)}
.cw-grid{grid-template-columns:repeat(2,minmax(320px,1fr))}
@media(max-width:1350px){.admin-fields{grid-template-columns:repeat(4,minmax(125px,1fr))!important}.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(3,minmax(130px,1fr))!important}.client-routes-panel.compact .route-list-toolbar{grid-template-columns:1fr 1fr 1fr!important}.route-validity-panel{grid-template-columns:1fr 160px 160px!important}}
@media(max-width:1050px){.owner-mode .main{padding-left:14px}.admin-card-workspace,.client-routes-panel.compact .client-routes-layout{grid-template-columns:1fr!important}.admin-card-list{max-width:none}.admin-fields,.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(2,minmax(130px,1fr))!important}.route-validity-panel{grid-template-columns:1fr 1fr!important}.route-validity-panel>div{grid-column:1/-1!important}}
@media(max-width:620px){.main{padding-left:9px;padding-right:9px}.panel{padding:10px}.admin-fields,.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price,.route-validity-panel{grid-template-columns:1fr!important}.grid-2,.grid-3{grid-template-columns:1fr}}
/* bulk assignment upgrade 2026 */
.bulk-assignment-panel{align-items:flex-start;background:linear-gradient(180deg,#17140d,#101010);border-color:rgba(214,180,77,.48)}
.bulk-assignment-panel .bulk-edit-controls{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr)) auto auto auto;gap:7px;align-items:end;width:100%}
.bulk-assignment-panel .bulk-edit-controls label{min-width:0}.bulk-assignment-panel .bulk-edit-controls select,.bulk-assignment-panel .bulk-edit-controls input{width:100%;height:29px}.bulk-assignment-panel .primary-action{white-space:nowrap}.bulk-assignment-panel .chip{white-space:nowrap}
@media(max-width:1300px){.bulk-assignment-panel .bulk-edit-controls{grid-template-columns:repeat(3,minmax(130px,1fr))}}
@media(max-width:760px){.bulk-assignment-panel .bulk-edit-controls{grid-template-columns:1fr}.bulk-assignment-panel .primary-action,.bulk-assignment-panel .chip{width:100%}}
/* bulk modal, route bulk prices and finance settings 2026 */
.compact-bulk-panel{background:#11110f;border-color:rgba(201,168,76,.28);align-items:center}.compact-bulk-panel .selected-trip-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.bulk-assignment-modal .bulk-modal-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0}.bulk-assignment-modal .bulk-modal-summary article{background:#0c0c0b;border:1px solid rgba(201,168,76,.18);border-radius:8px;padding:8px;min-width:0}.bulk-assignment-modal .bulk-modal-summary span{display:block;font-size:10px;color:rgba(255,255,255,.54);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bulk-assignment-modal .bulk-modal-summary strong{display:block;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-bulk-settings{grid-template-columns:repeat(4,minmax(140px,1fr))!important}.bulk-selected-preview{border:1px solid rgba(201,168,76,.16);background:#0a0a09;border-radius:8px;padding:9px;margin-top:9px}.bulk-selected-preview strong{display:block;color:var(--gold);font-size:12px;margin-bottom:6px}.bulk-selected-preview ul{display:grid;gap:4px;max-height:120px;overflow:auto;margin:0;padding:0;list-style:none}.bulk-selected-preview li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;border-bottom:1px solid rgba(255,255,255,.05);padding:4px 0}.bulk-selected-preview li strong{font-size:11px;color:#fff;margin:0}.bulk-selected-preview li span{font-size:11px;color:rgba(255,255,255,.68);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-price-bulk-panel{display:grid;grid-template-columns:minmax(220px,1fr) 140px 150px 115px auto;gap:8px;align-items:end;border:1px solid rgba(201,168,76,.22);border-right:3px solid var(--gold);background:#0b0b0a;border-radius:8px;padding:9px;margin:8px 0}.route-price-bulk-panel div{min-width:0}.route-price-bulk-panel span,.route-price-bulk-panel small{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-price-bulk-panel strong{display:block;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-price-bulk-panel label{display:grid;gap:3px;font-size:10px;color:rgba(255,255,255,.55);min-width:0}.route-price-bulk-panel input,.route-price-bulk-panel select{height:29px;min-width:0;width:100%}.finance-settings-panel{display:grid;gap:10px}.finance-settings-panel section{border:1px solid rgba(201,168,76,.16);background:#0b0b0a;border-radius:9px;padding:10px}.finance-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:8px}.finance-settings-grid label{display:grid;gap:4px;min-width:0;color:rgba(255,255,255,.58);font-size:10px}.finance-settings-grid label.wide{grid-column:span 2}.finance-settings-grid input,.finance-settings-grid select,.finance-settings-grid textarea{width:100%;min-width:0;background:#080808;border:1px solid rgba(201,168,76,.18);border-radius:7px;color:#fff;padding:6px 8px}.finance-settings-grid textarea{min-height:66px}.finance-tax-note{display:flex;gap:8px;align-items:center;border:1px solid rgba(240,216,136,.25);background:rgba(240,216,136,.07);border-radius:8px;padding:9px;color:rgba(255,255,255,.72);font-size:12px}.finance-tax-note strong{color:var(--gold)}@media(max-width:1100px){.route-price-bulk-panel{grid-template-columns:1fr 1fr 1fr}.route-price-bulk-panel>div{grid-column:1/-1}.finance-settings-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.bulk-assignment-modal .bulk-modal-summary{grid-template-columns:1fr 1fr}.compact-bulk-settings{grid-template-columns:repeat(2,minmax(140px,1fr))!important}}@media(max-width:650px){.route-price-bulk-panel,.finance-settings-grid,.compact-bulk-settings{grid-template-columns:1fr!important}.finance-settings-grid label.wide{grid-column:auto}.bulk-assignment-modal .bulk-modal-summary{grid-template-columns:1fr}.bulk-selected-preview li{grid-template-columns:1fr}}

/* schedule build modal and shortcut upgrade 2026 */
.daily-build-modal{width:min(860px,calc(100vw - 34px))}.daily-build-modal-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;margin:12px 0}.daily-build-modal-grid label{display:grid;gap:4px;min-width:0;color:rgba(255,255,255,.58);font-size:11px}.daily-build-modal-grid label.wide{grid-column:1/-1}.daily-build-modal-grid input,.daily-build-modal-grid select{height:31px;background:#080808;border:1px solid rgba(201,168,76,.2);border-radius:7px;color:#fff;padding:5px 8px;min-width:0}.daily-build-modal-grid span{color:var(--gold);font-size:10px}.daily-build-modal .modal-preview{border:1px solid rgba(201,168,76,.16);border-radius:8px;background:#090909;padding:9px;margin:8px 0}.daily-build-modal .preview-days{max-height:155px}.daily-build-modal footer{justify-content:flex-start}.daily-actions .primary-action[onclick="openDailyBuildModal()"]{border-color:rgba(201,168,76,.5);background:#171207;color:#fff}.daily-shell>.daily-build-box,.daily-shell>.daily-build-preview{display:none!important}@media(max-width:800px){.daily-build-modal-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.daily-build-modal-grid{grid-template-columns:1fr}.daily-build-modal-grid label.wide{grid-column:auto}}

/* owner console hidden entry and responsive menu cleanup 2026 */
.owner-side-panel{display:none!important}.owner-mode .main,.main{padding-left:14px!important;padding-right:14px!important}.module-bar{display:flex;flex-wrap:wrap;overflow:visible;gap:5px;align-items:center}.module-bar button{flex:0 1 auto;max-width:150px;overflow:hidden;text-overflow:ellipsis}.license-pill{margin-inline-start:auto;max-width:min(360px,100%);overflow:hidden;text-overflow:ellipsis}.classic-menu{width:100%;max-width:100%;overflow:visible;flex-wrap:wrap;height:auto;min-height:25px}.menu-group{flex:0 0 auto}.menu-dropdown{max-width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 90px);overflow:auto}.menu-dropdown button{max-width:100%;overflow:hidden;text-overflow:ellipsis}.owner-settings-entry{border-color:rgba(201,168,76,.32);background:linear-gradient(180deg,rgba(201,168,76,.08),rgba(255,255,255,.025))}.owner-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px}.owner-settings-grid button{min-height:34px}.system-insight-bar.single-company .insight-tenants{display:none!important}@media(max-width:920px){.owner-settings-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.module-bar button{max-width:none;flex:1 1 120px}.license-pill{order:10;margin-inline-start:0;flex:1 1 100%}}@media(max-width:560px){.owner-settings-grid{grid-template-columns:1fr}.classic-menu{overflow-x:auto;flex-wrap:nowrap}.menu-dropdown{position:fixed;right:8px;left:8px;max-width:none}}

/* full width route cards and hidden schedule design panel 2026 */
.client-routes-panel.compact{display:block;width:100%!important;max-width:100%!important;overflow:visible!important}.client-routes-panel.compact .client-routes-layout{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;align-items:stretch!important}.client-routes-panel.compact .route-master-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;max-height:190px!important;width:100%!important;overflow:auto!important}.client-routes-panel.compact .route-detail-pane{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}.client-routes-panel.compact .client-route-card{width:100%!important;max-width:100%!important;min-height:auto!important;overflow:visible!important}.client-routes-panel.compact .route-inner-body{width:100%!important;max-width:100%!important;overflow:visible!important}.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail{grid-template-columns:repeat(5,minmax(130px,1fr))!important;width:100%!important}.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(5,minmax(130px,1fr))!important;width:100%!important}.client-routes-panel.compact .route-summary-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}.client-routes-panel.compact .route-validity-panel{width:100%!important;grid-template-columns:minmax(240px,1fr) 170px 170px!important}.client-routes-panel.compact .route-subtable-single,.client-routes-panel.compact .route-day-schedule{width:100%!important;max-width:100%!important}.client-routes-panel.compact .route-subtable-single table,.client-routes-panel.compact .route-day-schedule table{width:100%!important}.layout-controls,.schedule-design-panel,.daily-design-panel{display:none!important}.daily-shell .layout-controls,.daily-shell .schedule-design-panel,.daily-shell .daily-design-panel{display:none!important}@media(max-width:1250px){.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price{grid-template-columns:repeat(3,minmax(130px,1fr))!important}.client-routes-panel.compact .route-validity-panel{grid-template-columns:1fr 160px 160px!important}}@media(max-width:760px){.client-routes-panel.compact .route-master-list{grid-template-columns:1fr!important;max-height:260px!important}.client-routes-panel.compact .client-route-fields,.client-routes-panel.compact .compact-detail,.client-routes-panel.compact .pro-detail,.client-routes-panel.compact .route-price-panel,.client-routes-panel.compact .pro-price,.client-routes-panel.compact .route-summary-strip,.client-routes-panel.compact .route-validity-panel{grid-template-columns:1fr!important}}

/* robust shift selection and dated bulk assignment 2026 */
.dated-bulk-settings{grid-template-columns:repeat(5,minmax(130px,1fr))!important}.bulk-days{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border:1px solid rgba(201,168,76,.16);background:#090909;border-radius:7px;padding:6px 8px;min-height:31px}.bulk-days span{color:var(--gold);font-size:10px;font-weight:900;margin-left:4px}.bulk-days label{display:flex;align-items:center;gap:3px;color:#fff;font-size:11px}.bulk-days input{width:14px;height:14px;min-width:14px;accent-color:#c9a84c}.daily-grid.enhanced-grid tr.selected-trip td{outline:1px solid rgba(123,84,32,.8)!important;outline-offset:-1px}@media(max-width:950px){.dated-bulk-settings{grid-template-columns:repeat(2,minmax(130px,1fr))!important}.bulk-days{grid-column:1/-1}}@media(max-width:560px){.dated-bulk-settings{grid-template-columns:1fr!important}}

/* Premium top nav 2026: the classic-menu bar was still rendering as a light
   Windows-XP-style toolbar (line ~356) while everything below it uses the
   dark/gold brand — this unifies the resting bar with the rest of the app.
   Placed last on purpose so it wins the cascade without touching the legacy
   rule above (safer than surgical edits inside a heavily-minified block). */
.classic-menu{background:linear-gradient(180deg,#151310,#0b0a08);border-bottom:1px solid rgba(201,168,76,.3);box-shadow:0 12px 32px rgba(0,0,0,.4)}
.classic-menu-start{border-left-color:rgba(255,255,255,.1)}
.classic-menu-start b{color:#f0d888;letter-spacing:.2px}
.classic-menu-start span{color:rgba(255,255,255,.55)}
.classic-menu-item>button{color:rgba(255,255,255,.82);transition:background .15s ease,color .15s ease}
.classic-menu-item>button span{color:rgba(201,168,76,.75)}
.classic-menu-item:hover>button,.classic-menu-item.active>button{background:rgba(201,168,76,.14);color:var(--gold-2)}
.classic-submenu{backdrop-filter:blur(6px)}

/* Premium classic-window side tabs 2026: .cw-side (used by drivers/vehicles/
   clients/design-studio detail panels) was still light-gray with a Windows-
   blue active state (line ~36), same leftover pattern as the top nav. */
.cw-side{background:#161512;color:#fff;border-color:rgba(201,168,76,.28)}
.cw-side button{background:#161512;color:rgba(255,255,255,.78);border-bottom-color:rgba(201,168,76,.16)}
.cw-side button.active,.cw-side button:hover{background:rgba(201,168,76,.16);color:var(--gold-2)}

/* system-wide visual polish 2026 */
.module-bar-hidden{display:none!important}
body{background:#0d0d0c!important}.main{padding-top:14px!important}
.topbar{margin-bottom:14px!important;padding:14px 16px!important;border-radius:10px!important;border-color:rgba(201,168,76,.18)!important;background:linear-gradient(180deg,#141311,#0c0c0a)!important}
.topbar h1{font-size:26px!important;line-height:1.25!important}.topbar .subtitle{font-size:13px!important;color:rgba(255,255,255,.6)!important}
.search input{height:38px!important;width:min(360px,34vw)!important;background:#0a0a0a!important;border-color:rgba(201,168,76,.18)!important}
.system-insight-bar{margin:0 0 14px!important;border-radius:10px!important;background:#100f0d!important;border-color:rgba(201,168,76,.18)!important}.system-insight-bar article{border-radius:8px!important;background:#151412!important}.insight-actions button{height:36px!important;border-radius:8px!important}
.panel,.admin-card-editor,.admin-card-list,.daily-shell,.finance-console,.reports-console,.settings-stack>.panel{border-color:rgba(201,168,76,.17)!important;background:#0e0e0d!important;box-shadow:none!important}.panel{border-radius:10px!important}.panel-head{margin-bottom:14px!important;gap:12px!important}.panel-head h2{font-size:20px!important;line-height:1.3!important}.eyebrow{font-size:12.5px!important;letter-spacing:.2px!important}
.metric,.card,.portal,.license-summary article,.admin-card-metrics article,.card-quick-summary article,.route-summary-strip article,.finance-kpis article{border-radius:10px!important;background:#141311!important;border-color:rgba(201,168,76,.16)!important;box-shadow:none!important}.metric strong,.license-summary strong,.admin-card-metrics strong{font-size:22px!important}
.chip,.primary-action,.ghost,.icon-button{border-radius:8px!important;min-height:38px!important;font-size:13.5px!important;padding-inline:14px!important}.primary-action{background:#b18c2d!important;color:#050505!important;border-color:#d5b653!important;font-weight:800!important}.chip{background:#151412!important;border-color:rgba(201,168,76,.25)!important;color:#fff!important}
input,select,textarea{border-radius:8px!important;background:#0a0a0a!important;border-color:rgba(201,168,76,.18)!important;color:#fff!important;font-size:14px!important}label{font-size:12.5px!important;color:rgba(255,255,255,.62)!important}textarea{line-height:1.5!important}
.table-wrap,.daily-grid-wrap,.card-doc-table,.card-finance-table,.route-subtable-single,.route-day-schedule{border-radius:10px!important;border:1px solid rgba(201,168,76,.13)!important;background:#0a0a0a!important}table{border-collapse:separate!important;border-spacing:0!important}th{background:#151310!important;color:#d6b44d!important;font-size:12.5px!important;padding:11px 12px!important;border-bottom:1px solid rgba(201,168,76,.22)!important}td{background:#0c0c0c!important;color:#eee!important;border-bottom:1px solid rgba(255,255,255,.045)!important;padding:11px 12px!important;font-size:13.5px!important;line-height:1.35!important}.edit-table th,.edit-table td,.finance-table th,.finance-table td{padding:11px 12px!important;font-size:13.5px!important}
.admin-card-workspace{align-items:start!important}.admin-card-list{position:sticky;top:86px;max-height:calc(100vh - 108px);overflow:auto}.admin-card-editor{min-height:calc(100vh - 132px)}.admin-editor-head{padding-bottom:12px!important;margin-bottom:12px!important}.admin-card-list-items.polished button.active{outline:1px solid rgba(201,168,76,.55)!important;background:rgba(201,168,76,.12)!important}
.admin-fields,.client-route-fields,.client-department-fields,.client-contact-fields,.random-trip-fields{gap:12px!important}.admin-editor-grid.tabbed fieldset{border-radius:10px!important;background:#0c0c0c!important;border-color:rgba(201,168,76,.14)!important}.card-detail-tabs.improved button,.card-record-tabs button,.route-inner-tabs button{height:36px!important;border-radius:8px!important;font-size:13px!important}
.client-routes-panel.compact .route-master-list{background:#080808!important;border-radius:8px!important;padding:7px!important}.client-routes-panel.compact .route-list-item{border-radius:7px!important;background:#10100f!important}.client-routes-panel.compact .client-route-card{background:#090909!important;border-color:rgba(201,168,76,.16)!important}.client-routes-panel.compact .route-inner-tabs{gap:5px!important}
.daily-shell{padding:12px!important}.daily-grid-wrap{max-height:calc(100vh - 245px)!important}.daily-grid.enhanced-grid th,.daily-grid.enhanced-grid td{height:29px!important}.daily-grid.enhanced-grid tr.selected-trip td{outline:2px solid #7b5420!important;outline-offset:-2px!important;background:#14110b!important}.daily-grid.enhanced-grid td input,.daily-grid.enhanced-grid td select{height:24px!important;min-height:24px!important;border-radius:5px!important}.schedule-toolbar,.daily-actions,.daily-filters{gap:8px!important}
.assignment-modal,.trip-details-modal{border-radius:10px!important;background:#0d0d0c!important;border-color:rgba(201,168,76,.26)!important;box-shadow:0 20px 60px rgba(0,0,0,.55)!important}.assignment-modal header,.trip-details-modal header{border-bottom:1px solid rgba(201,168,76,.12)!important;padding-bottom:8px!important}.assignment-list button{border-radius:7px!important;background:#10100f!important}.assignment-list button.active{outline:1px solid rgba(201,168,76,.65)!important;background:rgba(201,168,76,.13)!important}
.classic-menu{min-height:36px!important;padding:4px 10px!important}.classic-menu-item>button{height:30px!important;border-radius:6px!important;font-size:13.5px!important}.classic-submenu,.menu-dropdown{border-color:rgba(201,168,76,.24)!important;background:#141210!important;box-shadow:0 16px 42px rgba(0,0,0,.5)!important}.classic-submenu button,.menu-dropdown button{height:34px!important;font-size:13px!important}
@media(max-width:900px){.search input{width:100%!important}.admin-card-list{position:static;max-height:none}.daily-grid-wrap{max-height:none}}

/* practical usability polish 2026 */
.module-bar{display:none!important}
.main{padding-top:8px!important}.classic-menu{position:sticky!important;top:0!important;z-index:120!important;margin:0 0 8px!important;border-radius:0 0 8px 8px!important}.classic-menu-start{min-width:145px!important}.classic-submenu button{justify-content:space-between!important}
.topbar{position:sticky!important;top:36px!important;z-index:90!important;display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;align-items:center!important;margin-bottom:12px!important;box-shadow:0 10px 26px rgba(0,0,0,.28)!important}.topbar .top-actions{display:flex!important;align-items:end!important;gap:10px!important}.topbar .search{min-width:260px!important}.topbar .search span{font-size:12.5px!important}.topbar .primary-action{height:38px!important;min-height:38px!important;padding:0 16px!important;white-space:nowrap!important}
.panel-head{position:relative!important}.panel-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-start!important}.panel-actions .primary-action,.panel-actions .chip{height:38px!important;min-height:38px!important}.panel-actions .primary-action:first-child{box-shadow:0 0 0 1px rgba(255,255,255,.08) inset!important}
.admin-cards-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:14px 16px!important}.admin-cards-hero h2{font-size:22px!important}.admin-cards-hero p{font-size:13px!important}.admin-card-tabs{position:sticky!important;top:88px!important;z-index:80!important;background:#0a0a09!important;border:1px solid rgba(201,168,76,.14)!important;border-radius:8px!important;padding:6px!important}.admin-card-tabs button{height:36px!important;padding:0 12px!important;font-size:13px!important}.card-detail-tabs.improved{position:sticky!important;top:126px!important;z-index:70!important;background:#0d0d0c!important;border:1px solid rgba(201,168,76,.12)!important;border-radius:8px!important;padding:6px!important;margin-bottom:10px!important}.card-detail-tabs.improved button.active{background:#c9a84c!important;color:#060606!important}
.admin-card-workspace{grid-template-columns:270px minmax(0,1fr)!important}.admin-card-list{top:126px!important}.admin-card-search{position:sticky!important;top:0!important;z-index:2!important;background:#0f0f0e!important;padding-bottom:8px!important}.admin-card-list-items.polished button{min-height:52px!important}.admin-editor-head.improved{position:sticky!important;top:174px!important;z-index:60!important;background:#0d0d0c!important;border:1px solid rgba(201,168,76,.14)!important;border-radius:8px!important;padding:10px 12px!important}.admin-editor-head.improved h3{font-size:20px!important}.card-quick-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.card-quick-summary article{padding:9px 10px!important}.card-quick-summary strong{font-size:16px!important}.card-quick-summary span{font-size:12px!important}
.admin-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important}.admin-fields label{min-height:54px!important}.admin-fields input,.admin-fields select{height:38px!important}.admin-editor-grid.tabbed fieldset{padding:14px!important}.admin-editor-grid.tabbed legend{font-size:13.5px!important}
.daily-title{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;border-radius:8px!important;background:#0f0f0e!important;border-color:rgba(201,168,76,.17)!important;padding:10px 12px!important}.daily-title h2{font-size:20px!important;color:#fff!important}.daily-title p{font-size:13px!important;color:rgba(255,255,255,.62)!important}.daily-actions{justify-content:flex-start!important}.daily-actions .chip,.daily-actions .primary-action{height:36px!important;min-height:36px!important}
.daily-filters.enhanced{position:sticky!important;top:84px!important;z-index:75!important;grid-template-columns:120px repeat(6,minmax(110px,1fr))!important;background:#0d0d0c!important;border-radius:8px!important;border-color:rgba(201,168,76,.16)!important;padding:7px!important;margin-bottom:7px!important}.daily-filters.enhanced label{gap:3px!important}.daily-filters.enhanced input,.daily-filters.enhanced select{height:28px!important;padding:4px 7px!important}
.daily-grid-wrap{border-radius:8px!important;max-height:calc(100vh - 220px)!important}.daily-grid.enhanced-grid{min-width:1580px!important}.daily-grid.enhanced-grid th{position:sticky!important;top:0!important;z-index:5!important;height:27px!important}.daily-grid.enhanced-grid td{height:27px!important;padding:3px 5px!important}.daily-grid.enhanced-grid tr:hover td{background:#15120c!important}.daily-grid.enhanced-grid tr.selected-trip td,.daily-grid.enhanced-grid tr.multi-selected td{background:#171207!important;outline:2px solid #7b5420!important;outline-offset:-2px!important}.daily-grid.enhanced-grid td input,.daily-grid.enhanced-grid td select{height:22px!important;font-size:10.5px!important;background:#0b0b0a!important;border:1px solid rgba(201,168,76,.13)!important;color:#fff!important}.daily-grid .route-input{min-width:250px!important;max-width:310px!important}.row-tools button{height:21px!important;min-width:22px!important;border-radius:5px!important;background:#c9a84c!important;color:#090909!important}
.finance-tabs,.card-record-tabs,.route-inner-tabs{position:sticky!important;top:88px!important;z-index:65!important;background:#0c0c0b!important;border:1px solid rgba(201,168,76,.13)!important;border-radius:8px!important;padding:6px!important}.finance-tabs button,.card-record-tabs button,.route-inner-tabs button{height:36px!important;font-size:13px!important}.finance-tabs button.active,.card-record-tabs button.active,.route-inner-tabs button.active{background:#c9a84c!important;color:#080808!important;border-color:#c9a84c!important}
.table-wrap tr:hover td,.route-subtable-single tr:hover td,.card-finance-table tr:hover td{background:#14110b!important}th:first-child,td:first-child{border-right:1px solid rgba(201,168,76,.12)!important}tr:last-child td{border-bottom:0!important}
input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid rgba(201,168,76,.72)!important;outline-offset:1px!important;border-color:#c9a84c!important}.chip:hover,.primary-action:hover{filter:brightness(1.08)!important}.badge{border-radius:999px!important;padding:6px 11px!important;font-size:12.5px!important}
.assignment-backdrop{z-index:200!important}.assignment-modal footer,.trip-details-modal footer{position:sticky!important;bottom:0!important;background:#0d0d0c!important;border-top:1px solid rgba(201,168,76,.15)!important;padding-top:8px!important}.bulk-selected-preview ul{max-height:170px!important}
@media(max-width:1100px){.topbar{position:static!important;grid-template-columns:1fr!important}.daily-filters.enhanced,.admin-card-tabs,.card-detail-tabs.improved,.finance-tabs,.card-record-tabs,.route-inner-tabs{position:static!important}.admin-editor-head.improved{position:static!important}.admin-card-workspace{grid-template-columns:1fr!important}.admin-card-list{position:static!important;max-height:300px!important}.daily-filters.enhanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}.card-quick-summary{grid-template-columns:1fr 1fr!important}}
@media(max-width:650px){.admin-cards-hero,.daily-title{grid-template-columns:1fr!important}.topbar .top-actions{display:grid!important;grid-template-columns:1fr!important}.topbar .search{min-width:0!important}.daily-filters.enhanced,.card-quick-summary{grid-template-columns:1fr!important}.classic-menu{overflow-x:auto!important;flex-wrap:nowrap!important}}

/* owner/customer separation and x-report UI 2026 */
.console-area-badge{min-width:172px!important;border-left:1px solid rgba(201,168,76,.2)!important}.area-switch{margin-inline-start:auto;height:28px;border:1px solid rgba(201,168,76,.36);background:rgba(201,168,76,.12);color:#f0d888;border-radius:7px;padding:0 12px;font-weight:900}.area-switch:hover{background:rgba(201,168,76,.2)}.console-area-strip{display:flex;align-items:center;gap:10px;border:1px solid rgba(201,168,76,.22);background:linear-gradient(180deg,rgba(201,168,76,.1),rgba(255,255,255,.02));border-radius:8px;padding:8px 10px;margin-bottom:8px}.console-area-strip strong{color:#f0d888;font-size:13px}.console-area-strip span{color:rgba(255,255,255,.62);font-size:11px}.console-area-strip button{margin-inline-start:auto;height:28px;border:1px solid rgba(201,168,76,.32);background:#11100e;color:#fff;border-radius:7px;padding:0 10px}.x-report-filter-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:7px;background:#0d0d0c;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px;margin-bottom:9px}.x-report-filter-grid label{display:grid;gap:3px;min-width:0}.x-report-filter-grid input,.x-report-filter-grid select{height:29px;padding:4px 7px}.x-report-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.x-report-wrap{max-height:calc(100vh - 330px)}.x-report-table{min-width:1380px}.x-report-table .x-mark{text-align:center;font-size:15px;font-weight:900;color:#f0d888}.x-report-table .x-group-row td{position:sticky;top:28px;z-index:4;background:#17140d!important;color:#fff!important;border-top:1px solid rgba(201,168,76,.38)!important;border-bottom:1px solid rgba(201,168,76,.38)!important}.x-report-table .x-group-row strong{color:#f0d888;margin-inline-end:10px}.x-report-table .x-group-row span{color:rgba(255,255,255,.68);font-size:11px}.reports-console .report-tabs button.active{background:#c9a84c!important;color:#070707!important}@media(max-width:1200px){.x-report-filter-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}}@media(max-width:700px){.console-area-strip{display:grid}.console-area-strip button{margin-inline-start:0}.x-report-filter-grid{grid-template-columns:1fr}.area-switch{margin-inline-start:0}}

/* practical date entry fields 2026 */
input.date-entry{direction:ltr;text-align:center;font-family:Tahoma,Arial,sans-serif;letter-spacing:.2px}
input.date-entry::placeholder{color:rgba(255,255,255,.35)!important}

/* true route/date/price x matrix report 2026 */
.x-options-modal{width:min(920px,calc(100vw - 34px))}.x-options-modal header p{max-width:640px}.x-options-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:8px;margin:12px 0}.x-options-grid label{display:grid;gap:4px;min-width:0}.x-options-grid input,.x-options-grid select{height:31px}.x-options-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid rgba(201,168,76,.18);background:#090909;border-radius:8px;padding:9px;margin:8px 0}.x-options-preview strong{color:#f0d888}.x-options-preview span{color:rgba(255,255,255,.68);font-size:11px}.hidden-options{display:none!important}.x-report-title{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid rgba(201,168,76,.18);background:#0d0d0c;border-radius:8px;padding:8px 10px;margin:8px 0}.x-report-title strong{color:#f0d888}.x-report-title span{color:rgba(255,255,255,.62);font-size:11px}.x-matrix-table{min-width:1280px;border-collapse:separate!important;border-spacing:0!important}.x-matrix-table th{position:sticky;top:0;z-index:3;text-align:center!important}.x-matrix-table th:first-child,.x-matrix-table td:first-child{position:sticky;right:0;z-index:4;background:#11100d!important;min-width:220px;max-width:320px;text-align:right!important}.x-matrix-table th:nth-child(2),.x-matrix-table td:nth-child(2){position:sticky;right:220px;z-index:4;background:#11100d!important;min-width:88px;text-align:center!important}.x-date-head span{display:block;font-size:10px}.x-date-head small{display:block;color:rgba(255,255,255,.55);font-size:9px}.x-route-cell{font-weight:900;color:#fff!important;white-space:normal!important;line-height:1.25!important}.x-cell{text-align:center!important;min-width:46px;font-weight:900;color:#f0d888!important}.x-cell.has-x{background:#151008!important;border:1px solid rgba(201,168,76,.28)!important;font-size:15px}.x-report-wrap{max-height:calc(100vh - 285px)!important}.x-options-backdrop{z-index:210!important}@media(max-width:900px){.x-options-grid,.x-options-preview{grid-template-columns:1fr}.x-report-title{display:grid}.x-matrix-table th:first-child,.x-matrix-table td:first-child,.x-matrix-table th:nth-child(2),.x-matrix-table td:nth-child(2){position:static}}

/* compact one-page x matrix report 2026 */
.compact-x-matrix{table-layout:fixed!important;min-width:980px!important;font-size:9px!important}.compact-x-matrix th,.compact-x-matrix td{padding:2px 3px!important;line-height:1.05!important}.compact-x-matrix th:first-child,.compact-x-matrix td:first-child{min-width:170px!important;max-width:210px!important;width:210px!important}.compact-x-matrix th:nth-child(2),.compact-x-matrix td:nth-child(2){right:210px!important;min-width:66px!important;width:66px!important}.compact-x-matrix .x-date-head{width:30px!important;min-width:30px!important;max-width:30px!important;padding:1px!important}.compact-x-matrix .x-date-head b{display:block!important;font-size:13px!important;line-height:1!important;color:#f6d66f!important}.compact-x-matrix .x-date-head small{display:block!important;font-size:9px!important;line-height:1!important;color:rgba(255,255,255,.72)!important}.compact-x-matrix .x-cell{width:30px!important;min-width:30px!important;max-width:30px!important;font-size:12px!important;padding:1px!important}.compact-x-matrix .x-cell.has-x{font-size:13px!important;background:#120e08!important}.compact-x-matrix .x-route-cell{font-size:9.5px!important}.compact-x-matrix .x-price-cell,.compact-x-matrix .x-total-cell,.compact-x-matrix .x-sum-cell{font-size:9px!important;white-space:nowrap!important}.compact-x-matrix .x-total-cell{width:38px!important}.compact-x-matrix .x-sum-cell{width:58px!important}.x-report-wrap{max-height:calc(100vh - 250px)!important}
@media print{@page{size:A4 landscape;margin:7mm}.classic-menu,.topbar,.system-insight-bar,.x-report-actions,.assignment-backdrop,.finance-tabs,.report-sync-panel,.x-report-filter-grid{display:none!important}.main,.panel,.reports-console{padding:0!important;margin:0!important;background:#fff!important;color:#000!important;border:0!important}.x-report-title{color:#000!important;border:0!important;background:#fff!important;padding:0!important;margin:0 0 5px!important}.x-report-title strong,.x-report-title span{color:#000!important}.x-report-wrap{max-height:none!important;overflow:visible!important;border:0!important}.compact-x-matrix{width:100%!important;min-width:0!important;color:#000!important;background:#fff!important;font-size:8px!important}.compact-x-matrix th,.compact-x-matrix td{border:1px solid #777!important;background:#fff!important;color:#000!important;padding:1px 2px!important}.compact-x-matrix th:first-child,.compact-x-matrix td:first-child{position:static!important;width:22%!important;min-width:0!important;max-width:none!important}.compact-x-matrix th:nth-child(2),.compact-x-matrix td:nth-child(2){position:static!important;width:7%!important;min-width:0!important}.compact-x-matrix .x-date-head,.compact-x-matrix .x-cell{width:auto!important;min-width:0!important;max-width:none!important}.compact-x-matrix .x-date-head b{font-size:10px!important;color:#000!important}.compact-x-matrix .x-date-head small{font-size:8px!important;color:#000!important}.compact-x-matrix .has-x{font-size:11px!important;font-weight:900!important}}

/* x report saved filters and totals 2026 */
.x-options-modal{width:min(1040px,calc(100vw - 34px))!important}.x-options-grid.expanded{grid-template-columns:repeat(6,minmax(120px,1fr))!important;max-height:48vh;overflow:auto;padding-inline-end:3px}.x-report-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:7px 0}.x-report-totals article{border:1px solid rgba(201,168,76,.2);background:#0d0d0c;border-radius:7px;padding:7px 9px}.x-report-totals span{display:block;color:rgba(255,255,255,.58);font-size:10px}.x-report-totals strong{display:block;color:#f0d888;font-size:15px;line-height:1.2}.x-options-preview{grid-template-columns:repeat(4,minmax(0,1fr))!important}@media(max-width:1180px){.x-options-grid.expanded{grid-template-columns:repeat(3,minmax(120px,1fr))!important}.x-options-preview{grid-template-columns:1fr 1fr!important}}@media(max-width:700px){.x-options-grid.expanded,.x-report-totals,.x-options-preview{grid-template-columns:1fr!important}}
@media print{.x-report-totals{grid-template-columns:repeat(3,1fr)!important;margin:3px 0!important;gap:3px!important}.x-report-totals article{border:1px solid #777!important;background:#fff!important;padding:2px 4px!important}.x-report-totals span,.x-report-totals strong{color:#000!important;font-size:8px!important}}

/* tighter x matrix and left bottom totals 2026 */
.compact-x-matrix{min-width:860px!important;font-size:7.8px!important}.compact-x-matrix th,.compact-x-matrix td{padding:1px 2px!important}.compact-x-matrix th:first-child,.compact-x-matrix td:first-child{min-width:140px!important;max-width:170px!important;width:170px!important}.compact-x-matrix th:nth-child(2),.compact-x-matrix td:nth-child(2){right:170px!important;min-width:50px!important;width:50px!important}.compact-x-matrix .x-date-head{width:24px!important;min-width:24px!important;max-width:24px!important}.compact-x-matrix .x-cell{width:24px!important;min-width:24px!important;max-width:24px!important;font-size:10px!important}.compact-x-matrix .x-date-head b{font-size:11px!important}.compact-x-matrix .x-date-head small{font-size:7.5px!important}.compact-x-matrix .x-route-cell{font-size:8px!important}.compact-x-matrix .x-price-cell,.compact-x-matrix .x-total-cell,.compact-x-matrix .x-sum-cell{font-size:7.8px!important}.x-report-totals{width:min(360px,100%)!important;margin:7px auto 0 0!important;grid-template-columns:1fr!important;direction:rtl}.x-report-totals article{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:5px 8px!important}.x-report-totals span{font-size:9.5px!important}.x-report-totals strong{font-size:13px!important}.x-options-grid.expanded select option{background:#11100e;color:#fff}
@media print{.compact-x-matrix{font-size:7.5px!important}.compact-x-matrix th:first-child,.compact-x-matrix td:first-child{width:20%!important}.compact-x-matrix th:nth-child(2),.compact-x-matrix td:nth-child(2){width:6%!important}.x-report-totals{width:280px!important;margin:4px 0 0 auto!important;display:grid!important}.x-report-totals article{grid-template-columns:1fr auto!important;padding:1px 3px!important}}

/* smart workspace and dependent report filters 2026 */
.workspace-health-strip{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(110px,.7fr));gap:7px;margin:0 0 9px}
.workspace-health-strip article{min-width:0;border:1px solid rgba(201,168,76,.18);background:linear-gradient(180deg,#11100e,#0b0b0a);border-radius:8px;padding:7px 9px}
.workspace-health-strip article.warn{border-color:rgba(240,216,136,.42);background:linear-gradient(180deg,rgba(201,168,76,.12),#0b0b0a)}
.workspace-health-strip article.info{border-color:rgba(109,168,255,.3)}
.workspace-health-strip article.ok{border-color:rgba(67,197,138,.24)}
.workspace-health-strip span{display:block;color:rgba(255,255,255,.52);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-health-strip strong{display:block;color:#fff;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-health-strip article:not(:first-child) strong{font-size:20px;color:#f0d888}
.smart-filter-strip{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border:1px solid rgba(201,168,76,.18);background:#0d0d0c;border-radius:8px;padding:7px 8px;margin:0 0 7px}
.smart-filter-strip strong{color:#f0d888;font-size:11px;margin-inline-end:2px}
.smart-filter-strip span{display:inline-flex;align-items:center;min-height:30px;border:1px solid rgba(201,168,76,.18);background:#090909;border-radius:999px;padding:0 10px;color:rgba(255,255,255,.78);font-size:12.5px;white-space:nowrap}
.smart-filter-strip .chip{height:32px;min-height:32px;font-size:12.5px;margin-inline-start:auto}
.smart-report-filters{grid-template-columns:repeat(6,minmax(118px,1fr))!important;align-items:end}
.smart-report-filters label{min-width:0}
.smart-report-filters select,.smart-report-filters input{height:36px!important;font-size:13px!important}
.compact-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:7px!important}
.compact-report-kpis article{padding:9px 11px!important}
.compact-report-kpis span{font-size:12.5px!important}.compact-report-kpis strong{font-size:18px!important}
@media(max-width:1100px){.workspace-health-strip{grid-template-columns:1fr 1fr}.smart-report-filters{grid-template-columns:repeat(3,minmax(120px,1fr))!important}.smart-filter-strip .chip{margin-inline-start:0}}
@media(max-width:650px){.workspace-health-strip,.smart-report-filters,.compact-report-kpis{grid-template-columns:1fr!important}.smart-filter-strip{align-items:flex-start}.smart-filter-strip span{white-space:normal}}

/* interactive synchronized report tables 2026 */
.interactive-report-wrap{border:1px solid rgba(201,168,76,.18);border-radius:9px;background:#080807;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.interactive-report-table{border-collapse:separate!important;border-spacing:0!important;font-size:13px!important}
.interactive-report-table th{height:36px!important;background:#12100b!important;color:#f0d888!important;border-bottom:1px solid rgba(201,168,76,.28)!important;font-size:12.5px!important}
.interactive-report-table td{height:34px!important;padding:8px 9px!important;background:#0d0d0c!important;border-bottom:1px solid rgba(255,255,255,.045)!important;color:rgba(255,255,255,.86)!important}
.interactive-report-table tr:hover td{background:#15120c!important}
.interactive-report-table .table-link{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:22px;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;padding:0 3px;border-radius:5px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.interactive-report-table .table-link:hover{background:rgba(201,168,76,.12);color:#f7d96f}
.interactive-report-table .id-link{color:#f0d888!important;letter-spacing:.2px}
.interactive-report-table .route-link{justify-content:flex-start;text-align:right;color:#fff!important}
.interactive-report-table .price-link{color:#f0d888!important;background:rgba(201,168,76,.08);border:1px solid rgba(201,168,76,.16)}
.interactive-report-table .price-link:hover{background:rgba(201,168,76,.18);border-color:rgba(201,168,76,.38)}
.interactive-report-table .profit{color:#7fe0a3!important;font-weight:900}.interactive-report-table .loss{color:#ff9188!important;font-weight:900}
.interactive-report-table .x-cell.clickable{padding:0!important}
.interactive-report-table .x-cell-button{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:24px;border:0;background:transparent;color:#f0d888;font-weight:1000;font-size:12px;cursor:pointer;border-radius:4px}
.interactive-report-table .x-cell-button:hover{background:rgba(201,168,76,.18);box-shadow:inset 0 0 0 1px rgba(201,168,76,.32)}
.report-price-modal{width:min(760px,calc(100vw - 34px))!important}
.report-price-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
.report-price-form label{display:grid;gap:4px;color:rgba(255,255,255,.58);font-size:10px;min-width:0}
.report-price-form input{height:31px;background:#090909;border:1px solid rgba(201,168,76,.18);border-radius:7px;color:#fff;padding:4px 8px}
.report-price-form article{border:1px solid rgba(201,168,76,.18);background:#090909;border-radius:8px;padding:7px 9px;min-width:0}
.report-price-form article span{display:block;color:rgba(255,255,255,.55);font-size:10px}.report-price-form article strong{display:block;color:#f0d888;font-size:16px}
.report-price-list{display:grid;gap:5px;max-height:260px;overflow:auto;border:1px solid rgba(201,168,76,.12);border-radius:8px;padding:7px;background:#090909}
.report-price-list button{display:grid;gap:2px;text-align:right;border:1px solid rgba(201,168,76,.12);background:#10100f;color:#fff;border-radius:7px;padding:7px 9px;cursor:pointer}
.report-price-list button:hover{border-color:rgba(201,168,76,.38);background:#15120c}
.report-price-list strong{font-size:13.5px;color:#f0d888}.report-price-list span,.report-price-list small{font-size:12px;color:rgba(255,255,255,.6)}
@media(max-width:760px){.report-price-form{grid-template-columns:1fr 1fr}.interactive-report-table{font-size:12px!important}}
@media(max-width:520px){.report-price-form{grid-template-columns:1fr}}

/* report price audit panel 2026 */
.price-audit-panel{margin-top:9px;border:1px solid rgba(201,168,76,.18);background:#0d0d0c;border-radius:9px;padding:8px}
.price-audit-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.price-audit-panel header span{display:block;color:rgba(255,255,255,.55);font-size:12.5px}.price-audit-panel header strong{display:block;color:#f0d888;font-size:14px}
.price-audit-panel header .chip{height:27px;min-height:27px;font-size:10px}
.price-audit-list{display:grid;gap:5px}
.price-audit-list article{display:grid;grid-template-columns:minmax(0,1fr) 72px 88px auto;gap:7px;align-items:center;border:1px solid rgba(201,168,76,.12);background:#090909;border-radius:7px;padding:6px 7px}
.price-audit-list strong{display:block;color:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-audit-list span{display:block;color:rgba(255,255,255,.52);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-audit-list b,.price-audit-list em{font-style:normal;color:#f0d888;font-size:11px;text-align:center;white-space:nowrap}
.price-audit-list .chip{height:25px;min-height:25px;font-size:10px;padding:0 8px}
@media(max-width:760px){.price-audit-list article{grid-template-columns:1fr 1fr}.price-audit-list article .chip{justify-self:start}}

/* synchronized driver pricing in reports */
.driver-report-table .driver-total{color:#f0d888!important;font-weight:1000}
.driver-price-link{border-color:rgba(109,168,255,.22)!important;color:#b9d6ff!important;background:rgba(109,168,255,.08)!important}
.driver-price-link:hover{border-color:rgba(109,168,255,.48)!important;background:rgba(109,168,255,.16)!important}
.report-price-modal header p{max-width:620px}
.report-price-modal .report-price-list{margin-top:8px}
.interactive-report-table td .badge{font-size:9.5px;min-height:20px;padding:2px 6px}

/* local recovery panel 2026 */
.recovery-panel{width:min(920px,calc(100vw - 28px));margin:24px auto;border:1px solid rgba(201,168,76,.28);background:linear-gradient(180deg,#11100e,#080807);border-radius:12px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.45)}
.recovery-panel h2{margin:4px 0 8px;color:#fff;font-size:22px}
.recovery-message{direction:ltr;text-align:left;color:#f0d888;background:#070707;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:10px;white-space:pre-wrap;overflow:auto}
.recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.recovery-grid article{border:1px solid rgba(201,168,76,.18);background:#0b0b0a;border-radius:8px;padding:10px}
.recovery-grid span{display:block;color:rgba(255,255,255,.58);font-size:11px}.recovery-grid strong{display:block;color:#f0d888;font-size:22px}
.recovery-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.recovery-actions button{height:31px;min-height:31px}.recovery-actions .danger{border-color:rgba(255,120,100,.35)!important;color:#ffb0a8!important}
.recovery-log{border:1px solid rgba(201,168,76,.15);background:#090909;border-radius:8px;padding:10px;color:rgba(255,255,255,.72)}
.recovery-log strong{display:block;color:#f0d888;margin-bottom:4px}.recovery-log p{margin:0;direction:ltr;text-align:left;word-break:break-word}
.recovery-good{color:#7fe0a3}.recovery-bad{color:#ff9188}.recovery-warn{color:#f0d888}
@media(max-width:700px){.recovery-grid{grid-template-columns:1fr}.recovery-panel{margin:10px auto;padding:12px}}

/* quality health and practical polish 2026 */
.quality-health-panel{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(5,minmax(88px,.65fr)) auto;gap:7px;align-items:stretch;margin:0 0 10px;border:1px solid rgba(201,168,76,.2);background:linear-gradient(180deg,#11100e,#090908);border-radius:9px;padding:8px}
.quality-health-panel.ok{border-color:rgba(67,197,138,.25)}.quality-health-panel.warn{border-color:rgba(240,216,136,.32)}
.quality-health-main{min-width:0;border-left:1px solid rgba(201,168,76,.15);padding-left:8px}.quality-health-main span{display:block;color:rgba(255,255,255,.52);font-size:10px}.quality-health-main strong{display:block;color:#fff;font-size:15px}.quality-health-main small{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quality-health-panel>button{display:grid;align-content:center;gap:2px;min-width:0;border:1px solid rgba(201,168,76,.15);background:#0b0b0a;color:#fff;border-radius:7px;padding:6px 7px;cursor:pointer;text-align:center}
.quality-health-panel>button:hover{border-color:rgba(201,168,76,.42);background:#15120c}.quality-health-panel>button b{color:#f0d888;font-size:17px;line-height:1}.quality-health-panel>button span{font-size:9.5px;color:rgba(255,255,255,.66);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quality-health-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.quality-health-actions .primary-action,.quality-health-actions .chip{height:28px;min-height:28px;white-space:nowrap}
.admin-card-editor,.client-route-card,.finance-console,.reports-console,.daily-shell{overflow:hidden}.admin-card-editor .table-wrap,.client-route-card .table-wrap,.finance-console .table-wrap,.reports-console .table-wrap{max-width:100%;overflow:auto}
.admin-fields label,.client-route-fields label,.finance-settings-grid label,.daily-filters label{min-width:0}.admin-fields input,.admin-fields select,.client-route-fields input,.client-route-fields select,.daily-filters input,.daily-filters select{min-width:0;width:100%;box-sizing:border-box}
.relation-table table,.card-doc-table table,.card-finance-table table{table-layout:fixed}.relation-table td,.card-doc-table td,.card-finance-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.daily-grid.enhanced-grid tbody tr:nth-child(even) td,.interactive-report-table tbody tr:nth-child(even) td,.finance-table tbody tr:nth-child(even) td{background:#0a0a09!important}
.daily-grid.enhanced-grid tbody tr:hover td,.interactive-report-table tbody tr:hover td,.finance-table tbody tr:hover td{background:#17130b!important}
@media(max-width:1250px){.quality-health-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.quality-health-main{grid-column:1/-1}.quality-health-actions{grid-column:1/-1}}
@media(max-width:620px){.quality-health-panel{grid-template-columns:1fr}.quality-health-main,.quality-health-actions{grid-column:auto}.quality-health-panel>button{text-align:right}}

/* quality control modal 2026 */
.quality-modal-backdrop{position:fixed;inset:0;z-index:260;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px}
.quality-modal{width:min(1080px,calc(100vw - 28px));max-height:calc(100vh - 34px);overflow:auto;border:1px solid rgba(201,168,76,.3);background:linear-gradient(180deg,#11100e,#070706);border-radius:12px;box-shadow:0 26px 80px rgba(0,0,0,.62);padding:14px}
.quality-modal header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid rgba(201,168,76,.16);padding-bottom:10px;margin-bottom:10px}
.quality-modal header h2{font-size:21px;margin:2px 0;color:#fff}.quality-modal header span{display:block;color:rgba(255,255,255,.58);font-size:11px}
.quality-modal-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:9px}
.quality-modal-kpis article{border:1px solid rgba(201,168,76,.16);background:#0c0c0b;border-radius:8px;padding:8px 9px;min-width:0}
.quality-modal-kpis span{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quality-modal-kpis strong{display:block;color:#f0d888;font-size:20px;line-height:1.1}
.quality-modal-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 9px}.quality-modal-actions button{height:29px;min-height:29px}
.quality-filter-tabs{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:0 0 9px;border:1px solid rgba(201,168,76,.14);background:#090909;border-radius:8px;padding:6px}
.quality-filter-tabs .chip{height:27px;min-height:27px;font-size:10px}.quality-filter-tabs .chip.active{background:#c9a84c!important;color:#060606!important;border-color:#d8bd68!important}.quality-filter-tabs b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:999px;margin-inline-start:4px;background:rgba(255,255,255,.08);font-size:10px}.quality-filter-tabs .chip.active b{background:rgba(0,0,0,.16);color:#060606}
.quality-issue-list{display:grid;gap:6px;max-height:52vh;overflow:auto;padding-inline-end:2px}
.quality-issue-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid rgba(201,168,76,.13);background:#0b0b0a;border-radius:8px;padding:8px 9px}
.quality-issue-list article.bad{border-right:3px solid #ff9188}.quality-issue-list article.warn{border-right:3px solid #f0d888}.quality-issue-list article.info{border-right:3px solid #8dbbff}
.quality-issue-list span{display:block;color:#f0d888;font-size:10px}.quality-issue-list strong{display:block;color:#fff;font-size:13px;margin:1px 0}.quality-issue-list small{display:block;color:rgba(255,255,255,.62);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:850px){.quality-modal-kpis{grid-template-columns:1fr 1fr}.quality-modal header{display:grid}.quality-issue-list article{grid-template-columns:1fr}.quality-issue-list article .chip{justify-self:start}}
@media(max-width:520px){.quality-modal-kpis{grid-template-columns:1fr}.quality-modal-backdrop{padding:8px}.quality-modal{width:100%;max-height:calc(100vh - 16px);padding:10px}}

/* workflow upgrades 0.1.138 */
.account-ledger-panel{border:1px solid rgba(201,168,76,.18)!important;background:#080807!important;border-radius:9px!important;padding:10px!important;display:grid;gap:9px}
.account-ledger-panel legend{padding:0 8px;color:#d6b44d;font-size:12px;font-weight:900}
.account-ledger-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(201,168,76,.13);background:#0c0c0b;border-radius:8px;padding:8px 10px}
.account-ledger-head strong{display:block;color:#fff;font-size:16px;line-height:1.2}
.account-ledger-head span{display:block;color:rgba(255,255,255,.58);font-size:10.5px;margin-top:3px}
.account-ledger-head>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.account-ledger-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.account-ledger-kpis article{border:1px solid rgba(201,168,76,.16);background:#10100f;border-radius:8px;padding:7px 8px;min-width:0}
.account-ledger-kpis span{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-ledger-kpis strong{display:block;color:#f0d888;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-ledger-table{max-width:100%;overflow:auto;border:1px solid rgba(201,168,76,.13);border-radius:8px;background:#070707}
.account-ledger-table table{min-width:980px;table-layout:fixed}
.account-ledger-table th{font-size:12.5px!important;padding:9px 10px!important}
.account-ledger-table td{font-size:13px!important;padding:9px 10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-ledger-table td:nth-child(1){width:118px}.account-ledger-table td:nth-child(2){width:105px}.account-ledger-table td:nth-child(10){width:115px}
.ledger-row.open td{background:#100d08!important}.ledger-row.partial td{background:#101008!important}.ledger-row.closed td{background:#080908!important}
.ledger-status{display:inline-flex;align-items:center;justify-content:center;min-width:60px;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}
.ledger-status.open{background:rgba(255,107,96,.14);color:#ffb1aa}.ledger-status.partial{background:rgba(201,168,76,.16);color:#f0d888}.ledger-status.closed{background:rgba(67,197,138,.13);color:#88efbd}
.ledger-muted{color:rgba(255,255,255,.4);font-size:12.5px}
.legacy-ledger-editor{border:1px solid rgba(201,168,76,.13);border-radius:8px;background:#090908;padding:7px}
.legacy-ledger-editor summary{cursor:pointer;color:#f0d888;font-size:11px;font-weight:900}
.legacy-ledger-editor[open] summary{margin-bottom:8px}
.daily-focus-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(201,168,76,.16);background:#090908;border-radius:8px;padding:7px 9px;margin:0 0 8px}
.daily-focus-bar strong{display:block;color:#fff;font-size:13px}.daily-focus-bar span{display:block;color:rgba(255,255,255,.58);font-size:10px;margin-top:2px}
.daily-focus-bar>div:last-child{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.daily-shell .daily-title{margin-bottom:8px!important}.daily-shell .daily-actions{max-width:720px}
.daily-shell .daily-actions .chip:nth-last-child(-n+3){opacity:.86}
.daily-grid.enhanced-grid{border-spacing:0!important}
.daily-grid.enhanced-grid th{height:25px!important;font-size:10px!important;padding:4px 5px!important;background:#11100d!important;color:#d6b44d!important}
.daily-grid.enhanced-grid td{height:25px!important;font-size:10.25px!important;padding:3px 5px!important;border-bottom:1px solid rgba(255,255,255,.04)!important}
.daily-grid.enhanced-grid td input,.daily-grid.enhanced-grid td select{height:21px!important;min-height:21px!important;font-size:10px!important;padding:2px 5px!important}
.daily-grid.enhanced-grid tr.row-fixed-assigned td{background:#080808!important;color:#fff!important}
.daily-grid.enhanced-grid tr.row-fixed-unassigned td{background:#0d080c!important;color:#ffb3df!important}
.daily-grid.enhanced-grid tr.row-casual td{background:#09100e!important}
.daily-grid.enhanced-grid tr.row-conflict td{background:#130908!important;color:#ffb1aa!important}
.daily-grid.enhanced-grid tr.selected-trip td,.daily-grid.enhanced-grid tr.multi-selected td{background:#171207!important;box-shadow:inset 0 0 0 2px #7b5420!important;outline:0!important}
@media(max-width:900px){.account-ledger-head,.daily-focus-bar{grid-template-columns:1fr}.account-ledger-head>div:last-child,.daily-focus-bar>div:last-child{justify-content:flex-start}.account-ledger-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.account-ledger-kpis{grid-template-columns:1fr}}

/* module boundaries 0.1.139 */
.module-boundary-note{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;border:1px solid rgba(201,168,76,.14);background:#090908;border-radius:8px;padding:6px 9px;margin:0 0 8px}
.module-boundary-note strong{color:#f0d888;font-size:12px;white-space:nowrap}
.module-boundary-note span{color:rgba(255,255,255,.52);font-size:10.5px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.module-boundary-hidden{display:none!important}
.daily-shell .daily-actions{max-width:520px!important}
.daily-shell .daily-actions button[onclick*="priceScheduleFromRoutes"],.daily-shell .daily-actions button[onclick*="clearScheduleFilters"],.daily-shell .daily-actions button[onclick="render()"]{opacity:1!important}
.admin-cards-page .panel-actions:empty{display:none!important}
@media(max-width:700px){.module-boundary-note{grid-template-columns:1fr}.module-boundary-note span{white-space:normal}}

/* payable payments and automatic closing 0.1.140 */
.payable-payment-backdrop{position:fixed;inset:0;z-index:310;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px}
.payable-payment-modal{width:min(1040px,calc(100vw - 34px));max-height:calc(100vh - 34px);overflow:auto;border:1px solid rgba(201,168,76,.3);background:linear-gradient(180deg,#11100e,#070706);border-radius:12px;box-shadow:0 26px 80px rgba(0,0,0,.62);padding:14px}
.payable-payment-modal header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid rgba(201,168,76,.16);padding-bottom:10px;margin-bottom:10px}
.payable-payment-modal h2{font-size:20px;color:#fff;margin:2px 0}.payable-payment-modal header p:not(.eyebrow){color:rgba(255,255,255,.58);font-size:11px;margin:4px 0 0}
.payable-payment-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;margin-bottom:9px}
.payable-payment-grid label{display:grid;gap:4px;min-width:0;color:rgba(255,255,255,.58);font-size:10.5px}
.payable-payment-grid label.wide{grid-column:span 2}
.payable-payment-grid input,.payable-payment-grid select{height:30px;min-width:0;width:100%;background:#080808;border:1px solid rgba(201,168,76,.18);border-radius:7px;color:#fff;padding:5px 8px}
.payable-payment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}
.payable-payment-summary article{border:1px solid rgba(201,168,76,.16);background:#10100f;border-radius:8px;padding:8px 9px;min-width:0}
.payable-payment-summary span{display:block;color:rgba(255,255,255,.58);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.payable-payment-summary strong{display:block;color:#f0d888;font-size:17px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.payable-open-list{max-height:300px;overflow:auto;border:1px solid rgba(201,168,76,.13);border-radius:8px;background:#070707;margin-bottom:10px}
.payable-open-list table{min-width:760px;table-layout:fixed}.payable-open-list th,.payable-open-list td{font-size:13px!important;padding:9px 10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.payable-open-list input[type=checkbox]{width:15px;height:15px;accent-color:#c9a84c}
.payable-payment-modal footer{position:sticky;bottom:0;background:#0d0d0c;border-top:1px solid rgba(201,168,76,.15);display:flex;gap:7px;flex-wrap:wrap;padding-top:9px}
@media(max-width:900px){.payable-payment-grid,.payable-payment-summary{grid-template-columns:1fr 1fr}.payable-payment-grid label.wide{grid-column:1/-1}.payable-payment-modal header{display:grid}}
@media(max-width:560px){.payable-payment-grid,.payable-payment-summary{grid-template-columns:1fr}.payable-payment-backdrop{padding:8px}.payable-payment-modal{width:100%;max-height:calc(100vh - 16px);padding:10px}}

/* full width screens and card panels 0.1.141 */
html,body,.app-shell,.main,#content{width:100%;max-width:none!important}
.main{padding-inline:12px!important}
#content>*{width:100%;max-width:none!important}
.panel,.admin-cards-page,.daily-shell,.finance-console,.reports-console,.settings-stack,.qa-center,.classic-window{width:100%!important;max-width:none!important}
.admin-card-workspace{grid-template-columns:minmax(210px,245px) minmax(0,1fr)!important;width:100%!important;max-width:none!important}
.admin-card-editor{width:100%!important;max-width:none!important;overflow:visible!important}
.admin-editor-grid.tabbed,.admin-editor-grid.tabbed fieldset,.admin-fields{width:100%!important;max-width:none!important}
.admin-fields>.card-operations-panel,.admin-fields>.card-relations-panel,.admin-fields>.card-report-panel,.admin-fields>.card-alerts-panel,.admin-fields>.card-documents,.admin-fields>.account-ledger-panel,.admin-fields>.card-finance-ledger,.admin-fields>.client-routes-panel,.admin-fields>.client-random-panel,.admin-fields>.client-departments-panel,.admin-fields>.client-contacts-panel,.admin-fields>.client-billing-rules,.admin-fields>.client-operations-panel,.admin-fields>.relation-table,.admin-fields>.empty-state,.admin-fields>fieldset{grid-column:1/-1!important;width:100%!important;max-width:none!important;min-width:0}
.card-operations-panel{width:100%!important;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;align-items:start!important}
.card-operations-panel .operation-hero,.card-operations-panel .operation-kpis,.card-operations-panel .operation-actions{grid-column:1/-1!important}
.card-operations-panel section{min-width:0!important;max-width:none!important}
.operation-checklist{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}
.operation-check{min-height:74px!important}
.operation-timeline{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
.operation-timeline article{grid-template-columns:82px minmax(0,1fr)!important;border:1px solid rgba(201,168,76,.1)!important;border-radius:7px!important;padding:7px!important}
.card-relations-panel,.card-report-panel,.card-alerts-panel,.account-ledger-panel{width:100%!important;max-width:none!important}
.relation-table,.card-doc-table,.card-finance-table,.account-ledger-table,.table-wrap{max-width:100%!important;overflow:auto!important}
.account-ledger-table table{min-width:1120px!important}
.card-detail-tabs.improved,.admin-editor-head.improved{max-width:100%!important}
.module-boundary-note{width:100%!important}
@media(max-width:1100px){.admin-card-workspace{grid-template-columns:1fr!important}.admin-card-list{position:static!important;max-height:260px!important}.card-operations-panel{grid-template-columns:1fr!important}.card-operations-panel .operation-hero,.card-operations-panel .operation-kpis,.card-operations-panel .operation-actions{grid-column:auto!important}}
@media(max-width:720px){.main{padding-inline:8px!important}.operation-checklist,.operation-timeline{grid-template-columns:1fr!important}.operation-timeline article{grid-template-columns:1fr!important}}

/* compact full-width card detail forms 0.1.142 */
.admin-editor-grid.tabbed fieldset{min-height:0!important}
.admin-editor-grid.tabbed>.admin-fields,.admin-editor-grid.tabbed fieldset>.admin-fields{align-content:start!important}
.admin-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;align-items:start!important}
.admin-fields label{min-height:0!important;height:auto!important;padding:0!important;align-content:start!important}
.admin-fields label:has(input),.admin-fields label:has(select),.admin-fields label:has(textarea){border:1px solid rgba(201,168,76,.12);background:#080807;border-radius:7px;padding:6px 7px!important}
.admin-fields label span,.admin-fields label{line-height:1.2!important}
.admin-fields input,.admin-fields select{height:36px!important;min-height:36px!important}
.admin-fields textarea{min-height:64px!important;height:64px!important}
.admin-fields .wide{grid-column:span 2!important}
.admin-editor-grid.tabbed fieldset:has(.admin-fields)>legend{margin-bottom:4px}
.admin-card-editor .card-detail-tabs.improved{margin-bottom:6px!important}
.admin-card-editor .admin-editor-head.improved{margin-bottom:6px!important}
.admin-card-editor .admin-editor-grid.tabbed{min-height:0!important}
.admin-card-editor .admin-editor-grid.tabbed fieldset{padding:9px!important}
.admin-card-editor .admin-fields:has(label:nth-child(1):last-child){display:block!important}
.admin-card-editor .admin-fields>label:nth-child(1):nth-last-child(-n+6),.admin-card-editor .admin-fields>label:nth-child(2):nth-last-child(-n+5),.admin-card-editor .admin-fields>label:nth-child(3):nth-last-child(-n+4),.admin-card-editor .admin-fields>label:nth-child(4):nth-last-child(-n+3),.admin-card-editor .admin-fields>label:nth-child(5):nth-last-child(-n+2),.admin-card-editor .admin-fields>label:nth-child(6):last-child{max-width:none!important}
@media(min-width:1500px){.admin-fields{grid-template-columns:repeat(6,minmax(170px,1fr))!important}.admin-fields .wide{grid-column:span 3!important}}
@media(max-width:1150px){.admin-fields{grid-template-columns:repeat(3,minmax(160px,1fr))!important}}
@media(max-width:720px){.admin-fields{grid-template-columns:repeat(2,minmax(140px,1fr))!important}.admin-fields .wide{grid-column:1/-1!important}}
@media(max-width:520px){.admin-fields{grid-template-columns:1fr!important}}

/* schedule assignment clearing 0.1.143 */
.row-tools .schedule-clear-driver,.row-tools .schedule-clear-vehicle{background:#1a0d0d!important;border-color:rgba(255,107,96,.38)!important;color:#ffd0cc!important}
.row-tools .schedule-clear-vehicle{background:#101015!important;border-color:rgba(109,168,255,.34)!important;color:#d9e8ff!important}
.row-tools .schedule-clear-driver:hover,.row-tools .schedule-clear-vehicle:hover{filter:brightness(1.18)}
.assignment-list .assignment-empty-option{border-color:rgba(255,107,96,.36)!important;background:rgba(255,107,96,.07)!important;color:#fff!important}
.assignment-list .assignment-empty-option strong{color:#ffd0cc!important}
.assignment-list .assignment-empty-option span{color:rgba(255,255,255,.62)!important}
.assignment-modal .assignment-clear-all{margin-inline-start:auto}

/* driver availability modal 0.1.144 */
.driver-availability-backdrop{position:fixed;inset:0;z-index:340;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:18px}
.driver-availability-modal{width:min(1040px,calc(100vw - 34px));max-height:calc(100vh - 34px);overflow:auto;border:1px solid rgba(201,168,76,.3);background:linear-gradient(180deg,#11100e,#070706);border-radius:12px;box-shadow:0 26px 80px rgba(0,0,0,.62);padding:14px}
.driver-availability-modal header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid rgba(201,168,76,.16);padding-bottom:10px;margin-bottom:10px}
.driver-availability-modal h2{font-size:20px;color:#fff;margin:2px 0}.driver-availability-modal header p:not(.eyebrow){color:rgba(255,255,255,.58);font-size:11px;margin:4px 0 0}
.driver-availability-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px}
.driver-availability-kpis article{border:1px solid rgba(201,168,76,.16);background:#10100f;border-radius:8px;padding:8px 9px;min-width:0}
.driver-availability-kpis span{display:block;color:rgba(255,255,255,.55);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.driver-availability-kpis strong{display:block;color:#f0d888;font-size:20px;line-height:1.2}
.driver-availability-tools{display:grid;grid-template-columns:minmax(180px,1fr) repeat(4,auto);gap:6px;align-items:center;border:1px solid rgba(201,168,76,.13);background:#090908;border-radius:8px;padding:7px;margin-bottom:9px}
.driver-availability-tools input{height:30px;min-width:0}.driver-availability-tools .chip{height:29px;min-height:29px;font-size:10px}.driver-availability-tools .chip.active{background:#c9a84c!important;border-color:#d8bd68!important;color:#060606!important}
.driver-availability-list{display:grid;gap:7px;max-height:52vh;overflow:auto;padding-inline-end:2px}
.driver-availability-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(201,168,76,.14);background:#0b0b0a;border-radius:8px;padding:9px 10px}
.driver-availability-row.free{border-right:3px solid #88efbd}.driver-availability-row.busy{border-right:3px solid #ff9188;opacity:.72}
.driver-availability-row strong{display:block;color:#fff;font-size:13px;line-height:1.3}.driver-availability-row span,.driver-availability-row small{display:block;color:rgba(255,255,255,.58);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.driver-availability-row b{display:block;color:#f0d888;font-size:11px;text-align:center;margin-bottom:5px}.driver-availability-row.free b{color:#88efbd}.driver-availability-row>div:last-child{display:grid;justify-items:center}.driver-availability-row button:disabled{opacity:.42;cursor:not-allowed}
.selected-trip-actions .driver-availability-open{border-color:rgba(109,168,255,.34)!important;color:#d9e8ff!important;background:rgba(109,168,255,.08)!important}
@media(max-width:800px){.driver-availability-kpis{grid-template-columns:1fr 1fr}.driver-availability-tools{grid-template-columns:1fr 1fr}.driver-availability-row{grid-template-columns:1fr}.driver-availability-row>div:last-child{justify-items:start;display:flex;gap:8px;align-items:center}.driver-availability-row span,.driver-availability-row small{white-space:normal}.driver-availability-modal header{display:grid}}
@media(max-width:520px){.driver-availability-kpis,.driver-availability-tools{grid-template-columns:1fr}.driver-availability-backdrop{padding:8px}.driver-availability-modal{width:100%;max-height:calc(100vh - 16px);padding:10px}}

/* conflict details 0.1.147 */
.schedule-conflict-panel{border:1px solid rgba(255,107,96,.26);background:linear-gradient(180deg,rgba(35,12,10,.72),rgba(10,10,9,.92));border-radius:8px;padding:9px;margin:7px 0;display:grid;gap:8px}
.schedule-conflict-panel header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.schedule-conflict-panel header strong{display:block;color:#fff;font-size:14px}
.schedule-conflict-panel header span{display:block;color:rgba(255,255,255,.62);font-size:11px;margin-top:2px}
.schedule-conflict-list{display:grid;gap:6px;max-height:230px;overflow:auto}
.schedule-conflict-list article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.08);background:#080808;border-radius:7px;padding:7px}
.conflict-kind{height:28px;display:grid;place-items:center;border-radius:999px;font-size:11px;font-weight:900;border:1px solid rgba(255,107,96,.3);color:#ffb1aa;background:rgba(255,107,96,.08)}
.conflict-kind.vehicle{color:#f0d888;border-color:rgba(240,216,136,.28);background:rgba(240,216,136,.07)}
.conflict-main{min-width:0;display:grid;gap:2px}
.conflict-main strong{color:#fff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conflict-main span{color:rgba(255,255,255,.62);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conflict-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.conflict-actions button{height:24px;padding:2px 7px;border-radius:6px;border:1px solid rgba(201,168,76,.22);background:#0b0b0a;color:#fff;font-size:10.5px}
.conflict-actions button:hover{border-color:#c9a84c;background:#171207}
.conflict-more{margin:0;color:rgba(255,255,255,.58);font-size:11px}
.daily-grid tr[data-conflict-detail] td:first-child{box-shadow:inset -3px 0 0 #ff6b60!important}
.workflow-active-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border:1px solid rgba(201,168,76,.18);background:#090909;border-radius:8px;padding:7px 9px;margin:6px 0}
.workflow-active-filters strong{color:#f0d888;font-size:11px;margin-left:4px}
.workflow-active-filters button{height:24px;border:1px solid rgba(201,168,76,.24);background:#111;color:#fff;border-radius:999px;padding:2px 8px;font-size:10.5px}
.workflow-active-filters button:hover{border-color:#c9a84c;background:#171207}
.workflow-active-filters .clear-all{color:#ffb1aa;border-color:rgba(255,107,96,.3);background:rgba(255,107,96,.07)}
@media(max-width:760px){.schedule-conflict-panel header,.schedule-conflict-list article{grid-template-columns:1fr}.schedule-conflict-list article{align-items:start}.conflict-actions{justify-content:flex-start}}

/* product redesign foundation 0.1.150 */
body.product-redesign{
  --bg:#050505;
  --surface:#0d0d0c;
  --surface-2:#14120e;
  --line:rgba(210,172,74,.18);
  --line-strong:rgba(210,172,74,.36);
  --gold:#d2ac4a;
  --gold-2:#f1d67b;
  --ink:#f7f4ea;
  --muted:rgba(247,244,234,.58);
  background:#050505!important;
  color:var(--ink)!important;
}
body.product-redesign .main{padding:10px 12px 24px!important;background:linear-gradient(180deg,#0a0a09 0,#050505 220px)!important}
body.product-redesign .classic-menu{
  height:30px!important;
  min-height:30px!important;
  margin:0 0 8px!important;
  padding:0 8px!important;
  border:1px solid var(--line)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#171510,#0c0c0b)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.product-redesign .menu-root{
  height:28px!important;
  color:rgba(255,255,255,.78)!important;
  text-shadow:none!important;
  border-radius:7px!important;
  font-weight:800!important;
}
body.product-redesign .menu-group:hover .menu-root,
body.product-redesign .menu-root:hover{
  color:#0b0b0a!important;
  background:var(--gold)!important;
  border-color:var(--gold)!important;
}
body.product-redesign .menu-dropdown{
  top:31px!important;
  min-width:235px!important;
  border:1px solid var(--line-strong)!important;
  border-radius:9px!important;
  background:#10100f!important;
  padding:6px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.55)!important;
}
body.product-redesign .menu-dropdown button{
  height:30px!important;
  color:rgba(255,255,255,.82)!important;
  border-radius:6px!important;
  padding:5px 12px!important;
  background:transparent!important;
}
body.product-redesign .menu-dropdown button:before{display:none!important}
body.product-redesign .menu-dropdown button:hover{background:rgba(210,172,74,.14)!important;color:var(--gold-2)!important}
body.product-redesign .module-bar{display:none!important}
body.product-redesign .topbar{
  margin:0 0 8px!important;
  padding:12px 14px!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#10100f,#090909)!important;
  box-shadow:0 14px 35px rgba(0,0,0,.28)!important;
}
body.product-redesign .topbar h1{font-family:Assistant,Heebo,Arial,sans-serif!important;font-size:22px!important;letter-spacing:0!important}
body.product-redesign .topbar .eyebrow{color:var(--gold)!important}
body.product-redesign .top-actions{gap:8px!important}
body.product-redesign .top-actions .primary-action,
body.product-redesign .top-actions input{height:34px!important}
.product-command-center{
  display:grid;
  grid-template-columns:minmax(180px,.8fr) minmax(320px,1.4fr) auto;
  gap:8px;
  align-items:center;
  margin:0 0 10px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#080807;
}
.product-context{min-width:0;border-left:1px solid rgba(210,172,74,.14);padding-left:10px}
.product-context span{display:block;color:var(--muted);font-size:10px}
.product-context strong{display:block;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-command-actions{display:flex;gap:6px;flex-wrap:wrap}
.product-command-actions button{
  height:30px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#10100f;
  color:#fff;
  padding:0 11px;
  font-weight:800;
  font-size:12px;
}
.product-command-actions button:hover{border-color:var(--gold);background:rgba(210,172,74,.12);color:var(--gold-2)}
.product-live-kpis{display:grid;grid-template-columns:repeat(3,72px);gap:6px}
.product-live-kpis article{border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0d0d0c;padding:6px 8px;text-align:center}
.product-live-kpis span{display:block;color:var(--muted);font-size:9.5px}
.product-live-kpis strong{display:block;color:#fff;font-size:16px;line-height:1.1}
.product-live-kpis article.ok strong{color:#8ff0ad}.product-live-kpis article.bad strong{color:#ff9a91}
body.product-redesign .panel,
body.product-redesign .admin-cards-page,
body.product-redesign .daily-shell,
body.product-redesign .finance-console,
body.product-redesign .reports-console,
body.product-redesign .classic-window{
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  background:#080807!important;
  box-shadow:none!important;
}
body.product-redesign .panel{padding:12px!important}
body.product-redesign .panel-head{margin-bottom:10px!important}
body.product-redesign .panel-head h2{font-size:18px!important}
body.product-redesign .license-summary,
body.product-redesign .daily-summary.enhanced,
body.product-redesign .card-quick-summary{
  gap:7px!important;
  margin-bottom:8px!important;
}
body.product-redesign .license-summary article,
body.product-redesign .daily-summary.enhanced article,
body.product-redesign .card-quick-summary article{
  border-radius:8px!important;
  background:#0d0d0c!important;
  border:1px solid rgba(210,172,74,.14)!important;
  padding:8px 10px!important;
}
body.product-redesign .license-summary span,
body.product-redesign .daily-summary.enhanced span{font-size:12.5px!important;color:var(--muted)!important}
body.product-redesign .license-summary strong,
body.product-redesign .daily-summary.enhanced strong{font-size:20px!important;color:#fff!important}
body.product-redesign input,
body.product-redesign select,
body.product-redesign textarea{
  border-radius:7px!important;
  border-color:rgba(210,172,74,.18)!important;
  background:#060606!important;
  color:#fff!important;
}
body.product-redesign input:focus,
body.product-redesign select:focus,
body.product-redesign textarea:focus{outline:1px solid var(--gold)!important;border-color:var(--gold)!important}
body.product-redesign .primary-action{border-radius:8px!important;background:var(--gold)!important;border-color:var(--gold)!important;color:#090909!important}
body.product-redesign .chip,
body.product-redesign .ghost,
body.product-redesign .icon-button{border-radius:8px!important;background:#10100f!important;border-color:var(--line)!important;color:#fff!important}
body.product-redesign .chip:hover{border-color:var(--gold)!important;color:var(--gold-2)!important}
body.product-redesign .daily-shell{padding:8px!important;display:grid!important;gap:7px!important}
body.product-redesign .daily-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  padding:9px 10px!important;
  margin:0!important;
  border:1px solid rgba(210,172,74,.16)!important;
  border-radius:9px!important;
  background:#0d0d0c!important;
}
body.product-redesign .daily-title h2{font-size:20px!important;color:#fff!important}
body.product-redesign .daily-title p{font-size:13px!important;color:var(--muted)!important}
body.product-redesign .daily-actions{max-width:none!important;display:flex!important;gap:7px!important;justify-content:flex-end!important}
body.product-redesign .daily-actions button{height:36px!important;min-height:36px!important;padding:0 13px!important;font-size:13px!important}
body.product-redesign .daily-filters.enhanced{
  grid-template-columns:repeat(7,minmax(110px,1fr))!important;
  gap:6px!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid rgba(210,172,74,.14)!important;
  border-radius:9px!important;
  background:#0a0a09!important;
}
body.product-redesign .daily-filters label{font-size:10.5px!important;color:var(--muted)!important;gap:3px!important}
body.product-redesign .daily-filters input,
body.product-redesign .daily-filters select{height:27px!important;min-height:27px!important;font-size:11px!important}
body.product-redesign .daily-grid-wrap{
  max-height:calc(100vh - 330px)!important;
  border:1px solid rgba(210,172,74,.16)!important;
  border-radius:9px!important;
  background:#070707!important;
}
body.product-redesign .daily-grid.enhanced-grid{font-size:10.5px!important;min-width:1480px!important}
body.product-redesign .daily-grid.enhanced-grid th{
  height:27px!important;
  background:#11100d!important;
  color:var(--gold-2)!important;
  border-color:rgba(210,172,74,.12)!important;
  font-size:10px!important;
}
body.product-redesign .daily-grid.enhanced-grid td{
  height:27px!important;
  background:#070707!important;
  border-color:rgba(255,255,255,.045)!important;
  color:#f7f4ea!important;
}
body.product-redesign .daily-grid.enhanced-grid tr:nth-child(even) td{background:#0a0a09!important}
body.product-redesign .daily-grid.enhanced-grid tr:hover td{background:#16130d!important}
body.product-redesign .daily-grid.enhanced-grid tr.selected-trip td,
body.product-redesign .daily-grid.enhanced-grid tr.multi-selected td{background:#191307!important;box-shadow:inset 0 0 0 1px #7b5420!important}
body.product-redesign .daily-grid.enhanced-grid tr.row-fixed-unassigned td{color:#ff9bc2!important;background:#0d080b!important}
body.product-redesign .daily-grid.enhanced-grid tr.row-conflict td{color:#ffc7c2!important;background:#150908!important}
body.product-redesign .daily-grid input,
body.product-redesign .daily-grid select{height:22px!important;min-height:22px!important;border-radius:5px!important;background:#050505!important}
body.product-redesign .row-tools button{height:20px!important;border-radius:5px!important;background:#10100f!important;color:#fff!important;border:1px solid rgba(210,172,74,.18)!important}
body.product-redesign .admin-card-workspace{gap:9px!important}
body.product-redesign .admin-card-list,
body.product-redesign .admin-card-editor{
  border-radius:10px!important;
  background:#080807!important;
  border:1px solid rgba(210,172,74,.16)!important;
}
body.product-redesign .admin-fields,
body.product-redesign .cw-fields{gap:8px!important}
body.product-redesign fieldset,
body.product-redesign .cw-group,
body.product-redesign .account-ledger-panel{
  border-radius:9px!important;
  background:#0a0a09!important;
  border-color:rgba(210,172,74,.15)!important;
}
body.product-redesign .table-wrap{border-radius:9px!important;border-color:rgba(210,172,74,.14)!important}
body.product-redesign table th{background:#11100d!important;color:var(--gold-2)!important}
body.product-redesign table td{background:#080807!important;color:#f7f4ea!important}
body.product-redesign table tr:nth-child(even) td{background:#0b0b0a!important}
body.product-redesign table tr:hover td{background:#17130b!important}
@media(max-width:1100px){
  .product-command-center{grid-template-columns:1fr}
  .product-live-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.product-redesign .daily-title{grid-template-columns:1fr!important}
  body.product-redesign .daily-actions{justify-content:flex-start!important}
  body.product-redesign .daily-filters.enhanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  body.product-redesign .classic-menu{overflow-x:auto!important}
  .product-command-actions,.product-live-kpis{display:grid;grid-template-columns:1fr 1fr}
  body.product-redesign .daily-filters.enhanced{grid-template-columns:1fr!important}
}

/* customer card flagship 0.1.151 */
body.product-redesign .admin-cards-page.customer-flagship{
  gap:8px!important;
  padding:10px!important;
  min-height:calc(100vh - 150px)!important;
}
body.product-redesign .customer-flagship .admin-cards-hero{
  display:none!important;
}
body.product-redesign .customer-flagship .admin-card-metrics{
  display:none!important;
}
body.product-redesign .customer-flagship .admin-card-tabs{
  top:42px!important;
  margin:0!important;
  padding:4px!important;
  min-height:34px!important;
}
body.product-redesign .customer-flagship .admin-card-tabs button{
  height:34px!important;
  min-height:34px!important;
  padding:0 13px!important;
  font-size:13px!important;
}
body.product-redesign .customer-flagship .admin-card-workspace{
  grid-template-columns:minmax(230px,270px) minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
  min-height:calc(100vh - 210px)!important;
}
body.product-redesign .customer-flagship .admin-card-list{
  top:88px!important;
  max-height:calc(100vh - 104px)!important;
  padding:8px!important;
  background:#070707!important;
}
body.product-redesign .customer-flagship .admin-card-search input,
body.product-redesign .customer-flagship .card-list-toolbar select{
  height:36px!important;
  font-size:13px!important;
}
body.product-redesign .customer-flagship .card-list-toolbar{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:5px!important;
  margin-bottom:6px!important;
}
body.product-redesign .customer-flagship .card-list-toolbar small,
body.product-redesign .customer-flagship .card-list-toolbar .chip{
  grid-column:1/-1!important;
}
body.product-redesign .customer-flagship .admin-card-list-items.polished{
  gap:5px!important;
  max-height:none!important;
}
body.product-redesign .customer-flagship .admin-card-list-items.polished button{
  min-height:42px!important;
  padding:7px!important;
  border-radius:7px!important;
  background:#0c0c0b!important;
}
body.product-redesign .customer-flagship .admin-card-list-items.polished strong{
  font-size:14px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.product-redesign .customer-flagship .admin-card-list-items.polished span,
body.product-redesign .customer-flagship .admin-card-list-items.polished small{
  font-size:12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.product-redesign .customer-flagship .admin-card-editor{
  padding:8px!important;
  min-height:calc(100vh - 210px)!important;
  overflow:visible!important;
}
body.product-redesign .customer-card-command{
  display:grid;
  grid-template-columns:minmax(220px,.95fr) minmax(360px,1.35fr) auto;
  gap:8px;
  align-items:stretch;
  margin:0 0 8px;
  padding:8px;
  border:1px solid rgba(210,172,74,.18);
  border-radius:10px;
  background:linear-gradient(180deg,#11100d,#080807);
}
body.product-redesign .customer-card-title{
  min-width:0;
  display:grid;
  align-content:center;
  gap:2px;
  border-left:1px solid rgba(210,172,74,.16);
  padding-left:10px;
}
body.product-redesign .customer-card-title span{
  color:var(--gold);
  font-size:12px;
  font-weight:900;
}
body.product-redesign .customer-card-title strong{
  color:#fff;
  font-size:19px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .customer-card-title small{
  color:rgba(255,255,255,.6);
  font-size:12.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .customer-card-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}
body.product-redesign .customer-card-kpis article{
  display:grid;
  align-content:center;
  min-height:52px;
  border:1px solid rgba(210,172,74,.14);
  border-radius:8px;
  background:#090909;
  padding:7px 9px;
}
body.product-redesign .customer-card-kpis span{
  color:rgba(255,255,255,.58);
  font-size:12px;
}
body.product-redesign .customer-card-kpis strong{
  color:#fff;
  font-size:18px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .customer-card-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(76px,1fr));
  gap:5px;
  min-width:190px;
}
body.product-redesign .customer-card-actions button{
  height:34px;
  border:1px solid rgba(210,172,74,.2);
  border-radius:7px;
  background:#0d0d0c;
  color:#fff;
  padding:0 10px;
  font-size:13px;
  font-weight:900;
}
body.product-redesign .customer-card-actions button:hover{
  background:rgba(210,172,74,.13);
  color:var(--gold-2);
  border-color:var(--gold);
}
body.product-redesign .customer-flagship .admin-editor-head.improved{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  padding:7px 9px!important;
  margin:0 0 6px!important;
}
body.product-redesign .customer-flagship .admin-editor-head.improved h3{
  font-size:19px!important;
  margin:3px 0 1px!important;
}
body.product-redesign .customer-flagship .admin-editor-head.improved p{
  font-size:13px!important;
}
body.product-redesign .customer-flagship .card-detail-tabs.improved,
body.product-redesign .customer-flagship .card-record-tabs,
body.product-redesign .customer-flagship .route-inner-tabs{
  position:static!important;
  top:auto!important;
  min-height:34px!important;
  margin:0 0 7px!important;
  padding:4px!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
}
body.product-redesign .customer-flagship .card-detail-tabs.improved button,
body.product-redesign .customer-flagship .card-record-tabs button,
body.product-redesign .customer-flagship .route-inner-tabs button{
  height:34px!important;
  min-width:max-content!important;
  padding:0 13px!important;
  font-size:13px!important;
}
body.product-redesign .customer-flagship .admin-editor-grid.tabbed fieldset{
  padding:9px!important;
  margin:0!important;
}
body.product-redesign .customer-flagship .admin-fields{
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;
  gap:12px!important;
}
body.product-redesign .customer-flagship .admin-fields label{
  min-width:0!important;
  min-height:0!important;
}
body.product-redesign .customer-flagship .admin-fields input,
body.product-redesign .customer-flagship .admin-fields select,
body.product-redesign .customer-flagship .admin-fields textarea{
  height:36px!important;
  min-height:36px!important;
  font-size:13.5px!important;
}
body.product-redesign .customer-flagship .admin-fields textarea{
  height:64px!important;
}
body.product-redesign .customer-flagship .client-routes-panel.compact,
body.product-redesign .customer-flagship .client-departments-panel,
body.product-redesign .customer-flagship .client-random-panel,
body.product-redesign .customer-flagship .card-finance-ledger,
body.product-redesign .customer-flagship .card-documents{
  margin:0!important;
  padding:9px!important;
  width:100%!important;
  max-width:none!important;
}
body.product-redesign .customer-flagship .route-summary-strip,
body.product-redesign .customer-flagship .finance-summary-strip{
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important;
  gap:5px!important;
  margin:0 0 7px!important;
}
body.product-redesign .customer-flagship .route-summary-strip article,
body.product-redesign .customer-flagship .finance-summary-strip article{
  min-height:44px!important;
  padding:6px 8px!important;
}
body.product-redesign .customer-flagship .route-summary-strip span,
body.product-redesign .customer-flagship .finance-summary-strip span{
  font-size:12px!important;
}
body.product-redesign .customer-flagship .route-summary-strip strong,
body.product-redesign .customer-flagship .finance-summary-strip strong{
  font-size:17px!important;
}
body.product-redesign .customer-flagship .route-list-toolbar{
  display:grid!important;
  grid-template-columns:auto minmax(200px,1fr) repeat(4,minmax(86px,auto))!important;
  gap:5px!important;
  align-items:center!important;
}
body.product-redesign .customer-flagship .route-list-toolbar input,
body.product-redesign .customer-flagship .route-list-toolbar select,
body.product-redesign .customer-flagship .route-list-toolbar button{
  height:34px!important;
  min-height:34px!important;
  font-size:13px!important;
}
body.product-redesign .customer-flagship .client-routes-layout{
  grid-template-columns:minmax(260px,330px) minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
}
body.product-redesign .customer-flagship .route-master-list{
  max-height:calc(100vh - 425px)!important;
  min-height:310px!important;
  overflow:auto!important;
}
body.product-redesign .customer-flagship .route-detail-pane,
body.product-redesign .customer-flagship .client-route-card{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
}
body.product-redesign .customer-flagship .client-route-card{
  padding:9px!important;
  overflow:visible!important;
}
body.product-redesign .customer-flagship .client-route-card header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  margin-bottom:7px!important;
}
body.product-redesign .customer-flagship .route-title-input{
  font-size:17px!important;
  min-width:0!important;
}
body.product-redesign .customer-flagship .client-route-fields,
body.product-redesign .customer-flagship .client-department-fields,
body.product-redesign .customer-flagship .random-trip-fields{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:10px!important;
}
body.product-redesign .customer-flagship .route-subtables,
body.product-redesign .customer-flagship .route-inner-body{
  min-width:0!important;
  width:100%!important;
}
body.product-redesign .customer-flagship .route-subtables{
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
body.product-redesign .customer-flagship .route-day-schedule,
body.product-redesign .customer-flagship .route-subtables section,
body.product-redesign .customer-flagship .card-doc-table,
body.product-redesign .customer-flagship .card-finance-table{
  max-width:100%!important;
  overflow:auto!important;
}
body.product-redesign .customer-flagship table{
  width:100%!important;
}
body.product-redesign .customer-flagship th,
body.product-redesign .customer-flagship td{
  font-size:13px!important;
  padding:9px 10px!important;
  line-height:1.35!important;
}
body.product-redesign .customer-flagship td input,
body.product-redesign .customer-flagship td select{
  height:32px!important;
  min-height:32px!important;
  font-size:13px!important;
}
@media(max-width:1350px){
  body.product-redesign .customer-card-command{grid-template-columns:1fr!important}
  body.product-redesign .customer-card-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:1120px){
  body.product-redesign .customer-flagship .admin-card-workspace,
  body.product-redesign .customer-flagship .client-routes-layout,
  body.product-redesign .customer-flagship .route-subtables{grid-template-columns:1fr!important}
  body.product-redesign .customer-flagship .admin-card-list{position:static!important;max-height:260px!important}
  body.product-redesign .customer-flagship .route-master-list{max-height:260px!important;min-height:0!important}
}
@media(max-width:700px){
  body.product-redesign .customer-card-kpis,
  body.product-redesign .customer-card-actions{grid-template-columns:1fr 1fr!important}
  body.product-redesign .customer-flagship .route-list-toolbar{grid-template-columns:1fr!important}
}

/* smart cards for drivers, vehicles, suppliers and employees 0.1.152 */
body.product-redesign .admin-cards-page.cards-flagship:not(.customer-flagship){
  gap:8px!important;
  padding:10px!important;
  min-height:calc(100vh - 150px)!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-cards-hero{
  display:none!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-metrics{
  display:none!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-tabs{
  margin:0!important;
  padding:4px!important;
  min-height:34px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-tabs button{
  height:34px!important;
  min-height:34px!important;
  padding:0 13px!important;
  font-size:13px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-workspace{
  grid-template-columns:minmax(230px,270px) minmax(0,1fr)!important;
  gap:8px!important;
  min-height:calc(100vh - 210px)!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-list{
  top:88px!important;
  max-height:calc(100vh - 104px)!important;
  padding:8px!important;
  background:#070707!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-editor{
  padding:8px!important;
  min-height:calc(100vh - 210px)!important;
  overflow:visible!important;
}
body.product-redesign .smart-card-command{
  display:grid;
  grid-template-columns:minmax(220px,.95fr) minmax(360px,1.35fr) auto;
  gap:8px;
  align-items:stretch;
  margin:0 0 8px;
  padding:8px;
  border:1px solid rgba(210,172,74,.18);
  border-radius:10px;
  background:linear-gradient(180deg,#11100d,#080807);
}
body.product-redesign .smart-card-command .customer-card-kpis{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
body.product-redesign .smart-card-command .customer-card-actions{
  min-width:210px;
}
body.product-redesign .smart-card-command .customer-card-kpis article:nth-child(2) strong{
  color:#f0d888;
}
body.product-redesign .smart-card-command .customer-card-kpis article:nth-child(4) strong{
  color:#fff;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-editor-head.improved{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  padding:7px 9px!important;
  margin:0 0 6px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-editor-head.improved h3{
  font-size:19px!important;
  margin:3px 0 1px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .card-detail-tabs.improved,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-record-tabs{
  position:static!important;
  min-height:34px!important;
  margin:0 0 7px!important;
  padding:4px!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .card-detail-tabs.improved button,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-record-tabs button{
  height:34px!important;
  min-width:max-content!important;
  padding:0 13px!important;
  font-size:13px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-fields{
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;
  gap:12px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-fields input,
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-fields select,
body.product-redesign .cards-flagship:not(.customer-flagship) .admin-fields textarea{
  height:36px!important;
  min-height:36px!important;
  font-size:13.5px!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .card-documents,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-finance-ledger,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-tasks-panel,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-history-panel{
  margin:0!important;
  padding:9px!important;
  width:100%!important;
  max-width:none!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) .card-doc-table,
body.product-redesign .cards-flagship:not(.customer-flagship) .card-finance-table{
  max-width:100%!important;
  overflow:auto!important;
}
body.product-redesign .cards-flagship:not(.customer-flagship) th,
body.product-redesign .cards-flagship:not(.customer-flagship) td{
  font-size:13px!important;
  padding:9px 10px!important;
}
@media(max-width:1350px){
  body.product-redesign .smart-card-command{grid-template-columns:1fr!important}
  body.product-redesign .smart-card-command .customer-card-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:1120px){
  body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-workspace{grid-template-columns:1fr!important}
  body.product-redesign .cards-flagship:not(.customer-flagship) .admin-card-list{position:static!important;max-height:260px!important}
}
@media(max-width:700px){
  body.product-redesign .smart-card-command .customer-card-kpis,
  body.product-redesign .smart-card-command .customer-card-actions{grid-template-columns:1fr 1fr!important}
}

/* dispatcher command deck 0.1.153 */
body.product-redesign .dispatch-command-deck{
  display:grid;
  grid-template-columns:minmax(210px,.8fr) minmax(360px,1.1fr) auto;
  gap:8px;
  align-items:stretch;
  border:1px solid rgba(210,172,74,.18);
  border-radius:10px;
  background:linear-gradient(180deg,#11100d,#080807);
  padding:8px;
  margin:0;
}
body.product-redesign .dispatch-day-card{
  min-width:0;
  display:grid;
  align-content:center;
  gap:2px;
  border-left:1px solid rgba(210,172,74,.16);
  padding-left:10px;
}
body.product-redesign .dispatch-day-card span{
  color:var(--gold);
  font-size:10px;
  font-weight:900;
}
body.product-redesign .dispatch-day-card strong{
  color:#fff;
  font-size:18px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .dispatch-day-card small{
  color:rgba(255,255,255,.58);
  font-size:10.5px;
}
body.product-redesign .dispatch-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}
body.product-redesign .dispatch-kpis article{
  display:grid;
  align-content:center;
  min-height:50px;
  border:1px solid rgba(210,172,74,.14);
  border-radius:8px;
  background:#090909;
  padding:7px 9px;
}
body.product-redesign .dispatch-kpis span{
  color:rgba(255,255,255,.55);
  font-size:10px;
}
body.product-redesign .dispatch-kpis strong{
  color:#fff;
  font-size:17px;
  line-height:1.1;
}
body.product-redesign .dispatch-kpis article.ok strong{color:#8ff0ad}
body.product-redesign .dispatch-kpis article.bad strong{color:#ff9a91}
body.product-redesign .dispatch-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(78px,1fr));
  gap:5px;
  min-width:260px;
}
body.product-redesign .dispatch-actions button{
  height:26px;
  border:1px solid rgba(210,172,74,.2);
  border-radius:7px;
  background:#0d0d0c;
  color:#fff;
  padding:0 8px;
  font-size:10.5px;
  font-weight:900;
}
body.product-redesign .dispatch-actions button:hover{
  background:rgba(210,172,74,.13);
  color:var(--gold-2);
  border-color:var(--gold);
}
body.product-redesign .daily-focus-bar{
  min-height:34px!important;
  padding:6px 8px!important;
  border-radius:9px!important;
  background:#080807!important;
}
body.product-redesign .daily-focus-bar strong{
  font-size:13px!important;
}
body.product-redesign .daily-focus-bar span{
  font-size:12.5px!important;
}
body.product-redesign .daily-focus-bar .chip{
  height:32px!important;
  min-height:32px!important;
  padding:0 11px!important;
  font-size:12.5px!important;
}
body.product-redesign .daily-shell .selected-trip-panel{
  border-radius:9px!important;
  border:1px solid rgba(210,172,74,.16)!important;
  background:#0a0a09!important;
  padding:8px!important;
  margin:0!important;
}
body.product-redesign .daily-shell .selected-trip-panel .selected-trip-actions,
body.product-redesign .daily-shell .selected-trip-panel .bulk-edit-controls{
  gap:5px!important;
}
body.product-redesign .daily-shell .selected-trip-panel button,
body.product-redesign .daily-shell .selected-trip-panel input,
body.product-redesign .daily-shell .selected-trip-panel select{
  height:34px!important;
  min-height:34px!important;
  font-size:13px!important;
}
body.product-redesign .daily-grid-wrap{
  max-height:calc(100vh - 300px)!important;
}
body.product-redesign .daily-grid.enhanced-grid th{
  height:25px!important;
  padding:3px 5px!important;
}
body.product-redesign .daily-grid.enhanced-grid td{
  height:25px!important;
  padding:2px 4px!important;
}
body.product-redesign .daily-grid.enhanced-grid td input,
body.product-redesign .daily-grid.enhanced-grid td select{
  height:21px!important;
  min-height:21px!important;
  padding:1px 5px!important;
}
body.product-redesign .daily-grid.enhanced-grid tr.multi-selected td,
body.product-redesign .daily-grid.enhanced-grid tr.selected-trip td{
  outline:2px solid #7b5420!important;
  outline-offset:-2px!important;
}
@media(max-width:1250px){
  body.product-redesign .dispatch-command-deck{grid-template-columns:1fr!important}
  body.product-redesign .dispatch-actions{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.product-redesign .dispatch-kpis,
  body.product-redesign .dispatch-actions{grid-template-columns:1fr 1fr!important}
}

/* bulk assignment command modal 0.1.154 */
body.product-redesign .assignment-backdrop{
  padding:10px!important;
  align-items:stretch!important;
  place-items:center!important;
}
body.product-redesign .assignment-modal.bulk-assignment-modal{
  width:min(1380px,calc(100vw - 20px))!important;
  max-height:calc(100vh - 20px)!important;
  display:grid!important;
  grid-template-rows:auto auto auto minmax(0,1fr) auto auto!important;
  gap:8px!important;
  padding:12px!important;
  overflow:hidden!important;
  border-radius:12px!important;
}
body.product-redesign .bulk-assignment-modal header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:start!important;
  padding-bottom:8px!important;
}
body.product-redesign .bulk-assignment-modal header h2{
  font-size:19px!important;
  margin:2px 0!important;
}
body.product-redesign .bulk-assignment-modal header p,
body.product-redesign .bulk-assignment-modal header span{
  font-size:13px!important;
  color:rgba(255,255,255,.65)!important;
}
body.product-redesign .bulk-flow-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}
body.product-redesign .bulk-flow-strip article{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  column-gap:8px;
  align-items:center;
  border:1px solid rgba(210,172,74,.16);
  background:#090909;
  border-radius:8px;
  padding:7px 9px;
}
body.product-redesign .bulk-flow-strip span{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:var(--gold);
  color:#080808;
  font-weight:900;
  font-size:12px;
}
body.product-redesign .bulk-flow-strip strong{
  color:#fff;
  font-size:12px;
  line-height:1.15;
}
body.product-redesign .bulk-flow-strip small{
  color:rgba(255,255,255,.6);
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .bulk-assignment-modal .bulk-modal-summary{
  margin:0!important;
  gap:6px!important;
}
body.product-redesign .bulk-assignment-modal .bulk-modal-summary article{
  min-height:48px!important;
  padding:7px 9px!important;
}
body.product-redesign .bulk-assignment-modal .bulk-modal-summary strong{
  font-size:14px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-settings{
  margin:0!important;
  gap:6px!important;
  align-items:end!important;
  border:1px solid rgba(210,172,74,.14);
  border-radius:9px;
  background:#080807;
  padding:7px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-settings label{
  gap:4px!important;
  font-size:12.5px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-settings input,
body.product-redesign .bulk-assignment-modal .assignment-settings select{
  height:34px!important;
  min-height:34px!important;
  font-size:13px!important;
}
body.product-redesign .bulk-assignment-modal .bulk-days{
  min-height:27px!important;
  padding:4px 7px!important;
}
body.product-redesign .bulk-assignment-modal .bulk-quick-actions{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  align-self:end;
}
body.product-redesign .bulk-assignment-modal .bulk-quick-actions button{
  height:27px;
  border:1px solid rgba(210,172,74,.2);
  border-radius:7px;
  background:#10100f;
  color:#fff;
  padding:0 9px;
  font-size:10.5px;
  font-weight:900;
}
body.product-redesign .bulk-assignment-modal .bulk-quick-actions button:hover{
  color:var(--gold-2);
  border-color:var(--gold);
}
body.product-redesign .bulk-assignment-modal .assignment-grid{
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.product-redesign .bulk-assignment-modal .assignment-grid section{
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  min-height:0!important;
  padding:9px!important;
  border-radius:9px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-grid h3{
  font-size:14px!important;
  margin:0 0 6px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-grid section>input{
  height:34px!important;
  min-height:34px!important;
  font-size:13px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-list{
  max-height:none!important;
  min-height:0!important;
  overflow:auto!important;
  gap:5px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-list button{
  min-height:38px!important;
  padding:7px 8px!important;
  border-radius:7px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-list strong{
  font-size:12px!important;
}
body.product-redesign .bulk-assignment-modal .assignment-list span{
  font-size:12px!important;
}
body.product-redesign .bulk-selected-preview{
  margin:0!important;
  padding:8px!important;
  display:grid;
  gap:6px;
}
body.product-redesign .bulk-impact-note{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(240,216,136,.22);
  background:rgba(240,216,136,.07);
  border-radius:8px;
  padding:7px 9px;
}
body.product-redesign .bulk-impact-note strong{
  color:var(--gold);
  font-size:13px;
}
body.product-redesign .bulk-impact-note span{
  color:rgba(255,255,255,.7);
  font-size:13px;
}
body.product-redesign .bulk-selected-preview ul{
  max-height:95px!important;
}
body.product-redesign .bulk-assignment-modal footer{
  margin:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  justify-content:flex-start!important;
}
body.product-redesign .bulk-assignment-modal footer button{
  height:29px!important;
  min-height:29px!important;
}
@media(max-width:1100px){
  body.product-redesign .assignment-modal.bulk-assignment-modal{
    grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important;
  }
  body.product-redesign .bulk-flow-strip,
  body.product-redesign .bulk-assignment-modal .assignment-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:700px){
  body.product-redesign .bulk-flow-strip{grid-template-columns:1fr!important}
  body.product-redesign .bulk-impact-note{display:grid}
}

/* premium menu and workspace polish 0.1.155 */
body.product-redesign #classicMenu.premium-menu{
  min-height:42px!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 8px!important;
  margin:0 0 8px!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#14120e,#090908)!important;
  border:1px solid rgba(210,172,74,.24)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
  overflow:visible!important;
}
body.product-redesign #classicMenu.premium-menu .classic-menu-start{
  min-width:160px!important;
  height:32px!important;
  display:grid!important;
  align-content:center!important;
  padding:2px 10px!important;
  border:1px solid rgba(210,172,74,.22)!important;
  border-radius:8px!important;
  background:rgba(210,172,74,.08)!important;
}
body.product-redesign #classicMenu.premium-menu .classic-menu-start b{
  font-size:12px!important;
  line-height:1.1!important;
  color:#f1d67b!important;
}
body.product-redesign #classicMenu.premium-menu .classic-menu-start span{
  font-size:12px!important;
  color:rgba(247,244,234,.58)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.product-redesign #classicMenu.premium-menu .menu-group{
  position:relative!important;
}
body.product-redesign #classicMenu.premium-menu .menu-root{
  height:32px!important;
  min-width:76px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:6px!important;
  align-items:center!important;
  padding:4px 9px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#fff!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-icon{
  grid-row:1/3!important;
  width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:6px!important;
  background:rgba(210,172,74,.12)!important;
  color:#f1d67b!important;
  font-size:12px!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-label{
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
body.product-redesign #classicMenu.premium-menu .menu-root small{
  color:rgba(247,244,234,.52)!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.product-redesign #classicMenu.premium-menu .menu-group:hover .menu-root,
body.product-redesign #classicMenu.premium-menu .menu-group:focus-within .menu-root,
body.product-redesign #classicMenu.premium-menu .menu-group.premium-active-group .menu-root{
  background:rgba(210,172,74,.14)!important;
  border-color:rgba(210,172,74,.36)!important;
  color:#fff!important;
}
body.product-redesign #classicMenu.premium-menu .menu-dropdown{
  top:38px!important;
  right:0!important;
  min-width:285px!important;
  max-width:min(360px,calc(100vw - 20px))!important;
  display:none!important;
  grid-template-columns:1fr!important;
  gap:4px!important;
  padding:7px!important;
  border-radius:10px!important;
  border:1px solid rgba(210,172,74,.28)!important;
  background:#0e0e0d!important;
  box-shadow:0 22px 60px rgba(0,0,0,.68)!important;
}
body.product-redesign #classicMenu.premium-menu .menu-group:hover .menu-dropdown,
body.product-redesign #classicMenu.premium-menu .menu-group:focus-within .menu-dropdown{
  display:grid!important;
}
body.product-redesign #classicMenu.premium-menu .menu-dropdown button{
  height:auto!important;
  min-height:38px!important;
  display:grid!important;
  gap:2px!important;
  align-content:center!important;
  text-align:right!important;
  padding:7px 10px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:8px!important;
  background:#090909!important;
  color:#fff!important;
  white-space:normal!important;
}
body.product-redesign #classicMenu.premium-menu .menu-dropdown button:hover{
  background:#17130b!important;
  border-color:rgba(210,172,74,.34)!important;
  color:#f1d67b!important;
}
body.product-redesign #classicMenu.premium-menu .menu-dropdown button.premium-active-item{
  background:rgba(210,172,74,.14)!important;
  border-color:rgba(210,172,74,.42)!important;
  color:#f1d67b!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-item-title{
  font-size:13.5px!important;
  font-weight:900!important;
  color:inherit!important;
}
body.product-redesign #classicMenu.premium-menu .menu-dropdown button small{
  display:block!important;
  color:rgba(247,244,234,.52)!important;
  font-size:12px!important;
  line-height:1.3!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-tools{
  margin-inline-start:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  flex-wrap:wrap!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-tools button,
body.product-redesign #classicMenu.premium-menu .area-switch{
  height:34px!important;
  border:1px solid rgba(210,172,74,.18)!important;
  border-radius:8px!important;
  background:#0c0c0b!important;
  color:rgba(247,244,234,.85)!important;
  padding:0 12px!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-tools button:hover,
body.product-redesign #classicMenu.premium-menu .area-switch:hover{
  background:#d2ac4a!important;
  color:#090909!important;
  border-color:#d2ac4a!important;
}
body.product-redesign .product-command-center{
  grid-template-columns:minmax(160px,.65fr) minmax(240px,1fr) auto!important;
  padding:7px!important;
  margin-bottom:8px!important;
}
body.product-redesign .product-command-actions button{
  height:34px!important;
  padding:0 12px!important;
  font-size:13px!important;
}
body.product-redesign .product-live-kpis article{
  padding:5px 7px!important;
}
body.product-redesign .admin-cards-page.workspace-polished{
  min-height:calc(100vh - 142px)!important;
  padding:10px!important;
  gap:8px!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-cards-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:8px 0 10px!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-cards-hero h2{
  font-size:20px!important;
  line-height:1.2!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-cards-hero p{
  font-size:13px!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-tabs{
  gap:7px!important;
  margin:0!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-tabs button{
  min-height:36px!important;
  padding:7px 13px!important;
  font-size:13px!important;
  border-radius:7px!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-workspace{
  grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;
  gap:9px!important;
  min-height:0!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-list{
  max-height:calc(100vh - 210px)!important;
  overflow:auto!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-editor{
  min-height:calc(100vh - 210px)!important;
  overflow:auto!important;
}
body.product-redesign .daily-shell.workspace-polished{
  min-height:calc(100vh - 142px)!important;
  padding:8px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-title{
  padding:7px 9px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-title h2{
  font-size:17px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-filters.enhanced{
  grid-template-columns:repeat(8,minmax(92px,1fr))!important;
  padding:6px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-grid-wrap{
  max-height:calc(100vh - 292px)!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-grid.enhanced-grid{
  min-width:1420px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-grid.enhanced-grid th{
  height:24px!important;
  padding:3px 5px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-grid.enhanced-grid td{
  height:24px!important;
  padding:2px 5px!important;
}

/* workspace status rail 0.1.156 */
body.product-redesign .workspace-status-rail{
  display:grid;
  grid-template-columns:minmax(220px,1fr) repeat(3,minmax(92px,130px)) auto;
  gap:7px;
  align-items:center;
  margin:0 0 8px;
  padding:7px;
  border:1px solid rgba(210,172,74,.16);
  border-radius:10px;
  background:linear-gradient(180deg,#0d0d0b,#080807);
}
body.product-redesign .workspace-status-rail>div:first-child{
  min-width:0;
  padding-inline-start:4px;
}
body.product-redesign .workspace-status-rail strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.2;
}
body.product-redesign .workspace-status-rail span{
  display:block;
  color:rgba(247,244,234,.56);
  font-size:10px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.product-redesign .workspace-status-rail article{
  min-height:39px;
  display:grid;
  align-content:center;
  gap:1px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:8px;
  background:#090909;
}
body.product-redesign .workspace-status-rail article b{
  color:#fff;
  font-size:17px;
  line-height:1;
}
body.product-redesign .workspace-status-rail article.warn{
  border-color:rgba(255,155,194,.28);
  background:#10080b;
}
body.product-redesign .workspace-status-rail article.warn b{
  color:#ff9bc2;
}
body.product-redesign .workspace-status-actions{
  display:flex;
  justify-content:flex-end;
  gap:5px;
  flex-wrap:wrap;
}
body.product-redesign .workspace-status-actions button{
  height:28px;
  border:1px solid rgba(210,172,74,.18);
  border-radius:8px;
  background:#10100f;
  color:#fff;
  padding:0 9px;
  font-size:11px;
  font-weight:900;
}
body.product-redesign .workspace-status-actions button:hover{
  border-color:#d2ac4a;
  color:#f1d67b;
  background:#17130b;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-card-list-items button{
  min-height:42px!important;
  padding:7px 9px!important;
}
body.product-redesign .admin-cards-page.workspace-polished .admin-editor-grid fieldset,
body.product-redesign .admin-cards-page.workspace-polished .client-routes-panel,
body.product-redesign .admin-cards-page.workspace-polished .client-random-panel,
body.product-redesign .admin-cards-page.workspace-polished .client-departments-panel,
body.product-redesign .admin-cards-page.workspace-polished .card-finance-ledger,
body.product-redesign .admin-cards-page.workspace-polished .card-documents{
  padding:9px!important;
  border-radius:9px!important;
}
body.product-redesign .daily-shell.workspace-polished .daily-focus-bar{
  margin:0!important;
}
body.product-redesign .daily-shell.workspace-polished .shortcut-help{
  display:none!important;
}
@media(max-width:1150px){
  body.product-redesign #classicMenu.premium-menu{overflow-x:auto!important;flex-wrap:nowrap!important}
  body.product-redesign #classicMenu.premium-menu .premium-menu-tools{margin-inline-start:0!important;flex-wrap:nowrap!important}
  body.product-redesign .admin-cards-page.workspace-polished .admin-card-workspace{grid-template-columns:1fr!important}
  body.product-redesign .admin-cards-page.workspace-polished .admin-card-list{position:static!important;max-height:230px!important}
  body.product-redesign .daily-shell.workspace-polished .daily-filters.enhanced{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.product-redesign .workspace-status-rail{grid-template-columns:1fr 1fr 1fr}
  body.product-redesign .workspace-status-rail>div:first-child,
  body.product-redesign .workspace-status-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:680px){
  body.product-redesign #classicMenu.premium-menu .classic-menu-start{display:none!important}
  body.product-redesign #classicMenu.premium-menu .menu-dropdown{position:fixed!important;right:8px!important;left:8px!important;top:52px!important;max-width:none!important}
  body.product-redesign .product-command-center{grid-template-columns:1fr!important}
  body.product-redesign .daily-shell.workspace-polished .daily-filters.enhanced{grid-template-columns:1fr!important}
  body.product-redesign .admin-cards-page.workspace-polished .admin-cards-hero{grid-template-columns:1fr!important}
  body.product-redesign .workspace-status-rail{grid-template-columns:1fr 1fr}
  body.product-redesign .workspace-status-rail>div:first-child,
  body.product-redesign .workspace-status-actions{grid-column:1/-1}
}

/* quick navigation and density controls 0.1.157 */
body.product-redesign #classicMenu.premium-menu{
  position:sticky!important;
  top:0!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-search{
  width:190px;
  height:30px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:6px;
  padding:0 8px;
  border:1px solid rgba(210,172,74,.18);
  border-radius:8px;
  background:#060606;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-search span{
  color:#d2ac4a;
  font-size:10px;
  font-weight:900;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-search input{
  width:100%;
  min-width:0;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:12.5px!important;
}
body.product-redesign #classicMenu.premium-menu .premium-menu-search input:focus{
  outline:0!important;
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel{
  display:none;
  position:absolute;
  top:44px;
  left:8px;
  width:min(420px,calc(100vw - 20px));
  max-height:360px;
  overflow:auto;
  z-index:220;
  padding:7px;
  border:1px solid rgba(210,172,74,.28);
  border-radius:10px;
  background:#0b0b0a;
  box-shadow:0 24px 70px rgba(0,0,0,.72);
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel.open{
  display:grid;
  gap:5px;
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel button{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-height:38px;
  text-align:right;
  border:1px solid rgba(255,255,255,.06);
  border-radius:8px;
  background:#10100f;
  color:#fff;
  padding:7px 10px;
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel button:hover{
  border-color:rgba(210,172,74,.4);
  background:#17130b;
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel strong{
  color:#fff;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.product-redesign #classicMenu.premium-menu .premium-search-panel span{
  color:#d2ac4a;
  font-size:10px;
  white-space:nowrap;
}
body.product-redesign #classicMenu.premium-menu .premium-search-empty{
  padding:12px;
  color:rgba(247,244,234,.62);
  font-size:12px;
  text-align:center;
}
body.product-redesign.ml-density-compact .product-command-center{
  display:none!important;
}
body.product-redesign.ml-density-compact .topbar{
  padding:8px 10px!important;
  margin-bottom:7px!important;
}
body.product-redesign.ml-density-compact .topbar h1{
  font-size:18px!important;
}
body.product-redesign.ml-density-compact .workspace-status-rail{
  padding:6px!important;
  margin-bottom:7px!important;
}
body.product-redesign.ml-density-compact .workspace-status-rail article{
  min-height:34px!important;
  padding:4px 7px!important;
}
body.product-redesign.ml-density-compact .admin-cards-page.workspace-polished{
  min-height:calc(100vh - 118px)!important;
}
body.product-redesign.ml-density-compact .admin-cards-page.workspace-polished .admin-card-list,
body.product-redesign.ml-density-compact .admin-cards-page.workspace-polished .admin-card-editor{
  max-height:calc(100vh - 188px)!important;
}
body.product-redesign.ml-density-compact .daily-shell.workspace-polished{
  min-height:calc(100vh - 118px)!important;
}
body.product-redesign.ml-density-compact .daily-shell.workspace-polished .daily-grid-wrap{
  max-height:calc(100vh - 252px)!important;
}
body.product-redesign.ml-density-comfort .product-command-center{
  display:grid!important;
}
body.product-redesign.ml-density-comfort .daily-shell.workspace-polished .daily-grid.enhanced-grid th,
body.product-redesign.ml-density-comfort .daily-shell.workspace-polished .daily-grid.enhanced-grid td{
  height:29px!important;
}
body.product-redesign.ml-density-comfort .admin-cards-page.workspace-polished .admin-card-list-items button{
  min-height:50px!important;
  padding:9px 10px!important;
}
@media(max-width:900px){
  body.product-redesign #classicMenu.premium-menu .premium-menu-search{width:160px}
  body.product-redesign #classicMenu.premium-menu .premium-search-panel{
    right:8px;
    left:8px;
    width:auto;
  }
}

/* practical operations theme 0.1.158 */
body.product-redesign.ml-practical-ui{
  --bg:#060708;
  --surface:#0d0f10;
  --surface-2:#121518;
  --surface-3:#181c20;
  --line:rgba(225,228,232,.12);
  --line-strong:rgba(212,176,74,.38);
  --gold:#d4b04a;
  --gold-2:#f2d77a;
  --ink:#f5f7fa;
  --muted:rgba(245,247,250,.62);
  --danger:#ff7a8a;
  --danger-bg:#1b0d12;
  --warn:#f2d77a;
  --ok:#72d38a;
  background:var(--bg)!important;
}
body.product-redesign.ml-practical-ui .main{
  background:linear-gradient(180deg,#0b0d10 0,#060708 190px)!important;
  color:var(--ink)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu{
  background:#0b0d10!important;
  border-color:rgba(212,176,74,.24)!important;
  box-shadow:0 8px 22px rgba(0,0,0,.35)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .classic-menu-start,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-menu-search,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-menu-tools button,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .area-switch{
  background:#111418!important;
  border-color:rgba(225,228,232,.11)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-root{
  border-radius:7px!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-group:hover .menu-root,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-group:focus-within .menu-root,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-group.premium-active-group .menu-root{
  background:#1a1f24!important;
  border-color:rgba(212,176,74,.45)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-menu-icon{
  background:#1b1f24!important;
  border:1px solid rgba(212,176,74,.22)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-dropdown,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-search-panel{
  background:#0d0f10!important;
  border-color:rgba(212,176,74,.28)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-dropdown button,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-search-panel button{
  background:#111418!important;
  border-color:rgba(225,228,232,.08)!important;
}
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-dropdown button:hover,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .premium-search-panel button:hover,
body.product-redesign.ml-practical-ui #classicMenu.premium-menu .menu-dropdown button.premium-active-item{
  background:#1a1f24!important;
  border-color:rgba(212,176,74,.42)!important;
}
body.product-redesign.ml-practical-ui .topbar,
body.product-redesign.ml-practical-ui .workspace-status-rail,
body.product-redesign.ml-practical-ui .panel,
body.product-redesign.ml-practical-ui .daily-shell,
body.product-redesign.ml-practical-ui .admin-cards-page,
body.product-redesign.ml-practical-ui .admin-card-list,
body.product-redesign.ml-practical-ui .admin-card-editor,
body.product-redesign.ml-practical-ui .finance-console,
body.product-redesign.ml-practical-ui .reports-console,
body.product-redesign.ml-practical-ui .classic-window{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
body.product-redesign.ml-practical-ui .workspace-status-rail article,
body.product-redesign.ml-practical-ui .admin-card-metrics article,
body.product-redesign.ml-practical-ui .card-quick-summary article,
body.product-redesign.ml-practical-ui .license-summary article,
body.product-redesign.ml-practical-ui .daily-summary.enhanced article,
body.product-redesign.ml-practical-ui .route-summary-strip article,
body.product-redesign.ml-practical-ui .finance-summary-strip article{
  background:var(--surface-2)!important;
  border-color:var(--line)!important;
  border-radius:7px!important;
}
body.product-redesign.ml-practical-ui .workspace-status-rail article.warn,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.row-fixed-unassigned td,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.row-conflict td{
  background:var(--danger-bg)!important;
}
body.product-redesign.ml-practical-ui .workspace-status-rail article.warn b,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.row-fixed-unassigned td,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.row-fixed-unassigned input,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.row-fixed-unassigned select{
  color:#ff9fb0!important;
}
body.product-redesign.ml-practical-ui .primary-action,
body.product-redesign.ml-practical-ui button.primary-action{
  background:var(--gold)!important;
  border-color:var(--gold)!important;
  color:#08090a!important;
  font-weight:900!important;
}
body.product-redesign.ml-practical-ui .chip,
body.product-redesign.ml-practical-ui .ghost,
body.product-redesign.ml-practical-ui .icon-button,
body.product-redesign.ml-practical-ui .workspace-status-actions button,
body.product-redesign.ml-practical-ui .panel-actions button:not(.primary-action),
body.product-redesign.ml-practical-ui .daily-actions button:not(.primary-action){
  background:#111418!important;
  border-color:rgba(225,228,232,.12)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
body.product-redesign.ml-practical-ui .chip:hover,
body.product-redesign.ml-practical-ui .ghost:hover,
body.product-redesign.ml-practical-ui .icon-button:hover,
body.product-redesign.ml-practical-ui .workspace-status-actions button:hover,
body.product-redesign.ml-practical-ui .panel-actions button:not(.primary-action):hover,
body.product-redesign.ml-practical-ui .daily-actions button:not(.primary-action):hover{
  background:#1a1f24!important;
  border-color:rgba(212,176,74,.38)!important;
  color:var(--gold-2)!important;
  transform:none!important;
}
body.product-redesign.ml-practical-ui input,
body.product-redesign.ml-practical-ui select,
body.product-redesign.ml-practical-ui textarea{
  background:#090b0d!important;
  color:var(--ink)!important;
  border-color:rgba(225,228,232,.13)!important;
  box-shadow:none!important;
}
body.product-redesign.ml-practical-ui input:focus,
body.product-redesign.ml-practical-ui select:focus,
body.product-redesign.ml-practical-ui textarea:focus{
  outline:2px solid rgba(212,176,74,.28)!important;
  border-color:rgba(212,176,74,.65)!important;
}
body.product-redesign.ml-practical-ui .daily-filters.enhanced,
body.product-redesign.ml-practical-ui .daily-focus-bar,
body.product-redesign.ml-practical-ui .selected-trip-panel,
body.product-redesign.ml-practical-ui .schedule-readiness,
body.product-redesign.ml-practical-ui .admin-cards-hero,
body.product-redesign.ml-practical-ui .admin-editor-head.improved,
body.product-redesign.ml-practical-ui .card-detail-tabs.improved,
body.product-redesign.ml-practical-ui .card-action-strip,
body.product-redesign.ml-practical-ui .card-list-toolbar{
  background:var(--surface-2)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
body.product-redesign.ml-practical-ui .daily-grid-wrap,
body.product-redesign.ml-practical-ui .table-wrap,
body.product-redesign.ml-practical-ui .card-doc-table,
body.product-redesign.ml-practical-ui .card-finance-table,
body.product-redesign.ml-practical-ui .route-subtable-single,
body.product-redesign.ml-practical-ui .route-day-schedule{
  background:#070809!important;
  border-color:var(--line)!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid,
body.product-redesign.ml-practical-ui table{
  border-spacing:0!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid th,
body.product-redesign.ml-practical-ui table th{
  background:#15191d!important;
  color:#e7c966!important;
  border-color:rgba(225,228,232,.09)!important;
  font-weight:900!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid td,
body.product-redesign.ml-practical-ui table td{
  background:#0a0c0e!important;
  color:var(--ink)!important;
  border-color:rgba(225,228,232,.055)!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tbody tr:nth-child(even) td,
body.product-redesign.ml-practical-ui table tbody tr:nth-child(even) td{
  background:#0d1012!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tbody tr:hover td,
body.product-redesign.ml-practical-ui table tbody tr:hover td{
  background:#161b20!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.selected-trip td,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid tr.multi-selected td{
  background:#16140d!important;
  box-shadow:inset 0 0 0 1px #8b6525!important;
  color:#fff!important;
}
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid td input,
body.product-redesign.ml-practical-ui .daily-grid.enhanced-grid td select{
  background:#080a0c!important;
  border-color:rgba(225,228,232,.1)!important;
}
body.product-redesign.ml-practical-ui .row-tools button{
  background:#14181c!important;
  color:#fff!important;
  border-color:rgba(225,228,232,.12)!important;
}
body.product-redesign.ml-practical-ui .row-tools button:hover{
  background:#d4b04a!important;
  color:#08090a!important;
}
body.product-redesign.ml-practical-ui .admin-card-tabs button,
body.product-redesign.ml-practical-ui .card-detail-tabs button,
body.product-redesign.ml-practical-ui .card-record-tabs button,
body.product-redesign.ml-practical-ui .route-inner-tabs button{
  background:#111418!important;
  border-color:rgba(225,228,232,.1)!important;
  color:rgba(245,247,250,.78)!important;
}
body.product-redesign.ml-practical-ui .admin-card-tabs button.active,
body.product-redesign.ml-practical-ui .card-detail-tabs button.active,
body.product-redesign.ml-practical-ui .card-record-tabs button.active,
body.product-redesign.ml-practical-ui .route-inner-tabs button.active{
  background:#d4b04a!important;
  color:#08090a!important;
  border-color:#d4b04a!important;
}
body.product-redesign.ml-practical-ui .admin-card-list-items.polished button{
  background:#111418!important;
  border-color:rgba(225,228,232,.09)!important;
}
body.product-redesign.ml-practical-ui .admin-card-list-items.polished button.active{
  background:#1a1f24!important;
  border-color:rgba(212,176,74,.54)!important;
}
body.product-redesign.ml-practical-ui .admin-card-list-items.polished button:hover{
  background:#171c21!important;
}
body.product-redesign.ml-practical-ui .badge,
body.product-redesign.ml-practical-ui .mini-status,
body.product-redesign.ml-practical-ui .send-badge{
  border-radius:999px!important;
}
body.product-redesign.ml-practical-ui .mini-status.ok,
body.product-redesign.ml-practical-ui .badge.ok{
  color:var(--ok)!important;
  border-color:rgba(114,211,138,.35)!important;
  background:rgba(114,211,138,.08)!important;
}
body.product-redesign.ml-practical-ui .mini-status.warn,
body.product-redesign.ml-practical-ui .badge.warn{
  color:var(--warn)!important;
  border-color:rgba(242,215,122,.35)!important;
  background:rgba(242,215,122,.08)!important;
}
body.product-redesign.ml-practical-ui .mini-status.bad,
body.product-redesign.ml-practical-ui .badge.bad{
  color:var(--danger)!important;
  border-color:rgba(255,122,138,.35)!important;
  background:rgba(255,122,138,.08)!important;
}
body.product-redesign.ml-practical-ui .admin-fields label,
body.product-redesign.ml-practical-ui .client-department-fields label,
body.product-redesign.ml-practical-ui .client-contact-fields label,
body.product-redesign.ml-practical-ui .client-route-fields label,
body.product-redesign.ml-practical-ui .random-trip-fields label,
body.product-redesign.ml-practical-ui .trip-details-grid label,
body.product-redesign.ml-practical-ui .assignment-settings label{
  color:rgba(245,247,250,.64)!important;
}
body.product-redesign.ml-practical-ui .daily-shell.workspace-polished .daily-grid-wrap{
  max-height:calc(100vh - 238px)!important;
}
body.product-redesign.ml-practical-ui.ml-density-compact .daily-shell.workspace-polished .daily-grid-wrap{
  max-height:calc(100vh - 218px)!important;
}
body.product-redesign.ml-practical-ui .admin-cards-page.workspace-polished .admin-card-list{
  max-height:calc(100vh - 176px)!important;
}
body.product-redesign.ml-practical-ui .admin-cards-page.workspace-polished .admin-card-editor{
  min-height:calc(100vh - 176px)!important;
  max-height:calc(100vh - 176px)!important;
}
@media(max-width:900px){
  body.product-redesign.ml-practical-ui .admin-cards-page.workspace-polished .admin-card-list,
  body.product-redesign.ml-practical-ui .admin-cards-page.workspace-polished .admin-card-editor{
    max-height:none!important;
  }
}

/* extended schedule workbench 0.1.162 */
.extended-schedule-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(10px);
}
.extended-schedule-modal{
  width:min(1880px,98vw);
  height:min(980px,94vh);
  display:grid;
  grid-template-rows:auto auto auto auto 1fr;
  gap:10px;
  overflow:hidden;
  background:#080a0c;
  color:#f4f6f8;
  border:1px solid rgba(212,176,74,.34);
  border-radius:12px;
  box-shadow:0 26px 90px rgba(0,0,0,.72);
  padding:14px;
}
.extended-schedule-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:10px 12px;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#0d1012;
}
.extended-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.extended-head-actions [data-extended-close],
.extended-bulk-panel [data-extended-close]{
  border-color:rgba(255,122,138,.34);
  color:#ffd8de;
}
.extended-head-actions [data-extended-close]:hover,
.extended-bulk-panel [data-extended-close]:hover{
  background:#ff7a8a!important;
  color:#19080c!important;
}
.extended-schedule-head h2{
  margin:2px 0 4px;
  font-size:22px;
  color:#fff;
}
.extended-schedule-head span,
.extended-bulk-panel > div > span{
  display:block;
  color:rgba(245,247,250,.68);
  font-size:12px;
  line-height:1.6;
}
.extended-schedule-head button,
.extended-bulk-panel button,
.extended-open-chip{
  border:1px solid rgba(212,176,74,.38);
  background:#12161a;
  color:#fff;
  border-radius:8px;
  min-height:34px;
  padding:7px 13px;
  font-weight:800;
  cursor:pointer;
}
.extended-schedule-head button:hover,
.extended-bulk-panel button:hover,
.extended-open-chip:hover{
  background:#d4b04a!important;
  color:#08090a!important;
}
.extended-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(120px,1fr));
  gap:8px;
}
.extended-kpis article{
  min-height:58px;
  padding:9px 12px;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#0c0f12;
}
.extended-kpis span{
  display:block;
  color:rgba(245,247,250,.6);
  font-size:11px;
}
.extended-kpis strong{
  display:block;
  margin-top:4px;
  font-size:18px;
  color:#fff;
}
.extended-kpis .ok strong{color:#72d38a}
.extended-kpis .bad strong{color:#ff7a8a}
.extended-filter-panel,
.extended-bulk-grid{
  display:grid;
  grid-template-columns:repeat(10,minmax(96px,1fr));
  gap:7px;
}
.extended-section-title{
  min-width:0;
}
.extended-filter-panel .extended-section-title{
  grid-column:span 2;
}
.extended-section-title strong{
  display:block;
  color:#e7c966;
  font-size:13px;
  margin-bottom:3px;
}
.extended-section-title span{
  display:block;
  color:rgba(245,247,250,.62);
  font-size:11px;
  line-height:1.4;
}
.extended-filter-panel,
.extended-bulk-panel{
  padding:10px;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#0b0e10;
}
.extended-filter-panel label,
.extended-bulk-grid label{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  color:rgba(245,247,250,.64);
  font-size:11px;
  font-weight:800;
}
.extended-filter-panel input,
.extended-filter-panel select,
.extended-bulk-grid input,
.extended-bulk-grid select,
.extended-schedule-table input,
.extended-schedule-table select,
.extended-schedule-table textarea{
  width:100%;
  min-width:0;
  min-height:30px;
  box-sizing:border-box;
  border:1px solid rgba(225,228,232,.1);
  border-radius:7px;
  background:#07090b;
  color:#fff;
  font:inherit;
  padding:5px 7px;
  outline:none;
}
.extended-filter-panel input:focus,
.extended-filter-panel select:focus,
.extended-bulk-grid input:focus,
.extended-bulk-grid select:focus,
.extended-schedule-table input:focus,
.extended-schedule-table select:focus,
.extended-schedule-table textarea:focus{
  border-color:#d4b04a;
  box-shadow:0 0 0 2px rgba(212,176,74,.16);
}
.extended-bulk-panel{
  display:grid;
  grid-template-columns:minmax(190px,250px) 1fr minmax(160px,auto);
  align-items:end;
  gap:10px;
}
.extended-bulk-panel strong{
  color:#e7c966;
  font-size:13px;
}
.extended-bulk-panel footer{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.extended-bulk-panel .primary-action{
  background:#d4b04a!important;
  color:#08090a!important;
}
.extended-table-wrap{
  min-height:0;
  overflow:auto;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#07090b;
}
.extended-table-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#0b0e10;
}
.extended-table-title strong{
  display:block;
  color:#e7c966;
  font-size:13px;
}
.extended-table-title span{
  display:block;
  margin-top:3px;
  color:rgba(245,247,250,.62);
  font-size:11px;
}
.extended-table-title > div:last-child{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.extended-table-title b{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(225,228,232,.1);
  font-size:11px;
}
.extended-table-title .legend-ok{
  color:#72d38a;
  background:rgba(114,211,138,.08);
  border-color:rgba(114,211,138,.28);
}
.extended-table-title .legend-needs{
  color:#ff9dca;
  background:rgba(255,157,202,.08);
  border-color:rgba(255,157,202,.28);
}
.extended-table-title .legend-conflict{
  color:#ff7a8a;
  background:rgba(255,122,138,.08);
  border-color:rgba(255,122,138,.28);
}
.extended-schedule-table{
  width:100%;
  min-width:1520px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  font-size:12px;
}
.extended-schedule-table th{
  position:sticky;
  top:0;
  z-index:2;
  background:#15191d;
  color:#e7c966;
  border-bottom:1px solid rgba(212,176,74,.26);
  padding:7px;
  text-align:right;
  white-space:nowrap;
}
.extended-schedule-table th:first-child,
.extended-schedule-table td:first-child{width:44px;text-align:center}
.extended-schedule-table th:nth-child(2),
.extended-schedule-table td:nth-child(2){width:128px}
.extended-schedule-table th:nth-child(3),
.extended-schedule-table td:nth-child(3){width:150px}
.extended-schedule-table th:nth-child(6),
.extended-schedule-table td:nth-child(6){width:240px}
.extended-schedule-table th:nth-child(9),
.extended-schedule-table td:nth-child(9),
.extended-schedule-table th:nth-child(10),
.extended-schedule-table td:nth-child(10),
.extended-schedule-table th:nth-child(11),
.extended-schedule-table td:nth-child(11){width:96px}
.extended-schedule-table td{
  padding:4px;
  border-bottom:1px solid rgba(225,228,232,.055);
  background:#0a0c0e;
  color:#fff;
}
.extended-schedule-table tr:nth-child(even) td{background:#0d1012}
.extended-schedule-table tr:hover td{background:#151a1f}
.extended-schedule-table tr.selected td{
  background:#18140d!important;
  box-shadow:inset 0 1px 0 rgba(139,101,37,.55), inset 0 -1px 0 rgba(139,101,37,.55);
}
.extended-schedule-table tr.needs td{
  color:#ff9dca;
}
.extended-schedule-table tr.conflict td{
  border-bottom-color:rgba(255,122,138,.22);
}
.extended-schedule-table tr.muted td{
  opacity:.62;
}
.extended-time-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
}
.extended-schedule-table textarea{
  resize:vertical;
  min-height:30px;
  max-height:74px;
}
.extended-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
  border:1px dashed rgba(212,176,74,.26);
  border-radius:10px;
  color:rgba(245,247,250,.7);
  background:#090b0d;
}
@media(max-width:1200px){
  .extended-schedule-modal{
    height:96vh;
    width:98vw;
  }
  .extended-filter-panel,
  .extended-bulk-grid{
    grid-template-columns:repeat(4,minmax(120px,1fr));
  }
  .extended-filter-panel .extended-section-title{
    grid-column:1 / -1;
  }
  .extended-bulk-panel{
    grid-template-columns:1fr;
  }
  .extended-kpis{
    grid-template-columns:repeat(2,minmax(120px,1fr));
  }
}

/* extended schedule usability polish 0.1.162 */
.extended-schedule-modal{
  grid-template-rows:auto auto auto auto auto 1fr;
}

/* extended schedule full-workspace mode 0.1.163 */
.extended-schedule-backdrop{
  align-items:stretch!important;
  justify-content:stretch!important;
  padding:6px!important;
}
.extended-schedule-modal{
  width:100%!important;
  height:calc(100dvh - 12px)!important;
  max-width:none!important;
  max-height:none!important;
  border-radius:8px!important;
  padding:10px!important;
  gap:7px!important;
  grid-template-rows:auto auto auto minmax(68px,auto) minmax(76px,auto) minmax(0,1fr)!important;
}
.extended-schedule-head{
  padding:8px 10px!important;
}
.extended-schedule-head h2{
  font-size:18px!important;
}
.extended-schedule-head span{
  font-size:13px!important;
}
.extended-kpis{
  grid-template-columns:repeat(5,minmax(92px,1fr))!important;
  gap:6px!important;
}
.extended-kpis article{
  min-height:42px!important;
  padding:6px 9px!important;
}
.extended-kpis strong{
  font-size:15px!important;
  margin-top:1px!important;
}
.extended-quickbar{
  padding:6px 8px!important;
  min-height:40px!important;
}
.extended-quickbar > div{
  min-width:140px!important;
}
.extended-filter-panel{
  grid-template-columns:180px repeat(9,minmax(92px,1fr))!important;
  padding:7px!important;
  gap:5px!important;
  overflow:auto;
}
.extended-filter-panel .extended-section-title{
  grid-column:auto!important;
}
.extended-bulk-panel{
  grid-template-columns:170px minmax(0,1fr) auto!important;
  padding:7px!important;
  gap:7px!important;
  min-height:0!important;
}
.extended-bulk-grid{
  grid-template-columns:repeat(12,minmax(86px,1fr))!important;
  gap:5px!important;
  overflow:auto;
}
.extended-filter-panel input,
.extended-filter-panel select,
.extended-bulk-grid input,
.extended-bulk-grid select,
.extended-schedule-table input,
.extended-schedule-table select,
.extended-schedule-table textarea{
  min-height:26px!important;
  height:26px!important;
  padding:3px 6px!important;
  font-size:11px!important;
}
.extended-table-title{
  padding:7px 9px!important;
}
.extended-table-wrap{
  height:100%!important;
  min-height:0!important;
  overflow:scroll!important;
  direction:ltr;
  scrollbar-width:auto;
  cursor:grab;
}
.extended-table-wrap.is-panning{
  cursor:grabbing;
  user-select:none;
}
.extended-schedule-table{
  direction:rtl;
  min-width:1780px!important;
  font-size:11px!important;
}
.extended-schedule-table th{
  padding:5px!important;
}
.extended-schedule-table td{
  padding:3px!important;
}
.extended-time-pair{
  gap:3px!important;
}
.extended-row-actions{
  min-width:104px;
}
@media(max-width:1200px){
  .extended-schedule-modal{
    height:100dvh!important;
    border-radius:0!important;
  }
  .extended-filter-panel,
  .extended-bulk-grid{
    grid-template-columns:repeat(4,minmax(110px,1fr))!important;
  }
  .extended-bulk-panel{
    grid-template-columns:1fr!important;
  }
}
.extended-quickbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid rgba(225,228,232,.08);
  border-radius:10px;
  background:#0b0e10;
  overflow:auto;
}
.extended-quickbar > div{
  min-width:180px;
  margin-inline-end:auto;
}
.extended-quickbar strong{
  display:block;
  color:#e7c966;
  font-size:13px;
}
.extended-quickbar span{
  display:block;
  color:rgba(245,247,250,.62);
  font-size:11px;
}
.extended-quickbar button,
.extended-row-actions button{
  border:1px solid rgba(225,228,232,.1);
  background:#11161a;
  color:#fff;
  border-radius:7px;
  min-height:28px;
  padding:5px 10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.extended-quickbar button:hover,
.extended-row-actions button:hover{
  background:#d4b04a;
  color:#08090a;
}
.extended-selected-pill{
  display:inline-flex!important;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border:1px solid rgba(212,176,74,.34);
  border-radius:999px;
  background:rgba(212,176,74,.09);
  color:#fff!important;
  white-space:nowrap;
}
.extended-schedule-table{
  min-width:1640px;
}
.extended-schedule-table th:nth-child(2),
.extended-schedule-table td:nth-child(2){
  width:112px;
}
.extended-schedule-table th:nth-child(3),
.extended-schedule-table td:nth-child(3){
  width:128px;
}
.extended-schedule-table th:nth-child(4),
.extended-schedule-table td:nth-child(4){
  width:150px;
}
.extended-schedule-table th:nth-child(7),
.extended-schedule-table td:nth-child(7){
  width:240px;
}
.extended-schedule-table th:nth-child(10),
.extended-schedule-table td:nth-child(10),
.extended-schedule-table th:nth-child(11),
.extended-schedule-table td:nth-child(11),
.extended-schedule-table th:nth-child(12),
.extended-schedule-table td:nth-child(12){
  width:96px;
}
.extended-row-actions{
  display:flex;
  gap:4px;
  align-items:center;
  justify-content:center;
}
.extended-row-actions button{
  min-height:26px;
  padding:4px 7px;
  font-size:11px;
}
@media(max-width:1200px){
  .extended-quickbar{
    flex-wrap:wrap;
  }
  .extended-quickbar > div{
    width:100%;
    margin-inline-end:0;
  }
}
/* driver payroll card module 0.1.166 */
.driver-payroll-panel,.driver-month-payroll,.driver-attendance-panel,.driver-absence-panel{
  grid-column:1/-1!important;
  width:100%!important;
  border:1px solid rgba(201,168,76,.18)!important;
  border-radius:9px!important;
  background:#090908!important;
  padding:10px!important;
}
.driver-payroll-note{
  border:1px solid rgba(201,168,76,.16);
  background:rgba(201,168,76,.07);
  color:rgba(255,255,255,.72);
  border-radius:8px;
  padding:8px 10px;
  font-size:12px;
  line-height:1.5;
  margin-bottom:9px;
}
.payroll-settings{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
.driver-payroll-toolbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:end;
  margin-bottom:10px;
}
.driver-payroll-toolbar label{
  display:grid;
  gap:4px;
  color:rgba(255,255,255,.62);
  font-size:11px;
  min-width:150px;
}
.driver-payroll-toolbar input{height:30px}
.driver-payroll-kpis{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(105px,1fr));
  gap:7px;
  margin-bottom:8px;
}
.driver-payroll-kpis article{
  border:1px solid rgba(201,168,76,.16);
  background:#10100f;
  border-radius:8px;
  padding:8px 9px;
}
.driver-payroll-kpis span{display:block;color:rgba(255,255,255,.58);font-size:13px}
.driver-payroll-kpis strong{display:block;color:#fff;font-size:19px;line-height:1.3}
.driver-payroll-kpis .pay-total{
  border-color:rgba(201,168,76,.55);
  background:rgba(201,168,76,.12);
}
.driver-payroll-table{max-height:360px;overflow:auto}
.driver-payroll-table table{min-width:980px!important;table-layout:fixed}
.driver-payroll-table th,.driver-payroll-table td{padding:5px 6px!important}
.driver-payroll-table input,.driver-payroll-table select{height:34px!important;font-size:13px!important}
/* driver payroll usability refresh 0.1.167 */
body .driver-payroll-panel,
body .driver-month-payroll,
body .driver-attendance-panel,
body .driver-absence-panel{
  display:block!important;
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 10px!important;
  padding:12px!important;
  border:1px solid rgba(201,168,76,.22)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#10100e,#080807)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
body .driver-payroll-panel legend,
body .driver-month-payroll legend,
body .driver-attendance-panel legend,
body .driver-absence-panel legend{
  color:#f0d888!important;
  font-size:13px!important;
  font-weight:900!important;
  padding:0 8px!important;
}
body .driver-payroll-note{
  display:block!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:8px 10px!important;
  border:1px solid rgba(201,168,76,.18)!important;
  border-radius:8px!important;
  background:rgba(201,168,76,.08)!important;
  color:rgba(255,255,255,.72)!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body .payroll-settings{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:7px!important;
}
body .payroll-settings label,
body .driver-payroll-toolbar label{
  min-height:0!important;
  padding:6px 7px!important;
  border:1px solid rgba(201,168,76,.12)!important;
  border-radius:8px!important;
  background:#080807!important;
}
body .payroll-settings label span,
body .driver-payroll-toolbar label span{
  color:rgba(255,255,255,.6)!important;
  font-size:12.5px!important;
  line-height:1.3!important;
}
body .payroll-settings input,
body .payroll-settings select,
body .driver-payroll-toolbar input{
  height:36px!important;
  min-height:36px!important;
  border-radius:6px!important;
  font-size:13px!important;
  padding:6px 9px!important;
}
body .driver-payroll-toolbar{
  display:flex!important;
  align-items:end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  margin:0 0 10px!important;
}
body .driver-payroll-toolbar label{min-width:145px!important}
body .driver-payroll-kpis{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;
  gap:7px!important;
  margin:0 0 10px!important;
}
body .driver-payroll-kpis article{
  min-height:58px!important;
  padding:8px 9px!important;
  border:1px solid rgba(201,168,76,.16)!important;
  border-radius:8px!important;
  background:#11110f!important;
}
body .driver-payroll-kpis article span{
  display:block!important;
  color:rgba(255,255,255,.58)!important;
  font-size:12.5px!important;
}
body .driver-payroll-kpis article strong{
  display:block!important;
  color:#fff!important;
  font-size:18px!important;
  line-height:1.15!important;
  margin-top:4px!important;
}
body .driver-payroll-kpis .pay-total{
  background:linear-gradient(180deg,rgba(201,168,76,.2),rgba(201,168,76,.09))!important;
  border-color:rgba(201,168,76,.58)!important;
}
body .driver-payroll-kpis .pay-total strong{
  color:#f0d888!important;
  font-size:20px!important;
}
body .driver-payroll-table{
  max-height:340px!important;
  overflow:auto!important;
  border:1px solid rgba(201,168,76,.13)!important;
  border-radius:8px!important;
  background:#070707!important;
}
body .driver-payroll-table table{
  min-width:980px!important;
  width:100%!important;
  table-layout:fixed!important;
  font-size:13px!important;
}
body .driver-payroll-table th{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  background:#15130e!important;
  color:#d8bd63!important;
  font-size:12.5px!important;
  padding:9px 10px!important;
}
body .driver-payroll-table td{
  padding:4px 5px!important;
  border-bottom:1px solid rgba(201,168,76,.09)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body .driver-payroll-table input,
body .driver-payroll-table select{
  height:32px!important;
  min-height:32px!important;
  width:100%!important;
  border-radius:5px!important;
  font-size:12.5px!important;
  padding:5px 8px!important;
}

/* full screen daily schedule + payroll controls 0.1.168 */
body.schedule-workspace-full{
  overflow:hidden!important;
}
body.schedule-workspace-full .app-shell{
  height:100vh!important;
  overflow:hidden!important;
}
body.schedule-workspace-full .main{
  height:100vh!important;
  padding:0!important;
  overflow:hidden!important;
}
body.schedule-workspace-full #content{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  height:100vh!important;
  overflow:hidden!important;
}
body.schedule-workspace-full .topbar,
body.schedule-workspace-full .module-bar,
body.schedule-workspace-full .product-command-bar,
body.schedule-workspace-full .workspace-status-rail,
body.schedule-workspace-full #systemInsightBar{
  display:none!important;
}
body.schedule-workspace-full .classic-menu{
  display:flex!important;
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:0!important;
  z-index:10050!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:2px 6px!important;
  margin:0!important;
  border-radius:0!important;
  overflow:visible!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:3px!important;
  background:#090909!important;
  border-bottom:1px solid rgba(201,168,76,.24)!important;
  box-shadow:none!important;
}
body.schedule-workspace-full .classic-menu-start{
  min-width:120px!important;
  height:28px!important;
  padding:0 8px!important;
  margin:0!important;
  gap:5px!important;
  border-left:1px solid rgba(201,168,76,.16)!important;
}
body.schedule-workspace-full .classic-menu-start b{
  font-size:12px!important;
  line-height:1!important;
}
body.schedule-workspace-full .classic-menu-start span{
  display:none!important;
}
body.schedule-workspace-full .classic-menu-item>button,
body.schedule-workspace-full .menu-root{
  height:28px!important;
  min-height:28px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:12px!important;
  line-height:1!important;
  gap:5px!important;
  background:#10100f!important;
  border:1px solid rgba(201,168,76,.16)!important;
}
body.schedule-workspace-full .classic-menu-item>button span{
  font-size:12px!important;
}
body.schedule-workspace-full .classic-menu-item:hover>button,
body.schedule-workspace-full .classic-menu-item.active>button,
body.schedule-workspace-full .menu-group:hover .menu-root{
  background:rgba(201,168,76,.14)!important;
  border-color:rgba(201,168,76,.42)!important;
  color:#f0d888!important;
}
body.schedule-workspace-full .classic-submenu,
body.schedule-workspace-full .menu-dropdown{
  top:30px!important;
}
body.schedule-workspace-full .topbar{
  margin:0!important;
  padding:8px 12px!important;
  border-radius:0!important;
  min-height:52px!important;
}
body.schedule-workspace-full .topbar h1{
  font-size:18px!important;
  line-height:1.1!important;
}
body.schedule-workspace-full .topbar .eyebrow{
  font-size:10px!important;
}
body.schedule-workspace-full .top-actions{
  gap:6px!important;
}
body.schedule-workspace-full .top-actions .search{
  max-width:360px!important;
}
body.schedule-workspace-full .module-bar{
  margin:0!important;
  border-radius:0!important;
}
body.schedule-workspace-full .classic-menu{
  margin:0!important;
  border-radius:0!important;
}
body.schedule-workspace-full .daily-shell{
  position:fixed!important;
  top:34px!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  z-index:9999!important;
  min-height:calc(100vh - 34px)!important;
  height:calc(100vh - 34px)!important;
  width:100vw!important;
  max-width:none!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:3px!important;
  padding:3px 6px 6px!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#050505!important;
}
body.schedule-workspace-full .daily-shell > :not(.daily-filters):not(.daily-grid-wrap){
  display:none!important;
}
body.schedule-workspace-full .daily-title{
  display:none!important;
}
body.schedule-workspace-full .daily-title{
  grid-template-columns:minmax(220px,auto) 1fr!important;
  gap:4px!important;
  align-items:center!important;
  padding:3px 6px!important;
  margin:0!important;
  border:1px solid rgba(201,168,76,.16)!important;
  border-radius:7px!important;
  background:#0b0b0a!important;
  min-height:32px!important;
}
body.schedule-workspace-full .daily-shell.with-side-actions{
  padding-right:6px!important;
}
body.schedule-workspace-full .schedule-side-actions{
  display:none!important;
}
body.schedule-workspace-full .daily-title h2{
  font-size:15px!important;
  margin:0!important;
}
body.schedule-workspace-full .daily-title p{
  font-size:10px!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.schedule-workspace-full .daily-actions{
  justify-content:flex-start!important;
  overflow:auto!important;
  padding-bottom:1px!important;
}
body.schedule-workspace-full .daily-actions .chip,
body.schedule-workspace-full .daily-actions .primary-action{
  height:23px!important;
  min-height:23px!important;
  padding:2px 7px!important;
  font-size:10px!important;
  white-space:nowrap!important;
}
body.schedule-workspace-full .daily-summary.enhanced,
body.schedule-workspace-full .schedule-readiness,
body.schedule-workspace-full .shortcut-help,
body.schedule-workspace-full .schedule-legend,
body.schedule-workspace-full .schedule-qa-bar,
body.schedule-workspace-full .selected-trip-panel,
body.schedule-workspace-full .daily-build-box,
body.schedule-workspace-full .daily-build-preview,
body.schedule-workspace-full .daily-bottom{
  display:none!important;
}
body.schedule-workspace-full .selected-trip-panel,
body.schedule-workspace-full .schedule-qa-bar,
body.schedule-workspace-full .daily-filters.enhanced{
  margin:0!important;
  border-radius:8px!important;
}
body.schedule-workspace-full .daily-filters.enhanced{
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  display:grid!important;
  grid-template-columns:130px repeat(6,minmax(120px,1fr))!important;
  padding:5px 6px!important;
  gap:5px!important;
  min-height:0!important;
  margin:0!important;
  border-radius:7px!important;
  background:#090909!important;
  border:1px solid rgba(201,168,76,.18)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.schedule-workspace-full .daily-filters.enhanced label{
  font-size:9.5px!important;
  gap:2px!important;
  min-height:0!important;
  line-height:1.15!important;
  color:rgba(255,255,255,.62)!important;
}
body.schedule-workspace-full .daily-filters.enhanced input,
body.schedule-workspace-full .daily-filters.enhanced select{
  height:25px!important;
  min-height:25px!important;
  font-size:10.5px!important;
  padding:2px 7px!important;
  border-radius:6px!important;
  background:#050505!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
}
.schedule-quick-search-row{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(6,minmax(64px,1fr)) 66px;
  gap:4px;
  align-items:end;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  padding-top:3px;
  border-top:1px solid rgba(201,168,76,.12);
}
.schedule-quick-search-row label{
  min-width:0!important;
  gap:2px!important;
}
.schedule-quick-search-row label span{
  color:#9d9d9d;
  font-size:9px;
  font-weight:800;
}
.schedule-quick-search-row input{
  width:100%;
  min-width:0!important;
  height:22px!important;
  min-height:22px!important;
  padding:2px 6px!important;
  border-radius:6px!important;
  font-size:9.5px!important;
}
.schedule-quick-search-row .chip{
  height:22px!important;
  min-height:22px!important;
  padding:2px 6px!important;
  font-size:9.5px!important;
  align-self:end;
}
body.schedule-workspace-full .schedule-quick-search-row{
  grid-template-columns:1.35fr repeat(5,minmax(96px,1fr)) 82px!important;
  padding-top:5px!important;
}
body.schedule-workspace-full .daily-grid-wrap{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  width:100%!important;
  align-self:stretch!important;
  resize:none!important;
  border-radius:7px!important;
  overflow:auto!important;
  contain:none!important;
}
body.product-redesign.ml-practical-ui.ml-density-compact.schedule-workspace-full .daily-shell.workspace-polished .daily-grid-wrap,
body.product-redesign.ml-practical-ui.schedule-workspace-full .daily-shell.workspace-polished .daily-grid-wrap,
body.schedule-workspace-full .daily-shell.workspace-polished .daily-grid-wrap{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid{
  min-width:1560px!important;
  width:max-content!important;
  table-layout:fixed!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid th{
  height:27px!important;
  padding:3px 5px!important;
  font-size:10.5px!important;
  white-space:normal!important;
  line-height:1.1!important;
  vertical-align:middle!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid td{
  height:28px!important;
  padding:2px 5px!important;
  font-size:10.5px!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid input,
body.schedule-workspace-full .daily-grid.enhanced-grid select,
body.schedule-workspace-full .daily-grid.enhanced-grid .readonly-cell-value{
  height:23px!important;
  min-height:23px!important;
  font-size:10.5px!important;
  line-height:1.1!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid .cell-driver select,
.daily-grid.enhanced-grid .cell-driver select{
  min-width:136px!important;
  font-weight:900!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid th,
.daily-grid.enhanced-grid th{
  overflow:visible!important;
  text-overflow:clip!important;
}
.daily-grid.enhanced-grid td{
  overflow:hidden;
  text-overflow:ellipsis;
}
.daily-grid.enhanced-grid td:nth-child(9),
.daily-grid.enhanced-grid td:nth-child(10){
  min-width:0!important;
}
.schedule-settings-panel{
  display:grid;
  gap:12px;
}
.schedule-settings-panel .schedule-design-panel{
  display:block!important;
  border:1px solid rgba(201,168,76,.22);
  border-radius:10px;
  background:#090908;
  padding:12px;
}
.schedule-settings-panel .schedule-design-panel .design-panel-head{
  margin-bottom:10px;
}
.schedule-settings-panel .schedule-design-panel .layout-chip-row{
  max-height:420px;
  overflow:auto;
}
body.schedule-workspace-full .daily-bottom{
  grid-template-columns:repeat(5,minmax(90px,1fr))!important;
  margin:0!important;
}
body.schedule-workspace-full .daily-bottom button{
  height:27px!important;
  min-height:27px!important;
  font-size:11px!important;
}
body.schedule-focus-mode .topbar,
body.schedule-focus-mode .module-bar,
body.schedule-focus-mode .product-command-bar,
body.schedule-focus-mode .workspace-status-rail{
  display:none!important;
}
body.schedule-focus-mode .classic-menu{
  display:flex!important;
}
body.schedule-focus-mode.schedule-workspace-full .daily-shell{
  top:34px!important;
  height:calc(100vh - 34px)!important;
  min-height:calc(100vh - 34px)!important;
}
body.schedule-focus-mode.schedule-workspace-full .daily-grid-wrap{
  height:100%!important;
  min-height:0!important;
}
.schedule-focus-toggle{
  border-color:rgba(201,168,76,.45)!important;
  color:#f0d888!important;
}
.payroll-control-zone{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-inline-start:auto;
}
.payroll-status-badge{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 13px;
  border:1px solid rgba(201,168,76,.36);
  border-radius:999px;
  background:rgba(201,168,76,.11);
  color:#f0d888;
  font-size:13px;
  font-weight:900;
}
.payroll-control-zone .chip{
  height:34px!important;
  min-height:34px!important;
  padding:0 13px!important;
  font-size:13px!important;
}
@media(max-width:900px){
  body.schedule-workspace-full .daily-shell{
    height:auto!important;
    min-height:calc(100vh - 90px)!important;
    overflow:visible!important;
  }
  body.schedule-workspace-full .daily-title,
  body.schedule-workspace-full .daily-filters.enhanced{
    grid-template-columns:1fr!important;
  }
  body.schedule-workspace-full .schedule-quick-search-row{
    grid-template-columns:1fr 1fr!important;
  }
  body.schedule-workspace-full .daily-grid-wrap{
    height:68vh!important;
  }
}

.schedule-add-backdrop,
.schedule-shortcuts-backdrop{
  position:fixed;
  inset:0;
  z-index:12000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.62);
}
body.schedule-workspace-full .assignment-backdrop,
body.schedule-workspace-full .trip-details-modal,
body.schedule-workspace-full .assignment-modal{
  z-index:13000!important;
}
.schedule-add-menu{
  width:min(420px,calc(100vw - 34px));
  display:grid;
  gap:8px;
  border:1px solid rgba(201,168,76,.36);
  border-radius:12px;
  background:linear-gradient(180deg,#11100e,#070706);
  box-shadow:0 24px 70px rgba(0,0,0,.58);
  padding:14px;
}
.schedule-add-menu strong{
  color:#f0d888;
  font-size:18px;
}
.schedule-add-menu button{
  min-height:42px;
  border:1px solid rgba(201,168,76,.24);
  border-radius:9px;
  background:#0b0b0a;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.schedule-add-menu button:hover{
  background:#c9a84c;
  color:#070707;
}
.schedule-add-menu small{
  color:rgba(255,255,255,.58);
  line-height:1.45;
}
.schedule-shortcuts-modal{
  width:min(760px,calc(100vw - 34px));
  max-height:calc(100vh - 34px);
  overflow:auto;
  border:1px solid rgba(201,168,76,.34);
  border-radius:12px;
  background:linear-gradient(180deg,#11100e,#070706);
  box-shadow:0 24px 70px rgba(0,0,0,.58);
  padding:14px;
}
.schedule-shortcuts-modal header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  border-bottom:1px solid rgba(201,168,76,.16);
  padding-bottom:10px;
  margin-bottom:10px;
}
.schedule-shortcuts-modal h2{
  margin:0;
  color:#fff;
  font-size:20px;
}
.schedule-shortcuts-modal p{
  margin:0 0 3px;
  color:#f0d888;
  font-size:12px;
}
.schedule-shortcuts-modal header button{
  border:1px solid rgba(201,168,76,.24);
  border-radius:8px;
  background:#0b0b0a;
  color:#fff;
  padding:7px 12px;
  font-weight:900;
}
.shortcut-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:7px;
}
.shortcut-grid article{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:8px;
  align-items:center;
  min-height:42px;
  border:1px solid rgba(201,168,76,.14);
  border-radius:8px;
  background:#090909;
  padding:7px 9px;
}
.shortcut-grid b{
  color:#f0d888;
  direction:ltr;
  text-align:left;
  font-size:12px;
}
.shortcut-grid span{
  color:#fff;
  font-size:12px;
}

/* Daily schedule practical workspace 0.1.181 */
body.schedule-workspace-full #classicMenu.classic-menu,
body.schedule-workspace-full .classic-menu{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:1px 6px!important;
  gap:4px!important;
  align-items:center!important;
  background:#070707!important;
  border-bottom:1px solid rgba(201,168,76,.22)!important;
}
body.schedule-workspace-full .classic-menu-start,
body.schedule-workspace-full .console-area-badge{
  height:24px!important;
  min-width:112px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  background:#10100f!important;
  border:1px solid rgba(201,168,76,.18)!important;
}
body.schedule-workspace-full .classic-menu-start b,
body.schedule-workspace-full .console-area-badge b{
  font-size:11px!important;
  color:#f0d888!important;
}
body.schedule-workspace-full .classic-menu-start span,
body.schedule-workspace-full .console-area-badge span,
body.schedule-workspace-full .menu-root small{
  display:none!important;
}
body.schedule-workspace-full .classic-menu-item>button,
body.schedule-workspace-full .menu-root,
body.schedule-workspace-full .area-switch{
  height:24px!important;
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:7px!important;
  font-size:11px!important;
  line-height:1!important;
  background:#10100f!important;
  border:1px solid rgba(201,168,76,.18)!important;
}
body.schedule-workspace-full .classic-submenu,
body.schedule-workspace-full .menu-dropdown{
  top:27px!important;
}
body.schedule-workspace-full .daily-shell{
  top:30px!important;
  height:calc(100vh - 30px)!important;
  min-height:calc(100vh - 30px)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  padding:2px 5px 5px!important;
  gap:2px!important;
}
body.schedule-workspace-full .daily-filters.enhanced{
  grid-template-columns:122px repeat(6,minmax(108px,1fr))!important;
  padding:4px 5px!important;
  gap:4px!important;
  border-radius:6px!important;
  background:#080808!important;
}
body.schedule-workspace-full .daily-filters.enhanced label{
  font-size:9px!important;
  line-height:1!important;
}
body.schedule-workspace-full .daily-filters.enhanced input,
body.schedule-workspace-full .daily-filters.enhanced select{
  height:23px!important;
  min-height:23px!important;
  font-size:10px!important;
  padding:1px 6px!important;
}
body.schedule-workspace-full .schedule-quick-search-row{
  grid-template-columns:1.25fr 1fr 1fr 1fr 1fr .8fr 58px!important;
  gap:3px!important;
  padding-top:3px!important;
}
body.schedule-workspace-full .schedule-quick-search-row label span{
  display:none!important;
}
body.schedule-workspace-full .schedule-quick-search-row input,
body.schedule-workspace-full .schedule-quick-search-row .chip{
  height:21px!important;
  min-height:21px!important;
  font-size:9.5px!important;
  padding:1px 6px!important;
}
body.schedule-workspace-full .daily-grid-wrap{
  border-radius:6px!important;
  border-color:rgba(201,168,76,.24)!important;
  background:#070707!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid th{
  height:24px!important;
  padding:2px 4px!important;
  font-size:10px!important;
  background:#10100f!important;
  color:#d9b852!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid td{
  height:25px!important;
  padding:1px 4px!important;
  font-size:10px!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid input,
body.schedule-workspace-full .daily-grid.enhanced-grid select,
body.schedule-workspace-full .daily-grid.enhanced-grid .readonly-cell-value{
  height:21px!important;
  min-height:21px!important;
  font-size:10px!important;
  padding:1px 6px!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid .cell-driver select{
  min-width:158px!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid .cell-vehicle select{
  min-width:132px!important;
}
body.schedule-workspace-full .daily-grid.enhanced-grid tr.selected-trip td{
  outline:2px solid #8b641f!important;
  outline-offset:-2px!important;
}
body.schedule-focus-mode.schedule-workspace-full .daily-shell{
  top:30px!important;
  height:calc(100vh - 30px)!important;
  min-height:calc(100vh - 30px)!important;
}

/* ============================================================
   Unified visual refresh — readability & consistency pass
   Scope: general app chrome, panels, cards, forms, tables.
   Deliberately does NOT touch the dense schedule/daily-grid
   compact mode (.daily-grid, .enhanced-grid, .schedule-workspace-full)
   which is a purpose-built spreadsheet-density view.
   ============================================================ */
:root{
  --bg:#0e0e0f;
  --surface:#17171a;
  --surface-2:#1e1e21;
  --ink:rgba(255,255,255,.94);
  --muted:rgba(255,255,255,.66);
  --line:rgba(201,168,76,.2);
  --gold:#caa754;
  --gold-2:#f0d888;
  --green:#4bcf95;
  --red:#ff7166;
  --blue:#79b0ff;
  --radius:10px;
  --radius-sm:7px;
  --gap:16px;
  --shadow:0 16px 40px rgba(0,0,0,.28);
}
body{
  background:radial-gradient(circle at 18% -10%,rgba(201,168,76,.10),transparent 38%),var(--bg);
  font-size:15px;
  line-height:1.5;
}
.main{padding:26px 30px}
.topbar{margin-bottom:24px;padding-bottom:20px}
.topbar h1{font-size:27px!important;line-height:1.25!important;font-weight:800}
.eyebrow{font-size:12.5px;letter-spacing:.02em}
h2{font-size:21px}
h3{font-size:17px}

/* Buttons & chips: one consistent shape and rhythm everywhere */
.primary-action,.ghost,.chip,.icon-button{
  border-radius:var(--radius-sm);
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .05s ease;
}
.primary-action{font-weight:700}
.chip:hover,.ghost:hover{transform:translateY(-1px)}
.chip.active{font-weight:700}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
}

/* Panels, cards, metrics: consistent padding/radius/spacing rhythm */
.panel,.metric,.card,.portal,.admin-card-list,.admin-card-editor,.admin-card-metrics article,
.license-summary article,.owner-tenant-card,.plan-card,.tenant-editor{
  border-radius:var(--radius)!important;
}
.panel{padding:20px}
.metric,.admin-card-metrics article{padding:18px}
.layout-grid,.grid-2,.grid-3{gap:var(--gap)}
.panel-head{margin-bottom:16px}
.admin-cards-hero h2{font-size:26px}

/* Forms: comfortable, consistent field sizing */
input,select,textarea{
  padding:10px 13px;
  border-radius:var(--radius-sm);
  font-size:14px;
}
.admin-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.admin-fields label{font-size:13px;gap:7px}
.form-grid label{font-size:13px}
.cw-field span{font-size:13px}

/* Tables outside the dense schedule grid: roomier, easier to scan */
.table-wrap:not(.daily-grid-wrap) table{font-size:14px}
.table-wrap:not(.daily-grid-wrap) th,
.table-wrap:not(.daily-grid-wrap) td{padding:13px 11px}
.table-wrap:not(.daily-grid-wrap) tr:hover td{background:rgba(201,168,76,.05)}

/* Badges: slightly larger, easier to read at a glance */
.badge{font-size:12.5px;padding:6px 11px;font-weight:700}

@media(max-width:900px){
  .main{padding:16px}
  .admin-fields{grid-template-columns:1fr}
}

/* ============================================================
   MDI floating windows — every screen opens as its own
   draggable/resizable/closable window instead of replacing
   the page content.
   ============================================================ */
#mdiLayer{position:fixed;inset:0;pointer-events:none;z-index:900}
.mdi-window{
  position:absolute;
  pointer-events:auto;
  display:flex;
  flex-direction:column;
  background:#131311;
  border:1px solid rgba(201,168,76,.38);
  border-radius:10px;
  box-shadow:0 26px 64px rgba(0,0,0,.55);
  overflow:auto;
  resize:both;
  min-width:320px;
  min-height:200px;
}
.mdi-window.mdi-minimized{display:none}
.mdi-window.mdi-maximized{left:8px!important;top:44px!important;right:8px!important;width:auto!important;height:auto!important;bottom:60px!important;resize:none!important}
.mdi-titlebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  background:linear-gradient(180deg,#1c1a15,#100f0d);
  border-bottom:1px solid rgba(201,168,76,.3);
  cursor:move;
  user-select:none;
  flex:0 0 auto;
  position:sticky;
  top:0;
  z-index:2;
}
.mdi-titlebar span{
  color:#f0d888;
  font-weight:800;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mdi-window-buttons{display:flex;gap:6px;flex:0 0 auto}
.mdi-btn{
  width:28px;
  height:28px;
  border-radius:6px;
  border:1px solid rgba(201,168,76,.3);
  background:#0d0d0c;
  color:#fff;
  font-size:14px;
  line-height:1;
  display:grid;
  place-items:center;
  padding:0;
  cursor:pointer;
}
.mdi-btn:hover{background:rgba(201,168,76,.16);color:#f0d888}
.mdi-btn.mdi-close:hover{background:rgba(255,107,96,.22);color:#ff9189;border-color:rgba(255,107,96,.45)}
.mdi-body{flex:1 1 auto;padding:16px;background:#0e0e0d}
.mdi-taskbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:950;
  display:flex;
  gap:8px;
  padding:8px 12px;
  background:#0c0c0b;
  border-top:1px solid rgba(201,168,76,.28);
  overflow-x:auto;
  pointer-events:auto;
}
.mdi-task-group{display:flex;align-items:center;gap:0}
.mdi-task{
  height:36px;
  border-radius:7px 0 0 7px;
  border:1px solid rgba(201,168,76,.24);
  background:#151412;
  color:rgba(255,255,255,.82);
  padding:0 13px;
  font-size:13px;
  white-space:nowrap;
  cursor:pointer;
}
.mdi-task.active{border-color:var(--gold,#c9a84c);color:var(--gold,#c9a84c)}
.mdi-task-close{
  height:36px;
  width:26px;
  border-radius:0 7px 7px 0;
  border:1px solid rgba(201,168,76,.24);
  border-right:0;
  background:#101010;
  color:rgba(255,255,255,.6);
  font-size:13px;
  display:grid;
  place-items:center;
  padding:0;
  cursor:pointer;
}
.mdi-task-close:hover{background:rgba(255,107,96,.2);color:#ff9189}
@media(max-width:760px){
  /* On phones every window is fullscreen between the menu bar and the taskbar,
     leaving the sticky menu at the top reachable to open other screens */
  .mdi-window{left:0!important;right:0!important;top:58px!important;bottom:52px!important;width:auto!important;height:auto!important;min-width:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;resize:none!important}
  .mdi-window.mdi-maximized{left:0!important;right:0!important;top:58px!important;bottom:52px!important}
  .mdi-titlebar{cursor:default}
  .mdi-btn.mdi-max{display:none}
  .mdi-body{padding:12px}
  .mdi-taskbar{padding:6px 8px}
  .mdi-task{height:40px;font-size:14px}
  .mdi-task-close{height:40px}
}

/* ============================================================
   Role apps — driver manifest / passenger / client portals
   ============================================================ */
.tel-link{display:inline-flex;align-items:center;gap:5px;color:#79b0ff;font-weight:800;text-decoration:none;white-space:nowrap}
.tel-link:hover{color:#a9ccff;text-decoration:underline}
.tel-link::before{content:"📞";font-size:13px}
.muted-cell{color:rgba(255,255,255,.4)}
.trip-manifest{margin:10px 0 6px;border:1px solid rgba(201,168,76,.18);border-radius:10px;background:#0b0b0a;overflow:hidden}
.manifest-route{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:rgba(201,168,76,.08);border-bottom:1px solid rgba(201,168,76,.16)}
.manifest-route span{color:rgba(255,255,255,.55);font-size:12px}
.manifest-route b{color:#f0d888;font-size:14px;text-align:left}
.manifest-station{border-bottom:1px solid rgba(255,255,255,.05)}
.manifest-station:last-child{border-bottom:0}
.manifest-station-head{display:flex;align-items:center;gap:10px;padding:9px 12px;background:rgba(255,255,255,.02)}
.manifest-order{width:26px;height:26px;flex:0 0 auto;border-radius:50%;background:var(--gold,#c9a84c);color:#0a0a0a;font-weight:900;font-size:13px;display:grid;place-items:center}
.manifest-station-head>div{flex:1 1 auto;min-width:0;display:grid}
.manifest-station-head strong{color:#fff;font-size:14px}
.manifest-station-head span{color:rgba(255,255,255,.5);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manifest-time{color:#f0d888;font-size:15px;font-weight:900;white-space:nowrap}
.manifest-pax{display:grid;gap:1px;background:rgba(255,255,255,.04)}
.manifest-pax-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px 9px 40px;background:#0e0e0d}
.manifest-pax-row>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.manifest-pax-row strong{color:#fff;font-size:14px}
.pax-note{color:rgba(255,255,255,.52);font-size:12px}
.manifest-empty{padding:10px 12px 10px 40px;color:rgba(255,255,255,.45);font-size:12.5px}
.portal-trip-card.driver-trip.is-active{border-color:rgba(121,176,255,.5);box-shadow:0 0 0 1px rgba(121,176,255,.25)}
.portal-trip-card.driver-trip.is-done{opacity:.72}
.active-trip-time{color:#79b0ff!important;font-weight:800;margin:2px 0 8px!important}
/* client portal */
.client-day-group{margin-bottom:14px}
.client-day-head{color:#f0d888;font-weight:800;font-size:13px;margin:0 0 7px;padding-bottom:5px;border-bottom:1px solid rgba(201,168,76,.16)}
.portal-trip-card.client-trip.is-open{border-color:rgba(201,168,76,.45)}
.client-driver-box{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0;padding:9px 11px;border:1px solid rgba(121,176,255,.22);border-radius:8px;background:rgba(121,176,255,.06)}
.client-driver-box.empty{display:block;color:rgba(255,255,255,.5);font-size:12.5px}
.client-driver-box>div{display:grid;gap:2px;min-width:0}
.client-driver-box span{color:rgba(255,255,255,.5);font-size:11.5px}
.client-driver-box strong{color:#fff;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-trip-editor{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(201,168,76,.2)}
.client-edit-fields{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px;margin-bottom:10px}
.client-edit-fields label{display:grid;gap:4px;color:rgba(255,255,255,.58);font-size:12px}
.client-edit-lock{color:#ff9189;font-size:12.5px;margin:0 0 8px}
.client-pax-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.client-pax-head strong{color:#fff;font-size:13.5px}
.client-pax-list{display:grid;gap:6px}
.client-pax-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:6px;align-items:center}
.client-pax-row input{width:100%}
.client-pax-row strong{color:#fff}
@media(max-width:760px){
  .client-driver-box{grid-template-columns:1fr 1fr}
  .client-edit-fields{grid-template-columns:1fr 1fr}
  .client-pax-row{grid-template-columns:1fr 1fr;gap:5px}
}
/* passenger location panel */
.pax-location{margin-top:14px;border:1px solid rgba(201,168,76,.18);border-radius:10px;padding:14px;background:#0b0b0a}
.pax-location h3{margin:0 0 10px;color:#fff;font-size:15px;display:flex;align-items:center;gap:8px}
.pax-location.locked{text-align:center}
.pax-lock-icon{font-size:34px;margin:6px 0}
.pax-location.locked p{color:rgba(255,255,255,.7);margin:4px 0}
.pax-lock-sub{color:rgba(255,255,255,.5)!important;font-size:12.5px}
.pax-location.done p{color:rgba(255,255,255,.6)}
.live-dot{width:9px;height:9px;border-radius:50%;background:#4bcf95;box-shadow:0 0 0 0 rgba(75,207,149,.6);animation:paxpulse 1.6s infinite}
@keyframes paxpulse{0%{box-shadow:0 0 0 0 rgba(75,207,149,.55)}70%{box-shadow:0 0 0 8px rgba(75,207,149,0)}100%{box-shadow:0 0 0 0 rgba(75,207,149,0)}}
.pax-map{position:relative;height:170px;border-radius:9px;overflow:hidden;background:linear-gradient(180deg,#0f1512,#0a0d0b);border:1px solid rgba(75,207,149,.18);margin-bottom:12px}
.pax-map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(201,168,76,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(201,168,76,.08) 1px,transparent 1px);background-size:26px 26px}
.pax-driver-marker{position:absolute;bottom:22px;right:26px;font-size:30px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.5));animation:paxdrive 3s ease-in-out infinite alternate}
.pax-dest-marker{position:absolute;top:20px;left:32px;font-size:26px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.5))}
@keyframes paxdrive{from{transform:translate(0,0)}to{transform:translate(-40px,-30px)}}
.pax-driver-live{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pax-driver-live>div{display:grid;gap:2px;min-width:0}
.pax-driver-live span{color:rgba(255,255,255,.5);font-size:11.5px}
.pax-driver-live strong{color:#fff;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pax-live-note{color:#4bcf95;font-weight:700;margin:10px 0 0;font-size:13px}
@media(max-width:760px){.pax-driver-live{grid-template-columns:1fr 1fr}}
/* phone OTP login */
.login-field{display:grid;gap:7px;margin-top:4px}
.login-field input{height:44px;font-size:16px;text-align:center;letter-spacing:2px}
.login-remember{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px}
.login-remember input{width:auto;height:auto;accent-color:var(--gold,#c9a84c)}
.login-submit{height:46px;font-size:15px;margin-top:6px}
.login-link{background:none;border:0;color:var(--gold,#c9a84c);font-size:13px;text-decoration:underline;cursor:pointer;padding:6px}
.login-link:hover{color:var(--gold-2,#f0d888)}
.login-demo-code{background:rgba(201,168,76,.1);border:1px dashed rgba(201,168,76,.4);border-radius:8px;padding:8px 10px;color:#f0d888!important;font-size:13px}
.login-demo-code b{font-size:18px;letter-spacing:2px}
.login-role-list,.login-user-list{display:grid;gap:8px}

/* ============================================================
   Sidebar shell 2026 — right gold sidebar + logo (mockup look)
   ============================================================ */
.app-sidebar{display:none}
.sidebar-scrim{display:none}
.sidebar-toggle{display:none}
body.ml-sidebar-shell .app-shell{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;min-height:100vh}
body.ml-sidebar-shell .app-sidebar{
  display:flex!important;flex-direction:column;gap:6px;
  background:linear-gradient(180deg,#111110,#0a0a09);
  border-inline-start:1px solid rgba(201,168,76,.2);
  padding:16px 12px;position:sticky;top:0;height:100vh;overflow-y:auto;z-index:60;
}
body.ml-sidebar-shell .side-logo{display:flex;justify-content:center;padding:6px 4px 12px;border-bottom:1px solid rgba(201,168,76,.14);margin-bottom:6px}
body.ml-sidebar-shell .side-logo img{width:100%;max-width:170px;height:auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
body.ml-sidebar-shell .side-user{display:flex;align-items:center;gap:10px;padding:8px 8px 12px;border-bottom:1px solid rgba(201,168,76,.12);margin-bottom:6px}
body.ml-sidebar-shell .side-avatar{width:38px;height:38px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#0a0a0a;background:linear-gradient(135deg,#f0d888,#c99a2e)}
body.ml-sidebar-shell .side-user-meta{display:grid;gap:2px;min-width:0}
body.ml-sidebar-shell .side-user-meta strong{color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ml-sidebar-shell .side-user-meta span{color:rgba(255,255,255,.55);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ml-sidebar-shell .side-nav{display:flex;flex-direction:column;gap:3px;flex:1 1 auto}
body.ml-sidebar-shell .side-nav-item,body.ml-sidebar-shell .side-exit{
  display:flex;align-items:center;gap:11px;width:100%;text-align:start;
  border:0;background:transparent;color:rgba(255,255,255,.74);
  border-radius:9px;padding:11px 13px;font-size:14px;font-weight:600;cursor:pointer;transition:background .12s,color .12s}
body.ml-sidebar-shell .side-nav-item .nav-ic,body.ml-sidebar-shell .side-exit .nav-ic{width:20px;height:20px;flex:0 0 auto;opacity:.9}
body.ml-sidebar-shell .side-nav-item:hover{background:rgba(201,168,76,.1);color:#f0d888}
body.ml-sidebar-shell .side-nav-item.active{background:linear-gradient(135deg,#e6c565,#c99a2e);color:#0a0a0a;font-weight:800;box-shadow:0 6px 16px rgba(201,154,46,.28)}
body.ml-sidebar-shell .side-nav-item.active .nav-ic{opacity:1}
body.ml-sidebar-shell .side-exit{margin-top:8px;border-top:1px solid rgba(201,168,76,.12);border-radius:0 0 9px 9px;color:rgba(255,140,130,.85)}
body.ml-sidebar-shell .side-exit:hover{background:rgba(255,107,96,.12);color:#ff9189}
/* YIT-style TOP MENU bar is the navigation; the right sidebar is retired. */
.app-sidebar,#appSidebar,.sidebar-scrim,.sidebar-toggle{display:none!important}
#moduleBar,.module-bar,body.product-redesign #moduleBar,body.product-redesign .module-bar{display:none!important}
/* MDI windows float above the content */
#mdiLayer{z-index:1000!important}
.mdi-taskbar{z-index:1001!important}
body.ml-sidebar-shell .main{padding:22px 26px 26px!important;min-width:0;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 240px)}
body.ml-sidebar-shell .topbar{position:sticky;top:0;z-index:40;background:#0c0c0b;margin:-22px -26px 18px;padding:16px 26px!important;border-bottom:1px solid rgba(201,168,76,.16);border-radius:0}
/* mobile: sidebar becomes an off-canvas drawer */
@media(max-width:900px){
  body.ml-sidebar-shell .app-shell{display:block!important}
  body.ml-sidebar-shell .app-sidebar{position:fixed;top:0;right:0;bottom:0;width:250px;height:auto;transform:translateX(100%)!important;transition:transform .22s ease;box-shadow:-12px 0 40px rgba(0,0,0,.5)}
  body.ml-sidebar-open .app-sidebar{transform:translateX(0)!important}
  body.ml-sidebar-shell .sidebar-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .2s;z-index:55}
  body.ml-sidebar-open .sidebar-scrim{opacity:1;pointer-events:auto}
  body.ml-sidebar-shell .sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(201,168,76,.28);background:#141312;color:#f0d888;border-radius:9px;font-size:20px;cursor:pointer;margin-inline-end:10px}
  body.ml-sidebar-shell .topbar{display:flex;align-items:center;gap:6px}
  body.ml-sidebar-shell .main{padding:14px!important}
  body.ml-sidebar-shell .topbar{margin:-14px -14px 14px;padding:12px 14px!important}
}

/* ============================================================
   Premium dashboard KPI cards + green/red semantics
   ============================================================ */
.kpi-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:4px}
.kpi{display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:12px;background:linear-gradient(180deg,#16150f,#0d0d0c);border:1px solid rgba(201,168,76,.16);box-shadow:0 10px 26px rgba(0,0,0,.22)}
.kpi-ic{width:46px;height:46px;flex:0 0 auto;border-radius:12px;display:grid;place-items:center}
.kpi-ic svg{width:24px;height:24px}
.kpi-body{display:grid;gap:2px;min-width:0}
.kpi-body span{color:rgba(255,255,255,.56);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kpi-body strong{color:#fff;font-size:23px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kpi-sub{font-size:11.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kpi-sub.up{color:#4bcf95}
.kpi-sub.down{color:#ff7166}
.kpi-sub.warn{color:#f0d888}
.kpi-blue .kpi-ic{background:rgba(121,176,255,.14);color:#79b0ff}
.kpi-green .kpi-ic{background:rgba(75,207,149,.15);color:#4bcf95}
.kpi-red .kpi-ic{background:rgba(255,113,102,.15);color:#ff7166}
.kpi-amber .kpi-ic{background:rgba(240,216,136,.15);color:#f0d888}
@media(max-width:1200px){.kpi-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.kpi-row{grid-template-columns:1fr 1fr}}
/* stronger, clearer status colors everywhere */
.badge.ok{background:rgba(75,207,149,.16)!important;color:#7ff0bb!important}
.badge.warn{background:rgba(240,216,136,.16)!important;color:#f3dd97!important}
.badge.bad{background:rgba(255,113,102,.16)!important;color:#ff9a90!important}
.badge.info{background:rgba(121,176,255,.15)!important;color:#a9ccff!important}

/* Logo inside the top menu bar (YIT-style shell) */
.menu-logo{height:30px;width:auto;margin-inline-start:auto;margin-inline-end:6px;align-self:center;object-fit:contain;filter:drop-shadow(0 2px 5px rgba(0,0,0,.4))}
body.product-redesign #classicMenu.premium-menu .menu-logo{order:99}

/* ============================================================
   Granular permissions panel (company admin → employees)
   ============================================================ */
.perm-panel .perm-hint{color:rgba(255,255,255,.62);font-size:13px;margin:2px 0 14px}
.perm-panel .perm-hint.bad{color:#ff9a90}
.perm-user-select{color:rgba(255,255,255,.7);font-size:13px;display:flex;align-items:center;gap:8px}
.perm-user-select select{height:36px;min-width:220px;border-radius:8px}
.perm-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
.perm-group{border:1px solid rgba(201,168,76,.2);border-radius:10px;padding:12px 12px 14px;background:rgba(0,0,0,.14);margin:0}
.perm-group legend{color:var(--gold,#c9a84c);font-weight:800;padding:0 8px;font-size:13.5px}
.perm-items{display:grid;gap:6px}
.perm-item{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:#0e0e0d;cursor:pointer;font-size:13.5px;color:rgba(255,255,255,.66);transition:border-color .12s,color .12s,background .12s}
.perm-item:hover{border-color:rgba(201,168,76,.3)}
.perm-item.on{border-color:rgba(75,207,149,.4);color:#fff;background:rgba(75,207,149,.06)}
.perm-item input{width:19px;height:19px;flex:0 0 auto;accent-color:#4bcf95;cursor:pointer}
.perm-item input:disabled{opacity:.5;cursor:not-allowed}

/* ===== סידור עבודה: פאנל בחירה בשורה אחת + מודל קיצורים (סימן שאלה) ===== */
body .daily-shell .selected-trip-panel.one-row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;padding:5px 10px!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important}
body .daily-shell .selected-trip-panel.one-row .selected-trip-info{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;flex:1 1 auto}
body .daily-shell .selected-trip-panel.one-row .selected-trip-info strong{font-size:12.5px!important;color:#fff!important;white-space:nowrap!important}
body .daily-shell .selected-trip-panel.one-row .selected-trip-info small{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:230px}
body .daily-shell .selected-trip-panel.one-row .selected-trip-actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;justify-content:flex-end!important;flex:0 0 auto}
body .daily-shell .selected-trip-panel.one-row .selected-trip-actions button,body .daily-shell .selected-trip-panel.one-row button{height:27px!important;min-height:27px!important;padding:3px 9px!important;font-size:11px!important;white-space:nowrap!important}
body .daily-shell .selected-trip-panel.one-row.empty-state{color:var(--muted);font-size:12px}
body .daily-shell .selected-trip-panel.one-row.bulk-panel .bulk-edit-controls{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important}
body .daily-shell .selected-trip-panel.one-row.bulk-panel .bulk-edit-controls label{flex-direction:row!important;align-items:center!important;gap:4px!important}
.schedule-help-btn{font-weight:900;min-width:30px;text-align:center}

.ml-shortcuts-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:18px}
.ml-shortcuts-modal{width:min(640px,94vw);max-height:86vh;overflow:auto;background:#141412;border:1px solid rgba(201,168,76,.35);border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.55);padding:16px 18px}
.ml-shortcuts-modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.ml-shortcuts-modal header h2{font-size:19px;color:#fff;margin:2px 0 0}
.ml-shortcuts-modal .eyebrow{color:var(--gold,#c9a84c);font-size:11px;letter-spacing:.5px}
.ml-shortcuts-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ml-shortcuts-grid article{display:flex;align-items:center;gap:10px;border:1px solid rgba(201,168,76,.16);border-radius:8px;padding:8px 10px;background:rgba(255,255,255,.025)}
.ml-shortcuts-grid b{flex:0 0 auto;min-width:96px;color:var(--gold,#d6b44d);font-size:12px;border:1px solid rgba(201,168,76,.2);border-radius:6px;padding:3px 7px;background:rgba(0,0,0,.2);text-align:center;white-space:nowrap}
.ml-shortcuts-grid span{color:#e6e6e6;font-size:12px}
@media(max-width:620px){.ml-shortcuts-grid{grid-template-columns:1fr}}

/* מערכת חישובי שכר מוטמעת */
.payroll-embed-panel{display:flex;flex-direction:column}
.payroll-embed{width:100%;height:calc(100vh - 210px);min-height:560px;border:1px solid rgba(201,168,76,.22);border-radius:12px;background:#08090a;box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.4)}

/* ===== עיצוב מחדש למערכת הכספים — בסגנון מערכת חישובי השכר (שחור-זהב פרימיום) ===== */
body.product-redesign.ml-practical-ui .finance-console.panel{--fg:#c99632;--fg2:#f0c66a;--fline:#413a30;background:linear-gradient(145deg,#151617,#0f1011)!important;border:1px solid var(--fline)!important;border-radius:16px!important;box-shadow:inset 0 1px #ffffff0b,0 12px 30px #0006!important;padding:18px 20px!important}
body.product-redesign.ml-practical-ui .finance-console .panel-head{border-bottom:1px solid #39342c;padding-bottom:12px;margin-bottom:14px}
body.product-redesign.ml-practical-ui .finance-console .panel-head .eyebrow{color:#d2b56f!important;letter-spacing:.5px}
body.product-redesign.ml-practical-ui .finance-console .panel-head h2{color:var(--fg2)!important;font-size:23px!important}
/* כפתורי פעולה — זהב עם gradient והרמה ב-hover */
body.product-redesign.ml-practical-ui .finance-console .panel-actions .primary-action,body.product-redesign.ml-practical-ui .finance-console .finance-doc-toolbar .primary-action{background:linear-gradient(135deg,#c38d2d,#e0b558)!important;color:#111!important;border:1px solid #e0b65f!important;box-shadow:inset 0 1px #fff4,0 5px 12px #0005!important;font-weight:750!important;transition:.18s transform,.18s filter}
body.product-redesign.ml-practical-ui .finance-console .panel-actions .primary-action:hover,body.product-redesign.ml-practical-ui .finance-console .finance-doc-toolbar .primary-action:hover{transform:translateY(-1px);filter:brightness(1.09)}
body.product-redesign.ml-practical-ui .finance-console .panel-actions .chip,body.product-redesign.ml-practical-ui .finance-console .finance-doc-toolbar .chip{background:linear-gradient(180deg,#292a2d,#1b1c1e)!important;color:#fff!important;border:1px solid #4b463d!important;border-radius:9px!important}
body.product-redesign.ml-practical-ui .finance-console .panel-actions .chip:hover,body.product-redesign.ml-practical-ui .finance-console .finance-doc-toolbar .chip:hover{border-color:#6e5427!important;background:#211e18!important}
/* כרטיסי KPI — כמו כרטיסי השכר, עם פס זהב עליון */
body.product-redesign.ml-practical-ui .finance-console .license-summary{gap:13px!important}
body.product-redesign.ml-practical-ui .finance-console .license-summary article{position:relative;background:linear-gradient(180deg,#19191b,#121214)!important;border:1px solid var(--fline)!important;border-radius:12px!important;padding:16px!important;overflow:hidden;box-shadow:inset 0 1px #ffffff0b,0 8px 20px #0005!important}
body.product-redesign.ml-practical-ui .finance-console .license-summary article:before{content:"";position:absolute;top:0;right:0;left:0;height:2px;background:linear-gradient(90deg,transparent,var(--fg),transparent)}
body.product-redesign.ml-practical-ui .finance-console .license-summary article span{color:#b6b0a5!important;font-size:13px!important}
body.product-redesign.ml-practical-ui .finance-console .license-summary article strong{color:var(--fg2)!important;font-size:24px!important}
/* טאבים — כמו טאבי השכר */
body.product-redesign.ml-practical-ui .finance-console .finance-tabs{gap:6px!important;flex-wrap:wrap;margin-bottom:14px}
body.product-redesign.ml-practical-ui .finance-console .finance-tabs button{border:1px solid var(--fline)!important;background:#202023!important;color:#ddd!important;padding:8px 13px!important;border-radius:9px!important;font-weight:600}
body.product-redesign.ml-practical-ui .finance-console .finance-tabs button:hover{border-color:#6e5427!important;background:#211e18!important}
body.product-redesign.ml-practical-ui .finance-console .finance-tabs button.active{background:linear-gradient(135deg,#b17c22,#d0a64b)!important;color:#fff!important;border-color:#e4bd67!important;box-shadow:inset 0 1px #fff4,0 6px 14px #0006!important}
/* טבלת כספים — נקייה עם כותרות זהב ו-hover */
body.product-redesign.ml-practical-ui .finance-console .table-wrap{border:1px solid #37342f!important;border-radius:10px!important;overflow:auto!important;background:#0e0f10!important}
body.product-redesign.ml-practical-ui .finance-console .finance-table{border-collapse:collapse!important;width:100%}
body.product-redesign.ml-practical-ui .finance-console .finance-table th{background:#1e1e20!important;color:var(--fg2)!important;font-weight:750!important;border-bottom:1px solid var(--fline)!important;padding:10px 9px!important;position:sticky;top:0;z-index:1}
body.product-redesign.ml-practical-ui .finance-console .finance-table td{border-bottom:1px solid #2a2823!important;padding:9px!important;color:#f2efe8}
body.product-redesign.ml-practical-ui .finance-console .finance-table tr:hover td{background:#1b1811!important}
body.product-redesign.ml-practical-ui .finance-console .finance-table input,body.product-redesign.ml-practical-ui .finance-console .finance-table select{background:#101113!important;border:1px solid #464238!important;border-radius:7px!important;color:#fff!important;box-shadow:inset 0 2px 5px #0006}
body.product-redesign.ml-practical-ui .finance-console .finance-table input:focus,body.product-redesign.ml-practical-ui .finance-console .finance-table select:focus{outline:none;border-color:var(--fg)!important;box-shadow:0 0 0 3px #c9963226!important}
body.product-redesign.ml-practical-ui .finance-console .badge.ok{background:#17381f!important;color:#8ff0a4!important}
body.product-redesign.ml-practical-ui .finance-console .badge.warn{background:#3b2912!important;color:#ffd27d!important}
body.product-redesign.ml-practical-ui .finance-console .badge.bad{background:#481d1b!important;color:#ff9b96!important}
body.product-redesign.ml-practical-ui .finance-console .finance-doc-toolbar{gap:9px!important;margin-bottom:12px;flex-wrap:wrap}
