/* EXZA Remote 2026-11 theme layer. Presentation only; keep existing layout and functionality. */
:root {
 --exza-theme-bg:#ffffff;--exza-theme-surface:#ffffff;--exza-theme-subtle:#f6f8fa;
 --exza-theme-text:#162336;--exza-theme-muted:#6c798b;--exza-theme-border:#dce4ed;
 --exza-theme-link:#315f98;--exza-theme-hover:#edf3f9;--exza-theme-input:#fff;
}
html[data-exza-theme="dark"] {
 color-scheme:dark;
 --exza-theme-bg:#0d1117;--exza-theme-surface:#161b22;--exza-theme-subtle:#111821;
 --exza-theme-text:#e6edf3;--exza-theme-muted:#9daaba;--exza-theme-border:#30363d;
 --exza-theme-link:#8cbaff;--exza-theme-hover:#202b39;--exza-theme-input:#0d1117;
 --page:#0d1117;--ink:#e6edf3;--muted:#9daaba;--line:#30363d;--night:#0d1117;--night-2:#161b22;--accent:#5e9ffb;
 --p-bg:#0d1117;--p-card:#161b22;--p-ink:#e6edf3;--p-muted:#9daaba;--p-subtle:#8795a7;--p-line:#30363d;--p-night:#0d1117;--p-accent:#5e9ffb;--p-blue-light:#1b2939;
}
html[data-exza-theme="dark"],html[data-exza-theme="dark"] body{background:var(--exza-theme-bg);color:var(--exza-theme-text)}
html[data-exza-theme="dark"] a{color:inherit}
html[data-exza-theme="dark"] :focus-visible{outline-color:#79b8ff}
html[data-exza-theme="dark"] ::selection{background:#24446a;color:#fff}
/* PUBLIC SITE: same geometry and editorial style, adapted surface colors */
html[data-exza-theme="dark"] .topbar,
html[data-exza-theme="dark"] .product,
html[data-exza-theme="dark"] .pricing,
html[data-exza-theme="dark"] .footer{background:#0d1117;color:#e6edf3}
html[data-exza-theme="dark"] .topbar{border-bottom-color:#30363d}
html[data-exza-theme="dark"] .wordmark-type,
html[data-exza-theme="dark"] .nav-login,
html[data-exza-theme="dark"] .section h2,
html[data-exza-theme="dark"] .feature h3,
html[data-exza-theme="dark"] .step h3,
html[data-exza-theme="dark"] .plan h3,
html[data-exza-theme="dark"] .plan-price{color:#e6edf3}
html[data-exza-theme="dark"] .wordmark-type>span,
html[data-exza-theme="dark"] .main-nav a,
html[data-exza-theme="dark"] .locale-switch button,
html[data-exza-theme="dark"] .eyeline,
html[data-exza-theme="dark"] .section-summary,
html[data-exza-theme="dark"] .feature p,
html[data-exza-theme="dark"] .feature-index,
html[data-exza-theme="dark"] .step p,
html[data-exza-theme="dark"] .system-line,
html[data-exza-theme="dark"] .plan-caption,
html[data-exza-theme="dark"] .plan-price span,
html[data-exza-theme="dark"] .plan>p,
html[data-exza-theme="dark"] .plan .plan-tax,
html[data-exza-theme="dark"] .plan li,
html[data-exza-theme="dark"] .closing p:not(.eyeline),
html[data-exza-theme="dark"] .footer-identity p,
html[data-exza-theme="dark"] .footer-links a,
html[data-exza-theme="dark"] .footer-bottom{color:#9daaba}
html[data-exza-theme="dark"] .main-nav a:hover,
html[data-exza-theme="dark"] .footer-links a:hover,
html[data-exza-theme="dark"] .inline-link,
html[data-exza-theme="dark"] .plan-name,
html[data-exza-theme="dark"] .main-nav a.prompt-nav,
html[data-exza-theme="dark"] .locale-switch button.chosen{color:#a5cdff}
html[data-exza-theme="dark"] .how,
html[data-exza-theme="dark"] .closing{background:#111821;color:#e6edf3}
html[data-exza-theme="dark"] .plan,
html[data-exza-theme="dark"] .plan-premium{background:#161b22;border-color:#303d4d;color:#e6edf3}
html[data-exza-theme="dark"] .plan-premium{border-color:#527aa9}
html[data-exza-theme="dark"] .plan-divider{background:#30363d}
html[data-exza-theme="dark"] .feature-list,
html[data-exza-theme="dark"] .feature+.feature,
html[data-exza-theme="dark"] .step-list,
html[data-exza-theme="dark"] .step,
html[data-exza-theme="dark"] .footer-bottom{border-color:#30363d}
html[data-exza-theme="dark"] .btn-light{background:#243750;border-color:#345171;color:#e3f0ff}
html[data-exza-theme="dark"] .btn-outline{background:#161b22;border-color:#3a5069;color:#e6edf3}
html[data-exza-theme="dark"] .btn-outline:hover{background:#233247}
html[data-exza-theme="dark"] .hero{background:#0d1117;color:#f0f6fc}
html[data-exza-theme="dark"] .security{background:#141e2b;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-marketing .main-nav{border-color:#30363d}
html[data-exza-theme="dark"] body.exza-mobile-marketing .main-nav a{border-color:#384558;background:#161b22;color:#c8d7e7}
html[data-exza-theme="dark"] body.exza-mobile-marketing .feature,
html[data-exza-theme="dark"] body.exza-mobile-marketing .feature+.feature{border-color:#30363d!important}
/* CUSTOMER PORTAL: every account surface and form adapts without touching application JS */
html[data-exza-theme="dark"] body.exza-mobile-portal,
html[data-exza-theme="dark"] body.exza-mobile-portal .site,
html[data-exza-theme="dark"] body.exza-mobile-portal .main,
html[data-exza-theme="dark"] body.exza-mobile-portal #dashboard,
html[data-exza-theme="dark"] body.exza-mobile-portal .intro{background:#0d1117;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-portal .sidebar,
html[data-exza-theme="dark"] body.exza-mobile-portal .side-nav{background:#161b22;border-color:#30363d}
html[data-exza-theme="dark"] body.exza-mobile-portal .brand,
html[data-exza-theme="dark"] body.exza-mobile-portal .header,
html[data-exza-theme="dark"] body.exza-mobile-portal .side-bottom{border-color:#30363d}
html[data-exza-theme="dark"] body.exza-mobile-portal .brand b,
html[data-exza-theme="dark"] body.exza-mobile-portal .brand .brand-sub,
html[data-exza-theme="dark"] body.exza-mobile-portal .header h1,
html[data-exza-theme="dark"] body.exza-mobile-portal .intro h2,
html[data-exza-theme="dark"] body.exza-mobile-portal .panel h2,
html[data-exza-theme="dark"] body.exza-mobile-portal .metric strong,
html[data-exza-theme="dark"] body.exza-mobile-portal .empty-device h3,
html[data-exza-theme="dark"] body.exza-mobile-portal .pair-guide h3,
html[data-exza-theme="dark"] body.exza-mobile-portal h3{color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-portal .nav{background:transparent;color:#aabbd1}
html[data-exza-theme="dark"] body.exza-mobile-portal .nav:hover:not(.active){background:#222d3a;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-portal .nav.active{background:#22364f;border-color:#395676;color:#e6f2ff}
html[data-exza-theme="dark"] body.exza-mobile-portal .panel,
html[data-exza-theme="dark"] body.exza-mobile-portal .metric,
html[data-exza-theme="dark"] body.exza-mobile-portal .auth-card,
html[data-exza-theme="dark"] body.exza-mobile-portal .avatar{background:#161b22;border-color:#30363d;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-portal .banner,
html[data-exza-theme="dark"] body.exza-mobile-portal .message,
html[data-exza-theme="dark"] body.exza-mobile-portal .pair-guide,
html[data-exza-theme="dark"] body.exza-mobile-portal .empty-device,
html[data-exza-theme="dark"] body.exza-mobile-portal .command,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-guide,
html[data-exza-theme="dark"] body.exza-mobile-portal .premium-note,
html[data-exza-theme="dark"] body.exza-mobile-portal .usage-history{background:#1b2634;border-color:#334256;color:#d8e6f5}
html[data-exza-theme="dark"] body.exza-mobile-portal .panel-header,
html[data-exza-theme="dark"] body.exza-mobile-portal .line-item,
html[data-exza-theme="dark"] body.exza-mobile-portal .tabs,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-guide>summary{border-color:#30363d}
html[data-exza-theme="dark"] body.exza-mobile-portal .panel-header p,
html[data-exza-theme="dark"] body.exza-mobile-portal .header p,
html[data-exza-theme="dark"] body.exza-mobile-portal .muted,
html[data-exza-theme="dark"] body.exza-mobile-portal .intro p,
html[data-exza-theme="dark"] body.exza-mobile-portal .metric small,
html[data-exza-theme="dark"] body.exza-mobile-portal .metric span,
html[data-exza-theme="dark"] body.exza-mobile-portal .line-item span,
html[data-exza-theme="dark"] body.exza-mobile-portal .empty-device p,
html[data-exza-theme="dark"] body.exza-mobile-portal .overview-panel p,
html[data-exza-theme="dark"] body.exza-mobile-portal .auth-card p,
html[data-exza-theme="dark"] body.exza-mobile-portal .side-stage,
html[data-exza-theme="dark"] body.exza-mobile-portal .side-stage span{color:#a7b6c8}
html[data-exza-theme="dark"] body.exza-mobile-portal .line-item,
html[data-exza-theme="dark"] body.exza-mobile-portal .line-item b,
html[data-exza-theme="dark"] body.exza-mobile-portal .usage-row,
html[data-exza-theme="dark"] body.exza-mobile-portal .command code{color:#dce9f8}
html[data-exza-theme="dark"] body.exza-mobile-portal .line-item b.ok{color:#67d7ab}
html[data-exza-theme="dark"] body.exza-mobile-portal .outline,
html[data-exza-theme="dark"] body.exza-mobile-portal #logout,
html[data-exza-theme="dark"] body.exza-mobile-portal .os-choices button,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-standalone .manual-plugin-foot a{background:#1e2936;border-color:#40526a;color:#d5eaff}
html[data-exza-theme="dark"] body.exza-mobile-portal .outline:hover,
html[data-exza-theme="dark"] body.exza-mobile-portal #logout:hover,
html[data-exza-theme="dark"] body.exza-mobile-portal .os-choices button.chosen{background:#2a4261;color:#fff}
html[data-exza-theme="dark"] body.exza-mobile-portal input:not([type="checkbox"]):not([type="radio"]),
html[data-exza-theme="dark"] body.exza-mobile-portal select,
html[data-exza-theme="dark"] body.exza-mobile-portal textarea{
 background:#0d1117!important;border-color:#47576c!important;color:#e6edf3!important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal input::placeholder,
html[data-exza-theme="dark"] body.exza-mobile-portal textarea::placeholder{color:#95a5b8!important}
html[data-exza-theme="dark"] body.exza-mobile-portal label{color:#c9d7e7!important}
html[data-exza-theme="dark"] body.exza-mobile-portal .tab{color:#97abc2}
html[data-exza-theme="dark"] body.exza-mobile-portal .tab.selected,
html[data-exza-theme="dark"] body.exza-mobile-portal .text-button,
html[data-exza-theme="dark"] body.exza-mobile-portal a:not(.brand){color:#a5cdff}
html[data-exza-theme="dark"] body.exza-mobile-portal .pill,
html[data-exza-theme="dark"] body.exza-mobile-portal .pill.neutral{background:#24364a;border-color:#39516c;color:#d2e4f7}
html[data-exza-theme="dark"] body.exza-mobile-portal #premium-active-note{background:#1a3445;border-color:#386079;color:#c5eaff}
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-guide>summary:hover{background:#26384b}
/* ADMIN: keep existing graphs, tables, permission controls and charts in place. */
html[data-exza-theme="dark"] body.exza-mobile-admin,
html[data-exza-theme="dark"] body.exza-mobile-admin .main,
html[data-exza-theme="dark"] body.exza-mobile-admin .layout{background:#0d1117;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-admin .sidebar{background:#161b22;border-right:1px solid #30363d}
html[data-exza-theme="dark"] body.exza-mobile-admin .sidebar nav a{background:#212936;color:#d6e2f0}
html[data-exza-theme="dark"] body.exza-mobile-admin .metric,
html[data-exza-theme="dark"] body.exza-mobile-admin .panel,
html[data-exza-theme="dark"] body.exza-mobile-admin .auth,
html[data-exza-theme="dark"] body.exza-mobile-admin .campaign{background:#161b22;border-color:#30363d;box-shadow:none;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-admin td,
html[data-exza-theme="dark"] body.exza-mobile-admin th{border-color:#30363d;color:#d6e2f0}
html[data-exza-theme="dark"] body.exza-mobile-admin .small,
html[data-exza-theme="dark"] body.exza-mobile-admin th,
html[data-exza-theme="dark"] body.exza-mobile-admin .side-label{color:#a4b2c4}
html[data-exza-theme="dark"] body.exza-mobile-admin h1,
html[data-exza-theme="dark"] body.exza-mobile-admin h2,
html[data-exza-theme="dark"] body.exza-mobile-admin h3,
html[data-exza-theme="dark"] body.exza-mobile-admin strong{color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-admin .badge{background:#23364d;color:#c9e2ff}
html[data-exza-theme="dark"] body.exza-mobile-admin .badge.premium{background:#174237;color:#a3f2d7}
html[data-exza-theme="dark"] body.exza-mobile-admin .auth input,
html[data-exza-theme="dark"] body.exza-mobile-admin input,
html[data-exza-theme="dark"] body.exza-mobile-admin select,
html[data-exza-theme="dark"] body.exza-mobile-admin textarea,
html[data-exza-theme="dark"] body.exza-mobile-admin .mail-editor{background:#0d1117;border:1px solid #405062;color:#e6edf3}
html[data-exza-theme="dark"] body.exza-mobile-admin .mail-safety{background:#1d2b3c;border-color:#39516d;color:#cbdcf0}
html[data-exza-theme="dark"] body.exza-mobile-admin .mail-tools button{background:#24364c;color:#d6e8ff}
html[data-exza-theme="dark"] body.exza-mobile-admin #mail-preview-frame{background:#fff} /* email template preview keeps its own light theme */
html[data-exza-theme="dark"] body.exza-mobile-admin .admin-language button{color:#e6edf3}
/* PUBLIC DOCS, HELP, LEGAL, PROMPT LIBRARY */
html[data-exza-theme="dark"] body.exza-mobile-help,
html[data-exza-theme="dark"] body.exza-mobile-legal,
html[data-exza-theme="dark"] body.prompts-page{background:#0d1117;color:#e6edf3}
html[data-exza-theme="dark"] .prompts-page .topbar{background:#0d1117}
html[data-exza-theme="dark"] .prompt-filter-panel,
html[data-exza-theme="dark"] .prompt-card,
html[data-exza-theme="dark"] .prompt-modal,
html[data-exza-theme="dark"] .legal-nav,
html[data-exza-theme="dark"] .document,
html[data-exza-theme="dark"] .faq-cta,
html[data-exza-theme="dark"] .faq-search{background:#161b22;border-color:#30363d;color:#e6edf3}
html[data-exza-theme="dark"] .prompts-page .prompt-section-head h2,
html[data-exza-theme="dark"] .prompt-card h3,
html[data-exza-theme="dark"] .prompt-card h2,
html[data-exza-theme="dark"] .prompt-modal h2,
html[data-exza-theme="dark"] .faq-item summary,
html[data-exza-theme="dark"] .document strong{color:#e6edf3}
html[data-exza-theme="dark"] .prompt-preview,
html[data-exza-theme="dark"] .prompt-params,
html[data-exza-theme="dark"] .prompt-section-head p,
html[data-exza-theme="dark"] .prompt-guide p,
html[data-exza-theme="dark"] .prompt-guide li,
html[data-exza-theme="dark"] .prompt-eyebrow,
html[data-exza-theme="dark"] .prompt-count,
html[data-exza-theme="dark"] .prompt-full,
html[data-exza-theme="dark"] .prompt-modal-text,
html[data-exza-theme="dark"] .faq-item .answer,
html[data-exza-theme="dark"] .faq-sidebar a,
html[data-exza-theme="dark"] .faq-cta p,
html[data-exza-theme="dark"] .document p,
html[data-exza-theme="dark"] .document li,
html[data-exza-theme="dark"] .summary,
html[data-exza-theme="dark"] .legal-nav a{color:#a9b9ca}
html[data-exza-theme="dark"] .prompt-search-input,
html[data-exza-theme="dark"] .prompt-select,
html[data-exza-theme="dark"] .faq-search input{background:#0d1117;border-color:#405062;color:#e6edf3}
html[data-exza-theme="dark"] .prompt-hero,
html[data-exza-theme="dark"] .faq-hero,
html[data-exza-theme="dark"] .top,
html[data-exza-theme="dark"] .foot{background:#0d1117;color:#e6edf3}
html[data-exza-theme="dark"] .prompt-copy,
html[data-exza-theme="dark"] .prompt-more,
html[data-exza-theme="dark"] .prompt-reset,
html[data-exza-theme="dark"] .prompt-modal-close,
html[data-exza-theme="dark"] .prompt-modal-cancel,
html[data-exza-theme="dark"] .prompt-guide aside,
html[data-exza-theme="dark"] .faq-item code{background:#223247;border-color:#3d536b;color:#c9e3ff}
html[data-exza-theme="dark"] .prompt-risk{background:#2b3647;color:#ccd9e7}
html[data-exza-theme="dark"] .prompt-actions,
html[data-exza-theme="dark"] .prompt-modal-header,
html[data-exza-theme="dark"] .prompt-modal-footer,
html[data-exza-theme="dark"] .faq-item,
html[data-exza-theme="dark"] .faq-sidebar,
html[data-exza-theme="dark"] .document section,
html[data-exza-theme="dark"] .prompt-guide{border-color:#30363d}
html[data-exza-theme="dark"] .prompt-modal-footer{background:#171f2b}
html[data-exza-theme="dark"] .legal-nav a.active,
html[data-exza-theme="dark"] .faq-item a,
html[data-exza-theme="dark"] .prompt-guide a,
html[data-exza-theme="dark"] .prompt-details summary{color:#a4ccff}
html[data-exza-theme="dark"] .notice{background:#322618;border-color:#6d4e25;color:#f8d7a3}
html[data-exza-theme="dark"] .legal-intro{background:#19283a;color:#cdddec;border-color:#33475c}
html[data-exza-theme="dark"] body.exza-mobile-help .faq-sidebar a,
html[data-exza-theme="dark"] body.exza-mobile-legal .legal-nav,
html[data-exza-theme="dark"] body.exza-mobile-legal .legal-nav a{background:#1b2634;border-color:#334357;color:#d9e5f2}
/* SHARED COOKIE / PRIVACY UI: no light panels left on dark pages */
html[data-exza-theme="dark"] .exza-cookie-banner,
html[data-exza-theme="dark"] .exza-cookie-dialog,
html[data-exza-theme="dark"] .exza-cookie-floating-settings{background:#161b22;border-color:#3b4552;color:#e6edf3}
html[data-exza-theme="dark"] .exza-cookie-banner p,
html[data-exza-theme="dark"] .exza-cookie-option p,
html[data-exza-theme="dark"] .exza-cookie-dialog h2{color:#d3dfed}
html[data-exza-theme="dark"] .exza-cookie-option{border-color:#3b4552}
html[data-exza-theme="dark"] .exza-cookie-actions button,
html[data-exza-theme="dark"] .exza-cookie-close{background:#222c39;border-color:#425267;color:#e6edf3}
html[data-exza-theme="dark"] .exza-cookie-actions button[data-cookie-action="accept"],
html[data-exza-theme="dark"] .exza-cookie-actions button[data-cookie-action="save"]{background:#346cac;color:#fff}
html[data-exza-theme="dark"] .exza-cookie-mark,
html[data-exza-theme="dark"] .exza-cookie-fixed{background:#26374b;color:#aaccff;border-color:#41536b}
/* APPEARANCE CONTROL, SAME STYLE IN EVERY AREA */
.exza-vh{position:absolute!important;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.exza-theme-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;
 border:1px solid var(--exza-theme-border)!important;border-radius:8px!important;background:var(--exza-theme-surface)!important;
 color:var(--exza-theme-text)!important;font:600 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;cursor:pointer}
.exza-theme-symbol{font-size:19px;line-height:1;color:var(--exza-theme-link)}
.exza-theme-trigger:hover{background:var(--exza-theme-hover)!important}
.exza-theme-float{position:fixed;bottom:18px;right:18px;z-index:17990;box-shadow:0 5px 20px #0003}
.exza-theme-dialog{position:fixed;z-index:17995;right:18px;top:86px;width:min(355px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto;
 border:1px solid var(--exza-theme-border);background:var(--exza-theme-surface);color:var(--exza-theme-text);
 box-shadow:0 14px 45px #0005;border-radius:12px;padding:21px 20px 19px;text-align:left;font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.exza-theme-dialog[hidden],.exza-geo-clear[hidden]{display:none!important}
.exza-theme-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.exza-theme-dialog-top strong{font-size:17px}
.exza-theme-dialog p,.exza-theme-description{font-size:12px;line-height:1.65;color:var(--exza-theme-muted)!important}
.exza-theme-close{border:1px solid var(--exza-theme-border)!important;background:var(--exza-theme-subtle)!important;color:var(--exza-theme-text)!important;
 border-radius:7px!important;width:36px;height:36px;padding:0!important;font-size:22px!important;cursor:pointer}
.exza-theme-settings{margin:20px 0 22px;padding:19px 20px;background:var(--exza-theme-subtle);border:1px solid var(--exza-theme-border);border-radius:9px;color:var(--exza-theme-text)}
.exza-theme-settings-heading{display:flex;flex-direction:column;gap:5px}
.exza-theme-settings-heading strong{font-size:15px;color:var(--exza-theme-text)}
.exza-theme-settings-heading span{font-size:12px;color:var(--exza-theme-muted)}
.exza-theme-settings-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:15px}
.exza-theme-settings-controls select{min-width:180px;max-width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--exza-theme-border)!important;
 border-radius:7px!important;background:var(--exza-theme-input)!important;color:var(--exza-theme-text)!important;font:inherit!important;cursor:pointer}
.exza-theme-settings-controls button{min-height:40px;padding:9px 12px;border:1px solid var(--exza-theme-border)!important;
 border-radius:7px!important;background:var(--exza-theme-subtle)!important;color:var(--exza-theme-link)!important;font:600 12px/1.3 inherit;cursor:pointer}
.exza-theme-settings-controls button:hover{background:var(--exza-theme-hover)!important}
.exza-theme-settings-controls button:disabled{opacity:.55;cursor:wait}
.exza-theme-admin-nav{display:block;color:#dceafd!important;background:#273c55!important;border:1px solid #384f69!important}
body.exza-mobile-admin #exza-appearance-settings{margin:20px 0;max-width:100%}
.exza-theme-trigger:focus-visible,.exza-theme-settings select:focus-visible,.exza-theme-dialog select:focus-visible,
.exza-theme-dialog button:focus-visible,.exza-theme-settings button:focus-visible{outline:3px solid #79b8ff!important;outline-offset:3px}
@media(max-width:820px){
 .exza-theme-trigger{min-height:42px;padding:8px!important}
 .exza-theme-trigger-label{font-size:11px}
 .exza-theme-dialog{top:auto;bottom:75px;right:12px;max-height:calc(100dvh - 100px);width:min(360px,calc(100vw - 24px))}
 body.exza-mobile-marketing .top-actions{gap:8px}
 body.exza-mobile-portal .header-right{gap:8px}
 .exza-theme-float{bottom:65px;right:12px}
}
@media(prefers-reduced-motion:reduce){.exza-theme-trigger,.exza-theme-dialog{transition:none}}

/* Secondary authenticated views and details */
html[data-exza-theme="dark"] body.exza-mobile-portal .purchase-consent,
html[data-exza-theme="dark"] body.exza-mobile-portal .billing-recipient-form,
html[data-exza-theme="dark"] body.exza-mobile-portal .free-benefits,
html[data-exza-theme="dark"] body.exza-mobile-portal .delete-confirm-form,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-value,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-info,
html[data-exza-theme="dark"] body.exza-mobile-portal #dashboard .columns>.col-main>.manual-plugin-standalone,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-os button,
html[data-exza-theme="dark"] body.exza-mobile-portal .chart-switch{background:#161f2b!important;border-color:#39495d!important;color:#dce9f8}
html[data-exza-theme="dark"] body.exza-mobile-portal .chart-switch button.chosen,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-os button.chosen{background:#2a4260!important;color:#e6edf3!important}
html[data-exza-theme="dark"] body.exza-mobile-portal .progress,
html[data-exza-theme="dark"] body.exza-mobile-portal .manual-plugin-symbol{background:#28384c}
html[data-exza-theme="dark"] body.exza-mobile-portal .billing-currency-note{background:#1d3450;color:#cfe4ff}
html[data-exza-theme="dark"] body.exza-mobile-portal .outline:disabled{background:#1c2531;color:#8190a3}
html[data-exza-theme="dark"] .prompt-risk[data-level="advanced"]{background:#42321d;color:#f0cd91}
html[data-exza-theme="dark"] .prompt-risk[data-level="medium"],
html[data-exza-theme="dark"] .prompt-format{background:#27394b;color:#cfe0f5}
html[data-exza-theme="dark"] .prompt-format[data-format="detailed"]{background:#1b3e32;color:#ace3c5}
html[data-exza-theme="dark"] .prompt-more:hover{background:#24374b}
html[data-exza-theme="dark"] .placeholder{background:#49341d;color:#f4d196}
html[data-exza-theme="dark"] body.exza-mobile-portal .side-nav .nav.active{background:#22364f;border-color:#395676;color:#e6f2ff}
html[data-exza-theme="dark"] body.exza-mobile-portal .auth-card input,
html[data-exza-theme="dark"] body.exza-mobile-portal .pair-input input{background:#0d1117!important;color:#e6edf3!important}
body.exza-mobile-admin .sidebar nav .exza-theme-admin-nav[hidden]{display:none!important}
.exza-theme-settings-controls button{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:12px!important;font-weight:600!important}


/* EXZA Appearance v2 — centered native modal; no layout redesign. */
.exza-theme-dialog:not([open]){display:none!important}
.exza-theme-dialog[open]{
 box-sizing:border-box!important;position:fixed!important;
 inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
 margin:auto!important;padding:0!important;overflow-x:hidden;overflow-y:auto;
 width:min(452px,calc(100vw - 32px))!important;
 max-width:calc(100vw - 32px)!important;max-height:min(690px,calc(100dvh - 40px))!important;
 border:1px solid var(--exza-theme-border)!important;
 border-radius:17px!important;
 background:var(--exza-theme-surface)!important;color:var(--exza-theme-text)!important;
 box-shadow:0 28px 90px #0008!important;
 text-align:left!important;
 z-index:2147483647!important;
 animation:exza-theme-modal-enter .19s ease-out both;
}
.exza-theme-dialog::backdrop{
 background:rgba(6,12,22,.68);
 -webkit-backdrop-filter:blur(5px);
 backdrop-filter:blur(5px);
}
.exza-theme-dialog-top{
 display:grid!important;grid-template-columns:minmax(0,1fr) 40px;
 align-items:start!important;gap:16px!important;
 padding:25px 25px 0;
 margin:0!important;
}
.exza-theme-dialog-heading{min-width:0}
.exza-theme-dialog-kicker{display:block;color:var(--exza-theme-link);font-size:10px;font-weight:800;letter-spacing:1.4px;margin-bottom:8px}
.exza-theme-dialog-heading h2{color:var(--exza-theme-text)!important;font:750 23px/1.24 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.55px;margin:0!important;padding:0}
.exza-theme-dialog .exza-theme-close{
 box-sizing:border-box!important;position:static!important;inset:auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
 margin:0!important;padding:0!important;border-radius:9px!important;
 background:var(--exza-theme-subtle)!important;border:1px solid var(--exza-theme-border)!important;
 color:var(--exza-theme-text)!important;
 font-size:20px!important;line-height:1!important;box-shadow:none!important;transform:none!important;
 cursor:pointer;
}
.exza-theme-dialog .exza-theme-close:hover{background:var(--exza-theme-hover)!important}
.exza-theme-dialog-subtitle{
 margin:11px 25px 20px!important;color:var(--exza-theme-muted)!important;
 font:400 13px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.exza-theme-choices{display:grid;gap:9px;padding:0 25px 21px}
.exza-theme-dialog .exza-theme-choice{
 box-sizing:border-box!important;
 display:grid!important;grid-template-columns:40px minmax(0,1fr) 19px;
 align-items:center;gap:13px;width:100%;min-height:75px;
 padding:13px!important;margin:0!important;text-align:left!important;
 color:var(--exza-theme-text)!important;background:var(--exza-theme-surface)!important;
 border:1px solid var(--exza-theme-border)!important;border-radius:10px!important;
 box-shadow:none!important;cursor:pointer;white-space:normal!important;
}
.exza-theme-dialog .exza-theme-choice:hover{background:var(--exza-theme-hover)!important;border-color:#537ba5!important}
.exza-theme-dialog .exza-theme-choice[aria-pressed="true"]{
 border:1.5px solid #5697db!important;background:var(--exza-theme-hover)!important;
}
.exza-theme-choice-icon{
 display:flex;align-items:center;justify-content:center;flex-shrink:0;
 width:40px;height:40px;border-radius:9px;
 background:var(--exza-theme-subtle);color:var(--exza-theme-link);
 font-size:23px;font-weight:500;
}
.exza-theme-choice-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.exza-theme-choice-copy strong{color:var(--exza-theme-text)!important;font:720 14px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.exza-theme-choice-copy small{color:var(--exza-theme-muted)!important;font:400 11.5px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.exza-theme-choice-check{visibility:hidden;color:var(--exza-theme-link)!important;font-size:19px;font-weight:800}
.exza-theme-choice[aria-pressed="true"] .exza-theme-choice-check{visibility:visible}
.exza-theme-dialog-footer{
 border-top:1px solid var(--exza-theme-border);
 background:var(--exza-theme-subtle);padding:14px 25px 22px;
}
.exza-theme-dialog-footer .exza-theme-description{margin:0!important;color:var(--exza-theme-muted)!important}
.exza-theme-dialog-footer .exza-theme-settings-controls{margin-top:11px!important}
.exza-theme-dialog-footer .exza-theme-settings-controls button{
 background:var(--exza-theme-surface)!important;
 border-color:var(--exza-theme-border)!important;
 max-width:100%;white-space:normal;min-height:38px!important;
}
@keyframes exza-theme-modal-enter{
 from{opacity:0;transform:translateY(7px) scale(.982)}
 to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:520px){
 .exza-theme-dialog[open]{
  width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 32px)!important;border-radius:14px!important;
 }
 .exza-theme-dialog-top{padding:19px 18px 0;gap:10px!important}
 .exza-theme-dialog-heading h2{font-size:21px!important}
 .exza-theme-dialog-subtitle{margin:9px 18px 16px!important}
 .exza-theme-choices{padding:0 18px 18px;gap:8px}
 .exza-theme-dialog .exza-theme-choice{min-height:68px;padding:11px!important;gap:10px}
 .exza-theme-dialog-footer{padding:12px 18px 18px}
}
@media(prefers-reduced-motion:reduce){
 .exza-theme-dialog[open]{animation:none!important}
}

/* EXZA Dark Mode: computer setup instructions */
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps{
  background:#1b2634;
  border:1px solid #334256;
  color:#e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps>strong{
  color:#e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps>p,
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps>small{
  color:#b7c6d8;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps a{
  color:#a5cdff;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps .command{
  background:#111b29;
  border-color:#3b516b;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps .command code{
  color:#d3e6ff;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps .os-choices button{
  background:#1c2b3e;
  border-color:#40536c;
  color:#d5e3f2;
}
html[data-exza-theme="dark"] body.exza-mobile-portal .install-steps .os-choices button.chosen{
  background:#2b4362;
  border-color:#6899d0;
  color:#ffffff;
}

/* EXZA Remote — Premium billing dark-mode refinement, 2026-11-04.
   Presentation only. No checkout, amount, tax, recipient or consent logic changed.
   The light theme remains untouched. */
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium {
  color: #e6edf3;
  background: #161b22;
  border: 1px solid #3d4856;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium > b {
  color: #e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #premium-price-block,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #portal-premium-price {
  color: #f0f6fc;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #premium-price-block small {
  color: #aab9ca;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium > p,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #portal-premium-tax,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #billing-lock-note {
  color: #b2c1d2;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .plan-benefits,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .plan-benefits span {
  color: #c7d9eb;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form {
  background: #101821 !important;
  border: 1px solid #39485c !important;
  color: #e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form h3 {
  color: #f0f6fc;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form p,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form small,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #billing-recipient-help {
  color: #b0c0d2;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form label {
  color: #dce7f4 !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form input:not([type="checkbox"]),
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form select {
  background: #0d1117 !important;
  border: 1px solid #48576a !important;
  color: #e6edf3 !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form input::placeholder {
  color: #96a7ba !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-recipient-form :is(input,select):focus-visible {
  outline: 2px solid #79b8ff;
  outline-offset: 2px;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-currency-note {
  background: #20334a !important;
  border-left-color: #79b8ff;
  color: #cee3fa !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .purchase-consent {
  background: #101821 !important;
  border: 1px solid #39485c !important;
  color: #dce7f4;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .purchase-consent label,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .purchase-consent label span {
  color: #d5e2f0 !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-legal-links a,
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium .billing-cancel-link {
  color: #a3ccff !important;
}
html[data-exza-theme="dark"] body.exza-mobile-portal #billing .premium #premium-active-note:not([hidden]) {
  background: #193747 !important;
  border-color: #35647a !important;
  color: #c7efff !important;
}

/* EXZA Remote — Admin "Users and free quotas" dark mode contrast fix.
   Dark theme only, without modifying data, admin login or quotas. */
html[data-exza-theme="dark"] body.exza-mobile-admin #customers .table,
html[data-exza-theme="dark"] body.exza-mobile-admin #customers table,
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody {
  background:transparent;
  color:#e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td {
  color:#dce7f5;
  border-bottom-color:#364656;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td strong {
  color:#f0f6fc;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td small {
  color:#aabbd0;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td::before {
  color:#aabbd0;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td .online {
  color:#5fdbb9;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td .badge {
  background:#24394f;
  border:1px solid #3c5774;
  color:#d6e9ff;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td .badge.premium {
  background:#174338;
  border-color:#276a58;
  color:#a6f0d3;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers .pager #page {
  color:#e6edf3;
}
html[data-exza-theme="dark"] body.exza-mobile-admin #customers .pager button:disabled {
  opacity:.5;
}
/* At <=720px each table row becomes an independent account card. */
@media(max-width:720px) {
  html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody tr {
    background:#1b242f;
    border:1px solid #394958;
    color:#dce7f5;
  }
  html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody tr:hover {
    background:#222e3c;
  }
  html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td {
    border-bottom:1px solid #354454;
  }
  html[data-exza-theme="dark"] body.exza-mobile-admin #customers tbody td:last-child {
    border-bottom:0;
  }
}
