/* FINAL77 — rounded contact sections throughout the site. */
html body .grant-contact.section,
html body .shared-contact.section {
  width:min(1320px,calc(100% - 32px));
  margin:40px auto 64px;
  padding:clamp(24px,4vw,56px)!important;
  border-radius:36px!important;
  border:1px solid var(--line);
  gap:clamp(28px,4vw,64px);
}
html body .contact-form {
  min-width:0;
  padding:clamp(22px,2.8vw,36px)!important;
  border:1px solid var(--line);
  border-radius:28px!important;
  background:var(--bg);
  box-shadow:0 14px 38px #0000000d;
}
html body .contact-form :is(input:not([type=checkbox]),select,textarea) {
  border-radius:14px!important;
}
html body.page-agregaty .grant-contact.section {width:100%;}
html[data-theme=dark] body.page-agregaty {
  --gen-paper:#0b0c10;
  --gen-soft:#14161c;
  --gen-line:#2c2f37;
  --gen-muted:#b2b7c2;
  --bg:#0b0c10;
  --panel:#14161c;
  --line:#2c2f37;
  background:#0b0c10;
}
html[data-theme=dark] body.page-agregaty .grant-contact {background:#111318;}
html[data-theme=dark] body.page-agregaty .grant-contact .contact-form {background:#181b22;border-color:#30343e;}
html[data-theme=dark] body.page-agregaty .grant-form :is(input:not([type=checkbox]),select,textarea),
html[data-theme=dark] body.page-agregaty .grant-form select option {background:#0e1015;color:#edf4ff;border-color:#30343e;}
@media(max-width:760px) {
  html body .grant-contact.section,html body .shared-contact.section {
    width:calc(100% - 24px);
    margin:28px auto 40px;
    padding:26px 18px!important;
    border-radius:28px!important;
    gap:28px;
  }
  html body .contact-form {padding:22px 16px!important;border-radius:22px!important;}
  html body.page-agregaty .grant-contact.section {width:100%;}
}
