:root {
  --lcg-fg-dark: #02455c;
  --lcg-fg-blue: #005a92;
  --lcg-fg-light-blue: #54c0e8;
  --lcg-fg-pale-blue: #b6e3ff;
  --lcg-fg-orange: #f98509;
  --lcg-fg-yellow: #ffdd00;
  --lcg-fg-input: #ffff00;
  --lcg-fg-green: #237039;
  --lcg-fg-purple: #862064;
  --lcg-fg-wine: #8a1e41;
  --lcg-fg-black: #000000;
  --lcg-fg-white: #ffffff;
}

body.lcg-aaha-forecast-growth-specialist {
  color: var(--lcg-fg-black);
  background: var(--lcg-fg-white);
  font-family: Montserrat, Arial, sans-serif;
}

body.lcg-aaha-forecast-growth-specialist .ast-container,
body.lcg-aaha-forecast-growth-specialist .site-content > .ast-container,
body.lcg-aaha-forecast-growth-specialist #primary,
body.lcg-aaha-forecast-growth-specialist .entry-content,
body.lcg-aaha-forecast-growth-specialist .fl-builder-content,
body.lcg-aaha-forecast-growth-specialist .fl-row-content-wrap,
body.lcg-aaha-forecast-growth-specialist .fl-row-fixed-width {
  width: 100%;
  max-width: none;
}

body.lcg-aaha-forecast-growth-specialist .fl-row-content {
  width: calc(100% - clamp(24px, 4vw, 64px));
  max-width: none;
  margin-inline: auto;
}

/* Keep wide tables and charts inside their own scrollers instead of letting
   intrinsic grid sizing widen the page. Beaver's wrappers must all permit
   their descendants to shrink to the safe viewport width. */
body.lcg-aaha-forecast-growth-specialist :where(
  .fl-builder-content,
  .fl-row,
  .fl-row-content,
  .fl-row-content-wrap,
  .fl-col-group,
  .fl-col,
  .fl-col-content,
  .fl-module,
  .fl-module-content,
  section,
  article,
  figure,
  nav
) {
  min-width: 0;
}

body.lcg-aaha-forecast-growth-specialist .fl-row-content > *,
body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-row > * {
  max-width: 100%;
  min-width: 0;
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-row {
  margin-block: 0;
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-row + .lcg-aaha-fg-row {
  margin-top: clamp(18px, 2.2vw, 32px);
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-eyebrow {
  color: var(--lcg-fg-wine);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lcg-aaha-fg-visually-hidden {
  position: absolute !important;
  display: block !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  max-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  contain: strict !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.lcg-aaha-fg-source-note code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.lcg-aaha-fg-foundation-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  contain: inline-size;
}

.lcg-aaha-fg-foundation-tabs button {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--lcg-fg-blue);
  border-radius: 0;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-weight: 800;
  text-align: left;
  white-space: normal;
}

.lcg-aaha-fg-foundation-tabs button:hover,
.lcg-aaha-fg-foundation-tabs button:active,
.lcg-aaha-fg-foundation-tabs button[aria-pressed="true"] {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  box-shadow: inset 0 -5px 0 var(--lcg-fg-orange);
}

.lcg-aaha-fg-foundation-tabs button:focus-visible {
  outline: 3px solid var(--lcg-fg-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--lcg-fg-orange);
}

.lcg-aaha-fg-foundation-panel:not(.is-active) {
  display: none !important;
}

.lcg-aaha-fg-foundation-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  contain: inline-size;
}

.lcg-aaha-fg-transformation-intro > .fl-row-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(120deg, rgba(84, 192, 232, 0.12), transparent 58%), var(--lcg-fg-white);
}

.lcg-aaha-fg-transformation-intro .fl-col { width: auto !important; }
.lcg-aaha-fg-transformation-intro .fl-module-heading h2 {
  margin: 0 0 10px;
  color: var(--lcg-fg-dark);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-working-status {
  padding: 16px 18px;
  border-left: 8px solid var(--lcg-fg-orange);
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-working-status :where(p, strong) {
  color: var(--lcg-fg-white);
}

body.lcg-aaha-forecast-growth-specialist main :where(p, li, label, td, th, figcaption, input, select, button, a) {
  font-size: max(16px, 1rem);
  line-height: 1.45;
}

body.lcg-aaha-forecast-growth-specialist main :where(h1, h2, h3, strong, b) {
  color: inherit;
}

.lcg-aaha-fg-context,
.lcg-aaha-fg-selection,
.lcg-aaha-fg-comparison,
.lcg-aaha-fg-chart,
.lcg-aaha-fg-table-region,
.lcg-aaha-fg-table-wrap,
.lcg-aaha-fg-assumption,
.lcg-aaha-fg-kpi,
.lcg-aaha-fg-maturity-step,
.lcg-aaha-fg-growth-cell {
  box-sizing: border-box;
}

.lcg-aaha-fg-context {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(220px, 0.7fr) minmax(300px, 1.5fr);
  gap: 16px;
  align-items: end;
  width: 100%;
  padding: 18px;
  border-top: 6px solid var(--lcg-fg-orange);
  background: var(--lcg-fg-dark);
  color: var(--lcg-fg-white);
}

.lcg-aaha-fg-context label,
.lcg-aaha-fg-context label > span,
.lcg-aaha-fg-context > div,
.lcg-aaha-fg-context > div > * {
  display: block;
  color: var(--lcg-fg-white);
}

.lcg-aaha-fg-context label > span,
.lcg-aaha-fg-context > div > span {
  margin-bottom: 6px;
  font-weight: 750;
}

.lcg-aaha-fg-context select,
.lcg-aaha-fg-comparison select {
  width: 100%;
  min-height: 44px;
  padding: 8px 38px 8px 12px;
  border: 2px solid var(--lcg-fg-blue);
  border-radius: 0;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-context select:disabled {
  border-color: var(--lcg-fg-dark);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  opacity: 1;
  cursor: not-allowed;
}

.lcg-aaha-fg-context p {
  max-width: 72ch;
  margin: 0;
  color: var(--lcg-fg-white);
}

.lcg-aaha-fg-context :focus-visible,
.lcg-aaha-fg-selection :focus-visible,
.lcg-aaha-fg-landscape :focus-visible,
.lcg-aaha-fg-comparison :focus-visible,
.lcg-aaha-fg-chart :focus-visible,
.lcg-aaha-fg-table-region :focus-visible,
.lcg-aaha-fg-assumption :focus-visible,
.lcg-aaha-fg-matrix-controls :focus-visible,
.lcg-aaha-fg-growth-matrix-grid .fl-col:focus-visible,
.lcg-aaha-fg-source-matrix-grid .fl-col:focus-visible,
.fixture-growth-matrix-scroll:focus-visible,
.fixture-source-matrix-scroll:focus-visible,
body.lcg-aaha-forecast-growth-specialist .fl-button:focus-visible {
  outline: 3px solid var(--lcg-fg-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--lcg-fg-orange);
}

.lcg-aaha-fg-maturity-step {
  min-height: 190px;
  padding: 16px 14px;
  border: 1px solid rgba(22, 63, 80, 0.15);
  border-top: 5px solid var(--stage-color, #163f50);
  background: var(--lcg-fg-white);
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-maturity-step[data-step="1"] { --stage-color: #163f50; }
.lcg-aaha-fg-maturity-step[data-step="2"] { --stage-color: #1e6576; }
.lcg-aaha-fg-maturity-step[data-step="3"] { --stage-color: #54c0e8; }
.lcg-aaha-fg-maturity-step[data-step="4"] { --stage-color: #2e6b47; }
.lcg-aaha-fg-maturity-step[data-step="5"] { --stage-color: #c9a300; }
.lcg-aaha-fg-maturity-step[data-step="6"] { --stage-color: #f98509; }
.lcg-aaha-fg-maturity-step[data-step="7"] { --stage-color: #862064; }

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-maturity-steps .fl-col-content {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.fixture-maturity {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-maturity-steps .fl-module {
  min-width: 0;
}

.lcg-aaha-fg-maturity-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.lcg-aaha-fg-maturity-step-top > span {
  color: var(--lcg-fg-dark);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}

.lcg-aaha-fg-maturity-step-top > i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-maturity-step-top svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lcg-aaha-fg-maturity-step-title,
.lcg-aaha-fg-maturity-step p {
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-maturity-step-title {
  display: block;
  margin: 0;
  color: var(--lcg-fg-dark);
  font-size: 16px;
}

.lcg-aaha-fg-maturity-step-period {
  display: block;
  margin-top: 4px;
  color: #657279;
  font-size: 16px;
  line-height: 1.4;
}

.lcg-aaha-fg-maturity-step p { margin: 12px 0 0; }

.lcg-aaha-fg-objective-outcome-grid > .fl-row-content {
  align-items: stretch;
}

.lcg-aaha-fg-objective-outcome-grid .fl-col-content {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 7px solid var(--lcg-fg-orange);
  background: var(--lcg-fg-white);
  box-shadow: 0 8px 24px rgba(2, 69, 92, 0.08);
}

.lcg-aaha-fg-objective-outcome-grid .fl-module-heading { padding: 15px 17px; }

.lcg-aaha-fg-foundation-card .fl-module-content,
.lcg-aaha-fg-foundation-card .fl-rich-text,
.fixture-foundation-card {
  height: 100%;
}

.lcg-aaha-fg-foundation-card .fl-rich-text > article,
.fixture-foundation-card {
  height: 100%;
  padding: 13px 17px;
  border: 0;
  border-top: 1px solid #d9e7eb;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-foundation-card.is-principle .fl-rich-text > article,
.fixture-foundation-card.is-principle {
  border: 2px solid var(--lcg-fg-dark);
  border-top: 7px solid var(--lcg-fg-purple);
  padding: 18px;
}

.lcg-aaha-fg-foundation-card :where(strong, p),
.fixture-foundation-card :where(strong, p) {
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-foundation-card p,
.fixture-foundation-card p {
  margin: 8px 0 0;
}

.lcg-aaha-fg-guiding-principles .fl-col-content,
.fixture-foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lcg-aaha-fg-moving-priorities .fl-col-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 7px solid var(--lcg-fg-orange);
  background: var(--lcg-fg-white);
  box-shadow: 0 8px 24px rgba(2, 69, 92, 0.08);
}

.lcg-aaha-fg-moving-priorities .fl-module-heading { padding: 15px 17px; }

.fixture-objective-outcome {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.fixture-foundation-list {
  border-top: 7px solid var(--lcg-fg-orange);
  background: var(--lcg-fg-white);
  box-shadow: 0 8px 24px rgba(2, 69, 92, 0.08);
}

.fixture-foundation-list h2 { margin: 0; padding: 15px 17px; }
.fixture-foundation-list article { padding: 13px 17px; border-top: 1px solid #d9e7eb; }
.fixture-foundation-list article p { margin: 8px 0 0; }
.fixture-guiding-principles { margin-top: 30px; padding-top: 26px; border-top: 2px solid rgba(84, 192, 232, 0.35); }

.lcg-aaha-fg-moving-priorities .fl-module-heading,
.lcg-aaha-fg-guiding-principles :where(.fl-module-heading, .lcg-aaha-fg-eyebrow),
.fixture-foundation-grid > :where(h2, .lcg-aaha-fg-eyebrow) {
  grid-column: 1 / -1;
}

.lcg-aaha-fg-growth-matrix-grid > .fl-row-content > .fl-col-group,
.lcg-aaha-fg-growth-matrix-grid > .fl-row-content > .fl-col-group > .fl-col {
  width: 100%;
  max-width: 100%;
}

.lcg-aaha-fg-growth-matrix-grid > .fl-row-content > .fl-col-group > .fl-col {
  overflow-x: auto;
  contain: inline-size;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-matrix-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lcg-aaha-fg-matrix-controls span {
  color: var(--lcg-fg-dark);
  font-weight: 750;
}

.lcg-aaha-fg-matrix-controls button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--lcg-fg-blue);
  border-radius: 0;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-size: 22px;
  font-weight: 850;
}

.lcg-aaha-fg-matrix-controls button:hover,
.lcg-aaha-fg-matrix-controls button:active {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-matrix-controls button:disabled {
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  opacity: 1;
  cursor: not-allowed;
}

.lcg-aaha-fg-growth-matrix-grid .fl-col-content,
.fixture-growth-matrix {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 116px repeat(3, minmax(0, 1fr));
  grid-template-rows: 58px repeat(3, minmax(126px, 1fr));
  gap: 4px;
  margin-inline: auto;
}

.lcg-aaha-fg-growth-matrix-grid .fl-module,
.lcg-aaha-fg-growth-matrix-grid .fl-module-content,
.lcg-aaha-fg-growth-matrix-grid .fl-rich-text {
  width: 100%;
  height: 100%;
  margin: 0;
}

.lcg-aaha-fg-growth-axis .fl-rich-text,
.fixture-growth-axis {
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid #bdd3dc;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  font-weight: 800;
  text-align: center;
}

.lcg-aaha-fg-growth-axis.is-corner .fl-rich-text,
.fixture-growth-axis.is-corner {
  color: var(--lcg-fg-dark);
  background: #eef7fa;
}

.lcg-aaha-fg-source-matrix-grid > .fl-row-content > .fl-col-group > .fl-col {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  contain: inline-size;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-source-matrix-grid > .fl-row-content,
.lcg-aaha-fg-source-matrix-grid > .fl-row-content > .fl-col-group,
.lcg-aaha-fg-source-matrix-grid > .fl-row-content > .fl-col-group > .fl-col {
  min-width: 0;
  contain: inline-size;
}

.lcg-aaha-fg-source-matrix-grid .fl-col-content {
  display: grid;
  width: 100%;
  min-width: 540px;
  grid-template-columns: 150px repeat(3, minmax(130px, 1fr));
  gap: 0;
  margin-inline: auto;
  border-top: 1px solid #afc3ca;
  border-left: 1px solid #afc3ca;
}

.lcg-aaha-fg-source-matrix-grid .fl-module-content,
.lcg-aaha-fg-source-matrix-grid .fl-rich-text {
  height: 100%;
  margin: 0;
}

.lcg-aaha-fg-source-matrix-cell .fl-rich-text {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid #afc3ca;
  border-bottom: 1px solid #afc3ca;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  text-align: center;
}

.lcg-aaha-fg-source-matrix-cell.is-heading .fl-rich-text {
  min-height: 52px;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-source-matrix-cell.is-row-heading .fl-rich-text {
  justify-items: start;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  text-align: left;
}

.lcg-aaha-fg-growth-matrix-scroll,
.fixture-growth-matrix-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  min-width: 0;
  contain: inline-size;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
  scrollbar-width: auto;
}

.lcg-aaha-fg-foundation-matrix {
  overflow: hidden;
}

.lcg-aaha-fg-growth-cell {
  display: flex;
  min-height: 126px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid #bdd3dc;
  color: var(--lcg-fg-dark);
  background: #eef7fa;
  text-align: center;
}

.lcg-aaha-fg-growth-cell[data-row="1"][data-column="3"] {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-purple);
}

.lcg-aaha-fg-growth-cell[data-row="1"][data-column="3"] :where(strong, p) {
  color: var(--lcg-fg-white);
}

.fixture-source-matrix-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  contain: inline-size;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.fixture-source-matrix {
  display: grid;
  width: 100%;
  min-width: 540px;
  grid-template-columns: 150px repeat(3, minmax(130px, 1fr));
  gap: 0;
  border-top: 1px solid #afc3ca;
  border-left: 1px solid #afc3ca;
}

.fixture-source-matrix > div {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid #afc3ca;
  border-bottom: 1px solid #afc3ca;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-weight: 750;
  text-align: center;
}

.fixture-source-matrix > .is-heading {
  min-height: 52px;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.fixture-source-matrix > .is-row-heading {
  justify-items: start;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  text-align: left;
}

.lcg-aaha-fg-growth-cell strong { font-size: 18px; }
.lcg-aaha-fg-growth-cell p { margin: 8px 0 0; color: inherit; }

.lcg-aaha-fg-assumption {
  min-height: 100%;
  padding: 18px;
  border: 2px solid var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-assumption label {
  display: block;
  margin-bottom: 8px;
  color: var(--lcg-fg-dark);
  font-weight: 800;
}

.lcg-aaha-fg-assumption > span {
  display: flex;
  align-items: stretch;
}

.lcg-aaha-fg-assumption input[data-lcg-aaha-fg-input],
.lcg-aaha-fg-governed-input {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  flex: 1;
  padding: 8px 10px;
  border: 2px solid var(--lcg-fg-black) !important;
  border-radius: 0;
  color: var(--lcg-fg-black) !important;
  background: var(--lcg-fg-input) !important;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.lcg-aaha-fg-table .lcg-aaha-fg-governed-input {
  width: 100%;
  min-width: 72px;
}

.lcg-aaha-fg-governed-input[type="text"] {
  min-width: 190px;
}

.lcg-aaha-fg-record-select {
  min-width: 190px;
  min-height: 44px;
  padding: 8px 38px 8px 10px;
  border: 2px solid var(--lcg-fg-blue);
  border-radius: 0;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-assumption > span > b {
  display: grid;
  min-width: 46px;
  place-items: center;
  padding: 0 10px;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-assumption p { margin: 10px 0 0; color: var(--lcg-fg-dark); }

.lcg-aaha-fg-kpi {
  display: grid;
  min-height: 170px;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-left: 8px solid var(--lcg-fg-yellow);
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-kpi small,
.lcg-aaha-fg-kpi strong,
.lcg-aaha-fg-kpi span { color: inherit; }
.lcg-aaha-fg-kpi strong { font-size: clamp(34px, 4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.lcg-aaha-fg-kpi.is-orange { color: var(--lcg-fg-black); background: var(--lcg-fg-orange); }
.lcg-aaha-fg-kpi.is-green { color: var(--lcg-fg-white); background: var(--lcg-fg-green); }
.lcg-aaha-fg-kpi.is-wine { color: var(--lcg-fg-white); background: var(--lcg-fg-wine); }
.lcg-aaha-fg-kpi.is-purple { color: var(--lcg-fg-white); background: var(--lcg-fg-purple); }

.lcg-aaha-fg-chart {
  width: 100%;
  margin: 0;
  padding: clamp(16px, 2vw, 28px);
  border: 2px solid var(--lcg-fg-pale-blue);
  background: var(--lcg-fg-white);
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-chart-stage {
  position: relative;
  width: 100%;
  min-height: clamp(340px, 45vw, 620px);
  overflow: hidden;
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="existing"] .lcg-aaha-fg-chart-stage,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="new-customers"] .lcg-aaha-fg-chart-stage,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="reduced-churn"] .lcg-aaha-fg-chart-stage {
  overflow-x: auto;
  min-height: 0;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="existing"] svg,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="new-customers"] svg,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="reduced-churn"] svg {
  min-width: 760px;
  height: auto;
  min-height: 0;
  aspect-ratio: 1100 / 520;
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="selected-revenue"] .lcg-aaha-fg-chart-stage {
  min-height: clamp(300px, 25.56vw, 330px);
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="sales-cogs-sga"] .lcg-aaha-fg-chart-stage {
  height: 414px;
  min-height: 414px;
  max-height: 414px;
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="maturity-curve"] {
  padding: 20px 22px 12px;
  border: 1px solid rgba(22, 63, 80, 0.18);
  border-top: 7px solid var(--lcg-fg-dark);
  background:
    radial-gradient(circle at 82% 20%, rgba(84, 192, 232, 0.17), transparent 34%),
    linear-gradient(135deg, rgba(238, 247, 250, 0.96), rgba(255, 255, 255, 0.98));
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="maturity-curve"] .lcg-aaha-fg-chart-stage {
  min-height: 0;
  overflow-x: auto;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="maturity-curve"] svg {
  min-width: 760px;
  min-height: 0;
  aspect-ratio: 1200 / 255;
}

.lcg-aaha-fg-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: visible;
}

.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="existing"] svg,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="new-customers"] svg,
.lcg-aaha-fg-chart[data-lcg-aaha-fg-chart="reduced-churn"] svg {
  height: auto;
  min-height: 0;
}

.lcg-aaha-fg-chart figcaption {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-native-bars {
  display: grid;
  height: 100%;
  min-height: inherit;
  align-content: stretch;
  gap: 14px;
  padding: 16px 0;
}

.lcg-aaha-fg-native-bar {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: center;
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-native-bar > i {
  display: flex;
  min-height: 34px;
  overflow: hidden;
  background: var(--lcg-fg-white);
  box-shadow: inset 0 0 0 2px var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-native-bar > i > span { min-width: 0; height: 34px; }
.lcg-aaha-fg-native-bar strong { color: var(--lcg-fg-dark); text-align: right; font-variant-numeric: tabular-nums; }

.lcg-aaha-fg-native-groups {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  align-content: stretch;
  gap: 4px;
  padding: 4px 0;
}

.lcg-aaha-fg-native-group {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 0;
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-native-group > span {
  color: var(--lcg-fg-dark);
  font-weight: 800;
}

.lcg-aaha-fg-native-group > div {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.lcg-aaha-fg-native-lane {
  display: grid;
  grid-template-columns: minmax(50px, 86px) minmax(0, 1fr) 82px;
  gap: 8px;
  align-items: center;
  min-height: 0;
  color: var(--lcg-fg-dark);
  line-height: 1;
}

.lcg-aaha-fg-native-lane > i {
  display: block;
  height: 12px;
  background: var(--lcg-fg-white);
  box-shadow: inset 0 0 0 1px var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-native-lane > i > span {
  display: block;
  height: 12px;
}

.lcg-aaha-fg-native-lane > b {
  color: var(--lcg-fg-dark);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lcg-aaha-fg-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 2px solid var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
  scrollbar-width: auto;
}

.lcg-aaha-fg-table-region {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-table-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 8px;
}

.lcg-aaha-fg-table-controls span {
  color: var(--lcg-fg-dark);
  font-weight: 750;
}

.lcg-aaha-fg-table-controls button {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--lcg-fg-blue);
  border-radius: 0;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-size: 22px;
  font-weight: 850;
}

.lcg-aaha-fg-table-controls button:hover,
.lcg-aaha-fg-table-controls button:active {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-table-controls button:disabled {
  border-color: var(--lcg-fg-dark);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  cursor: not-allowed;
}

.lcg-aaha-fg-table-wrap::-webkit-scrollbar { height: 14px; }
.lcg-aaha-fg-table-wrap::-webkit-scrollbar-track { background: var(--lcg-fg-pale-blue); }
.lcg-aaha-fg-table-wrap::-webkit-scrollbar-thumb { background: var(--lcg-fg-blue); border: 2px solid var(--lcg-fg-white); }

.lcg-aaha-fg-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-variant-numeric: tabular-nums;
}

.lcg-aaha-fg-table caption {
  padding: 14px;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  font-weight: 850;
  text-align: left;
}

.lcg-aaha-fg-table th,
.lcg-aaha-fg-table td {
  padding: 12px;
  border: 1px solid var(--lcg-fg-pale-blue);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  text-align: right;
  vertical-align: top;
}

.lcg-aaha-fg-record-state {
  display: inline-block;
  min-width: 150px;
  padding: 7px 9px;
  border-left: 5px solid var(--lcg-fg-orange);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  font-weight: 750;
}

.lcg-aaha-fg-record-state.is-governed {
  border-left-color: var(--lcg-fg-green);
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-green);
}

.lcg-aaha-fg-table th:first-child,
.lcg-aaha-fg-table td:first-child { text-align: left; }
.lcg-aaha-fg-table thead th { color: var(--lcg-fg-dark); background: var(--lcg-fg-pale-blue); }

.lcg-aaha-fg-selection {
  width: 100%;
  padding: clamp(20px, 3vw, 38px);
  border-top: 8px solid var(--lcg-fg-light-blue);
  background: var(--lcg-fg-white);
  color: var(--lcg-fg-dark);
  box-shadow: inset 0 0 0 2px var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-selection > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lcg-aaha-fg-landscape {
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 32px);
  border-top: 8px solid var(--lcg-fg-light-blue);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  box-shadow: inset 0 0 0 2px var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-landscape > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.lcg-aaha-fg-landscape-kpis { display: flex; flex-wrap: wrap; gap: 8px; }
.lcg-aaha-fg-landscape-kpis span {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  font-weight: 800;
}

.lcg-aaha-fg-landscape-stage {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid #C5DFE8;
  background: #EEF8FB;
  scrollbar-color: var(--lcg-fg-blue) var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-landscape-stage svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
  aspect-ratio: 900 / 600;
}

.lcg-aaha-fg-landscape-unavailable {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 7px solid var(--lcg-fg-orange);
  color: var(--lcg-fg-dark);
  background: #FFF7ED;
}

.lcg-aaha-fg-landscape-unavailable :where(h3, p, ul) { margin-block: 0 10px; }

.lcg-aaha-fg-actions,
.lcg-aaha-fg-comparison-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 18px;
}

.lcg-aaha-fg-actions a,
.lcg-aaha-fg-actions button,
.lcg-aaha-fg-comparison button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid var(--lcg-fg-blue);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-weight: 800;
  text-decoration: none;
}

.lcg-aaha-fg-actions a:hover,
.lcg-aaha-fg-actions a:active,
.lcg-aaha-fg-actions button:hover,
.lcg-aaha-fg-actions button:active,
.lcg-aaha-fg-comparison button:hover,
.lcg-aaha-fg-comparison button:active {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
}

.lcg-aaha-fg-actions a[aria-current="page"],
.lcg-aaha-fg-comparison button[aria-pressed="true"] {
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  box-shadow: inset 0 -5px 0 var(--lcg-fg-orange);
}

.lcg-aaha-fg-actions a[aria-disabled="true"],
.lcg-aaha-fg-actions button:disabled,
.lcg-aaha-fg-comparison button:disabled {
  border-color: var(--lcg-fg-dark);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  opacity: 1;
  cursor: not-allowed;
}

.lcg-aaha-fg-selected-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.lcg-aaha-fg-selected-ideas article {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-left: 6px solid var(--lcg-fg-orange);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-selected-ideas button {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--lcg-fg-blue);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
  font-size: 26px;
  line-height: 1;
}

.lcg-aaha-fg-selected-ideas button:disabled {
  border-color: var(--lcg-fg-dark);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  opacity: 1;
  cursor: not-allowed;
}

.lcg-aaha-fg-comparison {
  width: 100%;
  padding: clamp(18px, 2.5vw, 34px);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-comparison-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: end;
}

.lcg-aaha-fg-comparison-controls label { color: var(--lcg-fg-dark); font-weight: 800; }

.lcg-aaha-fg-comparison-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.lcg-aaha-fg-comparison-overlap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lcg-aaha-fg-comparison-overlap article {
  padding: 15px;
  border: 1px solid var(--lcg-fg-pale-blue);
  color: var(--lcg-fg-dark);
  background: #eef8fb;
  text-align: center;
}

.lcg-aaha-fg-comparison-overlap strong {
  display: block;
  color: var(--lcg-fg-dark);
  font-size: 24px;
}

.lcg-aaha-fg-comparison-metrics {
  display: grid;
  gap: 10px;
}

.lcg-aaha-fg-comparison-metrics > div {
  display: grid;
  grid-template-columns: 150px 110px 1fr 42px 1fr 42px;
  gap: 10px;
  align-items: center;
}

.lcg-aaha-fg-metric-unavailable {
  padding: 4px 8px;
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
  font-weight: 750;
}

.lcg-aaha-fg-metric-track {
  display: block;
  height: 14px;
  border: 1px dashed var(--lcg-fg-blue);
  background: var(--lcg-fg-white);
}

.lcg-aaha-fg-metric-track.is-y { border-color: var(--lcg-fg-orange); }

.lcg-aaha-fg-governance,
.lcg-aaha-fg-empty {
  padding: 16px 18px;
  border-left: 7px solid var(--lcg-fg-orange);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-empty {
  display: grid;
  min-height: 180px;
  align-content: center;
}

.lcg-aaha-fg-empty :where(strong, p) {
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.lcg-aaha-fg-comparison-columns article {
  padding: 18px;
  border-top: 8px solid var(--lcg-fg-blue);
  color: var(--lcg-fg-dark);
  background: var(--lcg-fg-pale-blue);
}

.lcg-aaha-fg-comparison-columns article.is-y {
  border-top-color: var(--lcg-fg-orange);
}

.lcg-aaha-fg-comparison-columns :where(h3, p, li) {
  color: var(--lcg-fg-dark);
}

.lcg-aaha-fg-comparison-columns ol {
  margin: 12px 0 0;
  padding-left: 24px;
  columns: 2;
}

.lcg-aaha-fg-comparison-summary article {
  padding: 18px;
  border-top: 7px solid var(--lcg-fg-blue);
  color: var(--lcg-fg-white);
  background: var(--lcg-fg-dark);
  text-align: center;
}

.lcg-aaha-fg-comparison-summary article:nth-child(2) { border-top-color: var(--lcg-fg-orange); }
.lcg-aaha-fg-comparison-summary article:nth-child(3) { border-top-color: var(--lcg-fg-green); }
.lcg-aaha-fg-comparison-summary article:nth-child(4) { border-top-color: var(--lcg-fg-purple); }

.lcg-aaha-fg-comparison-summary strong { display: block; font-size: 32px; font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .lcg-aaha-fg-landscape > header { grid-template-columns: 1fr; }
  .lcg-aaha-fg-landscape-stage { max-width: calc(100vw - 66px); }
  body.lcg-aaha-forecast-growth-specialist .fl-row-content {
    width: calc(100% - 30px);
  }

  .lcg-aaha-fg-context,
  .lcg-aaha-fg-comparison-controls,
  .lcg-aaha-fg-comparison-summary,
  .lcg-aaha-fg-comparison-overlap,
  .lcg-aaha-fg-comparison-columns {
    grid-template-columns: 1fr;
  }

  .lcg-aaha-fg-transformation-intro > .fl-row-content { grid-template-columns: 1fr; }
  .fixture-objective-outcome { grid-template-columns: 1fr; }

  .lcg-aaha-fg-foundation-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lcg-aaha-fg-guiding-principles .fl-col-content,
  .fixture-foundation-grid {
    grid-template-columns: 1fr;
  }

  .lcg-aaha-fg-chart-stage { min-height: 320px; }
  .lcg-aaha-fg-native-bar { grid-template-columns: 50px minmax(0, 1fr) 76px; gap: 8px; }
  .lcg-aaha-fg-native-group { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
  .lcg-aaha-fg-native-lane { grid-template-columns: 58px minmax(0, 1fr) 66px; gap: 5px; }
  .lcg-aaha-fg-native-lane > span,
  .lcg-aaha-fg-native-lane > b { font-size: 16px; }
  .lcg-aaha-fg-comparison-metrics > div { grid-template-columns: 1fr 110px 1fr 42px; }
  .lcg-aaha-fg-comparison-metrics .lcg-aaha-fg-metric-track.is-y { grid-column: 3; }
  .lcg-aaha-fg-comparison-metrics .lcg-aaha-fg-metric-track.is-y + b { grid-column: 4; }
  .lcg-aaha-fg-comparison-columns ol { columns: 1; }
  .lcg-aaha-fg-table-controls { justify-content: space-between; }
  body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-maturity-steps .fl-col-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .fixture-maturity {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body.lcg-aaha-forecast-growth-specialist .lcg-aaha-fg-maturity-steps .fl-module {
    min-width: 0;
  }

  .lcg-aaha-fg-growth-matrix-grid .fl-col-content,
  .fixture-growth-matrix {
    min-width: 522px;
    grid-template-columns: 90px repeat(3, minmax(140px, 1fr));
  }

  .lcg-aaha-fg-source-matrix-grid .fl-col-content,
  .fixture-source-matrix {
    min-width: 480px;
    grid-template-columns: 105px repeat(3, 125px);
  }


  .fixture-growth-matrix-scroll,
  .fixture-source-matrix-scroll,
  .lcg-aaha-fg-growth-matrix-grid > .fl-row-content > .fl-col-group > .fl-col,
  .lcg-aaha-fg-source-matrix-grid > .fl-row-content > .fl-col-group > .fl-col {
    width: min(100%, calc(100vw - 30px)) !important;
    max-width: calc(100vw - 30px) !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    contain: inline-size;
  }

  .lcg-aaha-fg-foundation-matrix,
  .lcg-aaha-fg-growth-matrix-grid,
  .lcg-aaha-fg-source-matrix-grid {
    width: min(100%, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    min-width: 0;
    overflow: hidden;
  }
}
