/* =========================================================
   衡策 · 国有资本投资决策智能体
   设计语言：投行研报 / 宣纸 / 墨绿 / 铜色 / 细线
   ========================================================= */
:root {
  --paper: #f2eee4;
  --paper-2: #eae4d6;
  --card: #fbf8f0;
  --card-soft: rgba(251, 248, 240, 0.64);
  --ink: #18211c;
  --ink-2: #26332c;
  --muted: #6e746c;
  --muted-2: #93978e;
  --line: rgba(24, 33, 28, 0.14);
  --line-strong: rgba(24, 33, 28, 0.28);
  --green: #1d5b47;
  --green-2: #2f7a61;
  --copper: #a86235;
  --copper-2: #c07a47;
  --amber: #a5751f;
  --red: #a23a2c;
  --cream: #f7f1e3;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 0 rgba(24, 33, 28, 0.05), 0 18px 50px rgba(35, 39, 30, 0.05);
  --topbar-h: 68px;
  --rail-w: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(168, 98, 53, 0.22); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
svg { display: block; }
small { font-size: 0.78em; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 18% 12%, rgba(168, 98, 53, 0.045), transparent 26%),
    radial-gradient(circle at 82% 6%, rgba(29, 91, 71, 0.05), transparent 30%),
    radial-gradient(circle at 55% 100%, rgba(168, 98, 53, 0.04), transparent 34%),
    repeating-linear-gradient(0deg, rgba(24, 33, 28, 0.018) 0, rgba(24, 33, 28, 0.018) 1px, transparent 1px, transparent 4px);
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 34px 0 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.9);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 280px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(247, 241, 227, 0.18);
}
.brand-mark.small { width: 28px; height: 28px; font-size: 17px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 20px; letter-spacing: 3px; font-weight: 700; }
.brand-text small { font-size: 8px; color: var(--muted); letter-spacing: 1.35px; transform: scale(0.96); transform-origin: left; white-space: nowrap; }
.topbar-center {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.3px;
  flex: 1;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(47, 122, 97, 0.12); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.topbar-sep { color: var(--line-strong); }
.topbar-right { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.data-time { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.user-chip i {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line);
  font-style: normal; font-size: 11px; color: var(--green);
}

/* ---------- rail ---------- */
.rail {
  position: fixed;
  top: var(--topbar-h); bottom: 0; left: 0;
  width: var(--rail-w);
  z-index: 90;
  display: flex; flex-direction: column; align-items: center;
  padding: 34px 0 26px;
  border-right: 1px solid var(--line);
  background: rgba(242, 238, 228, 0.5);
}
.rail-line { position: absolute; top: 36px; bottom: 112px; left: 50%; width: 1px; background: var(--line); }
.rail nav { display: flex; flex-direction: column; gap: 22px; width: 100%; align-items: center; position: relative; }
.rail-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted-2);
  transition: color 0.25s;
  padding: 4px 0;
}
.rail-link span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.5px; }
.rail-link b { font-size: 11px; font-weight: 500; letter-spacing: 1px; }
.rail-link::after {
  content: ""; position: absolute; right: -17px; top: 50%; width: 0; height: 1px;
  background: var(--copper); transition: width 0.3s;
}
.rail-link:hover { color: var(--ink); }
.rail-link.active { color: var(--ink); }
.rail-link.active span { color: var(--copper); }
.rail-link.active::after { width: 14px; }
.rail-foot {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 8px; color: var(--muted); letter-spacing: 1px;
}
.rail-foot span { font-family: var(--serif); font-size: 15px; color: var(--green); letter-spacing: 0; }

/* ---------- main / typography ---------- */
main {
  position: relative;
  z-index: 2;
  margin-left: var(--rail-w);
  padding-top: var(--topbar-h);
}
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 94px 54px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--topbar-h) + 10px);
}
.hero { border-top: 0; padding-top: 54px; min-height: calc(100vh - var(--topbar-h)); display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.6px;
  color: var(--muted); text-transform: uppercase;
}
.eyebrow i { height: 1px; width: 42px; background: var(--line-strong); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(52px, 5.7vw, 88px); line-height: 1.1; letter-spacing: -2.5px; margin: 26px 0 28px; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -1.2px; margin-top: 18px; }
h2 span { position: relative; color: var(--green); white-space: nowrap; }
h2 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: rgba(168, 98, 53, 0.14); z-index: -1; }
.hero-num { color: var(--copper); font-style: italic; font-weight: 500; letter-spacing: -4px; }
.mark {
  position: relative; display: inline-block; color: var(--green);
}
.mark::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 15px;
  background: linear-gradient(90deg, rgba(168, 98, 53, 0.22), rgba(168, 98, 53, 0.06));
  z-index: -1; transform: rotate(-0.6deg);
}
.lede { max-width: 590px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(380px, 0.8fr); gap: 68px; align-items: end; }
.hero-copy { padding-bottom: 10px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 1px;
  font-size: 13px; letter-spacing: 0.5px;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn span { font-size: 15px; line-height: 1; }
.btn-solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-solid:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29, 91, 71, 0.18); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }
.btn-block { width: 100%; }
.hero-meta { display: flex; gap: 44px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta b { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -0.5px; }
.hero-meta b small { font-size: 11px; color: var(--muted); margin-left: 2px; }
.hero-meta span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.4px; }

/* ---------- verdict card ---------- */
.verdict-card {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 26px 26px 0;
  box-shadow: 14px 14px 0 rgba(168, 98, 53, 0.12);
  overflow: hidden;
}
.verdict-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(192, 122, 71, 0.18), transparent 42%);
  pointer-events: none;
}
.verdict-head { display: flex; align-items: flex-start; gap: 13px; position: relative; }
.seal {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 241, 227, 0.45);
  color: var(--cream); font-family: var(--serif); font-size: 21px;
  background: rgba(247, 241, 227, 0.04);
}
.verdict-head p { font-size: 12.5px; letter-spacing: 0.3px; }
.verdict-head small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.8px; color: rgba(247, 241, 227, 0.42); }
.verdict-live {
  margin-left: auto; display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 8px; color: rgba(247, 241, 227, 0.55); letter-spacing: 1px;
}
.verdict-live i { width: 5px; height: 5px; border-radius: 50%; background: #8bc6a7; box-shadow: 0 0 0 3px rgba(139, 198, 167, 0.12); }
.verdict-body { position: relative; padding: 22px 0 20px; border-bottom: 1px solid rgba(247, 241, 227, 0.12); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; line-height: 1; letter-spacing: 0.6px;
  padding: 6px 10px; border: 1px solid currentColor;
}
.tag-amber { color: #e0b267; background: rgba(224, 178, 103, 0.08); }
.tag-green { color: #8bc6a7; background: rgba(139, 198, 167, 0.08); }
.tag-red { color: #e69580; background: rgba(230, 149, 128, 0.08); }
.tag-ink { color: var(--muted); border-color: var(--line); background: var(--paper-2); }
.verdict-score { display: flex; align-items: baseline; gap: 3px; margin: 15px 0 4px; }
.verdict-score strong { font-family: var(--serif); font-size: 62px; line-height: 0.9; font-weight: 500; letter-spacing: -2px; }
.verdict-score span { font-size: 20px; color: rgba(247, 241, 227, 0.72); }
.verdict-score small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.8px; color: rgba(247, 241, 227, 0.42); margin-top: 7px; }
.verdict-body p { font-size: 11.5px; line-height: 1.8; color: rgba(247, 241, 227, 0.68); }
.verdict-body p b { color: var(--cream); font-weight: 500; }
.verdict-cond { position: relative; padding: 18px 0; border-bottom: 1px solid rgba(247, 241, 227, 0.12); }
.verdict-cond > span { font-size: 9.5px; letter-spacing: 1.2px; color: rgba(247, 241, 227, 0.42); }
.verdict-cond ul { list-style: none; margin-top: 9px; }
.verdict-cond li { display: flex; gap: 9px; align-items: baseline; font-size: 11px; line-height: 1.65; color: rgba(247, 241, 227, 0.78); padding: 4px 0; }
.verdict-cond li i { font-family: var(--mono); font-size: 8px; font-style: normal; color: var(--copper-2); }
.confidence { padding: 16px 0 14px; }
.confidence > div:first-child { display: flex; justify-content: space-between; font-size: 9.5px; color: rgba(247, 241, 227, 0.48); }
.confidence b { color: var(--cream); font-family: var(--mono); font-size: 10px; font-weight: 400; }
.confidence-bar { height: 2px; background: rgba(247, 241, 227, 0.12); margin-top: 8px; overflow: hidden; }
.confidence-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--copper-2), #d8b184); }
.verdict-foot {
  margin: 0 -26px; padding: 13px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: rgba(247, 241, 227, 0.05);
  font-size: 9px; color: rgba(247, 241, 227, 0.45);
}
.verdict-foot button { color: var(--cream); font-size: 10px; border-bottom: 1px solid rgba(247, 241, 227, 0.35); padding-bottom: 1px; }
.verdict-foot button span { color: var(--copper-2); }

/* ---------- kpi ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 72px; }
.kpi {
  position: relative; overflow: hidden;
  background: var(--card-soft);
  border: 1px solid var(--line);
  padding: 19px 20px 16px;
}
.kpi-top { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--muted); letter-spacing: 0.5px; }
.kpi-icon { font-style: normal; font-family: var(--serif); font-size: 15px; color: var(--copper); }
.kpi-value { font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1.15; letter-spacing: -1.8px; margin-top: 9px; }
.kpi-value small { font-family: var(--sans); font-size: 10px; letter-spacing: 0; color: var(--muted); margin-left: 5px; }
.kpi-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 9.5px; color: var(--muted-2); margin-top: 6px; }
.kpi-foot .up { color: var(--green-2); }
.kpi-foot .warn { color: var(--copper); }
.spark { width: 100%; height: 27px; margin-top: 12px; overflow: visible; }
.spark path { fill: none; stroke: rgba(29, 91, 71, 0.42); stroke-width: 1.2; }
.kpi-dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.kpi-dark .kpi-top, .kpi-dark .kpi-value small, .kpi-dark .kpi-foot { color: rgba(247, 241, 227, 0.48); }
.kpi-dark .kpi-icon { color: var(--copper-2); }
.kpi-dark .kpi-foot .up { color: #9bceb4; }
.kpi-dark .spark path { stroke: rgba(192, 122, 71, 0.8); }

/* ---------- section heads / cards ---------- */
.sec-head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-desc { color: var(--muted); font-size: 12.5px; line-height: 1.9; text-align: right; padding-bottom: 6px; }
.card { background: var(--card-soft); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 16px; letter-spacing: 0.2px; font-weight: 600; }
.card-head h3 small { font-family: var(--sans); font-size: 9px; color: var(--muted-2); letter-spacing: 0.8px; margin-left: 6px; }
.count { font-family: var(--mono); font-size: 9px; letter-spacing: 0.6px; color: var(--muted); border: 1px solid var(--line); padding: 4px 7px; }
.count-red { color: var(--red); border-color: rgba(162, 58, 44, 0.3); }
.unit { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.6px; color: var(--muted-2); }

/* ---------- portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.8fr); gap: 16px; }
.map-card { padding-bottom: 14px; }
.legend { display: flex; gap: 13px; font-size: 9px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 5px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green-2); }
.dot-amber { background: var(--copper-2); }
.dot-red { background: var(--red); }
.scatter { width: 100%; aspect-ratio: 1.72 / 1; min-height: 310px; padding: 6px 12px 0; }
.scatter svg { width: 100%; height: 100%; overflow: visible; }
.scatter .grid-line { stroke: rgba(24, 33, 28, 0.09); stroke-width: 1; }
.scatter .axis-line { stroke: rgba(24, 33, 28, 0.34); stroke-width: 1; }
.scatter .quadrant-label { font-family: var(--sans); font-size: 8px; fill: rgba(24, 33, 28, 0.36); letter-spacing: 1px; }
.scatter .axis-label { font-family: var(--sans); font-size: 8px; fill: var(--muted-2); letter-spacing: 0.5px; }
.scatter .bubble { cursor: pointer; transition: opacity 0.2s; }
.scatter .bubble circle { transition: r 0.25s, fill-opacity 0.25s, stroke-width 0.25s; }
.scatter .bubble:hover circle { fill-opacity: 0.28; stroke-width: 2; }
.scatter .bubble.dim { opacity: 0.34; }
.scatter .bubble text { font-family: var(--sans); font-size: 8px; fill: var(--ink); pointer-events: none; }
.scatter .bubble .bubble-code { font-family: var(--mono); font-size: 7px; fill: var(--muted); }
.axis-note { display: flex; justify-content: space-between; padding: 2px 22px 2px; font-size: 8px; color: var(--muted-2); letter-spacing: 0.6px; }
.list-card { display: flex; flex-direction: column; }
.project-list { flex: 1; }
.project-row {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 62px 54px;
  gap: 9px; align-items: center;
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(24, 33, 28, 0.08);
  position: relative;
  transition: background 0.2s, padding 0.2s;
}
.project-row:hover { background: rgba(24, 33, 28, 0.035); }
.project-row.active { background: rgba(29, 91, 71, 0.055); }
.project-row.active::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--copper); }
.project-row .p-code { font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); letter-spacing: 0.2px; }
.project-row .p-main { min-width: 0; }
.project-row .p-name { display: block; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-row .p-sub { display: block; font-size: 8.5px; color: var(--muted-2); margin-top: 2px; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-row .p-irr { text-align: right; font-family: var(--serif); font-size: 17px; line-height: 1; letter-spacing: -0.4px; }
.project-row .p-irr small { font-family: var(--sans); font-size: 7px; color: var(--muted-2); margin-left: 1px; }
.project-row .p-irr.bad { color: var(--red); }
.project-row .p-risk { justify-self: end; font-family: var(--mono); font-size: 8px; padding: 3px 6px; border: 1px solid var(--line); color: var(--muted); }
.project-row .p-risk.risk-c { color: var(--red); border-color: rgba(162, 58, 44, 0.28); }
.list-more { width: 100%; padding: 14px 18px; text-align: left; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); background: transparent; transition: color 0.2s; }
.list-more:hover { color: var(--copper); }
.list-more span { float: right; }

.stage-card { margin-top: 16px; padding: 0 24px 22px; }
.stage-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stage-head h3 { font-size: 16px; }
.stage-head h3 small { font-family: var(--mono); font-size: 8px; color: var(--muted-2); letter-spacing: 1px; margin-left: 7px; }
.stage-legend { font-size: 9px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.stage-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.stage-legend b { font-family: var(--mono); color: var(--ink); font-weight: 400; }
.stage-gate { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding-top: 24px; position: relative; }
.stage-gate::before { content: ""; position: absolute; left: 8%; right: 8%; top: 41px; height: 1px; background: linear-gradient(90deg, rgba(24,33,28,.14), rgba(24,33,28,.32), rgba(24,33,28,.14)); }
.stage-node { position: relative; text-align: center; padding: 0 8px; }
.stage-dot { width: 34px; height: 34px; margin: 0 auto; border: 1px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 13px; position: relative; z-index: 1; }
.stage-node.active .stage-dot { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(24, 33, 28, 0.06); }
.stage-node b { display: block; font-size: 10.5px; font-weight: 500; margin-top: 10px; letter-spacing: 0.4px; }
.stage-node span { display: block; font-size: 8px; color: var(--muted-2); letter-spacing: 0.3px; margin-top: 1px; }
.stage-node .stage-count { display: inline-block; margin-top: 7px; font-family: var(--mono); font-size: 8px; color: var(--copper); border-bottom: 1px solid rgba(168, 98, 53, 0.3); padding-bottom: 1px; }

/* ---------- sandbox ---------- */
.focus-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 18px; padding: 0 2px; }
.focus-head h3 { font-size: clamp(21px, 2.3vw, 29px); margin-top: 11px; letter-spacing: -0.4px; }
.focus-head p { font-size: 10.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0.2px; }
.focus-badges { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 3px; }
.focus-badges span { font-family: var(--mono); font-size: 8px; letter-spacing: 0.5px; padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); background: var(--card-soft); }
.focus-badges span.hot { color: var(--copper); border-color: rgba(168, 98, 53, 0.35); }

.sandbox-grid { display: grid; grid-template-columns: 278px minmax(0, 1.48fr) 350px; gap: 14px; align-items: start; }
.scenario-card { padding-bottom: 16px; }
.text-btn { font-size: 9.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.2s; }
.text-btn:hover { color: var(--copper); }
.preset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 14px 20px 6px; }
.preset { font-size: 9.5px; letter-spacing: 0.5px; padding: 7px 0; border: 1px solid var(--line); color: var(--muted); background: transparent; transition: all 0.2s; }
.preset:hover { border-color: var(--line-strong); color: var(--ink); }
.preset.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.slider-group { padding: 15px 20px 8px; border-top: 1px solid rgba(24, 33, 28, 0.07); margin-top: 8px; }
.slider-group label { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; color: var(--muted); letter-spacing: 0.3px; }
.slider-group output { font-family: var(--mono); font-size: 9.5px; color: var(--ink); }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 18px; background: transparent; margin-top: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: rgba(24, 33, 28, 0.16); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(24, 33, 28, 0.16); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 11px; height: 11px; margin-top: -4.5px; border-radius: 50%;
  background: var(--copper); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--copper);
}
input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; background: var(--copper); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--copper); }
.range-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 7px; color: var(--muted-2); margin-top: 1px; }
.scenario-note { margin: 12px 20px 0; padding: 11px 12px; background: rgba(168, 98, 53, 0.055); border-left: 2px solid rgba(168, 98, 53, 0.4); display: flex; gap: 8px; }
.scenario-note i { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 12px; line-height: 1.3; }
.scenario-note p { font-size: 8.5px; line-height: 1.65; color: var(--muted); }

.analysis-column { display: grid; gap: 14px; }
.gauge-card { padding: 16px 20px 14px; }
.gauge-wrap { position: relative; max-width: 320px; margin: 0 auto; }
.gauge-wrap svg { width: 100%; height: auto; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(24, 33, 28, 0.1); stroke-width: 10; stroke-linecap: butt; }
.gauge-threshold { fill: none; stroke: rgba(29, 91, 71, 0.28); stroke-width: 10; stroke-dasharray: 3 7; }
.gauge-value { fill: none; stroke: var(--copper); stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 0 999; transition: stroke-dasharray 0.5s ease, stroke 0.3s; }
#gauge-needle { transform-box: view-box; transform-origin: 120px 124px; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
#gauge-needle line { stroke: var(--ink); stroke-width: 1.5; }
#gauge-needle circle { fill: var(--ink); }
.gauge-tick { font-family: var(--mono); font-size: 7px; fill: var(--muted-2); }
.gauge-readout { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); text-align: center; }
.gauge-readout strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; letter-spacing: -1px; }
.gauge-readout strong small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 2px; }
.gauge-readout span { display: block; font-size: 8px; color: var(--muted-2); letter-spacing: 1px; margin-top: 4px; }
.gauge-meta { display: flex; justify-content: center; gap: 18px; border-top: 1px solid var(--line); margin-top: 3px; padding-top: 11px; font-size: 8.5px; color: var(--muted); }
.delta-up { color: var(--green-2); }
.delta-down { color: var(--red); }
.metrics-card { display: grid; grid-template-columns: repeat(3, 1fr); }
.metric { padding: 14px 16px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric > span { display: block; font-size: 8.5px; color: var(--muted); letter-spacing: 0.3px; }
.metric b { display: block; font-family: var(--serif); font-size: 27px; line-height: 1.2; font-weight: 500; margin-top: 4px; letter-spacing: -0.8px; }
.metric b small { font-family: var(--sans); font-size: 9px; color: var(--muted); margin-left: 2px; }
.metric em { display: block; font-style: normal; font-family: var(--mono); font-size: 7.5px; color: var(--muted-2); margin-top: 1px; }
.metric em.bad { color: var(--red); }
.metric em.good { color: var(--green-2); }
.cash-card { padding-bottom: 14px; }
.cashflow-chart { height: 146px; padding: 12px 18px 0; }
.cashflow-chart svg { width: 100%; height: 100%; }
.cash-legend { display: flex; gap: 14px; align-items: center; padding: 4px 20px 0; font-size: 8px; color: var(--muted-2); }
.cash-legend span { display: flex; align-items: center; gap: 5px; }
.cash-legend i { width: 8px; height: 2px; display: inline-block; }
.bar-base { background: rgba(24, 33, 28, 0.2); }
.bar-current { background: var(--copper); }
.cash-note { margin-left: auto; }

.ai-card { padding-bottom: 0; background: var(--ink); color: var(--cream); border-color: var(--ink); position: relative; overflow: hidden; }
.ai-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border: 1px solid rgba(247, 241, 227, 0.06); border-radius: 50%; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; position: relative; }
.ai-avatar { width: 32px; height: 32px; border: 1px solid rgba(247, 241, 227, 0.3); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: 0.5px; color: var(--copper-2); }
.ai-head h3 { font-size: 15px; }
.ai-head small { display: block; font-size: 8px; color: rgba(247, 241, 227, 0.38); letter-spacing: 0.4px; margin-top: 2px; }
.ai-pulse { margin-left: auto; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(247, 241, 227, 0.12); border-radius: 50%; }
.ai-pulse i { width: 5px; height: 5px; border-radius: 50%; background: #8bc6a7; animation: pulse 2.2s infinite; }
.ai-verdict { display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 13px; border-bottom: 1px solid rgba(247, 241, 227, 0.1); position: relative; }
.ai-verdict .tag { font-size: 9.5px; }
#ai-confidence { font-family: var(--mono); font-size: 8px; color: rgba(247, 241, 227, 0.42); }
.ai-memo { padding: 15px 20px 6px; min-height: 226px; position: relative; }
.ai-memo .memo-lead { font-size: 12px; line-height: 1.85; color: rgba(247, 241, 227, 0.78); }
.ai-memo .memo-lead b { color: var(--cream); font-weight: 500; }
.ai-memo ol { list-style: none; margin-top: 11px; display: flex; flex-direction: column; gap: 9px; }
.ai-memo li { display: grid; grid-template-columns: 17px 1fr; gap: 5px; font-size: 10px; line-height: 1.7; color: rgba(247, 241, 227, 0.56); }
.ai-memo li i { font-family: var(--mono); font-style: normal; font-size: 7.5px; color: var(--copper-2); padding-top: 2px; }
.ai-memo li b { color: rgba(247, 241, 227, 0.88); font-weight: 500; }
.ai-memo .memo-refresh { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-family: var(--mono); font-size: 7.5px; color: rgba(247, 241, 227, 0.32); letter-spacing: 0.4px; }
.ai-memo .memo-refresh i { width: 4px; height: 4px; border-radius: 50%; background: var(--copper-2); }
.ai-evidence { padding: 11px 20px 10px; border-top: 1px solid rgba(247, 241, 227, 0.1); display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.evidence-title { font-size: 8px; color: rgba(247, 241, 227, 0.35); letter-spacing: 0.7px; margin-right: 3px; }
.evidence-title b { font-family: var(--mono); color: var(--copper-2); font-weight: 400; }
.evidence-pill { font-size: 8px; padding: 4px 7px; border: 1px solid rgba(247, 241, 227, 0.15); color: rgba(247, 241, 227, 0.6); transition: all 0.2s; }
.evidence-pill:hover { border-color: var(--copper-2); color: var(--cream); }
.evidence-pill i { font-style: normal; color: var(--copper-2); margin-left: 2px; }
.ai-actions { display: grid; gap: 7px; padding: 7px 20px 0; }
.ai-card .btn-solid { background: var(--copper); border-color: var(--copper); color: #fff; }
.ai-card .btn-solid:hover { background: var(--copper-2); border-color: var(--copper-2); }
.ai-card .btn-line { border-color: rgba(247, 241, 227, 0.2); color: rgba(247, 241, 227, 0.72); }
.ai-card .btn-line:hover { border-color: var(--copper-2); color: var(--cream); }
.ai-card .btn { min-height: 39px; font-size: 10.5px; }
.ai-disclaimer { font-size: 7.5px; line-height: 1.6; color: rgba(247, 241, 227, 0.28); padding: 9px 20px 14px; }

/* ---------- risk ---------- */
.risk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 290px; gap: 14px; align-items: stretch; }
.audit-card { padding-bottom: 4px; }
.audit-list { padding: 4px 20px 0; }
.audit-row { display: grid; grid-template-columns: 17px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 8px 0; border-bottom: 1px solid rgba(24, 33, 28, 0.07); }
.audit-row:last-child { border-bottom: 0; }
.audit-mark { width: 14px; height: 14px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 8px; line-height: 1; margin-top: 2px; }
.audit-row.ok .audit-mark { color: var(--green-2); border-color: rgba(47, 122, 97, 0.4); }
.audit-row.warn .audit-mark { color: var(--copper); border-color: rgba(168, 98, 53, 0.4); }
.audit-row.risk .audit-mark { color: var(--red); border-color: rgba(162, 58, 44, 0.4); }
.audit-label { font-size: 10.5px; line-height: 1.5; }
.audit-note { display: block; font-size: 8.5px; color: var(--muted); line-height: 1.55; margin-top: 1px; }
.audit-state { font-family: var(--mono); font-size: 7.5px; padding-top: 3px; letter-spacing: 0.3px; }
.audit-row.ok .audit-state { color: var(--green-2); }
.audit-row.warn .audit-state { color: var(--copper); }
.audit-row.risk .audit-state { color: var(--red); }
.audit-more { margin: 10px 20px 12px; }
.tornado-card { padding-bottom: 12px; }
.tornado { padding: 15px 20px 0; }
.tornado-row { display: grid; grid-template-columns: 62px 1fr 30px; gap: 8px; align-items: center; margin-bottom: 11px; }
.tornado-label { font-size: 9px; color: var(--muted); }
.tornado-bars { position: relative; height: 13px; }
.tornado-bars::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line-strong); }
.tornado-bar { position: absolute; top: 2px; height: 9px; }
.tornado-bar.neg { right: 50%; background: rgba(162, 58, 44, 0.55); }
.tornado-bar.pos { left: 50%; background: rgba(29, 91, 71, 0.55); }
.tornado-val { font-family: var(--mono); font-size: 7.5px; color: var(--muted); text-align: right; }
.tornado-axis { display: flex; justify-content: space-between; margin: 2px 30px 0 70px; padding-top: 6px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.chart-note { padding: 8px 20px 8px; font-size: 8px; line-height: 1.65; color: var(--muted-2); }
.matrix-card { padding-bottom: 14px; }
.risk-matrix { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 53px); gap: 4px; padding: 16px 20px 8px; }
.matrix-cell { position: relative; border: 1px solid rgba(24, 33, 28, 0.08); background: rgba(29, 91, 71, 0.045); }
.matrix-cell.lvl-1 { background: rgba(29, 91, 71, 0.09); }
.matrix-cell.lvl-2 { background: rgba(168, 98, 53, 0.08); }
.matrix-cell.lvl-3 { background: rgba(162, 58, 44, 0.075); }
.matrix-cell .mdot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.matrix-cell .mdot.active { background: var(--copper); box-shadow: 0 0 0 1px var(--copper), 0 0 0 5px rgba(168, 98, 53, 0.12); }
.matrix-axis { display: flex; justify-content: space-between; padding: 0 20px; font-size: 7.5px; color: var(--muted-2); }
.matrix-legend { display: flex; gap: 10px; justify-content: flex-end; padding: 6px 20px 0; font-size: 8px; color: var(--muted-2); }
.matrix-legend span { display: flex; align-items: center; gap: 4px; }

/* ---------- minutes ---------- */
.minutes-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 14px; }
.timeline-card { padding-bottom: 10px; }
.timeline { padding: 8px 20px 4px; }
.tl-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid rgba(24, 33, 28, 0.07); position: relative; }
.tl-item:last-child { border-bottom: 0; }
.tl-date { font-family: var(--mono); font-size: 8px; color: var(--muted-2); padding-top: 3px; letter-spacing: 0.2px; }
.tl-date b { display: block; font-family: var(--serif); font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.2; }
.tl-main { padding-left: 12px; border-left: 1px solid var(--line); position: relative; }
.tl-main::before { content: ""; position: absolute; left: -2.5px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.tl-main b { display: block; font-size: 11px; font-weight: 500; }
.tl-main span { display: block; font-size: 8px; color: var(--muted-2); margin-top: 1px; }
.tl-result { font-size: 8.5px; padding-top: 2px; }
.tl-result.ok { color: var(--green-2); }
.tl-result.warn { color: var(--copper); }
.tl-result.risk { color: var(--red); }
.memo-card { padding: 24px 26px 18px; position: relative; background: var(--card); }
.memo-card::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(24, 33, 28, 0.07); pointer-events: none; }
.memo-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-bottom: 1px solid var(--line-strong); padding-bottom: 15px; position: relative; z-index: 1; }
.memo-no { font-family: var(--mono); font-size: 8px; color: var(--muted-2); letter-spacing: 0.8px; }
.memo-head h3 { font-size: 22px; margin-top: 5px; }
.memo-seal { width: 42px; height: 42px; border: 1px solid rgba(162, 58, 44, 0.55); color: var(--red); display: grid; place-items: center; font-size: 9px; letter-spacing: 1px; transform: rotate(6deg); font-family: var(--serif); }
.memo-text { position: relative; z-index: 1; padding: 14px 0 4px; font-size: 10px; line-height: 1.95; color: var(--muted); }
.memo-text p { margin-bottom: 8px; }
.memo-text b { color: var(--ink); font-weight: 500; }
.memo-text .memo-section { font-family: var(--serif); font-size: 12px; color: var(--ink); margin-top: 9px; margin-bottom: 2px; }
.memo-actions { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; position: relative; z-index: 1; }
.memo-actions .btn { min-height: 38px; font-size: 10px; padding: 0 15px; }
.memo-foot { font-size: 7.5px; color: var(--muted-2); margin-top: 9px; line-height: 1.6; position: relative; z-index: 1; }

/* ---------- footer ---------- */
.footer {
  max-width: 1440px; margin: 0 auto;
  padding: 28px 54px 42px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 8.5px; letter-spacing: 0.4px;
}
.footer-brand { display: flex; align-items: center; gap: 7px; color: var(--ink); margin-right: auto; }
.footer-brand strong { font-family: var(--serif); font-size: 14px; letter-spacing: 2px; }
.footer-brand span:last-child { color: var(--muted-2); font-size: 8px; letter-spacing: 0.6px; margin-left: 4px; }

/* ---------- toast / modal ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 300;
  transform: translate(-50%, 14px);
  background: var(--ink); color: var(--cream);
  font-size: 11.5px; padding: 12px 20px;
  border: 1px solid rgba(247, 241, 227, 0.16);
  box-shadow: 0 16px 40px rgba(24, 33, 28, 0.24);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  max-width: min(90vw, 560px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 22, 18, 0.55); backdrop-filter: blur(5px); }
.modal-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(880px, calc(100vw - 40px)); max-height: min(84vh, 780px); overflow: auto;
  background: var(--paper); border: 1px solid var(--line-strong);
  padding: 28px 30px 0; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}
.modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-bottom: 1px solid var(--line-strong); padding-bottom: 16px; }
.modal-head h3 { font-size: 27px; margin-top: 5px; }
.modal-close { font-family: var(--serif); font-size: 27px; line-height: 1; color: var(--muted); padding: 0 4px; }
.modal-close:hover { color: var(--red); }
.modal-sub { font-size: 10px; color: var(--muted); padding: 12px 0 16px; }
.evidence-list { display: grid; gap: 9px; }
.evidence-item { border: 1px solid var(--line); background: var(--card); padding: 14px 16px; position: relative; }
.evidence-item .ev-top { display: flex; gap: 9px; align-items: center; font-size: 8px; color: var(--muted-2); letter-spacing: 0.5px; }
.evidence-item .ev-type { color: var(--copper); border: 1px solid rgba(168, 98, 53, 0.3); padding: 2px 6px; }
.evidence-item h4 { font-family: var(--serif); font-size: 14px; font-weight: 600; margin: 7px 0 4px; line-height: 1.45; }
.evidence-item blockquote { font-size: 9.5px; line-height: 1.8; color: var(--muted); border-left: 2px solid rgba(168, 98, 53, 0.35); padding-left: 10px; margin-top: 6px; }
.evidence-item .ev-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 7.5px; color: var(--muted-2); margin-top: 8px; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 20px -30px 0; padding: 14px 30px; background: var(--paper-2); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 8px; color: var(--muted-2); }
.modal-foot .btn { min-height: 36px; font-size: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .section { padding-left: 38px; padding-right: 38px; }
  .hero-grid { gap: 40px; }
  .sandbox-grid { grid-template-columns: 250px minmax(0, 1fr) 330px; }
  .risk-grid { grid-template-columns: 1.2fr 1fr; }
  .matrix-card { grid-column: 1 / -1; }
  .risk-matrix { grid-template-rows: repeat(3, 58px); max-width: 460px; }
}
@media (max-width: 1140px) {
  :root { --rail-w: 0px; }
  .rail { display: none; }
  main { margin-left: 0; }
  .topbar-center { display: none; }
  .brand { min-width: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; align-items: start; }
  .verdict-card { max-width: 520px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .scatter { min-height: 360px; }
  .sandbox-grid { grid-template-columns: 270px minmax(0, 1fr); }
  .ai-card { grid-column: 1 / -1; }
  .ai-memo { min-height: 0; }
  .ai-actions { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .ai-disclaimer { padding-bottom: 14px; }
  .risk-grid { grid-template-columns: 1fr; }
  .matrix-card { grid-column: auto; }
  .minutes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 66px 20px; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-right .data-time, .topbar-right .topbar-sep { display: none; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 18px; }
  h1 { font-size: clamp(42px, 12vw, 64px); letter-spacing: -1.5px; }
  h2 { font-size: clamp(30px, 8vw, 42px); }
  .hero { padding-top: 38px; min-height: 0; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .hero-meta b { font-size: 22px; }
  .verdict-card { padding: 22px 20px 0; box-shadow: 8px 8px 0 rgba(168, 98, 53, 0.12); }
  .verdict-foot { margin: 0 -20px; padding: 12px 20px; }
  .kpi-row { margin-top: 46px; gap: 8px; }
  .kpi { padding: 15px 14px 13px; }
  .kpi-value { font-size: 32px; }
  .kpi-foot { flex-direction: column; gap: 1px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-desc { text-align: left; }
  .portfolio-grid { gap: 10px; }
  .scatter { aspect-ratio: auto; height: 310px; padding-left: 2px; padding-right: 2px; }
  .project-row { grid-template-columns: 34px minmax(0, 1fr) 54px 44px; padding: 12px 14px; }
  .stage-card { padding: 0 14px 18px; overflow-x: auto; }
  .stage-gate { min-width: 620px; }
  .focus-head { flex-direction: column; align-items: flex-start; }
  .focus-badges { justify-content: flex-start; }
  .sandbox-grid { grid-template-columns: 1fr; }
  .ai-card { grid-column: auto; }
  .ai-actions { grid-template-columns: 1fr; }
  .gauge-card { padding-left: 14px; padding-right: 14px; }
  .metrics-card { grid-template-columns: 1fr 1fr 1fr; }
  .metric { padding: 12px 11px; }
  .metric b { font-size: 23px; }
  .memo-card { padding: 20px 18px 16px; }
  .memo-head h3 { font-size: 18px; }
  .memo-actions { flex-direction: column; }
  .footer { padding: 24px 20px 36px; gap: 10px; }
  .footer-brand { width: 100%; }
  .modal-panel { padding: 22px 18px 0; }
  .modal-foot { margin: 20px -18px 0; padding: 12px 18px; }
  .modal-head h3 { font-size: 22px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .kpi-row { grid-template-columns: 1fr; }
  .verdict-score strong { font-size: 54px; }
  .focus-head h3 { font-size: 20px; }
  .tl-item { grid-template-columns: 55px 1fr auto; gap: 8px; }
  .evidence-item .ev-meta { flex-direction: column; gap: 2px; }
  .modal-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
