@import url('./fonts.css');
@import url('./brand.css?v=20261024');
/* ═══════════════════════════════════════════════════════════
   C.A.I. Flow — тёмные полноэкранные страницы входа,
   регистрации и мастера настройки (онбординга).
   Общие токены совпадают с landing.css.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #000000;
  --panel: #0d120f;
  --panel-2: #131a15;
  --ink: #ffffff;
  --ink-soft: #c6d1c9;
  --mut: #9aa8a0;
  --mut-l: #6f7d75;
  --acc: #a5e887;
  --acc-deep: #3f9d63;
  --acc-ink: #06251a;
  --amber: #e8a13c;
  --red: #ef8f7c;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --green-hi: #12482f;
  --green-lo: #06170f;
  --shadow-l: 0 26px 70px rgba(0, 0, 0, 0.6);
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body.flow {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--acc); color: #04140c; }

/* ── Фон: видео или анимированный градиент ───── */
.flow-bg {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.flow-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.9) contrast(1.05);
}
.flow-bg-anim {
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 42% 50% at 18% 82%, rgba(63, 157, 99, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 46% at 85% 16%, rgba(28, 92, 58, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 34% 40% at 78% 84%, rgba(90, 46, 224, 0.16) 0%, transparent 60%),
    #000;
  animation: bg-drift 22s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  0%   { transform: translate3d(-2%, -1.5%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.02); }
}
.flow-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 20%, transparent 78%);
}
.flow-bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0.55) 100%);
}

/* ── Верхняя панель ──────────────────────────── */
.flow-top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 3.5vw, 2.5rem);
}
.flow-logo {
  font-size: 1.25rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
}
.flow-top-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Кнопки ──────────────────────────────────── */
.fbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font); font-size: 0.92rem; font-weight: 600;
  padding: 0.62rem 1.25rem; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.fbtn-main { background: #fff; color: #000; }
.fbtn-main:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255, 255, 255, 0.16); }
.fbtn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
}
.fbtn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.09); }
.fbtn-big { font-size: 1.02rem; padding: 0.95rem 1.9rem; }
.fbtn-arrow { transition: transform 0.25s; }
.fbtn:hover .fbtn-arrow { transform: translateX(4px); }
.fbtn[disabled] { opacity: 0.45; pointer-events: none; }

/* ── Карточка авторизации ────────────────────── */
.auth-wrap {
  position: relative; z-index: 2;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 1.25rem 3rem;
}
.auth-card {
  width: min(440px, 100%);
  background: rgba(10, 15, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-l);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  animation: card-in 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.auth-card h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500; letter-spacing: -0.02em;
}
.auth-sub { margin: 0 0 1.5rem; color: var(--mut); font-size: 0.92rem; line-height: 1.5; }

.ffield { display: block; margin-bottom: 0.95rem; }
.ffield span {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mut);
}
.ffield input, .ffield select {
  width: 100%;
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  padding: 0.78rem 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.ffield input::placeholder { color: var(--mut-l); }
.ffield input:focus, .ffield select:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(165, 232, 135, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.ffield select option { background: #10150f; color: #fff; }

.auth-submit { width: 100%; margin-top: 0.5rem; }
.auth-aux {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.auth-aux .fbtn { flex: 1; min-width: 150px; }

.ferror {
  background: rgba(239, 143, 124, 0.1);
  border: 1px solid rgba(239, 143, 124, 0.35);
  color: #ffb5a6;
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
}

/* ═══════════════════════════════════════════════
   Мастер настройки (онбординг)
   ═══════════════════════════════════════════════ */
.ob-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20;
  background: rgba(255, 255, 255, 0.07);
}
.ob-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc));
  border-radius: 0 99px 99px 0;
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.ob-shell {
  position: relative; z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem) 3rem;
}
.ob-shell.ob-wide { grid-template-columns: 1fr; max-width: 1200px; }

.ob-panel { min-width: 0; animation: card-in 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); }
.ob-step-k {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--acc);
  margin: 0 0 0.9rem;
}
.ob-panel h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.08;
}
.ob-panel h1 em { font-style: normal; color: var(--mut); }
.ob-lead { margin: 0 0 1.7rem; color: var(--mut); font-size: 0.98rem; line-height: 1.6; max-width: 52ch; }

.ob-nav { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.7rem; flex-wrap: wrap; }
.ob-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--mut); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  padding: 0.6rem 0.9rem; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.ob-back:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

/* Большие кнопки-выборы (да/нет) */
.ob-yn { display: grid; gap: 0.8rem; }
.yn-btn {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; text-align: left;
  font-family: var(--font); color: var(--ink);
  background: rgba(13, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.yn-btn:hover {
  border-color: rgba(165, 232, 135, 0.55);
  background: rgba(165, 232, 135, 0.06);
  transform: translateY(-2px);
}
.yn-ico {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: rgba(165, 232, 135, 0.09);
  border: 1px solid rgba(165, 232, 135, 0.2);
}
.yn-btn > span:not(.yn-ico) { flex: 1; min-width: 0; }
.yn-btn b { display: block; font-size: 1.08rem; font-weight: 600; margin-bottom: 0.15rem; }
.yn-btn > span:not(.yn-ico) > span { display: block; color: var(--mut); font-size: 0.88rem; line-height: 1.45; }
.yn-ico svg { width: 26px; height: 26px; display: block; }
.yn-btn i.arr {
  margin-left: auto; font-style: normal; color: var(--mut-l);
  font-size: 1.2rem; transition: transform 0.2s, color 0.2s;
}
.yn-btn:hover i.arr { transform: translateX(4px); color: var(--acc); }

/* Пилюли-варианты (radio) */
.pill-q { margin-bottom: 1.5rem; }
.pill-q > b {
  display: block; font-size: 1.02rem; font-weight: 600; margin-bottom: 0.25rem;
}
.pill-q > span { display: block; color: var(--mut); font-size: 0.85rem; margin-bottom: 0.75rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  transition: all 0.18s;
}
.pill-opt label:hover { border-color: rgba(165, 232, 135, 0.5); color: var(--ink); }
.pill-opt input:checked + label {
  background: var(--acc); border-color: var(--acc);
  color: var(--acc-ink); font-weight: 600;
}
.pill-opt input:focus-visible + label { box-shadow: 0 0 0 3px rgba(165, 232, 135, 0.3); }

/* Карточки типа бизнеса */
.type-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.type-card { position: relative; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card label {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(13, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.type-card label:hover { border-color: rgba(165, 232, 135, 0.45); transform: translateY(-2px); }
.type-card input:checked + label {
  border-color: var(--acc);
  background: rgba(165, 232, 135, 0.08);
  box-shadow: 0 0 0 1px var(--acc), 0 14px 36px rgba(0, 0, 0, 0.4);
}
.type-ico {
  flex-shrink: 0;
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.ti-rest   { background: rgba(232, 161, 60, 0.12);  border: 1px solid rgba(232, 161, 60, 0.3); }
.ti-cafe   { background: rgba(165, 232, 135, 0.1);  border: 1px solid rgba(165, 232, 135, 0.28); }
.ti-court  { background: rgba(126, 166, 255, 0.12); border: 1px solid rgba(126, 166, 255, 0.3); }
.ti-retail { background: rgba(240, 132, 226, 0.1);  border: 1px solid rgba(240, 132, 226, 0.28); }
.ti-mixed  { background: rgba(160, 124, 254, 0.12); border: 1px solid rgba(160, 124, 254, 0.3); }
.type-card b { display: block; font-size: 1.06rem; font-weight: 600; margin-bottom: 0.1rem; }
.type-card small { display: block; color: var(--mut); font-size: 0.84rem; line-height: 1.4; }
.type-check {
  margin-left: auto; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: transparent;
  transition: all 0.18s;
}
.type-card input:checked + label .type-check {
  background: var(--acc); border-color: var(--acc); color: var(--acc-ink);
}

/* Карточки точек */
.pt-list { display: grid; gap: 0.8rem; }
.pt-card {
  background: rgba(13, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.1rem 1.2rem 1.2rem;
}
.pt-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.pt-num {
  width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(165, 232, 135, 0.1);
  border: 1px solid rgba(165, 232, 135, 0.25);
  color: var(--acc); font-size: 0.82rem; font-weight: 600;
}
.pt-head b { font-size: 0.95rem; font-weight: 600; }
.pt-del {
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  color: var(--mut-l); font-size: 1rem; font-family: var(--font);
  padding: 0.3rem 0.5rem; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.pt-del:hover { color: var(--red); background: rgba(239, 143, 124, 0.1); }
.pt-fields { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 0.7rem; margin-bottom: 0.8rem; }
.pt-fields .ffield { margin: 0; }
.pt-opts { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }

/* Переключатель режима POS */
.seg { display: inline-flex; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 3px; }
.seg .pill-opt label { border: none; background: transparent; padding: 0.42rem 0.9rem; font-size: 0.85rem; }
.seg .pill-opt input:checked + label { background: var(--acc); color: var(--acc-ink); }

/* Тумблер */
.tgl { display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; user-select: none; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl-track {
  width: 44px; height: 25px; border-radius: 99px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.tgl-track::after {
  content: ''; position: absolute; top: 2px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tgl input:checked ~ .tgl-track { background: var(--acc-deep); border-color: var(--acc-deep); }
.tgl input:checked ~ .tgl-track::after { transform: translateX(19px); }
.tgl input:focus-visible ~ .tgl-track { box-shadow: 0 0 0 3px rgba(165, 232, 135, 0.3); }
.tgl-lab { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }

.pt-add {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600; color: var(--acc);
  background: rgba(165, 232, 135, 0.05);
  border: 1.5px dashed rgba(165, 232, 135, 0.35);
  border-radius: 18px;
  padding: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 0.8rem;
}
.pt-add:hover { background: rgba(165, 232, 135, 0.1); border-color: var(--acc); }

/* Карточки модулей */
.mod-list { display: grid; gap: 0.75rem; }
.mod-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(13, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.mod-card:hover { border-color: rgba(165, 232, 135, 0.4); }
.mod-card.is-on {
  border-color: rgba(165, 232, 135, 0.55);
  background: rgba(165, 232, 135, 0.06);
}
.mod-ico {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: rgba(165, 232, 135, 0.09);
  border: 1px solid rgba(165, 232, 135, 0.2);
}
.mod-body { flex: 1; min-width: 0; }
.mod-body b { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.mod-body p { margin: 0; color: var(--mut); font-size: 0.85rem; line-height: 1.5; }
.mod-body .mod-hint { display: block; margin-top: 0.35rem; color: var(--acc); font-size: 0.78rem; font-weight: 500; }
.mod-card .tgl { margin-top: 0.35rem; }

/* ── Правая панель-превью ────────────────────── */
.ob-preview {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 0;
}
.pv-stage {
  position: relative;
  width: min(620px, 100%);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 75% 85% at 80% 110%, rgba(63, 157, 99, 0.3) 0%, transparent 60%),
    linear-gradient(150deg, #101711 0%, #070b08 80%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-l);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  overflow: hidden;
}
.pv-stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.pv-tag {
  position: relative;
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--acc);
  background: rgba(165, 232, 135, 0.08);
  border: 1px solid rgba(165, 232, 135, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.2rem;
}
.pv-block { position: relative; display: none; }
.pv-block.is-show { display: block; animation: card-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1); }
.pv-title { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.pv-text { margin: 0 0 1.2rem; color: var(--mut); font-size: 0.9rem; line-height: 1.6; }

.pv-feats { list-style: none; margin: 0 0 0.4rem; padding: 0; display: grid; gap: 0.5rem; }
.pv-feats li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft);
}
.pv-feats li::before {
  content: '✓'; position: absolute; left: 0; top: 0.1rem;
  width: 1.15rem; height: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: var(--acc-ink);
  background: var(--acc); border-radius: 50%;
}
.pv-feats li.soon::before { content: '◷'; background: rgba(255, 255, 255, 0.14); color: var(--ink-soft); }
.pv-feats li.soon { color: var(--mut); }
.pv-feats li.soon em { font-style: normal; color: var(--amber); font-size: 0.75rem; font-weight: 600; }

/* Мокапы внутри превью */
.mock {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1rem;
  margin-top: 1.3rem;
}
.mock-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--mut); margin-bottom: 0.85rem;
}
.mock-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e5484d;
  animation: mdot 1.6s infinite;
}
@keyframes mdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.mrow {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.65rem; border-radius: 10px;
  font-size: 0.84rem;
}
.mrow + .mrow { margin-top: 0.3rem; }
.mrow b { color: var(--ink); font-weight: 600; }
.mrow span { color: var(--mut); }
.mrow strong { margin-left: auto; color: var(--acc); font-weight: 600; white-space: nowrap; }
.mrow.hot { background: rgba(165, 232, 135, 0.08); }
.mtag {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 3px 8px; border-radius: 99px; white-space: nowrap;
}
.mtag-new { background: rgba(232, 161, 60, 0.2); color: var(--amber); }
.mtag-ok  { background: rgba(165, 232, 135, 0.16); color: var(--acc); }
.mtag-mut { background: rgba(255, 255, 255, 0.08); color: #8aa094; }

.mbar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 0.6rem 0; }
.mbar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--acc-deep), var(--acc)); }

.mchips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.mchips span {
  font-size: 0.74rem; color: var(--mut);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  padding: 0.32rem 0.7rem;
}
.mchips b { color: var(--acc); }

/* POS-плитки мокап */
.mock-pos-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 0.8rem; }
.mock-pos-tiles i {
  height: 42px; border-radius: 9px;
  background: linear-gradient(140deg, rgba(165, 232, 135, 0.16), rgba(63, 157, 99, 0.08));
  border: 1px solid rgba(165, 232, 135, 0.14);
}
.mock-pay {
  background: linear-gradient(135deg, #37a284, #1f6f5b);
  color: #fff; text-align: center; font-weight: 600; font-size: 0.8rem;
  padding: 9px; border-radius: 10px;
}

/* Штрихкод мокап */
.mock-barcode {
  display: flex; align-items: flex-end; gap: 2.5px;
  height: 54px; padding: 0.6rem 0.4rem 0;
  margin-bottom: 0.7rem;
}
.mock-barcode i { flex: 1; background: #e8efe9; border-radius: 1px; }
.mock-barcode i:nth-child(odd) { height: 100%; }
.mock-barcode i:nth-child(even) { height: 72%; opacity: 0.6; }
.mock-barcode i:nth-child(3n) { flex: 2; }

/* Чат мокап */
.mock-msg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: 4px 14px 14px 14px;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft);
  max-width: 94%;
}
.mock-msg + .mock-msg { margin-top: 0.5rem; }
.mock-msg b { color: var(--ink); }
.mock-msg.warn { background: rgba(232, 161, 60, 0.09); border-color: rgba(232, 161, 60, 0.3); }

/* PIN-pad мокап */
.mock-pin { display: grid; grid-template-columns: repeat(3, 56px); gap: 8px; justify-content: center; padding: 0.4rem 0 0.2rem; }
.mock-pin i {
  height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mock-pin i.ok { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }

/* Схема зала (посадка столов) — мокап в превью */
.mock-tables {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 0.4rem 0.2rem 0.2rem;
}
.mock-tables i {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mock-tables i b { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.mock-tables i em { font-style: normal; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.03em; }
.mock-tables i.t-free em { color: var(--mut-l); }
.mock-tables i.t-busy {
  background: rgba(232, 161, 60, 0.1);
  border-color: rgba(232, 161, 60, 0.4);
}
.mock-tables i.t-busy em { color: var(--amber); }
.mock-tables i.t-bill {
  background: rgba(165, 232, 135, 0.1);
  border-color: rgba(165, 232, 135, 0.45);
}
.mock-tables i.t-bill em { color: var(--acc); }

/* Сводка на финале */
.done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1.4rem 0; }
.done-card {
  background: rgba(13, 18, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}
.done-card i { display: block; font-style: normal; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--acc); margin-bottom: 0.45rem; }
.done-card b { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.done-card span { display: block; color: var(--mut); font-size: 0.82rem; margin-top: 0.2rem; }
.done-steps { list-style: none; counter-reset: dstep; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.done-steps li {
  counter-increment: dstep;
  position: relative; padding-left: 2.3rem;
  color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5;
}
.done-steps li::before {
  content: counter(dstep, decimal-leading-zero);
  position: absolute; left: 0; top: 0.1rem;
  color: var(--acc); font-size: 0.8rem; font-weight: 600;
}
.done-ok {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(165, 232, 135, 0.12);
  border: 1px solid rgba(165, 232, 135, 0.4);
  color: var(--acc); font-size: 1.9rem;
  margin-bottom: 1.2rem;
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s backwards;
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: none; }
}

/* ── Motion / адаптив ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .flow-bg-anim, .mock-dot, .auth-card, .ob-panel, .pv-block.is-show, .done-ok { animation: none !important; }
}
@media (max-width: 1080px) {
  .ob-shell { grid-template-columns: 1fr; align-items: start; padding-top: 0.5rem; }
  .ob-preview { display: none; }
}
@media (max-width: 640px) {
  .pt-fields { grid-template-columns: 1fr; }
  .done-grid { grid-template-columns: 1fr; }
  .flow-top { padding-top: 0.9rem; }
  .fbtn { font-size: 0.86rem; padding: 0.55rem 1rem; }
}
