/* UI2_V1: новый спокойный вид, включён для всех 25.11.2026. Прежний вид в своём браузере: ?design=old */
body.ui-new { --bg:#f6f7fb; --surface:#fff; --text:#16192a; --muted:#5f6b85; --line:#e6e8f0; --primary:#4f46e5; --primary-dark:#3f37c9; --radius:14px; --radius-sm:10px; --shadow:none; --shadow-soft:none; --container:1160px; background:#f6f7fb; line-height:1.55; font-size:15px; }
body.ui-new .reveal { opacity:1 !important; transform:none !important; }

/* шапка */
body.ui-new .site-header, body.ui-new .site-header.is-scrolled { background:#fff; backdrop-filter:none; border-bottom:1px solid var(--line); box-shadow:none; }
body.ui-new .header-inner { min-height:62px; gap:20px; }
body.ui-new .main-nav a { font-size:14px; font-weight:500; color:#3a4258; }
body.ui-new .main-nav a.is-active { color:var(--primary); font-weight:600; }
body.ui-new .brand strong { font-size:15px; }
body.ui-new .brand img { width:34px; height:34px; }

/* тексты и отступы */
body.ui-new h1 { font-size:clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing:-.015em; line-height:1.25; margin-bottom:10px; }
body.ui-new h2 { font-size:clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing:-.01em; line-height:1.3; margin-bottom:10px; }
body.ui-new h3 { font-size:1.08rem; letter-spacing:0; margin-bottom:8px; }
body.ui-new .lead { font-size:1.02rem; max-width:680px; }
body.ui-new .eyebrow { font-size:.74rem; letter-spacing:.06em; font-weight:700; margin-bottom:6px; }
body.ui-new .eyebrow::before { display:none; }
body.ui-new .section, body.ui-new .page-hero { padding:34px 0; }
body.ui-new .section-sm { padding:24px 0; }
body.ui-new .section-head { margin-bottom:20px; }

/* кнопки */
body.ui-new .button { min-height:40px; padding:0 16px; border-radius:10px; font-size:14px; font-weight:600; box-shadow:none; }
body.ui-new .button:hover { transform:none; box-shadow:none; }
body.ui-new .button-primary { background:var(--primary); }
body.ui-new .button-primary:hover { background:var(--primary-dark); }
body.ui-new .button-secondary { background:#fff; border-color:var(--line); color:var(--primary); }
body.ui-new .button-secondary:hover { border-color:var(--primary); }
body.ui-new .button-sm { min-height:34px; padding:0 12px; font-size:13px; }

/* карточки */
body.ui-new :is(.account-card, .tariff-card, .benefit-card, .contact-card, .auth-card, .stat, .metric, .payment-box, .order-summary, .platform-item, .solution-card, .step-card) { border-radius:14px; box-shadow:none; border:1px solid var(--line); background:#fff; }
body.ui-new :is(.account-card, .contact-card, .auth-card, .payment-box, .order-summary, .benefit-card) { padding:20px; }

/* главная: светлый первый экран без космоса */
body.ui-new .hero { padding:44px 0 34px; background:#fff; border-bottom:1px solid var(--line); }
body.ui-new .hero::after { display:none; }
body.ui-new .hero-grid { gap:32px; align-items:center; }
body.ui-new .hero-visual { min-height:0; }
body.ui-new .hero-visual img { max-height:360px; width:auto; margin-inline:auto; }
body.ui-new .stat strong { font-size:1.6rem; }
body.ui-new .moon-hero { min-height:0; display:block; padding:46px 0 38px; color:var(--text); background:#fff; border-bottom:1px solid var(--line); }
body.ui-new .moon-hero::before, body.ui-new .moon-hero::after { display:none; }
body.ui-new :is(.moon-hero-aurora, .moon-stars, .moon-hero-visual, .scroll-cue, .solution-photo) { display:none; }
body.ui-new .site-header .brand strong { color:var(--text); }
body.ui-new .site-header .brand small { color:var(--muted); }
body.ui-new .site-footer .brand strong { color:#fff; }
body.ui-new .site-footer a.button.button-light, body.ui-new .site-footer a.button.button-light span { color:#16192a; }

/* читаемость: большая карточка преимуществ и бледные подписи */
body.ui-new .benefit-large h3 { color:var(--text); }
body.ui-new .benefit-large p { color:var(--muted); }
body.ui-new .benefit-large .benefit-label { color:#3c3489; background:#eeedfe; border-color:#cecbf6; }
body.ui-new .system-map span { color:#26215c; background:#eeedfe; border:1px solid #cecbf6; box-shadow:none; }
body.ui-new .system-map i { background:#cecbf6; }
body.ui-new :is(.solution-topline span, .step-number, .platform-item span, .platform-note, .shop-flow-section article > span, .visual-story-steps article > span) { color:#5f6b85; }
body.ui-new .market-yandex { color:#16192a; }
body.ui-new .menu-toggle { background:#fff; border-color:var(--line); }
body.ui-new .menu-toggle span { background:var(--text); }
@media (max-width:1080px) { body.ui-new .main-nav { background:#fff; border-color:var(--line); } body.ui-new .main-nav a.nav-download { text-align:center; } }
body.ui-new .main-nav a.nav-download { color:#fff; background:var(--primary); box-shadow:none; border-radius:10px; padding:8px 12px; }
body.ui-new .moon-hero-grid { display:block; }
body.ui-new .moon-hero-copy { max-width:none; }
body.ui-new .hero-kicker { margin-bottom:14px; padding:5px 11px; color:#3c3489; background:#eeedfe; border:0; font-size:12.5px; }
body.ui-new .moon-hero h1 { font-size:clamp(1.8rem, 3.4vw, 2.6rem); line-height:1.18; letter-spacing:-.02em; max-width:760px; }
body.ui-new .moon-hero h1 span { width:auto; color:var(--text); background:none; -webkit-text-fill-color:currentColor; }
body.ui-new .hero-title-line { margin:10px 0 8px; color:var(--text); font-size:1.1rem; font-weight:600; letter-spacing:0; }
body.ui-new .hero-lead { max-width:640px; margin-bottom:20px; color:var(--muted); font-size:1rem; }
body.ui-new .button-glass { background:#fff; border:1px solid var(--line); color:var(--primary); backdrop-filter:none; }
body.ui-new .button-lg { min-height:42px; padding:0 18px; font-size:14px; }
body.ui-new .hero-proof { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; max-width:760px; margin-top:26px; }
body.ui-new .hero-proof div { padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:#fbfbfe; }
body.ui-new .hero-proof strong { color:var(--primary); font-size:1.35rem; }
body.ui-new .hero-proof span { color:var(--muted); font-size:12.5px; }

/* остальные блоки главной: без украшений, плотнее */
body.ui-new :is(.moon-solutions, .moon-process, .moon-benefits)::before { display:none; }
body.ui-new :is(.moon-numbers, .moon-contact-cta) { padding-top:20px; }
body.ui-new :is(.audit-section, .faq-section, .calculator-section) { background:none; }
body.ui-new .solution-card { padding:20px; }
body.ui-new :is(.numbers-shell, .contact-orbit) { padding:24px; border-radius:14px; box-shadow:none; background:#fff; color:var(--text); border:1px solid var(--line); }
body.ui-new :is(.numbers-shell, .contact-orbit) :is(h2, h3, strong) { color:var(--text); }
body.ui-new :is(.numbers-shell, .contact-orbit) :is(p, span, small) { color:var(--muted); }
body.ui-new :is(.numbers-shell, .contact-orbit)::before, body.ui-new :is(.numbers-shell, .contact-orbit)::after { display:none; }
body.ui-new .number-card { background:#fbfbfe; border:1px solid var(--line); border-radius:12px; }
body.ui-new .contact-orbit { display:block; min-height:0; }
body.ui-new .contact-orbit-art { display:none; }
body.ui-new .contact-orbit .button-light { background:var(--primary); color:#fff; }
body.ui-new .contact-orbit .button-light span { color:#fff; }
body.ui-new .contact-orbit .button-outline-light { background:#fff; border:1px solid var(--line); color:var(--primary); }
body.ui-new :is(.feedback-card, .case-card, .process-step, .audit-shell, .faq-list details) { border-radius:14px; box-shadow:none; }
body.ui-new .audit-shell { padding:22px; }
body.ui-new .audit-options button { min-height:62px; padding:12px; border-radius:12px; }
body.ui-new .site-footer { background:#111427; }
body.ui-new .support-chat-button { padding:10px 14px; }
@media (max-width:620px) { body.ui-new .hero-proof { grid-template-columns:1fr; } }

/* тарифы */
body.ui-new .tariff-grid { grid-template-columns:repeat(5, minmax(0,1fr)); gap:12px; }
body.ui-new .tariff-card { padding:16px; display:flex; flex-direction:column; }
body.ui-new .tariff-card.accent { border:2px solid var(--primary); box-shadow:none; transform:none; }
body.ui-new .tariff-card h2 { font-size:1.1rem; }
body.ui-new .tariff-card .subtitle { font-size:13px; min-height:38px; }
body.ui-new .price { margin:8px 0 10px; }
body.ui-new .price strong { font-size:1.45rem; letter-spacing:-.02em; }
body.ui-new .price span { font-size:12px; }
body.ui-new .tariff-card ul { margin-bottom:12px; font-size:13px; }
body.ui-new .tariff-card li { margin:6px 0; padding-left:18px; }
body.ui-new .tariff-card details { font-size:13px; }
body.ui-new .tariff-card form { margin-top:auto; padding-top:12px; }
body.ui-new .tariff-card .field select { font-size:12.5px; padding:0 4px; width:100%; }
body.ui-new .tariff-card .button { padding:0 6px; font-size:13px; }
@media (max-width:1120px) { body.ui-new .tariff-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:760px)  { body.ui-new .tariff-grid { grid-template-columns:1fr; } }

/* веб-кабинет: меню слева, площадки строкой, цифры карточками */
body.ui-new .account-heading { margin-bottom:14px; align-items:center; }
body.ui-new .account-heading h1 { margin:0; }
body.ui-new .account-heading .lead { display:none; }
body.ui-new .cabinet-owner { margin:6px 0 0; font-size:14px; color:var(--text); }
body.ui-new .cabinet-pick { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; font-size:13.5px; font-weight:600; }
body.ui-new .cabinet-pick select { min-height:36px; max-width:100%; padding:0 8px; border:1px solid #c9c6f3; border-radius:10px; background:#fff; color:var(--text); font:500 13.5px/1.2 inherit; }
body.ui-new .account-heading > div { min-width:0; max-width:100%; }

/* графики на «Главной» компактной сеткой, как в MarketPilot */
body.ui-new .moon-chart-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; margin:0 0 14px; }
body.ui-new .moon-chart-card { padding:14px 16px; }
body.ui-new .moon-chart-card .account-card-head { margin-bottom:8px; }
body.ui-new .moon-chart-card h2 { font-size:1rem; margin:0; }
body.ui-new .moon-chart-svg { max-height:180px; }
body.ui-new .moon-chart-legend { margin-top:8px; gap:4px; }
body.ui-new .moon-chart-legend li { font-size:12.5px; gap:7px; }
body.ui-new .moon-chart-legend i { width:10px; height:10px; box-shadow:none; }
body.ui-new .moon-chart-wide .moon-chart-legend { grid-template-columns:repeat(2, minmax(0,1fr)); column-gap:18px; }
@media (max-width:620px) { body.ui-new .moon-chart-grid, body.ui-new .moon-chart-wide .moon-chart-legend { grid-template-columns:1fr; } }
body.ui-new .analytics-workspace { display:block; position:relative; padding-left:226px; min-height:660px; }
body.ui-new .analytics-workspace-main { display:block; min-width:0; }
body.ui-new .analytics-workspace .portal-section-nav { position:absolute; left:0; top:0; width:208px; display:flex !important; flex-direction:column; flex-wrap:nowrap !important; gap:2px !important; margin:0 !important; padding:8px; background:#fff; border:1px solid var(--line); border-radius:14px; }
body.ui-new .analytics-workspace .portal-section-nav .button { justify-content:flex-start; min-height:34px; border:0; background:transparent; color:#3a4258; font-weight:500; font-size:13.5px; padding:0 10px; }
body.ui-new .analytics-workspace .portal-section-nav .button:hover { background:#f1f2fb; }
body.ui-new .analytics-workspace .portal-section-nav .button-primary { background:#eeedfe; color:#3c3489; font-weight:600; }
body.ui-new .analytics-platform-sidebar { position:static; width:auto; margin:0 0 14px; }
body.ui-new .analytics-platform-sidebar form { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:none; }
body.ui-new .analytics-platform-sidebar form > .eyebrow, body.ui-new .analytics-platform-sidebar form > .muted { display:none; }
body.ui-new .analytics-platform-sidebar h2 { font-size:13px; font-weight:600; color:var(--text); margin:0 4px 0 0; }
body.ui-new .platform-choice span, body.ui-new .platform-choice-all span { padding:6px 12px 6px 32px; background:#fff; color:var(--text); border:1px solid var(--line); border-radius:9px; font-size:13px; font-weight:500; box-shadow:none; }
body.ui-new .platform-choice span::before { left:10px; width:14px; height:14px; border:1.5px solid #9aa3bd; border-radius:4px; box-shadow:none; background:#fff; }
body.ui-new .platform-choice input:checked + span { background:#eeedfe; border-color:#cecbf6; color:#26215c; box-shadow:none; }
body.ui-new .platform-choice input:checked + span::before { border-color:var(--primary); background:var(--primary); box-shadow:inset 0 0 0 2px #fff; }
body.ui-new .platform-choice input:focus-visible + span { outline:2px solid var(--primary); outline-offset:1px; }
body.ui-new .analytics-platform-sidebar .button { min-height:32px; margin:0 0 0 auto; width:auto; }

/* тёмные блоки страниц услуг делаем светлыми */
body.ui-new :is(.visual-story-section, .analytics-control-section) { background:#fff; color:var(--text); }
body.ui-new :is(.visual-story-section, .analytics-control-section) :is(h2, h3, strong, li) { color:var(--text); }
body.ui-new :is(.visual-story-section, .analytics-control-section) :is(p, small, .lead) { color:var(--muted); }
body.ui-new :is(.visual-story-section, .analytics-control-section) .eyebrow { color:var(--primary); }
body.ui-new .visual-story-steps article { padding:12px; background:#fbfbfe; border:1px solid var(--line); border-radius:12px; }
body.ui-new :is(.visual-story-media, .analytics-control-media) { border-radius:14px; box-shadow:none; border:1px solid var(--line); min-height:0; }
body.ui-new .visual-story-media img, body.ui-new .analytics-control-media img { min-height:0; max-height:440px; }
body.ui-new .analytics-control-media :is(strong, span, small, p) { color:#fff; }
body.ui-new :is(.shop-gallery-section, .dark-panel) { background:#fff; color:var(--text); }
body.ui-new :is(.shop-gallery-section, .dark-panel) :is(h2, h3, strong, li) { color:var(--text); }
body.ui-new :is(.shop-gallery-section, .dark-panel) :is(p, small, .lead) { color:var(--muted); }
body.ui-new .shop-gallery-section .eyebrow { color:var(--primary); }
body.ui-new .shop-visual-gallery { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
body.ui-new .shop-visual-card { grid-column:auto; grid-row:auto; display:block; min-height:0; height:auto; border:1px solid var(--line); border-radius:14px; box-shadow:none; background:#fff; }
body.ui-new .shop-visual-card::before, body.ui-new .shop-visual-card::after { display:none; }
body.ui-new .shop-visual-card img { position:static; width:100%; height:200px; min-height:0; object-fit:cover; }
body.ui-new .shop-visual-copy { position:static; padding:12px 14px; background:#fff; }
@media (max-width:760px) { body.ui-new .shop-visual-gallery { grid-template-columns:1fr; } }
body.ui-new .account-stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px,1fr)); gap:12px; margin:0 0 16px; }
body.ui-new .account-stats article { min-height:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; box-shadow:none; }
body.ui-new .account-stats span { display:block; font-size:12.5px; color:var(--muted); }
body.ui-new .account-stats strong { display:block; font-size:1.45rem; margin-top:4px; letter-spacing:-.01em; white-space:nowrap; }
body.ui-new .account-stats article.is-negative strong { color:#c01f2f; }
body.ui-new .alert { border-radius:10px; font-size:14px; }
body.ui-new .admin-table-wrap { border-radius:12px; }
body.ui-new :is(.admin-table, table) { font-size:13.5px; }
@media (max-width:900px) {
  body.ui-new .analytics-workspace { padding-left:0; min-height:0; }
  body.ui-new .analytics-workspace .portal-section-nav { position:static; width:auto; flex-direction:row; overflow-x:auto; margin:0 0 14px !important; }
  body.ui-new .analytics-workspace .portal-section-nav .button { flex:0 0 auto; white-space:nowrap; }
  body.ui-new .account-stats { grid-template-columns:repeat(2, minmax(0,1fr)); }
  body.ui-new .account-stats strong { font-size:1.15rem; }
}
/* средняя ширина (планшет, узкое окно): все разделы видны сразу, цифры в один ряд */
@media (min-width:621px) and (max-width:900px) {
  body.ui-new .analytics-workspace .portal-section-nav { flex-wrap:wrap !important; overflow:visible; }
  body.ui-new .analytics-workspace .portal-section-nav .button { min-height:30px; padding:0 8px; font-size:13px; }
  body.ui-new .account-stats { grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px; }
  body.ui-new .account-stats article { padding:10px; }
  body.ui-new .account-stats span { font-size:11.5px; }
  body.ui-new .account-stats strong { font-size:1rem; }
}
body.ui-new .cabinet-pick select { flex:1 1 240px; max-width:520px; }

/* выбор периода */
body.ui-new .period-bar { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:0 0 8px; padding:8px; background:#fff; border:1px solid var(--line); border-radius:14px; }
body.ui-new .period-bar .button { min-height:30px; padding:0 10px; font-size:12.5px; }
body.ui-new .period-bar form { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:0; font-size:12.5px; }
body.ui-new .period-bar label { display:inline-flex; gap:4px; align-items:center; margin:0; }
body.ui-new .period-bar input[type=date] { min-height:30px; padding:0 6px; border:1px solid var(--line); border-radius:8px; font-size:12.5px; background:#fff; }
body.ui-new .period-note { margin:0 0 8px; font-size:12.5px; color:var(--muted); }
body.ui-new .moon-chart-note { margin:6px 0 0; font-size:11.5px; }

/* вход, регистрация, документы, контакты */
body.ui-new .auth-layout { gap:24px; align-items:start; }
body.ui-new .field input:not([type=checkbox]):not([type=radio]), body.ui-new .field select, body.ui-new .field textarea { min-height:40px; border-radius:10px; font-size:14px; }
body.ui-new .field input[type=checkbox], body.ui-new .field input[type=radio], body.ui-new label > input[type=checkbox], body.ui-new label > input[type=radio] { width:16px; height:16px; min-height:0; padding:0; margin:0; flex:0 0 auto; accent-color:var(--primary); }
body.ui-new .platform-choice input { width:1px; height:1px; }
body.ui-new fieldset.field { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; padding:8px 12px; border:1px solid var(--line); border-radius:10px; }
body.ui-new fieldset.field label { display:inline-flex; align-items:center; gap:7px; margin:0; }
body.ui-new .legal { max-width:820px; }
body.ui-new .legal h1 { font-size:1.9rem; }
body.ui-new .legal h2 { font-size:1.15rem; margin-top:24px; }
