#abg-project-dialog:not([open]){display:none}
#abg-project-dialog{box-sizing:border-box;width:min(620px,calc(100% - 32px));max-width:620px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-top:4px solid #A90433;border-radius:8px;background:#fff;color:#5F5E5E;font-family:Arial,Helvetica,sans-serif;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 64px rgba(0,25,45,.25)}
#abg-project-dialog::backdrop{background:rgba(3,27,45,.76)}
.abg-dialog-open,.abg-dialog-open body{overflow:hidden}
#abg-project-dialog .abg-project-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px 16px;background:#fff}
#abg-project-dialog h2{margin:0;color:#0A455F;font-family:Arial,Helvetica,sans-serif;font-size:28px;font-weight:700;line-height:1.2}
#abg-project-dialog .abg-project-dialog-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#A90433;color:#fff;font-size:30px;font-weight:400;line-height:1;cursor:pointer}
#abg-project-dialog .abg-project-dialog-close:hover{background:#8C2732}
#abg-project-dialog .abg-project-dialog-content{padding:0 28px 28px;font-size:16px;line-height:1.5}
#abg-project-dialog p{margin:0 0 16px}
#abg-project-dialog label{font-size:16px;line-height:1.5}
#abg-project-dialog input[type=text],#abg-project-dialog input[type=email],#abg-project-dialog input[type=tel],#abg-project-dialog textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;border:1px solid #77909B;border-radius:4px;padding:10px 12px;background:#fff;color:#0A455F;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.4}
#abg-project-dialog textarea{height:110px;min-height:88px;resize:vertical}
#abg-project-dialog input[type=submit]{min-height:48px;max-width:100%;padding:14px 24px;border:0;border-radius:4px;background:#A90433;color:#fff;font:700 16px Arial,Helvetica,sans-serif;white-space:normal;cursor:pointer}
#abg-project-dialog input[type=submit]:hover{background:#8C2732}
#abg-project-dialog :focus-visible{outline:2px solid #A90433;outline-offset:3px}
#abg-project-dialog .wpcf7-response-output{margin:16px 0 0}
@media(max-width:767px){#abg-project-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}#abg-project-dialog .abg-project-dialog-head{padding:16px 18px 12px}#abg-project-dialog .abg-project-dialog-content{padding:0 18px 20px}#abg-project-dialog h2{font-size:23px}}
