:root {
  color-scheme: light;
  --bg: #f3eedf;
  --surface: #fbf8ee;
  --surface-muted: #ebe4d3;
  --ink: #11110f;
  --muted: #6b675d;
  --line: #1b1a17;
  --accent: #8e3218;
  --accent-strong: #672511;
  --accent-soft: #ead3c2;
  --warning-soft: #fff3d6;
  --rose-soft: #fae8e8;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: #fcfdfe;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.nav-list {
  display: grid;
  gap: 6px;
  margin: 28px 0;
}

.nav-item {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  text-align: left;
}

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

.source-panel {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.panel-title,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-title {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.source-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.source-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.source-item input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.source-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.source-category {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.workspace {
  min-width: 0;
  padding: 26px 30px 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.15;
}

h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

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

.icon-button,
.primary-button,
.digest-actions button,
.card-actions button,
.open-link {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.icon-button {
  width: 40px;
  color: var(--ink);
  font-size: 18px;
}

.primary-button {
  padding: 0 15px;
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 150px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input[type="search"],
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: #ffffff;
}

.toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toggle span {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.toggle input {
  accent-color: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.feed-section,
.digest-panel {
  min-width: 0;
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.timestamp {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

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

.article-card,
.digest-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-card {
  padding: 18px;
}

.article-card.is-read {
  box-shadow: none;
  opacity: 0.76;
}

.article-meta,
.card-footer,
.card-actions,
.tag-row,
.digest-actions {
  display: flex;
  align-items: center;
}

.article-meta {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.category,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.category {
  padding: 0 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

time {
  color: var(--muted);
  font-size: 13px;
}

.article-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
  line-height: 1.35;
}

.summary {
  margin-bottom: 10px;
  color: #334250;
  line-height: 1.6;
}

.impact {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  color: #334250;
  background: #f3fbfa;
  line-height: 1.55;
}

.tag-row {
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
}

.tag {
  padding: 0 8px;
  color: #5f4a03;
  background: var(--warning-soft);
}

.card-footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.source {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.card-actions button,
.open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
}

.save-button.is-saved {
  border-color: #c74e4e;
  color: #9c2727;
  background: var(--rose-soft);
}

.digest-panel {
  position: sticky;
  top: 22px;
}

.digest-preview {
  padding: 18px;
}

.digest-preview h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.digest-preview p {
  color: #334250;
  line-height: 1.55;
}

.theme-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.theme-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.theme-item strong {
  display: block;
  margin-bottom: 5px;
}

.theme-item span {
  color: var(--muted);
  font-size: 13px;
}

.digest-actions {
  gap: 8px;
  margin-top: 14px;
}

.digest-actions button {
  flex: 1;
  padding: 0 10px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .digest-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .workspace {
    padding: 20px 16px 30px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .metrics,
  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .metrics,
  .controls {
    grid-template-columns: 1fr;
  }

  .card-footer,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .card-actions button,
  .open-link {
    width: 100%;
  }
}

.report-shell {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  gap: 24px;
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto;
  align-items: start;
}

.report-history {
  position: sticky;
  top: 18px;
  padding-top: 28px;
}

.report-history > div {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--line);
}

.report-history span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.report-history strong {
  font-size: 18px;
}

.report-history nav {
  display: grid;
  gap: 8px;
}

.report-history a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 9px;
  border-left: 4px solid rgba(27, 26, 23, 0.72);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.report-history a:hover,
.report-history a.is-active {
  border-left-color: var(--accent);
  background: #0b0a09;
  color: #f7efe1;
}

.report-history time,
.report-history em {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.report-history em {
  color: var(--muted);
}

.report-history a:hover em,
.report-history a.is-active em {
  color: #d9cfbe;
}

.report-page {
  width: 100%;
  padding: 26px 0 58px;
}

.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--line);
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.report-topline span:last-child {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-align: right;
}

.report-hero {
  margin: 18px 0 24px;
  padding: 0 0 24px;
  border-bottom: 6px solid var(--line);
}

.report-hero-main {
  min-width: 0;
  padding-top: 12px;
}

.report-hero-main::before {
  display: block;
  width: 112px;
  height: 6px;
  margin-bottom: 14px;
  background: var(--accent);
  content: "";
}

.report-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.report-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #3f3b34;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.75;
}

.report-hero-panel {
  align-self: start;
  min-height: 250px;
  padding: 24px 24px 22px;
  border-top: 7px solid var(--accent);
  color: #f8f2e4;
  background: #090908;
}

.report-hero-panel p {
  margin-bottom: 14px;
  color: #cf6337;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.report-hero-panel strong,
.report-hero-panel span {
  display: block;
}

.report-hero-panel strong {
  max-width: 430px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 25px;
  line-height: 1.25;
}

.report-hero-panel span {
  border-top: 2px solid var(--accent);
  padding-top: 12px;
  color: #d8d0c0;
  line-height: 1.65;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 24px;
}

.report-tabs button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px;
  border-left: 4px solid var(--line);
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
}

.report-tabs button:hover,
.report-tabs button.is-active {
  border-left-color: var(--accent);
  background: #0b0a09;
  color: #f7efe1;
}

.report-tabs span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.report-tabs strong {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-tabs em {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.report-tabs button:hover em,
.report-tabs button.is-active em {
  color: #d9cfbe;
}

.report-tabs button:hover span,
.report-tabs button.is-active span {
  color: var(--accent-strong);
}

.report-section {
  margin-top: 28px;
}

.report-tab-panel {
  display: none;
}

.report-tab-panel.is-active {
  display: block;
}

.report-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--line);
}

.report-section-heading div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.report-section-heading span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.report-section-heading h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.1;
}

.report-section-heading p {
  margin-bottom: 2px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

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

#company-updates .report-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#industry-views .report-list {
  grid-template-columns: 1fr;
}

.paper-digest {
  grid-column: 1 / -1;
  padding: 16px;
  border: 2px solid var(--line);
  border-top: 7px solid var(--accent);
  background: #0b0a09;
  color: #f7efe1;
}

.paper-digest-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.paper-digest-header span {
  display: block;
  margin-bottom: 5px;
  color: #cf6337;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.paper-digest-header h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.paper-digest-header a {
  flex: 0 0 auto;
  color: #f7efe1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
}

.paper-digest-note {
  margin-bottom: 14px;
  color: #d9cfbe;
  font-size: 14px;
}

.paper-digest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.paper-digest-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-left: 3px solid #cf6337;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.paper-digest-item.has-thumbnail {
  grid-template-columns: 34px 86px minmax(0, 1fr);
}

.paper-digest-item > img {
  width: 86px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(247, 239, 225, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.paper-digest-item:hover h4 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.paper-digest-item > span {
  color: #cf6337;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.paper-digest-item h4 {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.3;
}

.paper-digest-item p {
  margin-bottom: 6px;
  color: #d9cfbe;
  font-size: 13px;
  line-height: 1.55;
}

.paper-digest-item div div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.paper-digest-item em {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  color: #f7efe1;
  background: rgba(142, 50, 24, 0.75);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.report-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 2px solid rgba(27, 26, 23, 0.82);
  border-left-width: 5px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
}

.report-item.has-thumbnail {
  grid-template-columns: 42px minmax(0, 1fr);
}

.report-item.has-thumbnail > div {
  grid-column: 1 / -1;
}

.report-item.is-clickable {
  cursor: pointer;
}

.report-item.is-clickable:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.report-item.is-clickable:hover h3 a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

#company-updates .report-item:first-child {
  grid-column: span 2;
  background: #0b0a09;
  color: #f7efe1;
}

#company-updates .report-item:first-child.has-thumbnail {
  grid-template-columns: 42px minmax(150px, 220px) minmax(0, 1fr);
}

#company-updates .report-item:first-child.has-thumbnail > div {
  grid-column: auto;
}

#company-updates .report-item:first-child p,
#company-updates .report-item:first-child .report-item-meta em {
  color: #d9cfbe;
}

#company-updates .report-item:first-child .report-item-meta strong,
#company-updates .report-item:first-child h3 a:hover {
  color: #ef7b45;
}

.report-item > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 28px;
  color: #fbf8ee;
  background: var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 900;
}

.report-thumb {
  display: block;
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  border: 2px solid rgba(27, 26, 23, 0.82);
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

#company-updates .report-item:first-child .report-thumb {
  grid-column: auto;
  align-self: stretch;
  width: auto;
  aspect-ratio: 1 / 1;
  max-height: none;
}

.report-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-item-meta strong {
  color: var(--accent-strong);
}

.report-item-meta em {
  color: var(--muted);
  font-style: normal;
}

.report-item-meta b {
  min-width: 0;
  overflow: hidden;
  color: var(--accent-strong);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#industry-views .report-item-meta {
  gap: 8px 10px;
  align-items: baseline;
}

#industry-views .report-item-meta .source-person {
  display: flex;
  flex-basis: 100%;
  gap: 8px;
  align-items: center;
  order: -1;
  overflow: visible;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

#industry-views .report-item-meta .source-person small {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  color: #f7efe1;
  background: var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.report-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.report-item h3 a {
  color: inherit;
  text-decoration: none;
}

.report-item h3 a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

#industry-views .social-original {
  max-width: 980px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  white-space: pre-wrap;
}

.social-translation {
  max-width: 940px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(27, 26, 23, 0.24);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.social-translation span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-right: 8px;
  padding: 0 6px;
  color: #f7efe1;
  background: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.report-item p {
  margin-bottom: 0;
  color: #3f3b34;
  font-size: 14px;
  line-height: 1.65;
}

.report-item .social-translation {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.memory-note {
  max-width: 960px;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.62);
}

.memory-note p {
  margin: 0;
  color: #3f3b34;
  font-size: 13px;
  line-height: 1.7;
}

.memory-note span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-right: 8px;
  padding: 0 6px;
  color: #f7efe1;
  background: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.memory-note ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.source-link,
.like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

#company-updates .report-item:first-child .source-link,
#company-updates .report-item:first-child .like-button {
  border-color: #f7efe1;
  color: #f7efe1;
}

#company-updates .report-item:first-child .report-thumb {
  border-color: rgba(247, 239, 225, 0.72);
  background: rgba(247, 239, 225, 0.08);
}

.source-link:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.like-button {
  gap: 5px;
}

.like-button.is-liked {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
  cursor: default;
}

.report-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 2px dashed rgba(27, 26, 23, 0.45);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

@media (max-width: 980px) {
  .report-shell,
  .report-list,
  #company-updates .report-list,
  .paper-digest-list {
    grid-template-columns: 1fr;
  }

  .report-history {
    position: static;
    padding-top: 18px;
  }

  .report-history nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .report-history a {
    min-width: 146px;
  }

  #company-updates .report-item:first-child {
    grid-column: auto;
  }

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

@media (max-width: 640px) {
  .report-shell {
    width: min(100% - 24px, 1180px);
  }

  .report-page {
    padding-top: 18px;
  }

  .report-topline,
  .report-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .report-topline span:last-child,
  .report-section-heading p {
    text-align: left;
  }

  .report-hero h1 {
    font-size: 42px;
  }

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

  .report-item.has-thumbnail,
  .paper-digest-item.has-thumbnail {
    grid-template-columns: 1fr;
  }

  .paper-digest-item > span,
  .report-item > span {
    width: max-content;
    min-width: 42px;
  }

  .paper-digest-item > img,
  .report-thumb,
  .report-thumb img {
    width: 100%;
    min-height: 156px;
  }
}
