/* The design room's studio shell: neutral and quiet, so the proofs are the hero. A project tints it
   through its manifest's theme (paper, ink, accent, line). System fonts only: nothing loads from elsewhere. */
:root {
  --paper: #f5f3ee; --ink: #1b1a17; --accent: #2b4c7e; --line: #d9d4c7;
  --panel: color-mix(in srgb, var(--paper) 92%, var(--ink) 8%);
  --muted: color-mix(in srgb, var(--ink) 68%, var(--paper) 32%);
  --keep: #1a7f4b; --change: #c02f35; --question: #8a6400;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); min-height: 100vh; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.small { font-size: 14px; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.lede { font-size: 19px; line-height: 1.5; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--accent); color: #fff; font-weight: 650; padding: 10px 22px; border-radius: 3px; }
.btn.ghost { background: none; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.small-btn { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.quiet { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; min-height: 36px; display: inline-flex; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 14px; text-align: left; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 650; }
.tag { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .04em; background: var(--ink); color: var(--paper); padding: 4px 7px; border-radius: 3px; vertical-align: middle; }
.qs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.question { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; }
.q-h { font-size: 20px; margin-bottom: 6px; }
.scale { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.scale .end { font-weight: 600; font-size: 15px; }
.scale .step { width: 36px; height: 36px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 55%, var(--paper)); background: var(--paper); }
.scale .step[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.pill-radio { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.note { background: var(--panel); border-left: 3px solid var(--accent); padding: 12px 14px; margin: 14px 0; }
.note.warn { border-left-color: var(--change); }
.field { display: grid; gap: 4px; margin: 12px 0; font-weight: 600; font-size: 15px; }
.field.inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.field input, .field select, .field textarea, .say, .extra { width: 100%; background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 45%, var(--paper)); border-radius: 3px; padding: 9px 10px; font-weight: 400; }
.field.inline select { width: auto; }
.check { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }

/* the bar and the stage strip */
.bar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 10px 32px;
  background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { margin: 0; line-height: 1.2; }
.brand b { display: block; font: 600 18px var(--serif); }
.brand i { display: block; font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stage-strip, .here { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; overflow-x: auto; }
.stage-strip li { color: var(--muted); white-space: nowrap; }
.stage-strip li > * { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.stage-strip .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.stage-strip li.on { color: var(--ink); font-weight: 700; } .stage-strip li.on .dot { background: var(--accent); border-color: var(--accent); }
.stage-strip li.done { color: var(--ink); } .stage-strip li.done .dot { background: currentColor; }
.stage-strip li.done button { text-decoration: underline; text-underline-offset: 3px; }
.here { margin-top: 4px; font-size: 14px; }
.here button { min-height: 28px; color: var(--muted); }
.here button[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.saved { font-size: 12px; color: var(--muted); text-align: right; } .saved.warn { color: var(--change); font-weight: 700; }
main { padding: 28px 32px 130px; max-width: 1500px; margin: 0 auto; }
.plain { max-width: 760px; margin: 30px auto; }
.plain ul { padding-left: 20px; }
.go { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 26px 0 10px; }

/* welcome */
.welcome { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: start; }
.welcome.short { grid-template-columns: minmax(0, 760px); justify-content: center; }
.w-art img { width: 100%; border-radius: 2px; box-shadow: 0 24px 60px rgba(0,0,0,.18); display: block; }
.welcome h1 { font-size: 46px; line-height: 1.06; margin-bottom: 16px; }
.welcome h2 { font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.tells { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tell { background: var(--panel); border-left: 3px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tell.question { border-left-color: var(--question); }
.tell > span { font-size: 14px; color: var(--muted); }
.tell .standing { font-size: 12px; font-weight: 700; color: var(--ink); }
.tell .pair { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.small-field { font-size: 13px; }
.plan { background: var(--panel); border-left: 3px solid var(--line); padding: 4px 18px 10px; margin-bottom: 10px; }
.plan summary { cursor: pointer; min-height: 32px; padding: 8px 0; font-weight: 600; color: var(--accent); }
.plan h3 { font: 700 15px var(--sans); margin: 14px 0 4px; }
.plan p, .plan ul { margin: 4px 0; font-size: 15px; }
.filetools { margin-top: 26px; font-size: 14px; color: var(--muted); }
.filetools summary { cursor: pointer; min-height: 32px; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-within { outline: 3px solid var(--accent); }

/* the wall */
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.head h1 { font-size: 36px; } .head p { max-width: 560px; margin: 0; color: var(--muted); }
.proofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 22px; }
.proof { margin: 0; }
.open { display: block; width: 100%; }
.open img, .nof { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border: 1px solid var(--line); border-radius: 2px; background: var(--panel); transition: transform .15s; }
.nof { display: grid; place-items: center; color: var(--muted); }
.open:hover img { transform: translateY(-3px); }
.proof figcaption b { display: block; font: 600 18px var(--serif); margin: 10px 0 6px; }
.react { display: flex; gap: 6px; }
.r { flex: 1; font-size: 13px; min-height: 36px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.r[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-weight: 700; border-color: var(--ink); }
.unseen { display: inline-flex; align-items: center; min-height: 28px; font-size: 13px; color: var(--muted); text-decoration: underline; margin-top: 2px; }
.unseen[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.proof.is-explore .open img { outline: 3px solid var(--accent); outline-offset: 3px; }
.proof.is-no .open img { opacity: .45; }
.one .proof { max-width: 520px; margin: 0 auto; }
.one .open img.phone-frame { aspect-ratio: 390 / 844; max-height: 50vh; width: auto; margin: 0 auto; object-fit: contain; }
.flip { display: flex; justify-content: space-between; align-items: center; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.jump button { min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 3px; }
.jump button[aria-current="true"] { background: var(--ink); color: var(--paper); }
.tally { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 32px; background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--line); font-size: 14px; }

/* a closer look */
.look { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 32px; }
.stage-top { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.stage-top h1 { font-size: 32px; }
.stage-top .quiet { margin-left: auto; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.tab { padding: 6px 14px; font-size: 14px; min-height: 36px; color: var(--muted); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-weight: 700; }
.markbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; min-height: 40px; }
.mark-toggle { border: 1.5px solid var(--accent); color: var(--accent); padding: 6px 16px; min-height: 36px; border-radius: 3px; font-weight: 700; }
.mark-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; }
.mark-tools, .mark-tools > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tool, .tool-act, .colour { padding: 4px 10px; min-height: 32px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; background: var(--paper); }
.tool[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.colour { font-weight: 700; } .c-green { color: var(--keep); } .c-red { color: var(--change); } .c-yellow { color: var(--question); }
.colour[aria-pressed="true"] { color: #fff; } .colour.c-green[aria-pressed="true"] { background: var(--keep); } .colour.c-red[aria-pressed="true"] { background: var(--change); } .colour.c-yellow[aria-pressed="true"] { background: var(--question); }
.mstatus { font-size: 13px; color: var(--muted); }
.frame { position: relative; line-height: 0; }
.frame .fimg { width: 100%; height: auto; border: 1px solid var(--line); display: block; }
.frame.phone { max-width: 390px; margin: 0 auto; }
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer canvas { position: absolute; left: 0; top: 0; }
.layer.drawing { pointer-events: auto; cursor: crosshair; touch-action: none; }
.zoom { position: absolute; right: 10px; top: 10px; background: var(--ink); color: var(--paper); padding: 6px 10px; min-height: 32px; font-size: 13px; line-height: 1; border-radius: 3px; opacity: .9; }
.nodrag { margin: 12px 0; font-size: 15px; } .nodrag summary { cursor: pointer; min-height: 32px; color: var(--accent); font-weight: 600; }
.nodrag-form { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: 10px; align-items: end; }
.marklist { font-size: 14px; color: var(--muted); padding-left: 20px; }
.hint { font-size: 14px; color: var(--muted); }
.k-green { color: var(--keep); } .k-red { color: var(--change); } .k-yellow { color: var(--question); }
.older { margin-top: 20px; } .older h2 { font-size: 20px; }
.ask { background: var(--panel); border: 1px solid var(--line); padding: 22px; align-self: start; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.ask h2 { font-size: 22px; margin-bottom: 8px; } .ask h3 { font: 700 15px var(--sans); margin: 18px 0 6px; }
.starters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.starters button { font-size: 13px; min-height: 30px; padding: 3px 10px; border: 1px dashed color-mix(in srgb, var(--ink) 40%, var(--paper)); border-radius: 3px; }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 8px; flex-wrap: wrap; }
.finish { margin: 14px 0 0; } .finish .btn { width: 100%; }
.zoomer { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,10,.96); overflow: auto; touch-action: pinch-zoom pan-x pan-y; }
.zoomer img { display: block; max-width: none; margin: 50px auto; }
.zoomer .close { position: fixed; top: 12px; right: 16px; background: var(--paper); color: var(--ink); padding: 8px 14px; min-height: 40px; border-radius: 3px; font-weight: 700; }

/* this or that */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs figure { margin: 0; } .vs img { width: 100%; border: 1px solid var(--line); display: block; }
.vs figcaption { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; } .vs b { font: 600 20px var(--serif); }

/* make it yours */
.make-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 20px; flex-wrap: wrap; }
.make-head h1 { font-size: 36px; }
.creator { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; }
.pv-frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pv-frame iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; }
.pv-bar { display: flex; justify-content: space-between; flex-wrap: wrap; margin: 8px 0 0; }
.hold { user-select: none; -webkit-user-select: none; }
.controls { background: var(--panel); border: 1px solid var(--line); padding: 18px; align-self: start; }
.controls h2 { font-size: 22px; margin: 4px 0 10px; } .controls h2 + .small { margin-top: 0; }
.ctl { border: 0; padding: 0; margin: 0 0 16px; }
.ctl legend, .ctl b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.sw { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.swatch { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.custom { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.custom input { width: 34px; height: 32px; border: 0; background: none; padding: 0; }
.options { display: grid; gap: 6px; }
.opt { text-align: left; padding: 8px 12px; min-height: 36px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; background: var(--paper); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-weight: 700; }
.slider input { width: 100%; accent-color: var(--accent); min-height: 32px; }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); } .ends i { font-style: normal; }
.contrast { font-size: 14px; padding: 8px 10px; border-radius: 3px; color: color-mix(in srgb, var(--keep) 75%, #000); background: color-mix(in srgb, var(--keep) 8%, #fff); }
.contrast.bad { color: color-mix(in srgb, var(--change) 75%, #000); background: color-mix(in srgb, var(--change) 8%, #fff); }

/* the direction card */
.dcard { max-width: 1240px; margin: 0 auto; }
.dc-head { text-align: center; margin: 10px 0 26px; }
.dc-head h1 { font-size: 60px; line-height: 1.02; margin-bottom: 10px; }
.dc-hero { margin-bottom: 26px; } .dc-hero .pv-frame { box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.dc-hero.composing img { width: 100%; display: block; opacity: .55; filter: grayscale(.4); border: 1px dashed var(--ink); }
.caption { text-align: center; color: var(--muted); font-size: 15px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.tile h3 { font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile ul { margin: 0; padding-left: 18px; } .tile li { margin: 3px 0; } .tile li i { color: var(--muted); font-style: normal; font-size: 13px; }
.tile p { margin: 0; }
.check { margin-top: auto; padding-top: 8px; }
.quiet-pill { font-size: 12px; min-height: 28px; padding: 2px 10px; margin-right: 4px; }
.final { text-align: center; margin: 34px auto 0; max-width: 760px; }
.final h2 { font-size: 28px; } .final .pills { justify-content: center; } .final .field { text-align: left; }
.decide .pill { font-size: 15px; min-height: 44px; padding: 8px 18px; }
.send-row { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.status { color: var(--muted); min-height: 1.5em; }
.sent h1 { font-size: 46px; margin-bottom: 14px; }
.marks { display: flex; flex-wrap: wrap; gap: 16px; } .marks figure { margin: 0; } .marks canvas { border: 1px solid var(--line); display: block; }
.marks figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* tasks */
.task-list { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.task { display: flex; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 14px 16px; min-height: 48px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; }
.task .state { color: var(--muted); font-size: 14px; }
.runner { margin: 24px 0; padding: 20px; border: 1px solid var(--line); background: #fff; max-width: 1100px; }
.runner h2 { font-size: 24px; margin-bottom: 8px; }
.clickable img, .wide { width: 100%; display: block; border: 1px solid var(--line); cursor: crosshair; }
.area-pick { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.proto { position: relative; height: 70vh; border: 1px solid var(--line); margin: 10px 0; }
.proto iframe { width: 100%; height: 100%; border: 0; }
.flash { width: min(92vw, 1200px); display: block; }

/* the built site */
.devs { list-style: none; padding: 0; display: grid; gap: 18px; }
.dev { border: 1px solid var(--line); padding: 16px; background: var(--panel); }
.dev-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .dev-imgs figure { margin: 0; } .dev-imgs img { width: 100%; border: 1px solid var(--line); display: block; }
.dev-imgs figcaption { font-size: 13px; color: var(--muted); }

/* dialogs */
.sheet { border: 0; padding: 0; max-width: min(96vw, 1240px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.sheet::backdrop { background: rgba(10,10,10,.6); }
.sheet-body { padding: 22px; } .sheet-body h2 { margin-bottom: 10px; }
.sheet-actions { padding: 0 22px 18px; margin: 0; display: flex; gap: 12px; }
.past-img { width: 100%; max-width: 900px; display: block; border: 1px solid var(--line); }

/* the viewer */
.viewer { display: flex; flex-direction: column; height: 100vh; }
.viewer-bar { margin: 0; padding: 6px 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; border-bottom: 1px solid var(--line); }
.viewer iframe { flex: 1; width: 100%; border: 0; }

@media (max-width: 900px) {
  .bar { grid-template-columns: 1fr auto; padding: 8px 14px; gap: 8px; }
  #stages { grid-column: 1 / -1; grid-row: 2; }
  .stage-strip li:not(.on) .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  main { padding: 18px 14px 140px; }
  .welcome, .look, .creator { grid-template-columns: 1fr; gap: 22px; }
  .welcome h1 { font-size: 34px; } .tells { grid-template-columns: 1fr; }
  .head { display: block; } .head h1 { font-size: 28px; margin-bottom: 6px; }
  .tally { padding: 10px 14px; flex-direction: column; align-items: stretch; text-align: center; }
  .wall .tally, .tasks .tally, .report .tally { position: static; margin: 24px -14px 0; }
  .look .stage { order: 1; }
  .ask { position: static; max-height: none; order: 2; }
  .nodrag-form { grid-template-columns: 1fr; }
  .board, .vs, .dev-imgs { grid-template-columns: 1fr; }
  .dc-head h1 { font-size: 40px; }
  .stage-top .quiet { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .bar, .tally, .send-row, .check, .decide, .extra, .filetools { display: none !important; } }

/* ---- The three shell treatments (manifest project.shell). "studio" is everything above. ----
   Each changes the room's world, not only its colours: where the stages live, how proofs sit, how type leads.
   A project's theme accent still tints each one. */

/* Light table: a photographer's dark workroom. Stages down a left rail; proofs lie on white mats under light. */
[data-shell="light-table"] { --lt-bg: #1e2022; --lt-panel: #2a2d30; --lt-text: #ecebe7; --lt-muted: #b7b4ad; --lt-line: #45494d; --lt-lamp: #f0b54a; }
[data-shell="light-table"] html, [data-shell="light-table"] body { background: var(--lt-bg); color: var(--lt-text); }
html[data-shell="light-table"] { background: var(--lt-bg); }
[data-shell="light-table"] body { display: grid; grid-template-columns: 240px minmax(0, 1fr); font-family: var(--sans); }
[data-shell="light-table"] .bar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 28px 20px;
  background: #141617; border-bottom: 0; border-right: 1px solid var(--lt-line); backdrop-filter: none; }
[data-shell="light-table"] .brand b { font: 700 17px var(--sans); color: #fff; }
[data-shell="light-table"] .brand i, [data-shell="light-table"] .saved { color: var(--lt-muted); text-align: left; }
[data-shell="light-table"] .stage-strip, [data-shell="light-table"] .here { flex-direction: column; gap: 4px; overflow: visible; }
[data-shell="light-table"] .stage-strip li { color: var(--lt-muted); }
[data-shell="light-table"] .stage-strip li.on, [data-shell="light-table"] .stage-strip li.done { color: #fff; }
[data-shell="light-table"] .stage-strip li.on .dot { background: var(--lt-lamp); border-color: var(--lt-lamp); }
[data-shell="light-table"] .here { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lt-line); }
[data-shell="light-table"] .here button { color: var(--lt-muted); text-align: left; }
[data-shell="light-table"] .here button[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--lt-lamp); padding-left: 10px; }
[data-shell="light-table"] main { max-width: none; padding: 36px 44px 130px; }
[data-shell="light-table"] h1, [data-shell="light-table"] h2, [data-shell="light-table"] h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; color: #fff; }
[data-shell="light-table"] .eyebrow, [data-shell="light-table"] .small, [data-shell="light-table"] .muted, [data-shell="light-table"] .head p,
[data-shell="light-table"] .hint, [data-shell="light-table"] .caption, [data-shell="light-table"] .tell > span, [data-shell="light-table"] .welcome h2,
[data-shell="light-table"] .tile h3, [data-shell="light-table"] .filetools, [data-shell="light-table"] .unseen, [data-shell="light-table"] .ends,
[data-shell="light-table"] .marklist, [data-shell="light-table"] .mstatus, [data-shell="light-table"] .status { color: var(--lt-muted); }
[data-shell="light-table"] .btn { background: var(--lt-lamp); color: #141617; }
[data-shell="light-table"] .btn.ghost { background: none; color: var(--lt-lamp); box-shadow: inset 0 0 0 1.5px var(--lt-lamp); }
[data-shell="light-table"] .quiet, [data-shell="light-table"] .nodrag summary { color: var(--lt-lamp); }
[data-shell="light-table"] :focus-visible { outline-color: var(--lt-lamp); }
[data-shell="light-table"] .pill, [data-shell="light-table"] .r, [data-shell="light-table"] .opt, [data-shell="light-table"] .tool, [data-shell="light-table"] .tool-act,
[data-shell="light-table"] .tab, [data-shell="light-table"] .jump button, [data-shell="light-table"] .starters button, [data-shell="light-table"] .pill-radio {
  background: transparent; color: var(--lt-text); border-color: var(--lt-line); }
[data-shell="light-table"] .pill[aria-pressed="true"], [data-shell="light-table"] .r[aria-pressed="true"], [data-shell="light-table"] .opt[aria-pressed="true"],
[data-shell="light-table"] .tool[aria-pressed="true"], [data-shell="light-table"] .tab[aria-pressed="true"], [data-shell="light-table"] .jump button[aria-current="true"] {
  background: #fff; color: #141617; border-color: #fff; }
[data-shell="light-table"] .colour { background: transparent; border-color: var(--lt-line); }
[data-shell="light-table"] .c-green { color: #5fd39a; } [data-shell="light-table"] .c-red { color: #ff8a8a; } [data-shell="light-table"] .c-yellow { color: #f2cf63; }
[data-shell="light-table"] .proofs { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 40px 34px; }
[data-shell="light-table"] .proof { background: #f4f3ef; padding: 14px 14px 12px; box-shadow: 0 0 0 1px #000, 0 18px 50px rgba(240,181,74,.10); color: #1b1a17; }
[data-shell="light-table"] .proof .open img { border-color: #d4d1c9; }
[data-shell="light-table"] .proof figcaption b, [data-shell="light-table"] .proof .unseen { color: #1b1a17; }
[data-shell="light-table"] .proof .r { color: #1b1a17; border-color: #c9c5bb; background: #fff; }
[data-shell="light-table"] .proof .r[aria-pressed="true"] { background: #1b1a17; color: #fff; border-color: #1b1a17; }
[data-shell="light-table"] .proof.is-explore { box-shadow: 0 0 0 3px var(--lt-lamp), 0 18px 60px rgba(240,181,74,.25); }
[data-shell="light-table"] .proof.is-explore .open img { outline: 0; }
[data-shell="light-table"] .tally { left: 240px; background: rgba(20,22,23,.96); border-top-color: var(--lt-line); color: var(--lt-text); }
[data-shell="light-table"] .tell, [data-shell="light-table"] .ask, [data-shell="light-table"] .controls, [data-shell="light-table"] .note, [data-shell="light-table"] .task,
[data-shell="light-table"] .dev, [data-shell="light-table"] .runner, [data-shell="light-table"] .sheet { background: var(--lt-panel); border-color: var(--lt-line); color: var(--lt-text); }
[data-shell="light-table"] .tell .standing { color: #fff; }
[data-shell="light-table"] .board, [data-shell="light-table"] .tile { border-color: var(--lt-line); }
[data-shell="light-table"] .field input, [data-shell="light-table"] .field select, [data-shell="light-table"] .field textarea,
[data-shell="light-table"] .say, [data-shell="light-table"] .extra { background: #141617; color: var(--lt-text); border-color: #6b7075; }
[data-shell="light-table"] .w-art img, [data-shell="light-table"] .frame .fimg, [data-shell="light-table"] .pv-frame { border: 12px solid #f4f3ef; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
[data-shell="light-table"] .contrast { color: #0d3b24; } [data-shell="light-table"] .contrast.bad { color: #5a1010; }
@media (max-width: 900px) {
  [data-shell="light-table"] body { display: block; }
  [data-shell="light-table"] .bar { position: sticky; height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px 14px; gap: 10px; border-right: 0; border-bottom: 1px solid var(--lt-line); }
  [data-shell="light-table"] .stage-strip, [data-shell="light-table"] .here { flex-direction: row; overflow-x: auto; }
  [data-shell="light-table"] .here { margin-top: 0; padding-top: 0; border-top: 0; }
  [data-shell="light-table"] .tally { left: 0; }
  [data-shell="light-table"] main { padding: 18px 14px 140px; }
  [data-shell="light-table"] .proofs { grid-template-columns: 1fr; }
}

/* Crit wall: a white pin-up wall for a critique. Huge grotesk headlines, proofs numbered like pinned boards,
   stages as a row of numbered tabs across the top, thick black rules. */
html[data-shell="crit-wall"], [data-shell="crit-wall"] body { background: #fff; color: #0b0b0b; }
[data-shell="crit-wall"] { --cw-grotesk: "Helvetica Neue", "Arial Nova", Arial, "Liberation Sans", sans-serif; --cw-signal: #e8431b; }
[data-shell="crit-wall"] body { font-family: var(--cw-grotesk); }
[data-shell="crit-wall"] h1, [data-shell="crit-wall"] h2, [data-shell="crit-wall"] h3 { font-family: var(--cw-grotesk); font-weight: 800; letter-spacing: -0.035em; }
[data-shell="crit-wall"] .bar { background: #fff; border-bottom: 4px solid #0b0b0b; padding: 14px 32px 0; grid-template-columns: auto 1fr auto; align-items: end; backdrop-filter: none; }
[data-shell="crit-wall"] .brand b { font: 800 22px var(--cw-grotesk); letter-spacing: -0.03em; }
[data-shell="crit-wall"] .brand i { color: #0b0b0b; letter-spacing: .1em; }
[data-shell="crit-wall"] .stage-strip { counter-reset: stage; gap: 0; }
[data-shell="crit-wall"] .stage-strip li { counter-increment: stage; color: #555; border: 2px solid #0b0b0b; border-bottom: 0; margin-right: -2px; }
[data-shell="crit-wall"] .stage-strip li > * { padding: 4px 10px; }
[data-shell="crit-wall"] .stage-strip .dot { display: none; }
[data-shell="crit-wall"] .stage-strip li .nm::before { content: counter(stage) " "; font-weight: 800; }
[data-shell="crit-wall"] .stage-strip li.on { background: #0b0b0b; color: #fff; }
[data-shell="crit-wall"] .stage-strip li.done { color: #0b0b0b; }
[data-shell="crit-wall"] .here { padding: 8px 0 10px; }
[data-shell="crit-wall"] .here button { color: #444; font-weight: 600; }
[data-shell="crit-wall"] .here button[aria-current="page"] { color: #0b0b0b; box-shadow: inset 0 -4px 0 var(--cw-signal); }
[data-shell="crit-wall"] .saved { color: #333; padding-bottom: 12px; }
[data-shell="crit-wall"] .welcome h1, [data-shell="crit-wall"] .dc-head h1 { font-size: 76px; line-height: .95; }
[data-shell="crit-wall"] .head { border-bottom: 4px solid #0b0b0b; padding-bottom: 14px; }
[data-shell="crit-wall"] .head h1 { font-size: 64px; line-height: .95; }
[data-shell="crit-wall"] .eyebrow, [data-shell="crit-wall"] .welcome h2, [data-shell="crit-wall"] .tile h3 { color: #0b0b0b; letter-spacing: .08em; }
[data-shell="crit-wall"] .btn { background: #0b0b0b; color: #fff; border-radius: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
[data-shell="crit-wall"] .btn.ghost { background: #fff; color: #0b0b0b; box-shadow: inset 0 0 0 3px #0b0b0b; }
[data-shell="crit-wall"] .quiet, [data-shell="crit-wall"] .nodrag summary { color: #0b0b0b; text-decoration-color: var(--cw-signal); text-decoration-thickness: 3px; }
[data-shell="crit-wall"] :focus-visible { outline: 4px solid var(--cw-signal); }
[data-shell="crit-wall"] .pill, [data-shell="crit-wall"] .r, [data-shell="crit-wall"] .opt, [data-shell="crit-wall"] .tool, [data-shell="crit-wall"] .tab, [data-shell="crit-wall"] .tool-act {
  border-radius: 0; border: 2px solid #0b0b0b; background: #fff; color: #0b0b0b; font-weight: 600; }
[data-shell="crit-wall"] .pill[aria-pressed="true"], [data-shell="crit-wall"] .r[aria-pressed="true"], [data-shell="crit-wall"] .opt[aria-pressed="true"],
[data-shell="crit-wall"] .tool[aria-pressed="true"], [data-shell="crit-wall"] .tab[aria-pressed="true"] { background: #0b0b0b; color: #fff; }
[data-shell="crit-wall"] .proofs { counter-reset: proof; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0; border-top: 4px solid #0b0b0b; border-left: 4px solid #0b0b0b; }
[data-shell="crit-wall"] .proof { counter-increment: proof; position: relative; padding: 46px 22px 22px; border-right: 4px solid #0b0b0b; border-bottom: 4px solid #0b0b0b; }
[data-shell="crit-wall"] .proof::before { content: counter(proof, decimal-leading-zero); position: absolute; left: 22px; top: 10px; font: 800 26px/1 var(--cw-grotesk); }
[data-shell="crit-wall"] .proof .open img { border: 2px solid #0b0b0b; border-radius: 0; }
[data-shell="crit-wall"] .proof figcaption b { font: 800 24px var(--cw-grotesk); letter-spacing: -0.02em; }
[data-shell="crit-wall"] .proof.is-explore { background: #fff3ee; }
[data-shell="crit-wall"] .proof.is-explore .open img { outline: 4px solid var(--cw-signal); outline-offset: 0; }
[data-shell="crit-wall"] .tally { background: #fff; border-top: 4px solid #0b0b0b; }
[data-shell="crit-wall"] .tell, [data-shell="crit-wall"] .ask, [data-shell="crit-wall"] .controls, [data-shell="crit-wall"] .task, [data-shell="crit-wall"] .dev {
  background: #fff; border: 3px solid #0b0b0b; border-radius: 0; }
[data-shell="crit-wall"] .tell { border-left-width: 10px; }
[data-shell="crit-wall"] .board { border-top: 4px solid #0b0b0b; border-left: 4px solid #0b0b0b; }
[data-shell="crit-wall"] .tile { border-right: 4px solid #0b0b0b; border-bottom: 4px solid #0b0b0b; }
[data-shell="crit-wall"] .small, [data-shell="crit-wall"] .muted, [data-shell="crit-wall"] .hint, [data-shell="crit-wall"] .head p, [data-shell="crit-wall"] .tell > span { color: #3a3a3a; }
[data-shell="crit-wall"] .w-art img, [data-shell="crit-wall"] .frame .fimg, [data-shell="crit-wall"] .pv-frame { border: 3px solid #0b0b0b; box-shadow: none; border-radius: 0; }
@media (max-width: 900px) {
  [data-shell="crit-wall"] .bar { padding: 10px 14px 0; }
  [data-shell="crit-wall"] .welcome h1, [data-shell="crit-wall"] .dc-head h1, [data-shell="crit-wall"] .head h1 { font-size: 44px; }
  [data-shell="crit-wall"] .proofs { grid-template-columns: 1fr; }
}
[data-shell="light-table"] .mark-toggle { color: var(--lt-lamp); border-color: var(--lt-lamp); }
[data-shell="light-table"] .mark-toggle[aria-pressed="true"] { background: var(--lt-lamp); color: #141617; }
[data-shell="light-table"] .colour[aria-pressed="true"] { color: #fff; }
[data-shell="light-table"] .k-green { color: #5fd39a; } [data-shell="light-table"] .k-red { color: #ff8a8a; } [data-shell="light-table"] .k-yellow { color: #f2cf63; }
