﻿body {
  background: #f5f7fb;
  color: #182230;
  overflow-x: hidden;
}

.home-page {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef4f2 46%, #f8fafc 100%);
}

.site-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.site-kicker {
  color: #58708d;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-title {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
}

.site-subtitle {
  max-width: 780px;
  color: #475467;
  font-size: 1.02rem;
}

.site-panel {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 42, 70, 0.08);
}

.site-panel-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6edf7;
  padding: 16px 18px;
}

.site-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.site-panel-body {
  padding: 18px;
}

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

.metric-tile {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.metric-tile.emphasis {
  border-color: #f4c86a;
  background: #fff8ea;
}

.metric-label {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 5px;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 800;
}

.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

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

.table-wrap {
  max-height: 560px;
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #e6edf7;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
  color: #475467;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: #f8fbff;
}

.rank-badge {
  display: inline-flex;
  min-width: 32px;
  justify-content: center;
  border-radius: 999px;
  background: #e9f2ff;
  color: #155bb5;
  font-weight: 800;
  padding: 2px 8px;
}

.empty-state {
  border: 1px dashed #b9c7da;
  border-radius: 8px;
  color: #58708d;
  padding: 16px;
}

.link-quiet {
  color: #155bb5;
  font-weight: 700;
  text-decoration: none;
}

.link-quiet:hover {
  text-decoration: underline;
}

.source-note {
  color: #667085;
  font-size: 0.86rem;
}

.home-shell {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.home-hero,
.chart-studio-hero,
.briefing-hero,
.insight-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.home-hero {
  align-items: start;
  grid-template-areas: "copy desk";
}

.home-hero-intro,
.chart-studio-hero,
.briefing-hero,
.insight-hero {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(25, 42, 70, 0.09);
}

.home-hero-copy {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  grid-area: copy;
  min-width: 0;
}

.home-hero-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.theme-mode-control {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #f8fbff;
  overflow: hidden;
  min-width: 174px;
}

.site-theme-control {
  flex: 0 0 auto;
  margin: 0 20px 0 12px;
}

.theme-mode-control button {
  border: 0;
  border-right: 1px solid #d9e2ef;
  background: transparent;
  color: #58677a;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  padding: 9px 10px;
}

.theme-mode-control button:last-child {
  border-right: 0;
}

.theme-mode-control button.active,
.theme-mode-control button:hover {
  background: #155bb5;
  color: #fff;
}

header.bd-navbar {
  gap: 16px;
  min-height: 68px;
  padding: 0 20px;
}

header.bd-navbar #bdNavbar {
  min-width: 0;
}

.mobile-bottom-nav {
  display: none;
}

.site-product-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  line-height: 1;
  max-width: 220px;
  min-width: 0;
  padding: 8px 0;
  text-decoration: none;
}

.site-product-brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-product-brand-logos {
  display: inline-flex;
  flex: 0 0 auto;
}

.site-product-brand-logo {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  height: 36px;
  object-fit: contain;
  padding: 3px;
  width: 36px;
}

.site-product-brand-logo + .site-product-brand-logo {
  margin-left: -9px;
}

.site-product-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.site-product-brand-copy strong {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-product-brand-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-brand-lockup {
  align-items: center;
  align-self: flex-start;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff7ef 100%);
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
  max-width: 560px;
  padding: 12px 14px;
}

.home-brand-logos {
  display: flex;
  flex: 0 0 auto;
}

.home-brand-logo {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(25, 42, 70, 0.12);
  height: 54px;
  object-fit: contain;
  padding: 4px;
  width: 54px;
}

.home-brand-logo + .home-brand-logo {
  margin-left: -12px;
}

.home-brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-brand-copy span {
  color: #b65318;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-brand-copy strong {
  color: #10233f;
  font-size: 1.05rem;
  font-weight: 900;
}

.home-brand-copy small {
  color: #58708d;
  font-size: 0.82rem;
  font-weight: 650;
}

.home-hero-intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #e47a3f;
}

.home-title {
  color: #111827;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
}

.home-title span {
  display: block;
}

.home-title span + span {
  color: #155bb5;
  padding-left: 0.32em;
  position: relative;
}

.home-title span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 0.18em;
  height: 0.72em;
  border-radius: 999px;
  background: #e47a3f;
}

.home-lede {
  color: #475467;
  font-size: 1.08rem;
  margin: 20px 0 0;
  max-width: 650px;
}

.home-actions,
.home-map-toolbar,
.section-heading,
.chart-controls,
.briefing-filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  max-width: 380px;
}

.home-action-pill {
  align-items: center;
  border: 1px solid #b9c7da;
  border-radius: 999px;
  color: #155bb5;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  padding: 10px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.home-action-pill.primary {
  background: #155bb5;
  border-color: #155bb5;
  color: #fff;
}

.home-action-pill.muted {
  color: #475467;
}

.home-action-pill:hover {
  border-color: #0f3f80;
  color: #0f3f80;
  text-decoration: none;
}

.home-action-pill.primary:hover {
  background: #0f3f80;
  color: #fff;
}

.home-today-spotlight {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #f8fbff;
  display: grid;
  gap: 13px;
  margin-top: 20px;
  padding: 16px;
}

.home-today-copy span {
  color: #9b4a1d;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-today-copy h2 {
  color: #111827;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 5px 0 6px;
}

.home-today-copy p {
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.home-today-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-today-stats div {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
}

.home-today-stats span {
  color: #667085;
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-today-stats strong {
  color: #111827;
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 2px;
}

.home-today-context {
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(21, 91, 181, 0.07), transparent 52%),
    #fff;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.home-context-head {
  display: grid;
  gap: 4px;
}

.home-context-head span,
.home-context-facts span {
  color: #155bb5;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-context-head strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-today-context p {
  color: #475467;
  display: -webkit-box;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-today-context > small {
  color: #667085;
  display: -webkit-box;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-context-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-context-facts div {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px 10px;
}

.home-context-facts strong {
  color: #111827;
  display: block;
  font-size: 1.04rem;
  font-weight: 900;
  margin: 3px 0;
}

.home-context-facts small {
  color: #58677a;
  display: -webkit-box;
  font-size: 0.76rem;
  line-height: 1.32;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-context-links {
  display: grid;
  gap: 6px;
}

.home-context-links a,
.home-context-search {
  color: #155bb5;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.home-context-links a {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  display: block;
  padding: 8px 9px;
}

.home-context-links a span {
  color: #9b4a1d;
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.home-context-links a:hover,
.home-context-search:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-context-empty {
  color: #667085;
  font-size: 0.8rem;
}

.home-continent-cases {
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  background: #fff;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.home-continent-cases-head {
  display: grid;
  gap: 3px;
}

.home-continent-cases-head span,
.home-continent-case-top span {
  color: #9b4a1d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-continent-cases-head strong {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 900;
}

.home-continent-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-continent-case {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(228, 122, 63, 0.08), transparent 58%),
    #f8fbff;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px;
}

.home-continent-case-top {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.home-continent-case-top b {
  border-radius: 999px;
  background: #fff3e8;
  color: #9b4a1d;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 2px 7px;
}

.home-continent-case h3 {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 0;
}

.home-continent-case p {
  color: #58677a;
  font-size: 0.75rem;
  line-height: 1.25;
  margin: 0;
}

.home-continent-case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.home-continent-case-facts span {
  border: 1px solid #e6edf7;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 6px 7px;
}

.home-continent-case a {
  color: #155bb5;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.home-continent-case a:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-today-link {
  color: #155bb5;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.home-today-link:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-research-panel {
  display: grid;
  grid-area: desk;
  gap: 14px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(25, 42, 70, 0.09);
  min-width: 0;
}

.home-research-header,
.home-trend-head,
.home-method-strip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.home-research-header h2 {
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.04;
  margin: 4px 0 8px;
}

.home-research-header p,
.home-trend-head p {
  color: #58677a;
  margin: 0;
}

.home-research-header > .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.home-radar-actions {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.home-radar-year-field {
  color: #667085;
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 4px;
  min-width: 138px;
  text-transform: uppercase;
}

.home-radar-year-field .form-select {
  border-color: #bfd0e6;
  color: #182230;
  font-size: 0.86rem;
  font-weight: 700;
}

.scale-visual-wrap {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.scale-method-note {
  border-top: 1px solid #e6edf7;
  color: #58677a;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 8px 12px 10px;
}

.scale-visual-wrap canvas,
.home-trend-panel canvas {
  display: block;
  width: 100%;
  height: auto;
}

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

.home-research-metrics div {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}

.home-research-metrics span {
  display: block;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-research-metrics strong {
  display: block;
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 5px;
}

.home-regional-panel {
  border-top: 1px solid #e6edf7;
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

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

.home-regional-head h3 {
  color: #111827;
  font-size: 1.04rem;
  font-weight: 900;
  margin: 0 0 4px;
}

.home-regional-head p {
  color: #58677a;
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0;
}

.home-regional-head a {
  color: #155bb5;
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.home-hexbin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-hexbin-tabs button {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 6px 9px;
}

.home-hexbin-tabs button.active,
.home-hexbin-tabs button:hover {
  border-color: #155bb5;
  background: #155bb5;
  color: #fff;
}

.home-hexbin-map-wrap {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  min-width: 0;
  overflow-x: auto;
}

.hexbin-map.home-hexbin-map {
  border: 0;
  border-radius: 0;
  min-width: 0;
}

.home-hexbin-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.home-hexbin-readout {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  min-height: 98px;
  padding: 11px 12px;
}

.home-hexbin-readout div {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.home-hexbin-readout span {
  color: #155bb5;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hexbin-readout strong {
  color: #111827;
  font-size: 1.12rem;
  font-weight: 900;
}

.home-hexbin-readout p {
  color: #344054;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  margin: 4px 0 5px;
}

.home-hexbin-readout b {
  color: #155bb5;
  display: block;
  font-size: 1.04rem;
  line-height: 1.1;
}

.home-hexbin-readout small {
  color: #667085;
  display: block;
  font-size: 0.78rem;
  margin-top: 5px;
}

.home-hexbin-legend {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 206px;
  padding: 10px;
}

.home-hexbin-legend span {
  align-items: center;
  color: #475467;
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 6px;
  white-space: nowrap;
}

.home-hexbin-legend .legend-swatch {
  flex: 0 0 auto;
  height: 14px;
  width: 17px;
}

.home-trend-panel {
  border-top: 1px solid #e6edf7;
  padding-top: 14px;
}

.home-trend-head {
  align-items: center;
  margin-bottom: 8px;
}

.home-trend-head h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 4px;
}

.home-trend-head span {
  border-radius: 999px;
  background: #fff4e8;
  color: #9b4a1d;
  font-weight: 900;
  padding: 5px 10px;
  white-space: nowrap;
}

.home-trend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.home-trend-tabs button {
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.home-trend-tabs button.active,
.home-trend-tabs button:hover {
  border-color: #155bb5;
  background: #eaf3ff;
  color: #155bb5;
}

.home-bubble-panel {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.06), transparent 54%),
    #fff;
  display: grid;
  gap: 10px;
  padding: 14px;
}

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

.home-bubble-head h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 4px;
}

.home-bubble-head p {
  color: #58677a;
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0;
}

.home-bubble-head a {
  color: #155bb5;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.home-bubble-head a:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-bubble-chart-wrap {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  height: 340px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.home-bubble-panel canvas {
  display: block;
  height: 100%;
  width: 100%;
}

.home-bubble-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.home-bubble-legend span {
  align-items: center;
  color: #475467;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 6px;
}

.home-bubble-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.home-bubble-legend i.target {
  background: rgba(220, 38, 38, 0.58);
  border: 1px solid rgba(153, 27, 27, 0.9);
}

.home-bubble-legend i.reference {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(71, 85, 105, 0.36);
}

.home-method-strip {
  align-items: center;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.home-method-strip span {
  display: block;
  color: #155bb5;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-method-strip strong {
  color: #182230;
  font-size: 0.95rem;
}

.home-method-strip a {
  color: #155bb5;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.home-outlook-card {
  border: 1px solid #d9e2ef;
  border-left: 6px solid #e47a3f;
  border-radius: 10px;
  background: #fffdf9;
  color: #182230;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(25, 42, 70, 0.07);
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-outlook-meta,
.briefing-outlook-meta,
.briefing-outlook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.home-outlook-meta {
  color: #9b4a1d;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-outlook-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.18rem, 2.4vw, 1.72rem);
  font-weight: 900;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.home-outlook-card p {
  color: #475467;
  margin: 0;
}

.home-outlook-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.home-outlook-signals span {
  border: 1px solid #e8ddcf;
  border-radius: 8px;
  background: #fff8ee;
  color: #80502c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px;
}

.home-outlook-signals strong {
  display: block;
  color: #182230;
  font-size: 0.92rem;
}

.home-outlook-link {
  color: #155bb5;
  font-weight: 900;
  text-decoration: none;
}

.home-outlook-link:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-briefing-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-briefing-panel {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(21, 91, 181, 0.06), transparent 58%),
    #fbfdff;
  display: grid;
  gap: 12px;
  padding: 14px;
}

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

.home-briefing-panel-head span {
  color: #9b4a1d;
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-briefing-panel-head strong {
  color: #111827;
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 2px;
}

.home-briefing-panel-head a {
  border: 1px solid #b9c7da;
  border-radius: 999px;
  color: #155bb5;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.home-briefing-panel-head a:hover {
  border-color: #0f3f80;
  color: #0f3f80;
  text-decoration: none;
}

.home-briefing-mini {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 13px;
  min-width: 0;
  box-shadow: 0 8px 22px rgba(25, 42, 70, 0.06);
}

.home-research-panel .home-briefing-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-research-panel .home-briefing-mini {
  background: #fff;
  box-shadow: none;
  min-height: 150px;
  padding: 11px;
}

.home-briefing-mini span {
  display: block;
  color: #155bb5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-briefing-mini h3 {
  color: #111827;
  display: -webkit-box;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.22;
  margin: 7px 0;
  min-height: 2.35em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-research-panel .home-briefing-mini h3 {
  font-size: 0.88rem;
  min-height: 2.12em;
}

.home-briefing-mini p {
  color: #58677a;
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 3.25em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-research-panel .home-briefing-mini p {
  font-size: 0.78rem;
  min-height: 2.8em;
  -webkit-line-clamp: 2;
}

.home-briefing-mini a {
  color: #155bb5;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.home-briefing-mini a:hover {
  color: #0f3f80;
  text-decoration: underline;
}

.home-map-panel {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #101828;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(25, 42, 70, 0.16);
}

.home-map-toolbar {
  color: #fff;
  padding: 14px 16px;
}

.home-map-toolbar .metric-label {
  color: #f7c35f;
}

.home-map-title {
  font-weight: 800;
}

.home-map-toolbar .form-select {
  max-width: 180px;
}

.home-map {
  height: 510px;
  background: #d9e2ef;
}

.home-map-note {
  color: #ced7e4;
  font-size: 0.84rem;
  padding: 9px 16px 14px;
}

.home-daily-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.home-hero-copy .home-daily-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.home-daily-card {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  min-height: 188px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.home-daily-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
}

.accent-warm::before { background: #ef7b45; }
.accent-blue::before { background: #155bb5; }
.accent-green::before { background: #198754; }
.accent-purple::before { background: #7a5af8; }

.home-daily-value {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0;
}

.home-daily-card p {
  color: #475467;
  min-height: 58px;
}

.home-hero-copy .home-daily-card {
  min-height: 176px;
}

.home-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.home-feature-panel,
.home-fast-paths-panel,
.podium-panel,
.insight-control-panel,
.chart-meaning-panel,
.briefing-controls {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(25, 42, 70, 0.07);
}

.home-fast-paths-panel {
  background:
    linear-gradient(135deg, rgba(21, 91, 181, 0.08), transparent 52%),
    #fff;
  display: grid;
  gap: 12px;
}

.fast-paths-lede {
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: -3px 0 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.section-heading.compact {
  display: block;
}

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

.feature-event {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  padding: 10px;
}

.feature-event img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 6px;
  background: #edf2f7;
}

.feature-event h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 850;
}

.feature-event p {
  color: #58677a;
  font-size: 0.9rem;
  margin: 0;
}

.featured-events-panel .feature-event-grid {
  gap: 14px;
}

.featured-events-panel .feature-event {
  grid-template-columns: 156px 1fr;
  min-height: 132px;
}

.quick-link-list {
  display: grid;
  gap: 9px;
}

.quick-link-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  color: #182230;
  font-weight: 800;
  padding: 12px;
  text-decoration: none;
}

.quick-link-list a:hover {
  border-color: #155bb5;
  background: #f4f8ff;
}

.quick-link-list.expanded {
  gap: 10px;
}

.quick-link-list.expanded a {
  align-items: flex-start;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 72px;
  padding: 12px;
}

.quick-link-list.expanded a > span,
.quick-link-list.expanded a > svg {
  color: #155bb5;
  grid-row: 1 / 3;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.quick-link-list.expanded strong {
  color: #111827;
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}

.quick-link-list.expanded small {
  color: #58677a;
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.28;
  margin-top: 3px;
}

.fast-path-note {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.fast-path-note span {
  color: #9b4a1d;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fast-path-note strong {
  color: #111827;
  display: block;
  font-size: 0.96rem;
  line-height: 1.25;
  margin-top: 4px;
}

.insight-hero,
.briefing-hero,
.chart-studio-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.insight-hero-stat,
.briefing-score-card {
  align-self: stretch;
  border-radius: 10px;
  background: linear-gradient(135deg, #182230, #30445f);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insight-hero-stat span,
.briefing-score-card span {
  color: #f7c35f;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.insight-hero-stat strong,
.briefing-score-card strong {
  font-size: 3rem;
  line-height: 1.05;
}

.insight-hero-stat strong {
  font-size: clamp(1.9rem, 3.1vw, 2.35rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.metric-pill-row,
.briefing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.metric-pill,
.briefing-tab,
.question-button {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-weight: 800;
  padding: 8px 13px;
}

.metric-pill.active,
.briefing-tab.active,
.question-button.active {
  border-color: #155bb5;
  background: #155bb5;
  color: #fff;
}

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

.podium-card {
  border: 1px solid #e6edf7;
  border-radius: 10px;
  background: #f8fbff;
  padding: 18px;
}

.podium-card.rank-1 {
  background: #fff8ea;
  border-color: #f4c86a;
}

.podium-rank {
  color: #155bb5;
  font-weight: 900;
}

.podium-card h3 {
  margin: 8px 0;
  font-weight: 900;
}

.podium-value {
  color: #111827;
  font-size: 1.75rem;
  font-weight: 900;
}

.podium-card p,
.ranking-story {
  color: #58677a;
}

.insights-layout.refined {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.mini-event-list,
.area-bar-list {
  display: grid;
  gap: 10px;
}

.mini-event {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6edf7;
  padding-bottom: 10px;
}

.mini-event span {
  display: block;
  color: #667085;
  font-size: 0.85rem;
}

.area-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #475467;
  font-size: 0.88rem;
}

.area-bar-head strong {
  color: #182230;
}

.area-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
  margin-top: 6px;
}

.area-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ef7b45, #155bb5);
}

.briefing-hero {
  margin-bottom: 18px;
}

.briefing-ai-notice {
  align-items: start;
  border: 1px solid #d6e0ee;
  border-left: 4px solid #155bb5;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(21, 91, 181, 0.08), rgba(255, 255, 255, 0.92) 34%),
    #fff;
  box-shadow: 0 10px 28px rgba(25, 42, 70, 0.06);
  color: #344054;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: -4px 0 18px;
  padding: 14px 16px;
}

.briefing-ai-notice-icon {
  align-items: center;
  background: #155bb5;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.briefing-ai-notice strong {
  color: #111827;
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.briefing-ai-notice p {
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.48;
  margin: 0;
}

.briefing-outlook {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid #f0c979;
  border-radius: 10px;
  background: #fffaf0;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(78, 44, 23, 0.1);
  margin-bottom: 18px;
  min-width: 0;
}

.briefing-outlook-copy h2 {
  color: #111827;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}

.briefing-outlook-copy p {
  color: #475467;
  font-size: 1rem;
  line-height: 1.6;
}

.briefing-outlook-narrative {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.briefing-outlook-narrative article {
  border-left: 3px solid #ef7b45;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
}

.briefing-outlook-narrative span {
  color: #8a4c16;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.briefing-outlook-narrative p {
  color: #3f4d63;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.briefing-outlook-meta {
  justify-content: flex-start;
  color: #8a4c16;
  font-size: 0.85rem;
  font-weight: 850;
}

.briefing-outlook-detail {
  display: grid;
  gap: 14px;
}

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

.briefing-risk-card {
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 12px;
}

.briefing-risk-card span {
  color: #34537a;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.briefing-risk-card strong {
  color: #155bb5;
  display: block;
  font-size: clamp(1.1rem, 2.1vw, 1.78rem);
  line-height: 1.1;
  margin: 4px 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.briefing-risk-card p {
  color: #475467;
  font-size: 0.84rem;
  line-height: 1.38;
  margin: 0;
}

.briefing-outlook-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.briefing-outlook-signals article {
  border: 1px solid #efd5a6;
  border-radius: 8px;
  background: #fff;
  padding: 13px;
}

.briefing-outlook-signals span {
  color: #8a4c16;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.briefing-outlook-signals strong {
  display: block;
  color: #111827;
  font-size: 1.05rem;
  margin: 5px 0;
}

.briefing-outlook-signals p {
  color: #58677a;
  font-size: 0.9rem;
  margin: 0;
}

.briefing-outlook-actions {
  justify-content: flex-start;
}

.briefing-controls {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

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

.briefing-lane {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(25, 42, 70, 0.06);
  overflow: hidden;
}

.briefing-lane .site-panel-header {
  align-items: flex-start;
  gap: 10px;
}

.briefing-lane-list {
  display: grid;
  gap: 0;
}

.briefing-lane-item {
  border-top: 1px solid #edf2f8;
  color: #101828;
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  text-decoration: none;
}

.briefing-lane-item:hover {
  background: #f8fbff;
}

.briefing-lane-item span {
  color: #155bb5;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.briefing-lane-item strong {
  color: #101828;
  font-size: 0.96rem;
  line-height: 1.32;
}

.briefing-lane-item small {
  color: #667085;
  font-weight: 700;
}

.briefing-search-row .form-label,
.briefing-filter-row .form-label {
  margin: 0;
}

.briefing-search-row .form-label {
  display: block;
  width: 100%;
}

.briefing-search-row .form-control {
  width: 100%;
}

.briefing-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 190px;
  align-items: end;
  gap: 12px;
}

.briefing-tabs {
  align-self: end;
  margin: 0;
  min-width: 0;
}

.briefing-grid.refined {
  grid-template-columns: minmax(0, 1fr) 350px;
}

.briefing-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

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

.briefing-source-grid div {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  padding: 12px;
}

.briefing-source-grid span {
  display: block;
  color: #667085;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.briefing-source-grid strong {
  font-size: 1.5rem;
}

.briefing-card.upgraded {
  box-shadow: 0 8px 26px rgba(25, 42, 70, 0.07);
}

.briefing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.priority-badge {
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 4px 9px;
}

.priority-badge.high { background: #b42318; }
.priority-badge.medium { background: #b54708; }
.priority-badge.watch { background: #155bb5; }

.briefing-score {
  color: #667085;
  font-size: 0.86rem;
  font-weight: 800;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #155bb5;
  font-weight: 800;
  padding: 6px 10px;
}

.topic-chip span {
  color: #667085;
}

.briefing-watch-list {
  display: grid;
  gap: 10px;
}

.briefing-watch-item {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.briefing-watch-item span {
  color: #155bb5;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.briefing-watch-item strong {
  color: #101828;
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 4px 0;
}

.briefing-watch-item p {
  color: #475467;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.briefing-flow {
  color: #475467;
  padding-left: 18px;
}

.chart-studio-hero {
  align-items: stretch;
  gap: 26px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
}

.chart-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  min-width: 0;
}

.chart-hero-eyebrow {
  color: #155bb5;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chart-studio-hero .site-title {
  max-width: 760px;
}

.chart-studio-hero .site-subtitle {
  margin-bottom: 0;
  max-width: 720px;
}

.chart-hero-routes {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
  overflow: hidden;
}

.chart-hero-routes a {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid #d9e2ef;
  border-right: 1px solid #d9e2ef;
  color: #344054;
  min-height: 74px;
  padding: 12px 14px;
  text-decoration: none;
}

.chart-hero-routes a:nth-child(2n) {
  border-right: 0;
}

.chart-hero-routes a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.chart-hero-routes a:hover {
  background: #eef5ff;
  color: #155bb5;
}

.chart-hero-routes span {
  color: #155bb5;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-hero-routes strong {
  color: #111827;
  display: block;
  font-size: 0.96rem;
  line-height: 1.25;
  margin-top: 4px;
}

.chart-question-list {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-question-heading {
  color: #58708d;
  font-size: 0.78rem;
  font-weight: 900;
  grid-column: 1 / -1;
  text-transform: uppercase;
}

.question-button {
  border-radius: 8px;
  font-size: 0.94rem;
  line-height: 1.25;
  min-height: 54px;
  padding: 10px 12px;
  text-align: left;
}

.chart-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-main-body {
  height: 520px;
  padding: 18px;
}

.chart-controls {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.chart-controls .form-select {
  width: 180px;
}

.chart-side-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.chart-readout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-readout-main {
  color: #182230;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.55;
  margin-bottom: 16px;
}

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

.signal-card {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.signal-card strong {
  display: block;
  color: #155bb5;
  margin-bottom: 5px;
}

.signal-card p {
  color: #58677a;
  margin: 0;
}

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

.context-fact-list div {
  border-bottom: 1px solid #e6edf7;
  padding-bottom: 12px;
}

.context-fact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.context-fact-list span,
.hotspot-item span {
  display: block;
  color: #667085;
  font-size: 0.85rem;
}

.context-fact-list strong {
  display: block;
  color: #182230;
  font-size: 1.55rem;
}

.chart-comparison-panel {
  margin-bottom: 18px;
}

.monthly-radar-panel {
  margin-bottom: 18px;
}

.monthly-radar-body {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 320px);
  gap: 16px;
  padding: 16px;
}

.monthly-radar-main {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fbfdff;
  height: 100%;
  min-height: 470px;
  overflow: hidden;
  padding: 8px;
}

.monthly-radar-main canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.monthly-radar-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.monthly-radar-control {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #667085;
  display: grid;
  font-size: 0.76rem;
  font-weight: 900;
  gap: 6px;
  padding: 10px;
  text-transform: uppercase;
}

.monthly-radar-control .form-select {
  color: #182230;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
}

.monthly-radar-readout,
.monthly-radar-stat-grid div,
.monthly-radar-legend,
.monthly-radar-note,
.monthly-radar-guide {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  padding: 10px;
}

.monthly-radar-readout h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 5px;
}

.monthly-radar-readout p {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 6px 0 0;
}

.monthly-radar-readout strong {
  color: #155bb5;
}

.monthly-radar-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.monthly-radar-stat-grid span {
  color: #667085;
  display: block;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.monthly-radar-stat-grid strong {
  color: #111827;
  display: block;
  font-size: 1.16rem;
  line-height: 1.15;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.monthly-radar-guide {
  display: grid;
  gap: 9px;
}

.monthly-radar-legend {
  border: 0;
  background: transparent;
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  padding: 0;
}

.radar-line-swatch {
  display: inline-block;
  margin-right: 8px;
  position: relative;
  top: -3px;
  width: 28px;
}

.radar-line-swatch::before {
  border-top: 2px dashed currentColor;
  content: "";
  display: block;
}

.radar-line-swatch.danger { color: #eab308; }
.radar-line-swatch.extreme { color: #dc2626; }

.radar-between-note {
  border-radius: 999px;
  display: inline-block;
  height: 7px;
  margin-right: 8px;
  outline: 1px solid #cfd8e6;
  vertical-align: 1px;
  width: 28px;
}

.monthly-radar-note {
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  padding: 0;
}

.tools-page {
  width: min(1220px, calc(100vw - 32px));
}

.tools-hero {
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(25, 42, 70, 0.09);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  margin-bottom: 18px;
  padding: 26px;
}

.tools-hero-stat-grid {
  display: grid;
  gap: 10px;
}

.tools-hero-stat-grid article,
.tools-app-card,
.tool-summary-card,
.tool-event-card,
.tool-briefing-item,
.tool-event-readout {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #f8fbff;
}

.tools-hero-stat-grid article {
  padding: 14px;
}

.tools-hero-stat-grid span,
.tools-app-card span,
.tool-event-card span,
.tool-briefing-item span,
.tool-readout-head span,
.tool-summary-grid span,
.tool-metric-grid span {
  color: #155bb5;
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tools-hero-stat-grid strong {
  color: #111827;
  display: block;
  font-size: 1.78rem;
  line-height: 1.08;
  margin-top: 4px;
}

.tools-hero-stat-grid small {
  color: #667085;
  display: block;
  margin-top: 4px;
}

.tools-app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.tools-app-card {
  color: #182230;
  min-height: 142px;
  padding: 14px;
  text-decoration: none;
}

.tools-app-card:hover {
  border-color: #155bb5;
  background: #eef5ff;
  color: #182230;
}

.tools-app-card strong {
  color: #111827;
  display: block;
  font-size: 1rem;
  line-height: 1.24;
  margin-top: 6px;
}

.tools-app-card small {
  color: #667085;
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 8px;
}

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

.tool-panel {
  min-width: 0;
}

.tool-panel:nth-child(4),
.tool-panel:nth-child(5) {
  grid-column: 1 / -1;
}

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

.tool-control-row-wide {
  grid-template-columns: 1.2fr 1.2fr repeat(3, minmax(96px, 0.7fr));
}

.tool-control-row label {
  color: #667085;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-control-row .form-control,
.tool-control-row .form-select {
  margin-top: 5px;
}

.tool-event-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
}

.tool-event-image-wrap {
  align-items: center;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  display: flex;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
}

.tool-event-image-wrap img {
  display: block;
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
}

.tool-image-fallback {
  color: #475467;
  display: grid;
  gap: 6px;
  padding: 22px;
  place-items: center;
  text-align: center;
}

.tool-image-fallback span {
  color: #155bb5;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-image-fallback strong {
  color: #111827;
  font-size: 1.4rem;
  line-height: 1.1;
}

.tool-image-fallback small {
  color: #667085;
  max-width: 320px;
}

.tool-event-readout,
.tool-summary-card {
  padding: 13px;
}

.tool-readout-head strong {
  color: #111827;
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-top: 4px;
}

.tool-readout-head small {
  color: #667085;
  display: block;
  margin-top: 4px;
}

.tool-metric-grid,
.tool-summary-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.tool-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.tool-metric-grid div,
.tool-summary-grid div {
  border: 1px solid #e6edf7;
  border-radius: 7px;
  background: #fff;
  min-width: 0;
  padding: 9px;
}

.tool-metric-grid strong,
.tool-summary-grid strong {
  color: #111827;
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.16;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.tool-action-link,
.tool-event-card a,
.tool-briefing-item a {
  color: #155bb5;
  font-weight: 900;
  text-decoration: none;
}

.tool-action-link:hover,
.tool-event-card a:hover,
.tool-briefing-item a:hover {
  text-decoration: underline;
}

.tool-sparkline {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
  width: 100%;
}

.tool-result-list {
  display: grid;
  gap: 10px;
}

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

.tool-event-card,
.tool-briefing-item {
  padding: 12px;
}

.tool-event-card h3,
.tool-briefing-item h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 5px 0 6px;
}

.tool-event-card p,
.tool-briefing-item p {
  color: #475467;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 8px;
}

.tool-event-card small {
  color: #667085;
  display: block;
  margin-bottom: 8px;
}

.tool-topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tool-topic-tabs button {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 8px 12px;
}

.tool-topic-tabs button.active,
.tool-topic-tabs button:hover {
  border-color: #155bb5;
  background: #155bb5;
  color: #fff;
}

.chart-comparison-panel .form-select {
  max-width: 320px;
}

.chart-comparison-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 18px;
}

.comparison-chart-wrap {
  height: 420px;
}

.hotspot-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hotspot-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e6edf7;
  border-radius: 8px;
  padding: 10px;
}

.hotspot-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e9f2ff;
  color: #155bb5;
  font-weight: 900;
}

.hotspot-item b {
  color: #182230;
  white-space: nowrap;
}

.hexbin-panel {
  margin-bottom: 18px;
}

.bubble-panel {
  margin-bottom: 18px;
}

.hexbin-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.hexbin-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.hexbin-metric-tab {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  min-height: 30px;
  padding: 7px 9px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hexbin-metric-tab:hover,
.hexbin-metric-tab:focus,
.hexbin-metric-tab.active {
  border-color: #155bb5;
  background: #155bb5;
  color: #ffffff;
}

.hexbin-mode-pill {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  color: #155bb5;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 11px;
  text-transform: uppercase;
}

.hexbin-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 18px;
}

.hexbin-map-wrap {
  min-width: 0;
  overflow-x: auto;
}

.hexbin-map {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
  border: 1px solid #c8d6e8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 91, 181, 0.1), transparent 42%),
    linear-gradient(90deg, rgba(24, 34, 48, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(24, 34, 48, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #edf5fb 100%);
  background-size: auto, 32px 32px, 32px 32px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.hexbin-region {
  cursor: pointer;
  outline: none;
  --hex-fill: #eaf6f7;
  --hex-accent: #7da8bd;
  --hex-stroke: #162033;
}

.hexbin-halo,
.hexbin-core {
  stroke-linejoin: round;
  transition: filter 160ms ease, opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease;
}

.hexbin-halo {
  fill: var(--hex-fill);
  opacity: 0.42;
  stroke: var(--hex-accent);
  stroke-width: 9;
}

.hexbin-core {
  fill: var(--hex-fill);
  filter: drop-shadow(0 3px 4px rgba(16, 24, 40, 0.18));
  stroke: var(--hex-stroke);
  stroke-width: 2.9;
}

.hexbin-region:hover .hexbin-halo,
.hexbin-region:focus .hexbin-halo,
.hexbin-region.selected .hexbin-halo {
  opacity: 0.82;
  stroke-width: 12;
}

.hexbin-region:hover .hexbin-core,
.hexbin-region:focus .hexbin-core,
.hexbin-region.selected .hexbin-core {
  filter: drop-shadow(0 10px 14px rgba(21, 91, 181, 0.26));
  stroke: #155bb5;
  stroke-width: 4.3;
}

.hexbin-region.increase.strong-signal { --hex-fill: #e34d31; --hex-accent: #ffb45e; }
.hexbin-region.increase.moderate-signal { --hex-fill: #f08a36; --hex-accent: #ffd07a; }
.hexbin-region.increase.weak-signal { --hex-fill: #ffd184; --hex-accent: #f4a261; }
.hexbin-region.decrease.strong-signal { --hex-fill: #0d7c65; --hex-accent: #7ef0c6; }
.hexbin-region.decrease.moderate-signal { --hex-fill: #2eb89a; --hex-accent: #a7f3d0; }
.hexbin-region.decrease.weak-signal { --hex-fill: #b8ead8; --hex-accent: #43aa8b; }
.hexbin-region.stable { --hex-fill: #e7fbff; --hex-accent: #93c5d9; }
.hexbin-region.limited { --hex-fill: #d3d9e5; --hex-accent: #a7b0c0; }

.hexbin-label {
  fill: #101828;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 950;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3.6px;
  text-anchor: middle;
}

.hexbin-dot {
  display: none;
}

.hexbin-group-label {
  fill: #475467;
  font-size: 15px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 4px;
  text-anchor: middle;
}

.hexbin-group-line {
  stroke: rgba(71, 84, 103, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.hexbin-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.hexbin-selected {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  padding: 14px;
}

.hexbin-selected h3 {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 2px;
}

.hexbin-region-name {
  color: #58677a;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hexbin-selected strong {
  color: #155bb5;
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 9px 0 3px;
}

.hexbin-legend,
.hexbin-dot-legend,
.hexbin-method-note {
  display: grid;
  gap: 9px;
  color: #475467;
  font-size: 0.92rem;
}

.hexbin-method-note {
  border-top: 1px solid #e6edf7;
  font-size: 0.84rem;
  line-height: 1.55;
  padding-top: 12px;
}

.bubble-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.bubble-controls .form-select {
  min-width: 270px;
}

.bubble-context-controls {
  border-top: 1px solid #e6edf7;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  padding: 14px 18px 0;
}

.bubble-control-field {
  color: #344054;
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 5px;
  letter-spacing: 0.03em;
  margin: 0;
  text-transform: uppercase;
}

.bubble-control-field .form-select {
  border-color: #c8d6e8;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 38px;
  text-transform: none;
}

.bubble-compare-options {
  border-top: 1px solid #e6edf7;
  display: grid;
  gap: 10px;
  padding: 14px 18px 0;
}

.bubble-compare-label {
  color: #344054;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bubble-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bubble-series-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bubble-series-badge {
  align-items: center;
  border: 1px solid var(--bubble-border, #155bb5);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bubble-fill, rgba(13, 110, 253, 0.18)), rgba(255, 255, 255, 0.76));
  color: #111827;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  min-height: 34px;
  padding: 6px 12px;
}

.bubble-compare-chip {
  align-items: center;
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  color: #344054;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.bubble-compare-chip input {
  accent-color: #155bb5;
}

.bubble-compare-chip.active {
  background: #155bb5;
  border-color: #155bb5;
  color: #fff;
}

.bubble-compare-chip.disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.bubble-axis-note {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 10px 12px;
}

.bubble-body {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  padding: 18px;
}

.bubble-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bubble-chart-wrap {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  height: 430px;
  min-width: 0;
  padding: 14px;
}

.bubble-side {
  align-content: start;
  display: grid;
  gap: 12px;
}

.bubble-readout,
.bubble-method-note {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  padding: 14px;
}

.bubble-readout h3 {
  color: #111827;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px;
}

.bubble-readout p,
.bubble-method-note p {
  color: #475467;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.bubble-readout small {
  color: #667085;
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  margin-top: 9px;
}

.bubble-series-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 2px;
}

.bubble-series-list div {
  border: 1px solid #d9e2ef;
  border-radius: 7px;
  background: #fff;
  padding: 8px 9px;
}

.bubble-series-list span,
.bubble-series-list strong,
.bubble-series-list small {
  display: block;
}

.bubble-series-list span {
  color: #155bb5;
  font-size: 0.82rem;
  font-weight: 900;
}

.bubble-series-list strong {
  color: #111827;
  font-size: 0.88rem;
  margin-top: 2px;
}

.bubble-series-list small {
  color: #667085;
  font-size: 0.74rem;
  margin-top: 2px;
}

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

.bubble-summary-card {
  border: 1px solid #d9e2ef;
  border-left: 4px solid var(--bubble-border, #155bb5);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--bubble-fill, rgba(13, 110, 253, 0.12)), rgba(255, 255, 255, 0.88) 42%),
    #fff;
  padding: 13px;
}

.bubble-summary-head {
  display: grid;
  gap: 3px;
  margin-bottom: 11px;
}

.bubble-summary-head span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bubble-summary-head strong {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.22;
}

.bubble-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bubble-summary-grid div {
  border: 1px solid #e6edf7;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  min-width: 0;
  padding: 8px;
}

.bubble-summary-grid span {
  color: #667085;
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bubble-summary-grid strong {
  color: #111827;
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

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

.bubble-stat-grid div {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  background: #fff;
  padding: 11px;
}

.bubble-stat-grid span {
  color: #667085;
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bubble-stat-grid strong {
  color: #111827;
  display: block;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.12;
  margin-top: 5px;
}

.bubble-method-note strong {
  color: #155bb5;
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bubble-deep-link {
  align-items: center;
  border: 1px solid #c8d6e8;
  border-radius: 8px;
  color: #155bb5;
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.bubble-deep-link:hover {
  border-color: #155bb5;
  background: #f4f8ff;
  color: #0f3f80;
}

.hexbin-legend div,
.hexbin-dot-legend div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.hexbin-rule-list {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding-left: 18px;
  color: #667085;
  font-size: 0.8rem;
  line-height: 1.45;
}

.legend-swatch {
  display: inline-block;
  width: 22px;
  height: 19px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: 1.8px solid #1f2937;
  box-shadow: 0 2px 7px rgba(16, 24, 40, 0.16);
}

.legend-swatch.increase { background: linear-gradient(135deg, #ffd184, #e34d31); }
.legend-swatch.decrease { background: linear-gradient(135deg, #b8ead8, #0d7c65); }
.legend-swatch.stable { background: linear-gradient(135deg, #ffffff, #d8f6ff); }
.legend-swatch.limited { background: linear-gradient(135deg, #eef2f7, #a7b0c0); }

.dot-row {
  display: inline-flex;
  gap: 4px;
  min-width: 34px;
}

.dot-row i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid #111827;
}

.dot-row.hollow i {
  background: transparent;
}

.chart-meaning-panel {
  margin-bottom: 18px;
}

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

.meaning-card {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  padding: 16px;
}

.meaning-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 8px 0;
}

.meaning-card p {
  color: #58677a;
  min-height: 66px;
}

.meaning-card button {
  border: 0;
  border-radius: 8px;
  background: #182230;
  color: #fff;
  font-weight: 800;
  padding: 8px 12px;
}

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

.regional-link {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  color: #182230;
  padding: 14px;
  text-decoration: none;
}

.regional-link strong,
.regional-link span {
  display: block;
}

.regional-link span {
  color: #667085;
  font-size: 0.88rem;
  margin-top: 4px;
}

.regional-link:hover {
  border-color: #155bb5;
  background: #f4f8ff;
}

.home-insight-band {
  width: min(1180px, calc(100vw - 32px));
  margin: 28px auto;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.home-insight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chart-tab {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #155bb5;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.chart-tab:hover,
.chart-tab.active {
  border-color: #155bb5;
  background: #e9f2ff;
  color: #0f3f80;
}

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

.chart-region-controls {
  border-top: 1px solid #e6edf7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.chart-region-chip {
  border: 1px solid #c8d6e8;
  border-radius: 999px;
  background: #fff;
  color: #182230;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 11px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.chart-region-chip:hover {
  border-color: #155bb5;
  color: #0f3f80;
  transform: translateY(-1px);
}

.chart-region-chip.active {
  border-color: #155bb5;
  background: #155bb5;
  color: #fff;
}

.chart-region-chip.top5.active {
  border-color: #f97316;
  background: #f97316;
  color: #111827;
}

.chart-region-chip.is-top-region:not(.active) {
  border-color: #f6c58a;
  background: #fff7ed;
  color: #9a3412;
}

.chart-region-selection-note {
  color: #667085;
  font-size: 0.86rem;
  padding: 8px 16px 0;
}

.chart-region-body {
  height: 440px;
  padding: 16px;
}

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

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

.briefing-card {
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.briefing-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.briefing-meta {
  color: #667085;
  font-size: 0.86rem;
  margin: 8px 0;
}

.briefing-summary {
  color: #344054;
  margin-bottom: 10px;
}

.briefing-card-actions {
  border-top: 1px solid #e6edf7;
  margin-top: 12px;
  padding-top: 10px;
}

.briefing-card-actions a {
  color: #155bb5;
  font-weight: 850;
  text-decoration: none;
}

.briefing-card-actions a:hover {
  text-decoration: underline;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border-radius: 999px;
  background: #eef4ff;
  color: #155bb5;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
}

.site-footer-brand {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: 940px;
  padding: 0 0 14px;
  text-align: left;
}

.site-footer-brand-logos {
  display: flex;
  flex: 0 0 auto;
}

.site-footer-brand-logo {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  height: 58px;
  object-fit: contain;
  padding: 4px;
  width: 58px;
}

.site-footer-brand-logo + .site-footer-brand-logo {
  margin-left: -14px;
}

.site-footer-brand-copy {
  display: grid;
  gap: 3px;
}

.site-footer-brand-copy span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer-brand-copy strong {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
}

.site-footer-brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

@media (min-width: 901px) {
  header.bd-navbar #header-menu {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 1200px) {
  .site-product-brand-copy small {
    display: none;
  }
}

@media (max-width: 900px) {
  .bd-navbar {
    justify-content: center;
    min-height: 56px;
    padding: 8px 16px;
  }

  .site-product-brand {
    justify-content: center;
    order: 0;
    width: 100%;
  }

  header.bd-navbar #bdNavbar {
    order: 2;
    width: 100%;
  }

  .site-theme-control {
    margin: 0;
    min-width: 220px;
    order: 1;
    width: min(300px, calc(100vw - 32px));
  }

  .site-main,
  .home-shell {
    max-width: calc(100vw - 32px);
    width: calc(100vw - 32px);
  }

  .metric-grid,
  .controls-grid,
  .insights-layout,
  .chart-region-grid,
  .briefing-grid,
  .home-hero,
  .home-daily-grid,
  .home-section-grid,
  .feature-event-grid,
  .insight-hero,
  .podium-grid,
  .briefing-lanes,
  .briefing-filter-row,
  .briefing-hero,
  .chart-studio-hero,
  .chart-studio-grid,
  .tools-hero,
  .tools-app-grid,
  .tools-grid,
  .chart-readout-grid,
  .chart-comparison-body,
  .hexbin-body,
  .bubble-body,
  .chart-signal-grid,
  .chart-meaning-grid,
  .regional-link-grid,
  .home-outlook-signals,
  .briefing-outlook,
  .briefing-risk-grid,
  .briefing-outlook-signals {
    grid-template-columns: 1fr;
  }

  .site-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hexbin-header-actions,
  .hexbin-metric-tabs,
  .bubble-controls {
    justify-content: flex-start;
    width: 100%;
  }

  .bubble-controls .form-select {
    min-width: 0;
    width: 100%;
  }

  .bubble-context-controls {
    grid-template-columns: 1fr;
  }

  .bubble-series-summary,
  .bubble-summary-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-areas:
      "intro"
      "outlook"
      "daily"
      "desk";
  }

  .home-hero-copy {
    display: contents;
  }

  .home-hero-intro {
    grid-area: intro;
  }

  .home-brand-lockup {
    align-items: flex-start;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .home-outlook-card {
    grid-area: outlook;
  }

  .home-daily-grid {
    grid-area: daily;
  }

  .home-map {
    height: 380px;
  }

  .home-hero-intro,
  .home-research-panel,
  .home-outlook-card,
  .briefing-outlook {
    max-width: 100%;
    padding: 18px;
  }

  .home-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .home-action-pill {
    font-size: 0.82rem;
    min-height: 36px;
    padding: 9px 8px;
  }

  .home-title {
    font-size: 2.78rem;
    max-width: 9ch;
  }

  .home-title span + span {
    padding-left: 0.24em;
  }

  .site-title {
    font-size: 2.12rem;
    overflow-wrap: anywhere;
  }

  .chart-question-list,
  .chart-hero-routes {
    grid-template-columns: 1fr;
  }

  .chart-hero-routes a,
  .chart-hero-routes a:nth-child(2n),
  .chart-hero-routes a:nth-last-child(-n + 2) {
    border-bottom: 1px solid #d9e2ef;
    border-right: 0;
  }

  .chart-hero-routes a:last-child {
    border-bottom: 0;
  }

  .hexbin-body {
    padding: 14px;
  }

  .bubble-body {
    padding: 14px;
  }

  .monthly-radar-body {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .monthly-radar-main {
    min-height: 430px;
  }

  .monthly-radar-stat-grid {
    grid-template-columns: 1fr;
  }

  .tool-control-row,
  .tool-control-row-wide,
  .tool-event-layout,
  .tool-result-list-grid,
  .tool-summary-grid {
    grid-template-columns: 1fr;
  }

  .monthly-radar-stat-grid strong {
    font-size: 1.28rem;
  }

  .bubble-chart-wrap {
    height: 380px;
  }

  .hexbin-map {
    min-width: 720px;
  }

  .home-outlook-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .home-context-facts {
    grid-template-columns: 1fr;
  }

  .home-continent-case-grid,
  .home-continent-case-facts {
    grid-template-columns: 1fr;
  }

  .home-outlook-card h2 {
    font-size: 1.22rem;
  }

  .home-research-header,
  .home-regional-head,
  .home-method-strip,
  .home-trend-head,
  .home-bubble-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .home-hexbin-footer {
    grid-template-columns: 1fr;
  }

  .home-hero-copy .home-daily-grid {
    grid-template-columns: 1fr;
  }

  .home-hexbin-readout div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hexbin-map.home-hexbin-map {
    min-width: 620px;
  }

  .home-hexbin-legend {
    min-width: 0;
  }

  .home-briefing-trio {
    grid-template-columns: 1fr;
  }

  .home-briefing-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .home-briefing-panel-head a {
    text-align: center;
  }

  .briefing-score-card {
    min-height: 190px;
  }

  .feature-event {
    grid-template-columns: 96px 1fr;
  }

  .featured-events-panel .feature-event {
    grid-template-columns: 112px 1fr;
    min-height: 0;
  }

  .chart-main-body {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .site-main,
  .home-shell {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }

  .site-product-brand-copy small {
    display: none;
  }

  .home-brand-lockup,
  .site-footer-brand {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .home-brand-copy small {
    font-size: 0.78rem;
  }

  .featured-events-panel .feature-event {
    grid-template-columns: 96px 1fr;
  }

  .bubble-stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background: #f2f6fb;
  }

  body.has-mobile-bottom-nav {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  *,
  *::before,
  *::after {
    min-width: 0;
  }

  p,
  li,
  small,
  span,
  strong,
  h1,
  h2,
  h3,
  h4 {
    overflow-wrap: anywhere;
  }

  .site-main,
  .home-shell {
    max-width: calc(100vw - 24px);
    padding: 16px 0 32px;
    width: calc(100vw - 24px);
  }

  header.bd-navbar {
    align-items: center;
    gap: 8px;
    padding: 8px 12px 10px;
  }

  header.bd-navbar #bdNavbar {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  header.bd-navbar #header-menu {
    flex-wrap: nowrap !important;
    gap: 4px;
    min-width: max-content;
    padding: 2px 0 !important;
  }

  header.bd-navbar .nav-item {
    margin-right: 8px !important;
  }

  header.bd-navbar .nav-link {
    border-radius: 999px;
    font-size: 1rem !important;
    min-height: 36px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .site-product-brand {
    max-width: 100%;
    padding: 3px 0 4px;
  }

  .site-product-brand-logo {
    height: 32px;
    width: 32px;
  }

  .site-product-brand-copy strong {
    font-size: 0.82rem;
  }

  .site-theme-control {
    min-width: 0;
    width: min(280px, calc(100vw - 28px));
  }

  .theme-mode-control button {
    min-height: 34px;
    padding: 8px 6px;
  }

  .mobile-bottom-nav {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(185, 199, 218, 0.9);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(15, 34, 62, 0.24);
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 10px;
    padding: 6px;
    position: fixed;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 1080;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav-item {
    align-items: center;
    border-radius: 16px;
    color: #475467;
    display: grid;
    font-size: 0.68rem;
    font-weight: 850;
    gap: 3px;
    justify-items: center;
    line-height: 1;
    min-height: 54px;
    padding: 7px 2px 6px;
    text-decoration: none;
  }

  .mobile-bottom-nav-item svg {
    height: 20px;
    stroke-width: 2.35;
    width: 20px;
  }

  .mobile-bottom-nav-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .mobile-bottom-nav-item:hover,
  .mobile-bottom-nav-item.active {
    background: #155bb5;
    color: #fff;
    text-decoration: none;
  }

  .home-hero,
  .chart-studio-hero,
  .briefing-hero,
  .insight-hero {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .home-hero {
    grid-template-areas:
      "copy"
      "desk";
  }

  .home-hero-copy {
    display: grid;
    gap: 12px;
    grid-area: copy;
    grid-template-rows: auto;
  }

  .home-hero-intro,
  .home-outlook-card,
  .home-daily-grid {
    grid-area: auto;
  }

  .home-hero-desk {
    grid-area: desk;
  }

  .home-brand-lockup {
    align-self: stretch;
    display: grid;
    gap: 8px;
    justify-items: center;
    max-width: 100%;
    text-align: center;
    width: 100%;
  }

  .home-brand-copy,
  .home-brand-copy small,
  .home-brand-copy strong,
  .home-brand-copy span {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .home-hero-intro,
  .home-research-panel,
  .home-outlook-card,
  .home-feature-panel,
  .home-fast-paths-panel,
  .podium-panel,
  .insight-control-panel,
  .chart-studio-hero,
  .briefing-hero,
  .insight-hero,
  .briefing-controls,
  .site-panel,
  .briefing-ai-notice,
  .briefing-outlook {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(25, 42, 70, 0.07);
  }

  .home-hero-intro,
  .home-research-panel,
  .home-outlook-card,
  .home-feature-panel,
  .home-fast-paths-panel,
  .podium-panel,
  .insight-control-panel,
  .chart-studio-hero,
  .briefing-hero,
  .insight-hero,
  .briefing-controls,
  .briefing-outlook {
    padding: 16px;
  }

  .home-hero-intro *,
  .chart-studio-hero *,
  .briefing-hero *,
  .insight-hero * {
    min-width: 0;
  }

  .site-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.04;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-subtitle,
  .home-lede,
  .briefing-ai-notice p,
  .briefing-outlook-copy p,
  .insight-hero p {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-heading,
  .site-panel-header {
    align-items: flex-start;
    gap: 8px;
  }

  .site-panel-header {
    padding: 14px;
  }

  .site-panel-body {
    padding: 14px;
  }

  .home-title {
    font-size: clamp(3rem, 15vw, 4.25rem);
    line-height: 0.94;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .home-title span {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .home-title span + span {
    padding-left: 0.12em;
  }

  .home-actions {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    width: 100%;
  }

  .home-action-pill.muted {
    grid-column: 1 / -1;
  }

  .home-action-pill {
    border-radius: 999px;
    font-size: 0.82rem;
    min-height: 38px;
    padding: 9px 6px;
  }

  .home-today-spotlight,
  .home-outlook-card,
  .home-daily-card,
  .home-regional-panel,
  .home-trend-panel,
  .home-bubble-panel,
  .home-briefing-panel,
  .home-fast-paths-panel,
  .featured-events-panel {
    margin-top: 12px;
  }

  .home-today-spotlight {
    padding: 14px;
  }

  .home-today-copy h2,
  .home-outlook-card h2 {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .home-today-stats,
  .home-context-facts,
  .home-daily-grid,
  .home-hero-copy .home-daily-grid,
  .metric-grid,
  .briefing-source-grid,
  .monthly-radar-stat-grid,
  .chart-side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-today-stats div,
  .home-context-facts div,
  .home-daily-card,
  .metric-tile,
  .briefing-source-grid div,
  .monthly-radar-stat-grid div {
    min-height: 0;
  }

  .home-today-stats strong,
  .home-context-facts strong,
  .home-daily-value,
  .metric-value {
    font-size: clamp(1.28rem, 7vw, 1.85rem);
    line-height: 1.05;
  }

  .home-daily-card {
    display: grid;
    min-height: 0;
    padding: 14px 14px 14px 16px;
  }

  .home-daily-card p {
    font-size: 0.88rem;
    line-height: 1.35;
    min-height: 0;
  }

  .home-research-header,
  .home-regional-head,
  .home-bubble-head,
  .home-briefing-panel-head,
  .home-trend-head {
    align-items: stretch;
    flex-direction: column;
  }

  .home-radar-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-radar-year-field {
    min-width: 0;
  }

  .scale-visual-wrap {
    overflow: hidden;
  }

  .scale-visual-wrap canvas {
    min-height: 300px;
  }

  .home-hexbin-tabs,
  .home-trend-tabs,
  .hexbin-metric-tabs,
  .metric-pill-row,
  .briefing-tabs,
  .bubble-chip-grid,
  .bubble-series-badges {
    flex-wrap: nowrap;
    margin-left: -2px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
  }

  .home-hexbin-tabs button,
  .home-trend-tabs button,
  .hexbin-metric-tab,
  .metric-pill,
  .briefing-tab,
  .bubble-compare-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .home-hexbin-map-wrap,
  .hexbin-map-wrap {
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hexbin-map.home-hexbin-map {
    min-width: 700px;
  }

  .hexbin-map {
    min-width: 780px;
  }

  .home-hexbin-footer,
  .home-hexbin-legend,
  .home-briefing-trio,
  .quick-link-list.expanded,
  .feature-event-grid,
  .briefing-lanes,
  .briefing-outlook,
  .briefing-grid,
  .insights-layout.refined,
  .chart-readout-grid,
  .chart-comparison-body,
  .hexbin-body,
  .bubble-body,
  .monthly-radar-body,
  .chart-studio-grid,
  .tools-app-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .home-bubble-chart-wrap {
    height: 340px;
    min-height: 0;
  }

  .home-bubble-panel canvas {
    min-height: 320px;
  }

  .home-briefing-mini,
  .feature-event,
  .briefing-card,
  .briefing-card.upgraded,
  .podium-card,
  .mini-event,
  .bubble-readout,
  .bubble-method-note,
  .hexbin-selected,
  .briefing-watch-item {
    border-radius: 10px;
  }

  .feature-event,
  .featured-events-panel .feature-event {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .feature-event img {
    height: 72px;
  }

  .chart-studio-hero {
    gap: 16px;
  }

  .chart-hero-copy,
  .chart-question-list {
    justify-self: start;
    max-width: min(100%, 340px);
    width: 100%;
  }

  .chart-studio-hero .site-title {
    font-size: clamp(1.95rem, 8.5vw, 2.35rem);
    max-width: 10ch;
    word-break: normal;
  }

  .chart-hero-routes {
    border: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 4px;
    overflow: visible;
  }

  .chart-hero-routes a,
  .chart-hero-routes a:nth-child(2n),
  .chart-hero-routes a:nth-last-child(-n + 2),
  .chart-hero-routes a:last-child {
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    min-height: 0;
  }

  .chart-question-list {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    margin: 0;
    overflow: visible;
    padding: 0;
  }

  .chart-question-heading {
    padding: 0;
  }

  .question-button {
    width: 100%;
    min-height: 52px;
    font-size: 0.92rem;
    line-height: 1.32;
    overflow-wrap: break-word;
    text-wrap: pretty;
    white-space: normal;
  }

  .chart-controls,
  .bubble-controls,
  .hexbin-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .chart-controls .form-select,
  .bubble-controls .form-select,
  .hexbin-header-actions .form-select {
    width: 100%;
  }

  .chart-main-body {
    height: 340px;
    padding: 10px;
  }

  .comparison-chart-wrap,
  .bubble-chart-wrap {
    height: 350px;
    padding: 10px;
  }

  .monthly-radar-body {
    padding: 12px;
  }

  .monthly-radar-main {
    min-height: 390px;
  }

  .monthly-radar-control,
  .bubble-control-field {
    font-size: 0.74rem;
  }

  .bubble-context-controls {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .bubble-compare-options {
    padding: 12px;
  }

  .bubble-series-summary,
  .bubble-summary-grid {
    grid-template-columns: 1fr;
  }

  .briefing-hero {
    gap: 12px;
  }

  .briefing-hero .site-title {
    font-size: clamp(2.15rem, 11vw, 2.9rem);
    line-height: 0.98;
  }

  .briefing-score-card,
  .insight-hero-stat {
    min-height: 0;
    overflow: hidden;
    padding: 16px;
  }

  .briefing-score-card small,
  .site-footer-brand-copy strong,
  .site-footer-brand-copy small {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .briefing-score-card strong,
  .insight-hero-stat strong {
    font-size: 1.68rem;
    overflow-wrap: anywhere;
  }

  .insight-hero + .metric-grid {
    grid-template-columns: 1fr;
  }

  .insight-hero + .metric-grid .metric-value {
    overflow-wrap: anywhere;
  }

  .briefing-ai-notice {
    grid-template-columns: 1fr;
    margin-top: -2px;
    padding: 14px;
  }

  .briefing-ai-notice-icon {
    height: 30px;
    width: 30px;
  }

  .briefing-search-row .form-label,
  .briefing-filter-row .form-label,
  .controls-grid .form-label {
    width: 100%;
  }

  .briefing-outlook {
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px;
  }

  .briefing-outlook-copy h2 {
    font-size: clamp(1.42rem, 7vw, 1.85rem);
  }

  .briefing-outlook-narrative {
    gap: 8px;
    margin: 12px 0;
  }

  .briefing-risk-grid,
  .briefing-outlook-signals {
    grid-template-columns: 1fr;
  }

  .briefing-risk-card strong {
    white-space: normal;
  }

  .briefing-lanes {
    gap: 12px;
  }

  .briefing-lane {
    overflow: hidden;
  }

  .briefing-lane .site-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .briefing-lane .site-panel-header a {
    align-self: stretch;
    border: 1px solid #c8d6e8;
    border-radius: 999px;
    padding: 8px 10px;
    text-align: center;
  }

  .briefing-lane-item {
    padding: 12px 14px;
  }

  .briefing-controls {
    gap: 12px;
    padding: 14px;
  }

  .briefing-filter-row,
  .controls-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .briefing-tabs {
    display: flex;
    width: 100%;
  }

  .briefing-tab {
    min-height: 38px;
  }

  .briefing-grid.refined {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .briefing-grid.refined > div,
  .briefing-side {
    min-width: 0;
  }

  .briefing-side {
    order: -1;
  }

  .briefing-side .site-panel {
    overflow: hidden;
  }

  .briefing-card.upgraded {
    padding: 14px;
  }

  .briefing-card h2 {
    font-size: 1.02rem;
    line-height: 1.32;
  }

  .briefing-meta,
  .briefing-summary {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .tag-list {
    gap: 5px;
  }

  .briefing-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .briefing-card-actions {
    align-items: stretch;
    display: grid;
    gap: 8px;
  }

  .briefing-card-actions a {
    text-align: center;
  }

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

  .podium-card {
    padding: 14px;
  }

  .insight-control-panel {
    display: grid;
    gap: 10px;
  }

  .table-wrap {
    border: 1px solid #e6edf7;
    border-radius: 10px;
    max-height: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 760px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  .mini-event {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e6edf7;
    display: grid;
    gap: 6px;
    padding: 12px;
  }

  .data-mobile-page {
    display: grid;
    gap: 14px;
  }

  .data-mobile-page > .row,
  .data-mobile-page > .container {
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(25, 42, 70, 0.07);
    margin: 0;
    padding: 16px;
    width: 100%;
  }

  .data-mobile-page > .row {
    display: none;
  }

  .data-mobile-page > .row > * {
    color: #111827 !important;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .data-mobile-page h1 {
    font-size: 1.75rem;
    line-height: 1.12;
    margin: 0;
  }

  .data-mobile-page h2 {
    font-size: 1.15rem;
    margin: 0 0 12px;
  }

  .dataTables_wrapper {
    display: grid;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dataTables_length,
  .dataTables_filter,
  .dataTables_info {
    color: #344054;
    float: none !important;
    font-size: 0.9rem;
    text-align: left !important;
  }

  .dataTables_filter label,
  .dataTables_length label {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .dataTables_filter input,
  .dataTables_length select {
    margin-left: 0 !important;
    min-height: 38px;
    width: 100% !important;
  }

  #myTable {
    min-width: 1120px;
  }
}

@media (max-width: 430px) {
  .site-main,
  .home-shell {
    max-width: calc(100vw - 20px);
    width: calc(100vw - 20px);
  }

  .home-title {
    font-size: clamp(2.72rem, 14vw, 3.7rem);
    max-width: 100%;
  }

  .home-actions {
    grid-template-columns: 1fr;
  }

  .home-action-pill.muted {
    grid-column: auto;
  }

  .home-action-pill {
    justify-content: center;
  }

  .home-today-stats,
  .home-context-facts,
  .home-daily-grid,
  .home-hero-copy .home-daily-grid,
  .metric-grid,
  .briefing-source-grid,
  .chart-side-panel,
  .monthly-radar-stat-grid {
    grid-template-columns: 1fr;
  }

  .home-radar-actions {
    grid-template-columns: 1fr;
  }

  .scale-visual-wrap canvas {
    min-height: 280px;
  }

  .chart-main-body,
  .comparison-chart-wrap,
  .bubble-chart-wrap {
    height: 320px;
  }

  .monthly-radar-main {
    min-height: 350px;
  }

  .site-footer-brand {
    padding-left: 8px;
    padding-right: 8px;
  }
}

