/* Labs tools, the base every tool screen inherits (prototype/labs-skin-vercel/shell/tools-base.css, lane labs-skin-vercel):
   the lt-* layout of prototype/labs-launch/shared/tools.css with the Vercel and Geist sheet as its defaults
   (docs/2026-11/labs-skins/receipts/SKIN-vercel.md): Geist in four sizes (12, 14, 16, 24), black on white, 1 px lines in
   two greys, 8 px cards and image blocks, 6 px controls, no shadow, a black primary, every number tabular. Every colour,
   font, radius and spacing step is a --lt-* variable and every rule is scoped under .lt, so a page restyles the tools by
   setting the variables on .lt or an ancestor and by overriding lt-* classes (CLASSES.md); a tool's own tool.css,
   linked after this file, refines it. A step is a panel: a 56 px head row over a hairline (back, the step's badge, the
   step's title as a 16 px subhead, close at the right; the page's title above the panel is the screen's one 24 px
   title), the step's content block (one width on every step of every tool, at most 960 px, centred), and a foot bar
   under a hairline (one line, one primary, centred). The tool lays itself out by its own width (a container query), not
   the window's, so it reads the same in a wide content area, a narrow column or a phone. */

.lt {
  --lt-surface: #fff;
  --lt-ink: #000;
  --lt-text: #171717;
  --lt-muted: #666666;
  --lt-faint: #8f8f8f;
  --lt-line: #ebebeb;
  --lt-line-2: #d4d4d4;
  --lt-fill: #f5f5f5;
  --lt-subtle: #fafafa;
  --lt-on-ink: #fff;
  --lt-ink-hover: #333;
  --lt-good: #1a7f37;
  --lt-good-bg: #eef8f0;
  --lt-good-line: #b8dfc3;
  --lt-warn: #9a6700;
  --lt-warn-bg: #fff8e6;
  --lt-warn-line: #f0d28a;
  --lt-bad: #b3261e;
  --lt-font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lt-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --lt-size-xs: 12px;
  --lt-size-s: 14px;
  --lt-size-m: 14px;
  --lt-size-l: 16px;
  --lt-size-xl: 24px;
  --lt-radius: 8px;
  --lt-radius-pill: 6px;
  --lt-radius-small: 4px;
  --lt-radius-phone: 34px;
  --lt-shadow: none;
  --lt-space-1: 4px;
  --lt-space-2: 8px;
  --lt-space-3: 12px;
  --lt-space-4: 16px;
  --lt-space-5: 24px;
  --lt-space-6: 32px;
  --lt-space-7: 48px;
  --lt-content: 960px;   /* a step's content block, at most */
  container: lt / inline-size;
  display: block; width: 100%; min-width: 0; position: relative;
  background: var(--lt-surface); color: var(--lt-text); font-family: var(--lt-font); font-size: var(--lt-size-m); line-height: 1.5;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}

/* ---------- base inside a tool ---------- */
.lt, .lt *, .lt *::before, .lt *::after { box-sizing: border-box; }
.lt h1, .lt h2, .lt p, .lt figure, .lt ul, .lt pre { margin: 0; }
.lt ul { padding: 0; list-style: none; }
.lt button, .lt input, .lt select, .lt textarea { font: inherit; color: inherit; }
.lt img, .lt video { display: block; max-width: 100%; }
.lt :focus-visible { outline: 2px solid var(--lt-ink); outline-offset: 2px; }
.lt .lt-ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; flex: none; }
.lt .lt-nowrap { white-space: nowrap; }
.lt .lt-offscreen { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lt .lt-screen { display: flex; flex-direction: column; padding: var(--lt-space-5) var(--lt-space-6) 0; min-width: 0; }
/* the step's content block, every child of the screen but its head and its foot: one width on every step of every tool,
   at most 960 px and centred in the panel, so its left edge holds still from step to step; the tiles, pairs, tables and
   phones a step shows lay out inside it from that edge. (:where keeps it at a class's weight, so a block that sets its
   own width wins.) */
.lt .lt-screen > :where(:not(.lt-head, .lt-actions)) { width: 100%; max-width: var(--lt-content); margin-left: auto; margin-right: auto; }
.lt .lt-missing {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--lt-radius);
  border: 1px solid var(--lt-line); color: var(--lt-muted); font-size: var(--lt-size-xs); background: var(--lt-subtle); padding: var(--lt-space-3); text-align: center;
}

/* the status line (toast): one short black line under the head, empty when quiet */
.lt .lt-toast {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: var(--lt-space-2);
  width: fit-content; max-width: calc(100% - var(--lt-space-6)); margin: var(--lt-space-3) auto 0; padding: var(--lt-space-2) var(--lt-space-3);
  border-radius: var(--lt-radius-pill); background: var(--lt-ink); color: var(--lt-on-ink); font-size: var(--lt-size-xs); font-weight: 500; line-height: 1.5;
}
.lt .lt-toast:empty { display: none; }

/* the small label: 12/500, sentence case */
.lt .lt-label { display: block; font-size: var(--lt-size-xs); line-height: 1.5; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--lt-muted); }

/* the step's head: one left-aligned row, 56 px over a hairline across the panel: back (when there is one), the "Step n
   of m" badge, the step's title as a 16/600 subhead, and close at the right. The row's ends sit on the content block's
   edges (100% here is the screen's inner width, the block's parent). The badge and the title wrap under each other
   only when the row cannot hold them; a line a tool adds under the row (flex-basis 100%) takes a row of its own */
.lt .lt-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--lt-space-1) var(--lt-space-3);
  min-height: 56px; margin: calc(-1 * var(--lt-space-5)) calc(-1 * var(--lt-space-6)) var(--lt-space-6);
  padding: var(--lt-space-2) calc(var(--lt-space-6) + max(0px, (100% - var(--lt-content)) / 2)); border-bottom: 1px solid var(--lt-line);
}
.lt .lt-head-mid { flex: 1 1 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--lt-space-1) var(--lt-space-2); min-width: 0; text-align: left; }
.lt .lt-step-count { margin-bottom: 0; }
.lt .lt-label.lt-step-count {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill);
  color: var(--lt-muted); line-height: 1; white-space: nowrap;
}
.lt .lt-step-title { min-width: 0; font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-circle {
  width: 32px; height: 32px; padding: 0; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill); background: var(--lt-surface); color: var(--lt-text);
  font-size: var(--lt-size-l); cursor: pointer;
}
.lt .lt-circle:hover { border-color: var(--lt-line-2); background: var(--lt-subtle); }
.lt .lt-circle--ghost { display: none; }   /* no back on this step: the row starts at the badge */

/* the foot bar: the one line and the one primary, pinned at the window's foot, a hairline over it across the panel */
.lt .lt-actions {
  position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: var(--lt-space-3);
  margin: var(--lt-space-6) calc(-1 * var(--lt-space-6)) 0; padding: var(--lt-space-4) var(--lt-space-6);
  border-top: 1px solid var(--lt-line); background: var(--lt-surface);
}
.lt .lt-actions-lead { max-width: 72ch; color: var(--lt-muted); font-size: var(--lt-size-s); line-height: 1.5; text-align: center; text-wrap: balance; }
.lt .lt-actions-btns { display: flex; gap: var(--lt-space-3); justify-content: center; width: 100%; }
.lt .lt-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--lt-space-2); min-height: 40px; min-width: 240px; max-width: 100%;
  padding: var(--lt-space-2) var(--lt-space-5); border-radius: var(--lt-radius-pill); border: 1px solid var(--lt-ink);
  background: var(--lt-ink); color: var(--lt-on-ink); font-size: var(--lt-size-s); font-weight: 500; line-height: 1.25; cursor: pointer; text-align: center;
}
.lt .lt-primary:hover { border-color: var(--lt-ink-hover); background: var(--lt-ink-hover); }
.lt .lt-primary[disabled] { background: var(--lt-fill); border-color: var(--lt-line); color: var(--lt-faint); cursor: not-allowed; }
.lt .lt-primary--quiet { border-color: var(--lt-line); background: var(--lt-surface); color: var(--lt-text); }
.lt .lt-primary--quiet:hover { border-color: var(--lt-line-2); background: var(--lt-subtle); }

/* "How we got this": quiet, closed by default */
.lt .lt-how { margin-top: var(--lt-space-3); }
.lt .lt-how > summary {
  list-style: none; display: inline-flex; align-items: center; gap: var(--lt-space-2); cursor: pointer; font-size: var(--lt-size-xs);
  font-weight: 500; color: var(--lt-muted);
}
.lt .lt-how > summary::-webkit-details-marker { display: none; }
.lt .lt-how > summary:hover { color: var(--lt-text); }
.lt .lt-how > summary .lt-ic, .lt .lt-stock-lines > summary .lt-ic { font-size: var(--lt-size-xs); }
.lt .lt-how[open] > summary .lt-ic, .lt .lt-stock-lines[open] > summary .lt-ic { transform: rotate(180deg); }
.lt .lt-how-body { margin-top: var(--lt-space-3); font-size: var(--lt-size-s); line-height: 1.5; color: var(--lt-muted); display: flex; flex-direction: column; gap: var(--lt-space-2); min-width: 0; }
.lt .lt-how-list { display: flex; flex-direction: column; gap: var(--lt-space-1); }
.lt .lt-how-list li { display: flex; gap: var(--lt-space-2); }
.lt .lt-how-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--lt-faint); margin-top: 9px; flex: none; }

/* a total row over a ruled list */
.lt .lt-ruled { margin-top: var(--lt-space-4); }
.lt .lt-ruled-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--lt-space-4); padding-bottom: var(--lt-space-2); border-bottom: 1px solid var(--lt-line); font-size: var(--lt-size-l); font-weight: 600; color: var(--lt-ink); }
.lt .lt-ruled-total b { font-weight: 600; white-space: nowrap; }
.lt .lt-ruled-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--lt-space-4); padding: var(--lt-space-2) 0; border-bottom: 1px solid var(--lt-line); }
.lt .lt-ruled-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.lt .lt-warn { margin-top: var(--lt-space-2); font-size: var(--lt-size-s); line-height: 1.5; color: var(--lt-warn); display: flex; gap: var(--lt-space-2); align-items: flex-start; }
.lt .lt-warn .lt-ic { margin-top: var(--lt-space-1); }
.lt .lt-warn:empty { display: none; }

/* ---------- Food Studio: image tiles, hard-edged, a 1 px line; the chosen one a 2 px black line and a square tick ---------- */
/* three to a row across the content block, from its left edge */
.lt .lt-dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lt-space-2); }
.lt .lt-dish {
  position: relative; display: block; aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--lt-line); background: var(--lt-subtle);
  cursor: pointer; overflow: hidden; border-radius: var(--lt-radius);
}
.lt .lt-dish > img, .lt .lt-dish > .lt-missing { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; border-radius: 0; }
.lt .lt-dish[aria-pressed="false"] > img { opacity: 0.4; }
.lt .lt-dish[aria-pressed="true"] { outline: 2px solid var(--lt-ink); outline-offset: -2px; }
.lt .lt-dish:focus-visible { outline: 2px solid var(--lt-ink); outline-offset: 2px; }
.lt .lt-dish-tick {
  position: absolute; top: var(--lt-space-2); right: var(--lt-space-2); width: 20px; height: 20px; border-radius: var(--lt-radius-small);
  border: 1px solid var(--lt-line-2); background: var(--lt-surface); display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: var(--lt-size-xs);
}
.lt .lt-dish[aria-pressed="true"] .lt-dish-tick { border-color: var(--lt-ink); background: var(--lt-ink); color: var(--lt-on-ink); }
.lt .lt-dish-name {
  position: absolute; left: var(--lt-space-2); bottom: var(--lt-space-2); max-width: calc(100% - var(--lt-space-4));
  padding: 2px 6px; border-radius: var(--lt-radius-small); background: var(--lt-surface); color: var(--lt-text);
  font-size: var(--lt-size-xs); font-weight: 500; line-height: 1.5; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: var(--lt-shadow);
}
.lt .lt-pair { --lt-pane: clamp(220px, calc(100vh - 450px), 480px); display: grid; grid-template-columns: repeat(2, minmax(0, var(--lt-pane))); gap: var(--lt-space-2); justify-content: center; }
.lt .lt-pane { min-width: 0; }
.lt .lt-pane > .lt-label { text-align: center; margin-bottom: var(--lt-space-2); }
.lt .lt-pane > img, .lt .lt-pane > .lt-missing { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--lt-subtle); border-radius: var(--lt-radius); }
.lt .lt-pane--poster > img, .lt .lt-pane--poster > .lt-missing { aspect-ratio: 3 / 4; }
.lt .lt-strip { display: flex; gap: var(--lt-space-2); justify-content: center; flex-wrap: wrap; margin-top: var(--lt-space-4); padding: var(--lt-space-1); }
.lt .lt-strip button { width: 56px; height: 56px; padding: 0; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-small); overflow: hidden; cursor: pointer; background: var(--lt-subtle); flex: none; }
.lt .lt-strip img { width: 100%; height: 100%; object-fit: cover; }
.lt .lt-strip .lt-missing { height: 100%; aspect-ratio: auto; border: none; font-size: 0; padding: 0; }
.lt .lt-strip button[aria-current="true"] { outline: 2px solid var(--lt-ink); outline-offset: 2px; }
.lt .lt-words { --lt-pane: clamp(220px, calc(100vh - 420px), 440px); display: grid; grid-template-columns: minmax(0, var(--lt-pane)) minmax(0, 520px); gap: var(--lt-space-7); justify-content: center; align-items: start; }
.lt .lt-words-media > img, .lt .lt-words-media > .lt-missing { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--lt-subtle); border-radius: var(--lt-radius); }
.lt .lt-words-media .lt-strip { justify-content: flex-start; }
.lt .lt-words-text { min-width: 0; }
.lt .lt-words-name { font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-field { display: block; margin-top: var(--lt-space-5); }
.lt .lt-field .lt-label { display: flex; align-items: center; gap: var(--lt-space-2); margin-bottom: var(--lt-space-2); }
.lt .lt-field textarea {
  display: block; width: 100%; padding: var(--lt-space-2) var(--lt-space-3); border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill);
  line-height: 1.5; background: var(--lt-surface); resize: none; field-sizing: content;
}
.lt .lt-field textarea:focus { border-color: var(--lt-line-2); }

/* a phone beside its text (the video, the QR menu) */
.lt .lt-phone-row { display: flex; gap: var(--lt-space-7); align-items: center; justify-content: center; }
.lt .lt-side { max-width: 480px; min-width: 0; }
.lt .lt-side > .lt-label { margin-bottom: var(--lt-space-2); }
.lt .lt-side-big { font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-side-small { margin-top: var(--lt-space-2); color: var(--lt-muted); }
.lt .lt-phone { width: 300px; max-width: 100%; padding: var(--lt-space-3); border-radius: var(--lt-radius-phone); background: var(--lt-ink); flex: none; }
.lt .lt-phone-screen { position: relative; border-radius: calc(var(--lt-radius-phone) - var(--lt-space-3)); overflow: hidden; background: var(--lt-ink); aspect-ratio: 9 / 16; }
.lt .lt-phone-screen > video, .lt .lt-phone-screen > img, .lt .lt-phone-screen > .lt-missing { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: none; }
.lt .lt-phone--small { width: 150px; padding: var(--lt-space-2); border-radius: calc(var(--lt-radius-phone) * 0.6); }
.lt .lt-phone--small .lt-phone-screen { border-radius: calc(var(--lt-radius-phone) * 0.6 - var(--lt-space-2)); }
.lt .lt-phone--menu .lt-phone-screen { aspect-ratio: 9 / 17.5; background: var(--lt-surface); overflow-x: hidden; overflow-y: auto; }
.lt .lt-rendering {
  position: absolute; left: var(--lt-space-3); right: var(--lt-space-3); bottom: var(--lt-space-3); padding: var(--lt-space-2) var(--lt-space-3);
  background: var(--lt-ink); color: var(--lt-on-ink); border-radius: var(--lt-radius); font-size: var(--lt-size-s); display: flex; flex-direction: column; gap: var(--lt-space-2);
}
.lt .lt-rendering > div { height: 3px; border-radius: var(--lt-radius-small); background: var(--lt-muted); }

/* ---------- Promo Ideas ---------- */
.lt .lt-ideas { --lt-poster: clamp(220px, calc((100vh - 340px) * 0.75), 380px); display: grid; grid-template-columns: minmax(0, var(--lt-poster)) minmax(0, 560px); gap: var(--lt-space-7); justify-content: center; align-items: start; }
.lt .lt-ideas-list { min-width: 0; }
.lt .lt-ideas-list > .lt-label { text-align: center; }
.lt .lt-opts { display: flex; flex-direction: column; gap: var(--lt-space-3); margin-top: var(--lt-space-3); }
.lt .lt-opt { border: 1px solid var(--lt-line); border-radius: var(--lt-radius); background: var(--lt-surface); }
.lt .lt-opt--on { border-color: var(--lt-ink); box-shadow: inset 0 0 0 1px var(--lt-ink); }
.lt .lt-opt-pick { display: block; width: 100%; padding: var(--lt-space-4) var(--lt-space-5); border: none; background: none; text-align: left; cursor: pointer; border-radius: var(--lt-radius); }
.lt .lt-opt--on .lt-opt-pick { padding-bottom: 0; cursor: default; }
.lt .lt-opt-head { display: flex; justify-content: space-between; align-items: center; gap: var(--lt-space-3); }
.lt .lt-opt-title { font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-opt-radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--lt-line-2); background: var(--lt-surface); flex: none; }
.lt .lt-opt--on .lt-opt-radio { border: 6px solid var(--lt-ink); }
.lt .lt-opt-amount { display: block; margin-top: var(--lt-space-1); }
.lt .lt-opt-amount b { font-size: var(--lt-size-xl); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-right: var(--lt-space-2); color: var(--lt-ink); }
.lt .lt-opt-amount span { color: var(--lt-muted); }
.lt .lt-opt-est { display: block; margin-top: var(--lt-space-2); }
.lt .lt-opt-est .lt-label { display: inline; margin-right: var(--lt-space-2); }
.lt .lt-opt-more { margin: var(--lt-space-3) var(--lt-space-5) 0; padding: var(--lt-space-3) 0 var(--lt-space-4); border-top: 1px solid var(--lt-line); }
.lt .lt-bubble { background: var(--lt-fill); border-radius: 0 var(--lt-radius) var(--lt-radius) var(--lt-radius); padding: var(--lt-space-3) var(--lt-space-4); line-height: 1.5; white-space: pre-line; text-wrap: pretty; }
.lt .lt-setup { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 520px); gap: var(--lt-space-7); justify-content: center; align-items: start; }
.lt .lt-setup-form, .lt .lt-setup-side { min-width: 0; }
.lt .lt-setup-name { margin-bottom: var(--lt-space-5); display: flex; flex-direction: column; gap: var(--lt-space-1); }
.lt .lt-setup-name b { font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; color: var(--lt-ink); }
.lt .lt-setup-name span { color: var(--lt-muted); }
.lt .lt-setup-message > .lt-label, .lt .lt-row > .lt-label { margin-bottom: var(--lt-space-2); }
.lt .lt-row { margin-bottom: var(--lt-space-5); }
.lt .lt-row:last-child { margin-bottom: 0; }
.lt .lt-two { display: flex; gap: var(--lt-space-2); align-items: center; }
.lt .lt-two > span { color: var(--lt-muted); font-size: var(--lt-size-s); flex: none; }
/* an input: 40 px, a 1 px line, 6 px; the faint placeholder; on focus the second grey and the focus line */
.lt .lt-input { height: 40px; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill); padding: 0 var(--lt-space-3); background: var(--lt-surface); color: var(--lt-text); min-width: 0; width: 100%; }
.lt .lt-input::placeholder, .lt .lt-input input::placeholder, .lt .lt-field textarea::placeholder { color: var(--lt-faint); opacity: 1; }
.lt .lt-input:focus, .lt .lt-input:focus-within { border-color: var(--lt-line-2); }
.lt .lt-input--money:focus-within { outline: 2px solid var(--lt-ink); outline-offset: 2px; }
.lt .lt-input--money { display: flex; align-items: center; gap: var(--lt-space-2); }
.lt .lt-input--money input { border: none; outline: none; width: 100%; min-width: 0; background: none; padding: 0; }
.lt .lt-input--money > span { color: var(--lt-muted); }
.lt .lt-days { display: flex; gap: var(--lt-space-1); flex-wrap: wrap; }
.lt .lt-days button { width: 40px; height: 40px; border-radius: var(--lt-radius-pill); border: 1px solid var(--lt-line); background: var(--lt-surface); font-size: var(--lt-size-s); font-weight: 500; color: var(--lt-muted); cursor: pointer; padding: 0; flex: none; }
.lt .lt-days button[aria-pressed="true"] { background: var(--lt-ink); border-color: var(--lt-ink); color: var(--lt-on-ink); }
.lt .lt-stored { margin-top: var(--lt-space-2); font-family: var(--lt-font-mono); font-size: var(--lt-size-xs); line-height: 1.6; color: var(--lt-text); white-space: pre-wrap; overflow-wrap: anywhere; }
.lt .lt-stored-k { font-weight: 600; }
.lt .lt-stored-s { color: var(--lt-good); }
.lt .lt-stored-c { color: var(--lt-muted); }

/* ---------- Test a Dish ---------- */
.lt .lt-ask { max-width: 560px; width: 100%; margin: var(--lt-space-7) auto 0; display: flex; flex-direction: column; align-items: center; }
.lt .lt-ask-input { width: 100%; height: 40px; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill); padding: 0 var(--lt-space-4); font-size: var(--lt-size-l); text-align: center; background: var(--lt-surface); color: var(--lt-text); }
.lt .lt-ask-input::placeholder { color: var(--lt-faint); opacity: 1; }
.lt .lt-ask-input:focus { border-color: var(--lt-line-2); }
.lt .lt-trend { margin-top: var(--lt-space-5); display: flex; flex-direction: column; align-items: center; gap: var(--lt-space-3); max-width: 100%; }
/* a chip: 28 px, 13 px words, a 1 px line, 6 px; pressed, black */
.lt .lt-chip {
  min-height: 28px; padding: 0 10px; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill); background: var(--lt-surface); color: var(--lt-text);
  display: inline-flex; align-items: center; gap: var(--lt-space-1); cursor: pointer; max-width: 100%; font-size: 13px; font-weight: 500; line-height: 1.25;
}
.lt .lt-chip:hover { border-color: var(--lt-line-2); }
.lt .lt-chip[aria-pressed="true"] { border-color: var(--lt-ink); background: var(--lt-ink); color: var(--lt-on-ink); }
.lt .lt-proposal { --lt-pane: clamp(220px, calc(100vh - 460px), 440px); display: grid; grid-template-columns: minmax(0, var(--lt-pane)) minmax(0, 560px); gap: var(--lt-space-7); justify-content: center; align-items: start; }
.lt .lt-proposal-body { min-width: 0; }
.lt .lt-amount { margin-top: var(--lt-space-1); }
.lt .lt-amount > b { font-size: var(--lt-size-xl); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; margin-right: var(--lt-space-2); color: var(--lt-ink); }
.lt .lt-amount span { color: var(--lt-muted); }
.lt .lt-amount span b { color: var(--lt-ink); font-weight: 600; }
.lt .lt-proposal-desc { margin-top: var(--lt-space-3); }

/* the Beep QR menu, as a diner sees it (inside the phone) */
.lt .lt-beep { font-size: var(--lt-size-s); line-height: 1.5; color: var(--lt-text); background: var(--lt-surface); min-height: 100%; }
.lt .lt-beep-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--lt-space-2); padding: var(--lt-space-4); border-bottom: 1px solid var(--lt-line); color: var(--lt-muted); }
.lt .lt-beep-logo svg { width: 83px; height: 11px; display: block; }
.lt .lt-beep-store { padding: var(--lt-space-4) var(--lt-space-4) 0; font-size: var(--lt-size-xs); }
.lt .lt-beep-shop { font-size: var(--lt-size-l); line-height: 1.5; }
.lt .lt-beep-cats { position: sticky; top: 0; z-index: 2; background: var(--lt-surface); padding: var(--lt-space-4); }
.lt .lt-beep-pill { height: 40px; border-radius: var(--lt-radius-pill); background: var(--lt-fill); padding: 0 var(--lt-space-4); display: flex; align-items: center; gap: var(--lt-space-2); }
.lt .lt-beep-pill b { flex: 1; }
.lt .lt-beep-cat { margin: 0 var(--lt-space-4); padding: var(--lt-space-2) 0; font-size: var(--lt-size-l); font-weight: 600; }
.lt .lt-beep-item { margin: 0 var(--lt-space-4); border-top: 1px solid var(--lt-line); padding: var(--lt-space-4) 0; }
.lt .lt-beep-cat + .lt-beep-item { border-top: none; }
.lt .lt-beep-row { display: flex; gap: var(--lt-space-4); }
.lt .lt-beep-text { flex: 1; min-width: 0; }
.lt .lt-beep-name { font-weight: 600; }
.lt .lt-beep-desc { margin-top: var(--lt-space-1); font-size: var(--lt-size-xs); color: var(--lt-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lt .lt-beep-price { margin-top: var(--lt-space-1); display: flex; align-items: center; gap: var(--lt-space-2); flex-wrap: wrap; }
.lt .lt-beep-img { width: 30%; max-width: 140px; aspect-ratio: 1 / 1; border-radius: var(--lt-radius); overflow: hidden; background: var(--lt-subtle); flex: none; }
.lt .lt-beep-img img { width: 100%; height: 100%; object-fit: cover; }
.lt .lt-beep-soon { font-size: var(--lt-size-xs); font-weight: 500; padding: 0 var(--lt-space-2); border-radius: var(--lt-radius-pill); background: var(--lt-ink); color: var(--lt-on-ink); }
.lt .lt-beep-tap {
  margin-top: var(--lt-space-3); width: 100%; min-height: 40px; padding: 0 var(--lt-space-3); border-radius: var(--lt-radius-pill); border: 1px solid var(--lt-ink);
  background: var(--lt-ink); color: var(--lt-on-ink); font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: var(--lt-space-2);
}
.lt .lt-beep-tap[aria-pressed="true"] { background: var(--lt-surface); color: var(--lt-text); border-color: var(--lt-line); }

/* taps and verdict: the verdict first and biggest; black bars, a meter for who tapped */
.lt .lt-results { width: 100%; max-width: 560px; margin: var(--lt-space-6) auto 0; }
.lt .lt-verdict { text-align: center; }
.lt .lt-verdict-call { margin-top: var(--lt-space-1); font-size: var(--lt-size-xl); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--lt-ink); display: flex; align-items: center; justify-content: center; gap: var(--lt-space-2); flex-wrap: wrap; }
.lt .lt-verdict-call .lt-ic { color: var(--lt-good); }
.lt .lt-verdict-call--skip .lt-ic { color: var(--lt-bad); }
.lt .lt-verdict-cups { margin-top: var(--lt-space-1); font-size: var(--lt-size-l); font-weight: 600; }
.lt .lt-verdict .lt-ruled { text-align: left; }
.lt .lt-why-stock { margin: var(--lt-space-2) 0 var(--lt-space-4); }
.lt .lt-why-stock > .lt-label { padding-bottom: var(--lt-space-2); border-bottom: 1px solid var(--lt-line); }
.lt .lt-charts { display: flex; flex-direction: column; gap: var(--lt-space-5); }
.lt .lt-chart-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--lt-space-6); }
.lt .lt-bars { margin-top: var(--lt-space-2); position: relative; }
.lt .lt-bars svg { display: block; width: 100%; height: auto; overflow: visible; }
.lt .lt-bars text { font-family: var(--lt-font); font-size: var(--lt-size-xs); fill: var(--lt-muted); }
.lt .lt-bars .lt-bars-peak { fill: var(--lt-ink); font-weight: 600; }
.lt .lt-bars .lt-bars-base { stroke: var(--lt-line-2); }
.lt .lt-bars .lt-bars-grid { stroke: var(--lt-line); }
.lt .lt-bars .lt-bars-bar { fill: var(--lt-ink); }
.lt .lt-bars .lt-bars-hit { fill: transparent; }
.lt .lt-bars .lt-bars-col:hover .lt-bars-bar, .lt .lt-bars .lt-bars-col:focus .lt-bars-bar { opacity: 0.7; }
.lt .lt-bars .lt-bars-col:focus { outline: none; }
.lt .lt-tip {
  position: absolute; pointer-events: none; background: var(--lt-ink); color: var(--lt-on-ink); border-radius: var(--lt-radius-pill); padding: var(--lt-space-1) var(--lt-space-2);
  font-size: var(--lt-size-xs); white-space: nowrap; transform: translate(-50%, calc(-100% - 6px)); opacity: 0;
}
.lt .lt-tip--on { opacity: 1; }
.lt .lt-meter { height: 8px; border-radius: var(--lt-radius-small); background: var(--lt-line); margin-top: var(--lt-space-3); overflow: hidden; }
.lt .lt-meter i { display: block; height: 100%; background: var(--lt-ink); border-radius: var(--lt-radius-small); }
.lt .lt-who { display: flex; justify-content: space-between; gap: var(--lt-space-3); margin-top: var(--lt-space-2); color: var(--lt-text); }
.lt .lt-who span:last-child { text-align: right; }
.lt .lt-table-toggle { border: none; background: none; color: var(--lt-muted); font-size: var(--lt-size-s); font-weight: 500; padding: 0; cursor: pointer; align-self: flex-start; }
.lt .lt-table-toggle:hover { color: var(--lt-text); text-decoration: underline; text-underline-offset: 4px; }
.lt .lt-tables { display: flex; align-items: flex-start; gap: var(--lt-space-5); flex-wrap: wrap; font-size: var(--lt-size-xs); }
.lt .lt-tables[hidden] { display: none; }
.lt .lt-tables table { border-collapse: collapse; }
.lt .lt-tables th, .lt .lt-tables td { padding: var(--lt-space-1) var(--lt-space-2) var(--lt-space-1) 0; text-align: left; border-bottom: 1px solid var(--lt-line); font-variant-numeric: tabular-nums; }
.lt .lt-tables caption { text-align: left; font-weight: 600; padding-bottom: var(--lt-space-1); }

/* ---------- the output step: what landed in BackOffice ---------- */
.lt .lt-landed { width: 100%; max-width: var(--lt-content); margin: 0 auto var(--lt-space-6); display: flex; flex-direction: column; gap: var(--lt-space-4); }
.lt .lt-alert { display: flex; align-items: flex-start; gap: var(--lt-space-3); padding: var(--lt-space-3) var(--lt-space-4); border-radius: var(--lt-radius); background: var(--lt-subtle); border: 1px solid var(--lt-line); }
.lt .lt-alert > .lt-ic { font-size: var(--lt-size-l); margin-top: var(--lt-space-1); }
/* the success pair: the good green on its own ground and line, a 16 px check */
.lt .lt-alert--success { border-color: var(--lt-good-line); background: var(--lt-good-bg); }
.lt .lt-alert--success > .lt-ic { color: var(--lt-good); }
/* the warning pair (a run that failed and gave the credits back) */
.lt .lt-alert--warn { border-color: var(--lt-warn-line); background: var(--lt-warn-bg); }
.lt .lt-alert--warn .lt-alert-body { color: var(--lt-warn); font-weight: 500; }
.lt .lt-alert-title { font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-alert--success .lt-alert-title { color: var(--lt-good); }
.lt .lt-alert-body { color: var(--lt-text); }
.lt .lt-ready { background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: var(--lt-shadow); padding: var(--lt-space-5); display: flex; gap: var(--lt-space-5); align-items: flex-start; }
.lt .lt-ready--stock { display: block; }
.lt .lt-ready-media { flex: none; }
.lt .lt-ready--promo .lt-ready-media { width: 180px; }
.lt .lt-ready--promo .lt-ready-media > img, .lt .lt-ready--promo .lt-ready-media > .lt-missing { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--lt-radius); background: var(--lt-subtle); }
.lt .lt-ready-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--lt-space-3); }
.lt .lt-ready-title { display: flex; align-items: center; gap: var(--lt-space-2); flex-wrap: wrap; font-size: var(--lt-size-l); line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--lt-ink); }
.lt .lt-ready-total { margin-left: auto; font-weight: 600; }
.lt .lt-ready-text { line-height: 1.5; max-width: 62ch; color: var(--lt-muted); }
.lt .lt-ready-tags { color: var(--lt-muted); }
.lt .lt-ready-actions { display: flex; gap: var(--lt-space-3); flex-wrap: wrap; align-items: center; }
.lt .lt-ready-share { display: flex; gap: var(--lt-space-2); align-items: center; flex-wrap: wrap; color: var(--lt-muted); font-size: var(--lt-size-xs); }
.lt .lt-ready-note { color: var(--lt-muted); font-size: var(--lt-size-xs); line-height: 1.5; }
.lt .lt-ready-note--stale { color: var(--lt-warn); }
/* the secondary: white, a 1 px line, 14/500; on hover the second grey and the subtle ground */
.lt .lt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--lt-space-2); min-height: 40px; padding: 0 var(--lt-space-4);
  border-radius: var(--lt-radius-pill); border: 1px solid var(--lt-line); background: var(--lt-surface); color: var(--lt-text);
  font-size: var(--lt-size-s); font-weight: 500; line-height: 1.25; cursor: pointer; white-space: nowrap;
}
.lt .lt-btn:hover { border-color: var(--lt-line-2); background: var(--lt-subtle); }
.lt .lt-btn[disabled] { color: var(--lt-faint); background: var(--lt-subtle); border-color: var(--lt-line); cursor: not-allowed; }
.lt .lt-icon-btn { width: 40px; height: 40px; border-radius: var(--lt-radius-pill); border: 1px solid var(--lt-line); background: var(--lt-surface); color: var(--lt-muted); display: inline-flex; align-items: center; justify-content: center; font-size: var(--lt-size-l); cursor: pointer; padding: 0; }
.lt .lt-icon-btn:hover { border-color: var(--lt-line-2); color: var(--lt-text); }
/* a badge: 20 px, 12/500, a 1 px line, 6 px */
.lt .lt-tag {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 6px; border: 1px solid var(--lt-line); border-radius: var(--lt-radius-pill);
  background: var(--lt-surface); color: var(--lt-muted); font-size: var(--lt-size-xs); font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.lt .lt-stock-path { margin-top: var(--lt-space-1); color: var(--lt-muted); display: flex; flex-wrap: wrap; gap: 0 var(--lt-space-2); }
.lt .lt-sep { color: var(--lt-faint); }
.lt .lt-stock-lines { margin-top: var(--lt-space-2); }
.lt .lt-stock-lines > summary { list-style: none; display: inline-flex; align-items: center; gap: var(--lt-space-2); cursor: pointer; font-weight: 500; }
.lt .lt-stock-lines > summary::-webkit-details-marker { display: none; }
.lt .lt-stock-lines ul { margin-top: var(--lt-space-2); }
.lt .lt-stock-lines li { display: flex; align-items: baseline; gap: var(--lt-space-4); padding: var(--lt-space-2) 0; border-top: 1px solid var(--lt-line); font-size: var(--lt-size-s); }
.lt .lt-stock-lines li > span:first-child { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 var(--lt-space-2); }
.lt .lt-stock-lines li small { font-size: var(--lt-size-xs); color: var(--lt-muted); }
.lt .lt-stock-lines li > span:not(:first-child) { flex: none; font-variant-numeric: tabular-nums; }
.lt .lt-stock-lines li > span:nth-child(3) { min-width: 68px; text-align: right; }

/* ---------- widths ---------- */
.lt .lt-narrow-only { display: none; }
@container lt (max-width: 1100px) {
  .lt .lt-ideas, .lt .lt-proposal, .lt .lt-words, .lt .lt-setup { gap: var(--lt-space-6); }
  .lt .lt-phone-row { gap: var(--lt-space-6); }
}
/* narrow (a phone, or a narrow column): one column, the main button full width */
@container lt (max-width: 720px) {
  .lt .lt-wide-only { display: none !important; }
  .lt .lt-narrow-only { display: block; }
  .lt .lt-screen { padding: var(--lt-space-3) var(--lt-space-4) 0; }
  .lt .lt-head { gap: var(--lt-space-1) var(--lt-space-2); margin: calc(-1 * var(--lt-space-3)) calc(-1 * var(--lt-space-4)) var(--lt-space-5); padding: var(--lt-space-2) var(--lt-space-4); }
  .lt .lt-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt .lt-dish-name { padding: 1px 4px; }
  .lt .lt-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt .lt-strip button { width: 48px; height: 48px; }
  .lt .lt-ideas, .lt .lt-setup, .lt .lt-proposal, .lt .lt-words { grid-template-columns: minmax(0, 1fr); gap: var(--lt-space-5); }
  .lt .lt-words-media > img, .lt .lt-words-media > .lt-missing { aspect-ratio: 16 / 10; }
  .lt .lt-pane--poster > img, .lt .lt-pane--poster > .lt-missing { width: 300px; max-width: 100%; margin: 0 auto; }
  .lt .lt-ideas-list { order: -1; }
  .lt .lt-opts { gap: var(--lt-space-2); margin-top: var(--lt-space-2); }
  .lt .lt-opt-pick { padding: var(--lt-space-2) var(--lt-space-4); }
  .lt .lt-opt--on .lt-opt-pick { padding-bottom: var(--lt-space-2); }
  .lt .lt-opt-title { font-size: var(--lt-size-m); }
  .lt .lt-opt-amount { display: flex; align-items: center; gap: var(--lt-space-2); }
  .lt .lt-opt-amount b { flex: none; font-size: var(--lt-size-l); margin: 0; }
  .lt .lt-opt-amount span { font-size: var(--lt-size-s); line-height: 1.25; }
  .lt .lt-ideas-why .lt-opt-est { margin: 0 0 var(--lt-space-2); }
  .lt .lt-phone-row { flex-direction: column; gap: var(--lt-space-5); }
  .lt .lt-side { max-width: none; width: 100%; text-align: center; }
  .lt .lt-phone:not(.lt-phone--small):not(.lt-phone--menu) { width: 240px; padding: var(--lt-space-2); border-radius: calc(var(--lt-radius-phone) * 0.85); }
  .lt .lt-phone:not(.lt-phone--small):not(.lt-phone--menu) .lt-phone-screen { border-radius: calc(var(--lt-radius-phone) * 0.85 - var(--lt-space-2)); }
  .lt .lt-phone--menu .lt-phone-screen { aspect-ratio: 9 / 18.5; }
  .lt .lt-chart-row { grid-template-columns: minmax(0, 1fr); gap: var(--lt-space-5); }
  .lt .lt-results { margin-top: var(--lt-space-4); }
  .lt .lt-ask { margin-top: var(--lt-space-6); }
  .lt .lt-input { padding: 0 var(--lt-space-3); }
  .lt .lt-actions { margin: var(--lt-space-5) calc(-1 * var(--lt-space-4)) 0; padding: var(--lt-space-4); }
  .lt .lt-primary { flex: 1; width: 100%; min-width: 0; }
  .lt .lt-landed { gap: var(--lt-space-3); }
  .lt .lt-ready { gap: var(--lt-space-3); padding: var(--lt-space-4); }
  .lt .lt-phone--small { width: 92px; padding: var(--lt-space-1); border-radius: calc(var(--lt-radius-phone) * 0.4); }
  .lt .lt-phone--small .lt-phone-screen { border-radius: calc(var(--lt-radius-phone) * 0.4 - var(--lt-space-1)); }
  .lt .lt-ready--promo .lt-ready-media { width: 84px; }
  .lt .lt-ready-body { gap: var(--lt-space-2); }
  .lt .lt-ready-title { font-size: var(--lt-size-l); }
  .lt .lt-ready-text { font-size: var(--lt-size-s); line-height: 1.5; }
  .lt .lt-ready-actions { gap: var(--lt-space-2); }
  .lt .lt-ready-actions .lt-btn { flex: 1 1 auto; min-height: 32px; padding: 0 var(--lt-space-2); font-size: var(--lt-size-s); }
  .lt .lt-icon-btn { width: 32px; height: 32px; font-size: var(--lt-size-s); }
  .lt .lt-stock-lines li { gap: var(--lt-space-2); }
}
@media (prefers-reduced-motion: reduce) {
  .lt *, .lt *::before, .lt *::after { transition-duration: 0.01ms !important; }
}
/* labs-app (the one change from prototype/labs-launch/shared/tools.css): on a phone window the action bar scrolls with
   the step, so it never sits under the Intercom bubble at the bottom right */
@media (max-width: 600px) {
  .lt .lt-actions { position: static; }
}
