.hm-volunteer-application {
  --hm-va-ink: #123c42;
  --hm-va-muted: #49666b;
  --hm-va-line: #b9cccf;
  --hm-va-soft: #edf7f8;
  --hm-va-accent: #075466;
  --hm-va-error: #8b2118;
  box-sizing: border-box;
  width: min(calc(100% - 32px), 900px);
  margin: 2rem auto;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid #d6e0e1;
  border-radius: 18px;
  background: #f7f9f9;
  color: var(--hm-va-ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.55;
}

.hm-volunteer-application *,
.hm-volunteer-application *::before,
.hm-volunteer-application *::after { box-sizing: border-box; }
.hm-volunteer-application [hidden] { display: none !important; }
.hm-volunteer-status { padding: .9rem 1rem; border: 1px solid var(--hm-va-line); border-radius: 12px; background: var(--hm-va-soft); }
.hm-volunteer-status.is-error, .hm-volunteer-errors { color: var(--hm-va-error); }
.hm-volunteer-field [data-field-error] { display: block; margin-top: .35rem; color: var(--hm-va-error); font-size: .9rem; font-weight: 400; overflow-wrap: anywhere; }
.hm-volunteer-field [aria-invalid="true"] { border-color: var(--hm-va-error); }
.hm-volunteer-status.is-success { border-color: #8db49c; background: #edf8ef; color: #174d2a; }
.hm-volunteer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hm-volunteer-field { display: block; color: var(--hm-va-ink); font-weight: 600; }
.hm-volunteer-field > span, .hm-volunteer-required { color: var(--hm-va-muted); font-weight: 400; }
.hm-volunteer-field input, .hm-volunteer-field select, .hm-volunteer-field textarea, .hm-volunteer-time input {
  display: block; width: 100%; min-height: 48px; margin-top: .35rem; padding: .65rem .75rem; border: 1px solid var(--hm-va-line); border-radius: 8px; background: #fff; color: var(--hm-va-ink); font: inherit;
}
.hm-volunteer-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 2.75rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23075466' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 1rem;
}
@media (forced-colors: active) {
  .hm-volunteer-field select { -webkit-appearance: auto; appearance: auto; background-image: none; }
}
.hm-volunteer-notes { margin-top: 1.25rem; }
.hm-volunteer-field textarea { min-height: 105px; resize: vertical; }
.hm-volunteer-event, .hm-volunteer-days, .hm-volunteer-notes, .hm-volunteer-consent, .hm-volunteer-errors { grid-column: 1 / -1; }
.hm-volunteer-days { min-width: 0; margin: 1.35rem 0 1rem; padding: 0; border: 0; }
.hm-volunteer-days legend { font-size: 1.2rem; font-weight: 700; }
.hm-volunteer-day { min-width: 0; margin: .65rem 0; padding: .85rem 1rem; border: 1px solid var(--hm-va-line); border-radius: 10px; background: #fff; }
.hm-volunteer-day legend { padding: 0 .2rem; font-size: 1rem; }
.hm-volunteer-day legend span { color: var(--hm-va-muted); font-weight: 400; }
.hm-volunteer-day-choice, .hm-volunteer-day-options > label, .hm-volunteer-consent { display: flex; align-items: flex-start; gap: .65rem; }
.hm-volunteer-day-choice { align-items: center; }
.hm-volunteer-day-options { display: grid; gap: .55rem; margin: .7rem 0 0 1.8rem; }
.hm-volunteer-day input[type="checkbox"], .hm-volunteer-day input[type="radio"], .hm-volunteer-consent input { width: 1.2rem; height: 1.2rem; flex: none; accent-color: var(--hm-va-accent); }
.hm-volunteer-day-choice input[type="checkbox"] { margin: 0 !important; }
.hm-volunteer-application [data-profile-locked="true"] { background: #eef2f3; color: var(--hm-va-muted); }
.hm-volunteer-profile-note { grid-column: 1 / -1; margin: 0; padding: .65rem .8rem; border-radius: 8px; background: var(--hm-va-soft); color: var(--hm-va-muted); font-size: .92rem; }
.hm-volunteer-profile-note a { color: var(--hm-va-accent); text-decoration: underline; text-underline-offset: .15em; }
.hm-volunteer-time { display: flex; flex-wrap: wrap; gap: .75rem; margin-left: 1.8rem; }
.hm-volunteer-time label { display: flex; align-items: center; gap: .4rem; }
.hm-volunteer-time input { width: 145px; min-height: 42px; }
.hm-volunteer-consent { margin: 1.25rem 0; }
.hm-volunteer-no-hero { display: flex; align-items: flex-start; gap: .65rem; }
.hm-volunteer-no-hero input { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .22rem; accent-color: var(--hm-va-accent); }
.hm-volunteer-consent input { margin-top: .22rem; }
.hm-volunteer-consent a { color: var(--hm-va-accent); text-decoration: underline; text-underline-offset: .15em; }
.hm-volunteer-submit, .hm-volunteer-retry { min-height: 48px; padding: .65rem 1.15rem; border: 0; border-radius: 8px; background: var(--hm-va-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hm-volunteer-submit:disabled { cursor: not-allowed; opacity: .65; }
.hm-volunteer-retry { margin-left: .5rem; padding: .4rem .8rem; min-height: 42px; }
.hm-volunteer-application :focus-visible { outline: 3px solid #c35a16; outline-offset: 3px; }
.hm-volunteer-errors:empty { display: none; }
.hm-volunteer-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.hm-volunteer-form-header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.hm-volunteer-form-header > p { margin: 0; }
.hm-volunteer-required { font-size: .9rem; white-space: nowrap; text-align: right; }
.hm-volunteer-progress { color: var(--hm-va-muted); font-size: .95rem; font-weight: 700; }
.hm-volunteer-application [data-step] { margin-top: .75rem; }
.hm-volunteer-application [data-step] h2 { margin: .5rem 0 1rem; font-size: 1.35rem; }
.hm-volunteer-step-intro { margin: 0 0 1rem; color: var(--hm-va-ink); font: inherit; font-weight: 600; }
.hm-volunteer-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; margin-top: 1.25rem; }
.hm-volunteer-nav button { min-height: 42px; padding: .5rem .9rem; border: 1px solid var(--hm-va-accent); border-radius: 7px; background: #fff; color: var(--hm-va-accent); font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer; }
.hm-volunteer-nav button[type="submit"] { background: var(--hm-va-accent); color: #fff; }
.hm-volunteer-application [data-identity-message] { display: block; max-width: 100%; margin: 0; overflow-wrap: anywhere; }
.hm-volunteer-application [data-identity-message]:empty { display: none; }
.hm-volunteer-application [data-identity-message].is-error { padding: .75rem; border: 1px solid #e7aaa1; border-radius: 8px; background: #fff0ed; color: #8b2118; }
.hm-volunteer-summary { display: grid; grid-template-columns: minmax(8rem, .4fr) 1fr; gap: .35rem .8rem; margin: 0; text-align: start; }
.hm-volunteer-summary dt { font-weight: 700; }
.hm-volunteer-summary dd { margin: 0; overflow-wrap: anywhere; }
.hm-volunteer-status .hm-volunteer-summary { margin-top: .75rem; }

@media (max-width: 640px) {
  .hm-volunteer-application { width: min(calc(100% - 24px), 900px); padding: 1rem; font-size: 16px; }
  .hm-volunteer-grid { grid-template-columns: 1fr; gap: .8rem; }
  .hm-volunteer-event, .hm-volunteer-days, .hm-volunteer-notes, .hm-volunteer-consent, .hm-volunteer-errors { grid-column: auto; }
  .hm-volunteer-day { padding: .75rem; }
  .hm-volunteer-day-options { margin-left: .5rem; }
  .hm-volunteer-time { margin-left: .5rem; }
}

.hm-volunteer-identity { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1rem; margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--hm-va-line); border-radius: 10px; background: var(--hm-va-soft); }
.hm-volunteer-or-divider { display: flex; align-items: center; gap: .75rem; margin: .1rem 0 .75rem; color: var(--hm-va-muted); text-align: center; }
.hm-volunteer-or-divider::before, .hm-volunteer-or-divider::after { height: 1px; flex: 1; background: var(--hm-va-line); content: ""; }
.hm-volunteer-identity input[readonly] { background: #f6fafb; color: var(--hm-va-muted); }
@media (max-width: 640px) { .hm-volunteer-identity { gap: .8rem; } }

.hm-volunteer-nav [data-next] { margin-inline-start: auto; background: var(--hm-va-accent); color: #fff; }
.hm-volunteer-identity > [data-no-hero-option] { grid-column: 1 / -1; min-width: 0; }
.hm-volunteer-no-hero-option p { margin: .4rem 0 0; color: var(--hm-va-muted); font-size: .9rem; overflow-wrap: anywhere; }
.hm-volunteer-application [data-no-hero] { display: inline-flex; min-height: 48px; max-width: 100%; align-items: center; justify-content: center; gap: .55rem; padding: .65rem .9rem; border: 1px solid var(--hm-va-accent); border-radius: 8px; background: var(--hm-va-accent); color: #fff; font: inherit; font-weight: 650; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.hm-volunteer-application [data-no-hero] svg { width: 1.15rem; height: 1.15rem; flex: none; }
.hm-volunteer-application [data-no-hero]:hover { background: #064554; }
.hm-volunteer-application [data-no-hero]:focus-visible { outline: 3px solid #c35a16; outline-offset: 3px; }
.hm-volunteer-application [data-use-hero-id] { min-height: 48px; padding: .8rem 1rem; border: 1px solid var(--hm-va-line); border-radius: 8px; background: #fff; color: var(--hm-va-ink); font: inherit; text-align: start; cursor: pointer; }
.hm-volunteer-application button:disabled { cursor: not-allowed; opacity: .65; }
@media (max-width: 640px) {
  .hm-volunteer-summary { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .hm-volunteer-summary dt { margin-top: .65rem; }
  .hm-volunteer-summary dt:first-child { margin-top: 0; }
}
