:root{
  --ds-v55-gutter:clamp(1.15rem,2.2vw,2.75rem);
  --ds-v55-reading-max:78rem;
  --ds-v55-body-size:clamp(.98rem,.30vw + .90rem,1.07rem);
  --ds-v55-h1-size:clamp(2.25rem,4.05vw,3.58rem);
  --ds-v55-h2-size:clamp(1.55rem,1.45vw + 1.15rem,1.90rem);
  --ds-v55-h3-size:clamp(1.22rem,.90vw + 1.02rem,1.42rem);
  --ds-v55-light-text:#26394f;
  --ds-v55-light-h2:#17345a;
  --ds-v55-light-h3:#315d89;
  --ds-v55-light-link:#155d9a;
  --ds-v55-light-visited:#5b3f78;
  --ds-v55-dark-text:#f5f8fb;
  --ds-v55-dark-hover:#fff4cf;
  --ds-v55-focus:#d6a746;
}
.organisation-book,.biography-book,.mars-book,.mars-article,article[data-ds-book]{
  box-sizing:border-box;width:min(100%,var(--ds-v55-reading-max));margin-inline:auto;
  padding-inline:var(--ds-v55-gutter);font-size:var(--ds-v55-body-size);line-height:1.72;
}
.organisation-book h2,.biography-book h2,.mars-book h2,.mars-article h2,article[data-ds-book] h2{
  font-size:var(--ds-v55-h2-size);line-height:1.18;margin-block:clamp(2.25rem,4vw,4.75rem) 1.15rem;
}
.organisation-book h3,.biography-book h3,.mars-book h3,.mars-article h3,article[data-ds-book] h3{
  font-size:var(--ds-v55-h3-size);line-height:1.25;margin-block:2.1rem .85rem;
}
.mars-hero h1,.organisation-hero h1,.biography-hero h1,[data-ds-hero] h1{
  font-size:var(--ds-v55-h1-size);line-height:1.02;max-width:18ch;text-wrap:balance;
}
[data-ds-text-surface="light"]{color:var(--ds-v55-light-text)}
[data-ds-text-surface="light"] h2{color:var(--ds-v55-light-h2)}
[data-ds-text-surface="light"] h3{color:var(--ds-v55-light-h3)}
[data-ds-text-surface="light"] a{color:var(--ds-v55-light-link)}
[data-ds-text-surface="light"] a:visited{color:var(--ds-v55-light-visited)}
[data-ds-text-surface="dark"]{color:var(--ds-v55-dark-text)}
[data-ds-text-surface="dark"] a{color:var(--ds-v55-dark-text)}
[data-ds-text-surface="dark"] a:hover,[data-ds-text-surface="dark"] a:focus-visible{color:var(--ds-v55-dark-hover)}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--ds-v55-focus);outline-offset:3px;
}
:where(.direct-answer,.reference-tools,.reference-tools-and-quick-orientation,.agency-history-spine-v1,
.organisation-section,.biography-section,.book-section,.content-card,.info-panel,.mars-library-card){
  padding-inline:max(1rem,var(--ds-v55-gutter));box-sizing:border-box;
}
.organisation-book figure,.biography-book figure,.mars-book figure,.mars-article figure{
  margin-inline:auto;margin-block:clamp(2rem,3.4vw,4.25rem);
}
.organisation-book figure img,.biography-book figure img,.mars-book figure img,.mars-article figure img{
  display:block;width:auto;max-width:100%;height:auto;margin-inline:auto;object-fit:contain;
}
figure[data-ds-orientation="portrait"],.organisation-visual--portrait,.biography-visual--portrait{
  max-width:min(42rem,78%);
}
figure[data-ds-orientation="portrait"] img,.organisation-visual--portrait img,.biography-visual--portrait img{
  width:100%;height:auto;object-fit:contain;background:transparent;filter:none;
}
:where(.blur-fill,.image-blur-fill,.media-blur-fill,.portrait-blur-fill,.organisation-visual__blur,.figure-blurred-background){
  display:none!important;
}
.ds-floating-toc,[data-ds-floating-toc-panel]{
  position:fixed;top:7.25rem;right:max(1rem,env(safe-area-inset-right));z-index:850;
  width:min(20rem,calc(100vw - 2rem));max-height:calc(100vh - 8.25rem);overflow:auto;
  overscroll-behavior:contain;border-radius:.9rem;box-sizing:border-box;
}
.ds-floating-toc[hidden],[data-ds-floating-toc-panel][hidden]{display:none!important}
.ds-floating-toc a,[data-ds-floating-toc-panel] a{
  display:block;padding:.58rem .7rem;border-radius:.45rem;text-decoration:none;line-height:1.3;
}
.ds-floating-toc a[aria-current="true"],.ds-floating-toc a.is-active,
[data-ds-floating-toc-panel] a[aria-current="true"],[data-ds-floating-toc-panel] a.is-active{font-weight:700}
@media(max-width:1319px){
  .ds-floating-toc,[data-ds-floating-toc-panel]{
    right:.75rem;top:auto;bottom:5.25rem;width:min(24rem,calc(100vw - 1.5rem));max-height:min(65vh,34rem);
  }
}
@media(max-width:700px){
  :root{--ds-v55-gutter:clamp(1rem,4.2vw,1.35rem);--ds-v55-body-size:1rem;
    --ds-v55-h1-size:clamp(2rem,10.5vw,3.05rem);--ds-v55-h2-size:clamp(1.45rem,7vw,1.75rem);
    --ds-v55-h3-size:clamp(1.18rem,5vw,1.38rem)}
  figure[data-ds-orientation="portrait"],.organisation-visual--portrait,.biography-visual--portrait{max-width:100%}
  .ds-floating-toc,[data-ds-floating-toc-panel]{left:.75rem;right:.75rem;width:auto;max-height:58vh}
}

:where(.people-book,.organisation-book,.mars-book,.mars-article,article[data-ds-book]) p,
:where(.people-book,.organisation-book,.mars-book,.mars-article,article[data-ds-book]) li{
  font-size:var(--ds-v55-body-size)!important;line-height:1.72!important;
}
:where(.people-book,.organisation-book,.mars-book,.mars-article,article[data-ds-book]) > :where(section,aside),
:where(.people-section,.bio-tools-v641,.bio-book-flow-section,.bio-book-expansion,.org-origin-section,.agency-history-spine-v1,.organisation-section,.book-section,.direct-answer,.reference-tools,.reference-tools-and-quick-orientation){
  box-sizing:border-box!important;padding-left:max(1rem,var(--ds-v55-gutter))!important;padding-right:max(1rem,var(--ds-v55-gutter))!important;
}
:where(.people-book,.organisation-book,.mars-book,.mars-article,article[data-ds-book]) h2{
  font-size:var(--ds-v55-h2-size)!important;line-height:1.2!important;
}
:where(.people-book,.organisation-book,.mars-book,.mars-article,article[data-ds-book]) h3{
  font-size:var(--ds-v55-h3-size)!important;line-height:1.26!important;
}
.mars-hero h1,.organisation-hero h1,.biography-hero h1,[data-ds-hero] h1,.mars-hero__box h1,.mars-hero__grid h1{
  font-size:var(--ds-v55-h1-size)!important;line-height:1.03!important;max-width:18ch!important;
}
.bio-tools-v641{max-width:min(100%,var(--ds-v55-reading-max));margin-inline:auto!important;}
.bio-tools-v641 > h2{font-size:var(--ds-v55-h2-size)!important;padding-inline:0!important;}

.ds-floating-toc{right:4.75rem!important;box-shadow:0 18px 45px rgba(5,15,30,.28);background:#0e1b2c;color:#f5f8fb;border:1px solid rgba(255,255,255,.18);}
.ds-floating-toc__head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .85rem;background:#0e1b2c;border-bottom:1px solid rgba(255,255,255,.13)}
.ds-floating-toc__title{font-weight:800;color:#f7d66b;font-size:.95rem}
.ds-floating-toc__close,.ds-floating-toc-toggle{border:0;border-radius:.55rem;cursor:pointer;font-weight:800}
.ds-floating-toc__close{width:2rem;height:2rem;background:#fff;color:#102037}
.ds-floating-toc__body{padding:.55rem}
.ds-floating-toc a{color:#f5f8fb!important;font-size:.86rem!important}
.ds-floating-toc a:hover,.ds-floating-toc a:focus-visible{background:rgba(255,255,255,.1);color:#fff4cf!important}
.ds-floating-toc a.is-active{background:#f2cf62!important;color:#17213a!important}
.ds-floating-toc-toggle{position:fixed;right:4.75rem;top:7.25rem;z-index:851;padding:.62rem .72rem;background:#17345a;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.25)}
@media(max-width:1319px){.ds-floating-toc,.ds-floating-toc-toggle{right:.75rem!important}.ds-floating-toc-toggle{top:auto;bottom:5.25rem}}

#ds-floating-actions-v56.ds-floating-actions{
  position:fixed!important;
  top:50%!important;
  right:max(1rem,env(safe-area-inset-right))!important;
  bottom:auto!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  z-index:930!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:.62rem!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  pointer-events:auto!important;
}
#ds-floating-actions-v56>[data-ds-action]{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  width:2.85rem!important;
  min-width:2.85rem!important;
  height:2.85rem!important;
  min-height:2.85rem!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:999px!important;
  background:#17345a!important;
  color:#fff!important;
  font:800 1.25rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
#ds-floating-actions-v56>[data-ds-action="support"]{background:#c94a37!important;color:#fff!important}
#ds-floating-actions-v56>[data-ds-action]:hover,
#ds-floating-actions-v56>[data-ds-action]:focus-visible{transform:translateX(-2px);filter:brightness(1.12);outline:3px solid #f2cf62!important;outline-offset:2px!important}
#ds-floating-actions-v56>[data-ds-action][hidden]{display:none!important}

#ds-floating-toc-v55.ds-floating-toc{
  position:fixed!important;
  top:7.25rem!important;
  right:5.25rem!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  width:min(19rem,calc(100vw - 7rem))!important;
  max-height:calc(100vh - 9rem)!important;
  overflow:auto!important;
  z-index:920!important;
}
@media(max-width:768px){
  #ds-floating-actions-v56.ds-floating-actions{right:max(.5rem,env(safe-area-inset-right))!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;gap:.48rem!important}
  #ds-floating-actions-v56>[data-ds-action]{width:2.55rem!important;min-width:2.55rem!important;height:2.55rem!important;min-height:2.55rem!important;font-size:1.08rem!important}
  #ds-floating-toc-v55.ds-floating-toc{top:5.25rem!important;right:3.65rem!important;left:.6rem!important;width:auto!important;max-height:70vh!important}
}

#ds-mars-floating-ui-v57.ds-mars-floating-ui-v57{
 position:fixed!important;top:50%!important;right:max(.75rem,env(safe-area-inset-right))!important;bottom:auto!important;left:auto!important;transform:translateY(-50%)!important;
 z-index:980!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:.58rem!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;pointer-events:auto!important;
}
#ds-mars-floating-ui-v57>[data-ds-action]{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:2.85rem!important;min-width:2.85rem!important;height:2.85rem!important;min-height:2.85rem!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:999px!important;background:#17345a!important;color:#fff!important;font:800 1.22rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;text-decoration:none!important;box-shadow:0 8px 22px rgba(0,0,0,.28)!important;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;}
#ds-mars-floating-ui-v57>[data-ds-action="support"]{background:#c94a37!important;color:#fff!important}
#ds-mars-floating-ui-v57>[data-ds-action]:hover,#ds-mars-floating-ui-v57>[data-ds-action]:focus-visible{transform:translateX(-2px);filter:brightness(1.12);outline:3px solid #f2cf62!important;outline-offset:2px!important}
#ds-mars-floating-toc-v57.ds-mars-floating-toc-v57{position:fixed!important;top:7.1rem!important;right:5.2rem!important;bottom:auto!important;left:auto!important;width:min(20rem,calc(100vw - 7rem))!important;max-height:calc(100vh - 9rem)!important;overflow:hidden!important;z-index:970!important;background:#0e1b2c!important;color:#f5f8fb!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:1rem!important;box-shadow:0 18px 45px rgba(5,15,30,.34)!important}
#ds-mars-floating-toc-v57[hidden]{display:none!important}
.ds-mars-floating-toc-v57__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .85rem;background:#0e1b2c;border-bottom:1px solid rgba(255,255,255,.13)}
.ds-mars-floating-toc-v57__head strong{color:#f7d66b!important;font-size:.95rem!important}.ds-mars-floating-toc-v57__close{width:2rem;height:2rem;border:0;border-radius:.55rem;background:#fff;color:#102037;cursor:pointer;font-weight:800}
.ds-mars-floating-toc-v57__body{display:flex;flex-direction:column;gap:.18rem;max-height:calc(100vh - 13rem);overflow:auto;padding:.55rem}.ds-mars-floating-toc-v57__body a{display:block;padding:.48rem .56rem;border-radius:.5rem;color:#f5f8fb!important;font-size:.86rem!important;line-height:1.28!important;text-decoration:none!important}.ds-mars-floating-toc-v57__body a:hover,.ds-mars-floating-toc-v57__body a:focus-visible{background:rgba(255,255,255,.1);color:#fff4cf!important}.ds-mars-floating-toc-v57__body a.is-active{background:#f2cf62!important;color:#17213a!important;font-weight:800}
@media(max-width:768px){#ds-mars-floating-ui-v57.ds-mars-floating-ui-v57{right:max(.45rem,env(safe-area-inset-right))!important;top:50%!important;transform:translateY(-50%)!important;gap:.44rem!important}#ds-mars-floating-ui-v57>[data-ds-action]{width:2.52rem!important;min-width:2.52rem!important;height:2.52rem!important;min-height:2.52rem!important;font-size:1.05rem!important}#ds-mars-floating-toc-v57.ds-mars-floating-toc-v57{top:4.8rem!important;right:3.55rem!important;left:.55rem!important;width:auto!important;max-height:72vh!important}.ds-mars-floating-toc-v57__body{max-height:calc(72vh - 3.5rem)}}

:root{
  --ds-v58-float-right:max(.85rem,env(safe-area-inset-right));
  --ds-v58-float-size:2.8rem;
  --ds-v58-float-gap:.58rem;
  --ds-v58-dark-text:#f6f8fb;
  --ds-v58-dark-muted:#e5edf7;
  --ds-v58-dark-link:#d7ecff;
  --ds-v58-dark-accent:#f5d86a;
}

.mars-bible-catalog{
  color:var(--ds-v58-dark-text)!important;
}
.mars-bible-catalog > .mars-kicker{
  color:var(--ds-v58-dark-accent)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-accent)!important;
}
.mars-bible-catalog > .mars-subhead-lead,
.mars-bible-catalog > .mars-subhead-lead strong,
.mars-bible-catalog > p{
  color:var(--ds-v58-dark-text)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-text)!important;
}
.mars-bible-catalog > p a,
.mars-bible-catalog > p .mars-term,
.mars-bible-catalog > .mars-subhead-lead a{
  color:var(--ds-v58-dark-link)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-link)!important;
  text-decoration-color:rgba(215,236,255,.78)!important;
}
.mars-bible-catalog .mars-bible-card,
.mars-bible-catalog .mars-bible-card :is(strong,span){
  color:#152b49!important;
  -webkit-text-fill-color:#152b49!important;
}

[data-ds-auto-surface="dark"] > :is(h1,h2,h3,h4,h5,p,blockquote,.mars-kicker,.mars-subhead-lead),
[data-ds-auto-surface="dark"] > :is(p,blockquote,.mars-subhead-lead) :is(strong,em,span:not(.mars-bible-card *)){
  color:var(--ds-v58-dark-text)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-text)!important;
}
[data-ds-auto-surface="dark"] > :is(p,blockquote,.mars-subhead-lead) a:not(.mars-bible-card){
  color:var(--ds-v58-dark-link)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-link)!important;
}

[data-ds-auto-surface="dark"] :is(.mars-bible-card,.card,.ds-card,[data-ds-surface="light"],[data-ds-text-surface="light"]),
[data-ds-auto-surface="dark"] :is(.mars-bible-card,.card,.ds-card,[data-ds-surface="light"],[data-ds-text-surface="light"]) *{
  -webkit-text-fill-color:initial;
}

.ds-floating-actions:not(#ds-mars-floating-ui-v58),
#ds-floating-actions-v56,
#ds-mars-floating-ui-v57,
#ds-floating-toc-v55,
#ds-mars-floating-toc-v57,
.ds-floating-toc:not(#ds-mars-floating-toc-v58),
.ds-page-toc{
  display:none!important;
}
#ds-mars-floating-ui-v58.ds-mars-floating-ui-v58{
  position:fixed!important;
  top:50%!important;
  right:var(--ds-v58-float-right)!important;
  bottom:auto!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  z-index:2147483000!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:var(--ds-v58-float-gap)!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  pointer-events:auto!important;
  isolation:isolate!important;
}
#ds-mars-floating-ui-v58>[data-ds-action]{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  width:var(--ds-v58-float-size)!important;
  min-width:var(--ds-v58-float-size)!important;
  height:var(--ds-v58-float-size)!important;
  min-height:var(--ds-v58-float-size)!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:999px!important;
  background:#17345a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font:800 1.18rem/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  transition:transform .14s ease,filter .14s ease,background-color .14s ease,box-shadow .14s ease!important;
}
#ds-mars-floating-ui-v58>[data-ds-action="support"]{background:#c94a37!important}
#ds-mars-floating-ui-v58>[data-ds-action]:hover{
  transform:translateX(-4px) scale(1.06)!important;
  filter:brightness(1.18)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.38)!important;
}
#ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{
  transform:translateX(-3px) scale(1.04)!important;
  outline:3px solid #f2cf62!important;
  outline-offset:3px!important;
}
#ds-mars-floating-toc-v58.ds-mars-floating-toc-v58{
  position:fixed!important;
  top:6.2rem!important;
  right:calc(var(--ds-v58-float-size) + 2.2rem)!important;
  bottom:auto!important;
  left:auto!important;
  width:min(21rem,calc(100vw - 8rem))!important;
  max-height:calc(100vh - 8.2rem)!important;
  overflow:hidden!important;
  z-index:2147482990!important;
  background:#0e1b2c!important;
  color:#f5f8fb!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:1rem!important;
  box-shadow:0 18px 45px rgba(5,15,30,.38)!important;
}
#ds-mars-floating-toc-v58[hidden]{display:none!important}
.ds-mars-floating-toc-v58__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .85rem;background:#0e1b2c;border-bottom:1px solid rgba(255,255,255,.13)}
.ds-mars-floating-toc-v58__head strong{color:#f7d66b!important;font-size:.95rem!important}
.ds-mars-floating-toc-v58__close{width:2rem;height:2rem;border:0;border-radius:.55rem;background:#fff;color:#102037;cursor:pointer;font-weight:800}
.ds-mars-floating-toc-v58__body{display:flex;flex-direction:column;gap:.18rem;max-height:calc(100vh - 12rem);overflow:auto;padding:.55rem}
.ds-mars-floating-toc-v58__body a{display:block;padding:.48rem .56rem;border-radius:.5rem;color:#f5f8fb!important;-webkit-text-fill-color:#f5f8fb!important;font-size:.86rem!important;line-height:1.28!important;text-decoration:none!important}
.ds-mars-floating-toc-v58__body a:hover,.ds-mars-floating-toc-v58__body a:focus-visible{background:rgba(255,255,255,.1)!important;color:#fff4cf!important;-webkit-text-fill-color:#fff4cf!important}
.ds-mars-floating-toc-v58__body a.is-active{background:#f2cf62!important;color:#17213a!important;-webkit-text-fill-color:#17213a!important;font-weight:800}
@media(max-width:768px){
  :root{--ds-v58-float-right:max(.45rem,env(safe-area-inset-right));--ds-v58-float-size:2.5rem;--ds-v58-float-gap:.44rem}
  #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}
  #ds-mars-floating-toc-v58.ds-mars-floating-toc-v58{top:4.7rem!important;right:3.45rem!important;left:.55rem!important;width:auto!important;max-height:72vh!important}
  .ds-mars-floating-toc-v58__body{max-height:calc(72vh - 3.5rem)}
}

.mars-stat-strip,
.mars-stat-strip :is(.mars-stat,strong,span,p),
.mars-bible-catalog,
.mars-bible-catalog > :is(p,strong,span,h2,h3),
.mars-panel[data-ds-auto-surface="dark"],
.mars-panel[data-ds-auto-surface="dark"] :is(h1,h2,h3,h4,h5,h6,p,li,strong,em,small,blockquote),
[data-ds-auto-surface="dark"],
[data-ds-auto-surface="dark"] :is(h1,h2,h3,h4,h5,h6,p,li,strong,em,small,blockquote){
  color:var(--ds-v58-dark-text)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-text)!important;
}
.mars-stat-strip a,
.mars-bible-catalog a:not(.mars-bible-card),
.mars-panel[data-ds-auto-surface="dark"] a:not(.mars-bible-card),
[data-ds-auto-surface="dark"] a:not(.mars-bible-card):not(.card):not(.ds-card){
  color:var(--ds-v58-dark-link)!important;
  -webkit-text-fill-color:var(--ds-v58-dark-link)!important;
}

.mars-badge,.mars-badge *{ -webkit-text-fill-color:currentColor!important; }
[data-ds-auto-surface="dark"] :is(.mars-bible-card,.card,.ds-card,[data-ds-surface="light"],[data-ds-text-surface="light"]),
[data-ds-auto-surface="dark"] :is(.mars-bible-card,.card,.ds-card,[data-ds-surface="light"],[data-ds-text-surface="light"]) *{
  color:initial;
  -webkit-text-fill-color:initial!important;
}

html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58{
  position:fixed!important;top:50vh!important;bottom:auto!important;right:var(--ds-v58-float-right)!important;left:auto!important;
  transform:translateY(-50%)!important;contain:layout style;will-change:transform;
}
html body #ds-mars-floating-ui-v58>[data-ds-action]{opacity:1!important;visibility:visible!important;user-select:none!important}
html body #ds-mars-floating-ui-v58>[data-ds-action]:active{transform:translateX(-2px) scale(.96)!important;filter:brightness(.95)!important}
/* Responsive containment for Mars long-form layouts. */
@media(max-width:1040px){
  .mars-grid{grid-template-columns:minmax(0,1fr)!important;}
  .mars-grid>*{min-width:0!important;max-width:100%!important;}
  .mars-article,.mars-sidebox{min-width:0!important;max-width:100%!important;}
  .mars-article :where(.mars-toc,.mars-gallery,.mars-table-wrap,table,figure,img){min-width:0;max-width:100%;}
}
@media(max-width:800px){
  .mars-article .mars-toc{grid-template-columns:minmax(0,1fr)!important;}
}
/* Keep wide data tables inside the reading column at every viewport. */
html#ds-mars-root body :is(.mars-portal-main,.mars-portal-frame) table{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
  box-sizing:border-box!important;
}
html#ds-mars-root body :is(.mars-portal-main,.mars-portal-frame) table :is(th,td){
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
}

/* P0 visual containment — keep V58 actions clear of mobile reading text while preserving the historical V58 runtime. */
@media(max-width:430px){
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]{transform:translateX(.4rem)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:hover{transform:translateX(.15rem) scale(1.06)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{transform:translateX(.2rem) scale(1.04)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:active{transform:translateX(.25rem) scale(.96)!important}
}
/* Final P0 floating rail: reserve a small mobile reading gutter and move desktop actions toward the viewport edge. */
@media(min-width:431px){
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]{transform:translateX(.45rem)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:hover{transform:translateX(.45rem) scale(1.06)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{transform:translateX(.4rem) scale(1.04)!important}
  html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:active{transform:translateX(.45rem) scale(.96)!important}
}
@media(max-width:430px){
  html#ds-mars-root body .mars-portal-main{padding-right:2rem!important}
}
@media(max-width:430px){html#ds-mars-root body .mars-portal-main{padding-right:3rem!important}}
@media(min-width:431px){html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{transform:translateX(.38rem) scale(1.04)!important}}
@media(min-width:431px){html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{transform:translateX(.35rem) scale(1.04)!important}}
@media(min-width:431px){html body #ds-mars-floating-ui-v58.ds-mars-floating-ui-v58>[data-ds-action]:focus-visible{transform:translateX(.37rem) scale(1.04)!important}}

/* P0 table closure — preserve the V6.34 inner-scroll wrapper contract. */
html#ds-mars-root body .ds-table-scroll-v634{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-gutter:stable!important;
  box-sizing:border-box!important;
}
html#ds-mars-root body .ds-table-scroll-v634 > table{
  display:table!important;
  width:max-content!important;
  min-width:max(100%,44rem)!important;
  max-width:none!important;
  overflow:visible!important;
  table-layout:auto!important;
  margin:0!important;
}
@media(max-width:430px){html#ds-mars-root body .ds-table-scroll-v634 > table{min-width:46rem!important}}

/* R4 evidence-card light-surface ownership */
#ds-mars-root .mars-evidence-grid>div[data-ds-text-surface="light"]{background:#f8fafc!important;color:#152434!important;-webkit-text-fill-color:#152434!important;border-color:#c9d5df!important}
#ds-mars-root .mars-evidence-grid>div[data-ds-text-surface="light"] p,#ds-mars-root .mars-evidence-grid>div[data-ds-text-surface="light"] strong{color:#152434!important;-webkit-text-fill-color:#152434!important}
#ds-mars-root .mars-evidence-grid>div[data-ds-text-surface="light"] .mars-badge{color:inherit;-webkit-text-fill-color:currentColor}

/* R4 live-player failure state */
#ds-mars-root .ds-live-player-unavailable{display:grid;place-items:center;min-height:220px;padding:1.25rem;border:1px solid #51667a;border-radius:12px;background:#111b26;color:#eef6ff!important;-webkit-text-fill-color:#eef6ff!important;text-align:center;font:500 .95rem/1.55 system-ui,sans-serif!important}
#ds-mars-root .ds-live-unavailable-note{margin:.75rem 0;padding:1rem 1.1rem;border:1px solid #c7d4df;border-radius:10px;background:#fff;color:#31475b!important;-webkit-text-fill-color:#31475b!important;line-height:1.55}
