#contact { margin: 2rem 0; padding: 1.25rem; border: 1px solid #b8c4d4; border-radius: 12px; background: #f4f6fa; scroll-margin-top: 16px; }
#contact h2 { margin-top: 0; font-size: 1.35rem; }
#contact a { overflow-wrap: anywhere; }
#contact fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#contact label { display: block; font-weight: 600; margin-top: 1rem; }
#contact input:not([type=checkbox]), #contact select, #contact textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 44px; margin-top: .35rem;
  font: inherit; color: #172333; background: white; border: 1px solid #76879b; border-radius: 6px; padding: .65rem .75rem;
}
#contact textarea { resize: vertical; }
#contact input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; margin: .15rem 0 0; }
#contact label.contact-check { display: flex; gap: .75rem; font-weight: 400; }
#contact button { min-height: 44px; border-radius: 6px; padding: .65rem 1.2rem; margin-top: 1rem; font: inherit; font-weight: 600; cursor: pointer; }
#contactSubmit { color: white; background: #173e70; border: 1px solid #173e70; }
#contactNew { color: #173e70; background: white; border: 1px solid #173e70; }
#contact button:disabled { cursor: wait; opacity: .65; }
#contact :focus-visible { outline: 3px solid #185ec4; outline-offset: 3px; }
#contact .contact-hint { font-size: 14px; line-height: 1.6; color: #465364; }
#contactStatus { padding: .85rem; margin-top: 1rem; background: white; border-left: 4px solid #173e70; overflow-wrap: anywhere; }
#contact [hidden] { display: none !important; }
@media (max-width: 480px) { #contact { padding: 1rem; margin-left: -.25rem; margin-right: -.25rem; } }
