/*
 * The landing page's interactive demo: the two ways a venue can take orders, played out on a guest's
 * phone and the bar's tablet. Loaded by site/index.html alongside site.css, whose tokens it uses.
 *
 * The screens depict the product, so they carry the product's own looks: the guest app in a venue's
 * colour, the bar screen dark. Everything is drawn -- no photograph, no webfont -- for the reason
 * site.css gives: every byte here is paid for by an advert.
 */
.demo {
--accent-soft: #e3f3d0;
--ph-bg: #f3f8f8; --ph-surface: #ffffff; --ph-ink: #14201f; --ph-muted: #56686a;
--ph-edge: #d5e2e2; --ph-brand: #0e7c7b; --ph-brand-soft: #dff0ef;
--tb-bg: #14181d; --tb-surface: #1d2229; --tb-surface-2: #252b33; --tb-ink: #eef1f4;
--tb-muted: #a7b0ba; --tb-edge: #333b45; --tb-accent: #6fa8f5; --tb-waiting: #e0b24a;
--tb-ready: #5cc28a; --tb-danger: #ef6b5f;
--bezel: #1c1a19; --bezel-edge: #3b3634;
}
.demo .lead { color: var(--ink-muted); max-width: 38em; margin: 0 0 22px; }
/* No weight at all, so every button below keeps its own colour: written as `.demo button` this beat
   them all, and the camera's yellow link drew its words in white. */
:where(.demo) button { font: inherit; color: inherit; }
.demo :is(button, .mode):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* The choice. Two, because two are what a venue can run during the test. */
.modes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 22px; }
.mode {
  text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
}
.mode .dot { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; margin-top: 3px; border: 2px solid var(--ink-muted); }
.mode b { font-size: 1.08rem; }
.mode span.sub { color: var(--ink-muted); font-size: 0.95rem; }
.mode[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mode[aria-checked="true"] .dot { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }

.launch {
  display: none; width: 100%; min-height: 56px; border: none; border-radius: var(--radius); cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.1rem;
}
.launch small { display: block; font-weight: 500; font-size: 0.85rem; opacity: 0.9; }

/* --- the player ------------------------------------------------------------------------- */
.player { display: flex; flex-direction: column; gap: 16px; }
.ptop { display: none; }

.stage {
  position: relative; display: grid; gap: 20px 36px; align-items: center;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--edge); border-radius: 20px;
  padding: 22px 26px 26px; overflow: hidden;
}
.device { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fit { display: flex; flex-direction: column; min-width: 0; }
.frame { transition: outline-color 300ms ease; outline: 3px solid transparent; outline-offset: 6px; }
.device.active .frame { outline-color: color-mix(in srgb, var(--accent) 55%, transparent); }

/* Who is doing this, and where. The screen alone never said. */
.who { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-muted); min-width: 0; white-space: nowrap; }
.who svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--bg); border: 1px solid var(--edge); }
.who b { color: var(--ink); }
.device.active .who svg { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.device.active .who, .device.active .who b { color: var(--accent); }

/* Real proportions and a real bezel, so a phone reads as a phone and the tablet as the bar's. */
.frame { background: var(--bezel); border: 1px solid var(--bezel-edge); position: relative; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .45); }
.phone .frame { width: 100%; aspect-ratio: 9 / 19; border-radius: 40px; padding: 9px; margin-inline: auto; }
.phone .frame::before, .phone .frame::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: var(--bezel-edge);
}
.phone .frame::before { left: -4px; top: 22%; height: 9%; }
.phone .frame::after { right: -4px; top: 30%; height: 14%; }
.tablet .frame { width: 100%; aspect-ratio: 4 / 3; border-radius: 22px; padding: 12px; }
.stand { width: 34%; height: 22px; margin: -2px auto 0; background: var(--bezel-edge);
         clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); border-radius: 0 0 6px 6px; }
.screen { width: 100%; height: 100%; overflow: hidden; position: relative; font-size: 13px; line-height: 1.4; }
.phone .screen { border-radius: 31px; background: var(--ph-bg); color: var(--ph-ink); display: flex; flex-direction: column; }
.tablet .screen { border-radius: 10px; background: var(--tb-bg); color: var(--tb-ink); }
.fresh { animation: rise 260ms ease-out both; }
.phone .fresh { flex: 1; display: flex; flex-direction: column; min-height: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: start; }
.caption .count { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.caption h3 { margin: 2px 0 4px; font-size: 1.2rem; line-height: 1.25; text-wrap: balance; }
.caption p { margin: 0; max-width: 42em; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ctrl {
  font-weight: 700; cursor: pointer; min-height: 48px; padding: 0 18px;
  border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); color: var(--ink);
}
.ctrl.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ctrl.primary.cross { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
.ctrl[disabled] { opacity: 0.45; cursor: default; }
#demo-prev .glyph { display: none; }
.other { background: none; border: none; color: var(--accent); font-weight: 700; padding: 8px 0; cursor: pointer;
         text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

/* --- the guest's phone ------------------------------------------------------------------- */
.p-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 4px;
            font-size: 11px; font-weight: 700; flex: none; background: var(--ph-surface); font-variant-numeric: tabular-nums; }
.p-status svg { height: 10px; width: auto; }
.p-head { background: var(--ph-surface); border-bottom: 1px solid var(--ph-edge); padding: 6px 14px 10px;
          display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex: none; }
.p-head .v { font-weight: 800; font-size: 14px; }
.p-head .where { text-align: right; color: var(--ph-muted); font-size: 11px; }
.p-head .where b { color: var(--ph-brand); }
.p-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; min-height: 0; overflow: hidden; }
.p-foot { padding: 10px 14px 16px; background: var(--ph-surface); border-top: 1px solid var(--ph-edge); flex: none; }
.p-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ph-muted); font-weight: 700; }
.p-item { background: var(--ph-surface); border: 1px solid var(--ph-edge); border-radius: 12px;
          padding: 8px 11px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.p-item .price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-item .plus { width: 24px; height: 24px; border-radius: 50%; background: var(--ph-brand-soft);
                color: var(--ph-brand); display: grid; place-items: center; font-weight: 800; flex: none; }
.p-item .plus.in { background: var(--ph-brand); color: #fff; font-size: 11px; }
.p-round { background: var(--ph-surface); border: 1px solid var(--ph-edge); border-radius: 12px; padding: 10px 11px;
           display: flex; flex-direction: column; gap: 5px; }
.p-round .top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.p-round .no { font-weight: 800; }
.p-round .l { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.pill { border-radius: 999px; padding: 1px 8px; font-size: 10.5px; font-weight: 700; }
.pill.brand { background: var(--ph-brand-soft); color: var(--ph-brand); }
.pill.muted { background: #e9eeee; color: var(--ph-muted); }
.pill.wait { background: #fbf0d4; color: #7a5a00; }
.p-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px;
           border-top: 1px solid var(--ph-edge); padding-top: 6px; }
.p-btn { display: block; width: 100%; border: none; background: var(--ph-brand); color: #fff; border-radius: 12px;
         padding: 11px; text-align: center; font-weight: 800; font-size: 13px; position: relative; }
.p-note { color: var(--ph-muted); font-size: 12px; }
.p-center { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center; gap: 10px; padding: 22px; }
.p-center h4 { margin: 0; font-size: 16px; line-height: 1.25; text-wrap: balance; }
.p-center p { margin: 0; color: var(--ph-muted); }
.p-sleep { background: linear-gradient(160deg, #2c3a3d, #161c1e); color: #9aa6a8; }
.p-sleep .clock { font-size: 46px; font-weight: 250; color: #eef3f3; font-variant-numeric: tabular-nums; line-height: 1; }
.p-sleep .date { color: #c8d2d3; font-size: 12px; margin-top: -4px; }

/* The phone's own camera, which is the whole point: nothing to install. */
.cam { flex: 1; display: flex; flex-direction: column; background: #000; color: #fff; min-height: 0; }
.cam .p-status { background: #000; color: #fff; }
.cam-view { flex: 1; position: relative; min-height: 0; overflow: hidden; }
.cam-view > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lock { transform-box: fill-box; transform-origin: center; animation: lock 900ms cubic-bezier(.2,.8,.2,1) 350ms both; }
@keyframes lock { from { transform: scale(1.9); opacity: 0; } 60% { opacity: 1; } }
/* When the card is still on its way to the table, the camera waits for it. */
.cam.late .lock { animation-delay: 1.6s; }
.cam.late .cam-pill { animation-delay: 2.5s; }
.cam-pill {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: #ffd60a; color: #1a1500; border: none; border-radius: 999px; padding: 8px 14px;
  font-size: 11.5px; font-weight: 600; max-width: 90%; min-height: 44px; box-shadow: 0 6px 18px rgb(0 0 0 / .35);
  animation: pill 360ms cubic-bezier(.2,.9,.3,1.2) 1250ms both;
}
.cam-pill svg { width: 14px; height: 14px; flex: none; }
.cam-pill .go { font-size: 16px; line-height: 1; font-weight: 800; margin-left: 2px; }
/* Slides and fades in without scaling, so the button is never measured smaller than it rests. */
@keyframes pill { from { opacity: 0; transform: translate(-50%, 12px); } }
.cam-bar { flex: none; padding: 10px 0 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: #000; }
.cam-modes { display: flex; gap: 12px; font-size: 9.5px; white-space: nowrap; letter-spacing: 0.08em; color: #bbb; font-weight: 600; }
.cam-modes b { color: #ffd60a; }
.shutter { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: inset 0 0 0 3px #000, inset 0 0 0 30px #fff; }

/* --- the bar's tablet -------------------------------------------------------------------- */
.t-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--tb-surface);
         border-bottom: 1px solid var(--tb-edge); flex-wrap: wrap; }
.t-top .v { font-weight: 700; }
.t-top .tab { color: var(--tb-accent); font-weight: 650; }
.t-top .tab.on { text-decoration: underline; text-underline-offset: 3px; }
.t-body { padding: 14px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); align-items: start; }
.t-card { background: var(--tb-surface); border: 1px solid var(--tb-edge); border-left: 5px solid var(--tb-waiting);
          border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.t-card.ask { border-left-style: dashed; }
.t-card.ok { border-left-color: var(--tb-ready); }
.t-card .h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.t-card .no { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.t-card .t { font-weight: 650; }
.t-card .w { margin-left: auto; color: var(--tb-muted); font-size: 12px; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { background: var(--tb-surface-2); color: var(--tb-muted); border-radius: 999px; padding: 1px 9px; font-size: 11.5px; font-weight: 650; }
.chip.unpaid { background: var(--tb-danger); color: var(--tb-bg); }
.chip.paid { color: var(--tb-ready); }
.chip.cardno { color: var(--tb-ink); font-weight: 800; }
.t-line { display: flex; gap: 8px; }
.t-line .q { color: var(--tb-accent); font-weight: 800; min-width: 2ch; }
.t-q { color: var(--tb-waiting); font-weight: 700; font-size: 12.5px; }
.t-acts { display: flex; gap: 6px; }
.t-btn { flex: 1; border: 1px solid var(--tb-edge); background: var(--tb-surface-2); color: var(--tb-ink); border-radius: 8px;
         padding: 8px 6px; text-align: center; font-weight: 700; font-size: 12px; position: relative; }
.t-btn.go { background: var(--tb-accent); border-color: var(--tb-accent); color: var(--tb-bg); }
.t-empty { padding: 50px 20px; text-align: center; color: var(--tb-muted); grid-column: 1 / -1; }
.t-empty b { display: block; color: var(--tb-ink); font-size: 15px; margin-bottom: 4px; }
.t-form { grid-column: 1 / -1; background: var(--tb-surface); border: 1px solid var(--tb-edge); border-radius: 10px;
          padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.t-form .lbl { color: var(--tb-muted); font-size: 11.5px; }
.t-field { border: 1px solid #6b7684; border-radius: 8px; padding: 5px 10px; font-weight: 700; max-width: 120px; }
.t-answers { display: flex; gap: 5px; flex-wrap: wrap; }
.t-answer { border: 1px solid var(--tb-edge); background: var(--tb-surface-2); border-radius: 999px; padding: 3px 11px;
            font-size: 12px; font-weight: 650; }
.t-answer.on { background: var(--tb-accent); border-color: var(--tb-accent); color: var(--tb-bg); }
.t-confirm { border: 1px solid var(--tb-waiting); color: var(--tb-waiting); border-radius: 8px; padding: 7px 10px;
             font-weight: 700; font-size: 12.5px; }

/* The thing to press on this step. It is a real button: pressing it is how the story moves on. */
button[data-tap] { cursor: pointer; }
button[data-tap]::after {
  content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid var(--accent);
  opacity: 0; animation: tap 1.8s ease-out 1.6s infinite; pointer-events: none;
}
.tablet button[data-tap]::after, .cam-pill::after { border-color: #ffd36b !important; }
@keyframes tap { 0% { opacity: .95; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* "Tap here", once, on the first step: a ring alone does not say it is a button. */
.hint {
  position: absolute; z-index: 6; pointer-events: none; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; animation: hint 2.4s ease-in-out 1.6s 3 both, hintout 400ms ease 8.8s forwards;
}
.hint::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px;
               border: 5px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
@keyframes hintout { to { opacity: 0; visibility: hidden; } }
@keyframes hint { 0% { opacity: 0; transform: translate(-50%, 4px); } 12%, 100% { opacity: 1; } 50% { transform: translate(-50%, -3px); } }

/* What travels between the two screens. */
.flyer { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; }
.flyer .round { background: var(--ph-brand); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 800;
                font-size: 13px; white-space: nowrap; box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
.flyer .fly-card {
  width: 62px; height: 88px; border-radius: 8px; background: #fffdf9; color: #1f1a17;
  border: 1px solid #d9d0c8; box-shadow: 0 10px 24px rgb(0 0 0 / .3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-weight: 900; font-size: 14px;
}
.flyer .fly-card svg { width: 40px; height: 40px; }
.landing { animation: land 420ms ease-out; }
@keyframes land { 0% { transform: scale(.9); opacity: .2; } 60% { transform: scale(1.03); } }

/* The cut between the two places. */
.cut { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.cut span { font-size: 1.25rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.cut svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }

/* --- phones: the demo takes the whole screen ------------------------------------------- */
@media (max-width: 719px) {
  .launch { display: block; }
  .player { display: none; }
  .player.open {
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 0;
    position: fixed; inset: 0; z-index: 50; background: var(--bg);
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  }
  .ptop { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--edge); background: var(--surface); }
  .close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--bg);
           font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
  .seg { flex: 1; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--edge);
         border-radius: 12px; padding: 3px; min-width: 0; }
  .seg button { position: relative; border: none; background: none; border-radius: 9px; min-height: 44px;
                font-weight: 700; font-size: 0.84rem; color: var(--ink-muted); cursor: pointer; padding: 0 6px; white-space: nowrap; }
  .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
  .seg .ping { position: absolute; top: 6px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: none; }
  .seg button.waiting .ping { display: block; animation: ping 1.2s ease-out infinite; }
  @keyframes ping { 50% { box-shadow: 0 0 0 5px var(--accent-soft); } }

  .stage { border: none; border-radius: 0; background: none; padding: 10px 16px 14px; display: flex; align-items: stretch; min-height: 0; overflow: hidden; }
  .stage .device { flex: 1; min-height: 0; min-width: 0; gap: 10px; }
  .device.active .frame { outline-color: transparent; }
  .device.active .who, .device.active .who b { color: var(--ink); }
  .who { justify-content: center; flex: none; }
  .stage[data-view="phone"] .tablet, .stage[data-view="tablet"] .phone { display: none; }
  /* The box a frame has to fit in, in both directions: a phone is as tall as the room allows and
     only as wide as that height makes it, which is what container units can say and % cannot. */
  .fit { flex: 1; min-height: 0; align-self: stretch; container-type: size; justify-content: center; align-items: center; }
  .phone .frame {
    --w: min(100cqw, max(calc(100cqh * 0.5), 250px));
    width: var(--w); height: min(100cqh, calc(var(--w) * 2.05)); aspect-ratio: auto;
    border-radius: 34px; padding: 7px;
  }
  .phone .screen { border-radius: 28px; }
  .tablet .frame { width: min(100cqw, calc((100cqh - 22px) * 4 / 3)); }
  .stand { flex: none; }

  .caption { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 16px 14px; border-top: 1px solid var(--edge); background: var(--surface); }
  .caption h3 { font-size: 1.05rem; }
  .caption p { font-size: 0.95rem; line-height: 1.45; }
  .controls { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .controls .ctrl.primary { min-height: 52px; padding: 0 10px; line-height: 1.2; white-space: nowrap; font-size: 1rem; }
  .controls .ctrl.primary.cross { font-size: 0.94rem; }
  .controls #demo-prev { width: 52px; padding: 0; font-size: 1.4rem; }
  #demo-prev .word { display: none; }
  #demo-prev .glyph { display: inline; }
}
/* A short phone: the explanation keeps its words and gives up some air. */
@media (max-width: 719px) and (max-height: 700px) {
  .ptop { padding-block: 6px; }
  .stage { padding-block: 6px 8px; }
  .caption { padding-block: 8px 10px; gap: 8px; }
  .caption h3 { font-size: 1rem; margin-block: 0 2px; }
  .caption p { font-size: 0.88rem; line-height: 1.4; }
  .caption .count { display: none; }
  .controls .ctrl, .controls .ctrl.primary { min-height: 46px; }
  .controls #demo-prev { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .fresh, .landing, .ctrl.primary.cross, .seg .ping, .lock, .cam-pill, .hint { animation: none !important; }
  button[data-tap]::after { animation: none; opacity: 1; transform: none; }
}

/* The provider's payment page on the phone, drawn plainly: see payPage in demo.js. */
.sp-page { flex: 1; display: flex; flex-direction: column; background: #fff; min-height: 0; }
.sp-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ph-edge);
           font-weight: 700; font-size: 12px; }
.sp-lock { width: 10px; height: 12px; border: 2px solid currentColor; border-radius: 2px; position: relative; top: 1px; }
.sp-by { margin-left: auto; color: var(--ph-muted); font-weight: 600; font-size: 11px; }
.sp-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.sp-to { color: var(--ph-muted); font-size: 12px; }
.sp-sum { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.sp-ways { display: flex; gap: 6px; }
.sp-ways span { flex: 1; text-align: center; border: 1px solid var(--ph-edge); border-radius: 8px; padding: 6px; font-size: 11.5px; font-weight: 650; }
.sp-ways .on { border-color: var(--ph-ink); box-shadow: inset 0 0 0 1px var(--ph-ink); }
.sp-field { border: 1px solid #8a9a9b; border-radius: 8px; padding: 8px 10px; color: var(--ph-muted); font-size: 12px; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
