/* Public booking pages. One brand colour per center comes in as --brand. */
:root {
  --brand: #2a7d6b;
  /* A deeper shade of the center's colour for text, labels and buttons, so even
     light brand colours stay readable on white. */
  --brand-ink: color-mix(in srgb, var(--brand) 62%, #0b1a14);
  --ink: #50534f;   /* soft gray text, as on the main website */
  --muted: #6b716c;
  --header: #33362f; /* the website's dark olive menu bar */
  --line: #e4e7e5;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --radius: 14px;
  /* Matches the main website: Raleway for text and headings, Jost for menus, labels and buttons. */
  --serif: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --accent: "Jost", "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header & footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.logo { max-height: 46px; width: auto; }
.header-nav { display: flex; gap: 20px; }
.header-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.header-nav a:hover { color: var(--brand-ink); }
.site-footer { margin-top: 72px; background: var(--soft); padding: 36px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }

/* List page */
.page-intro { padding-top: 44px; padding-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
        font-weight: 500; font-size: .95rem; background: var(--paper); }
.chip span { color: var(--muted); font-size: .85rem; margin-left: 2px; }
.chip:hover { border-color: var(--brand-ink); }
.chip-active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.chip-active span { color: rgba(255,255,255,.8); }
.section-title { font-size: 1.6rem; margin: 40px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper);
        border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-image { position: relative; aspect-ratio: 3 / 2; background: var(--soft); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--ink);
         font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge-warn { background: #fff4d6; color: #7a5600; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-when { font-size: .85rem; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-size: 1.3rem; margin: 2px 0 2px; }
.card-teachers { color: var(--muted); font-size: .95rem; }
.card-price { margin-top: auto; padding-top: 10px; font-size: .95rem; }

/* Trainings: same size as other cards, highlighted with a brand-colour border */
.card-training { border: 2px solid var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.card-training:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent), 0 10px 30px rgba(0,0,0,.08); }
.card-kicker { align-self: flex-start; background: var(--brand-ink); color: #fff; font-size: .72rem; font-weight: 700;
               letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 2px; }

/* Program page */
.hero { background: var(--soft); padding: 64px 0 40px; position: relative; }
.hero-image { color: #fff; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1) 60%); }
.hero-inner { position: relative; z-index: 1; }
.hero-when { font-weight: 600; letter-spacing: .03em; margin-bottom: 6px; }
.hero-teachers { font-size: 1.1rem; opacity: .92; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 40px; align-items: start; }
.detail-side { position: sticky; top: 90px; }
.booking-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.booking-when { font-weight: 600; margin-bottom: 12px; }
.price-list { list-style: none; padding: 0; margin: 0 0 14px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.early-bird { background: #eef7f3; color: #1d5b4d; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin-bottom: 14px; }
.button { display: block; text-align: center; background: var(--brand-ink); color: #fff; text-decoration: none; font-weight: 600;
          padding: 14px 18px; border-radius: 10px; font-size: 1.05rem; }
.button:hover { filter: brightness(.93); }
.page-intro .button { display: inline-block; }
.lead { font-size: 1.15rem; }
.prose img { border-radius: 10px; margin: 18px 0; height: auto; }
.prose h1, .prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3, .prose h4 { font-size: 1.3rem; margin-top: 1.2em; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1.2em 0; padding: .2em 1em; color: var(--muted); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.teacher { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.teacher-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.teacher h3 { font-size: 1.25rem; margin-bottom: 4px; }
.teacher h3 a { color: var(--ink); text-decoration: none; }
.terms { margin: 32px 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--soft); }
.terms summary { font-weight: 600; }
details summary { cursor: pointer; color: var(--brand-ink); font-weight: 500; }
.teacher-page { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 44px; align-items: start; }
.teacher-photo-large { width: 100%; border-radius: var(--radius); }
.plain-list { padding-left: 1.1em; }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-side { position: static; order: -1; }
  .teacher-page { grid-template-columns: 1fr; }
  .teacher-photo-large { max-width: 240px; }
  .hero-image { min-height: 300px; }
  body { font-size: 16px; }
}

/* Registration form */
.register-head { padding-top: 32px; }
.back { text-decoration: none; font-size: .95rem; }
.register-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: 12px; }
.register-side { position: sticky; top: 90px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; background: var(--paper); }
.step h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step h3 { font-size: 1.05rem; margin: 14px 0 8px; font-family: var(--sans); }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-ink);
           color: #fff; font-family: var(--sans); font-size: .95rem; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend, .field-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: #b3261e; }
.field { display: block; margin-bottom: 16px; flex: 1; }
.field input, .field select, .field textarea, .code-row input {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd6d2; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.field small { display: block; margin-top: 4px; font-size: .85rem; }
.has-error input, .has-error select, .has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .88rem; margin: 4px 0 0; }
.row { display: flex; gap: 16px; }
.lodging-options { display: grid; gap: 10px; }
.lodging-option { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; border: 1px solid var(--line);
                  border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.lodging-option:has(input:checked) { border-color: var(--brand-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.lodging-option.is-off { opacity: .55; cursor: not-allowed; }
.lodging-option .lodging-note { grid-column: 2 / -1; color: #b45309; }
.lodging-name { font-weight: 600; }
.lodging-price { font-weight: 600; }
.lodging-desc { grid-column: 2 / -1; color: var(--muted); font-size: .9rem; }
.radios { display: flex; gap: 20px; }
.radio, .check { display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 6px 0; }
.check-strong { font-weight: 600; margin-top: 14px; }
.check input, .radio input, .lodging-option input { width: 18px; height: 18px; accent-color: var(--brand-ink); }
.extra-guest { border-top: 1px dashed var(--line); padding-top: 6px; }
.terms-box { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px; background: var(--soft); font-size: .95rem; }
.alert { background: #fdecea; color: #8a1c14; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary h3 { font-size: 1.3rem; }
.summary .price-list li { font-size: .95rem; }
.summary .saving { color: #1d5b4d; }
.summary .total { font-size: 1.1rem; border-top: 2px solid var(--line); }
.summary-dates { font-weight: 600; margin: 0 0 6px; }
.code-row { display: flex; gap: 8px; margin: 12px 0 4px; }
.button-light { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 0 14px; font: inherit; cursor: pointer; }
.summary .button { width: 100%; border: 0; cursor: pointer; margin-top: 10px; font: inherit; font-weight: 600; }
.nights-note { align-self: center; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--brand-ink); font-size: .85rem; }
.received-box { max-width: 560px; margin: 20px 0; }
.received-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.received-row:last-child { border-bottom: 0; }
.received-row.total { font-size: 1.15rem; }
.next-step { max-width: 560px; background: var(--soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.next-step h2 { font-size: 1.3rem; }
@media (max-width: 900px) {
  .register-layout { grid-template-columns: 1fr; }
  .register-side { position: static; }
  .row { flex-direction: column; gap: 0; }
}
.notice { background: #eef7f3; color: #1d5b4d; border-radius: 10px; padding: 12px 16px; margin: 12px 0 18px; }
.save-button { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.link-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 10px; align-items: center; margin: 8px 0; }
.link-row input { font: inherit; font-size: .85rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.link-row .button-light { padding: 8px 14px; }
.done { color: #1d5b4d; font-weight: 600; }
@media (max-width: 700px) { .link-row { grid-template-columns: 1fr; } }

.pay-button { display: inline-block; min-width: 220px; }
#paypal-buttons { margin-top: 16px; max-width: 480px; }
#pay-message { margin-top: 12px; }
.unavailable { background: #fdecea; color: #8a1c14; border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.summary .button:disabled { opacity: .45; cursor: not-allowed; }
/* Arrival calendar */
.next-dates { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.next-dates .chip { cursor: pointer; font: inherit; font-size: .9rem; padding: 6px 12px; }
.cal { border: 1px solid var(--line); border-radius: 12px; padding: 12px; max-width: 380px; }
.cal.loading { opacity: .5; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-nav { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; width: 34px; height: 30px; cursor: pointer; font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid > span:not(.cal-day) { font-size: .75rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-day { display: grid; place-items: center; height: 38px; border-radius: 8px; font: inherit; font-size: .95rem; border: 0; }
.cal-day.ok { background: #eef7f3; color: var(--ink); cursor: pointer; font-weight: 600; }
.cal-day.ok:hover { background: color-mix(in srgb, var(--brand) 30%, white); }
.cal-day.off { color: #b8bec0; text-decoration: line-through; background: transparent; }
.cal-day.in-stay { background: color-mix(in srgb, var(--brand) 25%, white); color: var(--ink); text-decoration: none; }
.cal-day.picked { background: var(--brand-ink) !important; color: #fff !important; text-decoration: none; }

/* Guest bill (print-friendly) */
.bill-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.bill { max-width: 820px; margin: 18px auto 48px; background: #fff; border: 1px solid #e6e2da; border-radius: 14px;
        padding: 40px 44px; color: #1f2522; }
.bill-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px;
             border-bottom: 2px solid #1f2522; }
.bill-logo { max-height: 64px; max-width: 220px; display: block; margin-bottom: 8px; }
.bill-center { font-size: 22px; display: block; margin-bottom: 6px; }
.bill-contact { font-size: 13px; color: #5f6b67; line-height: 1.5; }
.bill-title { text-align: right; }
.bill-title h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: .02em; }
.bill-title dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 0; font-size: 14px; justify-content: end; }
.bill-title dt { color: #5f6b67; }
.bill-title dd { margin: 0; font-weight: 600; }
.bill-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.bill-parties h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #5f6b67; margin: 0 0 6px; font-family: inherit; }
.bill-parties p { margin: 0; line-height: 1.55; font-size: 15px; }
.bill-note { background: #f6f4ef; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.bill-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.bill-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #5f6b67;
                 padding: 8px 6px; border-bottom: 1px solid #1f2522; }
.bill-table td { padding: 9px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.bill-table .num, .bill-summary .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill-table .nowrap { white-space: nowrap; }
.bill-table tr.credit td { color: #15803d; }
.bill-summary { display: flex; justify-content: flex-end; margin-top: 18px; }
.bill-summary table { min-width: 320px; border-collapse: collapse; font-size: 15px; }
.bill-summary td { padding: 5px 6px; }
.bill-summary tr.strong td { font-weight: 700; border-top: 1px solid #1f2522; padding-top: 9px; }
.bill-summary tr.muted td { color: #5f6b67; font-size: 13px; }
.bill-summary tr.balance td { font-weight: 800; font-size: 19px; border-top: 2px solid #1f2522; padding-top: 10px; }
.bill-foot { margin-top: 34px; padding-top: 16px; border-top: 1px solid #eee; font-size: 13px; color: #5f6b67; word-break: break-word; }
@media (max-width: 640px) {
  .bill { padding: 22px 16px; border-radius: 0; border-left: 0; border-right: 0; }
  .bill-title { text-align: left; }
  .bill-title dl { justify-content: start; }
  .bill-parties { grid-template-columns: 1fr; }
  .bill-summary table { min-width: 0; width: 100%; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff !important; }
  .bill { border: 0; margin: 0; padding: 0; max-width: none; }
  @page { margin: 16mm; }
}

/* Front desk card payment */
.desk-panel { border-left: 4px solid var(--brand-ink, #2f6f5e); }
.desk-fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 10px 0 0; }
.desk-fields dt { font-weight: 600; }
.desk-fields dd { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.desk-fields .button-light { padding: 2px 10px; font-size: 13px; }

/* Website match: menus, chips, labels and buttons in Jost, like vidaasana.com. */
.header-nav a, .chip, .card-when, .card-kicker, .hero-when, .booking-when, .back,
.button, .button-light, .summary .button { font-family: var(--accent); }
.header-nav a { letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.button, .summary .button { border-radius: 999px; font-weight: 500; letter-spacing: .02em; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.005em; }

/* Website match: dark olive menu bar with white capitals, sage buttons. */
.site-header { background: var(--header); border-bottom: 0; }
.brand, .brand-name { color: #fff; }
.header-nav a { color: rgba(255,255,255,.92); }
.header-nav a:hover { color: #fff; opacity: .8; }
.button, .summary .button { background: var(--brand); }
body { color: #565e57; }
h1, h2, h3, .card-title { color: var(--ink); }
.hero-image h1, .hero-image h2, .hero-image h3 { color: #fff; }

/* WeTravel's payment form shown on top of the pay page, under our own bar with a way back. */
#wt-overlay { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 2147483000; background: #fff;
              display: flex; flex-direction: column; }
#wt-overlay[hidden] { display: none; }
.wt-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-height: 52px;
          background: var(--header); color: #fff; font-family: var(--accent); }
#wt-back { background: transparent; border: 1px solid rgba(255,255,255,.65); color: #fff; border-radius: 999px;
           padding: 7px 16px; font: inherit; font-family: var(--accent); cursor: pointer; white-space: nowrap; }
#wt-back:hover { background: rgba(255,255,255,.12); }
#wt-note { flex: 1; text-align: center; font-size: .92rem; opacity: .92; }
#wt-newtab { color: #fff; font-size: .85rem; opacity: .85; white-space: nowrap; }
.wt-desk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px; background: var(--soft);
           border-bottom: 1px solid var(--line); font-size: .9rem; }
.wt-desk .button-light { padding: 3px 10px; font-size: .82rem; }
#wt-frame { flex: 1; min-height: 0; width: 100%; border: 0; background: #fff; }
body.wt-open { overflow: hidden; }
@media (max-width: 991px) {
  /* As WeTravel's own widget does on phones: only the payment form is on screen. */
  body.wt-open > *:not(#wt-overlay) { display: none; }
  #wt-note { display: none; }
  .wt-bar { justify-content: space-between; }
}

/* Night mode: follows the visitor's device setting, and the moon/sun button in the header overrides it
   (remembered in their browser). The bill/statement stays a white page, like paper. */
:root[data-theme="dark"] {
  color-scheme: dark; --ink: #e3e8e3; --muted: #b9c2bb; --line: rgb(255 255 255 / .13); --paper: #121513; --soft: #181c19; --header: #181c19; --surface: #1c211d;
  --brand-ink: color-mix(in srgb, var(--brand) 45%, #dfe8e1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark; --ink: #e3e8e3; --muted: #b9c2bb; --line: rgb(255 255 255 / .13); --paper: #121513; --soft: #181c19; --header: #181c19; --surface: #1c211d;
    --brand-ink: color-mix(in srgb, var(--brand) 45%, #dfe8e1);
  }
}
#theme-toggle { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 999px;
                width: 34px; height: 34px; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
#theme-toggle:hover { background: rgba(255,255,255,.14); }
.header-nav { align-items: center; }

/* Same adjustments, for the button and for the device setting. */
:root[data-theme="dark"] body { color: var(--ink); }
:root[data-theme="dark"] .badge { background: rgba(24,28,25,.92); }
:root[data-theme="dark"] .badge-warn { background: #4a3a10; color: #f6d98a; }
:root[data-theme="dark"] .early-bird, :root[data-theme="dark"] .notice { background: #1f3a31; color: #bfe6d8; }
:root[data-theme="dark"] .alert, :root[data-theme="dark"] .unavailable { background: #4a1f1b; color: #f5b8b1; }
:root[data-theme="dark"] .summary .saving, :root[data-theme="dark"] .done { color: #8fd3bb; }
:root[data-theme="dark"] .req, :root[data-theme="dark"] .field-error { color: #f28b82; }
:root[data-theme="dark"] .has-error input, :root[data-theme="dark"] .has-error select, :root[data-theme="dark"] .has-error textarea { border-color: #f28b82; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea, :root[data-theme="dark"] .link-row input { background: #1c211d; border-color: #4a5049; color: var(--ink); }
:root[data-theme="dark"] .card:hover, :root[data-theme="dark"] .card-training:hover { box-shadow: 0 10px 30px rgba(0,0,0,.5); }
:root[data-theme="dark"] .booking-box { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
:root[data-theme="dark"] .chip-active, :root[data-theme="dark"] .button, :root[data-theme="dark"] .card-kicker, :root[data-theme="dark"] .cal-day.picked { background: color-mix(in srgb, var(--brand) 62%, #0b1a14) !important; border-color: transparent; color: #fff !important; }
:root[data-theme="dark"] .cal-day.ok { background: #1f3a31; }
:root[data-theme="dark"] .cal-day.ok:hover, :root[data-theme="dark"] .cal-day.in-stay { background: color-mix(in srgb, var(--brand) 35%, #121513); }
:root[data-theme="dark"] .cal-day.off { color: #6b716c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { color: var(--ink); }
  :root:not([data-theme="light"]) .badge { background: rgba(24,28,25,.92); }
  :root:not([data-theme="light"]) .badge-warn { background: #4a3a10; color: #f6d98a; }
  :root:not([data-theme="light"]) .early-bird, :root:not([data-theme="light"]) .notice { background: #1f3a31; color: #bfe6d8; }
  :root:not([data-theme="light"]) .alert, :root:not([data-theme="light"]) .unavailable { background: #4a1f1b; color: #f5b8b1; }
  :root:not([data-theme="light"]) .summary .saving, :root:not([data-theme="light"]) .done { color: #8fd3bb; }
  :root:not([data-theme="light"]) .req, :root:not([data-theme="light"]) .field-error { color: #f28b82; }
  :root:not([data-theme="light"]) .has-error input, :root:not([data-theme="light"]) .has-error select, :root:not([data-theme="light"]) .has-error textarea { border-color: #f28b82; }
  :root:not([data-theme="light"]) input, :root:not([data-theme="light"]) select, :root:not([data-theme="light"]) textarea, :root:not([data-theme="light"]) .link-row input { background: #1c211d; border-color: #4a5049; color: var(--ink); }
  :root:not([data-theme="light"]) .card:hover, :root:not([data-theme="light"]) .card-training:hover { box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  :root:not([data-theme="light"]) .booking-box { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
  :root:not([data-theme="light"]) .chip-active, :root:not([data-theme="light"]) .button, :root:not([data-theme="light"]) .card-kicker, :root:not([data-theme="light"]) .cal-day.picked { background: color-mix(in srgb, var(--brand) 62%, #0b1a14) !important; border-color: transparent; color: #fff !important; }
  :root:not([data-theme="light"]) .cal-day.ok { background: #1f3a31; }
  :root:not([data-theme="light"]) .cal-day.ok:hover, :root:not([data-theme="light"]) .cal-day.in-stay { background: color-mix(in srgb, var(--brand) 35%, #121513); }
  :root:not([data-theme="light"]) .cal-day.off { color: #6b716c; }
}

:root[data-theme="dark"] .card, :root[data-theme="dark"] .booking-box, :root[data-theme="dark"] .step, :root[data-theme="dark"] .terms-box, :root[data-theme="dark"] .received-box, :root[data-theme="dark"] .next-step { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card, :root:not([data-theme="light"]) .booking-box, :root:not([data-theme="light"]) .step, :root:not([data-theme="light"]) .terms-box, :root:not([data-theme="light"]) .received-box, :root:not([data-theme="light"]) .next-step { background: var(--surface); }
}

/* The main website's footer is a deep sage band in night mode too. */
:root[data-theme="dark"] .site-footer { background: #47524a; color: #eef2ee; }
:root[data-theme="dark"] .site-footer a, :root[data-theme="dark"] .site-footer .muted { color: #dfe6e0; }
:root[data-theme="dark"] .site-footer strong { color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer { background: #47524a; color: #eef2ee; }
  :root:not([data-theme="light"]) .site-footer a, :root:not([data-theme="light"]) .site-footer .muted { color: #dfe6e0; }
  :root:not([data-theme="light"]) .site-footer strong { color: #fff; }
}
