/* Регистрация, вход, установка, уведомления — дизайн регистрации §4, §15 (утверждён 26.11.2026).
   Основа — planner.css (выбранный вид). Данные — пример, см. DATA.md § «Регистрация». */
@import url("../planner/planner.css");

.wrap { flex: 1; display: flex; flex-direction: column; padding: 0 24px 40px; }
.step { font-size: 14px; color: var(--text-2); margin: 6px 0 0; }
.back { font-size: 17px; color: var(--olive); margin: 4px 0 6px; }
.hero { margin-top: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.appicon { width: 88px; height: 88px; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.appicon img { width: 100%; height: 100%; display: block; }
.appicon.sm { width: 60px; height: 60px; border-radius: 14px; }
h1.t { font-size: 30px; font-weight: 700; letter-spacing: -0.3px; margin-top: 14px; }
.lead { font-size: 17px; color: var(--text-2); line-height: 1.4; margin-top: 8px; }
.grow { flex: 1; }

/* поля формы — системная серая подложка, как .input */
.field { margin-top: 16px; }
.field .lab { font-size: 14px; color: var(--text-2); margin: 0 0 6px 4px; }
.box { display: flex; align-items: center; gap: 10px; background: var(--fill); border-radius: 14px; height: 52px;
  padding: 0 16px; font-size: 17px; }
.box .v { flex: 1; }
.box .ph { flex: 1; color: #8e8e93; }
.box .act { font-size: 15px; color: var(--olive); }
.box .chev { color: #c7c7cc; font-size: 22px; }
.box.focus { box-shadow: 0 0 0 2px var(--olive); background: #fff; }
.field .help { font-size: 13px; color: var(--text-2); margin: 6px 0 0 4px; }

/* код из 6 цифр */
.code { display: flex; gap: 8px; margin-top: 18px; }
.code i { flex: 1; height: 58px; border-radius: 14px; background: var(--fill); font-style: normal; font-size: 26px;
  font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.code i.cur { box-shadow: 0 0 0 2px var(--olive); background: #fff; }

.ok { display: flex; align-items: center; gap: 10px; background: var(--olive-soft); border-radius: 14px; padding: 12px 14px;
  font-size: 16px; margin-top: 22px; }
.nw { white-space: nowrap; }
.ok .icon { width: 22px; height: 22px; color: var(--olive); flex: none; }

/* большая кнопка внизу экрана */
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 16px;
  font-size: 17px; font-weight: 600; background: var(--olive); color: #fff; margin-top: 16px; }
.cta .icon { width: 20px; height: 20px; }
.cta.danger { background: #c62828; }
.link { text-align: center; font-size: 16px; color: var(--olive); margin-top: 16px; }
.muted { text-align: center; font-size: 14px; color: var(--text-2); margin-top: 12px; line-height: 1.4; }

.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.agree .ck { margin-top: 1px; }
.agree a { color: var(--olive); text-decoration: none; }

/* шаги инструкции */
.steps { margin-top: 22px; }
.st { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.st + .st { border-top: 0.5px solid var(--sep); }
.st .n { width: 30px; height: 30px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); font-weight: 600;
  font-size: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.st .tx { flex: 1; font-size: 17px; line-height: 1.35; }
.st .tx small { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; }
.kbd { display: inline-flex; align-items: center; gap: 4px; background: var(--fill); border-radius: 8px; padding: 1px 7px;
  font-size: 15px; font-weight: 500; white-space: nowrap; }
.kbd .icon { width: 17px; height: 17px; color: #007aff; }

/* предупреждение / заметка */
.warn { background: #fdecea; color: #8e1c1c; border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.4; margin-top: 18px; }
.note2 { background: var(--fill); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.4; margin-top: 18px; color: var(--text-2); }
.note2 b { color: var(--text); font-weight: 600; }

/* шторка поверх экрана */
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: 7; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; background: #fff; border-radius: 22px 22px 0 0;
  padding: 10px 24px 44px; }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: #d1d1d6; margin: 0 auto 18px; }
.sheet .big { width: 56px; height: 56px; border-radius: 50%; background: var(--olive-soft); color: var(--olive);
  display: flex; align-items: center; justify-content: center; }
.sheet .big .icon { width: 28px; height: 28px; }
.sheet h3 { font-size: 22px; font-weight: 700; margin-top: 14px; }
.sheet p { font-size: 16px; color: var(--text-2); line-height: 1.4; margin-top: 6px; }

/* плашка «Установите» на «Сегодня» */
.nudge { display: flex; align-items: center; gap: 10px; background: var(--olive-soft); border-radius: 14px;
  padding: 10px 10px 10px 12px; margin: 0 0 10px; font-size: 15px; line-height: 1.3; }
.nudge .appicon { width: 34px; height: 34px; border-radius: 8px; box-shadow: none; flex: none; }
.nudge .tx { flex: 1; }
.nudge .btn { padding: 7px 12px; }
.nudge .x { color: var(--text-2); font-size: 20px; padding: 0 4px; }

/* уведомление на экране блокировки (пример) */
.push { display: flex; gap: 10px; background: rgba(245,245,247,.96); border-radius: 18px; padding: 11px 13px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12); margin-top: 14px; }
.push .appicon { width: 38px; height: 38px; border-radius: 9px; box-shadow: none; flex: none; }
.push .h { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.push .h span { font-weight: 400; color: var(--text-2); font-size: 13px; }
.push .b { font-size: 15px; margin-top: 1px; }

/* Telegram — схема чата с ботом (не наш интерфейс: показывает, что увидит человек) */
.tg { background: #dfe7d9; }
.tg .tgbar { background: #fff; display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; border-bottom: 0.5px solid var(--sep); }
.tg .tgbar .back2 { color: #007aff; font-size: 17px; }
.tg .tgbar .who { flex: 1; text-align: center; }
.tg .tgbar .who b { display: block; font-size: 17px; }
.tg .tgbar .who span { font-size: 13px; color: var(--text-2); }
.tg .tgbar .appicon { width: 36px; height: 36px; border-radius: 50%; box-shadow: none; }
.tg .chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.msg { max-width: 82%; background: #fff; border-radius: 18px; padding: 8px 12px; font-size: 16px; line-height: 1.35; }
.msg.me { align-self: flex-end; background: #e2f7cb; }
.msg .tm2 { font-size: 12px; color: #8e8e93; text-align: right; margin-top: 2px; }
.msg.cd b { font-size: 22px; letter-spacing: 2px; }
.contact { display: flex; align-items: center; gap: 10px; }
.contact i { width: 40px; height: 40px; border-radius: 50%; background: #8fb3d9; color: #fff; font-style: normal; font-weight: 600;
  display: flex; align-items: center; justify-content: center; }
.tg .kb { background: #f2f2f7; padding: 8px 8px 34px; }
.tg .kb div { background: #fff; border-radius: 10px; height: 46px; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 17px; color: #007aff; }
.tg .kb .icon { width: 20px; height: 20px; }
.tg .pill { align-self: center; background: rgba(0,0,0,.25); color: #fff; font-size: 13px; border-radius: 10px; padding: 2px 10px; }
