:root {
  --phi: 1.618;
  --phi-inv: 0.618;

  --space-1: 8px;
  --space-2: 13px;
  --space-3: 21px;
  --space-4: 34px;
  --space-5: 55px;
  --space-6: 89px;

  --bg: #071e2f;
  --bg-soft: #0c2f47;
  --card: #ffffff;
  --surface: #f4f8fb;
  --primary: #2199e8;
  --primary-deep: #0c4d78;
  --text: #10253a;
  --text-soft: #4d6377;
  --line: #d9e8f5;
  --shadow-soft: 0 10px 28px rgba(3, 30, 49, 0.09);
  --shadow-deep: 0 20px 45px rgba(3, 30, 49, 0.12);
  --shadow-luxe: 0 22px 56px rgba(3, 30, 49, 0.18);
  --shell-max: 1597px;
  --radius: 18px;
  --topbar-h: 68px;
  --stage-progress-h: 0px;
  --anchor-offset: calc(var(--topbar-h) + var(--stage-progress-h) + 24px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 650px at 8% -12%, #1f88cc 0%, transparent 60%),
    radial-gradient(980px 560px at 102% 8%, #0e5f8f 0%, transparent 58%),
    linear-gradient(160deg, #eaf2f9 0%, #f5f9fc 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(#1f679d 0.45px, transparent 0.45px);
  background-size: 10px 10px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 90;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f2fbff;
  color: #08314e;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #b8dcf3;
  box-shadow: 0 10px 24px rgba(6, 48, 76, 0.18);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(125deg, rgba(7, 30, 47, 0.94) 0%, rgba(8, 43, 67, 0.92) 52%, rgba(9, 62, 95, 0.9) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(190, 227, 252, 0.2);
  box-shadow: 0 12px 30px rgba(6, 32, 51, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 12px var(--space-4);
  min-height: var(--topbar-h);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  box-shadow:
    0 0 0 7px rgba(83, 182, 243, 0.15),
    0 8px 16px rgba(18, 74, 113, 0.24);
}

.brand-kicker {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd9ff;
}

.brand h1 {
  margin: 2px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.quick-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(177, 224, 252, 0.28);
  background: rgba(6, 28, 44, 0.26);
  box-shadow: inset 0 1px 0 rgba(229, 245, 255, 0.12);
}

.quick-nav::-webkit-scrollbar {
  height: 0;
}

.quick-nav a {
  color: #d5ecff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.quick-nav a:hover {
  background: rgba(231, 246, 255, 0.17);
  border-color: rgba(173, 221, 250, 0.36);
}

.quick-nav a[aria-current="page"] {
  color: #08314e;
  background: linear-gradient(180deg, #ecf8ff, #d7eefc);
  border-color: rgba(167, 210, 236, 0.9);
  box-shadow: 0 7px 14px rgba(6, 48, 76, 0.22);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(33, 153, 232, 0.35);
  outline-offset: 2px;
}

.stage-progress {
  position: sticky;
  top: var(--topbar-h);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--space-4);
  background: rgba(245, 251, 255, 0.92);
  border-bottom: 1px solid #cfe2f1;
  backdrop-filter: blur(8px);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.stage-link {
  text-decoration: none;
  color: #28506f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.stage-link:hover {
  background: #eaf5fe;
  border-color: #c7e2f6;
}

.stage-link.active {
  color: #0a3d63;
  border-color: #9fd0ef;
  background: linear-gradient(180deg, #eef8ff, #dff0fd);
}

main.phi-main {
  max-width: var(--shell-max);
  margin: var(--space-4) auto var(--space-6);
  padding: 0 var(--space-4);
  display: grid;
  gap: var(--space-4);
}

.card,
.panel {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid #d3e6f4;
  box-shadow: var(--shadow-luxe);
}

.ui-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ui-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: linear-gradient(145deg, #0d3550 0%, #11486d 50%, #0d2f48 100%);
  color: #edf8ff;
  position: relative;
  overflow: hidden;
  border-color: rgba(156, 209, 243, 0.42);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  bottom: -280px;
  border-radius: 100%;
  background: rgba(87, 184, 242, 0.2);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 220px;
  top: -70px;
  left: -120px;
  border-radius: 120px;
  background: linear-gradient(120deg, rgba(128, 205, 251, 0.25), rgba(127, 206, 251, 0));
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: #7bceff;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
}

.hero h2 {
  margin: var(--space-1) 0 var(--space-2);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 2.25rem);
  line-height: 1.16;
  max-width: 20ch;
  text-wrap: balance;
}

.hero p {
  margin: 0;
  color: #d3ebfb;
  line-height: 1.64;
  max-width: 70ch;
}

.hero-actions {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn {
  border-radius: 12px;
  padding: 11px 19px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #04243a;
  background: linear-gradient(135deg, #a9deff, #52b7ee);
  box-shadow:
    0 10px 22px rgba(24, 132, 196, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-ghost {
  color: #d9f1ff;
  border: 1px solid rgba(204, 236, 255, 0.35);
  background: rgba(204, 236, 255, 0.08);
}

.hero-rail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-3);
}

.hero-gauges {
  display: grid;
  gap: var(--space-2);
}

.gauge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(177, 224, 252, 0.32);
  border-radius: 14px;
  padding: var(--space-2);
  display: grid;
  gap: 6px;
  text-align: center;
}

.gauge-value {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f2ffff;
}

.gauge-label {
  color: #c0e3f8;
  font-size: 0.75rem;
}

.hero-note {
  margin: 0;
  border: 1px solid rgba(186, 226, 250, 0.28);
  border-radius: 14px;
  padding: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  color: #ddf1ff;
  font-size: 0.82rem;
  line-height: 1.5;
}

.panel {
  padding: 42px 38px;
  box-shadow: var(--shadow-soft);
}

.panel-dominant {
  border-color: #c3ddf1;
}

.panel-support {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.panel h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: #113456;
  font-size: 1.2rem;
  text-wrap: balance;
}

.panel h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2199e8, rgba(33, 153, 232, 0.12));
}

.panel-head p,
.muted {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 62ch;
}

.section-benefit {
  margin: 0 0 var(--space-3);
  padding: 10px 12px;
  border: 1px solid #d6e8f5;
  border-radius: 10px;
  background: #f8fcff;
  color: #18425f;
  font-size: 0.8rem;
  line-height: 1.5;
}

.section-benefit-sub {
  margin-bottom: var(--space-2);
}

.section-summary-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) 1fr;
  gap: 16px;
  align-items: start;
  margin: 0 0 var(--space-3);
  padding: 18px;
  border: 1px solid rgba(202, 225, 241, 0.95);
  border-radius: 22px;
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 253, 0.96));
  box-shadow: 0 18px 40px rgba(14, 60, 92, 0.08);
}

.section-summary-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d678f;
}

.section-summary-head p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #4b677f;
}

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

.section-summary-card {
  border: 1px solid rgba(206, 227, 241, 0.95);
  border-radius: 18px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.section-summary-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #69849b;
}

.section-summary-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  line-height: 1.18;
  color: #123f61;
}

.section-summary-card p {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #4d687e;
}

.insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: start;
}

.insight-card {
  border: 1px solid #d7e7f4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.insight-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  color: #12395a;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr 1fr;
  gap: var(--space-2);
}

.kpi-card {
  border: 1px solid #d7e7f4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  padding: var(--space-2);
}

.kpi-card:first-child {
  grid-row: span 2;
  padding: var(--space-3);
  border-color: #c2dbef;
  background: linear-gradient(155deg, #f8fcff, #edf7ff);
}

.kpi-card h4 {
  margin: 0 0 7px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4c6e8e;
}

.kpi-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kpi-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 1px solid #cbe0ef;
  color: #3a607b;
  background: #ecf5fc;
}

.kpi-source-market_brew {
  border-color: #b7d8ee;
  color: #114b75;
  background: #e4f3fd;
}

.kpi-source-audit {
  border-color: #cbd9eb;
  color: #31536f;
  background: #eef3f8;
}

.kpi-source-onboarding {
  border-color: #c8dfd5;
  color: #1f5b43;
  background: #eaf8f1;
}

.kpi-value {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f3352;
  overflow-wrap: anywhere;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.kpi-card:first-child .kpi-value {
  font-size: clamp(1.5rem, 1.8vw, 2rem);
}

.kpi-value-text {
  font-size: 0.97rem;
  letter-spacing: 0;
}

.kpi-meta {
  font-size: 0.77rem;
  color: #617a94;
  margin-top: 9px;
  line-height: 1.45;
}

.decision-strip-wrap {
  margin-top: var(--space-3);
}

.decision-strip-wrap h4 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  color: #123e61;
}

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

.decision-item {
  border: 1px solid #d5e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px 11px;
  display: grid;
  gap: 7px;
}

.decision-item p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.46;
  color: #1a425f;
}

.decision-rank {
  width: fit-content;
  font-size: 0.66rem;
  font-weight: 700;
  color: #0f4a73;
  background: #ddeffb;
  border-radius: 999px;
  padding: 3px 7px;
}

.impact-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--space-3);
}

.impact-outcome-card {
  border: 1px solid #d7e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 11px 12px;
}

.impact-outcome-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  color: #133f62;
}

.impact-outcome-share {
  margin: 7px 0 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0e4c77;
}

.impact-outcome-desc {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.45;
  color: #2f5877;
}

.demand-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--space-3);
}

.demand-summary-card {
  border: 1px solid #d7e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 11px 12px;
}

.demand-summary-card h4 {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #55738c;
}

.demand-summary-value {
  margin-top: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #103c5f;
  font-variant-numeric: tabular-nums;
}

.demand-summary-card p {
  margin: 7px 0 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #4a6780;
}

.demand-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--space-3);
}

.demand-goal-card {
  border: 1px solid #d7e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 11px 12px;
}

.demand-goal-card h4 {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #55738c;
}

.demand-goal-value {
  margin-top: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #103c5f;
  font-variant-numeric: tabular-nums;
}

.demand-goal-card p {
  margin: 7px 0 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #4a6780;
}

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

.demand-card {
  border: 1px solid #d5e6f3;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  display: grid;
  gap: 9px;
}

.demand-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.demand-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #cfe3f2;
  background: #edf7fd;
  color: #174d75;
  font-size: 0.68rem;
  font-weight: 700;
}

.demand-card h4 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.34;
  color: #133f62;
}

.demand-rank {
  flex: 0 0 auto;
  font-size: 0.64rem;
  font-weight: 700;
  color: #0f4a73;
  background: #dceefa;
  border-radius: 999px;
  padding: 3px 7px;
}

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

.demand-metrics div {
  border: 1px solid #e0ecf6;
  border-radius: 9px;
  padding: 6px 8px;
  background: #fbfdff;
}

.demand-metrics dt {
  margin: 0 0 3px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5e7c95;
}

.demand-metrics dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #194a6b;
}

.demand-action {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.46;
  color: #355b77;
}

.demand-insight-row {
  margin-top: var(--space-3);
}

.demand-alignment-grid {
  display: grid;
  gap: 8px;
}

.demand-alignment-card {
  border: 1px solid #d8e8f4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 9px 10px;
}

.demand-alignment-card h5 {
  margin: 0 0 5px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #54728c;
}

.demand-alignment-signal {
  margin: 0 0 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #134d75;
}

.demand-alignment-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #2c5472;
}

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

.key-page-card {
  border: 1px solid #d8e8f4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 9px 10px;
}

.key-page-card h5 {
  margin: 0;
  font-size: 0.8rem;
  color: #123f61;
}

.key-page-volume {
  margin: 5px 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f4d78;
}

.key-page-card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #345b77;
}

.bars {
  display: grid;
  gap: 11px;
  margin-top: 2px;
}

.bar-row {
  display: grid;
  gap: 5px;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-1);
  font-size: 0.79rem;
  color: #2d4963;
}

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

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f83c3, #47b8ed);
}

.impact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.impact-list li {
  border: 1px solid #d9e8f3;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #183b58;
  background: #fbfdff;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.workstream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.task-card {
  border: 1px solid #d5e6f3;
  border-radius: 14px;
  padding: var(--space-2);
  background: linear-gradient(180deg, #fff, #f7fbff);
  display: grid;
  gap: 8px;
}

.task-card-lead {
  grid-column: span 2;
  padding: var(--space-3);
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(88, 184, 242, 0.14), transparent 60%),
    linear-gradient(165deg, #ffffff, #edf7ff);
  border-color: #b9daee;
}

.task-rank {
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0e3e62;
  background: #d9effd;
}

.task-card h4 {
  margin: 0;
  font-size: 0.94rem;
  color: #132f48;
  line-height: 1.38;
}

.task-outcome {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #2f5270;
}

.task-pts {
  font-family: "Sora", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: #0d456e;
  font-variant-numeric: tabular-nums;
}

.task-priority-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-priority-signals span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #cfe3f2;
  background: #edf7fd;
  color: #174d75;
  font-size: 0.7rem;
  font-weight: 700;
}

.task-share {
  font-size: 0.77rem;
  color: #56718a;
  line-height: 1.45;
}

.task-meta-list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.task-meta-list div {
  border: 1px solid #deebf6;
  border-radius: 10px;
  padding: 7px 8px;
  background: #fbfdff;
}

.task-meta-list dt {
  margin: 0 0 4px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5a7791;
}

.task-meta-list dd {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.44;
  color: #1f4766;
}

.task-meter {
  height: 8px;
  background: #e8f3fb;
  border-radius: 999px;
  overflow: hidden;
}

.task-meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2199e8, #0c4d78);
}

.sales-main {
  gap: var(--space-4);
}

.sales-hero {
  grid-template-columns: 1.35fr 1fr;
}

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

.sales-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: var(--space-3);
}

.sales-kpi-card {
  border: 1px solid #d7e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 11px 12px;
}

.sales-kpi-card h4 {
  margin: 0;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #55738c;
}

.sales-kpi-value {
  margin-top: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #103c5f;
  font-variant-numeric: tabular-nums;
}

.sales-kpi-text {
  font-size: 0.95rem;
  line-height: 1.3;
}

.sales-kpi-card p {
  margin: 7px 0 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #4a6780;
}

.sales-table-wrap {
  border: 1px solid #d5e6f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fcfeff);
  overflow: auto;
  box-shadow: inset 0 1px 0 #f8fcff;
}

.sales-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.sales-table th,
.sales-table td {
  border-bottom: 1px solid #e0ecf6;
  padding: 10px 11px;
  text-align: left;
  vertical-align: top;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #224760;
}

.sales-table th {
  position: sticky;
  top: 0;
  background: #f2f8fd;
  color: #315f7c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.67rem;
  z-index: 1;
}

.sales-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #cfe3f2;
  background: #edf7fd;
  color: #174d75;
  font-size: 0.68rem;
  font-weight: 700;
}

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

.sales-factor-card {
  border: 1px solid #d7e7f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 11px 12px;
}

.sales-factor-card h4 {
  margin: 0 0 7px;
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  color: #123f61;
}

.sales-factor-card p {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #315876;
}

.execution-kpi-grid {
  margin-bottom: var(--space-3);
}

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

.execution-column {
  border: 1px solid #d5e6f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.execution-column-now {
  border-top: 4px solid #2199e8;
}

.execution-column-launch {
  border-top: 4px solid #0c4d78;
}

.execution-column h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.93rem;
  color: #113b5d;
}

.execution-column > p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #335978;
}

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

.execution-item {
  border: 1px solid #dce9f4;
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px 11px;
  display: grid;
  gap: 8px;
}

.execution-item h5 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  color: #123f61;
}

.execution-item p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.48;
  color: #355a77;
}

.execution-item strong {
  color: #173e5a;
}

.execution-meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.execution-meta div {
  border: 1px solid #dfeaf5;
  border-radius: 9px;
  padding: 6px 8px;
  background: #ffffff;
}

.execution-meta dt {
  margin: 0 0 2px;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5c7891;
}

.execution-meta dd {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #214a67;
}

.execution-factor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.execution-factor-chips span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #cfe3f2;
  background: #edf7fd;
  color: #174d75;
  font-size: 0.66rem;
  font-weight: 700;
}

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

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

.prediction-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 18px;
  margin-bottom: var(--space-3);
}

.prediction-focus-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(136, 186, 221, 0.46);
  border-radius: 26px;
  padding: 24px;
  background:
    radial-gradient(560px 280px at 100% 0%, rgba(33, 153, 232, 0.2), transparent 56%),
    radial-gradient(360px 180px at 0% 100%, rgba(12, 77, 120, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.94));
  box-shadow: 0 28px 70px rgba(10, 59, 93, 0.16);
}

.prediction-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%, rgba(18, 63, 97, 0.05));
  pointer-events: none;
}

.prediction-focus-card > * {
  position: relative;
  z-index: 1;
}

.prediction-overview-grid-compact .prediction-focus-card {
  padding: 22px;
}

.prediction-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a648e;
}

.prediction-focus-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  color: #102f4d;
}

.prediction-focus-card p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #365872;
}

.prediction-focus-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prediction-focus-metrics div {
  border: 1px solid rgba(180, 214, 238, 0.65);
  border-radius: 18px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.prediction-focus-metrics span,
.prediction-stat-label,
.forecast-card-label,
.prediction-note-pill span,
.prediction-impact-metrics span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #638098;
}

.prediction-focus-metrics strong,
.prediction-stat-card strong,
.prediction-impact-metrics strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  line-height: 1.1;
  color: #123f61;
}

.prediction-summary-grid {
  display: grid;
  gap: 12px;
  align-content: start;
}

.prediction-stat-card {
  border: 1px solid rgba(197, 218, 235, 0.85);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 253, 0.95));
  box-shadow: 0 18px 40px rgba(16, 61, 94, 0.08);
}

.prediction-stat-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #48657d;
}

.prediction-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 18px;
  margin-bottom: var(--space-3);
}

.forecast-trajectory-card,
.prediction-model-card,
.prediction-impact-card {
  border: 1px solid rgba(197, 218, 235, 0.9);
  border-radius: 24px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 253, 0.96));
  padding: 20px;
  box-shadow: 0 22px 54px rgba(16, 61, 94, 0.1);
}

.forecast-trajectory-head,
.prediction-model-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.forecast-trajectory-head h4,
.prediction-model-head h4 {
  margin: 0 0 7px;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  color: #113759;
}

.forecast-trajectory-head p,
.prediction-model-head p {
  margin: 0;
  color: #48667f;
  font-size: 0.84rem;
  line-height: 1.58;
}

.prediction-confidence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(164, 204, 229, 0.9);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1b658f;
}

.forecast-trajectory-legend {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.74rem;
  color: #365c78;
}

.forecast-trajectory-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(244, 249, 253, 0.88);
  border: 1px solid rgba(214, 231, 243, 0.9);
}

.forecast-trajectory-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.dot-current {
  background: #0c4d78;
}

.dot-current-site-fixes {
  background: #5f748d;
}

.dot-migration-build {
  background: #2199e8;
}

.dot-full-rollout {
  background: #187548;
}

.forecast-trajectory-chart {
  margin-top: 14px;
  width: 100%;
  overflow-x: auto;
}

.trajectory-svg {
  width: 100%;
  min-width: 980px;
  height: auto;
  display: block;
}

.traj-y-label,
.traj-x-label,
.traj-caption,
.traj-region-label,
.traj-end-label {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.traj-y-label,
.traj-x-label {
  font-size: 11px;
  fill: #587995;
}

.traj-caption {
  font-size: 11px;
  fill: #355b77;
  font-weight: 700;
}

.traj-region-label {
  font-size: 11px;
  fill: #4d6f8a;
  font-weight: 600;
}

.traj-end-label {
  font-size: 11px;
  fill: #6d879d;
}

.traj-end-label-active {
  fill: #123f61;
  font-weight: 700;
}

.scenario-line-current-site-fixes {
  stroke: #60758d;
}

.scenario-line-migration-build {
  stroke: #2199e8;
}

.scenario-line-full-rollout {
  stroke: #187548;
}

.scenario-dot-current-site-fixes {
  fill: #60758d;
  stroke: #ffffff;
  stroke-width: 2;
}

.scenario-dot-migration-build {
  fill: #2199e8;
  stroke: #ffffff;
  stroke-width: 2;
}

.scenario-dot-full-rollout {
  fill: #187548;
  stroke: #ffffff;
  stroke-width: 2;
}

.prediction-chart-notes,
.prediction-formula,
.prediction-impact-metrics {
  display: grid;
  gap: 12px;
}

.prediction-chart-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.prediction-note-pill,
.prediction-formula-cell,
.prediction-driver-card,
.prediction-impact-metrics div,
.prediction-impact-list article,
.forecast-metrics div,
.forecast-highlight {
  border: 1px solid rgba(205, 227, 241, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.prediction-note-pill,
.prediction-formula-cell,
.prediction-impact-metrics div,
.prediction-impact-list article {
  border-radius: 18px;
  padding: 14px 16px;
}

.prediction-note-pill strong,
.prediction-formula-cell strong,
.forecast-highlight strong {
  font-family: "Sora", sans-serif;
  color: #123f61;
}

.prediction-note-pill strong {
  display: block;
  font-size: 1rem;
}

.prediction-note-pill-accent {
  background:
    radial-gradient(180px 80px at 100% 0%, rgba(33, 153, 232, 0.15), transparent 60%),
    rgba(255, 255, 255, 0.88);
}

.prediction-formula {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.prediction-formula-cell span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #67839b;
}

.prediction-formula-cell strong {
  display: block;
  font-size: 1.32rem;
  line-height: 1.08;
}

.prediction-formula-cell p {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #48657d;
}

.prediction-formula-cell-accent {
  background:
    radial-gradient(200px 90px at 100% 0%, rgba(33, 153, 232, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.92);
}

.prediction-driver-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.prediction-driver-card {
  border-radius: 18px;
  padding: 14px 16px;
}

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

.prediction-driver-head h5 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  color: #103d5f;
}

.prediction-driver-head p,
.prediction-driver-meta {
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #5a758d;
}

.prediction-driver-head span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a648e;
}

.prediction-driver-bar {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(201, 225, 241, 0.72);
  overflow: hidden;
}

.prediction-driver-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2199e8, #0c4d78);
}

.prediction-scenario-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.prediction-chip {
  appearance: none;
  border: 1px solid rgba(193, 218, 236, 0.9);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.74);
  color: #244a66;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.prediction-chip span {
  font-size: 0.8rem;
  font-weight: 700;
}

.prediction-chip small {
  font-size: 0.72rem;
  color: #66839b;
}

.prediction-chip:hover,
.prediction-chip.is-active {
  transform: translateY(-1px);
  border-color: #8fc8eb;
  background: rgba(238, 248, 255, 0.92);
  box-shadow: 0 12px 26px rgba(16, 61, 94, 0.1);
}

.forecast-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 1px solid rgba(198, 221, 238, 0.95);
  border-radius: 24px;
  background:
    radial-gradient(240px 110px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 253, 0.98));
  padding: 18px;
  display: grid;
  gap: 14px;
  box-shadow: 0 22px 46px rgba(13, 58, 90, 0.1);
  cursor: default;
}

button.forecast-card {
  cursor: pointer;
}

.forecast-card-band {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #7f98ad, #4b6077);
}

.forecast-card-current-site-fixes .forecast-card-band {
  background: linear-gradient(180deg, #7b8da3, #51657e);
}

.forecast-card-migration-build .forecast-card-band {
  background: linear-gradient(180deg, #48b2f4, #1c79c1);
}

.forecast-card-full-rollout .forecast-card-band {
  background: linear-gradient(180deg, #31a666, #136a41);
}

.forecast-card.is-active {
  transform: translateY(-3px);
  border-color: #95cdec;
  box-shadow: 0 28px 62px rgba(13, 58, 90, 0.16);
}

.forecast-card.is-active .forecast-highlight {
  background:
    radial-gradient(200px 90px at 100% 0%, rgba(33, 153, 232, 0.15), transparent 62%),
    rgba(255, 255, 255, 0.94);
}

.sales-kpi-card,
.sales-factor-card,
.forecast-card,
.execution-item,
.demand-card,
.impact-outcome-card,
.insight-card,
.task-card,
.workstream-card,
.detail-block,
.slide-item {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sales-kpi-card:hover,
.sales-factor-card:hover,
.forecast-card:hover,
.execution-item:hover,
.demand-card:hover,
.impact-outcome-card:hover,
.insight-card:hover,
.task-card:hover,
.workstream-card:hover,
.detail-block:hover,
.slide-item:hover {
  transform: translateY(-2px);
  border-color: #b7d8ee;
  box-shadow: 0 18px 34px rgba(12, 60, 92, 0.12);
}

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

.forecast-head h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: #123f61;
}

.forecast-tag {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #3f607b;
  background: #ebf4fb;
  border: 1px solid #cde1f0;
  border-radius: 999px;
  padding: 4px 8px;
}

.forecast-scope {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #365b76;
}

.forecast-highlight {
  border-radius: 18px;
  padding: 15px 16px;
}

.forecast-highlight strong {
  display: block;
  font-size: 1.95rem;
  line-height: 1.05;
}

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

.forecast-metrics div {
  border-radius: 14px;
  padding: 10px 11px;
}

.forecast-metrics dt {
  margin: 0 0 4px;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5d7a93;
}

.forecast-metrics dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a4a6a;
}

.forecast-example-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #48667f;
  font-size: 0.79rem;
  line-height: 1.5;
}

.prediction-evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.forecast-assumptions {
  border: 1px solid rgba(208, 227, 241, 0.95);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 253, 0.96));
  padding: 18px 20px;
}

.forecast-assumptions h4,
.prediction-impact-card h4 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  color: #123f61;
}

.forecast-assumptions ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.forecast-assumptions li {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #315876;
}

.prediction-impact-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

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

.prediction-impact-list h5 {
  margin: 0 0 6px;
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  color: #103d5f;
}

.prediction-impact-list p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.58;
  color: #4f697f;
}

.forecast-disclaimer {
  margin: var(--space-2) 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #56738c;
}

.workstream-card {
  border: 1px solid #d4e4f0;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff, #f3f8fc);
  padding: var(--space-2);
}

.workstream-card h4 {
  margin: 0 0 7px;
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  color: #113759;
}

.workstream-card p {
  margin: 0;
  color: #4e657d;
  font-size: 0.81rem;
  line-height: 1.52;
}

.workstream-deps {
  margin-top: 10px;
  border: 1px solid #dce9f4;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fbfdff;
}

.workstream-deps h5 {
  margin: 0 0 6px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5b7891;
}

.workstream-deps ul {
  margin: 0;
  padding-left: 15px;
  display: grid;
  gap: 4px;
}

.workstream-deps li {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #274b67;
}

.factor-chips {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.factor-chips span {
  background: #e8f4fc;
  border: 1px solid #c9e4f8;
  color: #124d77;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.7rem;
  line-height: 1.3;
}

.deck-shell {
  border: 1px solid #cde0ee;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6fbff 0%, #edf6fd 100%);
  overflow: hidden;
}

.deck-toolbar {
  padding: var(--space-2);
  border-bottom: 1px solid #cfe2f0;
  background: linear-gradient(180deg, #f8fcff 0%, #eef7fe 100%);
}

.deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.deck-actions .btn {
  width: auto;
  text-align: center;
}

#evidence .btn-ghost {
  color: #16415f;
  border-color: #bfd8ea;
  background: #eff7fd;
}

.deck-embed-wrap {
  background: #ecf4fb;
}

.deck-embed-wrap iframe {
  width: 100%;
  height: min(76vh, 860px);
  border: 0;
  display: block;
}

.explorer-wrap {
  padding-bottom: var(--space-4);
}

.explorer-mobile-controls {
  display: none;
}

.explorer-status-bar {
  margin-bottom: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(208, 227, 240, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(240, 248, 253, 0.96));
}

.explorer-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(195, 219, 236, 0.92);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  color: #184866;
  letter-spacing: 0.02em;
}

.explorer-status-pill-subtle {
  color: #49677f;
}

.explorer-status-copy {
  flex: 1 1 260px;
  min-width: 0;
  color: #4a677e;
  font-size: 0.8rem;
  line-height: 1.55;
}

.explorer-toolbar {
  margin-bottom: var(--space-3);
  padding: var(--space-2);
  display: grid;
  grid-template-columns: 1.618fr 1fr 1fr;
  gap: var(--space-2);
}

.explorer-toolbar label {
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  color: #4e6981;
}

.explorer-toolbar input,
.explorer-toolbar select {
  width: 100%;
  border: 1px solid #cde0ef;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  color: #143b5b;
  background: #fff;
}

.explorer-toolbar input::placeholder {
  color: #7d95ab;
}

.explorer-grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--space-2);
}

.slide-list-card,
.slide-detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.98));
  padding: var(--space-2);
}

.slide-list-card,
.slide-detail-card {
  position: sticky;
  top: calc(var(--anchor-offset) - 10px);
}

.slide-list-card h4,
.slide-detail-card h4 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  color: #133f62;
}

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

.slide-card-head .muted {
  margin: 4px 0 0;
  font-size: 0.74rem;
  line-height: 1.48;
}

.explorer-head-btn {
  display: none;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(191, 219, 238, 0.92);
  border-radius: 999px;
  background: rgba(243, 250, 255, 0.92);
  color: #14415f;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.explorer-head-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #97cceb;
  box-shadow: 0 12px 24px rgba(11, 58, 88, 0.1);
}

.explorer-head-btn:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.slide-list {
  margin-top: var(--space-2);
  max-height: 68vh;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 4px;
}

.slide-item {
  border: 1px solid #d8e8f4;
  border-radius: 12px;
  padding: 11px;
  cursor: pointer;
  background: #fff;
  width: 100%;
  text-align: left;
  font: inherit;
  appearance: none;
  display: grid;
  gap: 8px;
  transition: border 0.2s ease, transform 0.2s ease;
}

.slide-item:hover {
  transform: translateY(-1px);
  border-color: #9fcae7;
}

.slide-item.active {
  border-color: #4aa7dc;
  box-shadow: inset 0 0 0 1px #4aa7dc;
  background: #f3fbff;
}

.slide-item .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #628099;
  margin-bottom: 5px;
}

.slide-item .title {
  font-size: 0.86rem;
  color: #173956;
  line-height: 1.42;
}

.slide-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.slide-item-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf7fd;
  border: 1px solid #d5e7f4;
  color: #40637c;
  font-size: 0.67rem;
  font-weight: 700;
}

.slide-item-preview {
  margin: 0;
  color: #4f6b82;
  font-size: 0.76rem;
  line-height: 1.55;
}

.slide-detail-card {
  max-height: 68vh;
  overflow: auto;
}

.detail-kicker {
  margin: 0;
  color: #5a7690;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-title {
  margin: 5px 0 11px;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: #12395a;
}

.detail-grid {
  display: grid;
  gap: 10px;
}

.detail-block {
  border: 1px solid #d9e8f4;
  border-radius: 12px;
  padding: 11px;
  background: #fbfdff;
}

.detail-block h5 {
  margin: 0 0 5px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #54708a;
}

.detail-block p,
.detail-block li {
  margin: 0;
  color: #183b58;
  font-size: 0.84rem;
  line-height: 1.56;
}

.detail-block ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 5px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.detail-tags span {
  background: #e8f4fd;
  border: 1px solid #c7e2f7;
  color: #195782;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.69rem;
}

.footer {
  margin: 0 auto var(--space-4);
  max-width: var(--shell-max);
  padding: 0 var(--space-4);
  color: #37546f;
  font-size: 0.77rem;
}

.portal-body,
.strategy-body {
  background:
    radial-gradient(1200px 620px at 8% -10%, rgba(73, 171, 234, 0.18), transparent 58%),
    radial-gradient(980px 520px at 104% 10%, rgba(12, 77, 120, 0.14), transparent 56%),
    linear-gradient(180deg, #f3f8fc 0%, #eef4f8 48%, #f7fafc 100%);
}

.portal-body .phi-main,
.strategy-body .sales-main {
  gap: 40px;
  margin-top: 30px;
}

.portal-body .hero,
.strategy-body .sales-hero {
  border-radius: 32px;
  padding: 56px 52px;
  border-color: rgba(177, 219, 244, 0.34);
  box-shadow: 0 36px 86px rgba(7, 40, 63, 0.18);
}

.portal-body .hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.strategy-body .sales-hero {
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
}

.portal-body .hero::after,
.strategy-body .sales-hero::after {
  width: 560px;
  height: 560px;
  right: -120px;
  bottom: -260px;
  background: rgba(93, 191, 247, 0.16);
}

.portal-body .hero::before,
.strategy-body .sales-hero::before {
  width: 620px;
  height: 260px;
  top: -84px;
  left: -120px;
  background: linear-gradient(120deg, rgba(129, 211, 255, 0.22), rgba(127, 206, 251, 0));
}

.portal-body .hero h2,
.strategy-body .sales-hero h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.portal-body .hero p,
.strategy-body .sales-hero p {
  max-width: 62ch;
  font-size: 0.98rem;
}

.portal-body .hero-gauges {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-body .gauge,
.strategy-body .sales-kpi-card {
  border-radius: 20px;
}

.portal-body .gauge {
  padding: 18px 18px 16px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portal-body .gauge-value {
  font-size: 1.9rem;
}

.portal-body .hero-note,
.strategy-body .hero-note {
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(7, 36, 57, 0.62), rgba(7, 31, 48, 0.78));
  border-color: rgba(186, 226, 250, 0.22);
  font-size: 0.88rem;
}

.portal-body .stage-progress {
  top: calc(var(--topbar-h) + 10px);
  width: min(calc(100% - 36px), calc(var(--shell-max) - 12px));
  margin: 10px auto 0;
  padding: 11px 16px;
  border-radius: 18px;
  border: 1px solid rgba(191, 220, 239, 0.86);
  background: rgba(248, 252, 255, 0.84);
  box-shadow: 0 18px 34px rgba(10, 58, 89, 0.1);
  backdrop-filter: blur(14px);
}

.portal-body .stage-link {
  padding: 7px 12px;
}

.portal-body .panel,
.strategy-body .panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 46px 42px;
  border-color: rgba(205, 224, 238, 0.92);
  background:
    radial-gradient(340px 140px at 100% 0%, rgba(33, 153, 232, 0.06), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.96));
  box-shadow: 0 28px 74px rgba(9, 54, 83, 0.1);
}

.portal-body .panel::before,
.strategy-body .panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(150, 202, 236, 0.18), rgba(150, 202, 236, 0.74), rgba(150, 202, 236, 0.18));
}

.portal-body .panel-head,
.strategy-body .panel-head {
  margin-bottom: 26px;
  gap: 18px;
}

.portal-body .panel h3,
.strategy-body .panel h3 {
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  letter-spacing: -0.02em;
}

.portal-body .panel-head p,
.strategy-body .panel-head p {
  font-size: 0.9rem;
  max-width: 56ch;
}

.portal-body .section-benefit,
.strategy-body .section-benefit {
  padding: 13px 15px;
  border-radius: 16px;
  border-color: rgba(204, 225, 239, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 249, 253, 0.94));
}

.portal-body .section-summary-shell,
.strategy-body .section-summary-shell {
  padding: 24px;
  border-radius: 26px;
  gap: 18px;
  background:
    radial-gradient(300px 120px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 253, 0.98));
  box-shadow: 0 20px 48px rgba(10, 58, 89, 0.08);
}

.portal-body .section-summary-card,
.strategy-body .section-summary-card {
  border-radius: 20px;
  padding: 16px 17px;
}

.portal-body .section-summary-card strong,
.strategy-body .section-summary-card strong {
  font-size: 1.16rem;
}

.portal-body .kpi-grid,
.portal-body .impact-outcome-grid,
.portal-body .task-grid,
.portal-body .workstream-grid,
.portal-body .insight-row,
.strategy-body .sales-kpi-grid,
.strategy-body .sales-factor-grid,
.strategy-body .execution-layer-grid,
.strategy-body .prediction-overview-grid,
.strategy-body .prediction-stage-grid,
.strategy-body .prediction-evidence-grid,
.strategy-body .sales-forecast-grid {
  gap: 16px;
}

.portal-body .kpi-card,
.portal-body .impact-outcome-card,
.portal-body .insight-card,
.portal-body .task-card,
.portal-body .workstream-card,
.portal-body .demand-card,
.strategy-body .sales-kpi-card,
.strategy-body .sales-factor-card,
.strategy-body .execution-column,
.strategy-body .execution-item,
.strategy-body .forecast-card,
.strategy-body .forecast-assumptions,
.strategy-body .prediction-impact-card,
.strategy-body .prediction-model-card,
.strategy-body .forecast-trajectory-card {
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(12, 60, 92, 0.08);
}

.portal-body .kpi-card,
.portal-body .impact-outcome-card,
.portal-body .insight-card,
.portal-body .task-card,
.portal-body .workstream-card,
.portal-body .demand-card,
.strategy-body .sales-kpi-card,
.strategy-body .sales-factor-card,
.strategy-body .execution-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.92));
}

.portal-body .kpi-card {
  padding: 18px;
}

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

.portal-body .kpi-card:first-child {
  grid-row: auto;
  padding: 20px;
}

.portal-body .kpi-value {
  font-size: 1.36rem;
}

.portal-body .kpi-card:first-child .kpi-value {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

.portal-body .decision-strip-wrap {
  margin-top: 26px;
}

.portal-body .decision-item {
  border-radius: 16px;
  padding: 14px 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 253, 0.98));
}

.portal-body .task-card,
.portal-body .workstream-card {
  padding: 18px;
}

.portal-body .task-card-lead {
  padding: 26px;
}

.portal-body .task-priority-signals,
.portal-body .factor-chips {
  gap: 10px;
}

.portal-body .task-meta-list div,
.portal-body .workstream-deps,
.strategy-body .execution-meta div {
  border-radius: 14px;
}

.portal-body .deck-shell {
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(8, 48, 75, 0.14);
}

.portal-body .deck-toolbar {
  padding: 18px 20px;
}

.portal-body .deck-embed-wrap {
  padding: 14px;
  background: linear-gradient(180deg, #edf6fd 0%, #e7f1f8 100%);
}

.portal-body .deck-embed-wrap iframe {
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(11, 58, 89, 0.18);
}

.portal-body .explorer-toolbar {
  border: 1px solid rgba(203, 223, 238, 0.95);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(240px 90px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 254, 0.98));
}

.portal-body .explorer-toolbar input,
.portal-body .explorer-toolbar select {
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.96);
}

.portal-body .slide-list-card,
.portal-body .slide-detail-card {
  border-radius: 26px;
  padding: 20px;
  border: 1px solid rgba(203, 223, 238, 0.95);
  box-shadow: 0 24px 56px rgba(8, 48, 75, 0.12);
}

.portal-body .slide-item {
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.94));
}

.portal-body .slide-item.active {
  background:
    radial-gradient(220px 90px at 100% 0%, rgba(33, 153, 232, 0.1), transparent 60%),
    linear-gradient(180deg, #f6fcff, #eef7fd);
}

.portal-body .detail-block {
  border-radius: 18px;
  padding: 14px 16px;
}

.strategy-body .sales-kpi-card,
.strategy-body .sales-factor-card,
.strategy-body .execution-item,
.strategy-body .forecast-card,
.strategy-body .forecast-assumptions,
.strategy-body .prediction-impact-card,
.strategy-body .prediction-model-card,
.strategy-body .forecast-trajectory-card {
  border-color: rgba(203, 223, 238, 0.92);
}

.strategy-body .sales-kpi-card,
.strategy-body .sales-factor-card,
.strategy-body .execution-item {
  padding: 15px 16px;
}

.strategy-body .sales-table-wrap {
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(11, 58, 89, 0.1);
}

.strategy-body .sales-table th {
  background: linear-gradient(180deg, #f5fbff 0%, #ebf5fc 100%);
}

.strategy-body .sales-table tbody tr:nth-child(even) td {
  background: rgba(247, 251, 254, 0.82);
}

.strategy-body .sales-table tbody tr:hover td {
  background: rgba(236, 246, 253, 0.96);
}

.strategy-body .execution-column {
  padding: 18px;
  background:
    radial-gradient(220px 100px at 100% 0%, rgba(33, 153, 232, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.96));
}

.strategy-body .execution-item {
  padding: 14px 15px;
}

.strategy-body .execution-column-now {
  border-top-width: 5px;
}

.strategy-body .execution-column-launch {
  border-top-width: 5px;
}

.portal-body .footer,
.strategy-body .footer {
  padding-bottom: 24px;
  color: #4e6780;
}

code {
  background: #e8f2fa;
  border: 1px solid #c8deef;
  border-radius: 6px;
  padding: 2px 7px;
}

@media (max-width: 1300px) {
  main.phi-main {
    padding: 0 var(--space-3);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  .insight-row,
  .explorer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .prediction-overview-grid,
  .prediction-stage-grid,
  .prediction-evidence-grid {
    grid-template-columns: 1fr;
  }

  .prediction-summary-grid,
  .prediction-formula,
  .prediction-chart-notes,
  .prediction-impact-metrics,
  .section-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-summary-shell {
    grid-template-columns: 1fr;
  }

  .sales-hero {
    grid-template-columns: 1fr;
  }

  .execution-layer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .search-demand-grid,
  .forecast-grid {
    grid-template-columns: 1fr;
  }

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

  .decision-strip {
    grid-template-columns: 1fr;
  }

  .kpi-card:first-child {
    grid-row: auto;
  }

  .slide-list,
  .slide-detail-card {
    max-height: none;
  }

  .slide-list-card,
  .slide-detail-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .topbar {
    padding: 10px 16px;
    gap: 12px;
  }

  .brand h1 {
    font-size: 0.94rem;
  }

  .quick-nav {
    padding: 5px;
    gap: 5px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .quick-nav a {
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .stage-progress {
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    padding: 8px var(--space-2);
    scrollbar-width: none;
  }

  .portal-body .stage-progress {
    top: calc(var(--topbar-h) + 6px);
    width: calc(100% - 24px);
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .stage-link {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .explorer-mobile-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .explorer-mobile-chip {
    appearance: none;
    border: 1px solid rgba(197, 220, 237, 0.92);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #2a4f6d;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .explorer-mobile-chip.is-active {
    color: #103c5e;
    background: linear-gradient(180deg, #f1f9ff, #dff1fd);
    border-color: #9fd0ee;
    box-shadow: 0 10px 20px rgba(12, 61, 94, 0.1);
  }

  .explorer-grid {
    gap: 14px;
  }

  .explorer-head-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .explorer-wrap[data-explorer-view="list"] .explorer-toolbar,
  .explorer-wrap[data-explorer-view="list"] .slide-detail-card,
  .explorer-wrap[data-explorer-view="detail"] .explorer-toolbar,
  .explorer-wrap[data-explorer-view="detail"] .slide-list-card,
  .explorer-wrap[data-explorer-view="filters"] .slide-list-card,
  .explorer-wrap[data-explorer-view="filters"] .slide-detail-card {
    display: none;
  }

  .explorer-wrap[data-explorer-view="list"] .slide-list-card,
  .explorer-wrap[data-explorer-view="detail"] .slide-detail-card,
  .explorer-wrap[data-explorer-view="filters"] .explorer-toolbar {
    display: grid;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }

  .topbar-left {
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 4px rgba(83, 182, 243, 0.16);
  }

  .brand-kicker {
    font-size: 0.58rem;
  }

  .brand h1 {
    font-size: 0.88rem;
    line-height: 1.24;
  }

  main.phi-main {
    margin-top: var(--space-3);
    padding: 0 var(--space-2);
    gap: var(--space-3);
  }

  .panel,
  .hero {
    padding: var(--space-3);
  }

  .panel h3::after {
    margin-top: 8px;
  }

  .kpi-grid,
  .impact-outcome-grid,
  .sales-hero-grid,
  .sales-kpi-grid,
  .sales-factor-grid,
  .sales-forecast-grid,
  .prediction-summary-grid,
  .section-summary-grid,
  .demand-summary,
  .demand-goal-grid,
  .execution-meta,
  .demand-metrics,
  .search-demand-grid,
  .task-grid,
  .workstream-grid,
  .prediction-formula,
  .prediction-chart-notes,
  .prediction-impact-metrics,
  .forecast-grid,
  .explorer-toolbar {
    grid-template-columns: 1fr;
  }

  .prediction-focus-metrics,
  .forecast-metrics {
    grid-template-columns: 1fr;
  }

  .task-card-lead {
    grid-column: auto;
  }

  .footer {
    padding: 0 var(--space-2);
  }

  .explorer-status-bar {
    align-items: flex-start;
    padding: 12px;
  }

  .explorer-status-copy {
    flex-basis: 100%;
    font-size: 0.76rem;
  }

  .slide-card-head {
    flex-direction: column;
  }

  .slide-item {
    padding: 12px;
  }

  .detail-title {
    font-size: 1rem;
  }

  .detail-block {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ui-reveal,
  .ui-reveal.is-visible,
  .btn,
  .sales-kpi-card,
  .sales-factor-card,
  .forecast-card,
  .execution-item,
  .demand-card,
  .impact-outcome-card,
  .insight-card,
  .task-card,
  .workstream-card,
  .detail-block,
  .slide-item {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
