:root {
  color-scheme: dark;
  --ink: #0e1a1f;
  --ink-2: #122128;
  --surface: #15262d;
  --surface-2: #1b3038;
  --line: #24383f;
  --line-strong: #30474f;
  --edge: #62808a;
  --text: #e9f2f3;
  --muted: #8ea4ab;
  --faint: #8299a2;
  --phosphor: #7cf3b0;
  --phosphor-dim: rgba(124, 243, 176, 0.18);
  --ember: #ff6b57;
  --ember-dim: rgba(255, 107, 87, 0.16);
  --icp: #3bb3ff;
  --sol: #b388ff;
  --amber: #f3c663;
  --violet: #7a63d6;
  --violet-2: #9a86ee;
  --blue: #3987e5;
  --gold: #e8c35a;
  --rust: #d95926;
  --grey: #6b7a8c;
  --teal: #199e70;
  --mustard: #c98500;
  --rose: #d55181;
  --slate: #4f7f8c;
  --protocol: #1f7d69;
  --canister: #436f7c;
  --font: "Bricolage Grotesque", "Bricolage Fallback", "Bricolage Fallback Arial", "Bricolage Fallback Roboto", "Bricolage Fallback DejaVu", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --wide: 0px;
  --fs-2xs: calc(12px + var(--wide));
  --fs-xs: calc(13px + var(--wide));
  --fs-sm: calc(14px + var(--wide));
  --fs-md: calc(15px + var(--wide));
  --fs-prose: calc(16px + var(--wide));
  --fs-lg: calc(18px + var(--wide));
  --fs-xl: calc(20px + var(--wide));
  --fs-h2: calc(22px + var(--wide));
  --fs-fig: calc(26px + var(--wide));
  --fs-display-sm: calc(30px + var(--wide));
  --fs-fig-big: calc(40px + var(--wide));
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --page-max: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --measure: 72ch;
  --shell-h: 56px;
}
@media (min-width: 1680px) { :root { --wide: 1px; --page-max: 1536px; } }
@font-face { font-family: "Bricolage Fallback"; font-weight: 300; src: local("Segoe UI Light"); size-adjust: 111.63%; ascent-override: 83.31%; descent-override: 24.19%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; font-weight: 400; src: local("Segoe UI"); size-adjust: 106.94%; ascent-override: 86.96%; descent-override: 25.25%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; font-weight: 500; src: local("Segoe UI"); size-adjust: 108.18%; ascent-override: 85.97%; descent-override: 24.96%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; font-weight: 600; src: local("Segoe UI Semibold"); size-adjust: 106.35%; ascent-override: 87.45%; descent-override: 25.39%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; font-weight: 700; src: local("Segoe UI Bold"); size-adjust: 103.81%; ascent-override: 89.59%; descent-override: 26.01%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Arial"; font-weight: 300; src: local("Arial"), local("Liberation Sans"); size-adjust: 106.06%; ascent-override: 87.69%; descent-override: 25.46%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Arial"; font-weight: 400; src: local("Arial"), local("Liberation Sans"); size-adjust: 107.36%; ascent-override: 86.62%; descent-override: 25.15%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Arial"; font-weight: 500; src: local("Arial"), local("Liberation Sans"); size-adjust: 108.60%; ascent-override: 85.64%; descent-override: 24.86%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Arial"; font-weight: 600; src: local("Arial Bold"), local("Liberation Sans Bold"); size-adjust: 101.66%; ascent-override: 91.48%; descent-override: 26.56%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Arial"; font-weight: 700; src: local("Arial Bold"), local("Liberation Sans Bold"); size-adjust: 102.82%; ascent-override: 90.45%; descent-override: 26.26%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Roboto"; font-weight: 300; src: local("Roboto Light"), local("Roboto-Light"); size-adjust: 107.41%; ascent-override: 86.58%; descent-override: 25.14%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Roboto"; font-weight: 400; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 106.98%; ascent-override: 86.93%; descent-override: 25.24%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Roboto"; font-weight: 500; src: local("Roboto Medium"), local("Roboto-Medium"); size-adjust: 107.29%; ascent-override: 86.68%; descent-override: 25.17%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Roboto"; font-weight: 600; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 108.04%; ascent-override: 86.08%; descent-override: 24.99%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback Roboto"; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 109.30%; ascent-override: 85.09%; descent-override: 24.70%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback DejaVu"; font-weight: 300; src: local("DejaVu Sans"); size-adjust: 92.52%; ascent-override: 100.52%; descent-override: 29.18%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback DejaVu"; font-weight: 400; src: local("DejaVu Sans"); size-adjust: 93.65%; ascent-override: 99.31%; descent-override: 28.83%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback DejaVu"; font-weight: 500; src: local("DejaVu Sans"); size-adjust: 94.73%; ascent-override: 98.17%; descent-override: 28.50%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback DejaVu"; font-weight: 600; src: local("DejaVu Sans Bold"); size-adjust: 84.84%; ascent-override: 109.62%; descent-override: 31.82%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback DejaVu"; font-weight: 700; src: local("DejaVu Sans Bold"); size-adjust: 85.83%; ascent-override: 108.35%; descent-override: 31.46%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: optional; src: url("./fonts/bricolage-grotesque-latin-v9.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: optional; src: url("./fonts/bricolage-grotesque-latin-ext-v9.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); font: var(--fs-md)/1.5 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
body { margin: 0 auto; padding: 0 var(--gutter) 60px; max-width: var(--page-max); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h1.view-title { font-size: var(--fs-h2); }
h1[tabindex="-1"]:focus, .rel-title[tabindex="-1"]:focus { outline: none; }
h3 { font-size: var(--fs-md); color: var(--muted); font-weight: 500; margin: 24px 0 8px; }
p { margin: 0; }
a { color: inherit; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: 8px; z-index: 40; padding: 8px 16px; border-radius: 999px; background: var(--phosphor); color: #06271a; font-weight: 700; text-decoration: none; transform: translateY(-300%); }
.skip:focus { transform: none; }
#main:focus { outline: none; }
.btn { font: inherit; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--edge); border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--muted); background: var(--surface); }
.btn.danger { color: #ffd1ca; border-color: rgba(255, 107, 87, 0.55); }
.btn.primary { background: var(--phosphor); color: #06271a; border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.quiet { background: transparent; }
.btn:disabled { opacity: 0.55; cursor: progress; }
input { font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--edge); border-radius: var(--radius); padding: 10px 12px; min-width: 0; width: 100%; }
input::placeholder { color: var(--faint); }
input:focus { border-color: var(--phosphor); }
.shell { position: relative; z-index: 20; background: var(--ink); border-image: conic-gradient(var(--ink) 0 0) fill 0 // 0 100vmax; }
.shell-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--sp-2) var(--sp-4); min-height: var(--shell-h); padding: var(--sp-2) 0; }
.shell .brand { justify-self: start; min-width: 0; }
.shell .utility { justify-self: end; display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.shell .views { justify-self: center; }
@media (min-width: 1024px) {
  .shell { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }
  html { scroll-padding-top: calc(var(--shell-h) + var(--sp-2)); }
}
#xray:target, #flows:target { scroll-margin-top: 100000px; }
@media (max-width: 1023px) {
  .shell-row { grid-template-columns: minmax(0, 1fr) auto; }
  .shell .brand { grid-column: 1 / -1; }
  .shell .views { justify-self: stretch; }
  .shell .views .view-tab { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 1279px) { #install, #login .long { display: none; } }
@media (max-width: 400px) { .view-tab .long { display: none; } .shell .views .view-tab { padding: 8px 6px; } }
.statusbar { display: flex; align-items: center; gap: var(--sp-3); min-height: 36px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.statusbar .status { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statusbar-end { display: flex; align-items: center; gap: var(--sp-2); flex: 0 1 auto; min-width: 0; }
.statusbar .sync { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sync-note { margin: var(--sp-2) 0 0; padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); color: var(--amber); background: rgba(243, 198, 99, 0.08); border: 1px solid rgba(243, 198, 99, 0.35); border-radius: var(--radius); overflow-wrap: anywhere; }
body:not(.has-wallets) .statusbar { border-bottom-color: transparent; }
.statusbar .btn.small { padding: 4px 12px; }
body:not([data-view="portfolio"]) #refresh, body:not(.has-wallets) #refresh { visibility: hidden; }
@media (max-width: 640px) { .statusbar .sync:not(.warn) { display: none; } }
.account { position: relative; }
.account > summary { list-style: none; }
.account > summary::-webkit-details-marker { display: none; }
.account > summary::after { content: " ▾"; color: var(--muted); }
.account[open] > summary::after { content: " ▴"; }
.account-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: var(--sp-2); width: max-content; max-width: min(320px, calc(100vw - 2 * var(--gutter))); padding: var(--sp-3); background: var(--ink-2); border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.account-menu .auth-info { overflow-wrap: anywhere; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-lg); color: var(--phosphor); }
.wordmark svg { width: 26px; height: 26px; }
.wordmark .orb { width: 28px; height: 28px; border-radius: 50%; display: block; }
.sync { font-size: var(--fs-xs); color: var(--muted); }
.sync.ok { color: var(--phosphor); }
.sync.warn { color: var(--amber); }
.auth { display: flex; align-items: center; gap: 8px; }
.auth-info { font-size: var(--fs-xs); color: var(--muted); }
.switch-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; padding: 10px 14px; font-size: var(--fs-xs); color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--amber); border-radius: var(--radius); }
.switch-note.bad { border-left-color: var(--ember); }
.switch-note #switch-text { flex: 1 1 280px; min-width: 0; overflow-wrap: anywhere; }
.brand { display: inline-flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.notes-link { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.notes-link:hover { color: var(--text); border-color: var(--line-strong); }
.notes-link.active { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); }
.whats-new { margin: 0 0 12px; padding: 12px 14px; font-size: var(--fs-xs); color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-left: 3px solid var(--phosphor); border-radius: var(--radius); }
.whats-new .wn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.whats-new h2 { font-size: var(--fs-md); color: var(--phosphor); }
.whats-new .wn-line { flex: 1 1 220px; min-width: 0; color: var(--muted); }
.whats-new .wn-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.whats-new a.btn { display: inline-block; text-decoration: none; }
.whats-new .wn-body { height: min(18rem, 45vh); overflow-y: auto; overscroll-behavior: contain; margin-top: 10px; padding-right: 4px; display: flex; flex-direction: column; }
.whats-new #wn-list { flex: 1 0 auto; }
.whats-new #wn-more { position: sticky; bottom: 0; margin: 0; padding-top: 4px; background: var(--ink-2); }
.whats-new #wn-list { max-width: 75ch; }
.whats-new #wn-more:empty { display: none; }
#wn-retry, #notes-retry { margin: 4px 0 2px; }
@media (prefers-reduced-motion: no-preference) { .whats-new:not(.hidden) { animation: wn-in 160ms ease-out; } }
@keyframes wn-in { from { opacity: 0; } to { opacity: 1; } }
.rel + .rel { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.rel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rel .rel-title { margin: 0; font-size: var(--fs-md); font-weight: 600; color: var(--text); }
.rel time { color: var(--faint); font-size: var(--fs-xs); }
.rel .fresh-tag { font-size: var(--fs-2xs); font-weight: 600; color: #06271a; background: var(--phosphor); border-radius: 999px; padding: 1px 8px; }
.rel .rel-kind { margin: 8px 0 2px; font-size: var(--fs-xs); font-weight: 600; }
.rel .rel-kind.new { color: var(--phosphor); }
.rel .rel-kind.improved { color: var(--icp); }
.rel .rel-kind.fixed { color: var(--amber); }
.rel ul { margin: 0; padding-left: 18px; }
.rel li { margin: 2px 0; overflow-wrap: anywhere; }
.notes-page { max-width: var(--measure); margin-inline: auto; padding: 10px 0 24px; }
.notes-page .notes-lede { color: var(--muted); margin: 6px 0 4px; }
.notes-list { margin-top: 14px; font-size: var(--fs-prose); line-height: 1.55; }
.notes-list .rel { padding: 14px 0; }
.notes-list .rel + .rel { margin-top: 0; }
.notes-list .rel .rel-title { font-size: var(--fs-lg); scroll-margin-top: 16px; }
.notes-list .rel.fresh { border-left: 3px solid var(--phosphor); padding-left: 12px; }
@media (max-width: 640px) { .whats-new { padding: 10px 12px; } .whats-new .wn-body { height: 40vh; } .notes-list .rel .rel-title { font-size: var(--fs-prose); } }
.switch-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 32px; align-items: center; padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; max-width: 16ch; font-weight: 700; letter-spacing: -0.025em; }
.lede { color: var(--muted); font-size: var(--fs-lg); max-width: 52ch; margin: 14px 0 26px; }
.lookup { padding: 22px 0 6px; display: grid; gap: 8px; max-width: 760px; }
.lookup-label { font-size: var(--fs-lg); font-weight: 600; color: var(--text); }
.lookup-row { display: flex; gap: 10px; }
.lookup-msg { min-height: 1em; margin: 0; font-size: var(--fs-sm); color: var(--warn, var(--faint)); }
.lookup-msg:empty { display: none; }
.lookup-try { margin: 0; font-size: var(--fs-sm); color: var(--faint); }
.as-wallet { margin-top: 4px; }
.add { display: grid; grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1.6fr) auto; gap: 10px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: var(--fs-xs); color: var(--muted); }
.field.grow { min-width: 0; }
.field.inline-field { flex-direction: row; align-items: center; gap: var(--sp-2); }
.add .btn.primary { padding: 11px 18px; }
.detect { grid-column: 1 / -1; min-height: 18px; font-size: var(--fs-xs); color: var(--muted); }
.detect.bad { color: var(--ember); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-copy { min-width: 0; }
.wchip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; max-width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 4px 4px 4px 12px; font-size: var(--fs-sm); }
.wchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: 0 0 8px; }
.wchip.icp .dot { background: var(--icp); }
.wchip.sol .dot { background: var(--sol); }
.wchip.btc .dot { background: #f7931a; }
.wchip.evm .dot { background: #8c8cff; }
.wchip .label { flex: 1 1 12ch; font: inherit; font-weight: 600; color: inherit; text-align: left; background: none; border: 0; padding: 0 2px; border-radius: 4px; cursor: text; min-width: 0; overflow-wrap: anywhere; }
.wchip .label:hover { text-decoration: underline dotted; }
.wchip .id { color: var(--muted); font-size: var(--fs-xs); }
.wchip .kind { color: var(--faint); font-size: var(--fs-xs); }
.wchip .acts { display: inline-flex; gap: 2px; margin-left: auto; }
.wchip button:not(.label), .wchip a.look { display: inline-grid; place-items: center; font: inherit; text-decoration: none; background: transparent; border: 0; color: var(--muted); cursor: pointer; border-radius: 50%; width: 32px; height: 32px; line-height: 1; padding: 0; }
.wchip button:not(.label):hover, .wchip a.look:hover { background: var(--surface-2); color: var(--text); }
.empty-note { color: var(--muted); font-size: var(--fs-sm); }
.advanced { margin-top: 18px; font-size: var(--fs-xs); color: var(--muted); }
.advanced summary { cursor: pointer; width: max-content; }
.advanced .inline { display: flex; gap: 8px; margin-top: 10px; }
.advanced .chips { margin-top: 8px; }
.advanced .list-actions { flex-wrap: wrap; }
.advanced .list-import textarea { display: block; width: 100%; margin-top: 10px; font: inherit; font-size: var(--fs-xs); line-height: 1.4; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; resize: vertical; }
.advanced .list-import textarea::placeholder { color: var(--faint); }
.advanced .list-import textarea:focus { border-color: var(--phosphor); }
.radar { margin: 0; justify-self: center; width: min(100%, 440px); }
.radar svg { width: 100%; height: auto; display: block; }
.radar figcaption { color: var(--faint); font-size: var(--fs-xs); text-align: center; margin-top: 8px; max-width: 40ch; margin-inline: auto; }
.radar .ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.radar .ring.outer { stroke: var(--ember); stroke-opacity: 0.5; stroke-dasharray: 3 5; }
.radar .spoke { stroke: var(--line); stroke-width: 1; }
.radar .band { fill: var(--faint); font-size: 10px; }
.radar .blip { stroke: var(--ink); stroke-width: 1; cursor: default; }
.radar .blip.icp { fill: var(--icp); }
.radar .blip.sol { fill: var(--sol); }
.radar .blip.dead { fill: var(--ember); }
.radar .tag { fill: var(--text); font-size: 10.5px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round; }
.radar .sweep { fill: url(#sweep); transform-origin: 0 0; animation: sweep 6s linear infinite; }
.radar .ghost { fill: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .radar .sweep { animation: none; opacity: 0.35; } }
@keyframes sweep { to { transform: rotate(360deg); } }
.errors { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--ember-dim); border: 1px solid rgba(255, 107, 87, 0.4); color: #ffd1ca; font-size: var(--fs-xs); white-space: pre-wrap; }
.totals { display: grid; grid-template-columns: 1.4fr repeat(7, 1fr); padding: 22px 0; border-bottom: 1px solid var(--line); }
.fig.borrowed .n { color: var(--amber); }
.totals .fig.hidden { display: none; }
.fig.staked .n { color: var(--icp); }
.fig { display: flex; flex-direction: column; padding: 0 22px; border-left: 1px solid var(--line); min-width: 0; }
.fig:first-child { padding-left: 0; border-left: 0; }
.fig .n { font-size: var(--fs-fig); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.fig.big .n { font-size: var(--fs-fig-big); }
.fig .l { color: var(--text); font-size: var(--fs-sm); margin-top: 4px; }
.fig .s { color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }
.fig.icp .n { color: var(--icp); }
.fig.sol .n { color: var(--sol); }
.fig.dead .n { color: var(--ember); }
.up { color: var(--phosphor); }
.down { color: var(--ember); }
.warn { color: var(--amber); }
.chain { padding: 28px 0 8px; border-bottom: 1px solid var(--line); }
.chain-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.chain-head h2 { display: flex; align-items: center; gap: 10px; }
.mark { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.chain[data-chain="icp"] .mark { background: var(--icp); }
.chain[data-chain="sol"] .mark { background: var(--sol); }
.chain-figs { display: flex; gap: 22px; color: var(--muted); font-size: var(--fs-sm); flex-wrap: wrap; }
.chain-figs b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.chain-figs .dead b { color: var(--ember); }
.chain-figs .t-net.up { color: var(--phosphor); }
.chain-figs .t-net.down { color: var(--ember); }
section.chain[data-chain="sol"] .tokens th:nth-child(7), section.chain[data-chain="sol"] .tokens td:nth-child(7) { display: none; }
.controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: var(--fs-sm); background: transparent; border: 0; color: var(--muted); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.seg button.active { background: var(--surface-2); color: var(--text); font-weight: 600; }
.filters { display: flex; gap: 16px; font-size: var(--fs-xs); color: var(--muted); }
.filters label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.filters input { width: auto; accent-color: var(--phosphor); }
.table-wrap { overflow-x: auto; }
.table-wrap[tabindex]:focus-visible, .chart-scroll[tabindex]:focus-visible { outline-offset: -2px; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: var(--fs-xs); padding: 6px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
th.num, td.num { text-align: right; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
tr.empty td { color: var(--muted); text-align: center; padding: 22px; white-space: normal; }
.tok { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex: 0 0 32px; }
.logo.sm { width: 22px; height: 22px; flex-basis: 22px; }
.pairlogos { display: inline-flex; align-items: center; }
.pairlogos .logo.sm + .logo.sm { margin-left: -7px; outline: 2px solid var(--ink); }
.pools tr.pchild td { background: rgba(255, 255, 255, 0.015); }
.pools tr.pchild td:first-child { padding-left: 34px; }
.pools .lower-bound { color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
@media (min-width: 641px) {
  .pools td.pstate { white-space: normal; min-width: 16ch; }
}
.tok .sym { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tok .name { color: var(--muted); font-size: var(--fs-xs); }
.tok .ledger { font-size: var(--fs-xs); }
.tok .ledger a { color: var(--faint); text-decoration: none; }
.tok .ledger a:hover { color: var(--icp); text-decoration: underline; }
.tok .verified { color: var(--icp); font-size: var(--fs-2xs); }
.tok .tag { font-size: var(--fs-2xs); font-weight: 500; color: var(--amber); border: 1px solid rgba(243, 198, 99, 0.4); border-radius: 999px; padding: 0 7px; line-height: 16px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--phosphor); }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.dead { color: var(--ember); }
.state.nomarket { color: var(--muted); }
.sub { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
@media (min-width: 641px) {
  .tokens .sub, .pools .sub { white-space: normal; max-width: 24ch; }
  .tokens td.num .sub, .pools td.num .sub { margin-left: auto; }
}
.pools td .sub.range { white-space: normal; max-width: 28ch; }
.sharebar { display: inline-block; height: 3px; border-radius: 2px; background: var(--phosphor); vertical-align: middle; margin-left: 6px; opacity: 0.7; }
.breakdown { white-space: normal; color: var(--muted); font-size: var(--fs-xs); max-width: 280px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); border: 1px solid var(--line-strong); color: var(--muted); }
.pill.in { color: var(--phosphor); border-color: rgba(124, 243, 176, 0.45); }
.pill.out { color: var(--amber); border-color: rgba(243, 198, 99, 0.45); }
.pill.moved { color: #9a86ee; border-color: rgba(154, 134, 238, 0.45); }
.pill.undeposited { color: var(--icp); border-color: rgba(59, 179, 255, 0.45); }
.foot { color: var(--muted); font-size: var(--fs-xs); margin: 12px 0 8px; white-space: normal; }
.guide { padding: 28px 0 0; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); }
.guide-grid b { color: var(--text); font-weight: 600; }
.fine { color: var(--faint); font-size: var(--fs-xs); margin-top: 22px; max-width: 110ch; }
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .radar { width: min(100%, 360px); }
  .totals { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .fig:nth-child(odd of :not(.hidden)) { border-left: 0; padding-left: 0; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .add { grid-template-columns: 1fr; }
  .wallets-col { display: none; }
  .totals { grid-template-columns: 1fr; }
  .fig { border-left: 0; padding-left: 0; }
}
.xray { padding: 32px 0 8px; border-bottom: 1px solid var(--line); }
.xray-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.xray-head .inline { display: flex; gap: 8px; flex: 1 1 420px; max-width: 640px; }
.lede.small { font-size: var(--fs-sm); margin: 6px 0 0; }
.xray-token { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 18px 0 6px; }
.xray-token .facts { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: var(--fs-sm); }
.xray-token .facts b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.xray-token .facts i { font-style: normal; font-size: var(--fs-xs); margin-left: 4px; }
.conc { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: var(--fs-sm); }
.conc b { color: var(--text); font-weight: 600; }
.obar { width: 100%; height: auto; display: block; margin: 10px 0 14px; }
.obar .seg rect { fill: var(--surface-2); }
.obar .seg.wallet rect { fill: #7a63d6; }
.obar .seg.labelled rect { fill: var(--phosphor); }
.obar .seg.protocol rect { fill: var(--protocol); }
.obar .seg.canister rect { fill: var(--canister); }
.obar .seg.others rect { fill: var(--line-strong); }
.obar .seg.clickable { cursor: pointer; }
.obar .seg-name { fill: #fff; font-size: 13px; font-weight: 600; }
.obar .seg.labelled .seg-name, .obar .seg.labelled .seg-share { fill: #06271a; }
.obar .seg-share { fill: rgba(255,255,255,0.8); font-size: 12px; }
.obar .half { stroke: var(--text); stroke-dasharray: 3 4; stroke-width: 1.5; }
.obar .half-label { fill: var(--muted); font-size: 11px; }
.xtable td { white-space: normal; }
.xtable .rank { color: var(--faint); width: 32px; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 220px; }
.who .nm { font-weight: 600; }
.who .nm.you, .who .nm.wallet { color: var(--phosphor); }
.who .nm.alias { color: var(--icp); }
.who .nm.structural { color: var(--muted); font-weight: 500; }
.who .sub { flex-basis: 100%; }
.who .sub a { color: var(--faint); text-decoration: none; }
.who .sub a:hover { color: var(--icp); }
.kind { font-size: var(--fs-2xs); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 7px; line-height: 16px; }
.kind.protocol { color: #5fcbb2; border-color: rgba(95,203,178,0.4); }
.kind.warn { color: var(--amber); border-color: rgba(243,198,99,0.5); }
.pencil { font: inherit; font-size: var(--fs-xs); background: transparent; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 999px; width: 22px; height: 22px; line-height: 1; cursor: pointer; padding: 0; }
.pencil:hover { color: var(--text); border-color: var(--muted); }
.impact b { font-weight: 600; }
.select { font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; }
.tl { width: 100%; height: auto; display: block; margin: 8px 0 10px; }
.tl .grid { stroke: var(--line); stroke-width: 1; }
.tl .axis { fill: var(--faint); font-size: 11px; }
.tl .price { fill: none; stroke: var(--muted); stroke-width: 1.5; opacity: 0.45; }
.tl .dot.sell polygon { fill: var(--ember); fill-opacity: 0.75; stroke: var(--ink); stroke-width: 1; cursor: pointer; }
.tl .dot.buy circle { fill: var(--phosphor); fill-opacity: 0.7; stroke: var(--ink); stroke-width: 1; cursor: pointer; }
.twocol { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 24px; }
.linkish { font: inherit; font-weight: 600; color: var(--text); background: transparent; border: 0; padding: 0; cursor: pointer; border-bottom: 1px dotted var(--muted); }
.linkish:hover { color: var(--phosphor); border-bottom-color: var(--phosphor); }
.logo.lg { width: 44px; height: 44px; flex-basis: 44px; }
.pencil.copy { font-size: var(--fs-xs); }
.addr { user-select: all; }
.addr a { user-select: all; }
.label-edit { display: flex; gap: 6px; flex-basis: 100%; align-items: center; margin-top: 4px; }
.label-edit input { max-width: 260px; padding: 6px 10px; }
.btn.small { padding: 5px 10px; font-size: var(--fs-xs); }
.table-wrap.history { max-height: 520px; overflow: auto; }
.side { font-size: var(--fs-xs); font-weight: 600; }
.side.sell { color: var(--ember); }
.side.buy { color: var(--phosphor); }
.tl .price { opacity: 0.8; stroke: var(--amber); stroke-width: 1.8; }
.tl .price-axis { fill: var(--amber); opacity: 0.8; }
.who.compact { flex-wrap: nowrap; min-width: 200px; }
.who.compact .nm { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .actions { display: inline-flex; gap: 4px; opacity: 0.35; transition: opacity 120ms; }
tr:hover .who .actions, .who .actions:focus-within { opacity: 1; }
.barcell { width: 18%; min-width: 140px; position: relative; }
.barcell .bar { display: inline-block; height: 10px; border-radius: 3px; background: #7a63d6; vertical-align: middle; max-width: calc(100% - 56px); }
.hrow.open .barcell .bar, .hrow:hover .barcell .bar { background: #9a86ee; }
.barcell .barpct { margin-left: 8px; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.chip i { font-style: normal; font-weight: 500; margin-left: 6px; opacity: 0.85; }
.chip.up { color: var(--phosphor); background: rgba(124, 243, 176, 0.12); border-color: rgba(124, 243, 176, 0.35); }
.chip.down { color: var(--ember); background: rgba(255, 107, 87, 0.12); border-color: rgba(255, 107, 87, 0.35); }
.chip.warn { color: var(--amber); background: rgba(243, 198, 99, 0.12); border-color: rgba(243, 198, 99, 0.35); }
.chip.muted { color: var(--muted); border-color: var(--line-strong); font-weight: 500; }
tr.hrow { cursor: pointer; }
tr.hrow td { white-space: nowrap; }
tr.hrow.open td { border-bottom-color: transparent; background: rgba(255, 255, 255, 0.03); }
td.chev { color: var(--faint); font-size: var(--fs-lg); width: 28px; text-align: center; transition: transform 120ms; }
tr.hrow.open td.chev { transform: rotate(90deg); color: var(--text); }
tr.hdetail td { background: rgba(255, 255, 255, 0.03); padding: 4px 10px 14px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; }
.detail-grid .l { display: block; color: var(--muted); font-size: var(--fs-2xs); }
.detail-grid .v { display: block; font-size: var(--fs-sm); }
.detail-grid .v.addr { font-size: var(--fs-xs); word-break: break-all; white-space: normal; }
.detail-grid .v a { color: var(--icp); text-decoration: none; margin-left: 6px; }
.detail-grid .v.down { color: var(--ember); }
.views { display: inline-flex; background: var(--surface); border: 1px solid var(--edge); border-radius: 999px; padding: 3px; gap: 2px; }
.view-tab { text-decoration: none; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; padding: 7px 16px; border-radius: 999px; white-space: nowrap; }
body.booting-list #names-colours, body.booting-list #advanced, body.booting-read .guide { display: none; }
.view-tab.active { background: var(--surface-2); color: var(--text); }
.view-tab:hover { color: var(--text); }
#view-xray .xray { border-bottom: 0; padding-top: 20px; }
.xray-empty { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px 40px; margin-top: 22px; }
.token-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 8px; cursor: pointer; color: var(--text); text-decoration: none; max-width: 100%; }
.tchip:hover { border-color: var(--muted); background: var(--surface-2); }
.tchip .logo { width: 28px; height: 28px; flex-basis: 28px; }
.tchip .t { display: flex; flex-direction: column; min-width: 0; }
.tchip .t b { font-weight: 600; font-size: var(--fs-sm); }
.tchip .t span { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.tchip .x { font: inherit; background: transparent; border: 0; color: var(--faint); cursor: pointer; padding: 0 2px; font-size: var(--fs-sm); }
.tchip .x:hover { color: var(--ember); }
.tchip .prog { display: inline-block; width: 46px; height: 5px; border-radius: 3px; background: var(--line-strong); overflow: hidden; vertical-align: middle; margin-right: 6px; }
.tchip .prog i { display: block; height: 100%; background: var(--phosphor); }
.sub-h { color: var(--faint); font-weight: 400; font-size: var(--fs-xs); margin-left: 6px; }
.tchip .t span.vol { color: var(--text); }
.prov { margin-top: 10px; }
.prov .l { color: var(--muted); font-size: var(--fs-2xs); margin-bottom: 4px; }
.provlist { list-style: none; margin: 0; padding: 0; font-size: var(--fs-xs); }
.provlist li { padding: 3px 0; border-left: 2px solid var(--line-strong); padding-left: 10px; margin-top: 2px; }
.provlist ul { list-style: none; margin: 2px 0 0; padding: 0; }
.spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--phosphor); animation: spin 0.9s linear infinite; vertical-align: -2px; flex: 0 0 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; border-top-color: var(--muted); } }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.steps:empty { display: none; }
.step { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: center; min-width: 150px; flex: 1 1 150px; max-width: 260px; padding: 8px 12px 9px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: relative; overflow: hidden; font-size: var(--fs-xs); }
.step .ic { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); box-sizing: border-box; }
.step.running .ic { border-color: var(--line-strong); border-top-color: var(--phosphor); animation: spin 0.9s linear infinite; }
.step.done .ic { border-color: var(--phosphor); background: var(--phosphor); box-shadow: inset 0 0 0 3px var(--surface); }
.step.failed .ic { border-color: var(--ember); background: var(--ember); box-shadow: inset 0 0 0 3px var(--surface); }
.step.skipped .ic { border-style: dashed; }
.step .lbl { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.pending .lbl, .step.skipped .lbl { color: var(--muted); font-weight: 500; }
.step .det { grid-column: 2; color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.step.failed .det { color: var(--ember); white-space: normal; }
.step .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--phosphor); width: 0; transition: width 0.4s ease; }
.step.running .bar.indeterminate { width: 30%; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { left: -30%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .step.running .bar.indeterminate { animation: none; width: 100%; opacity: 0.3; } .step.running .ic { animation: none; } }
.step button { font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; cursor: pointer; margin-top: 4px; grid-column: 2; justify-self: start; }
tr.empty.loading td { text-align: left; padding: 18px 14px; }
tr.empty.loading td .row { display: flex; align-items: flex-start; gap: 12px; }
tr.empty.loading td .row .spin { margin-top: 2px; }
tr.empty.loading td b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
tr.empty.loading td .hint { display: block; color: var(--muted); font-size: var(--fs-xs); max-width: 64ch; }
tr.empty.failed td { text-align: left; padding: 18px 14px; }
tr.empty.failed td b { display: block; color: var(--ember); font-weight: 600; margin-bottom: 2px; }
tr.empty.failed td .hint { display: block; color: var(--muted); font-size: var(--fs-xs); max-width: 64ch; margin-bottom: 8px; }
tr.empty.notice td { text-align: left; padding: 18px 14px; }
tr.empty.notice td b { display: block; color: var(--text); font-weight: 600; margin-bottom: 8px; }
tr.empty td .targets { display: flex; flex-wrap: wrap; gap: 8px; }
tr.empty td details.tech { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
tr.empty td details.tech summary { cursor: pointer; }
tr.empty td details.tech .hint { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.tl-wrap { position: relative; }
.tl-note { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted); font-size: var(--fs-xs); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); white-space: normal; }
.tl-note.center { top: 50%; transform: translate(-50%, -50%); }
.tl-wrap.no-scatter .tl-note, .tl-wrap.no-scatter .tl-note.center { position: static; transform: none; margin: 6px 0 10px; }
.tl-note.bad { color: #ffd1ca; border-color: rgba(255, 107, 87, 0.5); }
.tl-note button { font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.panes-nav { margin: 10px 0 4px; }
.panes-nav button.hidden { display: none; }
.pane.hidden { display: none; }
.mine-figs { grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 0; padding: 18px 0 6px; }
.mine-figs .fig .n { font-size: var(--fs-fig); }
#xray-mining, #xray-flows, #flows { position: relative; }
.flowbar { display: flex; gap: 2px; height: 34px; border-radius: 6px; overflow: hidden; margin: 6px 0 10px; }
.fseg { display: flex; align-items: center; min-width: 3px; padding: 0 8px; }
.fseg .fl { color: #fff; font-size: var(--fs-xs); font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.flow-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-sm); padding: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); margin: 6px 0 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-xs); color: var(--text); }
.legend.inline { font-size: var(--fs-xs); color: var(--muted); }
.legend .lg { display: inline-flex; align-items: center; gap: 7px; }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
.legend .muted { color: var(--muted); }
.tl.daily { height: auto; }
.tl.daily .grid { stroke: var(--line); stroke-width: 1; }
.tl.daily .axis { fill: var(--muted); font-size: 12px; }
.tl.daily .hit { fill: transparent; }
.tl.daily .dbar:hover .hit { fill: rgba(255,255,255,0.04); }
.vtip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; font-size: var(--fs-xs); color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,0.4); max-width: 280px; line-height: 1.45; }
.filters .search { width: 220px; padding: 7px 10px; font-size: var(--fs-xs); }
tr.mrow { cursor: pointer; }
tr.mrow td { white-space: nowrap; }
tr.mrow.open td { border-bottom-color: transparent; background: rgba(255, 255, 255, 0.03); }
tr.mrow td.chev { color: var(--faint); font-size: var(--fs-lg); transition: transform 120ms; }
tr.mrow.open td.chev { transform: rotate(90deg); color: var(--text); }
td.flowcell { min-width: 170px; }
.minibar { display: flex; gap: 2px; height: 8px; width: 150px; border-radius: 3px; overflow: hidden; margin-bottom: 4px; background: var(--surface-2); }
.minibar span { display: block; min-width: 2px; }
td.up b { color: var(--phosphor); }
td.down b { color: var(--ember); }
.kind.beh-seller { color: #f0a07e; border-color: rgba(217, 89, 38, 0.55); }
.kind.beh-holder { color: #8db8f2; border-color: rgba(57, 135, 229, 0.55); }
.kind.beh-mover { color: #6fd0aa; border-color: rgba(25, 158, 112, 0.55); }
.kind.beh-lp { color: #e7bb57; border-color: rgba(201, 133, 0, 0.55); }
.kind.beh-locked, .kind.beh-none { color: var(--muted); }
.mtable { margin-top: 12px; }
.mtable .l { display: block; color: var(--muted); font-size: var(--fs-2xs); margin-bottom: 4px; }
.xtable.inner { font-size: var(--fs-xs); }
.xtable.inner td, .xtable.inner th { padding: 6px 10px; }
.mline { margin: 10px 0 0; }
.mactions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-head { margin: 10px 0 4px; }
.wallet-head .nm { font-size: var(--fs-xl); }
@media (max-width: 900px) { .mine-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } .mine-figs .fig:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .mine-figs { grid-template-columns: 1fr; } .mine-figs .fig { padding-left: 0; border-left: 0; } .filters { flex-wrap: wrap; } .filters .search { width: 100%; } }
.minibar.locked span { background: repeating-linear-gradient(135deg, var(--line-strong) 0 4px, var(--surface-2) 4px 8px); }
.fseg.unknown, .minibar span.unknown, .legend .sw.unknown { background: repeating-linear-gradient(135deg, #5f757c 0 4px, #2b3d44 4px 8px); }
.mine-figs.now { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mine-figs.now .fig .n { color: var(--phosphor); }
.kind.st-mining { color: var(--phosphor); border-color: rgba(124, 243, 176, 0.5); }
.kind.st-paused { color: var(--amber); border-color: rgba(243, 198, 99, 0.5); }
.kind.st-dry { color: var(--ember); border-color: rgba(255, 107, 87, 0.5); }
.kind.st-elsewhere { color: var(--muted); }
.rigdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--line-strong); }
.rigdot.mining { background: var(--phosphor); }
.rigdot.paused { background: var(--amber); }
.rigdot.dry { background: var(--ember); }
.power { display: inline-flex; gap: 2px; vertical-align: middle; }
.power i { display: block; width: 4px; height: 10px; border-radius: 1px; background: var(--line-strong); }
.power i.on { background: var(--phosphor); }
.rigs-table { margin-top: 12px; }
.rigs-table .l { display: block; color: var(--muted); font-size: var(--fs-2xs); margin-bottom: 4px; }
.rigs-table td.mono { font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-xs); }
@media (max-width: 900px) { .mine-figs.now { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mine-figs.now { grid-template-columns: 1fr; } }
.fig .n .of { font-size: var(--fs-md); font-weight: 500; color: var(--muted); letter-spacing: 0; }
#xray-mine-powers tr.best td { background: rgba(124, 243, 176, 0.06); }
#xray-mine-powers td.up, #xray-mine-live td.up { color: var(--phosphor); }
#xray-mine-powers td.down, #xray-mine-live td.down { color: var(--ember); }
.chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (hover: none) {
  .who .actions { opacity: 1; }
  .pencil { width: 30px; height: 30px; font-size: var(--fs-sm); }
  .wchip button:not(.label), .wchip a.look { width: 40px; height: 40px; }
  td.chev { width: 36px; font-size: var(--fs-h2); }
  .btn:hover { border-color: var(--edge); background: var(--surface-2); }
}
@media (max-width: 640px) {
  body { padding-bottom: 40px; }
  h1 { font-size: var(--fs-display-sm); }
  h2 { font-size: var(--fs-xl); }
  h3 { margin-top: 20px; }
  .hero { padding: 16px 0 18px; gap: 18px; }
  .hero .lede { font-size: var(--fs-md); margin: 10px 0 16px; }
  .lede.small { font-size: var(--fs-sm); }
  .xray { padding-top: 12px; }
  .xray-head { gap: 10px; }
  .xray-head .inline { flex-wrap: wrap; }
  .xray-head .inline input { flex-basis: 100%; }
  .xray-head .inline .btn { flex: 1; }
  .xray-token { gap: 14px; margin: 12px 0 2px; }
  .xray-token .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: var(--fs-xs); width: 100%; }
  .xray-token .facts span { display: block; line-height: 1.3; }
  .xray-token .facts span > b:first-child { display: block; font-size: var(--fs-prose); }
  .xray-token .facts span > b:first-child + b { font-size: var(--fs-prose); }
  .xray-token .facts .state { grid-column: 1 / -1; font-size: var(--fs-xs); }
  .xray-token .facts i { display: inline; margin-left: 4px; font-size: var(--fs-xs); }
  .steps { gap: 6px; }
  .step { min-width: 0; flex: 1 1 calc(50% - 3px); max-width: none; padding: 7px 10px 8px; font-size: var(--fs-xs); }
  .step .det { font-size: var(--fs-2xs); }
  .panes-nav { width: 100%; }
  .panes-nav button { flex: 1; padding: 7px 6px; font-size: var(--fs-xs); }
  .controls { gap: 10px; margin-top: 12px; }
  .controls h3 { margin: 0; }
  .filters { gap: 10px 14px; flex-wrap: wrap; }
  .select { font-size: var(--fs-xs); }
  .totals, .mine-figs, .mine-figs.now { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 0 6px; row-gap: 14px; column-gap: 8px; }
  .fig { padding: 0 0 0 12px; border-left: 1px solid var(--line); }
  .fig:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fig .n, .fig.big .n, .mine-figs .fig .n { font-size: var(--fs-xl); }
  .fig .l { font-size: var(--fs-xs); }
  .fig .s { font-size: var(--fs-2xs); }
  .chart-scroll .obar { min-width: 640px; }
  .chart-scroll .tl { min-width: 720px; }
  .tl-note { font-size: var(--fs-xs); padding: 7px 12px; }
  .legend { font-size: var(--fs-xs); gap: 4px 12px; }
  .flowbar { height: 28px; }
  .xtable { font-size: var(--fs-xs); }
  .xtable th, .xtable td { padding: 8px 7px; }
  .xtable .rank { width: 22px; padding-left: 0; padding-right: 2px; font-size: var(--fs-xs); }
  .xtable th:first-child, .xtable td:first-child { padding-left: 0; }
  .who, .who.compact { min-width: 0; max-width: 46vw; }
  .who.compact .nm { max-width: 32vw; font-size: var(--fs-xs); }
  .who .actions { gap: 2px; }
  .who .sub { font-size: var(--fs-xs); }
  .sub { font-size: var(--fs-xs); }
  tr.hrow td:nth-child(2), tr.mrow td:nth-child(2), #xray-pnl td:nth-child(2), #xray-mine-board td:nth-child(2),
  #xray-holders th:nth-child(2), #xray-miners th:nth-child(2), #xray-mine-live th:nth-child(2), #xray-pnl th:nth-child(2), #xray-mine-board th:nth-child(2),
  #flows-table th:nth-child(2), #flows-table td:nth-child(2), #xray-flows-new th:nth-child(2), #xray-flows-new td:nth-child(2), #xray-flows-exits th:nth-child(2), #xray-flows-exits td:nth-child(2),
  .tokens th:first-child, .tokens td:first-child { position: sticky; left: 0; background: var(--ink); z-index: 1; }
  tr.hrow.open td:nth-child(2), tr.mrow.open td:nth-child(2) { background: #14232a; }
  tbody tr:hover td { background: transparent; }
  .barcell { min-width: 90px; width: auto; }
  .minibar { width: 100px; }
  td.flowcell { min-width: 120px; }
  .filters .search { width: 100%; }
  .table-wrap.history { max-height: 420px; }
  .label-edit { flex-wrap: wrap; }
  .label-edit input { max-width: none; flex: 1 1 100%; }
  .detail-grid { grid-template-columns: 1fr; gap: 8px; }
  .mtable, .rigs-table { margin-left: 0; overflow-x: auto; }
  #xray-holders th:nth-child(3), #xray-holders td:nth-child(3),
  #xray-holders th:nth-child(7), #xray-holders td:nth-child(7),
  #xray-pnl th:nth-child(5), #xray-pnl td:nth-child(5),
  #xray-pnl th:nth-child(7), #xray-pnl td:nth-child(7),
  #xray-miners th:nth-child(3), #xray-miners td:nth-child(3),
  #xray-miners th:nth-child(5), #xray-miners td:nth-child(5),
  #xray-miners th:nth-child(6), #xray-miners td:nth-child(6),
  #xray-miners th:nth-child(8), #xray-miners td:nth-child(8),
  #xray-mine-live th:nth-child(4), #xray-mine-live td:nth-child(4),
  #xray-mine-live th:nth-child(5), #xray-mine-live td:nth-child(5),
  #xray-mine-live th:nth-child(7), #xray-mine-live td:nth-child(7),
  #xray-mine-powers th:nth-child(2), #xray-mine-powers td:nth-child(2),
  #xray-mine-powers th:nth-child(5), #xray-mine-powers td:nth-child(5),
  #xray-mine-powers th:nth-child(8), #xray-mine-powers td:nth-child(8),
  #xray-mine-board th:nth-child(3), #xray-mine-board td:nth-child(3),
  #xray-mine-board th:nth-child(6), #xray-mine-board td:nth-child(6),
  #xray-mine-board th:nth-child(7), #xray-mine-board td:nth-child(7),
  #xray-mine-board th:nth-child(9), #xray-mine-board td:nth-child(9),
  #xray-pool-owners th:nth-child(5), #xray-pool-owners td:nth-child(5),
  #xray-history th:nth-child(6), #xray-history td:nth-child(6),
  .xtable th.wallets-col, .xtable td.wallets-col { display: none; }
  #flows-table th:nth-child(5), #flows-table td:nth-child(5),
  #flows-table th:nth-child(6), #flows-table td:nth-child(6),
  #flows-table th:nth-child(7), #flows-table td:nth-child(7),
  #xray-flows-new th:nth-child(5), #xray-flows-new td:nth-child(5),
  #xray-flows-exits th:nth-child(5), #xray-flows-exits td:nth-child(5),
  .tokens th:nth-child(2), .tokens td:nth-child(2),
  .tokens th:nth-child(4), .tokens td:nth-child(4),
  .tokens th:nth-child(7), .tokens td:nth-child(7) { display: none; }
  tr.hdetail > td:first-child:not([colspan]) { display: none; }
  tr.hdetail td { padding-left: 0; position: sticky; left: 0; }
  tr.hdetail td > * { max-width: calc(100vw - 32px); }
  .detail-grid .v.addr { font-size: var(--fs-xs); }
  .prov { max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
  .twocol { grid-template-columns: 1fr; gap: 10px; }
  .xray-empty { grid-template-columns: 1fr; gap: 16px; }
  .guide { padding-top: 18px; }
}
@media (max-width: 400px) {
  .xray-token .facts { grid-template-columns: 1fr 1fr; font-size: var(--fs-xs); }
  .who.compact .nm { max-width: 28vw; }
}
.chain[data-chain="sol"] .staking { display: none; }
.staking .add-neuron { display: flex; gap: 6px; }
.staking .add-neuron input { width: 220px; padding: 7px 10px; font-size: var(--fs-xs); }
.stake-summary { margin: 4px 0 6px; font-size: var(--fs-sm); color: var(--text); }
.stake-summary b { font-weight: 600; }
.neurons .nid { font-weight: 600; }
.neurons .nid.known { color: var(--icp); }
.kind.w-info { color: var(--muted); }
.kind.w-warn { color: var(--amber); border-color: rgba(243, 198, 99, 0.5); }
.kind.w-signal { color: var(--phosphor); border-color: rgba(124, 243, 176, 0.5); }
.kind.w-critical { color: var(--ember); border-color: rgba(255, 107, 87, 0.6); }
.warnlist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.warnlist li { font-size: var(--fs-xs); padding-left: 10px; border-left: 2px solid var(--line-strong); }
.warnlist li.warn { border-left-color: var(--amber); }
.warnlist li.critical { border-left-color: var(--ember); }
.hotkey-help { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
.hotkey-help code { font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-2xs); color: var(--text); word-break: break-all; }
@media (max-width: 640px) {
  .staking .add-neuron { width: 100%; }
  .staking .add-neuron input { flex: 1; width: auto; }
  .neurons th:nth-child(4), .neurons td:nth-child(4), .neurons th:nth-child(6), .neurons td:nth-child(6) { display: none; }
  .neurons tr.hrow td:nth-child(1), .neurons th:nth-child(1) { position: sticky; left: 0; background: var(--ink); z-index: 1; }
}
.chain .mark.liq, .lending .mark.liq { background: #4fc3f7; }
.lending { padding: 28px 0 8px; border-bottom: 1px solid var(--line); }
.lcard { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 18px; margin-top: 14px; }
.lcard .lhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.lcard .lwallets { color: var(--muted); font-size: var(--fs-xs); }
.lcard .lwallets code { font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-2xs); color: var(--text); }
.lfigs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 18px; margin: 14px 0 6px; }
.lfigs .fig { padding: 0; border: 0; }
.lfigs .fig .n { font-size: var(--fs-h2); }
.health { margin: 12px 0 4px; }
.health .bar { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--ember) 0 12%, var(--amber) 12% 30%, var(--phosphor) 30% 100%); opacity: 0.35; }
.health .mark { position: absolute; top: -5px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--text); box-shadow: 0 0 0 2px var(--ink); }
.health .lbl { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--fs-2xs); margin-top: 6px; }
.health .lbl b { color: var(--text); }
.whatif { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.whatif span { border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; }
.whatif span.down { color: var(--ember); border-color: rgba(255, 107, 87, 0.5); }
.lending .xtable { margin-top: 10px; }
.lending td.up { color: var(--phosphor); }
.lending td.down { color: var(--ember); }
@media (max-width: 900px) { .lfigs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lfigs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lending .xtable th:nth-child(5), .lending .xtable td:nth-child(5), .lending .xtable th:nth-child(6), .lending .xtable td:nth-child(6) { display: none; }
}
.alerts { margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.alerts.has-critical { border-color: rgba(255, 107, 87, 0.55); }
.alerts .ahead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.alerts h3 { margin: 0; color: var(--text); font-size: var(--fs-md); }
.alerts .counts { display: flex; gap: 8px; }
.alerts ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.alerts li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; font-size: var(--fs-sm); padding-left: 10px; border-left: 2px solid var(--line-strong); }
.alerts li.warn { border-left-color: var(--amber); }
.alerts li.signal { border-left-color: var(--phosphor); }
.alerts li.critical { border-left-color: var(--ember); }
.alerts li .who { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; padding-top: 2px; }
.alerts li .txt { color: var(--text); }
.alerts li .txt button { font: inherit; font-size: var(--fs-xs); color: var(--icp); background: transparent; border: 0; padding: 0; cursor: pointer; margin-left: 6px; }
.alerts li .dismiss { font: inherit; font-size: var(--fs-xs); color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; cursor: pointer; }
.alerts .more { margin-top: 8px; }
@media (max-width: 640px) { .alerts li { grid-template-columns: 1fr auto; } .alerts li .who { grid-column: 1 / -1; } }
.pencil.look { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-2xs); }
.pencil.look:hover { border-color: var(--phosphor); }
.chip .look { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: var(--fs-xs); text-decoration: none; color: var(--muted); }
.chip .look:hover { color: var(--text); background: var(--line); }
.wallet-head { justify-content: space-between; }
.verdict { display: grid; grid-template-columns: minmax(200px, 0.8fr) 2fr; gap: 24px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.verdict .arch { display: flex; flex-direction: column; gap: 4px; }
.verdict .arch .t { font-size: var(--fs-display-sm); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; color: var(--phosphor); }
.verdict .arch .tag { color: var(--text); font-size: var(--fs-md); }
.verdict .arch .sub { color: var(--muted); font-size: var(--fs-xs); margin-top: 6px; }
.quips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.quips li { position: relative; padding: 6px 10px 6px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.4; }
.quips li::before { content: ""; position: absolute; left: 10px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--phosphor); }
.quips li.info::before { background: var(--muted); }
.quips li.warn::before, .quips li.critical::before { background: var(--amber); }
.quips li.critical { border-color: rgba(255, 107, 87, 0.4); }
.wl-figs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.spin.small { width: 16px; height: 16px; vertical-align: 0; }
section.wl { margin-top: 22px; }
section.wl h3 { font-size: var(--fs-md); font-weight: 600; margin: 0 0 8px; }
.wl-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 22px; margin-bottom: 12px; }
.wl-cells > div { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-sm); }
.wl-cells .l { color: var(--muted); font-size: var(--fs-xs); }
.wl-cells .v .sub { color: var(--muted); font-size: var(--fs-xs); margin-left: 6px; }
.wl-cells .chip { padding: 1px 8px; font-size: var(--fs-xs); }
.mbars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin: 4px 0 14px; max-width: 420px; }
.mbars .mb { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: 3px; }
.mbars .mb i { display: block; background: var(--icp); border-radius: 2px 2px 0 0; min-height: 2px; opacity: 0.85; }
.mbars .mb b { font-size: var(--fs-2xs); color: var(--faint); font-weight: 500; text-align: center; }
.kind.ok { color: var(--phosphor); border-color: rgba(124, 243, 176, 0.4); }
.tok .tag.dead { color: var(--ember); border-color: rgba(255, 107, 87, 0.4); }
a.tok { color: inherit; text-decoration: none; }
a.tok:hover .sym { text-decoration: underline; }
@media (max-width: 640px) {
  .verdict { grid-template-columns: 1fr; gap: 12px; }
  .verdict .arch .t { font-size: var(--fs-fig); }
  .wl-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl-figs .fig { padding: 8px 12px; border-left: 0; }
}
section.wl .who.compact { flex-wrap: wrap; min-width: 240px; }
section.wl .who.compact .nm { max-width: none; white-space: normal; }
.state.unknown { color: var(--muted); border-color: var(--line-strong); }
.facts .muted { color: var(--muted); }
.who .nm.soon { color: #d8b4fe; }
.who .nm.soon::after { content: " soon"; font-size: var(--fs-2xs); font-weight: 500; color: var(--faint); letter-spacing: 0.02em; }
.flow-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-figs.people { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 6px; }
.flow-figs .fig .n .up { color: var(--phosphor); }
.flow-figs .fig .n .down { color: var(--ember); }
.tl.daily .grid.zero { stroke: var(--line-strong); }
.tl.daily .fline { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
@media (max-width: 900px) { .flow-figs, .flow-figs.people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flow-figs, .flow-figs.people { grid-template-columns: 1fr; } }
.tl.hourly { height: auto; }
.flows-table .tchip { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.flows-table .tchip .logo { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; }
.flows-table .tchip .t { display: flex; flex-direction: column; min-width: 0; }
.flows-table .tchip .t span { color: var(--muted); font-size: var(--fs-xs); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spark { width: 96px; height: 26px; display: block; }
.spark path { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark path.up { stroke: var(--phosphor); }
.spark path.down { stroke: var(--ember); }
.score { display: inline-block; min-width: 34px; text-align: center; padding: 3px 8px; border-radius: 999px; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; border: 1px solid var(--line-strong); background: transparent; color: inherit; cursor: default; }
.score:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.score-parts { width: 64px; height: 4px; margin: 4px auto 0; gap: 1px; }
.score.hot { color: #06271a; background: var(--phosphor); border-color: transparent; }
.score.warm { color: var(--text); background: var(--surface-2); }
.score.cold { color: var(--muted); }
.score.none { color: var(--faint); border-color: var(--line); }
.flows-alerts { margin-top: 12px; }
.flows-alerts .txt a { color: var(--icp); margin-left: 6px; font-size: var(--fs-xs); }
.rules { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.rules summary { cursor: pointer; color: var(--text); font-weight: 600; }
.rules-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-top: 10px; }
.rules-row label { display: flex; flex-direction: column; gap: 5px; font-size: var(--fs-xs); color: var(--muted); }
.rules-row input { width: 150px; padding: 7px 10px; }
.breakdown .bk { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 6px; margin: 1px 0; border-radius: 4px; overflow: hidden; }
.breakdown .bk-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(122, 99, 214, 0.22); border-radius: 4px; }
.breakdown .bk-name { position: relative; color: var(--text); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breakdown .bk-amt { position: relative; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown .bk-share { color: var(--muted); margin-left: 6px; font-size: var(--fs-2xs); }
.breakdown .bk-more { font: inherit; font-size: var(--fs-xs); color: var(--icp); background: transparent; border: 0; padding: 2px 6px; cursor: pointer; }
#xray-miners th { white-space: normal; }
#xray-miners .who { max-width: 280px; }
#xray-miners .who.compact { flex-wrap: wrap; }
#xray-miners .who.compact .nm { min-width: 6ch; }
#xray-miners .minibar { width: 120px; }
#xray-miners td:last-child { padding-left: 4px; }
.dominance { margin: 6px 0 14px; }
.dominance .domi-lead { margin: 8px 0; font-size: var(--fs-sm); color: var(--text); }
.dominance .domibar { width: 100%; height: 10px; margin: 6px 0 10px; }
.dominance .legend a { color: var(--text); text-decoration: none; font-weight: 600; }
.dominance .legend a:hover { text-decoration: underline; }
.moved { color: var(--amber); font-weight: 600; }
body.has-wallets .hero .lede { display: none; }
body.has-wallets .hero h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.has-wallets .hero { padding: 14px 0 12px; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr); }
body.has-wallets .radar { width: min(100%, 300px); }
body.has-wallets:not(.adding) #add-wallet { display: none; }
body:not(.has-wallets) #add-toggle { display: none; }
#add-toggle { margin-bottom: 10px; }
.unit-field { display: inline-flex; align-items: center; gap: 6px; }
.unit-field .unit { color: var(--muted); font-size: var(--fs-xs); }
.kind.status { color: var(--text); }
tr.member td { background: rgba(255, 255, 255, 0.015); font-size: var(--fs-xs); }
tr.member td:nth-child(2) { padding-left: 28px; }
.sources { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.sources summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary .more { margin-left: auto; color: var(--faint); font-size: var(--fs-xs); white-space: nowrap; }
.sources[open] summary .more::after { content: " ▴"; }
.sources:not([open]) summary .more::after { content: " ▾"; }
.sources.stale, .sources.partial { border-color: rgba(255, 184, 77, 0.35); }
.sources.stale summary, .sources.partial summary { color: var(--amber); }
.sources.failed { border-color: rgba(255, 107, 87, 0.45); background: var(--ember-dim); }
.sources.failed summary { color: #ffd1ca; }
.sources ul { margin: 8px 0 2px; padding-left: 18px; color: var(--muted); }
.sources li { margin: 4px 0; }
.sources li b { color: var(--text); font-weight: 600; }
.sources li.failed b { color: #ffd1ca; }
@media (max-width: 640px) {
  .hero, body.has-wallets .hero { grid-template-columns: 1fr; padding: 10px 0 10px; }
  .radar { display: none; }
  table.cards, table.cards tbody { display: block; width: 100%; }
  table.cards thead { display: none; }
  table.cards tr.hrow, table.cards tr.mrow, #xray-pnl.cards tbody tr:not(.hdetail) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 28px; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
  table.cards tr.hdetail { display: block; }
  table.cards tr.hdetail td { display: block; padding: 4px 0 12px; }
  table.cards tr.hdetail td:first-child { display: none; }
  table.cards tbody tr > td { display: block; padding: 0; border: 0; background: transparent; position: static; text-align: left; font-size: var(--fs-xs); min-width: 0; }
  table.cards td.rank, table.cards td.barcell, table.cards td.flowcell { display: none; }
  table.cards td:nth-child(2) { grid-column: 1 / span 3; grid-row: 1; }
  table.cards td.chev { grid-column: 4; grid-row: 1 / span 3; align-self: center; font-size: var(--fs-h2); width: auto; }
  table.cards .who, table.cards .who.compact { max-width: none; flex-wrap: wrap; }
  table.cards .who.compact .nm { max-width: none; white-space: normal; font-size: var(--fs-sm); }
  table.cards .who .actions { flex-basis: 100%; gap: 6px; opacity: 1; }
  table.cards .who .actions .pencil { width: 30px; height: 30px; }
  table.cards td.num::before, table.cards td.lab::before { display: block; font-size: var(--fs-2xs); color: var(--muted); margin-bottom: 1px; }
  #xray-holders.cards td:nth-child(4)::before { content: "holds"; }
  #xray-holders.cards td:nth-child(5)::before { content: "worth"; }
  #xray-holders.cards td:nth-child(6)::before { content: "profit and loss"; }
  #xray-holders.cards td:nth-child(7) { grid-column: 1 / span 3; }
  #xray-holders.cards td:nth-child(7)::before { content: "if they dumped it all"; }
  #xray-pnl.cards td:nth-child(3)::before { content: "put in"; }
  #xray-pnl.cards td:nth-child(4)::before { content: "took out"; }
  #xray-pnl.cards td:nth-child(5)::before { content: "still holds"; }
  #xray-pnl.cards td:nth-child(6)::before { content: "net"; }
  #xray-pnl.cards td:nth-child(7) { align-self: end; }
  #xray-pnl.cards tr.member { padding-left: 14px; border-left: 2px solid var(--line); }
  #xray-pnl.cards tr.member td { background: transparent; }
  #xray-miners.cards td:nth-child(3)::before { content: "rigs now"; }
  #xray-miners.cards td:nth-child(4)::before { content: "mined"; }
  #xray-miners.cards td:nth-child(9) { grid-column: 3; grid-row: 2; }
  #xray-miners.cards td:nth-child(9)::before { content: "net"; }
  #xray-miners.cards td:nth-child(6)::before { content: "cost"; }
  #xray-miners.cards td:nth-child(7)::before { content: "cashed out"; }
  #xray-miners.cards td:nth-child(8)::before { content: "still holds"; }
  #xray-miners.cards td:nth-child(6), #xray-miners.cards td:nth-child(7), #xray-miners.cards td:nth-child(8) { grid-row: 3; }
  #xray-miners.cards td:nth-child(6) { grid-column: 1; }
  #xray-miners.cards td:nth-child(7) { grid-column: 2; }
  #xray-miners.cards td:nth-child(8) { grid-column: 3; }
  table.cards tr.open td:nth-child(2) { background: transparent; }
  #xray-holders.cards tbody tr > td, #xray-pnl.cards tbody tr > td, #xray-miners.cards tbody tr > td { display: block; }
  #xray-holders.cards td.rank, #xray-pnl.cards td.rank, #xray-miners.cards td.rank, #xray-holders.cards td.barcell, #xray-miners.cards td.flowcell { display: none; }
  #xray-holders.cards tr.hdetail td:first-child, #xray-pnl.cards tr.hdetail td:first-child, #xray-miners.cards tr.hdetail td:first-child { display: none; }
  #update { order: 5; flex-basis: 100%; text-align: center; padding: 6px 10px; }
}
.tl.daily .axis.unit { font-size: 11px; fill: var(--faint); }
.steps { flex-direction: column; gap: 6px; }
.steps-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.steps-group .grp { flex: 0 0 72px; align-self: center; color: var(--faint); font-size: var(--fs-xs); font-weight: 600; }
.steps.settled { flex-direction: row; }
.steps-done { display: flex; gap: 12px; align-items: baseline; width: 100%; padding: 6px 0; color: var(--muted); font-size: var(--fs-xs); border-bottom: 1px solid var(--line); }
.steps-done .linkish, .steps .steps-close { font: inherit; font-size: var(--fs-xs); color: var(--faint); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.steps .steps-close { align-self: flex-end; }
tr.prow { cursor: pointer; }
tr.prow.open td { background: rgba(255, 255, 255, 0.03); }
.detail-grid .v.trail .sub { display: block; }
@media (max-width: 640px) {
  .steps-group .grp { flex-basis: 100%; }
  .panes-nav button { font-size: var(--fs-xs); }
}
.table-wrap.is-empty thead { display: none; }
.table-wrap.is-empty tr.empty td { padding: 10px 0 16px; color: var(--muted); }
.chgbar { display: block; height: 5px; width: 100%; max-width: 110px; margin: 0 0 4px auto; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; }
.chgbar i { display: block; height: 100%; border-radius: 3px; }
.chgbar i.up { background: var(--phosphor); }
.chgbar i.down { background: var(--ember); }
tr.divider td { padding: 14px 10px; color: var(--muted); font-size: var(--fs-xs); text-align: center; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.flows-new { margin: 14px 0 4px; }
.flows-new .check { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.obar .seg.alt rect { fill-opacity: 0.72; }
.obar .seg-rank { fill: var(--text); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 3px; }
.tokens .sub.src { color: var(--faint); font-size: var(--fs-xs); }
.tl.hourly .mark { font-size: var(--fs-2xs); }
.chev-btn { font: inherit; font-size: inherit; color: inherit; background: none; border: 0; padding: 0; width: 100%; height: 100%; min-height: 28px; cursor: pointer; position: relative; }
.chev-btn:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; border-radius: 4px; }
tr.open .chev-btn { transform: rotate(90deg); }
.pencil, .chip button, .alerts button.hide, .chev-btn, .score { position: relative; }
.pencil::after, .alerts button.hide::after, .score::after { content: ""; position: absolute; inset: -9px; }
.advanced label.field { display: block; margin: 12px 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--text); }
.advanced label.field .help { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }
.depth { margin: 14px 0 0; }
.depth-svg { width: 100%; height: auto; display: block; }
.depth .band-line { stroke: var(--line); stroke-width: 1; }
.depth .band { fill: var(--faint); font-size: 11px; }
.depth .bin { fill: var(--surface); stroke: var(--ember); stroke-opacity: 0.4; stroke-dasharray: 3 5; }
.depth .blip { stroke: var(--ink); stroke-width: 1; }
.depth .blip.icp { fill: var(--icp); }
.depth .blip.sol { fill: var(--sol); }
.depth .blip.dead { fill: var(--ember); }
.depth .tag { fill: var(--text); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 3px; }
.depth figcaption { color: var(--faint); font-size: var(--fs-xs); margin-top: 6px; }
body.has-wallets .radar { display: none; }
.flows-line { flex-basis: 100%; font-size: var(--fs-xs); }
.flows-line a { color: var(--text); font-weight: 600; text-decoration: none; }
.flows-line a:hover { text-decoration: underline; }
@media (max-width: 640px) { .depth { display: none; } }
.sync-detail { margin: 6px 0 10px; font-size: var(--fs-xs); color: var(--muted); }
.who .nm.wallet::after, .name-key .nm.wallet::after { content: "yours"; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: var(--fs-2xs); font-weight: 600; color: var(--ink); background: var(--nm, var(--phosphor)); vertical-align: 1px; }
.name-key .nm.wallet { font-size: 0; }
.name-key .nm.wallet::after { margin-left: 0; font-size: var(--fs-2xs); }
.name-key { margin: 4px 0 0; font-size: var(--fs-xs); color: var(--faint); }
.name-key .nm { font-weight: 600; }
.name-key .nm.soon::after { content: none; }
.name-key .nm.you { color: var(--phosphor); }
.name-key .nm.alias { color: var(--icp); }
.name-key .nm.soon { color: #d8b4fe; }
.name-key .nm.structural { color: var(--muted); font-weight: 500; }
.recent-blocks { margin: 18px 0 6px; }
.recent-blocks .rb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.recent-blocks h4 { margin: 0 0 2px; font-size: var(--fs-xs); color: var(--text); }
.recent-blocks ol { margin: 6px 0 0; padding-left: 18px; }
.recent-blocks li { display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; gap: 8px; align-items: baseline; font-size: var(--fs-xs); padding: 2px 0; }
.recent-blocks li .nmcell .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.recent-blocks li .sub { text-align: right; }
@media (max-width: 640px) { .recent-blocks .rb-grid { grid-template-columns: 1fr; } }
.who .nm.yours { color: var(--phosphor); }
.who .nm.coloured, .name-key .nm.coloured, .recent-blocks li .nm.coloured { color: var(--nm); }
.who .nm.yours::after, .name-key .nm.yours::after { content: "yours"; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: var(--fs-2xs); font-weight: 600; color: var(--ink); background: var(--nm, var(--phosphor)); vertical-align: 1px; }
.gchip { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: var(--fs-2xs); font-weight: 600; line-height: 15px; color: var(--g); border: 1px solid var(--g); vertical-align: 1px; white-space: nowrap; }
.who.compact .gchip { margin-left: 2px; }
.recent-blocks li .nmcell { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
.overcap { display: block; margin-bottom: 6px; color: var(--amber); }
.overcap .btn { margin: 0 6px; }
.rewards-only { margin-top: 6px; }
.rewards-only ul { margin: 4px 0 0; padding-left: 18px; columns: 2; }
.your-positions { margin: 18px 0 6px; }
.positions-icp td:first-child .linkish { font-weight: 700; }
.positions-icp .lower-bound { color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
.bchip { display: inline-block; margin: 0 4px 2px 0; padding: 1px 7px; border-radius: 9px; font-size: var(--fs-2xs); font-weight: 600; line-height: 16px; white-space: nowrap; border: 1px solid currentColor; background: transparent; }
.bchip.accumulating { color: var(--phosphor); }
.bchip.reducing { color: var(--amber); }
.bchip.unwinding, .bchip.miningDumping { color: var(--ember); }
.bchip.distributing { color: var(--sol); }
.bchip.lpIn, .bchip.lpOut { color: var(--icp); }
.bchip.rotating { color: var(--gold); }
td .bchip + .pill { margin-top: 2px; }
.swatches { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sw { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: var(--sw); cursor: pointer; box-shadow: 0 0 0 1px var(--line-strong); }
.sw.on { box-shadow: 0 0 0 2px var(--text); }
.sw.none { width: auto; padding: 0 8px; border-radius: 999px; font: inherit; font-size: var(--fs-2xs); color: var(--muted); background: transparent; }
.sw-hex { width: 10ch; padding: 2px 6px; font-size: var(--fs-xs); }
.detect.warn { color: var(--amber); }
.label-edit { flex-wrap: wrap; }
.label-edit select { font: inherit; font-size: var(--fs-xs); color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 5px 8px; }
.label-edit .nc-new, .label-edit .nc-own { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.label-edit .nc-new input[name="newGroup"] { max-width: 180px; padding: 5px 8px; }
.label-edit .nc-l { font-size: var(--fs-xs); color: var(--muted); }
.label-edit > .detect { flex-basis: 100%; margin: 0; }
.advanced .nc-help { margin: 8px 0 4px; }
#nc-sources { display: grid; gap: 6px; margin: 8px 0 12px; }
.nc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nc-row .nc-label { min-width: 120px; font-weight: 600; color: var(--text); }
.nc-table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; }
.nc-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--line); }
.nc-table td { padding: 4px 6px; vertical-align: middle; border-bottom: 1px solid var(--line); }
.nc-table .num { text-align: right; }
.nc-table .nc-name { max-width: 200px; padding: 4px 8px; }
.nc-new-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; }
.nc-new-group input[name="name"] { max-width: 200px; padding: 5px 8px; }
.sw:disabled { opacity: 0.4; cursor: default; }
.pool-depth { margin: 8px 0 12px; }
.pool-depth summary { cursor: pointer; color: var(--phosphor); }
.pool-depth .depth-head { margin: 8px 0; }
.pool-depth .depth-table td .sub, .pool-depth .depth-table td.why { white-space: normal; }
.pool-depth .depth-table td.why { color: var(--muted); max-width: 60ch; }
.pool-depth .depth-liq { margin: 8px 0; }
.pool-depth .depth-liq svg { width: 100%; max-width: 600px; height: auto; display: block; }
.pool-depth .depth-liq .bar { fill: var(--phosphor); opacity: 0.75; }
.pool-depth .depth-liq .gap { stroke: var(--muted); stroke-dasharray: 2 3; }
.pool-depth .depth-liq .now { stroke: var(--amber); stroke-dasharray: 3 3; }
.pool-depth .depth-liq text { fill: var(--muted); font-size: 12px; }
@media (max-width: 640px) { .pool-depth .depth-liq text { fill: var(--muted); font-size: 21px; } .pool-depth .depth-liq text.minor { display: none; } .pool-depth .depth-liq text.now-label { transform: translateY(6px); } }
.pool-depth .depth-liq text.now-label { fill: var(--amber); font-weight: 600; }
.pool-depth .depth-liq figcaption { color: var(--muted); font-size: var(--fs-xs); margin-top: 4px; }
.pool-depth .depth-liq-table summary { font-size: var(--fs-xs); color: var(--muted); }
.pool-depth .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pchart { margin: 8px 0 12px; }
.pchart summary { cursor: pointer; color: var(--phosphor); }
.pchart-controls { margin: 8px 0; }
.pchart .seg button { min-height: 36px; }
.pchart-box { position: relative; height: 340px; margin: 8px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pchart-box[hidden] { display: none; }
.pchart-failed { color: var(--amber); }
.pchart-credit a { color: var(--muted); }
.pchart-table summary { cursor: pointer; color: var(--muted); font-size: var(--fs-xs); }
.pchart-table tr.pchart-live td:first-child, .pchart-table tr.pchart-bad td { color: var(--amber); }
@media (max-width: 640px) { .pchart-box { height: 260px; } .pchart .seg button { min-height: 44px; } }
.tape-wrap { margin: 12px 0; }
.tape-wrap .controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tape-title { margin: 8px 0; }
.tape .side.sell { color: var(--ember); }
.tape .side.buy { color: var(--phosphor); }
.tape td .sub { display: block; color: var(--muted); font-size: var(--fs-xs); }
.tape tr.tape-live td.tape-state, .tape tr.tape-unconfirmed td.tape-state { color: var(--amber); }
.tape tr.tape-missed td.tape-state, .tape tr.tape-recorded td.tape-state { color: var(--muted); font-style: italic; }
.tape-grown { color: var(--amber); }
.safety-card { margin: 12px 0 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.safety-card h3 { margin: 0 0 6px; font-size: var(--fs-md); }
.safety-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.safety-card li.check { padding: 4px 0 4px 10px; border-left: 3px solid var(--edge); display: flex; flex-direction: column; }
.safety-card li.check.good { border-left-color: var(--phosphor); }
.safety-card li.check.neutral { border-left-color: var(--edge); }
.safety-card li.check.warn { border-left-color: var(--amber); }
.safety-card li.check.unknown { border-left: 3px dashed var(--faint); }
.safety-card .fact { color: var(--text); }
.safety-card .sub { color: var(--muted); font-size: var(--fs-xs); }
.pair-head .pair-sep { color: var(--muted); margin: 0 6px; }
.pair-headline { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pair-headline .fact { margin: 0; color: var(--text); font-weight: 600; }
.pair-headline .sub { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-xs); }
ul.signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.signals li.signal { padding: 4px 0 4px 10px; border-left: 3px solid var(--edge); display: flex; flex-direction: column; gap: 2px; }
ul.signals li.signal.not-counted, ul.signals li.signal.below { border-left-color: var(--line-strong); }
ul.signals li.signal.unknown, ul.signals li.signal.unread { border-left: 3px dashed var(--faint); }
ul.signals .strength { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
ul.signals .fact { color: var(--text); }
ul.signals .sub { color: var(--muted); font-size: var(--fs-xs); }
ul.signals .cause { font-style: italic; }
.flow-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; }
.flow-controls .chip-btn { font: inherit; font-size: var(--fs-xs); color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.flow-controls .chip-btn[aria-pressed="true"] { color: var(--text); background: var(--surface-2); font-weight: 600; }
.flow-controls .flow-legend { flex-basis: 100%; margin: 4px 0 0; color: var(--muted); font-size: var(--fs-xs); }
.flow-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flow-svg { display: block; }
.flow-svg .flow-line path { fill: none; stroke: var(--edge); opacity: 0.85; }
.flow-svg .flow-line.grey path { stroke: var(--line-strong); }
.flow-svg .flow-line:hover path { stroke: var(--text); }
.flow-svg .flow-label { fill: var(--muted); font-size: var(--fs-2xs); text-anchor: middle; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; }
.flow-svg .flow-node rect { fill: var(--surface-2); stroke: var(--line-strong); }
.flow-svg .flow-node.root rect { stroke: var(--phosphor); }
.flow-svg .flow-node.pass rect { stroke-dasharray: 2 3; stroke: var(--text); }
.flow-svg .flow-node.cut rect { fill: transparent; stroke-dasharray: 6 4; stroke: var(--faint); }
.flow-svg .flow-node.held rect { stroke: var(--amber); }
.flow-svg .flow-node.mint rect { fill: transparent; }
.flow-svg .flow-name { fill: var(--text); font-size: var(--fs-xs); font-weight: 600; }
.flow-svg .flow-chip, .flow-svg .flow-cut-words { fill: var(--muted); font-size: var(--fs-2xs); }
.flow-svg .flow-btn { fill: var(--phosphor); font-size: var(--fs-2xs); cursor: pointer; }
.flow-svg [data-flow-act] { cursor: pointer; }
.flow-panel button { font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.breakdown .bk-sub { color: var(--muted); font-size: var(--fs-2xs); margin: -2px 0 4px; overflow-wrap: anywhere; }
.quip { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-xs); font-style: italic; }
