/* EighthWonder — light fintech UI. One accent, neutral grays, 8px spacing. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #122033;
  --text: #1c2836;
  --text-2: #3e4c5e;
  --muted: #5c6b7e;
  --line: #e3e8ee;
  --line-strong: #cfd6df;
  --accent: #0b3d5c;
  --accent-ink: #ffffff;
  --accent-soft: #e8f1f6;
  --good: #0f6b4c;
  --good-bg: #e8f6ef;
  --warn: #8a5a00;
  --warn-bg: #fbf3e0;
  --bad: #9f2d2d;
  --bad-bg: #fbecec;
  --shadow: 0 1px 2px rgba(18, 32, 51, 0.05), 0 8px 24px rgba(18, 32, 51, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --header-h: 64px;
  --space: 8px;
  --focus: 0 0 0 3px rgba(11, 61, 92, 0.28);
}

[data-theme="dark"] {
  --bg: #0e141b;
  --surface: #16202b;
  --surface-2: #1c2835;
  --ink: #f4f7fb;
  --text: #e7eef6;
  --text-2: #c3d0de;
  --muted: #93a4b8;
  --line: #2a3a4c;
  --line-strong: #3a4d63;
  --accent: #8ec5e8;
  --accent-ink: #0e141b;
  --accent-soft: #1c3344;
  --good: #7dcea8;
  --good-bg: #143028;
  --warn: #e6c27a;
  --warn-bg: #332812;
  --bad: #f0a8a8;
  --bad-bg: #3a1c1c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --focus: 0 0 0 3px rgba(142, 197, 232, 0.35);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
}
img, svg { display: block; }
button, input, select { font-family: inherit; color: inherit; }
a { color: var(--accent); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; height: 100%;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
}
.logo-mark svg { width: 16px; height: 16px; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-btn, .theme-toggle {
  background: transparent; border: 0; cursor: pointer;
  color: var(--text-2); font-size: 0.95rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; min-height: 40px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-icon, .mode-icon { width: 18px; height: 18px; flex: none; display: block; }
.nav-btn.active { background: var(--accent-soft); color: var(--accent); }
.nav-btn:hover, .theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle { padding: 8px; }

.panel { display: none; }
.panel.active { display: block; }
.wrap, .main-wrap { max-width: 1120px; margin: 0 auto; padding: 32px 20px 72px; }
.experts-hero { margin-bottom: 20px; }
.experts-hero h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.heading-icon { width: 28px; height: 28px; }
.experts-hero p { color: var(--text-2); max-width: 42rem; }

.hero { max-width: 760px; margin-bottom: 28px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero p { color: var(--text-2); font-size: 1.125rem; max-width: 42rem; }

.lookup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.mode-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px;
}
.mode-card {
  display: block; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 14px 14px 42px; position: relative;
  background: var(--surface); min-height: 108px;
}
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card .tick {
  position: absolute; left: 14px; top: 16px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.mode-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.mode-card:has(input:checked) .tick {
  border-color: var(--accent); background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}
.mode-card:has(input:focus-visible) { box-shadow: var(--focus); }
.mode-kicker {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.mode-card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.45; }

.expert-picker { margin: -4px 0 16px; }
.expert-picker[hidden] { display: none; }
.expert-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.expert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.expert-row label {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 0.92rem;
  background: var(--surface);
}
.expert-row input { position: absolute; opacity: 0; }
.expert-row label:has(input:checked) {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.expert-row label:has(input:focus-visible) { box-shadow: var(--focus); }

.search-row { display: flex; gap: 8px; align-items: flex-start; }
.ticker-combo { position: relative; flex: 1; z-index: 30; }
.search-row input[type="text"] {
  width: 100%; height: 48px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); padding: 0 14px 0 42px;
  font-size: 1rem; font-weight: 600;
}
.search-row input::placeholder { font-weight: 400; color: var(--muted); }
.search-row input:focus { border-color: var(--accent); box-shadow: var(--focus); outline: none; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.btn-analyze {
  height: 48px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap;
  position: relative; z-index: 1;
}
.btn-analyze:disabled { opacity: 0.55; cursor: not-allowed; }
.form-error {
  margin-top: 10px; color: var(--bad); font-size: 0.92rem; font-weight: 600;
}
.form-error[hidden] { display: none; }

#ticker-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; box-shadow: var(--shadow); max-height: 440px; overflow-y: auto;
  z-index: 50; pointer-events: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
#ticker-suggestions::-webkit-scrollbar { width: 10px; }
#ticker-suggestions::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
#ticker-suggestions[hidden] { display: none; }
.ticker-option {
  width: 100%; text-align: left; border: 0; background: transparent;
  border-radius: 8px; padding: 10px 12px; min-height: 44px; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
}
.ticker-option small { color: var(--muted); font-size: 0.8rem; }
.ticker-option[aria-selected="true"], .ticker-option:hover { background: var(--surface-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.progress-section { margin-top: 20px; }
.progress-header {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.92rem; margin-bottom: 8px;
}
.progress-status { color: var(--text-2); font-weight: 600; }
.progress-pct { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.progress-track { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0; background: var(--accent); transition: width 0.4s ease;
}
.agent-pipeline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pipe-step {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 6px 12px; min-height: 36px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.pipe-step.running { color: var(--warn); border-color: var(--warn); background: var(--warn-bg); }
.pipe-step.done { color: var(--good); border-color: var(--good); background: var(--good-bg); }
.pipe-step.error { color: var(--bad); border-color: var(--bad); background: var(--bad-bg); }
.pipe-step.active-detail { box-shadow: var(--focus); }
.pipe-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pipe-dot.spin { animation: pulse 1s ease infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.step-detail {
  margin-top: 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); overflow: hidden;
}
.step-detail-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.82rem; font-weight: 700;
}
.step-detail-close { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 1rem; }
.step-log-entry {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 0.82rem;
}
.step-log-entry:last-child { border-bottom: 0; }
.sle-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.sle-data {
  grid-column: 2; font-family: ui-monospace, monospace; font-size: 0.75rem;
  background: var(--surface-2); border-radius: 6px; padding: 6px 8px; color: var(--muted);
  white-space: pre-wrap;
}

.skeleton { margin-top: 16px; display: grid; gap: 12px; }
.skeleton[hidden] { display: none; }
.skel {
  border-radius: 12px; height: 88px;
  background: linear-gradient(90deg, var(--line) 25%, var(--surface) 37%, var(--line) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}
.skel.tall { height: 140px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .skel, .pipe-dot.spin, .progress-fill { animation: none; transition: none; }
}

.no-data-banner {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 16px; padding: 14px 16px;
  background: var(--warn-bg); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line));
  border-radius: 12px;
}
.no-data-banner strong { display: block; margin-bottom: 2px; }
.no-data-banner span { color: var(--text-2); font-size: 0.92rem; }

.section-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; gap: 6px; overflow-x: auto;
  padding: 10px 0; margin-top: 8px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
}
.section-nav a {
  flex: 0 0 auto; text-decoration: none; color: var(--text-2);
  font-size: 0.85rem; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; border: 1px solid transparent;
}
.section-nav a:hover, .section-nav a:focus-visible { background: var(--surface); border-color: var(--line); }

.results-grid, .story-panel { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.results-grid > .section-nav, .story-panel > .section-nav { margin-top: 0; }

.verdict-card, .section-card, .story-section, .snapshot-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.verdict-card { padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; scroll-margin-top: 120px; }
.v-expert { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.v-headline { font-family: var(--display); font-size: 1.55rem; font-weight: 600; color: var(--ink); margin: 6px 0 10px; line-height: 1.25; }
.verdict-right { display: flex; align-items: center; gap: 16px; }
.score-ring {
  width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-ring .r-num { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.score-ring .r-lbl { font-size: 0.7rem; color: var(--muted); }
.verdict-badge {
  font-weight: 800; letter-spacing: 0.08em; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 8px;
}
.STRONG_FIT .verdict-badge { background: var(--good); color: #fff; }
.PARTIAL_FIT .verdict-badge { background: var(--warn); color: #fff; }
.WEAK_FIT .verdict-badge { background: var(--bad); color: #fff; }
.back-link { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 8px; }
.edu-disclaimer { color: var(--muted); font-size: 0.86rem; line-height: 1.45; margin: 14px 0; }
.signup-band, .footer-forms { margin-top: 28px; }
.signup-band h2, .footer-forms h2 { font-size: 1.05rem; margin-bottom: 4px; }
.signup-form { display: grid; gap: 8px; max-width: 420px; margin-top: 8px; }
.signup-form label { display: grid; gap: 4px; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.signup-form input, .signup-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; background: var(--surface);
}
.signup-form button {
  justify-self: start; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer;
}
.optional { font-weight: 400; color: var(--muted); }
.form-thanks { color: var(--ink); font-weight: 600; }
.footer-forms { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; }
.verdict-card.INSUFFICIENT { background: var(--surface); }
.INSUFFICIENT .verdict-badge { background: var(--surface-2); color: var(--text-2); letter-spacing: 0; border: 1px solid var(--line-strong); }
.conviction-pill { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px; }
.conviction-high { background: var(--good-bg); color: var(--good); }
.conviction-medium { background: var(--warn-bg); color: var(--warn); }
.conviction-low { background: var(--bad-bg); color: var(--bad); }
.narrative-quote {
  margin-top: 14px; padding: 12px 14px; width: 100%;
  background: var(--surface-2); border-left: 3px solid var(--accent);
  color: var(--text-2); border-radius: 0 8px 8px 0;
}

.section-card { overflow: hidden; scroll-margin-top: 120px; }
.section-header { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.section-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.section-header h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.s-subtitle { font-size: 0.85rem; color: var(--muted); }
.section-body, .snapshot-card { padding: 16px 20px 20px; }
.snapshot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.company-name { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.company-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ticker-badge, .sector-badge {
  font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line);
}
.ticker-badge { letter-spacing: 0.04em; color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.sector-badge { color: var(--text-2); background: var(--surface-2); }
.current-price { font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.price-note { font-size: 0.78rem; color: var(--muted); text-align: right; }
.snapshot-stats, .metric-grid, .risk-summary, .mgmt-grid, .how-grid, .experts-grid {
  display: grid; gap: 12px;
}
.snapshot-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.metric-grid, .mgmt-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.snap-stat, .metric-item, .mgmt-card, .risk-tile, .how-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.s-label, .m-name, .rt-label, .ec-label, .phi-section-title, .story-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.s-value, .m-value, .mgmt-card .m-value { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 4px 0; font-variant-numeric: tabular-nums; }
.m-value.good { color: var(--good); }
.m-value.warn { color: var(--warn); }
.m-value.bad { color: var(--bad); }
.m-value.neutral { color: var(--text); }
.s-desc, .m-desc, .rt-detail, .trend { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.na {
  color: var(--muted); font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px dotted var(--muted); cursor: help;
}
.range-bar-track { height: 6px; background: var(--line); border-radius: 99px; position: relative; margin-top: 8px; }
.range-bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 99px; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); margin-top: 4px; }

.risk-pill, .read-pill {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 999px; padding: 2px 8px;
}
.risk-low, .read-good { background: var(--good-bg); color: var(--good); }
.risk-medium, .read-okay { background: var(--warn-bg); color: var(--warn); }
.risk-high, .risk-very_high, .read-weak { background: var(--bad-bg); color: var(--bad); }
.read-unknown { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.rsb-header, .crit-top { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.rsb-track, .crit-bar-track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 6px 0; }
.rsb-fill, .crit-bar { height: 100%; border-radius: 99px; }
.key-risks-list { list-style: none; margin-top: 12px; }
.key-risks-list li { display: flex; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.92rem; }
.crit-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.crit-row:last-child { border-bottom: 0; }
.crit-name { font-weight: 700; }
.crit-rationale { color: var(--muted); font-size: 0.85rem; }

.story-section { padding: 20px 22px; scroll-margin-top: 120px; }
.story-section h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
.story-section h3:first-of-type { margin-top: 0; }
.story-section p, .story-section li { color: var(--text-2); }
.story-section p + p { margin-top: 8px; }
.section-skeleton { display: grid; gap: 10px; }
.story-section[data-eager="true"] .section-skeleton { min-height: calc(100vh + 320px); }
.skeleton-label { color: var(--text-2); font-size: 0.92rem; }
.facts-panel { margin-top: 8px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.fact-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.fact-card .k { color: var(--text-2); font-size: 0.78rem; }
.fact-card .v { font-size: 1.15rem; font-weight: 650; margin-top: 4px; }
.fact-card .note { color: var(--text-2); font-size: 0.78rem; margin-top: 4px; }
.facts-basis { color: var(--text-2); font-size: 0.88rem; margin-top: 14px; }
.story-analogy { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; margin: 10px 0; color: var(--text); }
.promise { padding: 12px 0; border-top: 1px solid var(--line); }
.story-refs a { word-break: break-word; }

.page-title { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.lede { color: var(--text-2); max-width: 42rem; margin-bottom: 24px; }
.decision-strip, .scoring-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 16px; color: var(--text-2);
}
.experts-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .experts-grid { grid-template-columns: 1fr 1fr; } }
.expert-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.expert-stripe { height: 3px; background: var(--accent); }
.expert-card-top, .expert-criteria, .phi-section { padding: 16px 18px; }
.expert-criteria, .phi-section { border-top: 1px solid var(--line); }
.monogram {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 10px;
}
.expert-name { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.expert-style { color: var(--muted); font-size: 0.9rem; margin: 2px 0 10px; }
.expert-philosophy { color: var(--text-2); font-size: 0.95rem; }
.criteria-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ctag { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; color: var(--text-2); }
.phi-list { list-style: none; }
.phi-list li { position: relative; padding: 8px 0 8px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; }
.phi-list li:last-child { border-bottom: 0; }
.phi-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.phi-book-badge { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.more-principles { margin-top: 8px; }
.more-principles summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.scoring-formula code { display: block; margin-top: 10px; background: var(--surface-2); padding: 8px 10px; border-radius: 8px; color: var(--accent); }
.verdict-key { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.vk-badge { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.how-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-card h3 { font-size: 1.05rem; color: var(--ink); margin: 8px 0 4px; }
.how-step { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

.disclaimer, .site-footer {
  color: var(--muted); font-size: 0.8rem; line-height: 1.55;
}
.disclaimer { padding: 4px 2px 0; }
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 20px 40px; text-align: center;
}
.site-footer p + p { margin-top: 6px; }
.site-footer a { color: var(--text-2); }

.hidden, [hidden] { display: none !important; }

.nav-short { display: none; }
@media (max-width: 720px) {
  .header-inner { padding: 0 12px; }
  .nav-btn { padding: 8px; font-size: 0.85rem; }
  .nav-long { display: none; }
  .nav-short { display: inline; }
  .wrap, .main-wrap { padding: 20px 12px 56px; }
  .mode-grid, .search-row { grid-template-columns: 1fr; display: grid; }
  .search-row { display: flex; flex-direction: column; }
  .btn-analyze { width: 100%; }
  .verdict-card, .snapshot-top { flex-direction: column; }
  .current-price, .price-note { text-align: left; }
  .hero p { font-size: 1rem; }
}
.fin-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 0.92rem; }
.fin-table th, .fin-table td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.fin-table th:first-child, .fin-table td:first-child { text-align: left; }
.fin-table th { color: var(--muted); font-weight: 600; }
.macro-list li { margin: 8px 0; }
.pulse { font-size: 1.05rem; }
.filing-quote { margin: 2px 0 12px; }
.filing-quote summary { cursor: pointer; color: var(--muted); font-size: 0.82rem; }
.filing-quote p { color: var(--muted); font-size: 0.88rem; }
.m-note { color: var(--muted); font-size: 0.75rem; margin-top: 4px; }
