/* Resimmer — Prep Label.
   Brushed stainless, masking tape, permanent marker. Red marker only for the change under test,
   blue painter's tape only for the Signature. */

@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Permanent Marker'; font-weight: 400; font-display: swap; src: url('/fonts/permanent-marker-400.woff2') format('woff2'); }

:root {
  /* steel */
  --steel: #dfe2e3;
  --steel-hi: #eceeef;
  /* ink */
  --ink: #141414;
  --ink-2: #474d51;
  --line: #141414;
  --hair: rgb(20 20 20 / 0.16);
  /* tape */
  --tape: #efe3b8;
  --tape-ink: #141414;
  --tape-edge: rgb(120 100 40 / 0.18);
  --blue-tape: #4a86c5;
  --blue-tape-ink: #0b1c2e;
  /* marker */
  --red: #b81a22;
  /* surfaces */
  --paper: #ffffff;
  --key: #141414;
  --key-ink: #f4f5f5;
  --focus: #2f6db0;

  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-label: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --f-marker: 'Permanent Marker', 'Barlow Condensed', system-ui, sans-serif;

  /* three sizes; rank comes from weight and case */
  --s-small: 15px;
  --s-body: 19px;
  --s-display: 30px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --steel: #1f2225;
    --steel-hi: #272b2f;
    --ink: #eef0f1;
    --ink-2: #a7afb5;
    --line: #eef0f1;
    --hair: rgb(238 240 241 / 0.16);
    --tape: #e6d9a8;
    --tape-edge: rgb(0 0 0 / 0.25);
    --red: #ff4a3f;
    --paper: #2a2e32;
    --key: #eef0f1;
    --key-ink: #141414;
    --focus: #7fb2ea;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 var(--s-body) / 1.45 var(--f-body);
  background-color: var(--steel);
  min-height: 100vh;
  caret-color: var(--ink);
}
::selection { background: var(--tape); color: var(--tape-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
* { scrollbar-color: var(--ink-2) transparent; scrollbar-width: thin; }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px calc(120px + env(safe-area-inset-bottom));
}

.label {
  font: 700 var(--s-small) / 1.2 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.muted { color: var(--ink-2); }
.error { color: var(--red); font-weight: 600; margin-top: 10px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tape ---------- */
.tape {
  display: inline-block;
  filter: drop-shadow(0 1px 0.5px rgb(0 0 0 / 0.18)) drop-shadow(0 3px 6px rgb(0 0 0 / 0.08));
  transform: rotate(var(--tilt, -1deg));
  max-width: 100%;
}
.tape > span {
  display: block;
  padding: 6px 6px 5px;
  border-style: solid;
  border-width: 0 12px;
  border-image: var(--tape-img, url('/img/tape-1.png')) 0 24 fill / 0 12px / 0 round stretch;
  color: var(--tape-fg, var(--tape-ink));
  font: 400 var(--tape-size, var(--s-body)) / 1.15 var(--f-marker);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.tape.t2 { --tape-img: url('/img/tape-2.png'); }
.tape.t3 { --tape-img: url('/img/tape-3.png'); }
.tape.blue { --tape-img: url('/img/tape-blue-1.png'); --tape-fg: var(--blue-tape-ink); }
.tape.blue.t2, .tape.blue.t3 { --tape-img: url('/img/tape-blue-2.png'); }
.tape.big { --tape-size: var(--s-display); }
.tape.big > span { padding: 9px 10px 7px; line-height: 1.05; }
.tape.small { --tape-size: var(--s-small); }
.tape.small > span { padding: 4px 4px 3px; }
.tape.plain > span { font-family: var(--f-label); font-weight: 700; letter-spacing: 0.06em; }

/* a proposed label, not yet stuck down */
.tape.lifted { --tilt: 4deg; opacity: 0.92; }
/* a fresh label being pressed on */
.press { animation: press 520ms var(--ease-out) both; }
@keyframes press {
  from { transform: rotate(calc(var(--tilt, -1deg) - 4deg)) translateY(-10px) scale(1.06); }
}

/* marker strike-and-replace */
.was {
  position: relative;
  color: var(--ink-2);
  white-space: nowrap;
}
.was::after {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  top: 52%;
  height: 3px;
  border-radius: 0;
  background: var(--red);
  transform: rotate(-4deg);
}
.now { font-family: var(--f-marker); color: var(--red); white-space: nowrap; margin-left: 0.25em; }
.swap { white-space: nowrap; display: inline-block; }
/* long swaps wrap like text; the strike becomes a straight marker line */
.swap.long, .swap.long .was, .swap.long .now { display: inline; white-space: normal; overflow-wrap: anywhere; }
.swap.long .was { text-decoration: line-through 3px var(--red); }
.swap.long .was::after { display: none; }

/* asked-for edits: a plain list */
.edits { list-style: none; margin: 0; padding: 0; font-size: var(--s-body, 1rem); line-height: 1.45; }
.edits li { padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--line) 18%, transparent); overflow-wrap: anywhere; }
.edits li:first-child { border-top: 0; }
.edits .what { font-weight: 700; margin-right: 0.25em; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  margin-bottom: 12px;
}
.wordmark { text-decoration: none; }

/* ---------- Keys (buttons) ---------- */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 700 var(--s-body) / 1 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 120ms;
}
.key:hover { background: var(--hair); }
.key:active { transform: translateY(1px); }
.key:disabled { opacity: 0.55; cursor: default; transform: none; }
.key.solid { background: var(--key); color: var(--key-ink); border-color: var(--key); }
.key.solid:hover { background: var(--key); filter: brightness(1.15); }
.key.quiet { border-color: transparent; padding: 0 12px; }
.key.blue { background: var(--blue-tape); border-color: var(--blue-tape); color: var(--blue-tape-ink); }
.key.wide { width: 100%; }
.key.sm { min-height: 44px; font-size: var(--s-small); padding: 0 14px; }
.icon-key {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.icon-key:hover { background: var(--hair); }
.icon { width: 24px; height: 24px; flex: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; }

/* ---------- Menu ---------- */
.menu { position: relative; }
.menu-pop {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 20;
  min-width: 220px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 4px;
}
.menu-pop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 0;
  font: 700 var(--s-body) / 1 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.menu-pop button:hover, .menu-pop button:focus-visible { background: var(--tape); color: var(--tape-ink); outline: none; }
.menu-pop .danger { color: var(--red); }

/* ---------- Fields ---------- */
textarea, input[type='text'] {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  padding: 12px 14px;
  font-size: var(--s-body);
}
textarea::placeholder, input::placeholder { color: var(--ink-2); opacity: 1; }
textarea:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
textarea { resize: vertical; min-height: 56px; display: block; }
textarea.md { min-height: 52vh; font: 400 16px / 1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.field-label { display: block; margin: 16px 0 8px; }

/* ---------- Signed out ---------- */
.hero { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero .tape.big { --tape-size: 44px; align-self: flex-start; }
.hero .lede { font-size: var(--s-display); font-weight: 600; line-height: 1.15; max-width: 16ch; }
.hero .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hero .steps li { display: flex; gap: 12px; align-items: baseline; }
.hero .steps .label { min-width: 1.5em; }
.foot { margin-top: 40px; color: var(--ink-2); font-size: var(--s-small); }

/* ---------- Library ---------- */
.import { margin-bottom: 28px; }
.import .row { margin-top: 10px; }
.shelf { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.shelf a {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding: 14px 4px 14px 0;
  text-decoration: none;
  border-bottom: 2px solid var(--hair);
}
.shelf a:hover .tape { --tilt: 0deg; }
.shelf .tape { transition: transform 200ms var(--ease-out); justify-self: start; }
.cells { display: flex; gap: 14px; color: var(--ink-2); flex-basis: 100%; padding-left: 4px; }
.cells .label { font-variant-numeric: tabular-nums; }
.cells .on { color: var(--ink); }
.empty { color: var(--ink); }
.empty ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.empty li { display: grid; grid-template-columns: 2em 1fr; align-items: baseline; }
.loading { color: var(--ink-2); padding: 12px 0; }

/* ---------- Recipe ---------- */
.labels { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-bottom: 18px; }
.testing {
  margin: 0 0 22px;
  padding: 14px 0 14px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.testing .change { font-size: var(--s-display); line-height: 1.2; margin-top: 4px; }
.testing .change .what { font-weight: 700; }
.testing .watch { margin-top: 8px; }
.viewing { display: flex; gap: 12px; align-items: center; margin: 0 0 18px; padding: 10px 0; border-bottom: 2px dashed var(--line); }

.recipe { --s-body: 22px; font-size: var(--s-body); }
.recipe h2 {
  font: 700 var(--s-small) / 1.2 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin: 28px 0 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--hair);
}
.recipe > p:first-child { font-weight: 700; }
.recipe ul, .recipe ol { margin: 0; padding: 0; list-style: none; }
.recipe ol { counter-reset: step; }
.recipe li {
  position: relative;
  padding: 9px 0 9px 34px;
  cursor: pointer;
  border-bottom: 1px solid var(--hair);
}
.recipe ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.95em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 0;
}
.recipe ol li { counter-increment: step; }
.recipe ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  font: 700 var(--s-body) / 1.45 var(--f-label);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.recipe li.struck { color: var(--ink-2); }
.recipe li.struck > span {
  background: linear-gradient(var(--ink), var(--ink)) left 55% / 100% 3px no-repeat;
}
.recipe ul li.struck::before { background: var(--ink); }
.recipe p { margin: 6px 0; }
.shared .recipe li { cursor: default; }



.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--steel) 72%, transparent);
}
.dock > div { max-width: 608px; margin: 0 auto; display: flex; }

/* ---------- Coach proposal ---------- */
.proposal { margin: 0 0 26px; padding: 18px 0 20px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.proposal .diagnosis { font-weight: 600; }
.proposal .palate { margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--hair); }
.proposal .palate p { margin-bottom: 8px; }
.proposal .change { font-size: var(--s-display); line-height: 1.2; margin: 14px 0; }
.proposal .change .what { font-weight: 700; }
.proposal dl { margin: 0; display: grid; gap: 10px; }
.proposal dd { margin: 2px 0 0; }
.proposal .row { margin-top: 18px; }
.proposal .thread { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.proposal .thread .label { margin-right: 0.35em; }
.proposal .thread .coach { padding-left: 12px; border-left: 3px solid var(--hair); }
.proposal .reply { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--hair); }
.proposal .reply { align-items: flex-end; }
.proposal .reply textarea { flex: 1; min-width: 0; min-height: 48px; max-height: 40vh; field-sizing: content; resize: vertical; }

/* draft of the proposed version, shown under the proposal */
.draft-bar { display: flex; gap: 12px; align-items: center; margin: 0 0 6px; padding: 8px 0; border-bottom: 2px dashed var(--line); }
.recipe .new > span, .recipe span.new { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--red) 24%, transparent) 58%); }

/* ---------- History: one line, a tick per version ---------- */
details.history { margin-top: 36px; }
details.history summary {
  list-style: none;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 2px solid var(--line);
  padding-top: 8px;
}
details.history summary::-webkit-details-marker { display: none; }
details.history summary .icon { transition: transform 200ms var(--ease-out); }
details.history[open] summary .icon { transform: rotate(90deg); }
.line { list-style: none; margin: 8px 0 24px; padding: 0 0 0 22px; position: relative; }
.line::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.line li { position: relative; padding: 8px 0; }
.line li::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--line);
}
.line li.sig::before { height: 8px; top: 14px; background: var(--blue-tape); }
.line button { all: unset; cursor: pointer; display: block; width: 100%; border-radius: 0; }
.line button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.line .when { font-variant-numeric: tabular-nums; }
.score { font: 700 var(--s-body) / 1 var(--f-label); font-variant-numeric: tabular-nums; }

/* ---------- Sheets ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgb(10 12 14 / 0.5);
  animation: fade 200ms ease-out both;
}
.sheet {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow: auto;
  background: var(--steel-hi);
  border-top: 2px solid var(--line);
  padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  animation: rise 320ms var(--ease-out) both;
}
.sheet h2 { margin-bottom: 14px; }
@media (min-width: 700px) {
  .overlay { align-items: center; }
  .sheet { border: 2px solid var(--line); border-radius: 0; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0.4; } }
@keyframes fade { from { opacity: 0; } }

.scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0 6px; }
.scores button {
  min-height: 64px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: 700 28px / 1 var(--f-label);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.scores button[aria-checked='true'] { background: var(--key); color: var(--key-ink); border-color: var(--key); }
.scale { display: flex; justify-content: space-between; color: var(--ink-2); margin-bottom: 14px; }
.scraps { display: flex; flex-wrap: wrap; gap: 8px 6px; margin: 12px 0 16px; }
.scraps button { all: unset; cursor: pointer; }
.scraps button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.scraps .tape > span { min-height: 40px; display: flex; align-items: center; }
.scraps button:nth-child(3n) .tape { --tilt: 1.2deg; }
.scraps button:nth-child(3n + 1) .tape { --tilt: -0.8deg; }
.scraps button:nth-child(3n + 2) .tape { --tilt: 0.4deg; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--key);
  color: var(--key-ink);
  font: 700 var(--s-small) / 1.3 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-radius: 0;
  z-index: 40;
  max-width: calc(100% - 32px);
  animation: rise 240ms var(--ease-out) both;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 640px; }
.prose h1 { margin: 8px 0 6px; font-size: var(--s-display); }
.prose h2 { font: 700 var(--s-small) / 1.2 var(--f-label); text-transform: uppercase; letter-spacing: 0.08em; margin: 30px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--hair); }
.prose ul { padding-left: 1.1em; margin: 0; }
.prose li { margin: 6px 0; }
.prose p + p { margin-top: 10px; }

/* ---------- Recipe actions ---------- */
.actions { margin: 0 0 6px; }

/* ---------- Cook photos ---------- */
.photo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.cook-thumb { display: block; width: 120px; height: 120px; object-fit: cover; border: 2px solid var(--line); margin-top: 8px; }

/* ---------- Step-by-step cook view ---------- */
.cookview {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  background: var(--steel);
  padding: max(8px, env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));
  animation: fade 200ms ease-out both;
  touch-action: pan-y;
}
.cookview > * { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
.cv-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.cv-progress { height: 4px; background: var(--hair); }
.cv-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transition: transform 320ms var(--ease-out); }
.cv-timers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: 700 var(--s-small) / 1 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.timer strong { font-size: var(--s-body); font-variant-numeric: tabular-nums; }
.timer.done { background: var(--key); color: var(--key-ink); border-color: var(--key); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.55; } }
.cv-body { flex: 1; overflow: auto; padding: 24px 0 16px; }
.cv-step { font-size: var(--s-display); font-weight: 600; line-height: 1.3; max-width: 30ch; margin-bottom: 20px; }
.cv-testing { margin-bottom: 14px; font-size: var(--s-body); }
.cv-need { list-style: none; margin: 0 0 20px; padding: 0; font-size: 22px; line-height: 1.35; }
.cv-need li { padding: 8px 0 8px 14px; border-left: 3px solid var(--line); }
.cv-need li + li { margin-top: 6px; }
.cv-all { margin-top: 22px; border-top: 1px solid var(--hair); padding-top: 12px; }
.cv-all summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cv-all ul { margin: 6px 0 0; padding-left: 1.1em; font-size: var(--s-body); line-height: 1.5; }
.cv-nav { display: flex; gap: 10px; }
.cv-nav .key { min-height: 64px; }
.cv-nav .grow { flex: 1; }

/* ---------- Change lists ---------- */
.change-line { display: block; }
.change-line + .change-line { margin-top: 6px; }

/* ---------- One / several changes ---------- */
.segmented { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 6px; }
.segmented button {
  min-height: 48px;
  border: 2px solid var(--line);
  background: transparent;
  font: 700 var(--s-small) / 1 var(--f-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.segmented button + button { border-left: 0; }
.segmented button[aria-checked='true'] { background: var(--key); color: var(--key-ink); border-color: var(--key); }
.seg-hint { font-size: var(--s-small); margin-bottom: 16px; }

/* ---------- Logo lockup ---------- */
.lockup { display: block; height: 44px; width: auto; }
.hero .hero-lockup { height: 120px; max-width: 100%; }
.hero h1 { align-self: flex-start; }

/* ---------- Import photo tray ---------- */
.tray { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tray li { position: relative; }
.tray img { display: block; width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--line); }
.tray .icon-key { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; background: var(--key); color: var(--key-ink); }
.tray .icon-key .icon { width: 16px; height: 16px; }
.import .segmented { margin-top: 10px; }

/* ---------- Beta tag ---------- */
.beta { text-decoration: none; margin-right: auto; margin-left: 12px; }
.beta:hover .tape { --tilt: 0deg; }
.beta .tape { transition: transform 200ms var(--ease-out); }
.hero .beta { margin: -12px 0 0; align-self: flex-start; }
