:root{color-scheme:light}
.theme-toggle{width:34px;height:34px;flex:0 0 34px;padding:6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e3f6;border-radius:10px;background:#fff;color:#315783;cursor:pointer}
.theme-toggle svg{width:21px;height:21px;display:block}
.theme-toggle:hover{background:#eaf1ff;color:#075bff}
.theme-toggle:focus-visible{outline:2px solid #075bff;outline-offset:3px}
.commerce-topbar>.wrap{gap:18px}
.commerce-topbar .theme-toggle{margin-left:auto}
.commerce-topbar .contact-row{flex-shrink:0}
html[data-theme="dark"]{color-scheme:dark;--theme-bg:#0c1423;--theme-surface:#152135;--theme-raised:#1d2d45;--theme-line:#30425e;--theme-text:#edf3ff;--theme-muted:#b2c1d8;--theme-accent:#91b8ff}
html[data-theme="dark"] body{background:var(--theme-bg);color:var(--theme-text)}
html[data-theme="dark"] a:hover{color:#b7d0ff}
html[data-theme="dark"] :is(input,select,textarea){background:var(--theme-raised);border-color:var(--theme-line);color:var(--theme-text)}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#9eafc9;opacity:1}
html[data-theme="dark"] :is(input,select,textarea):focus{border-color:#79a5ff;outline-color:#456b9f}
html[data-theme="dark"] :is(label,.muted,.breadcrumbs,.catalog-toolbar,.admin-pagination,.pagination,.empty,.loading){color:var(--theme-muted)}
html[data-theme="dark"] :is(.button.ghost,.button.white,.icon-button){background:var(--theme-raised);border-color:#48648b;color:var(--theme-text);box-shadow:none}
html[data-theme="dark"] :is(.button.ghost,.button.white,.icon-button):hover{background:#2b4263;border-color:#82adff;color:#fff}
html[data-theme="dark"] .theme-toggle{background:#263b59;border-color:#5474a3;color:#ffdb88}
html[data-theme="dark"] .theme-toggle:hover{background:#355174;color:#ffe9b5}
html[data-theme="dark"] .theme-toggle:focus-visible{outline-color:#a2c1ff}
html[data-theme="dark"] :is(.panel,.admin-panel,.stat,dialog,.article,.product-card,.shop .commerce-product,.order-rail,.order-main,.order-side-card,.order-info-card,.order-items-panel,.order-blank-cards>section){background:var(--theme-surface);border-color:var(--theme-line);color:var(--theme-text);box-shadow:none}
html[data-theme="dark"] dialog::backdrop{background:#030913bb;backdrop-filter:blur(5px)}
html[data-theme="dark"] .modal-close{background:var(--theme-raised);color:#c4d4ed}
html[data-theme="dark"] :is(.empty h2,.empty h3,td strong,.order-cards strong,.shop .commerce-product .product-name){color:var(--theme-text)}
html[data-theme="dark"] :is(td,.description p,.article,.cart-line,.order-cards p){color:#c5d2e6;border-color:var(--theme-line)}
html[data-theme="dark"] :is(th,.order-items-table th){background:#1b2b44;color:#bdcde5;border-color:var(--theme-line)}
html[data-theme="dark"] :is(td small,.stat small,.stat p,.event small,.product-info>small,.availability,.detail-perks,.chart-col span,.chart-col b){color:var(--theme-muted)}
html[data-theme="dark"] :is(.table-link,td:first-child,.tabbar .active,.catalog-filters .selected,.section-heading>a){color:var(--theme-accent)}
html[data-theme="dark"] :is(.form-actions,.tabbar,.event,.chart,.detail-perks,.cart-line,.editing-order-line){border-color:var(--theme-line)}
html[data-theme="dark"] :is(.notice,.progress,.stat-icon,.sidebar-help){background:#1d3150;border-color:var(--theme-line);color:var(--theme-muted)}
html[data-theme="dark"] .sidebar-help b{color:var(--theme-text)}
html[data-theme="dark"] .stat-icon.green{background:#163e31;color:#7ce1b0}
html[data-theme="dark"] .stat-icon.orange{background:#49331f;color:#ffc485}
html[data-theme="dark"] .badge{background:#243e68;color:#b2d1ff}
html[data-theme="dark"] .badge.green{background:#153e30;color:#8be6b7}
html[data-theme="dark"] .badge.orange{background:#49351c;color:#ffd08a}
html[data-theme="dark"] .badge.red{background:#4c2333;color:#ffadc0}
html[data-theme="dark"] .badge.purple{background:#382b56;color:#d7b8ff}
html[data-theme="dark"] #toast{background:#e3ecfc;color:#101d33;border:1px solid #b5cae9}

/* Storefront */
html[data-theme="dark"] .shop-header{background:#111c2e;border-color:var(--theme-line)}
html[data-theme="dark"] .commerce-topbar{background:#18273f;color:#d4e1f5;border-color:#30425e}
html[data-theme="dark"] .commerce-topbar .contact-row{border-color:#486181}
html[data-theme="dark"] :is(.commerce-header-icon,.commerce-phones>.contact-row:first-child a,.footer-phone-column>div:first-child a,.commerce-footer #footer-email){color:#edf3ff}
html[data-theme="dark"] :is(.commerce-phones a,.footer-phone-column a,.commerce-footer-grid>div>a:not(.brand):not(.commerce-vk),.commerce-footer-bottom a){color:#c1d2ec}
html[data-theme="dark"] :is(.copy-contact,.commerce-phones .copy-contact,.commerce-topbar .copy-contact){color:#a3bce0}
html[data-theme="dark"] .copy-contact:hover{background:#2b4265;color:#d5e4ff}
html[data-theme="dark"] :is(.commerce-search,.commerce-cartridge form,.commerce-footer #price-request-form){background:#1b2c46;border-color:#3a5174;box-shadow:none}
html[data-theme="dark"] :is(.commerce-search input,.commerce-cartridge input,.commerce-footer #price-request-form input){background:transparent;color:var(--theme-text)}
html[data-theme="dark"] .brand>img{background:#fff;border-radius:7px;mix-blend-mode:normal;padding:3px}
html[data-theme="dark"] .brand>small{color:#becde4!important;margin-top:4px!important}
html[data-theme="dark"] .commerce-hero{border-color:#3b506c;background-color:#142338}
html[data-theme="dark"] .commerce-hero:before{background:linear-gradient(90deg,#101c30fa 0,#15233eea 32%,#15233e6b 56%,#10203618 80%)}
html[data-theme="dark"] .commerce-hero h1{color:#f4f7ff}
html[data-theme="dark"] .commerce-hero-copy>p{color:#cedcf1}
html[data-theme="dark"] .commerce-hero-links a{background:#18283feF;border-color:#506685;color:#f0f5ff;box-shadow:0 4px 12px #02091240}
html[data-theme="dark"] .commerce-hero-links svg:first-child{color:#99bdff}
html[data-theme="dark"] .commerce-hero-links svg:last-child{color:#d4e2f8}
html[data-theme="dark"] .commerce-categories>a{background:linear-gradient(135deg,#1d2d46,#142237);border-color:var(--theme-line)}
html[data-theme="dark"] .commerce-categories img{mix-blend-mode:normal;background:#edf1f7;border-radius:10px;padding:5px}
html[data-theme="dark"] .commerce-categories>a>span{background:#2a3e5c;color:#e6efff}
html[data-theme="dark"] .commerce-promos>article{background:linear-gradient(120deg,#1e3658,#192940);border-color:#385273}
html[data-theme="dark"] .commerce-promos .commerce-service-promo{background:linear-gradient(120deg,#2c2c4d,#202b43);border-color:#434b72}
html[data-theme="dark"] :is(.commerce-promos p,.commerce-business p){color:#c9d7ec}
html[data-theme="dark"] .commerce-service-promo li::before,html[data-theme="dark"] .commerce-business li::before,html[data-theme="dark"] .commerce-benefits article>svg{color:#94b9ff}
html[data-theme="dark"] .commerce-cartridge::after{content:'';position:absolute;right:-10%;top:-35%;width:65%;height:165%;background:radial-gradient(ellipse,#c9d9efb3,transparent 68%);z-index:-1;pointer-events:none}
html[data-theme="dark"] .commerce-cartridge>img{filter:brightness(1.25)}
html[data-theme="dark"] .commerce-promo-gear{filter:invert(1);mix-blend-mode:screen}
html[data-theme="dark"] .commerce-promo-gear img{mix-blend-mode:normal;opacity:.3}
html[data-theme="dark"] .recommend-tabs button{background:#20324c;border-color:#354b6c;color:#d1e0f7;box-shadow:none}
html[data-theme="dark"] .recommend-tabs .active{background:#1256ff;border-color:#477dff;color:#fff}
html[data-theme="dark"] :is(.shop .product-photo,.detail-image){background:#edf1f7;border-radius:11px;padding:8px}
html[data-theme="dark"] :is(.shop .product-photo img,.detail-image img){mix-blend-mode:multiply}
html[data-theme="dark"] .product-favorite{color:#becfe8}
html[data-theme="dark"] .product-favorite.is-favorite{color:#ff718f}
html[data-theme="dark"] .product-brand{color:#ff899a}
html[data-theme="dark"] .product-brand.brand-blue{color:#91b8ff}
html[data-theme="dark"] :is(.shop .commerce-product .product-info>small,.shop .commerce-product .availability,.commerce-products-empty p){color:var(--theme-muted)}
html[data-theme="dark"] .commerce-business{background:linear-gradient(120deg,#192a42,#252c4b);border-color:#3a4d70}
html[data-theme="dark"] .commerce-benefits article{background:linear-gradient(#1b2a42,#152237);border-color:var(--theme-line);box-shadow:none}
html[data-theme="dark"] .commerce-products-empty{background:var(--theme-surface);border-color:var(--theme-line)}
html[data-theme="dark"] .shop .commerce-footer{background:linear-gradient(115deg,#121e32,#0f192a);border-color:var(--theme-line)}
html[data-theme="dark"] :is(.commerce-footer-grid>div>p,.commerce-footer-bottom){color:var(--theme-muted);border-color:var(--theme-line)}
html[data-theme="dark"] .commerce-vk{background:#233751;border-color:#435c7e;color:#dce9ff;box-shadow:none}
html[data-theme="dark"] .catalog-filters>a{background:#1e304d;color:#bdcee7}

/* Informational pages */
html[data-theme="dark"] :is(.landing-cards article,.landing-prices,.delivery-tariffs>article,.landing-payment article,.contact-office-card){background:var(--theme-surface);border-color:var(--theme-line);box-shadow:none}
html[data-theme="dark"] :is(.landing-tint,.landing-region,.landing-payment,.landing-business){background:linear-gradient(120deg,#1b2d47,#152237);border-color:var(--theme-line)}
html[data-theme="dark"] :is(.landing-card-icon,.carrier-tags span,.landing-faq summary>span){background:#243d62;color:#a7c7ff;border-color:#425f89}
html[data-theme="dark"] :is(.landing-breadcrumb,.landing-breadcrumb a,.landing-hero>div>p,.landing-trust>span,.landing-intro p,.landing-section-title>p,.landing-split p,.landing-cards p,.landing-checks p,.landing-process p,.landing-faq details>p,.delivery-tariffs p,.landing-fine,.landing-time span,.landing-payment>div>p,.landing-payment article p,.about-facts span,.landing-business p,.contact-office-card>p,.contact-office-card .contact-address,.contact-visit p){color:var(--theme-muted)}
html[data-theme="dark"] :is(.landing-section-title>span,.landing-text-link,.delivery-tariffs b,.landing-time b,.about-facts b,.contact-email-row>a,.landing-kicker){color:#9cbeff}
html[data-theme="dark"] .landing-prices thead th{background:#20334f;color:#b7cde9}
html[data-theme="dark"] .landing-prices td{color:#cfdef5}
html[data-theme="dark"] .landing-payment article p:nth-child(odd){color:var(--theme-text)}
html[data-theme="dark"] :is(.landing-trust,.landing-checks article,.landing-prices th,.landing-prices td,.landing-faq details,.about-facts,.about-facts>div,.yandex-map){border-color:var(--theme-line)}
html[data-theme="dark"] .landing-hero-photo>span{background:#13243ce8;color:#deebff;border-color:#6d83a3}

/* Administration */
html[data-theme="dark"] .admin-header{background:#111d30f5;border-color:#30425e;box-shadow:0 1px 0 #25364e}
html[data-theme="dark"] .admin-sidebar{background:linear-gradient(110deg,#132036,#111c2e);border-color:var(--theme-line)}
html[data-theme="dark"] .admin-sidebar nav>a{color:#c0d0e9}
html[data-theme="dark"] .admin-sidebar nav>a.active{background:#1454e9;color:#fff}
html[data-theme="dark"] :is(.sidebar-statuses,.sidebar-label){border-color:var(--theme-line)}
html[data-theme="dark"] :is(.sidebar-label,.sidebar-statuses .sidebar-label,.sidebar-statuses small,.admin-user small){color:#a1b3d0}
html[data-theme="dark"] .sidebar-statuses>a{color:color-mix(in srgb,var(--status-color),#fff 35%)}
html[data-theme="dark"] .nav-count{background:#27446f;color:#bed6ff}
html[data-theme="dark"] .admin-sidebar nav .active .nav-count{background:#bed4ff;color:#103262}
html[data-theme="dark"] :is(.global-search,.order-rail-search input,.order-tracking,.order-address-preview,.order-active-filter){background:#1d2e49;color:#dce8fb;border-color:#334c70}
html[data-theme="dark"] .global-search input{background:transparent}
html[data-theme="dark"] .admin-import summary{background:#1b2b44;color:#abcaff;border-color:#405b81}
html[data-theme="dark"] .admin-import>div{background:#1b2940;border-color:#405578;box-shadow:0 12px 30px #0007}
html[data-theme="dark"] .admin-import :is(button,a){background:transparent;color:#d3e1f8}
html[data-theme="dark"] .admin-import button:hover{background:#2b4263}
html[data-theme="dark"] .order-rail-item{background:var(--theme-surface);border-color:#293d5b;color:#e5eeff}
html[data-theme="dark"] .order-rail-item:hover{background:#203450}
html[data-theme="dark"] .order-rail-item.selected{background:linear-gradient(110deg,#213e64,#1d3559);border-color:#4d78b0;border-left-color:#8eb7ff}
html[data-theme="dark"] .order-customer-icon{background:#263a57;color:#bdcde7}
html[data-theme="dark"] .selected .order-customer-icon{background:#304f7c;color:#cae0ff}
html[data-theme="dark"] :is(.order-rail-copy strong,.order-contact-line>a,.order-action-link,.order-item-product b,.order-address .order-card-title>a){color:var(--theme-accent)}
html[data-theme="dark"] :is(.order-rail-copy small,.order-rail-footer,.order-rail-empty,.order-back,.order-heading-line>span:last-child,.order-total-head small,.order-buyer small,.order-person,.order-duplicate,.order-muted-label,.order-timeline span,.order-payment>p,.order-side-card p,.order-payment-state small,.order-documents label,.order-created span,.order-shipment small,.order-items-heading h3 small,.order-item-product small,.order-blank>p){color:var(--theme-muted)}
html[data-theme="dark"] :is(.order-rail-footer,.order-items-panel>footer){border-color:var(--theme-line)}
html[data-theme="dark"] .order-status-buttons button{background:#1b2a42;color:color-mix(in srgb,var(--status-color,#b5c7e4),#fff 48%)}
html[data-theme="dark"] .order-status-buttons button.current{background:color-mix(in srgb,var(--status-color),#14233c 45%);color:#fff}
html[data-theme="dark"] .order-status-buttons button.restore{color:#8de9b6}
html[data-theme="dark"] :is(.order-buyer>span,.order-blank-icon){background:#263f65;color:#a8caff}
html[data-theme="dark"] .order-timeline i{background:#415370;border-color:var(--theme-surface)}
html[data-theme="dark"] .order-timeline .latest i{background:#0fae62}
html[data-theme="dark"] .order-instruction{background:#332f20;border-color:#625938;color:#f6eccd}
html[data-theme="dark"] .order-payment-state{background:#213450;border-color:#405a80;color:#b9cce8}
html[data-theme="dark"] .order-payment-state.paid{background:#123c2c;border-color:#2a7856;color:#8de9b6}
html[data-theme="dark"] .order-payment-state.returned{background:#44321b;border-color:#8c6736;color:#ffd18d}
html[data-theme="dark"] .order-shipment{background:linear-gradient(120deg,#15372b,#16322c);border-color:#32624b;color:#e0f8e9}
html[data-theme="dark"] .order-shipment small b{color:#d7f0e1}
html[data-theme="dark"] .order-shipment>div:last-child{border-color:#3f7058}
html[data-theme="dark"] .order-items-panel>footer{background:var(--theme-surface);color:var(--theme-text)}
html[data-theme="dark"] .order-address-preview p{color:#c0d2ec}
html[data-theme="dark"] :is(.order-blank-cards h3,.order-rail-empty b){color:#c2d3ee}
html[data-theme="dark"] .order-blank-cards span{background:#263b5a}

@media(max-width:760px){.commerce-topbar>.wrap{gap:12px}.commerce-topbar .theme-toggle{width:29px;height:29px;flex-basis:29px;margin:0}.commerce-topbar .theme-toggle svg{width:18px;height:18px}.admin-header-tools .theme-toggle{width:31px;height:31px;flex-basis:31px}html[data-theme="dark"] .commerce-mainbar .commerce-phones{border-color:var(--theme-line)}html[data-theme="dark"] .commerce-hero:before{background:linear-gradient(180deg,#101c30fc 0,#15233ef5 40%,#15233e9c 72%,#13213b88)}html[data-theme="dark"] .brand>img{padding:2px}}
@media print{.theme-toggle{display:none!important}}
