/* Apple sign-in follows the public OKSEVEN account dialog. No title tooltips. */
.ipa-auth,.ipa-auth *{box-sizing:border-box}.ipa-dialog.ipa-auth{width:400px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:31px;border:1px solid #e2ddd2;border-radius:24px;background:#faf9f6;color:#252923;box-shadow:0 32px 100px #11130f40;overflow:auto;scrollbar-width:none;overscroll-behavior:contain;font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ipa-auth::backdrop{background:#151814b8;backdrop-filter:blur(7px)}.ipa-auth .ipa-dialog-head{align-items:flex-start;gap:16px}.ipa-auth h2{font-size:28px;line-height:1.25;letter-spacing:-.8px;font-weight:700;margin:0;padding-top:3px;color:#292c25}.ipa-auth .ipa-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;min-height:0;padding:0;border:1px solid #deded4;border-radius:11px;background:#efeee7;color:#656b5e;cursor:pointer;line-height:1;transition:background .2s,color .2s}.ipa-auth .ipa-close svg{display:block;margin:0}.ipa-auth .ipa-close:hover{background:#e8e4d8;color:#b85417}.ipa-auth .ipa-close:disabled{opacity:.5;cursor:wait}.ipa-auth #ipa-login-description{font-size:16px;line-height:1.7;color:#8b9283;margin:19px 0 23px}.ipa-auth label{display:block;font-size:15px;line-height:1.5;font-weight:500;color:#656e5b;margin:0 0 18px}.ipa-auth .ipa-auth-password{margin:0 0 18px}.ipa-auth .ipa-auth-password>label{margin-bottom:7px}.ipa-auth .ipa-password-field{position:relative}.ipa-auth input:not([type=hidden]){display:block;width:100%;min-width:0;min-height:50px;padding:12px 14px;margin:7px 0 0;border:1px solid #dcded2;border-radius:11px;background:#fff;color:#252923;font:inherit;font-size:16px;line-height:1.5;outline:none}.ipa-auth .ipa-password-field input{padding-right:52px;margin-top:0}.ipa-auth .ipa-password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:9px;background:transparent;color:#707668;cursor:pointer;transition:background .2s,color .2s}.ipa-auth .ipa-password-toggle:hover{background:#eeede5;color:#994511}.ipa-auth .ipa-password-toggle[aria-pressed="true"]{color:#994511}.ipa-auth .ipa-password-toggle svg{display:block;width:20px;height:20px}.ipa-auth .ipa-password-warning{margin:9px 0 0;font-size:13px;line-height:1.55;color:#c24d34}.ipa-auth input:focus{border-color:#c16a2f;box-shadow:0 0 0 3px #f374241c}.ipa-auth .ipa-privacy{font-size:14px;line-height:1.7;color:#92988a;margin:20px 0}.ipa-auth #ipa-login-feedback{font-size:14px;line-height:1.65;color:#a76430;margin:0 0 18px;overflow-wrap:anywhere}.ipa-auth #ipa-login-feedback:empty{display:none}.ipa-auth .ipa-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:13px 18px;margin:0;border:1px solid #292c25;border-radius:12px;background:#292c25;color:#fffaf3;font:inherit;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer;box-shadow:none;transition:background .2s,color .2s}.ipa-auth .ipa-primary:hover{background:#41443b;border-color:#41443b;color:#ff9b56}.ipa-auth .ipa-primary:disabled{opacity:.6;cursor:wait}.ipa-auth .ipa-otp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:5px 0 18px}.ipa-auth .ipa-otp input{min-height:55px;height:55px;width:100%;padding:8px 0;margin:0;text-align:center;font-size:23px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;border-radius:10px;caret-color:#b96625}.ipa-auth .ipa-auth-back{display:inline-flex;align-items:center;justify-content:center;min-height:38px;width:100%;padding:7px 10px;border:0;border-radius:9px;background:transparent;color:#838b77;font:inherit;font-size:15px;line-height:1.5;cursor:pointer}.ipa-auth .ipa-auth-back:hover{color:#ba5a1a;background:#f1eee5}.ipa-auth button:focus-visible{outline:2px solid #c16a2f;outline-offset:3px}.ipa-auth [hidden]{display:none!important}
@media(max-width:600px){.ipa-dialog.ipa-auth{padding:26px 23px;max-width:calc(100% - 28px)}.ipa-auth h2{font-size:27px}.ipa-auth .ipa-otp{gap:6px}.ipa-auth .ipa-otp input{height:51px;min-height:51px;font-size:22px}}
@media(prefers-reduced-motion:reduce){.ipa-auth *{transition:none!important}}
.ipa-code-actions{display:grid;gap:9px;margin-top:18px}.ipa-auth-resend{display:block;width:100%;font:inherit;font-size:15px;font-weight:600;line-height:1.5;padding:10px 12px;border:1px solid #dcded2;border-radius:11px;background:#f4f5ee;color:#414a36;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.ipa-auth-resend:hover:not(:disabled){background:#e9eddf;border-color:#bdc7ad;color:#293221}.ipa-auth-resend:disabled{color:#919687;cursor:default;background:#f7f7f1}.ipa-auth-resend:focus-visible{outline:2px solid #59654a;outline-offset:3px}.ipa-code-actions .ipa-auth-back{margin-top:0}
@media(prefers-reduced-motion:reduce){.ipa-auth-resend{transition:none}}

/* Keep the original compact spacing; the button communicates connection progress. */
.ipa-auth .ipa-auth-stages>div[hidden]{display:none!important}
.ipa-auth:has(#ipa-auth-credentials:not([hidden])):has(#ipa-login-submit[aria-busy="true"]) #ipa-login-feedback{display:none}
.ipa-auth #ipa-password:disabled::placeholder{color:#656e5b;letter-spacing:4px;opacity:1}
.ipa-auth .ipa-primary[aria-busy="true"]::before{content:"";width:17px;height:17px;margin-right:10px;border:2px solid #fffaf350;border-top-color:#fffaf3;border-radius:50%;animation:ipa-auth-spin .8s linear infinite}
@keyframes ipa-auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ipa-auth .ipa-primary[aria-busy="true"]::before{animation:none}}

.ipa-auth #ipa-login-feedback[data-notice="true"]{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #f4e6bf;border-radius:12px;background:#fbf2dd;color:#836431;font-size:15px;line-height:1.6;margin:0 0 18px}
.ipa-auth #ipa-login-feedback[data-notice="true"]::before{content:"i";display:flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;border:1.7px solid #c18a30;border-radius:50%;color:#b67f27;font-family:Georgia,serif;font-size:15px;font-weight:700;line-height:1}

/* v0.3.160: match the homepage's compact password masking on phones. */
@media(max-width:600px){
 .ipa-auth .ipa-password-field input[type="password"]{font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:400;letter-spacing:1px}
 .ipa-auth #ipa-password:disabled::placeholder{letter-spacing:1px}
}

/* v0.3.196 — match the existing OKSEVEN auth popup; override legacy generic .ipa-dialog button/p rules. */
.ipa-dialog.ipa-auth .ipa-password-field{position:relative;display:block;width:100%}
.ipa-dialog.ipa-auth .ipa-password-field #ipa-password{display:block;width:100%;padding-right:52px;margin:0}
.ipa-dialog.ipa-auth .ipa-password-field .ipa-password-toggle{position:absolute;right:6px;top:50%;left:auto;bottom:auto;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;min-height:0;padding:0;margin:0;border:0;border-radius:9px;background:transparent;color:#707668;box-shadow:none;line-height:1;cursor:pointer}
.ipa-dialog.ipa-auth .ipa-password-field .ipa-password-toggle:hover{background:#eeede5;color:#994511}
.ipa-dialog.ipa-auth .ipa-password-field .ipa-password-toggle[aria-pressed="true"]{color:#994511}
.ipa-dialog.ipa-auth .ipa-password-field .ipa-password-toggle svg{display:block;width:20px;height:20px;flex:none}
.ipa-dialog.ipa-auth .ipa-password-field .ipa-password-toggle svg[hidden]{display:none!important}
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning{margin:9px 0 0;padding:0;color:#c43832;font-size:13px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}

/* v0.3.197: requested compact copy, exact specificity. */
.ipa-auth .ipa-privacy {font-size:13px;line-height:1.7;color:#92988a;margin:20px 0;}
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning {margin:15px 0 0;padding:0;color:#c43832;font-size:14px;font-weight:500;line-height:1.55;overflow-wrap:anywhere;}
.ipa-dialog.ipa-auth #ipa-login-feedback[data-notice="true"] a {color:#9b451e;text-decoration:underline;text-underline-offset:2px;font-weight:600;}
.ipa-dialog.ipa-auth #ipa-login-feedback[data-notice="true"] a:hover {color:#713015;}

/* v0.3.198: Apple-password guidance matches the existing resend-code notice. */
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 0;
    padding: 12px 13px;
    border: 1px solid #f4e6bf;
    border-radius: 12px;
    background: #fbf2dd;
    color: #836431;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning::before {
    content: "i";
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1.7px solid #c18a30;
    border-radius: 50%;
    color: #b67f27;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* v0.3.199: remove decorative information icon from Apple ID password hint. */
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning::before { display: none; content: none; }
.ipa-dialog.ipa-auth .ipa-auth-password .ipa-password-warning { display: block; }
