body.ag-modal-open { overflow:hidden; }
.ag-dialog { box-sizing:border-box; width:min(94vw,640px); max-width:640px; max-height:90svh; margin:auto; padding:0; border:0; border-radius:2rem; background:#fff; color:#232323; box-shadow:0 30px 80px #0004; font:400 1rem/1.5 'Golos Text',Arial,sans-serif; overflow:auto; overscroll-behavior:contain; }
.ag-dialog::backdrop { background:rgb(13 25 22 / .7); }
.ag-dialog .ag-dialog-bar { position:sticky; top:0; z-index:1; display:flex; justify-content:flex-end; background:#fff; padding:12px 16px 0; }
.ag-dialog .ag-close { display:inline-flex; align-items:center; justify-content:center; border:1px solid #cbd8d0; border-radius:100px; background:#e9f0f0; color:#232323; padding:10px 18px; min-height:44px; font:600 .95rem/1.4 'Golos Text',Arial,sans-serif; cursor:pointer; }
.ag-dialog .ag-dialog-content { padding:0 12px 16px; }
.ag-dialog .ag-dialog-loading,.ag-dialog .ag-dialog-content > p { padding:24px; }
.ag-dialog .ag-quote { box-sizing:border-box; width:100%; max-width:none; margin:0; padding:20px 24px 24px; border:0; border-radius:0; box-shadow:none; background:#fff; color:#232323; font:400 1rem/1.5 'Golos Text',Arial,sans-serif; }
.ag-dialog .ag-quote h2 { font:700 clamp(1.6rem,4vw,2rem)/1.2 'Golos Text',Arial,sans-serif; color:#232323; margin:0 0 16px; letter-spacing:-.02em; }
.ag-dialog .ag-quote p { font:400 .95rem/1.6 'Golos Text',Arial,sans-serif; color:#46574e; margin:0 0 16px; }
.ag-dialog .ag-quote label { display:block; font:600 .95rem/1.4 'Golos Text',Arial,sans-serif; color:#232323; margin:16px 0; }
.ag-dialog .ag-quote input,.ag-dialog .ag-quote textarea { box-sizing:border-box; display:block; width:100%; min-height:48px; margin-top:7px; padding:12px 15px; border:1px solid #899f93; border-radius:1rem; background:#f6f8f7; color:#232323; font:400 1rem/1.5 'Golos Text',Arial,sans-serif; }
.ag-dialog .ag-quote :where(input,textarea,button,a):focus-visible,.ag-dialog .ag-close:focus-visible { outline:3px solid #28764f; outline-offset:3px; }
.ag-dialog .ag-quote button[type=submit],.ag-dialog .ag-quote-retry { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:14px 24px; border:0; border-radius:100px; background:#49a078; color:#13271c; font:700 1rem/1.4 'Golos Text',Arial,sans-serif; cursor:pointer; }
.ag-dialog .ag-quote button[type=submit]:hover { background:#357b5b; color:#fff; }
.ag-dialog .ag-quote a,.ag-dialog .ag-dialog-content > a { color:#28764f; text-decoration:underline; text-underline-offset:3px; }
.ag-dialog .ag-quote [role=status] { margin-top:16px; }
.ag-dialog button:disabled { opacity:.65; cursor:wait; }
.ag-dialog .ag-quote-retry,.ag-dialog .ag-dialog-content > a { margin:0 24px 24px; }
.ag-quote [data-ag-standalone-back] { display:inline-flex; margin-bottom:24px; min-height:44px; align-items:center; }
@media(max-width:600px) { .ag-dialog { width:calc(100vw - 24px); max-height:94svh; border-radius:1.5rem; } .ag-dialog .ag-quote { padding:16px 12px; } .ag-dialog .ag-quote button[type=submit] { width:100%; } }
