/* GP259: historical Home selectors are explicitly retired for .gp259-home-authority; module/room styles remain. */
/* GP258 — intrinsic Home flow and responsive Daily Decision Room.
   Loaded after the legacy styles. No surface is removed to obtain a QA pass. */

/* Release History is available in the persistent command dock. Remove its
   duplicate floating launcher, which otherwise covers the Guardian header. */
body.gp249-command-converged > .rn205-entry { display: none !important; }
.dcw258 input[type="range"] { min-height: 44px; }

/* GP188 changed the center to flex while its ancestors retained fixed heights.
   Allow the existing spine to occupy its real content height without shrinking
   it or moving content over the globe. Preserve desktop column widths. */
html body:not(.gp259-home-authority).gp150-home-authority .experience {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: auto !important;
  align-items: start;
  padding-bottom: 100px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .experience > .intelligence-stage {
  display: flex !important;
  flex-direction: column;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0;
  align-self: start;
}
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > :is(.market-context, .slcs255, .world, .dc157, .canvas-zone, .lower-intelligence) {
  flex: 0 0 auto;
  min-width: 0;
}
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .market-context { order: 0; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .world { order: 1; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .slcs255 { order: 2; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .dc157 { order: 3; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .canvas-zone { order: 4; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .lower-intelligence { order: 5; }

/* The legacy hover cap cut off authorization/commitment rows. Content must
   remain available without hover, including touch and keyboard sessions. */
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .dc157 {
  height: auto !important;
  max-height: none !important;
  transition: none;
}
/* The active kernel supplies complete readings, not the former short labels.
   These canonical passages need readable type and intrinsic track height. */
html body.gp150-home-authority .dc157 :is([data-dc-reading], [data-dc-pressure], [data-dc-question], [data-cf-next]),
html body.gp150-home-authority .dc157 .cf158-flow strong {
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
html body.gp150-home-authority .dc157 [data-dc-question] { display: block; margin-top: 5px; }
html body.gp150-home-authority .dc157 .cf158 aside > span { min-width: 0; }
@media (min-width: 701px) {
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .dc157 {
    grid-template-rows: minmax(54px, auto) minmax(76px, auto) minmax(44px, auto) minmax(46px, auto) minmax(48px, auto) minmax(52px, auto) !important;
  }
  html body.gp150-home-authority .dc157 .dc157-brief {
    grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 100px;
  }
}
@media (max-width: 700px) {
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .dc157 {
    grid-template-rows: minmax(56px, auto) minmax(100px, auto) minmax(130px, auto) minmax(64px, auto) minmax(74px, auto) minmax(86px, auto) minmax(92px, auto) !important;
  }
  html body.gp150-home-authority .dc157 .dc157-brief {
    grid-template-rows: minmax(76px, auto) minmax(54px, auto);
  }
  html body.gp150-home-authority .dc157 .cf158 { grid-template-columns: minmax(0, 1fr); }
  html body.gp150-home-authority .dc157 .cf158 aside {
    grid-column: 1;
    grid-row: 2;
    gap: 6px;
    padding: 8px;
    border-left: 0;
    border-top: 1px solid rgba(211, 174, 79, .3);
  }
}

@media (min-width: 1280px) {
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .world:not(.world-expanded) {
    height: 450px !important;
    min-height: 450px !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .world:not(.world-expanded) > .world-core {
    height: 450px !important;
  }
}

/* Keep the existing World caption attached to the rendered core. The kernel
   now supplies a concise active label that must remain visible at every size. */
html body.gp150-home-authority .world:not(.world-expanded) > .world-core > .world-axis {
  display: block !important;
  bottom: 12px !important;
  opacity: 1 !important;
  width: max-content;
  max-width: min(95%, calc(100vw - 40px));
  padding: 6px 10px;
  border: 1px solid rgba(82, 190, 215, .3);
  border-radius: 6px;
  background: rgba(1, 10, 17, .9);
  pointer-events: none;
}
html body.gp150-home-authority .world:not(.world-expanded) .world-axis > span {
  display: block !important;
  font-size: 10px !important;
  line-height: 1.3;
  letter-spacing: .14em;
}
html body.gp150-home-authority .world:not(.world-expanded) .world-axis > b {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.4;
  letter-spacing: .02em;
  color: #dceff2 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Canonical Canvas text grows in its existing footer, below the live lenses. */
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .canvas-zone { height: auto !important; }
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .canvas-zone > .canvas-grid.canvas-tribunal-081 {
  height: auto !important;
  grid-template-rows: auto !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon {
  display: grid !important;
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 28px;
  padding: 10px 12px !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, .8fr) max-content minmax(0, 1.8fr) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto;
  align-items: start;
  gap: 8px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon > * {
  display: block !important;
  min-width: 0;
  grid-column: auto;
  grid-row: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon > span {
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  overflow-wrap: normal;
}
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon > :is(strong, b, em),
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-decision > :is(strong, small) {
  font-size: 12px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon > div { grid-column: 1 / -1; }
@media (max-width: 700px) {
  html body:not(.gp259-home-authority).gp150-home-authority .canvas-zone .tribunal-ribbon {
    grid-template-columns: max-content minmax(0, 1fr) !important;
  }
}

html body .slcs255 {
  box-sizing: border-box;
  height: auto !important;
  min-height: min-content !important;
  max-height: none !important;
  min-width: 0;
  margin: 8px 0 10px;
  overflow: visible;
  align-self: stretch;
}
html body .slcs255 > header {
  gap: 16px;
  align-items: start;
  padding: 16px;
}
html body .slcs255 > header > div { min-width: 0; flex: 1; }
html body .slcs255 > header aside { flex: 0 0 auto; min-width: 96px; }
html body .slcs255 h2 { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.2; }
html body .slcs255 :is(p, strong, b, span, output) { overflow-wrap: anywhere; }
html body .slcs255 header p { max-width: none; font-size: 12px; line-height: 1.45; }
html body .slcs255 > nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .slcs255 > nav button { min-width: 0; min-height: 60px; padding: 9px; }
html body .slcs255 > nav button span { font-size: 12px; }
html body .slcs255 > nav button b {
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
html body .slcs255 .slcs255-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding: 12px;
}
html body .slcs255-flow article { min-width: 0; min-height: 0; padding: 10px; }
html body .slcs255-flow strong { margin: 8px 0; font-size: 12px; line-height: 1.45; }
html body .slcs255-flow p { font-size: 12px; line-height: 1.45; }
html body .slcs255 > footer {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  padding: 12px 16px;
  gap: 12px;
}
html body .slcs255 > footer > * { min-width: 0; }
html body .slcs255 > footer :is(p, span, output) { font-size: 12px; line-height: 1.45; }
html body .slcs255 > footer button {
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}
html body .slcs255 > footer output { text-align: left; }
html body .slcs255 > :is(.dcw258-launch, .sccw257-launch) {
  position: static;
  display: block;
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: none;
  min-width: 0;
  height: auto;
  min-height: 64px;
  margin: 12px;
  padding: 12px 16px;
  white-space: normal;
}
html body .slcs255 > :is(.dcw258-launch, .sccw257-launch) :is(small, strong) {
  font-size: 12px;
  line-height: 1.45;
}

/* Keep the established tablet shell, with no fixed-height central track. */
@media (min-width: 701px) and (max-width: 1279px) {
  html body:not(.gp259-home-authority).gp150-home-authority .experience {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 98px auto auto !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .experience > .left-rail { grid-row: 1 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .experience > .intelligence-stage { grid-row: 2 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .experience > .right-rail { grid-row: 3 !important; }
  html body .slcs255 .slcs255-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body .slcs255-flow article:not(:last-child)::after { content: none; }
}

/* At mobile the legacy containers become contents. Assign every visible main
   surface a distinct row using specificity above the historical overrides. */
@media (max-width: 700px) {
  html body:not(.gp259-home-authority).gp150-home-authority .experience {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 82px 360px auto auto auto auto auto auto auto !important;
    grid-auto-rows: auto;
    gap: 10px !important;
    padding-bottom: 180px !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .experience > .intelligence-stage,
  html body:not(.gp259-home-authority).gp150-home-authority .experience > .right-rail {
    display: contents !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .market-context { grid-row: 1 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .world:not(.world-expanded) { grid-row: 2 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .slcs255 { grid-column: 1 !important; grid-row: 3 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .dc157 { grid-column: 1 !important; grid-row: 4 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .guardian-presence { grid-row: 5 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .canvas-zone { grid-row: 6 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .lower-intelligence { grid-row: 7 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .alerts-080 { grid-row: 8 !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .market-summary-080 { grid-row: 9 !important; }

  html body .slcs255 { margin: 0; }
  html body .slcs255 > header { flex-wrap: wrap; gap: 10px; padding: 14px; }
  html body .slcs255 > header > div { flex-basis: 230px; }
  html body .slcs255 > header aside {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    max-width: 100%;
  }
  html body .slcs255 > header aside > * { min-width: 0; max-width: 100%; }
  html body .slcs255 > header aside strong { font-size: 24px; }
  html body .slcs255 > nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .slcs255 .slcs255-flow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html body .slcs255-flow article:not(:last-child)::after { content: none; }
  html body .slcs255 > footer { grid-template-columns: minmax(0, 1fr); }

  html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .guardian-presence {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: 58px 278px auto auto !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .guardian-dialogue {
    height: auto !important;
    min-height: 108px;
    grid-template-rows: auto auto;
    overflow: visible;
  }
  html body.gp150-home-authority .guardian-synthesis { font-size: 12px; line-height: 1.45; overflow: visible; }
  html body.gp150-home-authority .guardian-primary { height: auto; min-height: 44px; font-size: 12px; }
  html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .quick-actions {
    height: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 22px repeat(3, minmax(44px, auto)) !important;
    gap: 6px;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .quick-actions button {
    height: auto !important;
    min-height: 44px;
    padding: 8px 5px;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .canvas-grid > .tribunal-lens:nth-child(n+5) { display: block !important; }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .canvas-zone {
    height: auto !important;
    min-height: 470px !important;
  }
  html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .lower-intelligence {
    height: auto !important;
    min-height: 0 !important;
  }
  html body .addr249-dock { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* Guardian controls are functional labels, not miniature diagram captions.
   Intrinsic rows keep its dialogue and six actions visible at every width. */
html body:not(.gp259-home-authority).gp150-home-authority .experience > .right-rail {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: auto auto auto !important;
  align-content: start;
}
html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .guardian-presence {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: auto minmax(320px, auto) auto auto !important;
  overflow: visible;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > header {
  min-height: 72px;
  height: auto !important;
  padding: 12px !important;
  grid-template-columns: 32px minmax(0, 1fr) 44px !important;
  gap: 10px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > header > div { min-width: 0; }
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > header small {
  font-size: 12px !important;
  white-space: normal !important;
  line-height: 1.35;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-control {
  width: 44px !important;
  height: 44px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .guardian-intelligence-field {
  height: auto !important;
  min-height: 320px;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr) !important;
  padding: 10px 8px !important;
  gap: 6px !important;
  overflow: visible;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence :is(.guardian-input-chain, .guardian-output-chain) {
  min-width: 0;
  grid-template-rows: repeat(3, minmax(104px, auto));
  gap: 7px;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence :is(.guardian-input-chain, .guardian-output-chain) button {
  min-width: 0;
  min-height: 104px;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 24px auto auto;
  align-content: center;
  gap: 4px !important;
  padding: 7px 6px !important;
  transform: none;
  overflow: visible;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence :is(.guardian-input-chain, .guardian-output-chain) button i {
  display: grid !important;
  width: 24px !important;
  height: 24px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence :is(.guardian-input-chain, .guardian-output-chain) button :is(small, strong, b) {
  display: block !important;
  position: static !important;
  min-width: 0;
  font-size: 12px !important;
  line-height: 1.3 !important;
  letter-spacing: 0;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence :is(.guardian-input-chain, .guardian-output-chain) button b {
  grid-column: 1 / -1;
  margin-top: 3px;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-core-stage { min-width: 0; }
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-stage-kicker {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .04em;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-confidence :is(small, strong) { font-size: 12px; }
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .guardian-dialogue {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 8px !important;
  padding: 12px !important;
  gap: 8px;
  overflow: visible;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-dialogue .eyebrow {
  grid-column: 1 !important;
  grid-row: 1 !important;
  font-size: 12px !important;
  line-height: 1.35;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-synthesis,
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-synthesis :is(span, strong, b) {
  min-height: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-synthesis {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .guardian-primary {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  height: auto !important;
  min-height: 44px;
  padding: 10px;
  font-size: 12px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .quick-actions {
  height: auto !important;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto repeat(3, minmax(44px, auto)) !important;
  gap: 6px !important;
  padding: 10px 8px !important;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .quick-actions-title { font-size: 12px !important; line-height: 1.35; }
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .quick-actions button {
  height: auto !important;
  min-height: 44px;
  padding: 8px 6px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}
/* GP188 inserts four distinct routes into its Decision Brief after the six
   Guardian actions. Keep those routes, but make them readable/actionable. */
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence > .wdi188-guardian-bridges {
  grid-column: 1 !important;
  grid-row: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 8px;
}
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .wdi188-guardian-bridges small { font-size: 12px; line-height: 1.35; }
html body:not(.gp259-home-authority).gp150-home-authority .guardian-presence .wdi188-guardian-bridges button {
  height: auto;
  min-height: 44px;
  padding: 8px 6px;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}
html body:not(.gp259-home-authority).gp150-home-authority .right-rail > .market-summary-080 {
  height: auto !important;
  min-height: 330px;
}

/* Dialog UA defaults must not shrink the Daily Room to fit-content width. */
html body dialog.addr249 {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
}
html body .addr249 {
  min-width: 0;
  overscroll-behavior: contain;
  scroll-padding-block: 100px 80px;
  color-scheme: dark;
}
html body dialog.addr249::backdrop { background: rgba(0, 6, 12, .86); }
html body .addr249 > header { gap: 16px; padding: 16px 20px; }
html body .addr249 > header > div { min-width: 0; }
html body .addr249 > header > span { flex: 0 1 230px; min-width: 0; overflow-wrap: anywhere; }
html body .addr249 > header > button { flex: 0 0 44px; width: 44px; height: 44px; }
html body .addr249 > main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 270px;
  min-width: 0;
  min-height: calc(100dvh - 164px);
}
html body .addr249 :is(.addr249-core, .addr249-nav, .addr249-guardian, .acdm250-panel, .ldse254) { min-width: 0; }
html body .addr249 .addr249-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
html body .addr249 .addr249-controls > div { min-width: 0; }
html body .addr249 .addr249-controls h2 { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.25; }
html body .addr249 .addr249-toggle,
html body .addr249 .acdm250-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}
html body .addr249 .acdm250-switch button {
  flex: 1 1 150px;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 10px 12px;
  white-space: normal;
  line-height: 1.35;
}
html body .addr249 .addr249-toggle button { min-height: 44px; height: auto; }
html body .addr249 :is(p, button, dt, dd, small, [data-addr-status]) { font-size: 12px; line-height: 1.45; }
html body .addr249 :is(p, h2, h3, h4, strong, b, span, dd, output) { overflow-wrap: anywhere; }
html body .addr249 .addr249-nav :is(b, small, em),
html body .addr249 .addr249-rules b,
html body .addr249 .ldse254-posture { font-size: 12px; }
html body .addr249 .ldse254-grid > *,
html body .addr249 .ldse254-scenarios > *,
html body .addr249 .ldse254-footer > * { min-width: 0; }
html body .addr249 .ldse254-grid header { flex-wrap: wrap; gap: 8px; font-size: 12px; }
html body .addr249 .ldse254-scenarios { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .addr249 .ldse254-scenarios button {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  align-items: start;
  gap: 4px;
  min-height: 84px;
  padding: 10px 12px;
}
html body .addr249 .ldse254-scenarios button > * {
  min-width: 0;
  grid-column: 1;
  white-space: normal;
  overflow-wrap: normal;
  line-height: 1.4;
}
html body .addr249 .ldse254-scenarios button > small { grid-row: 1; }
html body .addr249 .ldse254-scenarios button > strong { grid-row: 2; font-size: 13px; }
html body .addr249 .ldse254-scenarios button > span { grid-row: 3; font-size: 12px; }
html body .addr249 .ldse254-causal > div { flex-wrap: wrap; justify-content: flex-start; gap: 20px; overflow: visible; }
html body .addr249 .ldse254-causal article { flex: 1 1 85px; min-width: 0; }
html body .addr249 .ldse254-causal article strong { font-size: 12px; }
html body .addr249 .ldse254-causal article span { right: -14px; }
html body .addr249 .ldse254-assets article {
  grid-template-columns: 44px minmax(24px, 1fr) minmax(6ch, max-content) minmax(6ch, max-content);
  font-size: 12px;
}
html body .addr249 .ldse254-assets article > :is(b, em) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}
html body .addr249 .ldse254-rings { flex-wrap: wrap; gap: 16px; }
html body .addr249 .ldse254-rings > i {
  position: relative;
  display: grid;
  grid-template-columns: 84px;
  grid-template-rows: 84px auto;
  place-content: initial;
  gap: 8px;
  width: 84px;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-style: normal;
}
html body .addr249 .ldse254-rings > i::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(#6bdabd calc(var(--v) * 1%), #15323a 0);
}
html body .addr249 .ldse254-rings > i::after {
  content: "";
  position: absolute;
  inset: 8px auto auto 8px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #071923;
}
html body .addr249 .ldse254-rings > i > b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}
html body .addr249 .ldse254-rings > i > small {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  white-space: nowrap;
}
html body .addr249 .ldse254-portfolio dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
html body .addr249 .ldse254-portfolio :is(dt, dd) { font-size: 12px; }
html body .addr249 .ldse254-stack i:nth-child(6) { background: #64bed2; }
html body .addr249 .ldse254-guardian p { font-size: 13px; }
html body .addr249 .ldse254-guardian dl > div {
  display: grid;
  grid-template-columns: minmax(90px, .35fr) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
}
html body .addr249 .ldse254-guardian dl :is(dt, dd) {
  min-width: 0;
  margin: 0;
  white-space: normal;
  line-height: 1.5;
  word-break: normal;
}
html body .addr249 .ldse254-delta article b,
html body .addr249 .ldse254-footer :is(strong, span, button) { font-size: 12px; }
html body .addr249 .ldse254-footer { grid-template-columns: minmax(0, 1fr) auto minmax(160px, .7fr); }
html body .addr249 .ldse254-footer button { height: auto; min-height: 44px; padding: 10px 12px; }
html body .addr249 > footer { flex-wrap: wrap; gap: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
html body .addr249 > footer > span { min-width: 0; }
html body .addr249 > footer button { height: auto; min-height: 44px; }

/* Living mode supplies its own canonical state, portfolio and Guardian.
   Legacy asset/scenario controls remain available in their original modes. */
html body .addr249[data-acdm-mode="living"] > main { grid-template-columns: minmax(0, 1fr); }
html body .addr249[data-acdm-mode="living"] :is(.addr249-nav, .addr249-guardian, .addr249-toggle) { display: none; }
html body .addr249[data-acdm-mode="living"] .addr249-core { width: min(1320px, 100%); margin-inline: auto; }

/* The six-sleeve consequence board is a real lower-region mode. Its height
   follows its rows; the existing mode switch stays inside that region. */
html body:not(.gp259-home-authority).gp150-home-authority .intelligence-stage > .lower-intelligence {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
}
html body:not(.gp259-home-authority) .lower-intelligence.intelligence-mode > .portfolio-consequence-board-102 {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  justify-self: end;
  width: min(320px, 100%);
  height: auto;
  display: block;
}
html body:not(.gp259-home-authority) .lower-intelligence.intelligence-mode > .portfolio-consequence-board-102 > header { height: auto; min-height: 44px; }
html body .portfolio-consequence-board-102 > header > nav button { min-height: 44px; font-size: 12px; padding: 8px 10px; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode > .portfolio-consequence-board-102 {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  display: grid !important;
  grid-template-rows: auto auto;
  overflow: visible;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .portfolio-consequence-board-102 > header {
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .portfolio-consequence-board-102 > header > div { display: block; min-width: 0; flex: 1 1 240px; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .portfolio-consequence-board-102 > header :is(b, em) { display: block; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .portfolio-consequence-board-102 :is(span, strong, b, small, em, p, button) {
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body {
  grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr);
  grid-template-rows: auto auto;
  min-width: 0;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-scenarios {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto;
  border-right: 0;
  border-bottom: 1px solid #244751;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-scenarios button { min-width: 0; min-height: 68px; padding: 10px; gap: 3px 6px; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .allocation-matrix { grid-template-rows: auto auto; min-width: 0; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .allocation-matrix > header {
  grid-template-columns: 64px minmax(0, 1fr) 58px minmax(68px, 1fr);
  min-height: 44px;
  gap: 6px;
  padding: 8px 10px;
  font-size: 12px;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode [data-allocation-rows] { grid-template-rows: repeat(6, minmax(52px, auto)); padding: 0 10px; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .allocation-matrix article {
  grid-template-columns: 64px minmax(16px, 1fr) 36px 58px minmax(68px, 1fr);
  gap: 6px;
  min-width: 0;
  padding-block: 6px;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .allocation-matrix article small { display: block; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body > aside {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  gap: 12px;
  padding: 14px;
}
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body > aside > * { grid-column: 1; min-width: 0; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body > aside > div { padding-block: 10px; gap: 8px; }
html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body > aside button { min-height: 44px; padding: 10px; }

@media (max-width: 1100px) {
  html body .addr249 > main { grid-template-columns: 170px minmax(0, 1fr); }
  html body .addr249 > main > .addr249-guardian { grid-column: 1 / -1; }
  html body .addr249 .ldse254-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "state causal" "assets portfolio" "guardian guardian" "delta delta"; }
  html body .addr249 .ldse254-footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  html body .addr249 > main { display: block; }
  html body .addr249 > header { padding: 14px; flex-wrap: wrap; }
  html body .addr249 > header > div > p { display: block; }
  html body .addr249 > header > span { display: block; flex-basis: 100%; order: 2; border-left: 0; padding-left: 0; }
  html body .addr249 .addr249-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  html body .addr249 .addr249-nav button { min-width: 0; margin: 0; grid-template-columns: minmax(0, 1fr) auto; }
  html body .addr249 .addr249-nav button i { grid-column: 1 / -1; }
  html body .addr249 .addr249-guardian { display: block; }
  html body .addr249 .ldse254-head { display: flex; flex-wrap: wrap; align-items: start; }
  html body .addr249 .ldse254-head > div { min-width: 0; flex: 1 1 240px; }
  html body .addr249 .ldse254-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .addr249-dock > button { min-width: 0; height: auto; min-height: 44px; white-space: normal; }
  html body .addr249-dock > button:first-child strong { font-size: 12px; line-height: 1.35; }
}
@media (max-width: 600px) {
  html body .addr249 { scroll-padding-top: 130px; }
  html body .addr249 > header { align-items: start; }
  html body .addr249 > header strong { font-size: 18px; line-height: 1.3; }
  html body .addr249 .addr249-core { padding: 14px; }
  html body .addr249 .addr249-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .addr249 button { min-height: 44px; }
  html body .addr249 .acdm250-switch button { flex-basis: 140px; }
  html body .addr249 .ldse254-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "state" "causal" "assets" "portfolio" "guardian" "delta"; }
  html body .addr249 .ldse254-guardian h4 { margin-top: 16px; }
  html body .addr249 .ldse254-guardian dl > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  html body .addr249 .ldse254-delta > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .addr249 .ldse254-footer span { text-align: left; }
  html body .addr249 > footer { position: static; }
  html body .addr249 > footer > span { flex-basis: 100%; text-align: left; }
  html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body:not(.gp259-home-authority) .lower-intelligence.consequence-mode .consequence-body > aside { border-left: 0; border-top: 1px solid #244751; }
}
