/* The ordering and reinstallation cards share these decorative family logos. */
.iso_header[data-os-family] { align-items: center; gap: 8px; }
.iso_header[data-os-family]::before {
    width: 28px;
    height: 28px;
    flex: none;
    background: center / contain no-repeat;
}
.iso_header[data-os-family^="Ubuntu" i]::before    { content: ""; background-image: url("os-logos/ubuntu.svg"); }
.iso_header[data-os-family^="Debian" i]::before    { content: ""; background-image: url("os-logos/debian.svg"); }
.iso_header[data-os-family^="AlmaLinux" i]::before { content: ""; background-image: url("os-logos/almalinux.svg"); }
.iso_header[data-os-family^="Rocky" i]::before     { content: ""; background-image: url("os-logos/rocky.svg"); }
.iso_header[data-os-family^="Fedora" i]::before    { content: ""; background-image: url("os-logos/fedora.svg"); }
.iso_header[data-os-family^="Windows" i]::before   { content: ""; background-image: url("os-logos/windows.svg"); }
.iso_header[data-os-family^="CentOS" i]::before    { content: ""; background-image: url("os-logos/centos.svg"); }
.iso_header[data-os-family^="openSUSE" i]::before  { content: ""; background-image: url("os-logos/opensuse.svg"); }

/* Icons reflect the active appearance, including the operating system preference. */
.site-preference-icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; background-color: currentColor; mask: var(--preference-icon) center / contain no-repeat; }
.site-preference-icon--device-desktop { --preference-icon: url('/assets/vendor/tabler-theme/device-desktop.svg'); }
.site-preference-icon--sun, .site-theme__current-icon { --preference-icon: url('/assets/vendor/tabler-theme/sun.svg'); }
.site-preference-icon--moon, html[data-theme="dark"] .site-theme__current-icon { --preference-icon: url('/assets/vendor/tabler-theme/moon.svg'); }
.site-preference-check { --preference-icon: url('/assets/vendor/tabler-theme/check.svg'); width: 18px; height: 18px; }
@media (max-width: 1100px) { .site_shell .front_account_label { display: none; } }

html[data-theme="dark"] {
    --theme-bg: #101b27;
    --theme-panel: #172635;
    --theme-raised: #203548;
    --theme-line: #395367;
    --theme-text: #e8f0f5;
    --theme-muted: #b4c6d3;
    --theme-accent: #7ad6ed;
    --theme-success: #7de3ae;
    --theme-success-bg: #173d35;
    --theme-success-border: #366756;
    --theme-error: #ffa4a5;
    --table-disabled-opacity: 1;
    background: var(--theme-bg) !important;
}
html[data-theme="dark"] body.site_shell {
    --front-focus: #7ad6ed;
    --front-text: #e8f0f5;
    --front-muted: #b4c6d3;
    --pf-ink: #e8f0f5;
    --pf-muted: #b4c6d3;
    --pf-ink-soft: #b4c6d3;
    --pf-cyan-soft: #172635;
    --pf-white: #172635;
    --pf-line: #395367;
    --pf-teal: #7ad6ed;
    --pf-cyan: #203e50;
    color: var(--theme-text) !important;
    background: var(--theme-bg) !important;
}
html[data-theme="dark"] .site_shell a { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell caption { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.site_header, .dashboard_header, .site_footer, .loading_screen) { background: var(--theme-bg) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.nav_dd_panel, .mobile_nav, .site-preferences__panel, .order_dropdown_panel, .left_ucp, .sign_up_container, .sign_up_header, .sign_up_footer, .sign_up_body, .modal_content, .modal_header, .modal_footer, .analytics-consent__dialog) { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(h1, h2, h3, h4, h5, h6, span, summary, label, legend, th, strong, .head_in, .head_in span, .row_head, .flex_lns span, .sign_up_title, .card_pack_title, .ff_title, .faq_question, .domain_name, .dsr_domain, .dsr_price, .check_item_value_ucp, .price_total_ucp, .row_feature > span:first-child, .category_header, .category_header span, .nav_dd_name, .front_home__product-name, .site_footer_heading, .stat_value) { color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell :is(p, li, figcaption, small, td, .nav_dd_desc, .site_footer_legal, .site_footer_legal_sub, .site_footer_nav a, .ff_desc, .descr_head, .descr_hdin, .descr_serv, .desc_name_control, .left_ctg span, .border_tittle, .text_kontostand, .top_nav span, .sign_up_subtitle, .sign_up_checkbox_text, .sign_up_divider span, .check_item_label_ucp, .check_item_sub_ucp, .check_section_title_ucp, .config_label_ucp, .trust_pilot_count, .trust_pilot_label, .payments_subtitle, .front-payment-method, .front_home__payments li, .front-order-note, .row_feature > span:last-child, .stat_label, .activity_time) { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(i, .min_ic, .min_ic i, .nav_dd_icon i, .left_ctg i, .site_footer_bar a:not(.site_footer_logo_link), .site_footer_contracts a, .front_home__text-link, .front_home__product-link, .pf-text-link, .ff_desc a, .front_faq_question i, .faq_chevron, .front-back-top, .front-table-pagination button, .front_home__finder summary, .sign_up_link, .sign_up_forgot) { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell main :is(p, .pf-fine-print) a { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.front_home__eyebrow, .pf-kicker, .front_section_kicker, .front-product-icon, .nav_dd_icon, .pf-icon-box, .guide_step_icon, .front-domain-card__badge, .ammnt_ctg) { color: var(--theme-accent) !important; background: #203e50 !important; }
html[data-theme="dark"] .site_shell :is(.burger_btn, .ucp_burger) span { background: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.category_header, .mobile_nav_link, .nav_dd_item):is(:hover, [aria-current="page"]) { color: var(--theme-accent) !important; background: var(--theme-raised) !important; }

/* Marketing surfaces, product choices and editorial cards. */
html[data-theme="dark"] .site_shell :is(.front_home__product, .front_home__finder, .front_home__prepaid, .front-product-cta, .front-account-preview, .front-webspace-management, .front-game-feature-grid article, .ff_card, .block_feature, .pf-card, .pf-feature-card, .pf-datacenter-card, .pf-split-panel, .pf-usecase, .pf-step-grid > li, .pf-trust-strip, .pf-faq-item, .front_faq_item, .faq_item, .guide_step, .guide_card, .guide_usecase, .guide_account_preview, .guide_preview_flow li, .front-location-overview, .front-domain-card, .front-hosting-visual, .front-order-summary, .kvm_config_block, .kvm_configurator_right, .check_final_ucp, .check_section_ucp, .card_pack, .domain_page_card, .selection_card, .location_card, .os_card, .pkg_card, .game_card, .front-comparison__table, .front-payments, .payment_group, .front-payment-method) { background: var(--theme-panel) !important; border-color: var(--theme-line) !important; color: var(--theme-text) !important; box-shadow: none !important; }
html[data-theme="dark"] .site_shell :is(.front_home__product--featured, .pf-trust-strip > div, .dsr_head, .dsr_row--primary, .front-domain-card__bar, .front-hosting-visual__bar, .front-hosting-visual__footer, .front-comparison__table th, .front-comparison__table td:first-child, .guide_faq .front_faq_item) { background: var(--theme-raised) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.selection_card--selected, .location_card--selected, .os_card--selected, .pkg_card--selected, .card_pack--selected, .game_card--selected, .method_card.selected) { background: #203e50 !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.front_home__steps, .front_home__guides, .front_home__product-link, .front_faq_question, .dsr_row, .domain_table th, .domain_table td, .front-comparison__table :is(th, td), .payments, .site_footer_contracts) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .trust_pilot_divider { background: var(--theme-line); }
html[data-theme="dark"] .site_shell .trust_pilot .trust_pilot_chevron { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.pf-datacenter-card__logo, .front-location-overview__logo) { background: var(--theme-panel) !important; border-radius: 8px; }
html[data-theme="dark"] .site_shell .front-product-page .front-payments--compact,
html[data-theme="dark"] .site_shell .front-product-page .front-payments--compact :is(.front-payment-method, .front-payment-method__icon) { background: transparent !important; }
html[data-theme="dark"] .site_shell .front-product-page .home_page h1 span,
html[data-theme="dark"] .site_shell :is(.front-product-cta h2 span, .payments_title span, .pf-inner-hero h1 span) { color: var(--theme-accent) !important; }

/* Customer area: services, resources, billing, support and settings. */
html[data-theme="dark"] .site_shell :is(.pannel_serv, .list_roots, .ress_block, .control_ucp, .info_control, .dash_stat_card, .dash_expiring_item, .profile_card, .settings_card, .support_ticket, .ticket_message, .method_card, .charge_card, .modal_order, .modal_body, .api_card, .apidoc_ep, .info_box, .info_block, .check_section, .order_card, .front-inline-status) { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.button_ps, .back-button, .ctg_control_tab, .method_card, .dt-paging-button, .dash_service_icon, .stat_icon) { background: var(--theme-raised) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.button_ps, .back-button) :is(span, i, svg),
html[data-theme="dark"] .site_shell :is(.hd_serv span, .head_ressb span, .progress_text, .flex_name_control span, .ctg_control_tab span, .dash_service_name, .order_dropdown_name, .sign_up_social_btn span) { color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell :is(.ctg:hover, .order_dropdown_item:hover, tr:hover) { background-color: var(--theme-raised) !important; }
html[data-theme="dark"] .site_shell :is(.selected_ctg, .active_tab) { background: #0b6784 !important; }
html[data-theme="dark"] .site_shell :is(.selected_ctg, .active_tab) :is(span, i) { color: #fff !important; }
html[data-theme="dark"] .site_shell .pannel_prof { background: transparent !important; }
html[data-theme="dark"] .site_shell :is(.skeleton_box, .skeleton_avatar) { background: linear-gradient(90deg, #203548, #395367, #203548) !important; background-size: 200% 100%; }

/* Native fields, dialogs and tables keep readable values and focus states. */
html[data-theme="dark"] .site_shell :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea, .modal_input, .sign_up_social_btn, .front-table-pagination button) { background-color: var(--theme-bg) !important; color: var(--theme-text) !important; border-color: #628198 !important; }
html[data-theme="dark"] .site_shell :is(input, textarea)::placeholder { color: #9db5c6 !important; opacity: 1; }
html[data-theme="dark"] .site_shell :is(input[type="checkbox"], input[type="radio"], input[type="range"]) { accent-color: #299bbb; }
html[data-theme="dark"] .site_shell :is(th, td, hr, .sign_up_divider, .modal_header, .modal_footer) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(thead, .sign_up_divider span) { background: var(--theme-panel) !important; }
html[data-theme="dark"] .site_shell :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: var(--theme-accent) !important; box-shadow: 0 0 0 2px var(--theme-bg) !important; }
html[data-theme="dark"] .site_shell :is(.button, .pf-button--primary, .card_pack_button, .button_domain, .front_home__domain-form button, .sign_up_btn, .dsr_order_btn, .btn_confirm) { background: #0b6784 !important; color: #fff !important; }
html[data-theme="dark"] .site_shell :is(.button, .pf-button--primary, .card_pack_button, .button_domain, .sign_up_btn, .dsr_order_btn) :is(span, i, strong) { color: #fff !important; }
html[data-theme="dark"] .site_shell :is(.pf-button--secondary, .pf-button--outline, .guide_button--secondary) { background: var(--theme-panel) !important; color: var(--theme-accent) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.dsr_avail--available, .domain_avail--available) { color: #7de3ae !important; }
html[data-theme="dark"] .site_shell :is(.dsr_avail--taken, .domain_avail--unavailable, .front-order-feedback, .front-inline-status--error, .order_error) { color: #ffb7b7 !important; background-color: #402b36 !important; }
html[data-theme="dark"] .site_shell [aria-invalid="true"] { border-color: #ffb7b7 !important; }
html[data-theme="dark"] .site_shell .front-back-top { background: var(--theme-panel) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .background_decorations { opacity: .2; }
html[data-theme="dark"] .site_shell :is(.dash_block, .head_control, .pannel_control_i, .block_control, .pannel_ip, .backup_card, .affiliate_share_card, .affiliate_step, .ticket_sidebar_card, .ticket_chat_area, .chat_avatar, .chat_text, .chat_file_chip, .ticket_reply_box, .ticket_attach_chip, .ticket_attach_btn, .ticket_reply_closed_hint, .ctg_control_tabs, .ssh_block, .ssh_empty_state, .dein_block, .rdns_table, .packet_card, .iso_card, .iso_options, .auth_code_block, .auth_tips_block, .fm_list, .fm_archive, .fm_dropdown, .api_table_head, .api_key_prefix, .api_key_value, .ticket_form_block, .ticket_detail_head, .ticket_reply_area, .twofa_secret_box, .backup_code, .demo_placeholder, .site_footer_social_link) { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .dash_block table.dataTable tbody tr { background: var(--theme-panel) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] #domain_all_tlds table.dataTable thead th { background: var(--theme-raised); }
html[data-theme="dark"] #domain_all_tlds table.dataTable tbody td { background: transparent; }
html[data-theme="dark"] #domain_all_tlds table.dataTable tbody tr:hover { background: var(--theme-raised) !important; }
html[data-theme="dark"] .main_ucp .dt-container select.dt-input { appearance: auto; color-scheme: dark; background-image: none !important; }
html[data-theme="dark"] .site_shell .status_badge.status_open { background: #203e50; color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .status_badge.status_closed { background: var(--theme-raised); color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.status_badge.status_answered, .badge_ticket.badge_status_open, .status_control.status_control_online) { background: var(--theme-success-bg); color: var(--theme-success) !important; }
html[data-theme="dark"] .site_shell :is(.status_badge.status_unanswered, .status_badge.status_pending, .badge_ticket.badge_status_pending, .status_control.status_control_maintenance) { background: #352f23; color: #f3d49a !important; }
html[data-theme="dark"] .site_shell :is(.badge_ticket.badge_status_closed, .status_control.status_control_offline) { background: #402b36; color: var(--theme-error) !important; }
html[data-theme="dark"] .site_shell .affiliate_step_num { background: #203e50; color: var(--theme-accent); }
html[data-theme="dark"] .site_shell :is(.api_key_btn, .btn_ns_reset, .fm_btn_outline, .ticket_attach_btn) { background: var(--theme-raised) !important; color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell .selected_ctg .ammnt_ctg { background: var(--theme-raised) !important; }
html[data-theme="dark"] body.site_shell > .site_header,
html[data-theme="dark"] body.site_shell > .site_header::before { background: var(--theme-bg) !important; }
html[data-theme="dark"] .site_shell :is(.front_home__product-top > span, .front_home__product-features li, .front_home__price > span) { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.front_home__step-number, .front_home__guide-links a, .front_home__product-features i) { color: var(--theme-accent) !important; }
html[data-theme="dark"] .front-public .flex_buttons { background: transparent !important; }
html[data-theme="dark"] .site_shell :is(.kvm_configurator_left, .kvm_choice, .front-game-guide__cta, .front-hosting-visual__site, .front-domain-chip, .front-table-filter, .front-comparison__note, .front-location-overview li > a, table caption, tbody tr) { background: var(--theme-panel) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.kvm_choice.active, .kvm_choice.kvm_choice--selected, .kvm_choice[aria-checked="true"], .guide_kicker) { background: #203e50 !important; color: var(--theme-accent) !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.front-domain-card__status, .pf-status-badge) { background: #173d35 !important; color: #7de3ae !important; }
html[data-theme="dark"] .site_shell :is(.button_green, .guide_button--light) { background: var(--theme-panel) !important; color: var(--theme-accent) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.button_green, .guide_button--light) span { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.guide_flow_number, .front-payments__count) { background: #203e50 !important; color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .pf-comparison__row > span { background: var(--theme-panel) !important; }
html[data-theme="dark"] .site_shell .pf-button--light { background: var(--theme-panel) !important; color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.pkg_cta, .box_symbol) { background: #0b6784 !important; color: #fff !important; }
html[data-theme="dark"] .site_shell .pkg_cta span,
html[data-theme="dark"] .site_shell .selected_ctg .left_ctg span { color: #fff !important; }
html[data-theme="dark"] .site_shell :is(.iso_select, .voucher_field, .iso_option) { background: var(--theme-bg) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.kvm_choice, .iso_select) { border: 1px solid var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.iso_card.selected_iso, .iso_option.selected_option) { background: #203e50 !important; color: var(--theme-accent) !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.iso_option, .iso_select, .kvm_choice:enabled):is(:hover, :focus-visible) { background: var(--theme-raised) !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .iso_select svg path { stroke: var(--theme-muted); }
html[data-theme="dark"] .site_shell .voucher_apply { background: #0b6784 !important; color: #fff !important; }
html[data-theme="dark"] .site_shell .guide_button--primary { background: #0b6784 !important; color: #fff !important; }
html[data-theme="dark"] .site_shell .guide_cta { background: #173b4b !important; }
html[data-theme="dark"] .site_shell .guide_button--outline { color: var(--theme-text) !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell.front-public .front_home h1 span { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .front_home__product-icon { background: #203e50 !important; color: var(--theme-accent) !important; }

/* Surface hierarchy: layout gaps stay transparent; nested rows remain distinct. */
html[data-theme="dark"] .site_shell .dash_content,
html[data-theme="dark"] .site_shell .left_ucp :is(.top_prof, .pannel_prof, .kontostand_wr, .flex_buttons, .row_cont_ctgs, .cont_ctgs) { background: transparent !important; }
html[data-theme="dark"] .site_shell .front_home__faq-list details { background: transparent !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.front_home__faq, .front_home__trust, .front_home__chooser, .front_home__choice-list > a) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.dash_service_item, .dash_activity_item, .dash_quick_action, .dash_expiring_item) { background: var(--theme-raised) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell a.dash_service_item:hover,
html[data-theme="dark"] .site_shell a.dash_service_item:focus-visible { background: #294357 !important; }
html[data-theme="dark"] .site_shell .service_count { background: #153e50 !important; color: var(--theme-accent) !important; }

/* Public pages: supporting cards, empty states, comparison and consent. */
html[data-theme="dark"] .site_shell :is(.front-game-account, .pf-section--compact, .pf-domain-form, .pf-product-card, .pf-usecase-list > a, .pf-support-path__actions > a, .pf-feature-row article, .front-payments__empty, .pf-review-link, .pf-account-card, .pf-infra-visual, .front-editorial-empty, .pf-story__points article, .team_cta, .analytics-banner, .cmp_card, .cmp_table_wrap, .cmp_map_stage) { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.pf-account-card li, .pf-location-grid li, .pf-split-panel > .pf-check-list, .pf-review-link__icon, .front-payments__empty-actions a, .analytics-choice) { background: var(--theme-raised) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell #domain_search_results { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; box-shadow: none !important; }
html[data-theme="dark"] .site_shell :is(.nav_direct, .mobile_nav_direct):is(:hover, [aria-current="page"]) { background: var(--theme-raised) !important; color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell :is(.strength_bar, .step_line, .charge_summary_divider) { background: var(--theme-line) !important; }

/* Keep the whole range input interactive, with only a thin visible track. */
html[data-theme="dark"] .site_shell :is(.range_slider_ucp, .range_slider) {
    --range-track: #587185;
    background: linear-gradient(var(--range-track), var(--range-track)) center / 100% 4px no-repeat;
}
html[data-theme="dark"] .site_shell .front-product-page .range_slider_ucp { background-size: 100% 8px; }
html[data-theme="dark"] .site_shell :is(.range_slider_ucp, .range_slider)::-webkit-slider-thumb { background: var(--theme-accent); }
html[data-theme="dark"] .site_shell :is(.range_slider_ucp, .range_slider)::-moz-range-thumb { background: var(--theme-accent); }
html[data-theme="dark"] .site_shell :is(.range_slider_ucp, .range_slider)::-moz-range-track { background: transparent; }

html[data-theme="dark"] .site_shell :is(.front-game-guide, .front_faq_list, .front-comparison__scroll, .pf-datacenter-card__source, .pf-datacenter-card__logo, .imp_card, .imp_card_title, .check_final, .check_final > .head_in, .check_final_ucp > .head_in, .check_item, .check_item_ucp, .api_key_btn) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .check_final { background: var(--theme-panel); }
html[data-theme="dark"] .site_shell :is(.check_section, .check_section_ucp, .kvm_config_block, .info_control, .pf-faq-item, div.guide_usecase) { background: transparent !important; }
html[data-theme="dark"] body.site_shell :is(.check_final, .check_final_ucp, .kvm_config_block, .config_slider) :is(.config_label_ucp, .check_item_label_ucp, .check_item_label, .config_label) { color: var(--theme-text) !important; }
html[data-theme="dark"] body.site_shell :is(.check_final, .check_final_ucp, .kvm_config_block, .config_slider) :is(.config_price, .config_price_ucp, .check_item_sub, .check_item_sub_ucp, .price_per, .check_section_title) { color: var(--theme-muted) !important; }
html[data-theme="dark"] body.site_shell :is(.check_final, .check_final_ucp, .kvm_config_block) :is(.price_total, .price_total_ucp, .check_item_value, .check_item_value_ucp) { color: var(--theme-accent) !important; }
html[data-theme="dark"] body.site_shell :is(.check_final, .check_final_ucp, .kvm_config_block, .config_slider) :is(.config_price, .config_price_ucp, .check_item_sub, .check_item_sub_ucp, .check_item_value, .check_item_value_ucp, .price_total, .price_total_ucp) > span { color: inherit !important; }
html[data-theme="dark"] .front-public :is(.guide_hero, .guide_account_top, .front-location-overview__header) { background: transparent; border-color: var(--theme-line); }
html[data-theme="dark"] .front-public .guide_preview_flow li { background: var(--theme-raised) !important; }
html[data-theme="dark"] .site_shell .api_key_input.is_loading { background-image: linear-gradient(90deg, var(--theme-raised), var(--theme-line), var(--theme-raised)); }
html[data-theme="dark"] .site_shell .ticket_sidebar_head { border-color: var(--theme-line); }
html[data-theme="dark"] .site_shell .settings_toggle { background: var(--theme-raised); border-color: var(--theme-line); }
html[data-theme="dark"] .site_shell :is(.front-account-preview img, .avatar_box img, .front-domain-card__features span) { border-color: var(--theme-line); }
html[data-theme="dark"] .site_shell .front-hosting-visual__site span:not(:first-child) { background: var(--theme-line); }
html[data-theme="dark"] .site_shell .contract_captcha_image,
html[data-theme="dark"] #registration-main #sign_up_captcha_img { border-color: var(--theme-line); }
html[data-theme="dark"] .site_shell .contract_captcha_image:not([src]),
html[data-theme="dark"] #registration-main #sign_up_captcha_img:not([src]) { background: var(--theme-raised); color: var(--theme-text); }
html[data-theme="dark"] .site_shell .profile_divider::before,
html[data-theme="dark"] .site_shell .profile_divider::after,
html[data-theme="dark"] .site_shell .sign_up_divider::before { background: var(--theme-line) !important; }

/* Customer forms, tickets, DNS tools and API documentation, including empty/loading states. */
html[data-theme="dark"] .site_shell :is(.transfer_card, .modal_box, .tk_row, .tk_empty, .skeleton_row, .skel_method_tile, .apidoc_info_card, .dns_wizard_card, .bu_table, .fm_table, .modell_block, .balance_display, .ucp_cmp_card, .ucp_cmp_dummy_sidebar, .console_bar) { background: var(--theme-panel) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.apidoc_url_row, .apidoc_copy, .dns_wizard_preview, .fm_breadcrumbs, .bu_table th, .fm_table th, .net_table .rdns_row, .stat_pills, .step_num, .tx_invoice_btn.pdf, .tx_invoice_btn.xml, .checkbox_custom, .sign_up_checkmark) { background: var(--theme-raised) !important; color: var(--theme-text) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell :is(.apidoc_ep_head:hover, .fm_row:hover, .api_table_row:hover, .method_card:hover) { background: #294357 !important; }
html[data-theme="dark"] .site_shell :is(.contact_skel_label, .contact_skel_input, .ns_skel_label, .ns_skel_input, .skel_chat_avatar, .skel_method_icon) { background: var(--theme-raised) !important; }
html[data-theme="dark"] .site_shell :is(.service_status, .activity_time, .dash_block_desc, .apidoc_desc, .apidoc_name, .tk_meta, .ucp_cmp_block_body) { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.apidoc_url, .apidoc_path, .apidoc_info_head, .service_name, .activity_text, .tk_subject, .ucp_cmp_label) { color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell :is(.schedule_notice, .twofa_warning, .ticket_reply_closed_hint) { background: #352f23 !important; color: #f3d49a !important; border-color: #78613a !important; }
html[data-theme="dark"] .site_shell :is(.stat_error, .net_rdns_notice_error) { background: #402b36 !important; color: #ffb7b7 !important; border-color: #815362 !important; }
html[data-theme="dark"] .site_shell .stat_pill { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell .stat_pill.active { background: var(--theme-raised) !important; color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell .button.disabled { background: var(--theme-raised) !important; color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell :is(.twofa_qr_wrap, .twofa_qr_code) { background: #fff !important; } /* Keep scan codes on a plain white surface. */

/* Shared labels and icon wells also appear outside the dashboard templates. */
html[data-theme="dark"] .site_shell :is(.game_card_image, .game_card_info, .box_info_dd) { background-color: var(--theme-raised) !important; color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell :is(.guide_account_icon, .guide_usecase_icon, .front-payments__icon, .front-payment-method__icon, .pf-step-grid > li > i) { background: #203e50 !important; color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.auth_inline_button, .apidoc_sub, .rdns_col) { color: var(--theme-muted) !important; }
html[data-theme="dark"] .site_shell .auth_inline_button:hover { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell :is(.rdns_header, .rdns_row, .net_table, .bu_table, .fm_table, .api_table_row) { border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .site_footer { box-shadow: none !important; }
html[data-theme="dark"] .site_shell :is(.gs_console_send, .gs_console_reconnect) { background: #0b6784 !important; color: #fff !important; }
html[data-theme="dark"] .site_shell .ucp-toast { background: #203e50 !important; color: var(--theme-text) !important; }
html[data-theme="dark"] .site_shell .ucp-toast--error { background: #402b36 !important; color: #ffb7b7 !important; }
html[data-theme="dark"] .site_shell .ucp-toast--success { background: #173d35 !important; color: #7de3ae !important; }
html[data-theme="dark"] .site_shell .checkbox_input:checked + .checkbox_custom,
html[data-theme="dark"] .site_shell .sign_up_checkbox input:checked + .sign_up_checkmark { background: #0b6784 !important; border-color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .button.button_green { background: var(--theme-panel) !important; color: var(--theme-accent) !important; border-color: var(--theme-line) !important; }
html[data-theme="dark"] .site_shell .button.button_green :is(span, svg) { color: var(--theme-accent) !important; }
html[data-theme="dark"] .site_shell .button svg [stroke]:not([stroke="none"]) { stroke: currentColor !important; }
html[data-theme="dark"] .site_shell .box_info_dd svg [fill]:not([fill="none"]) { fill: var(--theme-accent) !important; }
