/* ============================================================
   ASM · Dark theme (5.9.0)
   Opt-in via the floating "search spotlight" toggle. Light stays the
   default. Everything is scoped to html[data-theme="dark"] so the
   light skin is untouched. Colour swaps are instant — only the toggle
   icon animates (opacity/transform).
   ============================================================ */
html[data-theme="dark"]{
  color-scheme: dark;
  --paper:#0A1013; --paper-2:#0F171B; --ink:#EEF3F2; --ink-2:#C5D0CE;
  --muted:#93A5A1; --line:#223033;
  --accent:#19C2AE; --accent-ink:#04121A; --amber:#FB923C;
}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink-2)}

/* ---------- floating toggle ---------- */
.asm-theme-tg{position:fixed;right:24px;bottom:13px;z-index:2147483001;width:56px;height:56px;border-radius:50%;
  border:1px solid rgba(0,224,198,.45);background:radial-gradient(circle at 35% 30%,#16323A 0%,#07161A 70%);color:#EAF7F5;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;
  box-shadow:0 10px 28px -8px rgba(0,0,0,.55),0 0 0 4px rgba(0,224,198,.08),0 0 22px rgba(0,224,198,.28);
  transition:transform .25s cubic-bezier(.22,.61,.36,1),opacity .25s ease;-webkit-tap-highlight-color:transparent}
.asm-theme-tg:hover{transform:translateY(-2px) scale(1.04)}
.asm-theme-tg:active{transform:scale(.96)}
.asm-theme-tg:focus-visible{outline:3px solid #00E0C6;outline-offset:3px}
.asm-theme-tg svg{width:34px;height:34px;overflow:visible}
.asm-theme-tg .tg-glass{transition:transform .45s cubic-bezier(.22,.61,.36,1);transform-origin:22px 22px}
.asm-theme-tg .tg-sun,.asm-theme-tg .tg-moon{transition:opacity .3s ease,transform .45s cubic-bezier(.22,.61,.36,1);transform-origin:18px 18px}
.asm-theme-tg .tg-sun{opacity:0;transform:rotate(-90deg) scale(.4)}
.asm-theme-tg .tg-moon{opacity:1;transform:none}
html[data-theme="dark"] .asm-theme-tg .tg-sun{opacity:1;transform:none}
html[data-theme="dark"] .asm-theme-tg .tg-moon{opacity:0;transform:rotate(90deg) scale(.4)}
html[data-theme="dark"] .asm-theme-tg .tg-glass{transform:rotate(-12deg)}
.asm-theme-tg .tg-tip{position:absolute;right:calc(100% + 10px);top:50%;white-space:nowrap;font:600 12px/1 var(--font-body,Inter,sans-serif);
  letter-spacing:.04em;color:#EAF7F5;background:#07161A;border:1px solid rgba(0,224,198,.35);padding:8px 10px;border-radius:999px;
  opacity:0;transform:translate(6px,-50%);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.asm-theme-tg:hover .tg-tip,.asm-theme-tg:focus-visible .tg-tip{opacity:1;transform:translate(0,-50%)}
@media (max-width:600px){.asm-theme-tg{right:16px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:48px;height:48px}.asm-theme-tg svg{width:30px;height:30px}.asm-theme-tg .tg-tip{display:none}}
@media (prefers-reduced-motion:reduce){.asm-theme-tg,.asm-theme-tg *{transition:none!important}}
@media print{.asm-theme-tg{display:none!important}}
/* the PPC / Social apps are driven by the global toggle — hide their local ones */
.est-theme-toggle,.smp-theme-toggle{display:none!important}
/* ---------- generated from theme stylesheets (gen.py) ---------- */
html[data-theme="dark"] .asm-skip{background-color:#070C0E}
html[data-theme="dark"] .asm-header.is-scrolled{background-color:var(--paper-2)}
html[data-theme="dark"] .asm-header.is-over-hero:not(.is-scrolled) .asm-header__cta{border-color:var(--line)}
html[data-theme="dark"] .asm-help{background-color:var(--paper-2);color:#E6EDEC}
html[data-theme="dark"] .asm-help::before{background:radial-gradient(60% 48% at 8% 4%,rgba(14,158,142,.06),transparent 60%),radial-gradient(54% 48% at 96% 100%,rgba(0,196,174,.05),transparent 62%),linear-gradient(180deg,#0F171B 0%,#0F171B 100%)}
html[data-theme="dark"] .asm-help__head h2{color:#E6EDEC}
html[data-theme="dark"] .asm-help__lead{color:#A9B7B4}
html[data-theme="dark"] .asm-help__introlede{color:#E6EDEC}
html[data-theme="dark"] .asm-hcard{background-color:var(--paper-2);border-color:var(--line)}
html[data-theme="dark"] .asm-hcard__title{color:#E6EDEC}
html[data-theme="dark"] .asm-hcard__txt{color:#A9B7B4}
html[data-theme="dark"] .asm-serp{background:linear-gradient(180deg,#0F171B,#0F171B);color:#E6EDEC}
html[data-theme="dark"] .asm-serp__bar{background-color:var(--paper-2);color:#A9B7B4;border-color:var(--line)}
html[data-theme="dark"] .asm-serp__query{color:#E6EDEC}
html[data-theme="dark"] .asm-serp__map{background:linear-gradient(135deg,#0F171B,#0F171B);border-color:var(--line)}
html[data-theme="dark"] .asm-serp__row{background-color:var(--paper-2);border-color:var(--line)}
html[data-theme="dark"] .asm-serp__rankno{background-color:var(--paper-2);color:#A9B7B4}
html[data-theme="dark"] .asm-serp__name{color:#E6EDEC}
html[data-theme="dark"] .asm-serp__meta strong{color:#E6EDEC}
html[data-theme="dark"] .asm-serp__row--you{background:linear-gradient(180deg,#0F171B,#0F171B)}
html[data-theme="dark"] .asm-serp__foot{color:#A9B7B4}
html[data-theme="dark"] .asm-tcard{background-color:var(--paper-2);border-color:var(--line)}
html[data-theme="dark"] .asm-tcard__text{color:#A9B7B4}
html[data-theme="dark"] .asm-tcard__foot{border-top-color:var(--line)}
html[data-theme="dark"] .asm-tcard__name{color:#E6EDEC}
html[data-theme="dark"] .asm-tslider__arrow{color:#E6EDEC}
html[data-theme="dark"] .asm-svc-detail{background-color:var(--paper-2);color:#E6EDEC}
html[data-theme="dark"] .asm-svc-detail::before{background:radial-gradient(52% 42% at 88% 2%,rgba(14,158,142,.08),transparent 62%),radial-gradient(50% 44% at 4% 64%,rgba(14,158,142,.06),transparent 64%),linear-gradient(180deg,#0F171B 0%,var(--paper,#0F171B) 55%,#0F171B 100%)}
html[data-theme="dark"] .asm-svc-detail .asm-sec-head__title{color:#E6EDEC}
html[data-theme="dark"] .asm-svc-detail__intro{color:#A9B7B4}
html[data-theme="dark"] .asm-svcd-feat__ic{color:#E6EDEC}
html[data-theme="dark"] .asm-billing__opt.is-active{color:#E6EDEC}
html[data-theme="dark"] .asm-billing__opt.is-active .asm-billing__save{color:#E6EDEC}
html[data-theme="dark"] .asm-footer{background-color:#070C0E}
html[data-theme="dark"] .asm-prose a:hover{color:#E6EDEC}
html[data-theme="dark"] .asm-prose ol li::before{background-color:#070C0E}
html[data-theme="dark"] .asm-card{background:linear-gradient(180deg,#0F171B,#0F171B)}
html[data-theme="dark"] .asm-hub-ins{background-color:var(--paper-2)}
html[data-theme="dark"] .asm-hub-ins__ic{color:#E6EDEC}
html[data-theme="dark"] .asm-locgrid-sec{background-color:#070C0E}
@media (min-width:901px){html[data-theme="dark"] .asm-menu .sub-menu{background-color:#070C0E}}
html[data-theme="dark"] body.asm-dark .asm-related,html[data-theme="dark"] .asm-related.is-dark{background-color:#070C0E}
@media (max-width: 900px){html[data-theme="dark"] .asm-menu .asm-fly__label{color:#E6EDEC}}
@media (min-width: 901px){html[data-theme="dark"] body.page-template-page-ai-home .asm-header--split.is-over-hero:not(.is-scrolled) .asm-header__cta.asm-header__cta--nav{border-color:var(--line)}}
@media (min-width: 901px){html[data-theme="dark"] .asm-header--split .asm-header__cta.asm-header__cta--nav{border-color:var(--line)}}
html[data-theme="dark"] .frm_forms .frm_error_style{background-color:var(--paper-2)}
html[data-theme="dark"] .frm_message,html[data-theme="dark"] .frm_forms .frm_message{background-color:var(--paper-2)}
html[data-theme="dark"] .frm_forms .frm_dropzone{background-color:var(--paper-2)}
html[data-theme="dark"] .frm_forms .frm_add_form_row,html[data-theme="dark"] .frm_forms .frm_remove_form_row{background-color:var(--paper-2)}
html[data-theme="dark"] .frm_forms .frm_dropzone:hover,html[data-theme="dark"] .frm_forms .frm_dropzone.dz-drag-hover{background-color:var(--paper-2)}
html[data-theme="dark"] body.page-id-192 .asm-help--light .asm-prose ul li{background-color:var(--paper-2);border-color:var(--line)}
html[data-theme="dark"] body.page-id-192 .ppc-split{background:radial-gradient(900px 420px at 88% -8%, rgba(0,224,198,.10), transparent 62%),
    linear-gradient(180deg,#0F171B 0%, #0F171B 46%, #0F171B 100%)}
html[data-theme="dark"] body.page-id-192 .ppc-split__title{color:#E6EDEC}
html[data-theme="dark"] body.page-id-192 .ppc-split__body > p{color:#A9B7B4}
html[data-theme="dark"] body.page-id-192 .ppc-split__body > p:first-of-type{color:#E6EDEC}
html[data-theme="dark"] .cine-blocks{background-color:#070C0E}
html[data-theme="dark"] .cine-blocks .card{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks .ico--grad{color:#E6EDEC}
html[data-theme="dark"] .cine-blocks .bento .cell{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark{background-color:#070C0E}
html[data-theme="dark"] .cine-blocks.cine-dark .sec.band-teal{background:radial-gradient(90% 120% at 50% 0%,rgba(14,158,142,.20),transparent 62%),linear-gradient(180deg,#101A1E,#070C0E)}
html[data-theme="dark"] .cine-blocks.cine-dark .sec.band-soft{background-color:#101A1E}
html[data-theme="dark"] .cine-blocks.cine-dark .card{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark .band-teal .card{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark .tile{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark .asm-faq__item{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark .sec.band-teal{background:radial-gradient(90% 120% at 50% 0%,rgba(14,158,142,.20),transparent 62%),linear-gradient(180deg,#101A1E,#070C0E)}
html[data-theme="dark"] .cine-blocks.cine-dark .sec.band-soft{background:linear-gradient(180deg,#101A1E,#070C0E)}
html[data-theme="dark"] .cine-blocks.cine-dark .tile{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] .cine-blocks.cine-dark .asm-faq__item{background:linear-gradient(180deg,var(--card),#101A1E)}
html[data-theme="dark"] #hseo-cine.cine-blocks.cine-v2>.sec:nth-child(4n+1){background-color:#070C0E !important}
html[data-theme="dark"] body.cine-v2-page .cine-blocks .p16-hold-sec{background:linear-gradient(180deg,#070C0E,#101A1E)}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(2).asm-help{background-color:var(--paper-2) !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(4).asm-pillars{background-color:var(--paper-2) !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(4).asm-pillars .asm-pillars__grid > article{background-color:var(--paper-2) !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help{background-color:var(--paper-2) !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-wrap{background-color:var(--paper-2)}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(8).asm-ai-faq{background-color:var(--paper-2) !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(1),html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(2),html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(3){background-color:var(--paper-2)}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(1) > strong:first-child,html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(2) > strong:first-child,html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(6).asm-help .asm-prose > p:nth-of-type(3) > strong:first-child{color:#E6EDEC}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(8).asm-ai-faq .asm-faq__ic{color:#E6EDEC}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(8).asm-ai-faq details.asm-faq[open] .asm-faq__ic{color:#E6EDEC !important}
html[data-theme="dark"] body.page-id-189 .asm-ai-article > section:nth-of-type(8).asm-ai-faq details.asm-faq[open] .asm-faq__ic svg{color:#E6EDEC !important}/* ---------- manual dark fixes ---------- */
/* PPC Services page — its own token set */
html[data-theme="dark"] .ppc-svc{--ppc-ink:#EEF3F2;--ppc-mut:#A9B7C6;--ppc-line:#223244;--ppc-card:#0F1822;--ppc-soft:#0C141C;--ppc-blue:#5AA2F0;--ppc-accent:#FB923C}
html[data-theme="dark"] .ppc-svc .ppc-plan{background:#0F1822!important;box-shadow:0 10px 30px -18px rgba(0,0,0,.6)}
html[data-theme="dark"] .ppc-svc .ppc-ico,html[data-theme="dark"] .ppc-plan .ppc-ico{background:#13243A!important}
html[data-theme="dark"] .ppc-svc .ppc-plan.pop .ppc-ico{background:#173255!important}
html[data-theme="dark"] .ppc-svc .ppc-cmp th{background:#13243A;color:#EEF3F2}
html[data-theme="dark"] .ppc-svc .ppc-sec p,html[data-theme="dark"] .ppc-svc .ppc-sec li{color:#B9C4D2}
html[data-theme="dark"] .ppc-svc .ppc-sec strong,html[data-theme="dark"] .ppc-svc .ppc-sec h2,html[data-theme="dark"] .ppc-svc .ppc-sec h3{color:#EEF3F2}
html[data-theme="dark"] .ppc-svc .ppc-btn-sm.g{border-color:rgba(238,243,242,.25);color:#EEF3F2}
html[data-theme="dark"] .ppc-svc .ppc-eyebrow{color:#7DB6F5}
html[data-theme="dark"] .ppc-svc .ppc-sec a:not([class]){color:#7DB6F5}
html[data-theme="dark"] .ppc-svc .ppc-cmp td.agency{color:#F28B8B}

/* Formidable forms */
html[data-theme="dark"] .frm_forms label,html[data-theme="dark"] .frm_forms .frm_primary_label,html[data-theme="dark"] .frm_forms .frm_checkbox label,html[data-theme="dark"] .frm_forms .frm_description{color:#DDE7E5!important}
html[data-theme="dark"] .frm_forms input[type=text],html[data-theme="dark"] .frm_forms input[type=email],html[data-theme="dark"] .frm_forms input[type=tel],html[data-theme="dark"] .frm_forms input[type=url],html[data-theme="dark"] .frm_forms input[type=number],html[data-theme="dark"] .frm_forms select,html[data-theme="dark"] .frm_forms textarea,html[data-theme="dark"] .frm_forms .form-control{background:#0F171B!important;color:#EEF3F2!important;border-color:#2A3A3D!important}
html[data-theme="dark"] .frm_forms ::placeholder{color:#7F908D!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color-scheme:dark}
/* inline colours in app/page content */
html[data-theme="dark"] [style*="color:#5b6572"],html[data-theme="dark"] [style*="color: #5b6572"]{color:#A9B7C6!important}
html[data-theme="dark"] [style*="color:#333a44"],html[data-theme="dark"] [style*="color:#0e1726"],html[data-theme="dark"] [style*="color: #333a44"],html[data-theme="dark"] [style*="color: #0e1726"]{color:#DDE5EE!important}
/* keep the toggle clear of the PPC Services sticky bar on desktop */
@media (min-width:601px){body:has(#ppcFab.show) .asm-theme-tg{bottom:84px}}


/* 2026-10-09: content migrated from live carries inline dark text colours (mostly color:#333333 /
   #18191c). On dark grounds that text disappeared, so inside dark contexts it inherits the light text. */
:is(html[data-theme="dark"] main, .asm-prose--invert, .asm-houston, .cine-dark, .band-teal, .asm-mission) :is([style*="color: #333" i], [style*="color:#333" i], [style*="color: #333333" i], [style*="color:#333333" i], [style*="color: #18191c" i], [style*="color:#18191c" i], [style*="color: #106059" i], [style*="color:#106059" i], [style*="color: #000" i], [style*="color:#000" i], [style*="color: #000000" i], [style*="color:#000000" i], [style*="color: black" i], [style*="color:black" i], [style*="color: rgb(51, 51, 51)" i], [style*="color:rgb(51, 51, 51)" i], [style*="color: rgb(0, 0, 0)" i], [style*="color:rgb(0, 0, 0)" i]):not(a) { color: inherit !important; }
/* 2026-10-09: list items inside dark "invert" prose sections used the light-theme ink colour. */
.asm-prose--invert li, .asm-prose--invert ul li, .asm-prose--invert ol li, .asm-prose--invert td, .asm-prose--invert dd, .asm-prose--invert figcaption { color: #C3DAD7; }
.asm-prose--invert th, .asm-prose--invert dt, .asm-prose--invert blockquote p { color: #F4FBFA; }
/* 2026-10-09: links with an inline dark colour get the accent colour on dark grounds. */
:is(html[data-theme="dark"] main, .asm-prose--invert, .asm-houston, .cine-dark, .band-teal, .asm-mission) :is(a[style*="color: #333" i], a[style*="color:#333" i], a[style*="color: #333333" i], a[style*="color:#333333" i], a[style*="color: #18191c" i], a[style*="color:#18191c" i], a[style*="color: #106059" i], a[style*="color:#106059" i], a[style*="color: #000" i], a[style*="color:#000" i], a[style*="color: #000000" i], a[style*="color:#000000" i], a[style*="color: black" i], a[style*="color:black" i], a[style*="color: rgb(51, 51, 51)" i], a[style*="color:rgb(51, 51, 51)" i], a[style*="color: rgb(0, 0, 0)" i], a[style*="color:rgb(0, 0, 0)" i]) { color: #00E0C6 !important; }
