:root {
  color-scheme: dark;
  --paper: #101519;
  --sidebar: #13191e;
  --surface: #171d22;
  --surface-2: #1d252b;
  --line: #313c43;
  --line-soft: #252e34;
  --ink: #e8edf0;
  --muted: #92a0a8;
  --accent: #8cb2c3;
  --accent-2: #75b99d;
  --accent-soft: #202b31;
  --warning: #d4b56d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.learning-page { max-width: 980px; margin: 0 auto; }
.learning-heading { margin: 36px 0 28px; }
.learning-heading h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.3; margin: 12px 0; }
.learning-heading p, .learning-topic { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.learning-topic { border-left: 3px solid var(--accent); padding-left: 14px; margin-bottom: 24px; }
.learning-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 30px; margin: 24px 0; overflow-wrap: anywhere; }
.learning-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .875rem; color: var(--muted); }
.learning-card h2 { font-size: 1.55rem; line-height: 1.45; margin: 20px 0; }
.learning-connection { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 16px 20px; }
.learning-connection span { color: var(--accent); font-size: .875rem; font-weight: 650; }
.learning-card p { font-size: 1rem; line-height: 1.85; margin: 12px 0; }
.learning-limit { color: var(--muted); }
.learning-evidence { border-top: 1px solid var(--line); margin-top: 20px; padding: 18px 0; color: var(--muted); font-size: .875rem; }
.learning-evidence summary { cursor: pointer; min-height: 30px; }
.learning-evidence blockquote { white-space: pre-wrap; margin: 16px 0; padding: 12px 18px; border-left: 2px solid var(--line); font-size: .9rem; line-height: 1.8; }
.learning-next { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.learning-next a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: 1rem; }
.learning-page button { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 14px; font: inherit; font-size: .9rem; line-height: 1.5; cursor: pointer; text-align: left; }
.learning-page button:hover, .learning-page button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.learning-page button:focus-visible, .learning-page summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.learning-page button:disabled { opacity: .5; cursor: wait; }
.learning-feedback { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.learning-empty { padding: 28px 0; line-height: 1.8; }
@media (max-width: 700px) {
  .learning-card { padding: 20px 16px; }
  .learning-heading { margin-top: 16px; }
  .mobile-nav:has([data-learning-nav]:not([hidden])) { grid-template-columns: repeat(6, 1fr); }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
}

.side-nav {
  margin-top: 72px;
  display: grid;
  gap: 2px;
}

.nav-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.nav-item span:last-child {
  color: #5f6b72;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--ink);
}

.nav-item.is-active span:first-child::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin: 0 9px 4px 0;
  background: var(--accent);
}

.identity-note {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.identity-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #3c5662;
  font-weight: 700;
}

.identity-note strong {
  display: block;
  font-size: 14px;
}

.identity-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.main-content {
  margin-left: 250px;
  padding: 0 5vw 72px;
}

.topbar {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.identity-mobile {
  display: none;
}

.feishu-action {
  appearance: none;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.feishu-action:hover {
  background: var(--accent);
  color: var(--paper);
}

.feishu-action:focus-visible,
.theme-action:focus-visible,
.task-action:focus-visible,
.memory-action:focus-visible,
.wide-feishu-action:focus-visible,
.empty-state button:focus-visible,
#retry-load:focus-visible,
.dialog-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  max-width: 950px;
  padding: 84px 0 50px;
}

.hero h1 {
  margin: 18px 0 24px;
  max-width: 780px;
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 630;
}

.hero-summary {
  max-width: 620px;
  margin: 0;
  color: #bac5ca;
  font-size: 17px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta strong {
  color: var(--ink);
  font-size: 20px;
  margin-right: 4px;
}

.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card,
.quiet-card {
  min-height: 265px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  grid-row: span 2;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-index {
  color: #657179;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.card-status,
.confidence,
.processing-dot {
  color: var(--muted);
  font-size: 11px;
}

.processing-dot.has-status::before,
.status-dot {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(117, 185, 157, 0.12);
}

.card-label {
  margin-top: 48px;
}

.feature-card h2,
.quiet-card h2 {
  margin: 12px 0 16px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.feature-card h2 {
  max-width: 520px;
  margin-top: auto;
  font-size: clamp(30px, 3.3vw, 44px);
}

.feature-card p,
.quiet-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-card > a {
  margin-top: 16px;
  color: var(--accent);
  font-size: 13px;
}

.insight-card blockquote {
  margin: 16px 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.55;
}

.privacy-footer {
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-action {
  appearance: none;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.theme-action:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.empty-state {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.empty-state h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.empty-state button,
#retry-load {
  appearance: none;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.empty-state button:hover,
#retry-load:hover {
  background: var(--accent);
  color: var(--paper);
}

.load-failure {
  max-width: 760px;
  padding: 96px 0;
}

.load-failure h1 {
  margin: 16px 0 20px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.load-failure > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.access-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 15%, rgba(140, 178, 195, 0.12), transparent 32%),
    var(--paper);
}

.access-card {
  width: min(680px, 100%);
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.access-card .section-kicker {
  margin-top: 32px;
}

.access-card h1 {
  margin: 16px 0 20px;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.access-card > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.access-steps {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.access-steps span {
  color: var(--accent);
  font-size: 12px;
}

.access-steps p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 9px;
  color: var(--accent);
  font-size: 12px;
}

.file-preview[data-file-id] {
  cursor: pointer;
}

.file-preview[data-file-id]:focus-visible,
.file-preview[data-file-id]:hover {
  background: var(--surface);
  outline: none;
}

.page-view {
  display: none;
  animation: page-in 240ms ease both;
}

.page-view.is-active {
  display: block;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-heading {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  max-width: 850px;
  margin: 16px 0 24px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 630;
}

.page-intro {
  max-width: 670px;
  margin: 0;
  color: #bac5ca;
  font-size: 16px;
  line-height: 1.85;
}

.report-heading,
.profile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.date-rail {
  display: flex;
  gap: 8px;
}

.date-rail button {
  appearance: none;
  width: 54px;
  height: 70px;
  display: grid;
  place-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.date-rail button strong {
  font-size: 16px;
  font-weight: 600;
}

.date-rail button span {
  font-size: 10px;
}

.date-rail button.is-active {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent-soft);
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.report-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.report-source-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin: 26px 0 0;
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.report-source-guide h2 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.025em;
}

.report-source-guide > div > p:last-of-type {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.report-source-guide button {
  appearance: none;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.report-source-guide button:hover {
  background: var(--accent);
  color: var(--paper);
}

.report-source-mix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.report-source-mix span {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.report-source-mix strong {
  color: var(--ink);
  font-size: 17px;
}

.report-visual-summary {
  margin: 32px 0 0;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-visual-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 36px;
  align-items: end;
  margin-bottom: 24px;
}

.report-visual-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.report-visual-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.report-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
}

.report-chart-card {
  min-width: 0;
  padding: 26px;
}

.report-chart-card + .report-chart-card {
  border-left: 1px solid var(--line);
}

.report-chart-number {
  margin: 0 0 36px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.report-chart-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 620;
}

.report-chart-card > p:not(.report-chart-number) {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.source-chart {
  display: flex;
  width: 100%;
  height: 26px;
  margin: 34px 0 18px;
  overflow: hidden;
  background: var(--surface);
}

.source-chart > span {
  display: block;
  min-width: 4px;
  border-right: 2px solid var(--paper);
}

.source-chart .is-primary,
.source-chart-legend .is-primary {
  background: var(--accent);
}

.source-chart .is-research,
.source-chart-legend .is-research {
  background: #6f8c82;
}

.source-chart .is-media,
.source-chart-legend .is-media {
  background: #aa8d5b;
}

.source-chart .is-other,
.source-chart-legend .is-other {
  background: var(--muted);
}

.source-chart-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: var(--muted);
  font-size: 10px;
}

.source-chart-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.source-chart-legend i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
}

.source-chart-legend strong {
  margin-left: auto;
  color: var(--ink);
  font-weight: 600;
}

.evidence-map-key {
  display: grid;
  grid-template-columns: repeat(4, 18px);
  justify-content: end;
  gap: 9px;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 9px;
}

.evidence-map-key span {
  writing-mode: vertical-rl;
}

.evidence-map-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 50px;
  border-top: 1px solid var(--line);
}

.evidence-map-row > div:first-child {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.evidence-map-row span,
.evidence-map-row small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.evidence-map-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-map-signals {
  display: grid;
  grid-template-columns: repeat(4, 18px);
  gap: 9px;
}

.evidence-map-signals i {
  width: 18px;
  height: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.evidence-map-signals i.is-present {
  border-color: var(--accent);
  background: var(--accent);
}

.report-index {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.report-index a {
  min-height: 82px;
  padding: 0 24px;
  display: flex;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.report-index a:first-child {
  padding-left: 0;
}

.report-index a:last-child {
  border-right: 0;
}

.report-index span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.report-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.report-item-aside {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.report-item-aside strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.report-item h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(28px, 3.4vw, 43px);
  line-height: 1.24;
  letter-spacing: -0.04em;
  font-weight: 620;
}

.report-image {
  max-width: 840px;
  margin: 0 0 28px;
}

.report-image img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
}

.report-image figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.report-image figcaption a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.report-item p {
  max-width: 760px;
  color: #b9c3c8;
  font-size: 15px;
  line-height: 1.9;
}

.report-source {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 12px;
}

.report-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.report-item > div > p,
.why-box p,
.report-evidence p,
.report-uncertainty p,
.report-method p {
  white-space: pre-line;
}

.report-synthesis {
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line);
}

.report-synthesis h2,
.report-watch h2 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.035em;
  font-weight: 620;
}

.report-synthesis > p:last-child {
  max-width: 800px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.report-field-label {
  margin: 0 0 7px !important;
  color: var(--accent) !important;
  font-size: 10px !important;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.report-evidence,
.report-uncertainty {
  max-width: 760px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.report-evidence strong,
.report-uncertainty strong {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.report-evidence p,
.report-uncertainty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.report-uncertainty {
  border-top-style: dashed;
}

.report-followup {
  padding: 54px 0 24px;
  border-bottom: 1px solid var(--line);
}

.report-watch ol {
  max-width: 820px;
  margin: 24px 0 38px;
  padding: 0;
  list-style: none;
  counter-reset: report-watch;
}

.report-watch li {
  counter-increment: report-watch;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.report-watch li::before {
  content: counter(report-watch, decimal-leading-zero);
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.report-method {
  max-width: 820px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.report-method summary {
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.report-method p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.why-box {
  max-width: 760px;
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
}

.why-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.why-box p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.end-note {
  padding: 70px 0 92px;
  text-align: center;
}

.end-note blockquote {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.6;
  letter-spacing: -0.035em;
}

.weekly-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}

.weekly-period {
  padding-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.weekly-summary {
  margin: 34px 0 0;
  padding: 28px 30px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.weekly-summary h2 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.weekly-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 38px;
}

.weekly-section {
  min-height: 220px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weekly-section > p {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.weekly-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.weekly-section li {
  position: relative;
  padding: 10px 0 10px 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.weekly-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.weekly-schedule {
  margin-top: 26px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
}

.weekly-schedule strong,
.weekly-schedule p {
  margin: 0;
}

.weekly-schedule strong {
  font-size: 14px;
}

.weekly-schedule p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.weekly-schedule .is-muted {
  background: var(--muted);
}

.weekly-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 88px;
}

.weekly-actions button {
  appearance: none;
  padding: 17px 20px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.weekly-actions button:first-child,
.weekly-actions button:hover {
  background: var(--accent);
  color: var(--paper);
}

.task-list {
  display: grid;
}

.task-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.4fr) minmax(210px, 0.8fr) auto;
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.task-number {
  color: #647079;
  font-size: 11px;
}

.task-row h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.task-row p,
.task-meta p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.task-state {
  display: inline-flex;
  align-items: center;
  color: var(--accent-2);
  font-size: 12px;
}

.task-action,
.memory-action {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px 0 7px;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.wide-feishu-action {
  appearance: none;
  width: 100%;
  margin: 42px 0 88px;
  padding: 18px 22px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.wide-feishu-action:hover {
  background: var(--accent);
  color: var(--paper);
}

.file-list {
  border-top: 1px solid var(--line);
}

.file-card {
  border-bottom: 1px solid var(--line);
}

.file-card.is-open {
  background: var(--surface-2);
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 0;
}

.file-row:hover {
  background: var(--surface);
}

.file-toggle {
  appearance: none;
  min-width: 0;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 54px minmax(220px, 1.3fr) minmax(190px, 1fr) 140px;
  gap: 22px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.file-toggle:focus-visible,
.file-expand:focus-visible,
.file-download:focus-visible,
.file-detail-download:focus-visible,
.file-detail-footer button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.file-type {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.file-name strong {
  display: block;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.file-name span,
.file-summary,
.file-time {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.file-status {
  color: var(--ink);
  font-size: 12px;
}

.file-row-actions {
  padding-right: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.file-download,
.file-expand,
.file-detail-download,
.file-detail-footer button {
  appearance: none;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.file-expand {
  min-width: 48px;
  display: inline-flex;
  justify-content: space-between;
  gap: 8px;
}

.file-expand-arrow {
  transition: transform 180ms ease;
}

.file-card.is-open .file-expand-arrow {
  transform: rotate(180deg);
}

.file-detail {
  padding: 2px 0 30px 76px;
}

.file-detail[hidden] {
  display: none;
}

.file-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.file-insight {
  min-width: 0;
  padding: 24px 26px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.file-insight-primary {
  grid-row: span 2;
}

.file-detail-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.file-analysis {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
}

.file-analysis-state,
.file-detail-empty {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.file-insight ul,
.file-insight ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-insight li {
  position: relative;
  padding: 9px 0 9px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.file-insight li:first-child {
  border-top: 0;
}

.file-insight ul li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
}

.file-insight ol {
  counter-reset: file-use-case;
}

.file-insight ol li {
  counter-increment: file-use-case;
}

.file-insight ol li::before {
  content: counter(file-use-case, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.file-detail-footer {
  padding: 20px 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
}

.file-detail-footer > div {
  display: flex;
  gap: 20px;
}

.storage-note {
  margin: 28px 0 88px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.profile-seal {
  width: 140px;
  height: 140px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
}

.profile-seal span {
  color: var(--accent);
  font-size: 46px;
  font-weight: 650;
}

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

.memory-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 160px auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.memory-group,
.memory-evidence,
.memory-confidence {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.memory-text {
  font-size: 18px;
  line-height: 1.65;
}

.memory-actions {
  display: flex;
  gap: 14px;
}

.uncertain-section {
  margin-top: 64px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.uncertain-section h2 {
  margin: 14px 0 26px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.uncertain-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uncertain-section li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #b9c3c8;
  font-size: 14px;
  line-height: 1.7;
}

.detail-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.detail-dialog::backdrop {
  background: rgba(5, 8, 10, 0.78);
  backdrop-filter: blur(5px);
}

.detail-dialog h2 {
  margin: 14px 0 28px;
  font-size: 30px;
  line-height: 1.3;
}

.detail-dialog p {
  color: #bac5ca;
  line-height: 1.8;
}

.dialog-summary > span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.dialog-summary p {
  margin: 0;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 24px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.dialog-facts div {
  padding: 16px;
  background: var(--surface-2);
}

.dialog-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  padding: 16px 18px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[data-theme="light"] {
  color-scheme: light;
  --paper: #f2f1ed;
  --sidebar: #f7f7f4;
  --surface: #e9e9e4;
  --surface-2: #f8f8f5;
  --line: #cfd1cf;
  --line-soft: #dde0dd;
  --ink: #172026;
  --muted: #657179;
  --accent: #416b7c;
  --accent-2: #38785e;
  --accent-soft: #dfe8e9;
  --warning: #8a6725;
}

html[data-theme="light"] .page-intro,
html[data-theme="light"] .hero-summary,
html[data-theme="light"] .report-item p,
html[data-theme="light"] .detail-dialog p,
html[data-theme="light"] .uncertain-section li {
  color: #4f5d64;
}

.mobile-nav {
  display: none;
}

@media (max-width: 960px) {
  .sidebar {
    width: 210px;
  }

  .main-content {
    margin-left: 210px;
    padding-inline: 34px;
  }

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

  .feature-card {
    grid-row: auto;
    min-height: 420px;
  }

  .task-row {
    grid-template-columns: 34px minmax(0, 1fr) 210px;
  }

  .task-actions {
    grid-column: 2;
  }

  .file-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .file-toggle {
    grid-template-columns: 48px minmax(200px, 1fr) 130px;
  }

  .file-toggle .file-summary {
    grid-column: 2;
  }

  .file-detail {
    padding-left: 70px;
  }

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

  .file-insight-primary {
    grid-row: auto;
  }

  .memory-row {
    grid-template-columns: 110px minmax(0, 1fr) 140px;
  }

  .memory-actions {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 0 20px 96px;
  }

  .topbar {
    position: sticky;
    z-index: 15;
    top: 0;
    min-height: 76px;
    background: var(--paper);
  }

  .eyebrow {
    display: none;
  }

  .identity-mobile {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
  }

  .feishu-action {
    padding: 10px 12px;
    font-size: 12px;
  }

  .theme-action {
    display: none;
  }

  .weekly-heading,
  .weekly-sections,
  .weekly-actions {
    grid-template-columns: 1fr;
  }

  .weekly-period {
    padding-bottom: 0;
  }

  .weekly-summary,
  .weekly-section {
    padding-inline: 20px;
  }

  .hero {
    padding: 54px 0 38px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(35px, 10.6vw, 46px);
    line-height: 1.16;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .today-grid {
    border-left: 0;
  }

  .feature-card,
  .quiet-card {
    min-height: 250px;
    padding: 24px 0;
    border-right: 0;
  }

  .feature-card {
    min-height: 390px;
    background: transparent;
  }

  .feature-card h2 {
    font-size: 34px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    height: 62px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    background: var(--sidebar);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-nav a {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
  }

  .mobile-nav a.is-active {
    color: var(--ink);
  }

  .page-heading {
    padding: 52px 0 38px;
  }

  .page-heading h1 {
    font-size: 39px;
    line-height: 1.15;
  }

  .report-heading,
  .profile-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .date-rail {
    width: calc(100vw - 40px);
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .date-rail button {
    flex: 0 0 54px;
  }

  .report-index {
    grid-template-columns: 1fr;
  }

  .report-index a,
  .report-index a:first-child {
    min-height: auto;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-index a:last-child {
    border-bottom: 0;
  }

  .report-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 52px 0;
  }

  .report-item h2 {
    font-size: 32px;
  }

  .task-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
  }

  .task-meta,
  .task-actions {
    grid-column: 2;
  }

  .file-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 0;
  }

  .file-toggle {
    padding: 0;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .file-toggle .file-summary,
  .file-toggle .file-time {
    grid-column: 2;
  }

  .file-toggle .file-summary {
    margin-top: -4px;
  }

  .file-row-actions {
    padding: 14px 0 0 60px;
    justify-content: flex-start;
  }

  .file-detail {
    padding: 0 0 28px;
  }

  .file-detail-grid {
    margin-top: 8px;
  }

  .file-insight {
    padding: 22px 18px;
  }

  .file-detail-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 0;
  }

  .profile-seal {
    width: 100%;
    height: 94px;
  }

  .profile-seal span {
    font-size: 32px;
  }

  .memory-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .memory-actions {
    grid-column: 1;
    margin-top: 8px;
  }

  .uncertain-section {
    padding: 28px 22px;
  }

  .detail-dialog {
    padding: 38px 24px 26px;
  }

  .toast {
    right: 14px;
    bottom: 76px;
    left: 14px;
  }
}

/* 阅读优先：首页直接是一份简报，管理功能退到次要位置。 */
.sidebar {
  width: 260px;
  padding: 30px 22px 24px;
}

.brand {
  align-items: flex-start;
}

.brand > span:last-child {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 14px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.conversation-entry {
  appearance: none;
  width: 100%;
  margin-top: 30px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.conversation-entry:hover {
  filter: brightness(1.08);
}

.conversation-entry:focus-visible,
.brief-history-list button:focus-visible,
.next-action-grid button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.side-nav {
  margin-top: 28px;
}

.nav-item {
  padding-inline: 10px;
}

.nav-item.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav-item.is-active span:first-child::before {
  width: 12px;
}

.brief-history {
  min-height: 0;
  margin-top: 30px;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.brief-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.brief-history-heading p,
.brief-history-heading span {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.brief-history-heading p {
  color: var(--ink);
  font-weight: 650;
}

.brief-history-list {
  min-height: 0;
  overflow-y: auto;
}

.brief-history-list button {
  appearance: none;
  width: 100%;
  padding: 14px 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.brief-history-list button.is-active,
.brief-history-list button:hover {
  background: var(--accent-soft);
}

.brief-history-list button > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.brief-history-list button strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-history-list button small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-history-date strong {
  color: var(--accent);
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
}

.brief-history-empty {
  margin: 0;
  padding: 18px 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.identity-note {
  margin-top: 18px;
}

.main-content {
  margin-left: 260px;
  padding: 0 46px 76px;
}

.topbar {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.report-page {
  width: min(1120px, 100%);
  margin: 30px auto 0;
}

.report-paper {
  padding: 48px 52px 12px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  background: var(--surface-2);
  box-shadow: 0 18px 60px rgba(4, 12, 18, 0.12);
}

.report-page .page-heading {
  padding: 0 0 30px;
}

.report-page .page-heading h1 {
  max-width: 760px;
  margin: 15px 0 20px;
  font-size: clamp(38px, 4.5vw, 58px);
}

.report-summary {
  max-width: 860px;
  padding: 15px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.7;
}

.report-meta {
  gap: 0;
  padding: 0;
}

.report-meta span {
  padding: 12px 18px;
  border-right: 1px solid var(--line);
}

.report-meta span:first-child {
  padding-left: 0;
}

.report-index {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
  padding: 24px 0 26px;
}

.report-index a,
.report-index a:first-child {
  min-height: 54px;
  padding: 12px 0;
  border-right: 0;
  border-bottom: 1px solid var(--line-soft);
}

.report-item {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.report-item h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.report-empty-state {
  padding: 58px 0 66px;
}

.report-empty-state .empty-step {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.report-empty-state h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.035em;
}

.report-empty-state blockquote {
  max-width: 760px;
  margin: 26px 0 0;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.next-actions {
  padding: 62px 0 16px;
}

.next-actions h2 {
  margin: 12px 0 28px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.035em;
}

.next-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.next-action-grid button {
  appearance: none;
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.next-action-grid button:hover {
  background: var(--accent-soft);
}

.next-action-grid span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.next-action-grid strong {
  margin-top: auto;
  font-size: 16px;
  font-weight: 580;
  line-height: 1.65;
}

html[data-theme="light"] body {
  background: #ecece9;
}

html[data-theme="light"] .report-paper,
html[data-theme="light"] .next-action-grid button {
  background: #ffffff;
}

html[data-theme="light"] .report-summary,
html[data-theme="light"] .report-empty-state blockquote {
  background: #f3f5f4;
}

@media (max-width: 960px) {
  .sidebar {
    width: 230px;
  }

  .main-content {
    margin-left: 230px;
    padding-inline: 26px;
  }

  .report-paper {
    padding-inline: 36px;
  }

  .next-action-grid {
    grid-template-columns: 1fr;
  }

  .next-action-grid button {
    min-height: 140px;
  }
}

@media (max-width: 720px) {
  .main-content {
    margin-left: 0;
    padding: 0 16px 92px;
  }

  .report-page {
    margin-top: 16px;
  }

  .report-paper {
    padding: 30px 20px 4px;
    border-top-width: 4px;
  }

  .report-page .page-heading h1 {
    font-size: 36px;
  }

  .report-summary {
    font-size: 14px;
  }

  .report-meta span,
  .report-meta span:first-child {
    width: 50%;
    padding: 10px 8px 10px 0;
    border-right: 0;
  }

  .report-source-guide {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .report-source-guide button {
    width: 100%;
  }

  .report-visual-heading,
  .report-visual-grid {
    grid-template-columns: 1fr;
  }

  .report-visual-heading {
    gap: 14px;
  }

  .report-chart-card + .report-chart-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-map-row > div:first-child {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .evidence-map-row small {
    display: none;
  }

  .report-image {
    margin-bottom: 22px;
  }

  .report-index {
    grid-template-columns: 1fr;
  }

  .report-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .report-empty-state blockquote {
    padding: 18px;
    font-size: 15px;
  }

  .next-actions {
    padding-top: 48px;
  }

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