/* Сайт: две темы (тёмная «космос» и светлая), системные шрифты, без внешних библиотек. */
:root {
  --bg: #f6f7fc;
  --bg2: #ffffff;
  --card: #ffffff;
  --card2: #f0f1fa;
  --line: #e2e4f0;
  --text: #121635;
  --muted: #5d6385;
  --accent: #5b52d6;
  --accent2: #7f77dd;
  --accent-text: #ffffff;
  --sun: #f59e0b;
  --good: #14915f;
  --bad: #d23f4d;
  --shadow: 0 10px 40px -12px rgba(30, 30, 90, 0.18);
  --hero-glow: radial-gradient(1200px 500px at 70% -10%, rgba(127, 119, 221, 0.22), transparent 60%), radial-gradient(800px 400px at 0% 10%, rgba(255, 180, 60, 0.12), transparent 60%);
  --radius: 18px;
  --wrap: 1140px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #070b24;
    --bg2: #0b1033;
    --card: #10173f;
    --card2: #151d4d;
    --line: #232c63;
    --text: #eef0ff;
    --muted: #a3a9d4;
    --accent: #8f87ff;
    --accent2: #a59cff;
    --accent-text: #0b0f2e;
    --sun: #ffb43c;
    --good: #3fd39a;
    --bad: #ff7a85;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
    --hero-glow: radial-gradient(1200px 600px at 70% -10%, rgba(127, 119, 221, 0.35), transparent 60%), radial-gradient(800px 500px at 0% 0%, rgba(255, 180, 60, 0.10), transparent 60%);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #070b24;
  --bg2: #0b1033;
  --card: #10173f;
  --card2: #151d4d;
  --line: #232c63;
  --text: #eef0ff;
  --muted: #a3a9d4;
  --accent: #8f87ff;
  --accent2: #a59cff;
  --accent-text: #0b0f2e;
  --sun: #ffb43c;
  --good: #3fd39a;
  --bad: #ff7a85;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --hero-glow: radial-gradient(1200px 600px at 70% -10%, rgba(127, 119, 221, 0.35), transparent 60%), radial-gradient(800px 500px at 0% 0%, rgba(255, 180, 60, 0.10), transparent 60%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
mark.draft { background: #ffe58a; color: #3b2a00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 100; }

/* звёзды на фоне (только тёмная тема) */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s; background-image:
  radial-gradient(1.2px 1.2px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 78% 12%, #fff 60%, transparent),
  radial-gradient(1.5px 1.5px at 42% 66%, #fff 60%, transparent), radial-gradient(1px 1px at 88% 74%, #fff 60%, transparent),
  radial-gradient(1px 1px at 22% 84%, #fff 60%, transparent), radial-gradient(1.3px 1.3px at 62% 32%, #fff 60%, transparent),
  radial-gradient(1px 1px at 6% 52%, #fff 60%, transparent), radial-gradient(1px 1px at 95% 40%, #fff 60%, transparent);
  background-size: 900px 900px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .stars { opacity: .5; } }
:root[data-theme='dark'] .stars { opacity: .5; }
main, header, footer { position: relative; z-index: 1; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.top .actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { border-color: var(--accent); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: grid; }
  .top .actions { margin-left: auto; }
  .top .actions .btn.ghost { display: none; }
}

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font: 600 16px/1 var(--font);
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none !important; white-space: nowrap; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--accent-text); box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn.ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.small { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* первый экран */
.hero { padding: 64px 0 40px; background: var(--hero-glow); }
.hero .grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.eyebrow b { color: var(--sun); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .note { font-size: 14px; color: var(--muted); }
.window { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.window .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 12px; background: var(--card2); border-bottom: 1px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; display: block; }
.window .bar i:nth-child(2) { background: #ffbd2e; }
.window .bar i:nth-child(3) { background: #28c941; }
.window video, .window img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #fff; }
.video-slot { position: relative; }
.video-slot .soon { position: absolute; right: 12px; bottom: 12px; background: rgba(7, 11, 36, .78); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 10px; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 24px; }
  .hero .grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .cta .btn { flex: 1 1 auto; }
}

/* разделы */
section { padding: 72px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 700px) { section { padding: 52px 0; } }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }

/* возможности: чередуем текст и снимок */
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.feature:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.feature:nth-child(even) .text { order: 2; }
.feature ul { padding-left: 0; list-style: none; margin: 0; }
.feature li { padding: 6px 0 6px 30px; position: relative; color: var(--muted); }
.feature li::before { content: '✓'; position: absolute; left: 0; top: 6px; color: var(--good); font-weight: 800; }
.feature li b { color: var(--text); font-weight: 600; }
.feature .tag { display: inline-block; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--sun); color: #2a1a00; font-weight: 700; margin-left: 6px; vertical-align: middle; }
@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .feature:nth-child(even) .text { order: 0; }
}
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-cards { grid-template-columns: 1fr; } }

/* безопасность */
.safe-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .safe-list { grid-template-columns: 1fr; } }
.safe-list .card { border-left: 4px solid var(--good); }

/* модели */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.models .card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.models .card b { display: block; }
.models .badge { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--card2); color: var(--accent); font-size: 15px; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }

/* сравнение */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--card2); font-size: 15px; }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--good); font-weight: 700; }
td.no { color: var(--bad); }
td.part { color: var(--muted); }
th.us, td.us { background: color-mix(in srgb, var(--accent) 9%, transparent); }

/* цена */
.price { max-width: 560px; margin: 0 auto; text-align: center; padding: 36px 28px; border-radius: 24px; background: var(--card); border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); }
.price .sum { font-size: clamp(44px, 9vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.price .sum small { font-size: 20px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price ul { text-align: left; list-style: none; padding: 0; margin: 22px 0 26px; }
.price li { padding: 7px 0 7px 30px; position: relative; }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* вопросы */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* подвал */
footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--bg2); font-size: 15px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--text); margin: 0 0 10px; font-size: 15px; }
footer a { color: var(--muted); display: block; padding: 3px 0; }
footer a:hover { color: var(--text); }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr; } }

/* документы */
.doc { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); }
.doc h2 { font-size: 22px; margin-top: 1.6em; }
.doc h3 { font-size: 18px; margin-top: 1.2em; }
.doc p, .doc li { color: var(--text); }
.doc .draft-note { background: color-mix(in srgb, var(--sun) 16%, var(--card)); border: 1px solid color-mix(in srgb, var(--sun) 45%, var(--line)); border-radius: 14px; padding: 14px 18px; margin-bottom: 26px; font-size: 15px; }

/* формы: вход, регистрация, кабинет */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 16px; background: var(--hero-glow); }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px; box-shadow: var(--shadow); animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input { width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: 16px var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); pointer-events: none; transition: all .18s ease; font-size: 16px; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: 12px; color: var(--accent); }
.field .eye { position: absolute; right: 8px; top: 9px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; border-radius: 10px; }
.field.has-eye input { padding-right: 52px; }
.field .err { display: none; color: var(--bad); font-size: 14px; margin-top: 6px; padding-left: 4px; }
.field.invalid input { border-color: var(--bad); }
.field.invalid input + label { color: var(--bad); }
.field.invalid .err { display: block; animation: rise .2s; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.check.invalid { color: var(--bad); }
.form-msg { display: none; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.form-msg.show { display: block; animation: rise .2s; }
.form-msg.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.form-msg.good { background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); }
.auth-alt { text-align: center; margin-top: 18px; font-size: 15px; color: var(--muted); }
.meter { height: 5px; border-radius: 4px; background: var(--line); margin: -8px 0 16px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .25s, background .25s; }
.stub-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 18px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* кабинет */
.account { padding: 40px 0 72px; }
.account .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
@media (max-width: 900px) { .account .grid { grid-template-columns: 1fr; } }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.status.active { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.status.trial { background: color-mix(in srgb, var(--sun) 20%, transparent); color: var(--text); }
.status.expired { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.key { display: flex; gap: 8px; align-items: center; margin: 14px 0; }
.key code { flex: 1; padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font: 15px ui-monospace, Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows > div:last-child { border-bottom: 0; }
.switch { position: relative; width: 48px; height: 28px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(20px); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; transition: .25s; z-index: 50; font-size: 15px; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* узкий телефон: название в одну строку, кнопка «Попробовать» в шапке компактнее */
.brand { white-space: nowrap; }
@media (max-width: 430px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: 16px; }
  .brand img { width: 30px; height: 30px; }
  .top .actions { gap: 6px; }
  .top .actions .btn.primary { padding: 0 12px; }
}
@media (max-width: 480px) { .top .actions .btn.primary { display: none; } }

/* кабинет на телефоне: длинный ключ не раздвигает страницу */
.account .grid > * { min-width: 0; }
.key code { min-width: 0; }
@media (max-width: 430px) { .key { flex-wrap: wrap; } .key code { flex-basis: 100%; } }

/* первый экран: «сцена» для ролика — всегда тёмный космос (под цвет краёв ролика), квадрат по центру, без обрезки */
.stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: #02030e; /* как углы ролика — без видимого шва */ box-shadow: var(--shadow), 0 0 0 1px rgba(165, 156, 255, .18); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .7; background-image:
  radial-gradient(1.4px 1.4px at 8% 20%, #fff 60%, transparent), radial-gradient(1px 1px at 16% 72%, #fff 60%, transparent),
  radial-gradient(1.2px 1.2px at 26% 40%, #cfd4ff 60%, transparent), radial-gradient(1px 1px at 88% 16%, #fff 60%, transparent),
  radial-gradient(1.5px 1.5px at 92% 64%, #fff 60%, transparent), radial-gradient(1px 1px at 78% 86%, #cfd4ff 60%, transparent),
  radial-gradient(1px 1px at 6% 90%, #fff 60%, transparent), radial-gradient(1.2px 1.2px at 95% 38%, #fff 60%, transparent); }
.stage video, .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  /* мягкие края: чёрные углы ролика растворяются в фоне сцены */
  -webkit-mask-image: radial-gradient(closest-side, #000 93%, transparent 100%); mask-image: radial-gradient(closest-side, #000 93%, transparent 100%); }
.stage img[width="1018"] { object-fit: cover; object-position: top left; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 900px) { .stage { aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; } }

/* знак в шапке — скруглённый, как иконка программы */
.brand img { border-radius: 24%; }
/* документы: «бланк» с логотипом */
.doc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.doc-head img { border-radius: 18px; box-shadow: 0 6px 20px -8px rgba(60, 50, 160, .6); }
.doc-head b { display: block; font-size: 18px; }
.doc-head span { font-size: 14px; }

/* форма «Счёт для компании» */
.auth-card.wide { max-width: 560px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
.field.select select { width: 100%; height: 58px; padding: 22px 14px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--text); font: 16px var(--font); outline: none; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 27px, calc(100% - 15px) 27px; background-size: 5px 5px; background-repeat: no-repeat; }
.field.select select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.select label { top: 8px; font-size: 12px; color: var(--accent); }
.field input[type=number] { -moz-appearance: textfield; }
.sum-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: var(--card2); margin: 4px 0 14px; }
.sum-line b { font-size: 22px; }
.inv-done { margin-top: 4px; }
.price .company { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* атрибут hidden сильнее любых display у кнопок и блоков */
[hidden] { display: none !important; }
