/* Athanor Pay design system (tmathson, 2026-11-14; tokens and rules in athanor-pay/brand/KIT.md).
   A money house in the Athanor family: night and gold, Fraunces for titles, Inter for everything read, Plex Mono for ids and keys.
   Selectors are the ones app.js renders; change the look here, not in the JS. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  /* The Athanor suite look (owner 2026-11-17: Pay, mongooseathanor.com and Athanor Cloud are one entity; light, not dark). The exact values
     of mongooseathanor.com (athanor-site/public/site.css) and Athanor Cloud's light theme (athanor-os/public/app.css), which are also the
     LLC's Stripe branding (ink #16150f, gold #a8841b). The old night look stays under data-theme="dark". */
  /* surfaces */
  --bg: #faf8f3; --bg-2: #f2eee4; --panel: #ffffff; --panel-2: #f6f3ec; --raise: #efe8d9;
  --line: rgba(22, 21, 15, .10); --line-2: rgba(22, 21, 15, .20);
  /* text */
  --ink: #16150f; --ink-2: #3b3830; --mute: #6a6558;
  /* the gold: --gold for marks, rules and primary actions; --gold-l for links and numbers that matter (4.5:1 on paper) */
  --gold: #a8841b; --gold-l: #8a6c12; --gold-d: #6f560e; --gold-ink: #ffffff; --gold-wash: rgba(168, 132, 27, .10);
  /* states (darker for paper) */
  --good: #2e7d4f; --warn: #9a6400; --bad: #b3402a; --stop: #c62828; --info: #2f6fa8;
  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Consolas, monospace;
  /* shape */
  --r: 12px; --r-sm: 8px; --r-xs: 6px;
  --shadow: 0 1px 2px rgba(22, 21, 15, .05), 0 10px 30px -20px rgba(40, 30, 10, .28);
  --veil: rgba(250, 248, 243, .92);
  color-scheme: light;
}
:root[data-theme="dark"] {
  /* surfaces */
  --bg: #0c0b09; --bg-2: #121009; --panel: #17150f; --panel-2: #1f1c15; --raise: #26221a;
  --line: rgba(237, 232, 221, .09); --line-2: rgba(237, 232, 221, .17);
  /* text */
  --ink: #efe9dc; --ink-2: #c9c1b0; --mute: #8f8877;
  /* the gold: --gold for marks, rules and primary actions; --gold-l for links and numbers that matter */
  --gold: #c9a227; --gold-l: #e2c065; --gold-d: #8a6c12; --gold-ink: #16150f; --gold-wash: rgba(201, 162, 39, .10);
  /* states */
  --good: #6fbf8e; --warn: #e0b34a; --bad: #e07a5f; --stop: #ff5a5a; --info: #7fa8d6;
  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Consolas, monospace;
  /* shape */
  --r: 12px; --r-sm: 8px; --r-xs: 6px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px -18px rgba(0, 0, 0, .9);
  --veil: rgba(12, 11, 9, .92);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-l); text-decoration-color: rgba(138, 108, 18, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; border-radius: 4px; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }

/* the header: the lockup, a hairline gold rule (the "security thread") */
.top { display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1.5rem; position: sticky; top: 0; z-index: 5;
  background: var(--veil); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 132, 27, .55) 18%, rgba(138, 108, 18, .8) 50%, rgba(168, 132, 27, .55) 82%, transparent); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { display: block; height: 30px; width: auto; }
.demo-badge { background: var(--gold-wash); color: var(--gold-l); border: 1px solid rgba(168, 132, 27, .45); border-radius: 99px; padding: .12rem .7rem; font-size: .75rem; font-weight: 550; letter-spacing: .02em; }
.apply { margin-left: auto; font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.apply + .apply { margin-left: 0; }
.apply:hover { color: var(--gold-l); }

/* the shell */
.shell { display: grid; grid-template-columns: 210px 1fr; min-height: calc(100vh - 56px); }
.side { border-right: 1px solid var(--line); padding: 1.1rem .7rem; display: flex; flex-direction: column; gap: .15rem; background: var(--bg-2); }
.side button { text-align: left; background: none; border: 0; color: var(--ink-2); padding: .55rem .85rem; border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; font-weight: 500; }
.side button:hover { background: var(--panel); color: var(--ink); }
.side button[aria-current="true"] { background: var(--panel-2); color: var(--gold-l); box-shadow: inset 2px 0 0 var(--gold); }
main { padding: 1.7rem 2rem 3.5rem; min-width: 0; max-width: 1280px; }

/* type */
h1 { font: 600 1.75rem/1.2 var(--serif); letter-spacing: -.005em; margin-bottom: .25rem; font-variation-settings: 'opsz' 72; }
h2 { display: flex; align-items: center; gap: .7rem; font: 600 .74rem/1 var(--sans); margin: 2rem 0 .8rem; color: var(--gold-l); letter-spacing: .14em; text-transform: uppercase; }
h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
h3 { font: 600 1rem/1.3 var(--sans); margin-bottom: .3rem; }
.sub, .muted { color: var(--mute); }
.sub { margin-bottom: 1.4rem; max-width: 70ch; }

/* figures */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem 1.05rem; box-shadow: var(--shadow); overflow: hidden; }
.tile::before { content: ''; position: absolute; left: 1.1rem; right: 1.1rem; top: 0; height: 1px; background: linear-gradient(90deg, rgba(168, 132, 27, .7), transparent); }
.tile .k { color: var(--mute); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.tile .v { font-size: 1.6rem; font-weight: 600; margin-top: .3rem; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.015em; }
.tile .n { color: var(--mute); font-size: .8rem; margin-top: .1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.chart svg { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--gold); opacity: .78; transition: opacity .15s; } .chart .bar:hover { opacity: 1; }
.chart text { fill: var(--mute); font: 10px var(--sans); }

/* tables: hairlines, tabular figures, quiet headers */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
th { color: var(--mute); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; border-bottom-color: var(--line-2); white-space: nowrap; }
td.num, th.num { text-align: right; }
td.num { font-weight: 550; white-space: nowrap; }
tbody tr { transition: background .12s; }
tbody tr.click { cursor: pointer; } tbody tr.click:hover { background: var(--panel-2); }
tbody tr:last-child td { border-bottom: 0; }

/* status pills: a dot and a word, never colour alone */
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .08rem .55rem .08rem .45rem; border-radius: 99px; font-size: .74rem; font-weight: 550; border: 1px solid var(--line-2); white-space: nowrap; color: var(--ink-2); background: rgba(22, 21, 15, .02); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.s-succeeded, .s-matched, .s-won, .s-active { color: var(--good); border-color: rgba(111, 191, 142, .35); background: rgba(111, 191, 142, .07); }
.s-declined, .s-failed, .s-lost, .s-short, .s-late, .s-stop { color: var(--bad); border-color: rgba(224, 122, 95, .38); background: rgba(224, 122, 95, .07); }
.s-refunded, .s-partially_refunded, .s-expected, .s-under_review, .s-watch, .s-planned { color: var(--warn); border-color: rgba(224, 179, 74, .35); background: rgba(224, 179, 74, .06); }
.s-disputed, .s-needs_response, .s-act { color: #ff9f7a; border-color: rgba(255, 159, 122, .38); background: rgba(255, 159, 122, .07); }
.s-built { color: var(--gold-l); border-color: rgba(168, 132, 27, .4); background: var(--gold-wash); }

/* controls */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
input, select, textarea { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .5rem .65rem; font: inherit; font-size: .92rem; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
input::placeholder, textarea::placeholder { color: #6d6758; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: linear-gradient(180deg, #d8b23c, var(--gold)); color: var(--gold-ink); border: 1px solid #b8921f; border-radius: var(--r-sm); padding: .5rem 1.05rem; font-weight: 650; font-size: .9rem; cursor: pointer; text-decoration: none; box-shadow: 0 1px 0 rgba(255, 240, 190, .35) inset; transition: filter .12s, transform .06s; }
.btn:hover { filter: brightness(1.07); } .btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn.ghost { background: none; color: var(--gold-l); border: 1px solid rgba(168, 132, 27, .55); box-shadow: none; }
.btn.ghost:hover { background: var(--gold-wash); filter: none; }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }

/* routing */
.route { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .75rem .95rem; margin-top: .6rem; background: var(--bg-2); }
.route.win { border-color: rgba(168, 132, 27, .6); background: linear-gradient(180deg, rgba(168, 132, 27, .08), rgba(168, 132, 27, .02)); }
.route ul { margin: .35rem 0 0 1.1rem; color: var(--mute); font-size: .86rem; }

/* risk */
.alert { border: 1px solid var(--line); border-left: 3px solid var(--warn); background: var(--panel); padding: .75rem .95rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: .6rem; }
.alert.act { border-left-color: #ff9f7a; } .alert.stop { border-left-color: var(--stop); background: linear-gradient(90deg, rgba(255, 90, 90, .07), var(--panel) 40%); }
.alert .do { color: var(--mute); font-size: .86rem; margin-top: .25rem; }
.meter { height: 6px; background: var(--raise); border-radius: 9px; overflow: hidden; margin-top: .35rem; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); border-radius: 9px; }
.note { color: var(--mute); font-size: .84rem; margin-top: .7rem; }

/* the drawer */
.drawer { position: fixed; inset: 0; background: rgba(22, 21, 15, .35); backdrop-filter: blur(2px); display: flex; justify-content: flex-end; z-index: 20; }
.drawer[hidden] { display: none; }
.drawer-in { width: min(580px, 100%); background: var(--panel); height: 100%; overflow: auto; padding: 1.6rem 1.5rem; border-left: 1px solid var(--line-2); position: relative; box-shadow: -30px 0 60px -30px #000; }
.x { position: absolute; right: .9rem; top: .55rem; background: none; border: 0; color: var(--mute); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; border-radius: var(--r-xs); }
.x:hover { color: var(--ink); background: var(--panel-2); }
dl { display: grid; grid-template-columns: 150px 1fr; gap: .45rem .9rem; font-size: .9rem; } dt { color: var(--mute); } dd { word-break: break-word; }

/* forms (application, onboarding) */
.form { max-width: 760px; margin: 0 auto; padding: 2rem 1.4rem 4rem; }
.form label { display: block; margin: 1.05rem 0 .35rem; font-weight: 550; font-size: .92rem; }
.form .hint { color: var(--mute); font-size: .84rem; font-weight: 400; }
.form input, .form textarea, .form select { width: 100%; }
.form textarea { min-height: 4.5rem; }
.hp { position: absolute; left: -9999px; }

.amt { width: 9rem; } .mt { margin-top: .9rem; }
.owner { padding: .32rem .8rem; font-size: .84rem; }
.ownerform { display: flex; gap: .4rem; } .ownerform[hidden] { display: none; }
.sr { position: absolute; left: -9999px; }

@media (max-width: 760px) {
  .top { padding: .6rem 1rem; gap: .7rem; flex-wrap: wrap; }
  .brand img { height: 26px; }
  .shell { grid-template-columns: 1fr; }
  .side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: .5rem; }
  .side button { white-space: nowrap; }
  .side button[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--gold); }
  main { padding: 1.1rem 1rem 2.5rem; }
  h1 { font-size: 1.45rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .tile { padding: .85rem .9rem; } .tile .v { font-size: 1.3rem; }
  .card { overflow-x: auto; padding: .9rem; }
  th, td { padding: .5rem .5rem; font-size: .86rem; }
  .ownerform { width: 100%; } .ownerform input { flex: 1; }
  .apply { display: none; }
  dl { grid-template-columns: 1fr; } dt { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* owner tools (auctusclan) */
.full { width: 100%; } .grow { flex: 1; min-width: 14rem; } .lbl { display: block; margin: .8rem 0 .3rem; color: var(--mute); font-size: .85rem; }
#drawer textarea { background: var(--bg-2, #18150f); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .6rem; font: inherit; }

/* support line under the portal nav (fiatfriends, BUILD_PLAN item 2) */
.navhelp { margin-top: 1.5rem; font-size: .85rem; line-height: 1.5; }

/* sign-in screens (portal, console): the mark above a sealed card (tmathson, brand kit) */
.portal-signin { margin-top: 10vh; }
.portal-signin::before { content: ''; display: block; width: 72px; height: 72px; margin: 0 auto 1.4rem; background: url('/brand/athanor-pay-mark.svg') center / contain no-repeat; }
.portal-signin .card { position: relative; overflow: hidden; padding: 2.2rem 1.8rem 1.7rem; border-color: var(--line-2); box-shadow: 0 30px 60px -36px rgba(40, 30, 10, .35); }
.portal-signin .card::before, .paybox::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.navhelp a { color: var(--ink-2); }
/* invoices and statements: a ruled total row */
tfoot th, tfoot td { color: var(--ink); font-size: .95rem; font-weight: 650; text-transform: none; letter-spacing: 0; border-top: 1px solid var(--line-2); border-bottom: 0; padding-top: .75rem; }
.paybox table { margin: .4rem 0 1rem; }

/* print: invoices, statements and any table print as paper (ink on white, the mark kept, the chrome dropped) (tmathson, brand kit) */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --panel: #fff; --panel-2: #fff; --raise: #eee; --line: #d9d4c8; --line-2: #b9b2a2;
    --ink: #16150f; --ink-2: #3b3830; --mute: #6a6558; --gold: #8a6c12; --gold-l: #8a6c12; color-scheme: light; }
  body { background: #fff; color: #16150f; font-size: 11pt; }
  .top { position: static; background: none; backdrop-filter: none; border-bottom: 1px solid #8a6c12; }
  .top::after, .side, .apply, .owner, .ownerform, .demo-badge, .btn, .filters, .drawer, .navhelp { display: none !important; }
  .brand img { content: url('/brand/athanor-pay-lockup-ink.svg'); height: 28px; }
  .shell { display: block; } main { padding: 1rem 0; max-width: none; }
  .card, .tile, .paybox, .portal-signin .card { box-shadow: none !important; border-color: #d9d4c8; background: #fff; break-inside: avoid; }
  .paybox::before, .portal-signin .card::before, .tile::before { display: none; }
  .paybody { background: #fff; min-height: 0; display: block; padding: 0; } .paybox { width: 100%; border: 0; padding: 0; }
  .payfoot { justify-content: flex-start; }
  a { color: #16150f; text-decoration: none; }
  .pill { background: none !important; }
  thead { display: table-header-group; } tr { break-inside: avoid; }
  pre, .doc pre { background: #f6f3ec !important; color: #16150f !important; border: 1px solid #d9d4c8; white-space: pre-wrap; word-break: break-all; }
  code, .doc code { background: #f2eee4 !important; color: #3b3830 !important; }
  pre code, .doc pre code { background: none !important; }
}

/* for-businesses page (auctusclan's copy; layout tmathson, brand kit): a hero with the faceted seal, numbered step cards, a 2x2 of
   what you get, a sealed "never" panel and a closing panel */
.pitch { max-width: 1040px; margin: 0 auto; padding: 2.2rem 1.6rem 4rem; }
.pitch h2 { margin-top: 2.8rem; }
.pitch .eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: .7rem; }
.pitch .btn { margin: .3rem .4rem .3rem 0; }
.pitch .cta { margin-top: 1.2rem; }
.pitch-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2.4rem; align-items: center; padding: 1.4rem 0 2rem; border-bottom: 1px solid var(--line); }
.pitch-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1rem; }
.pitch-hero .sub { font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }
.pitch-seal { width: 100%; max-width: 340px; height: auto; justify-self: center; filter: drop-shadow(0 24px 40px rgba(40, 30, 10, .22)) drop-shadow(0 0 60px rgba(168, 132, 27, .12)); }
.pitch-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.pitch-steps li { counter-increment: step; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 3.4rem 1.2rem 1.2rem; color: var(--ink-2); line-height: 1.6; font-size: .94rem; box-shadow: var(--shadow); }
.pitch-steps li::before { content: counter(step, upper-roman); position: absolute; left: 1.2rem; top: .95rem; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; color: var(--gold); line-height: 1; }
.pitch-steps li::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; top: 0; height: 1px; background: linear-gradient(90deg, rgba(168, 132, 27, .7), transparent); }
.pitch-steps strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }
.pitch-gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.pitch-gets .tile { padding: 1.15rem 1.25rem 1.2rem; }
.pitch-gets .tile strong { font-size: 1.02rem; }
.pitch-gets .tile p { margin-top: .35rem; line-height: 1.55; }
.pitch-never { list-style: none; background: var(--bg-2); border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; padding: .5rem 1.4rem; }
.pitch-never li { position: relative; padding: .75rem 0 .75rem 1.9rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.pitch-never li:last-child { border-bottom: 0; }
.pitch-never li::before, .pitch-never li::after { content: ''; position: absolute; left: .1rem; top: calc(50% - .5px); width: .9rem; height: 1.5px; background: var(--gold); transform: rotate(45deg); }
.pitch-never li::after { transform: rotate(-45deg); }
.pitch-close { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; margin-top: 2.8rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: .2rem 1.6rem 1.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.pitch-close::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.pitch-close h2 { margin-top: 1.4rem; }
.pitch-close p { color: var(--ink-2); line-height: 1.6; }
.pitch > .note { margin-top: 1.4rem; }
@media (max-width: 820px) {
  .pitch { padding: 1.2rem 1rem 3rem; }
  .pitch h2 { margin-top: 2.2rem; }
  .pitch-hero { grid-template-columns: 1fr; gap: .8rem; padding-top: .4rem; }
  .pitch-seal { order: -1; max-width: 112px; justify-self: start; }
  .pitch-steps, .pitch-gets, .pitch-close { grid-template-columns: 1fr; }
  .pitch-close { gap: 0; }
}
@media print { .pitch-seal { filter: none; max-width: 110px; } .pitch-steps li, .pitch-close, .pitch-never { background: #fff; box-shadow: none; } }

/* the landing page at / for anyone not signed in (welcome/, served by gate.js; tmathson, brand kit). Night and gold, one idea per
   band: the hero and seal, how a payment moves (a coded diagram, no figures), what's in one place, the pledge, developers, two doors. */
.land-nav { margin-left: auto; display: flex; gap: 1.1rem; align-items: center; }
.land-nav .apply { margin-left: 0; }
.land-main { max-width: 1120px; margin: 0 auto; padding: 0 1.6rem 3rem; }
.land h2 { font: 600 clamp(1.45rem, 2.6vw, 2rem)/1.15 var(--serif); color: var(--ink); letter-spacing: -.01em; text-transform: none; margin: 0 0 .8rem; text-wrap: balance; display: block; }
.land h2::after { display: none; }
.land .eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: .8rem; }
.land .cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.land .btn { padding: .62rem 1.15rem; }

/* hero */
.land-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; min-height: min(78vh, 640px); padding: 3.5rem 0 3rem; }
.land-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.2rem; text-wrap: balance; }
.land .lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.land-notice { margin-top: 1.3rem; max-width: 54ch; background: var(--panel); border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .75rem 1rem; color: var(--ink); font-size: .94rem; line-height: 1.5; }
.land-invite { display: flex; align-items: center; gap: .55rem; margin-top: 1.1rem; color: var(--mute); font-size: .86rem; }
.land-invite .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); flex-shrink: 0; }
.land-seal-wrap { position: relative; justify-self: center; width: 100%; max-width: 400px; aspect-ratio: 1; display: grid; place-items: center; }
.land-seal-wrap::before { content: ''; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 132, 27, .16), rgba(168, 132, 27, .05) 55%, transparent 72%); }
.land-seal-wrap::after { content: ''; position: absolute; inset: -4%; border-radius: 50%; border: 1px solid rgba(168, 132, 27, .14); }
.land-seal { position: relative; width: 100%; height: auto; filter: drop-shadow(0 28px 44px rgba(40, 30, 10, .22)); animation: land-float 9s ease-in-out infinite; }
@keyframes land-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* how a payment moves */
.land-flow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; padding: 3.2rem 0; border-top: 1px solid var(--line); }
.land-flow-copy p { color: var(--ink-2); line-height: 1.65; max-width: 52ch; }
.land-more { display: inline-block; margin-top: 1rem; color: var(--gold-l); text-decoration: none; font-weight: 600; font-size: .92rem; }
.land-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.land-diagram { margin: 0; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; justify-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.land-diagram::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.ld-node { display: flex; align-items: center; gap: .7rem; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: .65rem 1rem; min-width: 210px; justify-content: center; }
.ld-node > span, .ld-router > span > span { display: block; }
.ld-node .ld-k, .ld-accounts .ld-k { color: var(--mute); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ld-node .ld-v { color: var(--ink); font-weight: 600; font-size: .95rem; }
.ld-buyer, .ld-bank { flex-direction: column; gap: .1rem; }
.ld-router { border-color: rgba(168, 132, 27, .55); background: linear-gradient(180deg, var(--panel), var(--panel-2)); box-shadow: 0 0 0 4px var(--gold-wash); }
.ld-router img { display: block; }
.ld-line { position: relative; width: 2px; height: 30px; background: var(--line-2); overflow: hidden; }
.ld-line i { position: absolute; left: 0; top: -12px; width: 2px; height: 12px; background: linear-gradient(180deg, transparent, var(--gold-l)); animation: ld-pulse 2.4s linear infinite; }
.ld-line:nth-of-type(2) i { animation-delay: .6s; } .ld-line:nth-of-type(3) i { animation-delay: 1.2s; }
@keyframes ld-pulse { to { top: 30px; } }
.ld-accounts { list-style: none; width: 100%; max-width: 440px; display: grid; gap: .45rem; }
.ld-accounts li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .85rem; }
.ld-accounts li.win { border-color: rgba(168, 132, 27, .6); background: linear-gradient(90deg, var(--gold-wash), transparent 70%), var(--panel); }
.ld-accounts li.win .ld-k { color: var(--ink); }
.ld-accounts li.off { opacity: .62; }
.ld-accounts li.off .ld-k { text-decoration: line-through; text-decoration-color: rgba(237, 232, 221, .3); }

/* capabilities */
.land-section { padding: 3.2rem 0; border-top: 1px solid var(--line); }
.land-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 1.4rem; }
.land-caps article { background: var(--bg); padding: 1.5rem 1.4rem 1.6rem; transition: background .2s; }
.land-caps article:hover { background: var(--panel); }
.cap-n { display: block; font: 600 1.2rem/1 var(--serif); color: var(--gold); margin-bottom: .9rem; }
.land-caps h3 { font-size: 1.04rem; color: var(--ink); margin-bottom: .4rem; }
.land-caps p { color: var(--mute); font-size: .92rem; line-height: 1.6; }

/* the pledge */
.land-pledge { margin: 1rem 0 0; padding: 2.2rem 2rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; position: relative; overflow: hidden; }
.land-pledge::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold-l), var(--gold-d)); }
.land-pledge ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1rem; }
.land-pledge li { color: var(--mute); line-height: 1.6; font-size: .93rem; padding-top: 1rem; border-top: 1px solid rgba(168, 132, 27, .35); }
.land-pledge strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }

/* developers */
.land-dev { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.6rem; align-items: center; padding: 3.4rem 0; }
.land-dev p { color: var(--ink-2); line-height: 1.65; margin-bottom: 1.2rem; max-width: 48ch; }
.land-code { margin: 0; background: #0a0907; border: 1px solid var(--line-2); border-radius: 14px; padding: 1.2rem 1.3rem; font: 500 .84rem/1.75 var(--mono); color: var(--ink-2); overflow-x: auto; box-shadow: var(--shadow); }
.land-code .c-k { color: var(--gold-l); } .land-code .c-m { color: var(--mute); } .land-code .c-s { color: #d9c690; }

/* two doors */
.land-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0 0 1rem; }
.door { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem 1.7rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.door::before { content: ''; position: absolute; left: 1.7rem; right: 1.7rem; top: 0; height: 1px; background: linear-gradient(90deg, rgba(168, 132, 27, .8), transparent); }
.door p { color: var(--ink-2); line-height: 1.6; }

/* footer */
.land-foot { border-top: 1px solid var(--line); margin-top: 2rem; padding: 2rem 1.6rem 2.6rem; max-width: 1120px; margin-inline: auto; color: var(--mute); font-size: .88rem; }
.land-foot-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.land-foot-top img { display: block; height: 24px; width: auto; opacity: .9; }
.land-foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.land-foot a { color: var(--ink-2); text-decoration: none; } .land-foot a:hover { color: var(--gold-l); }
.land-foot .note { max-width: 80ch; }

@media (max-width: 900px) {
  .land-main { padding: 0 1rem 2rem; }
  .land-hero { grid-template-columns: 1fr; min-height: 0; gap: 1.2rem; padding: 1.6rem 0 2.2rem; }
  .land-seal-wrap { order: -1; max-width: 132px; justify-self: start; }
  .land-seal-wrap::before, .land-seal-wrap::after { display: none; }
  .land-flow, .land-dev { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.4rem 0; }
  .land-caps, .land-pledge ul, .land-doors { grid-template-columns: 1fr; }
  .land-pledge { padding: 1.6rem 1.3rem; }
  .land-nav .apply:not(:last-child) { display: none; }
  .land .top { padding-inline: 1rem; } .land .brand img { height: 22px; }
  .land .land-nav .apply:last-child { display: inline; font-size: .84rem; }
  .land-foot { padding: 1.6rem 1rem 2.2rem; }
  .ld-node { min-width: 0; width: 100%; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .land-seal, .ld-line i { animation: none; } .ld-line i { display: none; } }
@media print { .land-seal { animation: none; filter: none; } .land-diagram, .land-pledge, .door, .land-code, .land-caps article { background: #fff !important; box-shadow: none; } .land-seal-wrap::before, .land-seal-wrap::after { display: none; } }

/* ===== dashboard v2 (tmathson, 2026-11-15; brand kit): the shell, charts, tables, drawers and states. Shared shell rules (.side, .top)
   also lift the portal and console, which use the same classes. ===== */
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.top { gap: 1rem; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.toplink { color: var(--ink-2); text-decoration: none; font-size: .88rem; } .toplink:hover { color: var(--gold-l); }
.gsearch { display: flex; align-items: center; gap: .5rem; flex: 0 1 380px; margin-left: 1.2rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 0 .4rem 0 .7rem; color: var(--mute); transition: border-color .15s, box-shadow .15s; }
.gsearch:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.gsearch input { border: 0; background: none; padding: .48rem 0; flex: 1; min-width: 0; box-shadow: none !important; }
.gsearch kbd { font: 500 .7rem var(--mono); color: var(--mute); border: 1px solid var(--line-2); border-radius: 5px; padding: .05rem .38rem; }

.side { gap: .1rem; padding: 1rem .7rem; }
.side button { display: flex; align-items: center; gap: .65rem; font-size: .9rem; padding: .5rem .75rem; }
.side button .ic { color: var(--mute); transition: color .15s; }
.side button:hover .ic, .side button[aria-current="true"] .ic { color: var(--gold-l); }
.side .grp { display: block; padding: 1.1rem .75rem .35rem; font-size: .66rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #6d6758; }
.side-foot { margin-top: auto; padding-top: 1.2rem; display: grid; gap: .2rem; }
.ws { display: flex; gap: .6rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; margin-bottom: .5rem; }
.ws-dot { width: 26px; height: 26px; border-radius: 7px; background: url('/brand/athanor-pay-favicon.svg') center / 18px no-repeat, linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid rgba(168, 132, 27, .45); flex-shrink: 0; }
.ws b { display: block; font-size: .84rem; color: var(--ink); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.ws small { display: block; font-size: .72rem; color: var(--mute); }
.sidelink { display: block; color: var(--mute); font-size: .82rem; text-decoration: none; padding: .3rem .75rem; border-radius: 6px; }
.sidelink:hover { color: var(--gold-l); background: var(--panel); }

.dash main { padding: 1.6rem 2.2rem 4rem; max-width: 1380px; }
.dash main:focus { outline: none; }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.phead h1 { font-size: 1.95rem; margin-bottom: .3rem; }
.phead .sub { margin: 0; max-width: 78ch; }
.pact { display: flex; gap: .5rem; }
.dash h3 { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 1rem; }
.lnk { background: none; border: 0; color: var(--gold-l); font: 600 .86rem var(--sans); cursor: pointer; padding: 0; }
.lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
.up { color: var(--good); font-weight: 600; } .down { color: var(--bad); font-weight: 600; } .ok { color: var(--good); }
.strong { font-weight: 650; color: var(--ink); } .small { font-size: .8rem; } .nowrap { white-space: nowrap; } .mono { font-family: var(--mono); }
.card.flush { padding: 0; overflow: hidden; } .card.flush table { margin: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.2rem .2rem; } .card-h h3 { margin: 0; }
.tscroll { overflow-x: auto; }
.card.flush th:first-child, .card.flush td:first-child { padding-left: 1.2rem; } .card.flush th:last-child, .card.flush td:last-child { padding-right: 1.2rem; }
.note.pad { padding: .2rem 1.2rem 1rem; }

/* overview */
.ov-top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); gap: 1rem; margin-bottom: 1rem; }
.hero-card { padding: 1.3rem 1.3rem .8rem; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.hc-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.hc-head .k, .facts .k, .verdict .k, .route-form .k { color: var(--mute); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.big { font: 600 2.5rem/1.1 var(--serif); letter-spacing: -.02em; margin: .3rem 0 .35rem; font-variant-numeric: lining-nums tabular-nums; }
.hc-head .n { color: var(--ink-2); font-size: .88rem; }
.hc-side { display: flex; gap: 1.6rem; align-items: flex-start; }
.hc-side > div { display: grid; gap: .25rem; text-align: right; } .hc-side b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.area { position: relative; } .area svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.area .g { stroke: var(--line); stroke-width: 1; } .area .gl, .area .xl { fill: var(--mute); font: 10.5px var(--sans); }
.area .al { fill: none; stroke: var(--gold-l); stroke-width: 2; stroke-linejoin: round; } .area .cross { stroke: rgba(138, 108, 18, .5); stroke-dasharray: 3 3; }
.area .dot { fill: var(--gold-l); stroke: var(--bg); stroke-width: 2; }
.tip { position: absolute; z-index: 30; pointer-events: none; background: var(--panel); border: 1px solid rgba(168, 132, 27, .5); border-radius: 8px; padding: .4rem .6rem; box-shadow: 0 10px 24px rgba(40, 30, 10, .18); display: grid; gap: .1rem; }
.tip b { font-size: .92rem; font-variant-numeric: tabular-nums; } .tip span { font-size: .74rem; color: var(--mute); }
.todo { display: flex; flex-direction: column; }
.todo ul { list-style: none; display: grid; gap: .1rem; }
.todo li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.todo li p { font-size: .88rem; color: var(--ink-2); line-height: 1.45; } .todo li .lnk { grid-column: 2; justify-self: start; font-size: .82rem; }
.sdot { width: 8px; height: 8px; border-radius: 50%; margin-top: .4rem; background: var(--warn); box-shadow: 0 0 0 3px rgba(224, 179, 74, .14); }
.sev-act .sdot { background: #ff9f7a; box-shadow: 0 0 0 3px rgba(255, 159, 122, .14); } .sev-stop .sdot { background: var(--stop); box-shadow: 0 0 0 3px rgba(255, 90, 90, .16); }
.todo-foot { margin-top: auto; padding-top: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; align-items: baseline; font-size: .82rem; }
.todo-foot b { font-size: 1.3rem; grid-row: span 2; align-self: center; color: var(--gold-l); font-variant-numeric: tabular-nums; }
.tiles4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1rem; }
.tile .spark { position: absolute; right: 1rem; top: 1rem; width: 84px; height: 28px; }
.spark polyline { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .9; }
.ov-mix { margin-bottom: 0; }
.share { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--raise); }
.share .seg { display: block; height: 100%; min-width: 3px; }
/* series colours (one per account, fixed by its place, never by rank): passed the dataviz validator on #17150f and #f6f1e6 */
:root { --s0: #b08a14; --s1: #4a86d4; --s2: #cc6436; --s3: #2f9e72; --s4: #9d6fd8; --s5: #d05a7c; }
.c0 { background: var(--s0); } .c1 { background: var(--s1); } .c2 { background: var(--s2); } .c3 { background: var(--s3); } .c4 { background: var(--s4); } .c5 { background: var(--s5); }
.legend { list-style: none; margin-top: 1rem; display: grid; }
.legend li { display: grid; grid-template-columns: 10px 1fr auto 3.2rem; grid-template-areas: 'sw l v p' '. n n n'; gap: .1rem .7rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.legend li:last-child { border-bottom: 0; }
.legend .sw { grid-area: sw; width: 10px; height: 10px; border-radius: 3px; } .legend .ll { grid-area: l; color: var(--ink); }
.legend .lv { grid-area: v; font-variant-numeric: tabular-nums; font-weight: 600; } .legend .lp { grid-area: p; text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.legend .ln { grid-area: n; color: var(--mute); font-size: .78rem; }

/* tables */
.ptable td { vertical-align: middle; }
.cur { color: var(--mute); font-size: .72rem; font-weight: 500; margin-left: .15rem; }
tr.click { cursor: pointer; } tr.click:hover td { background: rgba(168, 132, 27, .045); } tr.click:focus-visible { outline: 2px solid var(--gold-l); outline-offset: -2px; }
.mtag { display: inline-block; font-size: .74rem; font-weight: 550; color: var(--ink-2); background: var(--raise); border: 1px solid var(--line); border-radius: 5px; padding: .05rem .45rem; white-space: nowrap; }
.mtag.m-bitcoin { color: #f2b45a; } .mtag.m-ach { color: var(--info); }
.grp-row th { background: var(--bg-2); color: var(--gold-l); font-size: .68rem; padding-top: .7rem; padding-bottom: .5rem; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager span:last-child { display: flex; gap: .5rem; }
.due { display: inline-block; font-size: .7rem; font-weight: 650; padding: .02rem .4rem; border-radius: 5px; border: 1px solid var(--line-2); color: var(--ink-2); margin-left: .25rem; }
.due.warm { color: var(--warn); border-color: rgba(224, 179, 74, .4); } .due.hot { color: var(--stop); border-color: rgba(255, 90, 90, .45); background: rgba(255, 90, 90, .07); }

/* filters */
.seg-tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; overflow-x: auto; scrollbar-width: none; }
.seg-tabs button { background: none; border: 0; color: var(--mute); font: 550 .88rem var(--sans); padding: .6rem .8rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.seg-tabs button:hover { color: var(--ink); } .seg-tabs button[aria-selected="true"] { color: var(--gold-l); border-bottom-color: var(--gold); }
.toolbar { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; margin-bottom: .9rem; }
.search { display: flex; align-items: center; gap: .45rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding-left: .65rem; color: var(--mute); flex: 0 1 300px; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.search input { border: 0; background: none; flex: 1; min-width: 0; box-shadow: none !important; }

/* empty and loading */
.empty { display: grid; justify-items: center; gap: .35rem; text-align: center; padding: 2.4rem 1rem; color: var(--mute); }
.empty .ic { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.2; margin-bottom: .3rem; } .empty b { color: var(--ink); }
.skel { display: grid; gap: 1rem; } .skel i { display: block; height: 96px; border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: skel 1.3s ease-in-out infinite; }
.skel i:first-child { height: 46px; width: 40%; } @keyframes skel { to { background-position: -200% 0; } }

/* routing */
.route-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.route-form label { display: grid; gap: .35rem; }
.amtbox { display: flex; align-items: center; gap: .3rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding-left: .65rem; color: var(--mute); }
.amtbox input { border: 0; background: none; width: 8rem; box-shadow: none !important; }
.verdict { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0 .8rem; padding: 1rem 1.2rem; border: 1px solid rgba(168, 132, 27, .5); border-radius: var(--r); background: linear-gradient(90deg, var(--gold-wash), transparent 70%); }
.verdict b { font: 600 1.3rem var(--serif); } .verdict.none { border-color: rgba(224, 122, 95, .45); background: rgba(224, 122, 95, .06); }
.ranked { list-style: none; display: grid; gap: .6rem; }
.ranked > li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.ranked > li.win { border-color: rgba(168, 132, 27, .6); }
.rk { font: 600 1.3rem/1 var(--serif); color: var(--gold); } .rh { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.ranked ul { margin: .5rem 0 0 1.1rem; color: var(--mute); font-size: .86rem; }
.excl { list-style: none; display: grid; gap: .4rem; } .excl li { display: grid; gap: .1rem; padding: .7rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-sm); } .excl span { color: var(--mute); font-size: .86rem; }

/* risk */
.alerts { display: grid; gap: .6rem; } .alert .ah { display: flex; gap: .6rem; align-items: baseline; }
.alert.info { border-left-color: var(--info); }
.health { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.hcard header { display: flex; justify-content: space-between; gap: .6rem; align-items: center; margin-bottom: .9rem; }
.gauge { margin-top: .8rem; } .gk { display: flex; justify-content: space-between; font-size: .84rem; color: var(--mute); } .gk b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gt { position: relative; height: 6px; background: var(--raise); border-radius: 9px; margin-top: .4rem; }
.gv { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: var(--good); }
.g-watch .gv { background: var(--warn); } .g-act .gv { background: #ff9f7a; } .g-stop .gv { background: var(--stop); }
.tick { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--ink-2); opacity: .5; border-radius: 1px; } .tick.t2 { background: var(--stop); opacity: .8; }

/* providers */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.pcard header { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; margin-bottom: .6rem; } .pcard header b { line-height: 1.35; }
.rails { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; } .pcard p { font-size: .86rem; line-height: 1.55; }
.mcard .mname { font: 600 1.15rem var(--serif); }

/* drawers */
.drawer-in { width: min(620px, 100%); padding: 1.8rem 1.7rem 2.4rem; }
.dk { color: var(--gold-l); font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .4rem; }
.pay-amt { font-size: 2.1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 1.2rem 0 .6rem; }
.facts > div { background: var(--bg-2); padding: .7rem .8rem; display: grid; gap: .3rem; } .facts b { font-size: .9rem; overflow-wrap: anywhere; }
.timeline { list-style: none; position: relative; margin-left: .35rem; }
.timeline li { position: relative; padding: 0 0 1rem 1.4rem; border-left: 1px solid var(--line-2); display: grid; gap: .15rem; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: .25rem; width: 9px; height: 9px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--panel); }
.timeline .t-bad::before { background: var(--bad); } .timeline .t-warn::before { background: var(--warn); }
.timeline b { font-size: .92rem; font-weight: 600; } .timeline span { color: var(--mute); font-size: .84rem; }
.steps3 { list-style: none; display: flex; gap: .4rem; margin: 1rem 0; counter-reset: s; }
.steps3 li { flex: 1; counter-increment: s; font-size: .8rem; color: var(--mute); padding: .5rem .6rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.steps3 li::before { content: counter(s) '. '; color: var(--gold); font-weight: 650; }
.steps3 li.done { color: var(--ink-2); } .steps3 li.now { color: var(--ink); border-color: rgba(168, 132, 27, .55); background: var(--gold-wash); }

@media (max-width: 1100px) { .ov-top { grid-template-columns: 1fr; } .tiles4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gsearch { flex-basis: 240px; } }
@media (max-width: 760px) {
  .gsearch { order: 5; flex: 1 1 100%; margin: 0; }
  .gsearch kbd { display: none; }
  .top-r { gap: .5rem; } .toplink { display: none; }
  .side .grp, .side-foot { display: none; }
  .side button { padding: .45rem .7rem; } .side button .ic { width: 16px; height: 16px; }
  .dash main { padding: 1.1rem 1rem 3rem; }
  .phead h1 { font-size: 1.5rem; } .big { font-size: 1.9rem; }
  .hc-side { gap: 1rem; } .hc-side > div { text-align: left; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile .spark { display: none; }
  .search { flex: 1 1 100%; } .toolbar label:not(.search) { flex: 1; } .toolbar select { width: 100%; }
  .drawer-in { padding: 1.4rem 1.1rem 2rem; }
  .card.flush th:first-child, .card.flush td:first-child { padding-left: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .skel i { animation: none; } }
@media (max-width: 760px) {
  /* payments as stacked rows on a phone: amount and status, then account and method, then id and date */
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
  .ptable td { display: block; padding: 0 !important; border: 0; text-align: left; }
  .ptable td:nth-child(1) { font-size: 1rem; } .ptable td:nth-child(2) { justify-self: end; text-align: right; }
  .ptable td:nth-child(3) { grid-row: 3; } .ptable td:nth-child(4) { grid-row: 2; color: var(--ink-2); font-size: .84rem; }
  .ptable td:nth-child(5) { grid-row: 2; justify-self: end; } .ptable td:nth-child(6) { grid-row: 3; justify-self: end; font-size: .8rem; }
  .area .gl, .area .xl { font-size: 18px; }
}

/* /connect/: Stripe's embedded screens in the kit (appearance variables in connect/connect.js) */
#tabs { gap: .4rem; margin: 1rem 0 .9rem; }
#tabs .btn { border-color: var(--line-2); color: var(--ink-2); }
#tabs .btn:hover { color: var(--gold-l); border-color: rgba(168, 132, 27, .55); }
#tabs .btn[aria-pressed="true"] { color: var(--gold-l); border-color: var(--gold); background: var(--gold-wash); }
#pane { min-height: 320px; padding: 1.4rem; }
#banner:not(:empty) { margin-bottom: .8rem; }
.form.wide { max-width: 1120px; }

/* merchant portal in the dashboard shell (tmathson): quick actions and forms whose labels sit above their fields */
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.qa { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .15rem .8rem; align-items: center; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; cursor: pointer; color: var(--ink); font: inherit; transition: border-color .15s, background .15s, transform .08s; }
.qa:hover { border-color: rgba(168, 132, 27, .55); background: var(--panel-2); } .qa:active { transform: translateY(1px); }
.qa .ic { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 9px; color: var(--gold-l); background: var(--gold-wash); border: 1px solid rgba(168, 132, 27, .3); }
.qa b { font-size: .95rem; } .qa span { color: var(--mute); font-size: .82rem; }
.portal main > h1, .portal main > h2:first-child { margin-top: 0; }
.portal main > h1 { font-size: 1.95rem; margin-bottom: .3rem; }
.portal form.card.row { align-items: flex-end; gap: .8rem 1rem; }
.portal form.card.row > label, .portal .inv-line > label, .portal form.card .row > label { display: grid; gap: .3rem; color: var(--mute); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.portal form.card .row { align-items: flex-end; gap: .8rem 1rem; margin-bottom: .6rem; }
.portal .card table { margin: -.2rem 0; }
.portal .card:has(> table) { padding: 0; overflow-x: auto; } .portal .card:has(> table) th:first-child, .portal .card:has(> table) td:first-child { padding-left: 1.2rem; }
.portal .card:has(> table) .note { padding: 0 1.2rem 1rem; } .portal .card:has(> table) > .row { padding: 0 1.2rem 1rem; }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } .portal main > h1 { font-size: 1.5rem; } }
.ws > span:last-child { min-width: 0; flex: 1; } .ws small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .navhelp { padding: 0 .75rem; overflow-wrap: anywhere; }
.portal .inv-line > label:first-child, .portal form.card .row > label:first-child { flex: 1 1 260px; } .portal .inv-line input.it { width: 100%; }
.side-foot { min-width: 0; } .side-foot > * { min-width: 0; } .side { min-width: 0; }
@media (max-width: 760px) { .side { align-items: center; } .side button { flex-shrink: 0; } .side .sidelink { white-space: nowrap; flex-shrink: 0; } }
/* owner console in the same shell: card headings and forms inside table cards keep their padding */
.portal .card:has(> table) > h2 { margin: 1.1rem 1.2rem .7rem; }
.portal .card:has(> table) > form { padding: .3rem 1.2rem 1.1rem; }
.portal details.card:has(> table) { padding: 1rem 1.2rem; }
.portal details.card summary { cursor: pointer; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.portal details.card[open] summary { margin-bottom: .8rem; }
.console .side-foot .sidelink::after { content: none; }
.portal .card form.row { align-items: flex-end; gap: .8rem 1rem; } .portal .card form.row > label { display: grid; gap: .3rem; color: var(--mute); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }

/* the merchant application (tmathson): four numbered sections, a sticky side panel, two-up short fields */
.ap-wrap { max-width: 1120px; margin: 0 auto; padding: 2.2rem 1.6rem 4rem; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; }
.ap-side { position: sticky; top: 84px; display: grid; gap: 1.4rem; }
.applyp .eyebrow, .nf .eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.ap-toc { list-style: none; display: grid; gap: .15rem; border-left: 1px solid var(--line-2); }
.ap-toc a { display: flex; gap: .7rem; align-items: baseline; padding: .45rem .9rem; color: var(--ink-2); text-decoration: none; font-size: .92rem; margin-left: -1px; border-left: 2px solid transparent; }
.ap-toc a:hover { color: var(--gold-l); border-left-color: var(--gold); }
.ap-toc span { font: 600 .9rem var(--serif); color: var(--gold); min-width: 1.6rem; }
.ap-next { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; font-size: .86rem; }
.ap-next b { display: block; margin-bottom: .5rem; } .ap-next ol { margin-left: 1.1rem; color: var(--mute); display: grid; gap: .35rem; line-height: 1.5; }
.ap-help { color: var(--mute); font-size: .84rem; line-height: 1.6; } .ap-help a { color: var(--ink-2); }
.ap-form h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: .6rem; }
.ap-form .sub { font-size: 1rem; line-height: 1.6; max-width: 68ch; }
.ap-form fieldset { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 1.3rem 1.4rem 1.5rem; margin-top: 1.4rem; scroll-margin-top: 84px; position: relative; overflow: hidden; }
.ap-form fieldset::before { content: ''; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 1px; background: linear-gradient(90deg, rgba(168, 132, 27, .8), transparent); }
.ap-form legend { float: left; width: 100%; display: flex; gap: .7rem; align-items: baseline; font: 600 1.25rem var(--serif); margin-bottom: 1rem; padding: 0; }
.ap-form legend span { color: var(--gold); font-size: 1.1rem; min-width: 1.6rem; }
.ap-form legend + * { clear: both; }
.ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1.2rem; }
.ap-grid .f { display: grid; align-content: start; } .ap-grid .full { grid-column: 1 / -1; }
.ap-grid label { display: block; margin: .8rem 0 .35rem; font-weight: 550; font-size: .9rem; color: var(--ink); }
.ap-grid .hint { color: var(--mute); font-weight: 400; font-size: .82rem; }
.ap-grid input, .ap-grid textarea { width: 100%; } .ap-grid textarea { min-height: 5rem; }
.ap-note { clear: both; color: var(--ink-2); font-size: .9rem; border-left: 2px solid var(--gold); padding: .3rem 0 .3rem .8rem; margin-bottom: .4rem; }
.ap-send { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ap-send .btn { padding: .7rem 1.4rem; font-size: .96rem; }

/* 404 */
.nf { max-width: 620px; margin: 12vh auto; padding: 0 1.4rem; display: grid; justify-items: start; gap: .6rem; }
.nf-seal { width: 84px; height: 84px; margin-bottom: .6rem; }
.nf h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; } .nf .cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }

@media (max-width: 900px) {
  .ap-wrap { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.2rem 1rem 3rem; }
  .ap-side { position: static; } .ap-toc, .ap-next, .ap-help { display: none; }
  .ap-grid { grid-template-columns: 1fr; } .ap-form fieldset { padding: 1.1rem 1rem 1.2rem; }
}

/* Overview volume chart stacked by account (the reroute is visible: one band stops, the others widen, the total line holds) */
.area .ly { stroke: rgba(10, 9, 6, .55); stroke-width: .6; }
.area .ly0 { fill: var(--s0); } .area .ly1 { fill: var(--s1); } .area .ly2 { fill: var(--s2); }
.area .ly3 { fill: var(--s3); } .area .ly4 { fill: var(--s4); } .area .ly5 { fill: var(--s5); }
.area .ly { fill-opacity: .78; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .6rem; font-size: .8rem; color: var(--mute); }
.chips li { display: inline-flex; align-items: center; gap: .4rem; }
.chips .sw, .tip .sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; flex: none; }
.tip .tp { display: flex; align-items: center; gap: .4rem; color: var(--ink-2); }
.tip .tp em { font-style: normal; margin-left: auto; padding-left: .8rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile .v .bad, .v .bad { color: var(--bad); }
.s-paused, .s-closed { color: var(--bad); border-color: rgba(224, 122, 95, .38); background: rgba(224, 122, 95, .07); }
.s-review { color: var(--warn); border-color: rgba(224, 179, 74, .35); background: rgba(224, 179, 74, .06); }

/* the demo's banner: what you're looking at, and the two ways on */
.demobar { display: flex; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; padding: .7rem 1.5rem; background: linear-gradient(90deg, rgba(168, 132, 27, .13), rgba(168, 132, 27, .04));
  border-bottom: 1px solid rgba(168, 132, 27, .28); font-size: .88rem; color: var(--ink-2); }
.demobar p { flex: 1 1 26rem; margin: 0; } .demobar b { color: var(--gold-l); font-weight: 600; }
.demobar .btn { padding: .42rem .9rem; font-size: .84rem; }
@media (max-width: 720px) { .demobar { padding: .7rem 1rem; } .demobar .btn { flex: 1 1 auto; text-align: center; } }
.area .mk { stroke: var(--bad); stroke-width: 1.4; stroke-dasharray: 4 3; }
.area .mkl { fill: #ffb49c; font: 600 11.5px var(--sans); paint-order: stroke; stroke: rgba(10, 9, 6, .9); stroke-width: 3.5px; }
.area .gl { paint-order: stroke; stroke: rgba(10, 9, 6, .85); stroke-width: 3px; fill: #b9b09a; }
.s-held { color: var(--bad); border-color: rgba(224, 122, 95, .38); background: rgba(224, 122, 95, .07); }
tr.row-held td { background: rgba(224, 122, 95, .045); }
.land-invite { flex-wrap: wrap; } .land-invite a { color: var(--gold-l); font-weight: 600; text-decoration: none; } .land-invite a:hover { text-decoration: underline; }
.land-links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }

/* ---------- Analytics (public/charts.js; tmathson 2026-11-17) ---------- */
.card.ch { margin-top: 1rem; } .grid2 > .card.ch { margin-top: 1rem; }
.card.ch .card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.card.ch .card-h .muted { font-size: .8rem; }
svg path.ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg .ln.c0 { stroke: var(--s0); } svg .ln.c1 { stroke: var(--s1); } svg .ln.c2 { stroke: var(--s2); } svg .ln.c3 { stroke: var(--s3); } svg .ln.c4 { stroke: var(--s4); } svg .ln.c5 { stroke: var(--s5); }
svg circle.c0 { fill: var(--s0); } svg circle.c1 { fill: var(--s1); } svg circle.c2 { fill: var(--s2); } svg circle.c3 { fill: var(--s3); } svg circle.c4 { fill: var(--s4); } svg circle.c5 { fill: var(--s5); }
svg circle.end { stroke: var(--panel); stroke-width: 2; }
.area .ref { stroke-width: 1; } .area .r-watch { stroke: var(--warn); } .area .r-act { stroke: #ff9f7a; } .area .r-stop { stroke: var(--stop); }
.area .refl { fill: var(--ink-2); font: 11px var(--sans); }
.area.lines .gl { paint-order: normal; stroke: none; fill: var(--mute); }
.area .cross { stroke: var(--line-2); stroke-dasharray: none; }
.hbars { list-style: none; display: grid; gap: .7rem; margin: .4rem 0 0; padding: 0; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "t t" "n n"; gap: .25rem .8rem; font-size: .86rem; }
.hbars .hl { grid-area: l; display: flex; align-items: center; gap: .45rem; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.hbars .hv { grid-area: v; font-variant-numeric: tabular-nums; color: var(--ink); }
.hbars .ht { grid-area: t; height: 10px; background: var(--panel-2); border-radius: 0 4px 4px 0; }
.hbars .hb { display: block; height: 10px; border-radius: 0 4px 4px 0; }
.hbars .hn { grid-area: n; color: var(--mute); font-size: .78rem; }
.hbars .sw, .heat .sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; flex: none; }
.area.tl .lane { fill: var(--ink-2); font: 11.5px var(--sans); }
.area.tl .today { stroke: var(--line-2); stroke-width: 1; } .area.tl .todayl { fill: var(--mute); font: 10.5px var(--sans); }
.area.tl .hit { fill: transparent; } .area.tl .m { stroke: var(--panel); stroke-width: 2; }
.area.tl .p-due .m { fill: var(--panel); stroke-width: 2; } .area.tl .p-due .m.c0 { stroke: var(--s0); } .area.tl .p-due .m.c1 { stroke: var(--s1); } .area.tl .p-due .m.c2 { stroke: var(--s2); }
.area.tl .p-due .m.c3 { stroke: var(--s3); } .area.tl .p-due .m.c4 { stroke: var(--s4); } .area.tl .p-due .m.c5 { stroke: var(--s5); }
.area.tl .p-held .m { fill: var(--stop); } .area.tl .p-short .m { fill: var(--panel); stroke: var(--warn); stroke-width: 2.5; }
.area.tl .heldl { fill: #ffb49c; font: 600 11px var(--sans); }
.kd { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.k-got { background: var(--ink-2); } .k-due { border: 2px solid var(--ink-2); } .k-short { border: 2px solid var(--warn); } .k-held { background: var(--stop); }
table.heat { border-collapse: separate; border-spacing: 2px; width: 100%; }
table.heat th { font-size: .78rem; font-weight: 500; color: var(--mute); text-align: left; padding: .3rem .5rem; white-space: nowrap; }
table.heat tbody th { color: var(--ink); font-size: .86rem; text-transform: none; letter-spacing: normal; white-space: normal; min-width: 9rem; }
table.heat tbody th .sw { margin-right: .45rem; vertical-align: -1px; }
table.heat thead th { white-space: normal; vertical-align: bottom; }
td.hm { border-radius: 4px; padding: .45rem .55rem; font-variant-numeric: tabular-nums; min-width: 4.6rem; }
td.hm b { display: block; font-size: .9rem; color: var(--ink); font-weight: 600; } td.hm small { display: block; font-size: .72rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.hm.h-ok { background: rgba(111, 191, 142, .12); } .hm.h-watch { background: rgba(224, 179, 74, .22); } .hm.h-act { background: rgba(255, 159, 122, .26); }
.hm.h-stop { background: rgba(255, 90, 90, .32); } .hm.h-na { background: var(--panel-2); } td.hm.h-na b { color: var(--mute); }
i.sw.hm { width: 12px; height: 12px; } i.sw.hm.h-ok { background: rgba(111, 191, 142, .45); } i.sw.hm.h-watch { background: rgba(224, 179, 74, .6); }
i.sw.hm.h-act { background: rgba(255, 159, 122, .65); } i.sw.hm.h-stop { background: rgba(255, 90, 90, .75); }
details.dtable { margin-top: .6rem; font-size: .84rem; } details.dtable summary { cursor: pointer; color: var(--gold-l); }
details.dtable table { margin-top: .5rem; font-size: .8rem; }
.area.lines svg text.gl, .area.lines svg text.xl { font-size: 11px; }
@media (max-width: 640px) { /* the wide charts keep a readable size and scroll sideways inside their card, never the page */
  .area.lines, .area.tl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .area.lines svg, .area.tl svg { min-width: 620px; }
}

/* tmathson 2026-11-17: the range control (dashboard, portal) and the brand form's choices: one current */
.rseg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 2px; background: var(--bg-2); }
.rseg-links a, .rseg-links button, .rseg label span { display: block; padding: .3rem .8rem; border-radius: 99px; color: var(--ink-2); font-size: .82rem; font-weight: 550; text-decoration: none; white-space: nowrap; cursor: pointer; }
.rseg-links a:hover, .rseg-links button:hover, .rseg label:hover span { color: var(--ink); }
.rseg-links a[aria-current="true"], .rseg-links button[aria-pressed="true"], .rseg input:checked + span { background: var(--gold-wash); color: var(--gold-l); box-shadow: 0 0 0 1px rgba(168, 132, 27, .45) inset; }
.rseg label { position: relative; margin: 0; }
.rseg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rseg input:focus-visible + span { outline: 2px solid var(--gold-l); outline-offset: 1px; }
.rseg input:disabled + span { cursor: default; }
.rseg-links button { background: none; border: 0; font-family: inherit; }
/* one account on its own page: its own colour, a light fill under a 2px line (tmathson 2026-11-17) */
.area .ly.solo { fill-opacity: .2; stroke: none; }
.area .al.alc0 { stroke: var(--s0); } .area .al.alc1 { stroke: var(--s1); } .area .al.alc2 { stroke: var(--s2); } .area .al.alc3 { stroke: var(--s3); } .area .al.alc4 { stroke: var(--s4); } .area .al.alc5 { stroke: var(--s5); }
