:root{
    --urhg-navy:#293768;
    --urhg-blue:#4c98cc;
    --urhg-white:#fff;
    --urhg-text:#333;
}
html.urhg-confirmed .urhg-overlay{display:none!important;}
body.urhg-lock-scroll{overflow:hidden!important;}
.urhg-overlay{
    position:fixed; inset:0; z-index:2147483000;
    display:flex; align-items:center; justify-content:center;
    padding:24px; background:rgba(14,25,53,.82);
    backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
}
.urhg-dialog{
    width:min(680px,100%); max-height:calc(100vh - 48px); overflow-y:auto;
    background:var(--urhg-white); color:var(--urhg-text);
    border-radius:4px; box-shadow:0 22px 65px rgba(0,0,0,.28);
    padding:38px 42px 34px;
}
.urhg-title{
    margin:0 0 18px; color:var(--urhg-navy);
    font-size:clamp(25px,3vw,34px); line-height:1.15; font-weight:600;
}
.urhg-text{font-size:16px; line-height:1.65;}
.urhg-text p{margin:0;}
.urhg-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:28px;}
.urhg-button,.urhg-button:hover,.urhg-button:focus,.urhg-button:active{
    min-height:44px; padding:10px 24px!important; border-radius:2px;
    border:1px solid transparent; box-shadow:none; font:inherit;
    font-size:15px; font-weight:600; cursor:pointer; transition:.2s ease;
}
.urhg-confirm{color:#fff!important; background:var(--urhg-navy)!important; border-color:var(--urhg-navy)!important;}
.urhg-confirm:hover,.urhg-confirm:focus{color:#fff!important; background:var(--urhg-blue)!important; border-color:var(--urhg-blue)!important;}
.urhg-reject{color:var(--urhg-navy)!important; background:transparent!important; border-color:var(--urhg-navy)!important;}
.urhg-reject:hover,.urhg-reject:focus{color:#fff!important; background:var(--urhg-navy)!important;}
@media(max-width:600px){
    .urhg-overlay{padding:16px;}
    .urhg-dialog{padding:28px 24px 24px;}
    .urhg-actions{display:grid; grid-template-columns:1fr;}
    .urhg-button{width:100%;}
}
