/* 2026-11-23 phone-verify: inline SMS code widget (signup + edit account). Mobile first; fits 412 px portrait.
   Tap targets >= 44 px; text wraps inside its box (no fixed widths). */
.tw-pv{margin-top:10px;max-width:100%;box-sizing:border-box}
.tw-pv *{box-sizing:border-box}
.tw-pv [hidden]{display:none !important}
.tw-pv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:44px;max-width:100%;padding:12px 18px;border:0;border-radius:10px;background:#00a800;color:#fff;font-weight:700;font-size:16px;line-height:1.2;white-space:normal;text-align:center;cursor:pointer}
.tw-pv-btn:hover,.tw-pv-btn:focus-visible{background:#008a00;outline:none;box-shadow:0 0 0 3px rgba(0,168,0,.3)}
.tw-pv-btn[disabled]{opacity:.6;cursor:default}
.tw-pv-send{width:100%}
.tw-pv-label{display:block;margin:4px 0 6px;font-size:15px;font-weight:600;color:#333}
.tw-pv-row{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.tw-pv-row .tw-pv-input{flex:1 1 140px;min-width:0;min-height:48px;font-size:22px;letter-spacing:.3em;text-align:center}
.tw-pv-row .tw-pv-btn{flex:0 0 auto}
.tw-pv-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;margin:4px 8px 0 0;border:0;background:none;color:#0d4fb3;text-decoration:underline;font-size:15px;line-height:1.2;white-space:normal;text-align:left;cursor:pointer}
.tw-pv-link[disabled]{color:#666;text-decoration:none;cursor:default}
.tw-pv-ok{display:flex;gap:8px;align-items:center;margin:8px 0 0;padding:12px 14px;border-radius:10px;background:#e8f7e8;border:1.5px solid #00a800;color:#0a6b0a;font-weight:700;font-size:16px;line-height:1.3}
.tw-pv-ok svg{flex:0 0 auto}
.tw-pv-msg{margin:6px 0 0;font-size:14px;line-height:1.4;color:#333;overflow-wrap:anywhere}
.tw-pv-msg:empty{display:none}
.tw-pv-msg.is-bad{color:#b00020}
input.tw-pv-locked{background:#f3fbf3 !important;border-color:#00a800 !important}
.tw-pv-hint{margin:8px 0 0;font-size:14px;line-height:1.4;color:#b00020;text-align:center}
.tw-pv-hint[hidden]{display:none}
@media(max-width:575.98px){.tw-pv-btn{font-size:15px;padding:12px 14px}}
/* 2026-11-23 phone-verify (fix round 1): message sits right under the phone field / code row; links are full 44 px tap rows. */
.tw-pv-msg-phone{margin:6px 0 8px}
.tw-pv-msg-code{margin:8px 0 0}
.tw-pv-link{min-height:44px;margin:4px 0 0;padding:10px 4px}
.tw-pv-link[disabled]{color:#595959}
/* Signup card is dark (rgba(20,20,20,.94) over #0b0b0b, about #141414). WCAG AA on that background:
   links #9fd0ff 11.3:1, disabled countdown #b8b8b8 9.3:1, text #e6e6e6 14.8:1, errors #ff9b94 9.1:1.
   Light pages (edit account, white): links #0d4fb3 7.5:1, disabled #595959 7.0:1. */
body.tw-auth-signup .tw-pv-label{color:#e6e6e6}
body.tw-auth-signup .tw-pv-link{color:#9fd0ff}
body.tw-auth-signup .tw-pv-link:focus-visible{outline:2px solid #fff;outline-offset:2px}
body.tw-auth-signup .tw-pv-link[disabled]{color:#b8b8b8}
body.tw-auth-signup .tw-pv-msg{color:#e6e6e6}
body.tw-auth-signup .tw-pv-msg.is-bad{color:#ff9b94}
body.tw-auth-signup .tw-pv-hint{color:#ff9b94}
/* 2026-11-23 phone-verify (fix round 2): the "Phone verified" pill must be readable on BOTH the dark signup card and the light
   edit-account page. The signup card forces `.singup_bx.main p{color:rgba(255,255,255,.86)!important}`, which made the
   text near-white on the light-green pill. Dark green #0b5d1e on #e8f7e8 = 7.27:1 (AA). The check icon uses stroke=currentColor. */
.tw-pv-ok{color:#0b5d1e !important;padding:14px 16px;min-height:48px}
body.tw-auth-signup .twd .singup_bx.main p.tw-pv-ok{color:#0b5d1e !important;background:#e8f7e8}
