/* THE GALLERY · site.css
   Three looks live on html[data-look]: linen (default), charcoal, brass. Every pairing below was checked for contrast at AA.
   The machinery (ribbon, toolbar, desk, forms, callbar) keeps the same class names as every FireForge issue. */
:root {
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 2px;
  --wrap: 1160px;
  --bg: #f1ebe0; --bg2: #e7dfd0; --panel: #faf6ee; --line: #d1c6b3;
  --ink: #2b2622; --ink2: #5e554c; --accent: #9a5b2c; --accent-ink: #ffffff; --link: #7d4520;
  --hero-a: #f3ecdf; --hero-b: #e4d8c3; --hero-ink: #2b2622; --mote: rgba(154,91,44,.28); --grain: rgba(43,38,34,.05);
  --foot: #2b2622; --foot-ink: #d9d0c2;
}
html[data-look="charcoal"] {
  --bg: #22201e; --bg2: #2b2825; --panel: #312d29; --line: #4a443e;
  --ink: #e9e2d6; --ink2: #b9b0a3; --accent: #d6a75b; --accent-ink: #1c1612; --link: #e8c47f;
  --hero-a: #1b1917; --hero-b: #2e2a26; --hero-ink: #ede6da; --mote: rgba(214,167,91,.35); --grain: rgba(255,255,255,.035);
  --foot: #151312; --foot-ink: #cfc6b8;
}
html[data-look="brass"] {
  --bg: #fbf7ef; --bg2: #f1eadb; --panel: #ffffff; --line: #d8ceb8;
  --ink: #1e3328; --ink2: #4a5a50; --accent: #b8892b; --accent-ink: #14100a; --link: #7f5d17;
  --hero-a: #f6efe0; --hero-b: #e8dec5; --hero-ink: #1e3328; --mote: rgba(184,137,43,.32); --grain: rgba(30,51,40,.05);
  --foot: #1e3328; --foot-ink: #d6dcd4;
}
html[data-font="fraunces"] { --font-head: "Fraunces", Georgia, "Times New Roman", serif; }
html[data-font="jost"] { --font-head: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif; }
html[data-font="system"] { --font-head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[data-corners="round"] { --radius: 14px; }
html[data-corners="sharp"] { --radius: 2px; }
html[data-zone="center"] .hero-in { text-align: center; margin-inline: auto; }
html[data-zone="center"] .hero-in .ctas { justify-content: center; }
html[data-zone="right"] .hero-in { text-align: right; margin-left: auto; }
html[data-zone="right"] .hero-in .ctas { justify-content: flex-end; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); }
img, svg { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.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(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 50; border-radius: var(--radius); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tiny { font-size: .85rem; color: var(--ink2); }
.lead { font-size: 1.12rem; color: var(--ink2); max-width: 62ch; }
.mt { margin-top: 2.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.linkish { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.caps, .kicker, .when, .meta, .more a, .status, .nav a, .foot-head { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 11px 22px; font: 500 .95rem/1.1 var(--font-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.big { padding: 15px 28px; font-size: 1.02rem; }
.btn.small { padding: 8px 14px; font-size: .88rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink2); }
.hero .btn.ghost { color: var(--hero-ink); border-color: var(--hero-ink); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.chip { display: inline-block; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0 8px 8px 0; text-decoration: none; font: inherit; font-size: .92rem; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.still-chip { cursor: default; }
.chip.still-chip:hover { border-color: var(--line); }

/* ribbon (demo only) */
.ribbon { background: #fff4d6; color: #3a2a00; border-bottom: 3px solid #e2b23a; font-size: .92rem; font-family: var(--font-body); }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding: 8px 0; }
.ribbon p { margin: 0; }
.ribbon a { color: #7a4a00; }
.yours { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: end; }
.yours label { display: flex; flex-direction: column; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.yours input, .yours select { font: inherit; font-size: .95rem; font-weight: 400; text-transform: none; letter-spacing: 0; padding: 6px 8px; border: 1px solid #b89658; border-radius: 4px; background: #fff; color: #222; min-width: 0; width: 150px; }
.yours-lead { font-weight: 600; }
.yours .btn.small { background: #7a4a00; border-color: #7a4a00; color: #fff; }
.yours .btn.small.ghost { background: transparent; color: #7a4a00; }
@media (max-width: 720px) { .yours { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; align-items: end; } .yours .yours-lead { grid-column: 1 / -1; } .yours input, .yours select { width: 100%; } }

/* masthead */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 1.45rem/1 var(--font-head); letter-spacing: -.01em; }
.mark { width: 30px; height: 30px; fill: var(--accent); }
.mark-cut { fill: var(--bg); }
.nav { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.call b { font-weight: 600; }
@media (max-width: 720px) { .call span b { display: none; } .bar { padding: 10px 0; } .brand { font-size: 1.2rem; } .nav { gap: 2px 14px; } }

/* language picker (from lib/i18n) */
.langpick { position: relative; }
.langpick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: .9rem; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick .globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.langmenu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; display: grid; min-width: 150px; z-index: 30; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.langmenu a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: var(--radius); }
.langmenu a:hover, .langmenu a[aria-current] { background: var(--bg2); }

/* paper hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--hero-a), var(--hero-b)); color: var(--hero-ink); padding: clamp(64px, 10vw, 140px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero.small { padding: clamp(44px, 6vw, 80px) 0 clamp(52px, 6vw, 84px); }
.hero.small h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.hero-in { position: relative; z-index: 2; max-width: 820px; border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 44px; }
.kicker { color: var(--accent); margin-bottom: 18px; }
.hero .sub { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--ink2); max-width: 58ch; }
html[data-look="charcoal"] .hero .sub { color: #cfc6b8; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.paper { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grain { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, var(--grain) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, var(--grain) 0 1px, transparent 1px 5px); opacity: .9; }
.motes { position: absolute; inset: 0; overflow: hidden; }
.mote { position: absolute; bottom: -12px; width: 7px; height: 7px; border-radius: 50%; background: var(--mote); filter: blur(.6px); left: 12%; animation: drift 22s linear infinite; }
.mote.m2 { left: 31%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: -6s; }
.mote.m3 { left: 55%; width: 9px; height: 9px; animation-duration: 28s; animation-delay: -12s; }
.mote.m4 { left: 72%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: -3s; }
.mote.m5 { left: 88%; width: 6px; height: 6px; animation-duration: 25s; animation-delay: -15s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(28px, -520px, 0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mote { animation: none; opacity: 0; } }
html[data-still] .mote { animation: none; opacity: 0; }
.still { position: absolute; right: 0; bottom: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: .78rem var(--font-body); letter-spacing: .04em; cursor: pointer; }

/* bands */
.band { padding: clamp(48px, 7vw, 96px) 0; }
.band.alt { background: var(--bg2); }
.band-head { display: grid; grid-template-columns: 1fr; gap: 6px 48px; align-items: end; margin-bottom: clamp(26px, 4vw, 44px); }
.band-head h2 { margin: 0; }
.band-head .lead { margin: 0; }
@media (min-width: 900px) { .band-head { grid-template-columns: 1.1fr 1fr; } .band-head .lead { max-width: none; padding-bottom: .35em; } }

/* featured plates */
.plates { display: grid; grid-template-columns: 1fr; gap: 36px 28px; }
.plate { margin: 0; display: grid; gap: 14px; align-content: start; }
.art { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 8%; color: var(--accent); }
.art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.caption h3 { margin-bottom: .3em; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink2); margin: 0 0 .7em; }
.meta span + span::before { content: "·"; margin: 0 10px; color: var(--accent); }
.more { margin: 32px 0 0; }
.more a { color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.more a:hover { color: var(--link); }
@media (min-width: 720px) { .plates { grid-template-columns: repeat(2, 1fr); } .plate:first-child, .plate:nth-child(4) { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .plates { grid-template-columns: repeat(3, 1fr); }
  .plate:nth-child(4) { grid-column: auto; }
  .plate:first-child { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: end; }
  .plate:first-child .art { aspect-ratio: 21 / 10; }
  .plate:first-child h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
}

/* colophon rows (craft, key points, contact cards) */
.colophon { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 36px; }
.colophon > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.colophon h3 { font-size: 1.15rem; margin-bottom: .4em; }
.colophon p { margin: 0; color: var(--ink2); }
.colophon p + p { margin-top: .6em; }
.colophon.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-cards p { color: var(--ink); }
.craft-band .colophon > div { border-top-color: var(--accent); }

/* kinds of work: a definition list */
.worklist { margin: 0; }
.workrow { display: grid; grid-template-columns: 1fr; gap: 6px 40px; border-top: 1px solid var(--line); padding: 26px 0; }
.workrow:last-child { border-bottom: 1px solid var(--line); }
.workrow dt h3 { margin: 0; font-size: 1.45rem; }
.workrow dd { margin: 0; }
.workrow dd p { margin-bottom: .6em; }
.workrow dd p:last-child { margin-bottom: 0; }
.details { margin: .4em 0 0; padding-left: 20px; color: var(--ink2); }
.details li { margin-bottom: 4px; }
@media (min-width: 720px) { .workrow { grid-template-columns: minmax(200px, 1fr) 2.2fr; } }

/* process: a vertical timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1.5px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .when { display: block; color: var(--accent); margin-bottom: 6px; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--ink2); }

/* commissions */
.quote-band { background: var(--bg2); }
.commission-band .status { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); margin-bottom: 14px; }
.commission-band .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; margin: 8px 0 28px; }
.terms > div { border-top: 1px solid var(--line); padding-top: 12px; }
.terms h3 { font-size: 1.05rem; margin-bottom: .3em; }
.terms p { margin: 0; color: var(--ink2); }
.delivery { margin-top: 8px; }
.chips { margin-bottom: 28px; }

/* words from clients: pull quotes */
.pulls { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 40px; }
.pull { margin: 0; position: relative; padding-top: 30px; }
.pull::before { content: "\201C"; position: absolute; left: -4px; top: -14px; font: 400 4.2rem/1 var(--font-head); color: var(--accent); }
.pull p { font: italic 400 1.28rem/1.45 var(--font-head); margin: 0 0 .7em; }
.pull footer { color: var(--ink2); }
.pull footer::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.sample-note { font-size: .95rem; }

/* questions, hours, prose */
.faq .qa { border-top: 1px solid var(--line); padding: 20px 0 8px; }
.faq h3 { margin-bottom: .3em; }
.hours { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--bg2); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* forms */
label { display: block; font-weight: 500; font-size: .95rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%; margin-top: 4px; }
input[type="color"] { width: 48px; height: 36px; padding: 2px; vertical-align: middle; margin-top: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 14px; }
.block { margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 500; }
.quote { border-top: 1px solid var(--line); padding-top: 24px; }
.receipt { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; }
.signup { border-top: 1px solid var(--line); }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.signup-form input { flex: 1 1 240px; margin: 0; }
.fallback { background: var(--panel); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--radius); }

/* footer */
.foot { background: var(--foot); color: var(--foot-ink); padding: 48px 0 90px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; margin-bottom: 30px; }
.foot-brand { font: 600 1.4rem/1 var(--font-head); color: #fff; }
.foot-head { color: #fff; margin-bottom: .5em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-line { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .9rem; }
.foot .linkish { color: var(--foot-ink); }
.foot .tiny { color: var(--foot-ink); opacity: .85; }
.noscript { margin: 0; padding: 10px 16px; background: var(--bg2); text-align: center; font-size: .9rem; }

/* fixed call bar on phones */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; letter-spacing: .04em; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .callbar[hidden] { display: none; }
  .callbar svg { width: 20px; height: 20px; fill: currentColor; }
  .top .call { display: none; }
}
html[data-demo] .callbar { bottom: 0; }

/* owner toolbar */
.owner { position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--panel); color: var(--ink); border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.25); z-index: 40; overflow-y: auto; padding: 0 18px 30px; font-size: .95rem; }
.owner[hidden] { display: none; }
.owner-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; position: sticky; top: 0; background: var(--panel); }
.owner-title { margin: 0; font: 600 1.1rem var(--font-head); }
.owner-title .tiny { display: block; font: .8rem var(--font-body); }
.x { background: none; border: 1px solid var(--line); color: inherit; border-radius: 50%; width: 34px; height: 34px; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.tabs button { background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font: 500 .8rem var(--font-body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pane .lead { font-size: 1rem; }
.pane label { margin-bottom: 8px; }
.pane .row label { flex: 1 1 160px; }
.looks { display: grid; gap: 8px; margin-bottom: 12px; }
.look { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; background: var(--bg2); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; font: inherit; }
.look[aria-pressed="true"] { border-color: var(--accent); }
.look .swatch { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); }
.look small { color: var(--ink2); }
.swatch-linen { background: linear-gradient(135deg, #f1ebe0 50%, #9a5b2c 50%); }
.swatch-charcoal { background: linear-gradient(135deg, #22201e 50%, #d6a75b 50%); }
.swatch-brass { background: linear-gradient(135deg, #fbf7ef 50%, #b8892b 50%); }
.sections { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sections li { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; }
.sections li b { flex: 1; }
.sections li.off b { text-decoration: line-through; color: var(--ink2); }
.sections button { background: none; border: 1px solid var(--line); color: inherit; border-radius: var(--radius); padding: 3px 8px; cursor: pointer; font: inherit; font-size: .85rem; }
.checks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.checks li { padding: 6px 10px; border-radius: var(--radius); background: var(--bg2); border-left: 4px solid #4caf50; }
.checks li.warn { border-left-color: #e2b23a; }
.checks li.bad { border-left-color: #d13b2c; }
.ld { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; font-size: .75rem; max-height: 260px; overflow: auto; white-space: pre-wrap; }
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.team a { display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; color: var(--ink); text-decoration: none; }
.team a span { display: block; font-size: .85rem; color: var(--ink2); }
.url { display: block; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; word-break: break-all; font-size: .85rem; flex: 1 1 200px; }
.answer { white-space: pre-wrap; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 40px; }
.answer:empty { display: none; }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 14px; }
.nums div { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.nums dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink2); }
.nums dd { margin: 0; font: 600 1.8rem var(--font-head); font-variant-numeric: tabular-nums; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }
body.editing [data-edit] { outline: 2px dashed var(--accent); outline-offset: 3px; cursor: text; }
[data-edit][contenteditable="true"]:focus { outline: 3px solid var(--accent); }

/* studio desk */
.desk-open { position: fixed; left: 16px; bottom: 16px; z-index: 26; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.desk-open[hidden] { display: none; }
@media (max-width: 720px) { .desk-open { bottom: 76px; } }
.desk-panel { position: fixed; left: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); max-height: min(70vh, 560px); background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,.3); z-index: 41; padding: 0 14px 14px; display: flex; flex-direction: column; }
.desk-panel[hidden] { display: none; }
.desk-log { overflow-y: auto; flex: 1; display: grid; gap: 8px; margin-bottom: 10px; }
.desk-log p { margin: 0; padding: 8px 12px; border-radius: var(--radius); background: var(--bg2); max-width: 92%; }
.desk-log p.you { background: var(--accent); color: var(--accent-ink); margin-left: auto; }
.starters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.starters .chip { margin: 0; font-size: .85rem; padding: 4px 10px; }
.desk-form { display: flex; gap: 6px; }
.desk-form input { margin: 0; }
