/* ═══ PSY-Калькулятор — фронтенд стили ═══ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --moss-dark: #37411F;
  --grass: #4D600E;
  --grass-light: #97B261;
  --sage: #E7E9DE;
  --bg-page: #FAFAF8;
  --bg-white: #FFFFFF;
  --bg-card: var(--sage);
  --text-dark: #2C2C28;
  --text-body: #4A4A42;
  --text-muted: #8A8A7E;
  --border: #E0DED6;
  --border-light: #EEEDEA;
  --btn-blue: #5B7FD6;
  --btn-blue-hover: #4A6BC4;
  --accent: var(--grass);
  --accent-dim: var(--moss-dark);
  --warning: #C5544A;
}

.psy-calc { max-width: 720px; margin: 0 auto; box-sizing: border-box; font-family: 'Raleway', sans-serif; color: var(--text-body); background: var(--bg-page); padding: 0 0 48px; }
.psy-calc *, .psy-calc *::before, .psy-calc *::after { box-sizing: border-box; }
.psy-hidden { display: none !important; }

/* ── Герой ── */
.psy-calc__hero { text-align: center; padding: 40px 0 36px; }
.psy-calc__badge { display: inline-block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(77,96,14,0.35); padding: 6px 18px; border-radius: 20px; margin-bottom: 20px; }
.psy-calc__title { font-family: 'Montserrat', sans-serif; font-size: clamp(24px, 3.6vw, 38px); font-weight: 500; line-height: 1.25; color: var(--text-dark); max-width: 780px; margin: 0 auto 16px; }
.psy-calc__subtitle { font-size: clamp(16px, 2vw, 18px); color: var(--text-body); max-width: 540px; margin: 0 auto 8px; }
.psy-calc__author { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }
.psy-calc__disclaimer { font-size: 13px; color: var(--text-muted); max-width: 500px; margin: 0 auto 20px; }
.psy-calc__meta { display: flex; justify-content: center; gap: 24px; margin-top: 16px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.psy-calc__meta-item { display: flex; align-items: center; gap: 6px; }

/* ── Прогресс-бар ── */
.psy-calc__progress { display: flex; align-items: center; gap: 8px; max-width: 400px; margin: 0 auto 40px; padding: 0 20px; }
.psy-calc__progress-step { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background 0.4s; }
.psy-calc__progress-step.active { background: var(--accent); }
.psy-calc__progress-step.done { background: var(--grass); }
.psy-calc__progress-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; min-width: 40px; text-align: right; }

/* ── Вопрос (один за раз) ── */
.psy-calc__question { max-width: 600px; margin: 0 auto; animation: psyCalcFadeUp 0.4s ease; }
@keyframes psyCalcFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.psy-calc__q-num { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; text-align: center; }
.psy-calc__q-text { font-family: 'Montserrat', sans-serif; font-size: clamp(20px, 3.5vw, 26px); font-weight: 500; line-height: 1.3; color: #445723; text-align: center; margin-bottom: 12px; }
.psy-calc__q-hint { font-size: 15px; color: var(--text-muted); text-align: center; margin-bottom: 32px; }

/* ── Ползунок ── */
.psy-calc__slider-wrap { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 32px; margin-bottom: 28px; }
.psy-calc__slider-value { text-align: center; margin-bottom: 8px; }
.psy-calc__slider-num { font-family: 'Montserrat', sans-serif; font-size: 56px; font-weight: 600; color: var(--text-dark); line-height: 1; transition: color 0.3s; }
.psy-calc__slider-unit { font-size: 18px; color: var(--text-muted); font-weight: 400; margin-left: 8px; }
.psy-calc__slider-context { text-align: center; color: var(--text-muted); font-size: 15px; min-height: 22px; margin-bottom: 24px; transition: color 0.3s; font-style: italic; }
.psy-calc__slider { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: linear-gradient(to right, var(--grass) 0%, var(--grass) var(--fill, 50%), var(--border) var(--fill, 50%)); border-radius: 3px; outline: none; cursor: pointer; }
.psy-calc__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: #fff; border-radius: 50%; cursor: grab; border: 3px solid var(--grass); box-shadow: 0 2px 6px rgba(0,0,0,0.12); transition: transform 0.15s; }
.psy-calc__slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.psy-calc__slider::-moz-range-thumb { width: 24px; height: 24px; background: #fff; border-radius: 50%; cursor: grab; border: 3px solid var(--grass); }
.psy-calc__slider-marks { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ── Кнопки выбора ── */
.psy-calc__answers { display: flex; flex-direction: column; gap: 10px; }
.psy-calc__answer-btn { background: var(--bg-white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px 16px 54px; color: var(--text-body); font-family: 'Raleway', sans-serif; font-size: 16px; line-height: 1.5; cursor: pointer; transition: all 0.25s ease; text-align: left; position: relative; overflow: hidden; }
.psy-calc__answer-btn::before { content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); background: #fff; transition: all 0.2s; box-sizing: border-box; }
.psy-calc__answer-btn:hover { background: var(--bg-card); border-color: var(--grass); color: var(--text-dark); transform: translateX(4px); }
.psy-calc__answer-btn:hover::before { border-color: var(--grass); }
.psy-calc__answer-btn.selected { background: var(--bg-card); border-color: var(--grass); color: var(--text-dark); }
.psy-calc__answer-btn.selected::before { border-color: var(--grass); background: var(--grass); box-shadow: inset 0 0 0 4px #fff; }
.psy-calc__answer-btn__title { font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.psy-calc__answer-btn__sub { font-size: 14px; color: var(--text-muted); }

/* ── Навигация (Назад / Вперёд) ── */
.psy-calc__actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 36px; }
.psy-calc__btn-next { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 600; padding: 14px 32px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.psy-calc__btn-next:hover { background: var(--btn-blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,127,214,0.3); }
.psy-calc__btn-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.psy-calc__btn-prev { background: transparent; color: var(--text-body); border: 1px solid var(--border); padding: 14px 24px; border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.psy-calc__btn-prev:hover { border-color: var(--grass); color: var(--accent-dim); }
.psy-calc__btn-start { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 600; padding: 16px 40px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; margin-top: 24px; }
.psy-calc__btn-start:hover { background: var(--btn-blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,127,214,0.3); }

/* ── Результат ── */
.psy-calc__result { max-width: 720px; margin: 0 auto; animation: psyCalcFadeUp 0.5s ease; }
.psy-calc__result-badge { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(77,96,14,0.35); padding: 5px 14px; border-radius: 16px; margin-bottom: 16px; }
.psy-calc__result-title { font-family: 'Montserrat', sans-serif; font-size: clamp(24px, 4vw, 34px); font-weight: 500; line-height: 1.2; color: #445723; margin-bottom: 18px; }
.psy-calc__result-desc { font-size: 17px; line-height: 1.7; color: var(--text-body); margin-bottom: 32px; }

/* ── Блок цифр ── */
.psy-calc__numbers { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 32px; margin-bottom: 32px; }
.psy-calc__numbers-big { font-family: 'Montserrat', sans-serif; font-size: clamp(36px, 6vw, 52px); font-weight: 600; color: var(--text-dark); line-height: 1; margin-bottom: 8px; letter-spacing: -0.5px; }
.psy-calc__numbers-big-label { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; font-style: italic; }
.psy-calc__numbers-divider { height: 1px; background: var(--border-light); margin: 24px 0; }
.psy-calc__numbers-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.psy-calc__stat { padding-left: 16px; border-left: 2px solid var(--grass); }
.psy-calc__stat-num { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; line-height: 1.1; }
.psy-calc__stat-label { font-size: 14px; color: var(--text-muted); line-height: 1.4; }

/* ── Техника ── */
.psy-calc__technique { margin: 0 0 32px; }
.psy-calc-technique { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 28px 32px; }
.psy-calc-technique__label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.psy-calc-technique__title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.psy-calc-technique__intro { font-size: 15px; color: var(--text-body); line-height: 1.65; margin-bottom: 24px; }
.psy-calc-technique__body { }

/* Парковка тревог */
.parking-step { margin-bottom: 24px; }
.parking-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.parking-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.parking-step__title { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.parking-step__desc { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; padding-left: 40px; }
.parking-step__body { padding-left: 40px; }
.worry-input-row { display: flex; gap: 8px; margin-bottom: 12px; }
.worry-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Raleway', sans-serif; font-size: 14px; outline: none; }
.worry-input:focus { border-color: var(--grass); }
.btn-add { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 10px 18px; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-add:hover { background: var(--moss-dark); }
.worries-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.worry-item { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.worry-item__text { flex: 1; color: var(--text-body); }
.worry-item__time { font-size: 12px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.worry-item__del { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 0 2px; line-height: 1; }
.worry-item__del:hover { color: var(--warning); }
.worries-empty { font-size: 13px; color: var(--text-muted); font-style: italic; }
.parking-time-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.parking-time { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-family: 'Raleway', sans-serif; font-size: 14px; }

/* Дыхание */
.breath-wrap { text-align: center; }
.breath-circle { width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--grass); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 16px; transition: all 0.5s ease; }
.breath-circle--inhale { background: rgba(77,96,14,0.1); transform: scale(1.1); }
.breath-circle--hold { background: rgba(77,96,14,0.18); transform: scale(1.1); }
.breath-circle--exhale { background: rgba(77,96,14,0.04); transform: scale(0.95); }
.breath-num { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 600; color: var(--grass); line-height: 1; }
.breath-phase { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.breath-cycles { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.breath-btn { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 12px 32px; font-family: 'Raleway', sans-serif; font-size: 15px; cursor: pointer; font-weight: 600; }
.breath-btn:hover { background: var(--moss-dark); }

/* Гигиена сна */
.hygiene-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); cursor: pointer; }
.hygiene-item:last-of-type { border-bottom: none; }
.hygiene-check { width: 18px; height: 18px; accent-color: var(--grass); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.hygiene-text { font-size: 15px; color: var(--text-dark); line-height: 1.5; }
.hygiene-score { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 16px; text-align: right; }

/* ── Товары ── */
.psy-calc__protocol-title { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.psy-calc__protocol-intro { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.psy-calc__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 32px; }
.psy-calc__product { background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-decoration: none; color: inherit; transition: all 0.25s; display: block; }
.psy-calc__product:hover { border-color: var(--grass); box-shadow: 0 4px 16px rgba(77,96,14,0.1); transform: translateY(-2px); }
.psy-calc__product--primary { border-color: var(--grass); background: var(--sage); }
.psy-calc__product-name { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.35; }
.psy-calc__product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Вторичные действия ── */
.psy-calc__secondary-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.psy-calc__btn-ghost { background: transparent; color: var(--text-body); border: 1px solid var(--border); padding: 12px 24px; border-radius: 8px; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.psy-calc__btn-ghost:hover { border-color: var(--grass); color: var(--accent-dim); }

/* ── Модальное окно email ── */
.psy-calc__modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.psy-calc__modal { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; padding: 40px; position: relative; }
.psy-calc__modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); line-height: 1; }
.psy-calc__modal-close:hover { color: var(--text-dark); }
.psy-calc__modal-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--accent); }
.psy-calc__modal-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 600; color: var(--text-dark); text-align: center; margin-bottom: 12px; }
.psy-calc__modal-desc { font-size: 15px; color: var(--text-muted); text-align: center; line-height: 1.6; margin-bottom: 28px; }
.psy-calc__modal-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-body); margin-bottom: 6px; }
.psy-calc__modal-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: 'Raleway', sans-serif; font-size: 15px; outline: none; margin-bottom: 4px; }
.psy-calc__modal-input:focus { border-color: var(--grass); }
.psy-calc__modal-error { font-size: 12px; color: var(--warning); min-height: 16px; margin-bottom: 16px; }
.psy-calc__modal-submit { width: 100%; background: var(--btn-blue); color: #fff; border: none; border-radius: 8px; padding: 14px; font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; margin-bottom: 12px; }
.psy-calc__modal-submit:hover { background: var(--btn-blue-hover); }
.psy-calc__modal-hint { font-size: 12px; color: var(--text-muted); text-align: center; }
.psy-calc__modal-success { text-align: center; }

/* ── Дисклеймер ── */
.psy-calc__disclaimer-bottom { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border-light); }

/* ── Адаптив ── */
@media (max-width: 600px) {
    .psy-calc__numbers-stats { grid-template-columns: 1fr; gap: 18px; }
    .psy-calc__products { grid-template-columns: 1fr; }
    .psy-calc__actions { flex-direction: column-reverse; }
    .psy-calc__secondary-actions { flex-direction: column; }
}

/* ── Зелёная обёртка калькулятора ── */
.psy-calc__shell {
  background: linear-gradient(135deg, var(--grass) 0%, var(--moss-dark) 100%);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 12px 40px rgba(55,65,31,0.18);
  overflow: hidden;
  margin-bottom: 32px;
}
.psy-calc__shell::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(151,178,97,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.psy-calc__shell::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(231,233,222,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.psy-calc__shell > * { position: relative; z-index: 1; }

/* Прогресс внутри shell */
.psy-calc__shell .psy-calc__progress-step { background: rgba(255,255,255,0.2); }
.psy-calc__shell .psy-calc__progress-step.active { background: var(--grass-light); }
.psy-calc__shell .psy-calc__progress-step.done { background: var(--sage); }
.psy-calc__shell .psy-calc__progress-label { color: rgba(255,255,255,0.7); }

/* Текст вопросов на зелёном */
.psy-calc__shell .psy-calc__q-num { color: var(--grass-light); }
.psy-calc__shell .psy-calc__q-text { color: #fff; }
.psy-calc__shell .psy-calc__q-hint { color: rgba(255,255,255,0.75); }

/* Слайдер-обёртка — белая карточка */
.psy-calc__shell .psy-calc__slider-wrap {
  background: rgba(255,255,255,0.95);
  border: none;
  box-shadow: 0 4px 16px rgba(55,65,31,0.15);
}

/* Кнопки выбора — белые */
.psy-calc__shell .psy-calc__answer-btn {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--text-body);
}
.psy-calc__shell .psy-calc__answer-btn:hover {
  background: #fff;
  border-color: var(--grass-light);
  color: var(--text-dark);
}
.psy-calc__shell .psy-calc__answer-btn.selected {
  background: #fff;
  border-color: var(--grass-light);
  border-width: 2px;
}
.psy-calc__shell .psy-calc__answer-btn.selected::before { border-color: var(--grass); background: var(--grass); box-shadow: inset 0 0 0 4px #fff; }
.psy-calc__shell .psy-calc__answer-btn__title { color: var(--moss-dark); }

/* Кнопка Назад — прозрачная светлая */
.psy-calc__shell .psy-calc__btn-prev {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.psy-calc__shell .psy-calc__btn-prev:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Кнопка Далее — светло-травяная */
.psy-calc__shell .psy-calc__btn-next {
  background: var(--grass-light);
  color: var(--moss-dark);
  font-weight: 700;
}
.psy-calc__shell .psy-calc__btn-next:hover {
  background: var(--sage);
  box-shadow: 0 8px 24px rgba(231,233,222,0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .psy-calc__shell { padding: 32px 24px; border-radius: 16px; }
}

/* ── Блок техники (из оригинала) ── */
.technique-block { background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 32px; margin-bottom: 32px; }
.technique-block__label { font-family: 'Montserrat', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grass); margin-bottom: 12px; }
.technique-block__title { font-family: 'Montserrat', sans-serif; font-size: clamp(22px, 3.5vw, 28px); font-weight: 500; color: #445723; margin-bottom: 12px; line-height: 1.25; }
.technique-block__intro { font-size: 16px; color: var(--text-body); line-height: 1.6; margin-bottom: 24px; }

/* Парковка тревог */
.parking-tech { display: flex; flex-direction: column; gap: 22px; }
.parking-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.parking-step__num { width: 28px; height: 28px; background: var(--sage); color: var(--moss-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.parking-step__title { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 500; color: #445723; }
.parking-step__desc { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.55; padding-left: 40px; }
.parking-step__body { padding-left: 40px; }
@media (max-width: 600px) { .parking-step__desc, .parking-step__body { padding-left: 0; } }
.worry-input-row { display: flex; gap: 8px; margin-bottom: 12px; }
.worry-input { flex: 1; padding: 11px 14px; font-family: inherit; font-size: 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-page); color: var(--text-dark); transition: all 0.15s; }
.worry-input:focus { outline: none; border-color: var(--grass); background: #fff; }
.btn-add { padding: 11px 18px; background: var(--grass); color: white; border: none; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-add:hover { background: var(--moss-dark); }
.worries-list { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 0; }
.worry-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--sage); border-radius: 8px; font-size: 15px; }
.worry-item__bullet { width: 6px; height: 6px; background: var(--grass); border-radius: 50%; flex-shrink: 0; }
.worry-item__text { flex: 1; color: var(--text-dark); }
.worry-item__remove { width: 22px; height: 22px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; line-height: 1; border-radius: 50%; }
.worry-item__remove:hover { background: rgba(197,84,74,0.1); color: var(--warning); }
.worries-empty { color: var(--text-muted); font-size: 14px; padding: 14px; text-align: center; background: var(--bg-page); border-radius: 8px; border: 1px dashed var(--border); font-style: italic; }
.btn-park { width: 100%; padding: 13px; background: var(--grass); color: white; border: none; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: 0.5px; }
.btn-park:hover:not(:disabled) { background: var(--moss-dark); }
.btn-park:disabled { opacity: 0.4; cursor: not-allowed; }
.parking-grid { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.parking-slot { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--sage); border-radius: 8px; border-left: 3px solid var(--grass); }
.parking-slot__time { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--moss-dark); flex-shrink: 0; min-width: 50px; font-size: 15px; }
.parking-slot__arrow { color: var(--grass); flex-shrink: 0; }
.parking-slot__text { flex: 1; font-size: 15px; color: var(--text-dark); }
.tech-final { background: var(--sage); padding: 18px; border-radius: 8px; border: 1px solid var(--border-light); margin-top: 14px; }
.tech-final p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin-bottom: 10px; }
.tech-final__quote { color: var(--moss-dark); font-style: italic; }
.tech-final__tip { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border-light); font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.tech-final__tip strong { color: var(--moss-dark); }

/* Дыхание 4-7-8 */
.breath-tech { text-align: center; padding: 16px 0; }
.breath-circle-wrap { width: 200px; height: 200px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.breath-circle { width: 80px; height: 80px; background: var(--grass); border-radius: 50%; transition: all 4s cubic-bezier(0.4, 0, 0.6, 1); box-shadow: 0 0 0 0 rgba(77,96,14,0.3); }
.breath-circle.inhale { width: 180px; height: 180px; box-shadow: 0 0 0 12px rgba(77,96,14,0.15); }
.breath-circle.hold { width: 180px; height: 180px; transition: none; box-shadow: 0 0 0 12px rgba(151,178,97,0.35); background: var(--grass-light); }
.breath-circle.exhale { width: 80px; height: 80px; box-shadow: 0 0 0 0 rgba(77,96,14,0.3); }
.breath-phase { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 500; color: #445723; margin-bottom: 8px; min-height: 32px; }
.breath-counter { font-size: 15px; color: var(--text-muted); margin-bottom: 4px; min-height: 18px; }
.breath-cycle-info { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 22px; }
.breath-controls { display: flex; gap: 10px; justify-content: center; }
.breath-tech__intro { font-size: 15px; color: var(--text-muted); line-height: 1.6; padding: 14px; background: var(--sage); border-radius: 8px; margin-top: 18px; }

/* Гигиена сна */
.hygiene-tech { display: flex; flex-direction: column; gap: 12px; }
.hygiene-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px; background: var(--bg-page); border: 1px solid var(--border-light); border-radius: 10px; align-items: start; }
.hygiene-item__icon { font-size: 22px; line-height: 1; padding-top: 2px; }
.hygiene-item__title { font-family: 'Montserrat', sans-serif; font-weight: 500; color: #445723; margin-bottom: 4px; font-size: 17px; }
.hygiene-item__desc { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

/* Карточки товаров (протокол) */
.protocol-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 500; color: #445723; margin-bottom: 12px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--border); }
.protocol-intro { font-size: 16px; color: var(--text-body); line-height: 1.6; margin-bottom: 22px; max-width: 600px; }
.protocol-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.protocol-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; transition: all 0.3s; }
.protocol-card:hover { border-color: var(--grass); transform: translateX(4px); box-shadow: 0 4px 12px rgba(77,96,14,0.1); }
.protocol-card--main { border-color: var(--grass); background: linear-gradient(135deg, var(--bg-white) 0%, var(--sage) 100%); }
.protocol-card__num { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 600; color: rgba(151,178,97,0.5); width: 32px; text-align: center; }
.protocol-card__name { font-family: 'Montserrat', sans-serif; font-size: 19px; font-weight: 500; color: #445723; margin-bottom: 4px; line-height: 1.25; }
.protocol-card__desc { font-size: 15px; color: var(--text-muted); line-height: 1.55; }
.protocol-card__why { font-size: 15px; color: var(--text-body); line-height: 1.55; margin-top: 6px; }
.protocol-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--btn-blue); text-decoration: none; white-space: nowrap; padding: 8px 16px; border: 1px solid rgba(91,127,214,0.3); border-radius: 6px; transition: all 0.2s; }
.protocol-card__link:hover { background: rgba(91,127,214,0.06); border-color: var(--btn-blue); }
.protocol-card__pick { display: inline-block; background: var(--grass); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 600px) { .protocol-card { grid-template-columns: 1fr; gap: 10px; } .protocol-card__num { display: none; } }

/* ── Кнопка внутри техник (start-btn) ── */
.technique-block .start-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn-blue); color: #fff;
  font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 600;
  padding: 14px 32px; border: none; border-radius: 8px;
  cursor: pointer; transition: all 0.3s;
}
.technique-block .start-btn:hover {
  background: var(--btn-blue-hover); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,127,214,0.3);
}
.technique-block .start-btn:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none;
}

/* ── Техника: Сканер тела ── */
.scanner-stage { text-align: center; padding: 16px 0; }
.scanner-zone-title { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 500; color: #445723; margin-bottom: 6px; min-height: 32px; }
.scanner-zone-hint { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; font-style: italic; min-height: 22px; }
.scanner-progress { width: 100%; max-width: 320px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin: 0 auto 22px; }
.scanner-progress__fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--grass-light), var(--grass)); border-radius: 3px; transition: width 0.2s linear; }
.scanner-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.scanner-btn { padding: 12px 18px; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; border: 1px solid var(--border); background: var(--bg-white); border-radius: 8px; cursor: pointer; transition: all 0.2s; color: var(--text-body); }
.scanner-btn:hover { border-color: var(--grass); color: var(--moss-dark); transform: translateY(-1px); }
.scanner-btn--tense { color: var(--warning); border-color: rgba(197,84,74,0.3); }
.scanner-btn--tense:hover { background: rgba(197,84,74,0.06); border-color: var(--warning); color: var(--warning); }
.scanner-btn--relax { color: var(--grass); border-color: rgba(77,96,14,0.3); }
.scanner-btn--relax:hover { background: rgba(77,96,14,0.06); border-color: var(--grass); color: var(--moss-dark); }
.scanner-skip { font-size: 13px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 4px 10px; text-decoration: underline; }
.scanner-skip:hover { color: var(--text-dark); }
.scanner-start-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 600; padding: 14px 32px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.scanner-start-btn:hover { background: var(--btn-blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,127,214,0.3); }

.scanner-map { margin-top: 20px; }
.scanner-map__title { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 500; color: #445723; margin-bottom: 12px; text-align: left; }
.scanner-map__list { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 0; }
.scanner-map__item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--sage); border-radius: 8px; font-size: 15px; text-align: left; animation: psyCalcFadeUp 0.3s ease both; }
.scanner-map__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.scanner-map__dot--tense { background: var(--warning); }
.scanner-map__dot--neutral { background: var(--grass-light); }
.scanner-map__dot--relax { background: var(--grass); }
.scanner-map__zone { flex: 1; color: var(--text-dark); font-weight: 500; font-family: 'Montserrat', sans-serif; }
.scanner-map__state { color: var(--text-muted); font-size: 14px; }

.scanner-final { background: var(--sage); padding: 18px; border-radius: 8px; border: 1px solid var(--border-light); margin-top: 18px; text-align: left; }
.scanner-final p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin-bottom: 10px; }
.scanner-final p:last-child { margin-bottom: 0; }
.scanner-final strong { color: var(--moss-dark); }

/* ── Техника: Выдох в землю ── */
.earth-tech { text-align: center; padding: 16px 0; }
.earth-circle-wrap { width: 220px; height: 220px; margin: 0 auto 20px; position: relative; display: flex; align-items: center; justify-content: center; }
.earth-circle { width: 90px; height: 90px; background: var(--grass); border-radius: 50%; transition: all 4s cubic-bezier(0.4, 0, 0.6, 1); box-shadow: 0 0 0 0 rgba(77,96,14,0.3); }
.earth-circle.inhale { width: 190px; height: 190px; box-shadow: 0 0 0 12px rgba(77,96,14,0.15); transition: all 4s cubic-bezier(0.4, 0, 0.6, 1); }
.earth-circle.hold { width: 190px; height: 190px; transition: none; box-shadow: 0 0 0 12px rgba(151,178,97,0.35); background: var(--grass-light); }
.earth-circle.exhale { width: 90px; height: 90px; background: var(--sage); transition: all 10s cubic-bezier(0.4, 0, 0.6, 1); box-shadow: 0 0 0 0 rgba(77,96,14,0); border: 1px solid var(--grass-light); }
.earth-phase { font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 500; color: #445723; margin-bottom: 8px; min-height: 32px; }
.earth-counter { font-size: 15px; color: var(--text-muted); margin-bottom: 4px; min-height: 18px; }
.earth-cycle-info { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 22px; }
.earth-controls { display: flex; gap: 10px; justify-content: center; }
.earth-start-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 600; padding: 14px 32px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.earth-start-btn:hover:not(:disabled) { background: var(--btn-blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,127,214,0.3); }
.earth-start-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.earth-final { font-size: 15px; color: var(--text-body); line-height: 1.6; padding: 16px 18px; background: var(--sage); border-radius: 8px; margin-top: 18px; text-align: left; }
.earth-final strong { color: var(--moss-dark); }

/* ── Техника: 5 микро-движений ── */
.moves-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 700px) { .moves-grid { grid-template-columns: 1fr; } }

.moves-active { background: var(--sage); border-radius: 12px; padding: 24px; text-align: center; min-height: 280px; }
.moves-step-num { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grass); margin-bottom: 8px; }
.moves-step-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 500; color: #445723; margin-bottom: 8px; min-height: 30px; }
.moves-step-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; min-height: 42px; }
.moves-progress { width: 100%; max-width: 280px; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin: 0 auto 14px; }
.moves-progress__fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--grass-light), var(--grass)); border-radius: 4px; transition: width 0.2s linear; }
.moves-counter { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 600; color: var(--moss-dark); margin-bottom: 14px; }
.moves-controls { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.moves-start-btn { background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; padding: 12px 26px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.moves-start-btn:hover { background: var(--btn-blue-hover); transform: translateY(-1px); }
.moves-ghost-btn { background: transparent; color: var(--text-muted); font-family: 'Raleway', sans-serif; font-size: 14px; padding: 12px 22px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.moves-ghost-btn:hover { border-color: var(--grass); color: var(--moss-dark); }

.moves-checklist { background: var(--sage); border-radius: 12px; padding: 20px; }
.moves-checklist__title { font-family: 'Montserrat', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grass); margin-bottom: 14px; }
.moves-checklist__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border-radius: 8px; background: var(--bg-white); border: 1px solid var(--border-light); font-size: 14px; transition: all 0.2s; }
.moves-checklist__item.active { background: var(--bg-card); border-color: var(--grass-light); }
.moves-checklist__item.done { background: rgba(151,178,97,0.15); border-color: var(--grass); }
.moves-checklist__mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.moves-checklist__item.active .moves-checklist__mark { border-color: var(--grass-light); }
.moves-checklist__item.done .moves-checklist__mark { background: var(--grass); border-color: var(--grass); color: #fff; font-size: 14px; font-weight: 700; }
.moves-checklist__text { flex: 1; color: var(--text-dark); }
.moves-checklist__item.done .moves-checklist__text { text-decoration: line-through; color: var(--text-muted); }

.moves-explain { background: var(--bg-card); padding: 14px 16px; border-radius: 8px; margin-top: 16px; font-size: 14px; color: var(--text-body); line-height: 1.55; text-align: left; }
.moves-explain strong { color: var(--moss-dark); }

.moves-final { background: var(--bg-card); padding: 18px; border-radius: 8px; border: 1px solid var(--border-light); margin-top: 20px; text-align: left; }
.moves-final p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin-bottom: 10px; }
.moves-final p:last-child { margin-bottom: 0; }
.moves-final strong { color: var(--moss-dark); }

/* ── Техника: Нейрогенез-протокол ── */
.neuro-stage { padding: 12px 0; }
.neuro-progress-row { display: flex; gap: 6px; margin-bottom: 24px; }
.neuro-progress-dot { flex: 1; height: 6px; border-radius: 3px; background: var(--border); transition: background 0.3s; }
.neuro-progress-dot.active { background: var(--grass-light); }
.neuro-progress-dot.done { background: var(--grass); }

.neuro-step-card { text-align: center; padding: 22px 16px; }
.neuro-step-num { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grass); margin-bottom: 8px; }
.neuro-step-title { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 500; color: #445723; margin-bottom: 8px; }
.neuro-step-desc { font-size: 15px; color: var(--text-body); margin-bottom: 22px; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.6; }

.neuro-ring { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; }
.neuro-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.neuro-ring__bg { fill: none; stroke: var(--border-light); stroke-width: 8; }
.neuro-ring__fill { fill: none; stroke: var(--grass); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 0.2s linear; }
.neuro-ring__counter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 600; color: var(--moss-dark); }

.neuro-gratitude { width: 100%; max-width: 440px; margin: 0 auto 20px; }
.neuro-gratitude textarea { width: 100%; min-height: 80px; padding: 14px 16px; font-family: 'Raleway', sans-serif; font-size: 15px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-page); color: var(--text-dark); transition: all 0.2s; resize: vertical; }
.neuro-gratitude textarea:focus { outline: none; border-color: var(--grass); background: #fff; box-shadow: 0 0 0 3px rgba(77,96,14,0.1); }

.neuro-controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.neuro-start-btn { background: var(--btn-blue); color: #fff; font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 600; padding: 12px 26px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.neuro-start-btn:hover { background: var(--btn-blue-hover); transform: translateY(-1px); }
.neuro-ghost-btn { background: transparent; color: var(--text-muted); font-family: 'Raleway', sans-serif; font-size: 14px; padding: 12px 22px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.neuro-ghost-btn:hover { border-color: var(--grass); color: var(--moss-dark); }

.neuro-explain { background: var(--bg-card); padding: 16px 18px; border-radius: 8px; margin-top: 16px; font-size: 14px; color: var(--text-body); line-height: 1.6; text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }
.neuro-explain strong { color: var(--moss-dark); }

.neuro-final { background: var(--bg-card); padding: 18px; border-radius: 8px; border: 1px solid var(--border-light); margin-top: 20px; text-align: left; }
.neuro-final p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin-bottom: 10px; }
.neuro-final p:last-child { margin-bottom: 0; }
.neuro-final strong { color: var(--moss-dark); }

/* ── Блок «Двойная гарантия» на экране результата ── */
.psy-calc__guarantee-note {
    font-size: 13px;
    color: var(--text-muted, #4A4A42);
    line-height: 1.6;
    padding: 14px 18px;
    background: var(--bg-card, #F5F6F0);
    border-radius: 8px;
    border-left: 3px solid var(--accent, #6B7F3B);
    margin: 22px 0;
}
.psy-calc__guarantee-note strong {
    color: var(--text-dark, #2C3318);
}
