.om-shell {
  --om-ink: #26384b;
  --om-teal: #003a4c;
  --om-accent: #477800;
  --om-paper: #faf7ef;
  --om-line: #dbe3e5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  color: var(--om-ink);
  font:
    16px/1.65 "Open Sans",
    Arial,
    sans-serif;
}
.om-shell * {
  box-sizing: border-box;
}
.om-heading {
  max-width: 800px;
  margin-bottom: 28px;
}
.om-eyebrow {
  font:
    800 12px/1.5 Nunito,
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
  color: #527844;
}
.om-heading h1,
.om-success h1 {
  font:
    700 clamp(32px, 4vw, 46px)/1.15 Montserrat,
    Arial,
    sans-serif;
  margin: 10px 0 18px;
  color: #26384b;
}
.om-heading p {
  font-size: 18px;
  color: #52636d;
  max-width: 700px;
}
.om-banner {
  background: #fff8df;
  border: 1px solid #e8d99c;
  border-radius: 10px;
  padding: 12px 18px;
  margin: 0 0 28px;
  font-size: 14px;
}
.om-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.om-sidebar {
  position: sticky;
  top: 24px;
  background: var(--om-paper);
  padding: 22px 16px;
  border-radius: 16px;
}
.om-sidebar ol {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.om-sidebar li {
  margin: 0 0 5px;
}
.om-sidebar button {
  border: 0;
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  padding: 9px 7px;
  background: none;
  text-align: left;
  font:
    700 14px/1.3 Nunito,
    Arial,
    sans-serif;
  color: #52636d;
  border-radius: 8px;
  cursor: pointer;
}
.om-sidebar button span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #ccd5d6;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 12px;
}
.om-sidebar button[aria-current="step"] {
  color: #003a4c;
  background: #e2edef;
}
.om-sidebar button[aria-current="step"] span {
  background: #003a4c;
  border-color: #003a4c;
  color: white;
}
.om-sidebar p {
  font-size: 12px;
  margin: 16px 7px 0;
  color: #64737a;
}
.om-main {
  min-width: 0;
  padding: clamp(16px, 3vw, 30px);
  background: #f5f7f6;
  border: 1px solid #d5dedb;
  border-radius: 14px;
}
.om-progress {
  font:
    700 13px Nunito,
    Arial,
    sans-serif;
  margin-bottom: 24px;
  scroll-margin-top: 24px;
}
.om-progress progress {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 10px;
  accent-color: #477800;
}
.om-form fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.om-form .om-step > legend {
  font:
    700 26px/1.3 Montserrat,
    Arial,
    sans-serif;
  margin-bottom: 24px;
  width: 100%;
  padding: 0;
  color: #26384b;
}
.om-form .om-field {
  margin-bottom: 24px;
}
.om-field > label,
.om-field > legend {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #26384b;
  padding: 0;
}
.om-field > label span,
.om-field > legend span {
  color: #a13a24;
}
.om-field input:not([type="checkbox"]):not([type="radio"]),
.om-field select,
.om-field textarea {
  display: block;
  width: 100%;
  font:
    16px/1.5 "Open Sans",
    Arial,
    sans-serif;
  color: #26384b;
  border: 1px solid #75898c;
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
  min-height: 49px;
  box-shadow: none;
}
.om-field textarea {
  max-width: 100%;
  resize: vertical;
}
.om-field input:focus,
.om-field select:focus,
.om-field textarea:focus {
  outline: 2px solid #356475;
  outline-offset: 1px;
  border-color: #003a4c;
}
.om-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.om-address > div:first-child {
  grid-column: 1/-1;
}
.om-address label {
  display: block;
  font-size: 13px;
  color: #52636d;
  margin-bottom: 5px;
}
.om-choices {
  display: grid;
  gap: 8px;
}
.om-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #75898c;
  background: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}
.om-choice:has(input:checked) {
  background: #eef5ec;
  border-color: #527844;
}
.om-choice:focus-within {
  outline: 2px solid #356475;
  outline-offset: 2px;
}
.om-choice input {
  margin: 5px 0 0;
  accent-color: #477800;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.om-help {
  font-size: 13px;
  color: #52636d;
  margin-top: 10px;
  line-height: 1.55;
}
.om-help p {
  margin: 0 0 8px;
}
.om-section h3 {
  font:
    700 18px/1.4 Montserrat,
    Arial,
    sans-serif;
  margin: 28px 0 16px;
  color: #26384b;
}
.om-section:first-of-type h3 {
  margin-top: 0;
}
.om-policy {
  margin-bottom: 22px;
  border: 1px solid #dbe3e5;
  border-radius: 10px;
  padding: 16px;
  background: #fafafa;
}
.om-policy summary {
  cursor: pointer;
  font-weight: 700;
}
.om-policy > div {
  font-size: 13px;
  line-height: 1.6;
  max-height: 420px;
  overflow: auto;
  margin-top: 14px;
  padding-right: 8px;
}
.om-policy h2 {
  font-size: 16px;
}
.om-nav {
  border-top: 1px solid #dbe3e5;
  margin-top: 28px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.om-primary,
.om-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid #003a4c;
  padding: 13px 23px;
  border-radius: 8px;
  font:
    800 16px/1.5 Nunito,
    Arial,
    sans-serif;
  cursor: pointer;
  text-decoration: none !important;
}
.om-primary {
  background: #003a4c;
  color: #fff !important;
}
.om-primary:hover {
  background: #164f60;
}
.om-primary:disabled {
  opacity: 0.65;
  cursor: progress;
}
.om-secondary {
  background: white;
  color: #003a4c;
}
.om-nav .om-primary:only-child {
  margin-left: auto;
}
.om-field-error {
  margin: 6px 0 0;
  color: #a12222;
  font-size: 13px;
}
.om-field-error:empty {
  display: none;
}
.om-invalid input,
.om-invalid select,
.om-invalid textarea {
  border-color: #a12222 !important;
  background-color: #fff7f6;
}
.om-error-summary {
  border-left: 4px solid #a12222;
  background: #fff0ed;
  padding: 14px 16px;
  color: #8a2424;
  margin-bottom: 24px;
}
.om-review-section {
  position: relative;
  background: #f5f8f8;
  border: 1px solid #dbe3e5;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
}
.om-review-section h3 {
  font:
    700 18px Montserrat,
    Arial,
    sans-serif;
  padding-right: 80px;
  margin: 0 0 20px;
}
.om-text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  color: #003a4c;
  cursor: pointer;
  font:
    700 14px Nunito,
    Arial,
    sans-serif;
}
.om-review-section > .om-text-button {
  position: absolute;
  right: 20px;
  top: 21px;
}
.om-review-section dl {
  margin: 0;
}
.om-review-section dt {
  font-size: 12px;
  font-weight: bold;
  color: #52636d;
  margin: 12px 0 2px;
}
.om-review-section dd {
  margin: 0;
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.om-form [hidden],
.om-shell [hidden] {
  display: none !important;
}
.om-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.om-receipt {
  margin: 0;
  background: #faf7ef;
  color: #26384b;
  font:
    16px/1.65 "Open Sans",
    Arial,
    sans-serif;
}
.om-success {
  max-width: 680px;
  margin: 8vh auto;
  background: white;
  border: 1px solid #dbe3e5;
  border-radius: 20px;
  padding: 42px;
}
.om-success-icon {
  display: grid;
  place-items: center;
  background: #edf5e8;
  color: #477800;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  font-size: 32px;
  margin-bottom: 20px;
}
.om-success p {
  margin-bottom: 20px;
}
.om-muted {
  color: #64737a;
  font-size: 13px;
}
.om-shell :focus-visible {
  outline: 3px solid #8bbac4;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .om-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .om-sidebar {
    position: static;
    padding: 10px;
  }
  .om-sidebar ol {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .om-sidebar li {
    flex: 0 0 auto;
    margin: 0;
  }
  .om-sidebar button {
    font-size: 12px;
    padding: 7px;
    max-width: 150px;
  }
  .om-sidebar p {
    display: none;
  }
  .om-shell {
    padding: 32px 20px 48px;
  }
  .om-heading h1 {
    font-size: 32px;
  }
  .om-heading p {
    font-size: 16px;
  }
  .om-form .om-step > legend {
    font-size: 23px;
  }
  .om-address {
    grid-template-columns: 1fr;
  }
  .om-success {
    margin: 24px 16px;
    padding: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .om-shell * {
    scroll-behavior: auto !important;
  }
}
.om-form-page #page-container {
  padding-top: 0 !important;
}
.om-sidebar {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 800px) {
  .om-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.om-question-group {
  margin-block: 14px;
  border: 1px solid #cad9d5;
  border-radius: 10px;
  background: #fff;
}
.om-question-group > summary {
  padding: 12px 16px;
  cursor: pointer;
  color: var(--om-teal);
  font-weight: 700;
}
.om-question-group[open] > summary {
  background: #e9f1ed;
  border-radius: 9px 9px 0 0;
}
.om-question-group > div {
  padding: 16px;
}
@media (max-width: 900px) {
  .om-shell[data-guided] .om-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .om-shell[data-guided] .om-sidebar {
    position: static;
    padding: 8px 12px;
  }
  .om-shell[data-guided] .om-sidebar ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }
  .om-shell[data-guided] .om-sidebar li {
    margin: 0;
  }
  .om-shell[data-guided] .om-sidebar button {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 5px;
    max-width: none;
    min-height: 100%;
    padding: 6px 2px;
    font-size: 12px;
    text-align: center;
  }
  .om-shell[data-guided] .om-sidebar p {
    display: block;
    margin: 6px 0 0;
  }
}
@media (max-width: 520px) {
  .om-shell[data-guided] {
    padding-inline: 12px;
  }
  .om-shell[data-guided] .om-main,
  .om-question-group > div {
    padding-inline: 12px;
  }
  .om-shell[data-guided] .om-nav {
    flex-wrap: wrap;
  }
}
.om-step-short {
  display: none;
}
.om-sidebar .om-step-name,
.om-sidebar .om-step-short {
  font: inherit;
}
@media (max-width: 520px) {
  .om-shell[data-guided] .om-step-name:has(+ .om-step-short) {
    display: none;
  }
  .om-shell[data-guided] .om-step-short {
    display: block;
  }
}

p:empty:has(+ .om-shell[data-form="vacanze-2026"]) {
  display: none;
}
.om-shell[data-form="vacanze-2026"] .om-heading {
  background-color: #173e36;
  background-image: radial-gradient(circle at 85% 15%, #d8b36d66, transparent 24%),
    radial-gradient(circle at 82% 67%, #ffffff6b 1px, transparent 2px),
    radial-gradient(circle at 13% 27%, #ffffff52 1px, transparent 2px);
  background-size: auto, 83px 69px, 107px 97px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 18px;
}
.om-shell[data-form="vacanze-2026"] .om-heading h1,
.om-shell[data-form="vacanze-2026"] .om-heading p {
  color: #fff;
}
.om-shell[data-form="vacanze-2026"] .om-heading .om-eyebrow {
  color: #f2d79d;
}
.om-shell[data-form="vacanze-2026"] [data-step="0"] .om-field {
  padding: 16px;
  background: #fbf7f0;
  border: 1px solid #e8d9bd;
  border-radius: 12px;
}
.om-shell[data-form="vacanze-2026"] [data-step="0"] .om-field.om-invalid {
  border-color: #9a394f;
}

.om-activity-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem .75rem;
  margin-bottom: .4rem;
}
.om-activity-label label { margin: 0; }
.om-activity-status {
  border-radius: 999px;
  padding: .22rem .62rem;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}
.om-activity-status--available { color: #185331; background: #e0f2e4; }
.om-activity-status--few { color: #693b03; background: #fbeacc; }
.om-activity-status--waiting { color: #7d2138; background: #fae5e9; }
.om-activity-status--closed { color: #38475a; background: #e8edf2; }
.om-vacanze-pdfs a { text-decoration: underline; }
