:root {
  --surface-raised:#f8fafc;
  --surface-soft:#f1f5f8;
  --surface-hover:#e2ebf3;
  --surface-accent:#eef6ff;
  --table-head:#eaf2fa;
  --tint-hover:#d6eaff;
  --line-strong:#cbd6df;
  --line-accent:#9abfe0;
  --focus:#0068c4;
  --link-strong:#174f7c;
  --selected:#20354a;
  --on-selected:#fff;
  --hero-start:#edf6ff;
  --hero-end:#dceafa;
  --positive:#17613b;
  --positive-bg:#eaf6ef;
  --positive-line:#b6d7c4;
  --warning:#725323;
  --warning-bg:#fff5e6;
  --warning-line:#e6d6b2;
  --negative:#873a23;
  --negative-bg:#fff1e8;
  --violet:#6747a5;
  --violet-bg:#f1eafe;
  --header-shadow:0 6px 17px #182d4815;
}

@media screen {
  :root[data-theme="dark"] {
    color-scheme:dark;
    --ground:#101722;
    --paper:#171f2c;
    --ink:#edf3fb;
    --muted:#b2bfd0;
    --subtle:#a3b2c7;
    --line:#2c3a4c;
    --soft-line:#273446;
    --surface-raised:#1a2636;
    --surface-soft:#202d3e;
    --surface-hover:#2a3b50;
    --surface-accent:#1b2b40;
    --table-head:#22334a;
    --tint:#223955;
    --tint-hover:#2b4668;
    --line-strong:#4a5e77;
    --line-accent:#597da5;
    --blue:#8cc7ff;
    --link-strong:#add6ff;
    --action:#236ac0;
    --action-hover:#1b5ba9;
    --focus:#a6d4ff;
    --selected:#b8d7f7;
    --on-selected:#192638;
    --hero-start:#1b2b42;
    --hero-end:#233a55;
    --positive:#9be0ba;
    --positive-bg:#20392f;
    --positive-line:#3b6452;
    --warning:#f1ce92;
    --warning-bg:#3a3024;
    --warning-line:#695538;
    --negative:#ffc1a6;
    --negative-bg:#412d2a;
    --violet:#d7c3ff;
    --violet-bg:#332b49;
    --shadow:0 2px 5px #070b123b;
    --header-shadow:0 8px 22px #070b1266;
  }

  [data-theme="dark"] .tone-oplata { --wash:#29233d; --pale:#463963; }
  [data-theme="dark"] .tone-karty { --wash:#20344a; --pale:#354d6a; }
  [data-theme="dark"] .tone-sravneniya { --wash:#1e3640; --pale:#315863; }
  [data-theme="dark"] .tone-poezdki { --wash:#20372e; --pale:#355749; }
  [data-theme="dark"] .tone-esim { --wash:#2c263e; --pale:#4a3e62; }
  [data-theme="dark"] .tone-biznes { --wash:#252f41; --pale:#3e4d64; }
  [data-theme="dark"] .tone-guides { --wash:#392e23; --pale:#594638; }
  [data-theme="dark"] .tone-spravka { --wash:#1f3734; --pale:#365954; }
  [data-theme="dark"] .tone-faily { --wash:#232f43; --pale:#3a4e66; }

  [data-theme="dark"] .product-stage {
    background:linear-gradient(135deg,var(--surface-raised),color-mix(in srgb,var(--stage-tone) 13%,var(--paper)));
  }

  [data-theme="dark"] .product-stage::before { opacity:.22; }

  .theme-changing :is(body,.offer,.panel,.top-panel,.search-field,.select,.footer,.theme-toggle,.coupon-copy) {
    transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
  }
}
