html[data-br-theme="dark"] :is(.ix-page,.ae-page,.ag-page,.agif-page,.ap-page,.at-page,.vg-page){color:#e5e5e5;color-scheme:dark}
html[data-br-theme="dark"] :is(.ix-page,.ae-page,.ag-page,.agif-page,.ap-page,.at-page,.vg-page)::before{background:#171717}
html[data-br-theme="dark"] :is(.ix-title,.ae-title,.ag-title,.agif-title,.ap-title,.at-title,.vg-title,.ix-subtitle,.ae-subtitle,.ag-subtitle,.agif-subtitle,.ap-subtitle,.at-subtitle,.vg-subtitle){color:#f5f5f5!important;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-title,.ae-title,.ag-title,.agif-title,.ap-title,.at-title,.vg-title)::after{background:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-panel,.ae-panel,.ag-panel,.agif-panel,.ap-panel,.at-panel,.vg-panel,.ix-intro-block,.ae-intro-block,.ag-intro-block,.agif-intro-block,.ap-intro-block,.at-intro-block,.vg-intro-block,.ix-composer,.ae-composer,.ag-composer,.agif-composer,.ap-composer,.at-composer,.vg-composer,.ix-history-card,.ae-history-card,.ag-history-card,.agif-history-card,.ap-history-card,.at-history-card,.vg-history-card,.ix-settings,.ae-settings,.ag-settings,.agif-settings,.ap-settings,.at-settings,.vg-settings,.ix-model-list,.ae-model-list,.ag-model-list,.agif-model-list,.ap-model-list,.at-model-list,.vg-model-list,.ix-page-badge,.ae-page-badge,.ag-page-badge,.agif-page-badge,.ap-page-badge,.at-page-badge,.vg-page-badge){background:#212121;border-color:#2e2e2e;box-shadow:none;color:#e5e5e5}
html[data-br-theme="dark"] :is(.ix-wrap,.ae-wrap,.ag-wrap,.agif-wrap,.ap-wrap,.at-wrap,.vg-wrap) :is(.ix-confirm-dialog,.ae-confirm-dialog,.ag-confirm-dialog,.agif-confirm-dialog,.ap-confirm-dialog,.at-confirm-dialog,.vg-confirm-dialog,.ix-image-dialog,.ae-image-dialog,.ag-image-dialog,.agif-image-dialog,.ap-image-dialog,.at-image-dialog,.vg-image-dialog,.ix-gallery-dialog,.ae-gallery-dialog,.ag-gallery-dialog,.agif-gallery-dialog,.ap-gallery-dialog,.at-gallery-dialog,.vg-gallery-dialog,.ix-credits-dialog,.ae-credits-dialog,.ag-credits-dialog,.agif-credits-dialog,.ap-credits-dialog,.at-credits-dialog,.vg-credits-dialog,.ix-scene-dialog,.ae-scene-dialog,.ag-scene-dialog,.agif-scene-dialog,.ap-scene-dialog,.at-scene-dialog,.vg-scene-dialog,.ix-prompt-dialog,.ae-prompt-dialog,.ag-prompt-dialog,.agif-prompt-dialog,.ap-prompt-dialog,.at-prompt-dialog,.vg-prompt-dialog,.ix-view-prompt-dialog,.ae-view-prompt-dialog,.ag-view-prompt-dialog,.agif-view-prompt-dialog,.ap-view-prompt-dialog,.at-view-prompt-dialog,.vg-view-prompt-dialog){background:#212121;border-color:#2e2e2e;color:#e5e5e5}
html[data-br-theme="dark"] :is(.ix-source-preview,.ae-source-preview,.ag-source-preview,.agif-source-preview,.ap-source-preview,.at-source-preview,.vg-source-preview,.ix-empty,.ae-empty,.ag-empty,.agif-empty,.ap-empty,.at-empty,.vg-empty,.ix-shot,.ae-shot,.ag-shot,.agif-shot,.ap-shot,.at-shot,.vg-shot,.ix-history-shot,.ae-history-shot,.ag-history-shot,.agif-history-shot,.ap-history-shot,.at-history-shot,.vg-history-shot,.ix-history-image,.ae-history-image,.ag-history-image,.agif-history-image,.ap-history-image,.at-history-image,.vg-history-image,.ix-gallery-image,.ae-gallery-image,.ag-gallery-image,.agif-gallery-image,.ap-gallery-image,.at-gallery-image,.vg-gallery-image,.ix-thumb,.ae-thumb,.ag-thumb,.agif-thumb,.ap-thumb,.at-thumb,.vg-thumb,.ix-person-preview,.ae-person-preview,.ag-person-preview,.agif-person-preview,.ap-person-preview,.at-person-preview,.vg-person-preview,.ix-gallery-item,.ae-gallery-item,.ag-gallery-item,.agif-gallery-item,.ap-gallery-item,.at-gallery-item,.vg-gallery-item,.ix-setting-row,.ae-setting-row,.ag-setting-row,.agif-setting-row,.ap-setting-row,.at-setting-row,.vg-setting-row,.ix-prompt-wrap,.ae-prompt-wrap,.ag-prompt-wrap,.agif-prompt-wrap,.ap-prompt-wrap,.at-prompt-wrap,.vg-prompt-wrap,.ix-preview-prompt,.ae-preview-prompt,.ag-preview-prompt,.agif-preview-prompt,.ap-preview-prompt,.at-preview-prompt,.vg-preview-prompt,.ix-add-tile,.ae-add-tile,.ag-add-tile,.agif-add-tile,.ap-add-tile,.at-add-tile,.vg-add-tile){background:#141414;border-color:#2e2e2e;color:#a3a3a3}
html[data-br-theme="dark"] :is(.ix-scene,.ae-scene,.ap-scene,.at-scene,.ix-textarea,.ae-textarea,.ag-textarea,.agif-textarea,.ap-textarea,.at-textarea,.vg-textarea,.ix-prompt-expanded,.ae-prompt-expanded,.ag-prompt-expanded,.agif-prompt-expanded,.ap-prompt-expanded,.at-prompt-expanded,.vg-prompt-expanded){background:#141414;border-color:#2e2e2e;color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-wrap,.ae-wrap,.ag-wrap,.agif-wrap,.ap-wrap,.at-wrap,.vg-wrap) :is(input,textarea,select):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]){background:#141414;border-color:#2e2e2e;color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-intro,.ae-intro,.ag-intro,.agif-intro,.ap-intro,.at-intro,.vg-intro) article{background:#1c1c1c;border-color:#2e2e2e;color:#e5e5e5}
html[data-br-theme="dark"] :is(.ix-intro,.ae-intro,.ag-intro,.agif-intro,.ap-intro,.at-intro,.vg-intro) :is(h2,h3,strong,.ix-confirm-title,.ae-confirm-title,.ag-confirm-title,.agif-confirm-title,.ap-confirm-title,.at-confirm-title,.vg-confirm-title){color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-intro,.ae-intro,.ag-intro,.agif-intro,.ap-intro,.at-intro,.vg-intro) :is(p,li),
html[data-br-theme="dark"] :is(.ix-section-head strong,.ae-section-head strong,.ag-section-head strong,.agif-section-head strong,.ap-section-head strong,.at-section-head strong,.vg-section-head strong,.ix-scene-hint,.ae-scene-hint,.ap-scene-hint,.at-scene-hint,.ix-count,.ae-count,.ag-count,.agif-count,.ap-count,.at-count,.vg-count,.ix-history-note,.ae-history-note,.ag-history-note,.agif-history-note,.ap-history-note,.at-history-note,.vg-history-note,.ix-history-meta,.ae-history-meta,.ag-history-meta,.agif-history-meta,.ap-history-meta,.at-history-meta,.vg-history-meta,.ix-add-hint,.ae-add-hint,.ag-add-hint,.agif-add-hint,.ap-add-hint,.at-add-hint,.vg-add-hint){color:#a3a3a3}
html[data-br-theme="dark"] :is(.ix-add-text,.ae-add-text,.ag-add-text,.agif-add-text,.ap-add-text,.at-add-text,.vg-add-text,.ix-credits-dialog-text,.ae-credits-dialog-text,.ag-credits-dialog-text,.agif-credits-dialog-text,.ap-credits-dialog-text,.at-credits-dialog-text,.vg-credits-dialog-text){color:#e5e5e5}
html[data-br-theme="dark"] :is(.ix-add-icon,.ae-add-icon,.ag-add-icon,.agif-add-icon,.ap-add-icon,.at-add-icon,.vg-add-icon,.ix-intro-card-icon,.ae-intro-card-icon,.ag-intro-card-icon,.agif-intro-card-icon,.ap-intro-card-icon,.at-intro-card-icon,.vg-intro-card-icon,.ix-intro-faq-icon,.ae-intro-faq-icon,.ag-intro-faq-icon,.agif-intro-faq-icon,.ap-intro-faq-icon,.at-intro-faq-icon,.vg-intro-faq-icon,.ix-intro-title-icon,.ae-intro-title-icon,.ag-intro-title-icon,.agif-intro-title-icon,.ap-intro-title-icon,.at-intro-title-icon,.vg-intro-title-icon,.ix-step,.ae-step,.ag-step,.agif-step,.ap-step,.at-step,.vg-step){background:#1a2744;border-color:#2f4f93;color:#8eb0ff;box-shadow:none}
html[data-br-theme="dark"] :is(.ix-chip,.ae-chip,.ag-chip,.agif-chip,.ap-chip,.at-chip,.vg-chip,.ix-scene-chip,.ae-scene-chip,.ag-scene-chip,.agif-scene-chip,.ap-scene-chip,.at-scene-chip,.vg-scene-chip):not(.is-active){background:#2a2a2a;border-color:#3a3a3a;color:#d4d4d4}
html[data-br-theme="dark"] :is(.ix-chip,.ae-chip,.ag-chip,.agif-chip,.ap-chip,.at-chip,.vg-chip,.ix-scene-chip,.ae-scene-chip,.ag-scene-chip,.agif-scene-chip,.ap-scene-chip,.at-scene-chip,.vg-scene-chip).is-active{background:#1a2744;border-color:#0055ff;color:#8eb0ff}
html[data-br-theme="dark"] :is(.ix-quality-chip,.ae-quality-chip,.ag-quality-chip,.agif-quality-chip,.ap-quality-chip,.at-quality-chip,.vg-quality-chip):not(.is-active):not(.is-premium):not(.is-advanced){background:#2a2a2a;border-color:#3a3a3a;color:#d4d4d4}
html[data-br-theme="dark"] :is(.ix-quality-chip,.ae-quality-chip,.ag-quality-chip,.agif-quality-chip,.ap-quality-chip,.at-quality-chip,.vg-quality-chip).is-active:not(.is-premium):not(.is-advanced){background:#3a3a3a;border-color:#525252;color:#fff}
html[data-br-theme="dark"] :is(.ix-wrap,.ap-wrap) :is(.ix-scene-mode-btn,.ap-scene-mode-btn):not(.is-active){background:#2a2a2a!important;border-color:#3a3a3a!important;color:#d4d4d4!important}
html[data-br-theme="dark"] :is(.ix-wrap,.ap-wrap) :is(.ix-scene-mode-btn,.ap-scene-mode-btn).is-active{background:#1a2744!important;border-color:#0055ff!important;color:#8eb0ff!important}
html[data-br-theme="dark"] :is(.ix-btn,.ae-btn,.ag-btn,.agif-btn,.ap-btn,.at-btn,.vg-btn):not(.ix-btn-primary):not(.ix-btn-generate):not(.ae-btn-primary):not(.ae-btn-generate):not(.ag-btn-primary):not(.ag-btn-generate):not(.agif-btn-primary):not(.agif-btn-generate):not(.ap-btn-primary):not(.ap-btn-generate):not(.at-btn-primary):not(.at-btn-generate):not(.vg-btn-primary):not(.vg-btn-generate){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-btn-settings,.ae-btn-settings,.ag-btn-settings,.agif-btn-settings,.ap-btn-settings,.at-btn-settings,.vg-btn-settings){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-wrap,.ae-wrap,.ag-wrap,.agif-wrap,.ap-wrap,.at-wrap,.vg-wrap) :is(.ix-preview-close,.ae-preview-close,.ag-preview-close,.agif-preview-close,.ap-preview-close,.at-preview-close,.vg-preview-close,.ix-settings-close,.ae-settings-close,.ag-settings-close,.agif-settings-close,.ap-settings-close,.at-settings-close,.vg-settings-close,.ix-scene-expand,.ae-scene-expand,.ap-scene-expand,.at-scene-expand,.ix-prompt-expand,.ae-prompt-expand,.ag-prompt-expand,.agif-prompt-expand,.ap-prompt-expand,.at-prompt-expand,.vg-prompt-expand,.ix-view-prompt-copy,.ae-view-prompt-copy,.ag-view-prompt-copy,.agif-view-prompt-copy,.ap-view-prompt-copy,.at-view-prompt-copy,.vg-view-prompt-copy,.ag-thumb-swap,.agif-thumb-swap,.vg-thumb-swap){background:#2a2a2a!important;border-color:#3a3a3a!important;color:#f5f5f5!important}
html[data-br-theme="dark"] :is(.ix-wrap,.ae-wrap,.ag-wrap,.agif-wrap,.ap-wrap,.at-wrap,.vg-wrap) :is(.ix-preview-close,.ae-preview-close,.ag-preview-close,.agif-preview-close,.ap-preview-close,.at-preview-close,.vg-preview-close,.ix-settings-close,.ae-settings-close,.ag-settings-close,.agif-settings-close,.ap-settings-close,.at-settings-close,.vg-settings-close) svg{stroke:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-icon-btn,.ae-icon-btn,.ag-icon-btn,.agif-icon-btn,.ap-icon-btn,.at-icon-btn,.vg-icon-btn,.ix-view-btn,.ae-view-btn,.ag-view-btn,.agif-view-btn,.ap-view-btn,.at-view-btn,.vg-view-btn){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] :is(.ix-quota-balance,.ae-quota-balance,.ag-quota-balance,.agif-quota-balance,.ap-quota-balance,.at-quota-balance,.vg-quota-balance){background:#3a2a10;border-color:#e8c36a;color:#f0c14b}
html[data-br-theme="dark"] :is(.ix-quota-hint,.ae-quota-hint,.ag-quota-hint,.agif-quota-hint,.ap-quota-hint,.at-quota-hint,.vg-quota-hint){background:#3a2410;border-color:#9a3412;color:#fdba74}
html[data-br-theme="dark"] :is(.ix-status,.ae-status,.ag-status,.agif-status,.ap-status,.at-status,.vg-status).is-error{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] :is(.ix-status,.ae-status,.ag-status,.agif-status,.ap-status,.at-status,.vg-status).is-ok{background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page){--br-ink:#f5f5f5;--br-muted:#a3a3a3;--br-line:#2e2e2e;--br-surface:#1c1c1c;--br-brand-soft:#1a2744;--br-accent-soft:#1a2744;color:#e5e5e5;color-scheme:dark}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page)::before{background:#171717}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-main-title,.br-studio-lead,.br-section-title){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-upload-zone,.br-upload-zone:hover,.br-upload-zone.br-dragover,.br-studio,.br-preview-shell,.br-preview-topbar,.br-action-panel,.br-content-section,.br-feature-card,.br-faq-item,.br-faq-section,.br-step-card,.br-step-card:hover,.br-why-list li,.br-example-card,.trust-badge,.br-hero-points li){background:#212121!important;border-color:#2e2e2e;color:#e5e5e5;box-shadow:none}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-upload-zone:before,.br-drop-text,.br-upload-hint,.br-feature-card p,.br-step-card p,.br-why-text p,.br-studio-kicker){color:#a3a3a3;border-color:#3a3a3a}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-upload-icon,.br-feature-icon-large,.br-hero-point-icon){background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-mode-btn,.br-engine-bar select){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .br-mode-btn.is-active:not(.br-premium-mode-btn){background:#1a2744;border-color:#0055ff;color:#8eb0ff}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .br-premium-mode-btn,
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .br-premium-mode-btn.is-active{background:#3a2a10!important;border-color:#e8c36a;color:#f0c14b}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .stats-bar{background:#1c1c1c;border-color:#2e2e2e}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .stats-bar .stat strong{color:#f5f5f5}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) .stats-bar .stat span{color:#c4b5fd}
html[data-br-theme="dark"] :is(.br-remover-page,.br-eraser-page,.br-upscaler-page) :is(.br-select-btn,.br-start-btn){background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .agif-history,
html[data-br-theme="dark"] .agif-intro-grid>div,
html[data-br-theme="dark"] .agif-intro-steps li,
html[data-br-theme="dark"] .agif-explore-demo{background:#212121;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .agif-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .agif-intro :is(h2,h3)::after{background:#f5f5f5}
html[data-br-theme="dark"] .agif-intro :is(p,li),
html[data-br-theme="dark"] :is(.agif-intro-lead,.agif-explore-demo-label,.agif-preview-meta,.agif-view-prompt-body){color:#a3a3a3}
html[data-br-theme="dark"] .agif-intro-eyebrow{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .agif-model-button,
html[data-br-theme="dark"] .agif-model-button:hover{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .agif-model-button[aria-expanded="true"]{background:#1a2744;border-color:#0055ff;color:#8eb0ff}
html[data-br-theme="dark"] .agif-model-item:hover,
html[data-br-theme="dark"] .agif-model-item.is-active{background:#2a2a2a;box-shadow:inset 0 0 0 1px #3a3a3a}
html[data-br-theme="dark"] .agif-model-item.is-active{box-shadow:inset 0 0 0 1px #0055ff}
html[data-br-theme="dark"] .agif-model-icon{background:#1a2744;border-color:#2f4f93}
html[data-br-theme="dark"] .agif-model-icon svg path{fill:#f5f5f5}
html[data-br-theme="dark"] .ae-model-button,
html[data-br-theme="dark"] .ae-model-button:hover,
html[data-br-theme="dark"] .ae-model-button[aria-expanded="true"]{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .ae-model-button[aria-expanded="true"]{border-color:#0055ff}
html[data-br-theme="dark"] .ae-model-item,
html[data-br-theme="dark"] .ae-model-item:hover,
html[data-br-theme="dark"] .ae-model-item.is-active{background:transparent;color:#f5f5f5}
html[data-br-theme="dark"] .ae-model-item:hover,
html[data-br-theme="dark"] .ae-model-item.is-active{background:#2a2a2a}
html[data-br-theme="dark"] .ae-model-item.is-active{box-shadow:inset 0 0 0 1px #0055ff}
html[data-br-theme="dark"] .ae-model-icon{background:#1a2744;border-color:#2f4f93}
html[data-br-theme="dark"] .ae-model-icon svg[fill="#101828"],
html[data-br-theme="dark"] .ae-model-icon path[fill="#101828"]{fill:#f5f5f5}
html[data-br-theme="dark"] .ae-model-label,
html[data-br-theme="dark"] .ae-history-head h2,
html[data-br-theme="dark"] .ae-gallery-head strong,
html[data-br-theme="dark"] .ae-prompt-dialog-head strong,
html[data-br-theme="dark"] .ae-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .ae-model-desc,
html[data-br-theme="dark"] .ae-history-prompt,
html[data-br-theme="dark"] .ae-history-meta,
html[data-br-theme="dark"] .ae-history-meta strong,
html[data-br-theme="dark"] .ae-view-prompt-body,
html[data-br-theme="dark"] .ae-gallery-caption strong,
html[data-br-theme="dark"] .ae-gallery-caption span,
html[data-br-theme="dark"] .ae-intro :is(p,li),
html[data-br-theme="dark"] :is(.ae-intro-lead){color:#a3a3a3}
html[data-br-theme="dark"] .ae-quota-balance .ae-quota-text{color:#f0c14b}
html[data-br-theme="dark"] .ae-model-badge{background:#3a1d24;border-color:#9f1239;color:#fda4af;-webkit-text-fill-color:#fda4af}
html[data-br-theme="dark"] .ae-model-free{color:#fff;-webkit-text-fill-color:#fff}
html[data-br-theme="dark"] .ae-model-price{background:#3a2a10;border-color:#e8c36a;color:#f0c14b;-webkit-text-fill-color:#f0c14b}
html[data-br-theme="dark"] .ae-wrap .ae-view-all{background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .ae-history-download,
html[data-br-theme="dark"] .ae-history-download:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ae-history-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .ae-empty svg{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3}
html[data-br-theme="dark"] .ae-preview-meta,
html[data-br-theme="dark"] .ae-gallery-tools button{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] .ae-intro-demo,
html[data-br-theme="dark"] .ae-intro-compare-card,
html[data-br-theme="dark"] .ae-intro-steps li{background:#212121;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .ae-intro-prompt{background:#141414;border-color:#2e2e2e;color:#e5e5e5}
html[data-br-theme="dark"] .ae-intro-step-num{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .ae-wrap :is(.ae-prompt-expand,.ae-history-prompt-more,.ae-view-prompt-copy,.ae-preview-close):hover{background:#2a2a2a!important;border-color:#3a3a3a!important;color:#f5f5f5!important}
html[data-br-theme="dark"] .agif-model-label,
html[data-br-theme="dark"] .agif-history-head h2,
html[data-br-theme="dark"] .agif-gallery-head strong,
html[data-br-theme="dark"] .agif-prompt-dialog-head strong,
html[data-br-theme="dark"] .agif-preview-prompt-head strong{color:#f5f5f5}
html[data-br-theme="dark"] .agif-model-price{background:#3a2a10;border-color:#e8c36a;color:#f0c14b}
html[data-br-theme="dark"] .agif-quota-balance .agif-quota-text{color:#f0c14b}
html[data-br-theme="dark"] .agif-toolbar{border-top-color:#2e2e2e}
html[data-br-theme="dark"] .agif-wrap .agif-prompt-expand svg{stroke:#f5f5f5}
html[data-br-theme="dark"] .agif-wrap button.agif-chip.is-active,
html[data-br-theme="dark"] .agif-wrap button.agif-chip.is-active:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .agif-wrap :is(.agif-view-all,.agif-select-toggle,.agif-select-all){background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .agif-wrap .agif-delete-selected,
html[data-br-theme="dark"] .agif-overlay-btn.is-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .agif-history-check,
html[data-br-theme="dark"] .agif-overlay-btn:not(.is-download),
html[data-br-theme="dark"] .agif-wrap :is(.agif-preview-prompt-copy,.agif-preview-prompt-more,.agif-preview-prompt-copy.is-copied){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5}
html[data-br-theme="dark"] .agif-preview-media{background:#141414;border-color:#2e2e2e}
html[data-br-theme="dark"] .agif-preview-prompt,
html[data-br-theme="dark"] .agif-view-prompt-body{background:#141414;color:#e5e5e5}
html[data-br-theme="dark"] .agif-preview-prompt-box.is-truncated .agif-preview-prompt::after{background:linear-gradient(180deg,rgba(20,20,20,0),#141414 72%)}
html[data-br-theme="dark"] .agif-empty svg{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3;box-shadow:none}
html[data-br-theme="dark"] .agif-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
html[data-br-theme="dark"] .agif-setting-label{color:#d4d4d4}
html[data-br-theme="dark"] .ix-quality-chip.is-standard,
html[data-br-theme="dark"] .ix-quality-chip.is-basic,
html[data-br-theme="dark"] .ix-quality-chip.is-standard:hover,
html[data-br-theme="dark"] .ix-quality-chip.is-basic:hover{background:#2a2a2a;border-color:#3a3a3a;color:#d4d4d4;box-shadow:none}
html[data-br-theme="dark"] .ix-quality-chip.is-standard.is-active,
html[data-br-theme="dark"] .ix-quality-chip.is-basic.is-active{background:#3a3a3a;border-color:#525252;color:#fff}
html[data-br-theme="dark"] .ix-quality-chip.is-advanced,
html[data-br-theme="dark"] .ix-quality-chip.is-advanced:hover{background:#3a2a10;border-color:#e8c36a;color:#f0c14b;box-shadow:none}
html[data-br-theme="dark"] .ix-quality-chip.is-advanced.is-active,
html[data-br-theme="dark"] .ix-quality-chip.is-advanced.is-active:hover{background:linear-gradient(135deg,#f6b21b,#e08a00);border-color:#d97706;color:#fff}
html[data-br-theme="dark"] .ix-wrap .ix-btn-settings[aria-expanded="true"]{background:#1a2744;border-color:#0055ff;color:#8eb0ff}
html[data-br-theme="dark"] .ix-setting-label,
html[data-br-theme="dark"] .ix-loading{color:#d4d4d4}
html[data-br-theme="dark"] .ix-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
html[data-br-theme="dark"] .ix-history-head h2,
html[data-br-theme="dark"] .ix-gallery-head strong,
html[data-br-theme="dark"] .ix-confirm-title,
html[data-br-theme="dark"] .ix-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .ix-intro :is(h2,h3)::after{background:#f5f5f5}
html[data-br-theme="dark"] .ix-history-notice{background:#3a2a10;color:#f0c14b}
html[data-br-theme="dark"] .ix-wrap .ix-view-all{background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .ix-wrap .ix-view-all:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ix-history-download,
html[data-br-theme="dark"] .ix-history-download:hover,
html[data-br-theme="dark"] .ix-gallery-download{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ix-history-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .ix-wrap .ix-btn-danger,
html[data-br-theme="dark"] .ix-wrap .ix-btn-danger:hover{background:#d92d20;border-color:#d92d20;color:#fff}
html[data-br-theme="dark"] .ix-empty-preview,
html[data-br-theme="dark"] .ix-compare-card,
html[data-br-theme="dark"] .ix-intro-split-media{background:#141414;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .ix-intro-step-num{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .ix-wrap .ix-settings-close svg{stroke:#f5f5f5!important}
html[data-br-theme="dark"] .ag-page-badge svg{color:#f5f5f5}
html[data-br-theme="dark"] .ag-quota-balance .ag-quota-text{color:#f0c14b;-webkit-text-fill-color:#f0c14b}
html[data-br-theme="dark"] .ag-quota-hint{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3}
html[data-br-theme="dark"] .ag-quota-note.is-locked .ag-quota-hint{background:#3a2410;border-color:#9a3412;color:#fdba74}
html[data-br-theme="dark"] .ag-add-box,
html[data-br-theme="dark"] .ag-add-tile:hover .ag-add-box{background:#1a2744;border-color:#2f4f93;color:#8eb0ff;box-shadow:none}
html[data-br-theme="dark"] .ag-toolbar{border-top-color:#2e2e2e}
html[data-br-theme="dark"] .ag-model-button,
html[data-br-theme="dark"] .ag-model-button:hover,
html[data-br-theme="dark"] .ag-model-button[aria-expanded="true"],
html[data-br-theme="dark"] .ag-btn-settings,
html[data-br-theme="dark"] .ag-btn-settings:hover{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .ag-model-button[aria-expanded="true"]{border-color:#0055ff}
html[data-br-theme="dark"] .ag-model-item,
html[data-br-theme="dark"] .ag-model-item:hover,
html[data-br-theme="dark"] .ag-model-item.is-active{background:transparent;color:#f5f5f5}
html[data-br-theme="dark"] .ag-model-item:hover,
html[data-br-theme="dark"] .ag-model-item.is-active{background:#2a2a2a}
html[data-br-theme="dark"] .ag-model-item.is-active{box-shadow:inset 0 0 0 1px #0055ff}
html[data-br-theme="dark"] .ag-model-icon{background:#1a2744;border-color:#2f4f93}
html[data-br-theme="dark"] .ag-model-icon svg[fill="#101828"],
html[data-br-theme="dark"] .ag-model-icon path[fill="#101828"]{fill:#f5f5f5}
html[data-br-theme="dark"] .ag-model-label,
html[data-br-theme="dark"] .ag-model-desc,
html[data-br-theme="dark"] .ag-history-head h2,
html[data-br-theme="dark"] .ag-gallery-head strong,
html[data-br-theme="dark"] .ag-prompt-dialog-head strong,
html[data-br-theme="dark"] .ag-preview-prompt-head strong,
html[data-br-theme="dark"] .ag-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .ag-model-badge{background:#3a1d24;border-color:#9f1239;color:#fda4af;-webkit-text-fill-color:#fda4af}
html[data-br-theme="dark"] .ag-model-free{color:#fff;-webkit-text-fill-color:#fff}
html[data-br-theme="dark"] .ag-model-price{background:#3a2a10;border-color:#e8c36a;color:#f0c14b;-webkit-text-fill-color:#f0c14b}
html[data-br-theme="dark"] .ag-model-score{color:#f0c14b}
html[data-br-theme="dark"] .ag-model-stars-bg svg{fill:#3a3a3a}
html[data-br-theme="dark"] .ag-setting-label,
html[data-br-theme="dark"] .ag-preview-meta,
html[data-br-theme="dark"] .ag-loading,
html[data-br-theme="dark"] .ag-intro :is(p,li){color:#a3a3a3}
html[data-br-theme="dark"] .ag-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
html[data-br-theme="dark"] .ag-history-notice{background:#3a2a10;color:#f0c14b}
html[data-br-theme="dark"] .ag-wrap :is(.ag-view-all,.ag-select-toggle,.ag-select-all){background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .ag-wrap :is(.ag-view-all,.ag-select-toggle,.ag-select-all):hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ag-wrap .ag-delete-selected,
html[data-br-theme="dark"] .ag-overlay-btn.is-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .ag-overlay-btn.is-download,
html[data-br-theme="dark"] .ag-overlay-btn.is-download:hover,
html[data-br-theme="dark"] .ag-preview-download,
html[data-br-theme="dark"] .ag-preview-download:hover,
html[data-br-theme="dark"] .ag-wrap .ag-preview-use,
html[data-br-theme="dark"] .ag-wrap .ag-preview-use:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ag-history-check{background:#2a2a2a;border-color:#3a3a3a}
html[data-br-theme="dark"] .ag-empty svg{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3;box-shadow:none}
html[data-br-theme="dark"] .ag-preview-media{background:#141414;border-color:#2e2e2e}
html[data-br-theme="dark"] .ag-preview-prompt-box.is-truncated .ag-preview-prompt::after{background:linear-gradient(180deg,rgba(20,20,20,0),#141414 72%)}
html[data-br-theme="dark"] .ag-wrap :is(.ag-preview-prompt-copy,.ag-preview-prompt-more,.ag-preview-prompt-copy.is-copied){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .ag-intro-eyebrow{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .ag-intro :is(h2,h3)::after{background:#f5f5f5}
html[data-br-theme="dark"] .ag-intro-grid>div,
html[data-br-theme="dark"] .ag-intro-steps li{background:#212121;box-shadow:none}
html[data-br-theme="dark"] .ag-wrap .ag-prompt-expand,
html[data-br-theme="dark"] .ag-wrap .ag-prompt-expand:hover{background:transparent!important;color:#f5f5f5!important}
html[data-br-theme="dark"] .ag-wrap .ag-prompt-expand svg,
html[data-br-theme="dark"] .ag-wrap .ag-prompt-expand:hover svg,
html[data-br-theme="dark"] .ag-wrap .ag-prompt-expand svg :is(line,polyline,path){stroke:#f5f5f5!important}
html[data-br-theme="dark"] .ap-quality-chip.is-basic,
html[data-br-theme="dark"] .ap-quality-chip.is-basic:hover{background:#2a2a2a;border-color:#3a3a3a;color:#d4d4d4;box-shadow:none}
html[data-br-theme="dark"] .ap-quality-chip.is-basic.is-active{background:#3a3a3a;border-color:#525252;color:#fff}
html[data-br-theme="dark"] .ap-quality-chip.is-standard,
html[data-br-theme="dark"] .ap-quality-chip.is-standard:hover{background:#1a2744;border-color:#2f4f93;color:#8eb0ff;box-shadow:none}
html[data-br-theme="dark"] .ap-quality-chip.is-standard.is-active,
html[data-br-theme="dark"] .ap-quality-chip.is-standard.is-active:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ap-quality-chip.is-premium,
html[data-br-theme="dark"] .ap-quality-chip.is-premium:hover{background:#3a2a10;border-color:#e8c36a;color:#f0c14b;box-shadow:none}
html[data-br-theme="dark"] .ap-quality-chip.is-premium.is-active,
html[data-br-theme="dark"] .ap-quality-chip.is-premium.is-active:hover{background:linear-gradient(135deg,#f6b21b,#e08a00);border-color:#d97706;color:#fff}
html[data-br-theme="dark"] .ap-wrap .ap-scene-expand svg,
html[data-br-theme="dark"] .ap-wrap .ap-scene-expand:hover svg,
html[data-br-theme="dark"] .ap-wrap .ap-scene-expand svg :is(line,polyline,path){stroke:#f5f5f5!important}
html[data-br-theme="dark"] .ap-wrap .ap-btn-settings[aria-expanded="true"]{background:#1a2744;border-color:#0055ff;color:#8eb0ff}
html[data-br-theme="dark"] .ap-setting-label,
html[data-br-theme="dark"] .ap-loading{color:#d4d4d4}
html[data-br-theme="dark"] .ap-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
html[data-br-theme="dark"] .ap-history-head h2,
html[data-br-theme="dark"] .ap-gallery-head strong,
html[data-br-theme="dark"] .ap-confirm-title,
html[data-br-theme="dark"] .ap-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .ap-intro :is(h2,h3)::after{background:#f5f5f5}
html[data-br-theme="dark"] .ap-history-notice{background:#3a2a10;color:#f0c14b}
html[data-br-theme="dark"] .ap-wrap .ap-view-all{background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .ap-wrap .ap-view-all:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ap-history-download,
html[data-br-theme="dark"] .ap-history-download:hover,
html[data-br-theme="dark"] .ap-gallery-download{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .ap-history-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .ap-wrap .ap-btn-danger,
html[data-br-theme="dark"] .ap-wrap .ap-btn-danger:hover{background:#d92d20;border-color:#d92d20;color:#fff}
html[data-br-theme="dark"] .ap-empty-preview,
html[data-br-theme="dark"] .ap-compare-card,
html[data-br-theme="dark"] .ap-intro-split-media{background:#141414;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .ap-intro-step-num{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .ap-wrap .ap-settings-close svg,
html[data-br-theme="dark"] .ap-wrap .ap-preview-close svg{stroke:#f5f5f5!important}
html[data-br-theme="dark"] .vg-page-badge svg{color:#f5f5f5}
html[data-br-theme="dark"] .vg-quota-balance .vg-quota-text{color:#f0c14b;-webkit-text-fill-color:#f0c14b}
html[data-br-theme="dark"] .vg-quota-hint{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3}
html[data-br-theme="dark"] .vg-quota-note.is-locked .vg-quota-hint{background:#3a2410;border-color:#9a3412;color:#fdba74}
html[data-br-theme="dark"] .vg-add-box,
html[data-br-theme="dark"] .vg-add-tile:hover .vg-add-box{background:#1a2744;border-color:#2f4f93;color:#8eb0ff;box-shadow:none}
html[data-br-theme="dark"] .vg-toolbar{border-top-color:#2e2e2e}
html[data-br-theme="dark"] .vg-wrap .vg-prompt-expand,
html[data-br-theme="dark"] .vg-wrap .vg-prompt-expand:hover{background:transparent!important;color:#f5f5f5!important}
html[data-br-theme="dark"] .vg-wrap .vg-prompt-expand svg,
html[data-br-theme="dark"] .vg-wrap .vg-prompt-expand:hover svg,
html[data-br-theme="dark"] .vg-wrap .vg-prompt-expand svg :is(line,polyline,path){stroke:#f5f5f5!important}
html[data-br-theme="dark"] .vg-model-button,
html[data-br-theme="dark"] .vg-model-button:hover,
html[data-br-theme="dark"] .vg-model-button[aria-expanded="true"],
html[data-br-theme="dark"] .vg-btn-settings,
html[data-br-theme="dark"] .vg-btn-settings:hover{background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .vg-model-button[aria-expanded="true"]{border-color:#0055ff}
html[data-br-theme="dark"] .vg-model-item,
html[data-br-theme="dark"] .vg-model-item:hover,
html[data-br-theme="dark"] .vg-model-item.is-active{background:transparent;color:#f5f5f5}
html[data-br-theme="dark"] .vg-model-item:hover,
html[data-br-theme="dark"] .vg-model-item.is-active{background:#2a2a2a}
html[data-br-theme="dark"] .vg-model-item.is-active{box-shadow:inset 0 0 0 1px #0055ff}
html[data-br-theme="dark"] .vg-model-label,
html[data-br-theme="dark"] .vg-model-desc,
html[data-br-theme="dark"] .vg-history-head h2,
html[data-br-theme="dark"] .vg-gallery-head strong,
html[data-br-theme="dark"] .vg-prompt-dialog-head strong,
html[data-br-theme="dark"] .vg-preview-prompt-head strong,
html[data-br-theme="dark"] .vg-intro :is(h2,h3){color:#f5f5f5;-webkit-text-fill-color:#f5f5f5}
html[data-br-theme="dark"] .vg-model-badge{background:#3a1d24;border-color:#9f1239;color:#fda4af;-webkit-text-fill-color:#fda4af}
html[data-br-theme="dark"] .vg-model-free{color:#fff;-webkit-text-fill-color:#fff}
html[data-br-theme="dark"] .vg-model-price{background:#3a2a10;border-color:#e8c36a;color:#f0c14b;-webkit-text-fill-color:#f0c14b}
html[data-br-theme="dark"] .vg-model-score{color:#f0c14b}
html[data-br-theme="dark"] .vg-model-stars-bg svg{fill:#3a3a3a}
html[data-br-theme="dark"] .vg-setting-label,
html[data-br-theme="dark"] .vg-preview-meta,
html[data-br-theme="dark"] .vg-loading,
html[data-br-theme="dark"] .vg-view-prompt-body,
html[data-br-theme="dark"] .vg-intro :is(p,li),
html[data-br-theme="dark"] :is(.vg-intro-lead,.vg-explore-demo-label){color:#a3a3a3}
html[data-br-theme="dark"] .vg-wrap button.vg-slider-tick{color:#a3a3a3}
html[data-br-theme="dark"] .vg-range::-webkit-slider-runnable-track{background:linear-gradient(to right,#0055ff 0 var(--pct,0%),#3a3a3a var(--pct,0%) 100%)}
html[data-br-theme="dark"] .vg-range::-moz-range-track{background:#3a3a3a}
html[data-br-theme="dark"] .vg-range::-webkit-slider-thumb,
html[data-br-theme="dark"] .vg-range::-moz-range-thumb{background:#f5f5f5}
html[data-br-theme="dark"] .vg-wrap button.vg-chip.is-active,
html[data-br-theme="dark"] .vg-wrap button.vg-chip.is-active:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .vg-spinner{border-color:#2e2e2e;border-top-color:#0055ff}
html[data-br-theme="dark"] .vg-history-notice{background:#3a2a10;color:#f0c14b}
html[data-br-theme="dark"] .vg-wrap :is(.vg-view-all,.vg-select-toggle,.vg-select-all){background:#1a2744;border-color:#2f4f93;color:#8eb0ff}
html[data-br-theme="dark"] .vg-wrap :is(.vg-view-all,.vg-select-toggle,.vg-select-all):hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .vg-wrap .vg-delete-selected,
html[data-br-theme="dark"] .vg-overlay-btn.is-delete{background:#3a1d1a;border-color:#7a271a;color:#fda29b}
html[data-br-theme="dark"] .vg-overlay-btn.is-download,
html[data-br-theme="dark"] .vg-overlay-btn.is-download:hover,
html[data-br-theme="dark"] .vg-preview-download,
html[data-br-theme="dark"] .vg-preview-download:hover,
html[data-br-theme="dark"] .vg-wrap .vg-preview-use,
html[data-br-theme="dark"] .vg-wrap .vg-preview-use:hover{background:#0055ff;border-color:#0055ff;color:#fff}
html[data-br-theme="dark"] .vg-history-check{background:#2a2a2a;border-color:#3a3a3a}
html[data-br-theme="dark"] .vg-empty svg{background:#1c1c1c;border-color:#2e2e2e;color:#a3a3a3;box-shadow:none}
html[data-br-theme="dark"] .vg-preview-media{background:#141414;border-color:#2e2e2e}
html[data-br-theme="dark"] .vg-preview-prompt-box.is-truncated .vg-preview-prompt::after{background:linear-gradient(180deg,rgba(20,20,20,0),#141414 72%)}
html[data-br-theme="dark"] .vg-wrap :is(.vg-preview-prompt-copy,.vg-preview-prompt-more,.vg-preview-prompt-copy.is-copied){background:#2a2a2a;border-color:#3a3a3a;color:#f5f5f5;box-shadow:none}
html[data-br-theme="dark"] .vg-intro-eyebrow{background:#1a2744;color:#8eb0ff}
html[data-br-theme="dark"] .vg-intro :is(h2,h3)::after{background:#f5f5f5}
html[data-br-theme="dark"] .vg-intro-grid>div,
html[data-br-theme="dark"] .vg-intro-steps li,
html[data-br-theme="dark"] .vg-explore-demo{background:#212121!important;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .vg-history{background:#212121;border-color:#2e2e2e;box-shadow:none}
html[data-br-theme="dark"] .vg-chip-price{color:#a3a3a3}
html[data-br-theme="dark"] .vg-wrap button.vg-chip.is-active .vg-chip-price{color:#fff}
html[data-br-theme="dark"] .vg-wrap button.vg-slider-tick.is-active{color:#8eb0ff}
html[data-br-theme="dark"] .vg-wrap .vg-preview-close svg,
html[data-br-theme="dark"] .vg-wrap .vg-settings-close svg,
html[data-br-theme="dark"] .vg-wrap .vg-preview-close svg :is(path,line),
html[data-br-theme="dark"] .vg-wrap .vg-settings-close svg :is(path,line){stroke:#f5f5f5!important}

/* Shortcode page backgrounds, including the space around the tool. */
html[data-br-theme="dark"] :is(body, #wrapper, #main, #content):has(:is(
  .br-remover-page, .br-upscaler-page, .br-eraser-page, .ix-page, .ae-page, .ag-page,
  .agif-page, .ap-page, .at-page, .vg-page, .ahs-page
)) { background-color: #171717; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-upload-sample, .br-remover-demo, .br-remover-quality-media, .br-upscaler-quality-media,
  .br-remover-hero-preview, .br-upscaler-hero-preview, .br-example-media, .br-results-header,
  .br-processing-content, .br-preview-close, .br-process-more-btn
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-card-icon, .br-remover-demo-label, .br-format-webp
) { background: #223753; color: #c6deff; border-color: #536c8e; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-format-png
) { background: #183b2b; color: #9ee4ba; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-format-jpg
) { background: #432e20; color: #ffcb9d; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-upload-samples-label, .br-faq-answer
) { color: #c3c8ce; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-faq-question
) { color: #f1f3f5; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(.br-remover-demo-copy, .br-upscaler-quality-copy, .br-results-header, .br-upscaler-when-grid article, .br-feature-card, .br-step-card, .br-er-section) :is(
  h2, h3
) { color: #f1f3f5; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(.br-remover-demo-copy, .br-upscaler-quality-copy, .br-results-header, .br-upscaler-when-grid article, .br-er-section) :is(
  p, li
) { color: #c3c8ce; }

html[data-br-theme="dark"] .br-eraser-page :is(
  .br-eraser-workspace, .br-eraser-controls, .br-eraser-canvas-panel, .br-eraser-toast,
  .br-eraser-credits-dialog, .br-eraser-change-image, .br-eraser-reset,
  .br-eraser-credits-dismiss, .br-eraser-credits-x, .br-er-section, .br-er-card,
  .br-er-compare-card
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .br-eraser-page .br-eraser-tool-row :is(
  button
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .br-eraser-page :is(
  .br-eraser-free-remaining-text, .br-eraser-help
) { color: #c3c8ce; }

html[data-br-theme="dark"] .br-eraser-page :is(
  .br-er-icon, .br-eraser-credits-cost, .br-eraser-processing-label
) { background: #223753; color: #c6deff; border-color: #536c8e; }

html[data-br-theme="dark"] .br-eraser-page :is(
  .br-eraser-credits-balance
) { background: #40331b; color: #f5d796; }

html[data-br-theme="dark"] .br-eraser-page .br-er-steps :is(
  li
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .br-upscaler-page .br-upscaler-when-grid :is(
  article
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page) :is(
  .br-preview-close-icon
) { background: transparent; color: inherit; }

html[data-br-theme="dark"] :is(
  .at-history-notice, .ae-history-notice, .agif-history-notice, .agif-quota-hint
) { background: #3b2d1d; color: #f5ce97; border-color: #78582f; }

html[data-br-theme="dark"] .at-wrap :is(
  .at-compare-card, .at-empty-preview, .at-intro-split-media, .at-intro-step-num
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .ag-wrap :is(
  .ag-history
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .vg-wrap :is(
  .vg-model-icon, .vg-demo-frame
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .vg-wrap :is(
  .vg-slider-current
) { color: #9bbdff; }

html[data-br-theme="dark"] .agif-wrap :is(
  .agif-model-badge
) { background: #432538; color: #ffbad6; }

html[data-br-theme="dark"] :is(
  .ae-quota-count, .ag-quota-count, .agif-quota-count, .ap-quota-count, .at-quota-count,
  .ix-quota-count, .ahs-quota-count
) { background: #24573e; color: #e7fff0; }

html[data-br-theme="dark"] :is(
  .vg-credits-pill, .agif-credits-pill
) { background: #244990; color: #fff; }

html[data-br-theme="dark"] .br-nav-credits :is(
  .br-nav-credits-toggle, .br-nav-credits-dropdown
) { background: #242629; color: #e9ebee; border-color: #45494e; }

html[data-br-theme="dark"] .br-nav-credits :is(
  .br-nav-credits-count, .br-nav-credits-total, .br-nav-credits-value,
  .br-nav-credits-label
) { color: #f1f3f5; }

html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page, .br-eraser-page)
  :is(.br-remover-hero-copy, .br-upscaler-hero-copy) .br-studio-kicker {
  background: #223753; color: #c6deff; border-color: #536c8e;
}
html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page) :is(
  .br-result-card, .br-preview-card, .br-preview-name, .br-result-actions
) { background-color: #242629; color: #e9ebee; border-color: #45494e; }
html[data-br-theme="dark"] :is(.br-remover-page, .br-upscaler-page) :is(
  .br-example-transparent, .br-remover-hero-preview-after, .br-preview-img-wrapper, .br-result-img-wrapper
) {
  background: repeating-conic-gradient(#34383e 0 25%, #25282c 0 50%) 0 0 / 16px 16px;
}
html[data-br-theme="dark"] .br-eraser-page {
  --br-teal: #9cbeff; --br-teal-soft: #223753; --br-teal-border: #456185;
  --br-sky: #a5d8ff; --br-sky-soft: #1e3549; --br-sky-border: #3c627d;
  --br-violet: #d2bcff; --br-violet-soft: #342a48; --br-violet-border: #62507b;
  --br-amber: #ffd398; --br-amber-soft: #422e20; --br-amber-border: #70533a;
  --br-rose: #ffbace; --br-rose-soft: #412631; --br-rose-border: #694153;
}
html[data-br-theme="dark"] .br-eraser-page :is(
  .br-eraser-tool-row label, .br-eraser-credits-dialog p, .br-eraser-toast-close, .br-eraser-help
) { color: #d0d5dc; }
html[data-br-theme="dark"] .br-eraser-page .br-eraser-credits-cost strong { color: #bad6ff; }
html[data-br-theme="dark"] .br-eraser-page .br-er-steps li .br-er-step-num {
  background: #304765; color: #e1edff;
}
html[data-br-theme="dark"] .br-eraser-page .br-er-marketing .br-er-card .br-er-icon {
  background: #24364e; color: #b8d4ff; border-color: #445c7c;
}
html[data-br-theme="dark"] .br-eraser-page .br-eraser-toast-text { color: #ffb5ac; }
html[data-br-theme="dark"] .br-eraser-page textarea { background: #191b1e; color: #f2f4f7; }
html[data-br-theme="dark"] :is(.ae-wrap, .at-wrap, .agif-wrap, .vg-wrap) :is(
  .ae-setting-label, .ae-empty p, .ae-loading p, .ae-intro .ae-intro-lead, .at-loading p,
  .at-history-head h2, .agif-loading p, .vg-explore-prompt
) { color: #c4cad2; }
html[data-br-theme="dark"] .agif-wrap .agif-quota-note.is-locked .agif-quota-hint {
  background: #3b2d1d; color: #f5ce97; border-color: #78582f;
}
html[data-br-theme="dark"] .vg-demo-frame video { background: #17191c; }
html[data-br-theme="dark"] .vg-wrap .vg-quota-count { background: #483719; color: #ffe2a4; }
html[data-br-theme="dark"] .ae-wrap #ae-gallery-count { background: #223753; color: #c6deff; }
html[data-br-theme="dark"] :is(.ag-history-head, .vg-history-head, .ae-history-head,
  .at-history-head, .ap-history-head, .ix-history-head, .agif-history-head) h2 span {
  background: #284a82; color: #fff;
}

/* Crop Image shortcode and its bundled content templates. */
html[data-br-theme="dark"] :is(body, #wrapper, #main, #content):has(.crop-image-container) {
  background-color: #171717;
}
html[data-br-theme="dark"] .crop-image-container {
  color-scheme: dark;
  --light-gray: #272727;
  --border-color: #494949;
  --text-color: #f5f5f5;
  --text-light: #c2c2c2;
  color: var(--text-color);
  background: #171717;
}
html[data-br-theme="dark"] .crop-image-container :is(.crop-image-wrapper, .imgcrop-feature, .imgcrop-example-details, .imgcrop-faq-item, .imgcrop-testimonial, .imgcrop-case-study, .imgcrop-tip, .cropngpro-feature-card, .cropngpro-advantages) {
  background: #212121;
  border-color: var(--border-color);
}
html[data-br-theme="dark"] .crop-image-container :is(.crop-image-ratio-select, .crop-image-ratio-select option, .crop-image-rotate button, .crop-image-back-btn, .imgcrop-faq-question, .imgcrop-case-study-stats, .imgcrop-why-us) {
  background-color: #303030;
  border-color: var(--border-color);
  color: var(--text-color);
}
html[data-br-theme="dark"] .crop-image-container :is(.crop-image-upload-placeholder, .crop-image-upload-container) {
  background-color: #203453;
  outline-color: #89a8d2;
}
html[data-br-theme="dark"] .crop-image-container :is(.crop-image-upload-container:hover, .crop-image-upload-placeholder.dragging .crop-image-upload-container) {
  background-color: #284771 !important;
}
html[data-br-theme="dark"] .crop-image-container .crop-image-loading {
  background-color: rgba(23, 23, 23, .94);
}
html[data-br-theme="dark"] .crop-image-container :is(.crop-image-headline, .imgcrop-container, .cropngpro-container),
html[data-br-theme="dark"] .crop-image-container :is(.imgcrop-container, .cropngpro-container) :is(h2, h3, h4, .imgcrop-testimonial-name, .imgcrop-faq-question, .cropngpro-faq-question) {
  color: var(--text-color);
}
html[data-br-theme="dark"] .crop-image-container .crop-image-description,
html[data-br-theme="dark"] .crop-image-container :is(.imgcrop-container, .cropngpro-container) :is(p, .imgcrop-faq-answer, .imgcrop-testimonial-title, .imgcrop-case-study-step-text, .imgcrop-case-study-stat-label, .cropngpro-faq-answer) {
  color: var(--text-light);
}

/* Frontend tools that share the site theme toggle. */
html[data-br-theme="dark"] :is(body, #wrapper, #main, #content):has(:is(.compress-jpg-container, .ic-container, .itwc-container, .vision-upload-container, .vision-results-container, .ite-container, .ri-container)) {
  background-color: #171717;
}

html[data-br-theme="dark"] :is(.compress-jpg-container, .ic-container, .itwc-container, .vision-upload-container, .vision-results-container, .ite-container, .ri-container, .ri-page-container, .imgcnv-wrapper, .imgcomp-container, .jpc-container, .pngc_container, .gifcomp-container) {
  color-scheme: dark;
  background-color: #171717;
  color: #e6e6e6;
}

html[data-br-theme="dark"] .compress-jpg-container :is(
  #preview-panel, #process-panel, #download-panel
) {
  background-color: #242424 !important;
}

html[data-br-theme="dark"] :is(
  .compress-jpg-modal-content, .compress-jpg-quality-section, .compress-jpg-quality-control,
  .compress-jpg-summary, .compress-jpg-preview-item, .compress-jpg-result-item,
  .compress-jpg-result-img-container, .compress-jpg-processing-status, .compress-jpg-app-header,
  .compress-jpg-button-secondary, .imgcomp-feature, .imgcomp-step, .imgcomp-format,
  .imgcomp-testimonial, .gifcomp-feature, .gifcomp-benefit, .gifcomp-faq-item, .gifcomp-article,
  .gifcomp-comparison-item, .jpc-feature-card, .jpc-step, .jpc-faq-item, .jpc-showcase-caption,
  .jpc-testimonial, .pngc_feature, .pngc_section, .pngc_accordion_header, .pngc_accordion_content,
  .pngc_testimonial
) {
  background: #242424;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] :is(
  .ic-controls-section, .ic-preview-section, .ic-preview-container, .ic-converter-container,
  .ic-download-container, .ic-download-actions-container, .ic-result-section, .ic-grid-item,
  .ic-converted-item, .ic-image-info, .ic-conversion-stats, .ic-modal-content, .ic-modal-footer,
  .ic-image-container, .ic-select, .ic-secondary-btn, .imgcnv-feature-card, .imgcnv-format-card,
  .imgcnv-faq-item, .imgcnv-tool-card, .imgcnv-tip-item
) {
  background: #242424;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] :is(
  .itwc-upload-form-box, .itwc-option-card, .itwc-preview-item, .itwc-processing-box,
  .itwc-result-box, .itwc-gallery-header, .itwc-gallery-item, .itwc-gallery-content,
  .itwc-gallery-modal, .itwc-modal-content, .itwc-modal-header, .itwc-modal-footer,
  .itwc-error-box
) {
  background: #242424;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] :is(
  .itwc-option-card-selected
) {
  background: #243650;
  border-color: #85acff;
}

html[data-br-theme="dark"] :is(.vision-upload-container, .vision-results-container, #visionResults, .vision-preview-modal, .vision-gallery-container) :is(
  .gallery-header, .gallery-item, .selected-files, .file-preview-item, .gallery-grid,
  .results-header, .result-item, .result-header, .result-body, .result-text-container,
  .result-text, .modal-container, .modal-text-section, .modal-text-content, .modal-header,
  .selection-controls, .results-summary
) {
  background: #242424 !important;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] :is(
  .vision-gallery-container, .vision-limit-content, .vision-progress-container, .ite-screen,
  .ite-upload-box, .ite-feature, .ite-browser-container, .ite-browser-header, .ite-browser-footer,
  .ite-file-list-container, .ite-file-item, .ite-file-select, .ite-processing-container,
  .ite-preview-header, .ite-preview-content, .ite-preview-panel, .ite-panel-header,
  .ite-image-container, .ite-table-container, .ite-complete-container, .ite-excel-file,
  .ite-modal-header, .ite-limit-modal-content, .ite-limit-modal-body, .ite-table-action-btn
) {
  background: #242424;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] .ite-results-table :is(
  th, td, input
) {
  background-color: #282828;
  color: #ededed;
  border-color: #505050;
}

html[data-br-theme="dark"] :is(
  .ri-stage, .ri-editor-container, .ri-editor-header, .ri-editor-preview-side,
  .ri-editor-controls-side, .ri-sidebar, .ri-preview-wrapper, .ri-thumbnails-wrapper,
  .ri-control-input, .ri-grid-item, .ri-top-controls, .ri-batch-controls, .ri-mode-option,
  .ri-download-container, .ri-download-header, .ri-download-grid-item, .ri-download-summary,
  .ri-download-item, .ri-modal-content, .ri-limit-notice-modal, .ri-limit-notice-footer,
  .ri-feature-card, .ri-step-card, .ri-format-item, .ri-use-case-card, .ri-testimonial-card,
  .ri-faq-item, .ri-page-feature-card, .ri-page-step, .ri-page-tip-card, .ri-page-testimonial,
  .ri-page-faq-item, .ri-page-use-case, .ri-page-section, .ri-how-it-works,
  .ri-formats-section
) {
  background: #242424;
  border-color: #444;
  color: #ededed;
}

html[data-br-theme="dark"] :is(
  .compress-jpg-upload-area, .ic-upload-container, .itwc-upload-area, .ri-upload-container,
  .ite-upload-area
) {
  background: #203453;
  color: #f5f7ff;
  border-color: #6686ad;
}

html[data-br-theme="dark"] .vision-upload-container :is(
  .upload-area
) {
  background: #203453;
  color: #f5f7ff;
  border-color: #6686ad;
}

html[data-br-theme="dark"] :is(
  .compress-jpg-heading, .compress-jpg-title, .compress-jpg-preview-name,
  .compress-jpg-result-name, .compress-jpg-processing-title, .ic-page-title, .ic-stat-value,
  .ic-converted-name, .itwc-status-title, .itwc-gallery-title, .itwc-gallery-filename, .ite-title,
  .ite-feature-title, .ite-file-name, .ite-processing-title, .ite-preview-title, .ite-panel-title,
  .ite-complete-title, .ri-headline, .ri-editor-title, .ri-download-title, .ri-section-title,
  .ri-control-label, .ri-download-name, .ri-feature-title, .ri-page-section-title,
  .ri-page-heading
) {
  color: #f4f4f5;
}

html[data-br-theme="dark"] :is(
  .compress-jpg-description, .compress-jpg-subtitle, .compress-jpg-quality-tip,
  .compress-jpg-step-label, .compress-jpg-summary-label, .compress-jpg-preview-size,
  .compress-jpg-result-size, .ic-page-description, .ic-info-label, .ic-stat-label,
  .ic-download-helper-text, .itwc-option-desc, .itwc-option-suit, .itwc-processing-mode,
  .itwc-estimated-time, .ite-description, .ite-feature-description, .ite-sub-description,
  .ite-file-meta, .ite-complete-description, .ite-processing-description, .ri-description,
  .ri-download-subtitle, .ri-info-label, .ri-download-meta, .ri-feature-description,
  .ri-page-section-description, .ri-page-subheading
) {
  color: #c4c8d0;
}

html[data-br-theme="dark"] :is(.vision-upload-container, .vision-results-container, .vision-preview-modal, .vision-gallery-container) :is(
  .file-name, .item-name, .gallery-name, .result-text, .modal-title, .vision-progress-text
) {
  color: #f4f4f5;
}

html[data-br-theme="dark"] :is(.itwc-option-card, .itwc-result-box, .ic-modal-content, .compress-jpg-container, .ri-page-container, .imgcomp-container, .gifcomp-container, .jpc-container, .pngc_container) :is(
  h2, h3, h4
) {
  color: #f4f4f5;
}

html[data-br-theme="dark"] .ri-container {
  --ri-gray-50: #202020;
  --ri-gray-100: #282828;
  --ri-gray-200: #383838;
  --ri-gray-300: #525252;
  --ri-gray-500: #a3a3a3;
  --ri-gray-600: #bdbdbd;
  --ri-gray-700: #d4d4d4;
  --ri-gray-800: #e5e5e5;
  --ri-gray-900: #f5f5f5;
}

html[data-br-theme="dark"] .imgcnv-wrapper {
  --imgcnv-text-color: #ededed;
  --imgcnv-text-light: #bdbdbd;
  --imgcnv-background: #212121;
  --imgcnv-background-light: #282828;
  --imgcnv-background-dark: #303030;
  --imgcnv-border-color: #484848;
}

html[data-br-theme="dark"] .imgcomp-container {
  --imgcomp-card: #27292e;
  --imgcomp-text-dark: #ededed;
  --imgcomp-text-medium: #d4d4d4;
  --imgcomp-text-light: #bdbdbd;
  --imgcomp-bg-light: #212121;
  --imgcomp-bg-medium: #282828;
  --imgcomp-border-light: #484848;
  --imgcomp-primary-light: #203453;
  --imgcomp-secondary-light: #14372c;
}

html[data-br-theme="dark"] .gifcomp-container {
  --gifcomp-text-dark: #ededed;
  --gifcomp-text-medium: #d4d4d4;
  --gifcomp-text-light: #bdbdbd;
  --gifcomp-bg-light: #212121;
  --gifcomp-bg-medium: #282828;
  --gifcomp-border-light: #484848;
  --gifcomp-primary-light: #203453;
  --gifcomp-secondary-light: #14372c;
}

html[data-br-theme="dark"] :is(.ic-upload-container.ic-drag-over, .ri-upload-container.ri-drag-over,
  .ite-upload-area.drag-over, .itwc-upload-area-hover) {
  background: #2e4a70;
  border-color: #a3c3ff;
}

html[data-br-theme="dark"] :is(.ite-upload-text, .itwc-drop-text, .compress-jpg-upload-text,
  .ic-drop-text, .ri-drop-text, .vision-upload-container .upload-desc) {
  color: #f5f7ff;
}

html[data-br-theme="dark"] :is(.ite-upload-subtext, .compress-jpg-upload-formats,
  .ri-page-feature-description, .ri-page-step-description, .ri-step-description,
  .ri-use-case-description, .ri-page-faq-answer, .ri-page-tip-description) {
  color: #c4c8d0;
}

html[data-br-theme="dark"] :is(.ite-preview-container, .ite-results-table, .ite-preview-modal,
  .ic-grid-image-info, .ic-grid-image-container, .ite-image-item, .ite-nav-button,
  .ri-icon-button, .ri-secondary-button, .ri-btn-secondary) {
  background-color: #282828;
  border-color: #484848;
  color: #ededed;
}

html[data-br-theme="dark"] .ri-mode-option:has(input:checked) {
  background: #243650;
  color: #e6eeff;
  border-color: #85acff;
}

/* Standalone introductions and later steps of the image tools. */
html[data-br-theme="dark"] :is(body, #wrapper, #main, #content):has(:is(
  .imgcomp-container, .gifcomp-container, .jpc-container, .pngc_container, .imgcnv-section, .ri-page-container
)) { background-color: #171717; }

html[data-br-theme="dark"] .imgcnv-section {
  --imgcnv-text-color: #ededed;
  --imgcnv-text-light: #c4c8d0;
  --imgcnv-background: #212121;
  --imgcnv-background-light: #252525;
  --imgcnv-background-dark: #303030;
  --imgcnv-primary-light: #243653;
  --imgcnv-border-color: #4b5058;
}

html[data-br-theme="dark"] :is(
  .gifcomp-step, .pngc_comparison_caption, .pngc_stat, .jpc-how-it-works, .jpc-faq-question,
  .ri-testimonials, .ri-benefits-summary, .ri-page-additional-info,
  .imgcnv-section
) { background: #1d1f22; color: #e9ebee; }

html[data-br-theme="dark"] :is(
  .ri-page-badge, .ri-page-tip-number, .imgcnv-format-icon, .gifcomp-step-number
) { background: #263953; color: #c5dbff; border-color: #547196; }

html[data-br-theme="dark"] :is(.jpc-container, .pngc_container, .ri-page-container, .imgcnv-section, .gifcomp-container) :is(
  h2, h3, h4
) { color: #eef0f3; }

html[data-br-theme="dark"] :is(.jpc-container, .pngc_container, .ri-page-container, .imgcnv-section, .gifcomp-container) :is(
  p, li, strong, .ri-testimonial-name, .ri-testimonial-role, .jpc-testimonial-text
) { color: #c6cad1; }

html[data-br-theme="dark"] :is(
  .ri-faq-question, .ri-format-name, .gifcomp-step-title, .pngc_author_name
) { color: #eef0f3; }

html[data-br-theme="dark"] :is(
  .imgcnv-cta, .ri-page-cta, .jpc-cta, .pngc_cta, .gifcomp-cta
) { background: #1e3453; color: #eef0f3; }

html[data-br-theme="dark"] :is(.ri-page-cta, .jpc-cta, .pngc_cta, .imgcnv-cta) :is(
  a
) { background: #294d7d; color: #f5f8ff; }

html[data-br-theme="dark"] :is(
  .ri-page-button-secondary, .ri-feature-icon
) { background: #263953; color: #c5dbff; border-color: #547196; }

html[data-br-theme="dark"] :is(
  .compress-jpg-ad-container, .compress-jpg-no-images, .compress-jpg-quality-tip,
  .ic-download-actions, .itwc-ocr-limit-reminder, .ri-images-grid, .ri-resize-mode-selector,
  .ri-download-grid, .ri-limit-subscription-info, .ite-image-grid-container,
  .ite-upgrade-message, .ite-button-secondary, .vision-limit-plan
) { background: #242629; color: #e9ebee; border-color: #4a5059; }

html[data-br-theme="dark"] :is(
  .ic-loader, .ri-loading, .ri-loading-overlay
) { background: rgba(23, 25, 29, .95); color: #e9ebee; }

html[data-br-theme="dark"] :is(
  .itwc-progress-bar, .ite-progress-bar, .vision-progress-status
) { background: #434a55; }

html[data-br-theme="dark"] :is(
  .compress-jpg-quality-value, .compress-jpg-processing-percentage,
  .compress-jpg-summary-value, .quality-recommendation, .ite-add-images-button,
  .ite-image-counter, .ite-usage-counter, .ite-feature-icon
) { background-color: #273a52; color: #bdd7ff; }

html[data-br-theme="dark"] :is(
  .compress-jpg-quality-min, .compress-jpg-quality-max, .compress-jpg-processing-description,
  .ic-loader-text, .itwc-progress-info, .itwc-converting-animation,
  .ite-processing-current-image, .ite-processing-wait, .ri-loading-text, .ri-limit-message,
  .ite-limit-info
) { color: #c6cad1; }

html[data-br-theme="dark"] :is(
  .itwc-progress-percentage, .itwc-error-title, .ri-limit-title, .ite-limit-modal-title,
  .compress-jpg-modal-close, .ri-modal-close
) { color: #eef0f3; }

html[data-br-theme="dark"] :is(.compress-jpg-modal-content, .vision-limit-header, .ri-limit-notice-modal, .ite-excel-info, .itwc-result-box, .ri-limit-modal-content) :is(
  h3, p, strong
) { color: #eef0f3; }

html[data-br-theme="dark"] :is(
  .itwc-error-type, .itwc-error-reasons, .itwc-error-suggestions, .itwc-limit-message,
  .ite-limit-warning, .vision-daily-limit-warning
) { background: #392d1d; color: #f7d59c; border-color: #80653b; }

html[data-br-theme="dark"] :is(.itwc-error-box, .ite-limit-warning, .vision-daily-limit-warning) :is(
  p, li, strong, .ite-countdown, .limit-main-text, .limit-reset-text,
  .limit-countdown-time
) { color: #f7d59c; }

html[data-br-theme="dark"] :is(
  .itwc-error-message
) { color: #ffb3ab; }

html[data-br-theme="dark"] .vision-image-preview-modal :is(
  .modal-content, .preview-image-container
) { background: #242629; color: #e9ebee; border-color: #4a5059; }

html[data-br-theme="dark"] .vision-gallery-container :is(
  .image-counter, .action-btn
) { background: #263953; color: #c5dbff; border-color: #547196; }

html[data-br-theme="dark"] .vision-upload-container :is(
  .vision-progress-message, .vision-progress-text
) { background: #263953; color: #c5dbff; border-color: #547196; }

html[data-br-theme="dark"] .vision-upload-container :is(
  .upload-instructions
) { color: #e9ebee; }

html[data-br-theme="dark"] .vision-upload-container .upload-instructions :is(
  h3
) { color: #eef0f3; }

html[data-br-theme="dark"] :is(
  .ic-modal-close-btn, .ri-limit-close-btn
) { background: #242629; color: #e9ebee; border-color: #4a5059; }

html[data-br-theme="dark"] .imgcomp-container :is(p, li, strong) { color: #c6cad1; }
html[data-br-theme="dark"] .imgcomp-container .imgcomp-section-title { color: #eef0f3; }
html[data-br-theme="dark"] .imgcomp-stat-number { -webkit-text-fill-color: #bdd7ff; }
html[data-br-theme="dark"] .imgcomp-benefits { background: #202a36; }
html[data-br-theme="dark"] .imgcomp-benefits .imgcomp-benefit { background: #2a3038; }
html[data-br-theme="dark"] #ite-limit-modal .ite-limit-icon { background: #403320; color: #ffd889; }

html[data-br-theme="dark"] .imgcomp-container {
  --imgcomp-dark-bg-light: var(--imgcomp-bg-light);
  --imgcomp-dark-bg-medium: var(--imgcomp-bg-medium);
  --imgcomp-dark-text-dark: var(--imgcomp-text-dark);
  --imgcomp-dark-text-medium: var(--imgcomp-text-medium);
  --imgcomp-dark-border-light: var(--imgcomp-border-light);
}
html[data-br-theme="dark"] .imgcomp-container .imgcomp-stat-number {
  background: none !important;
  -webkit-text-fill-color: #bdd7ff !important;
}
html[data-br-theme="dark"] .imgcomp-container :is(.imgcomp-step-number, .faq-icon),
html[data-br-theme="dark"] .imgcnv-section .imgcnv-step-number {
  background: #314d72 !important;
  color: #fff;
}
html[data-br-theme="dark"] .ri-page-container :is(.ri-page-button-secondary, .ri-page-cta .ri-page-button) {
  color: #edf3ff !important;
}
html[data-br-theme="dark"] .ri-page-container .ri-faq-question {
  background: #282b2f;
}
html[data-br-theme="dark"] :is(.jpc-faq-answer, .quality-explanation, .ri-dimensions-lock,
  .ite-empty-text, .ite-empty-subtext, .ite-progress-label, .ite-limit-warning-close,
  .ri-control-label label, .ic-control-group label, .ic-original-image h3, .ic-converted-image h3,
  .itwc-modal-body p, .itwc-limit-upgrade span, .ite-container h3, .vision-limit-features li) {
  color: #d4d9df;
}
html[data-br-theme="dark"] :is(.ic-lightbox-close, .ic-lightbox-nav, .ri-thumbnail-btn, .ri-thumbnail-delete-btn) {
  background: rgba(30, 36, 45, .92);
  color: #fff;
}
html[data-br-theme="dark"] :is(.ri-notification, .itwc-gallery-filename, .itwc-gallery-img-container,
  .itwc-modal-footer .itwc-modal-cancel, .vision-results-container .file-preview-image,
  .vision-results-container .file-preview-info, .vision-results-container .vision-progress-message,
  #ite-limit-modal .ite-upgrade-message) {
  background: #2d3036;
  color: #e5eaf0;
}
html[data-br-theme="dark"] :is(.itwc-container, .ic-upload-container, .ri-upload-container)
  :is(.itwc-select-files-btn, .itwc-secondary-btn, .ic-choose-files-btn, .ri-choose-files-btn) {
  background: #324c70 !important;
  color: #fff !important;
  border-color: #728bb1;
}
html[data-br-theme="dark"] .compress-jpg-slider { background: linear-gradient(to right, #495362, #4174d9); }
html[data-br-theme="dark"] :is(.ite-container, #ite-limit-modal) :is(.ite-limit-info, .ite-limit-message, .ite-upgrade-message) {
  color: #d9dce0;
}
html[data-br-theme="dark"] .ite-limit-warning .ite-upgrade-link { color: #adcaff; }
html[data-br-theme="dark"] :is(.ri-limit-buttons .ri-limit-upgrade-btn, .ite-upgrade-button,
  .vision-daily-limit-warning .limit-upgrade-btn, .vision-daily-limit-warning .inline-upgrade-link) {
  background: #226344;
  color: #fff;
}
html[data-br-theme="dark"] :is(.vision-results-container, #visionResults, .vision-upload-container) .result-header h3 {
  color: #ecf0f5;
}
html[data-br-theme="dark"] :is(.vision-results-container, #visionResults, .vision-upload-container)
  :is(.result-button.copy-button, .result-button.download-button),
html[data-br-theme="dark"] .vision-gallery-container .action-btn {
  background: #2b405b !important;
  color: #d8e8ff !important;
}
html[data-br-theme="dark"] .vision-gallery-container :is(.action-btn, #visionConvertButton):disabled {
  background: #34373b !important;
  color: #abb1b9 !important;
}
html[data-br-theme="dark"] :is(.vision-daily-limit-warning, .vision-limit-modal) .limit-icon,
html[data-br-theme="dark"] :is(.vision-upload-container, .vision-results-container) .error-message {
  background: #442c29 !important;
  color: #ffbeb3 !important;
}
html[data-br-theme="dark"] .vision-daily-limit-warning .limit-countdown-label { color: #efdbb8; }
html[data-br-theme="dark"] .vision-limit-plan .plan-badge,
html[data-br-theme="dark"] .vision-limit-actions .vision-upgrade-button {
  background: #345a98;
  color: #fff;
}
html[data-br-theme="dark"] :is(.vision-results-container, .vision-upload-container, #visionResults) .download-all-button {
  background: #225e45 !important;
  color: #fff !important;
}
html[data-br-theme="dark"] .vision-progress-message .loader-track { background: #404651; }
html[data-br-theme="dark"] .vision-limit-content { --vision-close-background: #984039; }
html[data-br-theme="dark"] :is(.vision-limit-content .vision-limit-close, .vision-daily-limit-warning .limit-close-btn) {
  background: #984039 !important;
  color: #fff;
}
html[data-br-theme="dark"] :is(.vision-upload-container, .vision-results-container, #visionResults)
  :is(.file-preview-info .file-preview-name, .file-preview-size, .result-header h3) {
  color: #dce1e7 !important;
}
html[data-br-theme="dark"] .vision-animated-loader .loader-track { background: #404651; }
html[data-br-theme="dark"] .ri-limit-notice-body :is(#ri-limit-count, #ri-limit-count-2) { color: #a7c9ff; }
html[data-br-theme="dark"] :is(.ri-notification-close, .itwc-modal-header h3, #ite-limit-modal .ite-upgrade-message p) {
  color: #e3e8ef;
}
html[data-br-theme="dark"] #ite-limit-modal .ite-upgrade-button { background: #226344; color: #fff; }
html[data-br-theme="dark"] .itwc-container .itwc-re-upload-btn { background: #315a91; color: #fff; }
/* Flatsome header dropdowns and the mobile menu drawer. */
html[data-br-theme="dark"] #header .nav-dropdown,
html[data-br-theme="dark"] :is(#main-menu.mobile-sidebar, .mfp-content:has(#main-menu.mobile-sidebar)) {
  background-color: #212327;
  color: #edf0f5;
  border-color: #41454c;
}
html[data-br-theme="dark"] :is(#header .nav-dropdown, #main-menu.mobile-sidebar) {
  & :is(a, .toggle, .ub-img-name, .ub-ai-name, .ub-vid-name) { color: #edf0f5; }
  & :is(a:hover, a:focus-visible, .current-menu-item > a) { background-color: #303e52; }
  & :is(.ub-img-head, .ub-ai-head, .ub-vid-head, li, li > a) { border-color: #41454c; }
  & .ub-img-sep { background-color: #41454c; }
  & :is(.ub-img-title, .ub-img-sub, .ub-ai-title, .ub-vid-title) { color: #aecbff; opacity: 1; }
  & :is(.ub-img-ic, .ub-ai-ic, .ub-vid-ic) { background-color: #293b55; }
}
html[data-br-theme="dark"] #header .menu-item.has-dropdown::after { border-bottom-color: #212327; }
html[data-br-theme="dark"] #header .menu-item.has-dropdown::before { border-bottom-color: #41454c; }

/* TranslatePress sets its palette inline on the parent of both switcher surfaces. */
html[data-br-theme="dark"] :is(#header, #main-menu, .elementor-location-header) .trp-shortcode-switcher {
  --bg: #24272c;
  --bg-hover: #344357;
  --text: #edf0f5;
  --text-hover: #fff;
  --border-color: #515864;
  --border: var(--border-width, 1px) solid var(--border-color);
  color: var(--text);
}

/* Pricing is a single Elementor HTML widget shared by all three plan tabs. */
html[data-br-theme="dark"] :is(body, #wrapper, #main, #content):has(.ocr365-wrapper .ocr-plans-grid) {
  background-color: #171717;
}
html[data-br-theme="dark"] .ocr365-wrapper:has(.ocr-plans-grid) {
  --c-ink: #181726;
  --c-white: #242529;
  --c-surface: #2c2d34;
  --c-text: #f2f2f6;
  --c-muted: #b7bac7;
  --c-border: #474953;
  --c-primary: #b7acff;
  --c-primary-soft: #302c47;
  --c-green: #82dbbb;
  background-color: #171717;
  color: var(--c-text);
  color-scheme: dark;

  & :is(.ocr-ptab.is-active, .ocr-plan-btn.solid, .ocr-pop-badge, .ocr-best-tag,
    .is-best .ocr-pack-btn, .is-open .ocr-faq-tog) { background: #52429e; color: #fff; }
  & :is(.ocr-pop-badge, .ocr-best-tag, .ocr-cred-pill, .ocr-how-icon) { border-color: #696188; }
  & :is(.ocr-pack-lifetime, .ocr-save-pill, .ocr-ptab-badge, .fi.y) { background: #233e33; color: #a5e8cb; }
  & .ocr-ptab.is-active .ocr-ptab-badge { background: #423674; color: #f1edff; }
  & .fi.n { background: #333640; color: #bec4d0; }
  & .fi.l { background: #423420; color: #f6d69e; }
  & .ocr-btn-w { background: #f3efff; color: #423187; }
  & .is-popular :is(.ocr-feat-hd, .ocr-price-orig, .ocr-year-s, .ocr-year-arr) { color: var(--c-muted); }
  & :is(.ocr-plan-btn.solid, .is-best .ocr-pack-btn):is(:hover, :focus-visible) { background: #6754bc; }
}

/* Elementor introductions following the OCR tools. */
html[data-br-theme="dark"] .elementor[data-elementor-type="wp-page"] > .e-con:has(:is(.itwc-container, .ite-container)) ~ .e-con,
html[data-br-theme="dark"] body:is(.home, .page-id-712) .elementor[data-elementor-type="wp-page"] > .e-con:has(.vision-upload-container) ~ .e-con {
  background-color: #171717;
  color: #d1d5db;

  & .elementor-widget-text-editor,
  & .elementor-widget-text-editor :is(p, li),
  & :is(.ue-text, .ue-step-item-content-text) {
    color: #d1d5db;
  }

  & :is(.elementor-heading-title, h2, h3, h4, .ue-title, .ue-step-item-content-title) {
    color: #f3f4f6;
  }

  & .elementor-widget-text-editor a { color: #a9c8ff; }

  & .uc_material_bullets_row {
    background-color: #242629;
    border-color: #45494e;
    box-shadow: none;
  }

  & .uc_material_bullets_row .ue-icon {
    background-color: #223753;
    border-color: #456185;
    color: #b8d4ff;
  }

  & .ue-step-item-line { background-color: #596477; }
  & .ue-step-icon { background-color: #294c85; color: #fff; }
  & .uc-item-active .ue-step-icon { background-color: #345fa3 !important; }
}

/* Elementor owns the hero backgrounds and navigation outside the tool shortcodes. */
html[data-br-theme="dark"] .elementor[data-elementor-type="wp-page"] > .e-con:has(.ite-container),
html[data-br-theme="dark"] body:is(.home, .page-id-712) .elementor[data-elementor-type="wp-page"] > .e-con:has(.vision-upload-container) {
  background: linear-gradient(180deg, #1c2532, #171717);

  & :is(.elementor-widget-heading .elementor-heading-title, .ue_beginning_text, .ue_ending_text) { color: #f3f4f6; }
  & .ue_gradient_text { -webkit-text-fill-color: #bad6ff; color: #bad6ff; }
  & .elementor-widget-text-editor,
  & .elementor-widget-text-editor p { color: #d1d5db; }
  & .elementor-widget-text-editor a,
  & .format-links a::after { color: #a9c8ff; }
  & .icon_mobile_menu_item { background-color: #242629; }
  & .icon_mobile_menu_item:is(:hover, :focus-visible) { background-color: #30415a; }
  & .icon_mobile_menu_item :is(.ue_item_title, .icon_mobile_menu_icon i) { color: #dbeaff !important; }
}

html[data-br-theme="dark"] body.home .elementor[data-elementor-type="wp-page"]:has(.vision-upload-container) .uc_material_accordion {
  & .uc-heading { background-color: #242629; }
  & .uc-item-active .uc-heading { background-color: #29374a; }
  & .ue_title { color: #f3f4f6; }
  & .uc_content { background-color: #1e2024; color: #d1d5db; }
  & .uc_content a, & .ue_expand_inside { color: #adcdff; }
}

/* GIF to Text uses a two-color title and per-item Elementor icon backgrounds. */
html[data-br-theme="dark"] body.page-id-712 .elementor[data-elementor-type="wp-page"]:has(.vision-upload-container) {
  & .ue-title-one { color: #aacaff; }
  & .ue-title-two { color: #f3f4f6; }
  & .uc_material_bullets_row .ue-icon,
  & .ue-step-item:not(.uc-item-active) .ue-step-icon {
    background-color: #294c85 !important;
    color: #fff;
  }
}
