/* ============================================================================
   THE SKIN — one kit, three temperaments, every console surface.
   (owner, 2026-11-16: "I like all three — ship them as options in user settings")

   WHY THIS FILE EXISTS. The console was built as three apps with three design
   systems: the shell + delivery desk (apps/console, magenta on dark), the
   manage app that carries the dashboard, customers and all six calendar views
   (apps/dispatcher-next, electric purple on paper, with a serif inside the day
   grid), and the job board (apps/job, DM Sans and a pink that is four percent
   off the shell's magenta). Counted: 3 accents, 4 text faces, 113 distinct
   font sizes, 56 distinct corner radii. The owner's words: "it's definitely
   not unified."

   HOW IT WORKS, AND WHY IT IS NOT A REWRITE. Each of those apps already routes
   nearly every colour through its OWN :root variables. So this file does two
   things:

     1. declares the kit once, as --sk-* tokens, per skin; and
     2. REDEFINES EACH APP'S EXISTING VARIABLE NAMES from those tokens.

   That means `--brand` in the manage app, `--accent` in the job board and
   `--magenta` in the shell all resolve to the same colour, without touching
   the ~9,600 lines of rules that consume them. One switch repaints all three.
   A rule that reads a variable gets the skin for free; only a rule with a
   hard-coded literal is left behind, and those are the ones worth hunting.

   LOAD IT LAST. Every block here is `:root[data-skin=...]`, specificity (0,2,0)
   — the same as the `:root[data-theme="dark"]` blocks already in job.css. Equal
   specificity means source order decides, so this stylesheet is linked AFTER
   the app's own in all four entry points.

   THE FONTS ARE SELF-HOSTED ON PURPOSE. The manage app and the job board pull
   Outfit, Inter, DM Sans and Cormorant from fonts.googleapis.com. The owner
   runs ad-blockers (CLAUDE.md's BLOCKER-ARMED profile), plenty of which block
   Google Fonts outright — and a blocked display face is most of why the
   delivery desk reads "plain Jane Helvetica Arial". The shell already ships
   /fonts/outfit.woff2 and /fonts/inter.woff2, and every surface is same-origin
   under the console, so both are reachable from /calendar-app/ and /onepage/
   too. Night's serif is the one face still worth fetching, and it falls back
   to Georgia rather than to nothing.
   ========================================================================= */

@font-face{
  font-family:"SkinDisplay"; font-style:normal; font-weight:100 900;
  font-display:swap; src:url("/fonts/outfit.woff2") format("woff2");
}
@font-face{
  font-family:"SkinText"; font-style:normal; font-weight:100 900;
  font-display:swap; src:url("/fonts/inter.woff2") format("woff2");
}

/* ── THE KIT, shape and type: identical in all three skins ───────────────── */
:root{
  --sk-name:"SkinDisplay",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --sk-text:"SkinText",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sk-num:ui-monospace,SFMono-Regular,"JetBrains Mono",Menlo,monospace;
  --sk-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;

  /* the title face and the calendar's hour gutter are the only two things a
     skin is allowed to re-face; everything else is --sk-name / --sk-text. */
  --sk-title-face:var(--sk-name);
  --sk-title-weight:700;
  --sk-title-tracking:-.025em;
  --sk-gutter-face:var(--sk-num);
  --sk-gutter-style:normal;

  /* seven sizes. Anything off this list is a bug. */
  --sk-fs-title:30px;
  --sk-fs-section:21px;
  --sk-fs-name:16px;
  --sk-fs-body:15px;
  --sk-fs-support:13px;
  --sk-fs-small:12px;
  --sk-fs-label:11px;

  /* two radii, plus the photograph and the pill */
  --sk-r-pill:999px;
  --sk-r-ctl:9px;
  --sk-r-card:14px;
  --sk-r-photo:6px;

  --sk-tap:44px;
  --sk-ease:cubic-bezier(.2,.8,.2,1);
  --sk-quick:120ms;
}

/* ── A · OPERATOR — the default ──────────────────────────────────────────── */
:root,
:root[data-skin="operator"]{
  color-scheme:dark;
  --sk-bg:#0B0D12; --sk-band:#0E111A;
  --sk-panel:#141924; --sk-panel-2:#1B2131; --sk-panel-3:#232B3D;
  --sk-line:#262E3F; --sk-line-strong:#374156;
  --sk-ink:#EDF0F6; --sk-ink-2:#99A2B5; --sk-ink-3:#6A7387;

  --sk-accent:#E33A9E; --sk-accent-ink:#FFFFFF;
  --sk-accent-deep:#B81F7B; --sk-accent-wash:rgba(227,58,158,.14);

  --sk-go:#C2E14A;   --sk-go-ink:#0B0D12;  --sk-go-wash:rgba(194,225,74,.13);
  --sk-wait:#F2A83B; --sk-wait-ink:#0B0D12; --sk-wait-wash:rgba(242,168,59,.13);
  --sk-stop:#F2555A; --sk-stop-ink:#0B0D12; --sk-stop-wash:rgba(242,85,90,.13);

  --sk-crew-1:#5B9BF8; --sk-crew-2:#3DD6C0; --sk-crew-3:#A78BFA; --sk-crew-0:#7E879B;
  --sk-crew-1-wash:rgba(91,155,248,.15);
  --sk-crew-2-wash:rgba(61,214,192,.15);
  --sk-crew-3-wash:rgba(167,139,250,.15);
  --sk-crew-0-wash:rgba(126,135,155,.15);

  --sk-shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --sk-shadow-md:0 8px 22px -10px rgba(0,0,0,.7);
  --sk-shadow-lg:0 1px 2px rgba(0,0,0,.4), 0 24px 56px -22px rgba(0,0,0,.85);
  --sk-hover:rgba(255,255,255,.055);
}

/* ── B · STUDIO — the same system in daylight ────────────────────────────── */
:root[data-skin="studio"]{
  color-scheme:light;
  --sk-bg:#F6F6F9; --sk-band:#FFFFFF;
  --sk-panel:#FFFFFF; --sk-panel-2:#F2F2F6; --sk-panel-3:#E9E9EF;
  --sk-line:#E4E4EC; --sk-line-strong:#C9C9D4;
  --sk-ink:#14151B; --sk-ink-2:#5C6072; --sk-ink-3:#8A8E9E;

  --sk-accent:#C8187F; --sk-accent-ink:#FFFFFF;
  --sk-accent-deep:#9C1263; --sk-accent-wash:rgba(200,24,127,.09);

  --sk-go:#3F7A22;   --sk-go-ink:#FFFFFF;  --sk-go-wash:rgba(63,122,34,.10);
  --sk-wait:#9A6407; --sk-wait-ink:#FFFFFF; --sk-wait-wash:rgba(154,100,7,.11);
  --sk-stop:#B3312F; --sk-stop-ink:#FFFFFF; --sk-stop-wash:rgba(179,49,47,.10);

  --sk-crew-1:#2E63B8; --sk-crew-2:#0E7C6B; --sk-crew-3:#6D4AC4; --sk-crew-0:#5F6675;
  --sk-crew-1-wash:rgba(46,99,184,.11);
  --sk-crew-2-wash:rgba(14,124,107,.11);
  --sk-crew-3-wash:rgba(109,74,196,.11);
  --sk-crew-0-wash:rgba(95,102,117,.11);

  --sk-shadow-sm:0 1px 2px rgba(20,21,27,.05);
  --sk-shadow-md:0 8px 22px -10px rgba(20,21,27,.18);
  --sk-shadow-lg:0 1px 2px rgba(20,21,27,.05), 0 24px 56px -22px rgba(20,21,27,.22);
  --sk-hover:rgba(20,21,27,.045);
}

/* ── C · NIGHT GALLERY — the serif, kept where it cannot hurt ────────────── */
:root[data-skin="night"]{
  color-scheme:dark;
  --sk-bg:#09090B; --sk-band:#0D0D11;
  --sk-panel:#131318; --sk-panel-2:#1A1A21; --sk-panel-3:#23232C;
  --sk-line:#26262F; --sk-line-strong:#3A3A46;
  --sk-ink:#F3F0E9; --sk-ink-2:#A39E92; --sk-ink-3:#736E64;

  --sk-accent:#D7A64F; --sk-accent-ink:#12100B;
  --sk-accent-deep:#B2843A; --sk-accent-wash:rgba(215,166,79,.13);

  --sk-go:#8FBF7A;   --sk-go-ink:#0B0D12;  --sk-go-wash:rgba(143,191,122,.13);
  --sk-wait:#D79A3F; --sk-wait-ink:#12100B; --sk-wait-wash:rgba(215,154,63,.13);
  --sk-stop:#D2635C; --sk-stop-ink:#12100B; --sk-stop-wash:rgba(210,99,92,.13);

  --sk-crew-1:#7FA7D9; --sk-crew-2:#5FB3A3; --sk-crew-3:#9C86D6; --sk-crew-0:#857E72;
  --sk-crew-1-wash:rgba(127,167,217,.15);
  --sk-crew-2-wash:rgba(95,179,163,.15);
  --sk-crew-3-wash:rgba(156,134,214,.15);
  --sk-crew-0-wash:rgba(133,126,114,.15);

  /* the ONE face change a skin may make: titles and the hour gutter. Never a
     client's name — that is the readability complaint this answers. */
  --sk-title-face:var(--sk-serif);
  --sk-title-weight:600;
  --sk-title-tracking:0;
  --sk-gutter-face:var(--sk-serif);
  --sk-gutter-style:italic;

  --sk-shadow-sm:0 1px 2px rgba(0,0,0,.5);
  --sk-shadow-md:0 8px 22px -10px rgba(0,0,0,.8);
  --sk-shadow-lg:0 1px 2px rgba(0,0,0,.5), 0 24px 56px -22px rgba(0,0,0,.9);
  --sk-hover:rgba(255,255,255,.05);
}

/* ============================================================================
   THE ALIASES — each app's own variable names, re-pointed at the kit.
   One block, applied to every skin at once, because the names are constants
   and only the kit behind them changes. An app consumes the handful it knows;
   the rest cost nothing.
   ========================================================================= */
:root,
:root[data-skin="operator"],
:root[data-skin="studio"],
:root[data-skin="night"]{

  /* ── faces, shared by all three apps ─────────────────────────────────── */
  --display:var(--sk-name);
  --body:var(--sk-text);
  --sans:var(--sk-text);
  --mono:var(--sk-num);

  /* ── apps/console — the shell and the delivery desk ──────────────────── */
  --bg:var(--sk-bg);
  --panel:var(--sk-panel);
  --panel-2:var(--sk-panel-2);
  --ink-dim:var(--sk-ink-2);
  --ink-faint:var(--sk-ink-3);
  --magenta:var(--sk-accent);
  --magenta-deep:var(--sk-accent-deep);
  --magenta-tint:var(--sk-accent-wash);
  --lime-deep:var(--sk-go);
  --lime-tint:var(--sk-go-wash);
  --ok:var(--sk-go);
  --warn:var(--sk-wait);
  --bad:var(--sk-stop);
  --unknown:var(--sk-ink-3);
  --radius:var(--sk-r-card);
  --tap:var(--sk-tap);

  /* ── apps/dispatcher-next — dashboard, customers, all six calendar views ─ */
  --brand:var(--sk-accent);
  --brand-deep:var(--sk-accent-deep);
  --brand-tint:var(--sk-accent-wash);
  --amber:var(--sk-wait);
  --emerald:var(--sk-go);
  --rose:var(--sk-stop);
  --paper:var(--sk-bg);
  --surface:var(--sk-panel);
  --surface-soft:var(--sk-panel-2);
  --ink-soft:var(--sk-ink-2);
  --line-strong:var(--sk-line-strong);
  --r-lg:var(--sk-r-card);
  --r-xl:18px;
  --r-pill:var(--sk-r-pill);
  --shadow-sm:var(--sk-shadow-sm);
  --shadow-md:var(--sk-shadow-md);
  --shadow-lg:var(--sk-shadow-lg);
  --shadow-glow:0 0 0 4px var(--sk-accent-wash);

  /* ── apps/job — the job board ────────────────────────────────────────── */
  --card:var(--sk-panel);
  --muted:var(--sk-ink-2);
  --faint:var(--sk-ink-3);
  --dim:var(--sk-ink-2);
  --line-soft:var(--sk-panel-2);
  --accent-ink:var(--sk-accent);
  --accent-wash:var(--sk-accent-wash);
  --ready:var(--sk-go);          --ready-wash:var(--sk-go-wash);
  --attention:var(--sk-wait);    --attention-wash:var(--sk-wait-wash);
  --broken:var(--sk-stop);       --broken-wash:var(--sk-stop-wash);
  --ease:var(--sk-ease);
  --r:var(--sk-r-card);

  /* ── names more than one app uses, with the same meaning in each ─────── */
  --ink:var(--sk-ink);
  --ink-mute:var(--sk-ink-3);
  --line:var(--sk-line);
  --accent:var(--sk-accent);
  --lime:var(--sk-go);
  --shadow:var(--sk-shadow-lg);
  --r-sm:8px;
  --r-md:var(--sk-r-ctl);

  /* ── the job board's type scale, folded onto the seven ───────────────── */
  --t11:var(--sk-fs-label);
  --t12:var(--sk-fs-small);
  --t13:var(--sk-fs-support);
  --t15:var(--sk-fs-body);
  --t17:var(--sk-fs-name);
  --t22:var(--sk-fs-section);
  --t34:var(--sk-fs-title);

  /* ── THE CREW (owner-visible change, stated in the brief) ────────────────
     The kit's one hard rule is "states get words, people get hues". It only
     works if the two palettes are different families — and the shooters were
     previously carrying amber and red, which are the SAME two colours the
     console uses for "look first" and "not paid". A yellow capsule beside an
     amber pill is a colour saying two things at once. The crew move to blue,
     teal and violet; no state colour is in that family, so the Board view
     still reads by colour and nothing competes with it. */
  --shooter-erin-dot:var(--sk-crew-1);
  --shooter-erin-bg:var(--sk-crew-1-wash);
  --shooter-erin-fg:var(--sk-crew-1);
  --shooter-jordan-dot:var(--sk-crew-2);
  --shooter-jordan-bg:var(--sk-crew-2-wash);
  --shooter-jordan-fg:var(--sk-crew-2);
  --shooter-casey-dot:var(--sk-crew-3);
  --shooter-casey-bg:var(--sk-crew-3-wash);
  --shooter-casey-fg:var(--sk-crew-3);
  --shooter-unass-dot:var(--sk-crew-0);
  --shooter-unass-bg:var(--sk-crew-0-wash);
  --shooter-unass-fg:var(--sk-crew-0);

  /* ── the six status palettes, folded onto four meanings ──────────────── */
  --status-pending-bg:var(--sk-wait-wash);      --status-pending-fg:var(--sk-wait);
  --status-confirmed-bg:var(--sk-go-wash);      --status-confirmed-fg:var(--sk-go);
  --status-progress-bg:var(--sk-accent-wash);   --status-progress-fg:var(--sk-accent);
  --status-completed-bg:var(--sk-go-wash);      --status-completed-fg:var(--sk-go);
  --status-cancelled-bg:var(--sk-stop-wash);    --status-cancelled-fg:var(--sk-stop);
  --status-resched-bg:var(--sk-accent-wash);    --status-resched-fg:var(--sk-accent);

  /* ── the shared furniture (date picker, day strip) reads the host ────── */
  --dp-surface:var(--sk-panel); --dp-ink:var(--sk-ink); --dp-muted:var(--sk-ink-2);
  --dp-line:var(--sk-line); --dp-accent:var(--sk-accent); --dp-accent-ink:var(--sk-accent-ink);
  --dp-hover:var(--sk-hover);
  --ds-ink:var(--sk-ink); --ds-muted:var(--sk-ink-2); --ds-line:var(--sk-line);
  --ds-accent:var(--sk-accent); --ds-fill:var(--sk-hover); --ds-mono:var(--sk-num);
}

/* ============================================================================
   THE HOUSE RULES — the few places the skin asserts itself over an app's own
   styling, because an alias cannot reach them.
   ========================================================================= */

/* Titles take the skin's title face. This is what gives Night its serif and
   what finally puts a display face on the delivery desk's headings — the one
   screen in the console whose headings were set in the body font, which is
   the whole of "the deliveries board is plain Jane". */
:root[data-skin] h1,
:root[data-skin] h2,
:root[data-skin] h3,
:root[data-skin] .h1,
:root[data-skin] .h2,
:root[data-skin] .h3{
  font-family:var(--sk-title-face);
  font-weight:var(--sk-title-weight);
  letter-spacing:var(--sk-title-tracking);
}

/* Digits that sit in a column line up, everywhere. */
:root[data-skin] .num,
:root[data-skin] .mono,
:root[data-skin] .kpi__value,
:root[data-skin] .tile b{ font-variant-numeric:tabular-nums; }

/* One response to touch, one focus ring, console-wide. */
:root[data-skin] a:focus-visible,
:root[data-skin] button:focus-visible,
:root[data-skin] [tabindex]:focus-visible{
  outline:2px solid var(--sk-accent);
  outline-offset:2px;
  border-radius:var(--sk-r-photo);
}

@media (prefers-reduced-motion:reduce){
  :root[data-skin] *{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

/* ############################################################################
   PART TWO — THE COMPONENTS
   (owner, 2026-11-16, after seeing part one: "it will successfully change the
   overall colour scheme ... but calendars and deliveries still remain as
   orphan designs ... calendar has several designs in one, and then deliveries
   is just its own thing. We do want to bring everything into the same design
   language.")

   He is right, and the distinction matters. Part one shipped the PALETTE. Two
   screens can share every colour and still be two designs, because a design is
   the parts: what a row is, what a pill is, what a tab strip is, which line of
   a card is the loud one.

   WHAT UNIFIES AND WHAT DOES NOT. The six calendar views SHOULD differ in
   layout — a day timeline is not a list, a resource board is not a month grid,
   and forcing them into one shape would make four of them worse. What must
   stop differing is the vocabulary they are built from. So this part defines
   the house parts ONCE and points each surface's existing class names at them:

     the row      .agenda-row (calendar)   .desk (deliveries)
     the name     .agenda-row__title       .desk-who
     the support  .agenda-row__sub         .desk-bought
     the address  .agenda-row__addr        .desk-addr
     the pill     .status-badge .pill      .badge
     the strip    .cal-views .agenda-scope__btn   .deskchip
     the day head .agenda-day__head        .sub

   Restyling the names each app already uses, rather than rewriting ~9,600
   lines of markup, is the same move that made part one possible.
   ========================================================================= */

/* ── THE ROW ─────────────────────────────────────────────────────────────
   One object, every list in the console. The bar down the left is WHOSE it
   is (the crew colour, set inline from the shooters table); the state is the
   pill on the right. That split is the kit's one hard rule, and it is what
   stops a colour meaning two things on the same screen. */
:root[data-skin] .agenda-row,
:root[data-skin] .desk{
  display:block; width:100%; text-align:left;
  background:var(--sk-panel);
  border:1px solid var(--sk-line);
  border-left:3px solid var(--sk-line-strong);
  border-radius:var(--sk-r-card);
  margin-bottom:9px;
  transition:background var(--sk-quick) ease, border-color var(--sk-quick) ease;
}
:root[data-skin] .agenda-row{ padding:11px 12px; }
:root[data-skin] .desk{ padding:0; overflow:hidden; }
:root[data-skin] .desk-head{ padding:11px 12px; background:none; border:0; width:100%; text-align:left; }

:root[data-skin] .agenda-row:hover,
:root[data-skin] .desk:hover{
  background:var(--sk-panel-2);
  transform:none;            /* the 1px nudge was this surface's alone */
}

/* The row's three lines. Outfit names the thing; Inter explains it. */
:root[data-skin] .agenda-row__title,
:root[data-skin] .desk-who{
  display:block;
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-name); line-height:1.2; letter-spacing:-.012em;
  color:var(--sk-ink);
  white-space:normal; overflow:visible; text-overflow:clip;
}
:root[data-skin] .agenda-row__title strong{ font-weight:600; }

:root[data-skin] .agenda-row__sub,
:root[data-skin] .desk-bought{
  display:block; margin-top:3px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4;
  color:var(--sk-ink-2);
}
:root[data-skin] .agenda-row__addr,
:root[data-skin] .desk-addr{
  display:block; margin-top:2px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4;
  color:var(--sk-ink-3);
  white-space:normal; overflow:visible; text-overflow:clip;
}

/* The row is a two-column grid: what it is on the left, where it stands on
   the right. The calendar's old free-standing time column is gone — the time
   moved into the support line, where the job board and the dashboard already
   keep it. */
:root[data-skin] .agenda-row{
  display:grid; grid-template-columns:minmax(0,1fr) max-content;
  gap:10px; align-items:start;
}
/* UNDOING THE OLD PHONE STACK, explicitly. styles.css carries a <=800px block
   (`.is-embedded .agenda-row__*`) written for the previous layout, which was
   [time | details | badges] on one line and truncated the client to "C…" at
   390px. It fixed that by re-ordering the row's children — meta to order 2,
   main to order 3 — and `order` applies to grid items just as it does to flex
   ones, so without these resets the state pill rendered to the LEFT of the
   client's name, with every row indented by a different amount. The new row
   solves the same readability problem a different way: the name column takes
   the slack and wraps, the pill column is only as wide as the pill. */
:root[data-skin] .agenda-row__main{
  order:0; grid-column:1; min-width:0; flex:initial;
}
:root[data-skin] .agenda-row__meta,
:root[data-skin] .desk-side{
  order:0; grid-column:2; margin-left:0;
  display:flex; flex-direction:column; align-items:flex-end;
  gap:5px; flex:none;
}
/* and that block shrank the pill to .6rem on a phone — one size, everywhere */
:root[data-skin] .agenda-row__meta .status-badge{
  font-size:var(--sk-fs-label); padding:3px 9px;
}

/* The desk's own lines, on the same three-line shape as the calendar's row. */
:root[data-skin] .desk-top{
  display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:8px;
}
:root[data-skin] .desk-paid{
  margin-left:auto;
  font-family:var(--sk-text); font-weight:500;
  font-size:var(--sk-fs-small); color:var(--sk-ink-3);
}
:root[data-skin] .desk-ticks{
  display:flex; flex-wrap:wrap; gap:4px 10px; margin-top:6px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4;
}
:root[data-skin] .desk-why{
  display:block; margin-top:4px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4; color:var(--sk-ink-3);
}

/* THE DESK'S LEFT BAR GOES NEUTRAL, and that is the rule working rather than
   an omission. The bar means WHOSE a row is, everywhere; the state is the
   pill. The desk used the bar for state instead — the same mark meaning two
   different things on two screens, which is the orphan-design complaint in
   one pixel. The desk cannot show whose it is yet (the delivery payload
   carries no shooter), and nothing is lost by the change: every state the bar
   encoded is already written in words on the pill above it. If the payload
   gains a shooter, this bar becomes the crew colour like every other row's. */
:root[data-skin] .desk[data-state]{ border-left-color:var(--sk-line-strong); }

/* ── THE JOB BOARD, on the same three lines ──────────────────────────────
   The row led with a 17px bold address over two and three lines and put the
   client in 13px grey behind the package; the page led with the address at
   34px and put the client third in the meta row. Both now read the way the
   dashboard, the delivery desk and the calendar agenda read. */
:root[data-skin] .jr-name{
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-name); line-height:1.2; letter-spacing:-.012em;
  color:var(--sk-ink); flex:1; min-width:0;
}
:root[data-skin] .jr-meta{
  display:block; margin-top:3px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4; color:var(--sk-ink-2);
}
:root[data-skin] .jr-addr{
  display:block; margin-top:2px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); line-height:1.4; color:var(--sk-ink-3);
  letter-spacing:0;
}
/* the page: the client is the heading, the house is the line under it */
:root[data-skin] h1.job-client{
  font-size:var(--sk-fs-title); line-height:1.08;
}
:root[data-skin] .job-addr{
  display:block; margin-top:5px;
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-body); line-height:1.35; letter-spacing:0;
  color:var(--sk-ink-2);
}
:root[data-skin] .job-meta{
  margin-top:7px;
  font-family:var(--sk-text); font-size:var(--sk-fs-support); color:var(--sk-ink-3);
}

/* ── THE CREW MARK — a dot and a name, never a capsule ───────────────────
   People are not states, so a shooter does not get a status-shaped badge.
   The colour is still theirs (ui_color_hex, through paletteFor), carried by
   a dot and by the row's left bar. */
:root[data-skin] .crew-chip{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--sk-text); font-weight:500;
  font-size:var(--sk-fs-small); color:var(--sk-ink-2);
  white-space:nowrap;
}
:root[data-skin] .crew-chip i{
  width:7px; height:7px; border-radius:var(--sk-r-pill);
  background:var(--crew, var(--sk-ink-3)); flex:none;
}

/* ── THE PILL — round means read it ──────────────────────────────────────
   One shape and one type for every state word in the console. The tone
   classes each surface already uses keep setting the colour; this only
   settles what a pill IS. The mono face goes: a cramped monospace label as
   UI is the first thing docs/TASTE.md rules out. */
:root[data-skin] .status-badge,
:root[data-skin] .pill,
:root[data-skin] .badge{
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 9px;
  border-radius:var(--sk-r-pill);
  border:1px solid transparent;
  font-family:var(--sk-text); font-weight:600;
  font-size:var(--sk-fs-label); line-height:1.35;
  text-transform:uppercase; letter-spacing:.05em;
  white-space:nowrap;
}
:root[data-skin] .status-badge .dot,
:root[data-skin] .pill .dot{
  width:6px; height:6px; border-radius:var(--sk-r-pill); background:currentColor;
}

/* ── THE STRIP — square-ish means press it ───────────────────────────────
   The calendar's view switcher, the agenda's scope buttons and the delivery
   desk's filters were three different controls doing one job. */
:root[data-skin] .cal-views{
  display:inline-flex; gap:2px; padding:3px;
  background:var(--sk-panel);
  border:1px solid var(--sk-line);
  border-radius:var(--sk-r-ctl);
  overflow:auto hidden; max-width:100%;
  scrollbar-width:none;
}
:root[data-skin] .cal-views::-webkit-scrollbar{ display:none; }

/* THE DESK'S FILTERS STAY A GRID, and that is the principle rather than an
   exception. Six filters each carrying a COUNT are not six words; squeezed
   into the calendar's one-line strip they scrolled off the right edge with no
   sign they were there. Views may differ in SHAPE where the content differs —
   what may not differ is the parts, so these are the house control in a grid
   instead of the house control in a row. */
:root[data-skin] .deskfilters{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px; padding:0; background:none; border:0; overflow:visible;
}
:root[data-skin] .cal-views button,
:root[data-skin] .agenda-scope__btn,
:root[data-skin] .deskchip{
  background:none; border:0; border-right:0;
  border-radius:var(--sk-r-photo);
  padding:6px 11px; min-height:34px;
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-support); line-height:1.15;
  color:var(--sk-ink-2); white-space:nowrap; cursor:pointer;
  transition:background var(--sk-quick) ease, color var(--sk-quick) ease;
}
:root[data-skin] .cal-views button:hover,
:root[data-skin] .agenda-scope__btn:hover,
:root[data-skin] .deskchip:hover{ background:var(--sk-panel-2); color:var(--sk-ink); }
:root[data-skin] .cal-views button.is-active,
:root[data-skin] .agenda-scope__btn.is-active,
:root[data-skin] .deskchip[aria-pressed="true"]{
  background:var(--sk-accent); color:var(--sk-accent-ink); border-color:var(--sk-accent);
}
/* the desk's filters carry a count above their word, so they are taller */
:root[data-skin] .deskchip{
  display:flex; flex-direction:column; align-items:flex-start; gap:1px;
  min-height:0; padding:8px 10px;
  background:var(--sk-panel); border:1px solid var(--sk-line);
  border-radius:var(--sk-r-ctl);
}
:root[data-skin] .deskchip b{
  font-family:var(--sk-name); font-weight:700;
  font-size:var(--sk-fs-name); line-height:1.05; letter-spacing:-.02em;
}
:root[data-skin] .deskchip span{
  font-family:var(--sk-text); font-weight:500;
  font-size:var(--sk-fs-label); line-height:1.2; letter-spacing:.04em;
  text-transform:uppercase; color:var(--sk-ink-3);
}
:root[data-skin] .deskchip[aria-pressed="true"] b,
:root[data-skin] .deskchip[aria-pressed="true"] span{ color:var(--sk-accent-ink); }

/* ── THE BUTTON — one control, three apps ────────────────────────────────
   The delivery desk had .ghostbtn, the manage app has .btn, the job board has
   .btn.primary. Same job, three shapes and three type treatments. The variant
   classes keep deciding COLOUR; this settles what a button is. */
:root[data-skin] .ghostbtn,
:root[data-skin] .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-support); line-height:1.15;
  border-radius:var(--sk-r-ctl); padding:9px 13px; min-height:40px;
  border:1px solid var(--sk-line);
  background:var(--sk-panel); color:var(--sk-ink);
  cursor:pointer;
  transition:background var(--sk-quick) ease, border-color var(--sk-quick) ease;
}
:root[data-skin] .ghostbtn:hover,
:root[data-skin] .btn:hover{ background:var(--sk-panel-2); border-color:var(--sk-line-strong); }
:root[data-skin] .btn.primary,
:root[data-skin] .btn--primary{
  background:var(--sk-accent); border-color:var(--sk-accent); color:var(--sk-accent-ink);
}
/* ONE FILLED THING PER SCREEN. The desk's scope button was filled accent and
   sat directly under the filter whose selected chip is ALSO filled accent —
   two solid blocks of magenta in the top third of the screen, neither of them
   the thing you came to press (that is "Approve and send", inside a card).
   The scope button keeps the accent as its outline and its word. */
:root[data-skin] .ghostbtn--go{
  background:var(--sk-accent-wash);
  border-color:color-mix(in srgb, var(--sk-accent) 42%, transparent);
  color:var(--sk-accent);
}
:root[data-skin] .btn--sm{ padding:6px 10px; min-height:32px; font-size:var(--sk-fs-small); }

/* ── THE DAY HEADING — the same line above every grouped list ────────── */
:root[data-skin] .agenda-day__head,
:root[data-skin] #deliveriesList .sub{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:10px; margin:14px 0 8px;
  padding-bottom:6px; border-bottom:1px solid var(--sk-line);
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-support); letter-spacing:0; text-transform:none;
  color:var(--sk-ink);
}
:root[data-skin] #deliveriesList .sub .hint,
:root[data-skin] .agenda-day__count{
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-small); color:var(--sk-ink-3); text-transform:none; letter-spacing:0;
}
:root[data-skin] .agenda-day__dow,
:root[data-skin] .agenda-day__date{
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-support); color:var(--sk-ink); letter-spacing:0;
}

/* ── THE DAY / ZOOM / WEEK / MONTH / YEAR VIEWS (.disp__*) ───────────────
   These five shared a SECOND design system that lived inside the calendar's
   own stylesheet and that no variable could reach: gold #C9A24B (78 uses),
   cream #F2E8D5 (39), warm grey #B5A992 (18), 116 gold washes, two editorial
   near-blacks, and 36 hardcoded Cormorant declarations — nearly all of them
   italic. That is the "leftover PNWRF fonts" and the "several different looks
   throughout the calendar". The literals are now tokens (codemod, same
   commit); what remains here is the TYPE, so a shoot reads the same whichever
   view you are standing in.

   THE ITALICS GO EVERYWHERE EXCEPT THE HOUR GUTTER. They were Cormorant's
   voice; on Outfit the browser synthesises an oblique, which is worse than
   either. The gutter is the one place a skin may re-face, so it keeps the
   serif — and under Night it keeps the italic too. */
:root[data-skin] [class^="disp__"],
:root[data-skin] [class*=" disp__"]{ font-style:normal; }

:root[data-skin] .disp__time-axis,
:root[data-skin] .disp__time-axis *{
  font-family:var(--sk-gutter-face);
  font-style:var(--sk-gutter-style);
  color:var(--sk-accent);
}

/* The card a shoot is drawn as, in Day and Zoom. Same three lines as the
   agenda row and the delivery card, at the size a timeline can afford. */
:root[data-skin] .disp__card{
  background:var(--sk-panel-2);
  border:1px solid var(--sk-line);
  border-radius:var(--sk-r-photo);
}
:root[data-skin] .disp__card-client{
  font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-support); line-height:1.2; letter-spacing:-.012em;
  color:var(--sk-ink);
}
:root[data-skin] .disp__card-pkg{
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-label); color:var(--sk-ink-2); letter-spacing:.04em;
}
:root[data-skin] .disp__card-where,
:root[data-skin] .disp__card-where .ct,
:root[data-skin] .disp__card-where .st{
  font-family:var(--sk-text); font-weight:400;
  font-size:var(--sk-fs-label); color:var(--sk-ink-3);
}

/* The same name treatment wherever the smaller views print one. */
:root[data-skin] .disp__col-name,
:root[data-skin] .disp__week-mini-title,
:root[data-skin] .disp__week-item .c,
:root[data-skin] .disp__month-evt .c,
:root[data-skin] .disp__drop-pill-shooter{
  font-family:var(--sk-name); font-weight:600; font-style:normal;
  color:var(--sk-ink); letter-spacing:-.012em;
}
/* and the date furniture: one face, tabular, never a serif */
:root[data-skin] .disp__weekday,
:root[data-skin] .disp__date,
:root[data-skin] .disp__week-day-head .dow,
:root[data-skin] .disp__week-day-head .dom,
:root[data-skin] .disp__month-dow > div,
:root[data-skin] .disp__month-day,
:root[data-skin] .disp__year-tile .m,
:root[data-skin] .disp__year-tile .n{
  font-family:var(--sk-name); font-style:normal;
  font-variant-numeric:tabular-nums;
}

/* ============================================================================
   THE PICKER on Settings. It lives here rather than in the manage app's own
   stylesheet because the thing it is picking lives here, and because a picker
   drawn from the kit is the first proof the kit works.
   ========================================================================= */
.skinpick{
  display:grid; gap:10px; margin-top:14px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.skinpick__opt{
  display:block; width:100%; text-align:left; cursor:pointer;
  font-family:var(--sk-text); color:var(--sk-ink);
  background:var(--sk-panel); border:1px solid var(--sk-line);
  border-radius:var(--sk-r-card); padding:12px 13px;
  transition:background var(--sk-quick) ease, border-color var(--sk-quick) ease;
}
.skinpick__opt:hover{ background:var(--sk-panel-2); border-color:var(--sk-line-strong); }
.skinpick__opt.is-on{ border-color:var(--sk-accent); background:var(--sk-accent-wash); }

/* The swatch is the palette itself — four bands of the skin it offers, so the
   choice is made by looking rather than by reading three adjectives. */
.skinpick__swatch{
  display:flex; height:30px; border-radius:var(--sk-r-photo); overflow:hidden;
  border:1px solid var(--sk-line); margin-bottom:9px;
}
.skinpick__swatch i{ flex:1; }
.skinpick__swatch i:nth-child(1){ flex:2.2; }
.skinpick__swatch i:nth-child(2){ flex:1.6; }

.skinpick__name{
  display:block; font-family:var(--sk-name); font-weight:600;
  font-size:var(--sk-fs-name); letter-spacing:-.012em; line-height:1.2;
}
.skinpick__opt.is-on .skinpick__name{ color:var(--sk-accent); }
.skinpick__note{
  display:block; margin-top:3px; line-height:1.4;
  font-size:var(--sk-fs-support); color:var(--sk-ink-2);
}
