/* Concrete live audit corrections, 2026-10-30.
   Page 5496: homepage. Page 1465: services. Page 7799: strategy.
   Candidate only. No blanket heading/body reset. */
:root body.page-id-5496 #content .entry-content .bai-home #home-start h1 em {
  color: #fff !important;
}

/* Compact operational roles were 8–12px. Their semantics remain unchanged.
   Preserve display numerals and Charter explanations; enlarge only labels. */
:root body.page-id-5496 #content .entry-content .bai-home :is(
  .bai-eyebrow, .bai-answer-kicker, .bai-response-label,
  .bai-answer-engine, .bai-answer-path, .bai-hero-meta-rail,
  .bai-proof-source, .bai-stage, .bai-engagement-meta,
  .bai-founder-role, .bai-fit-status, .bai-conversation-label
),
:root body.page-id-1465 #content .entry-content #bavaria-web :is(
  .bav-eyebrow, .bav-orbit-kicker, .bav-orbit-note,
  .bav-entry-route-label, .bav-role, .bav-proof-source,
  .bav-hero-meta span, .bav-offer-route > div > span,
  .bav-orbit-node small, .bav-orbit-center small,
  .bav-seo-feedback-label
),
:root body.page-id-7799 #content .entry-content #bavaria-web :is(
  .bav-eyebrow, .bav-hero-meta span, .bav-choice-scene > small,
  .bav-choice-criteria span, .bav-choice-result > span,
  .bav-route-option > span, .bav-filter-grid > article > span,
  .bav-delivery small, .bav-strategy-price > span,
  .bav-decision-list b
) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.45 !important;
  letter-spacing: .025em !important;
  overflow-wrap: anywhere;
}

/* Source immediately follows its evidence rather than the height of 3 teasers. */
:root body.page-id-5496 #content .entry-content .bai-home #home-cases .bai-case-feature {
  align-self: start;
  min-height: 0;
  height: auto;
}
:root body.page-id-5496 #content .entry-content .bai-home #home-cases .bai-case-feature .bai-proof-source {
  margin-top: 24px !important;
}

/* The handoff is a dark object inside a light chapter. */
:root body.page-id-7799 #content .entry-content #bavaria-web #umfang .bav-handoff h3 em {
  color: #b8c3ff !important;
}
:is(:root body.page-id-5496 #content .entry-content, :root body.page-id-1465 #content .entry-content, :root body.page-id-7799 #content .entry-content) .bai-inquiry-route {
  margin-top: 24px !important;
}

/* Outline-on-white was effectively invisible. Use the established angular
   action style on this one light price object. */
:root body.page-id-7799 #content .entry-content #bavaria-web #ablauf .bav-strategy-price .bav-btn {
  color: #fff !important;
  background: #0b1426 !important;
  border: 1px solid #0b1426 !important;
}
:root body.page-id-7799 #content .entry-content #bavaria-web #ablauf .bav-strategy-price .bav-btn:hover {
  background: #19243a !important;
  border-color: #19243a !important;
}
:root body.page-id-7799 #content .entry-content #bavaria-web #ablauf .bav-strategy-price .bav-btn:focus-visible {
  outline: 3px solid #5967b5;
  outline-offset: 4px;
}

/* Consent controls are ordinary controls, not machine notation. */
:is(:root body.page-id-5496 #content .entry-content, :root body.page-id-1465 #content .entry-content, :root body.page-id-7799 #content .entry-content) #bai-consent button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  letter-spacing: .025em !important;
}

@media (max-width: 640px) {
  :root body.page-id-5496 #content .entry-content .bai-home .bai-hero-meta-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  :root body.page-id-5496 #content .entry-content .bai-home .bai-hero-meta-rail > *,
  :root body.page-id-1465 #content .entry-content #bavaria-web .bav-hero-meta > *,
  :root body.page-id-7799 #content .entry-content #bavaria-web .bav-hero-meta > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* At 805px, the 120px index column had 64px horizontal padding,
   leaving 56px for a two-digit 58px Georgia index. Keep the unit atomic. */
:root body.page-id-1465 #content .entry-content #bavaria-web .bav-offer-index {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
@media (min-width: 641px) and (max-width: 980px) {
  :root body.page-id-1465 #content .entry-content #bavaria-web .bav-offer-index {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Confirmed whole-page audit repairs, 2026-10-30.
   Scoped to the calculator's orientation register and the three audited pages. */
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto auto!important;
  gap:0!important;
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:0 12px 32px rgba(11,20,38,.04)!important;
}
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever{
  min-height:0!important;
  grid-row:span 3!important;
  grid-template-rows:subgrid!important;
  padding:32px!important;
  align-items:start!important;
}
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever h3{
  margin:0!important;
  font:400 28px/1.15 Georgia,serif!important;
  letter-spacing:-.02em!important;
  color:#0b1426!important;
}
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever:first-child h3{color:#fff!important}
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever p{
  align-self:start!important;
  margin:22px 0 24px!important;
  font:400 16px/1.55 'BAI Charter',Charter,Georgia,serif!important;
}
body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever .bai-econ-btn{
  align-self:start!important;
  min-height:56px!important;
  height:100%!important;
  margin:0!important;
  padding:14px 18px!important;
  font:400 15px/1.4 Arial,sans-serif!important;
  text-align:left!important;
  justify-content:flex-start!important;
  border-radius:0!important;
}
body.page-id-8488 #bai-econ-v4 .bai-econ-hero .bai-econ-eyebrow{
  font:400 12px/1.4 Arial,sans-serif!important;
  letter-spacing:.1em!important;
}
@supports not (grid-template-rows:subgrid){
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever{grid-row:auto!important;grid-template-rows:minmax(97px,auto) 1fr auto!important}
}
@media(max-width:1000px) and (min-width:621px){
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important}
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever{grid-row:auto!important;grid-template-rows:auto auto auto!important;padding:28px 24px!important}
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever h3{font-size:27px!important}
 body.page-id-8488 #bai-econ-v4 #bedarf .bai-econ-lever .bai-econ-btn{height:auto!important}
}
/* On mobile, both system searches branch from the same question.
   This replaces the former stem ending only on the first child card. */
@media(max-width:700px){
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-line{
  position:relative!important;
  width:50%!important;
  height:28px!important;
  margin:0 auto 0 0!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  border-right:1.5px solid #9da8ee!important;
  border-bottom:1.5px solid #9da8ee!important;
  box-sizing:border-box!important;
 }
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries{
  position:relative!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  padding-left:20px!important;
 }
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries:before{display:none!important}
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries>div:before{
  content:''!important;
  display:block!important;
  position:absolute!important;
  left:-20px!important;
  right:auto!important;
  top:50%!important;
  width:20px!important;
  height:1.5px!important;
  transform:none!important;
  border:0!important;
  background:#9da8ee!important;
 }
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries>div:after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  left:-20px!important;
  right:auto!important;
  top:-13.5px!important;
  bottom:-13.5px!important;
  width:1.5px!important;
  height:auto!important;
  background:#9da8ee!important;
 }
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries>div:first-child:after{top:-1.5px!important}
 body:is(.page-id-9108,.page-id-9109) #bavaria-web.bai-prompt-live .fanout-object .fanout-queries>div:last-child:after{bottom:50%!important}
}
/* Word labels need a full-width role, unlike the numeric 01/02/03 variant. */
@media(max-width:620px){
 :root body:is(.page-id-9108,.page-id-9109) #content .entry-content #bai-consultation.bai-consult-v1 .bcv-agenda>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
 }
 :root body:is(.page-id-9108,.page-id-9109) #content .entry-content #bai-consultation.bai-consult-v1 .bcv-agenda>div>span{
  grid-column:1!important;
  grid-row:auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  font-size:14px!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
 }
 :root body:is(.page-id-9108,.page-id-9109) #content .entry-content #bai-consultation.bai-consult-v1 .bcv-agenda>div>h3,
 :root body:is(.page-id-9108,.page-id-9109) #content .entry-content #bai-consultation.bai-consult-v1 .bcv-agenda>div>p{
  grid-column:1!important;
  grid-row:auto!important;
  margin:0!important;
 }
}


:root body.page-id-1465 #content .entry-content #bavaria-web .bav-orbit-node small{text-transform:none!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:0!important}
:root body.page-id-1465 #content .entry-content #bavaria-web .bav-orbit-core :is(span,small){font:400 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;overflow-wrap:normal!important}

:root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid rgba(255,255,255,.22)}
:root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison>div{min-width:0}
:root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison :is(span,small){display:block;color:#d7deef;font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;letter-spacing:0}
:root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison strong{display:block;color:#fff;font:400 clamp(28px,3vw,42px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:10px 0}
:root body.page-id-5496 #content .entry-content .bai-home .bai-project-mark{font-size:44px!important}
:root body:is(.page-id-1465,.page-id-3446) #content .entry-content .bai-aio-fractions{display:grid;gap:8px;font:400 30px/1.25 Georgia,serif!important}
:root body:is(.page-id-1465,.page-id-3446) #content .entry-content .bai-aio-fractions>span{display:flex;gap:12px;align-items:center}
:root body:is(.page-id-1465,.page-id-3446) #content .entry-content .bai-aio-fractions small{font:400 14px/1.4 Arial,sans-serif;min-width:32px;letter-spacing:0;text-transform:none}
:root body.page-id-8488 #content .entry-content .bai-vc-mode-panel{padding:28px 32px;background:#f2f3fc;border-bottom:1px solid #dce0eb}
:root body.page-id-8488 #content .entry-content .bai-vc-mode-note{font:400 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#40516b!important;margin:0 0 20px!important;max-width:950px}
:root body.page-id-8488 #content .entry-content .bai-vc-mode-actions{display:flex;flex-wrap:wrap;gap:12px}
:root body.page-id-8488 #content .entry-content .bai-vc-mode-actions button{font:400 16px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;min-height:48px;padding:12px 18px;border:1px solid #0b1426;background:#0b1426;color:#fff;border-radius:0!important;cursor:pointer;letter-spacing:0}
:root body.page-id-8488 #content .entry-content .bai-vc-mode-actions button[data-vc-reset]{background:transparent;color:#0b1426}
:root body.page-id-8488 #content .entry-content .bai-vc-results .bai-vc-mode-note{color:#c5cee0!important;padding-bottom:20px;border-bottom:1px solid #3b465d}
:root body.page-id-8488 #content .entry-content .bai-vc-results .bai-vc-result-head>p:last-child{margin-bottom:28px}
:root body.page-id-8488 #content .entry-content .bai-vc-method details{margin-top:24px}
:root body.page-id-8488 #content .entry-content .bai-vc-method summary{cursor:pointer;font:400 17px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;padding:14px 0!important;min-height:48px!important;color:#0b1426}
:root body.page-id-8488 #content .entry-content .bai-vc-method summary:focus-visible{outline:3px solid #5967b5;outline-offset:4px}
@media(max-width:540px){
 :root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison{gap:16px}
 :root body.page-id-5496 #content .entry-content .bai-home .bai-aio-comparison strong{font-size:28px}
 :root body.page-id-8488 #content .entry-content .bai-vc-mode-panel{padding:24px 18px}
 :root body.page-id-8488 #content .entry-content .bai-vc-mode-actions{flex-direction:column}
 :root body.page-id-8488 #content .entry-content .bai-vc-mode-actions button{width:100%}
}
