:root {
  /* COREBLAZER Game Fest official palette — cyan reserved for chrome, not dense data */
  --ink: #111316;
  --navy: #111316;
  --accent: #00b9ee;
  --accent-deep: #00a8d7;
  --accent-soft: #e6f8fd;
  --bg: #f3f4f2;
  --paper: #f3f4f2;
  --muted: #687079;
  --line: #d5d9da;
  --panel: #ffffff;
  --warn: #b45309;
  --danger: #b91c1c;
  --ok: #0f9f6e;
  --olive: #5f6b3a;
  --olive-soft: #eef1e4;
  --slate: #4a5568;
  --slate-soft: #eef0f3;
  --sand: #8a6a2f;
  --sand-soft: #f5efe4;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  --font-display: 'Noto Sans SC', Inter, system-ui, sans-serif;
  --font-body: 'Noto Sans SC', Inter, system-ui, sans-serif;
  --radius: 12px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.app-shell { max-width: var(--max); margin: 0 auto; padding: 0 20px 64px; }
.top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 -20px 28px; padding: 12px 20px 14px;
  background: var(--navy); color: #fff;
  border-bottom: 3px solid var(--accent);
  flex-wrap: wrap; position: sticky; top: 0; z-index: 20;
}
.brand-mark {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
  font-size: 0.88rem; color: #fff; max-width: 14rem; line-height: 1.25;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav button, .btn {
  font-family: var(--font-body); border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 0.92rem;
}
.topbar .nav button {
  background: transparent; border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.88);
}
.topbar .nav button.active,
.topbar .nav button:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.topbar .btn {
  background: transparent; border-color: rgba(255,255,255,0.28); color: #fff;
}
.topbar .btn:hover { border-color: var(--accent); color: #fff; }
.nav button.active, .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; }
.btn:hover, .nav button:hover { border-color: var(--accent); }
.hero {
  padding: 28px 0 36px; display: grid; gap: 14px; animation: rise 0.6s ease both;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.03em; margin: 0; color: var(--ink); font-weight: 700;
}
.hero p { margin: 0; max-width: 36rem; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 28px;
}
.kpi {
  background: var(--panel); border-top: 3px solid var(--accent); padding: 16px 14px 14px;
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}
.kpi:nth-child(2) { animation-delay: 0.05s; }
.kpi:nth-child(3) { animation-delay: 0.1s; }
.kpi:nth-child(4) { animation-delay: 0.15s; }
.kpi .label {
  color: var(--accent-deep); font-size: 0.72rem; margin-bottom: 6px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.kpi .value { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.02em; font-weight: 700; }
.kpi .sub { color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.charts {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; margin-bottom: 12px;
}
.chart-block {
  background: var(--panel); border-radius: 12px; padding: 14px 14px 10px;
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.chart-block h3 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 650; margin: 0 0 10px;
}
.chart-wrap { position: relative; height: 240px; }
.view { display: none; animation: rise 0.35s ease both; }
.view.active { display: block; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
input[type=search], select {
  border: 1px solid var(--line); background: var(--panel); border-radius: 8px;
  padding: 9px 12px; font: inherit; color: var(--ink); min-width: 180px;
}
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--panel); }
.seg button { border: 0; background: transparent; padding: 8px 14px; cursor: pointer; font: inherit; color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; font-weight: 600; }
.table-wrap {
  overflow: auto; border: 1px solid var(--line);
  background: var(--panel); border-radius: 12px; box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 560; font-size: 0.78rem; text-transform: none; letter-spacing: 0.01em; }
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.sortable:hover { color: var(--ink); }
th.sortable.is-active { color: var(--ink); font-weight: 700; }
th.sortable .sort-ind { opacity: 0.45; margin-left: 2px; font-size: 0.7rem; }
tr:hover td { background: rgba(17, 19, 22, 0.025); }
.inv-name {
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.inv-name:hover { color: var(--olive); text-decoration: underline; }
.status-pill {
  display: inline-block; max-width: 11rem; padding: 3px 9px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600; line-height: 1.35; white-space: pre-line;
  background: var(--slate-soft); color: var(--slate);
}
.status-pill.st-done { background: #e4f3ea; color: #1b6b45; }
.status-pill.st-active { background: var(--sand-soft); color: var(--sand); }
.status-pill.st-progress { background: #ece8f4; color: #5b4a7a; }
.status-pill.st-exit { background: #f6e8e4; color: #8f3d2c; }
.status-pill.st-dead { background: #ececec; color: #6b7280; }
.invest-table .mono.amount-em { font-weight: 650; color: var(--ink); }
.invest-table td:nth-child(2) { min-width: 5.5rem; }
.loan-table-wrap { border-top: 3px solid #0c4a6e; }
.loan-table th { background: #f0f7fb; }
.loan-table .loan-name { font-weight: 700; color: var(--ink); }
.loan-table .amount-em { font-weight: 650; font-variant-numeric: tabular-nums; }
.loan-table .loan-ok { color: #1b6b45; font-weight: 600; }
.loan-table .loan-warn { color: var(--warn); font-weight: 600; }
.loan-table .loan-danger { color: var(--danger); font-weight: 600; }
.loan-table td.terms { max-width: 200px; white-space: pre-wrap; line-height: 1.4; font-size: 0.84rem; color: var(--muted); }
.loan-table td .conversion-cell { max-width: 240px; }
.loan-table .conv-pill {
  display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
  background: #eef1f3; color: #475569;
}
.loan-table .conv-pill.done { background: #e4f3ea; color: #1b6b45; }
.loan-table .conv-pill.likely { background: #fff7ed; color: #b45309; }
.loan-table .conv-pill.possible { background: #e0f2fe; color: #0369a1; }
.loan-table .conv-pill.convertible { background: #e0f2fe; color: #0c4a6e; }
.loan-table .conv-pill.none { background: #f3f4f2; color: #687079; }
.loan-table .conv-note {
  margin-top: 5px; font-size: 0.78rem; line-height: 1.4; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.loan-table tr.loan-converted td { background: #f7fbf8; }
.loan-table tr.loan-converted:hover td { background: #eef8f1; }
.studio-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.studio-list {
  border-right: 1px solid var(--line); padding-right: 12px;
  max-height: calc(100vh - 220px); overflow: auto;
}
.studio-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 10px 8px; cursor: pointer; border-radius: 8px; font: inherit; color: var(--ink);
  border-left: 3px solid transparent;
}
.studio-item:hover { background: #f4f5f3; }
.studio-item.active {
  background: #f4f5f3; border-left-color: var(--ink); color: var(--ink);
}
.studio-item .code { font-family: var(--font-display); font-weight: 700; }
.studio-item .sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.studio-group { margin-bottom: 14px; }
.studio-group-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 650;
  color: var(--muted); padding: 6px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
  position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.grade-summary {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 18px;
}
.grade-chip {
  border-top: 3px solid var(--line); padding: 12px 12px 10px; cursor: pointer;
  background: var(--panel); border-radius: 0 0 10px 10px; box-shadow: var(--shadow);
}
.grade-chip .lab { font-size: 0.72rem; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.grade-chip .num { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 700; }
.grade-chip.active, .grade-chip:hover { border-top-color: var(--accent); }
.grade-chip.g-A { border-top-color: #0f9f6e; }
.grade-chip.g-B { border-top-color: #eab308; }
.grade-chip.g-E { border-top-color: #f59e0b; }
.grade-chip.g-F { border-top-color: #ef4444; }
.grade-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.6rem; padding: 1px 7px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-display);
}
.grade-pill.g-A { background: #d1fae5; color: #0f9f6e; }
.grade-pill.g-B { background: #fef3c7; color: #a16207; }
.grade-pill.g-E { background: #ffedd5; color: #c2410c; }
.grade-pill.g-F { background: #fee2e2; color: #b91c1c; }
.grade-pill.g-未分级 { background: #eef1f3; color: #475569; }
.grade-banner {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  padding: 16px 18px; margin-bottom: 14px;
  background: linear-gradient(135deg, #f7f8f4 0%, #fff 55%);
  border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 10px;
}
.grade-banner h2 { margin: 0; font-family: var(--font-display); letter-spacing: -0.03em; font-size: 1.55rem; }
.grade-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.meta-tag {
  display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 0.78rem;
  background: #eef1f3; color: var(--ink);
}
.meta-tag.em { background: var(--olive-soft); color: var(--olive); font-weight: 650; }
.meta-tag.warn { background: var(--sand-soft); color: var(--sand); font-weight: 650; }
.studio-highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px;
}
.studio-hl {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 12px 10px; border-top: 3px solid var(--ink);
}
.studio-hl .lab { font-size: 0.72rem; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.studio-hl .val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-top: 4px; line-height: 1.3; }
.studio-hl.hl-ok { border-top-color: #1b6b45; }
.studio-hl.hl-warn { border-top-color: var(--sand); }
.studio-hl.hl-mute { border-top-color: var(--line); }
.detail h2 { font-family: var(--font-display); margin: 0 0 8px; letter-spacing: -0.03em; }
.detail-meta { color: var(--muted); margin-bottom: 18px; }
.detail-meta .status-inline { margin-right: 6px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.section-title { font-family: var(--font-display); font-size: 1rem; margin: 0 0 10px; }
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; font-size: 0.9rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.dl dd.em { font-weight: 700; color: var(--ink); }
.meta-bar { color: var(--muted); font-size: 0.8rem; margin-top: 28px; }
.hidden-file { display: none; }
.toolbar-note { color: var(--muted); font-size: 0.85rem; margin-left: auto; }
.pipeline-table td.terms {
  max-width: 280px; white-space: pre-wrap; line-height: 1.45; font-size: 0.84rem; color: var(--muted);
}
.pipeline-table .game-name { font-weight: 700; color: var(--ink); }
.pipeline-table .studio-link { color: var(--muted); text-decoration: none; }
.pipeline-table .studio-link:hover { color: var(--ink); text-decoration: underline; }
.pipeline-table .group-pill {
  display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.78rem; font-weight: 650;
  background: #ececec; color: #4b5563;
}
.pipeline-table .group-pill.shipped { background: #e4f3ea; color: #1b6b45; }
.pipeline-table .group-pill.upcoming { background: var(--sand-soft); color: var(--sand); }
.chart-block.tone-navy { border-top-color: #0c4a6e; }
.chart-block.tone-sky { border-top-color: #38bdf8; }
.chart-block.tone-blue { border-top-color: #0284c7; }
.page-alerts { margin: 0 0 18px; display: grid; gap: 12px; }
.alert-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.alert-kpi {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 12px 10px; border-top: 3px solid #0284c7; box-shadow: var(--shadow);
}
.alert-kpi.danger { border-top-color: #b91c1c; }
.alert-kpi.warn { border-top-color: #b45309; }
.alert-kpi.ok { border-top-color: #0f9f6e; }
.alert-kpi.info { border-top-color: #0c4a6e; }
.alert-kpi .lab { font-size: 0.72rem; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.alert-kpi .num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-top: 4px; line-height: 1.25; }
.alert-kpi .sub { color: var(--muted); font-size: 0.78rem; margin-top: 4px; line-height: 1.35; }
.alert-panels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.alert-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow);
}
.alert-panel-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 10px 14px; background: #f0f7fb; border-bottom: 1px solid var(--line);
}
.alert-panel-head h3 { margin: 0; font-size: 0.92rem; font-family: var(--font-display); font-weight: 650; }
.alert-panel-head .tag { font-size: 0.75rem; color: var(--muted); }
.alert-panel.danger .alert-panel-head { background: #fef2f2; }
.alert-panel.warn .alert-panel-head { background: #fff7ed; }
.alert-panel ul { list-style: none; margin: 0; padding: 6px 0; max-height: 220px; overflow: auto; }
.alert-panel li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: start;
  padding: 8px 14px; border-bottom: 1px solid #f0f1ef; font-size: 0.86rem;
}
.alert-panel li:last-child { border-bottom: 0; }
.alert-panel li .title { font-weight: 650; color: var(--ink); }
.alert-panel li .meta { color: var(--muted); font-size: 0.78rem; margin-top: 2px; line-height: 1.35; }
.alert-panel li .side { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.alert-panel li .side.danger { color: #b91c1c; }
.alert-panel li .side.warn { color: #b45309; }
.alert-panel .empty { padding: 14px; color: var(--muted); font-size: 0.86rem; }
.alert-panel a { color: inherit; text-decoration: none; }
.alert-panel a:hover .title { color: #0284c7; text-decoration: underline; }
@media (max-width: 960px) {
  .alert-kpis, .alert-panels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .alert-kpis, .alert-panels { grid-template-columns: 1fr; }
}
.finance-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.finance-list { border-right: 1px solid var(--line); padding-right: 12px; }
.finance-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 12px 10px; cursor: pointer; border-radius: 8px; font: inherit; color: var(--ink);
  margin-bottom: 4px;
}
.finance-item:hover, .finance-item.active { background: #f4f5f3; color: var(--ink); }
.finance-item .code { font-family: var(--font-display); font-weight: 650; }
.finance-item .meta { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.finance-detail h2 { font-family: var(--font-display); margin: 0 0 6px; letter-spacing: -0.03em; }
.health-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.health-pill.surplus, .health-pill.healthy { background: #d1fae5; color: var(--ok); }
.health-pill.ok, .health-pill.stable { background: var(--olive-soft); color: var(--olive); }
.health-pill.watch { background: #fef3c7; color: var(--warn); }
.health-pill.critical { background: #fee2e2; color: var(--danger); }
.health-pill.unknown { background: #eef1f3; color: var(--muted); }
.finance-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 20px;
}
.finance-charts {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-bottom: 18px;
}
.finance-charts .chart-wrap { height: 220px; }
.structure-block {
  margin: 8px 0 36px; padding-top: 8px;
  animation: rise 0.55s ease both;
}
.structure-head h2 {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 6px; letter-spacing: -0.03em;
}
.structure-head p { margin: 0 0 16px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; max-width: 52rem; }
.structure-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px;
}
.structure-charts { margin-bottom: 8px; }
.structure-tables {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin: 40px 0 8px; padding-top: 28px; border-top: 1px solid var(--line);
}
.structure-tables-head { margin-bottom: 4px; }
.structure-tables-head h2 {
  font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 4px; letter-spacing: -0.02em;
}
.structure-tables-head p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.struct-card {
  background: var(--panel); border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.struct-card-head {
  padding: 12px 14px 10px; border-bottom: 1px solid var(--line);
  background: #f7f8f4;
}
.struct-card-head h3 {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 650;
  margin: 0 0 2px; letter-spacing: -0.02em; color: var(--ink);
  white-space: normal; overflow: visible;
}
.struct-card-head p {
  margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.4;
}
.struct-card-body { overflow-x: auto; }
.structure-table {
  font-size: 0.8rem; width: 100%; border-collapse: collapse; min-width: 560px;
}
.structure-table.compact { min-width: 520px; }
.structure-table th, .structure-table td {
  padding: 8px 10px; border-bottom: 1px solid var(--line);
  white-space: nowrap; line-height: 1.35;
}
.structure-table thead th {
  position: sticky; top: 0; background: #f3f4f2; color: var(--muted);
  font-weight: 600; font-size: 0.72rem; z-index: 1;
  border-bottom: 1px solid var(--line); vertical-align: bottom;
}
.structure-table thead tr.group-row th {
  text-align: center; color: var(--ink); font-size: 0.78rem; letter-spacing: 0.04em;
  background: #eef0ec; border-bottom: 1px solid var(--line); padding-top: 8px; padding-bottom: 8px;
  font-weight: 700;
}
.structure-table thead tr.group-row th.year-head {
  background: #111316; color: #fff; border-right: 3px solid #0c4a6e;
  vertical-align: middle; min-width: 4.2rem;
}
.structure-table thead tr.group-row th.dom {
  background: #0c4a6e; color: #fff; border-right: 3px solid #0284c7;
}
.structure-table thead tr.group-row th.over {
  background: #0369a1; color: #fff;
}
.structure-table thead tr.sub-row th { top: 2.15rem; background: #f7f8f4; }
.structure-table thead tr.sub-row th.dom-col { background: #dbeafe; color: #0c4a6e; }
.structure-table thead tr.sub-row th.over-col { background: #e0f2fe; color: #0369a1; }
.structure-table thead tr.sub-row th.dom-start {
  border-left: 3px solid #0c4a6e;
}
.structure-table thead tr.sub-row th.over-start {
  border-left: 3px solid #0284c7;
}
.structure-table td.num, .structure-table th.num {
  text-align: right; font-variant-numeric: tabular-nums;
}
.structure-table td.year-cell {
  font-weight: 700; color: #111316; position: sticky; left: 0; z-index: 2;
  background: #f3f4f2; border-right: 3px solid #0c4a6e; min-width: 4.2rem;
}
.structure-table tbody tr:nth-child(even) td { background: #fbfbfa; }
.structure-table tbody tr:nth-child(even) td.year-cell { background: #e8eaed; }
.structure-table tbody tr:hover td { background: #f3f4f2; }
.structure-table tbody tr:hover td.year-cell { background: #dde1e6; }
.structure-table.scope-split td.dom-col { background: #eff6ff; }
.structure-table.scope-split td.over-col { background: #f0f9ff; }
.structure-table.scope-split tbody tr:nth-child(even) td.dom-col { background: #dbeafe; }
.structure-table.scope-split tbody tr:nth-child(even) td.over-col { background: #e0f2fe; }
.structure-table.scope-split td.dom-start { border-left: 3px solid #0c4a6e; }
.structure-table.scope-split td.over-start { border-left: 3px solid #0284c7; }
.structure-table.scope-split tbody tr:hover td.dom-col { background: #bfdbfe; }
.structure-table.scope-split tbody tr:hover td.over-col { background: #bae6fd; }
.structure-table.scope-split tbody tr:hover td.year-cell { background: #dde1e6; }
.structure-table tr.total td {
  font-weight: 700; border-top: 2px solid var(--ink); background: #eef0ec;
}
.structure-table.scope-split tr.total td.year-cell { background: #d1d5db; }
.structure-table.scope-split tr.total td.dom-col { background: #bfdbfe; }
.structure-table.scope-split tr.total td.over-col { background: #7dd3fc; }
.mono { font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .finance-layout, .finance-kpis, .finance-charts, .structure-kpis, .studio-highlights { grid-template-columns: 1fr 1fr; }
  .finance-list { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
}
@media (max-width: 960px) {
  .kpi-row, .charts, .studio-layout, .detail-grid, .grade-summary { grid-template-columns: 1fr; }
  .studio-list { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; max-height: 280px; }
  .studio-highlights { grid-template-columns: 1fr 1fr; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
