:root {
  --page: #07111f;
  --page-soft: #0b1727;
  --sidebar: #081525;
  --panel: #102036;
  --panel-soft: #132740;
  --panel-strong: #172d49;
  --line: #253c58;
  --line-soft: rgba(111, 141, 174, .18);
  --text: #f3f7fb;
  --muted: #91a5bb;
  --muted-2: #6f849a;
  --accent: #55cdb4;
  --accent-strong: #7ce0cb;
  --blue: #6ea7ff;
  --green: #55d99b;
  --red: #ff7e86;
  --amber: #f1bd66;
  --purple: #a48aff;
  --shadow: 0 18px 48px rgba(0, 0, 0, .22);
  --radius: 16px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% -8%, rgba(74, 123, 199, .15), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #081523 44%, #07111f 100%);
  color: var(--text);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: 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;
  border-right: 1px solid var(--line);
  background: rgba(8, 21, 37, .96);
  backdrop-filter: blur(18px);
  z-index: 40;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 26px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #06231d;
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
  box-shadow: 0 9px 24px rgba(85, 205, 180, .18);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .03em;
}
.brand-block strong,
.brand-block span { display: block; }
.brand-block strong { font-size: .96rem; }
.brand-block span { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.workspace-label {
  margin: 0 10px 9px;
  color: var(--muted-2);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.main-nav { display: grid; gap: 5px; }
.main-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 720;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.main-nav a span {
  color: #60758b;
  font-size: .62rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: var(--panel-soft);
}
.main-nav a.active {
  box-shadow: inset 3px 0 var(--accent);
}
.engine-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page-soft);
}
.engine-line { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.engine-line strong { font-size: .8rem; }
.engine-card small { display: block; margin-top: 4px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(85, 217, 155, .08), 0 0 12px rgba(85, 217, 155, .45);
}

.main-area { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(37, 60, 88, .85);
  background: rgba(7, 17, 31, .88);
  backdrop-filter: blur(20px);
}
.topbar-title { display: flex; align-items: center; gap: 10px; }
.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(1.18rem, 2vw, 1.72rem); line-height: 1.15; }
h2 { margin-bottom: 0; font-size: clamp(1.34rem, 2.2vw, 1.84rem); line-height: 1.2; }
h3 { margin-bottom: 4px; font-size: 1rem; }
.global-tools { display: flex; align-items: center; gap: 9px; }
.global-search {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.global-search span { color: var(--muted); }
.global-search input {
  width: 100%;
  height: 39px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}
.global-tools select,
.news-tools select,
.news-tools input {
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
  outline: 0;
}
.global-tools select:focus,
.news-tools select:focus,
.news-tools input:focus,
.global-search:focus-within { border-color: rgba(85, 205, 180, .65); box-shadow: 0 0 0 3px rgba(85, 205, 180, .08); }
.primary-button,
.secondary-button,
.icon-button {
  min-height: 39px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 820;
}
.primary-button { padding: 9px 14px; color: #042018; background: var(--accent); }
.primary-button:hover { background: var(--accent-strong); }
.secondary-button { padding: 9px 13px; color: var(--text); border-color: var(--line); background: var(--panel); }
.icon-button { width: 39px; padding: 0; color: var(--text); border-color: var(--line); background: var(--panel); }
.full-width { width: 100%; }
.mobile-only { display: none; }

.page-content { width: min(1460px, 100%); padding: 26px; }
.dashboard-section { padding-top: 34px; scroll-margin-top: 92px; }
.first-section { padding-top: 0; }
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.section-header.aligned-bottom { align-items: flex-end; }
.section-copy {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.55;
}
.update-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--page-soft);
}
.update-status small,
.update-status strong { display: block; }
.update-status small { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.update-status strong { margin-top: 2px; font-size: .78rem; }

.health-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(11, 23, 39, .72);
}
.health-strip > div { padding: 11px 14px; border-right: 1px solid var(--line); }
.health-strip > div:last-child { border-right: 0; }
.health-strip span,
.health-strip strong { display: block; }
.health-strip span { color: var(--muted-2); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.health-strip strong { margin-top: 4px; font-size: .75rem; font-weight: 720; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.metric-card {
  min-height: 128px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(85, 205, 180, .05), transparent 45%), var(--panel);
  box-shadow: var(--shadow);
}
.metric-label,
.metric-card strong,
.metric-card small { display: block; }
.metric-label { color: var(--muted); font-size: .69rem; font-weight: 760; letter-spacing: .045em; text-transform: uppercase; }
.metric-card strong { margin-top: 13px; font-size: 1.08rem; line-height: 1.3; }
.metric-card small { margin-top: 7px; color: var(--muted); font-size: .7rem; line-height: 1.42; }
.risk-card { background: linear-gradient(155deg, rgba(241, 189, 102, .06), transparent 45%), var(--panel); }

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(220px, .65fr));
  gap: 14px;
}
.panel {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .014), transparent 42%), var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.section-kicker { display: block; margin-bottom: 4px; color: var(--muted-2); font-size: .63rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.source-pill,
.disclaimer-chip {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--page-soft);
  font-size: .66rem;
  font-weight: 760;
}
.disclaimer-chip.warning { color: var(--amber); border-color: rgba(241, 189, 102, .25); background: rgba(241, 189, 102, .06); }

.lead-story { min-height: 220px; }
.lead-story-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid rgba(110, 167, 255, .25);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(7,17,31,.06), rgba(7,17,31,.94)),
    radial-gradient(circle at 85% 10%, rgba(110, 167, 255, .18), transparent 32%),
    linear-gradient(135deg, #18324f, #0d1b2d);
}
.lead-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.lead-meta span { padding: 4px 7px; border-radius: 6px; color: #b7c7d8; background: rgba(255,255,255,.06); font-size: .65rem; }
.lead-story-card h3 { max-width: 860px; margin: 0 0 10px; font-size: clamp(1.16rem, 2.3vw, 1.75rem); line-height: 1.28; }
.lead-story-card h3 a { text-decoration: none; }
.lead-story-card h3 a:hover { color: var(--accent-strong); }
.lead-story-card p { max-width: 780px; margin: 0; color: #a9bbce; font-size: .8rem; line-height: 1.55; }

.compact-list { display: grid; }
.compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.compact-row:first-child { border-top: 0; padding-top: 2px; }
.compact-row strong,
.compact-row small { display: block; }
.compact-row strong { font-size: .78rem; line-height: 1.35; }
.compact-row small { margin-top: 3px; color: var(--muted); font-size: .66rem; }
.compact-value { align-self: center; font-size: .73rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.neutral { color: var(--muted); }

.news-tools { display: flex; gap: 8px; }
.news-tools input { min-width: 230px; }
.category-tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.category-tab {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--page-soft);
  font-size: .72rem;
  font-weight: 760;
}
.category-tab:hover,
.category-tab.active { color: #06231d; border-color: var(--accent); background: var(--accent); }
.newsroom-heading { align-items: center; }
.newsroom-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .7rem; }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.news-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--page-soft);
  transition: transform .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: #385675; }
.news-card.featured { grid-column: span 2; background: linear-gradient(145deg, rgba(110, 167, 255, .07), transparent 50%), var(--page-soft); }
.news-card-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .65rem; }
.news-card h3 { margin: 14px 0 9px; font-size: .96rem; line-height: 1.42; }
.news-card.featured h3 { font-size: 1.2rem; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-strong); }
.news-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.news-card footer { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted-2); font-size: .64rem; }
.news-badge { padding: 4px 6px; border-radius: 6px; color: var(--blue); background: rgba(110, 167, 255, .08); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 14px;
}
.market-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.market-card-top { display: flex; justify-content: space-between; gap: 8px; }
.market-card h3 { margin-bottom: 2px; font-size: .79rem; }
.market-card .symbol { color: var(--muted-2); font-size: .62rem; }
.market-price { margin-top: 12px; font-size: 1rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.change { font-size: .7rem; font-weight: 850; }
.sparkline { height: 33px; margin-top: 8px; }
.sparkline svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-panel { min-height: 400px; }
.svg-chart { width: 100%; min-height: 325px; }
.svg-chart.tall { min-height: 380px; }
.svg-chart svg { display: block; width: 100%; height: auto; min-height: 320px; }
.chart-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.horizontal-bars { display: grid; gap: 8px; margin-bottom: 13px; }
.bar-row { display: grid; grid-template-columns: minmax(105px, 1.35fr) 3fr auto; align-items: center; gap: 9px; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .69rem; }
.bar-track { height: 7px; border-radius: 999px; background: #0a1727; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.bar-value { color: var(--muted-2); font-size: .65rem; font-variant-numeric: tabular-nums; }
.rank-list,
.story-list { display: grid; }
.rank-item,
.story-item {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.rank-item { grid-template-columns: 28px minmax(0, 1fr) auto; }
.story-item { grid-template-columns: 34px minmax(0, 1fr) auto; }
.rank-number,
.story-score {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(85, 205, 180, .07);
  font-size: .67rem;
  font-weight: 850;
}
.rank-item strong,
.story-item strong { display: block; font-size: .78rem; line-height: 1.35; }
.rank-item small,
.story-item small { color: var(--muted); font-size: .65rem; }
.rank-value,
.story-comments { color: var(--muted-2); font-size: .66rem; white-space: nowrap; }
.story-link { color: inherit; text-decoration: none; }
.story-link:hover strong { color: var(--accent-strong); }
.inline-notice {
  margin-bottom: 11px;
  padding: 9px 11px;
  border: 1px solid rgba(241, 189, 102, .2);
  border-radius: 10px;
  color: #d4bd91;
  background: rgba(241, 189, 102, .045);
  font-size: .7rem;
  line-height: 1.45;
}
.domain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.domain-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--page-soft);
}
.domain-rank {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: var(--panel-soft);
  font-size: .65rem;
  font-weight: 850;
}
.domain-item a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; font-size: .75rem; }
.domain-item a:hover { color: var(--accent-strong); }
.category-bars { display: grid; gap: 12px; }
.category-row { display: grid; gap: 6px; }
.category-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .73rem; }
.category-track { height: 8px; border-radius: 999px; background: #0a1727; overflow: hidden; }
.category-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--blue)); }
.footnote { margin: 14px 0 0; color: var(--muted-2); font-size: .67rem; line-height: 1.48; }

.important-note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(241, 189, 102, .22);
  border-radius: 11px;
  color: #d6c49e;
  background: rgba(241, 189, 102, .05);
  font-size: .75rem;
  line-height: 1.55;
}
.chart-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.legend-item { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .66rem; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.risk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 14px; }
.risk-item { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.risk-item span,
.risk-item strong,
.risk-item small { display: block; }
.risk-item span { color: var(--muted); font-size: .69rem; }
.risk-item strong { margin-top: 8px; font-size: 1.24rem; }
.risk-item small { margin-top: 5px; color: var(--muted-2); font-size: .66rem; line-height: 1.42; }

.methodology-section { padding-bottom: 40px; }
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.method-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--page-soft); }
.method-card strong { font-size: .8rem; }
.method-card p { margin: 8px 0 0; color: var(--muted); font-size: .71rem; line-height: 1.55; }

.loading-state { min-height: 72px; color: var(--muted); }
.empty-state { padding: 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: .76rem; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, .52);
  transition: .2s ease;
}
.settings-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(430px, 100%);
  height: 100vh;
  overflow: auto;
  padding: 24px;
  border-left: 1px solid var(--line);
  background: #0b1727;
  box-shadow: -24px 0 70px rgba(0, 0, 0, .35);
  transform: translateX(100%);
  transition: .24s ease;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.settings-drawer.open { transform: translateX(0); }
.drawer-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.settings-drawer label { display: grid; gap: 8px; margin-bottom: 17px; color: var(--muted); font-size: .78rem; font-weight: 760; }
.settings-drawer input,
.settings-drawer select,
.settings-drawer textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
  outline: 0;
  resize: vertical;
}
.settings-drawer small { color: var(--muted-2); font-weight: 500; line-height: 1.45; }
.settings-note { margin-top: 21px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); font-size: .73rem; line-height: 1.52; }
.settings-note p { margin: 7px 0 0; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 110;
  max-width: min(520px, calc(100% - 28px));
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  .global-search { min-width: 210px; }
  .overview-grid { grid-template-columns: minmax(0, 1.5fr) 1fr; }
  .lead-panel { grid-row: span 2; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .app-shell { display: block; }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 248px;
    transform: translateX(-100%);
    transition: .22s ease;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 24px 0 70px rgba(0,0,0,.42); }
  .mobile-only { display: inline-grid; place-items: center; }
  .topbar { padding: 12px 14px; align-items: flex-start; }
  .global-tools { flex-wrap: wrap; justify-content: flex-end; }
  .global-search { min-width: 180px; }
  .global-tools select,
  .secondary-button { display: none; }
  .page-content { padding: 20px 14px; }
  .split-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .topbar-title .eyebrow { display: none; }
  .topbar h1 { font-size: 1rem; }
  .global-search { display: none; }
  .topbar .primary-button { padding-inline: 10px; }
  .section-header,
  .section-header.aligned-bottom { align-items: flex-start; flex-direction: column; }
  .update-status { width: 100%; }
  .health-strip { grid-template-columns: 1fr; }
  .health-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .health-strip > div:last-child { border-bottom: 0; }
  .metric-grid,
  .overview-grid,
  .editorial-grid,
  .market-grid,
  .risk-grid,
  .method-grid { grid-template-columns: 1fr; }
  .lead-panel { grid-row: auto; }
  .news-card.featured { grid-column: auto; }
  .news-tools { width: 100%; display: grid; grid-template-columns: 1fr; }
  .news-tools input { min-width: 0; width: 100%; }
  .domain-list { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: minmax(85px, 1fr) 2fr auto; }
  .panel { padding: 15px; }
  .page-content { padding-inline: 10px; }
}


.news-fetch-status {
  display: none;
  margin: -4px 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--bg-soft);
  font-size: .76rem;
  line-height: 1.45;
}
.news-fetch-status.visible { display: block; }
.news-fetch-status.warning {
  color: #e6c98e;
  border-color: rgba(241, 189, 102, .28);
  background: rgba(241, 189, 102, .06);
}
.news-fetch-status.success {
  color: #a8e4d3;
  border-color: rgba(85, 205, 180, .24);
  background: rgba(85, 205, 180, .055);
}
.mini-button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel-2);
  font-size: .7rem;
  font-weight: 800;
}
.mini-button:hover { border-color: var(--brand); color: var(--brand); }
.mini-button:disabled { opacity: .55; cursor: wait; }
