.sgp-form-feedback{grid-column:1/-1;margin:10px 0 0;font-size:.88rem;line-height:1.5;color:#475569}.sgp-form-feedback[data-kind=error]{color:#9f1239}.sgp-form-feedback[data-kind=saved]{color:#166534}.sgp-help{position:fixed;right:18px;bottom:18px;z-index:70;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#102b48;padding:10px 18px;font:600 14px system-ui;box-shadow:0 3px 16px #102b4820}.sgp-email-change{margin-top:24px}.sgp-email-change form{display:grid;gap:16px}.sgp-email-change label{display:grid;gap:7px}.sgp-email-change input{width:100%;min-height:44px;padding:10px;border:1px solid #bac7d6;border-radius:8px}.sgp-ai-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.sgp-ai-review{margin-top:18px;display:grid;gap:12px}.sgp-ai-review textarea{min-height:120px;width:100%}#mfa-enrollment img{max-width:100%;height:auto}#mfa-enrollment code{display:block;overflow-wrap:anywhere}#mfa-verify{display:grid;gap:16px;margin:20px 0}#mfa-verify[hidden]{display:none}#mfa-verify input,#mfa-factor{width:100%;min-height:44px;padding:10px;border:1px solid #bac7d6;border-radius:8px}
@media(max-width:640px){.sgp-help{bottom:calc(80px + env(safe-area-inset-bottom));right:12px}.sgp-ai-actions button{flex:1 1 150px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*{scroll-behavior:auto!important}}
.sgp-ai-review[hidden]{display:none}
@media(max-width:900px){#ri-app.ri-shell ~ .sgp-help{bottom:calc(80px + env(safe-area-inset-bottom))}}

/* Keep the native modal centered even when the application resets all margins. */
dialog.sgp-help-dialog{position:fixed;inset:0;box-sizing:border-box;width:calc(100vw - 32px);max-width:560px;height:fit-content;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid #d7e0ea;border-radius:20px;background:#fff;color:#102b48;box-shadow:0 24px 80px #071b3540;overflow:auto;overscroll-behavior:contain;font-family:var(--sgp-font,Inter,system-ui,sans-serif);font-size:15px;line-height:1.55;text-align:left}
dialog.sgp-help-dialog::backdrop{background:#071b357a}
.sgp-help-dialog .sgp-help-kicker{margin:0 0 8px;color:#475569;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.4;text-transform:uppercase}
.sgp-help-dialog h2{margin:0;font-size:26px;font-weight:750;letter-spacing:-.025em;line-height:1.2;color:#102b48}
.sgp-help-dialog #sgp-help-title:focus{outline:none}
.sgp-help-dialog #sgp-help-intro{margin:10px 0 0;color:#475569;font-size:14px;line-height:1.55}
.sgp-help-dialog .sgp-help-tips{display:grid;gap:16px;margin:24px 0;padding:0;list-style:none}
.sgp-help-dialog .sgp-help-tips li{display:grid;gap:3px;margin:0;padding:0}
.sgp-help-dialog .sgp-help-tips strong{font-size:14px;font-weight:700;line-height:1.4;color:#102b48}
.sgp-help-dialog .sgp-help-tips span{font-size:14px;line-height:1.55;color:#475569;overflow-wrap:anywhere}
.sgp-help-dialog .sgp-help-support{margin:0;padding:20px 0 0;border-top:1px solid #e2e8f0}
.sgp-help-dialog h3{margin:0 0 7px;font-size:16px;font-weight:700;line-height:1.4;color:#102b48}
.sgp-help-dialog p{margin:0;font-size:14px;line-height:1.55;color:#475569}
.sgp-help-dialog .sgp-help-note{margin:8px 0 0;font-size:12px}
.sgp-help-dialog .sgp-help-address{margin:8px 0 0;font-size:13px;font-weight:600;color:#102b48;overflow-wrap:anywhere}
.sgp-help-dialog .sgp-help-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin:24px 0 0}
.sgp-help-dialog .sgp-help-actions form{display:flex;margin:0;padding:0;flex:0 0 auto}
dialog.sgp-help-dialog .sgp-help-action{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:0;padding:12px 18px;border:1px solid #102b48;border-radius:10px;font:600 14px/1.3 var(--sgp-font,Inter,system-ui,sans-serif);text-align:center;text-decoration:none;white-space:normal;cursor:pointer;box-shadow:none;transition:background-color .15s,color .15s,border-color .15s}
dialog.sgp-help-dialog .sgp-help-primary{flex:1 1 auto;background:#102b48;color:#fff}
dialog.sgp-help-dialog .sgp-help-primary:hover{background:#1e466d;border-color:#1e466d;color:#fff}
dialog.sgp-help-dialog .sgp-help-secondary{min-width:90px;background:#fff;color:#102b48}
dialog.sgp-help-dialog .sgp-help-secondary:hover{background:#f1f5f9;color:#102b48}
dialog.sgp-help-dialog .sgp-help-action:focus-visible{outline:3px solid #2874bc;outline-offset:3px}
@media(max-width:420px){dialog.sgp-help-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:22px;border-radius:16px}.sgp-help-dialog h2{font-size:23px}.sgp-help-dialog .sgp-help-actions{flex-direction:column}.sgp-help-dialog .sgp-help-actions form,.sgp-help-dialog .sgp-help-action{width:100%}}
@media(prefers-reduced-motion:reduce){dialog.sgp-help-dialog .sgp-help-action{transition:none}}
