:root {
  --ink: #171a19;
  --ink-2: #272b29;
  --muted: #696d69;
  --muted-2: #96958f;
  --paper: #f2efe7;
  --card: #fbfaf6;
  --card-2: #e9e6de;
  --line: #d8d4ca;
  --line-dark: #b7b2a7;
  --orange: #ef5b2a;
  --orange-dark: #b83d16;
  --orange-soft: #ffe2d5;
  --teal: #1b8c86;
  --teal-soft: #dcefed;
  --danger: #a83e35;
  --shadow: 0 24px 70px rgba(25, 29, 27, .12);
  --sidebar: 248px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --numeric: Roboto, "Noto Sans KR", sans-serif;
  --mono: "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 4%, rgba(239, 91, 42, .075), transparent 27rem),
    var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template: 74px 1fr / var(--sidebar) minmax(0, 1fr);
}
.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f8f5ed;
  background: rgba(21, 24, 23, .97);
  backdrop-filter: blur(16px);
}
.brand { min-width: 220px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #f5f2e9;
  font: 800 12px/1 var(--mono);
  letter-spacing: -.05em;
}
.brand-mark::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 9px; height: 9px; background: var(--orange); }
.brand strong { display: block; font: 700 13px/1.2 var(--numeric); letter-spacing: .13em; }
.brand small { display: block; margin-top: 4px; color: #a9aaa5; font: 500 8px/1 var(--mono); letter-spacing: .07em; }
.data-status { margin-right: auto; display: flex; align-items: center; gap: 14px; color: #b7b7b1; font: 500 9px/1 var(--mono); letter-spacing: .08em; white-space: nowrap; }
.data-status > span + span { padding-left: 14px; border-left: 1px solid #424541; }
.status-dot i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #6ec69c; box-shadow: 0 0 0 4px rgba(110, 198, 156, .11); }
.mode-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid #424541; border-radius: 7px; }
.mode-switch button { border: 0; border-radius: 4px; padding: 7px 11px; color: #aaa; background: transparent; font: 500 10px/1 var(--numeric); }
.mode-switch button:hover, .mode-switch button.active { color: white; background: #3a3d3a; }
.mode-switch.light { border-color: var(--line); background: #e8e5dd; }
.mode-switch.light button { color: var(--muted); }
.mode-switch.light button.active { color: white; background: var(--ink); }
.search-trigger { min-width: 104px; display: flex; align-items: center; gap: 8px; border: 1px solid #555954; border-radius: 6px; padding: 8px 10px; color: #dddcd5; background: transparent; font: 500 10px/1 var(--numeric); }
.search-trigger:hover { border-color: #8d8f89; background: #2b2f2c; }
kbd { padding: 3px 5px; border: 1px solid currentColor; border-radius: 3px; opacity: .55; font: 500 8px/1 var(--mono); }
.mobile-menu { display: none; border: 0; color: white; background: none; font-size: 20px; }

.sidebar {
  position: sticky;
  z-index: 30;
  top: 74px;
  height: calc(100vh - 74px);
  padding: 28px 16px 20px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #e9e6de;
}
.sidebar-label { margin: 0 10px 15px; color: #8c8c86; font: 700 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.nav-group { margin-bottom: 16px; }
.nav-group-title { margin: 0 10px 5px; color: #9f9c94; font: 600 8px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.nav-button { width: 100%; display: grid; grid-template-columns: 26px 1fr; align-items: center; padding: 8px 10px; border-radius: 6px; color: #61645f; text-decoration: none; font-size: 11px; transition: .15s ease; }
.nav-button span:first-child { color: #aaa69d; font: 500 8px/1 var(--mono); }
.nav-button:hover { color: var(--ink); background: rgba(255, 255, 255, .5); }
.nav-button.active { color: var(--ink); background: var(--card); box-shadow: 0 2px 12px rgba(0, 0, 0, .05); font-weight: 700; }
.nav-button.active span:first-child { color: var(--orange); }
.progress-card { margin: 24px 7px 0; padding: 15px; border: 1px solid #d1cdc3; background: rgba(255,255,255,.3); }
.progress-card > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.progress-card span { color: #888982; font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.progress-card strong { color: var(--orange); font: 600 17px/1 var(--numeric); }
.progress-track { height: 3px; margin: 12px 0; background: #d4d0c6; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--orange); transition: width .25s ease; }
.progress-card p, .disclaimer { color: var(--muted); font-size: 9px; line-height: 1.55; }
.progress-card p { margin: 0; }
.disclaimer { margin: 18px 10px 0; }

main { min-width: 0; padding: 42px clamp(24px, 4.2vw, 72px) 90px; outline: none; }
.loading { min-height: 65vh; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.loading span { width: 25px; height: 25px; border: 2px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; margin-bottom: 30px; }
.page-kicker, .eyebrow { color: var(--orange); font: 700 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.page-head h1 { max-width: 900px; margin: 12px 0 0; font-size: clamp(29px, 3.7vw, 49px); font-weight: 500; line-height: 1.16; letter-spacing: -.045em; word-break: keep-all; }
.page-head p { max-width: 780px; margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.page-index { color: #d6d1c8; font: 500 clamp(65px, 8vw, 108px)/.8 var(--numeric); }

.hero-card { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); overflow: hidden; border: 1px solid #323632; color: white; background: var(--ink); }
.hero-copy { padding: clamp(32px, 5vw, 66px); }
.hero-copy .eyebrow { margin-bottom: 25px; }
.hero-copy h2 { max-width: 720px; margin: 0; font-size: clamp(28px, 3.2vw, 45px); font-weight: 400; line-height: 1.22; letter-spacing: -.045em; }
.hero-copy h2 em, .architecture-hero h2 em { color: var(--orange); font-style: normal; }
.hero-copy p { max-width: 700px; margin: 24px 0; color: #b9bab5; font-size: 12px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.primary-button, .outline-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; text-decoration: none; }
.primary-button { padding: 12px 16px; border: 1px solid var(--orange); border-radius: 4px; color: white; background: var(--orange); font-size: 10px; font-weight: 700; }
.primary-button:hover { background: var(--orange-dark); }
.text-button { color: #cacbc5; font-size: 10px; text-decoration: underline; text-decoration-color: #676a66; text-underline-offset: 4px; }
.hero-orbit { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle, rgba(239,91,42,.16) 0 1px, transparent 2px) 0 0/17px 17px; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid #424743; border-radius: 50%; }
.hero-orbit::after { width: 180px; height: 180px; border-color: #515550; }
.orbit-center { z-index: 2; width: 118px; height: 118px; display: grid; place-content: center; border: 1px solid #696c67; background: var(--ink); text-align: center; }
.orbit-center span { color: var(--orange); font: 600 8px/1 var(--mono); letter-spacing: .14em; }
.orbit-center strong { margin-top: 10px; font-size: 16px; line-height: 1.25; }
.orbit-node { position: absolute; z-index: 3; padding: 5px 7px; border: 1px solid #565a56; color: #c7c8c2; background: var(--ink); font: 500 8px/1 var(--mono); text-transform: uppercase; }
.orbit-node.n1 { top: 14%; left: 46%; }.orbit-node.n2 { top: 34%; right: 5%; }.orbit-node.n3 { bottom: 18%; right: 14%; }.orbit-node.n4 { bottom: 15%; left: 12%; }.orbit-node.n5 { top: 32%; left: 2%; }

.insight-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 34px; border: 1px solid var(--line); background: var(--card-2); }
.insight-strip article { position: relative; min-height: 150px; padding: 22px 22px 20px 48px; border-right: 1px solid var(--line); }
.insight-strip article:last-child { border-right: 0; }
.insight-strip b { position: absolute; left: 18px; top: 24px; color: var(--orange); font: 700 9px/1 var(--mono); }
.insight-strip span { color: var(--muted-2); font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.insight-strip strong { display: block; margin: 13px 0 9px; font: 500 19px/1.2 var(--numeric); }
.insight-strip p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.section-head { min-height: 64px; display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 38px 0 15px; }
.section-head.compact { margin-top: 0; }
.section-head span { color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .11em; }
.section-head h2 { margin: 8px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--muted); font-size: 9px; }
.section-head > a { color: var(--muted); font-size: 9px; text-decoration: none; }
.reasoning-flow { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); background: var(--card); }
.reasoning-flow article { position: relative; min-height: 120px; padding: 18px; border-right: 1px solid var(--line); }
.reasoning-flow article:last-child { border-right: 0; }
.reasoning-flow article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 46%; right: -8px; color: var(--orange); background: var(--card); font-size: 13px; }
.reasoning-flow span { color: var(--orange); font: 600 8px/1 var(--mono); }
.reasoning-flow strong { display: block; margin: 24px 0 7px; font-size: 12px; }
.reasoning-flow small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.section-space { margin-top: 34px !important; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; }
.signal-list { display: grid; gap: 11px; }
.signal-card { padding: 20px; border: 1px solid var(--line); background: var(--card); }
.signal-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 500 8px/1 var(--mono); }
.signal-card h3 { margin: 13px 0 8px; font-size: 13px; line-height: 1.45; }
.signal-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.impact-line { margin: 15px 0 12px; padding-top: 12px; display: grid; grid-template-columns: 105px 1fr; gap: 10px; border-top: 1px solid #e7e3da; }
.impact-line span { color: var(--orange); font: 600 8px/1.4 var(--mono); letter-spacing: .06em; }
.impact-line strong { font-size: 9px; line-height: 1.5; }
.daily-card { align-self: start; position: sticky; top: 96px; padding: 28px; border: 1px solid var(--line); background: var(--ink); color: white; }
.question-number { display: block; margin: 30px 0 13px; color: var(--orange); font: 500 45px/1 var(--numeric); }
.daily-card h2 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.45; }
.daily-card p { color: #b8bab4; font-size: 10px; line-height: 1.7; }
.daily-card .outline-button { margin: 14px 0; border-color: #656963; color: white; }
.daily-card .source-chip { color: #c6c7c1; border-color: #444844; }

.badge { display: inline-flex; align-items: center; min-height: 20px; padding: 4px 7px; border: 1px solid var(--line-dark); border-radius: 3px; color: var(--muted); background: #efede6; font: 700 7px/1 var(--mono); letter-spacing: .06em; white-space: nowrap; }
.badge.teal { border-color: #b9d9d6; color: #176e69; background: var(--teal-soft); }
.badge.orange { border-color: #f0bca6; color: #a84420; background: var(--orange-soft); }
.source-row { display: flex; flex-wrap: wrap; gap: 6px; }
.source-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 7px; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.source-chip:hover { border-color: var(--ink); color: var(--ink); }
.source-chip span { color: var(--teal); font: 700 7px/1 var(--mono); }
.outline-button { border: 1px solid var(--line-dark); border-radius: 4px; padding: 9px 11px; color: var(--ink); background: transparent; font-size: 9px; font-weight: 700; }
.outline-button:hover { border-color: var(--ink); background: rgba(255,255,255,.5); }
.callout { display: flex; gap: 17px; align-items: flex-start; margin: 0 0 20px; padding: 17px 19px; border-left: 3px solid var(--orange); color: #6c3a28; background: var(--orange-soft); }
.callout strong { min-width: 72px; font-size: 10px; }
.callout p { margin: 0; font-size: 10px; line-height: 1.65; }
.callout.teal { border-color: var(--teal); color: #285b57; background: var(--teal-soft); }
.callout.dark { margin-top: 18px; border-color: var(--orange); color: #e0e0da; background: var(--ink); }

.timeline-list { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.timeline-date { position: relative; padding: 31px 28px 30px 0; border-right: 1px solid var(--line); text-align: right; }
.timeline-date span { font: 600 11px/1 var(--mono); }
.timeline-date i { position: absolute; top: 35px; right: -5px; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.timeline-content { max-width: 920px; padding: 29px 0 29px 36px; }
.timeline-content .badge { margin-right: 5px; }
.timeline-content h2 { margin: 13px 0 8px; font-size: 18px; font-weight: 500; }
.timeline-content > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.filter-bar { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(170px, 260px) 120px; gap: 10px; margin-bottom: 15px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); background: var(--card); }
.search-field span { color: var(--muted); }
.search-field input, .filter-bar select { width: 100%; min-height: 42px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.filter-bar select { padding: 0 12px; border: 1px solid var(--line); background: var(--card); }
.result-count { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); background: #e9e6de; }
.result-count strong { color: var(--orange); font: 500 20px/1 var(--numeric); }
.result-count span { color: var(--muted); font: 500 7px/1.2 var(--mono); }
.customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.customer-card { min-height: 286px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--line); color: var(--ink); background: var(--card); text-align: left; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.customer-card:hover { z-index: 2; transform: translateY(-3px); border-color: var(--line-dark); box-shadow: var(--shadow); }
.customer-mark { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--ink); color: var(--ink); font: 700 10px/1 var(--mono); }
.customer-mark.large { width: 57px; height: 57px; font-size: 13px; }
.customer-control { position: absolute; top: 20px; right: 20px; text-align: right; }
.customer-control small { display: block; margin-bottom: 6px; color: var(--muted-2); font: 600 6px/1 var(--mono); letter-spacing: .08em; }
.customer-control b { color: var(--orange); font-size: 7px; letter-spacing: 2px; }
.customer-type { margin-top: 27px; color: var(--orange); font: 700 8px/1 var(--mono); letter-spacing: .06em; }
.customer-card > strong { margin-top: 8px; font-size: 20px; font-weight: 500; }
.customer-card > p { margin: 9px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.customer-products { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.customer-products i { padding: 4px 6px; border-radius: 3px; color: var(--muted); background: #e9e6de; font-size: 7px; font-style: normal; }
.card-link { display: block; margin-top: 16px; color: var(--muted); font-size: 8px; font-weight: 700; }

.decision-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin: 25px 0 30px; }
.decision-flow article { position: relative; min-height: 150px; padding: 20px; border: 1px solid var(--line); background: var(--card); }
.decision-flow article:not(:last-child)::after { content: "→"; position: absolute; top: 46%; right: -19px; color: var(--orange); }
.decision-flow span { color: var(--orange); font: 600 8px/1 var(--mono); }
.decision-flow strong { display: block; margin: 32px 0 8px; font-size: 14px; }
.decision-flow p { color: var(--muted); font-size: 9px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 9px; }
.data-table th { padding: 12px; border-bottom: 1px solid var(--line); color: #777a75; background: #e9e6de; text-align: left; font: 600 8px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid #e9e5dc; color: var(--muted); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f6f3ec; }
.data-table .row-head { color: var(--ink); font-weight: 700; }
.data-table .row-head strong, .data-table .row-head small { display: block; }
.data-table .row-head small { margin-top: 5px; color: var(--muted); font-weight: 400; }
.account-graph { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1.15fr auto 1fr; align-items: center; gap: 11px; }
.account-graph article { min-height: 133px; padding: 19px; border: 1px solid var(--line); background: var(--card); }
.account-graph article.accent { border-color: var(--orange); background: var(--orange-soft); }
.account-graph > i { color: var(--orange); font-style: normal; }
.account-graph small { color: var(--orange); font: 700 7px/1 var(--mono); }
.account-graph strong { display: block; margin: 28px 0 7px; font-size: 12px; }
.account-graph span { color: var(--muted); font-size: 8px; line-height: 1.4; }

.architecture-hero { min-height: 400px; display: grid; grid-template-columns: 1.2fr .8fr; border: 1px solid var(--line); background: var(--card); }
.arch-copy { padding: clamp(30px, 4vw, 57px); }
.arch-copy h2 { margin: 22px 0; font-size: clamp(25px, 3vw, 40px); font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.arch-copy p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.memory-stack { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 38px 50px; background: #e9e6de; }
.dram-die, .base-die, .xpu-die { position: relative; z-index: 1; margin-top: -1px; border: 1px solid #a9a69d; padding: 18px; color: var(--muted); background: var(--card); text-align: center; font: 600 9px/1 var(--mono); }
.dram-die::after { content: "TSV"; position: absolute; right: 10px; color: #aaa69d; font-size: 6px; }
.base-die { padding: 22px; border-color: var(--orange); color: white; background: var(--orange); }
.base-die span, .base-die b { display: block; }
.base-die b { margin-top: 9px; font-size: 8px; }
.xpu-die { margin-top: 18px; border-color: var(--ink); color: white; background: var(--ink); }
.term-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.term-grid button { min-height: 130px; padding: 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); text-align: left; }
.term-grid button:nth-child(4n) { border-right: 0; }
.term-grid button:nth-last-child(-n+4) { border-bottom: 0; }
.term-grid button:hover { background: var(--orange-soft); }
.term-grid strong { display: block; margin-bottom: 12px; color: var(--orange); font-size: 11px; }
.term-grid span { color: var(--muted); font-size: 9px; line-height: 1.55; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0; }
.filter-pills button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: transparent; font-size: 8px; font-weight: 700; }
.filter-pills button:hover, .filter-pills button.active { border-color: var(--ink); color: white; background: var(--ink); }
.paper-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.paper-card { min-height: 330px; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); background: var(--card); }
.paper-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 500 8px/1 var(--mono); }
.paper-card h2 { margin: 26px 0 5px; font: 500 24px/1.2 var(--numeric); letter-spacing: -.025em; }
.paper-card > small { color: var(--muted-2); font-size: 8px; }
.paper-card > p { color: var(--muted); font-size: 10px; line-height: 1.65; }
.memory-fingerprint { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: auto 0 15px; }
.memory-fingerprint span { display: flex; gap: 7px; align-items: center; padding: 8px; background: #eae7df; color: var(--muted); font-size: 8px; }
.memory-fingerprint i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font: 600 7px/1 var(--mono); font-style: normal; }
.paper-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.paper-actions label, .dialog-footer label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; }
input[type="checkbox"] { accent-color: var(--orange); }

.product-principle { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--ink); color: white; }
.product-principle > div { min-height: 235px; padding: 25px; border-right: 1px solid #404440; }
.product-principle > div:last-child { border-right: 0; }
.product-principle span { color: var(--orange); font: 600 8px/1 var(--mono); }
.product-principle strong { display: block; margin: 31px 0 15px; font-size: 19px; font-weight: 500; line-height: 1.35; }
.product-principle p { margin: 0; color: #b6b8b2; font-size: 10px; line-height: 1.65; }
.hypothesis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hypothesis-card { min-height: 365px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--line); color: var(--ink); background: var(--card); text-align: left; transition: .16s ease; }
.hypothesis-card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.hypothesis-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.hypothesis-top > span { color: var(--orange); font: 600 9px/1 var(--mono); }
.hypothesis-card > small { margin-top: 27px; color: var(--muted-2); font: 600 8px/1 var(--mono); }
.hypothesis-card h2 { margin: 8px 0 5px; font-size: 23px; font-weight: 500; }
.hypothesis-card h3 { min-height: 34px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.hypothesis-card > p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.score-summary { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: auto; padding-top: 15px; border-top: 1px solid #e7e3da; }
.score-summary > span:first-child { color: var(--muted-2); font: 600 7px/1 var(--mono); }
.score-summary > strong { color: var(--orange); font: 500 18px/1 var(--numeric); }
.score-summary .score-dots { grid-column: 1 / -1; }
.score-dots { display: flex; gap: 4px; }
.score-dots i { width: 18px; height: 3px; background: #d8d4ca; }
.score-dots i.on { background: var(--orange); }

.simulator { border: 1px solid var(--line); background: var(--card); }
.simulator-head { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: stretch; border-bottom: 1px solid var(--line); }
.simulator-head > div:first-child { padding: 26px; }
.simulator-head span { color: var(--orange); font: 600 8px/1 var(--mono); }
.simulator-head h2 { margin: 10px 0 6px; font-size: 22px; font-weight: 500; }
.simulator-head p { margin: 0; color: var(--muted); font-size: 9px; }
.sim-output { display: grid; align-content: center; justify-items: center; border-left: 1px solid var(--line); background: #e9e6de; }
.sim-output strong { margin: 10px 0 4px; font: 500 49px/1 var(--numeric); }
.sim-output small { color: var(--muted); font-size: 8px; }
.positive { color: var(--teal) !important; }.negative { color: var(--danger) !important; }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; padding: 9px 26px; }
.control { padding: 16px 0; border-bottom: 1px solid #e7e3da; }
.control span { display: flex; justify-content: space-between; margin-bottom: 11px; color: var(--muted); font-size: 9px; }
.control b { color: var(--orange); font: 600 10px/1 var(--numeric); }
input[type="range"] { width: 100%; height: 3px; appearance: none; background: #d3cfc5; accent-color: var(--orange); }
input[type="range"]::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; border-radius: 50%; background: var(--ink); cursor: grab; }
.sim-explain { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #eae7df; }
.sim-explain > div { padding: 19px; border-right: 1px solid var(--line); }
.sim-explain > div:nth-child(3) { border: 0; }
.sim-explain span { color: var(--muted-2); font: 600 7px/1 var(--mono); }
.sim-explain strong { display: block; margin-top: 8px; font: 500 25px/1 var(--numeric); }
.sim-explain p { margin: 7px 0 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.sim-explain .sim-verdict { grid-column: 1 / -1; margin: 0; padding: 13px 19px; border-top: 1px solid var(--line); color: var(--ink); background: var(--orange-soft); font-size: 9px; font-weight: 700; }

.portfolio-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.portfolio-column { min-height: 370px; padding: 15px; border: 1px solid var(--line); background: #e9e6de; }
.portfolio-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.portfolio-title > span { max-width: 150px; color: var(--muted); font-size: 7px; text-align: right; }
.portfolio-column > button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 9px; padding: 17px; border: 1px solid var(--line); background: var(--card); text-align: left; }
.portfolio-column > button:hover { border-color: var(--orange); }
.portfolio-column > button small { color: var(--orange); font: 600 7px/1 var(--mono); }
.portfolio-column > button strong { margin: 12px 0 5px; font-size: 12px; }
.portfolio-column > button span { color: var(--muted); font-size: 8px; line-height: 1.45; }
.execution-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.execution-grid article { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.execution-grid article:nth-child(2n) { border-right: 0; }
.execution-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.execution-grid span { color: var(--orange); font: 600 8px/1 var(--mono); }
.execution-grid h3 { margin: 25px 0 8px; font-size: 15px; }
.execution-grid p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.execution-grid strong { display: block; margin-top: 17px; padding-top: 12px; border-top: 1px solid #e7e3da; color: var(--teal); font-size: 8px; }

.answer-framework { display: flex; align-items: stretch; border: 1px solid var(--line); background: var(--card); }
.answer-framework div { flex: 1; min-height: 130px; padding: 19px; }
.answer-framework i { align-self: center; color: var(--orange); font-style: normal; }
.answer-framework span { color: var(--orange); font: 600 8px/1 var(--mono); }
.answer-framework strong { display: block; margin: 26px 0 7px; font-size: 12px; }
.answer-framework small { color: var(--muted); font-size: 8px; }
.interview-toolbar { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; }
.interview-toolbar > span { margin-right: auto; color: var(--muted); font: 600 8px/1 var(--mono); }
.question-list { border-top: 1px solid var(--line); }
.question-card { border-bottom: 1px solid var(--line); transition: background .16s ease; }
.question-card.selected { background: var(--orange-soft); }
.question-toggle { width: 100%; display: grid; grid-template-columns: 65px 1fr 30px; align-items: center; gap: 10px; padding: 25px 5px; border: 0; background: transparent; text-align: left; }
.question-toggle > span { color: var(--orange); font: 500 22px/1 var(--numeric); }
.question-toggle h2 { margin: 9px 0 0; font-size: 16px; font-weight: 500; }
.question-toggle > i { color: var(--muted); font-size: 18px; font-style: normal; transition: transform .16s ease; }
.question-card.open .question-toggle > i { transform: rotate(45deg); }
.question-answer { display: none; margin: 0 0 25px 65px; padding: 22px; border: 1px solid var(--line); background: var(--card); }
.question-card.open .question-answer { display: block; }
.question-answer > div > span { color: var(--orange); font: 600 8px/1 var(--mono); }
.question-answer p, .question-answer li { color: var(--muted); font-size: 10px; line-height: 1.7; }
.question-answer .short-answer p { color: var(--ink); font-size: 12px; }
.long-answer { margin-top: 22px; }
.question-list[data-depth="short"] .long-answer { display: none; }
.followups { margin: 20px 0; padding-top: 15px; border-top: 1px solid #e7e3da; }
.followups > span { display: block; margin-bottom: 9px; }
.followups button { margin: 0 5px 5px 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: #eeeae2; font-size: 8px; }

.evidence-legend { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; border: 1px solid var(--line); background: var(--card); }
.evidence-legend > div { min-height: 105px; padding: 17px; border-right: 1px solid var(--line); }
.evidence-legend > div:last-child { border-right: 0; }
.evidence-legend p { color: var(--muted); font-size: 8px; line-height: 1.45; }
.source-table .wrap-cell { min-width: 310px; white-space: normal; line-height: 1.5; }
.external-link { color: var(--orange); text-underline-offset: 3px; }
.empty-state { display: grid; place-items: center; min-height: 120px; padding: 20px; color: var(--muted); font-size: 10px; }
.empty-state.wide { grid-column: 1 / -1; border: 1px solid var(--line); }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(18, 21, 19, .68); backdrop-filter: blur(4px); }
.detail-dialog { width: min(900px, calc(100vw - 28px)); max-height: 88vh; overflow: auto; padding: 38px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 35px 120px rgba(0,0,0,.35); }
.dialog-close { position: sticky; z-index: 3; top: -25px; float: right; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); font-size: 20px; }
.dialog-kicker { margin-bottom: 14px; color: var(--orange); font: 600 8px/1 var(--mono); letter-spacing: .12em; }
#dialog-content > h1, .hypothesis-dialog-head h1 { margin: 0; font-size: clamp(28px, 4vw, 43px); font-weight: 500; letter-spacing: -.04em; }
.dialog-subtitle, .hypothesis-dialog-head p { color: var(--muted); font-size: 10px; }
.dialog-title-row { display: flex; align-items: center; gap: 18px; }
.dialog-title-row h1 { margin: 0; font-size: 40px; font-weight: 500; }
.dialog-title-row p { margin: 5px 0; color: var(--muted); font-size: 10px; }
.confidence-line { display: flex; gap: 9px; align-items: center; margin: 20px 0; }
.confidence-line > span:last-child { color: var(--muted); font-size: 8px; }
.dialog-lead { margin: 22px 0; padding: 22px; border-left: 3px solid var(--orange); background: #ece9e1; }
.dialog-lead > span, .easy-explain > span, .technical-explain > span { color: var(--orange); font: 600 8px/1 var(--mono); }
.dialog-lead > strong, .easy-explain > strong { display: block; margin: 13px 0; font-size: 17px; font-weight: 500; line-height: 1.55; }
.dialog-lead p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.dialog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dialog-grid section { min-height: 150px; padding: 19px; border: 1px solid var(--line); }
#dialog-content h3 { margin: 0 0 12px; color: var(--orange); font: 600 8px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
#dialog-content ul, #dialog-content ol { margin: 0; padding-left: 18px; }
#dialog-content li, #dialog-content section p { color: var(--muted); font-size: 9px; line-height: 1.65; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud span { padding: 6px 8px; border-radius: 3px; color: #26615d; background: var(--teal-soft); font-size: 8px; }
.tag-cloud.orange span { color: #8c3b1d; background: var(--orange-soft); }
.move-box { margin: 10px 0 17px; padding: 20px; color: white; background: var(--ink); }
.move-box li { color: #c6c8c1 !important; }
.level-switch { display: flex; gap: 4px; margin: 24px 0; padding: 4px; border: 1px solid var(--line); background: #ece9e1; }
.level-switch button { flex: 1; padding: 9px; border: 0; color: var(--muted); background: transparent; font-size: 9px; }
.level-switch button.active { color: white; background: var(--ink); }
.easy-explain, .technical-explain { min-height: 230px; padding: 27px; border: 1px solid var(--line); background: #f1eee7; }
.analogy { margin-top: 25px; padding: 18px; border-left: 2px solid var(--teal); background: var(--teal-soft); }
.analogy i { color: var(--teal); font: 700 8px/1 var(--mono); font-style: normal; }
.analogy p { margin-bottom: 0; color: #285b57 !important; font-size: 11px !important; }
.technical-explain ol { margin-top: 17px !important; }
.memory-table { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 23px; border: 1px solid var(--line); }
.memory-table div { min-height: 90px; padding: 13px; border-right: 1px solid var(--line); background: var(--card); }
.memory-table div:last-child { border: 0; }
.memory-table span { color: var(--muted-2); font: 600 7px/1 var(--mono); }
.memory-table strong { display: block; margin-top: 20px; font-size: 9px; line-height: 1.4; }
.strategy-explain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.strategy-explain > div { min-height: 155px; padding: 20px; border: 1px solid var(--line); }
.strategy-explain > div.accent { border-color: var(--orange); background: var(--orange-soft); }
.strategy-explain > div.warning { border-color: #dbb1aa; background: #f2e4e1; }
.strategy-explain span { color: var(--orange); font: 600 8px/1 var(--mono); }
.strategy-explain strong { display: block; margin-top: 22px; font-size: 13px; line-height: 1.5; }
.dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.hypothesis-dialog-head .badge { margin-right: 5px; }
.hypothesis-dialog-head h1 { margin-top: 16px; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.score-grid > div { padding: 15px; border-right: 1px solid var(--line); }
.score-grid > div:last-child { border: 0; }
.score-grid span:first-child { display: block; margin-bottom: 12px; color: var(--muted); font-size: 8px; }
.score-grid b { display: block; margin-top: 7px; font: 500 13px/1 var(--numeric); }
.risk-gate { display: grid; grid-template-columns: 1fr 1.4fr; margin: 10px 0 18px; border: 1px solid var(--line); }
.risk-gate > div { padding: 19px; }
.risk-gate > div:first-child { border-right: 1px solid var(--line); background: #f2e4e1; }
.risk-gate > div:last-child { background: var(--teal-soft); }

.search-dialog { width: min(680px, calc(100vw - 24px)); max-height: 76vh; margin-top: 10vh; padding: 0; overflow: hidden; border: 1px solid #454945; background: var(--ink); color: white; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.search-box { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; padding: 18px; border-bottom: 1px solid #3d413d; }
.search-box input { width: 100%; border: 0; outline: 0; color: white; background: transparent; font-size: 14px; }
.search-results { max-height: 58vh; overflow-y: auto; padding: 8px; }
.search-results > button { width: 100%; display: grid; grid-template-columns: 68px 1fr 20px; gap: 12px; align-items: start; padding: 13px; border: 0; border-radius: 4px; color: white; background: transparent; text-align: left; }
.search-results > button:hover { background: #2b2f2c; }
.search-results > button > span { color: var(--orange); font: 600 7px/1 var(--mono); }
.search-results strong { font-size: 11px; }
.search-results p { margin: 5px 0 0; overflow: hidden; color: #aeb0aa; font-size: 8px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.search-results i { color: var(--muted-2); font-style: normal; }
.mobile-backdrop { display: none; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; transform: translateY(20px); padding: 10px 13px; border-radius: 4px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; font-size: 9px; transition: .2s ease; }
.toast.visible { transform: none; opacity: 1; }

/* Readability pass: keep the editorial hierarchy while making Korean body copy comfortable to scan. */
.nav-button { padding-block: 9px; font-size: 13px; line-height: 1.35; }
.nav-group-title,
.nav-button span:first-child,
.progress-card span { font-size: 9px; }
.progress-card p,
.disclaimer { font-size: 11px; line-height: 1.65; }

.page-kicker,
.eyebrow,
.section-head span,
.reasoning-flow span,
.signal-meta,
.impact-line span,
.customer-type,
.decision-flow span,
.paper-top,
.product-principle span,
.hypothesis-top > span,
.hypothesis-card > small,
.simulator-head span,
.execution-grid span,
.answer-framework span,
.interview-toolbar > span,
.question-answer > div > span,
.dialog-kicker,
.dialog-lead > span,
.easy-explain > span,
.technical-explain > span,
#dialog-content h3,
.analogy i,
.strategy-explain span { font-size: 10px; }

.page-head p,
.hero-copy p,
.arch-copy p { font-size: 14px; line-height: 1.78; }

.insight-strip p,
.signal-card p,
.daily-card p,
.callout p,
.timeline-content > p,
.customer-card > p,
.term-grid span,
.paper-card > p,
.product-principle p,
.hypothesis-card h3,
.hypothesis-card > p,
.execution-grid p { font-size: 13px; line-height: 1.72; }

.section-head p,
.section-head > a,
.reasoning-flow small,
.impact-line strong,
.decision-flow p,
.account-graph span,
.paper-card > small,
.memory-fingerprint span,
.paper-actions label,
.dialog-footer label,
.simulator-head p,
.sim-output small,
.control span,
.sim-explain p,
.sim-explain .sim-verdict,
.portfolio-title > span,
.portfolio-column > button span,
.execution-grid strong,
.answer-framework small,
.followups button,
.evidence-legend p,
.empty-state,
.search-results p,
.toast { font-size: 11px; line-height: 1.6; }

.reasoning-flow strong,
.account-graph strong,
.portfolio-column > button strong,
.answer-framework strong { font-size: 14px; }

.signal-card h3 { font-size: 16px; }
.customer-products i,
.filter-pills button,
.tag-cloud span { font-size: 10px; }
.badge { min-height: 23px; padding: 5px 8px; font-size: 9px; }
.source-chip { padding: 6px 8px; font-size: 10px; }
.source-chip span { font-size: 8px; }
.primary-button,
.text-button,
.outline-button,
.level-switch button { font-size: 12px; }
.search-field input,
.filter-bar select { font-size: 13px; }
.result-count span,
.score-summary > span:first-child,
.sim-explain span,
.portfolio-column > button small,
.memory-table span,
.score-grid span:first-child,
.search-results > button > span { font-size: 9px; }

.data-table { font-size: 12px; line-height: 1.55; }
.data-table th { font-size: 10px; }
.data-table td { padding-block: 15px; }
.account-graph small { font-size: 9px; }
.dram-die,
.base-die,
.xpu-die { font-size: 11px; }
.base-die b { font-size: 10px; }
.term-grid strong { font-size: 13px; }
.memory-fingerprint i { font-size: 9px; }
.control b { font-size: 12px; }
.portfolio-column > button strong { line-height: 1.4; }
.question-toggle h2 { font-size: 18px; line-height: 1.5; }
.question-answer p,
.question-answer li { font-size: 14px; line-height: 1.78; }
.question-answer .short-answer p { font-size: 15px; }

.dialog-subtitle,
.hypothesis-dialog-head p,
.dialog-title-row p { font-size: 13px; line-height: 1.65; }
.confidence-line > span:last-child { font-size: 11px; }
.dialog-lead p,
#dialog-content li,
#dialog-content section p { font-size: 13px; line-height: 1.75; }
.tag-cloud span { line-height: 1.45; }
.analogy p { font-size: 14px !important; line-height: 1.75; }
.memory-table strong { font-size: 12px; line-height: 1.55; }
.strategy-explain strong { font-size: 15px; line-height: 1.65; }
.search-results strong { font-size: 13px; }

@media (max-width: 1180px) {
  .customer-grid, .hypothesis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasoning-flow { grid-template-columns: repeat(3, 1fr); }
  .reasoning-flow article:nth-child(3) { border-right: 0; }
  .reasoning-flow article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .reasoning-flow article:nth-child(3)::after { display: none; }
  .data-status { display: none; }
  .account-graph { grid-template-columns: 1fr; }
  .account-graph > i { text-align: center; transform: rotate(90deg); }
}

@media (max-width: 860px) {
  .app-shell { display: block; }
  .topbar { height: 64px; padding: 0 14px; gap: 10px; }
  .mobile-menu { display: block; }
  .brand { min-width: 0; margin-right: auto; }
  .brand small { display: none; }
  .topbar > .mode-switch { display: none; }
  .search-trigger { min-width: 38px; width: 38px; padding: 9px; font-size: 0; }
  .search-trigger kbd { display: none; }
  .sidebar { position: fixed; z-index: 70; top: 0; left: 0; width: 270px; height: 100vh; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 20px 0 70px rgba(0,0,0,.2); }
  .sidebar.open { transform: translateX(0); }
  .mobile-backdrop.open { position: fixed; z-index: 60; inset: 0; display: block; background: rgba(0,0,0,.45); }
  main { padding: 29px 16px 60px; }
  .page-head { grid-template-columns: 1fr; margin-bottom: 23px; }
  .page-index { display: none; }
  .page-head h1 { font-size: 30px; }
  .hero-card, .architecture-hero { grid-template-columns: 1fr; }
  .hero-orbit { min-height: 330px; }
  .insight-strip, .product-principle, .portfolio-board, .evidence-legend { grid-template-columns: 1fr; }
  .insight-strip article, .product-principle > div, .evidence-legend > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .insight-strip article:last-child, .product-principle > div:last-child, .evidence-legend > div:last-child { border-bottom: 0; }
  .split-grid, .paper-grid, .customer-grid, .hypothesis-grid, .dialog-grid, .strategy-explain { grid-template-columns: 1fr; }
  .daily-card { position: static; }
  .decision-flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .decision-flow article:not(:last-child)::after { display: none; }
  .term-grid { grid-template-columns: repeat(2, 1fr); }
  .term-grid button:nth-child(2n) { border-right: 0; }
  .term-grid button:nth-child(4n) { border-right: 0; }
  .term-grid button:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .term-grid button:nth-last-child(-n+2) { border-bottom: 0; }
  .simulator-head { grid-template-columns: 1fr; }
  .sim-output { min-height: 150px; border-top: 1px solid var(--line); border-left: 0; }
  .answer-framework { display: grid; grid-template-columns: repeat(5, 1fr); overflow-x: auto; }
  .answer-framework div { min-width: 130px; }
  .answer-framework i { display: none; }
}

@media (max-width: 560px) {
  .hero-copy { padding: 30px 23px; }
  .hero-copy h2 { font-size: 28px; }
  .reasoning-flow { grid-template-columns: 1fr 1fr; }
  .reasoning-flow article:nth-child(2n) { border-right: 0; }
  .reasoning-flow article:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .reasoning-flow article:nth-child(3) { border-right: 1px solid var(--line); }
  .reasoning-flow article::after { display: none; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .search-field { grid-column: 1 / -1; }
  .result-count { min-height: 42px; }
  .decision-flow, .control-grid, .execution-grid, .sim-explain, .score-grid, .risk-gate { grid-template-columns: 1fr; }
  .execution-grid article { border-right: 0; }
  .execution-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .sim-explain > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .memory-stack { padding: 30px 24px; }
  .memory-table { grid-template-columns: 1fr 1fr; }
  .memory-table div:nth-child(2) { border-right: 0; }
  .memory-table div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .risk-gate > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-dialog { padding: 25px 18px; }
  .dialog-footer { align-items: flex-start; flex-direction: column; }
  .question-toggle { grid-template-columns: 45px 1fr 20px; }
  .question-answer { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
