:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --blue: #2f6f9f;
  --green: #2f7d57;
  --amber: #b66a18;
  --red: #b23b3b;
  --teal: #227b7f;
  --shadow: 0 16px 40px rgba(22, 32, 48, 0.08);
}

.dashboard-page {
  color-scheme: dark;
  --ink: #f5efe2;
  --muted: #9fa8b8;
  --line: rgba(180, 196, 214, 0.16);
  --paper: #091016;
  --panel: rgba(17, 26, 35, 0.92);
  --blue: #6da6c8;
  --green: #69a984;
  --amber: #d9a03f;
  --red: #d6604d;
  --teal: #63b8b1;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(18, 31, 42, 0.96), rgba(9, 16, 22, 1) 260px),
    radial-gradient(circle at 18% 0%, rgba(217, 160, 63, 0.14), transparent 34%),
    var(--paper);
}

.dashboard-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f5efe2;
  background:
    radial-gradient(circle at 82% 20%, rgba(217, 160, 63, 0.12), transparent 34%),
    linear-gradient(145deg, #07111a 0%, #101e2b 58%, #091016 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.dashboard-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(217, 160, 63, 0.36);
  background: linear-gradient(135deg, rgba(18, 31, 43, 0.96), rgba(9, 16, 22, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.loader-kicker,
.loader-meta {
  color: #d9a03f;
  font: 700 0.72rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-kicker { margin: 0 0 26px; }
.loader-kicker span { color: rgba(217, 160, 63, 0.55); }

.loader-card h2 {
  margin: 0;
  color: #fffaf0;
  font: 600 clamp(1.8rem, 5vw, 2.55rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.loader-message {
  min-height: 1.5em;
  margin: 16px 0 28px;
  color: #b6bfca;
  font-size: 0.96rem;
}

.loader-progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(217, 160, 63, 0.3);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.loader-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a97827, #e2bd70);
  box-shadow: 0 0 18px rgba(217, 160, 63, 0.42);
  transition: width 180ms ease-out;
}

.dashboard-loader.is-indeterminate .loader-progress > span {
  width: 34%;
  animation: loader-sweep 1.35s ease-in-out infinite alternate;
}

.loader-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  color: #9fa8b8;
  font-size: 0.67rem;
}

.loader-meta strong { color: #e2bd70; font-size: 0.8rem; }
.dashboard-loader.has-error .loader-meta strong { color: #f0a092; }

@keyframes loader-sweep {
  from { transform: translateX(0); }
  to { transform: translateX(190%); }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-loader,
  .loader-progress > span { transition: none; }
  .dashboard-loader.is-indeterminate .loader-progress > span { animation: none; width: 62%; }
}

* {
  box-sizing: border-box;
}

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

.landing-page {
  --landing-ink: #0d151d;
  --landing-paper: #f2ece1;
  --landing-line: rgba(229, 218, 202, 0.22);
  --landing-gold: #c28a35;
  --landing-red: #b94b3a;
  --landing-green: #4f7c63;
  --landing-blue: #376984;
  background: var(--landing-paper);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 18px 42px;
  color: #fff7ea;
  background: linear-gradient(180deg, rgba(8, 15, 22, 0.78), rgba(8, 15, 22, 0));
}

.brand,
.nav-actions a,
.button,
.nav-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-actions a {
  color: rgba(255, 247, 234, 0.82);
}

.nav-actions a:hover {
  color: #fff;
}

.landing-page main {
  max-width: none;
  padding: 0;
}

.landing-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff7ea;
  background: var(--landing-ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("/capital-architect-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.94) 0%, rgba(8, 15, 22, 0.78) 43%, rgba(8, 15, 22, 0.24) 76%),
    linear-gradient(180deg, rgba(8, 15, 22, 0.28), rgba(8, 15, 22, 0.86));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 48px));
  padding: 120px 0 144px 64px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: #d8b06e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.92;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 247, 234, 0.84);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  color: #111820;
  background: var(--landing-gold);
}

.button.secondary {
  color: #fff7ea;
  border-color: rgba(255, 247, 234, 0.36);
  background: rgba(255, 247, 234, 0.08);
}

.hero-proof {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--landing-line);
  background: rgba(6, 13, 19, 0.58);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  min-height: 98px;
  padding: 20px 22px;
  border-right: 1px solid var(--landing-line);
}

.hero-proof div:last-child {
  border-right: 0;
}

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

.hero-proof strong {
  color: #d8a24d;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.hero-proof span {
  margin-top: 8px;
  color: rgba(255, 247, 234, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.doctrine-band,
.system-section,
.evidence-section,
.closing-cta {
  padding: 88px 64px;
}

.section-intro {
  max-width: 840px;
}

.section-intro h2,
.evidence-copy h2,
.closing-cta h2 {
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

.section-intro p:not(.eyebrow),
.evidence-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4b5660;
  font-size: 20px;
  line-height: 1.46;
}

.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: #d5c6af;
  border: 1px solid #d5c6af;
}

.doctrine-grid article {
  min-height: 260px;
  padding: 28px;
  background: #fbf7ef;
}

.doctrine-grid span {
  color: var(--landing-gold);
  font-size: 13px;
  font-weight: 900;
}

.doctrine-grid h3 {
  margin: 44px 0 14px;
  font-size: 25px;
  line-height: 1.08;
}

.doctrine-grid p {
  margin: 0;
  color: #53606b;
  font-size: 16px;
  line-height: 1.45;
}

.system-section {
  color: #edf3ed;
  background: #111b22;
}

.system-section .eyebrow,
.system-section h2 {
  color: #f5efe3;
}

.system-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.system-map::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-gold), var(--landing-blue), var(--landing-green), var(--landing-red));
}

.system-node {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(242, 236, 225, 0.18);
  background: #15242d;
}

.system-node span {
  color: #d8a24d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.system-node strong {
  display: block;
  margin-top: 52px;
  color: #f7efe2;
  font-size: 22px;
  line-height: 1.18;
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
  background: #f8f3ea;
}

.evidence-list {
  border-top: 1px solid #d8c8b1;
}

.evidence-list div {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid #d8c8b1;
}

.evidence-list strong {
  color: var(--landing-ink);
  font-size: 18px;
}

.evidence-list span {
  color: #52606b;
  line-height: 1.45;
}

.closing-cta {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #0e171f;
}

.closing-cta h2 {
  max-width: 840px;
  color: #fff7ea;
}

.closing-cta .button {
  margin-top: 34px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(14px);
}

.dashboard-page .topbar {
  border-bottom: 1px solid rgba(216, 160, 78, 0.24);
  background: rgba(8, 15, 21, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-seal {
  width: clamp(48px, 5vw, 68px);
  height: clamp(48px, 5vw, 68px);
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
  background: #f5efe2;
  padding: 4px;
}

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

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

h1 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.dashboard-page h1 {
  color: #fff7e8;
  font-size: clamp(29px, 3.2vw, 46px);
  font-weight: 850;
}

.dek {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-page .dek {
  color: #b6a98e;
}

h2 {
  margin-bottom: 0;
  font-size: 17px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

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

.doctrine-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 160, 63, 0.42);
  border-radius: 6px;
  background: rgba(217, 160, 63, 0.14);
  color: #ffd17b;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  padding: 0 14px;
}

.report-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(109, 166, 200, 0.38);
  border-radius: 6px;
  background: rgba(109, 166, 200, 0.12);
  color: #c6e8ff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  padding: 0 14px;
}

.doctrine-button:hover {
  background: rgba(217, 160, 63, 0.22);
  color: #ffe0a1;
}

.report-button:hover {
  background: rgba(109, 166, 200, 0.20);
  color: #e4f6ff;
}

.report-button:focus {
  outline: 2px solid rgba(109, 166, 200, 0.42);
  outline-offset: 2px;
}

select {
  min-width: 168px;
  height: 38px;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.dashboard-page select {
  border-color: rgba(185, 198, 212, 0.22);
  background: rgba(12, 20, 28, 0.96);
  color: #f5efe2;
  font-weight: 700;
}

.dashboard-page select:focus {
  outline: 2px solid rgba(217, 160, 63, 0.42);
  outline-offset: 2px;
}

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 28px 42px;
}

.dashboard-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 28px 42px;
}

.nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.briefing-strip {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(170px, 0.8fr) minmax(260px, 1.3fr) minmax(320px, 1.6fr);
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
}

.briefing-strip article {
  min-height: 86px;
  border: 1px solid rgba(196, 210, 224, 0.15);
  border-radius: 8px;
  background: rgba(8, 14, 20, 0.66);
  padding: 12px 14px;
}

.briefing-strip span,
.risk-definition {
  display: block;
  margin-bottom: 6px;
  color: #c1aa7b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.briefing-strip strong {
  display: block;
  color: #fff4df;
  font-size: 14px;
  line-height: 1.35;
}

.briefing-strip p {
  margin: 0;
  color: #c5ced9;
  font-size: 13px;
  line-height: 1.45;
}

.briefing-focus strong {
  color: #ffd17b;
}

.report-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  margin-bottom: 0;
  border: 1px solid rgba(196, 210, 224, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(217, 160, 63, 0.12), rgba(109, 166, 200, 0.07)),
    rgba(8, 14, 20, 0.66);
  padding: 14px 16px;
}

.report-console span {
  display: block;
  margin-bottom: 5px;
  color: #c1aa7b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.report-console h2 {
  margin: 0;
  color: #fff3de;
}

.report-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.metric,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.dashboard-page .metric,
.dashboard-page .panel {
  border-color: rgba(196, 210, 224, 0.15);
  background:
    linear-gradient(180deg, rgba(25, 37, 49, 0.94), rgba(14, 23, 31, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
}

.metric {
  min-width: 0;
  padding: 10px 12px;
}

.dashboard-page .metric {
  position: relative;
  overflow: hidden;
}

.dashboard-page .metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(109, 166, 200, 0.34));
}

.metric span,
.panel-head span,
.risk-meta,
.mini {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.dashboard-page .metric strong {
  color: #fff6e6;
}

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

.panel {
  min-width: 0;
  padding: 16px;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-page .panel-head {
  border-bottom: 1px solid rgba(196, 210, 224, 0.11);
  padding-bottom: 12px;
}

.dashboard-page .panel-head h2 {
  color: #fff3de;
}

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

.phase {
  border-left: 4px solid var(--blue);
  padding: 8px 10px 2px;
  min-height: 132px;
}

.dashboard-page .phase {
  border-left-color: var(--blue);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  padding: 11px 12px;
}

.phase:nth-child(2) {
  border-color: var(--green);
}

.phase:nth-child(3) {
  border-color: var(--red);
}

.dashboard-page .phase:nth-child(4) {
  border-color: var(--red);
}

.phase .month {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.phase p {
  margin-bottom: 0;
  color: #445066;
  font-size: 13px;
  line-height: 1.42;
}

.dashboard-page .phase p {
  color: #c4ccd6;
}

.category-row {
  display: grid;
  grid-template-columns: 132px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin: 11px 0;
  font-size: 13px;
}

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

.bar {
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
}

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

.risk {
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.dashboard-page .risk {
  position: relative;
  overflow: hidden;
  border-color: rgba(196, 210, 224, 0.13);
  background: rgba(9, 16, 23, 0.62);
}

.dashboard-page .risk::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue);
}

.dashboard-page .risk.priority-1::before,
.dashboard-page .risk.priority-2::before {
  background: var(--red);
}

.dashboard-page .risk.priority-3::before,
.dashboard-page .risk.priority-4::before {
  background: var(--amber);
}

.dashboard-page .risk.priority-5::before,
.dashboard-page .risk.priority-6::before {
  background: var(--green);
}

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

.risk-score {
  flex: 0 0 auto;
  min-width: 44px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #fff1df;
  color: var(--amber);
  font-weight: 800;
}

.dashboard-page .risk-score {
  background: rgba(217, 160, 63, 0.14);
  color: #ffd17b;
  border: 1px solid rgba(217, 160, 63, 0.26);
}

.dashboard-page .risk.priority-1 .risk-score,
.dashboard-page .risk.priority-2 .risk-score {
  background: rgba(214, 96, 77, 0.16);
  color: #ff9a88;
  border-color: rgba(214, 96, 77, 0.36);
}

.risk p {
  margin-bottom: 10px;
  color: #3d4758;
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-page .risk p {
  color: #c6ced8;
}

.risk-definition {
  margin-bottom: 4px;
}

.spark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.spark div {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 48px;
  border-radius: 6px;
  background: #eef4f5;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 5px;
}

.dashboard-page .spark div {
  background: rgba(99, 184, 177, 0.12);
  color: #96e1d9;
  border: 1px solid rgba(99, 184, 177, 0.16);
}

.heatmap {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.6fr);
  gap: 7px;
  align-items: stretch;
  font-size: 12px;
}

.empty {
  grid-column: 1 / -1;
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd3df;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 14px;
}

.heat-label,
.heat-cell,
.heat-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.heat-head {
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-page .heat-head {
  color: #c1aa7b;
}

.heat-label {
  color: #354052;
}

.dashboard-page .heat-label {
  color: #cbd3dd;
}

.heat-cell {
  justify-content: center;
  color: #172033;
  font-weight: 800;
}

.dashboard-page .heat-cell {
  color: #fff8ea;
  border: 1px solid rgba(255, 222, 170, 0.10);
}

.heat-chart-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e3e8ef;
}

.dashboard-page .heat-chart-block {
  border-top-color: rgba(196, 210, 224, 0.14);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chart-toolbar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-toolbar select {
  width: min(210px, 58%);
  min-height: 34px;
  border: 1px solid #d6dde7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0 9px;
}

.dashboard-page .chart-toolbar select {
  border-color: rgba(196, 210, 224, 0.18);
  background: rgba(8, 14, 20, 0.62);
  color: #fff7e8;
}

.heat-chart {
  min-height: 178px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.heat-chart-bar {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.heat-chart-column {
  min-height: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(182, 106, 24, 0.18);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(182, 106, 24, 0.82), rgba(198, 74, 54, 0.48));
  color: #fffaf0;
  font-size: 12px;
  font-weight: 900;
  padding-top: 7px;
}

.dashboard-page .heat-chart-column {
  border-color: rgba(255, 209, 123, 0.20);
  background: linear-gradient(180deg, rgba(217, 160, 63, 0.88), rgba(214, 96, 77, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 248, 234, 0.16);
}

.heat-chart-bar strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-page .heat-chart-bar strong {
  color: #c1aa7b;
}

.watch-note {
  margin-top: 30px;
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 13px;
}

.watch-note::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  height: 1px;
  background: #e3e8ef;
}

.dashboard-page .watch-note {
  border-color: rgba(217, 160, 63, 0.22);
  background: linear-gradient(180deg, rgba(217, 160, 63, 0.08), rgba(8, 14, 20, 0.42));
}

.dashboard-page .watch-note::before {
  background: rgba(196, 210, 224, 0.14);
}

.watch-note-head,
.watch-note-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.watch-note-head {
  align-items: center;
  margin-bottom: 12px;
}

.watch-note-head span,
.watch-note-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-note-head strong {
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
}

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

.watch-note-grid div {
  min-width: 0;
}

.watch-note-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.22;
}

.watch-note-grid small {
  display: block;
  margin-top: 4px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
}

.watch-note p {
  margin: 12px 0 0;
  color: #475466;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .watch-note p {
  color: #cbd3dd;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 8px;
}

.day {
  min-height: 58px;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  background: #fbfcfd;
  padding: 7px 6px;
}

.day.active {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.date {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.dot.Institutional {
  background: var(--green);
}

.dot.Food {
  background: var(--amber);
}

.dot.Leadership {
  background: var(--red);
}

.table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
}

.dashboard-page .table-wrap {
  border-color: rgba(196, 210, 224, 0.15);
  background: rgba(8, 14, 20, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8edf3;
  text-align: left;
  vertical-align: top;
}

.dashboard-page th,
.dashboard-page td {
  border-bottom-color: rgba(196, 210, 224, 0.10);
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f6f8;
  color: #526071;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dashboard-page th {
  background: #111b25;
  color: #cbb98d;
}

.dashboard-page tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

td:nth-child(1) {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
}

td:nth-child(2) {
  white-space: nowrap;
  font-weight: 700;
}

td:nth-child(3) {
  min-width: 230px;
  font-weight: 700;
}

.dashboard-page td:nth-child(3) {
  color: #f3ead8;
}

td:nth-child(4) {
  color: #3f4a5c;
  line-height: 1.42;
}

.dashboard-page td:nth-child(4) {
  color: #c8d0da;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(109, 166, 200, 0.28);
  border-radius: 999px;
  background: rgba(109, 166, 200, 0.12);
  color: #aad2ea;
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
}

.category-chip.Institutional {
  border-color: rgba(105, 169, 132, 0.30);
  background: rgba(105, 169, 132, 0.12);
  color: #a8d9b9;
}

.category-chip.Food {
  border-color: rgba(217, 160, 63, 0.34);
  background: rgba(217, 160, 63, 0.13);
  color: #f2c96d;
}

.category-chip.Leadership {
  border-color: rgba(214, 96, 77, 0.34);
  background: rgba(214, 96, 77, 0.13);
  color: #f2a092;
}

.dashboard-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 34px;
  text-align: center;
}

.dashboard-footer p {
  margin: 0 auto;
  color: #8e98a6;
  font-size: 12px;
  line-height: 1.5;
}

.dashboard-footer p:first-child {
  border-top: 1px solid rgba(196, 210, 224, 0.13);
  padding-top: 16px;
}

.dashboard-footer .copyright {
  color: #cbb98d;
  font-weight: 800;
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .site-nav {
    padding: 16px 24px;
  }

  .nav-actions {
    gap: 14px;
  }

  .hero-content {
    padding-left: 32px;
  }

  .hero-proof {
    left: 32px;
    right: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctrine-band,
  .system-section,
  .evidence-section,
  .closing-cta {
    padding: 72px 32px;
  }

  .doctrine-grid,
  .system-map,
  .evidence-section {
    grid-template-columns: 1fr 1fr;
  }

  .system-map::before {
    display: none;
  }

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

  .brand-lockup {
    align-items: flex-start;
  }

  .phase-track,
  .risk-list {
    grid-template-columns: 1fr;
  }

  .briefing-strip {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }

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

  .report-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .span-4,
  .span-5,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .landing-page main {
    padding: 0;
  }

  .site-nav {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 18px 18px 0;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .landing-hero {
    min-height: 94svh;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 10, 15, 0.94), rgba(8, 15, 22, 0.48)),
      linear-gradient(180deg, rgba(8, 15, 22, 0.20), rgba(8, 15, 22, 0.92));
  }

  .hero-content {
    width: auto;
    padding: 128px 18px 228px;
  }

  .hero-content h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .hero-proof {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof div {
    min-height: 76px;
    padding: 14px;
  }

  .hero-proof strong {
    font-size: 25px;
  }

  .doctrine-band,
  .system-section,
  .evidence-section,
  .closing-cta {
    padding: 58px 18px;
  }

  .doctrine-grid,
  .system-map,
  .evidence-section,
  .evidence-list div {
    grid-template-columns: 1fr;
  }

  .section-intro p:not(.eyebrow),
  .evidence-copy p {
    font-size: 17px;
  }

  .topbar,
  main,
  .dashboard-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .toolbar,
  .report-button,
  .report-controls,
  select {
    width: 100%;
  }

  .report-controls {
    flex-direction: column;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Development Arc: compact editorial synthesis with an inspectable signal trail. */
.dashboard-page .phase-track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.dashboard-page .phase {
  min-height: 0;
  border: 1px solid var(--desk-line-cool);
  border-top: 2px solid var(--desk-gold);
  padding: 20px;
}

.dashboard-page .phase h3 {
  margin-bottom: 10px;
}

.dashboard-page .phase > p {
  margin: 0 0 17px;
  color: #c4ccd6;
  font-size: 12px;
  line-height: 1.6;
}

.arc-lenses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--desk-line-cool);
  border-left: 1px solid var(--desk-line-cool);
}

.arc-lens {
  padding: 12px;
  border-right: 1px solid var(--desk-line-cool);
  border-bottom: 1px solid var(--desk-line-cool);
}

.arc-lens > span,
.arc-risk-shift > span,
.arc-latest-read > span {
  display: block;
  margin-bottom: 6px;
  color: var(--desk-gold-bright);
  font: 700 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-page .phase .arc-lens p,
.dashboard-page .phase .arc-latest-read p,
.dashboard-page .phase .arc-risk-shift p {
  margin: 0;
  color: #b6c0ca;
  font-size: 11px;
  line-height: 1.55;
}

.arc-risk-shift,
.arc-latest-read {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid var(--desk-line-cool);
  background: rgba(255, 255, 255, 0.018);
}

.arc-risk-shift > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--desk-ivory);
  font-size: 11px;
  line-height: 1.5;
}

.arc-risk-shift small {
  display: block;
  margin-top: 8px;
  color: #82909d;
  font-size: 9px;
  line-height: 1.45;
}

.arc-evidence {
  margin-top: 12px;
  border-top: 1px solid var(--desk-line-cool);
  color: #c4ccd6;
}

.arc-evidence summary {
  padding: 11px 0 8px;
  color: #d7bd83;
  cursor: pointer;
  font: 700 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arc-evidence ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 12px 18px;
}

.arc-evidence li {
  padding-left: 2px;
  color: #d5dbe1;
  font-size: 11px;
  line-height: 1.45;
}

.arc-evidence li > span {
  display: block;
  margin-bottom: 3px;
  color: #8b99a6;
  font: 600 9px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
}

.arc-evidence li > strong {
  display: block;
  color: #eee7d9;
  font-weight: 650;
}

.arc-evidence li > p {
  margin: 3px 0 0;
  color: #9eabb6;
  font-size: 10px;
}

.dashboard-page .phase .mini {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--desk-line-cool);
}

@media (max-width: 640px) {
  .dashboard-page .phase-track,
  .arc-lenses {
    grid-template-columns: 1fr;
  }

  .dashboard-page .phase {
    padding: 17px 15px;
  }
}

/* 2026 visual refresh: clearer hierarchy for professional scanning. */
.dashboard-page {
  --panel-strong: #16222d;
  --panel-soft: #0d171f;
  --gold-soft: rgba(217, 160, 63, 0.12);
  min-height: 100vh;
  background:
    linear-gradient(rgba(109, 166, 200, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 166, 200, 0.025) 1px, transparent 1px),
    #091016;
  background-size: 48px 48px;
}

.dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, #d9a03f 0 42%, #6da6c8 42% 72%, #69a984 72% 88%, #d6604d 88%);
}

.dashboard-page .topbar {
  min-height: 118px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-bottom-color: rgba(217, 160, 63, 0.3);
  background: rgba(7, 13, 18, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.dashboard-page .brand-lockup {
  gap: 18px;
}

.dashboard-page .brand-seal {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(217, 160, 63, 0.42);
  box-shadow: 0 0 0 5px rgba(217, 160, 63, 0.06);
}

.dashboard-page h1 {
  max-width: 980px;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 1;
}

.dashboard-page .dek {
  margin-top: 10px;
  color: #c6b99c;
  font-size: 14px;
}

.dashboard-page .toolbar {
  gap: 12px;
}

.dashboard-page .doctrine-button,
.dashboard-page .toolbar select {
  min-height: 44px;
}

.dashboard-page .doctrine-button {
  position: relative;
  overflow: hidden;
  padding-inline: 18px;
  background: rgba(217, 160, 63, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 168, 0.03);
}

.dashboard-page .doctrine-button::after {
  content: "↗";
  margin-left: 10px;
  font-size: 13px;
}

.dashboard-main {
  max-width: 1540px;
  padding-top: 28px;
}

.metrics {
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-page .metric {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  border-color: rgba(196, 210, 224, 0.19);
  background: linear-gradient(145deg, rgba(25, 38, 50, 0.98), rgba(13, 22, 30, 0.98));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.dashboard-page .metric:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 160, 63, 0.32);
  background: linear-gradient(145deg, rgba(29, 44, 57, 0.98), rgba(14, 24, 33, 0.98));
}

.dashboard-page .metric::before {
  height: 3px;
  background: var(--amber);
}

.dashboard-page .metric:nth-child(2)::before {
  background: var(--blue);
}

.dashboard-page .metric:nth-child(3)::before {
  background: var(--green);
}

.dashboard-page .metric:nth-child(4)::before {
  background: var(--red);
}

.dashboard-page .metric span {
  color: #aab5c4;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-page .metric strong {
  margin-top: 12px;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.05;
}

.briefing-strip {
  grid-template-columns: minmax(180px, 0.82fr) minmax(180px, 0.78fr) minmax(300px, 1.35fr) minmax(340px, 1.65fr);
  gap: 0;
  margin-bottom: 18px;
  border-top: 1px solid rgba(196, 210, 224, 0.16);
  border-bottom: 1px solid rgba(196, 210, 224, 0.16);
  background: rgba(7, 13, 18, 0.68);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.briefing-strip article {
  min-height: 108px;
  border: 0;
  border-right: 1px solid rgba(196, 210, 224, 0.14);
  border-radius: 0;
  background: transparent;
  padding: 17px 20px;
}

.briefing-strip article:last-child {
  border-right: 0;
}

.briefing-strip span,
.risk-definition {
  color: #d0af70;
  letter-spacing: 0.04em;
}

.briefing-strip strong {
  font-size: 15px;
}

.layout {
  gap: 18px;
}

.dashboard-page .panel {
  border-color: rgba(196, 210, 224, 0.18);
  background:
    linear-gradient(180deg, rgba(26, 39, 52, 0.96), rgba(12, 21, 29, 0.97)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.panel {
  padding: 20px;
}

.dashboard-page .panel-head {
  position: relative;
  margin-bottom: 18px;
  padding: 0 0 15px 14px;
}

.dashboard-page .panel-head::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 16px;
  left: 0;
  width: 3px;
  background: var(--amber);
}

.dashboard-page .panel-head h2 {
  font-size: 19px;
}

.phase-track {
  counter-reset: phase;
  gap: 14px;
}

.dashboard-page .phase {
  counter-increment: phase;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(109, 166, 200, 0.15);
  border-top: 3px solid var(--blue);
  border-left: 1px solid rgba(109, 166, 200, 0.15);
  border-radius: 6px;
  background: linear-gradient(155deg, rgba(109, 166, 200, 0.08), rgba(6, 12, 17, 0.16) 62%);
  padding: 18px 16px 16px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.dashboard-page .phase::after {
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  top: 8px;
  right: 12px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.dashboard-page .phase:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 166, 200, 0.34);
}

.dashboard-page .phase:nth-child(2),
.dashboard-page .phase:nth-child(5) {
  border-top-color: var(--green);
}

.dashboard-page .phase:nth-child(3),
.dashboard-page .phase:nth-child(6) {
  border-top-color: var(--red);
}

.dashboard-page .phase .month {
  color: #aab5c4;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-page .phase h3 {
  max-width: 88%;
  margin-top: 8px;
  color: #fff2dd;
  font-size: 17px;
  line-height: 1.17;
}

.dashboard-page .phase p {
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-page .phase .mini {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(196, 210, 224, 0.1);
  color: #d0af70;
  line-height: 1.4;
}

.heatmap {
  gap: 8px;
}

.dashboard-page .heat-cell {
  min-height: 38px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: filter 140ms ease, transform 140ms ease;
}

.dashboard-page .heat-cell:hover {
  z-index: 1;
  filter: brightness(1.18);
  transform: scale(1.04);
}

.dashboard-page .heat-label {
  font-size: 12px;
  line-height: 1.14;
}

.dashboard-page .heat-chart {
  min-height: 194px;
  padding: 14px 10px 0;
  border-bottom: 1px solid rgba(196, 210, 224, 0.12);
  background: repeating-linear-gradient(to top, rgba(196, 210, 224, 0.07) 0 1px, transparent 1px 46px);
}

.dashboard-page .heat-chart-column {
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #e4b45c, #b9584a);
  box-shadow: 0 8px 22px rgba(185, 88, 74, 0.18);
  transition: filter 140ms ease, transform 140ms ease;
}

.dashboard-page .heat-chart-bar:hover .heat-chart-column {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.dashboard-page .watch-note {
  border-left: 3px solid var(--amber);
  background: rgba(8, 14, 20, 0.48);
}

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

.dashboard-page .risk {
  min-height: 204px;
  padding: 16px 16px 14px 18px;
  background: rgba(7, 13, 18, 0.56);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dashboard-page .risk:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 210, 224, 0.3);
  background: rgba(12, 22, 30, 0.78);
}

.dashboard-page .risk h3 {
  color: #fff2dd;
  font-size: 16px;
}

.dashboard-page .risk-score {
  min-width: 50px;
  height: 38px;
  font-size: 16px;
}

.dashboard-page .spark div {
  border-radius: 3px 3px 0 0;
  background: rgba(99, 184, 177, 0.1);
}

.dashboard-page .table-wrap {
  border-radius: 4px;
}

.dashboard-page th {
  height: 44px;
  background: #0e1922;
  color: #d0af70;
}

.dashboard-page td {
  padding-top: 13px;
  padding-bottom: 13px;
}

.dashboard-page tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.014);
}

.dashboard-page tbody tr:hover {
  background: rgba(109, 166, 200, 0.07);
}

.report-console {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  margin-top: 18px;
  border-color: rgba(217, 160, 63, 0.28);
  background: linear-gradient(110deg, rgba(217, 160, 63, 0.13), rgba(17, 31, 42, 0.88) 44%, rgba(109, 166, 200, 0.09));
  padding: 20px 22px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.report-console::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--amber);
}

.report-console h2 {
  font-size: 21px;
}

.dashboard-page .report-button {
  min-height: 44px;
  border-color: rgba(109, 166, 200, 0.48);
  background: #21465e;
  color: #f2f8fb;
  padding-inline: 18px;
}

.dashboard-footer {
  max-width: 1540px;
  padding-top: 8px;
}

@media (max-width: 1180px) {
  .risk-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .dashboard-page .topbar {
    min-height: 0;
  }

  .briefing-strip {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
  }

  .briefing-strip article {
    border-right: 1px solid rgba(196, 210, 224, 0.14);
  }
}

@media (max-width: 640px) {
  .dashboard-page .topbar {
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .dashboard-page .brand-lockup {
    gap: 13px;
  }

  .dashboard-page .brand-seal {
    width: 56px;
    height: 56px;
  }

  .dashboard-page h1 {
    font-size: 27px;
  }

  .dashboard-page .dek {
    font-size: 12px;
  }

  .dashboard-main {
    padding-top: 18px;
  }

  .metrics {
    grid-template-columns: repeat(4, minmax(172px, 1fr));
  }

  .dashboard-page .metric {
    min-height: 86px;
  }

  .panel {
    padding: 16px;
  }

  .dashboard-page .phase {
    min-height: 0;
  }

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

  .report-console {
    padding: 18px;
  }
}

/* 2026 Signals Desk: Capital Architect institutional product system. */
.dashboard-page {
  --desk-navy: #06111d;
  --desk-navy-2: #0a1724;
  --desk-panel: #101e2c;
  --desk-panel-deep: #0b1621;
  --desk-gold: #caa45c;
  --desk-gold-bright: #e0bd78;
  --desk-ivory: #f6f0e5;
  --desk-slate: #a8b2bd;
  --desk-line: rgba(202, 164, 92, 0.22);
  --desk-line-cool: rgba(179, 196, 209, 0.14);
  color: var(--desk-ivory);
  background:
    radial-gradient(circle at 12% -8%, rgba(202, 164, 92, 0.12), transparent 28rem),
    linear-gradient(rgba(202, 164, 92, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 164, 92, 0.025) 1px, transparent 1px),
    var(--desk-navy);
  background-size: auto, 56px 56px, 56px 56px, auto;
}

.dashboard-page::before {
  background: linear-gradient(90deg, transparent, var(--desk-gold) 28%, var(--desk-gold) 72%, transparent);
  opacity: 0.8;
}

.dashboard-page a {
  color: inherit;
}

.dashboard-page .topbar {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--desk-line);
  background:
    radial-gradient(circle at 78% 38%, rgba(202, 164, 92, 0.11), transparent 21rem),
    linear-gradient(118deg, rgba(4, 12, 20, 0.98), rgba(8, 21, 33, 0.96) 58%, rgba(12, 27, 40, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: none;
}

.dashboard-page .topbar::before,
.dashboard-page .topbar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-page .topbar::before {
  width: 560px;
  height: 560px;
  right: -170px;
  top: -285px;
  border: 1px solid rgba(202, 164, 92, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(202, 164, 92, 0.025),
    0 0 0 148px rgba(202, 164, 92, 0.018);
}

.dashboard-page .topbar::after {
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(115deg, transparent 0 61%, rgba(202, 164, 92, 0.07) 61.1% 61.25%, transparent 61.35%),
    linear-gradient(32deg, transparent 0 74%, rgba(202, 164, 92, 0.05) 74.1% 74.22%, transparent 74.32%);
}

.masthead-grid,
.hero-row {
  position: relative;
  z-index: 1;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

.masthead-grid {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 92px;
  border-bottom: 1px solid rgba(202, 164, 92, 0.15);
}

.dashboard-page .brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--desk-ivory);
  text-decoration: none;
}

.dashboard-page .brand-seal {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(202, 164, 92, 0.38);
  border-radius: 2px;
  background: #f5f0e7;
  box-shadow: 0 0 0 4px rgba(202, 164, 92, 0.05);
}

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

.brand-wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-wordmark span {
  margin-top: 4px;
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.product-nav a {
  position: relative;
  color: rgba(246, 240, 229, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--desk-gold);
  transition: right 160ms ease;
}

.product-nav a:hover,
.product-nav a.active {
  color: var(--desk-ivory);
}

.product-nav a:hover::after,
.product-nav a.active::after {
  right: 0;
}

.desk-status {
  min-width: 172px;
  padding-left: 18px;
  border-left: 1px solid var(--desk-line);
  text-align: right;
}

.desk-status span,
.desk-status strong {
  display: block;
}

.desk-status span {
  color: #8fd2b1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desk-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #82caa4;
  box-shadow: 0 0 0 4px rgba(130, 202, 164, 0.1);
}

.desk-status strong {
  margin-top: 7px;
  color: var(--desk-slate);
  font-size: 12px;
  font-weight: 600;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  align-items: end;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 62px;
}

.hero-copy-block {
  max-width: 980px;
}

.hero-kicker,
.command-heading > div > span,
.panel-index,
.control-label {
  display: block;
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 22px;
}

.dashboard-page .hero-copy-block h1 {
  max-width: 940px;
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.2vw, 94px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.dashboard-page .hero-copy-block .dek {
  max-width: 820px;
  margin: 27px 0 0;
  color: rgba(222, 227, 230, 0.76);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.hero-control-panel {
  position: relative;
  border-top: 1px solid var(--desk-gold);
  border-bottom: 1px solid var(--desk-line-cool);
  padding: 20px 0 18px;
}

.hero-control-panel::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 42px;
  height: 7px;
  background: var(--desk-gold);
}

.hero-control-panel strong {
  display: block;
  margin: 9px 0 16px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.dashboard-page .hero-control-panel select {
  width: 100%;
  height: 46px;
  border-color: rgba(202, 164, 92, 0.34);
  border-radius: 2px;
  background: rgba(5, 13, 21, 0.86);
  color: var(--desk-ivory);
}

.hero-control-panel p {
  margin: 13px 0 0;
  color: #8996a2;
  font-size: 11px;
  line-height: 1.5;
}

.dashboard-main {
  width: min(1540px, 100%);
  padding-top: 38px;
}

.command-deck {
  margin-bottom: 22px;
  border: 1px solid var(--desk-line-cool);
  border-top-color: var(--desk-line);
  background: linear-gradient(155deg, rgba(15, 29, 42, 0.92), rgba(7, 17, 27, 0.94));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.command-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--desk-line-cool);
}

.command-heading h2 {
  margin-top: 8px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.command-heading p {
  max-width: 520px;
  margin: 0;
  color: #87949f;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.command-deck .metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.dashboard-page .command-deck .metric {
  min-height: 122px;
  border: 0;
  border-right: 1px solid var(--desk-line-cool);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 22px 24px;
}

.dashboard-page .command-deck .metric:last-child {
  border-right: 0;
}

.dashboard-page .command-deck .metric::before {
  top: auto;
  right: 24px;
  bottom: 17px;
  left: 24px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--desk-gold), transparent);
  opacity: 0.5;
}

.dashboard-page .command-deck .metric:hover {
  transform: none;
  background: rgba(202, 164, 92, 0.035);
}

.dashboard-page .command-deck .metric span {
  color: #8e9aa5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.dashboard-page .command-deck .metric strong {
  max-width: 300px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.command-deck .briefing-strip {
  grid-template-columns: 1fr 1fr 1.35fr 1.55fr;
  gap: 0;
  margin: 0;
  overflow-x: auto;
  border-top: 1px solid var(--desk-line-cool);
  border-bottom: 0;
  background: rgba(3, 11, 18, 0.46);
  box-shadow: none;
}

.command-deck .briefing-strip article {
  min-height: 112px;
  padding: 19px 24px;
  border-right-color: var(--desk-line-cool);
}

.command-deck .briefing-strip span,
.dashboard-page .risk-definition {
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.command-deck .briefing-strip strong {
  color: #e8e3da;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.command-deck .briefing-focus strong {
  color: var(--desk-gold-bright);
}

.command-deck .briefing-strip p {
  color: #9aa6b0;
  font-size: 12px;
}

.layout {
  gap: 22px;
}

.dashboard-page .panel {
  overflow: hidden;
  border: 1px solid var(--desk-line-cool);
  border-top-color: var(--desk-line);
  border-radius: 0;
  background: linear-gradient(155deg, rgba(15, 29, 42, 0.94), rgba(7, 17, 27, 0.97));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
  padding: 26px;
}

.dashboard-page .panel-head {
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--desk-line-cool);
}

.dashboard-page .panel-head::before {
  display: none;
}

.panel-title-group p {
  margin: 7px 0 0;
  color: #8f9ba6;
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-page .panel-head .panel-index {
  color: var(--desk-gold-bright);
  font-size: 9px;
}

.dashboard-page .panel-head h2 {
  margin-top: 8px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.dashboard-page .panel-head > span:last-child {
  color: #8f9ba6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--desk-line-cool);
  border-left: 1px solid var(--desk-line-cool);
}

.dashboard-page .phase {
  min-height: 248px;
  border: 0;
  border-right: 1px solid var(--desk-line-cool);
  border-bottom: 1px solid var(--desk-line-cool);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.012);
  padding: 22px 20px 18px;
}

.dashboard-page .phase:hover {
  transform: none;
  border-color: var(--desk-line-cool);
  background: rgba(202, 164, 92, 0.045);
}

.dashboard-page .phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--desk-gold);
}

.dashboard-page .phase::after {
  color: rgba(202, 164, 92, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 500;
}

.dashboard-page .phase .month {
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.dashboard-page .phase h3 {
  margin-top: 14px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.16;
}

.dashboard-page .phase p {
  color: #aab4bd;
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-page .phase .mini {
  color: #bca273;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  line-height: 1.55;
  text-transform: uppercase;
}

.heat-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  column-gap: 34px;
}

.heat-panel .panel-head,
.heat-panel .watch-note {
  grid-column: 1 / -1;
}

.heat-panel .heat-chart-block {
  margin: 0;
  padding: 0 0 0 30px;
  border-top: 0;
  border-left: 1px solid var(--desk-line-cool);
}

.dashboard-page .heat-head,
.dashboard-page .heat-chart-bar strong {
  color: #a99572;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .heat-label {
  color: #b9c2ca;
  font-size: 11px;
}

.dashboard-page .heat-cell {
  min-height: 42px;
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.dashboard-page .heat-chart {
  min-height: 210px;
  background: repeating-linear-gradient(to top, rgba(202, 164, 92, 0.065) 0 1px, transparent 1px 48px);
}

.dashboard-page .heat-chart-column {
  border: 0;
  background: linear-gradient(180deg, var(--desk-gold-bright), #9f6945);
  box-shadow: none;
}

.dashboard-page .chart-toolbar span {
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
}

.dashboard-page .chart-toolbar select {
  border-radius: 2px;
  border-color: var(--desk-line);
  background: rgba(3, 11, 18, 0.62);
}

.dashboard-page .watch-note {
  margin-top: 28px;
  border: 1px solid var(--desk-line);
  border-left: 3px solid var(--desk-gold);
  border-radius: 0;
  background: rgba(202, 164, 92, 0.045);
  padding: 18px 20px;
}

.risk-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--desk-line-cool);
  border: 1px solid var(--desk-line-cool);
}

.dashboard-page .risk {
  min-height: 230px;
  border: 0;
  border-radius: 0;
  background: var(--desk-panel-deep);
  padding: 20px;
}

.dashboard-page .risk::before {
  top: 0;
  right: auto;
  bottom: auto;
  width: 52px;
  height: 2px;
  background: var(--desk-gold);
}

.dashboard-page .risk:hover {
  transform: none;
  border-color: transparent;
  background: #10202e;
}

.dashboard-page .risk h3 {
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.dashboard-page .risk-meta {
  color: #87949f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-page .risk-score,
.dashboard-page .risk.priority-1 .risk-score,
.dashboard-page .risk.priority-2 .risk-score {
  min-width: 48px;
  height: 38px;
  border: 1px solid var(--desk-line);
  border-radius: 0;
  background: rgba(202, 164, 92, 0.08);
  color: var(--desk-gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.dashboard-page .risk p {
  color: #aab4bd;
  font-size: 12px;
  line-height: 1.55;
}

.dashboard-page .spark {
  align-items: end;
  border-bottom: 1px solid var(--desk-line-cool);
}

.dashboard-page .spark div {
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(202, 164, 92, 0.28), rgba(202, 164, 92, 0.08));
  color: #d7bc86;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
}

.dashboard-page .table-wrap {
  max-height: 600px;
  border-color: var(--desk-line-cool);
  border-radius: 0;
  background: rgba(3, 11, 18, 0.42);
}

.dashboard-page th {
  height: 48px;
  background: #0a1621;
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.dashboard-page td {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-color: rgba(179, 196, 209, 0.09);
}

.dashboard-page td:nth-child(1) {
  color: #a99572;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.dashboard-page td:nth-child(3) {
  color: #e8e2d7;
}

.dashboard-page td:nth-child(4) {
  color: #aeb8c1;
}

.dashboard-page tbody tr:hover {
  background: rgba(202, 164, 92, 0.045);
}

.category-chip,
.category-chip.Institutional,
.category-chip.Food,
.category-chip.Leadership {
  min-height: 25px;
  border-color: rgba(202, 164, 92, 0.22);
  border-radius: 2px;
  background: rgba(202, 164, 92, 0.07);
  color: #d8bd89;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-console {
  min-height: 148px;
  margin-top: 22px;
  border: 1px solid var(--desk-line);
  border-radius: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(202, 164, 92, 0.13), transparent 19rem),
    linear-gradient(115deg, rgba(202, 164, 92, 0.09), rgba(10, 24, 36, 0.96) 48%);
  padding: 28px 30px;
}

.report-console::before {
  width: 3px;
  background: var(--desk-gold);
}

.report-console span {
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.report-console h2 {
  margin-top: 9px;
  color: var(--desk-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.report-console p {
  margin: 9px 0 0;
  color: #96a2ad;
  font-size: 12px;
}

.report-controls select {
  min-width: 190px;
  height: 46px;
  border-radius: 2px;
  border-color: var(--desk-line);
  background: rgba(3, 11, 18, 0.72);
}

.dashboard-page .report-button {
  min-height: 46px;
  border: 1px solid var(--desk-gold);
  border-radius: 2px;
  background: var(--desk-gold);
  color: #10161d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .report-button:hover {
  background: var(--desk-gold-bright);
  color: #0b1117;
}

.dashboard-footer {
  max-width: 1540px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  padding-bottom: 38px;
  text-align: left;
}

.dashboard-footer > div {
  max-width: 760px;
}

.dashboard-footer p:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-footer .copyright {
  color: var(--desk-gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-footer nav {
  display: flex;
  gap: 20px;
}

.dashboard-footer nav a {
  color: #9ba7b1;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-footer nav a:hover {
  color: var(--desk-gold-bright);
}

@media (max-width: 1180px) {
  .masthead-grid {
    grid-template-columns: auto 1fr auto;
  }

  .product-nav {
    gap: 18px;
  }

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

  .heat-panel {
    grid-template-columns: 1fr;
  }

  .heat-panel .panel-head,
  .heat-panel .watch-note {
    grid-column: 1;
  }

  .heat-panel .heat-chart-block {
    margin-top: 28px;
    padding: 24px 0 0;
    border-top: 1px solid var(--desk-line-cool);
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .dashboard-page .topbar {
    display: block;
  }

  .masthead-grid {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .product-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-bottom: 18px;
  }

  .hero-row {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 54px;
  }

  .hero-control-panel {
    max-width: 440px;
  }

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

  .dashboard-page .command-deck .metric:nth-child(2) {
    border-right: 0;
  }

  .dashboard-page .command-deck .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--desk-line-cool);
  }

  .command-deck .briefing-strip {
    grid-template-columns: repeat(4, minmax(240px, 1fr));
  }

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

@media (max-width: 640px) {
  .masthead-grid,
  .hero-row,
  .dashboard-main,
  .dashboard-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .masthead-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 20px;
  }

  .dashboard-page .brand-seal {
    width: 48px;
    height: 48px;
  }

  .brand-wordmark strong {
    font-size: 18px;
  }

  .desk-status {
    min-width: 0;
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .product-nav {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    gap: 0;
    overflow-x: auto;
    border-top: 1px solid var(--desk-line-cool);
    padding: 15px 0 18px;
  }

  .product-nav a {
    flex: 0 0 auto;
    margin-right: 22px;
  }

  .hero-row {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .dashboard-page .hero-copy-block h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .dashboard-page .hero-copy-block .dek {
    font-size: 15px;
  }

  .dashboard-main {
    padding-top: 22px;
  }

  .command-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 19px 18px 16px;
  }

  .command-heading p {
    text-align: left;
  }

  .command-deck .metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-page .command-deck .metric,
  .dashboard-page .command-deck .metric:nth-child(2) {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--desk-line-cool);
    padding: 19px 18px;
  }

  .dashboard-page .command-deck .metric:last-child {
    border-bottom: 0;
  }

  .command-deck .briefing-strip {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .command-deck .briefing-strip article,
  .command-deck .briefing-strip article:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--desk-line-cool);
    padding: 17px 18px;
  }

  .command-deck .briefing-strip article:last-child {
    border-bottom: 0;
  }

  .dashboard-page .panel {
    padding: 20px 18px;
  }

  .dashboard-page .panel-head {
    align-items: flex-start;
  }

  .phase-track,
  .risk-list {
    grid-template-columns: 1fr;
  }

  .dashboard-page .phase {
    min-height: 0;
  }

  .heatmap {
    min-width: 680px;
  }

  .heat-panel {
    overflow-x: auto;
  }

  .heat-panel .panel-head,
  .heat-panel .heat-chart-block,
  .heat-panel .watch-note {
    min-width: 0;
  }

  .report-console,
  .report-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .report-console {
    padding: 22px 20px;
  }

  .report-controls,
  .report-controls select,
  .dashboard-page .report-button {
    width: 100%;
  }

  .dashboard-footer {
    flex-direction: column;
  }

  .dashboard-footer nav {
    flex-wrap: wrap;
  }
}

/* Keep the richer arc cards compact after the legacy dashboard overrides. */
.dashboard-page .phase {
  min-height: 0;
  border: 1px solid var(--desk-line-cool);
  border-top: 2px solid var(--desk-gold);
  padding: 20px;
}

.dashboard-page .phase h3 {
  margin-bottom: 10px;
}

.dashboard-page .phase > p {
  margin: 0 0 17px;
  color: #c4ccd6;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .dashboard-page .phase {
    padding: 17px 15px;
  }
}
