/* Desktop interface: platform typography, continuous surfaces and quiet controls.
   One shared layer for Academy, the directory and X Check. */
:root, .page-coins {
  --bg: #ffffff;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #f6f7f8;
  --surface-hover: #f3f4f6;
  --toolbar: #fbfbfc;
  --ink: #222326;
  --muted: #65676d;
  --subtle: #707278;
  --line: #e5e7eb;
  --border-strong: #b9bac3;
  --accent: #315eac;
  --accent-solid: #315eac;
  --accent-hover: #244b8f;
  --accent-on: #ffffff;
  --accent-soft: #eef3fb;
  --focus: #4c82c7;
  --segment-track: #e9e9ed;
  --segment-selected: #ffffff;
  --segment-shadow: 0 1px 3px #1717211a, 0 0 0 1px #17172105;
  --match-bg: #eef3fb;
  --match-hover: #e1eaf6;
  --match-border: #9db4d1;
  --match-accent: #315f98;
  --dialog-shadow: 0 24px 90px #15152124;
}
@media (prefers-color-scheme: dark) {
  :root, .page-coins {
    --bg: #131416;
    --paper: #17181b;
    --surface: #17181b;
    --surface-raised: #1b1c20;
    --surface-soft: #1b1c20;
    --surface-hover: #202126;
    --toolbar: #101113;
    --ink: #eeeff1;
    --muted: #a2a5ae;
    --subtle: #9497a0;
    --line: #2a2c32;
    --border-strong: #50545e;
    --accent: #99b9f5;
    --accent-solid: #537fc8;
    --accent-hover: #416baa;
    --accent-on: #ffffff;
    --accent-soft: #1e2a3e;
    --focus: #99b9f5;
    --segment-track: #1b1c20;
    --segment-selected: #282a30;
    --segment-shadow: 0 1px 3px #00000024, 0 0 0 1px #ffffff08;
    --match-bg: #29364a;
    --match-hover: #30415a;
    --match-border: #617a9a;
    --match-accent: #b7d0f1;
    --dialog-shadow: 0 24px 90px #00000060;
  }
}
body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body { font-size: 14px; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, .btn, a { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
button:active, .btn:active, .track-card:active, .coin-card:active { transform: none; }
:is(button, a, input, select, summary):focus-visible,
:is(.track-card, .back-link, .course-row, .check-controls button):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.course-row:focus-visible { outline-offset: -3px; }
main:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
input, select, textarea { border-radius: 6px; }
/* Quiet application chrome: text tabs and a single active rule. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--toolbar); border-bottom: 1px solid var(--line); }
.site-header-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; max-width: 1240px; height: 64px; min-height: 64px; padding: 0 40px; gap: 42px; }
.site-header .brand { justify-self: start; font-size: 16px; font-weight: 600; letter-spacing: -.35px; gap: 9px; }
.site-header .brand img { width: 24px; height: 24px; }
.site-header #navigation { order: initial; width: auto; align-self: stretch; justify-self: start; display: flex; align-items: stretch; gap: 28px; padding: 0; border-radius: 0; background: transparent; min-width: 0; }
.site-header .nav-link { position: relative; display: flex; flex: 0 0 auto; min-width: 0; align-items: center; justify-content: center; padding: 0 2px; min-height: 44px; margin: 0; border-radius: 0; color: var(--muted); font-size: 13px; font-weight: 450; white-space: nowrap; }
.site-header .nav-link:hover { color: var(--ink); background: transparent; }
.site-header .nav-link.active { color: var(--ink); background: transparent; box-shadow: none; font-weight: 600; }
.site-header .nav-link.active::after { content: ""; display: block; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; border-radius: 1px; background: var(--ink); }
.site-tools { justify-self: end; margin-left: 0; }
.workspace { min-height: calc(100dvh - 64px); }
main, .page-coins #main { width: 100%; max-width: 1240px; padding: 42px 40px 64px; margin: 0 auto; }
.footer { width: calc(100% - 80px); max-width: 1160px; padding: 20px 0; font-size: 11px; border-top-color: var(--line); }
.academy-heading, .track-heading, .directory-heading, .xcheck-heading { margin: 0 0 30px; }
.academy-heading h1, .track-heading h1, .directory-heading h1, .xcheck h1 { font-size: 30px; font-weight: 600; line-height: 1.3; letter-spacing: -.65px; margin: 0; }
.academy-heading p, .track-heading p, .xcheck-heading > p:last-child { max-width: 660px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.academy-heading .eyebrow, .track-heading .eyebrow, .xcheck-heading .xcheck-kicker { display: none; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -8px 0 24px; padding: 10px 16px 10px 12px; border: 1px solid var(--match-border); border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 550; line-height: 1.4; text-decoration: none; }
.back-link svg { width: 20px; height: 20px; flex: none; }
.back-link:hover { color: var(--accent); background: var(--match-hover); border-color: var(--accent); text-decoration: none; }
.back-link:active { background: var(--match-bg); }

/* Course families are two open columns; only their content creates the hierarchy. */
.academy-tracks { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track-card, .track-trading { min-height: 290px; padding: 28px 30px 28px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.track-card + .track-card { padding-left: 30px; padding-right: 0; border-left: 1px solid var(--line); }
.track-card:hover, .track-trading:hover { transform: none; box-shadow: none; background: transparent; border-color: var(--line); }
.track-top { margin: 0 0 24px; }
.track-icon, .track-trading .track-icon { width: 30px; height: 30px; color: var(--muted); background: transparent; }
.track-icon svg { width: 25px; height: 25px; stroke-width: 1.45; }
.track-count { font-size: 12px; color: var(--muted); }
.track-card h2 { margin-bottom: 12px; font-size: 23px; font-weight: 550; letter-spacing: -.5px; }
.track-card > p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.track-topics { gap: 7px 16px; font-size: 12px; color: var(--muted); margin-bottom: 26px; }
.track-topics > span::before { display: none; }
.track-bottom, .track-trading .track-bottom { padding-top: 0; border: 0; font-size: 12px; color: var(--muted); }
.track-action { gap: 9px; font-size: 13px; font-weight: 500; color: var(--accent); }
.track-card:hover .track-action { text-decoration: underline; text-underline-offset: 4px; }
.track-progress { padding-top: 6px; color: var(--muted); font-size: 12px; }
.course-search { padding: 0 0 22px; gap: 12px 24px; }
.course-search .search-field { max-width: 320px; }
.search-field input, .asset-search input { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px 9px 36px; color: var(--ink); font-size: 13px; background: var(--surface); box-shadow: none; }
.search-field input { height: 40px; }
.search-field svg, .asset-search svg { width: 16px; height: 16px; left: 12px; top: 12px; }
.course-search small { font-size: 12px; }
.course-group { margin-top: 30px; }
.course-group-heading { margin: 0 0 8px; gap: 10px; }
.course-group-heading h2 { font-size: 14px; font-weight: 600; }
.course-group-heading .group-number { font-size: 11px; color: var(--muted); letter-spacing: 0; }
.course-list { border: 0; background: transparent; border-radius: 0; }
.course-row { padding: 19px 8px; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 16px; border-bottom: 1px solid var(--line); }
.course-row:hover { background: var(--surface-hover); }
.course-index { color: var(--subtle); font-size: 12px; }
.course-copy strong { font-size: 15px; font-weight: 500; line-height: 1.6; }
.course-copy > span { margin-top: 4px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.course-meta { font-size: 12px; }
.course-state { font-size: 12px; }

/* Directory: quiet filters and stable two-column reading alignment. */
.directory-heading { align-items: center; gap: 24px; }
.asset-search { width: 290px; }
.asset-search input { height: 38px; font-size: 13px; }
.asset-filters, html[lang="en"] .asset-filters { gap: 4px; padding: 0 0 18px; border-bottom-color: var(--line); }
.asset-filters button { min-height: 34px; border-radius: 6px; padding: 7px 12px; border: 0; font-weight: 400; font-size: 12px; }
.asset-filters button:last-child { margin-left: 0; }
.asset-filters button:hover { background: var(--surface-hover); }
.asset-filters button[aria-pressed="true"] { background: var(--segment-track); color: var(--ink); font-weight: 550; }
.asset-filters button[aria-pressed="true"]::after { display: none; }
.asset-results-heading { margin: 22px 0 0; }
.asset-results-heading h2 { font-size: 12px; font-weight: 500; }
#coin-results .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
#coin-results .coin-card { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 14px; min-height: 154px; padding: 25px 0; border-radius: 0; box-shadow: none; background: transparent; }
#coin-results .coin-card:hover { background: transparent; transform: none; box-shadow: none; }
.asset-mark.coin-avatar { width: 36px; height: 36px; }
.asset-title { gap: 5px 8px; margin-bottom: 8px; }
#coin-results .coin-card h2 { font-size: 16px; font-weight: 550; }
.coin-name { font-size: 12px; }
#coin-results .coin-card .coin-lead { font-size: 13px; line-height: 1.85; margin: 0; }
.asset-open { width: 26px; height: 34px; }
.asset-open::after { border-radius: 6px; }
.coin-card:hover .asset-title { color: var(--accent); }

/* X Check: compact search, prominent results, supporting diagnostics on demand. */
.xcheck { max-width: 920px; line-height: 1.7; }
.xcheck-search-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
.xcheck-search-form { grid-template-columns: minmax(0, 1fr) minmax(140px, 190px) auto; gap: 12px; }
.xcheck-search-form label { font-size: 12px; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
.xcheck-search-form input, .xcheck-search-form select { height: 42px; padding: 0 14px; background: var(--surface); border-color: var(--line); border-radius: 7px; font-size: 14px; }
.xcheck-submit { height: 42px; padding: 0 20px; gap: 12px; border-radius: 7px; border-color: transparent; background: var(--ink); color: var(--bg); font-size: 13px !important; font-weight: 550 !important; }
.xcheck-submit:hover { background: color-mix(in srgb, var(--ink) 85%, var(--bg)); }
.xcheck-panel-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.xcheck #xcheck-search-help { margin: 0; max-width: 480px; font-size: 12px; }
.xcheck-shortcuts { margin: 0; gap: 3px; font-size: 11px; }
.xcheck-shortcuts > span { margin-right: 7px; }
.xcheck-shortcuts button { border: 0; min-height: 30px; padding: 4px 9px; font-size: 12px; border-radius: 5px; background: transparent; color: var(--muted); }
.xcheck-shortcuts button:hover { background: var(--surface-soft); color: var(--ink); }
.xcheck-network-coverage { margin-top: 12px; color: var(--muted); font-size: 12px; }
.xcheck-network-coverage > summary { width: fit-content; padding: 4px 0; cursor: pointer; }
#xcheck-network-note { font-size: 12px; margin-top: 10px; }
.xcheck-status { margin-top: 22px; font-size: 12px; min-height: 0; }
.xcheck-status:empty { display: none; }
.xcheck:has(.xcheck-search-results, .xcheck-report) .xcheck-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#xcheck-output { margin-top: 10px; }
.xcheck-empty { display: flex; flex-direction: column; align-items: center; padding: 56px 24px; border: 0; }
.xcheck-empty-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; color: var(--subtle); }
.xcheck-empty-icon svg { width: 26px; height: 26px; }
.xcheck-empty > p { max-width: 450px; font-size: 13px; line-height: 1.8; }
.xcheck-search-results > header { margin: 24px 0 16px; }
.xcheck h2 { font-size: 20px; line-height: 1.5; font-weight: 550; letter-spacing: -.3px; }
.xcheck .xcheck-note { font-size: 12px; line-height: 1.8; }
.xcheck-search-results > header p { margin-top: 6px; }
.xcheck-source-status { font-size: 12px; color: var(--muted); margin: 12px 0 !important; }
.xcheck-candidate-list { border: 0; }
.xcheck-candidate-list > li { border: 0; }
.xcheck-candidate { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: start; gap: 14px; padding: 19px 16px; border-radius: 7px; border: 1px solid transparent; background: transparent; }
.xcheck-candidate-list > li + li { border-top: 1px solid var(--line); }
.xcheck-candidate-list > li:has(.xcheck-candidate-highlight) + li { border-top: 0; }
.xcheck-candidate:hover { background: var(--surface-hover); }
.xcheck-candidate-highlight { --ink: inherit; --muted: inherit; --match-bg: inherit; --match-hover: inherit; --match-border: inherit; --match-accent: inherit; color: var(--ink); background: var(--match-bg); border-color: var(--match-border); box-shadow: none; border-radius: 8px; margin: 0 0 5px; }
.xcheck-candidate-highlight:hover { background: var(--match-hover); }
.xcheck-candidate-highlight .xcheck-match-label { color: var(--match-accent); }
.xcheck-asset-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; color: var(--subtle); flex: none; }
.xcheck-asset-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.xcheck-asset-icon svg { width: 28px; height: 28px; stroke-width: 1.3; }
.xcheck-asset-name { font-size: 15px; font-weight: 550; line-height: 1.5; }
.xcheck-asset-name small { font-size: 12px; }
.xcheck-asset-meta { font-size: 12px; margin-top: 4px; }
.xcheck-address, .xcheck-no-address { font-size: 12px; margin-top: 5px; line-height: 1.6; color: var(--muted); }
.xcheck-match-label { font-size: 11px; font-weight: 550; margin-bottom: 7px; }
.xcheck-match-reason { margin-top: 8px; font-size: 12px; line-height: 1.7; }
.xcheck-candidate-arrow { margin-top: 8px; font-size: 17px; color: var(--muted); }
.xcheck-candidate-copy { max-width: none; }
.xcheck-other-matches { margin-top: 20px; }
.xcheck-other-matches > summary { cursor: pointer; font-size: 14px; color: var(--muted); padding: 12px 0; }
.xcheck-other-matches > summary span { margin-left: 8px; font-variant-numeric: tabular-nums; }
.xcheck-other-matches > p { margin: 0 0 12px; }
.xcheck-shared-context li strong { color: var(--ink); font-weight: 600; }
/* One asset in search; network addresses belong to its overview. */
.xcheck-back { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 24px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.xcheck-back:hover { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.xcheck-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.xcheck-overview-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.xcheck .xcheck-overview-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.5px; }
.xcheck-overview-heading .xcheck-kicker { margin: 0 0 3px; }
.xcheck-shared-context { max-width: 780px; margin-bottom: 30px; }
.xcheck .xcheck-shared-context h3 { margin: 20px 0 8px; font-size: 16px; }
.xcheck-shared-context p, .xcheck-shared-context li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.xcheck-shared-context ul { padding-left: 20px; margin: 8px 0 12px; }
.xcheck-shared-context li + li { margin-top: 7px; }
.xcheck-network-selection { padding-top: 24px; border-top: 1px solid var(--line); }
.xcheck .xcheck-network-selection h3 { font-size: 17px; margin-bottom: 8px; }
.xcheck-network-selection > p { margin-bottom: 18px; }
.xcheck-official-networks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.xcheck-official-networks .xcheck-network-candidate { grid-template-columns: minmax(0, 1fr) 16px; height: 100%; padding: 12px; border: 1px solid var(--match-border); background: var(--bg); border-radius: 6px; gap: 10px; }
.xcheck-network-candidate:hover { border-color: var(--match-accent); background: var(--match-hover); }
.xcheck-network-name { font-size: 13px; font-weight: 600; }
.xcheck-network-candidate .xcheck-address { font-size: 11px; overflow-wrap: anywhere; }
.xcheck .xcheck-official-source { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.xcheck-verdict:has(.xcheck-verdict-explanation) { flex-wrap: wrap; row-gap: 16px; }
.xcheck-verdict-explanation { flex-basis: 100%; min-width: 0; }
.xcheck .xcheck-verdict-explanation p { color: var(--muted); margin-top: 6px; max-width: 760px; font-size: 13px; line-height: 1.8; }
.xcheck-trigger-list { display: block; padding-left: 21px; margin: 12px 0 0; font-size: 15px; line-height: 1.7; }
.xcheck-trigger-list li { padding-left: 3px; overflow-wrap: anywhere; }
.xcheck-trigger-list li + li { margin-top: 16px; }
.xcheck-trigger-list strong { font-weight: 650; }
.xcheck-reason-detail, .xcheck-reason-networks { display: block; }
.xcheck-reason-detail { margin-top: 3px; color: var(--ink); }
.xcheck-reason-networks { margin-top: 5px; color: var(--muted); font-size: 12px; }
.xcheck-risk-reasons { --reason-accent: var(--warning); padding: 18px 22px; border-left: 3px solid var(--reason-accent); background: color-mix(in srgb, var(--reason-accent) 7%, var(--surface)); }
.xcheck-verdict[data-risk="red"] .xcheck-risk-reasons { --reason-accent: var(--red); }
.xcheck .xcheck-risk-reasons h4 { color: var(--reason-accent); font-size: 15px; font-weight: 650; }
.xcheck-risk-reasons li::marker { color: var(--reason-accent); }
.xcheck .xcheck-risk-reasons .xcheck-reason-context { max-width: none; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .xcheck-risk-reasons { margin-top: 16px; padding: 15px 16px; }
}
.xcheck-asset-context { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--match-border); background: var(--surface); }
.xcheck .xcheck-asset-context p { margin-top: 7px; font-size: 13px; line-height: 1.85; }
.xcheck .xcheck-asset-context .xcheck-context-scope { color: var(--muted); }
.xcheck .xcheck-asset-context .xcheck-context-sources { font-size: 11px; color: var(--muted); }
.xcheck .xcheck-refresh-notice { margin: 14px 0; padding: 10px 14px; border-left: 2px solid var(--match-border); background: var(--surface); color: var(--muted); font-size: 13px; line-height: 1.75; }
.xcheck-incomplete-count { color: var(--ink); }
@media (max-width: 640px) {
  .xcheck-official-networks { grid-template-columns: minmax(0, 1fr); }
  .xcheck-official-networks .xcheck-network-candidate { grid-template-columns: minmax(0, 1fr) 16px; padding: 12px; }
}
.xcheck-query-notes { margin-top: 22px; border-top: 1px solid var(--line); }
.xcheck .xcheck-notices { font-size: 12px; line-height: 1.85; }
.xcheck-report { margin-top: 24px; padding-top: 24px; }
.xcheck-report-header { gap: 20px; }
.xcheck-report-header .xcheck-kicker { font-size: 11px; letter-spacing: 0; }
.xcheck-report-header h2 { font-size: 30px; font-weight: 600; letter-spacing: -.7px; }
.xcheck-report-header .xcheck-asset-icon { width: 40px; height: 40px; }
.xcheck-report-header .xcheck-asset-icon img { width: 38px; height: 38px; }
.xcheck-plain-button { min-height: 36px; padding: 7px 12px; border-radius: 6px; border-color: var(--line); font-size: 12px !important; background: var(--surface); }
.xcheck-verdict { background: transparent; margin-top: 22px; padding: 20px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; gap: 20px; }
.xcheck-lights { gap: 9px; padding: 11px 14px; background: var(--surface-soft); border-color: var(--line); }
.xcheck-light { width: 20px; height: 20px; }
.xcheck .xcheck-risk-label { font-size: 23px; font-weight: 550; letter-spacing: -.35px; }
.xcheck-usage { margin: 0 0 24px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xcheck-usage-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13px; }
.xcheck-usage-top strong { font-weight: 600; color: var(--ink); }
.xcheck-usage-top > span { color: var(--muted); }
.xcheck-usage-rules { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.xcheck-usage-rules summary { width: fit-content; cursor: pointer; }
.xcheck-usage-rules ul { padding-left: 18px; margin-top: 12px; }
.xcheck-usage-rules li + li { margin-top: 6px; }
.xcheck-quota-notice { padding: 32px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.xcheck .xcheck-quota-notice h2 { margin: 10px 0 16px; font-size: 25px; line-height: 1.4; }
.xcheck .xcheck-quota-notice p { max-width: 650px; font-size: 14px; line-height: 1.8; }
.xcheck .xcheck-quota-price { margin: 14px 0; color: var(--ink); }
.xcheck-quota-price strong { font-size: 24px; font-weight: 600; }
.xcheck-quota-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.xcheck-quota-actions > a { color: var(--ink); font-size: 14px; }
@media (max-width: 640px) { .xcheck-quota-notice { padding: 22px 18px; } }
.xcheck-scope-results { margin-top: 26px; }
.xcheck-scope-results ul { gap: 0 32px; }
.xcheck-scope-name { font-size: 13px; }
.xcheck-scope-state, .xcheck-scope-count { font-size: 12px; }
.xcheck-findings, .xcheck-actions, .xcheck-limitations { margin-top: 28px; }
.xcheck h3 { font-size: 15px; font-weight: 550; }
.xcheck h4 { font-size: 14px; font-weight: 550; }
.xcheck-finding { border-radius: 6px; }
.xcheck-detail > summary { padding-top: 16px; padding-bottom: 16px; font-size: 12px; }

/* Reading surfaces remain opaque and keep illustrations beside their text. */
dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--dialog-shadow); }
.lesson-dialog { border-radius: 12px; }
.dialog-tools { background: var(--surface); }
.dialog-tools .dialog-close { width: 36px; height: 36px; color: var(--muted); }
.dialog-tools .dialog-close:hover { color: var(--ink); background: var(--surface-hover); }
.lesson-intro .dialog-title { font-size: 27px; font-weight: 600; letter-spacing: -.4px; }
.lesson-intro .dialog-summary { font-size: 15px; }
.board-heading h3, .visual-copy h3 { font-size: 18px; font-weight: 550; }
.board-notes p, .visual-copy p, .section-prose p { font-size: 15px; line-height: 1.95; }
.board-notes h4 { font-size: 15px; }
.note-number { color: var(--muted); background: var(--surface-soft); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.board-viewport, .lesson-figure { border-radius: 8px; }
.lesson-dialog .example-box { border-radius: 8px; padding: 22px 24px; }
.example-steps { font-size: 15px; line-height: 1.95; }
.quiz-option { border-radius: 6px; min-height: 42px; }
.coin-dialog { max-width: 840px; border-radius: 12px; }
.coin-detail-header { padding-top: 26px; }
.coin-detail-identity .asset-mark { width: 50px; height: 50px; }
#coin-title { font-size: 26px; font-weight: 550; }
.coin-detail-section p, .coin-example p, .coin-questions p, .coin-risk-section .risk-list { font-size: 15px; line-height: 1.9; }
.coin-example { border: 0; border-radius: 8px; background: var(--surface-soft); }
.coin-detail-section h3, .coin-example h3, .coin-risk-section > h3 { font-size: 18px; font-weight: 550; }
.btn { min-height: 36px; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; box-shadow: none; }
@media (max-width: 800px) {
  .site-header-inner { gap: 24px; padding: 0 24px; }
  .site-header #navigation { gap: 22px; }
  main, .page-coins #main { padding: 32px 24px 48px; }
  .footer { width: calc(100% - 48px); }
  .xcheck-search-form { grid-template-columns: minmax(0, 1fr) 150px auto; gap: 10px; }
  .xcheck-submit { padding: 0 14px; }
}
@media (max-width: 760px) {
  .site-header-inner { grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 42px 38px; height: auto; min-height: 90px; padding: 6px 20px 0; gap: 4px 14px; }
  .site-header .brand { font-size: 15px; }
  .site-tools { grid-column: 2; grid-row: 1; }
  .site-header #navigation { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: space-between; gap: 12px; }
  .site-header .nav-link { min-height: 38px; padding: 0; font-size: 13px; }
  .workspace { min-height: calc(100dvh - 90px); }
  main, .page-coins #main { padding: 28px 20px 40px; }
  .footer { width: calc(100% - 40px); font-size: 11px; }
  .academy-heading, .track-heading, .directory-heading, .xcheck-heading { margin-bottom: 24px; }
  .academy-heading h1, .track-heading h1, .directory-heading h1, .xcheck h1 { font-size: 26px; }
  .academy-tracks { grid-template-columns: minmax(0, 1fr); }
  .track-card, .track-card + .track-card { min-height: 0; padding: 25px 0; border-left: 0; }
  .track-card + .track-card { border-top: 1px solid var(--line); }
  .track-top { margin-bottom: 20px; }
  .track-card h2 { font-size: 22px; }
  .track-heading { display: block; }
  .track-progress { display: block; padding-top: 14px; }
  .course-search .search-field { flex-basis: 100%; max-width: none; }
  .course-row { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 17px 2px; }
  .course-meta, html[lang="en"] .course-meta { grid-column: 2; display: flex; align-items: baseline; justify-content: space-between; min-width: 0; padding: 0; gap: 12px; }
  .course-copy strong { font-size: 14px; }
  .course-copy > span { font-size: 13px; }
  .directory-heading { display: block; }
  .asset-search { width: 100%; margin-top: 20px; }
  .asset-search input { height: 42px; }
  .asset-search svg { top: 14px; }
  .asset-filters, html[lang="en"] .asset-filters { gap: 4px; flex-wrap: wrap; }
  .asset-filters button { min-height: 36px; padding: 7px 10px; }
  #coin-results .coin-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #coin-results .coin-card { min-height: 0; padding: 22px 0; }
  .xcheck-search-panel { padding: 16px; border-radius: 10px; }
  .xcheck-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 10px; }
  .xcheck-input-field { grid-column: 1 / -1; }
  .xcheck-search-form input, .xcheck-search-form select, .xcheck-submit { height: 44px; }
  .xcheck-submit { width: auto; min-width: 100px; align-self: end; }
  .xcheck-panel-footer { gap: 12px; }
  .xcheck-shortcuts { flex-wrap: wrap; }
  .xcheck-shortcuts button { min-height: 34px; }
  .xcheck-candidate, .xcheck-candidate.xcheck-candidate-highlight { grid-template-columns: 28px minmax(0, 1fr) 14px; padding: 17px 10px; gap: 10px; }
  .xcheck-asset-icon { width: 28px; height: 28px; }
  .xcheck-asset-icon img { width: 26px; height: 26px; }
  .xcheck-candidate-copy { max-width: none; }
  .xcheck-asset-name { font-size: 14px; }
  .xcheck-address { font-size: 11px; }
  .xcheck-match-reason { font-size: 12px; }
  .xcheck-report-header h2 { font-size: 22px; }
  .xcheck-verdict { padding: 18px 0; gap: 15px; }
  .xcheck .xcheck-risk-label { font-size: 21px; }
  .xcheck-lights { gap: 7px; padding: 10px 11px; }
  .xcheck-light { width: 20px; height: 20px; }
  .xcheck-scope-results ul { grid-template-columns: minmax(0, 1fr); }
  .lesson-dialog { width: calc(100% - 16px); max-height: 96dvh; height: 96dvh; padding: 14px 12px; }
  .lesson-intro .dialog-title { font-size: 24px; }
  .board-notes p, .visual-copy p, .section-prose p, .example-steps { font-size: 15px; line-height: 1.9; }
  .coin-detail-section p, .coin-example p, .coin-questions p, .coin-risk-section .risk-list { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  button, a, input, select, .track-card, .coin-card { transition: none; }
}

/* One asset result, with network evidence kept one level below it. */
.xcheck-aggregate .xcheck-report-header .xcheck-overview-heading { margin: 0; }
.xcheck-aggregate .xcheck-verdict-explanation { min-width: 0; }
.xcheck-aggregate-findings, .xcheck-aggregate-actions { margin: 28px 0; }
.xcheck-aggregate-findings ul { margin: 12px 0 0; padding-left: 20px; }
.xcheck-aggregate-findings li { margin: 12px 0; }
.xcheck-aggregate-findings li strong { font-weight: 550; }
.xcheck-aggregate-findings li > span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
.xcheck-aggregate-gap { margin: 24px 0; border: 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.xcheck-aggregate-gap strong { color: var(--ink); font-weight: 550; }
.xcheck-assessed-networks { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.xcheck-assessed-network { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(120px, 1fr) minmax(150px, 1fr) 16px; align-items: center; gap: 18px; width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 20px 4px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.xcheck-assessed-network:hover { background: var(--surface-hover); }
.xcheck-network-verdict { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.xcheck-network-verdict i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: 0 0 8px; }
.xcheck-network-verdict[data-risk="yellow"] i { background: #d5a04d; }
.xcheck-network-verdict[data-risk="red"] i { background: #d6675a; }
.xcheck-network-verdict[data-risk="green"] i { background: #61b990; }
.xcheck-network-progress { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.xcheck-standard li { margin: 12px 0; line-height: 1.8; }
@media (max-width: 640px) {
  .xcheck-assessed-network { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 12px; gap: 8px 12px; padding: 18px 0; }
  .xcheck-assessed-network .xcheck-network-name { grid-column: 1; grid-row: 1; font-size: 13px; }
  .xcheck-assessed-network .xcheck-network-verdict { grid-column: 2; grid-row: 1; font-size: 12px; }
  .xcheck-assessed-network .xcheck-network-progress { grid-column: 1 / 3; grid-row: 2; font-size: 11px; }
  .xcheck-assessed-network .xcheck-candidate-arrow { grid-column: 3; grid-row: 1 / 3; }
}

/* Report hierarchy: status first, evidence in a quiet right-hand column. */
.xcheck-assessment-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, 1fr); gap: 40px; align-items: start; margin-top: 28px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xcheck-assessment-banner[data-quality="complete"] { grid-template-columns: minmax(0, 1fr); }
.xcheck .xcheck-assessment-banner > .xcheck-verdict { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-content: start; align-items: center; gap: 16px; }
.xcheck .xcheck-assessment-banner .xcheck-risk-label { flex: 1 1 170px; font-size: 24px; font-weight: 550; line-height: 1.45; letter-spacing: -.5px; margin: 0; color: var(--ink); }
.xcheck .xcheck-lights { gap: 8px; padding: 10px 12px; background: transparent; border: 1px solid var(--line); box-shadow: none; }
.xcheck .xcheck-light { width: 20px; height: 20px; border-width: 1px; }
.xcheck-lights[data-blocked="true"] { position: relative; color: var(--muted); }
.xcheck-lights[data-blocked="true"] .xcheck-light { opacity: .3; }
.xcheck-lights-cross { position: absolute; inset: 0; width: 100%; height: 100%; }
.xcheck-lights-cross path { stroke-width: 2.3; }
.xcheck-quality-notice { min-width: 0; padding: 0 0 0 28px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.xcheck-quality-heading { display: flex; gap: 10px; align-items: center; }
.xcheck .xcheck-quality-heading h4 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.xcheck-quality-icon { width: 23px; height: 23px; flex: 0 0 23px; color: var(--warning); }
.xcheck .xcheck-quality-intro { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.xcheck-quality-reasons { margin: 14px 0 0; padding-left: 16px; font-size: 13px; line-height: 1.7; }
.xcheck-quality-reasons li { padding-left: 2px; overflow-wrap: anywhere; }
.xcheck-quality-reasons li + li { margin-top: 13px; }
.xcheck-quality-reasons li::marker { color: var(--muted); font-size: .8em; }
.xcheck-quality-reasons strong { color: var(--ink); font-weight: 550; }
.xcheck-quality-reasons span { display: block; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.xcheck-quality-details { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.xcheck-quality-details > summary { width: fit-content; min-height: 30px; padding: 3px 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.xcheck-quality-details > summary:hover { color: var(--ink); }
.xcheck-quality-details .xcheck-quality-reasons, .xcheck-quality-detail-list { margin: 12px 0 0; padding-left: 16px; font-size: 12px; line-height: 1.75; }
.xcheck-quality-detail-list li + li { margin-top: 12px; }
.xcheck-quality-detail-list strong { font-weight: 550; color: var(--ink); }
.xcheck-quality-detail-list span { display: block; color: var(--muted); overflow-wrap: anywhere; margin-top: 3px; }
.xcheck-quality-detail-list ul { padding-left: 16px; margin-top: 10px; }
.xcheck-quality-network + .xcheck-quality-network { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.xcheck .xcheck-quality-network h5 { margin: 12px 0 0; color: var(--ink); font-size: 13px; font-weight: 550; }
.xcheck-quality-network > p { color: var(--muted); font-size: 12px; }
.xcheck .xcheck-risk-reasons, .xcheck-known-risks { --known-accent: var(--warning); flex-basis: 100%; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; margin-top: 8px; }
.xcheck-known-risks[data-risk="red"] { --known-accent: var(--red); }
.xcheck .xcheck-known-risks h4, .xcheck .xcheck-risk-reasons h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 550; color: var(--muted); }
.xcheck .xcheck-known-risks h4::before, .xcheck .xcheck-risk-reasons h4::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--known-accent, var(--reason-accent)); }
.xcheck .xcheck-risk-reasons h4::before { background: var(--reason-accent); }
.xcheck .xcheck-trigger-list { padding-left: 17px; margin-top: 16px; font-size: 14px; line-height: 1.75; }
.xcheck .xcheck-trigger-list strong { font-weight: 550; }
.xcheck .xcheck-trigger-list li { padding-left: 2px; }
.xcheck .xcheck-trigger-list li::marker { color: var(--muted); font-size: .8em; }
.xcheck .xcheck-trigger-list li + li { margin-top: 18px; }
.xcheck .xcheck-reason-detail { color: var(--muted); margin-top: 4px; }
.xcheck-network-verdict small { display: block; margin-left: 3px; color: var(--muted); font-size: 11px; }
@media (max-width: 760px) {
  .xcheck-assessment-banner, .xcheck-assessment-banner[data-quality="complete"] { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 14px; padding: 24px 0; }
  .xcheck .xcheck-assessment-banner > .xcheck-verdict { display: contents; }
  .xcheck-assessment-banner .xcheck-lights { grid-column: 1; order: 0; margin-bottom: 0; }
  .xcheck .xcheck-assessment-banner .xcheck-risk-label { grid-column: 2; order: 1; font-size: 21px; }
  .xcheck-assessment-banner > .xcheck-quality-notice { grid-column: 1 / -1; order: 2; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
  .xcheck-assessment-banner .xcheck-risk-reasons, .xcheck-assessment-banner .xcheck-known-risks { grid-column: 1 / -1; order: 3; margin-top: 0; padding-top: 20px; }
}

/* Typography and dividers carry hierarchy across the learning and asset views. */
.track-card h2 { font-size: 24px; letter-spacing: -.4px; }
.track-top { margin-bottom: 18px; }
.track-icon, .track-trading .track-icon { width: 24px; height: 24px; }
.track-icon svg { width: 21px; height: 21px; }
.course-row { border-bottom-color: var(--line); }
#coin-results .coin-card { border-radius: 0; box-shadow: none; }
.xcheck-search-panel { border-radius: 6px; box-shadow: none; }
.btn, input, select, textarea, .search-field input, .asset-search input { border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { button, .btn, a { transition: none; } }
