/*
 * The Constile design system, carved out of the landing page and
 * loaded on every page. docs/DESIGN_SYSTEM.md explains the rules; this file
 * is the source of truth for the values.
 *
 *   1. Tokens: color, type, radius, shadow, and the pixel unit.
 *   2. Astryx, mapped onto the tokens, so every Astryx component (buttons,
 *      inputs, cards, tables, nav) takes the system's look without forking it.
 *      Astryx's CSS sits in cascade layers, so these unlayered rules win.
 *   3. Shared components: type, buttons, the hairline frame, the site header
 *      and footer, windows, tags, pixel scenes.
 *   4. Page frames: public pages, sign-in and sign-up, and the dashboards.
 */

/* 1. Tokens ------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;
  /* Ink on paper. Every neutral has a dark-mode pair. */
  --ink: light-dark(#100e24, #f2f1fa);
  --slate: light-dark(#45435e, #bdbbd6);
  --faint: light-dark(#625f7c, #9a97b8);
  --paper: light-dark(#fafaf8, #0a0915);
  --cell: light-dark(#ffffff, #13111f);
  --tint: light-dark(#f1f0f5, #1a1829);
  --line: light-dark(#e1e0e8, #25233b);
  --line-strong: light-dark(#c9c7d6, #3a3854);
  /* Gold: the one accent. Main actions, money, and the mark's cell only. */
  --gold: #ffc53d;
  --gold-hover: #ffd66e;
  --on-gold: #1a1405;
  --gold-soft: light-dark(#fff4d6, #2b2210);
  --gold-text: light-dark(#7a5300, #ffc53d);
  /* Night: the dark surfaces (estimate band, footer, active controls). */
  --night: #08061f;
  --night-2: #100e24;
  --live: #1fb57a;
  /* Type */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --dots: "Doto", var(--mono);
  --t-xs: 0.75rem;   /* 12px: mono labels and captions */
  --t-sm: 0.875rem;  /* 14px: small text, tables, help, dashboard body */
  --t-base: 1rem;    /* 16px: body */
  --t-md: 1.125rem;  /* 18px: lede, sub, card titles */
  /* Radius: 2px for tags and controls, 4px for buttons and boxes, 6px for windows. */
  --r-control: 2px;
  --r-box: 4px;
  --r-window: 6px;
  /* Windows cast a hard offset shadow, like the pixel art. Nothing is blurred. */
  --shadow-hard: 6px 6px 0 #08061f;
  --shadow-hard-sm: 4px 4px 0 #08061f;
  /* CSS px per art pixel: 4 on wide screens, 3 on tablets, 2 on phones. */
  --u: 4;
}

/* 2. Astryx, mapped onto the tokens -------------------------------------------------- */
[data-astryx-theme="constile"] {
  --font-family-body: var(--sans);
  --font-family-heading: var(--sans);
  --font-family-code: var(--mono);
  --color-background-body: var(--paper);
  --color-background-surface: var(--cell);
  --color-background-card: var(--cell);
  --color-background-popover: var(--cell);
  --color-background-muted: var(--tint);
  --color-accent: var(--gold);
  --color-accent-muted: var(--gold-soft);
  --color-text-accent: var(--gold-text);
  --color-icon-accent: var(--gold-text);
  --color-on-accent: var(--on-gold);
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--slate);
  --color-icon-primary: var(--ink);
  --color-icon-secondary: var(--slate);
  --color-on-light: #100e24;
  --color-on-dark: #f2f1fa;
  --color-border: var(--line);
  --color-border-emphasized: var(--line-strong);
  --radius-inner: var(--r-control);
  --radius-element: var(--r-box);
  --radius-container: var(--r-window);
  --radius-page: var(--r-window);
  --shadow-low: none;
  --shadow-med: none;
  --shadow-high: var(--shadow-hard-sm);
  --focus-outline-color: var(--ink);
  --text-heading-1-size: 2rem;
  --text-heading-1-weight: 600;
  --text-heading-1-leading: 1.15;
  --text-heading-2-size: 1.125rem;
  --text-heading-2-weight: 600;
  --text-heading-3-size: 1rem;
  --text-heading-3-weight: 600;
}
.astryx-heading { letter-spacing: -0.02em; }
.astryx-heading[data-level="1"] { letter-spacing: -0.03em; }
.astryx-button { font-weight: 500; letter-spacing: -0.005em; }
.astryx-button[data-variant="primary"] { box-shadow: inset 0 0 0 1px rgb(26 20 5 / 0.12); }
.astryx-button[data-variant="secondary"] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.astryx-button[data-variant="secondary"]:hover { background: var(--tint); }
.astryx-card { border: 1px solid var(--line); box-shadow: none; }
.astryx-badge { border-radius: var(--r-control); font-family: var(--mono); font-weight: 500; }
.astryx-field-label { font-weight: 500; }
.astryx-banner-frame { border-radius: var(--r-box); }
/* Links are ink with an underline; gold is kept for actions and money. */
.astryx-link, .astryx-link[data-color="accent"] { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; }
.astryx-link:hover { text-decoration-color: var(--ink); }

/* 3. Shared components --------------------------------------------------------------- */
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:focus-visible { outline-color: var(--ink); }
.px-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sa-mark, .px-icon, .px-pixel { flex: none; }
.px-pixel { display: block; }
.px-p-k { fill: currentColor; }
.px-p-g { fill: var(--gold); }
.px-p-w { fill: var(--paper); }

/* Type: Geist for words, Geist Mono for labels and code, Doto for big counts only */
.px-h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.px-h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; margin: 0; text-wrap: balance; max-width: 15em; }
.px-h2-sm { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.px-h3 { font-size: var(--t-md); line-height: 1.35; letter-spacing: -0.015em; font-weight: 600; margin: 0; }
.px-sub { font-size: var(--t-base); line-height: 1.6; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.px-label { font-family: var(--mono); font-size: var(--t-xs); color: var(--faint); }
.px-sep { margin: 0 -0.28em 0 -0.12em; }

/* Buttons: gold is the main action, an ink outline the second; on dark scenes the second is solid ink */
.px-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: var(--r-box); font-family: var(--sans); font-weight: 500; font-size: var(--t-base); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; box-sizing: border-box; cursor: pointer; transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease; }
.px-btn:active { transform: translateY(1px); }
.px-btn-sm { height: 36px; padding: 0 14px; font-size: var(--t-sm); }
.px-btn-primary, a.px-btn-primary { background: var(--gold); color: var(--on-gold); border: 0; box-shadow: inset 0 0 0 1px rgb(26 20 5 / 0.12); }
.px-btn-primary:hover { background: var(--gold-hover); color: var(--on-gold); }
.px-btn-secondary, a.px-btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.px-btn-secondary:hover { background: var(--tint); color: var(--ink); }
.px-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* The frame: a 1280px column with hairline sides. Rows have a hairline top with a crosshair at each end;
   cells inside a row are split by 1px gaps over the line color, so any column count gets clean dividers. */
.px-frame { max-width: 1280px; margin: 0 auto; box-sizing: border-box; }
.px-main { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.px-row { position: relative; border-top: 1px solid var(--line); }
.px-row::before, .px-row::after { content: ""; position: absolute; top: -8px; z-index: 3; width: 15px; height: 15px; pointer-events: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 15px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 15px 1px no-repeat; }
.px-row::before { left: -8px; }
.px-row::after { right: -8px; }
.px-row-first { border-top: 0; }
.px-row-first::before, .px-row-first::after { display: none; }
.px-cells { display: grid; gap: 1px; background: var(--line); margin: 0; padding: 0; list-style: none; }
.px-cells-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px-cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.px-cells-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.px-cells-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.px-cell { min-width: 0; background: var(--paper); padding: 40px; box-sizing: border-box; }
.px-cell-end { display: flex; align-items: flex-end; }
.px-cell-pad { display: grid; gap: 22px; align-content: start; padding: 56px 40px; }

/* Site header: the brand, section links split off by a hairline, and the account actions */
.px-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.px-header-inner { display: flex; align-items: center; gap: 32px; height: 60px; padding: 0 40px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.px-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: var(--t-base); letter-spacing: -0.02em; text-decoration: none; }
.px-brand:hover { color: var(--ink); }
.px-nav { display: flex; gap: 26px; margin-right: auto; padding-left: 28px; border-left: 1px solid var(--line); align-self: stretch; align-items: center; }
.px-nav a, .px-signin { color: var(--slate); text-decoration: none; font-size: var(--t-sm); }
.px-nav a:hover, .px-signin:hover, .px-nav a[aria-current="page"] { color: var(--ink); }
.px-header-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* Site footer: night, with the name across the frame in dot-matrix */
.px-footer { background: #03041a; color: #f2f1fa; --line: #1c1f45; }
.px-footer .px-frame { border-left: 1px solid #1c1f45; border-right: 1px solid #1c1f45; }
.px-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 40px; border-bottom: 1px solid #1c1f45; }
.px-footer-note { margin: 0; font-family: var(--mono); font-size: var(--t-xs); color: #8b88b8; }
.px-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.px-footer-links a { color: #c9c6ea; text-decoration: none; font-size: var(--t-sm); }
.px-footer-links a:hover { color: #fff; }
.px-wordmark { font-family: var(--dots); font-weight: 900; font-size: calc((min(100vw, 1280px) - 64px) / 9.2); line-height: 0.95; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; padding: 28px 32px 40px; color: #23275a; }

/* Pixel scenes: a whole-number scale, anchored to the bottom; the sky's top color fills any extra height */
.px-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; image-rendering: pixelated;
  background: var(--art-top) var(--art) center bottom / calc(var(--art-w) * var(--u) * 1px) auto no-repeat; }
.px-scene { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: 72px 40px; min-height: 520px; box-sizing: border-box; background: var(--tint); }

/* Windows: product surfaces shown on a scene */
.px-window { margin: 0; background: var(--cell); color: var(--ink); border-radius: var(--r-window); overflow: hidden; font-size: var(--t-sm); border: 1px solid var(--night); box-shadow: var(--shadow-hard); }
.px-window-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.px-window-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.px-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: var(--t-xs); color: var(--slate); }
.px-live i { width: 7px; height: 7px; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }

/* Tags: the "Sponsored" label and its kin */
.px-tag { display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: var(--r-control); font-family: var(--mono); font-size: var(--t-xs); font-weight: 600; line-height: 1.7; background: var(--gold); color: var(--on-gold); vertical-align: 1px; }

/* 4. Page frames --------------------------------------------------------------------- */

/* Choice and Check (kit.tsx): native radio buttons and checkboxes as option boxes, so they work without client
   JavaScript. The square fills with gold when picked, like the mark's cell. */
.sa-choice { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sa-choice > legend { margin-bottom: 8px; padding: 0; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.sa-choice-help { margin: -4px 0 4px; font-size: var(--t-sm); color: var(--slate); }
.sa-choice-list { display: grid; gap: 8px; }
.sa-choice-row { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.sa-choice-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-box); background: var(--cell); cursor: pointer; transition: border-color 120ms ease; }
.sa-choice-item:hover { border-color: var(--slate); }
.sa-choice-item:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sa-choice-item input { -webkit-appearance: none; appearance: none; flex: none; display: grid; place-content: center; width: 14px; height: 14px; margin: 3px 0 0; border: 1px solid var(--slate); border-radius: 0; background: var(--cell); cursor: pointer; }
.sa-choice-item input::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: scale(0); transition: transform 100ms ease; }
.sa-choice-item input:checked { border-color: var(--ink); }
.sa-choice-item input:checked::before { transform: scale(1); }
.sa-choice-item input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sa-choice-text { display: grid; gap: 2px; font-size: var(--t-sm); line-height: 1.45; }
.sa-choice-text b { font-weight: 500; color: var(--ink); }
.sa-choice-text span { color: var(--slate); }

/* Public pages: the site header, a framed main column, and the night footer */
.sa-public { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.sa-public > .px-main { flex: 1; width: 100%; }
.sa-page-body { padding: 56px 40px 88px; }
.sa-prose { max-width: 72ch; --text-body-size: var(--t-base); --text-body-leading: 1.65; }
.sa-prose h1 { margin: 0 0 8px; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.sa-prose h2 { margin: 24px 0 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }

/* Sign-in and sign-up: the form in one cell, a pixel scene in the other */
.sa-auth-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1px; background: var(--line); min-height: calc(100vh - 61px - 160px); }
.sa-auth-form { background: var(--paper); padding: 72px 56px 88px; display: grid; align-content: start; }
.sa-auth-form-inner { width: 100%; max-width: 400px; display: grid; gap: 24px; }
.sa-auth-form h1 { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.sa-auth-foot { font-size: var(--t-sm); color: var(--slate); }
.sa-auth-scene { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; padding: 48px; color: #fff; min-height: 480px; }
.sa-auth-scene blockquote { margin: 0 0 8px; max-width: 22em; font-size: 1.5rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance; }
.sa-auth-scene p { margin: 0; font-family: var(--mono); font-size: var(--t-xs); color: #c9c6ea; }

/* Dashboards: the app header, a hairline side nav, and the content column */
.sa-app { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.sa-app-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: 60px; padding: 0 24px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.sa-app-org { align-self: stretch; display: flex; align-items: center; padding-left: 20px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: var(--t-xs); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-app-account { margin: 0 0 0 auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
.sa-app-email { font-family: var(--mono); font-size: var(--t-xs); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-app-body { flex: 1; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.sa-side { position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); overflow-y: auto; box-sizing: border-box; padding: 24px 12px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 24px; }
.sa-side-group { display: grid; gap: 2px; }
.sa-side-title { padding: 0 12px 8px; font-family: var(--mono); font-size: var(--t-xs); color: var(--faint); }
.sa-side a { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: var(--r-control); color: var(--slate); font-size: var(--t-sm); text-decoration: none; }
.sa-side a::before { content: ""; flex: none; width: 6px; height: 6px; background: transparent; }
.sa-side a:hover { background: var(--tint); color: var(--ink); }
.sa-side a[aria-current="page"] { background: var(--tint); color: var(--ink); font-weight: 600; }
.sa-side a[aria-current="page"]::before { background: var(--gold); box-shadow: 0 0 0 1px var(--ink); }

/* The overview band: the desk scene behind the account name */
.sa-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-start; height: 192px; padding: 24px 28px; box-sizing: border-box; border: 1px solid var(--night); border-radius: var(--r-window); box-shadow: var(--shadow-hard-sm); --u: 3; }
.sa-band-text { display: grid; gap: 4px; color: #fff; }
.sa-band-text span { font-family: var(--mono); font-size: var(--t-xs); color: #d8d4f2; }
.sa-band-text b { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }

/* Panels: hairline cells with a header strip and crosshairs at the top corners */
.sa-panel { position: relative; background: var(--cell); border: 1px solid var(--line); min-width: 0; }
.sa-panel::before, .sa-panel::after { content: ""; position: absolute; top: -7px; width: 13px; height: 13px; pointer-events: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 13px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 13px 1px no-repeat; }
.sa-panel::before { left: -7px; }
.sa-panel::after { right: -7px; }
.sa-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 52px; padding: 10px 20px; box-sizing: border-box; border-bottom: 1px solid var(--line); }
.sa-panel-head h2 { margin: 0; font-size: var(--t-base); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.sa-panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sa-panel-body { padding: 20px; display: grid; gap: 16px; min-width: 0; }
.sa-panel-desc { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--slate); max-width: 72ch; }
.sa-panel-body > .astryx-table-scroll-wrapper, .sa-panel-body > div:has(> .astryx-table-scroll-wrapper) { margin: -20px; }

/* Page titles */
.sa-page-title { display: grid; gap: 6px; min-width: 0; }
.sa-page-title h1 { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; color: var(--ink); }
.sa-page-desc { font-size: var(--t-sm); color: var(--slate); }

@media (max-width: 1080px) {
  :root { --u: 3; }
  .px-nav { display: none; }
  .px-cells-2, .px-cells-split, .px-cells-faq { grid-template-columns: minmax(0, 1fr); }
  .px-cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-cell-end { display: block; }
  .sa-auth-split { grid-template-columns: minmax(0, 1fr); }
  .sa-auth-scene { min-height: 280px; }
}
@media (max-width: 900px) {
  .sa-app-body { grid-template-columns: minmax(0, 1fr); }
  .sa-side { position: static; height: auto; display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sa-side-group { display: flex; gap: 2px; }
  .sa-side-title { display: none; }
  .sa-side a { white-space: nowrap; }
  .sa-app-email { display: none; }
}
@media (max-width: 720px) {
  :root { --u: 2; }
  .sa-app-header { padding: 0 16px; gap: 12px; }
  .sa-app-org { display: none; }
  .sa-band { height: 152px; padding: 18px; --u: 2; }
  .sa-band-text b { font-size: 1.375rem; }
  .px-header-inner { gap: 16px; padding: 0 20px; }
  .px-signin { display: none; }
  .px-cell, .px-cell-pad { padding: 32px 20px; }
  .px-cells-3, .px-cells-4 { grid-template-columns: minmax(0, 1fr); }
  .px-footer-top { padding: 20px; }
  .px-wordmark { padding: 20px 16px 28px; font-size: calc((100vw - 34px) / 9.2); }
  .sa-page-body { padding: 40px 20px 64px; }
  .sa-auth-form { padding: 48px 20px 56px; }
  .sa-auth-scene { padding: 28px 20px; min-height: 220px; }
  .sa-auth-scene blockquote { font-size: 1.25rem; }
}

/* Where the gate installs (landing page and /setup): a row per group, its name on the left and the marks on the right.
   Each mark links to its setup page and takes its brand color on hover, per theme, where that color shows. */
.px-plat-group { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px 40px; }
.px-plat-label { margin: 0; font-size: var(--t-sm); line-height: 24px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.px-plat-list { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.px-plat-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 24px; font-size: var(--t-base); color: var(--ink); white-space: nowrap; text-decoration: none; }
.px-plat-list a:hover span, .px-plat-list a:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.px-plat-list svg { flex: none; transition: color 120ms ease; }
.px-plat-list svg:empty { display: none; }
.px-plat-list a:hover svg, .px-plat-list a:focus-visible svg, .px-plat-list a[aria-current="page"] svg {
  color: light-dark(var(--brand-light, var(--ink)), var(--brand-dark, var(--ink)));
}
@media (prefers-reduced-motion: reduce) { .px-plat-list svg { transition: none; } }
@media (max-width: 720px) {
  .px-plat-group { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 16px; }
  .px-plat-list { gap: 12px 20px; }
}
