/* Shared readable surfaces. Homepage geometry and media are deliberately untouched. */
html:root[data-ap-theme=dark] body{--ink:#f4f6fc!important;--muted:#bdcbe0!important;--paper:#11213a!important;--panel:#11213a!important;--line:#3c506c!important;--blue:#a8caff!important;color-scheme:dark}
html:root[data-ap-theme=dark] body :is(.sitebar,.topbar,.sidebar,.bar){background:#071225!important;color:#f4f6fc!important;border-color:#3c506c!important}
html:root[data-ap-theme=dark] body :is(.sitebar,.topbar,.sidebar,.bar) :is(a,span,strong){color:#e4edfb!important}
html:root[data-ap-theme=dark] body :is(.sitebar,.sidebar) a:is([aria-current=page],.nav-active){background:#2b3f5e!important;color:#fff!important}
html:root[data-ap-theme=dark] body :is(.unified-brand,.logo,.brand) img{filter:brightness(0) invert(1)!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.metric,.panel,.plan-panel,.card,.hero-card,.agent-card,.draft-panel,.truth-panel,.manual-strip,.credit-pill,.credit,.balance,.form-panel,.result-panel,.business-start,.notice,.empty,.date,.sidebar-note,.record,.hub-record,.stat,.weekly>div,.strategy-grid article,.numbers article,.offer-note,.result,.results-output,.stat-grid>div,.next-grid>a,.next>div>a,.stats>div,.prompt-examples button,.style-picker button,.result-top,.plan-body,.tool-nav,.tool,.preview-modes,.preview-stage,.intro-note){background:#11213a!important;color:#f4f6fc!important;border-color:#3c506c!important;box-shadow:none!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(h1,h2,h3,h4,legend,label,strong,b,.unified-brand,.logo,.brief-heading,.badge,.free){color:#f4f6fc!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(p,small,.eyebrow,.muted,.hint,.help,.side-note,.form-note,.form-status,.status,.crumb,.workspace-label,.metric-top,.metric-foot,.panel-foot,.empty-state,.hero-note,.hero-lede,.disclosure,.timeline-index,.intro-note span,.record-meta,.result-top span){color:#bdcbe0!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(a,.quiet,.secondary,.text-button,.tool,.tabs button,.preview-modes button,.result-actions button,.actions button){color:#b9d3ff!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.primary,.primary-button,.button:not(.secondary):not(.soft),.new,.booking-continue){background:#ffb3d6!important;color:#081a3c!important;border-color:#ffb3d6!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.primary,.primary-button,.button:not(.secondary):not(.soft)) :is(span,strong){color:#081a3c!important}
html:root[data-ap-theme=dark] body :is(input,textarea,select)::placeholder{color:#aabbd4!important;opacity:1}
html:root[data-ap-theme=dark] body :is(input,textarea,select){accent-color:#ffb3d6}
html:root[data-ap-theme=dark] body :is(button[aria-pressed=true],button[aria-selected=true],.tool[aria-pressed=true],.agent-card.selected){background:#2c3c59!important;color:#fff!important;border-color:#ffb3d6!important}
html:root[data-ap-theme=dark] body :is(.ap-cookie-actions button,.ap-dialog-close,.ap-cookie-row,.ap-cookie-row strong){color:#f4f6fc!important;background:#11213a!important}
html:root[data-ap-theme=dark] body .ap-cookie-row input{accent-color:#ffb3d6}
html:root[data-ap-theme=dark] .ambient-toggle{background:#11213a!important;color:#f4f6fc!important;border-color:#63738d!important}
html:root[data-ap-theme=dark] .hero-film .film-caption{background:#f8f9fcde;color:#081a3c!important;padding:7px;border-radius:4px}
html:root[data-ap-theme=dark] .search-demo,html:root[data-ap-theme=dark] .search-window{color:#081a3c}
html:root[data-ap-theme=dark] .faq summary,html:root[data-ap-theme=dark] .section-heading>p,html:root[data-ap-theme=dark] .work-bottom{color:#e3eaf5}
.ap-utilities button{min-height:40px;font-size:12px}.ap-legal-links a,.ap-legal-links button{padding:8px 0}
@media(max-width:760px){
body:not(:has(.hero-track)){font-size:16px;line-height:1.55}
body:not(:has(.hero-track)) :is(p,label,legend,li,.help,.hint,.side-note,.empty-state){font-size:max(14px,1em)!important;line-height:1.6!important}
body:not(:has(.hero-track)) :is(small,.eyebrow,.badge,.free,.crumb,.workspace-label,.metric-top,.metric-foot,.form-note,.form-status,.privacy,.plan-note,.status,.result-top>span,.ticket-copy,.kicker,.wizard-top){font-size:12px!important;line-height:1.5!important;letter-spacing:.03em}
body:not(:has(.hero-track)) :is(button,a.button,.primary,.primary-button,.tool,.sidebar nav a,.sitebar nav a,.bar nav a){font-size:14px!important;min-height:44px;line-height:1.4}
body:not(:has(.hero-track)) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){font-size:16px!important;min-height:44px}
body:not(:has(.hero-track)) :is(.field-row,.two,.inline-form){min-width:0}body:not(:has(.hero-track)) :is(.panel,.card,.form-panel,.result-panel,.content,.workspace){min-width:0;overflow-wrap:anywhere}
body:not(:has(.hero-track)) :is(.sitebar,.bar,.topbar){height:auto;min-height:70px;gap:12px;flex-wrap:wrap;padding-block:16px}
body:not(:has(.hero-track)) :is(.sitebar,.bar) nav{max-width:100%;overflow-x:auto;align-items:center}
body:not(:has(.hero-track)) .ap-utilities{position:static;justify-content:center;padding:12px;flex-wrap:wrap;background:var(--ap-ui-bg)}
body:has(.hero-track) :is(.service-benefits p,.faq details p,.process-copy p){font-size:14px!important;line-height:1.55!important}
body:has(.hero-track) :is(.service-benefits small,.service-action .pill,.scroll-label,.film-caption,.service-ticker a,.section-heading>p,.process-tabs button,.process-copy .label,.footer-content a,.footer-content p,.footer-bottom,.work-overlay small){font-size:12px!important;line-height:1.4!important}
body:has(.hero-track) .site-header :is(.pill,.menu-toggle){font-size:12px!important}
body:has(.hero-track) .service-ticker{gap:6px}body:has(.hero-track) .service-benefits{align-items:start}
body:has(.hero-track) .ap-utilities button{font-size:12px;min-height:40px}
.ap-cookie-notice p,.ap-cookie-dialog p{font-size:14px!important;line-height:1.55!important}.ap-cookie-actions button{font-size:14px!important;min-height:44px}.ap-cookie-row small{font-size:13px!important}
}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.secondary,.soft,.skip,.trial-bar,.edit-details,.details-inner,.brand-uploads,.draft-save,.draft-actions,.save-draft,.timeline article,.agent-icon,.icon-button,.choice label,.bar nav a,.builder-card>a,.preview-window>header,.preview-toolbar){background:#1b304e!important;color:#e9f0fb!important;border-color:#536782!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.brief-heading span,.hero-card>span,.strategy-grid article>span,.timeline article span,.balance span,.stats span,.agent-num,.next>div>a>span,.credit span,.topline span,.hero-card-head span){color:#c1d2eb!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(#find-status,.open-large-preview){color:#c1d2eb!important}
html:root[data-ap-theme=dark] .search-window{background:#f8f9fc!important;color:#081a3c!important}html:root[data-ap-theme=dark] .search-window :is(h3,p,small,span){color:#081a3c!important}
html:root[data-ap-theme=dark] .floating-contact span{color:#081a3c!important}html:root[data-ap-theme=dark] .browser-top{color:#4d514e!important}html:root[data-ap-theme=dark] .browser-top span{color:#4d514e!important}
@media(max-width:760px){.ambient-toggle,.floating-contact{font-size:12px!important}.floating-contact span{font-size:14px!important}body:not(:has(.hero-track)) :is(.credit span,.topline span,.hero-card-head span,.agent-num,.hero-card>span,.strategy-grid article>span,.timeline article span,.balance span,.stats span,.next>div>a>span,.brief-heading span){font-size:12px!important;line-height:1.5}body:has(.hero-track) :is(.search-nav,.search-nav span,.search-result small,.search-result p,.search-chips span,.browser-top,.browser-top span){font-size:12px!important;line-height:1.4}.search-nav{flex-wrap:wrap;gap:8px}.browser-top{height:auto;min-height:24px}}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.edit-details>summary,.draft-controls,.browser-line,.choice input:checked+span){background:#1b304e!important;color:#e9f0fb!important;border-color:#63738d!important}
html:root[data-ap-theme=dark] body:not(:has(.hero-track)) :is(.seo-card span,.results-output span,.numbers article>span,.form-footer span,footer span,.browser-line span){color:#c1d2eb!important}
html:root[data-ap-theme=dark] body:has(.hero-track) :is(.process-copy p,.faq details p,.stage-number,.footer-content p,.footer-content a,.footer-bottom){color:#c1d2eb!important}
html:root[data-ap-theme=dark] body:has(.hero-track) .fx-expand-text .pill{background:#ffb3d6!important;color:#081a3c!important}
html:root[data-ap-theme=dark] .work-overlay{background:linear-gradient(transparent,#071225e8)!important}html:root[data-ap-theme=dark] .work-overlay :is(strong,small){color:#fff!important;text-shadow:0 1px 4px #000}
html:root[data-ap-theme=dark] .fx-apart h2{text-shadow:0 2px 12px #071225,0 0 3px #071225}
@media(max-width:760px){body:not(:has(.hero-track)) :is(.browser-line span,.results-output span,.numbers article>span,.form-footer span,footer span){font-size:12px!important;line-height:1.5!important}}
@media(max-width:760px){body:has(.hero-track) .ap-utilities{position:static;justify-content:center;padding:12px;flex-wrap:wrap;background:var(--ap-ui-bg)}body:has(.hero-track) .service-ticker{top:54%}body:has(.hero-track) .site-header{gap:6px}body:has(.hero-track) .site-header .menu-toggle{flex-shrink:0}body:has(.hero-track) .site-header .pill{flex-shrink:0}}
@media(max-width:360px){body:has(.hero-track) .site-header .ap-name{font-size:23px!important}body:has(.hero-track) .site-header .ap-symbol{width:36px!important}body:has(.hero-track) .site-header .pill{font-size:11px!important;padding:10px 9px}body:has(.hero-track) .site-header .menu-toggle{font-size:11px!important;padding:9px 7px;gap:4px}body:has(.hero-track) .hero-bottom{bottom:92px}body:has(.hero-track) .service-ticker{top:52%}}
@media(max-width:760px){body:has(.hero-track) .service-ticker{bottom:auto;height:auto}}
