:root{color-scheme:light;--logo-light-display:block;--logo-dark-display:none}:root[data-theme=dark]{color-scheme:dark;--blue-text:#8cb8ff;--ink:#ededed;--muted:#b0b0b0;--line:#343434;--paper:#121212;--surface:#1c1c1c;--surface-soft:#242424;--surface-recessed:#161616;--section-surface:#181818;--header-surface:rgba(18,18,18,.96);--text-secondary:#d0d0d0;--icon-muted:#b0b0b0;--separator:#8a8a8a;--border-soft:#3c3c3c;--accent-surface:#252525;--accent-border:#404040;--accent-border-hover:#737373;--accent-muted:#bcbcbc;--warm-surface:#242424;--warm-border:#414141;--warm-border-hover:#777777;--warm-text:#d6b990;--warning-surface:#352b19;--warning-text:#f1ca82;--warning-border:#806638;--success-surface:#172e29;--success-text:#87d9af;--success-border:#3f7b60;--error-surface:#35232c;--error-text:#f1a0a9;--error-border:#995566;--focus-ring:#8cb8ff;--focus-shadow:#8cb8ff33;--disabled-primary:#34558b;--probe-success:#60c99b;--probe-error:#e18b98;--selection-surface:#454545;--selection-text:#fff;--shadow-color:#00000040;--hero-glow:#282828;--hero-glow-soft:#1c1c1c;--preview-glow:#303030;--preview-surface:#202020;--windows-glow:#303030;--windows-surface:#202020;--android-glow:#303030;--android-surface:#202020;--ios-glow:#303030;--ios-surface:#202020;--logo-light-display:none;--logo-dark-display:block}@media (prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--blue-text:#8cb8ff;--ink:#ededed;--muted:#b0b0b0;--line:#343434;--paper:#121212;--surface:#1c1c1c;--surface-soft:#242424;--surface-recessed:#161616;--section-surface:#181818;--header-surface:rgba(18,18,18,.96);--text-secondary:#d0d0d0;--icon-muted:#b0b0b0;--separator:#8a8a8a;--border-soft:#3c3c3c;--accent-surface:#252525;--accent-border:#404040;--accent-border-hover:#737373;--accent-muted:#bcbcbc;--warm-surface:#242424;--warm-border:#414141;--warm-border-hover:#777777;--warm-text:#d6b990;--warning-surface:#352b19;--warning-text:#f1ca82;--warning-border:#806638;--success-surface:#172e29;--success-text:#87d9af;--success-border:#3f7b60;--error-surface:#35232c;--error-text:#f1a0a9;--error-border:#995566;--focus-ring:#8cb8ff;--focus-shadow:#8cb8ff33;--disabled-primary:#34558b;--probe-success:#60c99b;--probe-error:#e18b98;--selection-surface:#454545;--selection-text:#fff;--shadow-color:#00000040;--hero-glow:#282828;--hero-glow-soft:#1c1c1c;--preview-glow:#303030;--preview-surface:#202020;--windows-glow:#303030;--windows-surface:#202020;--android-glow:#303030;--android-surface:#202020;--ios-glow:#303030;--ios-surface:#202020;--logo-light-display:none;--logo-dark-display:block}}.brand-logo-light{display:var(--logo-light-display)}.brand-logo-dark{display:var(--logo-dark-display)}button{color:inherit}.theme-picker{position:relative;flex-shrink:0}.theme-toggle{width:40px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;background:0 0;color:var(--muted)}.theme-toggle:hover,.theme-toggle[aria-expanded=true]{color:var(--blue-text);background:var(--accent-surface,#edf3ff)}.theme-toggle .icon{width:20px;height:20px}.theme-toggle .theme-icon-dark,.theme-toggle .theme-icon-light{display:none}:root[data-theme-preference=dark] .theme-toggle .theme-icon-system,:root[data-theme-preference=light] .theme-toggle .theme-icon-system{display:none}:root[data-theme-preference=dark] .theme-toggle .theme-icon-dark,:root[data-theme-preference=light] .theme-toggle .theme-icon-light{display:block}.theme-menu{position:absolute;top:calc(100% + 13px);right:0;width:216px;padding:7px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);box-shadow:0 14px 40px var(--shadow-color,#17223815)}.theme-menu button{width:100%;min-height:44px;display:flex;align-items:center;gap:10px;padding:9px 12px;border:0;border-radius:7px;background:0 0;text-align:left;font-size:var(--fs-sm)}.theme-menu button>.icon{width:18px;height:18px}.theme-menu button .theme-check{width:16px;height:16px;margin-left:auto;visibility:hidden}.theme-menu button:hover,.theme-menu button[aria-pressed=true]{color:var(--blue-text);background:var(--accent-surface,#edf3ff)}.theme-menu button[aria-pressed=true] .theme-check{visibility:visible}@media (min-width:1021px){.header-inner{gap:24px}.header-actions{gap:14px}html[lang=ru] .desktop-nav{gap:18px}}@media (max-width:430px){.header-inner{gap:10px}.header-actions{gap:6px}.site-header .brand img{width:90px}.theme-toggle{width:36px}.menu-toggle{width:40px}}
