.contact-dialog { width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 2rem; overflow: auto; color: var(--ink); background: #fff; border: 0; border-top: 6px solid var(--gold); border-radius: 1rem; box-shadow: 0 24px 80px #003f2d45; overscroll-behavior: contain; }
.contact-dialog::backdrop { background: #002d22b3; }
body:has(.contact-dialog[open]) { overflow: hidden; }
.contact-dialog .eyebrow { padding-right: 2rem; margin-bottom: .55rem; }
.contact-dialog h2 { margin: 0; color: var(--evergreen); font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.3rem); line-height: 1.1; }
.contact-dialog #contact-intro { margin: .65rem 0 1.25rem; color: var(--muted); line-height: 1.5; }
.contact-dialog button, .contact-dialog input, .contact-dialog select, .contact-dialog textarea { font: inherit; }
.contact-close { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--evergreen); background: var(--sand); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.8rem !important; }
.contact-dialog fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-field { min-width: 0; margin-bottom: 1rem; }
.contact-field label { display: block; margin-bottom: .35rem; font-size: .94rem; font-weight: 700; }
.contact-field label span { color: var(--muted); font-weight: 400; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: .7rem .75rem; color: var(--ink); background: #fff; border: 1px solid #a9b9b1; border-radius: .4rem; }
.contact-field textarea { resize: vertical; }
.contact-dialog :is(input,select,textarea,button,a):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.contact-field [aria-invalid="true"] { border-color: #a12727; }
.contact-email-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-note, .contact-fallback { font-size: .85rem; line-height: 1.5; color: var(--muted); }
.contact-note { margin: .65rem 0 1rem; }
.contact-fallback { margin: .75rem 0 0; }
.contact-error { margin: .4rem 0 0; color: #a12727; font-size: .85rem; line-height: 1.4; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; min-height: 48px; padding: .75rem 1rem; color: #fff; background: var(--usf-green); border: 0; border-radius: .45rem; font-weight: 750 !important; cursor: pointer; }
.contact-submit:hover { background: var(--evergreen); }
.contact-submit:disabled { cursor: wait; opacity: .7; }
.contact-status { margin: 1rem 0; padding: 1rem; background: var(--sand); border-radius: .5rem; line-height: 1.5; }
.contact-status[data-tone="success"] { background: #e7f3ed; color: var(--deep-green); }
.contact-status[data-tone="error"] { background: #fff0ef; color: #8c2424; }
.contact-dialog [hidden] { display: none !important; }
@media (max-width: 560px) {
  .contact-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); padding: 1.4rem 1.1rem; border-radius: .75rem; }
  .contact-email-row { display: block; }
  .contact-field input, .contact-field select, .contact-field textarea { font-size: 16px; }
}
