/* ================================================================================================
   WHAT THIS FILE IS: the look of DealerCore — colours, fonts, spacing, the dashboard cards and charts,
   the side panel, the command bar, animations, and how screens rearrange on a phone.
   RULES FOR CHANGING IT (see design/TASTE.md):
     - Use the colour/size values in :root below (e.g. var(--blue)) instead of typing new colour codes.
     - Shadows only on things that float (side panel, command bar, pop-ups). No gradients.
     - Every animation must be switched off under "prefers-reduced-motion" (search for it at the bottom).
   OpenUI5 draws its own controls (tables, inputs, dialogs); rules starting with .sapM... adjust those.
   Newer sections are added at the end, each starting with a comment saying what it is for.
   ================================================================================================ */
/* DealerCore design tokens: ink navy chrome, signal-yellow price tags, cool grey work surface */
:root{--ink:#10243e;--ink2:#1b3558;--signal:#ffc933;--blue:#0b5cd5;--bg:#edf0f3;--card:#fff;--line:#d9dee4;--text:#1a2736;--muted:#5e6c7c;
  --st-a:#e6ebf0;--st-a-t:#3e4c5c;--st-g:#fff0c7;--st-g-t:#7a4f00;--st-p:#ddf3e4;--st-p-t:#146c3a;--st-s:#dce8ff;--st-s-t:#0b4fb3;--st-d:#eceff2;--st-d-t:#5e6c7c;
  --f:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --lock-dim:.55 /* V10.63.3 how faint a locked (part of DealerCore) menu item is on the CanCars plan */}
/* V10.68 colours that were typed directly into rules below, lifted here unchanged (Hallmark audit: every colour from :root). No visual change. */
:root{--c-000000:#000;--c-0b5cad:#0b5cad;--c-0b5cd5-a12:rgba(11,92,213,.12);--c-0b5cd5-a15:rgba(11,92,213,.15);--c-10243e-a12:rgba(16,36,62,.12);--c-10243e-a14:rgba(16,36,62,.14);--c-10243e-a16:rgba(16,36,62,.16);--c-10243e-a18:rgba(16,36,62,.18);--c-10243e-a2:rgba(16,36,62,.2);--c-10243e-a25:rgba(16,36,62,.25);--c-10243e-a28:rgba(16,36,62,.28);--c-17283d:#17283d;--c-1b6b34:#1b6b34;--c-1b7a3e:#1b7a3e;--c-1e9e5a:#1e9e5a;--c-1f8a4c:#1f8a4c;--c-2b2100:#2b2100;--c-32363a:#32363a;--c-324b5b:#324b5b;--c-536579:#536579;--c-7a5600:#7a5600;--c-8795a6:#8795a6;--c-8a99ab:#8a99ab;--c-999999:#999;--c-9a4a00:#9a4a00;--c-9a6a00:#9a6a00;--c-9fb3cf:#9fb3cf;--c-a1261b:#a1261b;--c-ae2535:#ae2535;--c-b3261e:#b3261e;--c-b4bfcb:#b4bfcb;--c-b9c8de:#b9c8de;--c-black-a2:rgba(0,0,0,.2);--c-black-a25:rgba(0,0,0,.25);--c-c3d1e6:#c3d1e6;--c-c8d1db:#c8d1db;--c-cdd6df:#cdd6df;--c-cfd6de:#cfd6de;--c-cfe0fb:#cfe0fb;--c-d6e3f8:#d6e3f8;--c-dbe5f2:#dbe5f2;--c-dfe5ec:#dfe5ec;--c-e08a00:#e08a00;--c-e3f4e8:#e3f4e8;--c-e4e9ee:#e4e9ee;--c-e6ebf0:#e6ebf0;--c-e8f0fd:#e8f0fd;--c-e9edf2:#e9edf2;--c-eaf1ff:#eaf1ff;--c-eef1f4:#eef1f4;--c-f2f6fc:#f2f6fc;--c-f2faf5:#f2faf5;--c-f6f8fa:#f6f8fa;--c-fde5e3:#fde5e3;--c-ffd66b:#ffd66b;--c-fff3d6:#fff3d6;--c-fff4d6:#fff4d6;--c-ffffff:#fff;--c-white-a07:rgba(255,255,255,.07);--c-white-a08:rgba(255,255,255,.08);--c-white-a12:rgba(255,255,255,.12);--c-white-a13:rgba(255,255,255,.13);--c-white-a14:rgba(255,255,255,.14);--c-white-a2:rgba(255,255,255,.2);--c-white-a82:rgba(255,255,255,.82);--c-white-a85:rgba(255,255,255,.85)}
/* V10.68 Hallmark audit: keyboard focus, form fields, small labels, headings and section spacing on the public pages
   (DealerCore site, CanCars, dealer websites). Contrast checked: focus ring and field edge 3:1 or better, small text 4.5:1. */
:root{--focus-light:var(--blue) /* ring on light surfaces: 6:1 on white, 5.5:1 on CanCars paper */;
  --focus-dark:var(--signal) /* ring on navy and dark surfaces: 10:1 on --ink */;
  --focus-w:3px;--focus-off:2px;
  --field-line:#7d8896 /* field edge: 3.6:1 on white, 3.3:1 on paper, 4.5:1 on the dark look's cards */;
  --mk-label:#7a5c30 /* CanCars small labels in bronze: 5.7:1 on paper, 6.2:1 on white (old gold was 2.6:1) */;
  --ca-red-on-ink:#ff5a5f /* the red "CAN" of the CanCars logo on navy: 5.1:1 (old red 3.7:1) */;
  --label-fs:14px /* small labels: body face, one step below body, sentence case, no letter spacing */;
  --ws-h2-big:42px /* DealerCore site section heads, closer to the 52px hero head */;
  --ds-h2-big:34px /* dealer website section heads under the 44px hero head */;
  --mk-fs-h2-big:36px /* CanCars section heads under the 56px hero head */;
  --ds-sec:96px /* space between dealer website sections */;--ds-sec-phone:56px;
  --ds-card-pad:16px /* inner padding of dealer website car cards so text never touches the edge */}

html,body,#content{height:100%;margin:0}
body,.sapMPage,.sapMPageBgStandard>section{background:var(--bg)!important}
#fallback{padding:24px;font:16px var(--f)}
.dhpad{padding:12px 16px}
.dhkpi{min-width:11rem;margin:6px}
.dhmeta{color:var(--muted);font-size:.875rem}
.dhnote{color:var(--muted);font-size:.8125rem;margin-top:8px}
.dhh,.dhh *{font-family:var(--f)}
/* ---- shell: sidebar (desktop) / top bar + bottom tabs (phone) ---- */
.dhside{position:fixed;left:0;top:0;bottom:0;width:232px;background:var(--ink);color:var(--c-dbe5f2);display:flex;flex-direction:column;z-index:20;font-family:var(--f)}
.dhbrand{padding:20px 18px 14px;border-bottom:1px solid var(--c-white-a08)}
.dhbrand b{display:block;color:var(--c-ffffff);font-size:17px;letter-spacing:-.01em;line-height:1.2}
.dhbrand span{font-size:12px;color:var(--c-9fb3cf)}
.dhbrand .tagdot{display:inline-block;width:10px;height:10px;background:var(--signal);border-radius:50%;margin-right:8px;vertical-align:baseline}
.dhnav{flex:1;padding:10px 8px;overflow:auto}
.dhnav button,.dhbot button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border-radius:8px;color:var(--c-c3d1e6);font:500 15px var(--f);position:relative}
.dhnav button:hover{background:var(--c-white-a07)}
.dhnav button.on{background:var(--c-white-a12);color:var(--c-ffffff);font-weight:650}
.dhnav button.on:before{content:"";position:absolute;left:-8px;top:8px;bottom:8px;width:4px;border-radius:0 3px 3px 0;background:var(--signal)}
.dhnav svg,.dhbot svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dhuser{padding:12px 14px;border-top:1px solid var(--c-white-a08);font-size:13px;color:var(--c-9fb3cf)}
.dhuser b{display:block;color:var(--c-ffffff);font-size:14px}
.dhuser button{all:unset;cursor:pointer;color:var(--c-ffd66b);font:600 13px var(--f);margin-top:6px;display:inline-block}
.dhtop,.dhbot{display:none}
.dhmain{margin-left:232px;padding:22px 28px 40px;box-sizing:border-box;max-width:1320px;font-family:var(--f)}
.dhmain>.sapMTitle,.dhmain .dhpad>.sapMTitle{font-weight:700;letter-spacing:-.01em}
.dhmain .sapMTitle.sapMTitleStyleH2{font-size:1.5rem}
.dhmain .sapMTB{background:transparent!important;border:0!important;padding-left:0;padding-right:0}
.dhmain .sapMListTbl,.dhmain .sapMList{background:var(--card)!important;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.dhmain .sapMListTblHeaderCell{background:var(--c-f6f8fa)!important;color:var(--muted)!important;font-weight:650!important}
.dhmain .sapMPanel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--card);margin-bottom:12px}
.dhmain .sapMITB{background:transparent}
.dhmain .sapMITBHead{background:transparent!important;border-bottom:1px solid var(--line);padding:0}
.dhmain .sapMITBFilter .sapMITBText,.dhmain .sapMITBItem .sapMITBText{color:var(--text)!important;font-weight:600}
.dhmain .sapMITBSelected .sapMITBText{color:var(--blue)!important}
.dhmain .sapMITBContent{background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px}
.dhmain .sapMITBContainerContent{background:transparent}
@media(max-width:900px){
  .dhside{display:none}
  .dhtop{display:flex;position:fixed;top:0;left:0;right:0;height:52px;background:var(--ink);color:var(--c-ffffff);align-items:center;justify-content:space-between;padding:0 14px;z-index:20;font:650 16px var(--f)}
  .dhtop button{all:unset;cursor:pointer;color:var(--c-ffd66b);font:600 13px var(--f)}
  .dhbot{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--c-ffffff);border-top:1px solid var(--line);z-index:20;padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
  .dhbot button{flex-direction:column;gap:2px;padding:6px 2px;font-size:11px;text-align:center;justify-content:center;color:var(--muted);flex:1;align-items:center;width:auto}
  .dhbot button.on{color:var(--blue);font-weight:700}
  .dhmain{margin-left:0;padding:66px 12px 84px}
}
/* ---- shared card pieces ---- */
.dhcard{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;font-family:var(--f);color:var(--text)}
.dhcard h3{margin:0 0 10px;font-size:15px;font-weight:700}
.chip{display:inline-block;border-radius:999px;padding:2px 10px;font:650 12px var(--f)}
.chip.st-a{background:var(--st-a);color:var(--st-a-t)}.chip.st-g{background:var(--st-g);color:var(--st-g-t)}.chip.st-p{background:var(--st-p);color:var(--st-p-t)}.chip.st-s{background:var(--st-s);color:var(--st-s-t)}.chip.st-d{background:var(--st-d);color:var(--st-d-t)}
.tag{display:inline-block;background:var(--signal);color:var(--c-2b2100);font:800 20px var(--f);font-variant-numeric:tabular-nums;padding:3px 12px 3px 16px;clip-path:polygon(10px 0,100% 0,100% 100%,10px 100%,0 50%)}
.num{font-variant-numeric:tabular-nums}
/* ---- dashboard ---- */
.dhgreet{font-family:var(--f);margin:2px 0 16px}.dhgreet h1{margin:0;font-size:26px;letter-spacing:-.02em;color:var(--text)}.dhgreet p{margin:2px 0 0;color:var(--muted);font-size:14px}
.dhquick{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;font-family:var(--f)}
.dhquick button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 18px;font:650 15px var(--f);color:var(--text);min-width:150px;box-sizing:border-box}
.dhquick button:hover{border-color:var(--blue)}.dhquick button.pri{background:var(--blue);border-color:var(--blue);color:var(--c-ffffff)}
.dhquick svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dhrail{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:18px;font-family:var(--f);background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.dhrail button{all:unset;cursor:pointer;padding:14px 18px;border-right:1px solid var(--line);box-sizing:border-box}.dhrail button:last-child{border-right:0}.dhrail button:hover{background:var(--c-f6f8fa)}
.dhrail .n{display:block;font-size:34px;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text);line-height:1.1}
.dhrail .l{font-size:13px;color:var(--muted)}.dhrail .bar{height:4px;border-radius:2px;margin-top:8px}
.dhtwo{display:grid;grid-template-columns:3fr 2fr;gap:14px}
.dhrow{all:unset;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:12px 4px;border-bottom:1px solid var(--line);width:100%;box-sizing:border-box;font:500 15px var(--f);color:var(--text)}
.dhrow:last-child{border-bottom:0}.dhrow:hover{color:var(--blue)}.dhrow i{font-style:normal;color:var(--muted)}
.dhempty{color:var(--muted);padding:8px 0}
.dhmeter{height:10px;background:var(--c-e6ebf0);border-radius:6px;overflow:hidden;margin:6px 0 4px}.dhmeter div{height:100%;background:var(--blue)}
@media(max-width:900px){.dhrail{grid-template-columns:repeat(2,1fr)}.dhrail button:nth-child(2){border-right:0}.dhrail button:nth-child(-n+2){border-bottom:1px solid var(--line)}.dhtwo{grid-template-columns:1fr}.dhquick button{flex:1 1 140px}}
/* ---- inventory cards ---- */
.dhchips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px;font-family:var(--f)}
.dhchips button{all:unset;cursor:pointer;border:1px solid var(--line);background:var(--card);border-radius:999px;padding:6px 14px;font:600 14px var(--f);color:var(--text)}
.dhchips button.on{background:var(--ink);border-color:var(--ink);color:var(--c-ffffff)}.dhchips button span{color:var(--muted);margin-left:6px;font-weight:500}.dhchips button.on span{color:var(--c-b9c8de)}
.dhgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;font-family:var(--f)}
/* V10.55 "Show more" under long card lists (same look as the filter chips) and as the last row of long tables */
.dhlink,.dhmain .sapMText.dhlink{color:var(--blue);font-weight:600}
.dhmorerow+.sapMListTblSubRow{display:none}
.dhmore{all:unset;cursor:pointer;display:block;margin:16px auto 0;border:1px solid var(--line);background:var(--card);border-radius:999px;padding:6px 14px;font:600 14px var(--f);color:var(--blue)}
.dhcar{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column}
.dhcar:hover{border-color:var(--blue);box-shadow:0 4px 14px var(--c-10243e-a12)}
.dhcar .ph{position:relative;aspect-ratio:4/3;background:var(--c-dfe5ec);display:flex;align-items:center;justify-content:center;color:var(--c-8a99ab)}
.dhcar .ph img{width:100%;height:100%;object-fit:cover;display:block}.dhcar .ph svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:1.4}
.dhcar .ph .chip{position:absolute;left:10px;top:10px;box-shadow:0 1px 3px var(--c-black-a2)}
.dhcar .ph .rsv{position:absolute;right:10px;top:10px;background:var(--text);color:var(--c-ffffff)}
.dhcar .bd{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px}
.dhcar .ttl{font-weight:700;font-size:16px;color:var(--text);line-height:1.25}.dhcar .sub{color:var(--muted);font-size:14px}
.dhcar .row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}.dhcar .stk{font:600 13px var(--f);color:var(--muted);font-variant-numeric:tabular-nums}
.dhcar .meta{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px;margin-top:4px}.dhcar .meta b{color:var(--text)}
/* ---- car page hero ---- */
.dhhero{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:20px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px;font-family:var(--f);color:var(--text)}
.dhhero .ph{aspect-ratio:4/3;background:var(--c-dfe5ec);border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--c-8a99ab)}.dhhero .ph img{width:100%;height:100%;object-fit:cover}.dhhero .ph svg{width:72px;height:72px;fill:none;stroke:currentColor;stroke-width:1.4}
.dhhero h1{margin:0 0 4px;font-size:26px;letter-spacing:-.02em;line-height:1.15}.dhhero .sub{color:var(--muted);margin-bottom:12px}
.dhhero .facts{display:flex;flex-wrap:wrap;gap:6px 20px;margin:12px 0;font-size:14px;color:var(--muted)}.dhhero .facts b{color:var(--text);font-weight:650}
.dhsteps{display:flex;gap:0;margin-top:14px}
.dhsteps div{flex:1;text-align:center;font-size:12px;color:var(--muted);position:relative;padding-top:18px}
.dhsteps div:before{content:"";position:absolute;top:5px;left:0;right:0;height:4px;background:var(--c-dfe5ec)}
.dhsteps div:first-child:before{left:50%}.dhsteps div:last-child:before{right:50%}
.dhsteps div:after{content:"";position:absolute;top:0;left:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:var(--c-dfe5ec);border:2px solid var(--card);box-sizing:border-box}
.dhsteps div.done:before,.dhsteps div.done:after{background:var(--c-1f8a4c)}.dhsteps div.now{color:var(--text);font-weight:700}.dhsteps div.now:after{background:var(--signal);outline:2px solid var(--ink);width:16px;height:16px;top:-1px;left:calc(50% - 8px)}
@media(max-width:700px){.dhhero{grid-template-columns:1fr}.dhsteps div{font-size:10px}}
/* ---- sales funnel board ---- */
.dhboard{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px;font-family:var(--f);scroll-snap-type:x proximity}
body.dhdragging .dhboard{scroll-snap-type:none} /* V10.32.1 snapping pulled the board back after each auto-scroll step */
.dhcol{flex:0 0 250px;background:var(--c-e4e9ee);border-radius:12px;padding:10px;scroll-snap-align:start}
.dhcol h4{margin:2px 4px 10px;font-size:13px;font-weight:700;color:var(--text);display:flex;justify-content:space-between}.dhcol h4 span{color:var(--muted);font-weight:600}
.dhlead{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:8px;cursor:pointer}.dhlead:hover{border-color:var(--blue)}
.dhlead b{display:block;font-size:15px;color:var(--text)}.dhlead .v{font-size:13px;color:var(--muted)}.dhlead .s{margin-top:6px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:6px}
.dhlead .src{background:var(--c-eaf1ff);color:var(--st-s-t);border-radius:999px;padding:1px 8px;font-weight:600}.dhlead q{display:block;margin-top:6px;font-size:13px;color:var(--text);quotes:none}
/* ---- sign-in ---- */
.dhlogin2,.dhlogin2.sapMFlexBox{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh;font-family:var(--f)} /* V10.63.1 beats the FlexBox's own display, so phones stack */
.dhlogin2 .art{box-sizing:border-box;height:100%} /* V10.63.1 the dark half fills the height */
.dhlogin2 .art{background:var(--ink);color:var(--c-ffffff);padding:56px 48px;display:flex;flex-direction:column;justify-content:space-between}
.dhlogin2 .art h1{font-size:40px;line-height:1.1;letter-spacing:-.025em;margin:0 0 14px;max-width:14ch}.dhlogin2 .art p{color:var(--c-b9c8de);font-size:17px;max-width:34ch;line-height:1.45}
.dhlogin2 .art .tag{align-self:flex-start;font-size:18px}
.dhlogin2 .form,.dhlogin2 .form.sapMFlexBox{display:flex;align-items:center;justify-content:center;padding:32px 20px;background:var(--bg)}
.dhlogin{width:100%;max-width:24rem}
@media(max-width:800px){.dhlogin2,.dhlogin2.sapMFlexBox{grid-template-columns:1fr;grid-template-rows:auto 1fr}.dhlogin2 .art{padding:28px 22px;min-height:0}.dhlogin2 .art h1{font-size:28px}.dhlogin2 .form,.dhlogin2 .form.sapMFlexBox{align-items:center;justify-content:flex-start}}
/* Printable paper documents (original DRAFT layouts, not licensed forms) */
.paper{background:var(--c-ffffff);color:var(--c-17283d);max-width:820px;margin:8px auto;padding:24px;border:1px solid var(--c-c8d1db);font-family:Arial,sans-serif;font-size:13px}
.paper h2{text-align:center;margin:8px 0 2px}
.paper h3{background:var(--c-e9edf2);padding:6px 8px;margin:14px 0 4px;font-size:13px}
.paper table{width:100%;border-collapse:collapse}
.paper th{width:36%;text-align:left;background:var(--c-f6f8fa);border:1px solid var(--c-cdd6df);padding:5px 8px}
.paper td{border:1px solid var(--c-cdd6df);padding:5px 8px}
.paper .stamp{color:var(--c-ae2535);border:2px solid var(--c-ae2535);font-weight:700;text-align:center;padding:6px;margin-bottom:10px}
.paper .sub{text-align:center;color:var(--c-536579);margin:0 0 6px}
.paper .note{font-size:11px;color:var(--c-536579);margin-top:12px}
.paper .miss{color:var(--c-ae2535)}
.paper .sigs{display:flex;gap:24px;margin-top:28px}
.paper .sigs>div{flex:1;border-top:1px solid var(--c-324b5b);padding-top:6px}
#dhPrintStage{display:none}
@page{size:A4;margin:10mm}
@media print{
  html,body{height:auto!important;margin:0!important;background:var(--c-ffffff)!important}
  body>#content,#sap-ui-static,.sapUiBLy{display:none!important}
  #dhPrintStage{display:block!important}
  #dhPrintStage .paper{border:0;margin:0;max-width:none;padding:0}
  #dhPrintStage h3,#dhPrintStage table{break-inside:avoid}
}

/* live camera */
.dhcam{position:relative;background:var(--c-000000);border-radius:10px;overflow:hidden;aspect-ratio:4/3;max-height:56vh}
.dhcam video{width:100%;height:100%;object-fit:cover;display:block}
.dhcamguide{position:absolute;inset:18% 8%;border:3px solid var(--c-white-a85);border-radius:12px;box-shadow:0 0 0 999px var(--c-black-a25);pointer-events:none}
.dhcamguide.vin{inset:36% 6%}
.dhcamstatus{padding-top:8px;color:var(--c-32363a)}

/* ---- condensed layouts ---- */
.dhform{gap:0 18px;align-items:flex-start}
.dhform>.sapMVBox{flex:1 1 calc(33.333% - 18px);min-width:190px;margin-bottom:6px}
.dhform>.dhfull{flex:1 1 100%}
.dhform .sapMLabel{font-size:.8rem;color:var(--muted)}
.dhmain .sapMListTbl .sapMListTblCell{padding-top:.45rem;padding-bottom:.45rem}
.dhmain .dhpad{padding:10px 14px}
.dhmain .sapMPanelContent{padding:0}
.dhcar .ph{aspect-ratio:16/10}
.dhgrid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px}
.dhhero{grid-template-columns:minmax(200px,270px) 1fr;gap:18px;padding:12px}
.dhhero .ph{aspect-ratio:16/10}.dhhero h1{font-size:22px}.dhhero .sub{margin-bottom:8px}.dhhero .facts{margin:8px 0}.dhsteps{margin-top:8px}
/* phone: the car's photo sits above its name (the compact rule above would otherwise squeeze the name) */
@media(max-width:700px){.dhhero{grid-template-columns:1fr}}
@media(max-width:700px){.dhform>.sapMVBox{flex-basis:calc(50% - 18px);min-width:140px}.dhform>.dhfull{flex-basis:100%}}
@media(max-width:700px){
  .dhgrid{grid-template-columns:repeat(2,1fr);gap:10px}
  .dhcar .bd{padding:8px 10px 10px;gap:4px}.dhcar .ttl{font-size:14px}.dhcar .sub{font-size:12px}.dhcar .tag{font-size:15px;padding:2px 8px 2px 14px}.dhcar .meta{font-size:11px}.dhcar .stk{font-size:11px}
  .dhcar .row{flex-wrap:wrap}
}

.dhlotstats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}
.dhlotstats div{background:var(--c-ffffff);border-radius:12px;padding:12px 14px;border-left:5px solid var(--ink)}
.dhlotstats b{display:block;font-size:28px;line-height:1.1;color:var(--text)}.dhlotstats span{font-size:12px;color:var(--muted)}
.dhlotstats .occ{border-color:var(--blue)}.dhlotstats .vac{border-color:var(--c-1e9e5a)}.dhlotstats .warn{border-color:var(--c-e08a00)}
.dhzone h3{display:flex;justify-content:space-between;margin:0 0 10px}.dhzone h3 span{font-size:12px;color:var(--muted);font-weight:600}
.dhspots{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.dhspot{font-family:var(--f);text-align:left;border:1px solid var(--c-cfd6de);border-radius:10px;padding:6px 8px;min-height:74px;cursor:pointer;background:var(--c-ffffff);display:flex;flex-direction:column;gap:1px}
.dhspot i{font-style:normal;font-size:11px;color:var(--muted);font-weight:700}.dhspot b{font-size:13px}.dhspot em{font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dhspot u{text-decoration:none;font-size:11px;color:var(--muted);margin-top:auto}
.dhspot.full{background:var(--c-e8f0fd);border-color:var(--blue)}.dhspot.sold{background:var(--c-fff4d6);border-color:var(--signal)}.dhspot.free{border-style:dashed;background:var(--c-f2faf5)}.dhspot.free b{color:var(--c-1e9e5a);font-weight:600}
@media(max-width:900px){.dhlotstats{grid-template-columns:repeat(2,1fr)}}
.dhchips .dhchip{border:1px solid var(--line);background:var(--c-ffffff);border-radius:999px;padding:5px 12px;font:600 13px var(--f)}

.dhsigwrap{position:relative;border:1.5px dashed var(--c-8795a6);border-radius:10px;background:var(--c-ffffff);margin:8px 0;touch-action:none}
.dhsig{width:100%;height:auto;aspect-ratio:3/1;display:block;touch-action:none;cursor:crosshair}
.dhsighint{position:absolute;left:0;right:0;bottom:6px;text-align:center;font:12px var(--f);color:var(--c-8795a6);pointer-events:none}.dhsigwrap.inked .dhsighint{display:none}
.paper .sig{border-bottom:1px solid var(--c-999999)}

.dhb{font:600 13px var(--f);border:1px solid var(--c-b4bfcb);background:var(--c-ffffff);border-radius:8px;padding:8px 14px;cursor:pointer;margin-left:6px;color:var(--text)}.dhb.ok{background:var(--blue);border-color:var(--blue);color:var(--c-ffffff)}
.dhpend{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}
.dhjob{display:grid;grid-template-columns:1.3fr 1.6fr 1fr auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line);font-family:var(--f)}
.dhjob span,.dhjob i{display:block;font-size:12px;color:var(--muted);font-style:normal}.dhjob .where{background:var(--c-fff4d6);border-radius:8px;padding:6px 10px}.dhjob .where b{font-size:18px;display:block}.dhjob .where.none{background:var(--c-eef1f4)}
.dhzonelabel{font:700 12px var(--f);color:var(--muted);margin:10px 0 4px}.dhspots.mini{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.dhspots.mini .dhspot{min-height:46px;cursor:default}
@media(max-width:700px){.dhjob{grid-template-columns:1fr 1fr}.dhjob button{grid-column:1/-1;margin:0}}

/* ==== Fonts & colour highlights (added Nov 2026) ===========================
   Same navy + yellow theme. Adds two self-hosted fonts and a few yellow
   highlights. To undo everything, delete from this line to the end. */
@font-face{font-family:"Archivo";src:url(/fonts/archivo.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"Inter";src:url(/fonts/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{--f:"Inter","Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  --ads-card:280px; /* V10.42 narrowest network card in Settings › Advertising: three across on a laptop, one on a phone */
  --ads-gap:12px; /* space between those cards (same step as the other card gaps) */
  --ads-step:6px; /* small space inside a card: between setup steps, above "Came from" on a lead (as .dhlead .s) */
  --ads-indent:20px; /* indent of the numbered setup steps */
  --ads-fs:14px; /* setup-step text (same as other card body text) */
  --ads-fs-sm:12px; /* "Came from: Facebook ad" on a Sales Funnel card (same as the source chip) */
  --pref-label:170px; /* width of the kind-of-work column in Preferred suppliers (fits "Towing / transport") */
  --qr-gap:12px; /* space between the two phone-link blocks in "Open on my phone" (same step as the card gaps) */
  --nudge-w:140px; /* width of each printer-nudge box in Settings › Paper forms (fits "Move right (mm)") */
  /* V10.7 buyer marketplace (public/market.css). V10.10: luxury "showroom" look, its own palette, because the
     marketplace is a buyer-facing site and not the dealer work tool that TASTE.md describes */
  --mk-max:1280px; /* page width of the marketplace: four large car cards across on a laptop */
  --mk-card:260px; /* narrowest car card in the marketplace grid */
  --mk-side:360px; /* right column on a marketplace car page: price, dealer and the contact form */
  --mk-r:4px; /* corner radius on the marketplace: nearly square reads as premium (photos, panels, buttons) */
  --mk-s:8px; /* spacing step on the marketplace; everything is a multiple of it */
  --mk-fs-sm:13px; /* small print on the marketplace: dealer name, fine print */
  --mk-fs-eyebrow:12px; /* letter-spaced capitals above headings ("Just arrived") */
  --mk-fs-h1:56px; /* home page headline on a laptop */
  --mk-fs-h1-phone:36px; /* home page headline on a phone */
  --mk-fs-title:40px; /* car name on a car page, and other page headings */
  --mk-fs-h2:30px; /* section headings */
  --mk-fs-price:22px; /* price on a marketplace car card */
  --mk-fs-bigprice:44px; /* price in the panel on a car page */
  --mk-paper:#f7f5f0; /* warm ivory page background */
  --mk-hair:#e3ddd2; /* warm hairline between things, instead of boxes */
  --mk-mute:#6f6a60; /* warm grey small text on ivory (5.1:1 contrast) */
  --mk-gold:#b8925a; /* champagne bronze accent: eyebrows, main buttons, thin rules (ink text on it is 5.4:1) */
  --mk-gold-hi:#c9a46e; /* main button when hovered */
  --mk-on-ink:#d9d3c7; /* soft ivory text on the navy hero, panel and footer */
  --mk-slow:280ms; /* photo zoom and card hover on the marketplace */
  --ai-edge:3px; /* coloured edge on AI Assistant answers in the command bar */
  --ai-pad:12px; /* inner space of an AI Assistant answer (same step as card gaps) */
  --lcar-ph:120px; /* photo width on each row of My cars (marketplace-only dealers) */
  --map-h:420px; /* height of the Suppliers near you map (about half a laptop screen; the list scrolls under it) */
  --map-h-phone:300px; /* the same map on a phone, so the list below stays reachable */
  --map-dot:7px; /* radius of a supplier dot on the map (the dealership dot is 3px bigger) */
  --map-me:var(--ink); /* your dealership on the map */
  --map-dh:var(--blue); /* suppliers on DealerCore */
  --map-star:var(--st-g-t); /* your starred vendors (same amber as the star) */
  --map-osm:var(--muted); /* businesses not on DealerCore yet */
  --map-ring:var(--blue); /* the distance ring */
  --setup-w:480px; /* width of the one-time owner setup page (a single short form) */
  --wm-size:120px; /* the SAMPLE watermark across demo documents: big enough to cross the whole page */
  --wm-ink:var(--muted); /* watermark colour: muted grey, shown see-through on top of the document so the text stays readable */
  --bad-ink:#ae2535; /* V10.28 text for a problem (same red as the existing .dhbad notes), e.g. a car that could not be sent */
  --wiz-logo-h:64px; /* V10.25 logo preview in the guided setup: big enough to check, small enough to leave room for the form */
  --wiz-h:22px; /* V10.24 guided setup: step heading (between the card heading and the page greeting) */
  --ws-thumb-w:72px; --ws-thumb-h:54px; /* V10.31 wholesale list: car photo thumbnail, 4:3, large enough to recognise the car on a phone */
  --ws-photo-h:132px; /* V10.31 wholesale car window: height of each photo in the scrolling strip */
  --ws-price:20px; /* V10.31 wholesale car window: the price is the biggest thing (TASTE: numbers that matter are biggest) */
  --drag-edge:96px; /* V10.32.1 Sales Funnel: while dragging a card this close to the board's left/right edge, the board scrolls */
  --drag-speed:22px; /* V10.32.1 Sales Funnel: fastest sideways scroll per frame, reached at the very edge (slower further in) */
  --due-fs:12px; /* V10.33 follow-up line on a Sales Funnel card: same size as the existing badges */
  --calc-big:18px; /* V10.33 payment calculator and appraisal: the payment / suggested offer row stands out */
  --ca-red:#eb2d37; /* V10.35.1 Canadian red: the Government of Canada's screen value for flag red (FIP red, Pantone 032, RGB 235 45 55). Only for "Can" and the maple leaf in the CanCars logo (3.7:1 on the navy header) */
  --mk-leaf:18px; /* V10.35.1 maple leaf in the CanCars logo: a little taller than the 15px letters so it reads as the mark */
  --mk-leaf-phone:15px; /* the same leaf beside the smaller phone-size logo */
  --spin-w:520px; /* V10.35 360° capture screens: one phone-width column, as in the approved prototype */
  --spin-btn-h:56px; /* V10.35 the one big action per 360° screen (Start recording, Publish): easy to hit with a thumb */
  --spin-tab-h:34px; /* V10.35 Outside | Inside switch on the spin viewer (over the photo) */
  --spin-num:36px; /* V10.35 numbered circles beside the three recording tips */
  --spin-bar:10px; /* V10.35 progress bar while the phone makes the 360° pictures */
  --spin-r:16px; /* V10.35 corners of the 360° cards and buttons (prototype look) */
  --spin-fade:400ms; /* V10.35 the "Drag to turn" hint fades out once the buyer starts turning */
  --spin-h1:28px; /* V10.35 heading on each 360° recording screen (phone-sized, two short lines at most) */
  --spin-fs:16px; /* V10.35 body text on the 360° screens */
  --spin-fs-l:17px; /* V10.35 recording tips and the big buttons: read at arm's length beside a car */
  --spin-fs-m:15px; /* V10.35 notes, small buttons and links on the 360° screens */
  --spin-car:18px; /* V10.35 car name and price at the top of the 360° screens */
  --spin-brand:20px; /* V10.35 DealerCore / CanCars name at the top of the 360° screens */
  --spin-tap:44px; /* V10.35 smallest tap target on the 360° screens (Apple's minimum) */
  --spin-veil:rgba(16,36,62,.82); /* V10.35 badge, hint and tab background over the photo: --ink (#10243e) at 82% so it reads on any car */
  /* V10.37 public DealerCore website (public/site.css, website.js): a sales site for dealers, same navy + yellow brand */
  --ws-max:1160px; /* page width of the website: comfortable reading width with a screenshot beside the text */
  --ws-top-h:64px; /* height of the navy header bar */
  --ws-h1:52px; /* home page headline on a laptop */
  --ws-h1-phone:34px; /* the same headline on a phone */
  --ws-h2:34px; /* section headings */
  --ws-h2-phone:26px; /* section headings on a phone */
  --ws-h3:18px; /* card and feature headings */
  --ws-lead:19px; /* the sentence under a headline */
  --ws-fs:16px; /* body text */
  --ws-fs-sm:14px; /* small print: footer, notes under buttons */
  --ws-eyebrow:13px; /* letter-spaced capitals above headings */
  --ws-sec:88px; /* space above and below each section on a laptop */
  --ws-sec-phone:56px; /* the same on a phone */
  --ws-gap:24px; /* gap between cards and columns (two card steps of 12px) */
  --ws-r:12px; /* card corners, same as the app's cards */
  --ws-tap:48px; /* button height: comfortably above the 44px tap minimum */
  --ws-on-ink:#c3d1e6; /* soft text on the navy header, hero and footer (same blue-grey as the app's menu text) */
  --ws-frame:rgba(255,255,255,.16); /* thin light border around the app screenshot on the navy hero */
  --ws-shadow:0 24px 60px rgba(16,36,62,.45); /* the hero screenshot floats over the navy (--ink at 45%), the only shadow on the site */
  --ws-fs-card:15px; /* text inside feature cards */
  --ws-fs-l:17px; /* larger body text beside screenshots */
  --ws-brand:22px; /* DealerCore name in the header */
  --ws-prose:720px; /* V10.38 reading width of About text and the contact form (about 75 characters a line) */
  --ws-side:280px; /* V10.38 contact page: the narrow column with the email address beside the form */
  --ws-ink-line:rgba(255,255,255,.08); /* hairline between parts of the navy footer (same as the app sidebar's dividers) */
  --mk-bk-w:720px; /* V10.39 booking page on CanCars: one readable column (day chips, times, form) */
  --mk-bk-time:110px; /* V10.39 narrowest time button on the booking page: three across on a phone */
  --mk-diff:#f3ead9; /* V10.60 CanCars compare: soft champagne behind rows where the cars differ (ink text on it stays 13:1) */
  --mk-cmp-col:240px; /* V10.60 width of one car column on the compare page (laptop) */
  --mk-cmp-label:160px; /* V10.60 left column with the row names on the compare page (laptop) */
  --mk-cmp-col-phone:32vw; /* V10.60 one car column on a phone: two cars show in full, the third scrolls in */
  --mk-cmp-label-phone:25vw; /* V10.60 row-name column on a phone (stays put while the cars scroll) */
  --mk-cmp-thumb:56px; /* V10.60 small photo of each picked car in the compare bar */
  --mk-tap:44px; /* V10.60 smallest tap target on CanCars (Apple's guideline) */
  --sc-w:420px; /* V10.40 shopper chat panel: one phone-width column beside the car details (fills the width on a phone) */
  --sc-log-h:300px; /* V10.40 shopper chat: height of the message list before it scrolls (about 6 short answers) */
  --sc-r:12px; /* V10.40 shopper chat: corner radius, the same as DealerCore cards */
  --sc-tap:44px; /* V10.40 shopper chat: smallest button height (Apple's minimum tap target) */
  --sc-fs:15px; /* V10.40 shopper chat: message text */
  --sc-fs-s:12px; /* V10.40 shopper chat: fine print under the chat */
  --fh:"Archivo","Inter","Segoe UI",system-ui,sans-serif;
  --mono:ui-monospace,Consolas,"Courier New",monospace /* V10.50 code samples on /developers and the copy boxes: the system monospace font, no extra font file */}
/* body text inside OpenUI5 controls uses Inter (icons are left alone) */
.dhmain .sapMText,.dhmain .sapMLabel,.dhmain .sapMLnk,.dhmain .sapMBtnContent,.dhmain .sapMInputBaseInner,.dhmain .sapMListTblCell,
.dhmain .sapMListTblHeaderCell,.dhmain .sapMSLITitleOnly,.dhmain .sapMITBText,.sapMDialog .sapMText,.sapMDialog .sapMLabel,.sapMDialog .sapMBtnContent,.sapMDialog .sapMInputBaseInner,
.dhlogin .sapMText,.dhlogin .sapMLabel,.dhlogin .sapMBtnContent,.dhlogin .sapMInputBaseInner{font-family:var(--f)}
.dhlogin .sapMTitle{font-family:var(--fh);font-stretch:88%;font-weight:800;font-size:1.5rem}
/* headings: Archivo, slightly condensed */
.dhgreet h1,.dhmain .sapMTitle,.dhbrand b,.dhtop,.dhcar .ttl,.dhhero h1,.dhcard h3,.dhcol h4,.dhzone h3,.dhlogin2 .art h1,.sapMDialog .sapMTitle{font-family:var(--fh);font-stretch:88%}
.dhgreet h1{font-size:30px;font-weight:800;letter-spacing:-.015em}
.dhmain .sapMTitle,.sapMDialog .sapMTitle{font-weight:700}
.dhmain .sapMTB .sapMTitle.sapMBarChildFirstChild:not(.sapMPanel .sapMTitle){font-weight:800;font-size:1.75rem;letter-spacing:-.01em;overflow:visible}
.dhmain .sapMBtnContent,.sapMDialog .sapMBtnContent{font-weight:600}
.dhbrand b{font-size:19px;font-weight:800;letter-spacing:0}
.dhcar .ttl{font-weight:700;font-size:17px;letter-spacing:-.005em}
.dhlogin2 .art h1{font-weight:800;font-stretch:85%}
/* big numbers: condensed, tabular */
.dhrail .n,.dhlotstats b,.tag{font-family:var(--fh);font-stretch:85%;font-variant-numeric:tabular-nums}
.dhrail .n{font-weight:800}
.tag{font-weight:800}
/* yellow highlights */
.dhgreet h1:after{content:"";display:block;width:44px;height:4px;background:var(--signal);border-radius:2px;margin-top:8px}
.dhcard h3{display:flex;align-items:center;gap:8px}
.dhcard h3:before{content:"";width:4px;height:16px;border-radius:2px;background:var(--signal);flex:none}
.dhnav button.on svg{color:var(--signal)}
.dhchips button.on span{color:var(--signal)}
.dhcar{transition:border-color .12s,box-shadow .12s,transform .12s}
.dhcar:hover{border-color:var(--signal);box-shadow:0 6px 18px var(--c-10243e-a14);transform:translateY(-2px)}
.dhmain .sapMListTblHeaderCell{border-bottom:2px solid var(--ink)!important;font-size:.8125rem!important}
.dhquick button.pri{box-shadow:inset 0 -3px 0 var(--signal)}
@media (prefers-reduced-motion:reduce){.dhcar{transition:none}.dhcar:hover{transform:none}}
/* ==== V10 additions ==== */
.dhqr{display:flex;justify-content:center;padding:8px 0}.dhqr svg{width:200px;height:200px;background:var(--c-ffffff)}
.dhrec{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.dhrec code{font:600 16px ui-monospace,Consolas,monospace;background:var(--c-f6f8fa);border:1px solid var(--line);border-radius:6px;padding:8px;text-align:center;letter-spacing:.06em}
.dhkv{width:100%;border-collapse:collapse;font-family:var(--f);font-size:14px}.dhkv th{text-align:left;color:var(--muted);font-weight:600;width:38%;padding:6px 8px 6px 0;vertical-align:top}.dhkv td{padding:6px 0}.dhkv tr{border-bottom:1px solid var(--line)}
.dhlegal{text-align:center}.dhlegal a{color:var(--muted)}
.dhcfx>.sapMInputBase{flex:1 1 320px;margin-right:8px}
.dhuser button[data-acct]{color:var(--c-c3d1e6)}
/* command bar */
.dhcmdbtn{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:10px;margin:12px 12px 2px;padding:9px 12px;border-radius:8px;background:var(--c-white-a08);border:1px solid var(--c-white-a14);color:var(--c-c3d1e6);font:500 14px var(--f);width:calc(100% - 24px)}
.dhcmdbtn:hover{background:var(--c-white-a13);color:var(--c-ffffff)}.dhcmdbtn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.dhcmdbtn span{flex:1;white-space:nowrap}.dhcmdbtn kbd{font:600 11px var(--f);color:var(--c-9fb3cf);border:1px solid var(--c-white-a2);border-radius:4px;padding:1px 5px}
.dhtop button[data-cmd] svg{width:20px;height:20px;fill:none;stroke:var(--c-ffd66b);stroke-width:2;stroke-linecap:round;vertical-align:middle}
.dhcmd .sapMInputBaseInner{font-size:1.05rem}.dhcmd .sapMSLITitleOnly,.dhcmd .sapMSLITitle{font-family:ui-monospace,Consolas,monospace;font-weight:600}
.dhcmdbtns .sapMBtn{margin-right:8px}
/* docked command bar (bottom of the screen, collapsible) */
.dhdock{position:fixed;left:232px;right:0;bottom:0;z-index:30;background:var(--c-ffffff);border-top:3px solid var(--signal);box-shadow:0 -6px 24px var(--c-10243e-a16);font-family:var(--f)}
.dhdock-head{padding:8px 16px;gap:10px}.dhdock-head>.sapMFlexItem:nth-child(2){flex:1 1 auto!important;min-width:0}.dhdock-head .sapMInputBase{width:100%!important}
.dhdock-ico svg{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;display:block}
.dhdock-body{max-height:min(58vh,520px);overflow:auto;padding:0 16px 14px;box-sizing:border-box}
.dhdock.collapsed .dhdock-body{display:none}
.dhdock .sapMSLITitleOnly,.dhdock .sapMSLITitle{font-family:var(--f);font-weight:600} /* V10.16: suggestions are plain sentences now, not command syntax */
body.dh-has-dock .dhmain{padding-bottom:96px}
@media(max-width:900px){.dhdock{left:0;bottom:calc(58px + env(safe-area-inset-bottom));border-top-width:2px}.dhdock-head{padding:6px 10px}.dhdock-body{max-height:55vh}body.dh-has-dock .dhmain{padding-bottom:150px}}
@media print{.dhdock{display:none!important}}
/* integrations */
.dhintgrid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:14px;margin-top:12px}
.dhintgrid>.sapMFlexItem{min-width:0}
.dhintcard{height:100%;box-sizing:border-box}.dhintcard .sapMTitle{font-family:var(--fh);font-stretch:88%;font-weight:800}
.dhintrow>.sapMFlexItem{margin-right:8px}.dhintacts>.sapMFlexItem{margin:0 6px 6px 0}
.dhbad{color:var(--c-ae2535)!important}
/* market price check */
.dhmkt .sapMTitle{font-family:var(--fh);font-stretch:88%;font-weight:800}
.dhmktbar{position:relative;height:14px;background:var(--c-e6ebf0);border-radius:7px;margin:34px 6px 6px}
.dhmktbar .band{position:absolute;top:0;bottom:0;background:var(--c-cfe0fb);border-radius:7px}
.dhmktbar .typ{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--ink)}
.dhmktbar .you{position:absolute;top:-6px;width:0;height:26px}.dhmktbar .you:before{content:"";position:absolute;left:-7px;top:0;width:14px;height:26px;background:var(--signal);border:2px solid var(--ink);border-radius:4px;box-sizing:border-box}
.dhmktbar .you span{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);white-space:nowrap;font:700 12px var(--f);color:var(--ink);background:var(--signal);padding:1px 6px;border-radius:3px}
.dhmktlbl{position:relative;display:flex;justify-content:space-between;font:600 12px var(--f);color:var(--muted);margin:0 6px 22px}.dhmktlbl .t{position:absolute;top:16px;transform:translateX(-50%);white-space:nowrap;color:var(--ink)}
.dhmktsum{font:600 14px var(--f);margin:6px 0}.dhpos-ok{color:var(--st-p-t)}.dhpos-low{color:var(--st-s-t)}.dhpos-high{color:var(--c-9a4a00)}
.dhmktrow{border-top:1px solid var(--line);padding:8px 0}.dhmktsrc{font-weight:700!important}.dhmktbtns>.sapMFlexItem{margin-left:6px}
.dhmktauto{background:var(--c-f6f8fa);border-radius:8px;padding:6px 10px;margin:6px 0}.dhmktest{margin:0;font:600 14px var(--f);color:var(--text)}
/* Buyer documents (Deal tab) */
.dhbuyerinfo p{margin:6px 0;line-height:1.5;font-size:14px}
.dhbuyerinfo a{color:var(--c-0b5cad);font-weight:600}
.dhbadge{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:700;margin-left:2px}
.dhbadge.ok{background:var(--c-e3f4e8);color:var(--c-1b6b34)}.dhbadge.bad{background:var(--c-fde5e3);color:var(--c-a1261b)}.dhbadge.warn{background:var(--c-fff3d6);color:var(--c-7a5600)}
.dhbuyerbtns{gap:8px;margin:8px 0 4px}
@media (max-width:600px){.dhbuyerbtns .sapMBtn{width:100%}}
/* Business overview (Dashboard) */
.ov{margin-top:26px;font-family:var(--f)}
.ovhead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.ovhead h2{margin:0;font-size:21px;letter-spacing:-.01em;color:var(--text)}
.ovper{display:flex;gap:6px;flex-wrap:wrap}
.ovper button{all:unset;cursor:pointer;padding:6px 12px;border-radius:16px;border:1px solid var(--line);background:var(--card);font-size:13px;color:var(--text)}
.ovper button.on{background:var(--ink);border-color:var(--ink);color:var(--c-ffffff);font-weight:650}
.ovrange{margin:4px 0 12px}
.ovtiles{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:14px}
.ovt{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-width:0}
.ovl{font-size:13px;color:var(--muted);font-weight:600}
.ovv{font-size:28px;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text);line-height:1.2;margin-top:4px}
.ovs{font-size:13px;color:var(--muted)}
.dl{display:inline-block;margin-top:6px;font-size:12px;font-weight:650}.dl.up{color:var(--c-1b7a3e)}.dl.down{color:var(--c-b3261e)}.dl.flat{color:var(--muted);font-weight:500}
.ovgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.ovone{margin-bottom:14px}
.ovsub{margin:16px 0 6px;font-size:14px;color:var(--muted);font-weight:600}
.ovtrend{width:100%;height:auto;display:block}
.ovtrend .tn{font-size:13px;font-weight:700;fill:var(--text)}.ovtrend .tg{font-size:11px;fill:var(--c-1b7a3e);font-weight:650}.ovtrend .tl{font-size:12px;fill:var(--muted)}
.ovhb{display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:10px;margin:7px 0;font-size:14px}
.ovhb .track{height:12px;background:var(--c-eef1f4);border-radius:6px;overflow:hidden}.ovhb .track span{display:block;height:100%;border-radius:6px}
.ovhb .v{font-weight:700;font-variant-numeric:tabular-nums;min-width:28px;text-align:right}.ovhb em{font-style:normal;color:var(--muted);font-weight:500;font-size:12.5px}
.ovtbl{width:100%;border-collapse:collapse;font-size:14px}
.ovtbl th{text-align:left;font-size:12px;color:var(--muted);font-weight:650;padding:6px 6px;border-bottom:1px solid var(--line)}
.ovtbl td{padding:8px 6px;border-bottom:1px solid var(--c-eef1f4);font-variant-numeric:tabular-nums}
.ovtbl tr:last-child td{border-bottom:0}.ovtbl tr.click{cursor:pointer}.ovtbl tr.click:hover td{background:var(--c-f6f8fa)}
.ovkv td:last-child{text-align:right;white-space:nowrap}
.ov .dhrow b{font-variant-numeric:tabular-nums}.ov b.bad,.ov .bad{color:var(--c-b3261e)}.ov b.warn{color:var(--c-9a6a00)}
.ov .dhrow em{font-style:normal;font-size:12px}
@media (max-width:1200px){.ovtiles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.ovgrid{grid-template-columns:1fr}}
@media (max-width:600px){.ovtiles{grid-template-columns:repeat(2,1fr)}.ovv{font-size:23px}.ovhb{grid-template-columns:110px 1fr auto;font-size:13px}.ovtbl{font-size:13px}.ovtbl th,.ovtbl td{padding:6px 4px}}
/* drill-down affordances */
button.ovt{all:unset;box-sizing:border-box;cursor:pointer;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-width:0;display:block;transition:border-color .15s}
button.ovt:hover,button.ovt:focus-visible{border-color:var(--blue);box-shadow:0 2px 10px var(--c-0b5cd5-a12)}
button.ovt:focus-visible{transition:none;outline:var(--focus-w) solid var(--focus-light);outline-offset:var(--focus-off)} /* V10.68: the focus ring appears at once */
.ovgo{display:block;margin-top:8px;font-size:12px;font-weight:650;color:var(--blue)}
.ovhb.click{cursor:pointer;border-radius:6px;padding:2px 4px;margin:5px -4px}.ovhb.click:hover{background:var(--c-f2f6fc)}
.ovtrend .click{cursor:pointer}.ovtrend .click:hover rect:first-child{fill:var(--ink)}
.ovtbl tr.click{cursor:pointer}.ovtbl tr.click:hover td{background:var(--c-f2f6fc)}
.ovlink{color:var(--blue);font-weight:650;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.ovlink.bad{color:var(--c-b3261e)}
.ovchev{font-style:normal;color:var(--muted);margin-left:4px}
.dhkpiclick{cursor:pointer;transition:border-color .15s,box-shadow .15s}.dhkpiclick:hover{box-shadow:0 2px 10px var(--c-0b5cd5-a15)}.dhkpiclick:focus-visible{outline:2px solid var(--blue)}
.ov .dhrow b{white-space:nowrap;margin-left:8px}
/* ==== Health check + Apple-style motion (added Nov 2026) ====================
   New tokens: status text colours already used on status tags and the overview,
   gathered here so the health screen does not invent new ones; one soft bar colour
   (the sidebar's secondary text colour) for "below costs"; and the motion values. */
:root{--good:var(--st-p-t);--warn:var(--st-g-t);--bad:#ae2535;--bar-soft:#9fb3cf;--track:#e6ebf0;
  --spring:cubic-bezier(.34,1.4,.64,1); /* gentle overshoot, like an iOS spring with a little bounce */
  --ease-out:cubic-bezier(.25,1,.5,1);--dur-in:.42s;--dur-press:.22s}
.hk{font-family:var(--f);margin-bottom:6px}
.hk .ovhead h2,.hk .hkbig b{font-family:var(--fh);font-stretch:88%}
.hk .ovhead h2{font-size:21px;font-weight:800}
.hktiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.hkt{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px;min-width:0;color:var(--text)}
.hkt:hover{border-color:var(--signal)}.hkt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hkbig{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.hkbig b{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:-.01em}.hkbig i{font-style:normal;font-size:13px;color:var(--muted)}
.hknote{font-size:13px;font-weight:650;color:var(--muted)}.hknote.good{color:var(--good)}.hknote.warn{color:var(--warn)}.hknote.bad{color:var(--bad)}
.hksetup{border-style:dashed}.hkset{font-size:14px;color:var(--muted);line-height:1.4}
.hkmeter{position:relative;display:block;height:12px;border-radius:6px;background:var(--track);margin:16px 0 2px}
.hkmeter>span{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:var(--blue)}
.hkmeter em{position:absolute;top:-5px;width:3px;height:22px;margin-left:-1px;border-radius:2px;background:var(--ink)}
.hkmeter u{position:absolute;top:-22px;transform:translateX(-50%);text-decoration:none;font-size:11px;font-weight:700;color:var(--ink);background:var(--signal);padding:0 5px;border-radius:3px}
.hksplit{display:flex;gap:2px;height:12px;border-radius:6px;overflow:hidden}.hksplitl{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.hkspark{display:flex;align-items:flex-end;gap:4px;height:34px}.hkspark span{flex:1;border-radius:3px}
.hktrack{display:block;height:8px;border-radius:4px;background:var(--track);overflow:hidden}.hktrack span{display:block;height:100%;border-radius:4px}
.hkrow{display:grid;grid-template-columns:3fr 2fr;gap:14px;margin-bottom:8px}
.hklegend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--muted);margin:-2px 0 6px}.hklegend span{display:flex;align-items:center;gap:6px}
.hklegend i{width:10px;height:10px;border-radius:2px;display:inline-block}.hklegend i.dash{width:16px;height:0;border-top:2px dashed var(--ink);border-radius:0}
.ovtrend .tc{font-size:11px;font-weight:700;fill:var(--ink)}
.hktake{margin:6px 0 0;font-size:13px;color:var(--muted)}
.hkw{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:6px;width:100%;padding:10px 0;border-bottom:1px solid var(--line)}
.hkw:hover .hkwtop>span:first-child{color:var(--blue)}.hkw:focus-visible{outline:2px solid var(--blue)}
.hkwtop{display:flex;justify-content:space-between;gap:8px;font-size:14px}.hkwtop i{font-style:normal;color:var(--muted)}.hkwtop b{font-variant-numeric:tabular-nums}
.hkadd{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hkadd button,.hkacts button{all:unset;cursor:pointer;box-sizing:border-box;min-height:36px;padding:7px 12px;border-radius:8px;border:1px solid var(--line);font:600 13px var(--f);color:var(--blue);background:var(--card)}
.hkadd button:hover,.hkacts button:hover{border-color:var(--blue)}.hkacts{display:flex;gap:6px}.hkacts button.ghost{color:var(--muted)}
.hklink{all:unset;cursor:pointer;color:var(--blue);font-weight:650;text-decoration:underline;text-underline-offset:2px}
.hksheet{font-family:var(--f)}.hktotal{font-weight:700;margin:4px 0 8px}
.hkdr{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.hkdr:last-child{border-bottom:0}
.hkdr.click{cursor:pointer}.hkdr.click:hover b{color:var(--blue)}
.hkdr .m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.hkdr .m i{font-style:normal;font-size:13px;color:var(--muted)}
.hkdr .c{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.hkdr .c.good{color:var(--good)}.hkdr .c.bad{color:var(--bad)}.hkdr .chev{color:var(--muted)}
.hkline{gap:0 10px;margin-bottom:6px}.hkc1{flex:3 1 200px}.hkc2{flex:1 1 110px}.hkc3{flex:1 1 90px}
@media(max-width:1200px){.hktiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hkrow{grid-template-columns:1fr}}
@media(max-width:600px){.hktiles{grid-template-columns:1fr}.hkbig b{font-size:30px}}

/* ---- Apple-style motion: springs with a small bounce, quick, never in the way ---- */
@keyframes dhIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.dhIn{animation:dhIn var(--dur-in) var(--spring) both;animation-delay:calc(var(--i,0) * 60ms)}
.hkt,.ovt,.dhquick button,.dhrail button,.hkadd button,.ovper button,.dhchips button{transition:transform var(--dur-press) var(--spring),border-color .15s,background-color .15s}
.hkt:active,button.ovt:active,.dhquick button:active,.dhrail button:active,.hkadd button:active,.ovper button:active,.dhchips button:active{transform:scale(.97)}
.dhmain .sapMBtn .sapMBtnInner{transition:transform var(--dur-press) var(--spring)}
.dhmain .sapMBtn:active .sapMBtnInner,.sapMDialog .sapMBtn:active .sapMBtnInner{transform:scale(.96)}
.ovtrend .click rect:first-of-type{transition:opacity .15s}.ovtrend .click:hover rect:first-of-type{opacity:.8}
/* ---- glass only on things that float over content: phone tab bar and the docked command bar ---- */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .dhdock{background:var(--c-white-a82);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%)}
  @media(max-width:900px){.dhbot{background:var(--c-white-a82);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%)}}
}
/* ---- respect the phone/computer settings ---- */
@media (prefers-reduced-motion:reduce){
  .dhIn{animation:none}
  .hkt,.ovt,.dhquick button,.dhrail button,.hkadd button,.ovper button,.dhchips button,.dhmain .sapMBtn .sapMBtnInner{transition:none}
  .hkt:active,button.ovt:active,.dhquick button:active,.dhrail button:active,.hkadd button:active,.ovper button:active,.dhchips button:active,.dhmain .sapMBtn:active .sapMBtnInner,.sapMDialog .sapMBtn:active .sapMBtnInner{transform:none}
}
@media (prefers-reduced-transparency:reduce){.dhdock,.dhbot{background:var(--c-ffffff)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
.hk{margin:4px 0 18px}.hk .ovhead{margin-bottom:2px}
/* ---- command bar: a small floating pill until you use it (Nov 2026) ----
   Collapsed it is one compact line, centred, so it does not eat the bottom of every screen.
   Typing (or Ctrl K / the sidebar button) opens the results panel above it. */
.dhdock{left:calc(232px + 50% - 116px);right:auto;bottom:14px;transform:translateX(-50%);width:min(560px,calc(100% - 232px - 32px));
  border:1px solid var(--line);border-radius:22px;box-shadow:0 6px 20px var(--c-10243e-a14);overflow:hidden;
  transition:border-radius .35s var(--spring)} /* V10.68: width no longer animates (Hallmark 10a); the results panel still springs open */
.dhdock:not(.collapsed){width:min(760px,calc(100% - 232px - 32px));border-radius:16px;border-top:3px solid var(--signal)}
.dhdock-head{padding:4px 8px 4px 14px;gap:8px}
.dhdock-ico svg{width:16px;height:16px}
.dhdock.collapsed .dhdock-head .sapMInputBaseContentWrapper{background:transparent;border-color:transparent;box-shadow:none}
.dhdock-body{max-height:min(55vh,480px);padding:0 14px 12px}
body.dh-has-dock .dhmain{padding-bottom:76px}
@media(max-width:900px){
  .dhdock{left:50%;bottom:calc(66px + env(safe-area-inset-bottom));width:calc(100% - 24px);border-top-width:1px}
  .dhdock:not(.collapsed){width:calc(100% - 24px);border-top-width:3px}
  body.dh-has-dock .dhmain{padding-bottom:140px}
}
@media (prefers-reduced-motion:reduce){.dhdock{transition:none}}
/* command bar springs: pops up on load, springs open when you type, results slide up */
.dhdock{transform:none;translate:-50% 0;animation:dhDockIn .55s var(--spring) both;
  transition:border-radius .45s var(--spring),transform .25s var(--spring),box-shadow .25s ease}
.dhdock.collapsed:hover{transform:translateY(-2px);box-shadow:0 10px 26px var(--c-10243e-a18)}
.dhdock.collapsed:active{transform:scale(.97)}
.dhdock:not(.collapsed) .dhdock-body{animation:dhDockOpen .42s var(--spring) both;transform-origin:bottom center}
@keyframes dhDockIn{from{opacity:0;transform:translateY(28px) scale(.9)}to{opacity:1;transform:none}}
@keyframes dhDockOpen{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.dhdock{translate:-50% 0}}
@media (prefers-reduced-motion:reduce){.dhdock,.dhdock:not(.collapsed) .dhdock-body{animation:none;transition:none}.dhdock.collapsed:hover,.dhdock.collapsed:active{transform:none}}
/* costs run vs sales run */
.hkrun{margin-bottom:14px}
.hkrunwrap{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.hkrunsvg{flex:3 1 420px;min-width:0}
.hkrunside{flex:1 1 210px;display:flex;flex-direction:column;gap:10px}
.hkrunbox{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--c-f6f8fa);font-size:14px;color:var(--text);transition:transform var(--dur-press) var(--spring)}
.hkrunbox:hover{border-color:var(--signal)}.hkrunbox:active{transform:scale(.97)}.hkrunbox b{font-variant-numeric:tabular-nums}
.hklegend i.ln{width:16px;height:0;border-top:3px solid;border-radius:0}.hklegend i.ln.dotted{border-top:2px dotted var(--blue)}
.hklegend i.dot{width:8px;height:8px;border-radius:50%;background:var(--blue)}
.ovtrend circle.click{cursor:pointer}
@media (prefers-reduced-motion:reduce){.hkrunbox{transition:none}.hkrunbox:active{transform:none}}
/* everything on the dashboard is tappable */
.dhlotcard{display:block;width:100%;text-align:left;cursor:pointer;font:inherit;box-sizing:border-box;transition:border-color .15s,transform var(--dur-press) var(--spring)}
.dhlotcard:hover{border-color:var(--signal)}.dhlotcard:active{transform:scale(.98)}.dhlotcard:focus-visible{outline:2px solid var(--blue)}
.hkrunsvg.click{cursor:pointer}
.hkhow{background:var(--c-f2f6fc);border:1px solid var(--c-d6e3f8);border-radius:8px;padding:10px 12px;font-size:13.5px;line-height:1.45;margin:0 0 10px;color:var(--text)}
@media (prefers-reduced-motion:reduce){.dhlotcard{transition:none}.dhlotcard:active{transform:none}}
.dhdrilldlg .dhnw{white-space:nowrap;font-variant-numeric:tabular-nums}
/* ---- side panel (Nov 2026): the list behind a number slides in from the right; full screen on phones ---- */
.dhpanelwrap{position:fixed;inset:0;z-index:60;font-family:var(--f)}
.dhscrim{position:absolute;inset:0;background:var(--c-10243e-a28);animation:dhFadeIn .2s ease both}
.dhpanel{position:absolute;top:0;right:0;bottom:0;width:min(560px,100%);display:flex;flex-direction:column;background:var(--card);border-left:1px solid var(--line);
  box-shadow:-12px 0 32px var(--c-10243e-a18);animation:dhPanelIn .45s var(--spring) both}
.dhpanelwrap.swap .dhscrim{animation:none}.dhpanelwrap.swap .dhpanel{animation:dhPanelSwap .3s var(--ease-out) both}
.dhpanelwrap.closing .dhscrim{animation:dhFadeOut .2s ease both}.dhpanelwrap.closing .dhpanel{animation:dhPanelOut .2s ease-in both}
.dhpanelhead{display:flex;align-items:flex-start;gap:10px;padding:18px 16px 14px 20px;border-bottom:3px solid var(--signal)}
.dhpanelhead h2{flex:1;margin:4px 0 0;font:800 21px/1.2 var(--fh);font-stretch:88%;color:var(--text)}
.dhpacts{display:flex;gap:4px}
.dhpbtn{all:unset;box-sizing:border-box;cursor:pointer;width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--text);transition:background-color .15s,transform var(--dur-press) var(--spring)}
.dhpbtn:hover{background:var(--bg)}.dhpbtn:active{transform:scale(.92)}.dhpbtn:focus-visible{outline:2px solid var(--blue)}
.dhpbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dhpanelbody{flex:1;overflow:auto;padding:14px 20px 20px;-webkit-overflow-scrolling:touch}
.dhpanelfoot{padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.dhpanelbtns{gap:8px}.dhpanelbtns .sapMBtn{margin-right:8px}
.pdr{padding:12px 0;border-bottom:1px solid var(--line)}.pdr:last-child{border-bottom:0}
.pdr.click{cursor:pointer}.pdr.click:hover .pdt b{color:var(--blue)}.pdr:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.pdt{display:flex;justify-content:space-between;gap:10px;font-size:15px;margin-bottom:6px}.pdt .chev{color:var(--muted)}
.pdk{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px 14px}
.pdk span{display:flex;flex-direction:column;font-size:14px;font-variant-numeric:tabular-nums}.pdk i{font-style:normal;font-size:12px;font-weight:650;color:var(--muted)}
@keyframes dhPanelIn{from{transform:translateX(56px);opacity:0}to{transform:none;opacity:1}}
@keyframes dhPanelSwap{from{opacity:.4;transform:translateX(10px)}to{opacity:1;transform:none}}
@keyframes dhPanelOut{to{transform:translateX(48px);opacity:0}}
@keyframes dhFadeIn{from{opacity:0}to{opacity:1}}@keyframes dhFadeOut{to{opacity:0}}
@media(max-width:700px){
  .dhpanel{top:auto;left:0;width:100%;height:calc(100% - 24px);border-left:0;border-radius:16px 16px 0 0;box-shadow:0 -10px 30px var(--c-10243e-a2);animation-name:dhSheetIn}
  .dhpanelwrap.closing .dhpanel{animation-name:dhSheetOut}
}
@keyframes dhSheetIn{from{transform:translateY(60px);opacity:0}to{transform:none;opacity:1}}
@keyframes dhSheetOut{to{transform:translateY(60px);opacity:0}}
@media (prefers-reduced-motion:reduce){.dhscrim,.dhpanel,.dhpanelwrap.closing .dhscrim,.dhpanelwrap.closing .dhpanel,.dhpanelwrap.swap .dhpanel{animation:none}.dhpbtn{transition:none}.dhpbtn:active{transform:none}}
@media print{.dhpanelwrap{display:none!important}}
.dhmain .sapMTB .sapMTitle.dhpagetitle{font-family:var(--fh);font-stretch:88%;font-weight:800;font-size:1.5rem}
@media(max-width:600px){.hkdr{flex-wrap:wrap}.hkdr .m{flex:1 1 60%}.hkacts{width:100%;justify-content:flex-end}}
/* ---- "Today" card (V10.2): what needs someone today, most urgent first. Same card look as the health check;
   the coloured dot uses the existing note colours (--bad, --warn, --good) and --ink for new/hot items (blue is for actions only). ---- */
.tdk{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 18px;font-family:var(--f)}
.tdkhead{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.tdkhead h3{margin:0;font:800 1.15rem var(--fh);font-stretch:88%;color:var(--text);display:flex;align-items:center;gap:8px}
.tdkhead h3::before{content:"";width:4px;height:16px;border-radius:2px;background:var(--signal)}
.tdkn{min-width:24px;padding:1px 8px;border-radius:12px;background:var(--ink);color:var(--card);font:700 .8rem var(--f);text-align:center}
.tdksig{all:unset;box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;gap:10px;width:100%;margin:4px 0 8px;padding:10px 12px;border-radius:8px;font-size:.875rem;line-height:1.4;border:1px solid var(--line)}
.tdksig.warn{background:var(--st-g);color:var(--st-g-t)}.tdksig.good{background:var(--st-p);color:var(--st-p-t)}
.tdkrow{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 0;border-top:1px solid var(--line);
  transition:transform var(--dur-press) var(--spring)}
@media (hover:hover){.tdkrow:hover b{color:var(--blue)}}.tdkrow:active{transform:scale(.99)}.tdkrow:focus-visible,.tdksig:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tdkrow .m{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.tdkrow .m i{font-style:normal;font-size:.8125rem;color:var(--muted)}
.tdkrow .hknote{white-space:nowrap}.tdkrow .chev,.tdksig .chev{color:var(--muted)}
.tdkdot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--line)}
.tdkdot.bad{background:var(--bad)}.tdkdot.hot{background:var(--ink)}.tdkdot.warn{background:var(--signal)}.tdkdot.good{background:var(--good)}
.tdkmore{margin-top:8px}
@media (prefers-reduced-motion:reduce){.tdkrow{transition:none}.tdkrow:active{transform:none}}
/* ---- Monthly check-up screen (V10.3). New value: a light red behind "Act now" status pills, the red partner of the
   existing --st-g (amber) and --st-p (green) status colours. Used only for status pills. ---- */
:root{--st-r:#fbe9ec}
.ck{font-family:var(--f)}
.cksum{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 4px}
.ckgroup{margin:20px 0 10px;font:800 1.05rem var(--fh);font-stretch:88%;color:var(--text);display:flex;align-items:center;gap:8px}
.ckgroup::before{content:"";width:4px;height:16px;border-radius:2px;background:var(--signal)}
.ckgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.ckc{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px;color:var(--text);
  transition:transform var(--dur-press) var(--spring),border-color .15s}
.ckc:hover{border-color:var(--signal)}.ckc:active{transform:scale(.98)}.ckc:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ckhead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.ckpill{display:inline-block;white-space:nowrap;padding:2px 8px;border-radius:10px;font:700 .75rem var(--f)}
.ckpill.good{background:var(--st-p);color:var(--st-p-t)}.ckpill.warn{background:var(--st-g);color:var(--st-g-t)}
.ckpill.bad{background:var(--st-r);color:var(--bad)}.ckpill.setup{background:var(--st-a);color:var(--st-a-t)}
.cksp{width:100%;height:44px;margin-top:2px}
.ckt{font-size:.875rem;line-height:1.45;margin:0 0 8px}
@media (prefers-reduced-motion:reduce){.ckc{transition:none}.ckc:active{transform:none}}

/* phone link dialog: one block per link (same Wi-Fi, anywhere) */
.dhqrblock{margin-top:var(--qr-gap)}.dhqrblock h4{margin:0;font-family:var(--fh)}

/* V10.5 supplier directory: result cards in Find suppliers, preferred-supplier rows */
/* V10.23 Finish your setup card (owner Dashboard) */
.dhsetupcard{margin-top:var(--qr-gap)}.dhsetupcard .dhrow em{font-style:normal;color:var(--muted);font-size:var(--mk-fs-sm);margin-left:calc(var(--qr-gap) / 2)}
.dhsetupcard .dhrow.done{opacity:.6;cursor:default}.dhsetupcard .dhrow.done span{color:var(--st-p-t)}
/* V10.24 guided setup (first sign-in) and staff welcome */
.dhwizhead h2{margin:calc(var(--qr-gap) / 2) 0 var(--qr-gap);font:700 var(--wiz-h)/1.2 var(--fh);color:var(--ink)}
.dhwizstep{margin:0;font-size:var(--mk-fs-sm);color:var(--muted);font-weight:600}
.dhwizlist{margin:var(--qr-gap) 0;padding-left:calc(var(--qr-gap) * 1.75);line-height:1.8;color:var(--text)}
.dhwizaddr{display:flex;flex-direction:column;gap:calc(var(--qr-gap) / 3);margin:var(--qr-gap) 0;padding:var(--qr-gap);border:1px solid var(--line);border-radius:var(--mk-r);background:var(--bg);word-break:break-all}
.dhwizteam{margin:var(--qr-gap) 0;border:1px solid var(--line);border-radius:var(--mk-r)}.dhwizteam>div{display:flex;flex-direction:column;padding:calc(var(--qr-gap) / 1.5) var(--qr-gap);border-bottom:1px solid var(--line)}
.dhwizteam>div:last-child{border-bottom:0}.dhwizteam span{font-size:var(--mk-fs-sm);color:var(--muted)}.dhwizteam p{margin:var(--qr-gap)}
.dhwizlogo{display:flex;align-items:center;gap:var(--qr-gap);margin:calc(var(--qr-gap) / 2) 0}.dhwizlogo img{max-height:var(--wiz-logo-h);max-width:50%;border:1px solid var(--line);border-radius:var(--mk-r);padding:calc(var(--qr-gap) / 3);background:var(--card)}.dhwizlogo img+span{color:var(--st-p-t);font-weight:600} /* only "Logo added" is green; "No logo yet" stays grey */
.dhwizteam span.ok{color:var(--st-p-t);font-weight:600}
/* V10.26 Connected accounts › Other accounts you use: one row per service */
.dhacctrow{border-top:1px solid var(--line);padding:calc(var(--qr-gap) / 1.5) 0;gap:calc(var(--qr-gap) / 2)}
.dhwizdone>div{padding:calc(var(--qr-gap) / 3) 0}.dhwizdone .ok{color:var(--st-p-t)}.dhwizdone .todo{color:var(--st-g-t);font-weight:600}
.dhsetupgo{all:unset;cursor:pointer;display:inline-block;margin:calc(var(--qr-gap) / 2) 0;padding:calc(var(--qr-gap) / 1.5) var(--qr-gap);border-radius:var(--mk-r);background:var(--blue);color:var(--card);font:600 1rem var(--f)}
/* V10.28 car page "Online:" line: where the car is live on each listing site */
.dhsync{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--qr-gap) / 2) var(--qr-gap);margin:0 0 var(--qr-gap);font-size:var(--mk-fs-sm);color:var(--muted)}
.dhsync b{color:var(--text)}.dhsync .ok{color:var(--st-p-t);font-weight:600}.dhsync .wait{color:var(--st-g-t)}.dhsync .bad{color:var(--bad-ink);font-weight:600}
.dhsync button{all:unset;cursor:pointer;color:var(--blue);font-weight:600}
/* V10.22 demo site: SAMPLE watermark across documents, one-tap demo sign-ins */
.paper.sample{position:relative;overflow:hidden}
.paper.sample::before,.paper.sample::after{content:"SAMPLE";position:absolute;left:0;right:0;height:50%;display:flex;align-items:center;justify-content:center;transform:rotate(-30deg);font:800 var(--wm-size)/1 var(--fh);color:var(--wm-ink);opacity:.35;letter-spacing:.1em;pointer-events:none;z-index:2}
.paper.sample::before{top:0}.paper.sample::after{bottom:0}
.dhdemo{display:grid;gap:calc(var(--qr-gap) / 2);margin-top:var(--qr-gap)}.dhdemo h4{margin:0}
.dhdemo button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:calc(var(--qr-gap) / 1.5) var(--qr-gap);border:1px solid var(--line);border-radius:var(--mk-r);background:var(--card);cursor:pointer;font:600 1rem var(--f);color:var(--ink)}
.dhdemo button:hover{border-color:var(--blue)}
.dhdemolink{margin-top:var(--qr-gap)}.dhdemolink .sapMBtnContent{font-size:var(--mk-fs-sm)} /* V10.63.1 small "Try the demo" link under the sign-in */
.dhdemo button span{font:400 var(--mk-fs-sm) var(--f);color:var(--muted)}
/* V10.21 first-owner setup page on a new live server */
.dhsetup{background:var(--bg);margin:0;padding:calc(var(--qr-gap) * 2);font-family:var(--f);color:var(--text)}.dhsetup main{max-width:var(--setup-w);margin:0 auto}
.dhsetup label{display:block;margin:var(--qr-gap) 0;font-weight:600}.dhsetup input{display:block;width:100%;box-sizing:border-box;margin-top:calc(var(--qr-gap) / 3);padding:calc(var(--qr-gap) / 1.5);border:1px solid var(--line);border-radius:var(--mk-r);font:inherit}
.dhsetup button{background:var(--blue);color:var(--card);border:0;border-radius:var(--mk-r);padding:var(--qr-gap) calc(var(--qr-gap) * 2);font:600 1rem var(--f);cursor:pointer}.dhsetup-msg{color:var(--st-g-t);font-weight:600}
/* V10.19 suppliers near you: card, map, key */
.dhnear h3{margin-top:0}.dhnearrow{display:flex;gap:var(--qr-gap);align-items:center}.dhnearn{font:700 var(--mk-fs-h2) var(--fh);color:var(--ink);font-variant-numeric:tabular-nums}
.dhnearbar{display:flex;flex-wrap:wrap;gap:calc(var(--qr-gap) / 2);margin-top:var(--qr-gap)}.dhnearbar .dhb.on{border-color:var(--ink);font-weight:600}
.dhmap{height:var(--map-h);border:1px solid var(--line);border-radius:var(--mk-r);overflow:hidden;margin:var(--qr-gap) 0}.dhmap-in{height:100%;width:100%}
@media (max-width:600px){.dhmap{height:var(--map-h-phone)}}
.dhmapbar{gap:var(--qr-gap)}.dhmapkey{display:flex;flex-wrap:wrap;gap:var(--qr-gap);font-size:var(--mk-fs-sm);color:var(--muted)}
.dhmapkey i{display:inline-block;width:calc(var(--map-dot) * 2);height:calc(var(--map-dot) * 2);border-radius:50%;margin-right:calc(var(--qr-gap) / 3);vertical-align:middle}
.dhmapkey .me{background:var(--map-me)}.dhmapkey .dh{background:var(--map-dh)}.dhmapkey .star{background:var(--map-star)}.dhmapkey .osm{background:var(--map-osm)}
.dhpop .dhdir{border:0;padding:0;flex-direction:column}.dhnearline{margin:calc(var(--qr-gap) / 2) 0}
a.dhb{text-decoration:none;display:inline-flex;align-items:center}
/* V10.19 preferred-vendor star: amber when on (the status amber, readable on white), muted grey when off */
.dhstar.sapMBtn .sapMBtnIcon{color:var(--muted)}.dhstar.on.sapMBtn .sapMBtnIcon{color:var(--st-g-t)}
.dhstarg{font-family:SAP-icons;margin-right:calc(var(--qr-gap) / 3);color:var(--muted)}.dhstarb.on .dhstarg{color:var(--st-g-t)}
.dhdiract{display:flex;flex-direction:row!important;align-items:center;gap:calc(var(--qr-gap) / 2);flex-shrink:0}
.dhdir{display:flex;justify-content:space-between;gap:var(--qr-gap);align-items:flex-start;padding:var(--qr-gap) 0;border-bottom:1px solid var(--line)}.dhdir>div{display:flex;flex-direction:column;gap:calc(var(--qr-gap) / 3)}.dhdir em{color:var(--muted)}.dhtags{display:flex;flex-wrap:wrap;gap:calc(var(--qr-gap) / 2)}
.dhprefrow{display:grid;grid-template-columns:var(--pref-label) 1fr auto;gap:var(--qr-gap);align-items:center;padding:calc(var(--qr-gap) / 2) 0;border-bottom:1px solid var(--line)}.dhprefrow .k{font-weight:600}.dhprefrow i{color:var(--muted)}
@media(max-width:700px){.dhprefrow{grid-template-columns:1fr auto}.dhprefrow .v{grid-column:1/2}}
/* V10.6 Paper forms (Deal tab + Settings) */
.dhpform{border-top:1px solid var(--line);padding-top:var(--qr-gap);margin-top:var(--qr-gap);display:flex;flex-direction:column;gap:calc(var(--qr-gap) / 3)}
.dhsalestep .dhpform{border-top:0;padding-top:0;margin-top:0} /* V10.32.1 sale paperwork: each step is its own card, so no divider line on top */
.dhbtns{gap:calc(var(--qr-gap) / 2);margin-top:calc(var(--qr-gap) / 2)}
.dhnudge{width:var(--nudge-w)}
.dhgrow{flex:1 1 320px}
/* V10.8 My cars (marketplace-only dealers) */
.dhlrow{margin-bottom:var(--qr-gap)}
.dhlcar{display:flex;gap:var(--qr-gap);align-items:center;font-family:var(--f)}
.dhlcar .ph{width:var(--lcar-ph);aspect-ratio:4/3;flex:none;border-radius:8px;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--muted)}
.dhlcar .ph img{width:100%;height:100%;object-fit:cover}.dhlcar .ph svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.6}
.dhlcar b{font-family:var(--fh);font-size:17px}
/* V10.9 drag and drop (Sales Funnel, Lot Map) */
[data-drag]{cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.dhdragging,body.dhdragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}
.dhdrag-src{opacity:.35}
.dhghost{position:fixed;z-index:1000;pointer-events:none;margin:0;transform:rotate(1.5deg);box-shadow:0 10px 28px var(--c-10243e-a25);opacity:.95}
.dhdrop-on{outline:2px dashed var(--blue);outline-offset:-2px;background:var(--st-s)!important}
/* V10.9 car progress steps can be tapped to move the car on */
.dhsteps div.go{cursor:pointer}.dhsteps div.go:hover{color:var(--blue)}
/* V10.9 take it down everywhere */
.dhtd{list-style:none;padding:0;margin:0 0 var(--qr-gap)}.dhtd li{padding:4px 0;font-family:var(--f)}
.dhtdrow{border-top:1px solid var(--line);padding-top:calc(var(--qr-gap) / 2);margin-top:calc(var(--qr-gap) / 2)}

/* V10.17 AI Assistant answer in the command bar */
.dhai{border-left:var(--ai-edge) solid var(--blue);background:var(--bg);border-radius:8px;padding:calc(var(--ai-pad) * .75) var(--ai-pad);margin-top:calc(var(--ai-pad) * .75);font-family:var(--f)}
.dhai-tag{font:700 .75rem var(--f);color:var(--blue)}
.dhai p{margin:4px 0 0;font:500 .9375rem/1.45 var(--f);color:var(--text)}
.dhconsent{font-family:var(--f);color:var(--text);padding:var(--ai-pad)}.dhconsent ul{padding-left:calc(var(--ai-pad) * 1.5);margin:calc(var(--ai-pad) * .5) 0}.dhconsent li{margin-bottom:calc(var(--ai-pad) * .5);line-height:1.45}
/* V10.18: the command bar steps aside while a pop-up is open, so it never covers the pop-up buttons */
body:has(.sapMDialog.sapMDialogOpen) .dhdock,body:has(.sapMDialog[style*="visibility: visible"]) .dhdock{visibility:hidden}
/* V10.31 wholesale network */
.dhwsfilters{gap:var(--qr-gap);margin:var(--qr-gap) 0}
.dhwsth{display:inline-flex;align-items:center;justify-content:center;width:var(--ws-thumb-w);height:var(--ws-thumb-h);border:1px solid var(--line);border-radius:var(--mk-r);overflow:hidden;background:var(--bg)}
.dhwsth img{width:100%;height:100%;object-fit:cover}.dhwsth svg{width:50%;height:50%;fill:none;stroke:var(--muted);stroke-width:1.6}
.dhwsprice .sapMObjStatusText{font:700 1rem var(--fh);color:var(--text)}
.dhwsphotos{display:flex;gap:calc(var(--qr-gap) / 2);overflow-x:auto;margin-bottom:var(--qr-gap)}.dhwsphotos img{height:var(--ws-photo-h);border-radius:var(--mk-r);border:1px solid var(--line)}
.dhwsh{font-family:var(--fh);font-weight:700;margin:var(--qr-gap) 0 calc(var(--qr-gap) / 3)} /* V10.32.1 "Papers that come with this car" heading */
.dhwslist{margin:0;padding-left:var(--qr-gap)}.dhwslist li{margin:calc(var(--qr-gap) / 4) 0}
.dhwsmoves{margin-top:var(--qr-gap)}.dhwsmoves summary{cursor:pointer;color:var(--blue)}.dhwsmoves ul{margin:0 0 calc(var(--qr-gap) / 2);padding-left:var(--qr-gap)}
.dhwsbig{font:700 var(--ws-price)/1.2 var(--fh);color:var(--text);margin:0 0 var(--qr-gap)}.dhwsbig span{font:400 .875rem var(--f);color:var(--muted)}
.dhwsmsg{border:1px solid var(--line);border-radius:var(--mk-r);padding:calc(var(--qr-gap) / 2) var(--qr-gap);margin-bottom:calc(var(--qr-gap) / 2);background:var(--card);font-family:var(--f)}
.dhwsmsg.mine{background:var(--bg)}.dhwsmsg p{margin:calc(var(--qr-gap) / 3) 0 0;white-space:pre-wrap}

.dhjacket{margin-top:calc(var(--qr-gap) / 2)} /* V10.32 Car Jacket folders */

/* V10.33 selling tools */
.dhdue{font-size:var(--due-fs);font-weight:600;color:var(--muted);margin-top:4px}.dhdue.today{color:var(--warn)}.dhdue.late{color:var(--bad)}
.dhcalc{margin-top:12px}.dhcalc .big th,.dhcalc .big td{font-size:var(--calc-big);font-weight:700;color:var(--text)}

/* V10.35 360° viewer on the DealerCore car page: phone-width so it matches what buyers see */
.dhspin{max-width:var(--spin-w);margin-top:var(--mk-s)}
/* ---- V10.42 Settings › Advertising and "Came from" on a lead ---- */
.adscards{gap:var(--ads-gap);margin:var(--ads-gap) 0}
.adscard{flex:1 1 var(--ads-card);min-width:0;box-sizing:border-box}
.adscard .adsurl{word-break:break-all}
.adsteps{margin:var(--ads-step) 0 0;padding-left:var(--ads-indent);font:var(--ads-fs) var(--f);color:var(--text)}.adsteps li{margin-bottom:var(--ads-step)}
.dhlead .adsrc{margin-top:var(--ads-step);font-size:var(--ads-fs-sm);font-weight:600;color:var(--st-s-t)}
/* V10.49 Settings › Your website: the line a dealer copies onto their website (read-only box, system monospace font so
   the code is easy to check; colours from the tokens above) */
.dhcode textarea{font-family:var(--mono)!important;font-size:.8125rem!important;color:var(--text)!important;background:var(--bg)!important}
/* V10.66 PHOTO STUDIO: frames (Settings › Photos) and Studio background (car › Photos). The frame and the studio photo are
   drawn on a canvas in the browser; public/app.js reads these values with getComputedStyle so nothing is invented there. */
:root{
  --pf-bar:.11; /* height of the frame's bottom bar, as a share of the photo height (slim: the car stays the subject) */
  --pf-pad:.025; /* space around the logo and text inside the bar, as a share of the photo width */
  --pf-border:.018; /* width of the "Border and bar" border, as a share of the photo width */
  --pf-tag:.30; /* width of the "Corner tag", as a share of the photo width */
  --pf-bar-bg:#10243e; /* bar colour when the dealer has no website colour: same as --ink */
  --pf-bar-text:#ffffff; /* text on the bar: white on ink is 15:1 */
  --pf-tag-bg:#ffffff; /* corner tag background: white plate so any logo reads */
  --pf-tag-text:#10243e; /* text on the corner tag: --ink */
  --studio-bg:#f4f5f7; /* Studio background backdrop: plain light grey-white, close to a photo studio sweep */
  --studio-shadow:rgba(16,36,62,.28); /* soft shadow under the car on the studio backdrop (--ink at 28%) */
  --pf-preview:560px; /* width of the frame preview in Settings › Photos */
}
.dhpfpv{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px;display:flex;justify-content:center}
.dhpfpv canvas{width:var(--pf-preview);max-width:100%;height:auto;border-radius:8px;display:block}
.dhstudiopv{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:8px}
.dhstudiopv figure{margin:0}
.dhstudiopv canvas,.dhstudiopv img{width:100%;height:auto;border-radius:8px;border:1px solid var(--line);display:block;background:var(--bg)}
.dhstudiopv figcaption{color:var(--muted);font-size:.875rem;margin-top:4px}
/* V10.63.6 Website 2.0: the dealer's own DealerCore website (public-site.js + public/dsite.css). Three looks the dealer picks.
   The dealer's own brand colour arrives per page as --ds-brand / --ds-on-brand / --ds-link (made readable in sitelook.js). */
:root{
  --ds-max:1200px; /* page width of a dealer website on a laptop: four car cards across */
  --ds-top-h:68px; /* header bar height on a laptop (room for a 48px logo) */
  --ds-top-h-phone:58px; /* the same on a phone */
  --ds-logo-h:44px; /* tallest a dealer's logo may be in the header */
  --ds-bar-h:64px; /* the phone action bar at the bottom (Call · Text · Book a visit) */
  --ds-gap:20px; /* gap between car cards and columns */
  --ds-r:12px; /* card and photo corners (same as the app's cards) */
  --ds-tap:48px; /* buttons: comfortably above the 44px tap minimum */
  --ds-h1:44px; /* home headline on a laptop */
  --ds-h1-phone:30px; /* the same on a phone */
  --ds-h1-bold:60px; /* Bold look: the headline is the design */
  --ds-h1-bold-phone:38px; /* Bold look on a phone */
  --ds-h2:26px; /* section headings */
  --ds-car-h1:30px; /* car name on the car page */
  --ds-price:34px; /* the price on the car page: the biggest number on the page */
  --ds-card-price:22px; /* the price on a car card */
  --ds-fs:16px; /* body text */
  --ds-fs-sm:14px; /* small print: km line, notes, footer */
  --ds-fs-xs:12px; /* the tiniest print: photo counter, badge text */
  --ds-hero-h:440px; /* the big first photo on the home page (laptop) */
  --ds-hero-h-phone:240px; /* the same on a phone */
  --ds-gal-h:560px; /* tallest the car page photo strip may be on a laptop (photos are 3:2) */
  --ds-gal-h-phone:80vw; /* tallest on a phone: a 3:2 photo across the screen fits under it */
  --ds-side:380px; /* the price and actions column beside the photos (laptop) */
  --ds-prose:720px; /* reading width of About / Financing / Specials text */
  --ds-veil:rgba(16,36,62,.78); /* photo counter and badges over a photo: --ink at 78% so it reads on any car */
  --ds-dark-bg:#0d1520; /* Premium dark: page background, a deeper navy than --ink so cards can sit on it */
  --ds-dark-card:#152132; /* Premium dark: cards and header, one step lighter than the page */
  --ds-dark-line:#263449; /* Premium dark: thin borders between parts */
  --ds-dark-text:#eef2f7; /* Premium dark: body text (15:1 on the page) */
  --ds-dark-muted:#a3b1c4; /* Premium dark: secondary text (8:1 on the page) */
}
/* ---- V10.57 lean phone version: top bar + 5 bottom tabs, and the phone-only Today / Funnel / Cars / Car screens ---- */
/* New values for the phone version (sizes only; colours are the existing tokens). */
:root{--ph-tap:48px;--ph-top-h:52px;--ph-bot-h:62px;--ph-thumb:104px;--ph-max:640px;--ph-r:14px;--ph-fs:15px;--ph-fs-sm:13px;--ph-fs-xs:11px;--ph-fs-h:24px;--ph-gap:10px;--ph-photo:#dfe5ec;--ph-gal-h:62vw}
body.dh-phone .dhside,body.dh-phone .dhtop,body.dh-phone .dhbot{display:none!important}
.dhphtop,.dhphbot{display:none}
body.dh-phone .dhphtop{display:flex;position:fixed;top:0;left:0;right:0;height:var(--ph-top-h);padding:0 14px;padding-top:env(safe-area-inset-top);background:var(--ink);color:var(--card);align-items:center;justify-content:space-between;z-index:20;font:650 var(--ph-fs) var(--f)}
body.dh-phone .dhphtop .nm{white-space:nowrap;overflow:clip;text-overflow:ellipsis;padding-right:12px}
body.dh-phone .dhphtop button{all:unset;cursor:pointer;color:var(--signal);font:600 var(--ph-fs-sm) var(--f);min-height:var(--ph-tap);display:flex;align-items:center;padding:0 4px}
body.dh-phone .dhphbot{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--card);border-top:1px solid var(--line);z-index:31;padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
body.dh-phone .dhphbot button{all:unset;box-sizing:border-box;cursor:pointer;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:var(--ph-bot-h);color:var(--muted);font:600 var(--ph-fs-xs) var(--f);position:relative}
body.dh-phone .dhphbot svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.dh-phone .dhphbot button.on{color:var(--blue)}
body.dh-phone .dhphbot button.on:before{content:"";position:absolute;top:0;left:30%;right:30%;height:3px;border-radius:0 0 3px 3px;background:var(--signal)}
body.dh-phone .dhphbot button.add svg{background:var(--blue);color:var(--card);border-radius:50%;padding:6px;width:22px;height:22px;stroke:var(--card)}
body.dh-phone .dhphbot button:focus-visible,body.dh-phone .dhph button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body.dh-phone .dhmain{margin:0 auto;max-width:var(--ph-max);padding:calc(var(--ph-top-h) + env(safe-area-inset-top) + 12px) 12px calc(var(--ph-bot-h) + env(safe-area-inset-bottom) + 24px);overflow-x:clip}
body.dh-phone.dh-has-dock .dhmain{padding-bottom:calc(var(--ph-bot-h) + env(safe-area-inset-bottom) + 24px)}
/* the command bar: hidden on the phone until "Ask", then full screen between the top bar and the tabs */
body.dh-phone .dhdock,body.dh-phone .dhdock:not(.collapsed){left:0;right:0;width:auto;translate:none;transform:none;animation:none;border-radius:0;bottom:calc(var(--ph-bot-h) + 8px + env(safe-area-inset-bottom))}
body.dh-phone .dhdock.collapsed,body.dh-phone:not(.dh-ask) .dhdock{display:none}
body.dh-phone.dh-ask .dhdock{top:calc(var(--ph-top-h) + env(safe-area-inset-top));border-top-width:3px;display:flex;flex-direction:column;box-shadow:none;background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none}
body.dh-phone.dh-ask .dhdock>div{display:flex;flex-direction:column;flex:1;min-height:0}
body.dh-phone.dh-ask .dhdock-head{padding:10px 12px}
body.dh-phone.dh-ask .dhdock-body{max-height:none;flex:1;min-height:0}
.dhdock-mic{display:none}
body.dh-phone .dhdock-mic{display:inline-block}
/* screens */
.dhph{font-family:var(--f);color:var(--text)}
.dhph .dhgreet h1{font-size:var(--ph-fs-h)}
.dhphh{font:700 22px var(--fh);font-stretch:88%;margin:6px 0 10px}
.dhphh small{font:500 var(--ph-fs) var(--f);color:var(--muted)}
.dhphpad.dhpad{padding:0 0 8px}
.dhphquick{display:grid;grid-template-columns:1fr 1fr;gap:var(--ph-gap);margin:12px 0}
.dhphquick button,.dhphbtns button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--ph-tap);padding:10px 12px;border-radius:12px;background:var(--card);border:1px solid var(--line);color:var(--blue);font:650 var(--ph-fs) var(--f);text-align:center}
.dhphquick svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dhphbtns{display:grid;gap:var(--ph-gap);margin:14px 0}
.dhphbtns button.pri,.dhphquick button:first-child{background:var(--blue);border-color:var(--blue);color:var(--card)}
/* V10.63 the day's jobs on the phone Today screen (staff app and phone browser): count first, label under it */
.dhphjobs{display:flex;gap:var(--ph-gap);margin:12px 0} /* V10.63.1 one slim row, only jobs that are waiting */
.dhphjobs button{all:unset;box-sizing:border-box;cursor:pointer;flex:1 1 0;min-width:0;display:flex;align-items:center;gap:var(--ph-gap);min-height:var(--ph-tap);padding:10px 14px;border-radius:var(--ph-r);background:var(--card);border:1px solid var(--line);color:var(--text);font:600 var(--ph-fs-sm) var(--f)}
.dhphjobs button b{font:700 var(--ph-fs-h) var(--fh);font-stretch:88%;color:var(--ink);line-height:1.1}
.dhphjobs button span{flex:1 1 auto;min-width:0}.dhphjobs button i{font-style:normal;color:var(--muted)}
.dhphjobs button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dhphcard{background:var(--card);border:1px solid var(--line);border-radius:var(--ph-r);padding:12px 14px;margin:12px 0}
.dhphcard h3{margin:0 0 6px;font:700 17px var(--fh);font-stretch:88%;display:flex;justify-content:space-between;align-items:center}
.dhphcard h3 span{font:700 var(--ph-fs-sm) var(--f);background:var(--signal);color:var(--ink);border-radius:999px;padding:1px 9px}
.dhphrow{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding:4px 0}
.dhphrow:first-of-type{border-top:0}
.dhphrow>button{all:unset;cursor:pointer;flex:1;display:flex;gap:12px;align-items:center;min-height:var(--ph-tap);min-width:0}
.dhphrow>button>b{flex:none;width:74px;font-size:var(--ph-fs-sm);white-space:nowrap}
.dhphrow span b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dhphrow .dhphact{min-width:44px;padding:0 8px;flex:none}
.dhphrow span{display:flex;flex-direction:column;min-width:0}
.dhphrow i,.dhphlead i,.dhphcar i{font-style:normal;color:var(--muted);font-size:var(--ph-fs-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dhphact{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:var(--ph-tap);padding:0 10px;border-radius:10px;border:1px solid var(--line);color:var(--blue);font:650 var(--ph-fs-sm) var(--f);text-decoration:none;background:var(--card)}
.dhphhint{color:var(--muted);font-size:var(--ph-fs-sm);margin:14px 2px}
.dhphempty{color:var(--muted);text-align:center;padding:28px 8px;background:var(--card);border:1px dashed var(--line);border-radius:var(--ph-r)}
.dhphchips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.dhphchips::-webkit-scrollbar{display:none}
.dhphchips button{all:unset;cursor:pointer;flex:none;display:flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);font:600 var(--ph-fs-sm) var(--f);color:var(--text)}
.dhphchips button span{font-weight:700;color:var(--muted)}
.dhphchips button.on{background:var(--ink);border-color:var(--ink);color:var(--card)}
.dhphchips button.on span{color:var(--signal)}
.dhphlead{background:var(--card);border:1px solid var(--line);border-radius:var(--ph-r);margin-bottom:var(--ph-gap);overflow:hidden}
.dhphlead>button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:2px;width:100%;padding:12px 14px 6px;min-height:var(--ph-tap)}
.dhphlead>button b{font-size:16px}
.dhphlead .m{font-size:var(--ph-fs-xs);color:var(--muted);font-weight:650}
.dhphlead .acts{display:flex;gap:8px;padding:0 14px 12px}
.dhphlist{display:grid;gap:var(--ph-gap)}
.dhphcar{all:unset;box-sizing:border-box;cursor:pointer;display:flex;width:100%;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--ph-r);overflow:hidden;min-height:var(--ph-thumb)}
.dhphcar .ph{flex:none;width:var(--ph-thumb);background:var(--ph-photo);display:flex;align-items:center;justify-content:center;color:var(--muted)}
.dhphcar .ph img{width:100%;height:100%;object-fit:cover;display:block}
.dhphcar .ph svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.4}
.dhphcar .bd{flex:1;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 10px 8px 0;min-width:0} /* V10.63.4 every card full width; long names end in … */
.dhphcar b{font-size:var(--ph-fs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dhphcar .row,.dhph>.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dhphcar .tag{font-size:16px}
.dhph .tag.big{font-size:22px}
.dhphback{all:unset;cursor:pointer;color:var(--blue);font:650 var(--ph-fs) var(--f);min-height:var(--ph-tap);display:inline-flex;align-items:center}
.dhphgal{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -12px 10px;padding:0 12px;scrollbar-width:none}
.dhphgal::-webkit-scrollbar{display:none}
.dhphgal img{flex:none;width:86%;height:var(--ph-gal-h);max-height:380px;object-fit:cover;border-radius:var(--ph-r);scroll-snap-align:center;background:var(--ph-photo);cursor:zoom-in}
.dhphgal .none{flex:1;height:160px;border-radius:var(--ph-r);background:var(--ph-photo);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:6px}
.dhphgal .none svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.4}
.dhphfacts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 0}
.dhphfacts div{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px 12px;min-width:0}
.dhphfacts dt{font-size:var(--ph-fs-xs);color:var(--muted);font-weight:650}
.dhphfacts dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.dhphbig.sapMBtn{height:var(--ph-tap);padding:0}
.dhphbig.sapMBtn .sapMBtnInner{height:var(--ph-tap);display:flex;align-items:center;justify-content:center}
.dhphsheet.sapMDialog{width:calc(100% - 24px);max-width:var(--ph-max)}
@media (prefers-reduced-motion:reduce){.dhphgal{scroll-behavior:auto}}
@media print{.dhphtop,.dhphbot{display:none!important}}
.dhphcar .chip.rsv{background:var(--text);color:var(--card)}
.dhphfacts .wide{grid-column:1/-1}
body.dh-phone.dh-ask .dhphbot button[data-pt=ask]{color:var(--blue)}
body.dh-phone.dh-ask .dhphbot button.on:not([data-pt=ask]){color:var(--muted)}
body.dh-phone.dh-ask .dhphbot button.on:not([data-pt=ask]):before{display:none}
/* V10.58 Platform › Status: one row per part (app, API, CanCars) with a Working / Not working chip */
.dhstat{display:flex;flex-direction:column;gap:8px;font-family:var(--f);margin-bottom:8px}
.dhstat div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:8px 0;font-size:15px;color:var(--text)}
/* V10.59 Sales Funnel drill-down: the leads behind a stage or a count (board column names, owner overview funnel,
   dashboard "new inquiries", phone Funnel), with source and salesperson filters, sortable columns and cards on a phone. */
:root{--fd-tap:44px; /* smallest tap target in the drill-down (phone guideline) */
  --fd-gap:8px; /* space between filter chips and between card lines (same step as the phone chips) */
  --fd-cell:10px; /* table cell padding (same as the overview tables) */
  --fd-fs:14px; /* table and card text (same as other card body text) */
  --fd-fs-sm:12px; /* chip counts, stage under a name, last-activity detail (same as the source chip on a card) */
  --fd-fs-head:13px; /* column headers and chip labels (same as the overview tables) */
  --fd-fs-lg:16px; /* a lead's name on a phone card */
  --fd-fs-xl:18px; /* the "12 of 40 leads" number */
  --fd-head:#f6f8fa; /* table header row: the same light grey as the other DealerCore table headers */
  --fd-chip-h:36px; /* filter chip height on a laptop (phone uses --fd-tap) */
  --fd-head-h:32px; /* clickable column name on the board */
}
.dhcol h4 .dhcolhead{all:unset;box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:var(--fd-head-h);padding:0 4px;border-radius:8px;font:inherit;color:inherit}
.dhcol h4 .dhcolhead:hover,.dhcol h4 .dhcolhead:focus-visible{background:var(--card);outline:1px solid var(--line)}
.dhcol h4 .dhcolhead span{color:var(--blue);font-weight:650}
.dhcol h4{margin:2px 0 10px}
.dhfdcount{color:var(--blue);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.dhfd{font-family:var(--f);color:var(--text);font-size:var(--fd-fs);padding:4px 16px 16px}
.dhfdsum{margin:6px 0 10px;color:var(--muted)}.dhfdsum b{color:var(--text);font-size:var(--fd-fs-xl)}
.dhfdfacets{display:flex;flex-direction:column;gap:var(--fd-gap);margin-bottom:12px}
.dhfdfacet{display:flex;flex-wrap:wrap;align-items:center;gap:var(--fd-gap)}
.dhfdfacet>.dhmeta{min-width:88px}
.dhfdchip{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:var(--fd-chip-h);padding:0 12px;border-radius:999px;background:var(--card);border:1px solid var(--line);font:600 var(--fd-fs-head) var(--f);color:var(--text)}
.dhfdchip span{color:var(--muted);font-size:var(--fd-fs-sm)}
.dhfdchip.on{border-color:var(--blue);color:var(--blue);background:var(--st-s)}.dhfdchip.on span{color:var(--blue)}
.dhfdchip:focus-visible,.dhfdtbl th button:focus-visible,.dhfdname:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dhfdtbl{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.dhfdtbl th{background:var(--fd-head);text-align:left;border-bottom:1px solid var(--line);padding:0}
.dhfdtbl th button{all:unset;cursor:pointer;display:block;padding:var(--fd-cell);color:var(--muted);font:650 var(--fd-fs-head) var(--f);white-space:nowrap}
.dhfdtbl th[aria-sort=ascending] button,.dhfdtbl th[aria-sort=descending] button{color:var(--text)}
.dhfdtbl td{padding:var(--fd-cell);border-bottom:1px solid var(--line);vertical-align:top}
.dhfdtbl tr:last-child td{border-bottom:0}
.dhfdname{all:unset;cursor:pointer;color:var(--blue);font-weight:650;display:block}
.dhfdstage,.dhfdact{display:block;font-size:var(--fd-fs-sm)}
.dhfdlink{color:var(--blue);text-decoration:none;word-break:break-word}
.dhfdsrc{display:inline-block;border-radius:999px;padding:2px 10px;background:var(--st-a);color:var(--st-a-t);font:650 var(--fd-fs-sm) var(--f);white-space:nowrap}
.dhfdcards{display:flex;flex-direction:column;gap:10px}
.dhfdcard{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px}
.dhfdopen{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;width:100%;min-height:var(--fd-tap)}
.dhfdopen b{font-size:var(--fd-fs-lg)}.dhfdopen i{font-style:normal;color:var(--text)}
.dhfdrow{display:flex;justify-content:space-between;gap:var(--fd-gap);align-items:center;flex-wrap:wrap}
.dhfdcard .acts{display:flex;gap:var(--fd-gap);margin-top:8px}
.dhfdcard .acts .dhphact{min-height:var(--fd-tap)}
.dhfdlistbtn{all:unset;box-sizing:border-box;cursor:pointer;display:block;min-height:var(--fd-tap);line-height:var(--fd-tap);padding:0 4px;color:var(--blue);font:650 var(--fd-fs) var(--f)}
@media(max-width:600px){.dhfd{padding:4px 12px 12px}.dhfdfacet>.dhmeta{min-width:0;width:100%}.dhfdchip{min-height:var(--fd-tap)}}
.dhfdbar{gap:var(--fd-gap);padding:var(--fd-gap) var(--fd-cell);border-bottom:1px solid var(--line)}
.dhfdtbl .dhfdname,.dhfdtbl .dhfdlink,.dhfdtbl td.num,.dhfdnw{white-space:nowrap}
.dhfdsearch{padding:var(--fd-gap) var(--fd-cell) 0;box-sizing:border-box}
.dhfdbar:not(:has(.sapMBtn)){display:none} /* nothing to show (no export, no filters on) */
/* V10.62 Reports › Accounting and OMVIC fees: the one-line summary above the Download button (numbers first, calm card). */
:root{
  --sum-pad:12px; /* inner space of the summary line (same step as other card gaps) */
  --sum-r:12px; /* its corners: the same as .dhcard */
}
.dhacctsum{background:var(--card);border:1px solid var(--line);border-radius:var(--sum-r);padding:var(--sum-pad);margin:var(--fd-gap) 0;color:var(--text);line-height:1.5}
.dhacctsum b{font-family:Archivo,var(--f);font-weight:700}
.dhacctsum .dhok{color:var(--good);font-weight:600}
.dhacctsum .dhbad{color:var(--bad)}
/* V10.62 compact "Finish your setup": one row (title, thin bar, Continue, "2 left ▾"); the remaining lines only when opened. */
:root{
  --setup-bar-h:6px; /* the thin progress bar in the one-row setup card */
  --setup-bar-w:140px; /* its width beside the title (shrinks on a phone) */
}
.dhsetupmini{padding:var(--qr-gap) var(--qr-gap)}
.dhsetuphead{display:flex;align-items:center;flex-wrap:wrap;gap:var(--qr-gap)}
.dhsetuphead b{font-family:Archivo,var(--f);font-weight:700;color:var(--text)}
.dhsetupbar{width:var(--setup-bar-w);height:var(--setup-bar-h);background:var(--track);border-radius:var(--setup-bar-h);overflow:hidden;flex:0 1 auto}
.dhsetupbar div{height:100%;background:var(--blue)}
.dhsetupmini .dhsetupgo{margin:0}
.dhsetuptog,.dhsetupdone{all:unset;cursor:pointer;color:var(--blue);font:600 .875rem var(--f);padding:calc(var(--qr-gap) / 2) 0;margin-left:auto}
.dhsetupdone{display:block;margin:calc(var(--qr-gap) / 2) 0 0;color:var(--muted)}
.dhsetuplist{margin-top:calc(var(--qr-gap) / 2)}
@media(max-width:600px){.dhsetupbar{flex:1 1 100%;width:auto;order:3}.dhsetuptog{min-height:var(--fd-tap)}}

/* V10.63.3 THE CANCARS PLAN: locked menu items (greyed, with a small lock), the plan tag under the dealership name,
   the "part of DealerCore" note and the plan box in Settings › Subscription & billing. */
.dhnav button.locked,.dhbot button.locked{opacity:var(--lock-dim)}
.dhnav button.locked:hover{opacity:1}
.dhnav button.locked .dhlockic{width:16px;height:16px;margin-left:auto}
.dhbrand .dhplantag,.dhtop .dhplantag{display:inline-block;margin-top:8px;font-style:normal;font-size:12px;font-weight:600;color:var(--ink);background:var(--signal);border-radius:8px;padding:2px 8px}
.dhlocked p{margin:0 0 12px}
.dhlocked ul,.dhlocked ol,.dhplanbox ul{margin:0 0 12px;padding-left:20px}
.dhlocked li,.dhplanbox li{margin:4px 0}
.dhplanbox{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px 16px}
.dhplanbox h3{margin:0 0 8px;font-size:17px;color:var(--ink)}
.dhplanbox h4{margin:12px 0 4px;font-size:15px;color:var(--text)}
.dhplancols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.dhlocked .dhlink{all:unset;cursor:pointer;color:var(--blue);font-weight:600}
.dhlockedbtn{opacity:var(--lock-dim)}
.dhtop .dhplantag{margin:0 0 0 8px;vertical-align:middle}
:root{
  --lookpv-phone-w:390px; /* V10.63.6 Settings › Website preview: a phone-sized frame (iPhone width) */
  --lookpv-h:720px; /* V10.63.6 preview height: about one phone screen */
  --lookswatch:44px; /* V10.63.6 the colour picker square beside the #hex box (tap size) */
}
.dhlookpv{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;justify-content:center;margin-top:8px}
.dhlookframe{border:1px solid var(--line);border-radius:12px;background:var(--card);height:var(--lookpv-h);max-width:100%}
.dhlookframe.dhlook-phone{width:var(--lookpv-phone-w)}
.dhlookframe.dhlook-desktop{width:100%}
.dhlookcolor{width:var(--lookswatch);height:var(--lookswatch);padding:0;border:1px solid var(--line);border-radius:8px;background:var(--card);cursor:pointer;margin-right:8px}
@media(max-width:900px){.dhwebrail{grid-template-columns:repeat(2,1fr)}.dhwebrail button:nth-child(2){border-right:0}.dhwebrail button:nth-child(-n+2){border-bottom:1px solid var(--line)}}

/* V10.65 GET HELP + IDEAS: help notes while typing, request threads (dealer / team / internal note), the idea board
   (vote box beside each idea) and similar ideas in "Suggest an idea". Only :root colours; spacing on the 4/8/12 steps. */
:root{
  --idea-vote-w:64px; /* V10.65 the vote box beside each idea: big enough for a thumb, the count reads first */
}
.dhhelptips{margin-top:8px}
.dhhelptip{display:flex;flex-direction:column;gap:4px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin-top:8px}
.dhhelptip span{color:var(--muted);font-size:14px}
.dhthread{display:flex;flex-direction:column;gap:8px;margin:8px 0 12px}
.dhthread p{margin:0}
.dhthread h4,.dhidea h4{margin:12px 0 4px;font-size:15px;color:var(--text)}
.dhmsg{border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:var(--card)}
.dhmsg b{display:block;font-size:13px;color:var(--muted);margin-bottom:4px;font-weight:600}
.dhmsg p{white-space:pre-wrap;color:var(--text)}
.dhmsg.team{background:var(--st-s);border-color:var(--st-s)}
.dhmsg.note{background:var(--st-g);border-color:var(--st-g)}
.dhideasim{margin-top:8px}
.dhideasimrow{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:8px 0}
.dhideasimrow span{display:flex;flex-direction:column;gap:2px}
.dhideasimrow em{font-style:normal;color:var(--muted);font-size:13px}
.dhideasim .dhlink,.dhthread .dhlink{all:unset;cursor:pointer;color:var(--blue);font-weight:600;white-space:nowrap}
.dhideas{display:flex;flex-direction:column;gap:8px;padding:0 16px 16px}
.dhidearow{display:flex;align-items:stretch;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:8px}
.dhvote{flex:0 0 var(--idea-vote-w);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);cursor:pointer;font:inherit}
.dhvote b{font-size:20px}
.dhvote span{font-size:12px;color:var(--muted)}
.dhvote.on{background:var(--signal);border-color:var(--signal)}
.dhvote.on span{color:var(--ink)}
.dhvote:disabled{cursor:default}
.dhideatxt{all:unset;cursor:pointer;flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.dhideatxt b{color:var(--ink);font-size:16px}
.dhideatxt:focus-visible,.dhvote:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dhuser button[data-help],.dhuser button[data-idea]{font-weight:600}
/* V10.67 Platform › Import a dealer and the owner's Imported cars */
:root{
  --imp-card-w:220px; /* V10.67 one imported car card: wide enough for the title, three to a row on a laptop */
  --imp-photo-h:132px; /* V10.67 the card's first photo (4:3 at the card width) */
  --imp-thumb-h:64px; /* V10.67 the photo strip in the car's preview dialog */
}
.dhgap{gap:8px;margin-top:8px;align-items:center}
.dhkpiline{font-weight:600;color:var(--ink);margin:8px 0}
.dhwarn{color:var(--st-g-t)}
.dhimp p{margin:0 0 4px}
.dhimpstrip{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.dhimpstrip img{height:var(--imp-thumb-h);border-radius:4px;border:1px solid var(--line)}
.dhimpstrip span{align-self:center;color:var(--muted);font-size:13px}
.dhimpgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--imp-card-w),1fr));gap:8px;margin:8px 0}
.dhimpcard{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:4px;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:8px;min-width:0}
.dhimpcard img,.dhimpnoph{width:100%;height:var(--imp-photo-h);object-fit:cover;border-radius:4px;background:var(--bg)}
.dhimpnoph{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
.dhimpcard b{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dhimpcard span{color:var(--muted);font-size:13px}
.dhimpcard em{font-style:normal;color:var(--st-g-t);font-size:13px}
.dhimpcard:hover{border-color:var(--signal)}
.dhimpcard:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.dhimplist{margin:4px 0 8px;padding-left:18px}
.dhimplist li{margin:4px 0}
.dhimplist .dhlink{all:unset;cursor:pointer;color:var(--blue);font-weight:600}
