/* The look of the app's pages, taken from the public site (web/assets/site.css): pale gray page, white cards with an
   18px radius and almost no shadow, tight near-black headings, gray body text, pill buttons, pill fields on soft gray
   with a blue focus ring, and a white top bar with a hairline. Plain: no gradient tiles, no striped band. Light only.
   The sign-in pages are one centred card; the other pages are one column of cards. Nothing here is inline in a page. */
:root {
  --page: #f4f4f6;
  --card: #ffffff;
  --ink: #0a0a0b;
  --body: #5b5b63;          /* 6.7:1 on white, 6.1:1 on --page */
  --mute: #63636b;          /* 6.0:1 on white, 5.4:1 on --page, 5.0:1 on --soft */
  --line: #e4e4e8;
  --soft: #ececf0;
  --blue: #0f6fd1;          /* the main action and the focus ring: 5.0:1 on white */
  --blue-ink: #ffffff;
  --edge: #8a8a93;          /* the resting edge of a field and the ring of an unmet password rule: 3.4:1 on white, 2.9:1 on --soft */
  --scan: #e5261f;
  --ok: #0f6b45;
  --ok-bg: #dcf5e6;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --err-bg: #fde8e6;
  --err-ink: #8f1d17;
  --r-card: 18px;
  --display: "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--page); color: var(--body);
  font: 16px/1.5 var(--text); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font: 650 30px/1.12 var(--display); letter-spacing: -.035em; }
h2 { font: 650 22px/1.2 var(--display); letter-spacing: -.025em; }
h3 { font: 650 16px/1.25 var(--text); letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }

/* The top bar: white, a hairline under it, the brand mark on the left and, signed in, the links and Sign out */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.top-in { max-width: 720px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; min-height: 40px; min-width: 0; flex: 0 1 auto; }
.brand-mark { display: inline-flex; align-items: stretch; gap: 2px; height: 18px; }
.brand-mark i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.brand-mark i:nth-child(2) { width: 1.5px; }
.brand-mark i:nth-child(3) { width: 4px; }
.brand-mark i:nth-child(4) { width: 1.5px; }
.brand-name { font: 700 17px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { flex: none; }
/* Wider than 640px the bar is one row (brand, up to four links, Sign out), 61px tall, so the 76px scroll padding covers it;
   a long service name is cut short rather than wrapping. At 640px and below the links wrap and the bar is not sticky. */
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; flex: 1 0 auto; }
.nav a, .nav .pill { flex: none; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--mute); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--soft); color: var(--ink); font-weight: 600; }
.nav .pill { margin-left: auto; }
.top-note { max-width: 720px; margin: -12px auto 16px; padding-left: 16px; padding-right: 16px; }
.top-note:empty { margin-bottom: 0; }

/* One centred card for signing in; one column of cards elsewhere */
main { padding: 0 16px 64px; }
.single { max-width: 420px; margin: 4vh auto 0; }
.column { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.card { background: var(--card); border-radius: var(--r-card); padding: 28px; box-shadow: 0 1px 0 rgba(10, 10, 11, .04); }
.card > * + * { margin-top: 18px; }
.card h1 + p, .card h2 + p { margin-top: 10px; }
.lede { color: var(--body); }
.fine { font-size: 14px; color: var(--mute); }
.below { text-align: center; margin-top: 22px; font-size: 15px; color: var(--mute); display: grid; gap: 8px; }
.below a { font-weight: 600; }
/* The small line of links to the public site under every page that has it */
/* margin-top: -40px pulls the line up into the 64px bottom padding of main (main { padding: 0 16px 64px }); change both together. */
.site-links { padding: 0 16px 40px; margin-top: -40px; }
.site-links nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 14px; }
.site-links a { color: var(--mute); display: inline-flex; align-items: center; min-height: 32px; }
.site-links a:hover { color: var(--ink); }

/* Forms: labels above pill fields on soft gray, 16px text so phones do not zoom, a blue ring on focus */
/* Error lines stay in the page while empty, so a screen reader hears them fill; they just take no room. */
form > * + * { margin-top: 18px; }
.row > * + * { margin-top: 8px; }
.row > .field-error:empty { margin-top: 0; }
.row > label, .label { display: block; font: 600 14px/1.3 var(--text); color: var(--ink); }
.hint { font-size: 14px; color: var(--mute); }
input[type=email], input[type=password], input[type=text], input[type=search], input[type=number], input[type=url], input[type=date], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 18px; font: 400 16px/1.3 var(--text); color: var(--ink);
  border: 1.5px solid var(--edge); border-radius: 999px; background: var(--soft);
}
textarea { border-radius: var(--r-card); line-height: 1.45; resize: vertical; }
select { padding-right: 14px; cursor: pointer; }
input.code { font: 500 20px/1.2 var(--mono); letter-spacing: .12em; }
input.mono { font-family: var(--mono); letter-spacing: .02em; }
:is(input[type=email], input[type=password], input[type=text], input[type=search], input[type=number], input[type=url], input[type=date], select, textarea):hover { border-color: #6f6f78; }
:is(input[type=email], input[type=password], input[type=text], input[type=search], input[type=number], input[type=url], input[type=date], select, textarea):focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(15, 111, 209, .22); }
:is(input, select, textarea)[aria-invalid="true"]:not(:focus) { border-color: var(--err-ink); background: #fff; }
input[type=file] { display: block; width: 100%; font: 400 15px/1.3 var(--text); color: var(--body); }
input[type=file]::file-selector-button { margin-right: 14px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1.2 var(--text); cursor: pointer; }
input[type=file]:focus { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: none; }
.field-error { color: var(--err-ink); font-size: 14px; font-weight: 600; }
.note { border-radius: 12px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; }
.note:empty { padding: 0; margin-top: 0 !important; }
.note-error { background: var(--err-bg); color: var(--err-ink); }
.note-ok { background: var(--ok-bg); color: var(--ok); }
.note-warn { background: var(--warn-bg); color: var(--warn-ink); }

/* Buttons: pills. Blue is a page's main action, dark the secondary one, outline (and light) the quiet one. */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  min-height: 44px; padding: 10px 20px; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 15px/1.2 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .12s ease;
}
.pill:active { transform: scale(.97); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2a2a2e; }
.pill-blue { background: var(--blue); color: var(--blue-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.pill-blue:hover { background: #0b5fb6; }
.pill-line, .pill-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill-line:hover, .pill-light:hover { background: rgba(10, 10, 11, .06); }
.pill-danger { background: var(--err-ink); color: #fff; }
.pill-danger:hover { background: #761712; }
.pill-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.pill:disabled { background: #c9c9cf; color: #fff; border-color: transparent; cursor: not-allowed; box-shadow: none; transform: none; }
.pill-wide { width: 100%; }
.link-button { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 600 15px/1.2 var(--text); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:disabled { color: var(--mute); text-decoration: none; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }

/* Segmented pill tabs on soft gray */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; min-height: 40px; border-radius: 999px; font: 600 13px/1.2 var(--text); color: var(--mute); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 10, 11, .12); }

/* Password box: the eye button and the checklist (from password.js) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 56px; }
.pw-eye {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 48px; height: 40px;
  display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--body); cursor: pointer; border-radius: 999px;
}
.pw-eye:hover { color: var(--ink); }
.pw-meter { display: grid; gap: 8px; }
.pw-top { display: flex; align-items: center; gap: 12px; }
.pw-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; }
.pw-bar i { height: 5px; border-radius: 3px; background: var(--line); }
.pw-meter[data-score="1"] .pw-bar i:nth-child(-n+1) { background: var(--err-ink); }
.pw-meter[data-score="2"] .pw-bar i:nth-child(-n+2) { background: var(--warn-ink); }
.pw-meter[data-score="3"] .pw-bar i:nth-child(-n+3) { background: var(--ok); }
.pw-meter[data-score="4"] .pw-bar i { background: var(--ok); }
.pw-label { font-size: 13.5px; color: var(--mute); min-width: 6.5em; text-align: right; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--mute); }
.pw-rules li { position: relative; padding-left: 24px; }
.pw-rules li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--edge); }
.pw-rules li.ok { color: var(--ok); }
.pw-rules li.ok::before { background: var(--ok); border-color: var(--ok); }
.pw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Account page */
.banner { border-radius: var(--r-card); background: var(--warn-bg); color: var(--warn-ink); padding: 22px 24px; display: grid; gap: 12px; }
.banner h2 { color: var(--warn-ink); font-size: 18px; }
.section { border-top: 1px solid var(--line); padding-top: 22px; }
.section > * + * { margin-top: 14px; }
.stat { font: 650 34px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.stat span { font: 500 15px/1 var(--text); letter-spacing: 0; color: var(--mute); }
progress { width: 100%; height: 10px; border: 0; border-radius: 999px; background: var(--soft); overflow: hidden; appearance: none; }
progress::-webkit-progress-bar { background: var(--soft); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--blue); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--blue); border-radius: 999px; }
.tag { display: inline-block; font: 600 12.5px/1 var(--text); padding: 6px 10px; border-radius: 999px; background: var(--soft); color: #45454c; white-space: nowrap; }
.tag-on { background: var(--ok-bg); color: var(--ok); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 10px; }
.list > li:first-child { border-top: 0; padding-top: 4px; }
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.item-main { flex: 1 1 220px; min-width: 0; }
.item-name { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.item-meta { font-size: 14px; color: var(--mute); }
.confirm-row { background: var(--soft); border-radius: 14px; padding: 14px; display: grid; gap: 10px; color: var(--ink); }
.secret { background: var(--soft); border-radius: 14px; padding: 18px; display: grid; gap: 12px; }
.secret code, .secret pre { font: 500 15.5px/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; margin: 0; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; list-style: none; margin: 0; padding: 0; font: 500 16px/1.5 var(--mono); color: var(--ink); }
.qr { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.qr canvas { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; max-width: 220px; height: auto; image-rendering: pixelated; }
.qr-text { flex: 1 1 200px; display: grid; gap: 8px; }
.step { display: grid; gap: 14px; }

/* The register's pages: a wider column for the tables */
.top-wide, .column-wide { max-width: 1040px; }
.top-note.top-wide { max-width: 1040px; }
.hint a { color: var(--ink); font-weight: 600; }
.field-error a { color: var(--err-ink); }
.note a { color: inherit; font-weight: 600; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; align-items: start; }
.filters > * + * { margin-top: 0; }
.filters .actions { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; }
table.products, table.rows { width: 100%; border-collapse: collapse; font-size: 15px; }
table.products th, table.products td, table.rows th, table.rows td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); vertical-align: middle; }
table.products th, table.rows th { font: 500 12.5px/1.3 var(--mono); color: var(--mute); border-top: 0; }
table.products td { color: var(--ink); }
.cell-name a { font-weight: 600; overflow-wrap: anywhere; }
table.products .row-retired td { color: var(--mute); }
.row-retired .cell-name a { color: var(--mute); }
.row-retired .mini-barcode { opacity: 0.45; }
.mini-barcode { display: block; max-width: 140px; height: auto; }
.cell-barcode { min-width: 100px; }

/* A product's page */
.back { font-size: 15px; }
.back a { font-weight: 600; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts dd.notes { white-space: pre-wrap; }
.barcode-preview { display: block; max-width: 260px; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14.5px; }
.downloads a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }
#held-by > li { grid-template-columns: 1fr; gap: 2px; }

/* The import page */
.summary { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink); }
/* Every cell and message sets its own background, so its contrast is measured against the colour really behind it:
   --err-ink on --err-bg is 7.6:1, --warn-ink on --err-bg 6.9:1 and on white 8.1:1, --mute on --err-bg 5.1:1. */
table.rows td { background-color: #fff; color: var(--ink); }
table.rows .row-has-problem td { background-color: var(--err-bg); }
.cell-problems { min-width: 240px; }
.row-messages { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.row-problem { color: var(--err-ink); background-color: var(--err-bg); }
.row-note { color: var(--warn-ink); background-color: #fff; }
.row-has-problem .row-note { background-color: var(--err-bg); }
table.rows td:first-child { font-family: var(--mono); color: var(--mute); }

/* The generator page, laid out as the public site's hero: the controls on the left, and on the right a white card
   with the preview on a dotted ground (the type and printed size above it, the facts below), what we found, and the
   download. The API call is a full-width card under both. */
.gen-head > * + * { margin-top: 10px; }
.gen-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 16px; align-items: start; }
.gen-preview { position: sticky; top: 76px; }
.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group > * + * { margin-top: 16px; }
.group > legend { font: 650 16px/1.25 var(--text); color: var(--ink); padding: 0; margin-bottom: 4px; }
.group > legend.label { font: 600 14px/1.3 var(--text); margin-bottom: 8px; }
.gen-controls .group { border-top: 1px solid var(--line); padding-top: 22px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pair > * + * { margin-top: 0; }
:is(input, textarea):disabled { opacity: .55; cursor: not-allowed; }
textarea[readonly] { background: #fafafb; border-style: dashed; }
.color-row { display: flex; gap: 8px; align-items: center; }
.swatch { flex: none; width: 52px; height: 44px; padding: 4px; border: 1.5px solid var(--edge); border-radius: 999px; background: var(--soft); cursor: pointer; }
.swatch::-webkit-color-swatch-wrapper { padding: 0; }
.swatch::-webkit-color-swatch { border: 1px solid var(--line); border-radius: 999px; }
.swatch::-moz-color-swatch { border: 1px solid var(--line); border-radius: 999px; }
.gen-stage { border-radius: 14px; padding: 16px 18px 14px; background-color: #fafafb; background-image: radial-gradient(rgba(10, 10, 11, .1) 1px, transparent 1.2px); background-size: 14px 14px; }
.stage-top { display: flex; justify-content: space-between; gap: 12px; font: 500 12.5px/1.3 var(--mono); color: var(--mute); }
.stage-type { color: var(--ink); font-weight: 700; }
.stage-art { display: grid; place-items: center; min-height: 200px; padding: 14px 0; transition: opacity .15s ease; }
.stage-art img { display: block; max-width: 100%; max-height: 240px; width: auto; height: auto; background: #fff; border-radius: 6px; box-shadow: 0 6px 22px rgba(10, 10, 11, .1); }
.stage-art.is-stale img { opacity: .3; filter: grayscale(1); }
.stage-empty { font-size: 14px; color: var(--mute); text-align: center; max-width: 24em; }
.stage-note { font-size: 13px; color: var(--mute); text-align: center; min-height: 1.4em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checks:empty { display: none; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.seg label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 14px; border-radius: 999px; font: 600 13px/1.2 var(--text); color: var(--mute); cursor: pointer; }
.seg input:checked + label { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 10, 11, .12); }
.seg input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg input:disabled + label { cursor: not-allowed; }
.seg .paid { font: 600 11.5px/1 var(--text); padding: 4px 7px; border-radius: 999px; background: var(--card); color: #45454c; }
.save-panel > * + *, .new-product > * + * { margin-top: 16px; }
.save-panel { margin-top: 16px; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 300px; overflow-y: auto; }
.picks:empty { display: none; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0; border-top: 1px solid var(--line); }
.picks > .pick:first-child { border-top: 0; }
.pick input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--blue); }
.pick label { display: grid; gap: 2px; min-width: 0; cursor: pointer; }
.pick-name { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pick-meta { font: 500 13px/1.3 var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.api-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#api-panel > * + * { margin-top: 16px; }
.snippet { background: var(--ink); border-radius: 14px; padding: 18px 20px; overflow-x: auto; }
.snippet pre { margin: 0; font: 400 13.5px/1.55 var(--mono); color: #f4f4f6; white-space: pre; }
.snippet:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .gen-layout { grid-template-columns: 1fr; }
  .gen-preview { position: static; }
}
@media (max-width: 720px) {
  .filters { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pair { grid-template-columns: 1fr; }
}
/* At 640px and below the bar scrolls away with the page, and the links sit under the brand */
@media (max-width: 640px) {
  .top { position: static; margin-bottom: 20px; }
  html { scroll-padding-top: 0; }
  .top-in { padding: 8px 16px; flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-wrap: wrap; }
  .nav a { padding: 0 12px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
  .card { padding: 24px 18px; }
  h1 { font-size: 26px; }
  .codes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}

/* The Plan page: one card per plan, side by side where they fit. The plan the account is on has a darker edge and
   says "Your plan" in words. */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.plan-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.plan-card.is-current { border: 2px solid var(--ink); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan-price { font: 650 26px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.plan-lines { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; color: var(--body); }
.plan-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.plan-line a { font-size: 14px; font-weight: 600; }

/* The Connect page: what an AI app asks for, the host it sends the person back to, and Allow or Cancel. */
#ask > * + * { margin-top: 14px; }
.can-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--body); }
#ask .can-list { margin-top: 6px; }
#sends-to, #app-name { color: var(--ink); overflow-wrap: anywhere; }
