/* Fleet 1085 — full light/dark contrast + Ops Brief palette choices */
:root{
  --fleet-accent:#ed1b2f;
  --fleet-accent-2:#ff3348;
  --fleet-light-bg:#ffffff;
  --fleet-light-card:#ffffff;
  --fleet-light-ink:#111820;
  --fleet-light-muted:#607080;
  --fleet-light-line:#dbe3e9;
  --fleet-dark-bg:#0b141d;
  --fleet-dark-card:#16222d;
  --fleet-dark-card-2:#101b25;
  --fleet-dark-ink:#f5f8fa;
  --fleet-dark-muted:#9fb0bd;
  --fleet-dark-line:#2b3d4a;
}

html[data-palette="dispatch"]{--fleet-accent:#ed1b2f;--fleet-accent-2:#ff3348}
html[data-palette="ocean"]{--fleet-accent:#1976d2;--fleet-accent-2:#42a5f5}
html[data-palette="sky"]{--fleet-accent:#039be5;--fleet-accent-2:#4fc3f7}
html[data-palette="teal"]{--fleet-accent:#00897b;--fleet-accent-2:#26a69a}
html[data-palette="violet"]{--fleet-accent:#7e57c2;--fleet-accent-2:#ab7ee8}
html[data-palette="forest"]{--fleet-accent:#2e7d32;--fleet-accent-2:#43a047}
html[data-palette="amber"]{--fleet-accent:#d98200;--fleet-accent-2:#f9a825}
html[data-palette="rose"]{--fleet-accent:#c2185b;--fleet-accent-2:#e91e63}
html[data-palette="paper"]{--fleet-accent:#9a6332;--fleet-accent-2:#c38a55}

/* LIGHT: make the working surface genuinely white and keep every label readable. */
html[data-theme="light"] body:not([data-page="tracking"]),
html[data-theme="light"] body:not([data-page="tracking"]) .main,
html[data-theme="light"] body:not([data-page="tracking"]) .content,
html[data-theme="light"] body:not([data-page="tracking"]) .headline,
html[data-theme="light"] body:not([data-page="tracking"]) .dashboard-grid,
html[data-theme="light"] body:not([data-page="tracking"]) .dashboard-layout,
html[data-theme="light"] body:not([data-page="tracking"]) .dash-main,
html[data-theme="light"] body:not([data-page="tracking"]) .dash-section,
html[data-theme="light"] body:not([data-page="tracking"]) .dash-body{
  background:#fff!important;
  color:var(--fleet-light-ink)!important;
}
html[data-theme="light"] body:not([data-page="tracking"]) .headline h1,
html[data-theme="light"] body:not([data-page="tracking"]) h1,
html[data-theme="light"] body:not([data-page="tracking"]) h2,
html[data-theme="light"] body:not([data-page="tracking"]) h3,
html[data-theme="light"] body:not([data-page="tracking"]) h4,
html[data-theme="light"] body:not([data-page="tracking"]) .panel-head b,
html[data-theme="light"] body:not([data-page="tracking"]) .kpi strong{
  color:var(--fleet-light-ink)!important;
}
html[data-theme="light"] body:not([data-page="tracking"]) .headline p,
html[data-theme="light"] body:not([data-page="tracking"]) .muted,
html[data-theme="light"] body:not([data-page="tracking"]) small,
html[data-theme="light"] body:not([data-page="tracking"]) .panel-head span{
  color:var(--fleet-light-muted)!important;
}
html[data-theme="light"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"] body:not([data-page="tracking"]) .card,
html[data-theme="light"] body:not([data-page="tracking"]) .kpi,
html[data-theme="light"] body:not([data-page="tracking"]) .settings-section,
html[data-theme="light"] body:not([data-page="tracking"]) .notice,
html[data-theme="light"] body:not([data-page="tracking"]) .signout-box,
html[data-theme="light"] body:not([data-page="tracking"]) .fleet-embedded-toolbar{
  background:#fff!important;
  color:var(--fleet-light-ink)!important;
  border-color:var(--fleet-light-line)!important;
}
html[data-theme="light"] body:not([data-page="tracking"]) input,
html[data-theme="light"] body:not([data-page="tracking"]) select,
html[data-theme="light"] body:not([data-page="tracking"]) textarea{
  background:#fff!important;
  color:var(--fleet-light-ink)!important;
  border-color:#cbd6df!important;
}
html[data-theme="light"] body:not([data-page="tracking"]) input::placeholder,
html[data-theme="light"] body:not([data-page="tracking"]) textarea::placeholder{color:#82909b!important}
html[data-theme="light"] body:not([data-page="tracking"]) .btn:not(.red):not(.dark):not(.danger){background:#fff!important;color:#16202a!important;border-color:#ccd7df!important}

/* Warm Paper keeps the light-mode readability while swapping the canvas/card tone. */
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .main,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .headline,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .dashboard-grid,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .dashboard-layout{
  background:#f6f0e5!important;
}
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .card,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .kpi,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .settings-section,
html[data-theme="light"][data-palette="paper"] body:not([data-page="tracking"]) .notice{
  background:#fffaf1!important;
  border-color:#ddcfbd!important;
}

/* DARK: every surface and label receives an explicit dark-mode color. */
html[data-theme="dark"] body:not([data-page="tracking"]),
html[data-theme="dark"] body:not([data-page="tracking"]) .main,
html[data-theme="dark"] body:not([data-page="tracking"]) .content,
html[data-theme="dark"] body:not([data-page="tracking"]) .headline,
html[data-theme="dark"] body:not([data-page="tracking"]) .dashboard-grid,
html[data-theme="dark"] body:not([data-page="tracking"]) .dashboard-layout,
html[data-theme="dark"] body:not([data-page="tracking"]) .dash-main,
html[data-theme="dark"] body:not([data-page="tracking"]) .dash-section,
html[data-theme="dark"] body:not([data-page="tracking"]) .dash-body{
  background:var(--fleet-dark-bg)!important;
  color:var(--fleet-dark-ink)!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) .headline h1,
html[data-theme="dark"] body:not([data-page="tracking"]) h1,
html[data-theme="dark"] body:not([data-page="tracking"]) h2,
html[data-theme="dark"] body:not([data-page="tracking"]) h3,
html[data-theme="dark"] body:not([data-page="tracking"]) h4,
html[data-theme="dark"] body:not([data-page="tracking"]) .panel-head b,
html[data-theme="dark"] body:not([data-page="tracking"]) .kpi strong,
html[data-theme="dark"] body:not([data-page="tracking"]) label{
  color:var(--fleet-dark-ink)!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) .headline p,
html[data-theme="dark"] body:not([data-page="tracking"]) .muted,
html[data-theme="dark"] body:not([data-page="tracking"]) small,
html[data-theme="dark"] body:not([data-page="tracking"]) .panel-head span,
html[data-theme="dark"] body:not([data-page="tracking"]) p{
  color:var(--fleet-dark-muted)!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) .panel,
html[data-theme="dark"] body:not([data-page="tracking"]) .card,
html[data-theme="dark"] body:not([data-page="tracking"]) .kpi,
html[data-theme="dark"] body:not([data-page="tracking"]) .settings-section,
html[data-theme="dark"] body:not([data-page="tracking"]) .notice,
html[data-theme="dark"] body:not([data-page="tracking"]) .signout-box,
html[data-theme="dark"] body:not([data-page="tracking"]) .fleet-embedded-toolbar{
  background:var(--fleet-dark-card)!important;
  color:var(--fleet-dark-ink)!important;
  border-color:var(--fleet-dark-line)!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) .panel-head,
html[data-theme="dark"] body:not([data-page="tracking"]) .activity-row,
html[data-theme="dark"] body:not([data-page="tracking"]) .detail-section,
html[data-theme="dark"] body:not([data-page="tracking"]) .table th,
html[data-theme="dark"] body:not([data-page="tracking"]) .table td{
  border-color:var(--fleet-dark-line)!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) input,
html[data-theme="dark"] body:not([data-page="tracking"]) select,
html[data-theme="dark"] body:not([data-page="tracking"]) textarea{
  background:#0e1923!important;
  color:#f5f8fa!important;
  border-color:#344958!important;
}
html[data-theme="dark"] body:not([data-page="tracking"]) input::placeholder,
html[data-theme="dark"] body:not([data-page="tracking"]) textarea::placeholder{color:#8295a4!important}
html[data-theme="dark"] body:not([data-page="tracking"]) .btn:not(.red):not(.danger){background:#142431!important;color:#f1f5f7!important;border-color:#344958!important}
html[data-theme="dark"] body:not([data-page="tracking"]) .btn.danger{background:#351820!important;color:#ff9ca8!important;border-color:#66313c!important}

/* Palette affects actions, selection, focus, checks and other accents without sacrificing contrast. */
html[data-palette] .btn.red,
html[data-palette] .nav button.active,
html[data-palette] .fleet-nav-sub button.active,
html[data-palette] .fleet-nav-sub button.fleet-nav-pending-active,
html[data-palette] .fleet-nav-group-head:hover,
html[data-palette] .fleet-nav-sub button:hover:not(.active){
  background:linear-gradient(135deg,var(--fleet-accent),var(--fleet-accent-2))!important;
  border-color:var(--fleet-accent)!important;
  color:#fff!important;
}
html[data-palette] input[type="checkbox"],html[data-palette] input[type="radio"]{accent-color:var(--fleet-accent)!important}
html[data-palette] input:focus,html[data-palette] select:focus,html[data-palette] textarea:focus{border-color:var(--fleet-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--fleet-accent) 18%,transparent)!important}

/* Appearance picker */
.fleet-appearance-editor{display:grid;gap:18px}
.fleet-theme-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fleet-theme-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px}
.fleet-theme-choice,.fleet-palette-choice{min-height:72px;border:1px solid var(--fleet-light-line);border-radius:12px;padding:12px;text-align:left;cursor:pointer;background:#fff;color:#111820}
.fleet-theme-choice b,.fleet-palette-choice b{display:block;font-size:14px}.fleet-theme-choice small,.fleet-palette-choice small{display:block;margin-top:4px!important}
.fleet-theme-choice.active,.fleet-palette-choice.active{outline:3px solid color-mix(in srgb,var(--fleet-accent) 24%,transparent);border-color:var(--fleet-accent)!important}
.fleet-palette-swatch{display:block;width:100%;height:8px;border-radius:999px;margin-bottom:10px;background:linear-gradient(90deg,var(--sw1),var(--sw2))}
html[data-theme="dark"] .fleet-theme-choice,html[data-theme="dark"] .fleet-palette-choice{background:#101b25;color:#f5f8fa;border-color:#344958}
html[data-theme="dark"] .fleet-theme-choice small,html[data-theme="dark"] .fleet-palette-choice small{color:#9fb0bd!important}
@media(max-width:900px){.fleet-theme-palette-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
@media(max-width:600px){.fleet-theme-palette-grid,.fleet-theme-mode-grid{grid-template-columns:1fr}}

/* Fleet personal appearance refresh — visual choices remain strictly browser-only.
   Brand colors are CSS vars, and no route, attendance or tracking state changes. */
html[data-palette="midnight"]{--fleet-accent:#24577e;--fleet-accent-2:#3f83ad}
html[data-palette="slate"]{--fleet-accent:#405367;--fleet-accent-2:#70899f}
html[data-palette="sage"]{--fleet-accent:#426f60;--fleet-accent-2:#76a08b}
html[data-palette="copper"]{--fleet-accent:#a35632;--fleet-accent-2:#d18b52}
html[data-palette="blush"]{--fleet-accent:#a93f61;--fleet-accent-2:#d87b99}
html[data-palette="lavender"]{--fleet-accent:#705c9c;--fleet-accent-2:#9c88bf}

/* The new palettes genuinely tint the workspace, not just the navigation.
   Keep cards and text readable in both Light/Dark. */
html[data-theme="light"][data-palette="midnight"]{--fleet-palette-canvas:#eaf1f8;--fleet-palette-card:#ffffff;--fleet-palette-line:#cfdeeb}
html[data-theme="light"][data-palette="slate"]{--fleet-palette-canvas:#eff2f5;--fleet-palette-card:#ffffff;--fleet-palette-line:#d5dde5}
html[data-theme="light"][data-palette="sage"]{--fleet-palette-canvas:#edf6f0;--fleet-palette-card:#fffffa;--fleet-palette-line:#d4e5d9}
html[data-theme="light"][data-palette="copper"]{--fleet-palette-canvas:#faf0e4;--fleet-palette-card:#fffaf3;--fleet-palette-line:#ead5bf}
html[data-theme="light"][data-palette="blush"]{--fleet-palette-canvas:#fff0f4;--fleet-palette-card:#fffafc;--fleet-palette-line:#efd8e2}
html[data-theme="light"][data-palette="lavender"]{--fleet-palette-canvas:#f4f0fb;--fleet-palette-card:#fffaff;--fleet-palette-line:#ded5ed}
html[data-theme="light"][data-palette="midnight"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="midnight"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="slate"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="slate"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="sage"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="sage"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="copper"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="copper"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="blush"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="blush"] body:not([data-page="tracking"]) .content,
html[data-theme="light"][data-palette="lavender"] body:not([data-page="tracking"]),
html[data-theme="light"][data-palette="lavender"] body:not([data-page="tracking"]) .content{
 background:var(--fleet-palette-canvas)!important;
}
html[data-theme="light"][data-palette="midnight"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="slate"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="sage"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="copper"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="blush"] body:not([data-page="tracking"]) .panel,
html[data-theme="light"][data-palette="lavender"] body:not([data-page="tracking"]) .panel{
 background:var(--fleet-palette-card)!important;
 border-color:var(--fleet-palette-line)!important;
}
html[data-theme="dark"][data-palette="midnight"]{--fleet-dark-bg:#0c1a2b;--fleet-dark-card:#15293b;--fleet-dark-card-2:#102335;--fleet-dark-line:#304c65}
html[data-theme="dark"][data-palette="slate"]{--fleet-dark-bg:#171e26;--fleet-dark-card:#222c36;--fleet-dark-card-2:#1a242d;--fleet-dark-line:#40515f}
html[data-theme="dark"][data-palette="sage"]{--fleet-dark-bg:#111d1a;--fleet-dark-card:#1b2e27;--fleet-dark-card-2:#15261f;--fleet-dark-line:#385449}
html[data-theme="dark"][data-palette="copper"]{--fleet-dark-bg:#201813;--fleet-dark-card:#30241c;--fleet-dark-card-2:#291f18;--fleet-dark-line:#594334}
html[data-theme="dark"][data-palette="blush"]{--fleet-dark-bg:#241921;--fleet-dark-card:#36242f;--fleet-dark-card-2:#2a1c27;--fleet-dark-line:#624256}
html[data-theme="dark"][data-palette="lavender"]{--fleet-dark-bg:#1c1927;--fleet-dark-card:#2b2539;--fleet-dark-card-2:#221d30;--fleet-dark-line:#4d4267}

/* Appearance page is a real personal design studio, not just lines of accents. */
.fleet-appearance-editor{display:grid;gap:18px;min-width:0}
.fleet-appearance-editor .settings-section{min-width:0}
.fleet-appearance-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 21px;
 border:1px solid color-mix(in srgb,var(--fleet-accent) 22%,#d4dce3);border-radius:16px;
 background:linear-gradient(120deg,color-mix(in srgb,var(--fleet-accent) 7%,transparent),transparent 72%)}
.fleet-appearance-intro h3{font-size:22px;margin:5px 0 4px}.fleet-appearance-intro p{margin:0;line-height:1.5}
.fleet-appearance-eyebrow{font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--fleet-accent)}
.fleet-current-theme{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--fleet-light-line);
 border-radius:999px;white-space:nowrap;font-size:12px;font-weight:750}
.fleet-current-dot{display:inline-block;flex-shrink:0;width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 3px color-mix(in srgb,var(--fleet-accent) 18%,transparent)}
.fleet-appearance-top{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fleet-theme-choice{min-height:120px;display:flex;flex-direction:column;gap:4px}
.fleet-mode-sample{height:43px;border-radius:8px;display:flex;gap:4px;padding:6px;margin-bottom:5px}
.fleet-mode-light{background:#ecf1f5;border:1px solid #d5dfe7}
.fleet-mode-dark{background:#152534;border:1px solid #365167}
.fleet-mode-sample i{display:block;flex:1;background:rgba(255,255,255,.75);border-radius:4px}
.fleet-mode-sample i:first-child{flex:.3;background:var(--fleet-accent)}
.fleet-mode-dark i{background:#2d4254}
.fleet-preview-section{display:flex;flex-direction:column}
.fleet-appearance-preview{--preview-bg:#f1f3f6;--preview-card:#fff;--preview-ink:#182532;--preview-accent:#ed1b2f;
 height:145px;border-radius:12px;background:var(--preview-bg);display:flex;overflow:hidden;
 border:1px solid color-mix(in srgb,var(--fleet-accent) 18%,#d6dee4);margin-top:auto}
.fleet-preview-side{background:color-mix(in srgb,var(--preview-accent) 13%,var(--preview-card));width:24%;padding:13px 8px;display:grid;align-content:start;gap:10px}
.fleet-preview-side i{height:9px;border-radius:5px;background:color-mix(in srgb,var(--preview-ink) 14%,transparent)}
.fleet-preview-side i:nth-child(2){background:var(--preview-accent)}
.fleet-preview-main{flex:1;padding:13px;display:grid;align-content:start;gap:9px}
.fleet-preview-header{display:flex;justify-content:space-between;gap:8px}
.fleet-preview-header i:first-child{height:9px;width:35%;background:var(--preview-ink);opacity:.65;border-radius:6px}
.fleet-preview-header i:last-child{height:9px;width:17%;background:var(--preview-accent);border-radius:6px}
.fleet-preview-title{height:14px;width:53%;background:var(--preview-ink);opacity:.12;border-radius:5px}
.fleet-preview-panels{display:flex;gap:8px}
.fleet-preview-panels i{width:50%;height:41px;border-radius:8px;background:var(--preview-card);border:1px solid color-mix(in srgb,var(--preview-ink) 12%,transparent)}
.fleet-preview-action{height:10px;width:38%;background:var(--preview-accent);border-radius:7px}
.fleet-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.fleet-section-heading h3{margin-bottom:3px}
.fleet-theme-total{font-size:11px;font-weight:750;color:var(--fleet-accent)}
.fleet-palette-filters{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}
.fleet-palette-filters button{border:1px solid var(--fleet-light-line);border-radius:999px;padding:8px 13px;cursor:pointer;
 background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:750}
.fleet-palette-filters button.active{border-color:var(--fleet-accent);background:color-mix(in srgb,var(--fleet-accent) 12%,transparent)}
.fleet-theme-palette-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fleet-palette-choice{display:flex;flex-wrap:wrap;align-items:center;column-gap:9px;row-gap:10px;min-height:145px;
 border-radius:14px;padding:10px;position:relative;transition:transform .13s ease,box-shadow .13s ease}
.fleet-palette-choice:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,34,47,.09)}
.fleet-palette-choice[hidden]{display:none!important}
.fleet-palette-mini{width:100%;height:67px;border-radius:9px;border:1px solid rgba(52,64,76,.18);background:var(--pv-bg);
 display:flex;overflow:hidden}
.fleet-palette-mini-rail{width:23%;background:linear-gradient(160deg,var(--sw1),var(--sw2));opacity:.88}
.fleet-palette-mini-content{padding:8px;flex:1;display:grid;gap:7px}
.fleet-palette-mini-top{background:var(--sw1);width:37%;height:7px;border-radius:5px}
.fleet-palette-mini-card{display:flex;gap:4px;background:var(--pv-card);border-radius:4px;padding:5px}
.fleet-palette-mini-card i{background:var(--sw2);opacity:.48;height:11px;flex:1;border-radius:3px}
.fleet-palette-copy{min-width:0;flex:1}.fleet-palette-copy b{font-size:13px}.fleet-palette-copy small{font-size:11px}
.fleet-palette-selected{width:22px;height:22px;border-radius:50%;background:var(--fleet-accent);color:#fff;font-size:14px;
 text-align:center;line-height:22px;visibility:hidden}
.fleet-palette-choice.active .fleet-palette-selected{visibility:visible}
.fleet-profile-preference{display:grid;gap:8px;padding:12px 0;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.fleet-profile-preference h4{font-size:13px;margin:0}
.fleet-profile-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fleet-profile-choice-row button{display:grid;gap:4px;text-align:left;background:transparent;color:inherit;
 border:1px solid var(--fleet-light-line);border-radius:12px;padding:13px;cursor:pointer;font:inherit}
.fleet-profile-choice-row button b{font-size:13px}.fleet-profile-choice-row button small{font-size:11px;line-height:1.45}
.fleet-profile-choice-row button.active{border-color:var(--fleet-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--fleet-accent) 17%,transparent)}
.fleet-appearance-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:10px;flex-wrap:wrap}
.fleet-appearance-save-note{font-size:12px;color:var(--fleet-light-muted)}
html[data-theme="dark"] .fleet-appearance-intro,html[data-theme="dark"] .fleet-current-theme,
html[data-theme="dark"] .fleet-palette-filters button,html[data-theme="dark"] .fleet-profile-choice-row button{border-color:var(--fleet-dark-line)}
html[data-theme="dark"] .fleet-appearance-save-note{color:var(--fleet-dark-muted)}
html[data-theme="dark"] .fleet-appearance-intro{background:linear-gradient(115deg,color-mix(in srgb,var(--fleet-accent) 13%,transparent),transparent 73%)}
.fleet-profile-quick{display:flex;align-items:center;gap:12px;margin:14px 0;min-width:0}
.fleet-profile-quick-preview{display:block;width:64px;height:50px;border:1px solid color-mix(in srgb,var(--fleet-accent) 18%,transparent);
 border-radius:10px;flex-shrink:0;background:linear-gradient(135deg,var(--fleet-accent) 0 25%,color-mix(in srgb,var(--fleet-accent) 12%,#fff) 25% 100%)}
.fleet-profile-quick b,.fleet-profile-quick small{display:block}
.fleet-profile-quick small{font-size:12px;margin-top:3px}
.fleet-profile-quick-actions{margin-top:16px}
:root[data-fleet-density="compact"] .nav button,
:root[data-fleet-density="compact"] .fleet-nav-sub button{padding-top:6px!important;padding-bottom:6px!important}
:root[data-fleet-density="compact"] .table th,
:root[data-fleet-density="compact"] .table td{padding-top:6px!important;padding-bottom:6px!important}
:root[data-fleet-density="compact"] .card,
:root[data-fleet-density="compact"] .settings-section{padding-top:12px!important;padding-bottom:12px!important}
:root[data-fleet-text="large"] .nav button,
:root[data-fleet-text="large"] .fleet-nav-sub button,
:root[data-fleet-text="large"] .settings-pane button,
:root[data-fleet-text="large"] .settings-pane label,
:root[data-fleet-text="large"] .settings-pane p,
:root[data-fleet-text="large"] .table td,
:root[data-fleet-text="large"] .table th,
:root[data-fleet-text="large"] .pref-card p{font-size:14px!important;line-height:1.55}
:root[data-fleet-motion="reduced"] *, :root[data-fleet-motion="reduced"] *::before, :root[data-fleet-motion="reduced"] *::after{
 animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;
 scroll-behavior:auto!important
}
@media(max-width:1000px){.fleet-appearance-top{grid-template-columns:1fr}.fleet-theme-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.fleet-theme-palette-grid{grid-template-columns:1fr}.fleet-appearance-intro{flex-wrap:wrap}
 .fleet-current-theme{white-space:normal}.fleet-appearance-footer .row-actions{flex-wrap:wrap}
 .fleet-profile-choice-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.fleet-palette-choice{transition:none!important}.fleet-palette-choice:hover{transform:none}}

/* Unified Fleet Settings: top tabs replace the old left-hand subnavigation.
   This applies to settings extensions (appearance and completion policies) too. */
.panel.settings-grid:has(> .settings-nav){
  display:flex!important;flex-direction:column!important;
  gap:0!important;padding:0!important;overflow:hidden;
}
.panel.settings-grid > .settings-nav{
  display:flex!important;flex-direction:row!important;
  flex-wrap:wrap!important;align-items:center!important;
  width:100%!important;min-width:0;gap:6px!important;
  padding:12px 16px 0!important;margin:0!important;
  border:0!important;border-bottom:1px solid var(--fleet-border,#dbe2e8)!important;
  overflow:visible!important;background:transparent!important;
}
.panel.settings-grid > .settings-nav > button{
  width:auto!important;min-width:0!important;max-width:100%;
  flex:none!important;text-align:center!important;
  border:0!important;border-bottom:3px solid transparent!important;
  border-radius:9px 9px 0 0!important;
  padding:11px 14px!important;margin:0!important;
  white-space:nowrap;font-weight:600;
  background:transparent!important;color:inherit;
}
.panel.settings-grid > .settings-nav > button.active,
.panel.settings-grid > .settings-nav > button[aria-selected="true"]{
  border-bottom-color:var(--fleet-accent,#ed1b2f)!important;
  background:color-mix(in srgb,var(--fleet-accent,#ed1b2f) 9%,transparent)!important;
}
.panel.settings-grid > .settings-nav > button:focus-visible{
  outline:3px solid var(--fleet-accent,#ed1b2f)!important;outline-offset:1px;
}
.panel.settings-grid > .settings-pane{width:100%!important;min-width:0;flex:1!important;padding:20px!important}
.panel.settings-grid .settings-section{margin-bottom:16px}
@media(max-width:650px){
  .panel.settings-grid > .settings-nav{flex-wrap:nowrap!important;overflow-x:auto!important;padding:8px 8px 0!important}
  .panel.settings-grid > .settings-nav > button{font-size:13px;padding:10px 12px!important}
  .panel.settings-grid > .settings-pane{padding:12px!important}
}


/* Appearance standalone view must not occupy the first 280px track of the
   generic two-column Settings grid; use the full Fleet content workspace. */
.panel.fleet-appearance-page{
 display:block!important;grid-template-columns:none!important;
 width:100%!important;max-width:none!important;min-width:0!important;
 padding:0!important;margin:0!important;overflow:visible!important;
}
.panel.fleet-appearance-page > .fleet-appearance-page-content{
 display:block!important;grid-column:1 / -1!important;
 width:100%!important;max-width:none!important;min-width:0!important;
 padding:clamp(14px,1.65vw,28px)!important;margin:0!important;
 box-sizing:border-box;
}
.fleet-appearance-page .fleet-appearance-editor,
.panel.settings-grid .fleet-appearance-editor{
 display:grid;grid-template-columns:minmax(0,1fr);
 width:100%;max-width:none;min-width:0;gap:15px;
}
.fleet-appearance-editor .fleet-appearance-intro{
 width:100%;min-width:0;align-items:center;gap:20px;
}
.fleet-appearance-editor .fleet-appearance-intro > div:first-child{max-width:670px;min-width:0}
.fleet-appearance-editor .fleet-appearance-intro h3{font-size:clamp(21px,1.65vw,27px)}
.fleet-appearance-editor .fleet-appearance-intro p{font-size:13px}
.fleet-appearance-tabs{
 display:flex;align-items:center;gap:6px;
 width:100%;max-width:100%;min-width:0;overflow-x:auto;
 padding:0 3px 0;border-bottom:1px solid var(--fleet-light-line,#d5dfe6);
 scrollbar-width:thin;
}
.fleet-appearance-tabs [role="tab"]{
 appearance:none;flex:0 0 auto;min-height:43px;
 border:0!important;border-bottom:3px solid transparent!important;
 border-radius:8px 8px 0 0!important;background:transparent!important;
 color:inherit;font:inherit;font-size:13px;font-weight:760!important;
 padding:9px clamp(11px,1.5vw,20px)!important;
 cursor:pointer;white-space:nowrap;
}
.fleet-appearance-tabs [role="tab"]:hover{
 background:color-mix(in srgb,var(--fleet-accent,#ed1b2f) 7%,transparent)!important;
}
.fleet-appearance-tabs [role="tab"][aria-selected="true"]{
 border-bottom-color:var(--fleet-accent,#ed1b2f)!important;
 background:color-mix(in srgb,var(--fleet-accent,#ed1b2f) 10%,transparent)!important;
 color:inherit;
}
.fleet-appearance-tabs [role="tab"]:focus-visible{
 outline:2px solid var(--fleet-accent,#ed1b2f)!important;outline-offset:-3px;
}
.fleet-appearance-tab-panel{display:block;width:100%;min-width:0;max-width:none}
.fleet-appearance-tab-panel[hidden]{display:none!important}
.fleet-appearance-tab-panel > .settings-section{margin:0!important}
.fleet-appearance-tab-panel .fleet-appearance-top{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;
}
.fleet-appearance-tab-panel .fleet-theme-mode-grid{
 display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:12px;
}
.fleet-appearance-tab-panel .fleet-theme-choice{min-width:0;min-height:132px}
.fleet-appearance-tab-panel .fleet-appearance-preview{height:165px}
.fleet-appearance-tab-panel .fleet-theme-palette-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:14px;
}
.fleet-appearance-tab-panel .adi-shared-settings{width:100%;min-width:0}
.fleet-appearance-tab-panel .adi-shared-theme-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:11px;
}
.fleet-accessibility-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0;
}
.fleet-accessibility-grid .fleet-profile-preference{
 min-width:0;padding:15px;border:1px solid var(--fleet-light-line,#d5dfe6);
 border-radius:12px;align-content:start;
}
.fleet-appearance-editor .fleet-appearance-footer{
 margin-top:1px;padding:12px 0 0;
 border-top:1px solid var(--fleet-light-line,#d5dfe6);
}
html[data-theme="dark"] .fleet-appearance-tabs,
html[data-theme="dark"] .fleet-appearance-editor .fleet-appearance-footer,
html[data-theme="dark"] .fleet-accessibility-grid .fleet-profile-preference{
 border-color:var(--fleet-dark-line,#40515f);
}
@media(max-width:1050px){
 .fleet-appearance-tab-panel .fleet-appearance-top{grid-template-columns:1fr}
 .fleet-accessibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .panel.fleet-appearance-page > .fleet-appearance-page-content{padding:12px!important}
 .fleet-appearance-tabs{gap:0}
 .fleet-appearance-tabs [role="tab"]{font-size:12px;padding:10px 12px!important}
 .fleet-accessibility-grid{grid-template-columns:1fr}
 .fleet-appearance-tab-panel .fleet-theme-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fleet-appearance-tab-panel .fleet-theme-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fleet-appearance-editor .fleet-appearance-intro{flex-wrap:wrap}
}
@media(max-width:500px){
 .fleet-appearance-tab-panel .fleet-theme-mode-grid,
 .fleet-appearance-tab-panel .fleet-theme-palette-grid{grid-template-columns:1fr}
}
