:root {
  color-scheme: dark;
  --bg: #0b1020; --sidebar: #0d1324; --surface: #11192c; --surface-raised: #151e33;
  --border: #263047; --border-soft: #202a40; --text: #f3f2eb; --muted: #97a4bd;
  --blue: #779fff; --blue-strong: #3e73f4; --green: #8cdbbd; --coral: #f18c87;
  --purple: #b3a0f8; --gold: #d9c89a; --warning: #e8bf7c;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.5; font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: var(--blue); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
input, select { width: 100%; min-height: 44px; border: 1px solid #35405a; border-radius: 9px; padding: 11px 13px; background: #0c1425; color: var(--text); }
input::placeholder { color: #7787a4; }
input[type="checkbox"] { width: 18px; min-height: 18px; flex-shrink: 0; accent-color: var(--blue-strong); }
input[type="search"] { appearance: none; }
input:disabled, select:disabled { opacity: .5; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(27px, 2.4vw, 36px); letter-spacing: -.045em; line-height: 1.18; margin-bottom: 8px; font-weight: 650; }
h2 { font-size: 17px; line-height: 1.4; margin-bottom: 3px; letter-spacing: -.02em; font-weight: 620; }
h3 { font-size: 14px; margin-bottom: 5px; font-weight: 620; }
p { margin-bottom: 10px; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.fine { font-size: 12px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-variant-numeric: tabular-nums; }
.positive-text { color: var(--green); }
.negative-text { color: var(--coral); }
.gradient-text { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 20px; background: var(--text); color: var(--bg); transform: translateY(-150%); border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 1px solid transparent; padding: 9px 14px; border-radius: 8px; font-weight: 550; font-size: 12px; text-decoration: none; transition: background .15s, border-color .15s; white-space: nowrap; }
.button.primary { background: var(--blue-strong); border-color: #5286ff; color: #fff; box-shadow: 0 2px 14px #2f5ddb1a; }
.button.primary:hover:not(:disabled) { background: #4c7ff5; }
.button.secondary { background: #17213a; border-color: #35415b; color: #dce3f2; }
.button.secondary:hover:not(:disabled) { background: #202e49; border-color: #61718d; }
.button.text { background: transparent; color: var(--muted); padding-left: 0; padding-right: 0; }
.button.text:hover:not(:disabled) { color: var(--text); }
.button.danger { color: var(--coral); }
.button.wide { width: 100%; }
.button.icon-button { padding: 7px; min-height: 38px; min-width: 38px; border-color: var(--border); color: var(--muted); background: #131c2f; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 600; white-space: nowrap; line-height: 1.4; letter-spacing: .025em; }
.badge.muted { color: #a4b0c8; background: #ffffff05; border-color: #39425a; }
.badge.blue { color: #a8c2ff; background: #4168c325; border-color: #4168c345; }
.badge.purple { color: #c4b6ff; background: #6d50bd25; border-color: #6d50bd45; }
.badge.good { color: #a1e6cd; background: #285d4d40; border-color: #47866e60; }
.badge.bad { color: #ffb7b0; background: #6a32343b; border-color: #9a55595c; }
.badge.warning { color: #edce9c; background: #6a50273b; border-color: #8e6e3d66; }
.callout { display: flex; gap: 13px; align-items: flex-start; padding: 15px 18px; border-radius: 10px; font-size: 13px; margin-bottom: 0; border: 1px solid; }
.callout p:last-child { margin-bottom: 0; }
.callout.error { background: #431f2e; color: #ffc0b8; border-color: #793646; }
.callout.success { background: #15392e; color: #a6e3c9; border-color: #2d5f4d; }
.callout.warning { background: #3b3020; color: #ebce9f; border-color: #6d5737; }
.callout.information { background: #16223d; color: #ccd9f8; border-color: #33486e; }
.callout.information p { color: #a4b4d4; margin-top: 5px; }
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 224px; flex: 0 0 224px; background: var(--sidebar); border-right: 1px solid var(--border-soft); padding: 32px 20px 22px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: inline-flex; width: 37px; height: 37px; flex-shrink: 0; align-items: center; justify-content: center; color: #c2d4ff; background: linear-gradient(145deg, #4774d4, #293762); border-radius: 11px; border: 1px solid #627aaa88; box-shadow: inset 0 1px 0 #ffffff15; }
.brand-logo .icon { width: 25px; height: 25px; }
.brand strong { font-size: 20px; letter-spacing: -.06em; font-weight: 650; display: block; line-height: 1.25; }
.brand-sub { font-size: 7px; color: #90a0bf; letter-spacing: .18em; font-weight: 600; display: block; margin-top: 3px; }
.sidebar-label { margin: 46px 10px 15px; color: #627493; font-size: 8px; font-weight: 650; letter-spacing: .15em; }
.navigation { display: grid; gap: 6px; }
.nav-link { text-align: left; width: 100%; color: var(--muted); min-height: 45px; padding: 11px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; }
.nav-link .icon { width: 18px; height: 18px; color: #8496b7; }
.nav-link:hover { background: #17223a; color: var(--text); }
.nav-link.selected { background: #1d2c4c; border-color: #334976; color: #bed0ff; box-shadow: inset 3px 0 #7d9fff; }
.nav-link.selected .icon { color: #b2c8ff; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.simulation-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 10px; border: 1px solid #273550; border-radius: 9px; background: #111c30; }
.simulation-note .icon { width: 17px; color: #889fc9; }
.simulation-note strong { font-size: 10px; color: #b9c8e1; display: block; }
.simulation-note p { color: #8292af; font-size: 9px; margin: 4px 0 0; }
.profile-line { display: flex; gap: 9px; align-items: center; margin-top: 25px; }
.profile-avatar { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #29314a; border: 1px solid #414b67; color: #d1d9e9; font-size: 11px; }
.profile-line strong, .profile-line span.fine { display: block; font-size: 9px; }
.profile-line .button { margin-left: auto; font-size: 9px; }
.main-column { width: calc(100% - 224px); margin-left: 224px; display: flex; flex-direction: column; min-width: 0; }
.topbar { min-height: 72px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 38px; }
.topbar-breadcrumb { color: #a5b1c7; font-size: 10px; letter-spacing: .04em; display: flex; align-items: center; gap: 12px; }
.topbar-breadcrumb span { color: #4e607f; }
.topbar-status { display: flex; gap: 15px; align-items: center; }
.main-content { width: 100%; max-width: 1500px; margin: 0 auto; padding: 34px 38px 45px; display: flex; flex-direction: column; gap: 18px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 6px; }
.page-heading .muted { font-size: 12px; margin: 0; }
.page-heading .eyebrow { font-size: 8px; letter-spacing: .19em; color: #7c8faa; margin-bottom: 12px; }
.page-heading h1:focus { outline: none; }
.page-stack { display: flex; flex-direction: column; gap: 22px; }
.hero-panel { border: 1px solid #35435d; background: radial-gradient(ellipse at 85% 30%, #263b62 0, transparent 49%), linear-gradient(115deg, #19233a, #111b2c 65%); border-radius: var(--radius); min-height: 264px; overflow: hidden; display: flex; position: relative; padding: 32px 34px; }
.hero-copy { width: 65%; position: relative; z-index: 1; }
.hero-copy .eyebrow { color: #b6c3df; font-size: 8px; margin-bottom: 16px; }
.hero-copy h2 { font-size: 32px; line-height: 1.16; letter-spacing: -.05em; margin-bottom: 14px; font-weight: 550; }
.hero-copy p:not(.eyebrow) { color: #a0afc9; font-size: 11px; max-width: 430px; line-height: 1.7; }
.hero-copy .button { margin-top: 9px; }
.hero-visual { position: absolute; right: -8px; top: 5px; width: 40%; height: 100%; display: flex; justify-content: center; align-items: center; }
.orbital-center { width: 110px; height: 110px; background: radial-gradient(circle at 30% 25%, #34548e, #101a2e 75%); border: 1px solid #718cc46e; border-radius: 33px; transform: rotate(-12deg); box-shadow: 0 0 80px #5d83da20, inset 0 1px 0 #bcd0ff36; display: flex; align-items: center; justify-content: center; }
.orbital-center .icon { width: 65px; height: 65px; color: #a5c4ff; transform: rotate(12deg); stroke-width: 1; }
.orbital-ring { position: absolute; width: 230px; height: 230px; border: 1px solid #7998dc27; border-radius: 50%; }
.ring-one { transform: rotate(-30deg) scaleX(1.05); }
.ring-two { width: 300px; height: 300px; transform: rotate(30deg) scaleX(.83); border-style: dashed; border-color: #8aa7e21a; }
.orbit-label { position: absolute; z-index: 2; font-size: 8px; font-weight: 600; letter-spacing: .11em; background: #14203a; border: 1px solid #405578; color: #b7c9ed; padding: 9px 12px; border-radius: 6px; box-shadow: 0 5px 20px #060d2255; }
.label-one { top: 19%; right: 17%; }.label-two { bottom: 21%; left: 8%; }.label-three { bottom: 9%; right: 9%; font-size: 7px; color: #859cbd; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 21px 20px; border: 1px solid var(--border); background: #11192b; border-radius: 12px; min-width: 0; }
.metric .eyebrow { font-size: 8px; letter-spacing: .105em; color: #9eacc5; margin-bottom: 12px; }
.metric-value { display: block; font-size: 25px; font-weight: 550; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-note { font-size: 9px; color: #7f90ad; line-height: 1.6; margin: 6px 0 0; }
.metric.positive .metric-value { color: var(--green); }.metric.negative .metric-value { color: var(--coral); }
.panel { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 23px; min-width: 0; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-heading h2 { font-size: 15px; }
.panel-heading .muted { font-size: 10px; margin: 4px 0 0; }
.networks-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.network-card { background: #0e1728; border: 1px solid #29344d; border-radius: 11px; padding: 15px 12px 7px; min-width: 0; }
.network-card-title { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 21px; }
.network-card h3 { font-size: 11px; font-weight: 600; margin: 1px 0 5px; white-space: nowrap; }
.network-card .badge { font-size: 7px; padding: 3px 5px; }
.network-mark { display: inline-flex; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 9px; align-items: center; justify-content: center; background: #27334a; font-size: 14px; font-weight: 600; color: #dce4f6; border: 1px solid #71809f30; }
.network-mark.small { width: 23px; height: 23px; font-size: 11px; border-radius: 7px; }
.network-mark.solana { background: #26233f; color: #a8e6d1; }
.network-mark.ethereum { background: #253043; color: #b9c8ef; font-size: 20px; }
.network-mark.base { background: #173a79; color: #97bbff; }
.network-mark.bsc { background: #38311e; color: #e6c467; }
.network-mark.robinhood { background: #283b22; color: #c1de97; }
.mini-details { margin: 0; display: grid; gap: 11px; }
.mini-details dt { font-size: 8px; color: #7e90b0; margin-bottom: 3px; }
.mini-details dd { margin: 0; font-size: 9px; color: #c4cee2; overflow-wrap: anywhere; }
.card-link { display: flex; justify-content: space-between; width: 100%; background: transparent; border: none; border-top: 1px solid #26334a; margin-top: 17px; padding: 12px 0 6px; color: #a7bce6; font-size: 8px; }
.card-link .icon { width: 13px; height: 13px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.comparison-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.comparison-intro p { font-size: 10px; line-height: 1.75; color: #90a1be; margin: 0; }
.comparison-intro h3 { font-size: 12px; margin-top: 13px; }
.engine-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #4c6c9c55; background: #24416a3d; color: #a0c4ff; flex-shrink: 0; }
.engine-icon.ai { background: #62408b35; border-color: #8b6db85a; color: #cbb2fb; }
.engine-icon .icon { width: 18px; height: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 19px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 10px; line-height: 1.7; color: #9fadc5; }
.check-list .icon { width: 16px; height: 16px; color: #88a7ce; }
.footer { margin-top: auto; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; gap: 20px; padding: 18px 38px; color: #687d9c; font-size: 9px; }
.footer span { text-align: right; }
.network-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.network-tab { display: flex; align-items: center; gap: 8px; padding: 10px 13px; min-height: 43px; background: #111a2e; border: 1px solid #2b3852; color: #a7b5cf; border-radius: 9px; font-size: 11px; }
.network-tab.selected { border-color: #6a8bc9; background: #1c2c4a; color: #d7e4ff; }
.network-tab:hover { border-color: #5e7396; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.segmented { display: flex; gap: 3px; border: 1px solid var(--border); padding: 4px; border-radius: 9px; background: #10182b; }
.button.segment { min-height: 32px; background: none; color: #8d9fbe; padding: 6px 13px; font-size: 11px; border-radius: 6px; }
.button.segment.active { background: #263b60; border-color: #37547e; color: #cedfff; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #111a2c; border: 1px solid #33405a; border-radius: 8px; min-width: 280px; width: 45%; color: #8195b3; }
.search-field input { background: none; border: none; min-height: 41px; padding-left: 0; font-size: 11px; }
.search-field .icon { width: 16px; }
.empty-state { min-height: 245px; border: 1px dashed #35415d; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; background: #0c15262b; }
.panel .empty-state { border-color: #2b3850; }
.empty-icon { width: 48px; height: 48px; border-radius: 13px; background: #1b2a45; color: #8097bd; display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.empty-state h3 { font-size: 14px; color: #c6d2e7; }
.empty-state p { color: #8d9fbb; max-width: 460px; font-size: 11px; line-height: 1.8; margin: 6px 0 0; }
.empty-state .button { margin-top: 19px; }
.loading { min-height: 160px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; }
.spinner { width: 17px; height: 17px; border-radius: 50%; border: 2px solid #3f5375; border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.panel .table-wrap { border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 11px; text-align: left; }
.data-table th { color: #869bbd; background: #111a2d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 550; padding: 15px; border-bottom: 1px solid var(--border); }
.data-table td { padding: 16px 15px; border-bottom: 1px solid #1f2c43; color: #bfcce3; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td.positive-text { color: var(--green); }.data-table td.negative-text { color: var(--coral); }
.data-table td.fine { font-size: 10px; }
.token-link { border: none; background: transparent; color: var(--text); display: flex; align-items: center; gap: 10px; padding: 0; text-align: left; min-height: 35px; }
.token-link strong, .token-link small { display: block; }
.token-link small.discovery-meta { max-width: 290px; white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
.token-link strong { font-size: 11px; }.token-link small { color: #7f93b4; font-size: 9px; margin-top: 3px; }
.token-avatar { flex: 0 0 33px; width: 33px; height: 33px; border-radius: 50%; background: #26344e; color: #c0d0ed; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engine-card { background: linear-gradient(145deg, #16223a, #101a2e 70%); border: 1px solid #354b70; border-radius: 17px; padding: 25px; }
.engine-card.ai { background: linear-gradient(145deg, #24213a, #141b2c 70%); border-color: #4a3c65; }
.engine-header { display: flex; gap: 12px; align-items: center; }
.engine-header h2 { font-size: 15px; margin: 0; }
.engine-header p { margin: 3px 0 0; font-size: 9px; }
.engine-header .badge { margin-left: auto; }
.balance { padding: 29px 0 24px; border-bottom: 1px solid #324058; }
.balance .eyebrow { display: block; margin-bottom: 8px; font-size: 8px; }
.balance strong { font-size: 38px; font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.engine-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 15px; margin: 24px 0; }
.engine-stats dt { font-size: 10px; color: #92a2c0; margin-bottom: 6px; }
.engine-stats dd { margin: 0; font-size: 15px; }
.api-budget-strip { background: #2b264335; border: 1px solid #64507c66; border-radius: 8px; padding: 12px; }
.api-budget-strip div { display: flex; justify-content: space-between; gap: 10px; }.api-budget-strip strong { color: #c8b5ed; }
.api-budget-strip p { font-size: 9px; margin: 5px 0 0; }
.engine-footer { margin: 18px 0 0; line-height: 1.7; font-size: 9px; }
.inline-label { display: flex; align-items: center; gap: 15px; font-size: 11px; color: var(--muted); }
.inline-label select { min-width: 160px; font-size: 11px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 6px; }
.inline-form .form-field { min-width: 120px; }
.inline-label input[type=checkbox] { width: 16px; height: 16px; }
.export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.journal-list { display: grid; gap: 0; }
.journal-row { display: flex; align-items: flex-start; gap: 16px; padding: 19px 2px; border-bottom: 1px solid var(--border); }
.journal-row:last-child { border-bottom: none; }
.journal-main { flex: 1; min-width: 0; }
.journal-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 9px; }
.journal-title strong { font-size: 12px; }
.journal-main p { font-size: 11px; margin: 4px 0; line-height: 1.7; overflow-wrap: anywhere; }
.journal-row time { flex-shrink: 0; font-size: 10px; }
.action-dot { width: 9px; height: 9px; background: #687a9b; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.action-dot.buy { background: var(--blue); }.action-dot.sell { background: var(--coral); }
.action-dot.refuse { background: #c69f64; }
.learning-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.learning-metrics .metric-value { font-size: 23px; }
.learning-report-challenger { overflow-wrap: anywhere; }
.collector-panel { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.collector-panel p { margin: 8px 0 0; font-size: 11px; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credential-card { border: 1px solid #303c54; border-radius: 11px; background: #0e1728; padding: 18px; min-width: 0; }
.credential-title { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.credential-title h3 { margin: 0; font-size: 12px; }.credential-title .badge { margin-left: auto; font-size: 8px; }
.credential-secondary { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; }
.credential-secondary .button { font-size: 10px; min-height: 33px; }
.credential-card .fine { font-size: 10px; }
.credential-card .button { font-size: 10px; min-height: 37px; padding: 8px 12px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; min-width: 0; }
.form-field label { color: #b3c1d9; font-size: 11px; }
.form-field input { font-size: 12px; }.form-field small { font-size: 10px; line-height: 1.6; }
.quota-info { margin-top: 12px; color: #a0b4d8; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; margin: 7px 0 23px; color: #b1bfd5; font-size: 11px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.budget-list { display: grid; gap: 0; }
.budget-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.budget-row:last-child { border: none; padding-bottom: 0; }
.budget-row:first-child { padding-top: 0; }
.budget-row > div:first-child { display: flex; gap: 9px; align-items: center; }.budget-row strong { font-size: 11px; }
.budget-row > div:last-child { text-align: right; }.budget-row span.fine { display: block; font-size: 9px; margin-top: 3px; }
.capital-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 16px; align-items: start; }
.capital-form .button { margin-top: 23px; }.capital-form select { font-size: 11px; }
.token-dialog { display: block; position: relative; inset: auto; width: min(660px, calc(100vw - 30px)); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid #465977; border-radius: 16px; background: #111b2e; color: var(--text); padding: 27px; margin: auto; box-shadow: 0 35px 90px #0009; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; background: #030816cf; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); }
.token-dialog .panel-heading { margin-bottom: 13px; }.address { overflow-wrap: anywhere; font-size: 10px; color: #91a7ca; }
.token-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 23px 0; }.token-metrics .metric-value { font-size: 21px; }
.price-chart { display: block; width: 100%; height: auto; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), #2b3b56 25%); border-radius: 10px; margin-top: 20px; }
.chart-range { text-align: center; margin: 10px 0 20px; }.token-dialog > .fine:last-child { margin: 18px 0 0; line-height: 1.8; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr .8fr; gap: 12%; align-items: center; max-width: 1180px; margin: 0 auto; padding: 70px 60px; }
.login-intro .brand { margin-bottom: 58px; }.login-intro > .badge { font-size: 8px; letter-spacing: .12em; margin-bottom: 27px; }
.login-intro h1 { font-size: clamp(43px, 4.7vw, 68px); font-weight: 500; letter-spacing: -.065em; line-height: 1.06; margin-bottom: 26px; }
.login-lead { color: #91a3bf; font-size: 13px; line-height: 1.9; max-width: 410px; }.login-networks { display: flex; gap: 11px; margin: 27px 0 20px; }
.login-networks .network-mark { width: 35px; height: 35px; }.login-intro > .fine { font-size: 10px; }
.login-card { background: radial-gradient(ellipse at top right, #1a2b48, transparent 65%), #111a2c; border: 1px solid #354362; border-radius: 20px; padding: 38px; box-shadow: 0 25px 80px #04091450; }
.login-shield { width: 34px; height: 34px; margin-bottom: 30px; color: #a5bde7; stroke-width: 1.25; }
.login-card .eyebrow { font-size: 8px; margin-bottom: 12px; }.login-card h2 { font-size: 25px; font-weight: 550; letter-spacing: -.04em; margin-bottom: 13px; }
.login-card > p.muted { font-size: 11px; line-height: 1.8; margin-bottom: 27px; }.login-form { display: grid; gap: 10px; }
.login-form label { font-size: 11px; color: #bac7dd; }.login-form input { font-size: 12px; padding: 14px; margin-bottom: 8px; }
.login-form .button { min-height: 45px; }.login-card p.login-note { font-size: 9px; line-height: 1.8; margin: 25px 0 0; }
.login-card .callout { margin-bottom: 20px; font-size: 11px; }
.boot-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.boot-screen .loading { min-height: 100px; }.noscript { padding: 40px; text-align: center; }
@media (min-width: 1600px) { .networks-grid { gap: 17px; }.network-card { padding: 20px 17px 10px; }.network-card h3 { font-size: 13px; }.mini-details dt { font-size: 10px; }.mini-details dd { font-size: 11px; }.network-card .badge { font-size: 9px; } }
@media (max-width: 1200px) {
  .sidebar { width: 196px; flex-basis: 196px; padding-left: 15px; padding-right: 15px; }.main-column { width: calc(100% - 196px); margin-left: 196px; }
  .topbar { padding-left: 26px; padding-right: 26px; }.main-content { padding-left: 26px; padding-right: 26px; }.footer { padding-left: 26px; padding-right: 26px; }
  .networks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.network-card-title { margin-bottom: 16px; }.network-card h3 { font-size: 12px; }
  .network-card .badge { font-size: 8px; }.mini-details { grid-template-columns: 1fr; gap: 10px; }.mini-details dt { font-size: 9px; }.mini-details dd { font-size: 10px; }
  .metric { padding: 18px 14px; }.metric-value { font-size: 22px; }.metric-note { font-size: 9px; }.metric .eyebrow { font-size: 7px; }
  .capital-form { grid-template-columns: 1fr 1fr; }.capital-form .button { margin-top: 24px; }.hero-copy { width: 70%; }.hero-visual { opacity: .75; }
}
@media (max-width: 900px) {
  .sidebar { width: 78px; flex-basis: 78px; padding: 25px 13px; align-items: center; }.sidebar .brand > div { display: none; }.sidebar .brand-logo { width: 37px; }
  .sidebar-label { font-size: 0; margin-top: 30px; margin-bottom: 0; }.nav-link { justify-content: center; padding: 12px; }.nav-link span { display: none; }
  .navigation { width: 100%; gap: 10px; }.nav-link .icon { width: 20px; height: 20px; }.sidebar-bottom { width: 100%; }.simulation-note { padding: 10px; justify-content: center; }.simulation-note > div { display: none; }
  .profile-line { flex-direction: column; }.profile-line > div { display: none; }.profile-line .button { margin: 0; }.profile-avatar { display: none; }
  .main-column { width: calc(100% - 78px); margin-left: 78px; }.timestamp { display: none; }.two-columns { gap: 15px; }.panel { padding: 20px; }
  .settings-columns { grid-template-columns: 1fr; }.engine-card { padding: 20px; }.engine-header { flex-wrap: wrap; }.engine-header .badge { display: none; }
  .hero-copy h2 { font-size: 29px; }.hero-panel { padding: 27px; }.topbar-breadcrumb { font-size: 9px; }.topbar { min-height: 65px; }
}
@media (max-width: 650px) {
  :root { font-size: 14px; }.app-layout { display: block; }.sidebar { position: static; width: 100%; padding: 17px 17px 0; border-right: none; border-bottom: 1px solid var(--border); display: flex; align-items: stretch; }
  .sidebar .brand > div { display: block; }.sidebar .brand strong { font-size: 19px; }.sidebar .brand-sub { font-size: 6px; }.sidebar .brand-logo { width: 33px; height: 33px; border-radius: 9px; }
  .sidebar-label { display: none; }.navigation { display: flex; width: 100%; overflow-x: auto; gap: 4px; margin: 19px 0 0; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #32486a transparent; }
  .nav-link { flex: 0 0 auto; min-height: 39px; padding: 8px 10px; gap: 7px; width: auto; white-space: nowrap; border-radius: 7px; }
  .nav-link span { display: inline; font-size: 10px; }.nav-link .icon { width: 15px; height: 15px; }.nav-link.selected { box-shadow: none; }
  .sidebar-bottom { padding: 0; position: absolute; top: 15px; right: 18px; width: auto; margin: 0; }.simulation-note { display: none; }.profile-line { margin: 0; }.profile-line .button { min-height: 37px; font-size: 11px; }
  .main-column { width: 100%; margin: 0; }.main-content { padding: 24px 17px 30px; gap: 15px; }.topbar { min-height: 52px; padding: 8px 17px; }.topbar-breadcrumb { font-size: 8px; gap: 8px; }.topbar-status { gap: 8px; }.topbar .icon-button { min-height: 32px; min-width: 32px; padding: 5px; }.topbar .icon { width: 17px; }
  .page-heading { align-items: flex-start; gap: 8px; }.page-heading > .badge { font-size: 7px; margin-top: 28px; padding: 4px 5px; }.page-heading h1 { font-size: 29px; }.page-heading .muted { font-size: 10px; line-height: 1.8; max-width: 290px; }.page-heading .eyebrow { font-size: 7px; margin-bottom: 9px; }.page-stack { gap: 16px; }
  .hero-panel { min-height: 279px; padding: 24px; border-radius: 15px; }.hero-copy { width: 100%; }.hero-copy h2 { font-size: 30px; }.hero-copy p:not(.eyebrow) { font-size: 10px; max-width: 250px; position: relative; z-index: 2; }.hero-copy .eyebrow { font-size: 7px; }.hero-visual { right: -78px; top: 13px; width: 80%; opacity: .19; }.orbit-label { display: none; }.orbital-center { width: 95px; height: 95px; }
  .hero-copy .button { min-height: 40px; font-size: 10px; }.metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric { padding: 16px 13px; border-radius: 10px; }.metric-value { font-size: 23px; }.metric .eyebrow { font-size: 7px; letter-spacing: .07em; margin-bottom: 8px; }.metric-note { font-size: 8px; line-height: 1.65; margin-top: 6px; }
  .panel { padding: 18px 15px; border-radius: 14px; }.panel-heading { gap: 8px; margin-bottom: 18px; }.panel-heading h2 { font-size: 14px; }.panel-heading .muted { font-size: 9px; line-height: 1.8; }.panel-heading > .badge { font-size: 7px; padding: 4px 5px; }
  .networks-grid { grid-template-columns: 1fr; gap: 10px; }.network-card { padding: 15px; display: grid; grid-template-columns: 1fr; }.network-card-title { margin-bottom: 15px; gap: 10px; }.network-card-title > div { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }.network-card h3 { margin: 0; font-size: 12px; }.network-card .badge { font-size: 8px; }.network-mark { width: 29px; height: 29px; }.mini-details { grid-template-columns: 1fr 1fr; gap: 12px; }.mini-details div:last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }.mini-details dt { font-size: 9px; }.mini-details dd { font-size: 10px; }.card-link { margin-top: 12px; padding: 11px 0 0; font-size: 9px; }
  .two-columns { grid-template-columns: 1fr; gap: 16px; }.comparison-intro { gap: 20px; }.comparison-intro h3 { font-size: 11px; }.comparison-intro p { font-size: 9px; }.check-list { gap: 16px; }.check-list li { font-size: 10px; }.footer { padding: 17px; font-size: 8px; gap: 18px; }.footer span { max-width: 230px; }
  .network-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; scrollbar-width: thin; scrollbar-color: #32486a transparent; }.network-tab { white-space: nowrap; flex: 0 0 auto; padding: 8px 10px; font-size: 10px; min-height: 41px; }.network-mark.small { width: 22px; height: 22px; }
  .toolbar { flex-wrap: wrap; gap: 13px; }.segmented { flex: 1; }.button.segment { flex: 1; padding: 7px 12px; font-size: 10px; }.search-field { width: 100%; min-width: 0; }.search-field input { font-size: 11px; }.empty-state { min-height: 240px; padding: 25px 18px; }.empty-state h3 { font-size: 13px; }.empty-state p { font-size: 10px; }.empty-state .button { font-size: 10px; }
  .data-table th { font-size: 8px; padding: 13px; }.data-table td { padding: 14px 13px; font-size: 10px; }.engine-grid { grid-template-columns: 1fr; gap: 15px; }.engine-card { padding: 21px; border-radius: 14px; }.engine-header h2 { font-size: 15px; }.engine-header .badge { display: inline-flex; font-size: 8px; }.balance { padding-top: 26px; }.balance strong { font-size: 36px; }.engine-stats dt { font-size: 9px; }.engine-stats dd { font-size: 14px; }.engine-footer { font-size: 9px; }
  .inline-label { width: 100%; justify-content: space-between; font-size: 10px; }.inline-label select { width: 70%; min-height: 41px; }.export-actions { width: 100%; }.export-actions .button { flex: 1; font-size: 10px; }.journal-row { flex-wrap: wrap; gap: 10px; }.journal-row time { padding-left: 19px; margin-top: -4px; }.journal-main { flex: 1 1 calc(100% - 40px); }.journal-title { gap: 7px; }.journal-main p { font-size: 10px; }.journal-title strong { font-size: 11px; }
  .learning-metrics { grid-template-columns: 1fr; }.learning-metrics .metric { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }.learning-metrics .metric .eyebrow { margin: 0; }.learning-metrics .metric-value { text-align: right; font-size: 20px; }.learning-metrics .metric-note { grid-column: 1/-1; }.callout { font-size: 11px; padding: 14px; }.callout .icon { width: 18px; }.callout.information p { font-size: 10px; line-height: 1.8; }
  .collector-panel { display: block; }.collector-panel .button-row { margin-top: 17px; }.collector-panel .button { flex: 1; font-size: 10px; }.credential-grid { grid-template-columns: 1fr; }.credential-card { padding: 16px; }.credential-title h3 { font-size: 12px; }.credential-card .form-field label { font-size: 10px; }.credential-card input { font-size: 11px; }.form-grid { grid-template-columns: 1fr; gap: 0; }.form-field { margin-bottom: 17px; }.form-field label { font-size: 10px; line-height: 1.7; }.checkbox-label { font-size: 10px; align-items: flex-start; line-height: 1.7; }.form-actions { flex-wrap: wrap; gap: 16px; }.form-actions .button { width: 100%; font-size: 10px; }.capital-form { grid-template-columns: 1fr 1fr; gap: 0 13px; }.capital-form .form-field:nth-child(3) { grid-column: 1/-1; }.capital-form .button { grid-column: 1/-1; margin-top: 0; }.budget-row strong { font-size: 10px; }
  .modal-backdrop { padding: 15px; }.token-dialog { width: 100%; max-height: calc(100dvh - 30px); padding: 22px 17px; }.token-metrics { gap: 9px; }.token-metrics .metric { padding: 13px 10px; }.token-metrics .metric-value { font-size: 17px; }.token-dialog .panel-heading .button { font-size: 10px; }.token-dialog .empty-state { min-height: 195px; }.token-dialog .badge { font-size: 8px; }
  .login-layout { display: flex; flex-direction: column; padding: 34px 22px; gap: 30px; min-height: 100dvh; }.login-intro { width: 100%; }.login-intro .brand { margin-bottom: 35px; }.login-intro > .badge { margin-bottom: 20px; font-size: 7px; }.login-intro h1 { font-size: 46px; margin-bottom: 20px; }.login-lead { font-size: 11px; line-height: 1.85; max-width: 340px; }.login-networks { margin: 20px 0 15px; gap: 10px; }.login-intro > .fine { font-size: 9px; }.login-card { padding: 26px; width: 100%; border-radius: 17px; }.login-shield { margin-bottom: 20px; width: 28px; }.login-card h2 { font-size: 24px; }.login-card > p.muted { font-size: 10px; margin-bottom: 24px; }.login-form label { font-size: 10px; }.login-form input { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.policy-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 6px; }
.policy-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.capital-summary { display: grid; gap: 8px; }
.data-table td.fine { min-width: 180px; }
.journal-main > span.fine { display: block; margin-top: 4px; }
.offline-page { display: grid; gap: 14px; place-content: center; min-height: 100vh; padding: 24px; text-align: center; }
.button.primary:disabled { opacity: .4; box-shadow: none; cursor: not-allowed; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; } .inline-form input { flex: 1 1 200px; width: auto; }
.inline-label.check-label { justify-content: flex-start; gap: 8px; width: auto; }

.control-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: start; }
.control-row:last-child { border: none; }
.control-name { display: flex; gap: 9px; align-items: center; }.control-name strong { font-size: 11px; }
.control-body span.fine { display: block; font-size: 10px; margin-top: 3px; }
.control-body .inline-form { flex-direction: row; }
.control-body .inline-form .form-field { flex: none; width: 160px; margin-bottom: 0; }
.control-body .inline-form .form-field input { flex: 0 0 auto; width: 100%; min-height: 36px; height: 36px; }
@media (max-width: 640px) { .control-row { grid-template-columns: 1fr; } .control-body .inline-form .form-field { width: 130px; } }
