/* Passtap. One ground, one ink, one signal. The tap (a filled circle) is the brand's shape:
   buttons are round, the mark has it in the middle, the hero sits on it. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ground: #f4f5f1;
  --surface: #e7e9e3;
  --ink: #0b0d10;
  --ink-soft: #3d434a; /* 9.3:1 on ground */
  --signal: #2be37a; /* fill only; ink on it is 11.6:1 */
  --night: #0b0d10;
  --night-surface: #181c21;
  --night-text: #f4f5f1;
  --night-soft: #aab2ba;
  --danger: #b3261e;

  --sans: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --edge: clamp(20px, 4vw, 56px);
  --gap: clamp(96px, 13vw, 200px);
  --display: clamp(46px, 7.6vw, 124px);
  --title: clamp(36px, 5vw, 76px);
  --step: clamp(28px, 3vw, 46px);
  --text: clamp(17px, 1.25vw, 20px);
  --small: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink); font: var(--text)/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, figure, pre, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.foot :focus-visible, .docs-code :focus-visible { outline-color: var(--signal); }

h1 { font-size: var(--display); line-height: 0.92; letter-spacing: -0.045em; font-weight: 700; }
h2 { font-size: var(--title); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
h3 { font-size: var(--step); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
code { font-family: var(--mono); font-size: 0.9em; }
pre { font: 14px/1.6 var(--mono); overflow-x: auto; padding: clamp(18px, 2.4vw, 28px); background: var(--night-surface); color: var(--night-text); }
pre code { font-size: inherit; }
.hint { font-size: var(--small); color: var(--ink-soft); }

/* The library's preview, flat */
.pp-pass { box-shadow: none !important; outline: 0 !important; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform 140ms ease, background-color 140ms ease; }
.button:hover { background: #2a3038; }
.button:active { transform: scale(0.96); }
.button[disabled] { background: var(--surface); color: var(--ink-soft); cursor: not-allowed; }
.button-big { min-height: 60px; padding: 0 34px; font-size: 19px; }
.close .button-ink, .hero .button-big { background: var(--ink); }
.link { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; padding: 12px 0; display: inline-block; }
.link:hover { text-decoration-color: var(--signal); }

/* Top */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--edge); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.05em; }
.mark { width: 32px; height: 32px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); font-size: 16px; font-weight: 600; }
.top nav a:not(.button) { text-decoration: none; padding: 12px 0; }
.top nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 640px) { .top nav a:not(.button) { display: none; } }

/* Hero: the passes sit on the tap */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(16px, 3vw, 40px) var(--edge) 0; min-height: min(86vh, 900px); }
.hero-text { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.hero h1 { max-width: 9ch; }
.subhead { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.35; max-width: 36ch; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; justify-self: center; }
.tap { position: absolute; inset: 4%; border-radius: 50%; background: var(--signal); }
.fan { position: absolute; left: 50%; top: 50%; width: 46%; transform-origin: 50% 120%; }
.fan .pp-pass { width: 100%; min-height: 0; aspect-ratio: 32 / 44; font-size: clamp(9px, 1vw, 14px); padding: 5%; gap: 4%; }
.fan .pp-code-real, .fan .pp-code { width: 34%; height: auto; aspect-ratio: 1; }
.fan .pp-code-pdf417 { width: 70%; aspect-ratio: 4 / 1; }
.fan .pp-barcode { padding: 4%; }
.fan .pp-primary .pp-value { font-size: 1.9em; }
.fan .pp-brand { font-size: 1.15em; }
.fan .pp-label { font-size: 0.72em; }
.fan-left { transform: translate(-50%, -50%) rotate(-16deg) translateX(-38%); }
.fan-right { transform: translate(-50%, -50%) rotate(16deg) translateX(38%); }
.fan-front { transform: translate(-50%, -50%); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: 0; } .hero-stage { max-width: 520px; } }

/* Demo */
.demo { margin-top: var(--gap); background: var(--night); color: var(--night-text); padding: clamp(40px, 6vw, 96px) var(--edge); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.demo-text { display: grid; gap: 20px; justify-items: start; }
.demo-text p { color: var(--night-soft); max-width: 38ch; }
.demo .button { background: var(--signal); color: var(--ink); }
.demo .button:hover { background: #5cf09c; }
.demo-video { width: 100%; height: auto; display: block; background: var(--night-surface); border-radius: 14px; aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* How it works */
.how { padding: var(--gap) var(--edge) 0; display: grid; gap: clamp(64px, 9vw, 140px); }
.step { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.step-text { display: grid; gap: 16px; align-content: start; }
.step-text p { max-width: 44ch; }

.step-pick { grid-template-columns: 1fr; }
.kinds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.kind { display: grid; gap: 6px; align-content: start; text-decoration: none; font-size: var(--small); line-height: 1.35; }
.kind strong { font-size: 19px; letter-spacing: -0.02em; margin-top: 8px; }
.kind > span:last-child { color: var(--ink-soft); }
.kind-pass { display: block; transition: transform 200ms ease; }
.kind:hover .kind-pass { transform: translateY(-8px); }
.kind .pp-pass { width: 100%; min-height: 0; aspect-ratio: 32 / 44; font-size: clamp(6px, 0.62vw, 9px); padding: 6%; gap: 4%; border-radius: 10px; }
.kind .pp-code-real, .kind .pp-code { width: 34%; height: auto; aspect-ratio: 1; }
.kind .pp-code-pdf417 { width: 70%; aspect-ratio: 4 / 1; }
.kind .pp-barcode { padding: 4%; border-radius: 4px; gap: 2px; }
.kind .pp-barcode span { font-size: 0.8em; }
.kind .pp-primary .pp-value { font-size: 1.9em; }
.kind .pp-brand { font-size: 1.15em; }
.kind .pp-label { font-size: 0.72em; }
@media (max-width: 1000px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kind .pp-pass { font-size: clamp(7px, 1.25vw, 11px); } }
@media (max-width: 520px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kind .pp-pass { font-size: 1.9vw; } }

.step-make { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); background: var(--surface); padding: clamp(20px, 3vw, 48px); border-radius: 28px; }
.pair figure { display: grid; gap: 12px; justify-items: center; align-content: start; }
.pair figcaption { justify-self: start; font-weight: 700; font-size: var(--small); }
.pair .pp-pass { width: 100%; max-width: 320px; }

.step-share { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.share-card { background: var(--signal); border-radius: 50%; aspect-ratio: 1; width: min(100%, 440px); justify-self: center; display: grid; place-content: center; justify-items: center; gap: 12px; }
.share-qr { width: clamp(140px, 17vw, 220px); border-radius: 14px; overflow: hidden; }
.share-qr svg, .scan-qr svg { display: block; width: 100%; height: auto; }
.share-card p { font-weight: 700; }
@media (max-width: 900px) { .step-make, .step-share { grid-template-columns: 1fr; } .step-share .share-card { order: 2; } }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

/* Who */
.who { padding: var(--gap) var(--edge) 0; display: grid; gap: clamp(28px, 4vw, 56px); }
.who-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: center; background: var(--surface); padding: clamp(24px, 3vw, 44px); border-radius: 28px; }
.who-row:nth-child(3) { background: var(--night); color: var(--night-text); }
.who-row:nth-child(4) { background: var(--signal); }
@media (max-width: 900px) { .who-row { grid-template-columns: 1fr; } }

/* Close and footer */
.close { margin-top: var(--gap); background: var(--signal); padding: clamp(64px, 10vw, 160px) var(--edge); display: grid; gap: 32px; justify-items: start; }
.close h2 { font-size: var(--display); max-width: 10ch; }
.foot { background: var(--night); color: var(--night-text); padding: clamp(40px, 6vw, 80px) var(--edge) 32px; display: grid; gap: 16px; overflow: hidden; }
.foot-name { font-size: clamp(80px, 23vw, 380px); line-height: 0.78; letter-spacing: -0.07em; font-weight: 800; color: var(--signal); margin-left: -0.04em; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--night-soft); font-size: var(--small); }

/* Builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(24px, 4vw, 72px); padding: clamp(16px, 3vw, 40px) var(--edge) var(--gap); align-items: start; }
.builder h1 { font-size: var(--title); }
.builder-form { display: grid; gap: clamp(28px, 3.4vw, 44px); }
.builder-form fieldset { display: grid; gap: 14px; }
.builder-form legend { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.builder-form label, .field { display: grid; gap: 6px; font-size: var(--small); font-weight: 600; }
input, select, textarea { font: 17px var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 12px; min-height: 48px; padding: 0 14px; width: 100%; }
textarea { font: 14px/1.55 var(--mono); padding: 16px; min-height: 0; resize: vertical; }
input[readonly] { background: var(--surface); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice, .tab, .add, .remove { font: 600 16px var(--sans); min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; transition: transform 140ms ease, background-color 140ms ease; }
.choice:hover, .tab:hover, .add:hover, .remove:hover { background: #d6d9d1; }
.choice:active, .tab:active, .add:active, .remove:active, .swatch:active { transform: scale(0.95); }
.choice[aria-pressed="true"], .tab[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.add { justify-self: start; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; transition: transform 140ms ease; }
.swatch[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch-custom { display: flex !important; align-items: center; gap: 8px; }
.swatch-custom input { width: 48px; padding: 2px; border-radius: 50%; overflow: hidden; }
.row-pair, .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 10px; align-items: end; }
.row-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.rows { display: grid; gap: 12px; }
.remove { padding: 0 14px; }
@media (max-width: 560px) { .row-pair, .row { grid-template-columns: 1fr; } }

.builder-side { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: stretch; max-height: calc(100vh - 32px); overflow-y: auto; }
.tabs { display: flex; gap: 8px; }
.stage { background: var(--surface); border-radius: 28px; padding: clamp(16px, 2.4vw, 32px); display: grid; justify-items: center; align-content: center; transition: opacity 140ms ease; }
.stage.stale { opacity: 0.5; }
.stage .pp-pass { width: 100%; max-width: 300px; min-height: 380px; }
.issues { display: grid; gap: 8px; }
.issues li { padding: 12px 16px; border-radius: 12px; font-size: var(--small); line-height: 1.4; background: var(--surface); }
.issues li.error { background: var(--danger); color: #fff; font-weight: 600; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .builder-side { position: static; order: -1; max-height: none; overflow: visible; } }

/* A pass's own page */
.passpage { padding: clamp(16px, 3vw, 40px) var(--edge) var(--gap); display: grid; gap: clamp(32px, 5vw, 64px); }
.maker { background: var(--signal); border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 14px; justify-items: start; }
.maker h2 { font-size: var(--step); }
.copyline { display: flex; gap: 8px; width: 100%; max-width: 720px; flex-wrap: wrap; }
.copyline input { flex: 1 1 260px; }
.holder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.holder-pass { background: var(--surface); border-radius: 28px; padding: clamp(20px, 4vw, 56px); display: grid; justify-items: center; }
.holder-pass .pp-pass { width: 100%; max-width: 340px; }
.holder-text { display: grid; gap: 20px; justify-items: start; }
.holder-text h1 { font-size: var(--title); }
.wallet-actions { display: grid; gap: 12px; justify-items: start; }
.wallet-off { background: var(--surface); border-radius: 12px; padding: 14px 18px; font-size: var(--small); font-weight: 600; }
.wallet-note { font-size: var(--small); color: var(--ink-soft); max-width: 44ch; }
.scan { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.scan-qr { width: 132px; flex: none; border-radius: 12px; overflow: hidden; }
.scan p { font-size: var(--small); color: var(--ink-soft); max-width: 22ch; }
@media (max-width: 900px) { .holder { grid-template-columns: 1fr; } .scan { display: none; } }

.plain { padding: var(--gap) var(--edge); display: grid; gap: 20px; justify-items: start; }
.plain h1 { font-size: var(--title); }

/* Developers */
.docs { padding: clamp(24px, 4vw, 56px) var(--edge) var(--gap); display: grid; gap: clamp(56px, 8vw, 112px); }
.docs-head { display: grid; gap: 20px; }
.docs-head h1 { max-width: 12ch; }
.docs-head p { max-width: 52ch; }
.docs-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: start; scroll-margin-top: 24px; }
.docs-text { display: grid; gap: 16px; justify-items: start; }
.docs-text h2 { font-size: var(--step); }
.docs-code { display: grid; gap: 12px; min-width: 0; }
.docs-code pre { border-radius: 16px; }
.docs-code textarea { background: var(--night-surface); color: var(--night-text); border: 0; border-radius: 16px; }
.docs-list { display: grid; gap: 16px; }
@media (max-width: 900px) { .docs-block { grid-template-columns: 1fr; } }

/* Motion: passes land on the tap; sections rise once as they arrive. Content is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  .tap { animation: tap 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
  @keyframes tap { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
  .fan-front { animation: front 800ms 150ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
  .fan-left { animation: left 900ms 300ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
  .fan-right { animation: right 900ms 300ms cubic-bezier(0.2, 0.9, 0.2, 1) both; }
  @keyframes front { from { transform: translate(-50%, -30%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
  @keyframes left { from { transform: translate(-50%, -50%); opacity: 0; } to { transform: translate(-50%, -50%) rotate(-16deg) translateX(-38%); opacity: 1; } }
  @keyframes right { from { transform: translate(-50%, -50%); opacity: 0; } to { transform: translate(-50%, -50%) rotate(16deg) translateX(38%); opacity: 1; } }
  @supports (animation-timeline: view()) {
    .step-text > *, .kind, .pair, .share-card, .who-row, .demo-video, .docs-block > * {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%;
    }
    @keyframes rise { from { opacity: 0.001; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Builder: logo, editing on the pass, the back of the pass */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.button-quiet { background: var(--surface); color: var(--ink); }
.button-quiet:hover { background: #d6d9d1; }
.logo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.logo-well { width: 96px; height: 48px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.logo-well img { max-width: 80%; max-height: 80%; }
#logo-file:focus-visible + .remove, .logo-row:has(#logo-file:focus-visible) .button-quiet { outline: 3px solid var(--ink); outline-offset: 3px; }
.stage [data-edit] { cursor: text; border-radius: 4px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 120ms ease; min-width: 1ch; }
.stage [data-edit]:hover { outline-color: color-mix(in srgb, var(--pp-fg) 45%, transparent); }
.stage [data-edit]:focus { outline-color: var(--pp-fg); white-space: normal; }
.stage [data-field] { cursor: grab; }
.stage.over, .backstrip.over { background: #d6d9d1; }
.backstrip { min-width: 0; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: 20px; padding: 14px 16px; display: grid; gap: 10px; transition: background-color 120ms ease; }
.backstrip-title { font-size: var(--small); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 12px; }
.chips:empty::after { content: "Nothing on the back. Drag a detail here."; font-size: var(--small); color: var(--ink-soft); }
.chip { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: var(--small); cursor: grab; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Pricing */
.pricing { padding: var(--gap) var(--edge) 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pricing-now { display: grid; gap: 20px; justify-items: start; }
.pricing-now p { max-width: 44ch; }
.pricing-later { background: var(--surface); border-radius: 28px; padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; }
.pricing-later h3 { font-size: clamp(22px, 2vw, 30px); }
.pricing table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pricing th, .pricing td { text-align: left; padding: 10px 12px 10px 0; font-weight: 400; }
.pricing thead th { font-size: var(--small); font-weight: 700; }
.pricing tbody th { font-weight: 700; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Builder: colors, the picture, the program */
.check { display: flex !important; grid-auto-flow: column; align-items: center; gap: 10px; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; flex: none; accent-color: var(--ink); }
.color-pick > span { display: flex; align-items: center; gap: 8px; }
.color-pick input[type="color"] { width: 48px; padding: 2px; border-radius: 50%; overflow: hidden; flex: none; }
.remove[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.strip-well { width: 144px; height: 56px; }
.strip-well img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }

/* The counter: what staff see after scanning a card */
.counter { min-height: 70vh; padding: clamp(24px, 6vw, 72px) var(--edge) var(--gap); display: grid; gap: 20px; align-content: start; justify-items: start; }
.counter h1 { font-size: clamp(44px, 9vw, 110px); max-width: 12ch; }
.counter-brand { font-weight: 700; }
.counter form { display: grid; gap: 14px; width: min(100%, 520px); }
.counter .button-big { min-height: 84px; font-size: 24px; width: 100%; background: var(--signal); color: var(--ink); }
.counter .button-big:hover { background: #5cf09c; }
.counter-used h1 { color: var(--danger); }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.notice-ok { background: var(--signal); }
.notice-error { background: var(--danger); color: #fff; }
.status-big { font-size: var(--step); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.step-counter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.counter-demo { background: var(--night); color: var(--night-text); border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: grid; gap: 16px; justify-items: start; }
.counter-demo .counter-status { font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.counter-demo .button { background: var(--signal); color: var(--ink); width: 100%; }
@media (max-width: 900px) { .step-counter { grid-template-columns: 1fr; } }

/* Dashboard */
.dash { padding: clamp(16px, 3vw, 40px) var(--edge) var(--gap); display: grid; gap: 24px; }
.dash h1, .dash h2 { font-size: var(--title); }
.dash h2 { font-size: var(--step); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; scroll-margin-top: 24px; }
.list { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-variant-numeric: tabular-nums; }
.list th, .list td { text-align: left; padding: 14px 16px; background: var(--surface); font-weight: 400; }
.list thead th { background: none; font-size: var(--small); font-weight: 700; padding-bottom: 4px; }
.list tbody th { font-weight: 700; border-radius: 12px 0 0 12px; }
.list tbody td:last-child { border-radius: 0 12px 12px 0; }
.list .revoked { color: var(--ink-soft); text-decoration: line-through; }
.row-actions { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.row-actions .link { padding: 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 10px; vertical-align: -1px; }
.inline-form, .issue-form { display: grid; gap: 12px; max-width: 560px; }
.inline-form label, .issue-form label { display: grid; gap: 6px; font-size: var(--small); font-weight: 600; }
.inline-form .button, .issue-form .button { justify-self: start; }
.issue-form textarea { font: 17px/1.5 var(--sans); padding: 12px 14px; }
@media (max-width: 700px) { .list thead { display: none; } .list, .list tbody, .list tr, .list th, .list td { display: block; } .list tr { margin-bottom: 10px; } .list th, .list td { border-radius: 0 !important; padding: 8px 16px; } .row-actions { justify-content: flex-start; } }

.preview-note { margin: 0 var(--edge); background: var(--surface); border-radius: 14px; padding: 14px 18px; font-size: var(--small); max-width: 90ch; }
