#agPhoneDialog [hidden]{display:none!important}
#agPhoneDialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid #c9a482;border-radius:22px;background:linear-gradient(135deg,#fffaf2,#f3e5d0);color:#183323;box-shadow:0 25px 85px #0006;font:16px Arial,sans-serif}
#agPhoneBackdrop{background:#101b16a8;backdrop-filter:blur(4px)}
#agPhoneDialog h2{font:700 28px Georgia,serif;margin:12px 0}
.ag-phone-brand{font-size:11px;letter-spacing:2px;color:#84213b}
.ag-phone-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#84213b;font-size:30px;cursor:pointer;padding:4px 10px}
#agPhoneDialog form{display:grid;gap:12px;margin:18px 0}
#agPhoneDialog input:not([type=checkbox]){box-sizing:border-box;width:100%;border:1px solid #c9a482;border-radius:10px;background:#fffaf5;color:#183323;font:16px Arial;padding:12px}
#agPhoneDialog label{font-size:14px;line-height:1.5}
#agPhoneDialog .ag-customer-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px}
.ag-customer-consent input{flex:0 0 auto;width:18px;height:18px;margin:2px 0;accent-color:#84213b}
.ag-customer-captcha{min-height:100px;max-width:100%;margin:12px 0 4px}
.ag-customer-account{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:13px;overflow-wrap:anywhere;margin:16px 0}
.ag-customer-account span{min-width:0}
#agPhoneDialog .ag-customer-account .btn{padding:7px 12px;flex-shrink:0;font-size:13px}
#agPhoneDialog .ag-customer-retry{font-size:13px;padding:7px 12px;margin-bottom:12px}
.ag-phone-line{margin:20px 0}.ag-phone-line label{display:block;margin-bottom:8px}
#agPhoneDialog .ag-phone-line input{color:#76243b;font:700 22px Georgia}
.ag-phone-line>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#agPhoneDialog .btn{padding:11px 18px;font-size:15px;cursor:pointer}
#agPhoneDialog .btn:disabled{opacity:.5;cursor:default}
#agPhoneStatus{line-height:1.5;overflow-wrap:anywhere}
.ag-phone-hint{font-size:13px;line-height:1.6;color:#6b6056}
#agPhoneDialog :focus-visible{outline:2px solid #84213b;outline-offset:3px}
@media(max-width:400px){#agPhoneDialog{padding:22px 16px}.ag-phone-line .btn{flex:1}.ag-customer-account{flex-wrap:wrap}}

#agPhoneBackdrop[hidden]{display:none!important}
#agPhoneBackdrop{position:fixed;inset:0;z-index:99998}
#agPhoneDialog[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;z-index:99999}
