/* v23.23 global dark graphite palette — including mobile-only legacy surfaces.
   Scope to ordinary content surfaces; preserve deep-black nav and dark media. */
:root{--claw-panel-graphite:#454545;--claw-panel-slate:#373737;--claw-ink:#f5f5f5;--claw-muted:#e5e5e5}
html body main :is(.ans-portal-section,.v191-home-cases,.claw-unix-section,.claw-answer-section,.claw-v16-proof,.v18-answer-block,.v14-footer-route,.v12-side-hero,.v22-section,.v182-section,.v19-approach,.v19-evidence-strip,.page-head,.feature-folio,.v14-section,.v15-article-plain,.v14-lite,.ecosystem-section):not(.dark-bg){
 background:#454545!important;background-image:none!important;color:var(--claw-ink)!important;
}
html body main :is(.claw-unix-section,.v19-approach,.v19-evidence-strip,.v18-answer-block,.v14-section.alt,.v22-section:nth-of-type(even)){
 background:#373737!important;background-image:none!important;color:var(--claw-ink)!important;
}
html body main.v22-page{background:#454545!important;color:#f5f5f5!important}
html body main :is(.ans-portal-section,.v191-home-cases,.claw-unix-section,.claw-answer-section,.claw-v16-proof,.v18-answer-block,.v14-footer-route,.v12-side-hero,.v22-section,.v182-section,.v19-approach,.v19-evidence-strip,.page-head,.feature-folio,.v14-section,.v15-article-plain,.v14-lite,.ecosystem-section):not(.dark-bg) :is(h1,h2,h3,h4,h5,h6){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body main :is(.ans-portal-section,.v191-home-cases,.claw-unix-section,.claw-answer-section,.claw-v16-proof,.v18-answer-block,.v14-footer-route,.v12-side-hero,.v22-section,.v182-section,.v19-approach,.v19-evidence-strip,.page-head,.v14-section,.v15-article-plain,.v14-lite,.ecosystem-section):not(.dark-bg) :is(p,li,.lead,.lede){color:#e5e5e5!important}
html body main :is(.ans-portals a,.v191-card,.v14-card,.v18-answer-card,.claw-v16-proof-card,.eco-card,.v22-card){background:#5b5b5b!important;color:#f5f5f5!important;border-color:#858585!important}
html body main :is(.ans-portals a,.v191-card,.v14-card,.v18-answer-card,.claw-v16-proof-card,.eco-card,.v22-card) :is(h3,h4,p,span){color:#f5f5f5!important;-webkit-text-fill-color:initial!important}
html body main .v191-actions a:first-child,
html body main a.btn.primary,
html body main a.cta-primary{background:#801630!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Fix the wider tablet viewport, legacy fixed-width children, and keyboard-open state. */
html body :is(.xstage-display-pair,.xstage-display-pair >*,.xman-storyboard,.xstage-slide-deck,.xstage-slide-inner,.xstage-slide-holder,.xstage-slide-copy){box-sizing:border-box;min-width:0;max-width:100%}
html body :is(.xstage-display-pair,.xstage-slide-deck,.xman-storyboard){width:100%;overflow-wrap:anywhere}
html body .xstage-display-pair{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;align-items:start;gap:14px!important;max-width:100%;margin-inline:auto}
html body .xstage-display-pair .xstage-slide-deck{height:auto!important;min-height:0!important;overflow:visible!important}
html body .xstage-display-pair .xstage-slide-inner{height:auto!important;min-height:0!important}
html body .xstage-display-pair .xstage-slide-holder{overflow:hidden!important}
html body .xstage-display-pair .xstage-slide-copy{overflow:visible!important}
html body .xman-storyboard .xman-s-controls{min-width:0}
html body .xman-storyboard .xman-s-stages{overflow-x:auto;scrollbar-width:thin;min-width:0}
html body .xman-storyboard .xman-s-actions{flex-wrap:wrap}
html body .xman-storyboard button.xstage-skip-intro{background:#414141!important;border:1px solid #9d9d9d!important;color:#f4f4f4!important;-webkit-text-fill-color:#f4f4f4!important}
html body .xman-storyboard button.xstage-skip-intro[hidden]{display:none!important}
html body .xstage-slide-source a{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:1000px){
 html body .xstage-display-pair{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:13px!important}
 html body .xstage-display-pair > *{width:100%!important;max-width:100%!important;min-width:0!important}
 html body .xstage-display-pair[data-slide-position="above"]{flex-direction:column-reverse!important}
 html body .xstage-display-pair[data-slide-position="overlay"] .xstage-slide-deck{position:static!important;width:100%!important}
}
@media(max-width:580px){
 html body .xstage-display-pair{padding-inline:0!important;margin:12px 0 20px!important}
 html body .xman-storyboard .xman-s-actions button{min-height:40px!important;flex:1 1 auto!important;max-width:100%!important}
 html body .xman-storyboard .xman-s-stages{display:flex!important;overflow-x:auto!important;padding-bottom:3px}
 html body .xman-storyboard .xman-s-stage{min-width:72px!important;flex:0 0 auto!important}
 html body .xstage-slide-holder img{max-height:140px!important;min-height:90px!important;aspect-ratio:16/7!important}
 html body .xstage-slide-copy{padding:13px!important}
 html body .xstage-slide-copy :is(h3,p){max-width:100%;overflow-wrap:anywhere}
 html body .xman-storyboard .xman-s-screen{height:270px!important;max-height:270px!important}
 html body .xman-storyboard .xman-s-lines{font-size:10.1px!important;line-height:1.48!important}
}
