/* Final shared color layer; wins over earlier page-specific dark rules. */
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night]{color-scheme:dark;--bg:#0e1624;--paper:#192437;--ink:#edf3fc;--muted:#bac8db;--line:#3b4c65;--blue:#94bcff;--accent:#ff8197;--r-bg:#0e1624;--r-paper:#192437;--r-ink:#edf3fc;--r-muted:#bac8db;--r-border:#3b4c65;--r-blue:#94bcff;--d-bg:#0e1624!important;--d-paper:#192437!important;--d-ink:#edf3fc!important;--d-muted:#bac8db!important;--d-line:#3b4c65!important;--hr-bg:#0e1624;--hr-surface:#192437;--hr-ink:#edf3fc;--hr-muted:#bac8db;--hr-line:#3b4c65}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body main.homepage-root,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] .page-shell{background:#0e1624!important;color:#edf3fc!important;background-image:none!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(.home-site-header,.site-header,.top,.blog-top,.contact-top,.cb-unified-footer,.foot,footer){background:#131e2f!important;color:#edf3fc!important;border-color:#3b4c65!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(.cb34-showcase,.cb-center,.blog-home,.home-seo,.cb34-slide,.cb34-slide-copy,.cb-tool-card,.blog-card,.cb71-post-card,.cb34-post-card,.cb-ad,.cb-sponsor,.cb33-sponsor,.panel,.content-section,.wizard-card,.notice,.contact-card,.contact-notice,.contact-partnership,.cb-consent-banner,dialog,.calculator-wizard){background:#192437!important;color:#edf3fc!important;border-color:#3b4c65!important;background-image:none!important;box-shadow:0 8px 26px #0002!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(main,.cb-ad,.cb-sponsor,.cb33-sponsor,header,footer,dialog,.cb-consent-banner) :is(h1,h2,h3,h4,strong,label,legend,summary,dt,dd,li,th,td){color:#edf3fc!important;-webkit-text-fill-color:#edf3fc!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(main,.cb-ad,.cb-sponsor,.cb33-sponsor,header,footer,dialog,.cb-consent-banner) :is(p,small,.hint,.lead,.muted,.section-copy,.intro-copy){color:#bac8db!important;-webkit-text-fill-color:#bac8db!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(a,button){color:#d5e4ff!important;-webkit-text-fill-color:#d5e4ff!important;border-color:#435574!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(button,.cb-backbar>a,.cb-all-link,.blog-text-link,.cb34-bottom a){background:#25354d!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(input,textarea,select){background:#111c2d!important;color:#edf3fc!important;-webkit-text-fill-color:#edf3fc!important;border-color:#526683!important;caret-color:#fff!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(input,textarea)::placeholder{color:#a8b8d0!important;-webkit-text-fill-color:#a8b8d0!important;opacity:1}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .home-search-row form,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .home-trust-row>div>div,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .home-action-grid>.home-action-cell>:is(a,button){background:#192437!important;color:#edf3fc!important;-webkit-text-fill-color:#edf3fc!important;border-color:#3b4c65!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .home-search-row form button,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .home-calculator-cell>button,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(.contact-submit,[data-st=start],.primary){background:#155bdd!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(.cb-consent-dialog,.cb-rating-dialog) :is(span,strong,h2,p,small){color:#edf3fc!important;-webkit-text-fill-color:#edf3fc!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .cb-consent-dialog .cb-consent-actions{background:#192437!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .cb35-guide-placeholder{background:#263b5b!important;color:#b9d3ff!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .st-metrics>div,html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .st-network{background:#111c2d!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body #cb-speed-test{background:#192437!important;--st-bg:#192437;--st-ink:#edf3fc;--st-dim:#bac8db;--st-soft:#111c2d;--st-line:#3b4c65}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .st-rating input:checked+span{background:#155bdd!important;color:#fff!important}
html body .cb34-showcase>header{padding:18px 24px!important;display:flex;align-items:center;gap:16px;justify-content:space-between}
html body .cb34-showcase>header>div:first-child{flex:1;text-align:center}
html body .cb34-showcase>header h2{margin:4px 0!important}
html body .cb34-showcase>header p{margin:0!important}
.cb34-showcase [data-cb34-prev],.cb34-showcase [data-cb34-next]{cursor:pointer;min-width:44px;min-height:44px}
.cb34-showcase button:disabled{opacity:.4;cursor:default}
/* Only desktop hero spacing changes. */
@media(min-width:1024px){html:is(#cb-ui-colors,html):root:root:root body main.homepage-root>section:first-of-type{padding-top:8px!important;padding-bottom:18px!important;min-height:0!important;justify-content:flex-start!important}html:is(#cb-ui-colors,html):root:root:root body .home-search-row{padding-top:0!important}html:is(#cb-ui-colors,html):root:root:root body .home-search-row h1{font-size:clamp(34px,3.2vw,46px)!important;max-width:none!important;padding-right:185px!important;line-height:1.12!important}html:is(#cb-ui-colors,html):root:root:root body .home-search-row>div>div:first-child{margin-bottom:12px!important}html:is(#cb-ui-colors,html):root:root:root body .home-search-row p{margin-top:12px!important;margin-bottom:12px!important}}
.cb-rating-dialog{position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--r-border,#dfe7f2);border-radius:18px;padding:24px;background:var(--r-paper,#fff);color:var(--r-ink,#102347);box-shadow:0 24px 90px #0005}
.cb-rating-dialog::backdrop{background:#071326b3}.cb-rating-dialog h2{font-size:23px;margin:0 44px 12px 0}.cb-rating-dialog>button{position:absolute;right:14px;top:12px;min-height:44px;min-width:44px;border:1px solid var(--r-border);border-radius:10px;background:var(--r-bg);color:var(--r-ink)}
.cb-rating-dialog .st-rating{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.cb-rating-dialog .st-rating label{position:relative}.cb-rating-dialog .st-rating input{position:absolute;opacity:0}.cb-rating-dialog .st-rating span{min-height:44px;display:grid;place-items:center;border:1px solid var(--r-border);border-radius:8px}.cb-rating-dialog .st-rating input:checked+span{background:#155bdd;color:#fff}.cb-rating-dialog .st-rating input:focus-visible+span{outline:3px solid #85b1ff}.cb-rating-dialog .st-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.cb-rating-dialog .st-actions button{padding:10px 16px;min-height:44px;border-radius:10px;border:1px solid var(--r-border);background:var(--r-bg);color:var(--r-ink)}.cb-rating-dialog .st-research-consent{display:flex;align-items:start;gap:10px;font-size:13px}.cb-rating-dialog .st-research-consent input{width:20px;height:20px;flex-shrink:0}.cb-rating-dialog p,.cb-rating-dialog small{font-size:13px;line-height:1.7}.cb-rating-dialog fieldset{border:0;padding:0;margin:0}.cb-rating-dialog .st-rating-labels{display:flex;justify-content:space-between;font-size:11px}.cb-rating-dialog .st-actions button:first-child{background:#155bdd;color:white}
#cb-speed-test .st-survey-panel{grid-column:1/-1;grid-row:1;border:1px solid var(--r-border)!important;border-radius:14px!important;padding:18px!important;background:var(--r-bg)!important}
#cb-speed-test .cb-rating-open{min-height:44px;border:1px solid var(--r-border);border-radius:10px;background:#155bdd;color:#fff;padding:10px 16px;margin-bottom:12px;cursor:pointer}
@media(max-width:650px){.cb-rating-dialog{padding:18px}.cb34-showcase>header{padding-inline:14px!important}}

#cb-speed-test .st-head{flex-wrap:wrap}#cb-speed-test .st-head .cb-rating-open{margin:0}

html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body .calculator-wizard :is([class*="bg-white"],[class*="bg-slate-50"],[class*="bg-blue-50"],[class*="bg-slate-100"]){background:#192437!important;background-image:none!important}
html:is(#cb-ui-colors,html):root:root:root:root[data-site-theme=night] body :is(.calculator-wizard,.wizard-card,.cb-consent-dialog) :is(span,div[class*="text-slate"],p){color:#edf3fc!important;-webkit-text-fill-color:#edf3fc!important}
.cb-rating-dialog>label{display:block;font-size:13px;font-weight:600;margin:12px 0 18px}.cb-rating-dialog>label input{display:block;width:100%;min-height:46px;padding:10px;border:1px solid var(--r-border);border-radius:10px;background:var(--r-paper);color:var(--r-ink)}
