/* Contact form: subjects, choices and the fields that depend on a choice. Loaded only on the form page. The base style is in the theme. */
.vm-subjects h2 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
.vm-subjects ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-width: 40rem; }
.vm-subjects a { display: block; padding: .8rem 1.1rem; border: 2px solid #8a8fa8; border-radius: 16px; background: #fff; color: #1f2340; font-weight: 600; text-decoration: none; }
.vm-subjects a:hover { border-color: #1f2340; background: #f0f2f9; color: #1f2340; }
.vm-subject__title { margin: 0 0 .3rem; }
.vm-subject__back { margin: 0 0 1rem; }
.vm-notice--error + .vm-subject__title { margin-top: 1.5rem; }
.vm-notice--warn p { margin: 0; }
.vm-notice--warn p + p { margin-top: .6rem; }
.vm-form fieldset.vm-field { border: 0; padding: 0; min-width: 0; }
.vm-form fieldset.vm-field legend { font-weight: 600; padding: 0; margin-bottom: .3rem; }
.vm-form .vm-choice { display: block; position: relative; padding: .3rem 0 .3rem 2rem; margin: 0; font-weight: 400; }
.vm-form .vm-choice input { position: absolute; left: 0; top: .55rem; margin: 0; width: 1.2rem; height: 1.2rem; accent-color: #c2304f; }
.vm-form input[type=date] { box-sizing: border-box; max-width: 100%; font: inherit; color: #1f2340; padding: .8rem 1.1rem; border: 2px solid #8a8fa8; border-radius: 16px; background: #fff; }
.vm-form fieldset[aria-invalid=true] { border: 0 !important; }
.vm-field__hint { display: block; font-weight: 400; color: #525773; font-size: .9em; }
/* No JavaScript: a browser without :has() simply shows these fields. */
@supports selector(:has(*)) {
	.vm-form:not(:has(#vm-part-handset:checked)) .vm-if-part-handset,
	.vm-form:not(:has(#vm-item-remote:checked)) .vm-if-item-remote { display: none; }
}
