/* Venator: shared static theme; no fonts, scripts, polling or rendering service. */
:root,[data-theme=dark]{color-scheme:dark;--bg:#090c12;--card:#111720;--ink:#f2f5f9;--text:#f2f5f9;--muted:#bfc9d8;--line:#72819a;--accent:#94d9ff;--soft:#1c2532;--good:#a7ddc3;--good-bg:#17302b;--red:#ee8489;--radius:18px;--ivory:#090c12;--paper:#111720;--black:#f2f5f9;--terracotta:#ee8489;--clay:#94d9ff}
[data-theme=light]{color-scheme:light;--bg:#f5f7fa;--card:#fff;--ink:#142132;--text:#142132;--muted:#4b5b70;--line:#71829a;--accent:#125d85;--soft:#e7edf5;--good:#235f46;--good-bg:#e1f1e9;--red:#a52a45;--ivory:#f5f7fa;--paper:#fff;--black:#142132;--terracotta:#a52a45;--clay:#125d85}
html{font-size:100%;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1rem;line-height:1.65}
body::before,body::after,.status-card:after{content:none!important;display:none!important}
body,header.site,footer.site{background-image:none!important}
/* Шапка: сплошная тёмная полоса, чтобы название не сливалось с текстом под ней при прокрутке. */
header.site{background:var(--card)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 1px 0 var(--bg)}
/* Остатки палитры Artemida (Georgia, золото, терракота, коричневые плашки) гасим здесь, пока сайт не пересобран на дизайн-системе. */
.price-tag,.price-tag small,.referral-figure b,.step .num,.code-big,.section-head h2,#service h2,#why h2,.faq summary,.service-role-card h3,.why-card h3{font-family:inherit!important}
.price-tag{color:var(--ink)!important}.plan-card .price-tag small{color:var(--muted)}
.plan-saving{color:var(--good)!important}.plan-card:first-child .plan-saving{color:var(--muted)!important;font-weight:400}
.plan-best{border-color:var(--accent)!important}
.step .num,.faq summary:after{color:var(--accent)!important}
.service-role-card h3{color:var(--ink)!important}
#service .eyebrow,.hero-label{color:var(--muted)!important}
.terms-list li::before,.hero-facts li::before{color:var(--good)!important}
.referral-figure b{color:var(--accent)!important}
.secondary,[data-theme=dark] .secondary,:root:not([data-theme=dark]) .secondary{background:var(--card)!important;border:1px solid var(--line)!important;color:var(--ink)!important}
.secondary:hover,[data-theme=dark] .secondary:hover{background:var(--soft)!important}
#banner,[data-theme=dark] #banner,.notice,.referral-figure,.code-big,#orderCard select,.faq-search{background:var(--card)!important;border:1px solid var(--line)!important;color:var(--muted)!important}
.referral-figure{color:var(--ink)!important}.code-big{color:var(--ink)!important;border-style:solid!important}
.medallion img{border-radius:28px}
.skip-link{background:var(--accent);color:var(--bg)}
/* Личный кабинет: заголовок над карточкой, без пустой левой колонки. */
#account{display:grid;grid-template-columns:1fr!important;gap:16px!important;align-items:start}
#account .section-head{margin-bottom:0}
#loginCard,#orderCard{max-width:640px!important}
.brand,.brand-text,.date,.ref-number,.price,h1,h2,h3{font-family:inherit!important}
.brand,.brand-text{font-size:1.375rem;font-weight:700;letter-spacing:.015em;color:var(--ink)}
.brand-sub,.eyebrow,.caption,.updated,.date-sub,.stat span,.device-info,.device .text-button,.quick-label,.quick-num small,.bar-col span,.admin-id,.notice,.preview-bar,.preview-bar select,.steps li:before,.setup-step-head .eyebrow,.pill,.brand-sub,.header-links,.meta,small{font-size:.875rem!important;line-height:1.5;letter-spacing:0}
.eyebrow,.brand-sub{font-weight:500;letter-spacing:.025em}
h1{font-size:clamp(2rem,6vw,2.75rem);line-height:1.2;letter-spacing:-.025em}
h2{font-size:1.375rem;line-height:1.3;letter-spacing:-.015em}h3{font-size:1.125rem;line-height:1.35}
.intro p,.help-list p,.steps li,dialog p,.device-name,.button,.text-button,.search,.link-input,.tabs button,.admin-actions button,.setup-tab,.app-link,.field input,.field select,.field textarea{font-size:1rem!important;line-height:1.55}
.card,.notice,.quick-card{background:var(--card);border-radius:var(--radius);border-color:var(--line)}
.primary,[data-theme=dark] .primary{background:var(--accent);color:#0c1b26}
[data-theme=light] .primary{color:#fff}
.button{min-height:48px;border-radius:12px;font-weight:600}
.secondary{color:var(--ink);background:transparent;border-color:var(--line)}
.text-button{min-height:44px;color:var(--accent)}
.icon-button{width:44px;height:44px;min-width:44px;min-height:44px;border-color:var(--line)}
.header{gap:12px}.avatar{border-radius:12px;object-fit:contain}.header .brand{white-space:nowrap}
.date{font-size:2rem;line-height:1.25;font-variant-numeric:tabular-nums}
.access-glyph,.ref-art{object-fit:contain;border-radius:14px}.access-glyph{width:56px;height:56px}
.device{align-items:center;flex-wrap:wrap}.device>.spacer{min-width:0}.device-name{overflow-wrap:anywhere}
.nav{background:var(--card);border-color:var(--line)}.nav-inner{gap:4px}.nav button{font-size:.875rem;min-height:58px;line-height:1.3;gap:6px;padding-inline:2px}
.nav button[aria-current=page]{color:var(--accent);background:var(--soft)}
.setup-tabs,.row.between,.access-head{flex-wrap:wrap}.setup-tab{min-height:48px}.setup-step{margin-bottom:24px}
.chart{gap:6px}.bar-col span{font-variant-numeric:tabular-nums;white-space:nowrap}
dialog{border-radius:20px;border-color:var(--line);background:var(--card);padding:22px;box-shadow:0 20px 70px #0005}
dialog::backdrop{background:#02050bcc;backdrop-filter:none}
.screen,.loading,.bar{animation:none!important;transition:none!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
input,select,textarea{font-family:inherit;font-size:1rem!important;line-height:1.5}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.medallion{background:transparent!important;border:0!important;box-shadow:none!important}.medallion img{object-fit:contain;max-width:100%;height:auto}
.why-icon{display:none}.plan-grid .plan-card,.card-grid .card,.ticket-card{background:var(--card);color:var(--ink);border-color:var(--line)}
.plan-grid .plan-total,.plan-grid .plan-foot,.plan-grid .plan-save,.plan-grid .plan-unit,.fine{font-size:.875rem!important;line-height:1.6}
header img{object-fit:contain;border-radius:12px}
html[data-client=browser] body .nav button{font-size:1rem;min-height:48px}
html[data-client=browser] body #logout-btn{font-size:1rem;min-height:44px}
@media(max-width:520px){.wrap{padding-inline:16px}.card{padding:20px}.header{flex-wrap:wrap}.header>.spacer{min-width:0}.quick-grid{grid-template-columns:1fr}.quick-card{flex-direction:row;justify-content:space-between;padding:14px 16px;min-height:52px}.quick-label{font-size:1rem!important}.access-head{align-items:center}.setup-tabs{gap:8px}.chart{gap:4px}.bar-col span{font-size:.875rem}.ref-art{width:72px;height:72px}.plan-grid{grid-template-columns:1fr}.header .brand{font-size:1.25rem}.header .brand-sub{font-size:.875rem}.steps li{padding-left:38px}.nav{padding-inline:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
