button { font-family: inherit; cursor: pointer; border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ff91bd; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
.tester-dialog { color: #30272c; background: #fffdfd; border: 1px solid #f7e3eb; border-radius: 28px; padding: 32px;
  max-width: 460px; width: calc(100% - 32px); box-sizing: border-box; max-height: calc(100dvh - 32px); overflow-y: auto;
  box-shadow: 0 24px 90px #47223824; text-align: left; }
.tester-dialog::backdrop { background: #36232b5c; backdrop-filter: blur(7px); }
.tester-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: #faf0f4; color: #806c75; font-size: 26px; line-height: 1; }
.tester-eyebrow { color: #d92a79; text-transform: uppercase; font-size: 10px; font-weight: 750; letter-spacing: 1.8px; margin: 4px 44px 14px 0; }
.tester-dialog h2 { font-size: 28px; letter-spacing: -.9px; line-height: 1.12; margin: 0 28px 10px 0; }
.tester-dialog .intro { font-size: 14px; color: #8c7e85; margin: 0 0 22px; line-height: 1.5; }
.tester-dialog label { display: block; font-size: 12px; color: #59434f; font-weight: 650; margin-bottom: 7px; }
.tester-dialog input:not([type=checkbox]) { width: 100%; box-sizing: border-box; border: 1px solid #eadde3; border-radius: 12px;
  min-height: 48px; background: white; padding: 12px; color: #30272c; font: inherit; font-size: 16px; }
.tester-dialog input::placeholder { color: #b4a5ac; font-size: 13px; }
.tester-field { margin-bottom: 16px; }
.tester-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tester-dialog .hint { margin: 7px 0 0; font-size: 11px; line-height: 1.5; color: #97838e; }
.optional { font-weight: 400; color: #ad99a3; font-size: 10px; }
.tester-dialog .tester-consent { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; color: #8b7781; font-size: 11px; line-height: 1.55; margin: 8px 0 18px; }
.tester-consent input { accent-color: #e83e8a; margin: 2px 0 0; flex-shrink: 0; width: 16px; height: 16px; }
.tester-submit { width: 100%; min-height: 50px; border-radius: 15px; background: #ee448e; color: #fff; font-size: 15px; font-weight: 650; box-shadow: 0 7px 16px #ee448e20; }
.tester-error { color: #b6375d; font-size: 12px; line-height: 1.5; margin: 12px 0; }
.tester-success { text-align: center; padding: 14px 0 8px; }
.tester-success-mark { width: 64px; height: 64px; border-radius: 50%; background: #fbe7ef; color: #e83e8a; display: grid; place-items: center; margin: 0 auto 20px; font-size: 28px; }
.tester-dialog .tester-success h3 { font-size: 27px; letter-spacing: -.8px; margin: 0 0 12px; }
.tester-dialog .tester-success p { font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.tester-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 380px) { .tester-dialog { padding: 26px 22px; } .tester-row { grid-template-columns: 1fr; gap: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.beta-agreement h3 {font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:8px 0 12px}
.agreement-badge {font-size:10px;letter-spacing:1.4px;color:#a61c58;font-weight:750}
.tester-dialog .agreement-lead {font-size:14px;line-height:1.6;color:#65525c;margin:0 0 18px}
.agreement-terms {max-height:36dvh;min-height:150px;overflow:auto;overscroll-behavior:contain;border:1px solid #eadde3;border-radius:16px;background:#fff;padding:16px;margin-bottom:8px}
.agreement-terms h4 {font-size:15px;line-height:1.4;margin:0 0 8px;color:#382932}
.tester-dialog .agreement-terms p {font-size:14px;line-height:1.65;color:#59434f;margin:0 0 20px;overflow-wrap:anywhere}
.agreement-link {display:inline-block;background:none;color:#aa225e;text-decoration:underline;text-underline-offset:3px;font-size:13px;padding:12px 0;min-height:44px}
.beta-agreement .tester-consent {font-size:13px;color:#59434f;margin:16px 0;gap:12px}
.beta-agreement input[type=checkbox] {width:22px;height:22px}
.beta-agreement .hint {margin:12px 0}
.agreement-confirmation {padding:12px 16px;background:#faedf3;border-radius:14px;margin-bottom:20px;font-size:13px;line-height:1.5}
.agreement-confirmation span {display:block;overflow-wrap:anywhere}
@media(max-width:480px){.tester-dialog{padding:28px 20px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:22px}.agreement-terms{max-height:32dvh}}

/* Keep the automatic TestFlight handoff compact and calm. */
.tester-dialog.testflight-handoff { max-width: 400px; }
.testflight-handoff .tester-success { padding: 0; text-align: left; }
.testflight-handoff .tester-success-mark { display: none; }
.testflight-handoff .intro { margin-bottom: 12px; }
.testflight-handoff .tester-success p { margin: 0; color: #65525c; }
.testflight-handoff .tester-success .agreement-link {
  align-items: center; justify-content: center; box-sizing: border-box;
  margin-top: 16px; min-height: 44px; font-weight: 650;
}
