:root {
  --canvas: #f6f8fb;
  --surface: #ffffff;
  --surface-quiet: #eef3f5;
  --line: #d8e0e6;
  --line-strong: #aebbc5;
  --text: #17212b;
  --muted: #5f6d79;
  --navy: #14364a;
  --teal: #147c88;
  --amber: #b66a00;
  --red: #a33a2d;
  --green: #32734d;
  --focus: #0f6cbd;
  --shadow: 0 14px 34px rgba(15, 37, 53, 0.08);
  color-scheme: light;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--canvas);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

button:hover {
  border-color: var(--focus);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

button[disabled] {
  cursor: not-allowed;
  color: var(--muted);
  background: #f2f4f6;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-subtitle,
.screen-kicker,
.muted {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 0.86rem;
}

.prototype-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #f1c171;
  border-radius: 999px;
  background: #fff7e8;
  color: #6d4200;
  font-size: 0.85rem;
  font-weight: 650;
  text-align: center;
  overflow-wrap: anywhere;
}

.layout {
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  min-height: calc(100vh - 65px);
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fbfcfd;
  padding: 18px;
}

.side-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pub-list {
  display: grid;
  gap: 8px;
}

.pub-option {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 88px;
  padding: 11px;
  text-align: left;
}

.pub-option.active {
  border-color: var(--teal);
  background: #edf8f9;
  box-shadow: inset 3px 0 0 var(--teal);
}

.pub-name {
  min-width: 0;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.pub-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.metric-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--surface-quiet);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.status-chip.partial,
.status-chip.unknown,
.status-chip.notacquired,
.status-chip.duplicate,
.status-chip.excluded {
  background: #fff6e5;
  color: #6d4200;
}

.status-chip.complete {
  background: #eaf6ef;
  color: #23583a;
}

.main {
  min-width: 0;
  padding: 22px;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.nav-button {
  padding: 7px 11px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.screen {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.screen-head {
  display: grid;
  gap: 6px;
}

.screen-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.62rem;
  font-weight: 680;
  letter-spacing: 0;
}

.screen-kicker {
  margin: 0;
  max-width: 820px;
  line-height: 1.5;
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.summary-strip,
.coverage-warning,
.surface,
.signal-card,
.review-row,
.approval-card,
.source-card,
.estate-row,
.time-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.summary-item {
  min-width: 0;
  padding: 14px;
  background: var(--surface);
}

.summary-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summary-value {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.coverage-warning {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-color: #efd097;
  background: #fffaf0;
  color: #5f3f08;
  box-shadow: none;
}

.warning-title {
  margin: 0;
  font-weight: 720;
}

.warning-copy {
  margin: 0;
  line-height: 1.5;
}

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

.signal-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 15px;
}

.signal-card.weak_signal {
  border-top: 4px solid var(--amber);
}

.signal-card.positive_amplify {
  border-top: 4px solid var(--teal);
}

.card-head {
  display: grid;
  gap: 5px;
}

.card-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 690;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

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

.evidence-count {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
}

.evidence-count strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.evidence-count span {
  color: var(--muted);
  font-size: 0.78rem;
}

.rate-line {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 6px;
  background: #f7fafb;
  color: var(--text);
  line-height: 1.4;
}

.action-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.primary-action {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
  font-weight: 650;
}

.quiet-action {
  background: #f8fafb;
  color: var(--navy);
  font-weight: 600;
}

.danger-action {
  border-color: #e6afa8;
  background: #fff4f2;
  color: var(--red);
  font-weight: 650;
}

.surface {
  padding: 16px;
}

.section-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.workload-list,
.source-list,
.review-list,
.approval-list,
.estate-list,
.time-list {
  display: grid;
  gap: 10px;
}

.source-card,
.review-row,
.approval-card,
.estate-row,
.time-card {
  min-width: 0;
  padding: 13px;
  box-shadow: none;
}

.source-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.6fr);
  gap: 12px;
}

.source-title,
.review-title,
.approval-title,
.estate-title {
  margin: 0;
  color: var(--navy);
  font-weight: 690;
  overflow-wrap: anywhere;
}

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

.field {
  min-width: 0;
}

.field span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field strong,
.field p {
  margin: 2px 0 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.filter-panel label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: #ffffff;
  color: var(--text);
}

.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.theme-chip {
  min-width: 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf3f7;
  color: #314655;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.rating-only-note {
  color: #6d4200;
  font-weight: 650;
}

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

.approval-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.lock-line {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #f0c4bc;
  border-radius: 6px;
  background: #fff7f5;
  color: var(--red);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-content: end;
  background: rgba(20, 54, 74, 0.22);
}

.drawer {
  width: min(720px, 100vw);
  height: 100vh;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: -18px 0 40px rgba(15, 37, 53, 0.18);
}

.drawer-inner {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.drawer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.drawer-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.24rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button.active {
  border-color: var(--teal);
  background: #eaf8f9;
  color: #0b5c64;
  font-weight: 650;
}

.evidence-review {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.evidence-text,
.draft-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.draft-text {
  padding: 11px;
  border-left: 4px solid var(--teal);
  background: #f2fafb;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfd;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

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

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

  .decision-grid,
  .signal-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .source-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .main,
  .sidebar {
    padding: 12px;
  }

  .pub-list,
  .summary-strip,
  .field-grid,
  .evidence-counts {
    grid-template-columns: 1fr;
  }

  .summary-value {
    font-size: 1.18rem;
  }

  .screen-title {
    font-size: 1.28rem;
  }

  .review-row,
  .approval-top,
  .drawer-head {
    grid-template-columns: 1fr;
  }

  .drawer-backdrop {
    justify-content: stretch;
  }

  .drawer {
    width: 100vw;
  }
}

/* 2026 hybrid direction: coastal editorial calm + Power BI clarity */
:root {
  --canvas: #f5f1e8;
  --surface: #fffdf8;
  --surface-quiet: #e8f1ed;
  --line: rgba(13, 57, 58, 0.14);
  --line-strong: rgba(13, 57, 58, 0.28);
  --text: #173536;
  --muted: #657775;
  --navy: #0a3436;
  --teal: #148785;
  --amber: #d8784d;
  --red: #a74437;
  --green: #2f7658;
  --focus: #e5b85b;
  --deep: #082f32;
  --deep-2: #0c4445;
  --foam: #dcebe4;
  --sand: #e9d7b7;
  --sun: #e7bd61;
  --coral: #e47b55;
  --shadow: 0 22px 60px rgba(8, 47, 50, 0.11);
  font-family: Aptos, "Avenir Next", "Trebuchet MS", sans-serif;
}

html,
body {
  background:
    radial-gradient(circle at 82% 5%, rgba(231, 189, 97, 0.13), transparent 25rem),
    linear-gradient(135deg, #f7f4ed 0%, #eff3ef 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

button {
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.topbar {
  min-height: 82px;
  padding: 14px 28px;
  border: 0;
  background: rgba(8, 47, 50, 0.96);
  box-shadow: 0 8px 28px rgba(8, 47, 50, 0.18);
  color: #fff;
}

.brand {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  align-items: center;
}

.brand-monogram {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.03));
  color: var(--sun);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: -.015em;
}

.brand-subtitle {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.topbar-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: flex-end;
}

.live-foundation,
.prototype-pill {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.live-foundation {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-radius: 999px;
}

.live-foundation i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65c9a0;
  box-shadow: 0 0 0 5px rgba(101,201,160,.12);
}

.prototype-pill {
  border-color: rgba(231,189,97,.38);
  background: rgba(231,189,97,.11);
  color: #f5d997;
}

.layout {
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: calc(100vh - 82px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(8,47,50,.98), rgba(12,68,69,.96)),
    var(--deep);
  color: #fff;
}

.side-label {
  margin-left: 10px;
  color: rgba(255,255,255,.48);
  font-size: .67rem;
  letter-spacing: .14em;
}

.pub-list {
  gap: 7px;
}

.pub-option {
  min-height: 96px;
  padding: 15px 14px;
  border-color: transparent;
  border-radius: 16px;
  background: transparent;
  color: rgba(255,255,255,.7);
}

.pub-option:hover {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.pub-option.active {
  border-color: rgba(231,189,97,.36);
  background: linear-gradient(135deg, rgba(231,189,97,.18), rgba(255,255,255,.06));
  box-shadow: inset 3px 0 0 var(--sun), 0 14px 32px rgba(0,0,0,.12);
  color: #fff;
}

.pub-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.25;
}

.pub-option .metric-chip,
.pub-option .status-chip {
  min-height: 21px;
  padding: 2px 7px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: .66rem;
}

.pub-option .status-chip {
  background: rgba(231,189,97,.13);
  color: #f0cf8b;
}

.foundation-card {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(0,0,0,.1);
}

.foundation-card span,
.foundation-card small {
  color: rgba(255,255,255,.48);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.foundation-card strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 500;
}

.main {
  padding: 24px clamp(18px, 3.2vw, 48px) 64px;
}

.nav-row {
  position: sticky;
  top: 94px;
  z-index: 20;
  width: fit-content;
  max-width: 100%;
  flex-wrap: nowrap;
  gap: 3px;
  margin: 0 0 24px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(13,57,58,.11);
  border-radius: 999px;
  background: rgba(255,253,248,.86);
  box-shadow: 0 10px 26px rgba(8,47,50,.07);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

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

.nav-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  background: transparent;
  color: #496562;
  font-size: .76rem;
}

.nav-button.active {
  background: var(--deep);
  box-shadow: 0 7px 16px rgba(8,47,50,.18);
  color: #fff;
}

.screen {
  gap: 22px;
  animation: screen-in 420ms cubic-bezier(.2,.8,.2,1) both;
}

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

.signal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .44fr);
  min-height: 330px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 18%, rgba(231,189,97,.18), transparent 18rem),
    linear-gradient(132deg, #082f32 0%, #0b4949 70%, #0c5552 100%);
  box-shadow: 0 30px 70px rgba(8,47,50,.23);
  color: #fff;
}

.signal-hero::before,
.signal-hero::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  content: "";
}

.signal-hero::before {
  right: -120px;
  bottom: -230px;
  width: 540px;
  height: 540px;
}

.signal-hero::after {
  right: -30px;
  bottom: -130px;
  width: 340px;
  height: 340px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(30px, 4.5vw, 64px);
}

.hero-kicker,
.visual-kicker {
  margin: 0;
  color: var(--sun);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-copy h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.75rem;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero-copy h2 span {
  color: #9fd4c3;
}

.hero-copy > p:not(.hero-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.65;
}

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

.hero-badges span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 650;
}

.hero-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 20px;
}

.hero-mark svg {
  width: min(100%, 280px);
  height: auto;
}

.hero-ring {
  fill: none;
  stroke: rgba(255,255,255,.13);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.ring-two {
  stroke: rgba(231,189,97,.22);
}

.hero-wave {
  fill: none;
  stroke: #9fd4c3;
  stroke-linecap: round;
  stroke-width: 4;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.2));
}

.hero-point {
  fill: #9fd4c3;
  stroke: #0a3b3d;
  stroke-width: 4;
}

.hero-point.hot {
  fill: var(--sun);
}

.hero-mark > div {
  position: absolute;
  display: grid;
  text-align: center;
}

.hero-mark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.hero-mark span {
  color: rgba(255,255,255,.52);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.overview-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, .65fr);
  gap: 18px;
}

.signal-visual,
.queue-visual {
  min-width: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.signal-visual {
  padding: 26px;
  background: var(--deep);
  color: #fff;
}

.visual-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.visual-head h3,
.spotlight-head h3 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -.02em;
}

.visual-note,
.safety-lock {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  font-size: .66rem;
  font-weight: 700;
}

.signal-bars {
  display: grid;
  gap: 9px;
  margin-top: 23px;
}

.signal-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(130px, 1.5fr) 44px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.signal-bar-row:hover {
  background: rgba(255,255,255,.025);
  transform: none;
}

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

.bar-copy strong {
  overflow: hidden;
  font-size: .83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-copy small {
  color: rgba(255,255,255,.43);
  font-size: .66rem;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62b69b, #9fd4c3);
  animation: bar-grow 700ms cubic-bezier(.2,.8,.2,1) both;
  transform-origin: left;
}

.bar-fill.weak_signal {
  background: linear-gradient(90deg, #d36d49, #e7bd61);
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.bar-value {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  text-align: right;
}

.visual-foot {
  margin: 16px 0 0;
  color: rgba(255,255,255,.42);
  font-size: .68rem;
  line-height: 1.5;
}

.queue-visual.surface {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px;
  border-color: rgba(13,57,58,.11);
  background: #fffdf8;
}

.visual-head.light h3 {
  color: var(--deep);
}

.visual-head.light .visual-kicker {
  color: #a9653e;
}

.safety-lock {
  border-color: rgba(164,68,55,.18);
  background: #f9e9e2;
  color: #954839;
}

.queue-orbit {
  position: relative;
  display: grid;
  width: 148px;
  height: 148px;
  margin: 2px auto 0;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2f927f 0 var(--duty), #e2b662 var(--duty) var(--gm), #db7653 var(--gm) 360deg);
  box-shadow: 0 16px 34px rgba(8,47,50,.15);
}

.queue-orbit::before {
  position: absolute;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #fffdf8;
  content: "";
}

.orbit-core {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
}

.orbit-core strong {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.orbit-core span {
  color: var(--muted);
  font-size: .66rem;
}

.queue-key {
  display: grid;
  gap: 8px;
}

.queue-key > div {
  display: grid;
  grid-template-columns: 9px minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .73rem;
}

.queue-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f927f;
}

.queue-key .gm-dot { background: #e2b662; }
.queue-key .policy-dot { background: #db7653; }
.queue-key .rating-dot { background: #aab8b2; }
.queue-key strong { color: var(--deep); }

.coverage-warning {
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(190,132,52,.23);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(231,189,97,.17), rgba(255,253,248,.9));
  color: #6a5533;
}

.warning-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
}

.warning-copy {
  color: #7b6a4f;
  font-size: .78rem;
}

.spotlight-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-top: 8px;
}

.spotlight-head .visual-kicker {
  color: #a9653e;
}

.spotlight-grid {
  gap: 18px;
}

.summary-strip,
.surface,
.signal-card,
.review-row,
.approval-card,
.source-card,
.estate-row,
.time-card,
.filter-panel {
  border-color: rgba(13,57,58,.12);
  border-radius: 18px;
  background: rgba(255,253,248,.94);
}

.signal-card {
  position: relative;
  gap: 14px;
  padding: 24px;
  overflow: hidden;
  border-top: 0 !important;
}

.signal-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--teal);
  content: "";
}

.signal-card.weak_signal::before {
  background: var(--coral);
}

.card-eyebrow {
  color: #6d827e;
  font-size: .66rem;
  letter-spacing: .08em;
}

.card-title,
.screen-title,
.section-title,
.drawer-title,
.source-title,
.review-title,
.approval-title,
.estate-title {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.card-title {
  font-size: 1.12rem;
}

.rate-line {
  border-radius: 13px;
  background: #edf4f0;
}

.evidence-count {
  border-color: rgba(13,57,58,.1);
  border-radius: 12px;
  background: #fbfaf5;
}

.primary-action {
  padding-inline: 14px;
  border-color: var(--deep);
  background: var(--deep);
}

.quiet-action {
  border-color: rgba(13,57,58,.16);
  background: rgba(255,253,248,.7);
}

.screen-head {
  gap: 8px;
  padding: 10px 0;
}

.screen-title {
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: -.035em;
}

.screen-kicker {
  max-width: 760px;
  font-size: .88rem;
}

.filter-panel {
  padding: 16px;
  box-shadow: 0 12px 36px rgba(8,47,50,.06);
}

.filter-panel input,
.filter-panel select {
  border-radius: 10px;
  background: #fbfaf5;
}

.source-card,
.review-row,
.approval-card,
.estate-row,
.time-card {
  padding: 18px;
}

.drawer-backdrop {
  background: rgba(4,32,34,.48);
  backdrop-filter: blur(5px);
}

.drawer {
  background: #f8f5ed;
}

.drawer-inner {
  padding: 28px;
}

.tab-button.active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.toast {
  border-color: rgba(255,255,255,.13);
  border-radius: 14px;
  background: var(--deep);
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .overview-visual-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  }

  .hero-copy h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 920px) {
  .topbar {
    top: 0;
  }

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

  .sidebar {
    padding: 16px;
  }

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

  .pub-option {
    min-height: 90px;
  }

  .foundation-card {
    display: none;
  }

  .nav-row {
    top: 94px;
  }

  .signal-hero {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .overview-visual-grid {
    grid-template-columns: 1fr;
  }

  .queue-visual.surface {
    grid-template-columns: minmax(160px,.4fr) 170px minmax(180px,.5fr);
    align-items: center;
  }

  .queue-visual .visual-head {
    display: grid;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: relative;
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .topbar-status {
    justify-content: flex-start;
  }

  .prototype-pill {
    white-space: normal;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    border-bottom: 0;
  }

  .pub-list {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 6px;
    scrollbar-width: none;
  }

  .pub-option {
    width: 220px;
    min-width: 220px;
    min-height: 76px;
  }

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

  .main {
    padding: 14px 12px 42px;
  }

  .nav-row {
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: 16px;
  }

  .signal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .hero-copy {
    padding: 28px 22px 12px;
  }

  .hero-copy h2 {
    font-size: 2.35rem;
  }

  .hero-mark {
    min-height: 176px;
    padding: 0 48px 12px;
  }

  .hero-mark svg {
    width: 180px;
  }

  .hero-mark strong {
    font-size: 1.2rem;
  }

  .signal-visual,
  .queue-visual.surface {
    padding: 20px 17px;
    border-radius: 20px;
  }

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

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

  .queue-visual.surface {
    display: grid;
    grid-template-columns: 1fr;
  }

  .queue-orbit {
    width: 138px;
    height: 138px;
  }

  .coverage-warning {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .spotlight-head {
    align-items: flex-start;
  }

  .spotlight-head .quiet-action {
    display: none;
  }

  .signal-grid,
  .decision-grid,
  .filter-panel,
  .summary-strip,
  .field-grid,
  .evidence-counts {
    grid-template-columns: 1fr;
  }

  .signal-card {
    padding: 20px 18px 20px 22px;
  }
}

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