/* D21 (Alex, 2026-11-22): Fourtwenty's own door — Kush × Fourtwenty, in the look of their mini-catalogue
   (marketing/flyers/fourtwenty-2026): lavender ground, deep purple, a leaf-green accent, Oswald headlines, Courier lines.
   Light only: their colours are a light page. White text sits on the deep purple only (14:1); the green is never a text
   colour on white (1.7:1) — it is a rule, a dot, a border. */
:root,:root[data-theme="dark"],:root:not([data-theme="light"]){
  --ft-ground:#E7E3F0; --ft-plate:#F3F0F8; --ft-deep:#2D1463; --ft-violet:#5B2F8E; --ft-green:#AADC44; --ft-ink:#1D1040;
}
/* ------------------------------------------------------------------ the sign-in page */
html[data-door="fourtwenty"]{color-scheme:light}
html[data-door="fourtwenty"] body{
  --ground:var(--ft-ground); --surface:#fff; --surface-2:var(--ft-plate); --ink:var(--ft-ink); --muted:#4B4466; --faint:#6A6385;
  --line:#D1CBDF; --accent:var(--ft-violet); --accent-fill:var(--ft-deep); --accent-soft:#EFE9F7;
  background:var(--ft-ground) linear-gradient(180deg,#D1CBDF 0,#E7E3F0 300px) no-repeat;color:var(--ink)}
html[data-door="fourtwenty"] .pubwrap{max-width:520px}
html[data-door="fourtwenty"] .pubcard{border:0;border-radius:20px;overflow:hidden;position:relative;
  box-shadow:0 1px 2px rgba(29,16,64,.06),0 22px 48px -24px rgba(29,16,64,.45);padding-top:34px}
/* the purple band across the card's top with the green dot — the catalogue's "NEW IN STORE • KUSH VAPE" bar */
html[data-door="fourtwenty"] .pubcard::before{content:"";position:absolute;left:0;right:0;top:0;height:8px;
  background:linear-gradient(90deg,var(--ft-deep) 0 46%,var(--ft-green) 46% 54%,var(--ft-deep) 54% 100%)}
html[data-door="fourtwenty"] .publogo.duo{display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:nowrap}
html[data-door="fourtwenty"] .publogo.duo img{margin:0;width:auto;max-width:44%;height:auto;max-height:52px;background:none;padding:0}
html[data-door="fourtwenty"] .publogo.duo img + .duox + img{max-height:58px;max-width:48%}
html[data-door="fourtwenty"] .duox{font-family:"Oswald",var(--sans);font-size:22px;font-weight:500;color:var(--ft-violet);line-height:1}
html[data-door="fourtwenty"] .pubcard h1{font-family:"Oswald",var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.01em;
  font-size:30px;line-height:1.1;color:var(--ft-deep)}
html[data-door="fourtwenty"] .pubcard .lead{color:var(--muted)}
html[data-door="fourtwenty"] .pubcard label{color:var(--ft-ink)}
html[data-door="fourtwenty"] .ta{border-color:#C9C2DA;border-radius:12px;background:#fff}
html[data-door="fourtwenty"] .ta:focus{outline:2px solid var(--ft-violet);outline-offset:1px;border-color:var(--ft-violet)}
html[data-door="fourtwenty"] .btn{border-radius:999px;background:var(--ft-deep);color:#fff;font-family:"Oswald",var(--sans);
  font-weight:500;letter-spacing:.06em;text-transform:uppercase;font-size:15px;box-shadow:inset 0 -3px 0 var(--ft-green)}
html[data-door="fourtwenty"] .btn:hover{background:var(--ft-violet)}
html[data-door="fourtwenty"] .btn:focus-visible{outline:3px solid var(--ft-green);outline-offset:2px}
html[data-door="fourtwenty"] .backlink{color:var(--ft-violet);font-weight:600}
html[data-door="fourtwenty"] .fineprint{color:var(--faint)}
html[data-door="fourtwenty"] .tickbig{background:#EFE9F7;color:var(--ft-deep)}
html[data-door="fourtwenty"] .envtag{background:var(--ft-green);color:var(--ft-ink)}
/* "New at Fourtwenty? Get your own sign-in" — a line of its own under the card's last line, never wrapping the button */
html[data-door="fourtwenty"] .duojoin{text-align:center;margin-top:6px;padding-top:14px;border-top:1px dashed #D1CBDF;font-family:"Courier Prime",var(--mono);
  font-size:13px;color:var(--muted)}
html[data-door="fourtwenty"] .duojoin .backlink{font-family:var(--sans);font-size:13.5px;padding:6px 2px;white-space:nowrap}
@media (max-width:420px){
  html[data-door="fourtwenty"] .pubcard{padding:30px 18px 22px}
  html[data-door="fourtwenty"] .pubcard h1{font-size:26px}
  html[data-door="fourtwenty"] .publogo.duo{gap:10px}
}

/* ------------------------------------------------------------------ inside: the distributor's screens, in their colours */
html[data-door="fourtwenty"].kv-cust,html[data-door="fourtwenty"]:root.kv-cust{
  --ground:var(--ft-ground); --surface-2:var(--ft-plate); --plate:var(--ft-plate);
  --accent:var(--ft-violet); --accent-fill:var(--ft-deep); --accent-soft:#EFE9F7;
  --block:var(--ft-deep); --on-block:#fff; --line:#DCD7E6; --line-soft:#E8E4F0;
}
html[data-door="fourtwenty"].kv-cust body{background:var(--ft-ground)}
/* the header: Kush's logo, ×, Fourtwenty's — then the company's name and line under them; a green rule along its foot */
html[data-door="fourtwenty"].kv-cust #clientApp header.bar{box-shadow:inset 0 -4px 0 var(--ft-green),var(--shadow)}
html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brand{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;column-gap:12px}
html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brand > *{grid-column:1 / -1}
html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brandlogo{grid-column:1;grid-row:1;margin-bottom:6px}
html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brand::before{content:"\00d7";grid-column:2;grid-row:1;font-family:"Oswald",var(--sans);
  font-size:20px;color:var(--ft-violet);margin-bottom:6px;justify-self:center}
html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brand::after{content:"";grid-column:3;grid-row:1;justify-self:start;margin:0 0 6px 6px;
  width:150px;height:40px;background:url(/shared/door-fourtwenty.png) left center/contain no-repeat}
@media (max-width:520px){
  html[data-door="fourtwenty"].kv-cust #clientApp header.bar .brand::after{width:112px;height:30px}
}
/* the open tab, the counts and the order dock in their deep purple; a green dot on the open tab */
html[data-door="fourtwenty"].kv-cust #clientApp nav.tabs button[aria-selected="true"]{background:var(--ft-deep);color:#fff;box-shadow:inset 0 -3px 0 var(--ft-green)}
