/* dp.mylinks.bar — версия 2.
   Правило интерфейса: никаких рамок вокруг рамок. Иерархия — типографикой,
   отступами и одной линией-разделителем там, где правда нужно.
   Иконки — монолинии: маска по силуэту бренда, цвет наследуется. */

@font-face {
  font-family: 'ManropeLocal';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'ManropeLocal';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'ManropeLocal';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'ManropeLocal';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'ManropeLocal';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

:root {
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --ink: #edf1f6;
  --ink-2: #a8b3c1;
  --ink-3: #6f7a88;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #8ab4f8;
  --accent-ink: #0a1520;
  --danger: #ff9a9a;
  --ok: #86d9ae;
  --warn: #e6c07b;
  --rail: 56px;
  --topbar: 52px;
  --panel: 336px;
  font-family: 'ManropeLocal', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

svg { width: 16px; height: 16px; flex: 0 0 auto; display: block; }

/* монолиния: силуэт бренда как маска, цвет — от родителя */
.mi {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.app {
  display: grid;
  grid-template-columns: var(--rail) 1fr var(--panel);
  grid-template-rows: var(--topbar) 1fr;
  height: 100vh;
  height: 100dvh;
}

/* ── верхняя строка ─────────────────────────────────────── */

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.brand svg { width: 17px; height: 17px; }

.topbar__path {
  font-size: 12.5px;
  color: var(--ink-3);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.topbar__spacer { flex: 1; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-3);
}
.status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
}
.status[data-dirty='true']::before { background: var(--warn); }

.viewswitch {
  display: flex;
  gap: 2px;
}
.viewswitch button {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.viewswitch button:hover { color: var(--ink-2); }
.viewswitch button[aria-pressed='true'] { color: var(--ink); background: rgba(255, 255, 255, 0.07); }

.btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.btn--primary {
  background: var(--ink);
  color: #0a0b0d;
}
.btn--primary:hover { background: #fff; color: #0a0b0d; }
.btn--ghost { color: var(--ink-3); }
.btn--danger { color: var(--danger); }
.btn--danger:hover { background: rgba(255, 154, 154, 0.08); }
.btn--sm { height: 26px; padding: 0 8px; font-size: 11.5px; border-radius: 6px; }
.btn:disabled { opacity: 0.45; cursor: default; }

/* ── рейл ───────────────────────────────────────────────── */

.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 0;
  border-right: 1px solid var(--line);
}
.rail button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--ink-3);
  display: grid;
  place-items: center;
}
.rail button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.rail button[aria-current='true'] { color: var(--ink); }
.rail button svg { width: 18px; height: 18px; }
.rail__spacer { flex: 1; }
.rail__user {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-2);
}

/* ── холст ──────────────────────────────────────────────── */

.canvas {
  position: relative;
  overflow: auto;
  display: grid;
  place-items: start center;
  padding: 40px 24px 64px;
}

.stage { display: grid; place-items: start center; width: 100%; }

/* Страница без «телефона»: лист на фоне, тень вместо корпуса */
.device {
  position: relative;
  width: 400px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b0e13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: width 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.device[data-view='desktop'] { width: min(820px, 100%); }
.device__notch { display: none; }

.device__screen {
  position: relative;
  height: 700px;
  overflow: hidden;
}
.device[data-view='desktop'] .device__screen { height: 660px; }

/* страница профиля */
.page {
  --page-bg: #0b0e13;
  --page-glow: rgba(138, 180, 248, 0.1);
  position: relative;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 54px 30px 44px;
  background: var(--page-bg);
  transition: background 240ms ease;
}
.page::-webkit-scrollbar { display: none; }
.device[data-view='desktop'] .page { padding: 64px 48px 52px; }

.page::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 260px;
  background: radial-gradient(70% 100% at 50% 0%, var(--page-glow), transparent 72%);
  pointer-events: none;
}

.page__inner {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* аватар */
.avatar {
  width: var(--avatar-size, 88px);
  height: var(--avatar-size, 88px);
  border-radius: var(--avatar-radius, 50%);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  transition: width 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
              height 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
              border-radius 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__letter { font-size: 30px; font-weight: 700; color: #dbe5f0; }

/* имя */
.identity { text-align: center; display: grid; gap: 7px; }
.identity h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--name-color, #f5f8fc);
}
.identity__handle {
  font-size: 12.5px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.identity__handle svg { width: 12px; height: 12px; }
.identity__bio {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 32ch;
}

/* контакты — просто строка текста, без пилюль */
.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.contact-item { display: inline-flex; align-items: baseline; gap: 6px; }
.monobadge {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.contact-item b { font-weight: 400; color: var(--ink-2); }

/* акцентные — монолинии, ровный ряд, без плашек */
.accents {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
  color: var(--ink-2);
  padding: 2px 0;
}
.accent {
  color: inherit;
  display: grid;
  place-items: center;
  height: 34px;
  transition: color 140ms ease, transform 160ms ease;
}
.accent .mi { width: 21px; height: 21px; }
.accent:hover { color: var(--ink); transform: translateY(-1px); }
.accent__letter { font-size: 15px; font-weight: 700; color: inherit; }

/* ссылки — строки с одной линией, без карточек */
.list { width: 100%; display: grid; }
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 6px 2px;
  width: 100%;
  text-align: left;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color 140ms ease, padding 160ms ease;
}
.row:last-child { border-bottom: 0; }
.row:hover { color: var(--ink); }
.row__icon { display: grid; place-items: center; width: 18px; height: 18px; color: inherit; }
.row__icon .mi { width: 17px; height: 17px; }
.row__label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row__chev { color: var(--ink-3); opacity: 0.7; }
.row__chev svg { width: 13px; height: 13px; }

/* плитки — колонки без рамок */
.tiles {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--tile-cols, 2), minmax(0, 1fr));
  gap: 0 26px;
}
.tile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 8px 2px;
  width: 100%;
  text-align: left;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color 140ms ease;
}
.tile:hover { color: var(--ink); }
.tile__icon { display: grid; place-items: center; width: 17px; height: 17px; }
.tile__icon .mi { width: 16px; height: 16px; }
.tile__text { min-width: 0; display: grid; gap: 1px; }
.tile__label {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile__host { display: none; }

.page__footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.22);
}
.page__mark { display: inline-flex; align-items: center; gap: 5px; }
.page__mark svg { width: 11px; height: 11px; }

/* зоны выбора — тонкий контур, без заливки */
.zone {
  position: relative;
  border-radius: 12px;
  outline: 1px dashed transparent;
  outline-offset: 7px;
  cursor: pointer;
  transition: outline-color 120ms ease;
}
.zone:hover { outline-color: rgba(255, 255, 255, 0.18); }
.zone[data-selected='true'] { outline: 1px solid var(--accent); }
.zone[data-selected='true']::after {
  content: attr(data-label);
  position: absolute;
  top: -25px;
  left: -2px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

/* ── инспектор ──────────────────────────────────────────── */

.inspector {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.inspector__head {
  padding: 20px 22px 14px;
  display: grid;
  gap: 3px;
}
.inspector__title { font-size: 13.5px; font-weight: 700; }
.inspector__sub { font-size: 11.5px; color: var(--ink-3); }

.inspector__body {
  padding: 4px 22px 32px;
  overflow-y: auto;
  display: grid;
  gap: 22px;
  align-content: start;
}

.field { display: grid; gap: 8px; }
.field > label { font-size: 11.5px; color: var(--ink-3); }

.input, .select, .textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  color: var(--ink);
  transition: background 120ms ease, box-shadow 120ms ease;
}
.input:hover, .textarea:hover, .select:hover { background: rgba(255, 255, 255, 0.07); }
.input:focus, .textarea:focus, .select:focus {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 1.5px var(--accent);
  outline: none;
}
.textarea { resize: vertical; min-height: 70px; line-height: 1.5; }

.segmented { display: flex; gap: 2px; }
.segmented button {
  flex: 1;
  height: 28px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.segmented button:hover { color: var(--ink-2); }
.segmented button[aria-pressed='true'] { background: rgba(255, 255, 255, 0.09); color: var(--ink); }

.shapes { display: flex; gap: 6px; }
.shape {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  display: grid;
  place-items: center;
}
.shape:hover { background: rgba(255, 255, 255, 0.08); }
.shape[aria-pressed='true'] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.shape i { display: block; width: 18px; height: 18px; background: var(--ink-2); }
.shape--circle i { border-radius: 50%; }
.shape--squircle i { border-radius: 6px; }
.shape--square i { border-radius: 2px; }

.slider { display: grid; gap: 4px; }
.slider__row { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255, 255, 255, 0.12) var(--fill, 50%));
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--ink);
}

.swatches { display: flex; gap: 10px; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.swatch[aria-pressed='true'] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 0 2px var(--bg), 0 0 0 3px var(--accent); }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-3);
  padding-top: 6px;
}
.section-title span { font-size: 11px; color: rgba(255, 255, 255, 0.28); }

.item-list { display: grid; }
.item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 2px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.item:last-child { border-bottom: 0; }
.item:hover { color: var(--ink); }
.item[data-active='true'] { color: var(--ink); }
.item__icon { width: 18px; height: 18px; display: grid; place-items: center; color: inherit; }
.item__icon .mi { width: 16px; height: 16px; }
.item__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.item__label { font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__sub { font-size: 10.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__handle { color: rgba(255, 255, 255, 0.22); cursor: grab; display: grid; place-items: center; width: 16px; }
.item__handle svg { width: 14px; height: 14px; }
.item button.icon-btn {
  width: 24px; height: 24px; border-radius: 6px; color: var(--ink-3);
  display: grid; place-items: center; font-size: 12px;
}
.item button.icon-btn:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }

.hint {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.hint svg { width: 12px; height: 12px; margin-top: 2px; }
.hint[data-tone='warn'] { color: var(--warn); }
.hint[data-tone='ok'] { color: var(--ok); }

.icon-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
}
.icon-preview__box {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-2);
}
.icon-preview__box .mi { width: 20px; height: 20px; }

.switch { display: inline-flex; align-items: center; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
  width: 30px; height: 17px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  position: relative; transition: background 140ms ease;
}
.switch__track::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px;
  border-radius: 50%; background: #b7c2cf; transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.switch input:checked + .switch__track { background: rgba(138, 180, 248, 0.4); }
.switch input:checked + .switch__track::after { transform: translateX(13px); background: #eaf2ff; }

/* модалка библиотеки */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 8, 0.72);
}
.modal__card {
  width: min(520px, 100%);
  max-height: min(78vh, 620px);
  display: flex;
  flex-direction: column;
  background: #111318;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.modal__head { padding: 18px 18px 12px; display: grid; gap: 12px; }
.modal__title { font-size: 13px; font-weight: 700; }
.modal__grid {
  padding: 6px 16px 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 4px;
}
.icon-cell {
  aspect-ratio: 1;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}
.icon-cell:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.icon-cell .mi { width: 22px; height: 22px; }

/* ── мобильная раскладка ────────────────────────────────── */

.sheet { display: none; }
.tabbar { display: none; }

@media (max-width: 1080px) {
  .app { grid-template-columns: 1fr; grid-template-rows: var(--topbar) 1fr auto; }
  .rail, .inspector { display: none; }
  .canvas { padding: 18px 10px 26px; }
  .topbar { padding: 0 14px; gap: 10px; overflow: hidden; }
  .topbar__path, .topbar .status, .topbar .btn--ghost, .viewswitch { display: none; }
  .topbar .btn { padding: 0 10px; font-size: 12px; }
  body { overflow-x: hidden; }

  .device { width: 100%; max-width: 400px; border-radius: 18px; }
  .device__screen { height: min(660px, calc(100dvh - 210px)); }
  .page { padding: 40px 22px 36px; }
  .identity h1 { font-size: 27px; }

  .tabbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .tabbar button {
    height: 44px;
    display: grid;
    place-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--ink-3);
  }
  .tabbar button[aria-current='true'] { color: var(--ink); }
  .tabbar svg { width: 17px; height: 17px; }

  .sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    max-height: 72vh;
    background: #101216;
    border-radius: 16px 16px 0 0;
    transform: translateY(102%);
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.5);
  }
  .sheet[data-open='true'] { transform: translateY(0); }
  .sheet__grip { height: 20px; display: grid; place-items: center; }
  .sheet__grip::after { content: ''; width: 34px; height: 3px; border-radius: 2px; background: var(--line-2); }
  .sheet__head { padding: 0 22px 8px; display: flex; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── тост ───────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 14px);
  background: #1b1e24;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 80;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.toast[data-show='true'] { opacity: 1; transform: translate(-50%, 0); }

/* ── мастер ─────────────────────────────────────────────── */

.wizard {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 6, 8, 0.88);
  display: grid;
  place-items: center;
  padding: 20px;
}
.wizard__card {
  width: min(860px, 100%);
  height: min(540px, 92vh);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 1fr;
  background: #0f1115;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}
.wizard__left { padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; min-height: 0; }
.wizard__right {
  background: #0a0c10;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}
.wizard__steps { display: flex; gap: 5px; }
.wizard__steps i { height: 2px; flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.wizard__steps i[data-on='true'] { background: var(--accent); }
.wizard__eyebrow { font-size: 11px; color: var(--ink-3); }
.wizard__title { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; }
.wizard__text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.wizard__actions { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.wizard__preview { width: 380px; zoom: 0.72; }

@media (max-width: 780px) {
  .wizard__card { grid-template-columns: 1fr; height: auto; max-height: 92vh; overflow-y: auto; }
  .wizard__right { padding: 14px; }
  .wizard__preview { width: 320px; zoom: 0.62; }
}

