/* FleetLume UI v6 — premium dark control-center design system */
:root{
  --v6-bg:#030b18;
  --v6-bg-2:#071426;
  --v6-surface:#0a1a30;
  --v6-surface-2:#0d2039;
  --v6-surface-3:#102743;
  --v6-surface-soft:rgba(13,32,57,.82);
  --v6-line:#1a3556;
  --v6-line-soft:rgba(108,153,209,.16);
  --v6-text:#f3f7ff;
  --v6-text-2:#d5e0f1;
  --v6-muted:#8fa4c1;
  --v6-primary:#2684ff;
  --v6-primary-2:#6658ff;
  --v6-cyan:#23c4e6;
  --v6-green:#2acb78;
  --v6-lime:#7bd43c;
  --v6-orange:#ff9b2f;
  --v6-red:#ff5b66;
  --v6-violet:#9768ff;
  --v6-pink:#ef6bb1;
  --v6-teal:#24b6a4;
  --v6-sidebar:232px;
  --v6-sidebar-collapsed:76px;
  --v6-radius-sm:11px;
  --v6-radius:15px;
  --v6-radius-lg:20px;
  --v6-shadow:0 14px 36px rgba(0,0,0,.24),0 1px 0 rgba(255,255,255,.025) inset;
  --v6-shadow-hover:0 22px 46px rgba(0,0,0,.34),0 0 0 1px rgba(48,128,255,.12);
  --v6-topbar:64px;
}

[hidden]{display:none!important}
html{background:var(--v6-bg);color-scheme:dark}
body.ui-v6{
  min-height:100dvh;
  overflow:hidden;
  color:var(--v6-text);
  background:
    radial-gradient(circle at 86% 3%,rgba(38,132,255,.09),transparent 28%),
    radial-gradient(circle at 45% 72%,rgba(102,88,255,.055),transparent 31%),
    linear-gradient(180deg,#061123 0%,#030b18 100%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:14px;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.ui-v6 *,body.ui-v6 *::before,body.ui-v6 *::after{box-sizing:border-box}
body.ui-v6 a{color:inherit}
body.ui-v6 svg{display:block}
body.ui-v6 ::selection{background:rgba(38,132,255,.32);color:#fff}
body.ui-v6 :focus-visible{outline:3px solid rgba(52,147,255,.32);outline-offset:2px}
body.ui-v6 ::-webkit-scrollbar{width:8px;height:8px}
body.ui-v6 ::-webkit-scrollbar-track{background:transparent}
body.ui-v6 ::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#294563;background-clip:padding-box}
body.ui-v6 ::-webkit-scrollbar-thumb:hover{background:#386184;background-clip:padding-box}

/* Fixed application frame */
body.ui-v6 .app-shell{display:block;min-height:100dvh}
body.ui-v6 .sidebar{
  position:fixed!important;
  inset:0 auto 0 0;
  z-index:100;
  width:var(--v6-sidebar);
  height:100dvh;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:14px 12px 12px;
  overflow:hidden;
  color:#fff;
  border-right:1px solid rgba(116,162,218,.14);
  background:
    radial-gradient(circle at 25% 0,rgba(35,126,255,.2),transparent 24%),
    linear-gradient(180deg,#061226 0%,#06172e 50%,#061328 100%);
  box-shadow:18px 0 52px rgba(0,0,0,.17);
  transition:width .22s ease,transform .22s ease;
}
body.ui-v6 .sidebar::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.018),transparent 32%)}
body.ui-v6 .sidebar>*{position:relative;z-index:1}
body.ui-v6 .main-content{
  width:auto;
  height:100dvh;
  min-width:0;
  margin-left:var(--v6-sidebar);
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  background:transparent;
  transition:margin-left .22s ease;
}
body.ui-v6.sidebar-collapsed .sidebar{width:var(--v6-sidebar-collapsed)}
body.ui-v6.sidebar-collapsed .main-content{margin-left:var(--v6-sidebar-collapsed)}
body.ui-v6 .page-content{width:min(100%,1680px);margin:0 auto;padding:18px 22px 46px}
body.ui-v6 .alert{width:min(calc(100% - 44px),1636px);margin:14px auto 0}

/* Sticky sidebar sections */
body.ui-v6 .sidebar-brand-row{min-height:54px;display:flex;align-items:center;gap:8px;padding:0 1px 12px;border-bottom:1px solid rgba(131,169,213,.12)}
body.ui-v6 .sidebar .brand{min-width:0;flex:1;display:flex;align-items:center;gap:10px;padding:0 2px;color:#fff}
body.ui-v6 .brand-mark-image{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.28)}
body.ui-v6 .brand-mark-image img{width:100%;height:100%;object-fit:cover;transform:scale(1.12)}
body.ui-v6 .brand-copy{min-width:0;line-height:1.02}
body.ui-v6 .brand-copy strong{display:block;color:#f9fbff;font-size:16px;font-weight:780;letter-spacing:-.025em}
body.ui-v6 .brand-copy small{display:block;margin-top:5px;color:#7893b6;font-size:8px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
body.ui-v6 .sidebar .icon-button{width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(140,179,227,.12);border-radius:10px;background:rgba(255,255,255,.045);color:#8ea7c8;box-shadow:none}
body.ui-v6 .sidebar .icon-button:hover{border-color:rgba(76,150,255,.4);background:rgba(38,132,255,.13);color:#dceaff;transform:none}
body.ui-v6 .sidebar .icon-button svg{width:16px;height:16px}
body.ui-v6 .nav-search{height:38px;display:flex;align-items:center;gap:8px;margin:11px 0 8px;padding:0 9px;border:1px solid rgba(120,164,217,.13);border-radius:10px;background:rgba(255,255,255,.035);color:#748eae}
body.ui-v6 .nav-search:focus-within{border-color:rgba(55,137,255,.55);background:rgba(31,93,166,.12);box-shadow:0 0 0 3px rgba(38,132,255,.08)}
body.ui-v6 .nav-search svg{width:15px;height:15px}
body.ui-v6 .nav-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#e8f1ff;font-size:11px}
body.ui-v6 .nav-search input::placeholder{color:#6e86a7}
body.ui-v6 .nav-search kbd{padding:2px 5px;border:1px solid rgba(137,173,217,.12);border-radius:5px;background:rgba(255,255,255,.03);color:#6f88aa;font-size:8px}
body.ui-v6 .sidebar-nav{flex:1;min-height:0;margin:0 -3px;padding:2px 3px 10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#203c60 transparent}
body.ui-v6 .sidebar-nav::-webkit-scrollbar{width:5px}
body.ui-v6 .sidebar-nav::-webkit-scrollbar-thumb{background:#203c60}
body.ui-v6 .nav-item,body.ui-v6 .nav-section summary{
  min-height:38px;
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  margin:2px 0;
  padding:7px 9px;
  border:1px solid transparent;
  border-radius:10px;
  color:#9db0c9;
  font-size:11px;
  font-weight:650;
  cursor:pointer;
  transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease;
}
body.ui-v6 .nav-item:hover,body.ui-v6 .nav-section summary:hover{color:#f5f9ff;background:rgba(42,102,172,.12);border-color:rgba(88,146,218,.12)}
body.ui-v6 .nav-item.active{color:#fff;border-color:rgba(53,143,255,.55);background:linear-gradient(90deg,rgba(22,101,211,.48),rgba(24,89,171,.2));box-shadow:0 8px 20px rgba(0,60,154,.18),inset 3px 0 0 #2f91ff}
body.ui-v6 .nav-icon{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:8px;background:rgba(125,160,205,.09);color:#94abc8;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
body.ui-v6 .nav-icon svg{width:14px;height:14px}
body.ui-v6 .nav-icon-home{background:rgba(42,131,255,.18);color:#55a4ff}
body.ui-v6 .nav-icon-dispatch{background:rgba(143,91,255,.18);color:#ad83ff}
body.ui-v6 .nav-icon-loads{background:rgba(36,196,230,.17);color:#3ad2ee}
body.ui-v6 .nav-icon-map{background:rgba(25,190,161,.18);color:#2fd3b7}
body.ui-v6 .nav-icon-people{background:rgba(255,145,47,.17);color:#ffad50}
body.ui-v6 .nav-icon-truck{background:rgba(39,132,255,.18);color:#66aaff}
body.ui-v6 .nav-icon-trailer{background:rgba(248,190,38,.17);color:#ffd15a}
body.ui-v6 .nav-icon-fuel{background:rgba(255,142,36,.18);color:#ffa148}
body.ui-v6 .nav-icon-book{background:rgba(141,92,255,.18);color:#ae85ff}
body.ui-v6 .nav-icon-border{background:rgba(255,84,99,.18);color:#ff7783}
body.ui-v6 .nav-icon-doc{background:rgba(35,196,230,.17);color:#4fd9ef}
body.ui-v6 .nav-icon-money{background:rgba(37,202,119,.18);color:#48dc8d}
body.ui-v6 .nav-icon-invoice{background:rgba(136,92,255,.18);color:#af83ff}
body.ui-v6 .nav-icon-wrench{background:rgba(255,103,51,.18);color:#ff885f}
body.ui-v6 .nav-icon-settings{background:rgba(100,129,171,.18);color:#a8b8ce}
body.ui-v6 .nav-icon-spark{background:linear-gradient(135deg,rgba(38,132,255,.22),rgba(147,86,255,.22));color:#9a91ff}
body.ui-v6 .nav-icon-bell{background:rgba(255,78,96,.18);color:#ff7481}
body.ui-v6 .nav-icon-task{background:rgba(35,189,164,.18);color:#46d7bf}
body.ui-v6 .nav-icon-report{background:rgba(80,118,255,.18);color:#83a1ff}
body.ui-v6 .nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ui-v6 .nav-count{margin-left:auto;min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px;border-radius:999px;background:#ff4f62;color:#fff;font-size:8px;box-shadow:0 5px 14px rgba(255,79,98,.28)}
body.ui-v6 .nav-section{margin:4px 0}
body.ui-v6 .nav-section summary{list-style:none;color:#8398b6;font-size:9px;font-weight:780;letter-spacing:.055em;text-transform:uppercase}
body.ui-v6 .nav-section summary::-webkit-details-marker{display:none}
body.ui-v6 .nav-section summary i{width:7px;height:7px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
body.ui-v6 .nav-section[open] summary i{transform:rotate(225deg)}
body.ui-v6 .nav-section>div{padding:1px 0 2px 13px;border-left:1px solid rgba(114,151,197,.12);margin-left:13px}
body.ui-v6 .nav-section>div .nav-item{padding-left:7px}
body.ui-v6 .sidebar-help{display:flex;align-items:center;gap:10px;margin:6px 0 10px;padding:11px;border:1px solid rgba(113,159,218,.14);border-radius:12px;background:linear-gradient(135deg,rgba(22,69,130,.25),rgba(10,35,71,.3));color:#d9e7fb}
body.ui-v6 .sidebar-help svg{width:23px;height:23px;color:#67adff}
body.ui-v6 .sidebar-help span{min-width:0;display:block}
body.ui-v6 .sidebar-help strong{display:block;font-size:10px}
body.ui-v6 .sidebar-help small{display:block;margin-top:2px;color:#738dad;font-size:8px}
body.ui-v6 .sidebar-help b{margin-left:auto;color:#7a99c0}
body.ui-v6 .sidebar-footer{min-height:54px;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid rgba(115,157,209,.12);border-radius:12px;background:rgba(255,255,255,.035)}
body.ui-v6 .sidebar-user-avatar{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#2c8fff,#6156f4);color:#fff;font-size:10px;font-weight:800;box-shadow:0 8px 20px rgba(35,112,255,.25)}
body.ui-v6 .sidebar-user-copy{min-width:0;display:block;line-height:1.15}
body.ui-v6 .sidebar-user-copy strong{display:block;overflow:hidden;color:#f5f9ff;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.ui-v6 .sidebar-user-copy small{display:block;margin-top:4px;color:#748eae;font-size:8px}
body.ui-v6 .sidebar-footer .icon-button{margin-left:auto}
body.ui-v6.sidebar-collapsed .brand-copy,body.ui-v6.sidebar-collapsed .nav-search input,body.ui-v6.sidebar-collapsed .nav-search kbd,body.ui-v6.sidebar-collapsed .nav-label,body.ui-v6.sidebar-collapsed .nav-count,body.ui-v6.sidebar-collapsed .nav-section summary i,body.ui-v6.sidebar-collapsed .sidebar-user-copy,body.ui-v6.sidebar-collapsed .sidebar-help span,body.ui-v6.sidebar-collapsed .sidebar-help b{display:none}
body.ui-v6.sidebar-collapsed .sidebar-brand-row{justify-content:center}
body.ui-v6.sidebar-collapsed .sidebar .brand{flex:0 0 auto}
body.ui-v6.sidebar-collapsed .sidebar-collapse{position:absolute;right:-1px;top:7px;opacity:0;pointer-events:none}
body.ui-v6.sidebar-collapsed .nav-search{justify-content:center;padding:0}
body.ui-v6.sidebar-collapsed .nav-item,body.ui-v6.sidebar-collapsed .nav-section summary{justify-content:center;padding:6px}
body.ui-v6.sidebar-collapsed .nav-section>div{padding:0;border:0;margin:0}
body.ui-v6.sidebar-collapsed .sidebar-help{justify-content:center;padding:10px}
body.ui-v6.sidebar-collapsed .sidebar-footer{justify-content:center;padding:8px}
body.ui-v6.sidebar-collapsed .sidebar-footer .icon-button{display:none}

/* Sticky top bar */
body.ui-v6 .topbar{
  position:sticky!important;
  top:0;
  z-index:80;
  min-height:var(--v6-topbar);
  display:grid;
  grid-template-columns:auto minmax(280px,1fr) auto;
  align-items:center;
  gap:16px;
  padding:10px 22px;
  border-bottom:1px solid rgba(112,154,204,.12);
  background:rgba(3,11,24,.88);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  backdrop-filter:blur(20px) saturate(140%);
}
body.ui-v6 .topbar.is-scrolled{box-shadow:0 12px 34px rgba(0,0,0,.28)}
body.ui-v6 .topbar-leading{min-width:0;display:flex;align-items:center;gap:11px}
body.ui-v6 .topbar-title{display:none}
body.ui-v6 .topbar .mobile-menu{display:none}
body.ui-v6 .command-trigger{width:min(100%,480px);height:40px;justify-self:start;display:flex;align-items:center;gap:10px;padding:0 11px;border:1px solid rgba(112,154,204,.17);border-radius:10px;background:#07172b;color:#8098b7;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);cursor:pointer}
body.ui-v6 .command-trigger:hover{border-color:rgba(64,143,255,.38);background:#0a1c34;color:#b9cae0}
body.ui-v6 .command-trigger svg{width:16px;height:16px;flex:0 0 16px}
body.ui-v6 .command-trigger span{min-width:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.ui-v6 .command-trigger kbd{margin-left:auto;padding:3px 6px;border:1px solid rgba(124,163,213,.13);border-radius:6px;background:rgba(255,255,255,.03);color:#7c94b3;font-size:8px}
body.ui-v6 .topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
body.ui-v6 .topbar .icon-button{width:39px;height:39px;display:grid;place-items:center;border:1px solid rgba(112,154,204,.16);border-radius:11px;background:#08182c;color:#93a8c3;box-shadow:none}
body.ui-v6 .topbar .icon-button:hover{border-color:rgba(54,139,255,.42);background:#0c213d;color:#e7f1ff;transform:none}
body.ui-v6 .notification-button{position:relative}
body.ui-v6 .notification-button svg{width:18px;height:18px}
body.ui-v6 .notification-button>span{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px;border:2px solid var(--v6-bg);border-radius:999px;background:#ff4156;color:#fff;font-size:8px;font-weight:800}
body.ui-v6 .autopilot-pill{min-height:40px;display:flex;align-items:center;gap:8px;padding:5px 10px 5px 6px;border:1px solid rgba(100,92,255,.36);border-radius:11px;background:linear-gradient(135deg,rgba(39,111,255,.22),rgba(106,70,230,.22));color:#dfe8ff;box-shadow:0 8px 22px rgba(33,67,188,.14)}
body.ui-v6 .autopilot-pill:hover{border-color:rgba(116,108,255,.68);background:linear-gradient(135deg,rgba(39,111,255,.32),rgba(106,70,230,.31))}
body.ui-v6 .autopilot-spark{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#2684ff,#7b4cff);color:#fff;font-size:14px;box-shadow:0 7px 18px rgba(71,77,255,.32)}
body.ui-v6 .autopilot-pill strong{display:block;font-size:9px}
body.ui-v6 .autopilot-pill small{display:block;margin-top:2px;color:#8399bd;font-size:7px}
body.ui-v6 .autopilot-pill b{min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:#ff5568;color:#fff;font-size:7px}
body.ui-v6 .profile-menu{position:relative}
body.ui-v6 .profile-menu summary{min-height:40px;display:flex;align-items:center;gap:8px;padding:5px 8px 5px 5px;border:1px solid rgba(112,154,204,.15);border-radius:11px;background:#07172b;cursor:pointer;list-style:none}
body.ui-v6 .profile-menu summary::-webkit-details-marker{display:none}
body.ui-v6 .profile-menu summary:hover{border-color:rgba(63,142,255,.34);background:#0b1d35}
body.ui-v6 .profile-menu .avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#6484ff,#7754e9);color:#fff;font-size:9px;font-weight:800}
body.ui-v6 .profile-copy{min-width:0;line-height:1.12}
body.ui-v6 .profile-copy strong{display:block;max-width:115px;overflow:hidden;color:#f5f8ff;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
body.ui-v6 .profile-copy small{display:block;margin-top:3px;color:#7088a8;font-size:7px}
body.ui-v6 .profile-menu summary i{width:7px;height:7px;border-right:1px solid #7891b1;border-bottom:1px solid #7891b1;transform:rotate(45deg)}
body.ui-v6 .profile-popover{position:absolute;top:calc(100% + 9px);right:0;z-index:120;width:230px;padding:9px;border:1px solid var(--v6-line);border-radius:13px;background:#0a1a30;box-shadow:0 22px 60px rgba(0,0,0,.45)}
body.ui-v6 .profile-popover>div{padding:8px 10px 11px;border-bottom:1px solid rgba(117,158,207,.13)}
body.ui-v6 .profile-popover strong{display:block;font-size:11px}
body.ui-v6 .profile-popover span{display:block;margin-top:4px;color:var(--v6-muted);font-size:9px}
body.ui-v6 .profile-popover a,body.ui-v6 .profile-popover button{width:100%;display:block;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#b5c6da;text-align:left;font-size:10px;cursor:pointer}
body.ui-v6 .profile-popover a:hover,body.ui-v6 .profile-popover button:hover{background:#112741;color:#fff}

/* Global surfaces and typography */
body.ui-v6 .eyebrow{color:#5fa6ff;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.ui-v6 h1,body.ui-v6 h2,body.ui-v6 h3,body.ui-v6 h4{color:var(--v6-text);letter-spacing:-.025em}
body.ui-v6 p,body.ui-v6 small,body.ui-v6 .muted{color:var(--v6-muted)}
body.ui-v6 .page-heading{margin:0 0 15px;padding:0;background:transparent}
body.ui-v6 .page-heading .ui-heading-copy{grid-template-columns:48px minmax(0,1fr);gap:12px}
body.ui-v6 .page-heading .ui-heading-icon{width:48px;height:48px;border:1px solid rgba(255,255,255,.04);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--tone,#2684ff) 28%,#0b1d35),#0a1a2f);color:var(--tone,#4d9cff);box-shadow:0 12px 26px color-mix(in srgb,var(--tone,#2684ff) 14%,transparent),inset 0 1px 0 rgba(255,255,255,.05)}
body.ui-v6 .page-heading h1{font-size:clamp(23px,2.1vw,31px)}
body.ui-v6 .page-heading p:not(.eyebrow){max-width:900px;color:#8197b4;font-size:11px;line-height:1.55}
body.ui-v6 .panel,body.ui-v6 .card,body.ui-v6 .form-section,body.ui-v6 .stat-card,body.ui-v6 .load-card,body.ui-v6 .mini-card,body.ui-v6 .choice-card,body.ui-v6 .permission-card,body.ui-v6 .mobile-record-card{
  border:1px solid var(--v6-line-soft)!important;
  border-radius:var(--v6-radius)!important;
  background:linear-gradient(180deg,rgba(13,32,57,.96),rgba(8,23,43,.97))!important;
  color:var(--v6-text);
  box-shadow:var(--v6-shadow)!important;
}
body.ui-v6 .panel{padding:17px}
body.ui-v6 .panel:hover,body.ui-v6 .load-card:hover,body.ui-v6 .mini-card:hover{border-color:rgba(62,134,221,.28)!important}
body.ui-v6 .panel-header{min-height:45px;margin-bottom:14px;border:0}
body.ui-v6 .panel-header h2,body.ui-v6 .panel-header h3{font-size:14px}
body.ui-v6 .panel-header p{color:#748ba9;font-size:9px}
body.ui-v6 .panel-header>.ui-section-copy,body.ui-v6 .form-section-head>.ui-section-copy,body.ui-v6 .section-title-row>.ui-section-copy{grid-template-columns:36px minmax(0,1fr);gap:9px}
body.ui-v6 .ui-section-icon{width:36px;height:36px;border:1px solid rgba(255,255,255,.035);border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--tone,#2684ff) 23%,#0b2039),#0b1b31);color:var(--tone,#55a3ff);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
body.ui-v6 .ui-section-icon svg{width:17px;height:17px}
body.ui-v6 .section-title-row{margin:8px 0 13px}
body.ui-v6 .soft-separator{border-color:rgba(116,157,205,.12)}
body.ui-v6 .text-link{color:#56a3ff!important}
body.ui-v6 .text-link:hover{color:#8bc0ff!important}
body.ui-v6 .empty,body.ui-v6 .empty-state{color:#6f87a8}

/* Tone system */
body.ui-v6 .tone-blue{--tone:#3c95ff;--tone-bg:rgba(38,132,255,.15)}
body.ui-v6 .tone-indigo{--tone:#7b72ff;--tone-bg:rgba(104,88,255,.15)}
body.ui-v6 .tone-violet{--tone:#a173ff;--tone-bg:rgba(145,91,255,.15)}
body.ui-v6 .tone-cyan{--tone:#36d2ef;--tone-bg:rgba(35,196,230,.15)}
body.ui-v6 .tone-teal{--tone:#3ad5bd;--tone-bg:rgba(36,182,164,.15)}
body.ui-v6 .tone-green{--tone:#44d988;--tone-bg:rgba(42,203,120,.15)}
body.ui-v6 .tone-amber{--tone:#ffca50;--tone-bg:rgba(255,190,38,.15)}
body.ui-v6 .tone-orange{--tone:#ff9c42;--tone-bg:rgba(255,139,37,.15)}
body.ui-v6 .tone-red{--tone:#ff7180;--tone-bg:rgba(255,77,94,.15)}
body.ui-v6 .tone-pink{--tone:#f27dba;--tone-bg:rgba(239,107,177,.15)}

/* Forms */
body.ui-v6 .form-stack{gap:14px}
body.ui-v6 .form-grid{gap:13px}
body.ui-v6 label>span,body.ui-v6 .field-title{color:#aebed2;font-size:9.5px;font-weight:730}
body.ui-v6 input:not([type=checkbox]):not([type=radio]),body.ui-v6 select,body.ui-v6 textarea{
  width:100%;
  min-height:42px;
  padding:9px 11px;
  border:1px solid rgba(112,154,204,.18)!important;
  border-radius:10px!important;
  background:#07172b!important;
  color:#eaf2ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.ui-v6 input::placeholder,body.ui-v6 textarea::placeholder{color:#5f7798}
body.ui-v6 select{color-scheme:dark}
body.ui-v6 select option{background:#081a31;color:#eaf2ff}
body.ui-v6 textarea{min-height:100px;line-height:1.55}
body.ui-v6 input:hover,body.ui-v6 select:hover,body.ui-v6 textarea:hover{border-color:rgba(69,143,236,.35)!important}
body.ui-v6 input:focus,body.ui-v6 select:focus,body.ui-v6 textarea:focus{border-color:#2d88ff!important;background:#091d36!important;outline:0!important;box-shadow:0 0 0 4px rgba(38,132,255,.11)!important}
body.ui-v6 input[type=file]{padding:6px;background:#07172b!important}
body.ui-v6 input[type=file]::file-selector-button{min-height:29px;margin-right:9px;padding:0 10px;border:1px solid rgba(83,146,229,.22);border-radius:8px;background:#102a4b;color:#80b7ff;font-size:9px;font-weight:700;cursor:pointer}
body.ui-v6 .toggle-option{min-height:42px;padding:9px 11px;border:1px solid rgba(112,154,204,.16)!important;border-radius:10px;background:#07182d!important;color:#b8c7d9}
body.ui-v6 .toggle-option:hover{border-color:rgba(64,144,250,.35)!important;background:#0a203b!important}
body.ui-v6 .toggle-option input[type=checkbox],body.ui-v6 .toggle-option input[type=radio]{width:17px;height:17px;accent-color:#2684ff}
body.ui-v6 .form-section{padding:16px;margin-bottom:13px}
body.ui-v6 .sticky-form-actions{bottom:12px;border-color:rgba(110,154,208,.19);background:rgba(7,20,39,.94);box-shadow:0 16px 42px rgba(0,0,0,.38);backdrop-filter:blur(18px)}

/* Buttons */
body.ui-v6 .btn{min-height:38px;padding:8px 13px;border-radius:10px;font-size:9.5px;font-weight:780;letter-spacing:.005em;box-shadow:none}
body.ui-v6 .btn:hover{transform:translateY(-1px)}
body.ui-v6 .btn-primary{border:1px solid #2c86ff!important;background:linear-gradient(135deg,#2787ff,#3159df)!important;color:#fff!important;box-shadow:0 10px 23px rgba(32,106,255,.22)!important}
body.ui-v6 .btn-primary:hover{border-color:#62a7ff!important;background:linear-gradient(135deg,#3994ff,#475ff0)!important;box-shadow:0 13px 29px rgba(32,106,255,.31)!important}
body.ui-v6 .btn-light,body.ui-v6 .btn-white{border:1px solid rgba(112,154,204,.2)!important;background:#0b203a!important;color:#c8d6e8!important}
body.ui-v6 .btn-light:hover,body.ui-v6 .btn-white:hover{border-color:rgba(83,151,240,.42)!important;background:#102b4c!important;color:#fff!important}
body.ui-v6 .btn-danger{border:1px solid rgba(255,89,105,.45)!important;background:rgba(255,67,86,.14)!important;color:#ff8791!important}
body.ui-v6 .btn-danger:hover{background:rgba(255,67,86,.24)!important;color:#fff!important}
body.ui-v6 .btn-sm{min-height:32px;padding:6px 9px;font-size:8.5px}
body.ui-v6 .ui-button-icon{width:15px;height:15px}

/* Tables */
body.ui-v6 .table-wrap{overflow:auto;border:1px solid rgba(112,154,204,.14)!important;border-radius:12px!important;background:#08192e!important;box-shadow:none!important}
body.ui-v6 table{border-collapse:collapse}
body.ui-v6 .table-wrap table{min-width:720px;background:transparent!important}
body.ui-v6 .table-wrap th{padding:10px 12px;border-bottom:1px solid rgba(112,154,204,.15);background:#0c2039!important;color:#738bab!important;font-size:8px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
body.ui-v6 .table-wrap td{padding:11px 12px;border-bottom:1px solid rgba(112,154,204,.1);background:transparent!important;color:#c8d4e5!important;font-size:9.5px;vertical-align:middle}
body.ui-v6 .table-wrap tbody tr{transition:background .14s ease}
body.ui-v6 .table-wrap tbody tr:hover{background:rgba(31,91,164,.12)!important}
body.ui-v6 .table-wrap tbody tr:last-child td{border-bottom:0}
body.ui-v6 .table-wrap td strong,body.ui-v6 .cell-primary{color:#eef5ff!important}
body.ui-v6 .table-wrap td small{color:#7188a7!important}
body.ui-v6 .table-wrap a:not(.btn){color:#59a5ff}
body.ui-v6 .badge{padding:4px 8px;border:1px solid transparent;border-radius:999px;font-size:7.5px;font-weight:800;letter-spacing:.02em}
body.ui-v6 .badge-blue,body.ui-v6 .badge-new,body.ui-v6 .badge-info{border-color:rgba(53,145,255,.22);background:rgba(41,127,255,.14);color:#6aafff}
body.ui-v6 .badge-green,body.ui-v6 .badge-success,body.ui-v6 .badge-paid,body.ui-v6 .badge-delivered{border-color:rgba(45,210,125,.2);background:rgba(38,198,113,.14);color:#57df95}
body.ui-v6 .badge-orange,body.ui-v6 .badge-warning,body.ui-v6 .badge-in_transit{border-color:rgba(255,159,49,.22);background:rgba(255,144,31,.14);color:#ffad55}
body.ui-v6 .badge-red,body.ui-v6 .badge-danger,body.ui-v6 .badge-overdue{border-color:rgba(255,84,100,.22);background:rgba(255,72,91,.14);color:#ff7d88}
body.ui-v6 .badge-purple,body.ui-v6 .badge-violet{border-color:rgba(145,92,255,.22);background:rgba(137,84,255,.14);color:#b293ff}
body.ui-v6 .table-actions form{display:inline-flex}

/* Notices and alerts */
body.ui-v6 .notice,body.ui-v6 .alert{border:1px solid rgba(112,154,204,.16);border-radius:12px;background:#0a1b31;color:#b8c8dc;box-shadow:none}
body.ui-v6 .notice-warning{border-color:rgba(255,164,45,.26);background:rgba(129,76,13,.16);color:#f2c77b}
body.ui-v6 .alert-success{border-color:rgba(48,208,123,.24);background:rgba(30,121,73,.15);color:#76e4aa}
body.ui-v6 .alert-danger{border-color:rgba(255,82,99,.26);background:rgba(132,39,50,.15);color:#ff9ca5}
body.ui-v6 .alert-info{border-color:rgba(50,141,255,.26);background:rgba(28,81,151,.16);color:#91c1ff}

/* Dashboard */
body.ui-v6 .dashboard-welcome{
  min-height:150px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  margin-bottom:14px;
  padding:22px 24px;
  overflow:hidden;
  border:1px solid rgba(73,139,224,.22);
  border-radius:18px;
  background:
    linear-gradient(90deg,rgba(12,40,80,.95),rgba(9,31,62,.86) 54%,rgba(14,44,84,.8)),
    radial-gradient(circle at 82% 45%,rgba(42,125,255,.3),transparent 24%);
  box-shadow:0 18px 44px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);
}
body.ui-v6 .dashboard-welcome::before{content:"";position:absolute;right:-30px;bottom:-72px;width:420px;height:220px;border:2px solid rgba(63,135,234,.16);border-radius:50%;transform:rotate(-12deg);box-shadow:0 0 0 24px rgba(56,126,220,.04),0 0 0 52px rgba(56,126,220,.025)}
body.ui-v6 .dashboard-welcome-copy{position:relative;z-index:2}
body.ui-v6 .dashboard-kicker{color:#62a7ff;font-size:8.5px}
body.ui-v6 .dashboard-welcome h1{margin:3px 0 5px;font-size:clamp(24px,2.4vw,34px)}
body.ui-v6 .dashboard-welcome h1 span{color:#ffbf36}
body.ui-v6 .dashboard-welcome-copy>p:not(.dashboard-kicker){max-width:680px;color:#91a8c5;font-size:10.5px}
body.ui-v6 .dashboard-health-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
body.ui-v6 .health-chip{min-width:145px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid rgba(106,153,211,.14);border-radius:10px;background:rgba(4,18,39,.42)}
body.ui-v6 .health-chip:hover{border-color:rgba(62,142,244,.34);background:rgba(10,35,69,.62)}
body.ui-v6 .health-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:rgba(48,128,255,.15);color:#55a4ff}
body.ui-v6 .health-icon.cyan{background:rgba(33,196,225,.14);color:#43d5ec}
body.ui-v6 .health-icon.green{background:rgba(41,202,119,.14);color:#4ee08f}
body.ui-v6 .health-icon.purple{background:rgba(143,90,255,.14);color:#ae84ff}
body.ui-v6 .health-icon svg{width:15px;height:15px}
body.ui-v6 .health-chip strong{display:block;color:#e7effb;font-size:9px}
body.ui-v6 .health-chip small{display:block;margin-top:2px;color:#7188a8;font-size:7px}
body.ui-v6 .dashboard-welcome-side{position:relative;z-index:2;align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:12px}
body.ui-v6 .dashboard-welcome-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.ui-v6 .dashboard-revenue-pill{min-width:190px;padding:9px 11px;border:1px solid rgba(110,156,214,.16);border-radius:10px;background:rgba(5,19,41,.5);text-align:right}
body.ui-v6 .dashboard-revenue-pill span{display:block;color:#728aaa;font-size:7px;text-transform:uppercase;letter-spacing:.08em}
body.ui-v6 .dashboard-revenue-pill strong{display:block;margin-top:4px;color:#42dc8a;font-size:17px}
body.ui-v6 .dashboard-route-art{right:30px;bottom:-7px;opacity:.7}
body.ui-v6 .dashboard-route-art svg{color:#3f96ff}
body.ui-v6 .dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}
body.ui-v6 .metric-card{position:relative;min-height:105px;display:grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:11px;padding:14px;border:1px solid rgba(112,154,204,.16);border-radius:14px;background:linear-gradient(180deg,#0d213b,#091a30);box-shadow:var(--v6-shadow);overflow:hidden}
body.ui-v6 .metric-card::after{content:"";position:absolute;right:-10px;bottom:-16px;width:100px;height:55px;border-top:1.5px solid currentColor;border-radius:50%;opacity:.2;transform:rotate(-7deg)}
body.ui-v6 .metric-card:hover{transform:translateY(-2px);border-color:rgba(65,142,239,.34);box-shadow:var(--v6-shadow-hover)}
body.ui-v6 .metric-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:rgba(38,132,255,.17);color:#4f9fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
body.ui-v6 .metric-icon svg{width:21px;height:21px}
body.ui-v6 .metric-content small{display:block;color:#9fb1c8;font-size:9px}
body.ui-v6 .metric-content strong{display:block;margin:3px 0;color:#f6f9ff;font-size:24px;line-height:1}
body.ui-v6 .metric-content em{display:block;color:#6f87a7;font-size:7.5px;font-style:normal}
body.ui-v6 .metric-purple .metric-icon{background:rgba(145,91,255,.17);color:#ad80ff}
body.ui-v6 .metric-green .metric-icon{background:rgba(74,205,61,.17);color:#7dde61}
body.ui-v6 .metric-indigo .metric-icon{background:rgba(76,105,255,.17);color:#7791ff}
body.ui-v6 .metric-orange .metric-icon{background:rgba(255,112,37,.17);color:#ff8f4b}
body.ui-v6 .metric-emerald .metric-icon{background:rgba(41,204,119,.17);color:#4cde8f}
body.ui-v6 .metric-rose .metric-icon{background:rgba(255,74,91,.17);color:#ff7380}
body.ui-v6 .metric-violet .metric-icon{background:rgba(144,88,255,.17);color:#af80ff}
body.ui-v6 .dashboard-primary-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.72fr);gap:13px;margin-bottom:13px}
body.ui-v6 .dashboard-secondary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px;margin-bottom:13px}
body.ui-v6 .dashboard-card{padding:15px}
body.ui-v6 .dashboard-card-header{min-height:38px;margin-bottom:12px}
body.ui-v6 .dashboard-card-header>div{display:flex;align-items:center;gap:9px}
body.ui-v6 .dashboard-card-header h2{font-size:13px}
body.ui-v6 .dashboard-card-header p{font-size:8px}
body.ui-v6 .section-icon{width:34px;height:34px;border-radius:10px;background:rgba(38,132,255,.16);color:#55a4ff}
body.ui-v6 .section-icon.indigo{background:rgba(107,85,255,.16);color:#8d80ff}
body.ui-v6 .section-icon.orange{background:rgba(255,129,35,.16);color:#ff9e4b}
body.ui-v6 .section-icon.cyan{background:rgba(35,196,230,.16);color:#4ed9ef}
body.ui-v6 .dashboard-table-wrap{border-radius:10px!important}
body.ui-v6 .dashboard-load-table{min-width:680px!important}
body.ui-v6 .dashboard-load-table th{background:#0b1e36!important}
body.ui-v6 .load-id{color:#4ea1ff!important;font-size:10px;font-weight:800}
body.ui-v6 .route-copy{color:#8ba0bb!important;font-size:8px}
body.ui-v6 .row-action{width:25px;height:25px;display:grid;place-items:center;border:1px solid rgba(111,153,202,.15);border-radius:7px;background:#0d233f;color:#7aa9e5!important;font-size:17px}
body.ui-v6 .workflow-list li{border-color:rgba(109,153,204,.13)}
body.ui-v6 .workflow-list li>span{background:linear-gradient(135deg,#2684ff,#6556ee);box-shadow:0 7px 18px rgba(36,108,255,.22)}
body.ui-v6 .workflow-list strong{color:#dfe8f7}
body.ui-v6 .workflow-list p{color:#7389a8;font-size:8.5px}
body.ui-v6 .dashboard-list-item{border-color:rgba(111,153,203,.13);background:#0a1c33}
body.ui-v6 .dashboard-list-item:hover{border-color:rgba(65,143,244,.32);background:#0d2441}
body.ui-v6 .dashboard-list-item strong{color:#e4edf9}
body.ui-v6 .dashboard-list-item small{color:#7289a7}
body.ui-v6 .activity-item{border-color:rgba(111,153,203,.1)}
body.ui-v6 .activity-item strong{color:#e6eef9}
body.ui-v6 .activity-item small{color:#7087a5}
body.ui-v6 .mobile-quick-actions{display:none}
body.ui-v6 .dashboard-visual-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:13px;margin-bottom:13px}
body.ui-v6 .dashboard-map-panel,body.ui-v6 .dashboard-status-panel{min-height:220px}
body.ui-v6 .fleet-map-visual{position:relative;height:165px;overflow:hidden;border:1px solid rgba(88,144,211,.15);border-radius:12px;background:radial-gradient(circle at 50% 45%,rgba(38,132,255,.1),transparent 45%),linear-gradient(135deg,#07192f,#0a213d)}
body.ui-v6 .fleet-map-visual::before{content:"";position:absolute;inset:12px;background-image:linear-gradient(rgba(95,137,187,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(95,137,187,.08) 1px,transparent 1px);background-size:30px 30px;transform:skew(-8deg);mask-image:radial-gradient(ellipse at center,#000 35%,transparent 80%)}
body.ui-v6 .fleet-route{position:absolute;left:12%;right:10%;top:46%;height:54px;border-top:3px solid #318cff;border-radius:50%;transform:rotate(-6deg);filter:drop-shadow(0 0 6px rgba(45,139,255,.55))}
body.ui-v6 .fleet-route::before,body.ui-v6 .fleet-route::after{content:"";position:absolute;width:10px;height:10px;border:3px solid #4ba1ff;border-radius:50%;background:#091a30;box-shadow:0 0 0 5px rgba(60,153,255,.13)}
body.ui-v6 .fleet-route::before{left:5%;top:-7px}
body.ui-v6 .fleet-route::after{right:7%;top:-7px;border-color:#46d58c;box-shadow:0 0 0 5px rgba(51,207,126,.13)}
body.ui-v6 .fleet-map-label{position:absolute;color:#c6d6e9;font-size:8px;font-weight:700}
body.ui-v6 .fleet-map-label.start{left:12%;top:64%}
body.ui-v6 .fleet-map-label.end{right:11%;top:27%}
body.ui-v6 .fleet-map-truck{position:absolute;left:48%;top:41%;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#2684ff,#5c5af2);color:#fff;box-shadow:0 9px 20px rgba(38,132,255,.3)}
body.ui-v6 .fleet-map-truck svg{width:17px;height:17px}
body.ui-v6 .status-overview{height:165px;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:18px}
body.ui-v6 .status-donut{--progress:72%;position:relative;width:138px;height:138px;margin:auto;border-radius:50%;background:conic-gradient(#318cff 0 37%,#32cb80 37% 58%,#28b9a7 58% 75%,#8e62ff 75% 89%,#ff9a2e 89% 100%);box-shadow:0 0 36px rgba(38,132,255,.12)}
body.ui-v6 .status-donut::after{content:"";position:absolute;inset:24px;border-radius:50%;background:#091a30;box-shadow:inset 0 0 0 1px rgba(116,158,207,.13)}
body.ui-v6 .status-donut-center{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center}
body.ui-v6 .status-donut-center strong{font-size:25px}
body.ui-v6 .status-donut-center span{color:#7188a7;font-size:8px}
body.ui-v6 .status-legend{display:grid;gap:9px}
body.ui-v6 .status-legend span{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;color:#aebdd0;font-size:9px}
body.ui-v6 .status-legend i{width:8px;height:8px;border-radius:2px;background:#318cff}
body.ui-v6 .status-legend span:nth-child(2) i{background:#32cb80}
body.ui-v6 .status-legend span:nth-child(3) i{background:#28b9a7}
body.ui-v6 .status-legend span:nth-child(4) i{background:#8e62ff}
body.ui-v6 .status-legend span:nth-child(5) i{background:#ff9a2e}
body.ui-v6 .status-legend b{color:#e4edf9;font-size:9px}

/* AI and special workspaces */
body.ui-v6 .ai-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:13px}
body.ui-v6 .ai-side-stack{gap:13px}
body.ui-v6 .ai-file-drop{border-color:rgba(68,143,237,.32);background:linear-gradient(180deg,#0a203a,#07182d)}
body.ui-v6 .ai-prompt-chips button{border-color:rgba(105,149,204,.18);background:#0b2039;color:#8eb0db}
body.ui-v6 .ai-prompt-chips button:hover{border-color:rgba(62,143,244,.4);background:#102b4b;color:#c9e0ff}
body.ui-v6 .ai-status{border-color:rgba(39,202,117,.22);background:rgba(38,177,105,.13);color:#5edd98}
body.ui-v6 .ai-orb{background:linear-gradient(135deg,#2684ff,#8059ff);box-shadow:0 14px 34px rgba(58,88,255,.25)}
body.ui-v6 .ai-answer,body.ui-v6 .ai-json{border-color:rgba(110,153,203,.16);background:#061526;color:#d6e3f4}
body.ui-v6 .ai-field{border-color:rgba(110,153,203,.14);background:#0a1c33}
body.ui-v6 .ai-field span{color:#728aaa}
body.ui-v6 .ai-field strong{color:#eef5ff}
body.ui-v6 .hos-driver-card{border-color:rgba(111,154,203,.16);background:linear-gradient(180deg,#0c2039,#08192f)}
body.ui-v6 .hos-driver-card h3{color:#edf4ff}
body.ui-v6 .hos-mini-clocks>div{border-color:rgba(110,153,203,.13);background:#07172b}
body.ui-v6 .hos-mini-clocks strong{color:#f4f8ff}
body.ui-v6 .hos-driver-card.near-limit{border-color:rgba(255,160,44,.38)}
body.ui-v6 .hos-driver-card.has-violation{border-color:rgba(255,76,92,.42)}
body.ui-v6 .fuel-summary-card,body.ui-v6 .border-card,body.ui-v6 .maintenance-card{background:linear-gradient(180deg,#0d213b,#091a30)!important}
body.ui-v6 .calendar-grid,body.ui-v6 .dispatch-board{color:#c9d7e8}
body.ui-v6 .kanban-column,body.ui-v6 .calendar-day{border-color:rgba(111,153,203,.15);background:#08192f}
body.ui-v6 .load-card{background:linear-gradient(180deg,#0d213b,#091a30)!important}
body.ui-v6 .invoice-view,body.ui-v6 .invoice-paper{color:#17233a;background:#fff!important}
body.ui-v6 .invoice-view p,body.ui-v6 .invoice-view small,body.ui-v6 .invoice-paper p,body.ui-v6 .invoice-paper small{color:#64748b}

/* Command palette */
body.ui-v6 .command-palette{position:fixed;inset:0;z-index:300;display:grid;place-items:start center;padding:8vh 18px;background:rgba(0,6,16,.72);backdrop-filter:blur(13px)}
body.ui-v6 .command-palette[hidden]{display:none!important}
body.ui-v6 .command-backdrop{position:absolute;inset:0;border:0;background:transparent}
body.ui-v6 .command-palette section{position:relative;z-index:1;width:min(720px,100%);overflow:hidden;border:1px solid rgba(103,150,208,.24);border-radius:18px;background:#091a30;box-shadow:0 32px 100px rgba(0,0,0,.6)}
body.ui-v6 .command-close{position:absolute;top:10px;right:10px;z-index:2;width:31px;height:31px;border:1px solid rgba(111,153,203,.16);border-radius:9px;background:#0d233e;color:#849dbc;font-size:19px;cursor:pointer}
body.ui-v6 .command-input{min-height:64px;border-color:rgba(111,153,203,.14);background:#0b1e36}
body.ui-v6 .command-input input{background:transparent!important;border:0!important;box-shadow:none!important;font-size:17px}
body.ui-v6 .command-shortcuts{background:#091a30}
body.ui-v6 .command-shortcuts>span{color:#6f87a7}
body.ui-v6 .command-shortcuts a{color:#c1d0e3}
body.ui-v6 .command-shortcuts a:hover{background:#102843;color:#fff}

/* Mobile dock */
body.ui-v6 .mobile-dock{display:none}

/* Responsive */
@media (max-width:1280px){
  body.ui-v6 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .dashboard-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .activity-card{grid-column:1/-1}
  body.ui-v6 .form-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){
  body.ui-v6{overflow:auto}
  body.ui-v6 .sidebar{width:min(310px,86vw);transform:translateX(-102%);box-shadow:24px 0 70px rgba(0,0,0,.48)}
  body.ui-v6.sidebar-open .sidebar{transform:translateX(0)}
  body.ui-v6 .main-content,body.ui-v6.sidebar-collapsed .main-content{height:auto;min-height:100dvh;margin-left:0;overflow:visible}
  body.ui-v6 .sidebar-close{display:grid!important}
  body.ui-v6 .sidebar-collapse{display:none!important}
  body.ui-v6 .topbar{grid-template-columns:auto minmax(0,1fr) auto;padding:9px 14px}
  body.ui-v6 .topbar .mobile-menu{display:flex;width:38px;height:38px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(112,154,204,.16);border-radius:10px;background:#07182d}
  body.ui-v6 .topbar .mobile-menu span{width:16px;height:1.5px;border-radius:2px;background:#94aac5}
  body.ui-v6 .command-trigger{width:100%}
  body.ui-v6 .page-content{padding:16px 16px 84px}
  body.ui-v6 .alert{width:calc(100% - 32px)}
  body.ui-v6 .dashboard-primary-grid{grid-template-columns:1fr}
  body.ui-v6 .workflow-card{display:none}
  body.ui-v6 .ai-grid{grid-template-columns:1fr}
  body.ui-v6 .dashboard-visual-grid{grid-template-columns:1fr}
  body.ui-v6 .form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .content-grid.three,body.ui-v6 .three-col{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .sidebar-backdrop{position:fixed;inset:0;z-index:90;display:block;border:0;background:rgba(0,5,14,.64);opacity:0;pointer-events:none;transition:opacity .2s ease}
  body.ui-v6.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}
  body.ui-v6 .mobile-dock{position:fixed;inset:auto 0 0 0;z-index:75;display:grid;grid-template-columns:repeat(5,1fr);min-height:64px;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid rgba(112,154,204,.16);background:rgba(5,15,30,.94);box-shadow:0 -16px 38px rgba(0,0,0,.28);backdrop-filter:blur(20px)}
  body.ui-v6 .mobile-dock a,body.ui-v6 .mobile-dock button{position:relative;min-width:0;display:grid;place-items:center;gap:2px;padding:5px 2px;border:0;border-radius:9px;background:transparent;color:#7089aa;font-size:7px;cursor:pointer}
  body.ui-v6 .mobile-dock svg{width:20px;height:20px}
  body.ui-v6 .mobile-dock .is-active{color:#56a4ff;background:rgba(38,132,255,.1)}
  body.ui-v6 .mobile-dock b{position:absolute;top:1px;left:calc(50% + 6px);min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border:2px solid #071426;border-radius:999px;background:#ff4b5e;color:#fff;font-size:7px}
}
@media (max-width:760px){
  body.ui-v6 .topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
  body.ui-v6 .command-trigger span,body.ui-v6 .command-trigger kbd{display:none}
  body.ui-v6 .command-trigger{width:39px;justify-content:center;justify-self:start;padding:0}
  body.ui-v6 .autopilot-pill span:not(.autopilot-spark),body.ui-v6 .profile-copy{display:none}
  body.ui-v6 .autopilot-pill{padding:5px}
  body.ui-v6 .dashboard-welcome{grid-template-columns:1fr;padding:18px}
  body.ui-v6 .dashboard-welcome-side{align-items:stretch}
  body.ui-v6 .dashboard-welcome-actions{justify-content:flex-start}
  body.ui-v6 .dashboard-revenue-pill{min-width:0;text-align:left}
  body.ui-v6 .dashboard-health-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .health-chip{min-width:0}
  body.ui-v6 .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.ui-v6 .metric-card{min-height:96px;grid-template-columns:38px minmax(0,1fr);padding:11px;gap:9px}
  body.ui-v6 .metric-icon{width:38px;height:38px}
  body.ui-v6 .metric-content strong{font-size:20px}
  body.ui-v6 .dashboard-secondary-grid{grid-template-columns:1fr}
  body.ui-v6 .activity-card{grid-column:auto}
  body.ui-v6 .page-heading{align-items:flex-start}
  body.ui-v6 .page-heading,.body.ui-v6 .page-heading>div{width:100%}
  body.ui-v6 .page-heading .ui-heading-copy{grid-template-columns:42px minmax(0,1fr)}
  body.ui-v6 .page-heading .ui-heading-icon{width:42px;height:42px}
  body.ui-v6 .page-actions{width:100%;justify-content:flex-start}
  body.ui-v6 .form-grid.two,body.ui-v6 .form-grid.three,body.ui-v6 .form-grid.four,body.ui-v6 .content-grid.two,body.ui-v6 .content-grid.three,body.ui-v6 .two-col,body.ui-v6 .three-col{grid-template-columns:1fr!important}
  body.ui-v6 .panel{padding:14px}
  body.ui-v6 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .status-overview{grid-template-columns:1fr;height:auto}
  body.ui-v6 .status-donut{width:128px;height:128px}
  body.ui-v6 .status-legend{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v6 .table-wrap{border:0!important;background:transparent!important;overflow:visible}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"],body.ui-v6 .table-wrap table.ui-table-v5{min-width:0!important;width:100%;display:block}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] thead,body.ui-v6 .table-wrap table.ui-table-v5 thead{display:none}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] tbody,body.ui-v6 .table-wrap table.ui-table-v5 tbody{display:grid;gap:10px}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] tr,body.ui-v6 .table-wrap table.ui-table-v5 tr{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:13px;border:1px solid rgba(111,153,203,.15);border-radius:13px;background:linear-gradient(180deg,#0d213b,#091a30);box-shadow:0 10px 25px rgba(0,0,0,.16)}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] td,body.ui-v6 .table-wrap table.ui-table-v5 td{display:block;padding:0!important;border:0!important;background:transparent!important;font-size:9.5px}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] td::before,body.ui-v6 .table-wrap table.ui-table-v5 td::before{content:attr(data-label);display:block;margin-bottom:3px;color:#647d9e;font-size:7px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] td:first-child,body.ui-v6 .table-wrap table.ui-table-v5 td:first-child{grid-column:1/-1}
  body.ui-v6 .table-wrap table[data-responsive-ready="1"] td.table-actions,body.ui-v6 .table-wrap table.ui-table-v5 td.table-actions{grid-column:1/-1;display:flex;justify-content:flex-start;padding-top:4px!important}
  body.ui-v6 .dashboard-table-wrap{overflow-x:auto!important;border:1px solid rgba(111,153,203,.13)!important;background:#08192e!important}
  body.ui-v6 .dashboard-load-table{min-width:660px!important;display:table!important}
  body.ui-v6 .dashboard-load-table thead{display:table-header-group!important}
  body.ui-v6 .dashboard-load-table tbody{display:table-row-group!important}
  body.ui-v6 .dashboard-load-table tr{display:table-row!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.ui-v6 .dashboard-load-table td{display:table-cell!important;padding:10px!important;border-bottom:1px solid rgba(111,153,203,.1)!important}
  body.ui-v6 .dashboard-load-table td::before{display:none!important}
  body.ui-v6 .sticky-form-actions{position:static;width:100%;margin-top:15px}
}
@media (max-width:460px){
  body.ui-v6 .page-content{padding:13px 12px 82px}
  body.ui-v6 .dashboard-welcome{padding:15px;border-radius:15px}
  body.ui-v6 .dashboard-welcome h1{font-size:23px}
  body.ui-v6 .dashboard-health-row{grid-template-columns:1fr}
  body.ui-v6 .dashboard-metrics{grid-template-columns:1fr 1fr}
  body.ui-v6 .metric-card{grid-template-columns:35px minmax(0,1fr);padding:10px}
  body.ui-v6 .metric-icon{width:35px;height:35px}
  body.ui-v6 .metric-content small{font-size:8px}
  body.ui-v6 .metric-content strong{font-size:19px}
  body.ui-v6 .metric-content em{font-size:6.5px}
  body.ui-v6 .stats-grid{grid-template-columns:1fr}
  body.ui-v6 .status-legend{grid-template-columns:1fr}
  body.ui-v6 .dashboard-welcome-actions .btn{flex:1}
  body.ui-v6 .topbar{padding-inline:10px}
}

@media (prefers-reduced-motion:reduce){
  body.ui-v6 *,body.ui-v6 *::before,body.ui-v6 *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* Authentication surfaces */
body.ui-v6.auth-body{min-height:100dvh;overflow:auto;background:radial-gradient(circle at 82% 18%,rgba(38,132,255,.18),transparent 30%),radial-gradient(circle at 20% 85%,rgba(113,77,255,.13),transparent 30%),linear-gradient(135deg,#020817,#06152a 54%,#071a34);color:var(--v6-text)}
body.ui-v6 .auth-wrapper{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,.72fr) minmax(520px,1.28fr);gap:0;background:transparent}
body.ui-v6 .auth-card{width:min(520px,100%);align-self:center;justify-self:center;margin:28px;padding:34px;border:1px solid rgba(111,154,205,.18);border-radius:22px;background:linear-gradient(180deg,rgba(13,32,57,.97),rgba(7,22,42,.98));box-shadow:0 28px 90px rgba(0,0,0,.48)}
body.ui-v6 .auth-logo{display:inline-flex;margin-bottom:26px;padding:10px 13px;border:1px solid rgba(111,154,205,.13);border-radius:13px;background:#fff}
body.ui-v6 .auth-logo img{width:190px;height:auto}
body.ui-v6 .auth-card h1{font-size:33px;color:#f7faff}
body.ui-v6 .auth-card>.muted{margin:8px 0 24px;color:#8198b7;line-height:1.65}
body.ui-v6 .auth-card .alert{width:auto;margin:0 0 16px}
body.ui-v6 .auth-card .btn-block{width:100%;min-height:44px;margin-top:3px}
body.ui-v6 .auth-help{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(112,154,204,.13);color:#6f87a7;font-size:9px}
body.ui-v6 .auth-help a{color:#62a8ff}
body.ui-v6 .auth-hero{display:grid;place-items:center;min-height:100dvh;padding:40px;background:linear-gradient(135deg,rgba(4,15,32,.22),rgba(7,26,54,.65)),radial-gradient(circle at 65% 35%,rgba(34,126,255,.22),transparent 32%)}
body.ui-v6 .hero-panel{width:min(720px,100%);padding:42px;border:1px solid rgba(107,154,211,.18);border-radius:26px;background:linear-gradient(145deg,rgba(13,42,83,.72),rgba(6,21,44,.78));box-shadow:0 28px 90px rgba(0,0,0,.33);backdrop-filter:blur(15px)}
body.ui-v6 .hero-panel h2{max-width:620px;margin:7px 0 28px;font-size:clamp(34px,4vw,56px);line-height:1.05;color:#f4f8ff}
body.ui-v6 .hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-v6 .hero-grid>div{padding:17px;border:1px solid rgba(111,154,205,.15);border-radius:14px;background:rgba(6,22,45,.6)}
body.ui-v6 .hero-grid strong{display:block;color:#e9f2ff;font-size:12px}
body.ui-v6 .hero-grid span{display:block;margin-top:5px;color:#7991b0;font-size:9px}
@media (max-width:900px){body.ui-v6 .auth-wrapper{grid-template-columns:1fr}body.ui-v6 .auth-hero{display:none}body.ui-v6 .auth-card{margin:20px auto}}
@media (max-width:560px){body.ui-v6 .auth-card{margin:0;min-height:100dvh;width:100%;padding:26px 20px;border:0;border-radius:0;display:flex;flex-direction:column;justify-content:center}body.ui-v6 .auth-help{align-items:flex-start;flex-direction:column}}

/* Remaining inner-page surfaces */
body.ui-v6 .form-panel,body.ui-v6 .table-card{border:1px solid var(--v6-line-soft)!important;border-radius:var(--v6-radius)!important;background:linear-gradient(180deg,rgba(13,32,57,.96),rgba(8,23,43,.97))!important;box-shadow:var(--v6-shadow)!important}
body.ui-v6 .card-header,body.ui-v6 .filter-bar,body.ui-v6 .toolbar,body.ui-v6 .search-bar,body.ui-v6 .action-bar{border-color:rgba(111,153,203,.14)!important;background:#0a1c33!important;color:#c8d5e6!important}
body.ui-v6 .filter-bar,body.ui-v6 .toolbar{padding:10px;border:1px solid rgba(111,153,203,.14);border-radius:12px}
body.ui-v6 .tabs,body.ui-v6 .tab-list,body.ui-v6 .detail-tabs{border-color:rgba(111,153,203,.14)!important;background:#08192f!important}
body.ui-v6 .tabs a,body.ui-v6 .tabs button,body.ui-v6 .tab-list a,body.ui-v6 .detail-tabs a{color:#8299b7!important}
body.ui-v6 .tabs a.active,body.ui-v6 .tabs button.active,body.ui-v6 .tab-list a.active,body.ui-v6 .detail-tabs a.active{border-color:#318cff!important;background:rgba(38,132,255,.13)!important;color:#76b6ff!important}
body.ui-v6 details.panel>summary{color:#dce7f5}
body.ui-v6 details.panel>summary b{color:#69abff}
body.ui-v6 .mini-list>*,body.ui-v6 .info-list>*,body.ui-v6 .temperature-log-item,body.ui-v6 .action-meta,body.ui-v6 .phone-stop{border-color:rgba(111,153,203,.13)!important;background:#08192f!important;color:#c9d6e7!important}
body.ui-v6 .mini-list strong,body.ui-v6 .info-list strong,body.ui-v6 .temperature-log-item strong{color:#edf4ff!important}
body.ui-v6 .permission-option,body.ui-v6 .option-grid>*,body.ui-v6 .choice-card{border-color:rgba(111,153,203,.14)!important;background:#091b32!important;color:#c5d3e4!important}
body.ui-v6 .permission-option:hover,body.ui-v6 .option-grid>*:hover,body.ui-v6 .choice-card:hover{border-color:rgba(62,142,244,.33)!important;background:#0d2441!important}
body.ui-v6 .section-chip{border-color:rgba(91,145,213,.18)!important;background:#0e2746!important;color:#85b9ff!important}
body.ui-v6 .reefer-badge{border-color:rgba(45,199,230,.22)!important;background:rgba(35,196,230,.14)!important;color:#55d9ef!important}
body.ui-v6 .text-danger{color:#ff7582!important}
body.ui-v6 .text-success{color:#52dd91!important}
body.ui-v6 .hos-clock-card{border-color:rgba(111,153,203,.15)!important;background:linear-gradient(180deg,#0c2039,#08192f)!important}
body.ui-v6 .hos-clock-progress{background:#061426!important}
body.ui-v6 .hos-clock-progress span{background:linear-gradient(90deg,#2684ff,#7761ff)!important}
body.ui-v6 .hos-status-button{border-color:rgba(111,153,203,.18)!important;background:#0a1e37!important;color:#acc0d8!important}
body.ui-v6 .hos-status-button:hover,body.ui-v6 .hos-status-button.active{border-color:rgba(53,143,255,.45)!important;background:rgba(38,132,255,.16)!important;color:#fff!important}
body.ui-v6 .policy-icon{background:rgba(38,132,255,.15)!important;color:#5ca7ff!important}
body.ui-v6 .pagination a,body.ui-v6 .pagination span{border-color:rgba(111,153,203,.16)!important;background:#0a1e37!important;color:#8ea7c5!important}
body.ui-v6 .pagination .active,body.ui-v6 .pagination a:hover{border-color:#318cff!important;background:rgba(38,132,255,.18)!important;color:#fff!important}
body.ui-v6 hr{border-color:rgba(111,153,203,.13)}
body.ui-v6 code,body.ui-v6 pre{border-color:rgba(111,153,203,.15);background:#051426;color:#cfe1f7}

/* Load workspace and detail rails */
body.ui-v6 .load-editor-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.65fr);align-items:start;gap:13px}
body.ui-v6 .load-side-rail{position:sticky;top:calc(var(--v6-topbar) + 14px);align-content:start;gap:13px}
body.ui-v6 .financial-summary-list{display:grid;gap:7px;margin-bottom:11px}
body.ui-v6 .financial-summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid rgba(111,153,203,.12);border-radius:10px;background:#07182d}
body.ui-v6 .financial-summary-list span{color:#7189a8;font-size:8px}
body.ui-v6 .financial-summary-list strong{color:#edf4ff;font-size:11px}
body.ui-v6 .financial-summary-list .total{border-color:rgba(43,205,122,.22);background:rgba(30,124,73,.13)}
body.ui-v6 .financial-summary-list .total strong{color:#4ede91}
body.ui-v6 .financial-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:13px}
body.ui-v6 .financial-preview>div{padding:10px;border:1px solid rgba(111,153,203,.13);border-radius:10px;background:#07182d}
body.ui-v6 .financial-preview span{display:block;color:#7189a8;font-size:7px;text-transform:uppercase;letter-spacing:.07em}
body.ui-v6 .financial-preview strong{display:block;margin-top:4px;color:#edf4ff;font-size:13px}
body.ui-v6 .reefer-reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
body.ui-v6 .reefer-reading-grid>div{padding:10px;border:1px solid rgba(44,199,230,.13);border-radius:10px;background:rgba(14,62,76,.14)}
body.ui-v6 .reefer-reading-grid span{display:block;color:#6e91a4;font-size:7px;text-transform:uppercase}
body.ui-v6 .reefer-reading-grid strong{display:block;margin-top:4px;color:#60d9ed;font-size:12px}
body.ui-v6 .location-card{padding:12px;border:1px solid rgba(53,143,255,.15);border-radius:11px;background:#07182d}
body.ui-v6 .location-card strong{display:block;color:#e7f1ff}
body.ui-v6 .location-card span,body.ui-v6 .location-card small{display:block;margin-top:4px;color:#7189a8;font-size:8px}
body.ui-v6 .timeline>div{border-color:rgba(111,153,203,.13)}
body.ui-v6 .timeline>div>span{background:#318cff;box-shadow:0 0 0 4px rgba(49,140,255,.12)}
body.ui-v6 .timeline strong{color:#e6eef9}
body.ui-v6 .timeline p{color:#7189a8}
body.ui-v6 .stop-row{border-color:rgba(111,153,203,.13)!important;background:#07182d!important}
body.ui-v6 .linked-documents{margin-top:13px;padding:16px;border:1px solid rgba(111,153,203,.14);border-radius:14px;background:linear-gradient(180deg,#0d213b,#091a30)}
body.ui-v6 .linked-documents h3{margin-top:0}
@media(max-width:1180px){body.ui-v6 .load-editor-grid{grid-template-columns:1fr}body.ui-v6 .load-side-rail{position:static}body.ui-v6 .financial-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.ui-v6 .financial-preview,body.ui-v6 .reefer-reading-grid{grid-template-columns:1fr}}
