/* Palette sampled from designed-to-scale screenshots (docs/designed-to-scale).
 * Each block hue is three solid faces: --ht top, --hl left (lit side), --hr right (shade side).
 * Loaded last; overrides desk.css and dts.css where they overlap. */

:root {
  --page: #eee5d9; --page-side: #f2e8dd; --page-top: #f6f0ea;
  --stage: #f9f0e6; --panel: #f5ede0; --chip: #fbf5ef; --go: #cce1af; --go-line: #8fb26f;
  --grid: #ebe1d4; --grid-strong: #ddd0bf;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --page: #1c1915; --page-side: #211e1a; --page-top: #25211c;
  --stage: #26231e; --panel: #24201c; --chip: #2d2822; --go: #3f5a2e; --go-line: #6f9a52;
  --grid: #2f2a24; --grid-strong: #3b352d;
} }
:root[data-theme="dark"] {
  --page: #1c1915; --page-side: #211e1a; --page-top: #25211c;
  --stage: #26231e; --panel: #24201c; --chip: #2d2822; --go: #3f5a2e; --go-line: #6f9a52;
  --grid: #2f2a24; --grid-strong: #3b352d;
}

/* block hues (light) */
.iso .hue-amber  { --ht: #fceed2; --hl: #f6d08b; --hr: #e8c476; }
.iso .hue-orange { --ht: #fbe3c9; --hl: #f5b785; --hr: #eeae7a; }
.iso .hue-blue   { --ht: #dbe7f4; --hl: #aec8e9; --hr: #a7c0db; }
.iso .hue-violet { --ht: #e9e0f2; --hl: #d7cbe9; --hr: #c3b6da; }
.iso .hue-green  { --ht: #e4efd8; --hl: #bdd3ab; --hr: #a9c497; }
.iso .hue-tan    { --ht: #ece4da; --hl: #e2d6c9; --hr: #d8cbbb; }
/* block hues (dark): same hue families, lowered */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  & .iso .hue-amber  { --ht: #6b5a36; --hl: #5a4a2a; --hr: #4d3f24; }
  & .iso .hue-orange { --ht: #6e4c33; --hl: #5d3f2a; --hr: #503624; }
  & .iso .hue-blue   { --ht: #3f5570; --hl: #34485f; --hr: #2c3d51; }
  & .iso .hue-violet { --ht: #54446a; --hl: #47395a; --hr: #3c304d; }
  & .iso .hue-green  { --ht: #4c5b3a; --hl: #3f4c30; --hr: #354028; }
  & .iso .hue-tan    { --ht: #4a4239; --hl: #3f382f; --hr: #353028; }
} }
:root[data-theme="dark"] .iso .hue-amber  { --ht: #6b5a36; --hl: #5a4a2a; --hr: #4d3f24; }
:root[data-theme="dark"] .iso .hue-orange { --ht: #6e4c33; --hl: #5d3f2a; --hr: #503624; }
:root[data-theme="dark"] .iso .hue-blue   { --ht: #3f5570; --hl: #34485f; --hr: #2c3d51; }
:root[data-theme="dark"] .iso .hue-violet { --ht: #54446a; --hl: #47395a; --hr: #3c304d; }
:root[data-theme="dark"] .iso .hue-green  { --ht: #4c5b3a; --hl: #3f4c30; --hr: #354028; }
:root[data-theme="dark"] .iso .hue-tan    { --ht: #4a4239; --hl: #3f382f; --hr: #353028; }

/* connectors: straight, ink, 2px, small heads at both ends (his "where is shop.example?" link) */
.iso .wire { stroke: var(--ink); stroke-width: 2; opacity: .9; stroke-dasharray: none; }
.iso .wire.ship, .iso .wire.report { stroke: var(--ink); opacity: .55; stroke-dasharray: 6 6; }
.iso .wire.lit { stroke-width: 2.2; opacity: 1; }
.iso .wire.gate { stroke: var(--rust); stroke-dasharray: 6 6; }

/* the conversation: request (orange) out, response (green) back, handshake ring */
.iso .pk.req { fill: #eab07a; stroke: var(--ink); stroke-width: 1.6; }
.iso .pk.req.gate { fill: var(--rust); }
.iso .pk.res { fill: #a9d39a; stroke: var(--ink); stroke-width: 1.6; }
.iso .pk-ring { fill: none; stroke: #5fae57; stroke-width: 2.4; }
.iso .pk-ring.gate { stroke: var(--rust); }
.lg.pk { background: #eab07a; }
.lg.pk.ship { background: #a9d39a; }
.lg.pk.report { background: transparent; border: 2px solid #5fae57; }

/* text on blocks: his sizes */
.iso .n-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.iso .n-sub { font-size: 13px; font-weight: 500; fill: var(--ink); opacity: .85; }
.iso .b-ic { stroke-width: 2.1; }

/* the job pill over the active seat takes the seat's color, like his amber address pill */
.iso .pill.tint .pill-bg { fill: var(--ht); }
.iso .pill.tint .pill-t { fill: var(--ink); font-weight: 700; }

/* grid: stronger lines, faded by the radial mask */
.iso .grid line { stroke: var(--grid-strong); stroke-width: 1.15; }

/* theme toggle in the top bar */
.icon-btn { padding: 6px 8px; margin-left: 10px; }
.icon-btn .ic { width: 17px; height: 17px; }

/* faces: solid colors, no white wash; a light sheen on the sides only */
.iso .b-base { fill: var(--hl); }
.iso .b-left { fill: var(--hl); opacity: 1; }
.iso .b-right { fill: var(--hr); opacity: 1; }
.iso .b-top { fill: var(--ht); opacity: 1; }
.iso .sheen-a { stop-opacity: .22; }
.iso .b-inner { stroke-opacity: .55; }
.iso .cyl-l { stop-color: var(--hl); }
.iso .cyl-r { stop-color: var(--hr); }
.iso .c-shade { opacity: .6; }
.iso .b-shadow { opacity: .12; }

/* his blocks barely fade when not in play */
.iso.walking .blk.dim { opacity: .62; }
.iso .k-idle .b-outline { stroke: var(--muted); }

/* the floor: faint grid on a warm stage */
.iso .grid line { stroke: var(--grid); stroke-width: 1; opacity: 1; }

/* page surfaces: tan like his */
body { background: var(--page); }
.top { background: var(--page-top); }
.side { background: var(--page-side); }
.stage { background: var(--stage); }
.lineup, .excard { background: var(--panel); }
.mchip, .coming, .progress, .stage-card, .btn, .iso .pill-bg { background: var(--chip); }
.iso .pill-bg { fill: var(--chip); }
.iso .pill.count .pill-bg, .iso .pill.job .pill-bg { fill: var(--go); }
.ex-nav .btn.go { background: var(--go); }
.lineup .step.on .ball { background: var(--go); }
.badge.green, .node.on, .tab[aria-current="page"] { background: var(--go); }
.stage-card tr.tot td { background: var(--go); }
.progress .bar i { background: var(--go-line); }
.ic.cb { background: var(--go); border-color: var(--go-line); stroke: #3d6b2a; }
