/* look.css · the Oct 4 look pass, site-wide. Loads after every module's stylesheet and before phone.css.
   1. One typeface for data: the mono face is gone from charts, numbers, legends, table heads and meta. Only the page kicker keeps it.
   2. Section heads: no icon tile. A bare icon sits on the headline's own line, and the sentence beneath starts at the same left edge.
   3. Measured / Modeled / Published / Illustrative are terms you can point at (app.js termTips), marked by shape, not by a color.
   4. Charts: one brighter blue ramp, flat square marks, thicker bars, a lead number over a figure.
   The gold and amber are gone everywhere: violet takes their place (tokens in skin-chronicle.css and ds.css), the Acquire stage is green. */

/* ---- 1. type ---- */
/* Oct 5 (Josh): no mono face anywhere. Kickers and film labels wear the hero reel caption's look: Archivo capitals, weight 500, tracked .1em */
html[data-skin] { --ds-mono: var(--ds-f); --ds-m: var(--ds-f); }
html[data-skin] body .ds-hero-k, html[data-skin] body .ds-ph-k { font-family: var(--ds-f); font-weight: 500; letter-spacing: .1em; }
/* labels that were mono caps read as plain sentence-case labels now */
html[data-skin] body .ds-sh-meta { font-family: var(--ds-f); font-size: var(--ds-fs-3); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ds-muted); font-variant-numeric: tabular-nums; }
html[data-skin] body .ds-legend { font-family: var(--ds-f); font-size: var(--ds-fs-2); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ds-muted); gap: 8px 22px; }
html[data-skin] body .ds-seghead, html[data-skin] body .ds-convhead, html[data-skin] body .ds-grow-h { font-family: var(--ds-f); font-size: var(--ds-fs-2); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ds-muted); }
html[data-skin] body .ds-peek .ds-peek-k, html[data-skin] body .ds-cmp-k { font-family: var(--ds-f); font-size: var(--ds-fs-3); font-weight: 600; letter-spacing: 0; text-transform: none; }
html[data-skin] body .ds-tab .n, html[data-skin] body .ds-rail-item .n { font-family: var(--ds-f); }

/* ---- 2. section heads ---- */
html[data-skin] body .ds-sh { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 6px; align-items: center; margin-bottom: 26px; }
html[data-skin] body .ds-sh > .ds-sh-i, html[data-skin] body .ds-sh-row > .ds-sh-i { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; width: 22px; height: 22px; margin: 0; background: none; border-radius: 0; color: var(--ds-blue); }
html[data-skin] body .ds-sh-i svg { width: 22px; height: 22px; }
html[data-skin] body .ds-sh > h2 { grid-column: 1; grid-row: 1; display: block; min-height: 0; font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; }
html[data-skin] body .ds-sh > .ds-sh-i + h2, html[data-skin] body .ds-sh-row > .ds-sh-i + h2, html[data-skin] body .ds-sh-row > .ds-sh-i + h3 { padding-left: 33px; }
html[data-skin] body .ds-sh > p { grid-column: 1; grid-row: 2; margin: 0; font-size: var(--ds-fs-5); line-height: 1.5; color: var(--ds-muted); max-width: 72ch; }
html[data-skin] body .ds-sh > .ds-sh-meta { grid-column: 2; grid-row: 1; align-self: center; padding: 0; }
html[data-skin] body .ds-sh-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; align-items: center; }
html[data-skin] body .ds-sh-row > h2, html[data-skin] body .ds-sh-row > h3 { grid-column: 1; grid-row: 1; }
html[data-skin] body .ds-sh-row > p { grid-column: 1; }
/* the same for every other icon that sat in a box beside a name: project cards, the project hero, overview tiles */
html[data-skin] body .ds-icon-tile { width: 22px; height: 22px; background: none; border: 0; border-radius: 0; }
html[data-skin] body .ds-icon-tile svg { width: 22px; height: 22px; }
html[data-skin] body .ds-phero-t .ds-icon-tile { width: 34px; height: 34px; background: none; border: 0; color: #fff; } html[data-skin] body .ds-phero-t .ds-icon-tile svg { width: 34px; height: 34px; }
html[data-skin] body .ds-pcard-id .ds-icon-tile, html[data-skin] body .ds-ov-tile-h .ds-icon-tile { background: none; margin-top: 1px; }
/* the small one (peek heads, the compare tray): the same bare icon, a size down */
html[data-skin] body .ds-sh-i.sm, html[data-skin] body .ds-peek .ds-peek-h .ds-sh-i { width: 18px; height: 18px; background: none; border-radius: 0; color: var(--ds-blue); }
html[data-skin] body .ds-sh-i.sm svg, html[data-skin] body .ds-peek .ds-peek-h .ds-sh-i svg { width: 18px; height: 18px; }
html[data-skin] body .ds-peek .ds-peek-h { gap: 9px; }
@media (max-width: 720px) {
  html[data-skin] body .ds-sh { grid-template-columns: minmax(0, 1fr); }
  html[data-skin] body .ds-sh > .ds-sh-meta { grid-column: 1; grid-row: 3; }
  html[data-skin] body .ds-sh > h2 { font-size: 20px; }
}

/* ---- 3. the four words that mark a figure ---- */
html[data-skin] body .ds-term { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3.5px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); cursor: help; }
html[data-skin] body .ds-term:hover { text-decoration-color: currentColor; color: var(--ds-ink); }
html[data-skin] body .ds-kpi em, html[data-skin] body .ds-stat em, html[data-skin] body .ds-hero-bar em { color: var(--ds-muted); font-family: var(--ds-f); font-size: var(--ds-fs-2); font-weight: 500; gap: 7px; }
html[data-skin] body .ds-hero-bar em, html[data-skin] body .ds-hero-bar em.m, html[data-skin] body .ds-hero-bar em.x { color: var(--ck-dmuted); } html[data-skin] body .ds-hero-bar em.ds-term:hover { color: #fff; }
/* a solid dot is measured, a ring is an estimate */
html[data-skin] body .ds-kpi em::before, html[data-skin] body .ds-stat em::before, html[data-skin] body .ds-hero-bar em::before { width: 7px; height: 7px; box-sizing: border-box; background: var(--ds-teal); border-radius: 50% !important; }
html[data-skin] body .ds-kpi em.x::before, html[data-skin] body .ds-stat em.x::before, html[data-skin] body .ds-hero-bar em.x::before { background: none; border: 1.5px solid currentColor; }
html[data-skin] body .ds-hero-bar em::before { background: var(--ck-teal-lift); } html[data-skin] body .ds-hero-bar em.x::before { background: none; }
html[data-skin] body .ds-basis { font-size: var(--ds-fs-2); color: var(--ds-muted); }

/* ---- 4. charts ---- */
html[data-skin] { --ds-a4: #2447C9; --ds-a3: #3A6BFF; --ds-a2: #8AA6FF; --ds-a1: #CBD8FF; --ds-core: #3A6BFF; --ds-reach: #17B8AC; --ds-new: #7C68FF; }
/* bars: thicker, square, the number in ink */
html[data-skin] body .ds-bar { height: 8px; border-radius: 2px; }
html[data-skin] body .ds-bar > span { border-radius: 2px; }
html[data-skin] body .ds-rows li { padding: 10px 0; font-size: var(--ds-fs-4); }
html[data-skin] body .ds-rows .ds-rv { font-family: var(--ds-f); font-weight: 650; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
html[data-skin] body .ds-axr .t, html[data-skin] body .ds-axr .t i { height: 8px; border-radius: 2px; }
/* a figure leads with its one number, on its own line, the words beneath */
html[data-skin] body .ds-lead { margin: 0 0 18px; }
html[data-skin] body .ds-lead b { display: block; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ds-ink); }
html[data-skin] body .ds-lead span { display: block; margin-top: 8px; font-size: var(--ds-fs-3); line-height: 1.4; color: var(--ds-muted); max-width: 30ch; text-wrap: balance; }
html[data-skin] body .ds-aud-where h3 { margin: 0 0 12px; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-muted); letter-spacing: 0; }
html[data-skin] body .ds-aud-where3 { gap: 48px; }
/* share of a whole: one flat band, one blue from dark to light, the names beneath in a list */
html[data-skin] body .ds-stack { height: 52px; gap: 2px; border-radius: 4px; margin: 0 0 16px; }
html[data-skin] body .ds-stack span i { left: 12px; font-size: var(--ds-fs-3); font-weight: 650; }
/* one blue, dark to light, by rank: every part of the band stays visible on white */
html[data-skin] body .ds-stack > span:nth-child(1), html[data-skin] body .ds-stack-legend li:nth-child(1) b { background: #2447C9; } html[data-skin] body .ds-stack > span:nth-child(2), html[data-skin] body .ds-stack-legend li:nth-child(2) b { background: #3A6BFF; }
html[data-skin] body .ds-stack > span:nth-child(3), html[data-skin] body .ds-stack-legend li:nth-child(3) b { background: #6E8FFF; } html[data-skin] body .ds-stack > span:nth-child(4), html[data-skin] body .ds-stack-legend li:nth-child(4) b { background: #9DB4FF; }
html[data-skin] body .ds-stack > span:nth-child(5), html[data-skin] body .ds-stack-legend li:nth-child(5) b { background: #C2D0FF; } html[data-skin] body .ds-stack > span:nth-child(6), html[data-skin] body .ds-stack-legend li:nth-child(6) b { background: #DDE5FF; }
html[data-skin] body .ds-stack > span:nth-child(7), html[data-skin] body .ds-stack-legend li:nth-child(7) b { background: #EBF0FF; }
html[data-skin] body .ds-stack > span:nth-child(-n+3) i { color: #fff; } html[data-skin] body .ds-stack > span:nth-child(n+4) i { color: var(--ds-ink); }
html[data-skin] body .ds-stack-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; font-size: var(--ds-fs-4); color: var(--ds-ink); }
html[data-skin] body .ds-stack-legend li { display: flex; align-items: center; padding: 7px 0; border-top: 1px solid var(--ds-line); }
html[data-skin] body .ds-stack-legend li:nth-child(-n+2) { border-top: 0; }
html[data-skin] body .ds-stack-legend b { flex: none; width: 10px; height: 10px; border-radius: 0; margin-right: 10px; box-shadow: inset 0 0 0 1px rgba(36, 71, 201, .12); }
html[data-skin] body .ds-stack-legend em { margin-left: auto; font-family: var(--ds-f); font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
/* age: flat columns with the share on top, affinity as a labeled line beneath */
html[data-skin] body .ds-agecols .col { fill: var(--ds-a1); } html[data-skin] body .ds-agecols .col.hi { fill: var(--ds-a3); }
html[data-skin] body .ds-agecols .base { stroke: var(--ds-line-strong); stroke-width: 1; }
html[data-skin] body .ds-agecols .v { font-family: var(--ds-f); font-size: 13px; font-weight: 600; fill: var(--ds-ink-soft); } html[data-skin] body .ds-agecols .v.hi { fill: var(--ds-ink); font-weight: 700; }
html[data-skin] body .ds-agecols .l { font-size: 12.5px; fill: var(--ds-muted); }
html[data-skin] body .ds-agecols .affline { fill: none; stroke: var(--ds-reach); stroke-width: 2; stroke-opacity: 1; stroke-linejoin: round; }
html[data-skin] body .ds-agecols .aff { fill: var(--ds-reach); stroke: var(--ds-paper); stroke-width: 2.5; }
html[data-skin] body .ds-agecols .av { font-family: var(--ds-f); font-size: 12.5px; font-weight: 650; fill: var(--ds-teal); } html[data-skin] body .ds-agecols .av.hi { font-weight: 700; }
html[data-skin] body .ds-agecols .ds-legend { margin-top: 10px; padding-top: 12px; }
html[data-skin] body .ds-agecols .ds-legend .col b { background: var(--ds-a3); border-radius: 0; } html[data-skin] body .ds-agecols .ds-legend .aff b { background: var(--ds-reach); border-radius: 50%; }
/* arrival: columns rise and the affinity line draws, once, with the bars */
.ds-anim .ds-agecols .col { transform-box: fill-box; transform-origin: 50% 100%; animation: ds-rise .6s var(--ds-ease) both; }
.ds-anim .ds-agecols .affline { stroke-dasharray: 600; animation: ds-look-draw .9s var(--ds-ease) .25s both; }
.ds-anim .ds-stack > span { transform-origin: 0 50%; animation: ds-grow .6s var(--ds-ease) both; }
@keyframes ds-look-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

/* ---------- the home hero, tidied (Oct 5; Josh: "a little cluttered") ----------
   The model is named in the line above the headline instead of inside the field; the trailer clip leads the field in place
   of the magnifier; the chips are one row of short labels. */
html[data-skin] body .ds-hx-model { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
html[data-skin] body .ds-hx-model b { font-weight: 600; color: #fff; letter-spacing: inherit; }
html[data-skin] body .ds-hx-model i { font-style: normal; }
html[data-skin] body .ds-hx-model svg { width: 11px; height: 11px; opacity: .7; transition: transform .2s; }
html[data-skin] body .ds-hx-model:hover { color: #fff; } html[data-skin] body .ds-hx-model:hover svg { transform: translateX(2px); }
html[data-skin] body .ds-hx-model:focus-visible { outline: 2px solid #8FB0F0; outline-offset: 3px; border-radius: 4px; }
html[data-skin] body .ds-hx-ref { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(143, 176, 240, .3); }
@media (min-width: 721px) {
  html[data-skin] body .ds-hx-form.has-tool .ds-hx-field > svg { display: none; }
  html[data-skin] body .ds-hx-form.has-tool .ds-hx-field input { padding-left: 6px; }
  html[data-skin] body .ds-hx-form.has-tool .ds-hx-ph { left: 6px; }
  html[data-skin] body .ds-hx-form.has-tool .ds-trl-clip { margin-left: 4px; margin-right: 0; }
}
/* the hero keeps the height it had with three rows of chips: the console opens inside it and needs the room (a setup card's
   Go button has to be on screen without scrolling), and the key art gets the space the chips gave up */
@media (min-width: 821px) { html[data-skin] body .ds-hx { min-height: 642px; display: flex; flex-direction: column; } html[data-skin] body .ds-hx > .ds-hx-in { flex: 1 1 auto; } }
/* the hero field sits on a whole pixel (app.js hxNudge); the nudge applies in the hero only, never once the field is in the console */
html[data-skin] body .ds-hx-in > .ds-hx-dock { position: relative; top: var(--ds-hx-nudge, 0px); }

/* ---------- the dry dock: archive a project from its hero, see the docked ones at the foot of Projects (Oct 5) ---------- */
html[data-skin] body .ds-pa { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; min-height: 36px; }
html[data-skin] body .ds-pa-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 8px !important; background: transparent; color: rgba(238, 243, 251, .62); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: color .15s, background-color .15s; }
html[data-skin] body .ds-pa-btn svg { width: 15px; height: 15px; }
html[data-skin] body .ds-pa-btn:hover { color: #fff; background: rgba(143, 176, 240, .14); }
html[data-skin] body .ds-pa.asking .ds-pa-btn { display: none; }
/* Oct 6 (Josh): the archive question takes over the hero: a light blur over the whole module, the question centred, two keys of the same size */
html[data-skin] body .ds-pa-ask { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px; border-radius: inherit; background: rgba(12, 24, 50, .58); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); color: rgba(238, 243, 251, .9); text-align: center; opacity: 0; transition: opacity .22s ease; }
html[data-skin] body .ds-pa-ask.on { opacity: 1; }
html[data-skin] body .ds-pa-ask .ds-pa-q { display: block; max-width: 560px; font-size: var(--ds-fs-8); font-weight: 650; letter-spacing: -.03em; line-height: 1.2; color: #fff; text-wrap: balance; }
html[data-skin] body .ds-pa-ask .ds-pa-s { display: block; max-width: 460px; font-size: var(--ds-fs-4); line-height: 1.45; color: rgba(238, 243, 251, .72); }
html[data-skin] body .ds-pa-ask .ds-pa-acts { display: flex; gap: 10px; margin-top: 14px; }
html[data-skin] body .ds-pa-ask .ds-pa-go, html[data-skin] body .ds-pa-ask .ds-pa-keep { min-height: 40px; padding: 0 18px; font-size: var(--ds-fs-4); }
html[data-skin] body .ds-pa-ask .ds-pa-keep { border-color: rgba(238, 243, 251, .28); background: rgba(255, 255, 255, .06); color: #fff; }
html[data-skin] body .ds-pa-ask .ds-pa-keep:hover { background: rgba(255, 255, 255, .12); border-color: rgba(238, 243, 251, .45); }
body.ds-still .ds-pa-ask { transition: none; }
html[data-skin] body .ds-pa-ask[hidden] { display: none; }
html[data-skin] body .ds-pa-ask b { color: #fff; font-weight: 600; }
html[data-skin] body .ds-pa-note { font-size: 13.5px; color: rgba(238, 243, 251, .62); }
html[data-skin] body .ds-pa-go { min-height: 32px; padding: 5px 12px; }
html[data-skin] body .ds-nv-dock { opacity: .72; }
html[data-skin] body .ds-nv-dock:hover, html[data-skin] body .ds-nv-dock[aria-current] { opacity: 1; }
.ds-dock-card { display: grid; gap: 10px; }
.ds-dock-card > .ds-pcard { opacity: .8; }
.ds-dock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ds-muted); }
@media (max-width: 720px) { html[data-skin] body .ds-pa { margin-left: 0; width: 100%; } html[data-skin] body .ds-pa-ask { position: fixed; z-index: 160; border-radius: 0; padding: 24px 20px; } html[data-skin] body .ds-pa-ask .ds-pa-acts { width: 100%; } html[data-skin] body .ds-pa-ask .ds-pa-acts .ds-btn { flex: 1 1 auto; } }

/* Oct 6 (Josh): the transporter, on Archive. The hero's content dematerialises under a blue-white shimmer with rising sparkle; then,
   on the Projects page, a packet with the project's name beams in under Dry dock in the rail while the row lights up and its count ticks. */
html[data-skin] body .ds-phero.ds-beam > :not(.ds-pa-shimmer):not(.ds-pa-sparks):not(.ds-pa-ask) { animation: ds-demat 1.1s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes ds-demat { 0% { filter: none; opacity: 1; } 35% { filter: brightness(1.6) saturate(.6); opacity: 1; } 100% { filter: brightness(2.4) saturate(0) blur(6px); opacity: 0; } }
html[data-skin] body .ds-pa-shimmer { position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; background:
  repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 3px, rgba(190, 220, 255, .55) 3px 4px, rgba(255, 255, 255, 0) 4px 9px),
  radial-gradient(60% 50% at 50% 50%, rgba(143, 176, 240, .55), rgba(143, 176, 240, 0) 70%);
  animation: ds-shimmer 1.4s ease-in-out forwards; }
@keyframes ds-shimmer { 0% { opacity: 0; transform: scaleY(.2); } 25% { opacity: 1; transform: scaleY(1); } 70% { opacity: .9; } 100% { opacity: 0; transform: scaleY(1.1); } }
html[data-skin] body .ds-pa-sparks { position: absolute; inset: 0; z-index: 4; pointer-events: none; background-image:
  radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.2px, transparent 1.6px), radial-gradient(circle, rgba(143, 176, 240, .9) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(95, 208, 200, .9) 0 1px, transparent 1.4px);
  background-size: 37px 53px, 61px 41px, 83px 71px; background-position: 7px 11px, 23px 5px, 41px 29px; animation: ds-sparks 1.3s ease-in-out forwards; }
@keyframes ds-sparks { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px); } }
html[data-skin] body .ds-nv-dock { transition: opacity .2s, background-color .3s, box-shadow .3s; }
html[data-skin] body .ds-nv-dock.ds-dock-lit { opacity: 1; background: rgba(95, 208, 200, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(95, 208, 200, .5), inset 0 0 28px -6px rgba(95, 208, 200, .55); }   /* the glow is drawn inside the row: the rail clips anything that spills past it */
html[data-skin] body .ds-nv-dock .ds-nv-n.pop { animation: ds-pop .5s cubic-bezier(.34, 1.56, .64, 1); color: #5FD0C8; }
@keyframes ds-pop { 40% { transform: scale(1.5); } }
html[data-skin] body .ds-pa-packet { position: fixed; z-index: 170; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1px rgba(143, 176, 240, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[data-skin] body .ds-pa-packet i { width: 8px; height: 8px; border-radius: 2px; background: #2F6BDB; }

/* ========== Oct 9 (Josh) · ACCENTS IN RESULTS: an inverted highlight in the same face ==========
   The serif stays for the big page headlines (.ds-hero-t). In a result, report or project headline the important words sit
   in a dark-blue highlight with white type, a little padding, 2px corners; a brighter blue on navy so it still reads. */
html[data-skin] body .ds-verdict-t em, html[data-skin] body .ds-verdict.t-hit .ds-verdict-t em, html[data-skin] body .ds-verdict.t-miss .ds-verdict-t em,
html[data-skin] body .ds-rep-body h2 em, html[data-skin] body .ds-phero-fig .ds-phero-v em, html[data-skin] body .ds-phero-v em {
  font-family: inherit; font-style: normal; font-weight: inherit; font-size: inherit; letter-spacing: inherit;
  background: var(--ds-hl, #3868FA); -webkit-background-clip: border-box; background-clip: border-box;
  color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; padding: .02em .2em .04em; margin: 0 .04em; border-radius: 2px !important;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[data-skin] body .ds-hero .ds-verdict-t em, html[data-skin] body .ds-phero .ds-verdict-t em, html[data-skin] body .ds-phero-v em, html[data-skin] body .ds-phero-fig .ds-phero-v em { background: var(--ds-hl, #3868FA); }
/* Oct 9 (Josh): the highlight takes the bars' blue (#3A6BFF), a hair deeper so white type keeps 4.5:1 */
html[data-skin] { --ds-hl: #3868FA; }

/* ========== Oct 9 (Josh) · DEPTH: shadows are the motif for what matters ==========
   One light from above, a cool navy tint, three levels. 1: every sheet sits on the ground. 2: the panel a page is about
   (a result, the plan, Up next, the project report, the step's answer). 3: what floats over the page (side sheets, menus,
   dialogs, the tour, toasts). Buttons stay flat. */
html[data-skin] {
  --ds-sh-1: 0 1px 2px rgba(23, 40, 62, .05), 0 4px 12px -6px rgba(23, 40, 62, .10);
  --ds-sh-2: 0 1px 2px rgba(23, 40, 62, .06), 0 16px 40px -16px rgba(23, 40, 62, .28);
  --ds-sh-3: 0 2px 6px rgba(23, 40, 62, .10), 0 30px 72px -24px rgba(23, 40, 62, .46);
}
html[data-skin] body .ds-sheet { box-shadow: var(--ds-sh-1); }
html[data-skin] body .ds-sheet.ds-verdict, html[data-skin] body .ds-verdict, html[data-skin] body .ds-ov-next, html[data-skin] body .ds-stp-rep, html[data-skin] body .ds-stp-ans, html[data-skin] body .ds-st-sheet, html[data-skin] body .ds-st-plan .ds-pl, html[data-skin] body .ds-rep-cover { box-shadow: var(--ds-sh-2); }
html[data-skin] body .ds-peek, html[data-skin] body .ds-pl-menu, html[data-skin] body .ds-askp, html[data-skin] body .ds-pane, html[data-skin] body .ds-sel-menu, html[data-skin] body .ds-tour-card, html[data-skin] body .ds-toast, html[data-skin] body .ds-fresh { box-shadow: var(--ds-sh-3); }
html[data-skin] body .ds-pcard:hover, html[data-skin] body .ds-tcard:hover { box-shadow: var(--ds-sh-2); }

/* Oct 9 (Josh): no colour bar on a left edge, ever; on the hero's rounded corner it curled. The path cells keep their
   Done/Next state words; the map tags keep their text. */
html[data-skin] body .ds-phero .ds-path-bar > div::before, html[data-skin] body .ds-geo-tag::before, html[data-skin] body .ds-mdl-tag::before { display: none !important; }

/* ========== Oct 9 (Josh) · FINISH: a light top edge on what matters, a polite gradient on the big dark panels ==========
   Rides on the depth levels above. Level 1 sheets stay flat. Level 2 (the panel a page is about) and level 3 (what floats)
   get an inner highlight: a 1px light line along the top edge, a hairline ring where the panel has no border of its own,
   and a near-white wash (white at the top, a breath of blue at the foot) so the highlight reads. The large navy panels get
   the same top line in a low white and a gradient that is a touch lighter at the top. Never glossy: no shine bands. */
html[data-skin] {
  --ds-rim: inset 0 1px 0 rgba(255, 255, 255, .95);
  --ds-edge: 0 0 0 1px rgba(23, 40, 62, .06);
  --ds-sheen: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 30%, #F8FAFD 100%);
  --ds-sheen-tint: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, 0) 46%);
  --ds-rim-dark: inset 0 1px 0 rgba(255, 255, 255, .11), inset 0 0 0 1px rgba(143, 176, 240, .09);
  --ds-sheen-dark: linear-gradient(180deg, rgba(143, 176, 240, .085) 0%, rgba(143, 176, 240, .025) 36%, rgba(2, 6, 16, .14) 100%);
}
/* level 2, on white: the result, a step's answer, the project report card, Start a project, the plan on Start */
html[data-skin] body .ds-verdict, html[data-skin] body .ds-sheet.ds-verdict, html[data-skin] body .ds-stp-ans, html[data-skin] body .ds-stp-rep, html[data-skin] body .ds-st-sheet, html[data-skin] body .ds-st-plan .ds-pl {
  background-image: var(--ds-sheen); box-shadow: var(--ds-rim), var(--ds-edge), var(--ds-sh-2);
}
/* level 2, tinted with a border of its own: Up next */
html[data-skin] body .ds-ov-next { background-image: var(--ds-sheen-tint); box-shadow: var(--ds-rim), var(--ds-sh-2); }
/* level 3, what floats: side sheets, the header's answer panel, menus, dialogs, the tour */
html[data-skin] body .ds-peek, html[data-skin] body .ds-pane, html[data-skin] body .ds-pl-menu, html[data-skin] body .ds-sel-menu, html[data-skin] body .ds-tour-card, html[data-skin] body .ds-fresh {
  background-image: var(--ds-sheen); box-shadow: var(--ds-rim), var(--ds-sh-3);
}
/* the header's answer panel is dark glass (console.css), so it takes the dark finish: a white wash would hide its white type */
html[data-skin] body .ds-askp { background-image: var(--ds-sheen-dark); box-shadow: var(--ds-rim-dark), var(--ds-sh-3); }
html[data-skin] body .ds-toast { box-shadow: var(--ds-rim-dark), var(--ds-sh-3); }
/* the big navy panels: the project hero, the Model page's dark tiles, the audiences' shape; the top line and a polite gradient */
html[data-skin] body .ds-phero, html[data-skin] body .ds-mdl-tile.is-dark, html[data-skin] body .ds-aud-hero { background-image: var(--ds-sheen-dark); box-shadow: var(--ds-rim-dark), var(--ds-sh-2); }
/* navy panels that carry key art or a film keep their picture and take only the edge */
html[data-skin] body .ds-hero:not(.ds-aud-hero), html[data-skin] body .ds-rep-cover { box-shadow: var(--ds-rim-dark), var(--ds-sh-2); }
/* a panel inside a navy panel: the line only */
html[data-skin] body .ds-phero-fig { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09); }

/* Oct 9 (Josh): the finish on the main hero, the rail's active pill, the primary action, and the fields.
   The home hero's key art covers the hero's own background, so an inset edge drawn on the hero would sit under the pictures:
   the edge and the polite gradient ride on a layer over the slides instead, under the copy and the console. */
html[data-skin] body .ds-hx .ds-hx-slides { border-radius: inherit; overflow: hidden; }
html[data-skin] body .ds-hx .ds-hx-slides::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(143, 176, 240, .07) 0%, rgba(143, 176, 240, 0) 34%, rgba(2, 6, 16, .16) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), inset 0 0 0 1px rgba(143, 176, 240, .10); }
/* the rail: where you are gets the same quiet top line, the rest of the rail stays flat */
html[data-skin] body .ds-rail-ind { background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 0 0 1px rgba(143, 176, 240, .10); }
/* the primary action, one per view: a 1px light top edge and a breath of gradient. Still flat: no lip, no lift on hover
   (feedback_flat_buttons_in_product_ui); secondary buttons stay as they are */
html[data-skin] body .ds-btn.ds-primary, html[data-skin] body .ds-run, html[data-skin] body .ds-hx-go, html[data-skin] body .ds-pl .ds-pl-run, html[data-skin] body #ds-ask button[type="submit"] {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(9, 22, 52, .22) !important;
}
html[data-skin] body .ds-btn.ds-primary:hover, html[data-skin] body .ds-run:hover, html[data-skin] body .ds-hx-go:hover, html[data-skin] body .ds-pl .ds-pl-run:hover, html[data-skin] body #ds-ask button[type="submit"]:hover { transform: none !important; }
html[data-skin] body .ds-btn.ds-primary:disabled, html[data-skin] body .ds-pl .ds-pl-run.is-wait { background-image: none !important; box-shadow: none !important; }
/* fields read as set into the surface: a soft shade under their top edge at rest (focus keeps its own ring) */
html[data-skin] body #ds-ask:not(:focus-within), html[data-skin] body .ds-hx-form:not(:focus-within) { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .30); }

/* ========== Oct 9 (Josh) · SCROLLBARS, everywhere a list scrolls ==========
   One thin rounded thumb, inset from the edge and kept clear of rounded corners, on a clear track; a lighter thumb on navy.
   Chrome and Safari draw it from ::-webkit-scrollbar, which Chrome ignores wherever scrollbar-width/colour are set, so the
   few panels that set them hand back to these rules there; Firefox keeps a thin native bar. Strips hidden on purpose
   (scrollbar-width: none) stay hidden. */
@supports selector(::-webkit-scrollbar) {
  html[data-skin] .ds-rail-nav, html[data-skin] .ds-rail-lvl, html[data-skin] .ds-ai-b, html[data-skin] .ds-menu, html[data-skin] .ds-pane, html[data-skin] .ds-askp,
  html[data-skin] .ds-cx-body, html[data-skin] .ds-pl-menu, html[data-skin] body .ds-geo-panel { scrollbar-width: auto !important; scrollbar-color: auto !important; }
}
html[data-skin]::-webkit-scrollbar, html[data-skin] ::-webkit-scrollbar { width: 12px; height: 12px; }
html[data-skin]::-webkit-scrollbar-track, html[data-skin] ::-webkit-scrollbar-track { background: transparent; margin: 8px; }
html[data-skin]::-webkit-scrollbar-thumb, html[data-skin] ::-webkit-scrollbar-thumb { min-height: 40px; border: 4px solid transparent; border-radius: 999px; background-color: rgba(83, 106, 132, .30); background-clip: padding-box; }
html[data-skin]::-webkit-scrollbar-thumb:hover, html[data-skin] ::-webkit-scrollbar-thumb:hover { background-color: rgba(83, 106, 132, .52); }
html[data-skin]::-webkit-scrollbar-corner, html[data-skin] ::-webkit-scrollbar-corner { background: transparent; }
html[data-skin] :is(.ds-askp, .ds-rail, .ds-head, .ds-cx, .ds-hero, .ds-phero, .ds-toast, .ds-aud-hero, .ds-mdl-tile.is-dark)::-webkit-scrollbar-thumb,
html[data-skin] :is(.ds-askp, .ds-rail, .ds-head, .ds-cx, .ds-hero, .ds-phero, .ds-toast, .ds-aud-hero, .ds-mdl-tile.is-dark) ::-webkit-scrollbar-thumb { background-color: rgba(143, 176, 240, .28); }
html[data-skin] :is(.ds-askp, .ds-rail, .ds-head, .ds-cx, .ds-hero, .ds-phero, .ds-toast, .ds-aud-hero, .ds-mdl-tile.is-dark)::-webkit-scrollbar-thumb:hover,
html[data-skin] :is(.ds-askp, .ds-rail, .ds-head, .ds-cx, .ds-hero, .ds-phero, .ds-toast, .ds-aud-hero, .ds-mdl-tile.is-dark) ::-webkit-scrollbar-thumb:hover { background-color: rgba(143, 176, 240, .48); }
@supports not selector(::-webkit-scrollbar) {
  :where(html[data-skin]), :where(html[data-skin]) :where(*) { scrollbar-width: thin; scrollbar-color: rgba(83, 106, 132, .4) transparent; }
}

/* ========== Oct 9 (Josh) · COUNTS: one look wherever a number is a count ==========
   A thin rounded rectangle in the sans, tabular numerals: the tabs' counts, the rail's counts, the step trail's counts. */
html[data-skin] body .ds-tab .n, html[data-skin] body .ds-nv-n, html[data-skin] body .ds-stp-cn {
  display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 4px !important;
  font: 600 11.5px/1 var(--ds-f, inherit); font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: 0; vertical-align: 1px; }
html[data-skin] body .ds-tab .n { margin-left: 7px; background: #E9EEF5; color: #536A84; }
html[data-skin] body .ds-tab[aria-current="page"] .n, html[data-skin] body .ds-tab:hover .n { background: #DCE6F4; color: #17283E; }
html[data-skin] body .ds-nv-n { background: rgba(143, 176, 240, .12); color: #AFC0D8; }
html[data-skin] body .ds-nv .ds-rail-item:hover .ds-nv-n, html[data-skin] body .ds-nv .ds-rail-item[aria-current="page"] .ds-nv-n { background: rgba(143, 176, 240, .22); color: #EEF3FB; }
html[data-skin] body .ds-stp-cn { background: var(--ds-raise, #E9EEF5); color: var(--ds-ink-soft, #2F4460); }

/* ========== Oct 9 (Josh) · TABS: the finish carried to the tab bar ==========
   The gliding indicator becomes the raised piece: a white chip behind the current tab with the light top edge, a soft
   shadow and the cobalt line at its foot. It still glides between tabs; the tabs themselves stay flat. */
html[data-skin] body .ds-tabs { position: relative; }
html[data-skin] body .ds-tab { position: relative; z-index: 1; }
html[data-skin] body .ds-tab:not([aria-current="page"]):hover { background: rgba(23, 40, 62, .04); }
html[data-skin] body .ds-tabs .ds-tabs-ind { z-index: 0; top: 5px; bottom: 3px; height: auto; border-radius: 9px !important; background: #FFFFFF linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 40%, #F8FAFD 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 0 var(--ck-cobalt, #245DC8), 0 0 0 1px rgba(23, 40, 62, .07), 0 1px 2px rgba(23, 40, 62, .08), 0 6px 14px -8px rgba(23, 40, 62, .28); }

/* ===== Oct 9, second pass (Josh): tabs that feel like tabs. No raised chip: the current tab takes the hover look, joins the
   page below the band, and gets a light top edge; other tabs show the same shape on hover. ===== */
html[data-skin] body .ds-tabs .ds-tabs-ind { display: none; }
html[data-skin] body .ds-tab { border-radius: 10px 10px 0 0 !important; box-shadow: none; }
html[data-skin] body .ds-tab:not([aria-current="page"]):hover { background: rgba(23, 40, 62, .045); }
html[data-skin] body .ds-tab[aria-current="page"] { top: 1px; background: linear-gradient(180deg, #FFFFFF 0%, var(--ck-ground, #F4F6FA) 78%);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 2px 0 rgba(255, 255, 255, .6), 0 -1px 0 rgba(23, 40, 62, .09), -1px 0 0 rgba(23, 40, 62, .07), 1px 0 0 rgba(23, 40, 62, .07); }
html[data-skin] body .ds-tab[aria-current="page"] { top: 0; z-index: 2; padding-bottom: 14px; margin-bottom: -2px; background: linear-gradient(180deg, #FFFFFF 0%, var(--ck-ground, #F4F6FA) 72%, var(--ck-ground, #F4F6FA) 100%); }

/* ========== Oct 9 (Josh) · LABELS: a state or a kind is a small outlined label ==========
   The same label as the project hero's DONE and UP NEXT, on the light ground: caps in Archivo's wider cut, thin type, an
   outline in the label's own colour. Used for project states, step kinds, report and answer kinds, and Illustrative. */
html[data-skin] body .ds-lbl, html[data-skin] body .ds-state, html[data-skin] body .ds-phero-st em {
  display: inline-flex; align-items: center; flex: none; padding: 2px 6px; border-radius: 4px !important; background: transparent;
  font-family: var(--ds-f); font-style: normal; font-size: 10px; font-weight: 500; font-stretch: 112%; letter-spacing: .08em; line-height: 1.25;
  text-transform: uppercase; white-space: nowrap; vertical-align: middle; width: fit-content; max-width: 100%; justify-self: start; align-self: start; color: var(--lbl, #536A84);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 42%, transparent); }
html[data-skin] body .ds-state[data-k="progress"] { --lbl: #536A84; }
html[data-skin] body .ds-state[data-k="ready"] { --lbl: #0B7A6E; }
html[data-skin] body .ds-state[data-k="locked"] { --lbl: #2447C9; }
html[data-skin] body .ds-state[data-k="warn"] { --lbl: #6B54E0; }
/* on the dark grounds (heroes, the header's panel) the label lightens */
html[data-skin] body :is(.ds-hero, .ds-phero, .ds-askp, .ds-head) .ds-state { --lbl: #A9C1F2; }
html[data-skin] body :is(.ds-hero, .ds-phero, .ds-askp, .ds-head) .ds-state[data-k="ready"] { --lbl: #7FD9D2; }
/* where each one sits */
html[data-skin] body .ds-ph-k .ds-lbl { margin-right: 10px; vertical-align: 1px; color: #2447C9; }
html[data-skin] body .ds-stp-k { display: flex; align-items: center; gap: 10px; }
html[data-skin] body .ds-stp-k .ds-lbl { color: var(--stg-ink, #536A84); }
html[data-skin] body .ds-stp-k em { margin-left: 0; }
/* the recommended row in a trade-off table: the same label, under the name */
html[data-skin] body .ds-vtrade-r.rec > b::after { display: block; width: fit-content; margin-top: 6px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 500; font-stretch: 112%; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; color: #2447C9; box-shadow: inset 0 0 0 1px color-mix(in srgb, #2447C9 42%, transparent); }

/* ========== Oct 9 (Josh) · SECTION HEADS: the icon hangs in its own column, a size up; the headline and its line share
   one left edge, and the meta (or key) keeps the right ========== */
html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) { grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 14px; }
html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > .ds-sh-i { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; width: 28px; height: 28px; margin: 0; }
html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > .ds-sh-i svg { width: 28px; height: 28px; }
html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > :is(h2, h3) { grid-column: 2; grid-row: 1; padding-left: 0; }
html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > p { grid-column: 2; grid-row: 2; }
html[data-skin] body .ds-sh:has(> .ds-sh-i) > .ds-sh-meta { grid-column: 3; grid-row: 1; }
@media (max-width: 720px) {
  html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) { grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > .ds-sh-i, html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > .ds-sh-i svg { width: 26px; height: 26px; }
  html[data-skin] body :is(.ds-sh, .ds-sh-row):has(> .ds-sh-i) > :not(.ds-sh-i, h2, h3) { grid-column: 2; margin-top: 0; }
  html[data-skin] body .ds-sh:has(> .ds-sh-i) > .ds-sh-meta { grid-column: 2; grid-row: 3; }
}
