/* T-143, 12.10.2026: страница подписки на группу и экраны после неё (форма /subscribers/subscribe/{группа},
 * итоги /subscribeme и /subscriberactivate). Вид утвердил владелец 12.10, макет claude.ai/artifact/VyVaDY9f7BByVYwcebBRwm.
 * Цвета и размеры взяты со страницы входа (T-103, my auth.ctp) и веб-версии письма (T-139): тёплый фон, белая карточка
 * без скруглений, Onest, чёрная кнопка, поля 3px. Подключают View/Subscribersnew/subscribe.ctp и View/Layouts/subscribe.ctp. */
html { background: #f4f2ec; }
body.sp-body { margin: 0; min-height: 100vh; background: #f4f2ec; color: #262626; font-family: "Onest", "Open Sans", -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.sp, .sp * { box-sizing: border-box; }
.sp { min-height: 100vh; display: flex; flex-direction: column; padding: 64px 24px 32px; }
.sp-card { width: 100%; max-width: 520px; margin: 0 auto; background: #ffffff; padding: 48px 52px 44px; box-shadow: 0 30px 80px rgba(20, 20, 10, .10), 0 2px 6px rgba(20, 20, 10, .05); }
.sp-kicker { margin: 0 0 12px; font-size: 13px; color: #6b6b6b; }
.sp h1 { margin: 0 0 12px; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; color: #0b0b0b; overflow-wrap: anywhere; text-wrap: balance; }
.sp-lead { margin: 0 0 30px; font-size: 15px; line-height: 1.55; color: #6b6b6b; }
.sp-text { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: #262626; }
.sp-text:last-child { margin-bottom: 0; }
.sp-text b { font-weight: 500; color: #0b0b0b; overflow-wrap: anywhere; }
.sp-err { color: #d91e18; }
.sp-form { display: grid; gap: 18px; margin: 0; }
.sp-field label { display: block; font-size: 13px; font-weight: 500; color: #3a3a3a; margin: 0 0 8px; }
.sp-field input { display: block; width: 100%; height: 54px; margin: 0; padding: 0 16px; font: inherit; font-size: 16px; color: #0b0b0b; background: #f5f6f6; border: 1px solid #e2e4e4; border-radius: 3px; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.sp-field input::placeholder { color: #a3a6a6; }
.sp-field input:hover { border-color: #cfd2d2; }
.sp-field input:focus { background: #ffffff; border-color: #0b0b0b; box-shadow: 0 0 0 4px rgba(11, 11, 11, .06); }
.sp-btn { display: flex; width: 100%; height: 54px; align-items: center; justify-content: center; margin: 8px 0 0; padding: 0 20px; background: #0b0b0b; color: #ffffff; border: 0; border-radius: 3px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.sp-btn:hover { background: #262626; }
.sp-btn:focus-visible { outline: 2px solid #0b0b0b; outline-offset: 3px; }
.sp-btn--alt { display: inline-flex; width: auto; height: 50px; margin: 0; padding: 0 22px; background: #ffffff; color: #0b0b0b; border: 1px solid #e2e4e4; }
.sp-btn--alt:hover { background: #f8f9f9; border-color: #cfd2d2; }
.sp-fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: #8a8d8d; }
.sp-note { background: #f5f6f6; border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #3a3a3a; }
.sp-foot { margin: auto auto 0; padding-top: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #8a8d8d; text-decoration: none; transition: color .2s; }
.sp-foot img { display: block; height: 17px; width: auto; opacity: .85; transition: opacity .2s; }
.sp-foot:hover, .sp-foot:focus { color: #262626; text-decoration: none; }
.sp-foot:hover img { opacity: 1; }
@media (max-width: 600px) {
	.sp { padding: 12px 12px 28px; }
	.sp-card { padding: 30px 22px 28px; box-shadow: 0 10px 30px rgba(20, 20, 10, .08), 0 1px 3px rgba(20, 20, 10, .05); }
	.sp h1 { font-size: 26px; }
	.sp-lead { margin-bottom: 24px; }
	.sp-foot { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .sp * { transition: none !important; } }
