{
 "name": "Fedi Operator UI",
 "version": "1.0.0",
 "published": "2026-10-05",
 "extends": {
  "system": "Fedi Design System",
  "tokensVersion": "1.2.0",
  "url": "https://fedi-lab.vercel.app/design"
 },
 "scope": {
  "apps": [
   "Manifold Fedimint Guardian",
   "Manifold Liquidity Provider"
  ],
  "platform": "Desktop web, 1200px and wider",
  "audience": "Guardian hosts and liquidity providers running infrastructure and earning from it"
 },
 "reference": {
  "prototype": "https://fedi-miki.vercel.app/manifold/guardian-dashboard/redesign",
  "audit": "https://fedi-miki.vercel.app/manifold/guardian-dashboard/audit",
  "docs": "https://fedi-lab.vercel.app/design/operator"
 },
 "directive": "You are building UI for a Fedi OPERATOR dashboard (Manifold Fedimint Guardian or Manifold Liquidity Provider): a desktop web app (1200px+) used by people who run guardian or liquidity infrastructure and earn from it.\n\nUse the Fedi Design System base (tokens.json: Poppins, ink on white, solid pill buttons, 12px cards, 4pt spacing, base components) PLUS this operator layer. Compose screens only from the operator components (get_operator_components) and follow the operator patterns (get_operator_patterns). Reuse the CSS from get_operator_css instead of writing new styles.\n\nNon-negotiables:\n1. Honest status: never show green or \"healthy\" for an unknown or degraded state.\n2. Money never moves on one click: review → progress → receipt, with a history record.\n3. Names before IDs: technical identifiers live under \"Technical details\".\n4. Sats first, fiat beside them; thousands separators everywhere.\n5. Sensitive changes (payout address, recovery, access) are validated, confirmed, logged and alerted.\n6. Support may look and advise, never hold keys, move funds or act inside the host.\n7. Use the product terminology (check_operator_ui flags retired terms like FMan, FLIP, fleet, PeerBadge).\n\nBefore shipping, run check_operator_ui on the code. Money paths, onboarding/recovery and new patterns are design:leads work (get_design_involvement) — route them to design.",
 "principles": [
  {
   "title": "Answer “am I OK?” in one glance",
   "body": "A sentence, then three signals. Honest by default."
  },
  {
   "title": "Money in, money out, with receipts",
   "body": "One balance, one button, a review before anything moves and a record afterwards."
  },
  {
   "title": "Federations, not IDs",
   "body": "Names and logos first; hashes one click away for support."
  },
  {
   "title": "Calm by default, loud only when needed",
   "body": "Healthy is grey, colour is for problems, one severity scale."
  },
  {
   "title": "Setup that finishes",
   "body": "Check the machine, prove the backup, add a payout address, set a price, go."
  },
  {
   "title": "Every job has one home",
   "body": "Monitor, guard, get paid, sell, get help, configure."
  }
 ],
 "layout": {
  "minViewport": "1200px",
  "rail": {
   "width": "248px",
   "var": "--rail-w"
  },
  "topbar": {
   "height": "72px",
   "padding": "16px 40px",
   "sticky": true
  },
  "page": {
   "maxWidth": "1280px",
   "padding": "8px 40px 48px",
   "gap": "24px"
  },
  "grids": {
   "grid-2-1": "main content + side column (2fr / 1fr, 24px gap)",
   "grid-1-1": "two equal panels",
   "signals": "three status signals across",
   "settings": "220px sub-nav + content (max 760px)",
   "support": "1.7fr chat + 1fr side column"
  },
  "cardPadding": "24px",
  "detailPanelWidth": "560px",
  "dialogWidth": "520px (640px wide)",
  "zIndex": {
   "topbar": 20,
   "savebar": 30,
   "detailPanel": 51,
   "notifications": 55,
   "dialog": 60,
   "toast": 80
  }
 },
 "typography": [
  {
   "role": "Hero figure",
   "spec": "48/56 medium, letter-spacing −0.02em, proportional figures",
   "note": "Operator addition; one per view"
  },
  {
   "role": "Display / greeting",
   "spec": "32/40 medium (base h1)",
   "note": ""
  },
  {
   "role": "Page title",
   "spec": "24/32 medium (base h2)",
   "note": "In the top bar"
  },
  {
   "role": "Signal value",
   "spec": "20/28 medium (base h3)",
   "note": ""
  },
  {
   "role": "Card title",
   "spec": "16/24 semibold (b1Sbd)",
   "note": ""
  },
  {
   "role": "Body / table",
   "spec": "14/20 regular–medium (b2)",
   "note": "Tabular figures in tables"
  },
  {
   "role": "Caption / meta / axis",
   "spec": "12/16 regular (b3), gray-500",
   "note": ""
  }
 ],
 "color": {
  "series": [
   {
    "slot": 1,
    "token": "--blue-700",
    "hex": "#0277F2",
    "example": "guardian fees"
   },
   {
    "slot": 2,
    "token": "--teal-600",
    "hex": "#09A3B1",
    "example": "seat sales"
   },
   {
    "slot": 3,
    "token": "--pink-600",
    "hex": "#DC267B",
    "example": "third series"
   }
  ],
  "status": [
   {
    "state": "up / healthy",
    "token": "--gray-200 (ticks) · --green-600 (chips, dots)"
   },
   {
    "state": "brief outage / attention",
    "token": "--orange-500"
   },
   {
    "state": "down / broken now",
    "token": "--red-600"
   },
   {
    "state": "no data",
    "token": "--gray-50"
   }
  ],
  "validation": "Series 1–3 pass the dataviz validator: lightness band, chroma floor, CVD ΔE ≥ 8 between neighbours (worst blue/teal ΔE 17 deutan), contrast ≥ 3:1 on white."
 },
 "terminology": [
  {
   "use": "Manifold Fedimint Guardian",
   "not": [
    "FMan",
    "Fleet Manager",
    "fleet-manager"
   ],
   "note": "Product name. Code names only where literal (repos, env vars)."
  },
  {
   "use": "Manifold Liquidity Provider",
   "not": [
    "FLIP"
   ],
   "note": "First reference may say Federation Liquidity Provider."
  },
  {
   "use": "Federation Ambassador",
   "not": [
    "Federation Founder",
    "Federation Initiator",
    "FI"
   ],
   "note": "Short form: Ambassador."
  },
  {
   "use": "Fedi verification / Fedi verified",
   "not": [
    "PeerBadge"
   ],
   "note": ""
  },
  {
   "use": "this host / your guardians",
   "not": [
    "fleet",
    "your fleet"
   ],
   "note": "\"Guardian host\" is kept as a role name."
  },
  {
   "use": "Setting up keys",
   "not": [
    "DKG",
    "DKG in progress"
   ],
   "note": "Technical term allowed in Technical details."
  },
  {
   "use": "restart, stop responding",
   "not": [
    "admin API",
    "equivocate",
    "completion callback",
    "cycle turnover"
   ],
   "note": "Explain consequences instead of mechanisms."
  },
  {
   "use": "payout address",
   "not": [
    "revenue destination",
    "sweep destination"
   ],
   "note": ""
  },
  {
   "use": "Withdraw",
   "not": [
    "Sweep"
   ],
   "note": "\"Collect fees\" disappears from the UI; withdrawing collects pooled fees."
  }
 ],
 "operatorAllows": [
  "sidebar",
  "stepper",
  "tooltip"
 ],
 "proposedForBase": [
  "app-shell",
  "side-nav",
  "topbar",
  "status-signal",
  "uptime-ticks",
  "quorum",
  "capacity",
  "live-indicator",
  "amount-hero",
  "review-list",
  "progress-list",
  "receipt",
  "address-field",
  "data-table",
  "activity-feed",
  "key-value",
  "empty-state",
  "chart-columns",
  "chart-bars",
  "detail-panel",
  "save-bar",
  "step-list",
  "checklist",
  "count-control",
  "command-menu",
  "notification-panel",
  "support-chat"
 ],
 "components": [
  {
   "id": "app-shell",
   "name": "App shell",
   "category": "Layout",
   "origin": "operator",
   "description": "The desktop frame every operator page lives in: a fixed 248px navigation rail on the left and a scrolling main area with a sticky top bar. Min viewport 1200px.",
   "html": "<div class=\"app\" style=\"height:440px;min-width:0;border:1px solid var(--border-default);border-radius:12px;overflow:hidden\">\n  <nav class=\"rail\" aria-label=\"Main\">\n    <div class=\"product\"><b>Fedimint Guardian</b><span>Manifold</span></div>\n    <div class=\"hostpill\"><span class=\"dot live\"></span><div><b>mutual-hamster</b><span>Online · all systems normal</span></div></div>\n    <div class=\"navlist\">\n      <a class=\"navitem\" aria-current=\"page\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 10.5 12 3l9 7.5\"/><path d=\"M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5\"/></svg><span>Home</span></a>\n      <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/></svg><span>Federations</span><span class=\"navcount\">1</span></a>\n      <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"2.5\" y=\"6\" width=\"19\" height=\"14\" rx=\"2\"/><path d=\"M2.5 6V4.5A1.5 1.5 0 0 1 4 3h12a1.5 1.5 0 0 1 1.5 1.5V6\"/><path d=\"M16 13h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a1.5 1.5 0 0 1-1.5-1.5v-1A1.5 1.5 0 0 1 16 13z\"/></svg><span>Earnings</span></a>\n      <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z\"/><circle cx=\"7.5\" cy=\"7.5\" r=\"1.5\"/></svg><span>Listing</span></a>\n    </div>\n  </nav>\n  <main class=\"main\"><header class=\"topbar\"><h1 class=\"pt\">Home</h1><span class=\"tb-live\"><span class=\"dot live\"></span>Live · updated just now</span><span class=\"tb-spacer\"></span><button class=\"iconbtn\" aria-label=\"Notifications\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9\"/><path d=\"M13.7 21a2 2 0 0 1-3.4 0\"/></svg><span class=\"badge\">3</span></button></header>\n    <div class=\"page\"><div class=\"card subtle\" style=\"height:120px\"></div><div class=\"grid-2-1\"><div class=\"card\" style=\"height:140px\"></div><div class=\"card\" style=\"height:140px\"></div></div></div>\n  </main>\n</div>",
   "use": [
    "Every operator screen. One shell per app.",
    "Six nav items at most, one per job: Home, Federations (or Allocations), Earnings, Listing, Support, Settings."
   ],
   "avoid": [
    "Hiding a page that has no nav item (no orphan routes like the old /offer).",
    "Nesting a second navigation inside the main area; use tabs or a settings sub-nav instead."
   ],
   "anatomy": [
    ".app grid: var(--rail-w) + 1fr",
    ".rail: product, host pill, .navlist, .rail-foot (guide, sign out, version)",
    ".main: .topbar (sticky) + .page (max 1280px, 40px side padding)"
   ],
   "states": {},
   "tokens": [
    "--rail-w: 248px",
    "--border-default",
    "--bg-subtle"
   ],
   "a11y": null,
   "preview": {
    "height": 470
   }
  },
  {
   "id": "side-nav",
   "name": "Navigation rail",
   "category": "Layout",
   "origin": "operator",
   "description": "Primary navigation by job. Active item gets the subtle fill; attention counts use the amber badge, \"something new\" uses a blue dot.",
   "html": "<div class=\"rail\" style=\"width:248px;border:1px solid var(--border-default);border-radius:12px\">\n  <div class=\"hostpill\"><span class=\"dot warn\"></span><div><b>mutual-hamster</b><span>Needs attention</span></div></div>\n  <div class=\"navlist\">\n    <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 10.5 12 3l9 7.5\"/><path d=\"M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5\"/></svg><span>Home</span></a>\n    <a class=\"navitem\" aria-current=\"page\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/></svg><span>Federations</span><span class=\"navcount\">1</span></a>\n    <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"2.5\" y=\"6\" width=\"19\" height=\"14\" rx=\"2\"/><path d=\"M2.5 6V4.5A1.5 1.5 0 0 1 4 3h12a1.5 1.5 0 0 1 1.5 1.5V6\"/><path d=\"M16 13h5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-5a1.5 1.5 0 0 1-1.5-1.5v-1A1.5 1.5 0 0 1 16 13z\"/></svg><span>Earnings</span></a>\n    <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7a8.4 8.4 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.4 8.4 0 0 1 3.8-.9h.5a8.5 8.5 0 0 1 8 8v.5z\"/></svg><span>Support</span></a>\n    <a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"3\"/><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\"/></svg><span>Settings</span><span class=\"navdot\"></span></a>\n  </div>\n  <div class=\"rail-foot\"><a class=\"navitem\" href=\"#\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3\"/><path d=\"M12 17h.01\"/></svg><span>Guardian guide</span></a><button class=\"navitem\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"/><path d=\"m16 17 5-5-5-5\"/><path d=\"M21 12H9\"/></svg><span>Sign out</span></button><div class=\"rail-ver\">Version 0.1.2 · update ready</div></div>\n</div>",
   "use": [
    "Host status pill at the top tells the operator which machine they are on and its state.",
    "Sign out and the guide always live in the rail footer."
   ],
   "avoid": [
    "Icons on coloured tiles. Icons are bare line icons in ink.",
    "More than one badge style per item."
   ],
   "anatomy": [],
   "states": {
    "default": "gray-500 label",
    "hover": "bg-subtle fill",
    "current": "aria-current=\"page\", bg-subtle + ink label",
    "attention": ".navcount amber badge",
    "new": ".navdot blue dot"
   },
   "tokens": [],
   "a11y": "Wrap in <nav aria-label=\"Main\">; mark the current page with aria-current=\"page\".",
   "preview": {
    "height": 470
   }
  },
  {
   "id": "topbar",
   "name": "Top bar",
   "category": "Layout",
   "origin": "operator",
   "description": "Sticky page header: page title, live-data freshness, global search (⌘K) and notifications. Gains a hairline border once the page scrolls.",
   "html": "<header class=\"topbar\" style=\"position:relative;border:1px solid var(--border-default);border-radius:12px\">\n  <h1 class=\"pt\">Earnings</h1><span class=\"tb-live\"><span class=\"dot live\"></span>Live · updated 4 s ago</span><span class=\"tb-spacer\"></span>\n  <button class=\"searchbtn\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"/><path d=\"m20 20-3.5-3.5\"/></svg><span>Search or jump to…</span><kbd>⌘K</kbd></button>\n  <button class=\"iconbtn\" aria-label=\"Notifications\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9\"/><path d=\"M13.7 21a2 2 0 0 1-3.4 0\"/></svg><span class=\"badge\">3</span></button>\n</header>",
   "use": [
    "Always show data freshness on pages with live numbers.",
    "One title per page, 24/32 medium."
   ],
   "avoid": [
    "Primary actions in the top bar; they belong next to the thing they act on."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 120
   }
  },
  {
   "id": "button",
   "name": "Button",
   "category": "Base components",
   "origin": "base",
   "description": "Solid pill buttons from the base system. One primary per view. Money actions say exactly what happens and how much (\"Withdraw 90,850 sats\").",
   "html": "<div style=\"display:flex;gap:12px;flex-wrap:wrap;align-items:center\">\n  <button class=\"btn btn-primary btn-md\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7 17 17 7\"/><path d=\"M8 7h9v9\"/></svg>Withdraw 90,850 sats</button>\n  <button class=\"btn btn-secondary btn-md\">Cancel</button>\n  <button class=\"btn btn-primary\">Save changes</button>\n  <button class=\"btn btn-secondary\">Change address</button>\n  <button class=\"btn btn-secondary btn-xs\"><svg class=\"ic\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3v12\"/><path d=\"m7 10 5 5 5-5\"/><path d=\"M5 21h14\"/></svg>Export CSV</button>\n  <button class=\"btn btn-primary\" disabled>Withdraw</button>\n  <button class=\"btn btn-danger\">Remove address</button>\n  <button class=\"linkbtn\">Change</button>\n</div>",
   "use": [
    "Medium (48px) for the main action of a card or dialog, small (40px) inline, xsmall (32px) in tables and toolbars.",
    "Name the verb and the amount on money actions."
   ],
   "avoid": [
    "Gradients, sheen, square corners or a red fill for non-destructive actions.",
    "Two primary buttons side by side."
   ],
   "anatomy": [],
   "states": {
    "default": "ink fill / white + gray-200 border",
    "hover": "ink → #313538",
    "pressed": "primary → gray-400, scale .98",
    "disabled": "gray-150 fill, gray-400 label; say why next to it"
   },
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 160
   }
  },
  {
   "id": "chip",
   "name": "Status chip",
   "category": "Base components",
   "origin": "base",
   "description": "Tinted pill for state. Operator status vocabulary is fixed: Running, Setting up, Restarting, Ended, Verified, In review, Paused.",
   "html": "<div style=\"display:flex;gap:8px;flex-wrap:wrap\">\n  <span class=\"chip chip-ok\">Running</span><span class=\"chip chip-ok\">Verified</span><span class=\"chip chip-info\">Setting up</span>\n  <span class=\"chip chip-wait\">Restarting</span><span class=\"chip chip-wait\">In review</span><span class=\"chip chip-bad\">Down</span><span class=\"chip chip-neutral\">Ended</span><span class=\"chip chip-neutral\">Paused</span>\n</div>",
   "use": [
    "ok = healthy/approved, wait = needs attention or pending, bad = broken now, info = in progress, neutral = inactive."
   ],
   "avoid": [
    "Colour without a word; every chip has a label.",
    "Status colours for categories or chart series."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 110
   }
  },
  {
   "id": "input",
   "name": "Input",
   "category": "Base components",
   "origin": "base",
   "description": "Base text field (48px, 4px radius). Operators often type amounts and addresses, so validate as they type and say what is wrong in plain words.",
   "html": "<div style=\"display:grid;gap:20px;max-width:440px\">\n  <div class=\"field\"><label>Price per seat</label><div class=\"input-wrap\"><input class=\"input\" value=\"2500\"><span class=\"suffix\">sats</span></div><div class=\"help\">≈ $2.75 per seat · Fedi suggests $2–$3</div></div>\n  <div class=\"field\"><label>Lightning address</label><input class=\"input is-ok\" value=\"miki@getalby.com\"><div class=\"help ok\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg>Found it. Alby accepts Lightning payouts at this address.</div></div>\n  <div class=\"field\"><label>Lightning address</label><input class=\"input is-error\" value=\"lnbc10u1p3xyz…\"><div class=\"help err\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z\"/><path d=\"M12 9v4\"/><path d=\"M12 17h.01\"/></svg>That’s a one-time invoice. Payouts need a reusable Lightning address.</div></div>\n</div>",
   "use": [
    "Units as a suffix inside the field; fiat equivalent in the help line.",
    "Live validation with a short delay; never block typing."
   ],
   "avoid": [
    "Meaning that depends on an empty field vs zero. Use an explicit switch instead."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 330
   }
  },
  {
   "id": "toggle",
   "name": "Toggle",
   "category": "Base components",
   "origin": "base",
   "description": "On/off switch. In operator UI it is always paired with a sentence that says what changes.",
   "html": "<div class=\"row-toggle\" style=\"max-width:440px;border-top:0;padding-top:0\"><span>Auto-withdraw<small>Off · send automatically at 250,000 sats</small></span><button class=\"toggle\" role=\"switch\" aria-checked=\"false\" aria-label=\"Auto-withdraw\"></button></div>\n<div class=\"row-toggle\" style=\"max-width:440px\"><span>Take new federations<small>On · Manifold offers your open seats</small></span><button class=\"toggle\" role=\"switch\" aria-checked=\"true\" aria-label=\"Take new federations\"></button></div>",
   "use": [],
   "avoid": [
    "Toggles for one-off actions (use a button)."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": "role=\"switch\" + aria-checked + aria-label.",
   "preview": {
    "height": 150
   }
  },
  {
   "id": "tabs",
   "name": "Segmented tabs",
   "category": "Base components",
   "origin": "base",
   "description": "Base segmented control for ranges and filters. Optional count after each label.",
   "html": "<div style=\"display:grid;gap:16px;justify-items:start\">\n  <div class=\"seg\"><button aria-pressed=\"false\">7 days</button><button aria-pressed=\"true\">30 days</button><button aria-pressed=\"false\">90 days</button></div>\n  <div class=\"seg\"><button aria-pressed=\"true\">All<span class=\"n\">6</span></button><button aria-pressed=\"false\">Running<span class=\"n\">5</span></button><button aria-pressed=\"false\">Setting up<span class=\"n\">1</span></button><button aria-pressed=\"false\">Needs attention<span class=\"n\">0</span></button></div>\n</div>",
   "use": [
    "Date range first, then dimension filters, in one row above what they scope."
   ],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 140
   }
  },
  {
   "id": "banner",
   "name": "Banner",
   "category": "Base components",
   "origin": "base",
   "description": "Inline message. Operator UI uses one severity scale: info (neutral facts), warn (needs attention), ok (done). Red is reserved for money or identity at risk right now.",
   "html": "<div style=\"display:grid;gap:12px;max-width:640px\">\n  <div class=\"banner warn\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z\"/><path d=\"M12 9v4\"/><path d=\"M12 17h.01\"/></svg><div class=\"banner-t\"><b>Your guardian stopped responding 11 min ago</b><span>It’s restarting automatically (attempt 2 of 5). The federation keeps working because 3 of 4 guardians are online.</span><div class=\"banner-a\"><button class=\"btn btn-primary btn-xs\">Restart now</button><button class=\"btn btn-secondary btn-xs\">Troubleshooting guide</button></div></div></div>\n  <div class=\"banner info\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/><path d=\"m9 12 2 2 4-4\"/></svg><div class=\"banner-t\"><b>Fedi support will never ask for your recovery phrase or password.</b><span>If someone does, end the chat.</span></div></div>\n  <div class=\"banner ok\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg><div class=\"banner-t\"><b>Request sent to Fedi</b><span>You’ll be listed automatically once you’re verified.</span></div></div>\n</div>",
   "use": [
    "Say what happened, what it means, and the next step, with the action inside the banner."
   ],
   "avoid": [
    "A banner on every page. Calm by default.",
    "Red styling for instructions (e.g. a recovery phrase step)."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 330
   }
  },
  {
   "id": "card",
   "name": "Card",
   "category": "Base components",
   "origin": "base",
   "description": "White card with a 1px gray-150 border and 12px radius for data panels; gray-50 \"subtle\" card for secondary groupings. Header row: title (16/24 semibold), optional caption, controls on the right.",
   "html": "<div class=\"grid-1-1\">\n  <div class=\"card\"><div class=\"card-h\"><h3>Earnings</h3><span class=\"sub\">Last 30 days</span><span class=\"spacer\"></span><button class=\"linkbtn\">View all</button></div><p class=\"muted\">Card body.</p></div>\n  <div class=\"card subtle\"><div class=\"card-h\"><h3>Moving to a new machine?</h3></div><p class=\"muted\">Subtle card for guidance and secondary content.</p></div>\n</div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 190
   }
  },
  {
   "id": "avatar",
   "name": "Avatar",
   "category": "Base components",
   "origin": "base",
   "description": "Circle avatars. Federations use their logo image; the operator's own guardian is the ink \"You\" avatar; the Fedi support avatar uses the rainbowFedi brand gradient (the only allowed gradient).",
   "html": "<div style=\"display:flex;gap:16px;align-items:center\"><span class=\"av av-64\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/bitcoin-bharat.svg\" alt=\"\"></span><span class=\"av av-48\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/coastal-village.svg\" alt=\"\"></span><span class=\"av av-40\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/makerspace-collective.svg\" alt=\"\"></span><span class=\"av av-24\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/riverside-sats.svg\" alt=\"\"></span><span class=\"av av-48 ink\">You</span><span class=\"av av-48\">G2</span><span class=\"av av-40 sup-av\"><img src=\"https://fedi-lab.vercel.app/design-system/assets/fedi-logo-black.svg\" alt=\"\"></span></div>",
   "use": [],
   "avoid": [
    "Coloured initial tiles for federations that have a logo."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 120
   }
  },
  {
   "id": "toast",
   "name": "Toast",
   "category": "Base components",
   "origin": "base",
   "description": "Ink confirmation after an action. Operator toasts state the result with the number (\"Sent 90,750 sats\"), stack bottom-right above the page.",
   "html": "<div style=\"display:grid;gap:8px;justify-items:start\"><div class=\"toast\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg><span>Listing saved. Ambassadors see it within a few minutes</span></div><div class=\"toast\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M17 7 7 17\"/><path d=\"M16 17H7V8\"/></svg><span>+412 sats · guardian fees from Coastal Village</span></div></div>",
   "use": [],
   "avoid": [
    "Toasts as the only record of something that moved money. Money gets a receipt and a history row."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 130
   }
  },
  {
   "id": "modal",
   "name": "Dialog",
   "category": "Base components",
   "origin": "base",
   "description": "Centered dialog (16px radius, regular shadow) for confirmations and short tasks. Header with title + one-line explanation, actions bottom-right.",
   "html": "<div class=\"modal\" style=\"animation:none;max-height:none\"><div class=\"modal-h\"><div><h2>Change payout address?</h2><p>Future withdrawals go to the new address. We log the change and send you an alert.</p></div><button class=\"iconbtn\" aria-label=\"Close\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M18 6 6 18M6 6l12 12\"/></svg></button></div>\n  <div class=\"review\"><div><span>From</span><b>hamster@getalby.com</b></div><div><span>To</span><b>miki@getalby.com<small>Alby · checked just now</small></b></div></div>\n  <div class=\"modal-a\"><button class=\"btn btn-secondary btn-md\">Back</button><button class=\"btn btn-primary btn-md\">Change address</button></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": "role=\"dialog\" aria-modal=\"true\"; focus the first control; Esc closes unless money is in flight.",
   "preview": {
    "height": 380
   }
  },
  {
   "id": "status-signal",
   "name": "Status signal",
   "category": "Status & health",
   "origin": "operator",
   "description": "The three signals that open Home: guardians, listing, host. Each states the condition in words, links to where it is fixed, and is never green when the state is unknown.",
   "html": "<div class=\"signals\">\n  <a class=\"signal tone-ok\" href=\"#\"><div class=\"sig-top\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/><path d=\"m9 12 2 2 4-4\"/></svg><span>Guardians</span><span class=\"chip chip-ok\">Healthy</span></div><div class=\"sig-main\">5 of 5 online</div><div class=\"sig-sub\">99.99% uptime over 30 days</div><div class=\"ticks\"><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i></div></a>\n  <a class=\"signal tone-warn\" href=\"#\"><div class=\"sig-top\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/><path d=\"m9 12 2 2 4-4\"/></svg><span>Guardians</span><span class=\"chip chip-wait\">Needs attention</span></div><div class=\"sig-main\">4 of 5 online</div><div class=\"sig-sub\">Coastal Village is restarting (attempt 2 of 5)</div><div class=\"ticks\"><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"down\"></i></div></a>\n  <a class=\"signal tone-wait\" href=\"#\"><div class=\"sig-top\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z\"/><circle cx=\"7.5\" cy=\"7.5\" r=\"1.5\"/></svg><span>Listing</span><span class=\"chip chip-wait\">In review</span></div><div class=\"sig-main\">Not listed yet</div><div class=\"sig-sub\">Waiting for Fedi verification · requested today</div></a>\n</div>",
   "use": [
    "Exactly three across on Home. Unknown → neutral \"Checking…\", never green."
   ],
   "avoid": [
    "One banner that summarises everything (\"Advertised and healthy\")."
   ],
   "anatomy": [],
   "states": {
    "ok": "white card, ok chip",
    "warn": "orange-100 card, white chip, next step in the sub line",
    "wait": "neutral or pending chip"
   },
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 230
   }
  },
  {
   "id": "uptime-ticks",
   "name": "Uptime ticks",
   "category": "Status & health",
   "origin": "operator",
   "description": "One tick per day. Healthy days are quiet gray-200; only problems use colour. Always ships with the legend; each tick has a text title for the day.",
   "html": "<div style=\"display:grid;gap:12px;max-width:520px\"><div class=\"ticks\"><i class=\"none\"></i><i class=\"none\"></i><i class=\"none\"></i><i class=\"none\"></i><i class=\"none\"></i><i class=\"none\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"down\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i></div><div class=\"tick-legend\"><span><i></i>Up</span><span><i class=\"deg\"></i>Brief outage</span><span><i class=\"down\"></i>Down</span><span><i class=\"none\"></i>Not guarding yet</span></div></div>",
   "use": [
    "30 ticks in tables, 90 in detail panels."
   ],
   "avoid": [
    "Green for every healthy day; it buries the incidents."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [
    "up: --gray-200",
    "brief outage: --orange-500",
    "down: --red-600",
    "not guarding: --gray-50"
   ],
   "a11y": null,
   "preview": {
    "height": 110
   }
  },
  {
   "id": "quorum",
   "name": "Guardian quorum",
   "category": "Status & health",
   "origin": "operator",
   "description": "Shows every guardian of a federation, which one is yours, who is online, and how many must stay online (threshold = n − ⌊(n−1)/3⌋). Turns an outage into a readable risk level.",
   "html": "<div style=\"display:grid;gap:12px;max-width:520px\"><div class=\"guardians\">\n  <div class=\"gnode\"><span class=\"av av-48\">G1<span class=\"dot\"></span></span>Guardian 1</div>\n  <div class=\"gnode you\"><span class=\"av ink av-48\">You<span class=\"dot warn\"></span></span>Your guardian</div>\n  <div class=\"gnode\"><span class=\"av av-48\">G3<span class=\"dot\"></span></span>Guardian 3</div>\n  <div class=\"gnode\"><span class=\"av av-48\">G4<span class=\"dot\"></span></span>Guardian 4</div></div>\n  <div class=\"thresh warn\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z\"/><path d=\"M12 9v4\"/><path d=\"M12 17h.01\"/></svg><span>3 of 4 online. That’s exactly the 3 needed. If one more guardian drops, payments pause.</span></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 200
   }
  },
  {
   "id": "capacity",
   "name": "Capacity seats",
   "category": "Status & health",
   "origin": "operator",
   "description": "One square per seat: ink = guarding, gray = being set up, outlined = open, amber = over the limit. Pair with the hardware recommendation.",
   "html": "<div style=\"display:grid;gap:12px\"><div class=\"seatgrid\"><i class=\"run\"></i><i class=\"run\"></i><i class=\"run\"></i><i class=\"run\"></i><i class=\"run\"></i><i class=\"form\"></i><i></i><i></i></div>\n<div class=\"seat-legend\"><span><i class=\"run\"></i>Guarding 5</span><span><i class=\"form\"></i>Setting up 1</span><span><i></i>Open 2</span></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 120
   }
  },
  {
   "id": "live-indicator",
   "name": "Live indicator",
   "category": "Status & health",
   "origin": "operator",
   "description": "Pulsing dot plus freshness text for any page with live numbers. Amber dot when the host needs attention, gray while waiting.",
   "html": "<div style=\"display:flex;gap:24px;align-items:center\"><span class=\"tb-live\"><span class=\"dot live\"></span>Live · updated 4 s ago</span><span class=\"tb-live\"><span class=\"dot warn\"></span>Needs attention</span><span class=\"tb-live\"><span class=\"dot wait\"></span>Waiting for verification</span></div>",
   "use": [],
   "avoid": [
    "Silent stale data. If a read fails, say so and keep the last value dimmed."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 90
   }
  },
  {
   "id": "amount-hero",
   "name": "Balance",
   "category": "Money",
   "origin": "operator",
   "description": "The one big number of a view (48/56 medium) with unit, fiat equivalent, a composition bar and the breakdown. Exactly one hero figure per view.",
   "html": "<div class=\"card balance-card\" style=\"max-width:380px\"><div class=\"card-h\"><h3>Available to withdraw</h3></div>\n  <div class=\"bal\"><span class=\"bal-n\">90,850</span><span class=\"bal-u\">sats</span></div><div class=\"bal-fiat\">≈ $99.94</div>\n  <div class=\"compbar\"><i class=\"fees\" style=\"width:94%\"></i><i class=\"seats\" style=\"width:6%\"></i></div>\n  <dl class=\"kv\"><div><dt><i class=\"key fees\"></i>Guardian fees</dt><dd>85,850</dd></div><div><dt><i class=\"key seats\"></i>Seat sales</dt><dd>5,000</dd></div></dl>\n  <p class=\"fine\">Includes 8,220 sats still in the fee pool. We collect it for you when you withdraw.</p>\n  <button class=\"btn btn-primary btn-md btn-block\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7 17 17 7\"/><path d=\"M8 7h9v9\"/></svg>Withdraw 90,850 sats</button>\n  <div class=\"dest\">To <b>hamster@getalby.com</b><button class=\"linkbtn\">Change</button></div></div>",
   "use": [
    "Sats as the unit, fiat as the secondary line, always.",
    "Proportional figures for the hero; tabular figures in tables."
   ],
   "avoid": [
    "Several competing big numbers.",
    "Splitting one payout into per-federation or per-seat chores."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 480
   }
  },
  {
   "id": "review-list",
   "name": "Money review",
   "category": "Money",
   "origin": "operator",
   "description": "The confirmation step before money moves: amount, where it comes from, destination, fee estimate and what arrives. Required before any send.",
   "html": "<div class=\"review\" style=\"max-width:520px\">\n  <div><span>Guardian fees · 5 federations</span><b>85,850<small>incl. 8,220 collected from the pool</small></b></div>\n  <div><span>Seat sales</span><b>5,000</b></div>\n  <div><span>To</span><b>hamster@getalby.com<small>Alby · checked just now</small></b></div>\n  <div><span>Lightning fee (estimate)</span><b>≈ 100<small>max 0.5% · usually lower</small></b></div>\n  <div class=\"total\"><span>You receive about</span><b>90,750 sats<small>≈ $99.83</small></b></div></div>",
   "use": [],
   "avoid": [
    "One-click withdraw or one-click clear of a payout address."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 330
   }
  },
  {
   "id": "progress-list",
   "name": "Operation progress",
   "category": "Money",
   "origin": "operator",
   "description": "Multi-step operation in flight (a withdrawal, a restart). Steps go spinner → check. The dialog cannot be dismissed while money is moving.",
   "html": "<ol class=\"progress-list\" style=\"max-width:480px\">\n  <li class=\"done\"><span class=\"m\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span>Collecting 8,220 sats from the fee pool</li>\n  <li class=\"done\"><span class=\"m\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span>Gathering guardian fees from 5 federations</li>\n  <li class=\"active\"><span class=\"m\"></span>Paying hamster@getalby.com over Lightning</li>\n  <li><span class=\"m\"></span>Confirming the payment</li></ol>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 190
   }
  },
  {
   "id": "receipt",
   "name": "Receipt",
   "category": "Money",
   "origin": "operator",
   "description": "Success state after money moves: the amount that arrived, destination, time, fee and a copyable operation ID. The same data lands in history.",
   "html": "<div class=\"success\"><span class=\"big-check\"><svg class=\"ic\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span><h2>Sent 90,750 sats</h2><p>to <b>hamster@getalby.com</b> · Today, 14:36 · fee 100 sats</p><button class=\"copyval\">op_76b1f15e0d<svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"9\" y=\"9\" width=\"12\" height=\"12\" rx=\"2\"/><path d=\"M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1\"/></svg></button>\n<div class=\"modal-a\" style=\"justify-content:center\"><button class=\"btn btn-secondary btn-md\">View in history</button><button class=\"btn btn-primary btn-md\">Done</button></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 320
   }
  },
  {
   "id": "address-field",
   "name": "Payout address field",
   "category": "Money",
   "origin": "operator",
   "description": "Lightning address entry with a live lookup. Catches one-time invoices with an explanation; saving always goes through a confirm step and is logged.",
   "html": "<div class=\"field\" style=\"max-width:440px\"><label>Lightning address</label><input class=\"input is-ok\" value=\"miki@getalby.com\"><div class=\"help ok\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg>Found it. Alby accepts Lightning payouts at this address.</div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {
    "idle": "help text with an example",
    "checking": "spinner icon + \"Checking the address…\"",
    "ok": "green border + provider name",
    "invoice": "red + \"That’s a one-time invoice…\"",
    "not found": "red + domain named",
    "same": "neutral \"already your payout address\""
   },
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 150
   }
  },
  {
   "id": "data-table",
   "name": "Data table",
   "category": "Data",
   "origin": "operator",
   "description": "Row-link table for lists of federations, allocations or payouts. Name first (logo + name + one meta line), ID never the primary label. Whole row opens the detail panel.",
   "html": "<table class=\"fedtable\"><thead><tr><th>Federation</th><th>Status</th><th>Uptime · 30 days</th><th class=\"r\">Earned · 30 days</th><th></th></tr></thead><tbody>\n<tr class=\"rowlink\" tabindex=\"0\"><td><div class=\"fedcell\"><span class=\"av av-40\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/bitcoin-bharat.svg\" alt=\"\"></span><div><b>Bitcoin Bharat</b><span>Guardian 3 of 4 · Ambassador Ananya Rao</span></div></div></td><td><span class=\"chip chip-ok\">Running</span></td><td style=\"width:200px\"><div class=\"ticks\"><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i></div></td><td class=\"r\"><div class=\"amt\"><b>28,010 sats</b><span>≈ $30.81</span></div></td><td class=\"chev\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m9 6 6 6-6 6\"/></svg></td></tr>\n<tr class=\"rowlink\" tabindex=\"0\"><td><div class=\"fedcell\"><span class=\"av av-40\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/coastal-village.svg\" alt=\"\"></span><div><b>Coastal Village</b><span>Guardian 2 of 4 · Ambassador Tomás Ferreira</span></div></div></td><td><span class=\"chip chip-wait\">Restarting</span></td><td><div class=\"ticks\"><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"deg\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"\"></i><i class=\"down\"></i></div></td><td class=\"r\"><div class=\"amt\"><b>19,010 sats</b><span>≈ $20.91</span></div></td><td class=\"chev\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m9 6 6 6-6 6\"/></svg></td></tr>\n<tr class=\"rowlink\" tabindex=\"0\"><td><div class=\"fedcell\"><span class=\"av av-40\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/bitcoin-builders.svg\" alt=\"\"></span><div><b>Bitcoin Builders</b><span>Being set up · 3 of 4 guardians ready</span></div></div></td><td><span class=\"chip chip-info\">Setting up</span></td><td><span class=\"muted\">Starts when setup finishes</span></td><td class=\"r\"><div class=\"amt\"><span>—</span></div></td><td class=\"chev\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m9 6 6 6-6 6\"/></svg></td></tr>\n</tbody></table>",
   "use": [
    "Amounts right-aligned, sats on the first line and fiat on the second.",
    "Filters (segmented tabs + search) in one row above the table."
   ],
   "avoid": [
    "Hashes as the main label; IDs live in Technical details.",
    "A permanent glossary under the table; fix the labels instead."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 300
   }
  },
  {
   "id": "activity-feed",
   "name": "Activity feed",
   "category": "Data",
   "origin": "operator",
   "description": "Chronological record of everything that happened: fee batches, seat sales, withdrawals, health events, setting changes. Incoming amounts in green with a plus.",
   "html": "<ol class=\"feed\" style=\"max-width:440px\">\n<li class=\"feed-i\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M17 7 7 17\"/><path d=\"M16 17H7V8\"/></svg><div class=\"feed-t\"><div>Guardian fees from <b>5 federations</b></div><div class=\"feed-m\">5 fee batches · in pool · 52 min ago</div></div><div class=\"feed-a pos\">+3,700</div></li>\n<li class=\"feed-i\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z\"/><circle cx=\"7.5\" cy=\"7.5\" r=\"1.5\"/></svg><div class=\"feed-t\"><div>Seat sold to <b>Bitcoin Builders</b></div><div class=\"feed-m\">Seat sale · Ambassador Kwame Asante · 3 days ago</div></div><div class=\"feed-a pos\">+2,500</div></li>\n<li class=\"feed-i\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M21 12a9 9 0 1 1-2.6-6.4\"/><path d=\"M21 3v6h-6\"/></svg><div class=\"feed-t\"><div><b>Coastal Village</b> guardian was unreachable for 4 min and recovered on its own</div><div class=\"feed-m\">Health · 3 days ago</div></div><div></div></li>\n<li class=\"feed-i\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7 17 17 7\"/><path d=\"M8 7h9v9\"/></svg><div class=\"feed-t\"><div>Withdrew to <b>hamster@getalby.com</b></div><div class=\"feed-m\">Withdrawal · fee 89 sats · 1 Sep</div></div><div class=\"feed-a\">−81,260</div></li></ol>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 330
   }
  },
  {
   "id": "key-value",
   "name": "Key–value list + copy value",
   "category": "Data",
   "origin": "operator",
   "description": "Facts about an object. Technical identifiers use the copy value button and live under \"Technical details\", never in the primary label.",
   "html": "<dl class=\"kv\" style=\"max-width:480px\"><div><dt>Federation Ambassador</dt><dd>Ananya Rao</dd></div><div><dt>Seat price paid</dt><dd>2,000 sats</dd></div><div><dt>Federation ID</dt><dd><button class=\"copyval\">fed1q8vzt3…d73xk9<svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"9\" y=\"9\" width=\"12\" height=\"12\" rx=\"2\"/><path d=\"M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1\"/></svg></button></dd></div><div><dt>Invite code</dt><dd><button class=\"copyval\">fed11qgqzcd…rh7ap<svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"9\" y=\"9\" width=\"12\" height=\"12\" rx=\"2\"/><path d=\"M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1\"/></svg></button></dd></div></dl>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 200
   }
  },
  {
   "id": "empty-state",
   "name": "Empty state",
   "category": "Data",
   "origin": "operator",
   "description": "Encouraging, says how this area fills up and offers the next action.",
   "html": "<div class=\"card\"><div class=\"empty\"><svg class=\"ic\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3 5 6v5c0 4.5 3 8.3 7 10 4-1.7 7-5.5 7-10V6l-7-3z\"/></svg><b>No federations yet</b><p>Once Fedi verifies you, Manifold offers your seats to Federation Ambassadors.<br>New federations show up here with their setup progress.</p><button class=\"btn btn-secondary\">Review your listing</button></div></div>",
   "use": [],
   "avoid": [
    "Dead ends (\"there is no create action on this dashboard\")."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 280
   }
  },
  {
   "id": "chart-columns",
   "name": "Chart · stacked columns",
   "category": "Data",
   "origin": "operator",
   "description": "Day-to-day earnings: series 1 (blue-700) guardian fees, series 2 (teal-600) seat sales. Bars ≤ 24px with a 2px surface gap between stacked segments, hairline grid, legend above, hover card with every series, value leads.",
   "html": "<div class=\"chart\" style=\"max-width:720px\"><svg viewBox=\"0 0 700 230\" height=\"230\">\n<line class=\"gridline\" x1=\"56\" x2=\"700\" y1=\"196\" y2=\"196\"/><line class=\"gridline\" x1=\"56\" x2=\"700\" y1=\"136\" y2=\"136\"/><line class=\"gridline\" x1=\"56\" x2=\"700\" y1=\"76\" y2=\"76\"/><line class=\"gridline\" x1=\"56\" x2=\"700\" y1=\"16\" y2=\"16\"/>\n<text class=\"axis\" x=\"44\" y=\"200\" text-anchor=\"end\">0</text><text class=\"axis\" x=\"44\" y=\"140\" text-anchor=\"end\">2,000</text><text class=\"axis\" x=\"44\" y=\"80\" text-anchor=\"end\">4,000</text><text class=\"axis\" x=\"44\" y=\"20\" text-anchor=\"end\">6,000</text>\n<g class=\"col\"><path class=\"fees\" d=\"M56,106V196H70V106Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M78,86V196H92V86Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M100,76V196H114V76Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M122,126V196H136V126Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M144,118V196H158V118Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M166,92V196H180V92Z\"/><path class=\"seats\" d=\"M166,44V90H180V44Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M188,100V196H202V100Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M210,94V196H224V94Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M232,108V196H246V108Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M254,116V196H268V116Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M276,110V196H290V110Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M298,90V196H312V90Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M320,98V196H334V98Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M342,104V196H356V104Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M364,96V196H378V96Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M386,112V196H400V112Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M408,120V196H422V120Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M430,118V196H444V118Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M452,86V196H466V86Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M474,96V196H488V96Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M496,92V196H510V92Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M518,98V196H532V98Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M540,106V196H554V106Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M562,118V196H576V118Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M584,122V196H598V122Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M606,88V196H620V88Z\"/><path class=\"seats\" d=\"M606,42V86H620V42Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M628,86V196H642V86Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M650,82V196H664V82Z\"/></g><g class=\"col\"><path class=\"fees\" d=\"M672,104V196H686V104Z\"/></g><text class=\"axis\" x=\"70\" y=\"222\" text-anchor=\"middle\">27 Aug</text><text class=\"axis\" x=\"370\" y=\"222\" text-anchor=\"middle\">10 Sep</text><text class=\"axis\" x=\"680\" y=\"222\" text-anchor=\"middle\">Today</text></svg>\n<div class=\"tipcard show\" style=\"left:420px;top:8px\"><div class=\"tt-h\">Saturday, 19 Sep 2026</div><div class=\"tt-r\"><i class=\"key line\" style=\"background:var(--series-fees)\"></i>Guardian fees<b>3,120</b></div><div class=\"tt-r\"><i class=\"key line\" style=\"background:var(--series-seats)\"></i>Seat sales<b>0</b></div><div class=\"tt-r tt-tot\">Total<b>3,120 sats</b></div></div></div>",
   "use": [
    "Legend for ≥ 2 series; label only the peak or the endpoint.",
    "Range tabs (7/30/90 days) in the card header."
   ],
   "avoid": [
    "Dual axes, dashed gridlines, a number on every bar, coloured text."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [
    "--series-fees: --blue-700",
    "--series-seats: --teal-600",
    "series 3: --pink-600",
    "grid: --gray-150"
   ],
   "a11y": null,
   "preview": {
    "height": 270
   }
  },
  {
   "id": "chart-bars",
   "name": "Chart · horizontal bars",
   "category": "Data",
   "origin": "operator",
   "description": "Comparison across named items (fees by federation). One series = one colour for every bar, values at the bar tip, sorted descending.",
   "html": "<div class=\"chart\" style=\"max-width:560px\"><svg viewBox=\"0 0 560 200\" height=\"200\">\n<text class=\"hlabel\" x=\"0\" y=\"24\">Makerspace Collective</text><path class=\"hbar\" d=\"M184,10H436Q440,10 440,14V26Q440,30 436,30H184Z\"/><text class=\"hval\" x=\"448\" y=\"24\">48,120 sats</text>\n<text class=\"hlabel\" x=\"0\" y=\"64\">Bitcoin Bharat</text><path class=\"hbar\" d=\"M184,50H329Q333,50 333,54V66Q333,70 329,70H184Z\"/><text class=\"hval\" x=\"341\" y=\"64\">28,010 sats</text>\n<text class=\"hlabel\" x=\"0\" y=\"104\">Coastal Village</text><path class=\"hbar\" d=\"M184,90H283Q287,90 287,94V106Q287,110 283,110H184Z\"/><text class=\"hval\" x=\"295\" y=\"104\">19,010 sats</text>\n<text class=\"hlabel\" x=\"0\" y=\"144\">Riverside Sats</text><path class=\"hbar\" d=\"M184,130H246Q250,130 250,134V146Q250,150 246,150H184Z\"/><text class=\"hval\" x=\"258\" y=\"144\">12,620 sats</text>\n<text class=\"hlabel\" x=\"0\" y=\"184\">Sats Collective</text><path class=\"hbar\" d=\"M184,170H200Q204,170 204,174V186Q204,190 200,190H184Z\"/><text class=\"hval\" x=\"212\" y=\"184\">3,730 sats</text></svg></div>",
   "use": [],
   "avoid": [
    "A value ramp on nominal categories (darker = bigger)."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 230
   }
  },
  {
   "id": "detail-panel",
   "name": "Detail panel",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Right-hand panel (560px) that opens from a table row: header with logo and status, three stats, sections, and Technical details collapsed at the end.",
   "html": "<aside class=\"drawer\" style=\"position:relative;inset:auto;width:560px;max-width:100%;animation:none;box-shadow:var(--shadow-soft);border:1px solid var(--border-default);border-radius:12px\">\n<div class=\"drawer-h\"><span class=\"av av-64\"><img src=\"https://fedi-miki.vercel.app/manifold/guardian-dashboard/media/federations/coastal-village.svg\" alt=\"\"></span><div><h2>Coastal Village</h2><div class=\"sub\">Guardian 2 of 4 · <span class=\"chip chip-ok\">Running</span></div></div><button class=\"iconbtn\" aria-label=\"Close\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M18 6 6 18M6 6l12 12\"/></svg></button></div>\n<div class=\"stat3\"><div class=\"stat\"><span>Earned · 30 days</span><b>19,010</b><small>sats · ≈ $20.91</small></div><div class=\"stat\"><span>Earned · all time</span><b>49,280</b><small>incl. seat sale 2,000</small></div><div class=\"stat\"><span>Uptime · 90 days</span><b>99.93%</b><small>87 min unreachable</small></div></div>\n<details class=\"tech\"><summary><svg class=\"ic\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m9 6 6 6-6 6\"/></svg>Technical details</summary><dl class=\"kv\"><div><dt>Federation ID</dt><dd>fed1l2c9mx…qp81vz</dd></div></dl></details></aside>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": "role=\"dialog\" aria-modal=\"true\"; Esc closes; focus the close button on open.",
   "preview": {
    "height": 330
   }
  },
  {
   "id": "save-bar",
   "name": "Save bar",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Appears when a settings form has unsaved changes. Ink pill pinned above the bottom edge with Discard and Save.",
   "html": "<div class=\"savebar\" style=\"position:static;animation:none;margin:0\"><span>You have unsaved changes</span><button class=\"btn btn-secondary btn-xs\">Discard</button><button class=\"btn btn-primary btn-xs\">Save changes</button></div>",
   "use": [],
   "avoid": [
    "Two save buttons for one page."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 110
   }
  },
  {
   "id": "step-list",
   "name": "Setup steps",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Left-hand step list for multi-step setup. Done steps are ink with a check, the current step is a raised white row, each step has a one-line purpose.",
   "html": "<ol class=\"setup-steps\" style=\"max-width:300px;background:var(--bg-subtle);padding:16px;border-radius:12px\">\n<li class=\"done\"><span class=\"n\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span><div><b>Start</b><small>Host check</small></div></li>\n<li class=\"done\"><span class=\"n\"><svg class=\"ic\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span><div><b>Recovery phrase</b><small>Write down 12 words</small></div></li>\n<li class=\"now\"><span class=\"n\">3</span><div><b>Payout address</b><small>Where money goes</small></div></li>\n<li><span class=\"n\">4</span><div><b>Listing</b><small>Price and capacity</small></div></li>\n<li><span class=\"n\">5</span><div><b>Verification</b><small>Get listed by Fedi</small></div></li></ol>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 370
   }
  },
  {
   "id": "checklist",
   "name": "Readiness checklist",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "First-day checklist on Home until everything is done: progress bar, done/waiting/next states, inline action for the missing piece.",
   "html": "<div class=\"card\" style=\"max-width:640px\"><div class=\"card-h\"><h3>Get ready to earn</h3><span class=\"spacer\"></span><span class=\"sub\">3 of 5 done</span></div><div class=\"progress\"><i style=\"width:60%\"></i></div>\n<div class=\"checklist\"><div class=\"check-i done\"><span class=\"mark\"><svg class=\"ic\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m5 12.5 4.5 4.5L19 7.5\"/></svg></span><div><b>Recovery phrase checked</b><span>You confirmed 3 of your 12 words</span></div></div>\n<div class=\"check-i wait\"><span class=\"mark\"><svg class=\"ic\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M12 7v5l3 2\"/></svg></span><div><b>Verified by Fedi</b><span>In review · we’ll send you an alert</span></div></div>\n<div class=\"check-i\"><span class=\"mark\">5</span><div><b>First seat sold</b><span>Manifold picks hosts automatically once they’re listed</span></div><button class=\"btn btn-secondary btn-xs\">Review listing</button></div></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 330
   }
  },
  {
   "id": "count-control",
   "name": "Count control",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Minus / value / plus for small bounded integers (capacity). Buttons disable at the bounds and the reason is stated below.",
   "html": "<div class=\"row-between\" style=\"max-width:560px\"><div class=\"countctl\"><button aria-label=\"Fewer seats\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M5 12h14\"/></svg></button><output>8</output><button aria-label=\"More seats\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 5v14M5 12h14\"/></svg></button></div><div><b>8 seats · 2 open</b><p>This host has 16 GB of memory. We recommend up to 8 seats.</p></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 120
   }
  },
  {
   "id": "command-menu",
   "name": "Command menu",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "⌘K / Ctrl+K: search actions, pages and objects (federations). Arrow keys to move, Enter to run.",
   "html": "<div class=\"modal cmd\" style=\"margin:0;animation:none;max-height:none\"><div class=\"cmd-in\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"/><path d=\"m20 20-3.5-3.5\"/></svg><input placeholder=\"Search actions, pages and federations\" value=\"with\"></div>\n<ul class=\"cmd-list\"><li class=\"on\"><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7 17 17 7\"/><path d=\"M8 7h9v9\"/></svg>Withdraw earnings<span>Earnings</span></li><li><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M13 2 4 14h7l-1 8 9-12h-7l1-8z\"/></svg>Change payout address<span>Payouts</span></li><li><svg class=\"ic\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m21 8-9-5-9 5 9 5 9-5z\"/><path d=\"M3 8v8l9 5 9-5V8\"/><path d=\"M12 13v8\"/></svg>How to update to 0.2.0<span>Software</span></li></ul></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 260
   }
  },
  {
   "id": "notification-panel",
   "name": "Notifications",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Panel under the bell: unread rows on the subtle fill, each row opens where the event is handled.",
   "html": "<div class=\"panel\" style=\"position:static;animation:none;max-height:none\"><div class=\"panel-h\"><b>Notifications</b><button class=\"linkbtn\">Mark all read</button></div>\n<div class=\"notif unread\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z\"/><path d=\"M12 9v4\"/><path d=\"M12 17h.01\"/></svg><div><div>Coastal Village guardian stopped responding</div><small>Restarting automatically · 11 min ago</small></div></div>\n<div class=\"notif unread\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m21 8-9-5-9 5 9 5 9-5z\"/><path d=\"M3 8v8l9 5 9-5V8\"/><path d=\"M12 13v8\"/></svg><div><div>Update available: version 0.2.0</div><small>Lower mint fees and faster restarts · 2 days ago</small></div></div>\n<div class=\"notif\"><svg class=\"ic\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M7 17 17 7\"/><path d=\"M8 7h9v9\"/></svg><div><div>Withdrawal sent</div><small>81,260 sats · 1 Sep</small></div></div></div>",
   "use": [],
   "avoid": [],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 300
   }
  },
  {
   "id": "support-chat",
   "name": "Support chat",
   "category": "Flows & feedback",
   "origin": "operator",
   "description": "Base chat bubbles (sent = blue-700, received = gray-50) adapted for operator support: safety line pinned, diagnostics shared as a card, fixes arrive as suggestions the operator runs.",
   "html": "<div class=\"msgs\" style=\"padding:0;max-width:640px\">\n<div class=\"msg-sys\">Today</div>\n<div class=\"msg out\"><p>My guardian for Coastal Village shows “Restarting”. Do I need to do something?</p><time>14:14</time></div>\n<div class=\"msg-row\"><span class=\"av sup-av av-32\"><img src=\"https://fedi-lab.vercel.app/design-system/assets/fedi-logo-black.svg\" alt=\"\"></span><div class=\"msg in\"><p>Could you share a diagnostics report so I can see why it stopped?</p><time>14:17 · Ana</time></div></div>\n<div class=\"msg-row\"><span class=\"av sup-av av-32\"><img src=\"https://fedi-lab.vercel.app/design-system/assets/fedi-logo-black.svg\" alt=\"\"></span><div class=\"fix-card\"><span class=\"label\">Suggested fix · needs your approval</span><b>Restart your Coastal Village guardian</b><p>Takes about a minute. Your balance and identity aren’t touched.</p><div class=\"banner-a\"><button class=\"btn btn-primary btn-xs\">Run it</button><button class=\"btn btn-secondary btn-xs\">Not now</button></div></div></div></div>",
   "use": [
    "Pin: \"Fedi support will never ask for your recovery phrase, your password or remote access to your machine.\""
   ],
   "avoid": [
    "Support executing actions, seeing the phrase, or changing the payout address."
   ],
   "anatomy": [],
   "states": {},
   "tokens": [],
   "a11y": null,
   "preview": {
    "height": 360
   }
  }
 ],
 "patterns": [
  {
   "id": "honest-status",
   "name": "Honest status",
   "rules": [
    "Open every Home with one sentence about right now, then three signals: guardians, listing, host.",
    "Unknown is never green. Show \"Checking…\" (neutral) or \"Can’t check right now\" (warn) and keep the last known value dimmed.",
    "A degraded guardian turns its signal amber with the next step; the attention count shows on the nav item.",
    "Healthy history is quiet (gray ticks); colour is reserved for incidents."
   ],
   "components": [
    "status-signal",
    "uptime-ticks",
    "quorum",
    "live-indicator"
   ]
  },
  {
   "id": "money-movement",
   "name": "Moving money",
   "rules": [
    "Review → progress → receipt. Never one click.",
    "The review shows amount, sources, destination, fee estimate and what arrives, in sats with fiat beside them.",
    "While money is in flight the dialog can’t be dismissed by clicking outside.",
    "Every movement leaves a history row with a copyable operation ID and an activity entry.",
    "One balance, one \"Withdraw all\"; internal mechanics (fee pools, per-federation wallets) are handled for the operator."
   ],
   "components": [
    "amount-hero",
    "review-list",
    "progress-list",
    "receipt",
    "activity-feed"
   ]
  },
  {
   "id": "sensitive-changes",
   "name": "Sensitive changes",
   "rules": [
    "Payout address, recovery, verification and access grants are sensitive: validate live, confirm in a dialog that shows from → to, log the change, send an alert.",
    "No one-click clear or delete. Destructive buttons use --error only when the action destroys something.",
    "Restore and \"two hosts on one phrase\" warnings are written in plain language and require an explicit acknowledgement."
   ],
   "components": [
    "address-field",
    "modal",
    "toggle"
   ]
  },
  {
   "id": "identity",
   "name": "Names before IDs",
   "rules": [
    "Federations: logo + name first, role (\"Guardian 2 of 4\") second. Ambassadors by name.",
    "IDs, invite codes, seat IDs, keys and callbacks live under \"Technical details\" with copy buttons.",
    "Dates: \"22 Jul 2025 · 3 days ago\", never ISO in the UI."
   ],
   "components": [
    "data-table",
    "key-value",
    "detail-panel"
   ]
  },
  {
   "id": "numbers",
   "name": "Numbers and units",
   "rules": [
    "Sats are the unit (\"90,850 sats\"); fiat is the secondary line (\"≈ $99.94\").",
    "Thousands separators always. Tabular figures in tables and axes, proportional for hero figures.",
    "Incoming amounts: \"+3,700\" in green-600. Outgoing: \"−81,260\" in ink.",
    "Prices are entered in sats with live fiat and a sanity warning outside the normal range."
   ],
   "components": [
    "amount-hero",
    "input",
    "data-table"
   ]
  },
  {
   "id": "navigation",
   "name": "Navigation by job",
   "rules": [
    "Guardian: Home, Federations, Earnings, Listing, Support, Settings. Liquidity Provider: Home, Allocations, Earnings, Gateway, Support, Settings.",
    "Every page has a nav item; detail views open as a right-hand panel, not a new route without a way back.",
    "Settings has its own sub-navigation: Payouts, Backup and recovery, Software, Alerts, Security, Terms.",
    "⌘K reaches every action and object."
   ],
   "components": [
    "app-shell",
    "side-nav",
    "topbar",
    "command-menu"
   ]
  },
  {
   "id": "setup",
   "name": "Setup that finishes",
   "rules": [
    "Run a host check first (node in sync, memory, disk, reachability).",
    "Show the recovery phrase as a numbered 3×4 grid, veiled until revealed, then check three words before continuing.",
    "Ask for the payout address during setup (skippable), validate it live.",
    "Request verification at the end; never block setup on it. Track the rest on a first-day checklist."
   ],
   "components": [
    "step-list",
    "checklist",
    "address-field"
   ]
  },
  {
   "id": "support",
   "name": "Support and remote help",
   "rules": [
    "Support can look and advise, but never holds keys, moves funds or acts inside the host.",
    "Pin the safety line in every chat. Diagnostics are redacted by design and list what is never included.",
    "Read-only access is off by default, time-limited (1 h / 24 h / 7 days), revocable and logged.",
    "Fixes arrive as suggested actions the operator runs themselves."
   ],
   "components": [
    "support-chat",
    "banner",
    "toggle"
   ]
  },
  {
   "id": "charts",
   "name": "Charts",
   "rules": [
    "Series order is fixed: blue-700, teal-600, pink-600. Colour follows the entity, never its rank.",
    "Status colours (green, orange, red) only mean status and always come with a label.",
    "One axis only. Thin marks (bars ≤ 24px, 2px lines), hairline solid grid, 2px surface gap between stacked segments.",
    "Legend for 2+ series; direct labels only on the peak or endpoint; hover card lists every series, value first.",
    "Every chart has a table or history equivalent."
   ],
   "components": [
    "chart-columns",
    "chart-bars",
    "uptime-ticks"
   ]
  },
  {
   "id": "copy",
   "name": "Voice and terminology",
   "rules": [
    "Write for operators, not for the daemon: say what happened, what it means, what to do.",
    "Technical terms only inside Technical details or support diagnostics.",
    "Buttons are verbs with the object or amount (\"Change address\", \"Withdraw 90,850 sats\")."
   ],
   "components": [
    "banner",
    "empty-state"
   ]
  }
 ],
 "css": "/* Fedi Operator UI — v1.0.0\n   Extension layer of the Fedi Design System (tokens.json v1.2.0) for desktop operator dashboards:\n   Manifold Fedimint Guardian and Manifold Liquidity Provider.\n   Reference implementation: https://fedi-miki.vercel.app/manifold/guardian-dashboard/redesign\n   Docs: https://fedi-lab.vercel.app/design/operator  ·  MCP: get_operator_components / get_operator_css\n   Series colours: blue-700 = series 1, teal-600 = series 2, pink-600 = series 3 (validated for colour-blind safety).\n   Status colours (green/orange/red) only ever mean status. */\n\n:root {\n  /* neutral ramp */\n  --black: #0B1013;\n  --black-soft: #313538;\n  --gray-500: #6D7071;\n  --gray-400: #9C9EA0;\n  --gray-200: #D3D4DB;\n  --gray-150: #EAEAEB;\n  --gray-50: #F8F8F8;\n  --white: #FFFFFF;\n  /* palettes */\n  --orange-600: #DF7B00;\n  --orange-500: #FCA404;\n  --orange-100: #FFF5C5;\n  --teal-600: #09A3B1;\n  --teal-100: #CFFEFD;\n  --pink-600: #DC267B;\n  --pink-100: #FCE7F3;\n  --red-600: #E00A00;\n  --red-100: #FFDFDD;\n  --green-600: #00A829;\n  --green-100: #D7FFE0;\n  --blue-700: #0277F2;\n  --blue-100: #D6F2FF;\n  /* semantic */\n  --text-primary: var(--black);\n  --text-secondary: var(--gray-500);\n  --text-tertiary: var(--gray-400);\n  --bg-base: var(--white);\n  --bg-subtle: var(--gray-50);\n  --border-default: var(--gray-150);\n  --border-strong: var(--gray-200);\n  /* data series */\n  --series-fees: var(--blue-700);\n  --series-seats: var(--teal-600);\n  --note: var(--pink-600);\n  /* shape + depth */\n  --radius-sm: 4px;\n  --radius-md: 8px;\n  --radius-lg: 12px;\n  --radius-xl: 16px;\n  --radius-xxl: 20px;\n  --radius-full: 9999px;\n  --shadow-soft: 0px 4px 24px rgba(11, 16, 19, 0.10);\n  --shadow-regular: 0px 4px 20px rgba(11, 16, 19, 0.30), 0px 2px 2px rgba(11, 16, 19, 0.20);\n  --rail-w: 248px;\n  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n\n* { box-sizing: border-box; }\nhtml, body { margin: 0; height: 100%; }\nbody {\n  font-family: Poppins, sans-serif;\n  font-size: 14px;\n  line-height: 20px;\n  font-weight: 400;\n  color: var(--text-primary);\n  background: var(--bg-base);\n  -webkit-font-smoothing: antialiased;\n}\nbutton, input { font-family: inherit; color: inherit; }\na { color: inherit; }\nh1, h2, h3, h4, p { margin: 0; }\n.ic { display: block; flex: none; }\n.num { font-variant-numeric: tabular-nums; }\n.muted { color: var(--text-secondary); }\n.faint { color: var(--text-tertiary); }\n:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }\n.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }\n\n/* ───────── App frame ───────── */\n.app { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); height: 100vh; min-width: 1200px; }\n.rail {\n  display: flex; flex-direction: column; gap: 24px;\n  padding: 24px 16px; border-right: 1px solid var(--border-default); background: var(--white);\n  overflow: auto; position: relative;\n}\n.product { display: grid; gap: 4px; padding: 0 12px; }\n.product img { height: 16px; width: auto; display: block; }\n.product span { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.product b { font-size: 16px; line-height: 24px; font-weight: 600; }\n.hostpill {\n  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-lg);\n  background: var(--bg-subtle);\n}\n.hostpill b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }\n.hostpill span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--green-600); flex: none; }\n.dot.warn { background: var(--orange-500); }\n.dot.wait { background: var(--gray-400); }\n.dot.live { box-shadow: 0 0 0 0 rgba(0, 168, 41, 0.5); animation: pulse 2.4s infinite; }\n@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 41, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(0, 168, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 168, 41, 0); } }\n.navlist { display: grid; gap: 4px; }\n.navitem {\n  display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px;\n  border: 0; border-radius: var(--radius-md); background: none; cursor: pointer; text-align: left;\n  font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none;\n  transition: background 0.15s ease, color 0.15s ease;\n}\n.navitem:hover { background: var(--bg-subtle); color: var(--text-primary); }\n.navitem[aria-current=\"page\"] { background: var(--bg-subtle); color: var(--text-primary); }\n.navitem .ext { margin-left: auto; color: var(--text-tertiary); }\n.navcount {\n  margin-left: auto; min-width: 20px; height: 20px; padding: 0 4px; border-radius: var(--radius-full);\n  background: var(--orange-500); color: var(--black); font-size: 12px; font-weight: 600;\n  display: inline-grid; place-items: center;\n}\n.navdot { margin-left: auto; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--blue-700); }\n.rail-foot { margin-top: auto; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--border-default); }\n.rail-ver { padding: 8px 12px 0; font-size: 12px; line-height: 16px; color: var(--text-tertiary); }\n\n.main { overflow: auto; position: relative; background: var(--white); }\n.topbar {\n  position: sticky; top: 0; z-index: 20;\n  display: flex; align-items: center; gap: 16px; padding: 16px 40px;\n  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);\n  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;\n}\n.topbar.scrolled { border-bottom-color: var(--border-default); }\n.pt { font-size: 24px; line-height: 32px; font-weight: 500; }\n.tb-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.tb-spacer { flex: 1; }\n.searchbtn {\n  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; min-width: 280px;\n  border: 1.5px solid var(--border-strong); border-radius: var(--radius-full); background: var(--white);\n  color: var(--text-secondary); cursor: pointer; font-size: 14px;\n}\n.searchbtn:hover { background: var(--bg-subtle); }\n.searchbtn kbd { margin-left: auto; font-family: inherit; font-size: 12px; color: var(--text-tertiary); }\n.iconbtn {\n  position: relative; width: 40px; height: 40px; border-radius: var(--radius-full); border: 0; background: none;\n  display: grid; place-items: center; cursor: pointer; color: var(--text-primary);\n}\n.iconbtn:hover { background: var(--bg-subtle); }\n.iconbtn .badge {\n  position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-full);\n  background: var(--red-600); color: var(--white); font-size: 10px; line-height: 16px; font-weight: 600; text-align: center;\n}\n.page { padding: 8px 40px 48px; max-width: 1280px; display: grid; gap: 24px; }\n.page::after { content: \"\"; display: block; height: 72px; }\n.page-sub { font-size: 16px; line-height: 24px; color: var(--text-secondary); }\n\n/* ───────── Primitives from the design system ───────── */\n.card { position: relative; background: var(--white); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 24px; }\n.card.subtle { background: var(--bg-subtle); border-color: transparent; }\n.card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; min-height: 32px; }\n.card-h h3 { font-size: 16px; line-height: 24px; font-weight: 600; }\n.card-h .spacer { flex: 1; }\n.card-h .sub { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n\n.btn {\n  display: inline-flex; align-items: center; justify-content: center; gap: 8px;\n  height: 40px; padding: 0 16px; border-radius: var(--radius-full); border: 1.5px solid transparent;\n  font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; cursor: pointer; text-decoration: none;\n  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;\n}\n.btn:active { transform: scale(0.98); }\n.btn-primary { background: var(--black); color: var(--white); }\n.btn-primary:hover { background: var(--black-soft); }\n.btn-primary:active { background: var(--gray-400); }\n.btn-secondary { background: var(--white); color: var(--black); border-color: var(--border-strong); }\n.btn-secondary:hover { background: var(--bg-subtle); }\n.btn-danger { background: var(--red-600); color: var(--white); }\n.btn:disabled, .btn[aria-disabled=\"true\"] { background: var(--gray-150); color: var(--gray-400); border-color: transparent; cursor: not-allowed; transform: none; }\n.btn-md { height: 48px; font-size: 16px; padding: 0 24px; }\n.btn-xs { height: 32px; font-size: 14px; padding: 0 16px; }\n.btn-block { width: 100%; }\n.linkbtn {\n  background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; font-weight: 500; color: var(--text-primary);\n  text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px;\n}\n.linkbtn:hover { text-decoration-color: var(--black); }\n\n.chip {\n  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 12px; border-radius: var(--radius-full);\n  font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap;\n}\n.chip-ok { background: var(--green-100); color: var(--green-600); }\n.chip-wait { background: var(--orange-100); color: var(--orange-600); }\n.chip-bad { background: var(--red-100); color: var(--red-600); }\n.chip-info { background: var(--blue-100); color: var(--blue-700); }\n.chip-neutral { background: var(--bg-subtle); color: var(--gray-500); }\n\n.field { display: grid; gap: 8px; }\n.field > label, .label { font-size: 14px; line-height: 20px; font-weight: 500; }\n.input {\n  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);\n  background: var(--white); font-size: 16px; line-height: 24px; transition: border-color 0.15s ease, box-shadow 0.15s ease;\n}\n.input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(11, 16, 19, 0.08); }\n.input.is-error { border-color: var(--red-600); }\n.input.is-ok { border-color: var(--green-600); }\n.input-wrap { position: relative; }\n.input-wrap .suffix { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); pointer-events: none; }\n.input-wrap .input { padding-right: 48px; }\n.help { font-size: 12px; line-height: 16px; color: var(--text-secondary); display: flex; gap: 4px; align-items: center; }\n.help.err { color: var(--red-600); }\n.help.ok { color: var(--green-600); }\n\n.toggle {\n  position: relative; width: 38px; height: 22px; border-radius: var(--radius-full); border: 0; padding: 0;\n  background: var(--gray-200); cursor: pointer; flex: none; transition: background 0.2s ease;\n}\n.toggle::after {\n  content: \"\"; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: var(--radius-full);\n  background: var(--white); box-shadow: 0 1px 2px rgba(11, 16, 19, 0.24); transition: transform 0.2s var(--ease);\n}\n.toggle[aria-checked=\"true\"] { background: var(--black); }\n.toggle[aria-checked=\"true\"]::after { transform: translateX(16px); }\n\n.seg { display: inline-flex; padding: 4px; gap: 0; border-radius: var(--radius-full); background: var(--bg-subtle); }\n.seg button {\n  height: 32px; padding: 0 16px; border: 0; border-radius: var(--radius-full); background: none; cursor: pointer;\n  font-size: 14px; font-weight: 500; color: var(--gray-500); white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;\n}\n.seg button[aria-pressed=\"true\"] { background: var(--white); color: var(--black); box-shadow: 0 1px 4px rgba(11, 16, 19, 0.12); }\n.seg button .n { color: var(--text-tertiary); margin-left: 4px; }\n\n.banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); }\n.banner .ic { margin-top: 2px; }\n.banner.warn { background: var(--orange-100); }\n.banner.warn .ic { color: var(--orange-600); }\n.banner.info { background: var(--blue-100); }\n.banner.info .ic { color: var(--blue-700); }\n.banner.ok { background: var(--green-100); }\n.banner.ok .ic { color: var(--green-600); }\n.banner b { font-weight: 600; }\n.banner .banner-t { display: grid; gap: 4px; flex: 1; }\n.banner .banner-a { display: flex; gap: 8px; margin-top: 8px; }\n\n.av {\n  width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--gray-150); overflow: hidden; flex: none;\n  display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--gray-500);\n}\n.av img { width: 100%; height: 100%; object-fit: cover; display: block; }\n.av-24 { width: 24px; height: 24px; }\n.av-40 { width: 40px; height: 40px; font-size: 14px; }\n.av-48 { width: 48px; height: 48px; font-size: 16px; }\n.av-64 { width: 64px; height: 64px; font-size: 20px; }\n.av.ink { background: var(--black); color: var(--white); }\n\n.kv { display: grid; gap: 12px; margin: 0; }\n.kv > div { display: flex; align-items: center; gap: 12px; }\n.kv dt { color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }\n.kv dd { margin: 0 0 0 auto; font-weight: 500; text-align: right; }\n.key { width: 12px; height: 12px; border-radius: var(--radius-xs, 2px); display: inline-block; flex: none; }\n.key.fees { background: var(--series-fees); }\n.key.seats { background: var(--series-seats); }\n.key.line { width: 16px; height: 2px; border-radius: var(--radius-full); }\n\n.copyval {\n  display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: var(--radius-md);\n  background: var(--bg-subtle); border: 0; cursor: pointer; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;\n}\n.copyval:hover { background: var(--gray-150); }\n.idrow .copyval, .success .copyval { justify-self: start; }\n.copyval .ic { color: var(--text-secondary); }\n\n/* ───────── Home ───────── */\n.hello { display: grid; gap: 8px; padding-top: 16px; }\n.hello-date { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); }\n.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--green-600); }\n.hello-h { font-size: 32px; line-height: 40px; font-weight: 500; }\n.hello-sum { font-size: 16px; line-height: 24px; color: var(--text-secondary); max-width: 720px; }\n.hello-sum b { color: var(--text-primary); font-weight: 600; }\n.hello-sum .linkbtn { color: var(--text-primary); }\n\n.signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }\n.signal {\n  display: grid; gap: 4px; align-content: start; padding: 20px 24px; border-radius: var(--radius-lg);\n  border: 1px solid var(--border-default); background: var(--white); text-decoration: none; cursor: pointer;\n  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);\n}\n.signal:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); transform: translateY(-2px); }\n.signal.tone-warn { background: var(--orange-100); border-color: transparent; }\n.sig-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 500; }\n.sig-top .chip { margin-left: auto; }\n.sig-main { font-size: 20px; line-height: 28px; font-weight: 500; }\n.sig-sub { font-size: 14px; color: var(--text-secondary); }\n.tone-warn .sig-sub { color: var(--text-primary); }\n.tone-warn .chip { background: var(--white); }\n.sig-ticks { margin-top: 12px; }\n\n.grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }\n.grid-1-1 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }\n\n.earn-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }\n.big { font-size: 32px; line-height: 40px; font-weight: 500; }\n.unit { font-size: 14px; color: var(--text-secondary); }\n.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; padding-bottom: 4px; }\n.delta.up { color: var(--green-600); }\n.delta.down { color: var(--red-600); }\n.legend { display: flex; gap: 20px; margin-left: auto; padding-bottom: 4px; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.legend span { display: inline-flex; align-items: center; gap: 8px; }\n.legend b { color: var(--text-primary); font-weight: 600; }\n\n.balance-card { display: grid; gap: 16px; }\n.balance-card .card-h { margin-bottom: 0; }\n.bal { display: flex; align-items: baseline; gap: 8px; }\n.bal-n { font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -0.02em; }\n.bal-u { font-size: 16px; color: var(--text-secondary); }\n.bal-fiat { font-size: 14px; color: var(--text-secondary); margin-top: -12px; }\n.compbar { display: flex; gap: 2px; height: 8px; border-radius: var(--radius-full); overflow: hidden; background: var(--gray-150); }\n.compbar i { display: block; height: 100%; transition: width 0.6s var(--ease); }\n.compbar i.fees { background: var(--series-fees); }\n.compbar i.seats { background: var(--series-seats); }\n.fine { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.dest { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); flex-wrap: wrap; }\n.dest b { color: var(--text-primary); font-weight: 500; }\n.row-toggle { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-default); font-size: 14px; }\n.row-toggle > span { flex: 1; }\n.row-toggle small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n\n.fedrows { display: grid; }\n.fedrow {\n  display: grid; grid-template-columns: minmax(0, 1.6fr) 120px minmax(0, 1.2fr) 104px; gap: 16px; align-items: center;\n  padding: 12px 8px; border-radius: var(--radius-md); cursor: pointer; transition: background 0.15s ease; border: 0; background: none; text-align: left; width: 100%;\n}\n.fedrow + .fedrow { border-top: 1px solid var(--border-default); border-top-left-radius: 0; border-top-right-radius: 0; }\n.fedrow:hover { background: var(--bg-subtle); }\n.fedcell { display: flex; align-items: center; gap: 12px; min-width: 0; }\n.fedcell b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.fedcell span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.amt { text-align: right; }\n.amt b { display: block; font-weight: 600; }\n.amt span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.cap-foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-default); font-size: 12px; color: var(--text-secondary); }\n.cap-foot .seats-mini { flex: 1; }\n\n.ticks { display: flex; gap: 2px; height: 20px; align-items: stretch; }\n.ticks i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--gray-200); }\n.ticks i.deg { background: var(--orange-500); }\n.ticks i.down { background: var(--red-600); }\n.ticks i.none { background: var(--gray-50); }\n.ticks.tall { height: 32px; }\n.ticks i:hover { opacity: 0.7; }\n.tick-legend { display: flex; gap: 16px; font-size: 12px; line-height: 16px; color: var(--text-secondary); margin-top: 8px; flex-wrap: wrap; }\n.tick-legend span { display: inline-flex; align-items: center; gap: 8px; }\n.tick-legend i { width: 8px; height: 12px; border-radius: 2px; display: inline-block; background: var(--gray-200); }\n.tick-legend i.deg { background: var(--orange-500); }\n.tick-legend i.down { background: var(--red-600); }\n.tick-legend i.none { background: var(--gray-50); border: 1px solid var(--border-default); }\n\n.feed { list-style: none; margin: 0; padding: 0; display: grid; }\n.feed-i { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; align-items: start; }\n.feed-i + .feed-i { border-top: 1px solid var(--border-default); }\n.feed-i .ic { color: var(--text-secondary); margin-top: 2px; }\n.feed-t { font-size: 14px; line-height: 20px; }\n.feed-t b { font-weight: 600; }\n.feed-m { font-size: 12px; line-height: 16px; color: var(--text-secondary); margin-top: 2px; }\n.feed-a { font-size: 14px; font-weight: 600; white-space: nowrap; }\n.feed-a.pos { color: var(--green-600); }\n.feed-i.fresh { animation: freshIn 0.6s var(--ease); }\n@keyframes freshIn { from { opacity: 0; transform: translateY(-8px); background: var(--bg-subtle); } to { opacity: 1; transform: none; } }\n\n.checklist { display: grid; gap: 0; }\n.check-i { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; }\n.check-i + .check-i { border-top: 1px solid var(--border-default); }\n.check-i .mark {\n  width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center;\n  border: 1.5px solid var(--border-strong); color: var(--text-tertiary); font-size: 12px; font-weight: 600;\n}\n.check-i.done .mark { background: var(--black); border-color: var(--black); color: var(--white); }\n.check-i.wait .mark { border-color: var(--orange-500); color: var(--orange-600); }\n.check-i b { display: block; font-weight: 600; }\n.check-i span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.progress { height: 8px; border-radius: var(--radius-full); background: var(--gray-150); overflow: hidden; }\n.progress i { display: block; height: 100%; background: var(--black); border-radius: var(--radius-full); transition: width 0.8s var(--ease); }\n.how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }\n.how > div { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius-lg); background: var(--bg-subtle); }\n.how b { font-weight: 600; font-size: 16px; line-height: 24px; display: flex; align-items: center; gap: 8px; }\n.how p { color: var(--text-secondary); }\n\n/* ───────── Charts ───────── */\n.chart { position: relative; width: 100%; }\n.chart svg { display: block; width: 100%; overflow: visible; }\n.chart .gridline { stroke: var(--gray-150); stroke-width: 1; shape-rendering: crispEdges; }\n.chart .axis { fill: var(--gray-500); font-size: 12px; font-family: Poppins, sans-serif; }\n.chart .fees { fill: var(--series-fees); }\n.chart .seats { fill: var(--series-seats); }\n.chart .col { transition: opacity 0.15s ease; }\n.chart.hovering .col { opacity: 0.45; }\n.chart.hovering .col.on { opacity: 1; }\n.chart .hit { fill: transparent; cursor: default; }\n.chart .grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 0.7s var(--ease) both; }\n.chart .grow-x { transform-box: fill-box; transform-origin: 0 50%; animation: growx 0.8s var(--ease) both; }\n@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }\n.chart .line { fill: none; stroke: var(--series-fees); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }\n.chart .area { fill: var(--series-fees); opacity: 0.1; }\n.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.2s var(--ease) forwards; }\n@keyframes draw { to { stroke-dashoffset: 0; } }\n.chart .wd-dot { fill: var(--black); stroke: var(--white); stroke-width: 2; }\n.chart .cross { stroke: var(--gray-400); stroke-width: 1; shape-rendering: crispEdges; }\n.chart .peak { fill: var(--gray-500); font-size: 12px; font-family: Poppins, sans-serif; }\n.chart .hbar { fill: var(--series-fees); }\n.chart .hlabel { fill: var(--black); font-size: 14px; font-family: Poppins, sans-serif; }\n.chart .hval { fill: var(--gray-500); font-size: 12px; font-family: Poppins, sans-serif; }\n.tipcard {\n  position: absolute; z-index: 30; pointer-events: none; min-width: 200px; padding: 12px 16px;\n  background: var(--white); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);\n  font-size: 12px; line-height: 16px; opacity: 0; transform: translateY(4px); transition: opacity 0.12s ease, transform 0.12s ease;\n}\n.tipcard.show { opacity: 1; transform: none; }\n.tipcard .tt-h { color: var(--text-secondary); margin-bottom: 8px; }\n.tipcard .tt-r { display: flex; align-items: center; gap: 8px; margin-top: 4px; }\n.tipcard .tt-r b { margin-left: auto; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }\n.tipcard .tt-tot { border-top: 1px solid var(--border-default); margin-top: 8px; padding-top: 8px; }\n\n/* capacity */\n.seatgrid { display: flex; gap: 8px; flex-wrap: wrap; }\n.seatgrid i {\n  width: 32px; height: 32px; border-radius: var(--radius-md); display: block; border: 1.5px solid var(--border-strong); background: var(--white);\n  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);\n}\n.seatgrid i.run { background: var(--black); border-color: var(--black); }\n.seatgrid i.form { background: var(--gray-400); border-color: var(--gray-400); }\n.seatgrid i.over { border-color: var(--orange-500); background: var(--orange-100); }\n.seatgrid.small i { width: 16px; height: 16px; border-radius: var(--radius-sm); }\n.seat-legend { display: flex; gap: 16px; font-size: 12px; line-height: 16px; color: var(--text-secondary); flex-wrap: wrap; }\n.seat-legend span { display: inline-flex; align-items: center; gap: 8px; }\n.seat-legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; border: 1.5px solid var(--border-strong); }\n.seat-legend i.run { background: var(--black); border-color: var(--black); }\n.seat-legend i.form { background: var(--gray-400); border-color: var(--gray-400); }\n\n/* ───────── Federations page ───────── */\n.caprow { display: flex; align-items: center; gap: 32px; }\n.caprow .capnum { font-size: 32px; line-height: 40px; font-weight: 500; }\n.caprow .capnum small { font-size: 16px; color: var(--text-secondary); font-weight: 400; }\n.filters { display: flex; align-items: center; gap: 16px; }\n.filters .search { margin-left: auto; width: 280px; }\n.filters .search .input { height: 40px; border-radius: var(--radius-full); padding-left: 40px; font-size: 14px; }\n.filters .search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); }\n.fedtable { width: 100%; border-collapse: collapse; }\n.fedtable th {\n  text-align: left; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-secondary);\n  padding: 12px 16px; border-bottom: 1px solid var(--border-default);\n}\n.fedtable td { padding: 16px; border-bottom: 1px solid var(--border-default); vertical-align: middle; }\n.fedtable tr.rowlink { cursor: pointer; transition: background 0.15s ease; }\n.fedtable tr.rowlink:hover td { background: var(--bg-subtle); }\n.fedtable tr.rowlink td:first-child { border-top-left-radius: var(--radius-md); border-bottom-left-radius: var(--radius-md); }\n.fedtable tr.rowlink td:last-child { border-top-right-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md); }\n.fedtable .r { text-align: right; }\n.fedtable .chev { width: 24px; color: var(--text-tertiary); }\n.fedtable .ticks { width: 200px; }\n.empty { display: grid; place-items: center; gap: 12px; padding: 48px 24px; text-align: center; color: var(--text-secondary); }\n.empty b { color: var(--text-primary); font-weight: 600; font-size: 16px; }\n\n/* drawer */\n.drawer-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(11, 16, 19, 0.24); animation: fade 0.2s ease; }\n.drawer {\n  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: 560px; max-width: 100vw; overflow: auto;\n  background: var(--white); box-shadow: var(--shadow-regular); animation: slideIn 0.32s var(--ease);\n  display: grid; align-content: start; gap: 24px; padding: 32px;\n}\n@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }\n@keyframes fade { from { opacity: 0; } to { opacity: 1; } }\n.drawer::after { content: \"\"; display: block; height: 72px; }\n.drawer-h { display: flex; align-items: center; gap: 16px; }\n.drawer-h h2 { font-size: 24px; line-height: 32px; font-weight: 500; }\n.drawer-h .sub { font-size: 14px; color: var(--text-secondary); }\n.drawer-h .iconbtn { margin-left: auto; align-self: flex-start; }\n.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n.stat { padding: 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); display: grid; gap: 4px; }\n.stat span { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.stat b { font-size: 20px; line-height: 28px; font-weight: 500; }\n.stat small { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.sec { display: grid; gap: 12px; }\n.sec h4 { font-size: 14px; line-height: 20px; font-weight: 600; }\n.sec p { color: var(--text-secondary); }\n.guardians { display: flex; gap: 12px; flex-wrap: wrap; }\n.gnode { display: grid; justify-items: center; gap: 8px; width: 80px; font-size: 12px; line-height: 16px; color: var(--text-secondary); text-align: center; }\n.gnode .av { position: relative; overflow: visible; }\n.gnode .av .dot { position: absolute; right: 0; bottom: 0; box-shadow: 0 0 0 2px var(--white); }\n.gnode.you { color: var(--text-primary); font-weight: 600; }\n.thresh { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); font-size: 14px; }\n.thresh.warn { background: var(--orange-100); }\n.stepline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }\n.stepline li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; position: relative; }\n.stepline li::before {\n  content: \"\"; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--gray-150);\n}\n.stepline li:last-child::before { display: none; }\n.stepline li .m { width: 24px; height: 24px; border-radius: var(--radius-full); border: 1.5px solid var(--border-strong); background: var(--white); display: grid; place-items: center; }\n.stepline li.done .m { background: var(--black); border-color: var(--black); color: var(--white); }\n.stepline li.now .m { border-color: var(--black); }\n.stepline li.now .m::after { content: \"\"; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--black); animation: pulseInk 1.6s infinite; }\n@keyframes pulseInk { 50% { opacity: 0.3; } }\n.stepline b { display: block; font-weight: 600; }\n.stepline span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\ndetails.tech { border-top: 1px solid var(--border-default); padding-top: 16px; }\ndetails.tech summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }\ndetails.tech summary::-webkit-details-marker { display: none; }\ndetails.tech summary .ic { transition: transform 0.2s ease; }\ndetails.tech[open] summary .ic { transform: rotate(90deg); }\ndetails.tech .kv { margin-top: 16px; }\n\n/* ───────── Earnings page ───────── */\n.money-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; padding: 0; }\n.money-hero > div { padding: 32px; display: grid; gap: 16px; align-content: start; }\n.money-hero > div + div { border-left: 1px solid var(--border-default); background: var(--bg-subtle); border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }\n.money-hero .actions { display: flex; gap: 12px; align-items: center; }\n.addr-line { display: flex; align-items: center; gap: 12px; }\n.addr-line b { font-size: 16px; line-height: 24px; font-weight: 600; }\n.addr-line .chip { margin-left: auto; }\n.chart-side { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: start; }\n.sidestats { display: grid; gap: 20px; }\n.sidestats div { display: grid; gap: 4px; }\n.sidestats span { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.sidestats b { font-size: 20px; line-height: 28px; font-weight: 500; }\n.share { display: grid; gap: 16px; }\n.share-bar { display: flex; gap: 2px; height: 24px; border-radius: var(--radius-sm); overflow: hidden; }\n.share-bar i { display: block; height: 100%; }\n.share-bar i.fees { background: var(--series-fees); }\n.share-bar i.seats { background: var(--series-seats); }\n.histtable { width: 100%; border-collapse: collapse; }\n.histtable th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-secondary); padding: 12px 16px; border-bottom: 1px solid var(--border-default); }\n.histtable td { padding: 12px 16px; border-bottom: 1px solid var(--border-default); vertical-align: middle; }\n.histtable .r { text-align: right; }\n.histtable .what { display: flex; align-items: center; gap: 12px; }\n.histtable .what .ic { color: var(--text-secondary); }\n.histtable .what b { display: block; font-weight: 500; }\n.histtable .what span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.histtable .amt-pos { color: var(--green-600); font-weight: 600; }\n.histtable .amt-neg { font-weight: 600; }\n.more { display: flex; justify-content: center; padding-top: 16px; }\n\n/* ───────── Listing page ───────── */\n.list-status { display: flex; align-items: center; gap: 24px; }\n.list-status h3 { font-size: 20px; line-height: 28px; font-weight: 500; }\n.list-status .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }\n.list-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }\n.stack { display: grid; gap: 24px; }\n.row-between { display: flex; align-items: center; gap: 16px; }\n.row-between > div { flex: 1; }\n.row-between > .countctl { flex: none; }\n.row-between b { font-weight: 600; font-size: 16px; line-height: 24px; display: block; }\n.row-between p { color: var(--text-secondary); }\n.pricefield { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; }\n.fiatline { font-size: 14px; color: var(--text-secondary); }\n.fiatline b { color: var(--text-primary); font-weight: 600; }\n.insight { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); background: var(--bg-subtle); font-size: 14px; }\n.insight .ic { color: var(--text-secondary); margin-top: 2px; }\n.countctl { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--border-strong); border-radius: var(--radius-full); height: 48px; }\n.countctl button { width: 48px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: var(--radius-full); }\n.countctl button:hover { background: var(--bg-subtle); }\n.countctl button:disabled { color: var(--gray-200); cursor: not-allowed; background: none; }\n.countctl output { min-width: 48px; text-align: center; font-size: 20px; line-height: 28px; font-weight: 500; }\n.preview-wrap { position: sticky; top: 96px; display: grid; gap: 16px; }\n.hostcard {\n  display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-xxl); background: var(--white);\n  box-shadow: var(--shadow-soft); border: 1px solid var(--border-default); transition: transform 0.2s var(--ease);\n}\n.hostcard .hc-top { display: flex; align-items: center; gap: 12px; }\n.hostcard .hc-top > div { flex: 1; }\n.hostcard .hc-top > div b { display: block; font-weight: 600; font-size: 16px; line-height: 24px; }\n.hostcard .hc-top > div span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.hostcard .hc-price { font-size: 32px; line-height: 40px; font-weight: 500; }\n.hostcard .hc-price small { font-size: 14px; color: var(--text-secondary); font-weight: 400; }\n.hostcard .hc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }\n.hostcard .hc-facts div { display: grid; gap: 2px; padding: 12px; border-radius: var(--radius-md); background: var(--bg-subtle); }\n.hostcard .hc-facts b { font-size: 14px; font-weight: 600; }\n.hostcard .hc-facts span { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.hostcard.bump { transform: scale(1.02); }\n.hostcard.off { opacity: 0.55; }\n.savebar {\n  position: fixed; left: calc(var(--rail-w) + 40px); right: 40px; bottom: 96px; z-index: 30;\n  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 24px; border-radius: var(--radius-full);\n  background: var(--black); color: var(--white); box-shadow: var(--shadow-regular); animation: rise 0.25s var(--ease);\n  max-width: 720px; margin: 0 auto;\n}\n.savebar span { flex: 1; font-weight: 500; }\n.savebar .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }\n.savebar .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }\n.savebar .btn-primary { background: var(--white); color: var(--black); }\n@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }\n\n/* ───────── Settings ───────── */\n.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }\n.subnav { display: grid; gap: 4px; position: sticky; top: 96px; }\n.set-stack { display: grid; gap: 24px; max-width: 760px; }\n.set-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; }\n.set-row + .set-row { border-top: 1px solid var(--border-default); }\n.set-row > div { flex: 1; }\n.set-row b { display: block; font-weight: 600; }\n.set-row span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.addr-big { display: flex; align-items: center; gap: 16px; }\n.addr-big .ic { color: var(--text-secondary); }\n.addr-big b { display: block; font-size: 20px; line-height: 28px; font-weight: 500; }\n.addr-big span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.log { list-style: none; margin: 0; padding: 0; display: grid; }\n.log li { display: flex; gap: 12px; padding: 12px 0; font-size: 14px; }\n.log li + li { border-top: 1px solid var(--border-default); }\n.log li span { color: var(--text-secondary); width: 120px; flex: none; }\n.steps-ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }\n.whatsnew { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--text-secondary); }\n\n/* ───────── Modal ───────── */\n.scrim { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(11, 16, 19, 0.42); animation: fade 0.2s ease; }\n.modal {\n  width: 520px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto; display: grid; gap: 24px;\n  padding: 32px; border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-regular); animation: rise 0.28s var(--ease);\n}\n.modal.wide { width: 640px; }\n.modal-h { display: flex; align-items: flex-start; gap: 16px; }\n.modal-h h2 { font-size: 20px; line-height: 28px; font-weight: 500; }\n.modal-h p { color: var(--text-secondary); margin-top: 4px; }\n.modal-h .iconbtn { margin-left: auto; margin-top: -8px; margin-right: -8px; }\n.modal-a { display: flex; gap: 12px; justify-content: flex-end; }\n.review { display: grid; gap: 0; border: 1px solid var(--border-default); border-radius: var(--radius-lg); }\n.review > div { display: flex; align-items: center; gap: 12px; padding: 16px; }\n.review > div + div { border-top: 1px solid var(--border-default); }\n.review span { color: var(--text-secondary); }\n.review b { margin-left: auto; font-weight: 600; text-align: right; }\n.review b small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n.review .total { background: var(--bg-subtle); border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }\n.amount-hero { display: grid; justify-items: center; gap: 4px; padding: 8px 0; }\n.amount-hero b { font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -0.02em; }\n.amount-hero span { color: var(--text-secondary); }\n.progress-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }\n.progress-list li { display: flex; align-items: center; gap: 12px; color: var(--text-tertiary); transition: color 0.2s ease; }\n.progress-list li .m { width: 24px; height: 24px; border-radius: var(--radius-full); display: grid; place-items: center; border: 1.5px solid var(--border-strong); flex: none; }\n.progress-list li.active { color: var(--text-primary); }\n.progress-list li.active .m { border-color: var(--black); border-top-color: transparent; animation: spin 0.8s linear infinite; }\n.progress-list li.done { color: var(--text-primary); }\n.progress-list li.done .m { background: var(--black); border-color: var(--black); color: var(--white); animation: pop 0.3s var(--ease); }\n@keyframes spin { to { transform: rotate(360deg); } }\n@keyframes pop { from { transform: scale(0.6); } to { transform: scale(1); } }\n.success { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 8px 0; }\n.success .big-check { width: 64px; height: 64px; border-radius: var(--radius-full); background: var(--black); color: var(--white); display: grid; place-items: center; animation: pop 0.4s var(--ease); }\n.success h2 { font-size: 24px; line-height: 32px; font-weight: 500; }\n.success p { color: var(--text-secondary); }\n\n/* notifications + command palette */\n.panel {\n  position: fixed; top: 64px; right: 40px; z-index: 55; width: 400px; max-height: 70vh; overflow: auto;\n  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-regular); animation: rise 0.22s var(--ease);\n}\n.panel-h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-default); position: sticky; top: 0; background: var(--white); }\n.panel-h b { font-weight: 600; flex: 1; }\n.notif { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 16px 20px; }\n.notif + .notif { border-top: 1px solid var(--border-default); }\n.notif.unread { background: var(--bg-subtle); }\n.notif .ic { color: var(--text-secondary); margin-top: 2px; }\n.notif small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); margin-top: 4px; }\n.cmd { width: 600px; padding: 0; gap: 0; overflow: hidden; align-self: start; margin-top: 12vh; }\n.cmd-in { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-default); }\n.cmd-in input { flex: 1; border: 0; outline: none; font-size: 16px; line-height: 24px; background: none; }\n.cmd-in .ic { color: var(--text-tertiary); }\n.cmd-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }\n.cmd-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-md); cursor: pointer; }\n.cmd-list li .ic { color: var(--text-secondary); }\n.cmd-list li span { margin-left: auto; font-size: 12px; color: var(--text-tertiary); }\n.cmd-list li.on { background: var(--bg-subtle); }\n\n/* toasts */\n.toasts { position: fixed; right: 40px; bottom: 96px; z-index: 80; display: grid; gap: 8px; justify-items: end; pointer-events: none; max-width: 400px; }\n.toast {\n  display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius-lg);\n  background: var(--black); color: var(--white); font-size: 14px; line-height: 20px; font-weight: 500;\n  box-shadow: var(--shadow-regular); animation: rise 0.25s var(--ease);\n}\n.toast .ic { color: var(--white); }\n.toast.out { opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease; }\n\n/* ───────── Setup (onboarding) ───────── */\n.setup { display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 100vh; min-width: 1200px; }\n.setup-rail { background: var(--bg-subtle); padding: 40px 32px; display: flex; flex-direction: column; gap: 32px; }\n.setup-rail .product { padding: 0; }\n.setup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }\n.setup-steps li {\n  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center;\n  padding: 12px; border-radius: var(--radius-lg); color: var(--text-secondary); transition: background 0.2s ease;\n}\n.setup-steps li .n {\n  width: 32px; height: 32px; border-radius: var(--radius-full); border: 1.5px solid var(--border-strong); background: var(--white);\n  display: grid; place-items: center; font-size: 12px; font-weight: 600;\n}\n.setup-steps li b { display: block; font-weight: 500; color: inherit; }\n.setup-steps li small { display: block; font-size: 12px; line-height: 16px; color: var(--text-tertiary); }\n.setup-steps li.done { color: var(--text-primary); }\n.setup-steps li.done .n { background: var(--black); border-color: var(--black); color: var(--white); }\n.setup-steps li.now { background: var(--white); color: var(--text-primary); box-shadow: var(--shadow-soft); }\n.setup-steps li.now .n { border-color: var(--black); }\n.setup-rail .foot { margin-top: auto; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.setup-main { padding: 48px; overflow: auto; display: grid; justify-items: center; align-content: start; }\n.setup-card { width: 100%; max-width: 640px; display: grid; gap: 24px; padding-top: 48px; animation: rise 0.35s var(--ease); }\n.setup-card h1 { font-size: 32px; line-height: 40px; font-weight: 500; }\n.setup-card .lead { font-size: 16px; line-height: 24px; color: var(--text-secondary); }\n.setup-actions { display: flex; gap: 12px; align-items: center; padding-top: 8px; }\n.setup-actions .spacer { flex: 1; }\n.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }\n.choice button {\n  display: grid; gap: 8px; text-align: left; padding: 24px; border-radius: var(--radius-lg); cursor: pointer;\n  border: 1.5px solid var(--border-strong); background: var(--white); transition: border-color 0.15s ease, box-shadow 0.2s ease;\n}\n.choice button:hover { box-shadow: var(--shadow-soft); }\n.choice button[aria-pressed=\"true\"] { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }\n.choice b { font-weight: 600; font-size: 16px; line-height: 24px; }\n.choice span { color: var(--text-secondary); }\n.syscheck { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--border-default); border-radius: var(--radius-lg); }\n.syscheck li { display: flex; align-items: center; gap: 12px; padding: 16px; }\n.syscheck li + li { border-top: 1px solid var(--border-default); }\n.syscheck li .v { color: var(--text-secondary); margin-left: auto; }\n.syscheck li .m { width: 24px; height: 24px; border-radius: var(--radius-full); display: grid; place-items: center; border: 1.5px solid var(--border-strong); color: transparent; transition: all 0.25s ease; }\n.syscheck li.ok .m { background: var(--black); border-color: var(--black); color: var(--white); }\n.phrase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }\n.phrase .w {\n  display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--radius-lg);\n  border: 1px solid var(--border-default); background: var(--white); font-size: 16px; font-weight: 500;\n}\n.phrase .w i { font-style: normal; width: 20px; font-size: 12px; color: var(--text-tertiary); }\n.phrase .w b { font-weight: 500; transition: filter 0.3s ease; }\n.phrase.veiled .w b { filter: blur(8px); }\n.phrase .reveal { position: absolute; inset: 0; display: grid; place-items: center; }\n.quiz { display: grid; gap: 16px; }\n.quiz-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }\n.quiz-row b { font-weight: 600; }\n.quiz-opts { display: flex; gap: 8px; flex-wrap: wrap; }\n.quiz-opts button {\n  height: 40px; padding: 0 16px; border-radius: var(--radius-full); border: 1.5px solid var(--border-strong); background: var(--white);\n  cursor: pointer; font-size: 14px; font-weight: 500;\n}\n.quiz-opts button[aria-pressed=\"true\"] { background: var(--black); border-color: var(--black); color: var(--white); }\n.quiz-opts.wrong button[aria-pressed=\"true\"] { background: var(--red-600); border-color: var(--red-600); }\n.terms-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }\n.terms-sum li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }\n.terms-sum li .ic { color: var(--text-secondary); margin-top: 2px; }\n.terms-sum b { font-weight: 600; display: block; }\n.terms-sum span { color: var(--text-secondary); }\n.qr { width: 160px; height: 160px; border-radius: var(--radius-lg); border: 1px solid var(--border-default); padding: 12px; background: var(--white); }\n.idrow { display: flex; align-items: center; gap: 24px; }\n.idrow > div { display: grid; gap: 8px; }\n.restore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }\n.restore-grid label { position: relative; }\n.restore-grid label i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: var(--text-tertiary); }\n.restore-grid .input { padding-left: 40px; height: 44px; font-size: 14px; }\n\n@media (prefers-reduced-motion: reduce) {\n  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }\n}\n\n/* ───────── Support (chat from the design system: sent = blue, received = subtle, system = dim centred) ───────── */\n.support { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }\n.chat { display: flex; flex-direction: column; padding: 0; height: calc(100vh - 232px); min-height: 600px; }\n.chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--border-default); }\n.chat-h b { display: block; font-weight: 600; font-size: 16px; line-height: 24px; }\n.chat-h span:not(.chip):not(.av) { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.chat-h .spacer { flex: 1; }\n.av-32 { width: 32px; height: 32px; }\n.sup-av { background: linear-gradient(135deg, #FCF7E1 0%, #C0EBFD 100%); padding: 4px; }\n.sup-av img { object-fit: contain; }\n.chat-safe { margin: 16px 24px 0; }\n.msgs { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 24px; }\n.msg-sys { align-self: center; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.msg { max-width: 72%; padding: 12px 16px; border-radius: 16px; display: grid; gap: 4px; }\n.msg p { font-size: 14px; line-height: 20px; }\n.msg time, .msg-card time { font-size: 12px; line-height: 16px; opacity: 0.72; justify-self: end; }\n.msg.out { align-self: flex-end; background: var(--blue-700); color: var(--white); border-bottom-right-radius: 4px; }\n.msg.in { background: var(--bg-subtle); color: var(--text-primary); border-bottom-left-radius: 4px; }\n.msg-row { display: flex; align-items: flex-end; gap: 8px; }\n.msg-row .msg { max-width: calc(72% + 40px); }\n.msg-card {\n  align-self: flex-end; width: 360px; max-width: 72%; display: grid; gap: 12px; padding: 16px;\n  border: 1px solid var(--border-default); border-radius: 16px; border-bottom-right-radius: 4px; background: var(--white);\n}\n.mc-h { display: flex; align-items: center; gap: 8px; }\n.mc-h b { font-weight: 600; flex: 1; }\n.mc-h .ic { color: var(--text-secondary); }\n.mc-kv { gap: 8px; font-size: 12px; line-height: 16px; }\n.fix-card {\n  max-width: 420px; display: grid; gap: 8px; padding: 16px; border-radius: 16px; border-bottom-left-radius: 4px;\n  background: var(--white); border: 1.5px solid var(--black);\n}\n.fix-card .label { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.fix-card b { font-size: 16px; line-height: 24px; font-weight: 600; }\n.fix-card p { font-size: 14px; color: var(--text-secondary); }\n.msg-typing { display: flex; align-items: center; gap: 8px; }\n.dots { display: inline-flex; gap: 4px; padding: 12px 16px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--bg-subtle); }\n.dots i { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--gray-400); animation: blink 1.2s infinite; }\n.dots i:nth-child(2) { animation-delay: 0.2s; }\n.dots i:nth-child(3) { animation-delay: 0.4s; }\n@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }\n.composer { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-default); }\n.composer .input { flex: 1; height: 40px; border-radius: var(--radius-full); font-size: 14px; }\n.sendbtn { width: 40px; height: 40px; border-radius: var(--radius-full); border: 0; background: var(--black); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }\n.topics { display: grid; }\n.topic {\n  display: grid; grid-template-columns: 20px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 12px 8px;\n  border: 0; background: none; text-align: left; cursor: pointer; border-radius: var(--radius-md); width: 100%;\n}\n.topic + .topic { border-top: 1px solid var(--border-default); border-top-left-radius: 0; border-top-right-radius: 0; }\n.topic:hover { background: var(--bg-subtle); }\n.topic .ic { color: var(--text-secondary); }\n.topic b { display: block; font-weight: 600; font-size: 14px; }\n.topic span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.dx-list { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; }\n.dx-list > div { display: flex; align-items: center; gap: 12px; }\n.dx { width: 20px; height: 20px; border-radius: var(--radius-full); display: grid; place-items: center; flex: none; }\n.dx.ok { background: var(--green-100); color: var(--green-600); }\n.dx.no { background: var(--red-100); color: var(--red-600); }\n.card.chat { position: sticky; top: 88px; }\n"
}