:root {
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bg: #eef4fb;
  --bg-soft: #f7fafd;
  --ink: #12314d;
  --ink-soft: #20486d;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-tint: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
  --border: rgba(26, 115, 232, 0.11);
  --border-strong: rgba(26, 115, 232, 0.18);
  --text: #16253d;
  --muted: #66748c;
  --shadow: 0 18px 48px rgba(31, 53, 96, 0.12);
  --shadow-soft: 0 14px 28px rgba(31, 53, 96, 0.08);
  --blue: #1a73e8;
  --green: #188038;
  --amber: #f9ab00;
  --red: #d93025;
  --teal: #0b9fa8;
  --blue-soft: #e8f0fe;
  --green-soft: #e6f4ea;
  --amber-soft: #fff4d6;
  --red-soft: #fce8e6;
  --teal-soft: #def5f6;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease: 220ms ease;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 14%, rgba(26, 115, 232, 0.12), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(15, 157, 88, 0.08), transparent 24%),
    radial-gradient(circle at 55% 100%, rgba(249, 171, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 46%, #edf3f9 100%);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(26, 115, 232, 0.16);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-weight: 700;
  transition: top var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.page-glow {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.5;
}

.page-glow-one {
  top: 64px;
  right: 8vw;
  width: 360px;
  height: 360px;
  background: rgba(26, 115, 232, 0.16);
}

.page-glow-two {
  left: -80px;
  bottom: 18vh;
  width: 280px;
  height: 280px;
  background: rgba(15, 157, 88, 0.14);
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.workspace-shell,
.sidebar-column,
.overview-bento {
  display: grid;
  gap: 18px;
}

.overview-bento {
  align-items: start;
}

.sidebar-column,
.dashboard-layout {
  min-width: 0;
}

.surface {
  position: relative;
  background: var(--surface-tint);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow:
    0 18px 40px rgba(20, 44, 73, 0.08),
    0 4px 12px rgba(20, 44, 73, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.topbar,
.control-rail,
.hero-panel,
.nav-panel,
.digest-panel,
.coverage-panel,
.metrics-panel,
.view-summary-card,
.chart-card,
.narrative-card,
.table-card,
.data-card,
.family-card,
.modal-panel,
.tab-strip {
  animation: riseIn 540ms var(--ease);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  position: sticky;
  top: 18px;
  z-index: 18;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.88)),
    radial-gradient(circle at top right, rgba(26, 115, 232, 0.12), transparent 32%);
}

.brand-stack {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.brandmark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.18), rgba(15, 157, 88, 0.12));
  border: 1px solid rgba(26, 115, 232, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brandmark img {
  width: 42px;
  height: 42px;
}

.brand-copy h1,
.hero-panel h2,
.section-head h3,
.section-head h4,
.modal-head h3 {
  margin: 0;
}

.brand-copy h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.subtitle,
.hero-subtitle,
.section-head p,
.auth-steps p,
.hero-score-footnote,
.field-label,
.status-pill span,
.file-item small,
.scope-chip small {
  color: var(--muted);
}

.subtitle {
  max-width: 62ch;
  margin: 10px 0 0;
  line-height: 1.7;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.08);
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}

.topbar-actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.version-chip,
.status-pill,
.coverage-card,
.metric-card,
.file-item,
.scope-chip,
.family-profile-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 115, 232, 0.09);
  box-shadow:
    0 12px 24px rgba(23, 45, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.version-chip {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.mode-chip[data-mode="admin"] {
  color: var(--green);
  background: rgba(230, 244, 234, 0.96);
  border-color: rgba(24, 128, 56, 0.14);
}

.mode-chip[data-mode="public"] {
  color: var(--amber);
  background: rgba(255, 244, 214, 0.94);
  border-color: rgba(249, 171, 0, 0.16);
}

.mode-chip[data-mode="disabled"] {
  color: var(--red);
  background: rgba(252, 232, 230, 0.96);
  border-color: rgba(217, 48, 37, 0.16);
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button:hover,
.icon-button:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.icon-button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), #4d8ff0);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.button-light {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.button-block {
  width: 100%;
}

.control-rail {
  display: grid;
  grid-template-columns: 2fr minmax(180px, 220px) 1.4fr;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.9)),
    radial-gradient(circle at top left, rgba(15, 157, 88, 0.08), transparent 26%);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  font-size: 13px;
}

.field-row {
  display: flex;
  gap: 12px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid rgba(26, 115, 232, 0.16);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

textarea {
  resize: vertical;
  min-height: 112px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(26, 115, 232, 0.42);
  box-shadow: 0 0 0 5px rgba(26, 115, 232, 0.08);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-pill {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
}

.status-pill strong {
  font-size: 15px;
}

.dashboard-layout {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 2.1fr minmax(280px, 360px);
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(15, 157, 88, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92)),
    linear-gradient(135deg, rgba(26, 115, 232, 0.06), transparent 36%);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-subtitle {
  margin: 0;
  max-width: 70ch;
  line-height: 1.7;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.hero-kpi {
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.92));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: 0 10px 18px rgba(21, 47, 79, 0.05);
  display: grid;
  gap: 6px;
}

.hero-kpi span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero-kpi strong {
  font-size: 28px;
  line-height: 1;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.hero-kpi small {
  color: var(--muted);
  line-height: 1.6;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-meta-pill {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(241, 247, 255, 0.96), rgba(235, 243, 255, 0.9));
  border: 1px solid rgba(26, 115, 232, 0.08);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-score-card {
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(160deg, #1a73e8, #0f9d58);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 22px 36px rgba(16, 91, 122, 0.24);
}

.hero-score-label {
  font-size: 14px;
  opacity: 0.86;
}

.hero-score-value,
.metric-value,
.coverage-value,
.family-score {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.hero-score-value {
  font-size: clamp(52px, 7vw, 86px);
  line-height: 0.95;
  font-weight: 700;
}

.hero-score-caption {
  font-size: 20px;
  font-weight: 700;
}

.hero-score-footnote {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.nav-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)),
    radial-gradient(circle at top left, rgba(26, 115, 232, 0.08), transparent 30%);
}

.digest-panel,
.coverage-panel,
.metrics-panel {
  padding: 24px;
}

.digest-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
    radial-gradient(circle at top right, rgba(15, 157, 88, 0.08), transparent 28%);
}

.coverage-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
    radial-gradient(circle at bottom left, rgba(249, 171, 0, 0.08), transparent 30%);
}

.metrics-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(26, 115, 232, 0.08), transparent 28%);
}

.quick-nav-grid,
.signal-grid {
  display: grid;
  gap: 14px;
}

.quick-nav-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-panel,
.digest-panel,
.coverage-panel,
.metrics-panel,
.view-summary-card,
.view-panel {
  scroll-margin-top: 118px;
}

.nav-card,
.digest-card,
.metric-card-button {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.nav-card,
.digest-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(26, 115, 232, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  box-shadow: 0 12px 24px rgba(23, 45, 74, 0.05);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.nav-card::after,
.digest-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.nav-card[data-tone="blue"]::after,
.digest-card[data-tone="blue"]::after {
  background: var(--blue);
}

.nav-card[data-tone="green"]::after,
.digest-card[data-tone="green"]::after {
  background: var(--green);
}

.nav-card[data-tone="amber"]::after,
.digest-card[data-tone="amber"]::after {
  background: var(--amber);
}

.nav-card[data-tone="red"]::after,
.digest-card[data-tone="red"]::after {
  background: var(--red);
}

.nav-card[data-tone="teal"]::after,
.digest-card[data-tone="teal"]::after {
  background: var(--teal);
}

.nav-card:hover,
.digest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 53, 96, 0.12);
  border-color: rgba(26, 115, 232, 0.18);
}

.nav-card.active,
.digest-card.active {
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.2);
  box-shadow: 0 18px 34px rgba(26, 115, 232, 0.14);
}

.nav-card.active {
  background:
    linear-gradient(180deg, rgba(232, 240, 254, 0.98), rgba(246, 250, 255, 0.96));
}

.digest-card.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.96));
}

.nav-card-top,
.digest-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.nav-card-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-card-state,
.digest-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.09);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-card strong,
.digest-top h3 {
  margin: 14px 0 0;
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.nav-card-status {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.nav-card p,
.digest-meta {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.digest-value {
  margin-top: 18px;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.coverage-grid,
.stats-grid,
.family-grid {
  display: grid;
  gap: 16px;
}

.coverage-grid {
  align-content: start;
}

.coverage-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.coverage-card,
.metric-card,
.family-profile-card {
  padding: 20px;
}

.coverage-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94));
}

.coverage-card::after,
.metric-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  opacity: 0.9;
}

.coverage-card[data-tone="blue"]::after,
.metric-card[data-tone="blue"]::after {
  background: var(--blue);
}

.coverage-card[data-tone="blue"],
.metric-card[data-tone="blue"],
.detail-card[data-tone="blue"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(236, 244, 255, 0.94));
}

.coverage-card[data-tone="green"]::after,
.metric-card[data-tone="green"]::after {
  background: var(--green);
}

.coverage-card[data-tone="green"],
.metric-card[data-tone="green"],
.detail-card[data-tone="green"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(236, 247, 241, 0.94));
}

.coverage-card[data-tone="amber"]::after,
.metric-card[data-tone="amber"]::after {
  background: var(--amber);
}

.coverage-card[data-tone="amber"],
.metric-card[data-tone="amber"],
.detail-card[data-tone="amber"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 229, 0.94));
}

.coverage-card[data-tone="red"]::after,
.metric-card[data-tone="red"]::after {
  background: var(--red);
}

.coverage-card[data-tone="red"],
.metric-card[data-tone="red"],
.detail-card[data-tone="red"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(253, 239, 238, 0.94));
}

.coverage-card[data-tone="teal"]::after,
.metric-card[data-tone="teal"]::after {
  background: var(--teal);
}

.coverage-card[data-tone="teal"],
.metric-card[data-tone="teal"],
.detail-card[data-tone="teal"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(231, 247, 248, 0.94));
}

.coverage-label,
.metric-label,
.family-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.coverage-value,
.metric-value,
.family-score {
  font-size: 34px;
  font-weight: 700;
  margin-top: 12px;
}

.coverage-meta,
.metric-meta,
.family-meta {
  margin-top: 10px;
  line-height: 1.6;
  color: var(--muted);
  font-size: 13px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.94));
}

.metric-card-button {
  border: 1px solid rgba(26, 115, 232, 0.08);
}

.metric-card-button:active,
.nav-card:active,
.digest-card:active,
.tab-button:active,
.button:active,
.icon-button:active {
  transform: translateY(0);
}

.coverage-card,
.metric-card,
.detail-card,
.narrative-pill,
.nav-card,
.digest-card,
.family-profile-card,
.file-item,
.scope-chip,
.profile-row {
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.coverage-card:hover,
.metric-card:hover,
.detail-card:hover,
.narrative-pill:hover,
.nav-card:hover,
.digest-card:hover,
.family-profile-card:hover,
.file-item:hover,
.scope-chip:hover,
.profile-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 53, 96, 0.12);
  border-color: rgba(26, 115, 232, 0.18);
}

.metric-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.metric-badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.metric-badge.up {
  background: var(--green-soft);
  color: var(--green);
}

.metric-badge.down {
  background: var(--red-soft);
  color: var(--red);
}

.metric-badge.flat {
  background: var(--blue-soft);
  color: var(--blue);
}

.metric-subline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 115, 232, 0.09);
  border-radius: 16px;
}

.metric-subline span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.metric-subline strong {
  margin-top: 4px;
  display: block;
  font-size: 16px;
}

.tab-strip {
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.9));
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.tab-button.active {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(26, 115, 232, 0.12);
  box-shadow: 0 10px 22px rgba(26, 115, 232, 0.14);
}

.button:focus-visible,
.icon-button:focus-visible,
.tab-button:focus-visible,
.nav-card:focus-visible,
.digest-card:focus-visible,
.metric-card-button:focus-visible,
.skip-link:focus-visible,
.brandmark:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.92),
    0 0 0 6px rgba(26, 115, 232, 0.18);
}

.view-panel {
  display: none;
}

.view-summary-card {
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(15, 157, 88, 0.08), transparent 28%);
}

.view-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.view-summary-head h3 {
  margin: 4px 0 0;
  font-size: 26px;
}

.view-summary-head p {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.7;
}

.view-summary-state {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.view-summary-state[data-tone="green"] {
  background: var(--green-soft);
  color: var(--green);
}

.view-summary-state[data-tone="amber"] {
  background: var(--amber-soft);
  color: #b06c00;
}

.view-summary-state[data-tone="red"] {
  background: var(--red-soft);
  color: var(--red);
}

.view-summary-state[data-tone="teal"] {
  background: var(--teal-soft);
  color: var(--teal);
}

.summary-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.summary-chip {
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.92));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: 0 10px 20px rgba(20, 44, 73, 0.04);
}

.summary-chip span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.summary-chip strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.view-panel.active {
  display: grid;
  gap: 18px;
  animation: riseIn 320ms var(--ease);
}

.panel-grid {
  display: grid;
  gap: 18px;
}

.panel-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card,
.narrative-card,
.table-card,
.data-card,
.family-card,
.modal-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.chart-card {
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.95)),
    radial-gradient(circle at top right, rgba(26, 115, 232, 0.08), transparent 28%);
}

.chart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(249, 171, 0, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 32%);
}

.chart-card > * {
  position: relative;
  z-index: 1;
}

.chart-frame {
  position: relative;
  height: clamp(280px, 34vw, 360px);
  margin-top: 8px;
  border-radius: 22px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(242, 247, 255, 0.94));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.chart-card canvas {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  margin-top: 0;
  display: block;
}

.chart-hidden {
  visibility: hidden;
}

.chart-empty {
  position: absolute;
  inset: 110px 24px 24px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px dashed rgba(26, 115, 232, 0.2);
  background:
    linear-gradient(180deg, rgba(249, 251, 255, 0.9), rgba(243, 248, 255, 0.94));
  color: var(--muted);
  text-align: center;
  padding: 20px;
  line-height: 1.7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-head h3,
.section-head h4 {
  font-size: 24px;
  margin-top: 4px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head.compact h3,
.section-head.compact h4 {
  font-size: 22px;
}

.section-head p {
  margin: 0;
  max-width: 42ch;
  line-height: 1.7;
  font-size: 14px;
}

.narrative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.narrative-pill {
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(244, 248, 255, 0.92));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: 0 12px 24px rgba(20, 44, 73, 0.05);
}

.detail-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.92));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: 0 12px 22px rgba(20, 44, 73, 0.04);
}

.detail-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.detail-card[data-tone="blue"]::after {
  background: var(--blue);
}

.detail-card[data-tone="green"]::after {
  background: var(--green);
}

.detail-card[data-tone="amber"]::after {
  background: var(--amber);
}

.detail-card[data-tone="red"]::after {
  background: var(--red);
}

.detail-card[data-tone="teal"]::after {
  background: var(--teal);
}

.detail-label {
  font-size: 13px;
  color: var(--muted);
}

.detail-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 700;
}

.detail-value span {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--muted);
}

.detail-meta,
.detail-hint {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 13px;
}

.detail-hint {
  margin-top: 6px;
}

.narrative-pill strong {
  display: block;
  font-size: 28px;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  margin-top: 10px;
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(245, 249, 255, 0.92));
  border: 1px solid rgba(26, 115, 232, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(26, 115, 232, 0.08);
  text-align: left;
  font-size: 14px;
}

th {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(240, 246, 255, 0.76);
  position: sticky;
  top: 0;
  z-index: 1;
}

tbody tr:hover {
  background: rgba(26, 115, 232, 0.03);
}

tbody tr:nth-child(even) {
  background: rgba(248, 251, 255, 0.62);
}

.file-list,
.scope-list {
  display: grid;
  gap: 12px;
}

.file-item,
.scope-chip {
  padding: 14px 16px;
  overflow: hidden;
}

.file-item code {
  display: block;
  margin-top: 6px;
  white-space: normal;
  word-break: break-word;
  color: var(--text);
}

.scope-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.scope-chip {
  background: rgba(247, 250, 255, 0.96);
}

.scope-missing {
  background: var(--red-soft);
  color: var(--red);
}

.family-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.family-profile-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.family-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.family-score {
  font-size: 56px;
  line-height: 0.95;
}

.family-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.family-kpi {
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.92);
}

.family-kpi span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.family-kpi strong {
  margin-top: 6px;
  display: block;
  font-size: 18px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(22, 37, 61, 0.96);
  color: #fff;
  box-shadow: 0 18px 40px rgba(22, 37, 61, 0.28);
  z-index: 40;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  width: min(1160px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 30px;
  background: rgba(250, 252, 255, 0.98);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
}

.modal-dialog-narrow {
  width: min(620px, 100%);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.modal-body {
  position: relative;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(26, 115, 232, 0.08);
  color: var(--blue);
  font-size: 24px;
  cursor: pointer;
}

.form-stack,
.auth-actions {
  display: grid;
  gap: 14px;
}

.existing-list {
  display: grid;
  gap: 12px;
}

.profile-row {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 115, 232, 0.1);
  box-shadow: var(--shadow-soft);
}

.profile-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.profile-row h5 {
  margin: 0;
  font-size: 18px;
}

.profile-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.auth-steps {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(26, 115, 232, 0.06);
  border: 1px solid rgba(26, 115, 232, 0.1);
}

.auth-steps p {
  margin: 6px 0;
  line-height: 1.7;
}

.empty-state {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(247, 250, 255, 0.94);
  border: 1px dashed rgba(26, 115, 232, 0.22);
  color: var(--muted);
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1181px) {
  .app-shell {
    --max-width: 1520px;
    padding: 24px 24px 56px;
  }

  .workspace-shell {
    grid-template-columns: minmax(296px, 332px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .sidebar-column {
    position: sticky;
    top: 18px;
    gap: 20px;
  }

  .dashboard-layout {
    margin-top: 0;
    gap: 22px;
  }

  .overview-bento {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
  }

  .overview-bento > .surface {
    align-self: start;
  }

  .sidebar-brand,
  .sidebar-nav {
    color: #eef5ff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 56px rgba(12, 27, 45, 0.2);
  }

  .sidebar-brand {
    position: static;
    top: auto;
    flex-direction: column;
    gap: 20px;
    padding: 26px 24px;
    background:
      radial-gradient(circle at top right, rgba(111, 184, 255, 0.24), transparent 34%),
      linear-gradient(180deg, rgba(14, 43, 72, 0.98), rgba(18, 58, 92, 0.95));
  }

  .sidebar-brand .brand-stack {
    flex-direction: column;
    gap: 16px;
  }

  .sidebar-brand .brandmark {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .sidebar-brand .eyebrow {
    color: #9dccff;
  }

  .sidebar-brand .brand-copy h1 {
    max-width: 9ch;
    font-size: clamp(26px, 2.3vw, 31px);
    color: #ffffff;
    text-wrap: balance;
  }

  .sidebar-brand .subtitle {
    max-width: none;
    margin-top: 8px;
    color: rgba(227, 236, 248, 0.78);
    font-size: 14px;
    line-height: 1.65;
  }

  .sidebar-brand .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .sidebar-brand .topbar-actions > * {
    min-width: 0;
  }

  .sidebar-brand .version-chip,
  .sidebar-brand .button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .sidebar-brand .version-chip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f2f7ff;
    box-shadow: none;
  }

  .sidebar-brand .button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .sidebar-brand .button-light {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
  }

  .sidebar-controls {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95)),
      radial-gradient(circle at top left, rgba(26, 115, 232, 0.08), transparent 34%);
  }

  .sidebar-controls .field-row {
    flex-direction: column;
  }

  .sidebar-controls .button {
    width: 100%;
  }

  .sidebar-controls .status-strip {
    grid-template-columns: 1fr;
  }

  .sidebar-controls .status-pill {
    position: relative;
    overflow: hidden;
  }

  .sidebar-controls .status-pill::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue), rgba(26, 115, 232, 0.22));
  }

  .sidebar-nav {
    padding: 20px 18px 18px;
    background:
      radial-gradient(circle at top left, rgba(112, 184, 255, 0.16), transparent 28%),
      linear-gradient(180deg, rgba(15, 41, 68, 0.98), rgba(18, 50, 82, 0.95));
  }

  .sidebar-nav .section-kicker,
  .sidebar-nav .nav-card-kicker {
    color: rgba(157, 204, 255, 0.88);
  }

  .sidebar-nav .section-head p {
    color: rgba(223, 232, 246, 0.72);
  }

  .sidebar-nav .quick-nav-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sidebar-nav .nav-card {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
  }

  .sidebar-nav .nav-card::after {
    inset: 0 auto 0 0;
    width: 4px;
    height: auto;
  }

  .sidebar-nav .nav-card:hover,
  .sidebar-nav .nav-card.active {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 32px rgba(8, 19, 33, 0.2);
  }

  .sidebar-nav .nav-card.active {
    background: rgba(255, 255, 255, 0.14);
  }

  .sidebar-nav .nav-card-state {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  .sidebar-nav .nav-card strong,
  .sidebar-nav .nav-card-status {
    color: #ffffff;
  }

  .sidebar-nav .nav-card strong {
    margin-top: 10px;
    font-size: 18px;
  }

  .sidebar-nav .nav-card-status {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.35;
  }

  .sidebar-nav .nav-card p {
    margin-top: 7px;
    color: rgba(223, 232, 246, 0.72);
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 320px);
    gap: 24px;
    padding: 32px;
    background:
      radial-gradient(circle at top right, rgba(15, 157, 88, 0.1), transparent 28%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-kpi {
    background: rgba(255, 255, 255, 0.88);
  }

  .digest-panel,
  .coverage-panel,
  .metrics-panel,
  .view-summary-card {
    padding: 26px;
  }

  .digest-panel .signal-grid {
    grid-template-columns: 1fr;
  }

  .digest-panel .digest-card {
    min-height: 0;
  }

  .coverage-panel .coverage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
  }

  .coverage-panel .coverage-card,
  .metrics-panel .metric-card {
    min-height: 0;
  }

  .tab-strip {
    display: none;
  }
}

@media (max-width: 1180px) {
  .workspace-shell,
  .overview-bento {
    grid-template-columns: 1fr;
  }

  .sidebar-column {
    position: static;
  }

  .sidebar-nav {
    display: none;
  }

  .control-rail,
  .hero-panel,
  .panel-grid-two,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-kpis,
  .quick-nav-grid,
  .summary-rail,
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-grid,
  .narrative-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 16px 12px 32px;
  }

  .dashboard-layout {
    gap: 14px;
  }

  .topbar,
  .control-rail,
  .hero-panel,
  .nav-panel,
  .digest-panel,
  .coverage-panel,
  .metrics-panel,
  .chart-card,
  .narrative-card,
  .table-card,
  .data-card,
  .family-card,
  .modal-panel,
  .modal-dialog {
    border-radius: 24px;
  }

  .topbar {
    padding: 18px;
    position: static;
    gap: 16px;
  }

  .brand-stack {
    flex-direction: column;
    gap: 14px;
  }

  .brandmark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .brandmark img {
    width: 36px;
    height: 36px;
  }

  .brand-copy h1 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .subtitle {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
  }

  .topbar-actions,
  .profile-row-head,
  .view-summary-head,
  .section-head {
    flex-direction: column;
  }

  .hero-kpis,
  .quick-nav-grid,
  .coverage-grid,
  .stats-grid,
  .hero-meta,
  .summary-rail,
  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .family-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .control-rail,
  .hero-panel,
  .nav-panel,
  .digest-panel,
  .coverage-panel,
  .metrics-panel,
  .view-summary-card {
    padding: 18px;
  }

  .control-rail {
    gap: 14px;
  }

  .hero-panel {
    gap: 16px;
  }

  .hero-copy {
    gap: 10px;
  }

  .hero-subtitle,
  .section-head p,
  .view-summary-head p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-kpis,
  .quick-nav-grid,
  .coverage-grid,
  .stats-grid,
  .hero-meta,
  .signal-grid,
  .summary-rail {
    gap: 10px;
  }

  .hero-kpi,
  .summary-chip,
  .coverage-card,
  .metric-card,
  .nav-card,
  .digest-card {
    padding: 16px;
  }

  .hero-kpi strong {
    font-size: 24px;
  }

  .hero-kpi small {
    line-height: 1.45;
  }

  .hero-meta {
    display: grid;
  }

  .hero-meta-pill {
    min-height: 44px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-score-card {
    padding: 20px;
    gap: 12px;
  }

  .hero-score-value {
    font-size: clamp(44px, 18vw, 64px);
  }

  .hero-score-caption {
    font-size: 18px;
  }

  .hero-score-footnote {
    font-size: 13px;
    line-height: 1.5;
  }

  .nav-card,
  .digest-card,
  .metric-card {
    min-height: 0;
  }

  .nav-card strong,
  .digest-top h3 {
    margin-top: 10px;
    font-size: 18px;
  }

  .nav-card-status {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.3;
  }

  .nav-card p {
    margin-top: 8px;
  }

  .nav-card-status,
  .nav-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav-card-status {
    -webkit-line-clamp: 2;
  }

  .nav-card p {
    -webkit-line-clamp: 2;
  }

  .digest-value,
  .coverage-value,
  .metric-value {
    font-size: 28px;
  }

  .digest-value {
    margin-top: 14px;
  }

  .coverage-meta,
  .metric-meta,
  .nav-card p,
  .digest-meta {
    font-size: 12px;
    line-height: 1.55;
  }

  .metric-topline {
    gap: 10px;
  }

  .metric-badge {
    padding: 6px 8px;
    font-size: 11px;
  }

  .metric-subline {
    margin-top: 12px;
    padding-top: 12px;
    flex-direction: column;
    gap: 8px;
  }

  .field-row {
    flex-direction: column;
  }

  table {
    min-width: 520px;
  }

  .chart-card {
    min-height: 380px;
  }

  .chart-frame {
    height: 260px;
  }

  .chart-empty {
    inset: 104px 20px 20px;
  }

  .nav-panel,
  .digest-panel,
  .coverage-panel,
  .metrics-panel,
  .view-summary-card {
    scroll-margin-top: 24px;
  }
}
