/* VIP и работа с планом · стиль «Чертёж», те же токены, что у бесплатного калькулятора (web/app.css). */
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/onest-cyrillic-400-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/onest-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/onest-cyrillic-500-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/onest-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/onest-cyrillic-600-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/onest-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/onest-cyrillic-700-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/onest-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/unbounded-cyrillic-600-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/unbounded-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/unbounded-cyrillic-700-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/unbounded-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/jetbrains-mono-cyrillic-400-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/jetbrains-mono-cyrillic-500-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/jetbrains-mono-cyrillic-600-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Caveat";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/caveat-cyrillic-700-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Caveat";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/caveat-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --paper: #f7f7f4;
  --sheet: #ffffff;
  --ink: #1c2b4a;
  --ink2: #5c6780;
  --line: #d3d8e2;
  --grid: #e6e8ec;
  --blue: #2450c8;
  --blue-bg: #e7edfc;
  --red: #d6402c;
  --ok: #1f8a57;
  --warn: #a9650b;
  --on-ink: #ffffff;
  --oak: #e58a2b;
  --oak-bg: #fce9d3;
  --wall: #2f8fe0;
  --wall-bg: #dceefc;
  --sun: #f4c21f;
  --sun-bg: #fdf2c7;
  --leaf: #2fa36b;
  --leaf-bg: #d8f1e3;
  --hl: #ffe24a;
  --hl-ink: #1c2b4a;
  --note: #ffef9e;
  --note-ink: #3a3320;
  --f-ui: "Onest",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --f-head: "Unbounded","Onest",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono: "JetBrains Mono",ui-monospace,"SF Mono","Cascadia Mono","Roboto Mono",Menlo,Consolas,monospace;
  --f-hand: "Caveat","Segoe Print","Bradley Hand",cursive;
  --r: 6px;
  --r-l: 8px;
  --lift: 3px 3px 0 var(--ink);
  --shadow: none;
  font: 14px/1.45 var(--f-ui);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
}
header {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding: 14px 24px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
header a {
  color: var(--blue);
}
header::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -6px;
  width: 72px;
  height: 2px;
  background: var(--red);
  transform-origin: left;
}
header strong {
  letter-spacing: 0.14em;
  margin-right: auto;
}
header span {
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
main {
  max-width: 1600px;
  margin: auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  padding: 20px 24px 64px;
}
h1 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
}
h2 {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 18px 0 10px;
}
section > h2:first-child {
  margin: -18px -18px 14px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
}
h3 {
  font-size: 14px;
  margin: 12px 0 8px;
}
p {
  margin: 8px 0 12px;
}
section {
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--sheet);
  margin-bottom: 16px;
}
.small {
  font-size: 12px;
  color: var(--ink2);
}
label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
  margin: 10px 0;
}
label input,
label select,
label textarea {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f-ui);
  color: var(--ink);
  margin-top: 4px;
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 7px 2px;
  font: inherit;
  font-size: 15px;
  color: inherit;
  background: transparent;
  min-width: 0;
  border-radius: 0;
}
input[type="range"] {
  border: 0;
  accent-color: var(--ink);
}
button,
.file {
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  margin: 8px 0;
}
button:hover:not(:disabled),
.file:hover {
  background: #2a3d63;
  box-shadow: 3px 3px 0 var(--ink2);
  transform: translate(-1px, -1px);
}
button:active:not(:disabled),
.file:active {
  box-shadow: none;
  transform: translate(1px, 1px);
}
button:disabled {
  background: var(--sheet);
  color: var(--ink2);
  border: 1px dashed var(--line);
  cursor: not-allowed;
}
.secondary,
.file.secondary {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--ink);
}
.secondary:hover:not(:disabled),
.file.secondary:hover {
  background: var(--blue-bg);
}
label.file {
  font-family: var(--f-ui);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-ink);
}
label.file.secondary {
  color: var(--ink);
}
.file input[type="file"] {
  display: none;
}
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: var(--f-ui);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--ink);
}
.row {
  display: flex;
  gap: 8px;
}
.row > * {
  flex: 1;
  min-width: 0;
}
article {
  min-width: 0;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  background: var(--sheet);
  border: 1px solid var(--ink);
  padding: 4px 14px 8px;
}
.toolbar label {
  width: 110px;
}
.toolbar label:first-child {
  width: 85px;
}
#viewport {
  height: 590px;
  overflow: auto;
  background-color: #fff;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--ink);
}
#stage {
  display: block;
  width: 100%;
  min-height: 100%;
  touch-action: none;
  user-select: none;
}
#stage circle {
  cursor: grab;
}
#message {
  padding: 10px 14px;
  background: var(--blue-bg);
  border-left: 3px solid var(--blue);
  margin: 12px 0;
}
/* Подсказка «что сделать сейчас»: одна строка над чертежом. */
.next {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 14px;
  margin: 12px 0 0;
  border: 1px solid var(--ink);
  background: var(--sheet);
}
.next b {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.steps {
  display: flex;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink);
  background: var(--sheet);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.steps li {
  flex: 1;
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  color: var(--ink2);
}
.steps li:last-child {
  border-right: 0;
}
.steps li.on {
  background: var(--ink);
  color: var(--on-ink);
}
.next span {
  display: inline-block;
}
.steps li.done {
  color: var(--ok);
}
.steps li.done::before {
  content: "✓ ";
}
#problems:empty {
  display: none;
}
#problems {
  background: #fff0e8;
  border-left: 3px solid var(--red);
  padding: 12px;
  margin: 12px 0;
  font-size: 13px;
}
#result {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}
#result strong {
  display: block;
  font-size: 26px;
}
.review {
  margin-top: 20px;
}
.status-ok {
  color: var(--ok);
}
#dimensions button {
  font-size: 12px;
}
:focus-visible {
  outline: 2px dashed var(--blue);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
/* Экран входа VIP. */
.vip-main {
  display: block;
  max-width: 640px;
  margin: auto;
}
.vip-main section {
  margin-top: 20px;
}
.vip-how {
  margin: 14px 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
  border-top: 1px solid var(--line);
}
.vip-how li {
  counter-increment: how;
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.vip-how li::before {
  content: counter(how, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--blue);
  padding-top: 1px;
}
#status:empty {
  display: none;
}
#status {
  padding: 10px 14px;
  background: var(--blue-bg);
  border-left: 3px solid var(--blue);
}
@media (max-width: 850px) {
  main {
    grid-template-columns: 1fr;
    padding: 12px 16px 48px;
  }
  aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  aside section {
    margin: 0;
  }
  #viewport {
    height: 460px;
  }
  header {
    padding: 12px 16px;
  }
  .row {
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  aside {
    display: block;
  }
  aside section {
    margin-bottom: 12px;
  }
  .toolbar label {
    width: calc(33% - 10px);
  }
  #viewport {
    height: 380px;
  }
  .steps {
    flex-wrap: wrap;
  }
  .steps li {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--line);
  }
}
/* Customer snapshot controls use the editor's existing typography and palette. */
#share-frame { width: 100%; height: 620px; border: 1px solid var(--ink); background: white; }
#share-message { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; resize: vertical; border: 1px solid var(--line); }
.share-history-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.share-history-row span { display: block; margin-bottom: 6px; }
#sharing a { overflow-wrap: anywhere; }
#sharing [hidden] { display: none; }

/* Движение: только если система не просит его убрать. */
@media (prefers-reduced-motion: no-preference) {
  button,
  .file,
  .steps li,
  input,
  select,
  summary {
    transition:
      background-color 0.15s,
      color 0.15s,
      border-color 0.15s,
      box-shadow 0.15s,
      transform 0.15s;
  }
  header::after {
    animation: draw 0.6s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  @keyframes draw {
    from {
      transform: scaleX(0);
    }
  }
  aside > section,
  article > *,
  .vip-main > section {
    animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  aside > section:nth-child(2),
  article > :nth-child(2) {
    animation-delay: 0.06s;
  }
  aside > section:nth-child(3),
  article > :nth-child(3) {
    animation-delay: 0.12s;
  }
  aside > section:nth-child(n + 4),
  article > :nth-child(n + 4) {
    animation-delay: 0.18s;
  }
  .vip-how li {
    animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .vip-how li:nth-child(2) { animation-delay: 0.08s; }
  .vip-how li:nth-child(3) { animation-delay: 0.16s; }
  .vip-how li:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
  /* Строка «Сейчас» мягко обновляется, когда меняется шаг. */
  .next span.flash {
    animation: flash 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes flash {
    from {
      opacity: 0;
      transform: translateX(-6px);
    }
  }
  #message {
    animation: rise 0.25s ease-out;
  }
  #result strong {
    animation: tick 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes tick {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
  }
  #stage circle {
    transition: r 0.15s;
  }
}

/* ---------- Раскладно · «Цветные карандаши» поверх «Чертежа» (план, подбор по фото, кабинет) ----------
   Лист в клетку, тонкая тушь, метки и тень-сдвиг остаются. Сверху: цвет по слоям комнаты,
   жёлтый маркер на главном, обычные подписи вместо заглавных, стикер от руки там, где нужна поддержка. */
:root {
  font-size: 15px;
  line-height: 1.5;
}
h1,
h2,
h3,
header strong {
  font-family: var(--f-head);
}
header {
  background: var(--sheet);
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: 0;
}
header a {
  text-decoration: none;
  font-weight: 500;
}
header a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
header strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
header span {
  text-transform: none;
  letter-spacing: 0;
}
h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2,
label,
summary,
.steps,
.next b {
  font-family: var(--f-ui);
  text-transform: none;
  letter-spacing: 0;
}
h2 {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 600;
}
label {
  font-size: 13px;
  font-weight: 500;
}
summary {
  font-size: 14px;
  font-weight: 500;
}
section,
.toolbar,
#viewport,
.next,
.steps {
  border-radius: var(--r-l);
}
section {
  position: relative;
}
section > h2:first-child {
  border-top-left-radius: var(--r-l);
  border-top-right-radius: var(--r-l);
}
.steps {
  overflow: clip;
  font-size: 13px;
}
.steps li.on {
  background: var(--oak-bg);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--oak);
}
.steps li.done::before {
  color: var(--leaf);
}
.next b {
  font-size: 13px;
}
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
  font-size: 16px;
}
input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
  outline: none;
}
button,
.file {
  border-radius: var(--r);
  font-weight: 500;
}
button:hover:not(:disabled),
.file:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--lift);
  transform: translate(-2px, -2px);
}
button:disabled {
  border-radius: var(--r);
}
.secondary,
.file.secondary {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--ink);
}
.secondary:hover:not(:disabled),
.file.secondary:hover {
  background: var(--blue-bg);
  border-color: var(--ink);
  color: var(--ink);
}
#message,
#status,
#problems {
  border-radius: var(--r);
}
.check input,
input[type="range"] {
  accent-color: var(--blue);
}
.small {
  font-size: 13px;
}
#result {
  font-family: var(--f-ui);
}
#result strong {
  font-family: var(--f-mono);
  text-decoration: underline wavy var(--oak);
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
  text-decoration-skip-ink: none;
}
/* Маркер, как на главной. */
.hl {
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 100% 46%;
  color: var(--hl-ink);
  padding: 0 0.08em;
  margin: 0 -0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Кабинет: приветствие, что внутри, вход. */
.vip-main {
  max-width: 680px;
}
.vip-hero {
  padding: 26px 26px 24px;
}
.vip-hero h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.vip-hero p {
  font-size: 16px;
  margin: 0;
  max-width: 48ch;
  color: var(--ink2);
}
.vip-how {
  border-top: 0;
  display: grid;
  gap: 10px;
}
.vip-how li {
  border: 0;
  padding: 0;
  align-items: flex-start;
  font-size: 15px;
}
.vip-how li::before {
  content: counter(how);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--wall);
  background: var(--wall-bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
  padding: 0;
}
.vip-how li:nth-child(2)::before {
  border-color: var(--oak);
  background: var(--oak-bg);
}
.vip-how li:nth-child(3)::before {
  border-color: var(--leaf);
  background: var(--leaf-bg);
}
.vip-how b {
  display: block;
}
.vip-perks {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.vip-perks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  --dot: var(--wall);
  --dot-bg: var(--wall-bg);
}
.vip-perks li:nth-child(2) {
  --dot: var(--oak);
  --dot-bg: var(--oak-bg);
}
.vip-perks li:nth-child(3) {
  --dot: var(--sun);
  --dot-bg: var(--sun-bg);
}
.vip-perks li:nth-child(4) {
  --dot: var(--leaf);
  --dot-bg: var(--leaf-bg);
}
.vip-perks li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--dot);
  background: var(--dot-bg);
}
.vip-perks b {
  display: block;
}
.vip-main details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 14px;
}
.vip-main summary {
  color: var(--blue);
}
@media (max-width: 560px) {
  .vip-hero h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .vip-hero .hl {
    animation: mark 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
  }
  @keyframes mark {
    from {
      background-size: 0% 46%;
    }
  }
}

/* ---------- Пошаговый сценарий: что сделать сейчас ----------
   Полоса шагов и строка «Сейчас» стоят вплотную над планом (настройки раскладки ушли под него),
   активный блок слева обведён дубом, будущие приглушены, главная кнопка шага залита,
   на самом плане короткая подсказка. */
.guide .steps {
  margin-top: 0;
}
.guide .next {
  margin-top: 8px;
  border-width: 2px;
  font-size: 15px;
}
.plan-wrap {
  position: relative;
}
.plan-wrap + .toolbar {
  margin-top: 12px;
}
#plan-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 24px);
  pointer-events: none;
}
#plan-bar[hidden],
#plan-bar [hidden] {
  display: none;
}
#plan-hint {
  margin: 0;
  padding: 4px 14px 6px;
  border: 2px solid var(--oak);
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: var(--lift);
  font-family: var(--f-hand);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}
.plan-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.plan-actions button {
  width: auto;
  margin: 0;
  padding: 9px 16px;
  pointer-events: auto;
}
.plan-actions button:not(.secondary):not(:disabled) {
  background: var(--oak);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--lift);
}
#viewport.picking #stage {
  cursor: crosshair;
}
.way {
  margin: 14px 0 4px;
  font-weight: 600;
  font-size: 13px;
}
[data-step] {
  transition: opacity 0.2s, box-shadow 0.2s;
}
[data-step].on {
  border: 2px solid var(--oak);
  box-shadow: var(--lift);
}
[data-step].on > h2:first-child {
  background: var(--oak-bg);
}
[data-step].later {
  opacity: 0.55;
}
[data-step].later:hover,
[data-step].later:focus-within {
  opacity: 1;
}
button.go,
.file.go {
  background: var(--oak);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--lift);
}
button.go:hover:not(:disabled),
.file.go:hover {
  background: var(--oak);
  border-color: var(--ink);
  color: var(--ink);
}
label.file.go {
  color: var(--ink);
}
/* ИИ выключен: блок сжимается в одну строку и не спорит с шагами. */
#ai-box.off {
  padding-bottom: 6px;
  opacity: 0.7;
}
#ai-box.off > h2:first-child {
  font-size: 13px;
  margin-bottom: 6px;
}
#ai-box.off #service {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  button.go,
  .file.go {
    animation: nudge 1.6s ease-in-out 0.4s 2;
  }
  @keyframes nudge {
    50% {
      box-shadow: 0 0 0 5px var(--oak-bg), var(--lift);
    }
  }
}

.vip-main{display:block;max-width:620px;margin:auto}.vip-main section{margin-top:24px}