/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 */
:root {
  --bg: #eef2ef;
  --surface: #fffdfa;
  --surface-muted: #f4f1ea;
  --text: #141715;
  --muted: #66716b;
  --line: #d9ded8;
  --blue: #245c9f;
  --green: #2f7d62;
  --red: #a64237;
  --amber: #9f6a2f;
  --ink: #111412;
  --accent: #b08d57;
  --nav: #151817;
  --nav-muted: #aeb8b2;
  --paper: #faf7ef;
  --teal-soft: #e7f0eb;
  --gold-soft: #f3ead9;
  --risk-soft: #f8e7e3;
  --shadow: 0 16px 38px rgba(28, 34, 31, 0.08);
  --shadow-soft: 0 1px 2px rgba(28, 34, 31, 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 420px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #155eef 0%, #12b76a 100%);
  box-shadow: inset 0 -1px 0 rgba(17, 24, 39, 0.18), 0 10px 22px rgba(21, 94, 239, 0.2);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  display: block;
}

.chip-shell {
  fill: rgba(255, 255, 255, 0.96);
}

.chip-core {
  fill: #101828;
}

.chip-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-linecap: round;
  stroke-width: 2;
}

.chip-signal {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.brand small {
  margin-top: 3px;
  color: #b8c1d1;
  font-size: 12px;
}

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

.nav-item {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d9e1ee;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-item.active,
.nav-item:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.11);
}

.workspace {
  min-width: 0;
  padding: 24px;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 2px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

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

h1 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 720;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.search-box input,
select {
  min-height: 44px;
  border: 0;
  color: var(--text);
  background: transparent;
  outline: none;
}

select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 12px;
  box-shadow: var(--shadow-soft);
}

.section {
  display: none;
}

.section.active {
  display: block;
}

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

.section-title p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.kpi {
  min-width: 0;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

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

.kpi strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #dde5f0;
  color: #344054;
  background: #f6f8fb;
  font-size: 12px;
  white-space: nowrap;
}

.bar-chart,
.theme-list {
  padding: 10px 16px 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 180px) minmax(90px, 1fr) 68px;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  font-size: 13px;
}

.bar-track {
  height: 10px;
  border-radius: 8px;
  background: #e8edf5;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #155eef 0%, #12b76a 100%);
}

.theme-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.theme-item:last-child {
  border-bottom: 0;
}

.daily-list,
.company-grid {
  display: grid;
  gap: 14px;
}

.daily-list {
  grid-template-columns: 1fr;
}

.daily-doc-summary-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.daily-doc-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.daily-doc-summary-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
}

.daily-doc-summary-head span {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

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

.daily-doc-summary-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.daily-doc-summary-title {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.daily-doc-summary-card p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
}

.daily-doc-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.daily-doc-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.daily-doc-link:hover {
  border-color: rgba(36, 92, 159, 0.32);
  background: #eef5ff;
}

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

.daily-entry,
.company-card {
  min-height: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

.daily-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 14px;
  min-height: 0;
}

.daily-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.daily-entry-badges {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.daily-entry-summary {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.45;
}

.daily-entry-evidence {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
}

.daily-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.daily-entry-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
}

.daily-entry-date {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.daily-entry-side small {
  grid-column: 1 / -1;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-badges {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ticker {
  color: var(--muted);
  font-size: 12px;
}

.score {
  font-weight: 700;
  color: var(--blue);
}

.score-stack {
  display: inline-flex;
  min-width: 42px;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.score-label {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.radar-score {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.delta {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.delta-up {
  color: var(--green);
}

.delta-down {
  color: var(--red);
}

.delta-flat {
  color: var(--muted);
}

.kpi .delta {
  margin-top: 8px;
}

.num .delta {
  display: flex;
  justify-content: flex-end;
  margin-top: 3px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.metric {
  min-height: 54px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f6f8fb;
}

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

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.metric strong .delta {
  margin-left: 5px;
  vertical-align: baseline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  line-height: 1.25;
}

.tag.risk {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff1f2;
}

.tag.good {
  border-color: #bbf7d0;
  color: #166534;
  background: #ecfdf3;
}

.tag.muted {
  color: var(--muted);
  background: #f6f8fb;
}

.company-tag-block {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.company-tag-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.company-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.signal {
  min-height: 44px;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
}

.matrix {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.pricing-tools,
.company-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -2px 0 12px;
}

.sort-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.sort-control select {
  min-width: 168px;
}

.sort-head {
  display: inline-flex;
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-align: inherit;
  cursor: pointer;
}

.num .sort-head {
  justify-content: flex-end;
}

.sort-head.active {
  color: var(--blue);
}

.sort-indicator {
  display: inline-flex;
  width: 10px;
  justify-content: center;
  color: var(--blue);
  font-weight: 800;
}

.sort-note {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1120px;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 96px;
  background: #fff;
  box-shadow: 1px 0 0 var(--line);
}

.pricing-table th:first-child {
  z-index: 3;
  background: #f7f9fc;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}

th {
  color: var(--muted);
  background: #f7f9fc;
  font-weight: 600;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.state {
  font-weight: 700;
}

.state.positive {
  color: var(--green);
}

.state.warning {
  color: var(--amber);
}

.state.hot,
.state.negative {
  color: var(--red);
}

.timeline {
  display: grid;
  gap: 10px;
}

.event-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow);
}

.event-date {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.event-body p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.network-panel {
  min-height: 560px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.network-map-board {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

#networkSvg {
  width: 100%;
  min-height: 640px;
  display: block;
}

#networkSvg .network-map-titlebar,
#networkSvg .network-map-kpis {
  pointer-events: none;
}

#networkSvg .network-relationship-band {
  fill: none;
  stroke-linecap: round;
}

#networkSvg .network-lane-node text {
  pointer-events: none;
}

#networkSvg .network-edge {
  fill: none;
  stroke-linecap: round;
}

#networkSvg .network-edge-label rect {
  fill: rgba(255, 255, 255, 0.92);
  stroke: #e2e8f0;
}

#networkSvg .network-node-label {
  font-weight: 700;
  pointer-events: none;
}

#networkSvg .network-node-label.halo {
  fill: none;
  stroke: #fff;
  stroke-width: 5px;
  stroke-linejoin: round;
}

.network-list {
  display: grid;
  gap: 16px;
  padding: 16px;
  max-height: 560px;
  overflow: auto;
}

.network-side-section {
  min-width: 0;
}

.network-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.network-side-head span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.influence-row {
  display: grid;
  grid-template-columns: 24px 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.influence-row .rank {
  color: #98a2b3;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.node-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--node-color);
}

.influence-row div,
.chain-row div {
  min-width: 0;
}

.influence-row strong,
.chain-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.influence-row small,
.chain-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.influence-row em {
  color: var(--blue);
  font-style: normal;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.influence-row:last-child {
  border-bottom: 0;
}

.chain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.network-evidence-row {
  border-bottom-color: #eaedf2;
}

.chain-row:last-child {
  border-bottom: 0;
}

.relation-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  border: 1px solid var(--rel-color);
  color: var(--rel-color);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.network-weight-badge {
  min-width: 48px;
  justify-content: center;
  border-color: #d0d5dd;
  color: #344054;
}

.relation-weight {
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

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

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    align-self: start;
    min-width: 0;
    height: auto;
    padding: 12px 14px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    overflow: hidden;
  }

  .brand {
    min-height: 40px;
    margin-bottom: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  .brand small {
    font-size: 11px;
  }

  .nav-list {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    width: auto;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
  }

  .workspace {
    padding: 18px 16px;
  }

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

  .topbar {
    gap: 14px;
    justify-content: flex-start;
  }

  .topbar > div:first-child {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }

  .section-title h2,
  .section-title p {
    width: 100%;
    flex: 0 0 auto;
  }

  .section-title p {
    margin: 0;
    text-align: left;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    justify-content: stretch;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    min-width: 0;
    width: 100%;
  }

  select {
    max-width: 100%;
    min-width: 172px;
  }

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

  .dashboard-grid,
  .network-layout {
    grid-template-columns: 1fr;
  }

  .daily-list,
  .daily-doc-summary-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: minmax(88px, 120px) minmax(80px, 1fr) 52px;
  }

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

@media (max-width: 760px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .kpi {
    min-height: 68px;
    padding: 11px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .kpi:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .kpi span {
    font-size: 12px;
  }

  .kpi strong {
    margin-top: 7px;
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .sidebar {
    padding: 10px 12px 9px;
  }

  .brand {
    min-height: 34px;
    margin-bottom: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand small {
    display: none;
  }

  .workspace {
    padding: 14px 12px 18px;
  }

  .topbar {
    margin-bottom: 16px;
  }

  .top-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .search-box,
  select {
    width: 100%;
    min-width: 0;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 5px;
  }

  h1 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 17px;
  }

  .section-title {
    gap: 6px;
    margin-bottom: 12px;
  }

  .section-title p {
    font-size: 13px;
  }

  .kpi {
    min-height: 66px;
    padding: 10px 11px;
  }

  .kpi strong {
    margin-top: 7px;
    font-size: 21px;
  }

  .panel-head {
    padding: 14px 14px 7px;
  }

  .bar-chart,
  .theme-list {
    padding: 9px 14px 14px;
  }

  .bar-row {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 7px 10px;
    min-height: 42px;
  }

  .bar-row strong {
    overflow-wrap: anywhere;
  }

  .bar-track {
    grid-column: 1 / -1;
  }

  .daily-entry,
  .daily-doc-summary-card,
  .company-card {
    min-height: 0;
    padding: 14px;
  }

  .daily-doc-summary-head {
    align-items: flex-start;
  }

  .daily-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .daily-entry-head {
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .daily-entry-head h3 {
    overflow-wrap: anywhere;
  }

  .daily-entry-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .company-card {
    display: grid;
    gap: 10px;
  }

  .card-top {
    align-items: flex-start;
    margin-bottom: 0;
  }

  .card-top h3 {
    overflow-wrap: anywhere;
  }

  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0;
  }

  .company-card .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 50px;
    padding: 7px 6px;
  }

  .company-card .metric {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
  }

  .metric span {
    font-size: 10px;
  }

  .metric strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .company-card .metric strong {
    margin-top: 0;
    text-align: right;
  }

  .signal {
    min-height: 0;
    font-size: 13px;
  }

  .company-card .signal {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .company-card .company-tag-list {
    max-height: 58px;
    margin-top: 0;
    overflow: hidden;
  }

  .tag {
    max-width: 100%;
    min-height: 23px;
    padding: 2px 7px;
    overflow-wrap: anywhere;
  }

  .matrix {
    margin-right: -1px;
  }

  .pricing-tools,
  .company-tools {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
    margin: -2px 0 10px;
  }

  .sort-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sort-control select {
    width: 100%;
    min-width: 0;
  }

  .pricing-matrix {
    margin-right: 0;
    overflow: auto;
  }

  .pricing-table {
    min-width: 1080px;
  }

  th,
  td {
    padding: 9px 10px;
  }

  .network-panel {
    min-height: 0;
    overflow: hidden;
  }

  .network-map-board {
    min-height: 540px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
  }

  #networkSvg {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 14;
  }

  #networkSvg .network-map-titlebar,
  #networkSvg .network-map-kpis {
    display: none;
  }

  .network-layout {
    gap: 10px;
  }

  .network-list {
    gap: 10px;
    max-height: none;
    padding: 10px;
    overflow: visible;
    background: #f8fafc;
  }

  .network-side-head {
    align-items: flex-start;
    gap: 8px;
  }

  .network-side-head h2 {
    font-size: 15px;
  }

  .influence-row {
    grid-template-columns: 20px 9px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px 0;
  }

  .network-evidence-row {
    padding: 10px;
    border: 1px solid #eaedf2;
    border-radius: 8px;
    background: #fff;
  }

  .chain-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    padding: 9px 0;
  }

  .relation-chain {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .chain-row strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .relation-chip {
    justify-self: flex-start;
    min-height: 21px;
    padding: 0 6px;
  }
}

@media (min-width: 1121px) and (max-width: 1440px) {
  .kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .daily-list {
    grid-template-columns: 1fr;
  }
}


/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4
 * Hallmark · genre: modern-minimal · macrostructure: research workbench · designed-as-app
 */
:root {
  --bg: #eef3f4;
  --surface: #fbfcfa;
  --surface-muted: #eef3f1;
  --surface-raised: #ffffff;
  --surface-ink: #171a1f;
  --text: #101318;
  --muted: #66737d;
  --line: #cfd8d6;
  --line-strong: #aebbb8;
  --blue: #2454d6;
  --green: #0b8063;
  --red: #b12a37;
  --amber: #a76413;
  --ink: #171a1f;
  --accent: #bd6f28;
  --aqua: #117887;
  --violet: #6556c8;
  --paper-grid: rgba(23, 26, 31, 0.045);
  --shadow: 0 18px 42px rgba(25, 32, 36, 0.09), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  --shadow-soft: 0 10px 24px rgba(25, 32, 36, 0.07);
  --focus: 0 0 0 3px rgba(17, 120, 135, 0.22);
  --radius: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html,
body {
  overflow-x: clip;
}

body {
  background:
    linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #f8faf8 0%, #edf3f4 46%, #e7eeee 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.app-shell {
  grid-template-columns: 236px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(23, 26, 31, 0.04), transparent 260px),
    transparent;
}

.sidebar {
  padding: 20px 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #1e2228 0%, #121519 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 10px 0 28px rgba(23, 26, 31, 0.14);
}

.brand {
  min-height: 50px;
  margin-bottom: 24px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 243, 244, 0.95) 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.chip-shell {
  fill: var(--surface-ink);
}

.chip-core {
  fill: var(--accent);
}

.chip-line,
.chip-signal {
  stroke: var(--surface-ink);
}

.brand strong {
  letter-spacing: 0;
}

.brand small {
  color: #c4cbd1;
  font-variant-numeric: tabular-nums;
}

.nav-list {
  gap: 8px;
}

.nav-item {
  position: relative;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border-radius: var(--radius);
  color: #dce3e5;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.nav-item::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.nav-item.active,
.nav-item:hover {
  color: #11151a;
  border-color: rgba(255, 255, 255, 0.36);
  background: #f6f8f4;
}

.nav-item.active::before,
.nav-item:hover::before {
  background: var(--accent);
}

.workspace {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 30px 34px;
}

.topbar {
  position: relative;
  z-index: 2;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(174, 187, 184, 0.58);
  background: transparent;
  backdrop-filter: none;
}

.topbar > div:first-child {
  flex: 1 1 230px;
  min-width: min(100%, 230px);
}

h1 {
  font-size: 30px;
  font-weight: 780;
  line-height: 1.1;
}

h2 {
  font-size: 17px;
  font-weight: 760;
}

h3 {
  font-weight: 760;
}

.top-actions {
  flex: 0 1 560px;
  min-width: min(100%, 420px);
  gap: 10px;
  justify-content: flex-end;
}

.search-box,
select {
  border-color: var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 18px rgba(25, 32, 36, 0.05);
}

.search-box {
  flex: 1 1 280px;
  min-width: min(100%, 280px);
}

.top-actions select {
  flex: 0 0 auto;
}

.search-box span,
.sort-control span,
.sort-note,
.ticker,
.score-label,
.radar-score,
.section-title p {
  color: var(--muted);
}

select {
  color: var(--text);
}

.section.active {
  animation: section-reveal 180ms var(--ease-out);
}

@keyframes section-reveal {
  from {
    opacity: 0.72;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(174, 187, 184, 0.52);
}

.section-title h2 {
  position: relative;
  flex: 0 0 auto;
  padding-left: 12px;
}

.section-title p {
  flex: 1 1 320px;
  text-align: right;
}

.section-title h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi,
.panel,
.daily-entry,
.company-card,
.event-item,
.matrix {
  border-color: rgba(174, 187, 184, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 247, 0.96) 100%);
  box-shadow: var(--shadow);
}

.kpi,
.panel,
.daily-entry,
.company-card,
.event-item {
  position: relative;
  overflow: hidden;
}

.kpi::before,
.panel::before,
.daily-entry::before,
.company-card::before,
.event-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.kpi {
  min-height: 104px;
  padding: 15px 15px 14px;
}

.kpi:nth-child(2)::before,
.company-card:nth-child(3n + 2)::before {
  background: var(--aqua);
}

.kpi:nth-child(3)::before,
.company-card:nth-child(3n + 3)::before {
  background: var(--green);
}

.kpi:nth-child(4)::before,
.event-item:nth-child(2n)::before {
  background: var(--violet);
}

.kpi:nth-child(5)::before,
.kpi:nth-child(8)::before {
  background: var(--blue);
}

.kpi:nth-child(6)::before {
  background: var(--amber);
}

.kpi:nth-child(7)::before {
  background: var(--red);
}

.kpi span {
  color: var(--muted);
  font-weight: 680;
}

.kpi strong {
  margin-top: 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.panel-head {
  padding: 17px 18px 9px;
}

.pill {
  border-color: rgba(174, 187, 184, 0.82);
  color: #334044;
  background: #f4f7f5;
  font-weight: 680;
}

.bar-chart,
.theme-list {
  padding: 10px 18px 18px;
}

.bar-row {
  grid-template-columns: minmax(112px, 190px) minmax(100px, 1fr) 70px;
  min-height: 38px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(207, 216, 214, 0.56);
}

.bar-row:last-child {
  border-bottom: 0;
}

.bar-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 740;
}

.bar-track {
  height: 9px;
  border: 1px solid rgba(174, 187, 184, 0.45);
  background: #e5ebe9;
}

.bar-fill {
  background: linear-gradient(90deg, var(--accent) 0%, var(--aqua) 54%, var(--green) 100%);
}

.theme-item {
  min-height: 36px;
  padding: 8px 0;
  border-bottom-color: rgba(207, 216, 214, 0.7);
}

.daily-list,
.company-grid {
  gap: 16px;
}

.daily-entry {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  padding: 18px;
}

.daily-entry-head,
.card-top {
  align-items: flex-start;
}

.daily-entry-summary,
.signal {
  color: #283136;
}

.daily-entry-evidence,
.event-body p {
  color: #516069;
}

.daily-entry-side {
  gap: 9px;
}

.metric {
  border-color: rgba(174, 187, 184, 0.72);
  background: #f2f6f4;
}

.metric span {
  color: var(--muted);
  font-weight: 680;
}

.metric strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

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

.company-card {
  display: grid;
  gap: 12px;
  min-height: 244px;
  padding: 17px;
}

.score {
  color: var(--blue);
}

.company-tag-block {
  gap: 7px;
}

.company-tag-title {
  color: var(--muted);
  letter-spacing: 0;
}

.tag {
  border-color: rgba(174, 187, 184, 0.82);
  color: #344044;
  background: #ffffff;
  font-weight: 640;
}

.tag.good {
  border-color: rgba(11, 128, 99, 0.24);
  color: #0a6c55;
  background: rgba(11, 128, 99, 0.08);
}

.tag.risk {
  border-color: rgba(177, 42, 55, 0.22);
  color: #9f2430;
  background: rgba(177, 42, 55, 0.08);
}

.tag.muted {
  color: var(--muted);
  background: var(--surface-muted);
}

.pricing-tools,
.company-tools {
  margin: 0 0 12px;
}

.matrix {
  background: rgba(255, 255, 255, 0.96);
}

.pricing-table {
  min-width: 1120px;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  background: #fbfcfa;
}

.pricing-table th:first-child {
  background: #edf3f1;
}

th,
td {
  border-bottom-color: rgba(207, 216, 214, 0.74);
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #536168;
  background: #edf3f1;
  font-weight: 740;
}

.pricing-table th:first-child {
  z-index: 4;
}

.sort-head {
  min-height: 44px;
  height: 44px;
  color: #536168;
}

.sort-head.active,
.sort-indicator {
  color: var(--aqua);
}

.state.positive {
  color: var(--green);
}

.state.warning {
  color: var(--amber);
}

.state.hot,
.state.negative {
  color: var(--red);
}

.timeline {
  gap: 12px;
}

.event-item {
  grid-template-columns: 118px minmax(0, 1fr);
  padding: 16px;
}

.event-date {
  color: #55626b;
  font-weight: 720;
}

.network-layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.85fr);
  gap: 16px;
}

.network-map-board {
  border-color: rgba(174, 187, 184, 0.78);
  background:
    linear-gradient(90deg, rgba(23, 26, 31, 0.035) 1px, transparent 1px) 0 0 / 36px 36px,
    #ffffff;
  box-shadow: var(--shadow);
}

@media (min-width: 521px) {
  #networkSvg {
    height: auto;
    min-height: 0;
    aspect-ratio: 49 / 32;
  }
}

.network-list {
  border-color: rgba(174, 187, 184, 0.72);
  background: rgba(255, 255, 255, 0.94);
}

.network-side-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(207, 216, 214, 0.74);
}

.influence-row,
.chain-row {
  border-bottom-color: rgba(207, 216, 214, 0.74);
}

.influence-row em {
  color: var(--aqua);
}

.relation-chip {
  border-color: rgba(174, 187, 184, 0.9);
  color: #344044;
}

.empty-state {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.86);
}

@media (min-width: 1560px) {
  .kpi-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
  }

  .sidebar {
    padding: 12px 14px 10px;
    box-shadow: 0 10px 24px rgba(23, 26, 31, 0.18);
  }

  .brand {
    min-height: 42px;
    margin-bottom: 9px;
    padding: 4px 6px;
  }

  .nav-list {
    gap: 8px;
  }

  .nav-item {
    min-height: 44px;
    padding: 0 12px;
  }

  .workspace {
    padding: 18px 16px 24px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 0 18px;
    padding: 0 0 14px;
    background: transparent;
    backdrop-filter: none;
  }

  .topbar > div:first-child {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }

  .section-title {
    flex-direction: column;
  }

  .section-title h2,
  .section-title p {
    width: 100%;
    flex: 0 0 auto;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .section-title p {
    margin: 0;
    text-align: left;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .dashboard-grid,
  .network-layout {
    grid-template-columns: 1fr;
  }

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

  .daily-entry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff 0%, #f8faf7 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .kpi {
    min-height: 70px;
    padding: 11px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .kpi::before {
    height: 2px;
  }

  .kpi:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .kpi strong {
    margin-top: 7px;
    font-size: 22px;
  }

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

@media (max-width: 520px) {
  body {
    background:
      linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px) 0 0 / 34px 34px,
      linear-gradient(180deg, #f8faf8 0%, #eef3f4 100%);
  }

  .sidebar {
    padding: 10px 12px 9px;
  }

  .brand {
    min-height: 34px;
    margin-bottom: 8px;
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .workspace {
    padding: 14px 12px 18px;
  }

  h1 {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 16px;
  }

  .top-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .search-box,
  select {
    width: 100%;
    min-width: 0;
  }

  .search-box span {
    display: none;
  }

  .section-title {
    gap: 6px;
    margin-bottom: 12px;
  }

  .panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    justify-content: start;
    gap: 8px;
  }

  .panel-head .pill {
    justify-self: start;
    max-width: 100%;
  }

  .bar-row {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 7px 10px;
    min-height: 42px;
  }

  .bar-row strong {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .bar-row .num {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    justify-self: end;
  }

  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .daily-entry,
  .company-card,
  .event-item {
    min-height: 0;
    padding: 14px;
  }

  .daily-entry-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .company-card {
    display: grid;
    gap: 10px;
  }

  .company-card .signal {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .company-card .company-tag-list {
    max-height: 58px;
    overflow: hidden;
  }

  .metric {
    min-height: 50px;
    padding: 7px 6px;
  }

  .pricing-tools,
  .company-tools {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
    margin: -2px 0 10px;
  }

  .sort-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sort-control select {
    width: 100%;
    min-width: 0;
  }

  .pricing-matrix {
    margin-right: 0;
    overflow: auto;
  }

  .pricing-table {
    min-width: 1080px;
  }

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

  .network-panel {
    min-height: 0;
    overflow: hidden;
  }

  .network-map-board {
    min-height: 540px;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
  }

  #networkSvg {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 14;
  }

  .network-list {
    gap: 10px;
    max-height: none;
    padding: 10px;
    overflow: visible;
    background: #f8faf8;
  }

  .network-evidence-row {
    padding: 10px;
    border: 1px solid #e1e8e5;
    border-radius: var(--radius);
    background: #fff;
  }

  .chain-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    padding: 9px 0;
  }
}

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