/* v1.1.3 — light-theme contrast fixes. These apply to every theme EXCEPT dark (dark.css owns that),
   so they still win in light mode even if the data-theme attribute is missing/stale. */
html:not([data-theme=dark]){--uf-text:#1b1534;--uf-soft:#3b3358;--uf-line:#ddd6f3;--uf-accent:#5b32cf}
/* About / trust hero */
html:not([data-theme=dark]) body .trust-hero{background:radial-gradient(ellipse at 85% 0,rgba(155,88,218,.14),transparent 65%),linear-gradient(120deg,#f3edff,#fff)!important;border:1px solid #ddd6f3!important;box-shadow:0 10px 30px rgba(80,50,160,.08)!important;color:#1b1534!important}
html:not([data-theme=dark]) body .trust-hero h1,html:not([data-theme=dark]) body .trust-hero h2{color:#1b1534!important;text-shadow:none!important}
html:not([data-theme=dark]) body .trust-hero h1 em,html:not([data-theme=dark]) body .trust-hero h2 em{font-style:normal;background:linear-gradient(90deg,#6a3fe0,#a24fd0);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent!important}
html:not([data-theme=dark]) body .trust-hero p{color:#3b3358!important;opacity:1!important}
html:not([data-theme=dark]) body .trust-hero .eyebrow{color:#5b32cf!important;background:#ece5ff!important;border:1px solid #d9ccff!important}
html:not([data-theme=dark]) body .trust-hero::before,html:not([data-theme=dark]) body .trust-hero::after{opacity:.35}
html:not([data-theme=dark]) body .trust-emblem{background:linear-gradient(145deg,#efe8ff,#e3d8ff)!important;border:1px solid #d3c3fb!important;color:#5b32cf!important;box-shadow:0 8px 22px rgba(91,50,207,.14)!important}
/* Contact */
html:not([data-theme=dark]) body .contact-main{background:radial-gradient(ellipse at 95% 5%,rgba(161,97,214,.12),transparent 65%),#fff!important;color:#1b1534!important;border-color:#ddd6f3!important}
html:not([data-theme=dark]) body .contact-main h1,html:not([data-theme=dark]) body .contact-main h2,html:not([data-theme=dark]) body .contact-main h3,html:not([data-theme=dark]) body .contact-main strong,html:not([data-theme=dark]) body .contact-main label{color:#1b1534!important}
html:not([data-theme=dark]) body .contact-main p,html:not([data-theme=dark]) body .contact-main small,html:not([data-theme=dark]) body .contact-main li{color:#3b3358!important}
/* Admin / operations pieces that were still dark-only */
html:not([data-theme=dark]) body .retry-panel{background:linear-gradient(115deg,#f6f0ff,#fff)!important;border-color:#ddd6f3!important;color:#1b1534!important}
html:not([data-theme=dark]) body .retry-panel h2,html:not([data-theme=dark]) body .retry-panel h3,html:not([data-theme=dark]) body .retry-panel strong{color:#1b1534!important}
html:not([data-theme=dark]) body .retry-panel p,html:not([data-theme=dark]) body .retry-panel small{color:#3b3358!important}
html:not([data-theme=dark]) body .maintenance-spark{background:#efe8ff!important;border-color:#d3c3fb!important;color:#5b32cf!important;box-shadow:0 8px 22px rgba(91,50,207,.12)!important}
html:not([data-theme=dark]) body .completion-ring>span{background:#fff!important;color:#5b32cf!important}
html:not([data-theme=dark]) body .data-tools select,html:not([data-theme=dark]) body .data-search{background:#fff!important;border-color:#cbd5e1!important;color:#1b1534!important}
html:not([data-theme=dark]) body .admin-tabs{background:#f1f5f9!important;border-color:#e2e8f0!important}
html:not([data-theme=dark]) body .setup-progress{background:#e6def8!important}
html:not([data-theme=dark]) body .chart-value{background:#fff!important;border-color:#d9ccff!important;color:#3b3358!important;box-shadow:0 6px 18px rgba(80,50,160,.12)}
html:not([data-theme=dark]) body .product-artwork-form input[readonly]{background:#f1f5f9!important;color:#64748b!important}
html:not([data-theme=dark]) body .skeleton{background:linear-gradient(90deg,#eef2f7 25%,#e2e8f0 37%,#eef2f7 63%)!important;background-size:400% 100%}
/* Safety net: text must never inherit a light colour on a light card */
html:not([data-theme=dark]) body .panel h1,html:not([data-theme=dark]) body .panel h2,html:not([data-theme=dark]) body .panel h3{color:#1b1534}
html:not([data-theme=dark]) body .panel p{color:#475569}

/* v1.1.5 — light-theme contrast fixes (WCAG AA for small text) */
html:not([data-theme=dark]) body :is(a.text-link,button.text-link,.text-link){color:#00718f!important;-webkit-text-fill-color:currentColor}
html:not([data-theme=dark]) body :is(a.text-link,.text-link):hover{color:#004f66!important}
html:not([data-theme=dark]) body .trust-links>a{color:#2f4a63!important;background:#fff!important;border:1px solid #cfdceb!important;opacity:1!important}
html:not([data-theme=dark]) body .trust-links>a svg{color:#00718f!important;opacity:1!important}
html:not([data-theme=dark]) body .trust-links>a[aria-current=page]{background:#e6f7fc!important;border-color:#7cc9e0!important;color:#004f66!important;font-weight:600}
html:not([data-theme=dark]) body .install-benefits>span{color:#35506b!important}
html:not([data-theme=dark]) body .mobile-nav a.active,html:not([data-theme=dark]) body .mobile-nav a.active>span{color:#00587a!important}

/* v1.1.6 — live-activity bar removed everywhere; hero title no longer clips descenders (g, p, y) */
#announcement-bar-mount,.store-announcement-bar{display:none!important}
html body .hero-title-stylish,html body .hero .hero-copy h2{line-height:1.14!important;padding-bottom:.12em!important;overflow:visible!important}
html body .hero-title-stylish>*,html body .hero-title-line1,html body .hero-title-line2{display:block;line-height:1.14!important;padding-bottom:.1em!important;overflow:visible!important}
html body .hero-title-line2 em,html body .hero h2 em{display:inline-block;line-height:1.14!important;padding-bottom:.14em!important;overflow:visible!important}
