/* Форма листа ожидания email-курса — шорткод [trushnikova_email_waitlist]
   (mu-plugins/trushnikova-email-waitlist.php). Токены — из v2/inner.css, запасные значения
   на случай страницы без него. Подключается только там, где стоит форма. */
.th-ewl{min-width:0;max-width:560px}
.th-ewl__form{display:grid;gap:16px;margin:0}
.th-ewl__form[hidden]{display:none}
.th-ewl__field{display:grid;gap:6px;min-width:0}
.th-ewl__field label{font-size:14px;font-weight:500;color:var(--th-ink,#1F2933)}
.th-ewl__field input{display:block;width:100%;min-width:0;min-height:48px;margin:0;padding:0 14px;border:1px solid var(--th-line,#E7DCD8);border-radius:10px;background:#FFFFFF;font-family:var(--th-sans,inherit);font-size:16px;color:var(--th-ink,#1F2933);outline:none;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
.th-ewl__field input:hover{border-color:#D9CCC7}
.th-ewl__field input:focus{border-color:var(--th-action,#A16366);box-shadow:0 0 0 3px rgba(161,99,102,.18)}
.th-ewl [aria-invalid="true"]{border-color:#B5646A;background:#FDF6F5}
.th-ewl__err{display:block;font-size:13px;line-height:1.4;color:#8A3B40}
.th-ewl__err[hidden]{display:none}
.th-ewl__agree{display:flex;gap:12px;align-items:flex-start;margin:0;font-size:14px;line-height:1.5;color:var(--th-ink,#1F2933);cursor:pointer}
.th-ewl__agree input{width:20px;height:20px;flex:none;margin:1px 0 0;accent-color:var(--th-action,#A16366)}
.th-ewl__agree a{color:var(--th-link,#8A4F52);text-decoration:underline;text-underline-offset:2px}
.th-ewl__agree .th-ewl__err{margin-top:2px}
.th-ewl__send{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:12px 24px;border:0;border-radius:999px;background:var(--th-action,#A16366);color:#FFFFFF;font-family:var(--th-sans,inherit);font-size:15px;font-weight:500;cursor:pointer}
.th-ewl__send:hover{background:var(--th-hover,#8A4F52)}
.th-ewl__send:focus-visible{outline:2px solid var(--th-focus,#1F2933);outline-offset:2px}
.th-ewl__send:disabled{background:#B98A8C;cursor:progress}
.th-ewl__spin{display:none;width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.5);border-top-color:#FFFFFF;animation:th-ewl-spin .8s linear infinite}
.is-busy .th-ewl__spin{display:inline-block}
@keyframes th-ewl-spin{to{transform:rotate(360deg)}}
.th-ewl__msg{font-size:14px;line-height:1.5}
.th-ewl__msg:empty{display:none}
.th-ewl__msg.is-err{padding:12px 14px;border-radius:12px;background:#F5EBD8;color:#3E2E14}
.th-ewl__msg a{color:inherit;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.th-ewl__hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.th-ewl__ok{display:grid;gap:14px;justify-items:start;outline:none}
.th-ewl__ok[hidden]{display:none}
.th-ewl__ok-text{margin:0;padding:14px 16px;border-radius:12px;background:#E6EEE3;color:#2F4A2D;font-size:15px;line-height:1.55}
.th-ewl__bot{min-height:48px}
@media (min-width:768px){
  .th-ewl__send{width:auto;justify-self:start}
}
@media (prefers-reduced-motion:reduce){.th-ewl__spin{animation:none}}
