/* ConcretOS Genesis True S+16 P177 Canonical Shell
   Source order preserved exactly from P162-P169. */


/* ===== SOURCE: genesis-p162-canonical-shell.css ===== */

/* P162 — canonical global topbar, dropdown and restored compact authority rail */
:root{--s16-canonical-header-h:92px;--s16-canonical-rail-h:116px}
.p19-site-header.s16-canonical-header{position:fixed!important;inset-block-start:0!important;inset-inline:0!important;width:100%!important;z-index:5000!important;overflow:visible!important;isolation:isolate!important;background:rgba(250,252,251,.96)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(44,77,72,.14)!important}
.s16-canonical-header .p19-header-shell,.s16-canonical-header .p19-header-row,.s16-canonical-header .p19-desktop-nav,.s16-canonical-header .p19-more{overflow:visible!important}
.s16-canonical-header .p19-more{position:relative!important;z-index:5300!important}
.s16-canonical-header .p19-more-panel{position:absolute!important;z-index:5400!important;inset-block-start:calc(100% + 12px)!important;min-width:320px!important;max-height:min(70vh,620px)!important;overflow:auto!important;box-shadow:0 28px 70px rgba(18,35,42,.24)!important}
.s16-canonical-header .p19-mobile-menu{z-index:5600!important}
body{padding-top:var(--s16-canonical-header-h)!important}
.s16-authority-rail{position:fixed!important;inset-inline:0!important;top:var(--s16-canonical-header-h)!important;z-index:4200!important;width:100%!important;margin:0!important;padding:10px 22px!important;background:rgba(243,248,246,.94)!important;backdrop-filter:blur(18px)!important;border-block:1px solid rgba(44,77,72,.12)!important;transform:none!important;visibility:visible!important;opacity:1!important}
.s16-authority-rail__shell{position:relative!important;max-width:1920px!important;margin:auto!important;display:grid!important;grid-template-columns:repeat(var(--rail-count,5),minmax(0,1fr))!important;gap:4px!important;padding:8px 10px 14px!important;border:1px solid rgba(45,88,80,.17)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 16px 42px rgba(21,46,42,.10)!important}
.s16-authority-rail a{min-width:0!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:12px 14px!important;border-radius:17px!important;color:#334153!important;text-decoration:none!important;transition:background .18s ease,color .18s ease!important}
.s16-authority-rail__number{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:1.7px solid #84909e!important;border-radius:13px!important;font-weight:850!important;font-size:15px!important}
.s16-authority-rail__copy{min-width:0!important}.s16-authority-rail strong,.s16-authority-rail small{display:block!important;white-space:normal!important}.s16-authority-rail strong{font-size:15px!important;line-height:1.18!important;font-weight:800!important}.s16-authority-rail small{margin-top:3px!important;color:#7b8793!important;font-size:11.5px!important;line-height:1.18!important}
.s16-authority-rail a.is-active{background:#5f897f!important;color:#fff!important;box-shadow:none!important}.s16-authority-rail a.is-active small{color:#dcebe7!important}.s16-authority-rail a.is-active .s16-authority-rail__number{border-color:rgba(255,255,255,.82)!important}
.s16-authority-rail__progress{position:absolute!important;inset-inline:20px!important;bottom:6px!important;height:3px!important;border-radius:9px!important;background:rgba(57,93,86,.10)!important;overflow:hidden!important}.s16-authority-rail__progress span{display:block!important;height:100%!important;background:#d5b64c!important;transition:width .2s ease!important}
.s16-authority-rail-spacer{display:block!important;width:100%!important;height:var(--s16-canonical-rail-h)!important;min-height:var(--s16-canonical-rail-h)!important;pointer-events:none!important}
main section[id],main [id]{scroll-margin-top:calc(var(--s16-canonical-header-h) + var(--s16-canonical-rail-h) + 18px)!important}
html.dark .p19-site-header.s16-canonical-header,body.dark .p19-site-header.s16-canonical-header,[data-theme="dark"] .p19-site-header.s16-canonical-header{background:rgba(7,22,25,.97)!important;border-color:rgba(123,174,163,.13)!important}
html.dark .s16-authority-rail,body.dark .s16-authority-rail,[data-theme="dark"] .s16-authority-rail{background:rgba(7,22,25,.94)!important;border-color:rgba(123,174,163,.13)!important}
html.dark .s16-authority-rail__shell,body.dark .s16-authority-rail__shell,[data-theme="dark"] .s16-authority-rail__shell{background:rgba(12,31,34,.96)!important;border-color:rgba(127,178,167,.2)!important}html.dark .s16-authority-rail a,body.dark .s16-authority-rail a,[data-theme="dark"] .s16-authority-rail a{color:#eef7f4!important}html.dark .s16-authority-rail small,body.dark .s16-authority-rail small,[data-theme="dark"] .s16-authority-rail small{color:#9eb4af!important}
@media(max-width:1180px){:root{--s16-canonical-header-h:80px;--s16-canonical-rail-h:104px}.s16-authority-rail{padding-inline:10px!important}.s16-authority-rail__shell{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity!important}.s16-authority-rail a{min-width:250px!important;scroll-snap-align:start!important}}
@media(max-width:720px){:root{--s16-canonical-header-h:68px;--s16-canonical-rail-h:92px}.s16-authority-rail{padding-block:7px!important}.s16-authority-rail__shell{border-radius:17px!important;padding:6px 7px 11px!important}.s16-authority-rail a{min-width:220px!important;padding:9px 11px!important;grid-template-columns:38px minmax(0,1fr)!important}.s16-authority-rail__number{width:35px!important;height:35px!important}.s16-authority-rail strong{font-size:14px!important}.s16-authority-rail small{font-size:10.5px!important}}
@media(prefers-reduced-motion:reduce){.s16-authority-rail *{transition:none!important;scroll-behavior:auto!important}}


/* ===== SOURCE: genesis-p163-canonical-foundation.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P163 Canonical Foundation
   Final authority layer. Consolidates shell geometry, typography, navigation,
   local rails, page rhythm, surfaces, focus states and responsive behavior. */
:root{
  --s16-header-h:76px;
  --s16-rail-h:0px;
  --s16-shell-offset:calc(var(--s16-header-h) + var(--s16-rail-h));
  --s16-page-x:clamp(18px,4vw,72px);
  --s16-content-max:1480px;
  --s16-reading-max:760px;
  --s16-radius-sm:14px;
  --s16-radius-md:22px;
  --s16-radius-lg:32px;
  --s16-radius-xl:44px;
  --s16-ease:cubic-bezier(.22,1,.36,1);
  --s16-teal:#0f756a;
  --s16-teal-deep:#07564f;
  --s16-gold:#f2c233;
  --s16-ink:#10201f;
  --s16-muted:#60706f;
  --s16-bg:#f4f7f6;
  --s16-surface:rgba(255,255,255,.86);
  --s16-surface-strong:#fff;
  --s16-line:rgba(15,117,106,.16);
  --s16-shadow:0 24px 70px rgba(18,47,44,.10);
  --s16-shadow-hover:0 32px 90px rgba(18,47,44,.16);
  --s16-z-header:8000;
  --s16-z-dropdown:8100;
  --s16-z-rail:7900;
}
html.dark{
  --s16-ink:#edf8f6;
  --s16-muted:#9db1ae;
  --s16-bg:#07110f;
  --s16-surface:rgba(14,29,26,.82);
  --s16-surface-strong:#0f1d1a;
  --s16-line:rgba(120,208,193,.15);
  --s16-shadow:0 28px 80px rgba(0,0,0,.32);
  --s16-shadow-hover:0 38px 100px rgba(0,0,0,.46);
}
html{scroll-padding-top:calc(var(--s16-shell-offset) + 24px);background:var(--s16-bg)}
body.s16-p163{
  color:var(--s16-ink);
  background:var(--s16-bg);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body.s16-p163{font-family:Cairo,system-ui,sans-serif}
body.s16-p163 main{isolation:isolate;min-height:60vh}
body.s16-p163 main>section{scroll-margin-top:calc(var(--s16-shell-offset) + 24px)}
body.s16-p163 :where(h1,h2,h3,h4){color:var(--s16-ink);text-wrap:balance;letter-spacing:-.035em}
html[dir="rtl"] body.s16-p163 :where(h1,h2,h3,h4){letter-spacing:0;line-height:1.35}
body.s16-p163 :where(p,li){text-wrap:pretty}
body.s16-p163 :where(.s16-container,.p20-footer-shell,.p56-shell){width:min(calc(100% - (2 * var(--s16-page-x))),var(--s16-content-max));margin-inline:auto}

/* One canonical topbar */
body.s16-p163 .s16-canonical-header{
  position:fixed!important;inset:0 0 auto!important;height:var(--s16-header-h)!important;
  z-index:var(--s16-z-header)!important;background:color-mix(in srgb,var(--s16-bg) 82%,transparent)!important;
  border-bottom:1px solid var(--s16-line)!important;backdrop-filter:blur(24px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(145%)!important;transition:background .3s var(--s16-ease),box-shadow .3s var(--s16-ease)!important;
}
body.s16-p163 .s16-canonical-header.is-scrolled{box-shadow:0 12px 38px rgba(10,35,32,.10)!important}
body.s16-p163 .p19-header-shell{height:100%!important;width:min(calc(100% - (2 * var(--s16-page-x))),var(--s16-content-max))!important;margin:auto!important;padding:0!important}
body.s16-p163 .p19-header-row{height:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:clamp(18px,2.5vw,40px)!important}
body.s16-p163 .p19-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important}
body.s16-p163 .p19-brand img{display:block!important;width:auto!important;height:clamp(42px,4vw,52px)!important;object-fit:contain!important}
body.s16-p163 .p19-desktop-nav{min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(4px,.55vw,10px)!important}
body.s16-p163 .p19-nav-link,body.s16-p163 .p19-more>summary{
  min-height:42px!important;padding:0 clamp(9px,.78vw,14px)!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;
  color:var(--s16-muted)!important;font-size:clamp(.76rem,.7vw,.87rem)!important;font-weight:700!important;white-space:nowrap!important;transition:.22s var(--s16-ease)!important;
}
body.s16-p163 .p19-nav-link:hover,body.s16-p163 .p19-more>summary:hover,body.s16-p163 .p19-nav-link.active,body.s16-p163 .p19-nav-link[aria-current="page"]{color:var(--s16-ink)!important;background:color-mix(in srgb,var(--s16-teal) 10%,transparent)!important}
body.s16-p163 .p19-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;white-space:nowrap!important}
body.s16-p163 .p19-icon{width:42px!important;height:42px!important;min-width:42px!important;border:1px solid var(--s16-line)!important;border-radius:14px!important;color:var(--s16-ink)!important;background:var(--s16-surface)!important;display:grid!important;place-items:center!important}
body.s16-p163 .p19-cta{min-height:44px!important;padding:0 17px!important;border-radius:14px!important;background:var(--s16-teal)!important;color:#fff!important;box-shadow:0 10px 30px rgba(15,117,106,.22)!important;display:inline-flex!important;align-items:center!important;gap:10px!important;font-weight:800!important}
body.s16-p163 .p19-more{position:relative!important}
body.s16-p163 .p19-more-panel{position:fixed!important;top:calc(var(--s16-header-h) - 6px)!important;left:50%!important;right:auto!important;transform:translateX(-50%) translateY(8px)!important;width:min(760px,calc(100vw - 32px))!important;z-index:var(--s16-z-dropdown)!important;padding:14px!important;border:1px solid var(--s16-line)!important;border-radius:24px!important;background:color-mix(in srgb,var(--s16-surface-strong) 94%,transparent)!important;box-shadow:var(--s16-shadow-hover)!important;backdrop-filter:blur(24px)!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.s16-p163 .p19-more:not([open]) .p19-more-panel{display:none!important}
body.s16-p163 .p19-more-link{min-height:56px!important;border-radius:15px!important;padding:12px 14px!important;color:var(--s16-ink)!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;font-weight:700!important}
body.s16-p163 .p19-more-link:hover{background:color-mix(in srgb,var(--s16-teal) 10%,transparent)!important}

/* One measured sticky authority rail */
body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav,.s16-universal-authority-rail){
  position:fixed!important;inset:var(--s16-header-h) 0 auto!important;z-index:var(--s16-z-rail)!important;margin:0!important;
  background:color-mix(in srgb,var(--s16-bg) 90%,transparent)!important;border-bottom:1px solid var(--s16-line)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;-webkit-backdrop-filter:blur(20px) saturate(135%)!important;
}
body.s16-p163.s16-has-fixed-rail main{padding-top:var(--s16-shell-offset)!important}
body.s16-p163:not(.s16-has-fixed-rail) main{padding-top:var(--s16-header-h)!important}
body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav) a{min-height:52px!important;display:inline-flex!important;align-items:center!important;gap:9px!important;color:var(--s16-muted)!important;font-weight:750!important;white-space:nowrap!important}
body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav) a:hover,body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav) a[aria-current="true"]{color:var(--s16-teal)!important}

/* Shared premium rhythm without flattening page identity */
body.s16-p163 :where([class*="hero"],[class*="Hero"]){position:relative}
body.s16-p163 main :where(.glass-card,.s16-card,[class*="authority-card"],[class*="evidence-card"],[class*="hero-card"]){border-color:var(--s16-line)!important;box-shadow:var(--s16-shadow);transition:transform .35s var(--s16-ease),box-shadow .35s var(--s16-ease),border-color .35s var(--s16-ease)}
@media (hover:hover){body.s16-p163 main :where(.glass-card,.s16-card,[class*="authority-card"],[class*="evidence-card"]):hover{transform:translateY(-4px);box-shadow:var(--s16-shadow-hover);border-color:color-mix(in srgb,var(--s16-teal) 36%,transparent)!important}}
body.s16-p163 :where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--s16-gold) 75%,#fff)!important;outline-offset:3px!important}
body.s16-p163 :where(button,a,summary){-webkit-tap-highlight-color:transparent}

@media(max-width:1180px){
  :root{--s16-header-h:70px}
  body.s16-p163 .p19-desktop-nav{display:none!important}
  body.s16-p163 .p19-header-row{grid-template-columns:auto 1fr auto!important}
  body.s16-p163 .p19-actions{grid-column:3!important}
  body.s16-p163 .p19-menu-button{display:grid!important}
  body.s16-p163 .p19-mobile-menu{position:fixed!important;top:var(--s16-header-h)!important;left:var(--s16-page-x)!important;right:var(--s16-page-x)!important;max-height:calc(100dvh - var(--s16-header-h) - 16px)!important;overflow:auto!important;z-index:var(--s16-z-dropdown)!important;border:1px solid var(--s16-line)!important;border-radius:24px!important;padding:16px!important;background:var(--s16-surface-strong)!important;box-shadow:var(--s16-shadow-hover)!important}
  body.s16-p163 .p19-mobile-menu.hidden{display:none!important}
}
@media(max-width:720px){
  :root{--s16-header-h:64px;--s16-page-x:16px}
  body.s16-p163 .p19-brand img{height:42px!important}
  body.s16-p163 .p19-cta{display:none!important}
  body.s16-p163 .p19-actions{gap:6px!important}
  body.s16-p163 .p19-icon{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important}
  body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav)>*{overflow-x:auto!important;scrollbar-width:none!important;justify-content:flex-start!important}
  body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav)>*::-webkit-scrollbar{display:none!important}
  body.s16-p163 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav) a{min-height:48px!important;font-size:.78rem!important}
  body.s16-p163 .p19-more-panel{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
  body.s16-p163 *,body.s16-p163 *::before,body.s16-p163 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
body.s16-p163 .s16-thank-you-main{min-height:100dvh;display:grid;place-items:center;padding:calc(var(--s16-header-h) + 32px) var(--s16-page-x) 48px!important}


/* ===== SOURCE: genesis-p164-structural-correction.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P164 structural correction */
:root{--s16-z-dropdown-portal:2147483000}
body.s16-p164{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
html[dir="rtl"] body.s16-p164{font-family:Cairo,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body.s16-p164 :where(h1,h2,h3,h4,h5,h6,p,a,button,summary,input,select,textarea,label,span,small,strong,b,em,li,dt,dd,th,td,nav,section,article,aside,header,footer,div){font-family:inherit!important}
body.s16-p164 :where(.fa,.fas,.far,.fab,[class^="fa-"],[class*=" fa-"]){font-family:"Font Awesome 6 Free"!important}
body.s16-p164 .s16-canonical-header{overflow:visible!important;transform:none!important;contain:none!important;isolation:auto!important}
body.s16-p164 .p19-header-shell,body.s16-p164 .p19-header-row,body.s16-p164 .p19-desktop-nav,body.s16-p164 .p19-more{overflow:visible!important;transform:none!important;contain:none!important}
body.s16-p164>.s16-dropdown-portal{position:fixed!important;z-index:var(--s16-z-dropdown-portal)!important;display:none!important;width:min(760px,calc(100vw - 32px))!important;max-height:calc(100dvh - var(--s16-header-h) - 24px)!important;overflow:auto!important;padding:14px!important;border:1px solid var(--s16-line)!important;border-radius:24px!important;background:color-mix(in srgb,var(--s16-surface-strong) 97%,transparent)!important;box-shadow:0 34px 100px rgba(8,31,28,.24)!important;backdrop-filter:blur(24px) saturate(145%)!important;-webkit-backdrop-filter:blur(24px) saturate(145%)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;transform:none!important;isolation:isolate!important}
body.s16-p164>.s16-dropdown-portal.is-open{display:grid!important}
body.s16-p164>.s16-dropdown-portal .p19-more-link{min-height:56px!important;border-radius:15px!important;padding:12px 14px!important;color:var(--s16-ink)!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;font-weight:700!important}
body.s16-p164>.s16-dropdown-portal .p19-more-link:hover{background:color-mix(in srgb,var(--s16-teal) 10%,transparent)!important}
/* ConcretOS theatre structural recovery */
body.s16-p164.concretos-flagship-page #genesis-product .g02-theatre{margin-top:clamp(32px,5vw,58px)!important;grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;align-items:start!important}
body.s16-p164.concretos-flagship-page #genesis-product .g02-workspace{min-width:0!important;width:100%!important}
body.s16-p164.concretos-flagship-page #genesis-product .g02-workspace-body{min-height:0!important}
body.s16-p164.concretos-flagship-page #genesis-product .g02-main-panel{min-width:0!important}
body.s16-p164.concretos-flagship-page #genesis-product .s16-footer{display:none!important}
@media(max-width:980px){body.s16-p164.concretos-flagship-page #genesis-product .g02-theatre{grid-template-columns:1fr!important}body.s16-p164.concretos-flagship-page #genesis-product .g02-journey{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){body.s16-p164>.s16-dropdown-portal{grid-template-columns:1fr!important}body.s16-p164.concretos-flagship-page #genesis-product .g02-journey{display:flex!important;overflow-x:auto!important}body.s16-p164.concretos-flagship-page #genesis-product .g02-journey-step{min-width:210px!important}}


/* ===== SOURCE: genesis-p165-shell-finalization.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P165 shell finalization */
:root{
  --p165-header:#f7faf9;
  --p165-rail:#eef4f2;
  --p165-surface:#ffffff;
  --p165-ink:#172321;
  --p165-muted:#6d7a78;
  --p165-line:rgba(35,73,67,.16);
  --p165-shadow:0 24px 72px rgba(18,42,38,.15);
}
html.dark{
  --p165-header:#081719;
  --p165-rail:#0a1d1e;
  --p165-surface:#102628;
  --p165-ink:#f1f8f6;
  --p165-muted:#a8bbb7;
  --p165-line:rgba(151,204,194,.18);
  --p165-shadow:0 28px 82px rgba(0,0,0,.48);
}
html,body.s16-p165{background:var(--s16-bg)!important;color:var(--s16-ink)!important;color-scheme:light}
html.dark,html.dark body.s16-p165{color-scheme:dark}
body.s16-p165 .s16-canonical-header{background:color-mix(in srgb,var(--p165-header) 94%,transparent)!important;border-color:var(--p165-line)!important}
body.s16-p165 .p19-nav-link,body.s16-p165 .p19-more>summary{color:var(--p165-muted)!important}
body.s16-p165 .p19-nav-link:hover,body.s16-p165 .p19-nav-link.active,body.s16-p165 .p19-nav-link[aria-current="page"],body.s16-p165 .p19-more>summary:hover{color:var(--p165-ink)!important;background:color-mix(in srgb,var(--s16-teal) 11%,transparent)!important}
body.s16-p165 .p19-icon{color:var(--p165-ink)!important;background:color-mix(in srgb,var(--p165-surface) 92%,transparent)!important;border-color:var(--p165-line)!important}
body.s16-p165 .p19-menu-button{display:none!important}
/* Exactly one authority rail. Old route rails and duplicate spacers never remain visible. */
body.s16-p165 :where(.p56-local-nav,.p98-local-nav,.concretos-local-nav,.s16-universal-authority-rail,nav.company-authority-nav,nav.pr-authority-nav){display:none!important}
body.s16-p165 .s16-authority-rail{display:block!important;top:var(--s16-canonical-header-h,var(--s16-header-h))!important;background:color-mix(in srgb,var(--p165-rail) 96%,transparent)!important;border-color:var(--p165-line)!important;z-index:7200!important;padding:10px clamp(14px,2vw,28px)!important}
body.s16-p165 .s16-authority-rail__shell{background:color-mix(in srgb,var(--p165-surface) 94%,transparent)!important;border-color:var(--p165-line)!important;box-shadow:0 16px 44px rgba(20,48,43,.11)!important}
body.s16-p165 .s16-authority-rail a{color:var(--p165-ink)!important}
body.s16-p165 .s16-authority-rail small{color:var(--p165-muted)!important}
body.s16-p165 .s16-authority-rail a.is-active{background:#6f9189!important;color:#fff!important}
body.s16-p165 .s16-authority-rail a.is-active small{color:#e5f0ed!important}
body.s16-p165 .s16-authority-rail-spacer{background:transparent!important;border:0!important;box-shadow:none!important}
/* Body-level More portal: compact, aligned, and always above the rail. */
body.s16-p165>.s16-dropdown-portal{z-index:2147483600!important;width:min(640px,calc(100vw - 32px))!important;max-height:min(620px,calc(100dvh - var(--s16-header-h) - 20px))!important;padding:12px!important;border-radius:22px!important;background:color-mix(in srgb,var(--p165-surface) 98%,transparent)!important;border-color:var(--p165-line)!important;box-shadow:var(--p165-shadow)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
body.s16-p165>.s16-dropdown-portal .p19-more-link{min-height:52px!important;padding:11px 13px!important;border-radius:14px!important;color:var(--p165-ink)!important;font-size:.95rem!important}
body.s16-p165>.s16-dropdown-portal .p19-more-link i{color:var(--p165-muted)!important;font-size:.78rem!important}
body.s16-p165>.s16-dropdown-portal .p19-more-link:hover{background:color-mix(in srgb,var(--s16-teal) 11%,transparent)!important}
html.dark body.s16-p165 .s16-authority-rail__shell{box-shadow:0 18px 52px rgba(0,0,0,.34)!important}
html.dark body.s16-p165 .p19-brand img{filter:none!important}
@media(max-width:1180px){body.s16-p165 .p19-menu-button{display:grid!important}}
@media(max-width:720px){body.s16-p165>.s16-dropdown-portal{grid-template-columns:1fr!important;width:calc(100vw - 24px)!important}}


/* ===== SOURCE: genesis-p166-more-dropdown-controller.css ===== */

/* P166 — single-authority More dropdown state */
body.s16-p166 .p19-more>summary{cursor:pointer!important;user-select:none!important}
body.s16-p166>.s16-dropdown-portal:not(.is-open){display:none!important}
body.s16-p166>.s16-dropdown-portal.is-open{display:grid!important;visibility:visible!important;pointer-events:auto!important;opacity:1!important}
body.s16-p166 .p19-more>summary[aria-expanded="true"]{color:var(--p165-ink,var(--s16-ink))!important;background:color-mix(in srgb,var(--s16-teal) 11%,transparent)!important}
body.s16-p166 .p19-more>summary[aria-expanded="true"] i{transform:rotate(180deg)!important}
body.s16-p166 .p19-more>summary i{transition:transform .18s ease!important}


/* ===== SOURCE: genesis-p167-arabic-dropdown-authority.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P167 Arabic RTL dropdown authority */
body.s16-p167 > .s16-dropdown-portal{
  position:fixed!important;
  inset-inline:auto!important;
  transform:none!important;
  margin:0!important;
  width:min(600px,calc(100vw - 32px))!important;
  padding:10px!important;
  gap:5px!important;
  border-radius:20px!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
html[dir="rtl"] body.s16-p167 > .s16-dropdown-portal{
  direction:rtl!important;
  text-align:right!important;
  left:auto!important;
  transform:none!important;
}
html[dir="ltr"] body.s16-p167 > .s16-dropdown-portal{
  direction:ltr!important;
  text-align:left!important;
  right:auto!important;
  transform:none!important;
}
body.s16-p167 > .s16-dropdown-portal .p19-more-link{
  min-height:50px!important;
  padding:10px 12px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  line-height:1.35!important;
}
body.s16-p167 > .s16-dropdown-portal .p19-more-link:hover,
body.s16-p167 > .s16-dropdown-portal .p19-more-link:focus-visible,
body.s16-p167 > .s16-dropdown-portal .p19-more-link.active{
  border-color:color-mix(in srgb,var(--s16-teal) 22%,transparent)!important;
  background:color-mix(in srgb,var(--s16-teal) 10%,transparent)!important;
  outline:none!important;
}
html[dir="rtl"] body.s16-p167 > .s16-dropdown-portal .p19-more-link i{
  transform:scaleX(-1)!important;
}
body.s16-p167 > .s16-dropdown-portal::before{
  content:"";
  position:absolute;
  inset-block-start:0;
  inset-inline:18px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--s16-gold),transparent);
  opacity:.82;
}
@media(max-width:900px){
  body.s16-p167 > .s16-dropdown-portal{width:calc(100vw - 24px)!important;grid-template-columns:1fr!important}
}


/* ===== SOURCE: genesis-p168-theme-authority.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P168 GLOBAL LIGHT / DARK THEME AUTHORITY */
:root{
  color-scheme:light;
  --g168-bg:#f4f8f7;
  --g168-bg-alt:#edf4f2;
  --g168-surface:#ffffff;
  --g168-surface-2:#f8fbfa;
  --g168-surface-3:#eaf2f0;
  --g168-ink:#152321;
  --g168-ink-2:#334441;
  --g168-muted:#6d7d79;
  --g168-faint:#91a09c;
  --g168-line:rgba(31,69,63,.15);
  --g168-line-strong:rgba(31,69,63,.25);
  --g168-teal:#477f76;
  --g168-teal-deep:#2f625a;
  --g168-teal-soft:#dcebe7;
  --g168-gold:#c5a947;
  --g168-gold-soft:#f7f1dc;
  --g168-positive:#26765f;
  --g168-warning:#a87822;
  --g168-danger:#a34c49;
  --g168-shadow-1:0 10px 28px rgba(20,49,44,.08);
  --g168-shadow-2:0 22px 64px rgba(20,49,44,.13);
  --g168-glass:rgba(247,250,249,.90);
  --g168-footer:#0c2422;
  --g168-footer-ink:#eef7f4;
}
html.dark,
html[data-theme="dark"]{
  color-scheme:dark;
  --g168-bg:#071516;
  --g168-bg-alt:#0a1b1c;
  --g168-surface:#102426;
  --g168-surface-2:#132b2c;
  --g168-surface-3:#193335;
  --g168-ink:#eff8f5;
  --g168-ink-2:#cbdad6;
  --g168-muted:#9cafaa;
  --g168-faint:#778c87;
  --g168-line:rgba(157,205,196,.15);
  --g168-line-strong:rgba(157,205,196,.27);
  --g168-teal:#75a69d;
  --g168-teal-deep:#8dbab2;
  --g168-teal-soft:#173934;
  --g168-gold:#d7bd63;
  --g168-gold-soft:#332e19;
  --g168-positive:#68bca1;
  --g168-warning:#d6ab59;
  --g168-danger:#df8882;
  --g168-shadow-1:0 12px 34px rgba(0,0,0,.28);
  --g168-shadow-2:0 28px 80px rgba(0,0,0,.46);
  --g168-glass:rgba(7,21,22,.91);
  --g168-footer:#061112;
  --g168-footer-ink:#edf7f4;
}

html,body{background:var(--g168-bg)!important;color:var(--g168-ink)!important}
body.s16-p168{transition:background-color .22s ease,color .22s ease}
body.s16-p168 :where(p,li,dd,figcaption,.muted,.subtitle,.description,.lead small){color:var(--g168-muted)}
body.s16-p168 :where(h1,h2,h3,h4,h5,h6,strong,b,dt,.title){color:var(--g168-ink)}
body.s16-p168 :where(a){text-decoration-color:color-mix(in srgb,var(--g168-teal) 42%,transparent)}
body.s16-p168 :where(hr){border-color:var(--g168-line)!important}

/* Canonical shell */
body.s16-p168 .s16-canonical-header{
  background:var(--g168-glass)!important;
  border-color:var(--g168-line)!important;
  box-shadow:0 1px 0 var(--g168-line),0 12px 36px rgba(20,49,44,.06)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
html.dark body.s16-p168 .s16-canonical-header{box-shadow:0 1px 0 var(--g168-line),0 18px 48px rgba(0,0,0,.28)!important}
body.s16-p168 :where(.p19-nav-link,.p19-more>summary){color:var(--g168-muted)!important}
body.s16-p168 :where(.p19-nav-link,.p19-more>summary):hover,
body.s16-p168 :where(.p19-nav-link.active,.p19-nav-link[aria-current="page"]){background:var(--g168-teal-soft)!important;color:var(--g168-ink)!important}
body.s16-p168 :where(.p19-icon,.p19-menu-button){background:var(--g168-surface)!important;color:var(--g168-ink)!important;border-color:var(--g168-line)!important;box-shadow:none!important}
body.s16-p168 :where(.p19-icon,.p19-menu-button):hover{background:var(--g168-surface-3)!important;border-color:var(--g168-line-strong)!important}
body.s16-p168 .p19-cta{background:var(--g168-teal)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 12px 28px color-mix(in srgb,var(--g168-teal) 28%,transparent)!important}
body.s16-p168 .p19-cta:hover{background:var(--g168-teal-deep)!important}
body.s16-p168 .p19-brand img{filter:none!important}

/* Dropdown and mobile navigation */
body.s16-p168>.s16-dropdown-portal,
body.s16-p168 .p19-mobile-menu{
  background:var(--g168-surface)!important;
  color:var(--g168-ink)!important;
  border-color:var(--g168-line)!important;
  box-shadow:var(--g168-shadow-2)!important;
}
body.s16-p168>.s16-dropdown-portal .p19-more-link,
body.s16-p168 .p19-mobile-link{color:var(--g168-ink)!important;border-color:transparent!important}
body.s16-p168>.s16-dropdown-portal .p19-more-link:hover,
body.s16-p168>.s16-dropdown-portal .p19-more-link:focus-visible,
body.s16-p168 .p19-mobile-link:hover{background:var(--g168-teal-soft)!important;color:var(--g168-ink)!important}
body.s16-p168>.s16-dropdown-portal .p19-more-link[aria-current="page"]{background:var(--g168-teal)!important;color:#fff!important}
body.s16-p168>.s16-dropdown-portal .p19-more-link i{color:var(--g168-faint)!important}
body.s16-p168>.s16-dropdown-portal .p19-more-link[aria-current="page"] i{color:rgba(255,255,255,.78)!important}
body.s16-p168 .p19-mobile-label{color:var(--g168-faint)!important}

/* One rail in both modes */
body.s16-p168 .s16-authority-rail{background:color-mix(in srgb,var(--g168-bg-alt) 94%,transparent)!important;border-color:var(--g168-line)!important}
body.s16-p168 .s16-authority-rail__shell{background:var(--g168-surface)!important;border-color:var(--g168-line)!important;box-shadow:var(--g168-shadow-1)!important}
body.s16-p168 .s16-authority-rail a{color:var(--g168-ink)!important}
body.s16-p168 .s16-authority-rail small{color:var(--g168-muted)!important}
body.s16-p168 .s16-authority-rail a:not(.is-active):hover{background:var(--g168-surface-3)!important}
body.s16-p168 .s16-authority-rail a.is-active{background:color-mix(in srgb,var(--g168-teal) 90%,var(--g168-ink))!important;color:#fff!important}
body.s16-p168 .s16-authority-rail a.is-active small{color:rgba(255,255,255,.76)!important}
body.s16-p168 .s16-authority-rail__progress{background:var(--g168-gold)!important}

/* Generic route surfaces — intentionally broad final authority */
body.s16-p168 :where(
  .card,[class$="-card"],[class*="-card "],
  .panel,[class$="-panel"],[class*="-panel "],
  .surface,[class$="-surface"],
  .hero-card,[class*="hero-card"],
  .metric,[class*="metric-card"],
  .register,[class*="register-card"],
  .score,[class*="score-card"],
  .module,[class*="module-card"]
){border-color:var(--g168-line)!important}
body.s16-p168 :where(
  .card,[class$="-card"],[class*="-card "],
  .panel,[class$="-panel"],[class*="-panel "],
  .hero-card,[class*="hero-card"],
  .metric,[class*="metric-card"],
  .register,[class*="register-card"]
):not(.s16-footer):not(.p20-footer):not([class*="dark"]){
  color:var(--g168-ink);
}

/* Common page families */
body.s16-p168 :where(
 .p9-card,.p9-score,.p10-card,.p13-card,.p14-card,.p16-card,.p17-card,.p18-card,
 .p21-card,.p23-card,.p24-card,.p26-card,.p28-card,.p29-card,.p35-card,.p36-card,
 .p37-card,.p38-card,.p39-card,.p40-card,.p41-card,.p42-card,.p43-card,.p44-card,
 .p56-card,.p67-card,.p73-card,.p74-card,.p75-card,.p76-card,.p77-card,.p78-card,
 .p79-card,.p80-card,.p86-card,.p87-card,.p93-card,.p98-card,.p118-card,.p119-card,
 .p120-card,.p122-card,.p123-card,.p124-card,.p125-card,.p126-card,.p127-card,
 .p128-card,.p129-card,.p130-card,.p136-card,.p137-card,.p138-card,.p139-card,
 .p140-card,.p141-card,.p142-card,.p143-card,.p144-card,.p145-card,.p146-card,
 .p153-card,.p154-card,.p155-card,.p156-card,.p157-card,.p158-card,.p159-card,.p160-card
){background:var(--g168-surface)!important;color:var(--g168-ink)!important;border-color:var(--g168-line)!important;box-shadow:var(--g168-shadow-1)}

body.s16-p168 :where(
 section,main,article,aside
)[style*="background: white"],
body.s16-p168 :where(section,main,article,aside)[style*="background:#fff"],
body.s16-p168 :where(section,main,article,aside)[style*="background: #fff"]{background:var(--g168-surface)!important}

/* Inputs, tables and controls */
body.s16-p168 :where(input,select,textarea){background:var(--g168-surface)!important;color:var(--g168-ink)!important;border-color:var(--g168-line-strong)!important;caret-color:var(--g168-teal)!important}
body.s16-p168 :where(input,select,textarea)::placeholder{color:var(--g168-faint)!important}
body.s16-p168 :where(input,select,textarea):focus{border-color:var(--g168-teal)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--g168-teal) 18%,transparent)!important;outline:none!important}
body.s16-p168 :where(table){color:var(--g168-ink)!important;border-color:var(--g168-line)!important}
body.s16-p168 :where(th){background:var(--g168-surface-3)!important;color:var(--g168-ink)!important;border-color:var(--g168-line)!important}
body.s16-p168 :where(td){border-color:var(--g168-line)!important;color:var(--g168-ink-2)!important}
body.s16-p168 :where(button):not(.p19-cta):not(.s16-enterprise-cta__action){border-color:var(--g168-line)!important}

/* Status chips */
body.s16-p168 :where(.badge,.chip,.pill,[class*="status"]){border-color:var(--g168-line)!important}
body.s16-p168 :where(.p9-pass,[class*="success"],[class*="positive"]){color:var(--g168-positive)!important;background:color-mix(in srgb,var(--g168-positive) 12%,transparent)!important}
body.s16-p168 :where(.p9-pending,[class*="warning"]){color:var(--g168-warning)!important;background:color-mix(in srgb,var(--g168-warning) 12%,transparent)!important}
body.s16-p168 :where(.p9-external,[class*="danger"],[class*="error"]){color:var(--g168-danger)!important;background:color-mix(in srgb,var(--g168-danger) 12%,transparent)!important}

/* Footer remains intentionally dark in both themes, but with corrected contrast */
body.s16-p168 :where(.s16-footer,.p20-footer){background:var(--g168-footer)!important;color:var(--g168-footer-ink)!important;border-color:rgba(255,255,255,.10)!important}
body.s16-p168 :where(.s16-footer,.p20-footer) :where(h2,h3,strong,a){color:var(--g168-footer-ink)!important}
body.s16-p168 :where(.s16-footer,.p20-footer) :where(p,span,small){color:rgba(238,247,244,.67)!important}
body.s16-p168 :where(.s16-footer,.p20-footer) a:hover{color:var(--g168-gold)!important}
body.s16-p168 .p20-footer-cta{border-color:color-mix(in srgb,var(--g168-gold) 60%,transparent)!important;color:var(--g168-gold)!important}

/* Enterprise dock and floating controls */
body.s16-p168 .s16-enterprise-cta{background:color-mix(in srgb,var(--g168-footer) 96%,transparent)!important;color:var(--g168-footer-ink)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 -18px 60px rgba(0,0,0,.22)!important}
body.s16-p168 .s16-enterprise-cta__copy small{color:var(--g168-gold)!important}
body.s16-p168 .s16-enterprise-cta__copy strong{color:var(--g168-footer-ink)!important}
body.s16-p168 .s16-enterprise-cta__action{background:var(--g168-gold)!important;color:#18201f!important}
body.s16-p168 :where(.back-to-top,[data-back-to-top],.scroll-top){background:var(--g168-surface)!important;color:var(--g168-ink)!important;border-color:var(--g168-line)!important;box-shadow:var(--g168-shadow-1)!important}

/* Images and diagrams: dark-mode restraint without muddy overlays */
html.dark body.s16-p168 :where(img,video,canvas,svg){color-scheme:normal}
html.dark body.s16-p168 img:not(.p19-brand img):not(.p20-footer img){filter:brightness(.94) contrast(1.03)}
html.dark body.s16-p168 :where(.p19-brand img,.p20-footer img){filter:none!important}

/* Selection and focus */
body.s16-p168 ::selection{background:color-mix(in srgb,var(--g168-teal) 34%,transparent);color:var(--g168-ink)}
body.s16-p168 :focus-visible{outline:3px solid color-mix(in srgb,var(--g168-teal) 72%,white)!important;outline-offset:3px!important}

@media (prefers-reduced-motion:reduce){body.s16-p168,body.s16-p168 *{transition-duration:.01ms!important}}


/* ===== SOURCE: genesis-p169-light-mode-certification.css ===== */

/* CONCRETOS GENESIS TRUE S+16 — P169 LIGHT MODE CONTRAST CERTIFICATION */
/* This layer repairs contrast inside intentionally dark components while the site is in light mode. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169{
  --g169-dark:#102a27;
  --g169-dark-2:#173832;
  --g169-on-dark:#f4faf7;
  --g169-on-dark-2:#c4d5d0;
  --g169-on-dark-3:#91aaa4;
  --g169-dark-line:rgba(225,240,235,.22);
  --g169-light:#f5f8f7;
  --g169-light-2:#ffffff;
  --g169-light-ink:#152522;
  --g169-light-muted:#657671;
}

/* Intentional dark surfaces: preserve their depth and restore readable foregrounds. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-scene.dark,.genesis-principle,.genesis-cta-box,.g04-constitution-scene,
 .s16-section.dark,.s16-pillar.software,.s16-product-viewport,
 .concretos-section,.pillar-card.technology,.product-hero,
 .g01-p3-equation,.ku-principle,.ku-cta-panel,.p5-metric,.p7-cta,
 .p13-band,.p14-signal,.p14-authority-product,.p14-bridge,
 .p16-hero,.p16-step-index,.p16-proof-item,.p16-cta,
 .p18-hero,.p18-cta,.p28-cta,.p45-proof-rule,
 .co-tabs,.co-role-zone,.co-release .co-access,
 .pr-route-media,.pr-cta,.pr-lifecycle-boundary,
 #register .pr-register-index,#register .pr-gates,
 .aa-boundary,.p86-gate,.p98-boundary,
 .company-model-v2__boundary,.company-delivery-boundary,.company-review-gateway,
 .company-contact-context,.tr153-truthbar,.tr155-authority__rule,.tr156-rule,.tr160-panel,
 .genesis-chain-foot,.p7-boundary,.p10-dock,.p10-btn,
 [class*="dark-panel"],[class*="dark-card"],[class*="dark-band"]
){color:var(--g169-on-dark)!important;border-color:var(--g169-dark-line)!important}

html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-scene.dark,.genesis-principle,.genesis-cta-box,.g04-constitution-scene,
 .s16-section.dark,.s16-pillar.software,.s16-product-viewport,
 .concretos-section,.pillar-card.technology,.product-hero,
 .g01-p3-equation,.ku-principle,.ku-cta-panel,.p5-metric,.p7-cta,
 .p13-band,.p14-signal,.p14-authority-product,.p14-bridge,
 .p16-hero,.p16-step-index,.p16-proof-item,.p16-cta,
 .p18-hero,.p18-cta,.p28-cta,.p45-proof-rule,
 .co-tabs,.co-role-zone,.co-release .co-access,
 .pr-route-media,.pr-cta,.pr-lifecycle-boundary,
 #register .pr-register-index,#register .pr-gates,
 .aa-boundary,.p86-gate,.p98-boundary,
 .company-model-v2__boundary,.company-delivery-boundary,.company-review-gateway,
 .company-contact-context,.tr153-truthbar,.tr155-authority__rule,.tr156-rule,.tr160-panel,
 .genesis-chain-foot,.p7-boundary,.p10-dock,
 [class*="dark-panel"],[class*="dark-card"],[class*="dark-band"]
) :is(h1,h2,h3,h4,h5,h6,strong,b,dt,.title,[class*="title"],[class*="heading"]){
 color:var(--g169-on-dark)!important;
 text-shadow:none!important;
}
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-scene.dark,.genesis-principle,.genesis-cta-box,.g04-constitution-scene,
 .s16-section.dark,.s16-pillar.software,.s16-product-viewport,
 .concretos-section,.pillar-card.technology,.product-hero,
 .g01-p3-equation,.ku-principle,.ku-cta-panel,.p5-metric,.p7-cta,
 .p13-band,.p14-signal,.p14-authority-product,.p14-bridge,
 .p16-hero,.p16-step-index,.p16-proof-item,.p16-cta,
 .p18-hero,.p18-cta,.p28-cta,.p45-proof-rule,
 .co-tabs,.co-role-zone,.co-release .co-access,
 .pr-route-media,.pr-cta,.pr-lifecycle-boundary,
 #register .pr-register-index,#register .pr-gates,
 .aa-boundary,.p86-gate,.p98-boundary,
 .company-model-v2__boundary,.company-delivery-boundary,.company-review-gateway,
 .company-contact-context,.tr153-truthbar,.tr155-authority__rule,.tr156-rule,.tr160-panel,
 .genesis-chain-foot,.p7-boundary,.p10-dock,
 [class*="dark-panel"],[class*="dark-card"],[class*="dark-band"]
) :is(p,li,dd,figcaption,small,.muted,.subtitle,.description,.lead,[class*="copy"],[class*="meta"]){
 color:var(--g169-on-dark-2)!important;
}

/* Dark nested cards and workflow cells seen in evidence/scenario/company sections. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-principle,.p5-metric,.p16-step-index,.p16-proof-item,.p45-proof-rule,
 .co-tabs>*,.co-role-zone>*,.pr-route-media article,.pr-lifecycle-boundary article,
 .company-model-v2__boundary>*,.company-delivery-boundary>*,.tr160-panel>*,
 .p7-state,.p9-card.is-dark,.p10-dock a
){background-color:color-mix(in srgb,var(--g169-dark-2) 88%,#071b19)!important;color:var(--g169-on-dark)!important}

/* Pale surfaces: prevent legacy dark-mode declarations from leaking into light mode. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .g02-workspace,.g02-evidence-card,.g02-decision-card,.g02-metrics article,
 .p9-card,.p10-card,.p17-card,.pr-register-panel,.tr154-detail,
 .tr155-authority,.tr156-authority,.tr159-panel,.tr159-grid article,
 .company-model-authority__detail,.accountable-delivery-authority__detail,
 .company-evidence-authority__detail,.company-truth-authority__detail,
 .company-review-gateway__card
){background:var(--g169-light-2)!important;color:var(--g169-light-ink)!important;border-color:rgba(31,69,63,.15)!important}
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .g02-workspace,.g02-evidence-card,.g02-decision-card,.g02-metrics article,
 .p9-card,.p10-card,.p17-card,.pr-register-panel,.tr154-detail,
 .tr155-authority,.tr156-authority,.tr159-panel,.tr159-grid article,
 .company-model-authority__detail,.accountable-delivery-authority__detail,
 .company-evidence-authority__detail,.company-truth-authority__detail,
 .company-review-gateway__card
) :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--g169-light-ink)!important}
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .g02-workspace,.g02-evidence-card,.g02-decision-card,.g02-metrics article,
 .p9-card,.p10-card,.p17-card,.pr-register-panel,.tr154-detail,
 .tr155-authority,.tr156-authority,.tr159-panel,.tr159-grid article,
 .company-model-authority__detail,.accountable-delivery-authority__detail,
 .company-evidence-authority__detail,.company-truth-authority__detail,
 .company-review-gateway__card
) :is(p,li,small,.muted,.description){color:var(--g169-light-muted)!important}

/* CTA and gold labels keep sufficient contrast. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-cta-box,.p7-cta,.p16-cta,.p18-cta,.p28-cta,.pr-cta,.company-review-gateway
) :is(.genesis-btn,.p10-btn,.p16-btn,.p18-btn,a[role="button"],button){
 color:#13201e!important;
}
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(
 .genesis-cta-box,.p7-cta,.p16-cta,.p18-cta,.p28-cta,.pr-cta,.company-review-gateway
) :is(.kicker,.eyebrow,small,[class*="kicker"],[class*="eyebrow"]){color:#e4c65d!important}

/* Remove the muddy end-of-page gradient visible in light mode. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 .s16-footer::before,
html:not(.dark):not([data-theme="dark"]) body.s16-p169 .p20-footer::before{
 background:linear-gradient(to bottom,transparent,rgba(12,36,34,.12) 72%,var(--g168-footer))!important;
 opacity:1!important;
}

/* Light-mode section rhythm and stable text rendering. */
html:not(.dark):not([data-theme="dark"]) body.s16-p169 main{
 background:linear-gradient(180deg,#f4f8f7 0%,#f7faf9 45%,#f2f7f5 100%)!important;
}
html:not(.dark):not([data-theme="dark"]) body.s16-p169 :is(.genesis-scene,.p35-scene,section){
 --section-ink:var(--g169-light-ink);
}
