/* @requirements VR-DEC-001 VR-PLT-001 VR-PLT-002 VR-PMO-003 VR-PMO-005 VR-PMO-006 VR-PMO-011 VR-DEP-001 VR-DEP-002 VR-DEP-005 VR-DEP-006 VR-RPT-004 VR-RPT-005 VR-IT-004 VR-IT-005 VR-IAM-016
 * Requirement catalog: docs/requirements/requirements.json. Association is not acceptance evidence. */
:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #173047;
  background: #f3f6f7;
  font-synthesis: none;
  --navy-950: #03243c;
  --navy-900: #062f4f;
  --navy-800: #0a4168;
  --ink: #173047;
  --muted: #526776;
  --line: #d9e1e6;
  --surface: #ffffff;
  --surface-soft: #f6f8f8;
  --teal: #0c7c79;
  --teal-dark: #075d5b;
  --mint: #d9f0eb;
  --gold: #b37620;
  --gold-soft: #f7ead3;
  --rose: #a94a46;
  --rose-soft: #fae4e1;
  --blue-soft: #e1eef6;
  --shadow: 0 18px 50px rgba(7, 39, 61, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--surface-soft); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #53bdb2;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy-950);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(219, 229, 234, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-900);
  font: 700 23px/1 Georgia, serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.brand strong { display: block; font-size: 16px; letter-spacing: -0.3px; }
.brand small { display: block; margin-top: 3px; color: #586d7a; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.site-header nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.site-header nav a {
  color: #4e6373;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--teal-dark); }
.account { display: flex; justify-content: flex-end; align-items: center; gap: 11px; color: #4e6373; font-size: 12px; }
.account form { margin: 0; }
.secure-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #27665f;
  background: #e6f3f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.secure-chip > span:first-child { color: #2e988c; font-size: 9px; }
.account-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-button { padding: 0; border: 0; color: var(--teal-dark); background: transparent; font-weight: 700; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 86px 0; }
.eyebrow {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.eyebrow span { padding: 0 5px; color: #8ca1ad; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--navy-950); letter-spacing: -0.04em; }
h1 { max-width: 780px; margin: 18px 0 24px; font: 600 clamp(44px, 6.4vw, 78px)/0.99 Georgia, "Times New Roman", serif; }
h1 em, h2 em { color: var(--teal); font-style: italic; font-weight: 500; }
h2 { margin: 10px 0 18px; font: 600 clamp(34px, 4.2vw, 50px)/1.05 Georgia, "Times New Roman", serif; }
h3 { color: var(--navy-950); }
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 94px max(20px, calc((100vw - 1180px) / 2)) 104px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 13%, rgba(29, 144, 132, 0.29), transparent 31%),
    linear-gradient(125deg, #03243c 0%, #063858 62%, #075953 150%);
}
.hero::after {
  position: absolute;
  right: -140px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}
.hero .eyebrow { color: #71d2c7; }
.hero h1 { color: #fff; }
.hero h1 em { color: #6ed0c6; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr); align-items: end; gap: clamp(44px, 8vw, 112px); }
.lede { max-width: 720px; margin-bottom: 34px; color: #d4e1e9; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { color: #fff; background: var(--teal); }
.button.primary:hover { background: #0a6b68; }
.button.secondary { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: rgba(255, 255, 255, 0.07); }
.button.secondary:hover { background: rgba(255, 255, 255, 0.13); }
.boundary-card { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.075); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.12); backdrop-filter: blur(10px); }
.card-kicker { color: #63cbbf; font-size: 10px; font-weight: 850; letter-spacing: 1.8px; text-transform: uppercase; }
.boundary-card h2 { margin: 9px 0 14px; color: #fff; font: 600 27px/1.15 Georgia, serif; letter-spacing: -0.025em; }
.boundary-card > p { color: #c9d9e1; font-size: 13px; line-height: 1.65; }
.boundary-card dl { margin: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.boundary-card dl div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.boundary-card dt { color: #9eb7c4; font-size: 11px; }
.boundary-card dd { margin: 0; color: #fff; font-size: 12px; font-weight: 700; }
.status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: 0.5px; text-transform: uppercase; }
.status-pending { color: #754a0c; background: #f7dda8; }
.status-refinement, .status-proposed-for-refinement, .status-planning-baseline { color: #76561c; background: var(--gold-soft); }
.status-implemented-in-source, .status-source-supported { color: #28665e; background: var(--mint); }
.status-partial, .status-requested { color: #345f7b; background: var(--blue-soft); }
.status-demo-only, .status-owner-review { color: #675778; background: #eee7f4; }
.status-planned, .status-not-started, .status-planned-not-started, .status-not-published { color: #586975; background: #e8edf0; }
.status-selected-next { color: #28665e; background: var(--mint); }
.status-not-approved, .status-planning-gaps-only, .status-not-selected { color: #76561c; background: var(--gold-soft); }
.status-archived, .status-archived-provenance, .status-historical-source { color: #586975; background: #e8edf0; }
.status-conflicting, .status-source-conflict { color: #873f3b; background: var(--rose-soft); }

.program-search { position: relative; width: min(720px, 100%); margin-top: 30px; }
.program-search > label { display: block; margin-bottom: 8px; color: #8bd8cf; font-size: 10px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; }
.search-shell { position: relative; }
.search-shell input { width: 100%; min-height: 52px; padding: 12px 48px 12px 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: rgba(255,255,255,.09); }
.search-shell input::placeholder { color: #bad0da; }
.search-shell > span { position: absolute; top: 9px; right: 16px; color: #8bd8cf; font-size: 28px; }
.search-results { position: absolute; z-index: 25; top: calc(100% + 7px); right: 0; left: 0; max-height: 420px; overflow: auto; border: 1px solid #aac0ca; border-radius: 9px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.search-result { display: grid; width: 100%; grid-template-columns: 120px 100px 1fr; gap: 12px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.search-result:hover, .search-result:focus-visible, .search-result[aria-selected="true"] { background: #e3f1ef; }
.search-result-type { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.search-result strong { color: var(--navy-900); font-size: 11px; }
.search-result > span:last-child { color: var(--muted); font-size: 11px; }

.metrics {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: -28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}
.metrics article { display: flex; min-height: 128px; flex-direction: column; justify-content: center; padding: 23px 26px; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metric-value { color: var(--navy-900); font: 600 35px/1 Georgia, serif; }
.metric-label { margin-top: 8px; color: var(--ink); font-size: 12px; font-weight: 800; }
.metric-note { margin-top: 5px; color: var(--muted); font-size: 10px; }

.strategy-section { padding-bottom: 64px; }
.strategy-production-control { margin-bottom: 24px; overflow: hidden; border: 1px solid #87afa9; border-radius: 12px; background: #fff; box-shadow: 0 13px 35px rgba(7,39,61,.08); }
.strategy-production-button { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 19px 21px; border: 0; color: #fff; background: linear-gradient(118deg, var(--navy-900), #0b5d66 72%, #0d716a); text-align: left; cursor: pointer; }
.strategy-production-button:hover { background: linear-gradient(118deg, #052a47, #0a515a 72%, #0b635d); }
.strategy-production-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 11px; background: rgba(255,255,255,.09); font-size: 23px; }
.strategy-production-copy { display: grid; min-width: 0; gap: 3px; }
.strategy-production-copy small { color: #80d7cc; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.strategy-production-copy strong { overflow: hidden; color: #fff; font: 600 21px/1.2 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.strategy-production-copy > span { color: #c6dce1; font-size: 10px; }
.strategy-production-action { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.strategy-phase-rail { display: grid; grid-auto-columns: minmax(130px, 1fr); grid-auto-flow: column; overflow-x: auto; border-top: 1px solid #cad9dc; }
.strategy-phase-step { position: relative; min-width: 130px; padding: 13px 15px 14px 36px; border-right: 1px solid #dce5e7; color: #758691; background: #f7f9f9; font-size: 9px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.strategy-phase-step:last-child { border-right: 0; }
.strategy-phase-step::before { position: absolute; top: 14px; left: 15px; display: grid; width: 15px; height: 15px; place-items: center; border: 1px solid #acbbc1; border-radius: 50%; background: #fff; content: ""; }
.strategy-phase-step.is-complete { color: #346a65; background: #f1f8f6; }
.strategy-phase-step.is-complete::before { border-color: var(--teal); color: #fff; background: var(--teal); content: "✓"; font-size: 9px; }
.strategy-phase-step.is-current { color: var(--navy-950); background: #e2f1ef; }
.strategy-phase-step.is-current::before { border: 4px solid #bfe0db; background: var(--teal); }
.strategy-phase-step small { display: block; margin-top: 3px; color: #7c8e98; font-size: 8px; font-weight: 650; text-transform: none; }
.decision-boundary-accepted { border-color: #9bcfc4; background: #eef9f6; }
.decision-boundary-accepted .decision-boundary-mark { background: var(--teal); }
.decision-boundary-accepted strong { color: #205f58; }
.decision-boundary-accepted p { color: #49716d; }
.decision-boundary {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  padding: 17px 19px;
  border: 1px solid #ddc897;
  border-radius: 9px;
  background: #fff9ed;
}
.decision-boundary-critical { border-color: #dfb0ac; background: #fff2f0; }
.decision-boundary-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-weight: 900;
}
.decision-boundary-critical .decision-boundary-mark { background: var(--rose); }
.decision-boundary strong { color: #674718; font-size: 13px; }
.decision-boundary-critical strong { color: #793c39; }
.decision-boundary p { margin: 4px 0 0; color: #786746; font-size: 11px; line-height: 1.55; }
.decision-boundary-critical p { color: #795a58; }
.strategy-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: 20px; align-items: start; }
.strategy-record-column { display: grid; min-width: 0; gap: 13px; }
.strategy-brief { min-width: 0; padding: 27px; border-radius: 11px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow); }
.strategy-brief h3 { margin: 9px 0 16px; color: #fff; font: 600 27px/1.15 Georgia, serif; }
.strategy-brief > p { color: #c6d8e0; font-size: 12px; line-height: 1.65; }
.strategy-brief dl { margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.strategy-brief dl div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.strategy-brief dt { color: #9fb9c5; font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.strategy-brief dd { margin: 5px 0 0; color: #fff; font-size: 11px; font-weight: 750; line-height: 1.5; }
.strategy-brief .company-strategy-open { margin-top: 18px; border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.strategy-records { display: grid; gap: 9px; }
.strategy-record-card { min-width: 0; padding: 16px 17px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.strategy-record-card header { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.strategy-record-card h3 { margin: 10px 0 7px; font-size: 13px; line-height: 1.35; }
.strategy-record-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.strategy-record-card .record-version { color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: .6px; text-transform: uppercase; }
.company-strategy-open { padding: 0; border: 0; color: var(--navy-950); background: transparent; font-weight: 800; text-align: left; text-decoration: underline; text-decoration-color: #8bb9b5; text-underline-offset: 3px; cursor: pointer; }
.strategy-objectives { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.strategy-objective-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.strategy-objective-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.objective-id { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.strategy-objective-card h3 { margin: 15px 0 9px; font-size: 16px; line-height: 1.35; }
.strategy-objective-open, .supporting-project-open, .board-card-open { padding: 0; border: 0; color: var(--navy-950); background: transparent; font-weight: 800; text-align: left; text-decoration: underline; text-decoration-color: #8bb9b5; text-underline-offset: 3px; cursor: pointer; }
.strategy-objective-card p { margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.objective-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.strategy-framework { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 20px; }
.strategy-framework-heading { grid-column: 1 / -1; padding: 21px 23px; border-radius: 10px; color: #fff; background: linear-gradient(120deg, #0a425f, #12675f); }
.strategy-framework-heading h3 { margin: 7px 0 9px; color: #fff; font-size: 19px; }
.strategy-framework-heading p { max-width: 920px; margin: 0; color: #d6e7e7; font-size: 11px; line-height: 1.65; }
.strategy-framework-panel { min-width: 0; padding: 20px 21px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.strategy-framework-panel h3 { margin: 0 0 12px; font-size: 14px; }
.strategy-framework-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.strategy-framework-panel li { color: var(--muted); font-size: 10px; line-height: 1.55; }
.strategy-framework-panel li strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }
.strategy-horizon-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.strategy-horizon-card { min-width: 0; padding: 20px; border: 1px solid #bed5d2; border-top: 4px solid var(--teal); border-radius: 10px; background: #f7fbfa; }
.strategy-horizon-card .horizon-sequence { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.strategy-horizon-card h3 { margin: 9px 0; font-size: 15px; }
.strategy-horizon-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.strategy-horizon-card .horizon-meta { margin-top: 13px; padding-top: 11px; border-top: 1px solid #d4e2e0; color: #426d68; font-size: 9px; font-weight: 750; }

.strategy-case-bridge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 20px; padding: 18px 20px; border: 1px solid #b8cfcc; border-radius: 10px; color: var(--navy-950); background: #f3f9f8; text-decoration: none; }
.strategy-case-bridge > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; color: #fff; background: var(--teal); font-size: 19px; }
.strategy-case-bridge > span:nth-child(2) { display: grid; gap: 3px; }
.strategy-case-bridge small { color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.strategy-case-bridge strong { font-size: 14px; }
.strategy-case-bridge em { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.45; }
.strategy-case-bridge b { color: var(--teal-dark); font-size: 21px; }
.strategy-case-bridge:hover { border-color: var(--teal); background: #eaf6f3; }

/* Lean business case workspace */
.lean-cases-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #edf3f4; }
.lean-case-control { margin-bottom: 24px; overflow: hidden; border: 1px solid #a8c1c6; border-radius: 12px; background: #fff; box-shadow: 0 13px 35px rgba(7,39,61,.07); }
.lean-case-open { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 19px 21px; border: 0; color: #fff; background: linear-gradient(118deg, #173a54, #265c6e 72%, #25756e); text-align: left; cursor: pointer; }
.lean-case-open:hover { background: linear-gradient(118deg, #102f48, #1f5263 72%, #1f6761); }
.lean-case-control-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 11px; background: rgba(255,255,255,.09); font-size: 12px; font-weight: 900; letter-spacing: .5px; }
.lean-case-control-copy { display: grid; min-width: 0; gap: 3px; }
.lean-case-control-copy small { color: #8de0d6; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.lean-case-control-copy strong { overflow: hidden; color: #fff; font: 600 21px/1.2 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.lean-case-control-copy > span { color: #c9dce2; font-size: 10px; }
.lean-case-control-action { display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.lean-case-pipeline { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); overflow-x: auto; border-top: 1px solid #cad9dc; }
.lean-case-pipeline-step { position: relative; min-width: 130px; padding: 13px 15px 14px 38px; border-right: 1px solid #dce5e7; color: #526a77; background: #f8fafb; font-size: 9px; font-weight: 850; letter-spacing: .3px; text-transform: uppercase; }
.lean-case-pipeline-step:last-child { border-right: 0; }
.lean-case-pipeline-step::before { position: absolute; top: 12px; left: 14px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: #66808c; content: attr(data-count); font-size: 8px; }
.lean-case-pipeline-step.has-records { color: var(--teal-dark); background: #edf8f6; }
.lean-case-pipeline-step.has-records::before { background: var(--teal); }
.lean-case-pipeline-step small { display: block; margin-top: 3px; color: #85949c; font-size: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lean-case-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.lean-case-preview-card { min-width: 0; padding: 20px; border: 1px solid #c7d7da; border-radius: 10px; background: #fff; }
.lean-case-preview-card.is-current { border-color: #88bcb5; box-shadow: inset 4px 0 0 var(--teal); }
.lean-case-preview-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lean-case-preview-card h3 { margin: 13px 0 8px; font-size: 16px; }
.lean-case-preview-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.lean-case-preview-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lean-case-record-link { min-height: 28px; padding: 5px 8px; border: 1px solid #bcd0d0; border-radius: 999px; color: var(--teal-dark); background: #f5faf9; font-size: 8px; font-weight: 800; cursor: pointer; }
.lean-case-empty { grid-column: 1 / -1; display: grid; min-height: 210px; place-items: center; padding: 34px; border: 1px dashed #aebfc4; border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.65); text-align: center; }
.lean-case-empty strong { display: block; margin-bottom: 7px; color: var(--navy-950); font: 600 22px/1.2 Georgia, serif; }
.lean-case-empty p { max-width: 620px; margin: 0; font-size: 10px; line-height: 1.6; }
.lean-case-empty button { margin-top: 16px; border: 0; color: #fff; background: var(--teal); }
.lean-case-manager-dialog { width: min(1080px, calc(100vw - 28px)); }
.lean-case-manager-overview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(270px, .95fr); gap: 15px; }
.lean-case-summary-card { padding: 20px; border-radius: 10px; color: #fff; background: linear-gradient(130deg, var(--navy-900), #105c67); }
.lean-case-summary-card h3 { margin: 8px 0 9px; color: #fff; font: 600 22px/1.2 Georgia, serif; }
.lean-case-summary-card p { margin: 0; color: #c5d9df; font-size: 10px; line-height: 1.6; }
.lean-case-summary-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; color: #a9c7cf; font-size: 9px; }
.lean-case-summary-facts span { padding-right: 8px; border-right: 1px solid rgba(255,255,255,.18); }
.lean-case-rules { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lean-case-rules h3 { margin: 0 0 11px; font-size: 14px; }
.lean-case-rules ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lean-case-rules li { position: relative; padding-left: 17px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.lean-case-rules li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 900; }
.lean-case-record-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; color: #70818a; font-size: 8px; }
.lean-case-editor { background: #f2f8f8; }
.lean-case-editor .strategy-editor-grid { grid-template-columns: minmax(0, 1fr) 170px minmax(0, .7fr); }
.lean-case-field-wide { grid-column: 1 / -1; }
.lean-case-field-double { grid-column: span 2; }
.lean-case-editor textarea.compact { min-height: 88px; }
.lean-case-link-fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 13px; border: 1px solid #bbcccf; border-radius: 7px; background: #fff; }
.lean-case-link-fieldset legend { padding: 0 5px; color: var(--navy-950); font-size: 9px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.lean-case-link-fieldset > p { margin: 0 0 9px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.lean-case-checkboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.lean-case-checkbox { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; padding: 9px; border: 1px solid #d7e1e3; border-radius: 6px; color: var(--ink); font-size: 9px; line-height: 1.4; }
.lean-case-checkbox input { width: auto; margin-top: 1px; }
.lean-case-checkbox small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.lean-case-initiative-choice { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 8px; padding: 8px; border: 1px solid #d7e1e3; border-radius: 7px; background: #fbfcfc; }
.lean-case-initiative-choice > .lean-case-checkbox { border: 0; background: transparent; }
.lean-case-initiative-alignment { display: none; grid-template-columns: minmax(160px, .7fr) minmax(220px, 1.3fr); gap: 8px; }
.lean-case-initiative-choice:has(input[name="initiativeIds"]:checked) .lean-case-initiative-alignment { display: grid; }
.lean-case-initiative-alignment label { display: grid; gap: 5px; color: var(--navy-950); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.lean-case-initiative-alignment select, .lean-case-initiative-alignment input { width: 100%; min-width: 0; padding: 8px 9px; border: 1px solid #bdcccf; border-radius: 5px; color: var(--ink); background: #fff; font-size: 9px; font-weight: 400; text-transform: none; }
.lean-case-link-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.lean-case-waybill-section { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.lean-case-waybill-section h3 { margin: 0 0 10px; font-size: 15px; }
.lean-case-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lean-case-detail-block { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafb; }
.lean-case-detail-block h4 { margin: 0 0 7px; color: var(--navy-950); font-size: 10px; text-transform: uppercase; }
.lean-case-detail-block p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

/* Selected next sprint */
.next-sprint-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #fff; }
.next-sprint-hero { margin-bottom: 20px; }
.next-sprint-summary-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 28px 30px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, var(--navy-950), #07545b); box-shadow: var(--shadow); }
.next-sprint-summary-copy small, .next-sprint-guardrails small, .subsection-heading small { color: #73d2c7; font-size: 9px; font-weight: 850; letter-spacing: 1.3px; text-transform: uppercase; }
.next-sprint-summary-copy h3 { margin: 9px 0 10px; color: #fff; font: 600 clamp(24px, 3vw, 34px)/1.15 Georgia, serif; }
.next-sprint-summary-copy p { max-width: 780px; margin: 0; color: #c8dce2; font-size: 12px; line-height: 1.7; }
.next-sprint-summary-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.next-sprint-summary-meta span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d9e8eb; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 750; }
.next-sprint-summary-action { align-self: center; min-width: 165px; margin: 0; padding: 11px 13px; border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.next-sprint-summary-action:hover { background: rgba(255,255,255,.14); }
.next-sprint-boundary { margin-bottom: 20px; }
.next-sprint-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 18px; align-items: start; }
.next-sprint-work, .next-sprint-guardrails { min-width: 0; }
.subsection-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.subsection-heading small { color: var(--teal-dark); }
.subsection-heading h3 { margin: 6px 0 0; font-size: 19px; }
.subsection-heading > span { color: var(--muted); font-size: 10px; font-weight: 750; }
.next-sprint-sequence { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: next-sprint-work; }
.next-sprint-item { display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbfb; counter-increment: next-sprint-work; }
.next-sprint-item::before { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); content: counter(next-sprint-work); font: 700 15px/1 Georgia, serif; }
.next-sprint-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.next-sprint-item-id { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.next-sprint-item h4 { margin: 5px 0 7px; color: var(--navy-950); font-size: 14px; }
.next-sprint-item-outcome { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.next-sprint-item-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.next-sprint-item-meta span { padding: 5px 7px; border-radius: 5px; color: #46616f; background: #eaf0f2; font-size: 8px; font-weight: 750; }
.next-sprint-acceptance { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.next-sprint-acceptance strong { display: block; margin-bottom: 6px; color: var(--navy-950); font-size: 9px; text-transform: uppercase; }
.next-sprint-acceptance ul { display: grid; gap: 5px; margin: 0; padding-left: 17px; }
.next-sprint-acceptance li { color: var(--muted); font-size: 9px; line-height: 1.5; }
.next-sprint-guardrails { display: grid; gap: 11px; }
.next-sprint-guardrails section { padding: 18px 19px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.next-sprint-guardrails section:first-child { border-color: #a8ccc7; background: #f1f8f6; }
.next-sprint-guardrails small { color: var(--teal-dark); }
.next-sprint-guardrails h3 { margin: 6px 0 11px; font-size: 14px; }
.next-sprint-guardrails ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.next-sprint-guardrails li { color: var(--muted); font-size: 9px; line-height: 1.55; }
.next-sprint-guardrails li strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; }
.next-sprint-connections { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; padding: 15px 17px; border: 1px solid #bed5d2; border-radius: 9px; background: #f3f9f8; }
.next-sprint-connections .card-detail-button { min-height: 38px; margin: 0; padding: 9px 12px; background: #fff; }
.next-sprint-connections .button.secondary { min-height: 38px; padding: 9px 12px; border-color: #a9c6c3; color: var(--teal-dark); background: #fff; font-size: 10px; }
.next-sprint-connections p { flex: 1 1 340px; margin: 0 0 0 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }

/* Browser-local Decision Ledger */
.decision-ledger-control { margin-bottom: 20px; overflow: hidden; border: 1px solid #9dc8c1; border-radius: 11px; background: #eff8f6; }
.decision-ledger-open { display: grid; width: 100%; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 18px 20px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.decision-ledger-open:hover { background: #e7f4f1; }
.decision-ledger-control-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; color: #fff; background: var(--teal-dark); font: 700 13px/1 Georgia, serif; }
.decision-ledger-control-copy { min-width: 0; }
.decision-ledger-control-copy small { display: block; margin-bottom: 4px; color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.decision-ledger-control-copy strong { display: block; color: var(--navy-950); font-size: 15px; }
.decision-ledger-control-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.decision-ledger-control-action { color: var(--teal-dark); font-size: 10px; font-weight: 850; }
.decision-ledger-control > p { margin: 0; padding: 10px 20px; border-top: 1px solid #c5ddd9; color: #496a70; background: rgba(255,255,255,.48); font-size: 9px; line-height: 1.45; }
.decision-ledger-dialog { width: min(1160px, calc(100vw - 28px)); }
.decision-ledger-notice { border-color: #bcd6d1; color: #315f5b; background: #f1f8f6; }
.decision-ledger-notice strong { color: #174f4b; }
.decision-ledger-content { background: #f7f9f9; }
.decision-ledger-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 14px; }
.decision-ledger-summary, .decision-ledger-rules { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.decision-ledger-summary { color: #fff; background: linear-gradient(130deg, var(--navy-900), #105c67); }
.decision-ledger-summary small { color: #72cec4; font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.decision-ledger-summary h3 { margin: 7px 0 9px; color: #fff; font: 600 21px/1.2 Georgia, serif; }
.decision-ledger-summary p { margin: 0; color: #c9dce1; font-size: 10px; line-height: 1.55; }
.decision-ledger-summary-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; color: #b6d0d6; font-size: 8px; }
.decision-ledger-summary-facts span { padding-right: 8px; border-right: 1px solid rgba(255,255,255,.2); }
.decision-ledger-rules h3 { margin: 0 0 10px; font-size: 14px; }
.decision-ledger-rules ul { display: grid; gap: 7px; margin: 0; padding-left: 17px; }
.decision-ledger-rules li { color: var(--muted); font-size: 9px; line-height: 1.5; }
.decision-ledger-lock { grid-column: 1 / -1; margin: 0; }
.decision-ledger-records { display: grid; gap: 12px; }
.decision-ledger-record { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.decision-ledger-record.status-in-review { border-color: #d7bd88; box-shadow: inset 4px 0 0 var(--gold); }
.decision-ledger-record.status-disposition-recorded, .decision-ledger-record.status-closed { border-color: #93bdb7; box-shadow: inset 4px 0 0 var(--teal); }
.decision-ledger-record > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; }
.decision-ledger-record h4 { margin: 8px 0 6px; color: var(--navy-950); font-size: 15px; }
.decision-ledger-record header p { max-width: 700px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.decision-ledger-record-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0; }
.decision-ledger-record-meta span, .decision-ledger-impacts span { padding: 5px 7px; border-radius: 5px; color: #526a75; background: #edf2f3; font-size: 8px; font-weight: 750; }
.decision-ledger-review-lock { max-width: 280px; color: #8a642e; font-size: 8px; font-weight: 750; line-height: 1.4; text-align: right; }
.decision-ledger-analysis { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.decision-ledger-analysis h5, .decision-ledger-action-editor h5 { margin: 0 0 9px; color: var(--navy-950); font-size: 11px; text-transform: uppercase; }
.decision-ledger-analysis-empty { margin: 12px 0 0; padding: 10px; border: 1px dashed #bcc9cd; border-radius: 6px; color: var(--muted); font-size: 9px; }
.decision-ledger-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.decision-ledger-profile { min-width: 0; padding: 11px; border: 1px solid #d7e1e3; border-radius: 7px; background: #f8fafb; }
.decision-ledger-profile > strong { color: var(--navy-950); font-size: 10px; }
.decision-ledger-profile > small { display: block; margin: 4px 0 8px; color: var(--muted); font-size: 7px; line-height: 1.4; }
.decision-ledger-profile ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; counter-reset: decision-rank; }
.decision-ledger-profile li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 8px; counter-increment: decision-rank; }
.decision-ledger-profile li span::before { margin-right: 4px; color: var(--teal-dark); content: counter(decision-rank) "."; font-weight: 850; }
.decision-ledger-profile li strong { flex: 0 0 auto; color: var(--ink); font-size: 8px; }
.decision-ledger-analysis-hash { margin: 9px 0 0; overflow-wrap: anywhere; color: #788a91; font-size: 7px; }
.decision-ledger-impacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.decision-ledger-impacts span { color: #285f59; background: #e4f2ef; }
.decision-ledger-disposition { margin: 13px 0 0; padding: 11px; border-left: 3px solid var(--teal); color: var(--ink); background: #eff7f5; font-size: 9px; line-height: 1.5; }
.decision-ledger-learning { margin-top: 12px; padding: 12px; border: 1px solid #a8ccc7; border-radius: 7px; background: #f1f8f6; }
.decision-ledger-learning strong { color: var(--teal-dark); font-size: 10px; text-transform: uppercase; }
.decision-ledger-learning p { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.decision-ledger-editor { margin: 18px 0; }
.decision-ledger-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.decision-ledger-editor .strategy-field > span, .decision-ledger-action-editor .strategy-field > span { color: var(--navy-950); font-size: 9px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.decision-ledger-editor select, .decision-ledger-action-editor select { width: 100%; padding: 10px 11px; border: 1px solid #b9cacc; border-radius: 6px; color: var(--ink); background: #fff; font-size: 11px; }
.decision-ledger-confirmation { display: flex; align-items: start; gap: 9px; margin-top: 14px; padding: 11px; border: 1px solid #b8d4cf; border-radius: 7px; color: #315f5b; background: #fff; font-size: 9px; font-weight: 700; line-height: 1.45; }
.decision-ledger-confirmation input { width: auto; margin-top: 1px; }
.decision-ledger-action-editor { margin-top: 14px; padding: 15px; border: 1px solid #b7cfcc; border-radius: 8px; background: #f2f8f7; }
.decision-ledger-action-editor > p { margin: 0 0 11px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.decision-ledger-action-editor .strategy-field { margin-top: 9px; }
.decision-ledger-action-editor textarea { width: 100%; padding: 10px 11px; border: 1px solid #b9cacc; border-radius: 6px; color: var(--ink); background: #fff; font-size: 11px; line-height: 1.5; resize: vertical; }

/* Strategy production workspace */
.strategy-manager-dialog { width: min(980px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 13px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(2,30,48,.35); }
.strategy-manager-dialog::backdrop, .strategy-confirm-dialog::backdrop { background: rgba(3,24,39,.64); backdrop-filter: blur(3px); }
.strategy-manager-shell { display: grid; max-height: calc(100dvh - 28px); grid-template-rows: auto auto minmax(0, 1fr) auto; }
.strategy-manager-header { display: flex; align-items: start; justify-content: space-between; gap: 22px; padding: 25px 28px 20px; border-bottom: 1px solid var(--line); }
.strategy-manager-header h2 { margin: 7px 0 6px; font-size: clamp(28px, 4vw, 42px); }
.strategy-manager-header p { max-width: 650px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.strategy-manager-notice { display: flex; gap: 9px 18px; padding: 12px 28px; border-bottom: 1px solid #e2cfa6; color: #745625; background: #fff8eb; font-size: 10px; line-height: 1.5; }
.strategy-manager-notice strong { flex: 0 0 auto; color: #694815; }
.strategy-manager-content { overflow: auto; padding: 24px 28px 38px; }
.strategy-manager-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 28px; border-top: 1px solid var(--line); background: #f7f9f9; color: var(--muted); font-size: 9px; }
.strategy-manager-footer-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.strategy-export-button { min-height: 36px; padding: 8px 12px; border-color: #aac3c0; color: var(--teal-dark); background: #fff; font-size: 9px; }
.strategy-reset-button { min-height: 36px; padding: 8px 12px; border-color: #d3aaa6; color: #823a36; background: #fff; font-size: 9px; }
.strategy-reset-button:hover:not(:disabled) { border-color: #ad5e57; background: #fff3f1; }
.strategy-reset-button:disabled { cursor: not-allowed; opacity: .48; }
.strategy-manager-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 15px; }
.strategy-current-card, .strategy-rules-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.strategy-current-card { color: #fff; background: var(--navy-900); }
.strategy-current-card h3 { margin: 8px 0 9px; color: #fff; font: 600 22px/1.2 Georgia, serif; }
.strategy-current-card p { margin-bottom: 15px; color: #c4d6de; font-size: 10px; line-height: 1.6; }
.strategy-current-meta { display: flex; flex-wrap: wrap; gap: 7px; color: #aac4cf; font-size: 9px; }
.strategy-current-meta span { padding-right: 8px; border-right: 1px solid rgba(255,255,255,.18); }
.strategy-rules-card h3 { margin: 0 0 11px; font-size: 14px; }
.strategy-rules-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.strategy-rules-card li { position: relative; padding-left: 17px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.strategy-rules-card li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 900; }
.strategy-register-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 27px 0 12px; }
.strategy-register-heading h3 { margin: 0 0 4px; font-size: 17px; }
.strategy-register-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.strategy-add-button { min-height: 39px; padding: 9px 14px; border: 0; color: #fff; background: var(--teal); font-size: 10px; }
.strategy-manager-records { display: grid; gap: 10px; }
.strategy-manager-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; padding: 16px 17px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.strategy-manager-record.is-current { border-color: #8ebeb7; box-shadow: inset 4px 0 0 var(--teal); }
.strategy-manager-record h4 { margin: 8px 0 6px; color: var(--navy-950); font-size: 13px; }
.strategy-manager-record p { max-width: 690px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.strategy-record-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.strategy-manager-actions { display: flex; max-width: 320px; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.strategy-action-button { min-height: 33px; padding: 7px 10px; border: 1px solid #b6c9cc; border-radius: 6px; color: var(--teal-dark); background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.strategy-action-button:hover { border-color: var(--teal); background: #eff8f6; }
.strategy-action-button.destructive { border-color: #ddbbb7; color: #8c3e39; }
.strategy-action-button.destructive:hover { background: #fff0ee; }
.strategy-action-button:disabled { cursor: not-allowed; opacity: .45; }
.strategy-record-lock { color: #7a8a93; font-size: 9px; font-weight: 750; }
.strategy-editor { margin-top: 18px; padding: 20px; border: 1px solid #9fc5c0; border-radius: 10px; background: #f2f9f7; }
.strategy-editor[hidden] { display: none; }
.strategy-editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.strategy-editor h3 { margin: 0 0 5px; font-size: 17px; }
.strategy-editor-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.strategy-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; }
.strategy-field { display: grid; gap: 6px; }
.strategy-field-wide { grid-column: 1 / -1; }
.strategy-field label { color: var(--navy-950); font-size: 9px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.strategy-field input, .strategy-field textarea { width: 100%; padding: 10px 11px; border: 1px solid #b9cacc; border-radius: 6px; color: var(--ink); background: #fff; font-size: 11px; }
.strategy-field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.strategy-field small { color: var(--muted); font-size: 8px; line-height: 1.4; }
.strategy-editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }
.strategy-editor-cancel { border-color: #bdcbd0; color: var(--muted); background: #fff; }
.strategy-editor-save { border: 0; color: #fff; background: var(--teal); }
.strategy-waybill-section { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.strategy-waybill-section h3 { margin: 0 0 10px; font-size: 15px; }
.strategy-waybill-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.strategy-waybill-summary div { padding: 11px 12px; border-right: 1px solid var(--line); background: #f7f9f9; }
.strategy-waybill-summary div:last-child { border-right: 0; }
.strategy-waybill-summary dt { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.strategy-waybill-summary dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 9px; font-weight: 750; }
.strategy-waybill-events { margin: 10px 0 0; padding: 0; list-style: none; }
.strategy-waybill-events li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; padding: 9px 2px; border-bottom: 1px solid #e5ebed; color: var(--muted); font-size: 9px; line-height: 1.45; }
.strategy-waybill-events strong { color: var(--ink); }
.strategy-empty-register { padding: 25px; border: 1px dashed #b8c9cd; border-radius: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.strategy-confirm-dialog { width: min(460px, calc(100vw - 28px)); max-width: none; padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 25px 75px rgba(2,30,48,.34); }
.strategy-confirm-dialog form { padding: 27px; }
.strategy-confirm-mark { display: grid; width: 38px; height: 38px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: #fff; background: var(--rose); font-weight: 900; }
.strategy-confirm-dialog h2 { margin: 0 0 10px; font-size: 27px; }
.strategy-confirm-dialog p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.strategy-confirm-reason { display: grid; gap: 6px; margin-top: 15px; color: var(--navy-950); font-size: 9px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.strategy-confirm-reason[hidden] { display: none; }
.strategy-confirm-reason textarea { width: 100%; padding: 10px; border: 1px solid #bdcbd0; border-radius: 6px; color: var(--ink); background: #fff; font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; resize: vertical; }
.strategy-confirm-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.strategy-cancel-button { border-color: #bdcbd0; color: var(--muted); background: #fff; }
.strategy-destructive-button { border: 0; color: #fff; background: var(--rose); }

.revenue-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #eaf1f2; }
.revenue-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.revenue-scenario-card { min-width: 0; padding: 18px; border: 1px solid #cbd9dd; border-radius: 9px; background: #fff; }
.revenue-scenario-card header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.revenue-scenario-card h3 { margin: 0; font-size: 14px; }
.revenue-scenario-card p { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.revenue-scenario-open { padding: 0; border: 0; color: var(--navy-950); background: transparent; font-weight: 800; text-align: left; cursor: pointer; }
.revenue-scenario-open:hover { color: var(--teal-dark); text-decoration: underline; }
.revenue-table-region { max-width: 100%; overflow: auto; border: 1px solid #b9c9cf; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgba(7,39,61,.06); }
.revenue-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.revenue-table caption { padding: 15px 16px; color: var(--navy-900); background: #fff; font-size: 11px; font-weight: 800; text-align: left; }
.revenue-table th, .revenue-table td { padding: 13px 14px; border-top: 1px solid #e0e8eb; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: left; vertical-align: top; }
.revenue-table thead th { position: sticky; z-index: 2; top: 0; border-top: 0; color: #fff; background: var(--navy-900); font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.revenue-table tbody th { color: var(--ink); font-weight: 800; }
.revenue-value { color: var(--navy-900); font-weight: 850; white-space: nowrap; }
.revenue-qualifier { display: inline-flex; padding: 4px 7px; border-radius: 999px; color: #345f7b; background: var(--blue-soft); font-size: 8px; font-weight: 850; letter-spacing: .4px; text-transform: uppercase; }
.revenue-conflict { color: #873f3b; font-weight: 800; }
.revenue-no-conflict { color: #4e6c6a; }
.component-list { margin: 0; padding-left: 16px; }
.component-list li { margin-bottom: 4px; }

.supporting-projects-section { padding-bottom: 68px; }
.project-register-summary { margin-bottom: 17px; padding: 13px 16px; border-left: 4px solid var(--teal); color: #315f5b; background: #e4f1ef; font-size: 11px; line-height: 1.5; }
.supporting-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.supporting-project-card { display: flex; min-width: 0; min-height: 285px; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.supporting-project-card header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.supporting-project-kind { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.supporting-project-card h3 { margin: 14px 0 8px; font-size: 16px; line-height: 1.3; }
.supporting-project-card > p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.project-facts div { min-width: 0; }
.project-facts dt { color: #657985; font-size: 8px; font-weight: 850; letter-spacing: .5px; text-transform: uppercase; }
.project-facts dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 10px; font-weight: 750; }
.not-provided { color: #7b6540 !important; font-style: italic; font-weight: 700 !important; }

.operating-boards-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #edf3f3; }
.assignment-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 22px; padding: 18px 20px; border: 1px solid #ddc897; border-radius: 9px; background: #fff9ed; }
.assignment-callout strong { color: #684718; font-size: 13px; }
.assignment-callout p { margin: 4px 0 0; color: #786746; font-size: 10px; line-height: 1.5; }
.assignment-gap-count { color: var(--navy-900); font: 600 32px/1 Georgia, serif; }
.assignment-gap-label { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .6px; text-transform: uppercase; }
.board-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.board-tab { padding: 10px 13px; border: 1px solid #bdcdd2; border-radius: 7px; color: var(--navy-900); background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.board-tab[aria-selected="true"] { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.board-panel { min-width: 0; padding: 22px; border: 1px solid #cbd8dc; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgba(7,39,61,.05); }
.board-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.board-panel-head h3 { margin: 0 0 7px; font: 600 25px/1.15 Georgia, serif; }
.board-panel-head p { max-width: 700px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.board-read-only { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #526776; background: #e8edf0; font-size: 8px; font-weight: 850; letter-spacing: .6px; text-transform: uppercase; }
.board-lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; align-items: start; }
.board-lane { min-width: 0; padding: 13px; border: 1px solid #d8e2e5; border-radius: 8px; background: #f5f8f8; }
.board-lane > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.board-lane > header h4 { margin: 0; color: var(--navy-900); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; }
.board-lane > header span { color: var(--muted); font-size: 9px; }
.board-cards { display: grid; gap: 8px; }
.board-card { min-width: 0; padding: 12px; border: 1px solid #d5e0e3; border-left: 3px solid var(--gold); border-radius: 7px; background: #fff; }
.board-card h5 { margin: 0 0 7px; color: var(--navy-950); font-size: 11px; line-height: 1.4; }
.board-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.board-card-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5ebed; color: #6b7d87; font-size: 8px; }
.board-empty { padding: 24px; border: 1px dashed #bdcbd0; border-radius: 8px; color: var(--muted); background: #f8fafa; font-size: 11px; line-height: 1.6; text-align: center; }
.record-ref-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.record-ref-list li { padding: 10px 12px; border: 1px solid #dbe4e7; border-radius: 7px; background: #fff; }
.record-ref-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }

.integration-spine-section { padding-bottom: 54px; }
.spine-boundary { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding: 15px 18px; border: 1px solid #c8d7dc; border-radius: 8px; background: #edf5f5; }
.spine-boundary strong { flex: 0 0 auto; color: var(--navy-900); font-size: 11px; text-transform: uppercase; }
.spine-boundary span { color: #526776; font-size: 11px; line-height: 1.5; }
.integration-spine-nav { width: 100%; }
.integration-spine-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.spine-step { position: relative; min-width: 0; }
.spine-card { height: 100%; min-height: 306px; padding: 20px; border: 1px solid #cedadd; border-radius: 10px; background: #fff; box-shadow: 0 9px 24px rgba(7, 39, 61, 0.045); }
.spine-step-number { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.spine-card h3 { margin: 12px 0 10px; font-size: 16px; line-height: 1.3; }
.spine-layer-button { padding: 0; border: 0; color: var(--navy-950); background: transparent; font-weight: 800; text-align: left; text-decoration: underline; text-decoration-color: #86b9b4; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.spine-layer-button:hover { color: var(--teal-dark); }
.spine-layer-summary { min-height: 68px; margin-bottom: 16px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.spine-posture { display: grid; gap: 8px; margin: 0; padding-top: 15px; border-top: 1px solid var(--line); }
.spine-posture div { display: grid; gap: 2px; }
.spine-posture dt { color: #657985; font-size: 8px; font-weight: 850; letter-spacing: .6px; text-transform: uppercase; }
.spine-posture dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 700; line-height: 1.35; }
.spine-connector { position: absolute; z-index: 2; top: 47%; right: -21px; width: 14px; color: #4d7a79; font-size: 22px; font-weight: 400; text-align: center; }
.integration-spine-summary { margin: 18px 0 0; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 470px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.capability-section { padding-bottom: 40px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.capability-card { position: relative; min-height: 155px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; }
.capability-card:hover { border-color: #87aea9; box-shadow: 0 10px 28px rgba(7,39,61,.07); }
.capability-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--teal); content: ""; }
.capability-card.coverage-not-loaded::before, .capability-card.coverage-not-available::before { background: #a9b3ba; }
.capability-card.coverage-sequence-only::before { background: var(--gold); }
.capability-state { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.coverage-not-loaded .capability-state, .coverage-not-available .capability-state { color: #586a74; }
.capability-card h3 { margin: 17px 0 12px; font-size: 16px; line-height: 1.3; }
.capability-card p { margin: 0; color: var(--muted); font-size: 11px; }
.capability-card b { position: absolute; right: 18px; bottom: 15px; color: var(--teal); }

.ims-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1380px) / 2)); padding-left: max(20px, calc((100vw - 1380px) / 2)); background: #eaf1f2; }
.ims-boundary { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding: 15px 18px; border: 1px solid #dfc895; border-radius: 8px; background: #fff9ed; }
.ims-boundary strong { flex: 0 0 auto; color: #684718; font-size: 11px; text-transform: uppercase; }
.ims-boundary span { color: #74664e; font-size: 11px; line-height: 1.5; }
.ims-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.segmented { display: inline-flex; padding: 4px; border: 1px solid #cbd8dd; border-radius: 9px; background: #fff; }
.ims-mode { padding: 9px 13px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.ims-mode.is-active { color: #fff; background: var(--navy-900); }
.ims-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ims-actions button { padding: 8px 11px; border: 1px solid #bdccd2; border-radius: 6px; color: var(--navy-900); background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.ims-summary { margin: 0 0 12px; }
.spotlight-summary { margin-bottom: 12px; padding: 12px 14px; border-left: 4px solid var(--teal); color: #25554f; background: #e1f1ed; font-size: 11px; line-height: 1.5; }
.ims-frame { max-height: 760px; overflow: auto; border: 1px solid #b9c9cf; border-radius: 10px; background: #fff; box-shadow: 0 15px 35px rgba(7,39,61,.07); }
.ims-grid { min-width: calc(540px + (var(--stage-count) * 150px)); }
.ims-grid-row { display: grid; min-height: 64px; grid-template-columns: minmax(310px, 370px) minmax(calc(var(--stage-count) * 150px), 1fr) minmax(170px, 220px); border-bottom: 1px solid #dce5e8; }
.ims-grid-row:last-child { border-bottom: 0; }
.ims-grid-header { position: sticky; z-index: 8; top: 0; min-height: 58px; color: #fff; background: var(--navy-950); }
.ims-grid-header .ims-hierarchy-cell { z-index: 10; color: #fff; background: var(--navy-950); font-size: 10px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.ims-grid-header .ims-dependency-cell { color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.ims-hierarchy-cell { position: sticky; z-index: 4; left: 0; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 9px 12px 9px calc(12px + (var(--tree-level, 0) * 18px)); border-right: 1px solid #d5e0e4; background: #fff; }
.ims-label-line { display: flex; min-width: 0; align-items: center; gap: 7px; }
.ims-toggle, .ims-row-link, .ims-details-button, .ims-spotlight-button { border: 0; color: var(--navy-900); background: transparent; cursor: pointer; }
.ims-toggle, .ims-row-link { min-width: 0; overflow: hidden; padding: 0; font-size: 11px; font-weight: 800; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.ims-details-button { margin-left: auto; color: var(--teal-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ims-spotlight-button { margin-left: auto; padding: 3px 6px; border: 1px solid #b8d2cf; border-radius: 5px; color: var(--teal-dark); font-weight: 900; }
.ims-row-meta { margin-top: 5px; color: #586d79; font-size: 9px; }
.ims-stage-heads, .ims-stage-track { display: grid; min-width: 0; grid-template-columns: repeat(var(--stage-count), minmax(150px, 1fr)); }
.ims-stage-heading { display: flex; flex-direction: column; justify-content: center; padding: 8px 11px; border-right: 1px solid rgba(255,255,255,.15); }
.ims-stage-heading strong { font-size: 11px; }
.ims-stage-heading span { margin-top: 4px; overflow: hidden; color: #bcd0d9; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ims-stage-track { position: relative; align-items: center; background: repeating-linear-gradient(90deg, #fbfcfc 0, #fbfcfc calc((100% / var(--stage-count)) - 1px), #dfe8eb calc((100% / var(--stage-count)) - 1px), #dfe8eb calc(100% / var(--stage-count))); }
.ims-sequence-bar { z-index: 1; min-height: 34px; margin: 10px 8px; overflow: hidden; border: 0; border-radius: 6px; color: #fff; background: var(--teal); font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.ims-launch-program, .ims-delivery-epic { background: var(--navy-900); }
.ims-launch-gate { background: #356f82; }
.ims-story { background: #356f82; }
.ims-calendar .ims-stage-track { padding: 10px 12px; }
.ims-unscheduled { align-self: center; padding: 8px 10px; border: 1px dashed #c49a57; border-radius: 6px; color: #76561c; background: #fff9ed; font-size: 10px; }
.ims-dependency-cell { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 5px; padding: 9px 10px; border-left: 1px solid #dce5e8; }
.dependency-chip { padding: 4px 6px; border: 1px solid #bed4d2; border-radius: 999px; color: var(--teal-dark); background: #edf7f5; font-size: 9px; font-weight: 800; text-decoration: none; cursor: pointer; }
.dependency-chip.external { color: #526c7b; border-color: #cbd8de; background: #f3f6f7; }
.no-dependency { color: #5b6e77; font-size: 9px; }
.ims-grid-row.is-dimmed, .ims-grid-row.is-dimmed .ims-hierarchy-cell { background: #f1f5f6; }
.ims-grid-row.is-dimmed .ims-sequence-bar { background: #526776; }
.ims-grid-row.is-spotlight { box-shadow: inset 4px 0 0 #4a91a0; }
.ims-grid-row.is-selected { box-shadow: inset 5px 0 0 var(--gold); background: #fff9ed; }
.ims-grid-row.is-predecessor .ims-sequence-bar { background: #7b6da0; }
.ims-grid-row.is-successor .ims-sequence-bar { background: #1f7068; }
.roadmap { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 14px 38px rgba(7, 39, 61, 0.06); }
.roadmap-card { position: relative; min-height: 365px; padding: 25px 22px; border-right: 1px solid var(--line); }
.roadmap-card:last-child { border-right: 0; }
.roadmap-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--stage-color, var(--teal)); content: ""; }
.stage-number { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.roadmap-card h3 { margin: 29px 0 12px; font: 600 21px/1.18 Georgia, serif; }
.roadmap-card .goal { min-height: 114px; color: #607484; font-size: 12px; line-height: 1.55; }
.stage-meta { display: grid; gap: 8px; margin: 19px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.stage-meta span { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.stage-meta strong { color: var(--ink); font-size: 11px; }
.jira-link, .text-link { color: var(--teal-dark); font-size: 12px; font-weight: 800; text-decoration: none; }
.jira-link:hover, .text-link:hover { text-decoration: underline; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.record-link, .card-actions button, .portfolio-open, .card-detail-button, .trace-id, .mini-record-link, .capability-id, .record-list-button, .breadcrumb-button { padding: 0; border: 0; color: var(--teal-dark); background: transparent; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; cursor: pointer; }
.card-actions button { font-size: 11px; }

.split-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.section-copy { max-width: 480px; color: var(--muted); line-height: 1.7; }
.disposition-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(7, 39, 61, 0.05); }
.disposition-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.disposition-head strong { color: var(--navy-950); }
.disposition-head span { color: var(--muted); font-size: 11px; }
.bar { display: flex; height: 15px; overflow: hidden; border-radius: 999px; background: #e7ecef; }
.bar span { min-width: 2px; }
.bar .implemented { background: #1f8379; }
.bar .partial { background: #69a9a0; }
.bar .demo { background: #d2a653; }
.bar .planned { background: #9eabb5; }
.legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; margin-top: 24px; }
.legend-item { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.legend-item i { width: 9px; height: 9px; border-radius: 2px; background: var(--legend-color); }
.legend-item strong { color: var(--ink); font-size: 12px; }
.test-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.test-row strong { display: block; margin-top: 4px; color: var(--navy-900); font-size: 17px; }

#work-packages { border-top: 1px solid var(--line); }
.packages-heading { align-items: center; }
.filters { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.filter { min-width: 46px; padding: 8px 12px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.filter:hover { color: var(--navy-900); background: #f0f4f5; }
.filter.is-active { color: #fff; background: var(--navy-900); }
.result-summary { margin: -18px 0 22px; color: var(--muted); font-size: 11px; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.package-card { display: flex; min-height: 335px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform 160ms ease, box-shadow 160ms ease; }
.package-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(7, 39, 61, 0.08); }
.package-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.package-id { color: var(--teal-dark); font: 800 11px/1 sans-serif; letter-spacing: 1px; }
.package-status { color: #76561c; background: var(--gold-soft); }
.package-card h3 { margin: 19px 0 11px; font-size: 17px; line-height: 1.35; }
.package-card .rationale { color: var(--muted); font-size: 12px; line-height: 1.6; }
.package-meta { display: grid; gap: 9px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.package-meta div { display: grid; grid-template-columns: 94px 1fr; gap: 12px; color: var(--muted); font-size: 10px; }
.package-meta strong { color: var(--ink); font-size: 11px; font-weight: 750; }
.unset { color: #8d6122 !important; }
.card-detail-button { margin-top: 17px; padding: 10px 12px; border: 1px solid #b9d2cf; border-radius: 6px; text-align: center; text-decoration: none; }

.trace-section { border-top: 1px solid var(--line); }
.trace-controls { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto minmax(180px, .7fr) auto minmax(170px, .6fr); align-items: center; gap: 10px; margin-bottom: 30px; }
.trace-controls label { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.trace-controls input, .trace-controls select { min-height: 40px; padding: 8px 10px; border: 1px solid #c8d5da; border-radius: 6px; background: #fff; }
.trace-controls > * { min-width: 0; max-width: 100%; }
.trace-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.trace-table { width: 100%; min-width: 940px; border-collapse: collapse; }
.trace-table th, .trace-table td { padding: 13px 14px; border-bottom: 1px solid #e3e9ec; color: var(--muted); font-size: 10px; text-align: left; vertical-align: top; }
.trace-table thead th { position: sticky; z-index: 2; top: 0; color: #fff; background: var(--navy-900); font-size: 9px; letter-spacing: .6px; text-transform: uppercase; }
.trace-table tbody th { width: 280px; color: var(--ink); }
.trace-table tbody th > span { display: block; margin-top: 5px; font-weight: 650; line-height: 1.4; }
.trace-id { margin-right: 8px; white-space: nowrap; }
.mini-record-link { display: inline-block; margin: 0 5px 4px 0; padding: 3px 5px; border: 1px solid #bed5d2; border-radius: 4px; font-size: 9px; text-decoration: none; }
.muted { color: var(--muted); }
.empty-table { padding: 30px !important; text-align: center !important; }
.load-more { display: block; margin: 18px auto 0; padding: 10px 16px; border: 1px solid #aac3c0; border-radius: 6px; color: var(--teal-dark); background: #fff; font-weight: 800; cursor: pointer; }

.portfolio-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #edf3f3; }
.review-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; padding: 18px 20px; border: 1px solid #e5c995; border-radius: 9px; background: #fff9ed; }
.review-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #b57a24; font-weight: 900; }
.review-banner strong { color: #664617; font-size: 13px; }
.review-banner p { margin: 4px 0 0; color: #80683f; font-size: 11px; line-height: 1.5; }
.portfolio-controls { display: flex; align-items: center; gap: 11px; margin-bottom: 32px; }
.portfolio-controls label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }
.portfolio-controls select, .portfolio-controls input { min-height: 41px; padding: 8px 12px; border: 1px solid #cbd7db; border-radius: 7px; color: var(--ink); background: #fff; }
.portfolio-controls select { min-width: 220px; }
.portfolio-controls .search-label { margin-left: auto; }
.portfolio-controls input { width: min(290px, 38vw); }
.portfolio-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.portfolio-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: start; gap: 16px; min-height: 152px; padding: 21px; border: 1px solid #d4dfe2; border-radius: 9px; background: #fff; }
.portfolio-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 10px; color: var(--navy-900); background: var(--blue-soft); font: 700 18px/1 Georgia, serif; }
.portfolio-card h3 { margin: 2px 0 6px; font-size: 15px; }
.portfolio-card .objective { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.portfolio-note { margin: 8px 0 0; color: #7b6a4d; font-size: 10px; line-height: 1.45; }
.portfolio-open { color: var(--navy-950); font-size: 15px; text-align: left; }
.portfolio-card .portfolio-name { display: inline-block; margin-top: 13px; color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: 0.8px; text-transform: uppercase; }
.intake-pill { white-space: nowrap; color: #6e551f; background: var(--gold-soft); }
.intake-pill.supported { color: #28665e; background: var(--mint); }
.intake-pill.candidate { color: #675778; background: #eee7f4; }
.empty-state { grid-column: 1 / -1; padding: 40px; border: 1px dashed #b9c8ce; border-radius: 9px; color: var(--muted); text-align: center; }

.controls-section { width: 100%; max-width: none; padding-right: max(20px, calc((100vw - 1180px) / 2)); padding-left: max(20px, calc((100vw - 1180px) / 2)); background: #f0f4f5; }
.controls-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.controls-layout > div > h3 { margin-bottom: 15px; font-size: 16px; }
.capability-register { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.capability-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.capability-row:last-child { border-bottom: 0; }
.capability-row > div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px 12px; }
.capability-row strong { font-size: 12px; }
.capability-row span:not(.status) { grid-column: 2; color: var(--muted); font-size: 9px; }
.capability-id { font-size: 10px; text-align: left; }
.quality-card { padding: 25px; border-radius: 10px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow); }
.quality-card h3 { margin: 8px 0 14px; color: #fff; font: 600 24px/1.15 Georgia, serif; }
.quality-summary { color: #c3d5dd; font-size: 11px; line-height: 1.55; }
.quality-metrics { margin: 20px 0; border-top: 1px solid rgba(255,255,255,.15); }
.quality-metrics div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.quality-metrics dt { color: #aec4cf; font-size: 10px; }
.quality-metrics dd { margin: 0; font-size: 11px; font-weight: 800; }
.quality-card h4 { margin: 20px 0 8px; color: #fff; font-size: 11px; text-transform: uppercase; }
.quality-card ul { margin: 0; padding-left: 17px; color: #c6d7df; font-size: 10px; line-height: 1.55; }

.sources-section { padding-bottom: 70px; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.source-card { display: flex; min-height: 125px; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-decoration: none; }
.source-card:hover { border-color: #91b7b2; box-shadow: 0 10px 25px rgba(7, 39, 61, 0.06); }
.source-card strong { display: block; margin-bottom: 7px; color: var(--navy-950); font-size: 13px; }
.source-card span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.source-card b { color: var(--teal); font-size: 18px; }
.source-metadata { align-items: flex-start; }
.source-metadata:hover { border-color: var(--line); box-shadow: none; }
.source-card .source-custody-state {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #76561c;
  background: var(--gold-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.snapshot-note { margin: 24px 0 0; color: var(--muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }

.detail-dialog { width: min(860px, calc(100vw - 32px)); max-width: none; height: min(900px, calc(100dvh - 30px)); max-height: none; margin: auto 0 auto auto; padding: 0; overflow: hidden; border: 0; border-left: 1px solid #b8c8cf; color: var(--ink); background: #fff; box-shadow: -20px 0 70px rgba(2,30,48,.28); }
.detail-dialog::backdrop { background: rgba(3,24,39,.58); backdrop-filter: blur(2px); }
.detail-shell { height: 100%; overflow: auto; }
.detail-header { position: sticky; z-index: 4; top: 0; display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 26px 30px 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.detail-kicker { color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; }
.detail-header h2 { margin: 8px 0 0; font-size: clamp(26px, 4vw, 40px); }
.detail-header h2:focus-visible { outline: 3px solid #208d84; outline-offset: 4px; }
.detail-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid #c7d3d8; border-radius: 50%; color: var(--navy-900); background: #fff; font-size: 25px; cursor: pointer; }
.detail-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 14px 30px; border-bottom: 1px solid var(--line); background: #f5f8f8; }
.breadcrumb-button { font-size: 10px; }
.breadcrumb-separator { color: #93a2aa; }
.detail-content { padding: 26px 30px 50px; }
.detail-status { margin-bottom: 17px; }
.detail-lede { color: #445d6d; font-size: 15px; line-height: 1.65; }
.detail-definitions { display: grid; grid-template-columns: repeat(2, 1fr); margin: 25px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.detail-definitions div { padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-definitions dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.detail-definitions dd { margin: 5px 0 0; color: var(--ink); font-size: 11px; font-weight: 750; }
.detail-section { margin-top: 28px; }
.detail-section h3 { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-section p, .detail-section li { overflow-wrap: anywhere; color: #536a79; font-size: 11px; line-height: 1.65; }
.record-list, .source-reference-list { margin: 0; padding: 0; list-style: none; }
.record-list li, .source-reference-list li { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e3e9ec; }
.record-list li > span, .source-reference-list small { color: var(--muted); font-size: 9px; text-align: right; }
.record-list-button { text-align: left; }
.boundary-inline { padding: 13px 15px; border-left: 3px solid var(--gold); color: #70572e !important; background: #fff8eb; font-size: 10px !important; line-height: 1.55 !important; }
.spotlight-action { border: 0; color: #fff; background: var(--teal); }
.detail-external { display: inline-flex; margin-top: 16px; border-color: #b8cecb; color: var(--teal-dark); background: #fff; font-size: 11px; }
.inline-external { color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.detail-link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.code-list { max-height: 300px; overflow: auto; padding: 12px 12px 12px 32px; border: 1px solid #d7e0e4; border-radius: 7px; background: #f6f8f8; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all; }
.detail-footer { position: sticky; z-index: 4; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); color: var(--muted); font-size: 9px; }
.detail-footer a { color: var(--teal-dark); font-weight: 800; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px max(20px, calc((100vw - 1180px) / 2)); color: #afc4cf; background: var(--navy-950); font-size: 10px; }
.site-footer div { display: flex; align-items: center; gap: 15px; }
.site-footer strong { color: #fff; font-size: 12px; }
.site-footer p { max-width: 570px; margin: 0; text-align: right; line-height: 1.5; }
.noscript { position: fixed; inset: auto 20px 20px; z-index: 30; padding: 14px; border-radius: 7px; color: #fff; background: #8c3d38; text-align: center; }

/* Program Office sign-in */
.signin-page { min-height: 100vh; color: #fff; background: var(--navy-950); }
.signin-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr); }
.signin-story { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: clamp(32px, 6vw, 86px); background: radial-gradient(circle at 10% 82%, rgba(25, 142, 129, 0.32), transparent 30%), linear-gradient(140deg, #03243c, #063e5d 68%, #075953 150%); }
.brand-on-dark { color: #fff; }
.brand-on-dark .brand-mark { border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); }
.brand-on-dark small { color: #a9c3cf; }
.eyebrow.light { color: #6fd1c6; }
.signin-story h1 { max-width: 740px; color: #fff; }
.signin-story h1 em { color: #73d5ca; }
.signin-story > div p { max-width: 650px; color: #c7d9e2; font-size: 18px; line-height: 1.65; }
.signin-points { display: flex; flex-wrap: wrap; gap: 20px 34px; margin: 0; padding: 0; color: #c5d7df; font-size: 11px; list-style: none; }
.signin-points span { padding-right: 7px; color: #65c8bc; font-weight: 900; }
.signin-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 88px); color: var(--ink); background: #fff; }
.secure-seal { display: grid; width: 58px; height: 58px; margin-bottom: 34px; place-items: center; border-radius: 14px; color: #fff; background: var(--navy-900); font: 700 31px/1 Georgia, serif; box-shadow: 0 12px 28px rgba(7, 39, 61, 0.18); }
.signin-panel h2 { max-width: 480px; margin: 10px 0 18px; font-size: clamp(35px, 4vw, 48px); }
.signin-panel > p { max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.auth-message { min-height: 24px; margin: 20px 0 8px; color: var(--teal-dark) !important; font-weight: 700; }
.auth-message.error { color: var(--rose) !important; }
.password-form { display: grid; width: 100%; max-width: 520px; gap: 10px; margin-top: 8px; }
.password-form[hidden], .microsoft-button[hidden] { display: none; }
.password-form label { color: var(--navy-950); font-size: 12px; font-weight: 800; }
.password-form input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #bdcbd2; border-radius: 7px; color: var(--ink); background: #fff; }
.password-form input:hover { border-color: #91aaa8; }
.password-form button { width: 100%; min-height: 52px; margin-top: 3px; border: 0; font-size: 14px; }
.password-form button:disabled { cursor: not-allowed; opacity: 0.58; }
.microsoft-button { width: 100%; max-width: 520px; min-height: 52px; margin-top: 8px; border: 0; font-size: 14px; }
.microsoft-button:disabled { cursor: not-allowed; opacity: 0.58; }
.microsoft-mark { display: grid; width: 18px; height: 18px; grid-template-columns: 1fr 1fr; gap: 2px; }
.microsoft-mark i:nth-child(1) { background: #f25022; }
.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }
.signin-boundary { max-width: 520px; margin-top: 28px; padding: 17px 18px; border-left: 3px solid #d49b43; background: #fff8ec; }
.signin-boundary strong { color: #6f4f1d; font-size: 12px; }
.signin-boundary p { margin: 5px 0 0; color: #806b4a; font-size: 10px; line-height: 1.55; }
.support-note { margin-top: 24px !important; color: #82909b !important; font-size: 10px !important; }

@media (max-width: 1280px) and (min-width: 1051px) {
  .site-header { grid-template-columns: minmax(200px, 1fr) auto auto; gap: 16px; }
  .site-header nav { gap: 12px; }
  .account-name { display: none; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero-grid { grid-template-columns: 1fr 360px; gap: 46px; }
  .roadmap { grid-template-columns: repeat(3, 1fr); }
  .roadmap-card { border-bottom: 1px solid var(--line); }
  .roadmap-card:nth-child(3) { border-right: 0; }
  .metrics { grid-template-columns: repeat(5, 1fr); }
  .metrics article { padding: 21px 16px; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .supporting-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .revenue-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trace-controls { grid-template-columns: auto 1fr auto 1fr; }
  .trace-controls label:last-of-type { grid-column: 1; }
  .controls-layout { grid-template-columns: 1fr; }
  .signin-shell { grid-template-columns: 1fr 440px; }
}

@media (max-width: 800px) {
  .account-name { display: none; }
  .secure-chip { display: none; }
  .hero { padding-top: 68px; }
  .hero-grid, .split-section { grid-template-columns: 1fr; }
  .boundary-card { max-width: 620px; }
  .metrics { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .metrics article { border-bottom: 1px solid var(--line); }
  .metrics article:nth-child(2n) { border-right: 0; }
  .metrics article:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .strategy-layout { grid-template-columns: 1fr; }
  .strategy-manager-overview { grid-template-columns: 1fr; }
  .lean-case-manager-overview, .lean-case-preview { grid-template-columns: 1fr; }
  .next-sprint-layout { grid-template-columns: 1fr; }
  .decision-ledger-overview { grid-template-columns: 1fr; }
  .decision-ledger-profile-grid { grid-template-columns: 1fr; }
  .lean-case-initiative-choice { grid-template-columns: 1fr; }
  .strategy-objectives { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-horizon-grid { grid-template-columns: 1fr; }
  .spine-boundary { align-items: flex-start; flex-direction: column; gap: 7px; }
  .integration-spine-path { grid-template-columns: 1fr; gap: 38px; }
  .spine-card { min-height: 0; }
  .spine-layer-summary { min-height: 0; }
  .spine-connector { top: auto; right: calc(50% - 7px); bottom: -31px; transform: rotate(90deg); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .roadmap-card:nth-child(3) { border-right: 1px solid var(--line); }
  .roadmap-card:nth-child(2n) { border-right: 0; }
  .roadmap-card:last-child { border-right: 1px solid var(--line); }
  .portfolio-list, .source-grid { grid-template-columns: 1fr; }
  .ims-boundary, .ims-toolbar { align-items: stretch; flex-direction: column; }
  .ims-grid-row { grid-template-columns: minmax(250px, 310px) minmax(calc(var(--stage-count) * 140px), 1fr) minmax(150px, 190px); }
  .ims-stage-heads, .ims-stage-track { grid-template-columns: repeat(var(--stage-count), minmax(140px, 1fr)); }
  .detail-dialog { width: min(760px, calc(100vw - 18px)); height: calc(100dvh - 18px); }
  .signin-shell { grid-template-columns: 1fr; }
  .signin-story { min-height: 60vh; }
}

@media (max-width: 580px) {
  .site-header { min-height: 66px; padding: 10px 17px; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .section { width: min(100% - 30px, 1180px); padding: 65px 0; }
  .hero { width: 100%; padding: 65px 18px 72px; }
  h1 { font-size: 43px; }
  h2 { font-size: 36px; }
  .lede { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .search-result { grid-template-columns: 1fr; gap: 4px; }
  .metrics { width: calc(100% - 30px); }
  .decision-boundary { align-items: flex-start; }
  .strategy-production-button { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .strategy-production-action { grid-column: 2; width: fit-content; }
  .lean-cases-section { width: 100%; padding-right: 15px; padding-left: 15px; }
  .next-sprint-section { width: 100%; padding-right: 15px; padding-left: 15px; }
  .next-sprint-summary-card { grid-template-columns: 1fr; padding: 22px; }
  .next-sprint-summary-action { justify-self: start; }
  .next-sprint-item-head { flex-direction: column; gap: 7px; }
  .decision-ledger-open { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .decision-ledger-control-action { grid-column: 2; }
  .decision-ledger-record > header { grid-template-columns: 1fr; }
  .decision-ledger-review-lock { max-width: none; text-align: left; }
  .decision-ledger-editor-grid { grid-template-columns: 1fr; }
  .lean-case-open { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .lean-case-control-action { grid-column: 2; width: fit-content; }
  .strategy-case-bridge { grid-template-columns: auto minmax(0, 1fr); }
  .strategy-case-bridge > b { grid-column: 2; }
  .strategy-manager-dialog { inset: 8px; width: calc(100vw - 16px); max-height: calc(100dvh - 16px); margin: 0; border-radius: 10px; }
  .strategy-manager-shell { max-height: calc(100dvh - 16px); }
  .strategy-manager-header, .strategy-manager-content, .strategy-manager-footer { padding-right: 18px; padding-left: 18px; }
  .strategy-manager-notice { display: grid; padding-right: 18px; padding-left: 18px; }
  .strategy-manager-footer, .strategy-register-heading { align-items: stretch; flex-direction: column; }
  .strategy-manager-footer-actions { display: grid; grid-template-columns: 1fr; }
  .strategy-manager-record { grid-template-columns: 1fr; }
  .strategy-manager-actions { max-width: none; justify-content: flex-start; }
  .strategy-editor-grid { grid-template-columns: 1fr; }
  .lean-case-editor .strategy-editor-grid { grid-template-columns: 1fr; }
  .lean-case-field-wide, .lean-case-field-double, .lean-case-link-fieldset { grid-column: 1; }
  .lean-case-checkboxes, .lean-case-initiative-alignment, .lean-case-detail-grid { grid-template-columns: 1fr; }
  .strategy-field-wide { grid-column: 1; }
  .strategy-waybill-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-waybill-summary div:nth-child(2) { border-right: 0; }
  .strategy-waybill-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .strategy-waybill-events li { grid-template-columns: 1fr; gap: 3px; }
  .strategy-objectives, .strategy-framework, .revenue-summary, .supporting-project-grid { grid-template-columns: 1fr; }
  .strategy-framework-heading, .strategy-horizon-grid { grid-column: 1; }
  .revenue-section, .operating-boards-section { width: 100%; padding-right: 15px; padding-left: 15px; }
  .assignment-callout { grid-template-columns: auto 1fr; }
  .assignment-callout > div:last-child { grid-column: 2; }
  .board-panel { padding: 16px; }
  .board-panel-head { flex-direction: column; }
  .project-facts { grid-template-columns: 1fr; }
  .roadmap, .package-grid, .portfolio-list { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .roadmap-card, .roadmap-card:nth-child(3), .roadmap-card:last-child { border-right: 0; }
  .roadmap-card .goal { min-height: auto; }
  .packages-heading { display: block; }
  .filters { margin-top: 20px; overflow-x: auto; }
  .portfolio-section { width: 100%; padding-right: 15px; padding-left: 15px; }
  .portfolio-controls { display: grid; grid-template-columns: 1fr; }
  .portfolio-controls .search-label { margin: 7px 0 0; }
  .portfolio-controls select, .portfolio-controls input { width: 100%; }
  .trace-controls { grid-template-columns: minmax(0, 1fr); }
  .trace-controls label:last-of-type { grid-column: auto; }
  .portfolio-card { grid-template-columns: 46px 1fr; }
  .portfolio-icon { width: 42px; height: 42px; }
  .intake-pill { grid-column: 2; justify-self: start; }
  .legend { grid-template-columns: 1fr; }
  .segmented { width: 100%; overflow-x: auto; }
  .ims-mode { flex: 1 0 auto; }
  .ims-actions button { flex: 1; }
  .ims-grid-row { grid-template-columns: 230px minmax(calc(var(--stage-count) * 125px), 1fr) 145px; }
  .ims-stage-heads, .ims-stage-track { grid-template-columns: repeat(var(--stage-count), minmax(125px, 1fr)); }
  .ims-grid { min-width: calc(375px + (var(--stage-count) * 125px)); }
  .capability-row { align-items: start; }
  .capability-row > div { grid-template-columns: 78px 1fr; }
  .detail-dialog { inset: 8px; width: calc(100vw - 16px); height: calc(100dvh - 16px); margin: 0; border: 0; border-radius: 10px; }
  .detail-header, .detail-content { padding-right: 19px; padding-left: 19px; }
  .detail-breadcrumbs, .detail-footer { padding-right: 19px; padding-left: 19px; }
  .detail-definitions { grid-template-columns: 1fr; }
  .detail-footer { align-items: start; flex-direction: column; }
  .site-footer { display: block; }
  .site-footer p { margin-top: 15px; text-align: left; }
  .signin-story, .signin-panel { padding: 34px 24px; }
  .signin-points { display: grid; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
