/* Экраны входа. */
.a-hero { position: absolute; left: 0; top: 0; width: 100%; height: 260px; object-fit: cover; object-position: top; }
.a-fade { position: absolute; left: 0; right: 0; top: 130px; height: 130px; background: linear-gradient(180deg, transparent, var(--bg)); }
.a-logo { position: absolute; left: 0; right: 0; top: 28px; text-align: center; font-size: 26px; letter-spacing: -.04em; }
.a-back { position: absolute; left: 19px; top: 23px; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--glass); }
.a-body { position: relative; padding: 270px 35px 23.6px; }
.a-body h1 { margin-left: 1.500px; font-size: 22px; font-weight: 800; line-height: 28px; letter-spacing: -.01em; }
.a-body p { margin: 5.5px 0 0 3.500px; color: var(--ink-sub); font-size: 14px; line-height: 20px; }
.a-label { display: block; margin: 22px 0 8px 3.500px; font-size: 12.5px; font-weight: 700; line-height: 18px; }
.a-label--2 { margin-top: 14px; }
.a-field { display: flex; align-items: center; height: 42px; padding: 0 12px 0 20px; border: 1px solid var(--line-5); border-radius: 21px; background: var(--plate-3); }
.a-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 13.7px; }
.a-field input::placeholder { color: var(--ink-3); opacity: .75; }
.a-code { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.a-sep { width: 1px; height: 20px; margin: 0 14px 0 13px; background: var(--ink-3); }
.a-eye { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.a-forgot { display: block; margin-top: 11px; text-align: right; font-size: 12.5px; line-height: 17px; color: var(--ink-row); }
.a-forgot--line { width: max-content; margin-left: auto; border-bottom: 1px solid var(--ink-row); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 43px; margin-top: 9px; border: 1px solid var(--line-5); border-radius: 22px; background: var(--plate-3); font-size: 14.7px; font-weight: 700; }
.a-btn--tg { margin-top: 10px; font-weight: 700; text-align: center; }
.a-hint { margin-top: 13px; text-align: center; color: var(--ink-2); font-size: 12.5px; line-height: 17px; }
.a-btn--after { margin-top: 5px; }
/* «Подключить заведение» на входе для заведений — оранжевая (решение владельца 2026-11-09) */
.a-btn.a-btn--accent { border-color: var(--accent-book); background: var(--accent-book); color: var(--white); }
.a-link { display: block; margin-top: 27px; text-align: center; color: var(--ink-2); font-size: 12.5px; line-height: 17px; }
.a-body--biz { padding-top: 271px; padding-bottom: 25.7px; }
.a-body--biz h1 { font-size: 23px; }
.a-body--biz .a-hint { margin-top: 17px; }
.a-link--how { margin-top: 21px; }
.a-link--back { margin-top: 19px; }

/* Регистрация и заявка заведения: у них на макете более разреженный текст. */
.t-hero { position: absolute; left: 0; top: 0; width: 100%; height: 140px; object-fit: cover; object-position: top; }
.t-hero-fade { position: absolute; left: 0; right: 0; top: 120px; height: 20px; background: linear-gradient(180deg, transparent, var(--bg)); }
.t-back { left: 20px; top: 19px; }
.is-reg .a-logo, .is-con .a-logo { top: 23px; }
.t-body { position: relative; padding: 134px 36px 20px; letter-spacing: .025em; }
.t-h1 { margin-left: 2px; font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: 0; }
.t-sub { margin: 1px 0 0 3px; color: var(--ink-sub); font-size: 14px; line-height: 17px; }
.t-label { display: flex; justify-content: space-between; margin: 5px 0 3px 4px; font-size: 12px; line-height: 15px; }
.t-label em { font-style: normal; color: var(--ink-2); font-size: 9.5px; }
.t-field { height: 34px; padding-left: 20px; border-radius: 17px; }
.t-field input { font-size: 12.5px; }
.t-btn { height: 36px; border-radius: 18px; }
.t-btn--first { margin-top: 31px; }
.t-hint { margin-top: 5px; text-align: center; color: var(--ink-tab); font-size: 9.5px; line-height: 13px; }
.t-or { display: flex; align-items: center; gap: 9px; margin: 8px 16px 0; font-size: 9.5px; line-height: 14px; }
.t-or i { flex: 1; height: 1px; background: var(--ink-2); }
.t-btn--tg { margin-top: 7px; font-size: 12.5px; font-weight: 500; }
.t-check { display: flex; align-items: flex-start; gap: 11px; margin: 13px 0 0 3px; font-size: 9.2px; line-height: 12.5px; color: var(--ink-tab); }
.t-check input { flex: none; appearance: none; width: 15px; height: 15px; margin: 0; border: 1px solid var(--ink-2); border-radius: 4px; }
.t-check input:checked { background: var(--accent-book); }
.t-check a { text-decoration: underline; }
.t-foot { margin-top: 11px; text-align: center; font-size: 10.5px; line-height: 16px; }
.t-foot a { text-decoration: underline; }
.t-body--c { padding-top: 70px; padding-bottom: 10px; }
.t-body--c .t-h1 { margin: 0; text-align: center; font-size: 25px; }
.t-body--c .t-sub { margin: 7px 0 3.5px; text-align: center; font-size: 13px; line-height: 17.5px; }
.is-con .t-label { margin: 8px 5px 7px; line-height: 15px; }
.is-con .t-field { height: 36px; border-radius: 18px; }
.t-btn--send { margin-top: 17px; height: 35px; }
.is-con .t-check { margin-left: 6px; gap: 16px; font-size: 11px; line-height: 13.5px; }
.is-con .t-check input { width: 20px; height: 20px; border-radius: 5px; }
/* Восстановление */
.a-body--rs { padding-top: 270px; padding-bottom: 20.5px; }
.a-body--rs h1 { font-size: 23px; line-height: 32px; }
.a-body--rs p { margin-top: 2px; }
.rs-btn { margin-top: 24px; }
.rs-note { margin: 9px -2px 0 !important; text-align: center; color: var(--ink-2); font-size: 12px !important; line-height: 16px !important; }
.rs-note a { color: var(--ink); }
.a-body--rs .a-link { margin-top: 26px; }
/* Для заведений */
.is-biz .a-logo { top: 28px; }
.h-body { position: relative; padding: 83px 32px 26px; }
.h-body h1 { text-align: center; font-size: 18.7px; font-weight: 800; line-height: 24px; }
.h-lead { margin-top: 7px; text-align: center; color: var(--ink-sub); font-size: 14px; line-height: 19px; }
.h-step { display: flex; align-items: center; gap: 18.5px; min-height: 120px; margin-top: 14px; padding: 17px 2px 17px 17px; border: 1px solid var(--line); border-radius: 22px; }
.h-step:first-of-type { margin-top: 24px; }
.h-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-book); color: var(--white); font-size: 14px; font-weight: 800; }
.h-step h2 { font-size: 15px; font-weight: 700; line-height: 20px; }
.h-step p { margin-top: 9.5px; color: var(--ink-2); font-size: 12.6px; line-height: 17.9px; }
.h-cta { display: grid; place-items: center; height: 50px; margin-top: 17px; border-radius: 25px; background: var(--accent-book); color: var(--white); font-size: 14.5px; font-weight: 700; }
.h-q { margin-top: 23px; text-align: center; font-size: 14px; font-weight: 800; line-height: 20px; }
.h-help { margin-top: 5px; text-align: center; color: var(--ink-2); font-size: 11.8px; line-height: 16px; }
.h-contacts { display: flex; align-items: center; justify-content: space-between; margin: 21px 3px 0; font-size: 13.5px; }
.h-contacts button { display: flex; align-items: center; gap: 12px; }
.h-contacts i { width: 1px; height: 20px; background: var(--line); }
/* Тарифы (10.11): подзаголовки и обычный текст под карточками цен. */
.h-sub { margin-top: 24px; font-size: 15px; font-weight: 800; line-height: 20px; }
.h-text { margin-top: 8px; color: var(--ink-2); font-size: 13px; line-height: 19px; }
.h-help--docs { margin-top: 16px; }
.h-help--docs a { color: var(--ink-sub); text-decoration: underline; }
.h-tarif { display: block; margin-top: 12px; text-align: center; color: var(--ink-sub); font-size: 13px; text-decoration: underline; }

/* Код из SMS: поля и кнопки узкой колонкой по центру (Влад 2026-11-06). Длинный селектор — чтобы перебить отступы .pg и desktop.css. */
#screen.pg.pg--auth.pg--code > form, #screen.pg.pg--auth.pg--code > .notice, #screen.pg.pg--auth.pg--code > p.muted { width: calc(100% - 32px); max-width: 380px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
#screen.pg.pg--auth.pg--code > p.muted, #screen.pg.pg--auth.pg--code > .lead { text-align: center; }
.adm .notice.notice--ok { background: var(--ok-bg); }
