/* Reevers account pages (L2, web/account/) — the ONE stylesheet.
   The approved Claude Design canvas, in the splash's "Split" face
   (SplashForm.pas, web/design/sign-in.html row 2): a pale brand column beside a
   white task side; the column becomes a top band on a phone. Light, mostly
   white, the #3B8FF0 -> #37C2D8 gradient, flat translucent fills, system font.
   No inline style anywhere (the CSP has no 'unsafe-inline'): every state is a
   class or the `hidden` attribute, and bars are <progress>/<meter>. */

/* generated:brand BEGIN */
/* GENERATED from the BRAND_* consts in UiTheme.pas by
   tools/check_design_book.py --write -- do not edit. Change the const and
   re-run; check_design_book refuses a raw copy of these values below. */
:root {
  --brand-g1: #1C8FB0;
  --brand-g2: #7FD1C7;
  --brand-ink: #0B2A4A;
  --brand-text: #18202A;
  --brand-accent: #1F6F8B;
  --brand-accent-deep: #185E77;
  --brand-link: #1B6884;
  --brand-link-hover: #134E64;
  --brand-mark: #1E7F9E;
  --brand-mark-fill: #A9E2DB;
  --brand-mark-edge: #5DB8C9;
  --brand-good: #1E7B34;
  --brand-bad: #B3261E;
  --brand-warn: #B0680A;
  --brand-grey-1: #3A4652;
  --brand-grey-2: #4A5968;
  --brand-grey-3: #5C6B7A;
  --brand-grey-4: #6B7A89;
  --brand-grey-5: #9AA6B2;
  --brand-edge-strong: #C2D8DF;
  --brand-line: #CBD5E0;
  --brand-edge: #D6DEE7;
  --brand-box: #E1E8EF;
  --brand-hair: #E6ECF2;
  --brand-tint: #F6F9FB;
  --brand-tint-blue: #EEF7F9;
}
/* generated:brand END */


:root {
  --ink: var(--brand-ink);
  --txt: var(--brand-text);
  --dim: var(--brand-grey-3);
  --faint: var(--brand-grey-4);
  --line: var(--brand-line);
  --hair: var(--brand-hair);
  --box: var(--brand-box);
  --accent: var(--brand-accent);      /* white text on it is 4.9:1 */
  --link: var(--brand-link);
  --bad: var(--brand-bad);
  --good: var(--brand-good);
  --g1: var(--brand-g1);
  --g2: var(--brand-g2);
  --wash: linear-gradient(170deg, color-mix(in srgb, var(--brand-g1) 10%, transparent), color-mix(in srgb, var(--brand-g2) 13%, transparent));
  --font: -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, Consolas, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--txt); background: #fff; font-size: 15px; line-height: 1.4; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--brand-link-hover); text-decoration: underline; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── the mark and the word ─────────────────────────────────────────────── */
.mark { position: relative; width: 30px; height: 30px; flex: none; display: inline-block; }
.mark i { position: absolute; width: 20px; height: 20px; border-radius: 6px; }
.mark i.b { left: 0; top: 0; background: linear-gradient(to bottom, transparent 66%, var(--brand-tint) 66% 74%, transparent 74%), linear-gradient(135deg, var(--g1), var(--g2)); }
.mark i.f { right: 0; bottom: 0; border: 1px solid #FFFFFF; background: linear-gradient(to bottom, transparent 40%, var(--g1) 40% 48%, transparent 48%), linear-gradient(135deg, color-mix(in srgb, #FFFFFF 82%, transparent), color-mix(in srgb, var(--g2) 55%, transparent)); box-shadow: 0 1px 3px color-mix(in srgb, var(--brand-ink) 18%, transparent); }
.mark.sm { width: 24px; height: 24px; }
.mark.sm i { width: 16px; height: 16px; border-radius: 5px; }
/* The wordmark is a drawing (Inter SemiBold outlined, DESIGN-BOOK §1b), cropped to cap height:
   its height IS the cap height, 0.55 of the mark's. */
.word { display: block; height: 16.8px; width: auto; }
.word.sm { height: 13.4px; }
.sub { font-size: 12px; color: #7A8794; margin-top: 4px; line-height: 1.35; }

/* ── auth pages: the Split face ────────────────────────────────────────── */
.split { display: flex; min-height: 100vh; }
.col { width: 280px; flex: none; position: relative; overflow: hidden; background: var(--wash); }
.colhd { position: absolute; left: 32px; top: 40px; }
.colhd .word { margin-top: 16px; }
.contours { position: absolute; left: 0; bottom: 0; width: 100%; height: 190px; }
.contours g { fill: none; stroke: var(--g1); stroke-opacity: .22; }
.main { flex: 1; position: relative; padding: 72px 72px 48px; min-width: 0; }
.topr { position: absolute; right: 28px; top: 22px; font-size: 13px; color: var(--dim); }
.form { width: 100%; max-width: 420px; }

@media (max-width: 720px) {
  .split { display: block; }
  .col { width: auto; height: 84px; }
  .colhd { left: 20px; top: 0; height: 84px; display: flex; align-items: center; gap: 10px; }
  .colhd .word { margin-top: 0; height: 13.4px; }
  .colhd .sub { display: none; }
  .colhd .mark { width: 24px; height: 24px; }
  .colhd .mark i { width: 16px; height: 16px; border-radius: 5px; }
  .contours { left: auto; right: -10px; top: 0; width: 200px; height: 84px; }
  .main { padding: 24px 20px 32px; }
  .topr { position: static; margin-bottom: 18px; }
}

/* sign-up steps */
.steps { display: flex; gap: 6px; align-items: center; font-size: 11.5px; color: #7A8794; margin: 0 0 22px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li + li::before { content: ""; width: 14px; height: 1px; background: #C6CFD8; display: inline-block; margin-right: 6px; vertical-align: middle; }
.steps .on { color: var(--accent); font-weight: 600; }
.steps .done { color: var(--good); }

/* ── type ──────────────────────────────────────────────────────────────── */
h1.t { margin: 0; font-size: 24px; font-weight: 650; color: var(--ink); line-height: 1.25; }
h2.s { margin: 0; font-size: 20px; font-weight: 650; color: var(--ink); }
p.d { margin: 8px 0 0; font-size: 14px; color: var(--dim); line-height: 1.55; }
.small { font-size: 12.5px; color: var(--faint); line-height: 1.5; margin-top: 16px; }
.links { font-size: 13.5px; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.bh { font-size: 12px; font-weight: 700; color: var(--faint); margin: 0 0 12px; }
@media (max-width: 720px) { h1.t { font-size: 21px; } h2.s { font-size: 18px; } }

/* ── fields and buttons ────────────────────────────────────────────────── */
.lbl { display: block; font-size: 12px; font-weight: 600; color: var(--brand-grey-2); margin: 20px 0 6px; }
.fld { display: block; width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line);
       background: #fff; font: inherit; font-size: 15px; padding: 0 13px; color: var(--txt); }
.fld:focus { outline: none; border: 1.5px solid var(--g1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-g1) 16%, transparent); }
.fld.bad, .fld[aria-invalid="true"] { border: 1.5px solid var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-bad) 10%, transparent); }
.fld::placeholder { color: #8A97A5; }
.suffix { display: flex; align-items: center; }
.find { display: flex; gap: 8px; align-items: center; }
.find .fld { flex: 1; min-width: 0; }
.find .btn { width: auto; flex: none; padding: 0 20px; }
.find.narrow { max-width: 520px; }
.find .btn.ib { height: 44px; line-height: 44px; }
/* a card that lists one business: its name is a title, not a section label */
.bizhd { min-width: 0; }
.bizk { font-size: 11.5px; font-weight: 600; color: var(--faint); }
.bizname { margin: 1px 0 0; font-size: 17px; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
/* a choice with a title and a line under it */
.radio label:has(.rd) { align-items: flex-start; }
.radio label:has(.rd) input { margin-top: 3px; }
.radio b { display: block; color: var(--ink); font-weight: 600; }
.rd { display: block; font-size: 12.5px; color: var(--faint); margin-top: 2px; line-height: 1.45; }
.suffix .fld { border-radius: 10px 0 0 10px; }
.suffix span { height: 44px; border: 1px solid var(--line); border-left: none; border-radius: 0 10px 10px 0;
               background: #F4F7FA; padding: 0 12px; line-height: 42px; font-size: 15px; color: var(--dim); font-family: var(--mono); }

/* Lagoon light (ruled 2026-10-17): the action button wears the reef gradient,
   so its label is bold; Two roles / Lagoon deep are in reserve (DESIGN-BOOK 1b). */
.btn { display: block; width: 100%; height: 46px; border-radius: 10px; border: none; background: linear-gradient(135deg, var(--g1), var(--g2));
       color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 20px;
       text-align: center; line-height: 46px; padding: 0; }
a.btn:hover { color: #fff; text-decoration: none; }
.btn:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--g1) 88%, var(--brand-ink)), color-mix(in srgb, var(--g2) 88%, var(--brand-ink))); }
.btn:focus-visible, .cp:focus-visible, .nav a:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.btn.ghost { background: #fff; color: var(--link); border: 1px solid var(--brand-edge-strong); line-height: 44px; }
.btn.ghost:hover { background: var(--brand-tint-blue); }
.btn:disabled { background: #C9D3DE; color: #fff; cursor: default; border: none; }
.btn.danger { background: var(--bad); }
.btn.danger:hover { background: #962018; }
.btn.ib { display: inline-block; width: auto; padding: 0 18px; margin-top: 0; height: 40px; line-height: 40px; font-size: 14px; }
.btn.ib.ghost { line-height: 38px; }
.btn svg { vertical-align: -4px; margin-right: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cp { font-size: 12.5px; color: var(--link); background: #fff; border: 1px solid var(--brand-edge-strong); border-radius: 7px;
      padding: 4px 9px; font-family: inherit; cursor: pointer; white-space: nowrap; }
.cp:disabled { color: var(--brand-grey-5); border-color: var(--box); cursor: default; }

/* Turnstile sits in its own box so the layout does not jump when it loads */
.ts { margin-top: 18px; min-height: 65px; }

/* six-digit code */
.code { display: flex; gap: 8px; margin-top: 22px; }
.code input { width: 46px; height: 54px; border-radius: 10px; border: 1px solid var(--line); text-align: center;
              font: inherit; font-size: 22px; font-weight: 600; color: var(--ink); background: #fff; padding: 0; }
.code input:focus { outline: none; border: 1.5px solid var(--g1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-g1) 16%, transparent); }
.code.bad input { border: 1.5px solid var(--bad); }
@media (max-width: 720px) { .code input { width: 42px; height: 50px; } }

/* ── messages ──────────────────────────────────────────────────────────── */
.alert { margin-top: 18px; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5;
         display: flex; gap: 10px; align-items: flex-start; }
.alert svg { flex: none; margin-top: 1px; }
.alert.bad  { background: color-mix(in srgb, var(--brand-bad) 7%, transparent); border: 1px solid color-mix(in srgb, var(--brand-bad) 22%, transparent); color: #7E1A14; }
.alert.warn { background: rgba(196,133,23,.10); border: 1px solid rgba(196,133,23,.30); color: #6B4600; }
.alert.info { background: color-mix(in srgb, var(--brand-g1) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand-g1) 22%, transparent); color: #0F3F55; }
.alert.rate { background: color-mix(in srgb, var(--brand-grey-3) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand-grey-3) 22%, transparent); color: var(--brand-grey-1); }
.alert.good { background: rgba(40,154,62,.08); border: 1px solid rgba(40,154,62,.25); color: #155C26; }

/* password fields: stacked, one per line, an eye inside each to show/hide */
.pwform { max-width: 380px; }
.pwform .lbl:first-child { margin-top: 4px; }
.pwform .lbl { margin-top: 14px; }
.pwform .btn { margin-top: 18px; }
.fld[readonly] { background: var(--brand-tint); color: var(--dim); }
.pwf { position: relative; }
.pwf .fld { padding-right: 46px; }
.eye { position: absolute; top: 0; right: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
       background: none; border: none; border-radius: 0 10px 10px 0; color: var(--dim); cursor: pointer; padding: 0; }
.eye:hover { color: var(--brand-accent-deep); }
.eye:focus-visible { outline: 2px solid var(--g1); outline-offset: -4px; }
.eye .c, .eye[aria-pressed="true"] .o { display: none; }
.eye[aria-pressed="true"] .c { display: block; }
.hint { font-size: 12.5px; color: var(--faint); margin: 6px 0 0; line-height: 1.45; }

/* "?" help link under a page's lead line; opens an explaining dialog */
.help { margin: 10px 0 0; font-size: 13.5px; }
.help .linkbtn { display: inline-flex; gap: 8px; align-items: center; }
.qm { width: 18px; height: 18px; border-radius: 9px; flex: none; display: inline-flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 700; line-height: 1; color: var(--brand-accent-deep);
      background: color-mix(in srgb, var(--brand-g1) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand-g1) 30%, transparent); }

.wait { margin-top: 24px; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 12px;
        background: color-mix(in srgb, var(--brand-g1) 6%, transparent); border: 1px solid color-mix(in srgb, var(--brand-g1) 18%, transparent); font-size: 14px; color: #0F3F55; }
.ring { width: 30px; height: 30px; border-radius: 15px; border: 3px solid color-mix(in srgb, var(--brand-g1) 20%, transparent);
        border-top-color: var(--g1); flex: none; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.codes { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px;
         padding: 16px 18px 16px 44px; border-radius: 12px; background: var(--brand-tint); border: 1px solid var(--box);
         font-family: var(--mono); font-size: 15px; color: var(--ink); }
.codes li::marker { color: #8A97A5; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 0; }

/* bars: <progress> for preparing, <meter> for AI use */
progress, meter { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px;
                  border: none; border-radius: 3px; background: color-mix(in srgb, var(--brand-accent) 12%, transparent); overflow: hidden; }
progress::-webkit-progress-bar, meter::-webkit-meter-bar { background: color-mix(in srgb, var(--brand-accent) 12%, transparent); border-radius: 3px; border: none; height: 6px; }
progress::-webkit-progress-value, meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value,
meter::-webkit-meter-even-less-good-value { background: linear-gradient(90deg, var(--g1), var(--g2)); border-radius: 3px; }
progress::-moz-progress-bar, meter::-moz-meter-bar { background: linear-gradient(90deg, var(--g1), var(--g2)); border-radius: 3px; }
progress:not([value]) { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-accent) 12%, transparent) 0%, color-mix(in srgb, var(--brand-g1) 60%, transparent) 50%, color-mix(in srgb, var(--brand-accent) 12%, transparent) 100%);
                        background-size: 200% 100%; animation: slide 1.6s linear infinite; }
progress:not([value])::-webkit-progress-bar { background: transparent; }
progress:not([value])::-moz-progress-bar { background: transparent; }
@keyframes slide { from { background-position: 100% 0; } to { background-position: -100% 0; } }
progress.stalled:not([value]) { animation: none; background: var(--brand-box); }

.make { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--brand-grey-1); padding: 0; list-style: none; }
.make li { display: flex; gap: 10px; align-items: center; }
.big { text-align: center; padding-top: 20px; }
.ic { width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--brand-g1) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand-g1) 18%, transparent);
      display: flex; align-items: center; justify-content: center; flex: none; }
.ic.lg { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px; }
.ic.md { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }

/* ── signed-in pages: header, nav, content ─────────────────────────────── */
.dtop { height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 24px; border-bottom: 1px solid var(--hair);
        background: linear-gradient(90deg, color-mix(in srgb, var(--brand-g1) 7%, transparent), color-mix(in srgb, var(--brand-g2) 5%, transparent) 40%, #fff 70%); }
.dtop .area { font-size: 13px; color: #7A8794; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--brand-edge); }
.dtop .who { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--dim); }
.dbody { display: flex; min-height: calc(100vh - 58px); }
.nav { width: 212px; flex: none; padding: 20px 12px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 2px; }
.nav a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--brand-grey-1); }
.nav a:hover { background: #F4F7FA; text-decoration: none; }
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--brand-g1) 10%, transparent); color: var(--brand-accent-deep); font-weight: 600; }
.dmain { flex: 1; padding: 26px 32px 40px; min-width: 0; max-width: 1040px; }
@media (max-width: 720px) {
  .dtop { height: 54px; padding: 0 16px; }
  .dtop .area, .dtop .email { display: none; }
  .dtop .who .btn { height: 34px; line-height: 32px; padding: 0 12px; }
  .dbody { display: block; }
  .nav { width: auto; flex-direction: row; gap: 6px; padding: 10px 12px; border-right: none; border-bottom: 1px solid var(--hair);
         overflow-x: auto; white-space: nowrap; }
  .nav a { display: inline-block; padding: 7px 12px; border-radius: 16px; font-size: 13px; background: #F4F7FA; }
  .dmain { padding: 18px 16px 28px; }
}

.hrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hrow .btn { margin-left: auto; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: #EEF2F6; color: var(--brand-grey-2); }
.chip.ok { background: rgba(40,154,62,.12); color: #1E6B30; }
.chip.pend { background: color-mix(in srgb, var(--brand-g1) 12%, transparent); color: var(--brand-accent-deep); }
.chip.wn { background: rgba(196,133,23,.14); color: #7A5000; }
.chip.bd { background: color-mix(in srgb, var(--brand-bad) 10%, transparent); color: #9B2018; }

.grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.grid.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .grid, .grid.even { grid-template-columns: minmax(0, 1fr); gap: 14px; } .stack { gap: 14px; } }

.box { border: 1px solid var(--box); border-radius: 12px; padding: 18px 20px; background: #fff; }
/* side-by-side action cards (Export & cancel): equal height, the action in a
   footer pinned to the bottom -- a muted note left, the button right */
.grid.cards { align-items: stretch; }
.box.card { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; }
.box.card .bh { margin: 0; }
.box.card .alert, .box.card .small { margin-top: 0; }
.cfoot { margin-top: auto; padding-top: 20px; border-top: 1px solid #EEF2F6; display: flex; flex-wrap: wrap;
         align-items: center; justify-content: space-between; gap: 10px 14px; }
.cfoot .note { font-size: 13px; color: var(--dim); }
.cfoot .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) { .box.card { padding: 16px; } }
.btn.danger.line { background: #fff; color: var(--bad); border: 1.5px solid var(--bad); line-height: 37px; }
.btn.danger.line:hover { background: color-mix(in srgb, var(--brand-bad) 6%, transparent); }
.btn.danger.line:disabled { background: #fff; color: var(--brand-grey-5); border-color: var(--box); }
.box.tint {background: linear-gradient(160deg, color-mix(in srgb, var(--brand-g1) 5%, transparent), color-mix(in srgb, var(--brand-g2) 5%, transparent)); border-color: color-mix(in srgb, var(--brand-g1) 18%, transparent); }
@media (max-width: 720px) { .box { padding: 16px; } }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #EEF2F6; font-size: 14px; flex-wrap: wrap; }
.kv:first-child { border-top: none; }
.kv .k { color: var(--dim); }
.kv .v { font-family: var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.usage { font-size: 15px; color: var(--dim); margin-bottom: 12px; }
.usage b { font-size: 22px; color: var(--ink); }
.pw { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--brand-tint);
      border: 1px dashed #8FC3CC; font-family: var(--mono); font-size: 18px; color: var(--ink); overflow-wrap: anywhere; }
.pw .cp { margin-left: auto; font-family: var(--font); }

.list { margin: 16px 0 0; padding: 0; list-style: none; border: 1px solid var(--box); border-radius: 12px; overflow: hidden; }
.li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-top: 1px solid #EEF2F6; font-size: 14px; background: #fff; }
.li:first-child { border-top: none; }
.li .who2 { flex: 1 1 150px; min-width: 0; }
.li .nm { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.li .mt { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.li .mt .chip { margin-left: 6px; vertical-align: 1px; }
.li .act { margin-left: auto; display: flex; gap: 8px; flex: none; align-items: center; }
.li.ed { background: var(--brand-tint); }
.li.ed .fld { height: 38px; flex: 1 1 160px; }
.li.empty { color: var(--faint); }

.radio { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; padding: 0; border: none; }
.radio label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--box); border-radius: 10px; font-size: 14px; cursor: pointer; }
.radio label:has(input:checked) { border-color: var(--g1); background: color-mix(in srgb, var(--brand-g1) 6%, transparent); }
.radio input { margin: 0; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.tbl th { text-align: left; font-size: 12px; color: var(--faint); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--box); }
.tbl td { padding: 10px 0; border-bottom: 1px solid #EEF2F6; }
.tbl .r { text-align: right; }

.plan { border: 1px solid var(--box); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.plan.cur { border-color: color-mix(in srgb, var(--brand-g1) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--brand-g1) 6%, transparent), color-mix(in srgb, var(--brand-g2) 6%, transparent)); }
.plan .pn { font-size: 15px; font-weight: 650; color: var(--ink); }
.plan .pp { font-size: 28px; font-weight: 700; color: var(--ink); }
.plan .pp span { font-size: 14px; font-weight: 400; color: var(--faint); }
.plan .pd { font-size: 14px; color: var(--brand-grey-2); }
.plan ul { margin: 6px 0 0; padding: 0 0 0 18px; font-size: 13.5px; color: var(--brand-grey-1); line-height: 1.7; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 18px; }

/* banners: trial ending / past due / suspended / cancelled */
.banner { display: flex; gap: 12px; align-items: center; padding: 12px 24px; font-size: 13.5px; line-height: 1.45; border-bottom: 1px solid; }
.banner .btn { margin: 0 0 0 auto; flex: none; }
.banner svg { flex: none; }
.banner.info { background: color-mix(in srgb, var(--brand-g1) 8%, transparent); border-color: color-mix(in srgb, var(--brand-g1) 22%, transparent); color: #0F3F55; }
.banner.warn { background: #FFF6E3; border-color: rgba(196,133,23,.35); color: #5E3E00; }
.banner.bad  { background: #FCEEEC; border-color: color-mix(in srgb, var(--brand-bad) 25%, transparent); color: #7E1A14; }
.banner.mute { background: #F2F4F7; border-color: var(--brand-edge); color: var(--brand-grey-1); }
@media (max-width: 720px) {
  .banner { flex-wrap: wrap; padding: 12px 16px; }
  .banner .btn { margin: 6px 0 0; width: 100%; }
}

/* dialogs: the step-up and the cancel confirmation */
dialog { border: none; border-radius: 16px; padding: 26px; width: min(420px, calc(100vw - 32px));
         box-shadow: 0 20px 50px rgba(10,30,60,.25); color: var(--txt); }
dialog::backdrop { background: color-mix(in srgb, var(--brand-ink) 32%, transparent); }
dialog h3 { margin: 0; font-size: 19px; color: var(--ink); }
dialog ul { margin: 12px 0 0; padding: 0 0 0 18px; font-size: 14px; color: var(--brand-grey-1); line-height: 1.6; }
dialog .ic { margin-bottom: 14px; }
.mrow { display: flex; gap: 10px; margin-top: 22px; justify-content: flex-end; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .ring, progress:not([value]) { animation: none; }
}

/* ── small utilities ───────────────────────────────────────────────────── */
.linkbtn { background: none; border: none; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--brand-link-hover); text-decoration: underline; }
.fs { border: none; margin: 0; padding: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 6px; }
.m0 { margin: 0; }
.mt10 { margin-top: 10px; }
.mt12 { margin-top: 12px; }
.mt6 { margin-top: 6px; }
.mt14 { margin-top: 14px; }
.mt22 { margin-top: 22px; }
.mt18 { margin-top: 18px; }
.mt24 { margin-top: 24px; }
.mb14 { margin-bottom: 14px; }
/* The invited member's three steps on the account page (app.js joinGuide). */
.guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.guide .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; background: #fff; border: 1.5px solid #C6CFD8; color: var(--faint); }
.guide li.on .n { border-color: var(--accent); color: var(--accent); }
.guide li.on > div > b { color: var(--accent); }
.guide li.done .n { background: var(--good); border-color: var(--good); color: #fff; }
.guide li.done > div > b { color: var(--good); }
.guide .small { margin-top: 2px; }
.flash { animation: fvflash 1.6s ease-out 1; }
@keyframes fvflash { 0% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.li .pw { flex-basis: 100%; margin-top: 4px; }
.li .small { flex-basis: 100%; margin-top: 0; }
