/* Homepage actions retain the approved Navy/Blue design. */
.cta[data-open-signup]{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;padding:13px 24px;border:0;border-radius:12px;background:#2563eb;color:#fff;font-family:inherit;font-size:16px;font-weight:650;line-height:1.25;letter-spacing:-.01em;text-decoration:none;box-shadow:none;transform:none;transition:background-color 140ms ease}
.cta[data-open-signup]:hover:not(:disabled){background:#1d4ed8;text-decoration:none}.cta[data-open-signup]:active:not(:disabled){background:#1e40af;transform:none}.cta[data-open-signup]:disabled{background:#e2e8f0;color:#475569;opacity:1;cursor:default}.cta[data-open-signup]:focus-visible{outline:3px solid #16213e;outline-offset:3px;box-shadow:0 0 0 3px #fff}
.header button.login{font-family:inherit;min-height:44px;border:0;border-radius:10px;background:#e9edf5;color:#13243e;font-weight:600;cursor:pointer}.text-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:6px 8px;border:0;background:transparent;color:#1d4ed8;font:inherit;font-weight:650;line-height:1.5;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#account-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #d8e0eb;border-radius:18px;color:#13243e;background:#fff;overflow:auto;box-shadow:0 20px 70px rgb(14 30 53 / .18)}#account-dialog::backdrop{background:rgb(14 30 53 / .55)}
.account-modal-inner{box-sizing:border-box;min-width:0;padding:24px}.account-modal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.account-modal-top img{display:block;width:132px;max-width:65%;height:auto}
#account-dialog .account-close{display:grid;place-items:center;flex:0 0 auto;width:44px;min-height:44px;padding:0;border:1px solid #e1e7ef;border-radius:10px;background:#f7f9fc;color:#425873;font:inherit;font-size:27px;line-height:1;cursor:pointer}
#account-dialog #account-title{margin:0;color:#16213e;font-size:27px;font-weight:700;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere}#account-dialog #account-intro{margin:9px 0 20px;color:#5b6c81;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
#account-dialog form{display:grid;gap:8px;min-width:0}#account-dialog form>label{margin-top:6px;color:#334b66;font-size:13px;font-weight:650;line-height:1.5}#account-dialog input:not([type=checkbox]){box-sizing:border-box;min-width:0;width:100%;min-height:48px;padding:11px 12px;border:1px solid #b3c1d3;border-radius:9px;background:#fff;color:#13243e;font:inherit;font-size:16px;line-height:1.5}#account-dialog input[aria-invalid=true]{border-color:#ba4b4b}#account-dialog small{color:#62748a;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
#account-dialog fieldset{min-width:0;margin:10px 0 2px;padding:12px 13px;border:1px solid #dce5ef;border-radius:9px;background:#f8faff}#account-dialog legend{padding:0 5px;color:#48627e;font-size:12px;font-weight:650}#account-dialog fieldset p{margin:8px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.signup-check{display:flex;align-items:center;gap:9px;min-height:44px;color:#243e5d;font-size:13px;line-height:1.6}.signup-check input{flex:0 0 auto;width:19px;height:19px;margin:0;accent-color:#2563eb}
#account-dialog .account-primary,#account-dialog #homepage-signup .cta{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;min-height:48px;max-width:100%;margin:12px 0 0;padding:12px 16px;border:0;border-radius:10px;background:#2563eb;color:#fff;font:inherit;font-size:15px;font-weight:650;line-height:1.5;text-decoration:none;box-shadow:none;transform:none;cursor:pointer}#account-dialog .account-primary:hover:not(:disabled),#account-dialog #homepage-signup .cta:hover:not(:disabled){background:#1d4ed8}#account-dialog button:disabled{cursor:wait;opacity:.6}#account-dialog .account-primary:disabled,#account-dialog #homepage-signup .cta:disabled{background:#e2e8f0;color:#475569;opacity:1}
#account-dialog .account-alternatives{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px;margin-top:3px}#account-dialog .text-action{font-size:13px}#account-dialog .account-switch{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;margin:12px 0 0;color:#5b6c81;font-size:13px;line-height:1.6}
#account-dialog .account-status{margin:13px 0 0;border-radius:9px;background:#eff5ff;padding:12px;color:#264d7a;font-size:13px;line-height:1.7;overflow-wrap:anywhere}#account-dialog .account-status:empty{display:none}#account-dialog .account-status[role=alert]{border:1px solid #efd2cc;background:#fff5f2;color:#943f33}#account-dialog .account-result-actions{display:grid;gap:4px}#account-dialog .account-policy-note{display:block;margin-top:8px;text-align:center}
#account-dialog .account-retention summary,#account-dialog .account-receipt-detail summary{min-height:44px;box-sizing:border-box;padding:12px 0;color:#45658b;font-size:12px;line-height:1.6;cursor:pointer}#account-dialog .account-retention p{margin-top:0}#account-dialog .account-label{margin:18px 0 4px;color:#62748a;font-size:12px}#account-dialog #account-email{margin:4px 0 9px;color:#18395e;font-size:16px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}#account-dialog #account-receipt{margin:0 0 8px;color:#5b6c81;font-size:12px;line-height:1.7;overflow-wrap:anywhere}#account-dialog #homepage-logout{display:flex;margin:7px auto 0}
.account-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:13px;border-top:1px solid #e1e8f0}.account-modal-footer>a{display:inline-flex;align-items:center;min-height:44px;color:#45658b;font-size:12px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}.account-modal-footer>small{max-width:205px;text-align:right}
#account-dialog [hidden]{display:none!important}#account-dialog :focus-visible,.text-action:focus-visible,[data-open-login]:focus-visible{outline:3px solid #2463cc;outline-offset:3px}body.login-open,body.signup-open{overflow:hidden}
@media(max-width:360px){.account-modal-inner{padding:18px}.account-modal-top{margin-bottom:14px}#account-dialog #account-title{font-size:25px}.account-modal-footer{align-items:flex-start;flex-direction:column;gap:0}.account-modal-footer>small{max-width:none;text-align:left}#account-dialog fieldset{padding:10px}#account-dialog .account-alternatives{gap:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cta[data-open-signup]{transition:none}}

/* Isolate the account footer from the public homepage footer spacing. */
#account-dialog .account-modal-footer{padding:12px 0 0;flex-wrap:nowrap}
