/* Unified facility reservation (/facilities/reserve). Nov 2026. */
.rf {
    --rf-green: var(--pal-800,#004a35); --rf-green-dark: #003b2c; --rf-green-mid: #006b4d; --rf-sage: #eaf3ec; --rf-cream: #faf8f2;
    --rf-gold: #d5a028; --rf-gold-dark: #b8861c; --rf-gold-soft: #fbf3df; --rf-white: #fff; --rf-ink: #12352b; --rf-muted: #64746c;
    --rf-line: #e0e7e1; --rf-red: #b3261e; --rf-radius: 14px; --rf-shadow: 0 1px 2px rgba(18, 53, 43, 0.05), 0 6px 18px rgba(18, 53, 43, 0.06);
    --ff-control: 46px;
    background: var(--rf-cream); color: var(--rf-ink); padding-bottom: 40px;
}
.rf *, .rf *::before, .rf *::after { box-sizing: border-box; }
.rf .fhf-icon { flex-shrink: 0; }
.rf a { color: var(--rf-green-mid); }
.rf h1, .rf h2, .rf h3 { color: var(--rf-green); }

/* Hero */
.rf-hero { position: relative; display: flex; align-items: stretch; min-height: 168px; overflow: hidden; background: var(--rf-green-dark); color: #fff;
    background-image: radial-gradient(circle at 20px 20px, rgba(213, 160, 40, 0.10) 2px, transparent 2.5px), linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.04) 75%, transparent 75%);
    background-size: 40px 40px, 28px 28px; }
.rf-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: linear-gradient(90deg, transparent, var(--rf-gold) 30%, var(--rf-gold) 70%, transparent); clip-path: ellipse(60% 100% at 50% 100%); opacity: 0.85; }
.rf-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 22px 24px 26px; }
.rf-hero-icon { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border: 2px solid var(--rf-gold); border-radius: 14px; color: var(--rf-gold); }
.rf-hero-copy h1 { margin: 0; color: #fff; font: 700 clamp(1.9rem, 3.2vw, 2.7rem) / 1.1 var(--fhf-font-display, Georgia, serif); }
.rf-hero-copy p { margin: 6px 0 12px; color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; }
.rf-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rf-pills li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--rf-gold); border-radius: 999px; color: #fff; font-size: 0.9rem; font-weight: 650; }
.rf-pills .fhf-icon { color: var(--rf-gold); }
.rf-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(36%, 560px); }
.rf-hero-art img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); opacity: 0.85; }

/* Layout */
.rf-shell { max-width: 1440px; margin: 0 auto; padding: 22px 24px 0; }
.rf-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.rf-card, .rf-steps, .rf-main { border: 1px solid var(--rf-line); border-radius: 16px; background: var(--rf-white); box-shadow: var(--rf-shadow); }

/* Steps */
.rf-steps { position: sticky; top: 90px; padding: 18px 14px; }
.rf-steps-head { padding: 0 6px 12px; }
.rf-steps-head h2 { margin: 0; font: 700 1.45rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-steps-head p { margin: 4px 0 0; color: var(--rf-muted); font-size: 0.9rem; }
.rf-steps ol { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.rf-steps li > a, .rf-steps li > span { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 12px; color: var(--rf-ink); text-decoration: none; }
.rf-steps li > a:hover { background: var(--rf-cream); }
.rf-steps li:not(:last-child) > *::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: -10px; width: 2px; background: var(--rf-line); }
.rf-steps li.is-done:not(:last-child) > *::after { background: var(--rf-green-mid); }
.rf-step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 2px solid var(--rf-line); border-radius: 50%; background: #fff; color: var(--rf-muted); font-weight: 800; font-size: 0.9rem; }
.rf-step-text strong { display: block; font-size: 1rem; }
.rf-step-text small { display: block; color: var(--rf-muted); font-size: 0.82rem; }
.rf-steps li.is-current > span { background: var(--rf-sage); }
.rf-steps li.is-current .rf-step-num { border-color: var(--rf-green); background: var(--rf-green); color: #fff; }
.rf-steps li.is-current .rf-step-text strong { color: var(--rf-green); }
.rf-steps li.is-done .rf-step-num { border-color: var(--rf-green-mid); background: var(--rf-sage); color: var(--rf-green); }
.rf-steps li.is-locked { opacity: 0.75; }

/* Main */
.rf-main { padding: 20px 22px; min-width: 0; }
.rf-main-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.rf-badge { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--rf-green); color: #fff; font-weight: 800; }
.rf-main-head h2 { margin: 0; font: 700 1.55rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-main-head p { margin: 4px 0 0; color: var(--rf-muted); }
.rf-mobile-count { display: none; }
.rf-flash { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--rf-sage); color: var(--rf-green); font-weight: 650; }
.rf-alert { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid var(--rf-red); border-radius: 10px; background: #fdf0ef; color: #6e1a14; }
.rf-alert p, .rf-alert ul { margin: 0; }
.rf-alert ul { padding-left: 18px; }
.rf-hint, .rf-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--rf-cream); color: var(--rf-muted); }
.rf-help { margin: 8px 0 0; color: var(--rf-muted); font-size: 0.85rem; }
.rf-empty, .rf-side-empty { display: grid; justify-items: center; gap: 8px; padding: 26px; color: var(--rf-muted); text-align: center; }

/* Fields */
.rf-pickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.rf .rf-field { display: grid !important; gap: 6px; margin: 0; font-weight: 650; font-size: 0.95rem; color: var(--rf-ink); min-width: 0; }
.rf .rf-field > span:first-child { display: block; }
.rf .rf-field small { color: var(--rf-muted); font-weight: 500; font-size: 0.82rem; }
.rf-req { color: var(--rf-red); font-weight: 700; }
.rf-select { position: relative; display: flex; align-items: center; }
.rf-select > .fhf-icon { position: absolute; left: 12px; color: var(--rf-green-mid); pointer-events: none; }
.rf .rf-field select, .rf .rf-field input:not([type=radio]):not([type=checkbox]), .rf .rf-field textarea, .rf-draft-email input {
    width: 100%; min-height: 46px; height: auto; padding: 0 12px; border: 1px solid var(--rf-line); border-radius: 10px; background: #fff; color: var(--rf-ink); font: inherit; font-weight: 500; }
.rf .rf-select select { padding-left: 42px; appearance: auto; }
.rf .rf-select > input { width: 100%; padding-left: 42px; }
.rf .rf-field textarea { padding: 10px 12px; min-height: 90px; resize: vertical; }
.rf .rf-field select:disabled { background: var(--rf-cream); color: var(--rf-muted); }
.rf .rf-field input[readonly] { background: var(--rf-cream); }
.rf .rf-field :focus-visible { outline: 3px solid rgba(0, 107, 77, 0.35); outline-offset: 1px; border-color: var(--rf-green-mid); }
.rf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rf-span { grid-column: 1 / -1; }
.rf-readonly p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 46px; margin: 0; padding: 0 12px; border-radius: 10px; background: var(--rf-cream); font-weight: 600; }
.rf-radios { border: 0; padding: 0; }
.rf-radios legend { margin-bottom: 6px; font-weight: 650; }
.rf-radios label { display: flex !important; align-items: center; gap: 8px; min-height: 40px; font-weight: 500; }
.rf-field-inline { max-width: 320px; }
.rf-draft-email { display: grid !important; gap: 4px; max-width: 360px; margin: 16px 0 0 auto; font-size: 0.82rem; color: var(--rf-muted); font-weight: 600; }
.rf-actions-form .rf-actions { margin-top: 10px; }

/* Hall card */
.rf-hall { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; padding: 14px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: var(--rf-cream); }
.rf-hall-photo img, .rf-photo-empty { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; border-radius: 10px; object-fit: cover; }
.rf-photo-empty { display: grid; place-items: center; align-content: center; gap: 6px; background: var(--rf-sage); color: var(--rf-green-mid); text-align: center; padding: 10px; }
.rf-hall-body h3 { margin: 0 0 6px; font: 700 1.35rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-hall-body p { margin: 0 0 10px; color: var(--rf-muted); }
.rf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rf-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--rf-line); border-radius: 999px; background: #fff; font-size: 0.82rem; font-weight: 650; }
.rf-chips .fhf-icon { color: var(--rf-green-mid); }
.rf-chips li.is-ok { background: var(--rf-sage); border-color: transparent; color: var(--rf-green); }

/* Stat strip */
.rf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 8px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: var(--rf-cream); }
.rf-stat { display: flex; align-items: flex-start; gap: 10px; padding: 14px; min-width: 0; }
.rf-stat + .rf-stat { border-left: 1px solid var(--rf-line); }
.rf-stat > .fhf-icon { color: var(--rf-gold-dark); }
.rf-stat small { display: block; color: var(--rf-muted); font-size: 0.8rem; font-weight: 600; }
.rf-stat strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--rf-ink); }
.rf-stat em { display: block; color: var(--rf-muted); font-size: 0.78rem; font-style: normal; }
.rf-stat-wide { grid-column: 2 / -1; }
.rf-member-note { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; color: var(--rf-muted); font-size: 0.9rem; }
.rf-member-note .fhf-icon { color: var(--rf-green-mid); }
.rf-member-member { color: var(--rf-green); font-weight: 650; }
.rf-member-pending { color: #7a5408; }

/* Panels */
.rf-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rf-panel { padding: 14px 16px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: var(--rf-cream); }
.rf-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.05rem; }
.rf-panel h3 .fhf-icon { color: var(--rf-green-mid); }
.rf-panel-warn h3 .fhf-icon { color: var(--rf-gold-dark); }
.rf-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.9rem; }
.rf-facts li { display: flex; gap: 8px; }
.rf-facts .fhf-icon { color: var(--rf-green-mid); margin-top: 1px; }
.rf-bullets { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.9rem; }

/* Buttons */
.rf-actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rf-line); }
.rf-actions .rf-btn-ghost { margin-right: auto; }
.rf .rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 10px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: background-color 140ms, border-color 140ms, transform 120ms; }
.rf .rf-btn:active:not(:disabled) { transform: translateY(1px); }
.rf .rf-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.rf .rf-btn-primary { background: var(--rf-green); color: #fff; }
.rf .rf-btn-primary:hover { background: var(--rf-green-mid); }
.rf .rf-btn-gold { background: linear-gradient(180deg, #c99a2e, var(--rf-gold-dark)); color: #fff; }
.rf .rf-btn-gold:hover { filter: brightness(1.05); }
.rf .rf-btn-outline { border-color: var(--rf-green); background: #fff; color: var(--rf-green); }
.rf .rf-btn-outline:hover { background: var(--rf-sage); }
.rf .rf-btn-ghost { background: none; color: var(--rf-ink); border-color: var(--rf-line); }
.rf .rf-btn-block { display: flex; width: 100%; min-height: 54px; font-size: 1.1rem; }
.rf [data-rf-noscript][hidden] { display: none !important; }

/* Schedule */
.rf-length { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.rf-length .rf-help { flex-basis: 100%; margin: 0; }
.rf-schedule { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.rf-cal { padding: 14px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); }
.rf-cal-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-bottom: 8px; }
.rf-cal-head h3 { margin: 0; text-align: center; font-size: 1.05rem; }
.rf-cal-head a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--rf-green); }
.rf-cal-head a:hover { background: var(--rf-sage); }
.rf .rf-cal-grid { width: 100%; min-width: 0 !important; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.rf .rf-cal-grid th { padding: 4px 0; background: none; color: var(--rf-muted); font-size: 0.75rem; font-weight: 700; text-align: center; text-transform: none; letter-spacing: 0; }
.rf .rf-cal-grid td { padding: 0; border: 0; background: none; text-align: center; }
.rf-day { display: grid; place-items: center; width: 100%; aspect-ratio: 1; min-height: 34px; border-radius: 8px; font-weight: 650; font-size: 0.9rem; text-decoration: none; color: var(--rf-ink); }
a.rf-day.is-available { border: 1px solid var(--rf-line); background: #fff; }
a.rf-day.is-available:hover { border-color: var(--rf-green-mid); background: var(--rf-sage); }
a.rf-day.is-limited { border: 1px dashed var(--rf-gold-dark); background: var(--rf-gold-soft); }
.rf-day.is-unavailable { background: #fbe4e2; color: #9c2b22; text-decoration: line-through; }
.rf-day.is-past, .rf-day.is-outside { color: #b5bdb8; }
a.rf-day.is-selected { border-color: var(--rf-green); background: var(--rf-green); color: #fff; }
.rf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: var(--rf-muted); }
.rf-legend span { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; border-radius: 4px; border: 1px solid var(--rf-line); background: #fff; }
.rf-legend span.is-limited { border: 1px dashed var(--rf-gold-dark); background: var(--rf-gold-soft); }
.rf-legend span.is-unavailable { background: #fbe4e2; border-color: #f3c4c0; }
.rf-legend span.is-selected { background: var(--rf-green); border-color: var(--rf-green); }
.rf-slots { padding: 14px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: var(--rf-cream); }
.rf-slots h3 { margin: 0 0 6px; font-size: 1rem; }
.rf-selected-date { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; }
.rf-slots fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; max-height: 340px; overflow-y: auto; }
.rf-slots legend { margin-bottom: 8px; font-weight: 700; color: var(--rf-green); }
.rf .rf-slot { display: flex !important; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rf-line); border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
.rf .rf-slot input { width: 18px; height: 18px; accent-color: var(--rf-green); }
.rf .rf-slot:has(input:checked), .rf .rf-slot.is-checked { border-color: var(--rf-green); background: var(--rf-sage); }
.rf-slots .rf-actions { justify-content: flex-start; }

/* Review */
.rf-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 12px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); overflow: hidden; }
.rf-review div { padding: 10px 14px; border-bottom: 1px solid var(--rf-line); }
.rf-review div:nth-child(odd) { border-right: 1px solid var(--rf-line); }
.rf-review dt { color: var(--rf-muted); font-size: 0.8rem; font-weight: 700; }
.rf-review dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.rf-review .rf-span { grid-column: 1 / -1; border-right: 0 !important; background: var(--rf-sage); }
.rf-total { font-size: 1.35rem; font-weight: 800; color: var(--rf-green); }
.rf-agreement { margin-top: 16px; padding: 16px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: var(--rf-sage); }
.rf-agreement > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 1.25rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-topics { display: grid; gap: 8px; margin-bottom: 14px; }
.rf-topics details { border: 1px solid var(--rf-line); border-radius: 10px; background: #fff; }
.rf-topics summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; font-weight: 700; cursor: pointer; }
.rf-topics summary .fhf-icon { color: var(--rf-green-mid); }
.rf-topics summary small { margin-left: auto; color: var(--rf-muted); font-weight: 500; }
.rf-prose { max-height: 320px; overflow-y: auto; padding: 0 14px 14px; color: var(--rf-ink); font-size: 0.92rem; line-height: 1.55; }
.rf-acks { display: grid; gap: 6px; margin: 0; padding: 12px 14px; border: 1px solid var(--rf-line); border-radius: 12px; background: #fff; }
.rf-acks legend { padding: 0 4px; font-weight: 700; }
.rf .rf-acks label { display: flex !important; align-items: center; gap: 12px; min-height: 44px; font-weight: 650; cursor: pointer; }
.rf .rf-acks input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--rf-green); }

/* Side */
.rf-side { position: sticky; top: 90px; display: grid; gap: 14px; }
.rf-side .rf-card { padding: 14px 16px; }
.rf-side h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 1.2rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-side h3 .fhf-icon { color: var(--rf-green-mid); }
.rf-gallery { position: relative; padding: 8px !important; }
.rf-gallery .rf-photo-empty { aspect-ratio: 16 / 7 !important; }
.rf-gallery img, .rf-gallery .rf-photo-empty { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; border-radius: 10px; object-fit: cover; }
.rf-gal-btn { position: absolute; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(0, 59, 44, 0.75); color: #fff; cursor: pointer; }
.rf-gal-btn.is-prev { left: 16px; } .rf-gal-btn.is-next { right: 16px; }
.rf-gal-count { position: absolute; right: 16px; bottom: 16px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.85rem; font-weight: 700; }
.rf-side-list { display: grid; gap: 0; margin: 0; }
.rf-side-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; }
.rf-side-list div + div { border-top: 1px solid var(--rf-line); }
.rf-side-list dt { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.92rem; }
.rf-side-list dt .fhf-icon { color: var(--rf-green-mid); }
.rf-side-list dd { margin: 0; font-weight: 700; font-size: 0.9rem; text-align: right; }
.rf-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--rf-sage); color: var(--rf-green); }
.rf-side-ack p { margin: 0 0 8px; color: var(--rf-muted); font-size: 0.9rem; }
.rf-side-ack ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rf-side-ack li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rf-box { width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid #b9c4bd; border-radius: 4px; }
.rf-side-links { margin: 0; text-align: center; font-size: 0.88rem; }

.rf a:focus-visible, .rf button:focus-visible, .rf summary:focus-visible { outline: 3px solid var(--rf-gold); outline-offset: 2px; }
.rf-app-loading { opacity: 0.55; pointer-events: none; transition: opacity 120ms; }

/* Laptop: steps on top, form and summary side by side */
@media (max-width: 1439px) {
    .rf-layout { grid-template-columns: minmax(0, 1fr) 340px; }
    .rf-steps { grid-column: 1 / -1; position: static; padding: 10px 12px; }
    .rf-steps-head { display: none; }
    .rf-steps ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .rf-steps li:not(:last-child) > *::after { display: none; }
    .rf-steps li > a, .rf-steps li > span { align-items: center; padding: 8px; }
}
@media (max-width: 1199px) {
    .rf-pickers { grid-template-columns: 1fr 1fr; }
    .rf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rf-stat:nth-child(3) { border-left: 0; }
    .rf-stat:nth-child(n+3) { border-top: 1px solid var(--rf-line); }
}
/* Tablet: one column */
@media (max-width: 1023px) {
    .rf-layout { grid-template-columns: minmax(0, 1fr); }
    .rf-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .rf-step-text small { display: none; }
    .rf-hero-art { width: 30%; }
}
/* Phone: one step at a time */
@media (max-width: 767px) {
    .rf-shell { padding: 12px 12px 0; }
    .rf-hero { min-height: 0; }
    .rf-hero-inner { padding: 18px 16px 22px; gap: 12px; }
    .rf-hero-icon { display: none; }
    .rf-hero-copy p { font-size: 0.95rem; margin-bottom: 0; }
    .rf-pills { display: none; }
    .rf-hero-art { width: 45%; opacity: 0.35; }
    .rf-steps { padding: 10px 6px; border-radius: 14px; }
    .rf-steps ol { gap: 0; }
    .rf-steps li > a, .rf-steps li > span { flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; text-align: center; }
    .rf-steps li.is-current > span { background: none; }
    .rf-steps li.is-current .rf-step-num { background: var(--rf-gold); border-color: var(--rf-gold); }
    .rf-step-text strong { font-size: 0.72rem; font-weight: 650; line-height: 1.15; }
    .rf-main { padding: 14px 12px; border-radius: 14px; }
    .rf-main-head h2 { font-size: 1.25rem; }
    .rf-main-head p { font-size: 0.9rem; }
    .rf-badge { width: 30px; height: 30px; }
    .rf-pickers, .rf-grid, .rf-panels, .rf-schedule, .rf-review { grid-template-columns: minmax(0, 1fr); }
    .rf-review div:nth-child(odd) { border-right: 0; }
    .rf-hall { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .rf-hall-body h3 { font-size: 1.05rem; }
    .rf-hall-body p { display: none; }
    .rf-chips li { font-size: 0.75rem; padding: 4px 8px; }
    .rf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rf-stat { padding: 10px; }
    .rf-stat strong { font-size: 1.15rem; }
    /* Back / Continue stay in reach at the bottom of the screen. The site menu is hidden on this page
       and the page scrolls focused fields clear of the bar, so it never covers a field or an error. */
    .rf-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; flex-wrap: nowrap; align-items: stretch; gap: 8px; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rf-line); border-radius: 0; background: rgba(255, 255, 255, 0.98); box-shadow: 0 -6px 16px rgba(18, 53, 43, 0.1); }
    .rf:has(.rf-actions) { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    .rf-actions .rf-btn { flex: 1 1 auto; min-height: 46px; padding: 0 14px; font-size: 0.95rem; }
    .rf-actions .rf-btn-ghost { flex: 0 0 auto; margin-right: 0; }
    .rf-draft-email { max-width: none; margin-left: 0; }
    .rf-side .rf-gallery:has(.rf-photo-empty) { display: none; }
    .rf-side { grid-template-columns: minmax(0, 1fr); }
    .rf-side .rf-side-ack, .rf-side > .rf-btn-gold { display: none; }
    .rf-slots fieldset { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rf-slots legend { grid-column: 1 / -1; }
    .rf .rf-slot { padding: 0 8px; gap: 6px; font-size: 0.85rem; }
}
@media (max-width: 359px) {
    .rf-step-text strong { font-size: 0.64rem; }
    .rf-stats { grid-template-columns: minmax(0, 1fr); }
    .rf-stat + .rf-stat { border-left: 0; border-top: 1px solid var(--rf-line); }
}
@media (prefers-reduced-motion: reduce) { .rf * { transition: none !important; } }

/* Heading with the Share Form button beside it (wraps under the title on phones). */
.rf-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rf-title-row h1 { margin: 0; }

/* Hall Reservations (Nov 2026): hero actions, and rooms matching the guests and gathering. */
.rf-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 14px; }
.rf-hero-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 12px; color: #fff !important; font-weight: 800; text-decoration: none; }
.rf-hero-btn:hover { background: rgba(255, 255, 255, 0.12); }
.rf-hero-btn.is-solid { border-color: #fff; background: #fff; color: var(--rf-green) !important; }
.rf-hero-btn.is-solid:hover { background: var(--rf-sage); }
.rf-hero-actions .rs { margin: 0; }
.rf-rooms { margin-top: 18px; }
.rf-rooms h3 { margin: 0 0 6px; font-size: 1.15rem; }
.rf-rooms-note, .rf-empty-line { margin: 0 0 10px; color: var(--rf-muted); font-size: 0.92rem; }
.rf-room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.rf-room { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: #fff; box-shadow: var(--rf-shadow); }
.rf-room-photo { position: relative; aspect-ratio: 16 / 10; background: var(--rf-sage); }
.rf-room-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rf-room-tag { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); color: var(--rf-green); font-size: 0.75rem; font-weight: 700; }
.rf-room-body { display: grid; gap: 8px; align-content: start; padding: 12px 14px 14px; }
.rf-room-body h4 { margin: 0; color: var(--rf-green); font: 700 1.15rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-room-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rf-room-facts li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--rf-sage); color: var(--rf-ink); font-size: 0.8rem; font-weight: 600; }
.rf-room-facts .fhf-icon { color: var(--rf-green-mid); }
.rf-room-price { margin: 0; color: var(--rf-muted); font-size: 0.9rem; }
.rf-room-price strong { color: var(--rf-green); }
.rf-room .rf-btn { justify-self: stretch; }
/* Compact hero buttons: two per row on phones, sized to their text on wider screens. */
.rf-hero-btn, .rf-hero-actions .rs-open { min-height: 40px; padding: 8px 14px; border-radius: 10px; font-size: .9rem; gap: 6px; }
.rf-hero-btn .fhf-icon, .rf-hero-actions .rs-open svg { width: 18px; height: 18px; }
@media (max-width: 599px) {
    .rf-hero-copy h1 { font-size: 1.6rem; }
    .rf-hero-copy p { margin: 4px 0 8px; font-size: .9rem; line-height: 1.45; }
    .rf-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
    .rf-hero-btn, .rf-hero-actions .rs-open { width: 100%; min-height: 38px; padding: 7px 6px; justify-content: center; font-size: .8rem; white-space: nowrap; }
    .rf-hero-btn .fhf-icon { display: none; }
    .rf-hero-actions .rs { grid-column: 1 / -1; }
    .rf-pills { display: none; }
}
/* Fields with an icon (Expected Guests, Type, Location…): keep text clear of the icon and every box the same height. */
.rf .rf-field .rf-select > input:not([type=radio]):not([type=checkbox]),
.rf .rf-field .rf-select > select { height: 46px; min-height: 46px; padding-top: 0; padding-bottom: 0; padding-left: 42px !important; }
.rf .rf-field .rf-select > input[type=number] { -moz-appearance: textfield; }

/* Rules & regulations on the review step. */
.rf-rules { margin-top: 18px; padding: 16px; border: 1px solid var(--rf-line); border-radius: 14px; background: #fff; }
.rf-rules h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.05rem; }
.rf-rules h4 { margin: 12px 0 4px; font-size: 0.8rem; font-weight: 800; color: var(--rf-muted); }
.rf-rules ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rf-rules li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; }
.rf-rules li svg { flex: none; margin-top: 3px; color: var(--rf-green, var(--pal-700,#0b5d3f)); }
.rf-rules small { display: block; color: var(--rf-muted); font-size: 0.82rem; }
.rf-slot-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; line-height: 1.25; }
.rf-slot-time small { font-weight: 500; color: var(--rf-muted); font-size: 0.8em; }
@media (max-width: 767px) { .rf .rf-slot { min-height: 52px; padding: 6px 10px; } .rf-slot-time { display: grid; } }

/* Phones: compact header, keyboard-safe scrolling for the sticky action bar. */
html:has(.rf) { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 767px) {
    .rf-hero { min-height: 0; }
    .rf-hero-inner { padding: 12px 16px 16px; gap: 0; }
    .rf-hero-icon, .rf-hero-art, .rf-hero-copy p, .rf-hero-btn.is-solid { display: none; }
    .rf-hero-copy h1 { font-size: 1.45rem; }
    .rf-hero-actions { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 8px; }
    .rf-hero-actions > * { flex: 1 1 0; min-width: 0; }
    .rf-hero-actions .rf-hero-btn, .rf-hero-actions button { min-height: 38px; padding: 0 10px; font-size: 0.82rem; white-space: nowrap; }
    .rf-alert:focus { outline: 3px solid var(--rf-gold); outline-offset: 2px; }
}

/* ===== Split screen (Nov 2026): steps on the left, the calendar on the right. ===== */
.rf .rf-split { grid-template-columns: minmax(0, 1fr) 380px; }
.rf-progress { margin: -4px 0 16px; }
.rf-progress ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rf-progress li > a, .rf-progress li > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px 8px; border-bottom: 3px solid var(--rf-line); color: var(--rf-muted); font-size: 0.82rem; font-weight: 650; text-align: center; text-decoration: none; }
.rf-progress li.is-done > a, .rf-progress li.is-done > span { border-bottom-color: var(--rf-green-mid); color: var(--rf-green); }
.rf-progress li.is-current > span { border-bottom-color: var(--rf-gold); color: var(--rf-green); }
.rf-progress li > a:hover { color: var(--rf-green); }
.rf-progress .rf-step-num { width: 28px; height: 28px; font-size: 0.85rem; }
.rf-progress li.is-current .rf-step-num { border-color: var(--rf-green); background: var(--rf-green); color: #fff; }
.rf-progress li.is-done .rf-step-num { border-color: var(--rf-green-mid); background: var(--rf-sage); color: var(--rf-green); }
.rf-step-label { line-height: 1.2; }
.rf-step-of { margin: 0 0 2px !important; color: var(--rf-gold-dark) !important; font-size: 0.85rem; font-weight: 750; }

/* Step 1 */
.rf-location { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 6px; }
.rf-location .rf-field { flex: 1 1 260px; max-width: 420px; }
.rf-sub { margin: 18px 0 10px; font-size: 1.15rem; }
.rf-hall-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.rf-pick { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: #fff; }
.rf-pick > img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.rf-pick-body { display: grid; gap: 8px; align-content: start; padding: 14px; }
.rf-pick-body h4 { margin: 0; color: var(--rf-green); font: 700 1.15rem / 1.25 var(--fhf-font-display, Georgia, serif); }
.rf-pick-facts { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; }
.rf-pick-facts li { display: flex; align-items: center; gap: 6px; }
.rf-pick-facts .fhf-icon { color: var(--rf-green-mid); }
.rf-pick form { margin: 4px 0 0; }
.rf .rf-btn-wide { width: 100%; }
.rf-pick-more { justify-self: start; font-weight: 700; }
.rf-pick.is-chosen { border-color: var(--rf-green); box-shadow: 0 0 0 2px var(--rf-green) inset; }
.rf-pick.is-disabled { background: #f6f7f6; }
.rf-pick.is-disabled > img { filter: grayscale(1); opacity: 0.6; }
.rf-pick.is-disabled h4, .rf-pick.is-disabled .rf-pick-facts { color: var(--rf-muted); }
.rf-call-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin: 4px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--rf-gold-soft); color: #7a5408; font-weight: 750; font-size: 0.9rem; }

/* Step 2 */
.rf-date { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.rf-date .rf-field { flex: 0 1 260px; }
.rf-date .rf-help { flex-basis: 100%; margin: 0; }
.rf .rf-time select option:disabled { color: #9aa49e; }
.rf-end { min-height: 1.4em; margin: 10px 0 0; color: var(--rf-green); font-weight: 750; }

/* Step 3 / 4 */
.rf-inline-error { color: var(--rf-red) !important; font-weight: 700 !important; }
.rf-inline-error[hidden] { display: none !important; }
.rf .rf-field input[aria-invalid=true] { border-color: var(--rf-red); }
.rf-group { margin: 0 0 16px; padding: 0; border: 0; }
.rf-group legend { margin-bottom: 8px; font-weight: 800; font-size: 1.05rem; color: var(--rf-green); }
.rf-group-emergency { padding: 12px 14px; border: 1px solid var(--rf-line); border-radius: 12px; background: var(--rf-cream); }
.rf-group-emergency legend { float: left; width: 100%; }
.rf-group-emergency > .rf-help { clear: both; margin: 0 0 10px; }
.rf-lock-note { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }

/* Step 5 */
.rf-receipt, .rf-fees-card { margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); background: #fff; }
.rf-receipt h3, .rf-fees-card h3, .rf-agreement > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 1.15rem / 1.2 var(--fhf-font-display, Georgia, serif); }
.rf-receipt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.rf-receipt-list dt { color: var(--rf-muted); font-size: 0.8rem; font-weight: 700; }
.rf-receipt-list dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.rf-receipt-edit { margin: 12px 0 0; font-size: 0.88rem; }
.rf .rf-fees { width: 100%; min-width: 0 !important; border-collapse: collapse; }
.rf .rf-fees th, .rf .rf-fees td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--rf-line); background: none; text-align: left; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--rf-ink); font-size: 0.98rem; }
.rf .rf-fees td { text-align: right; white-space: nowrap; }
.rf .rf-fees tfoot th, .rf .rf-fees tfoot td { border-bottom: 0; font-size: 1.15rem; font-weight: 800; color: var(--rf-green); }
.rf-tip { position: relative; display: inline-block; vertical-align: middle; }
.rf .rf-tip-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--rf-sage); color: var(--rf-green); cursor: help; }
.rf-tip-text { position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 5; width: 240px; padding: 8px 10px; border-radius: 8px; background: var(--rf-green-dark); color: #fff; font-size: 0.82rem; font-weight: 500; line-height: 1.4; transform: translateX(-50%); visibility: hidden; opacity: 0; transition: opacity 120ms; pointer-events: none; }
.rf-tip:hover .rf-tip-text, .rf-tip:focus-within .rf-tip-text { visibility: visible; opacity: 1; }
.rf-rules summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; cursor: pointer; }

/* Calendar panel */
.rf-cal-side { gap: 10px; }
.rf-cal-card { padding: 14px 16px; }
.rf .rf-cal-toggle { display: none; }
.rf-cal-hall { display: grid; gap: 2px; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--rf-line); }
.rf-cal-hall strong { color: var(--rf-green); font: 700 1.1rem / 1.25 var(--fhf-font-display, Georgia, serif); }
.rf-cal-hall small { color: var(--rf-muted); }
.rf-cal-side .rf-cal-head { margin-bottom: 4px; }
.rf .rf-cal-grid abbr { text-decoration: none; }
.rf button.rf-day { padding: 0; border: 1px solid transparent; font: inherit; font-weight: 650; cursor: pointer; }
.rf .rf-day.is-available { border: 1px solid #a9d3b6; background: #e3f3e8; color: var(--rf-green); }
.rf .rf-day.is-available:hover { border-color: var(--rf-green-mid); background: #cdebd6; }
.rf .rf-day.is-limited { border: 1px solid #e3b955; background: #fcefc9; color: #6b4a06; }
.rf .rf-day.is-limited:hover { border-color: var(--rf-gold-dark); }
.rf .rf-day.is-unavailable, .rf .rf-day.is-past { border: 0; background: #f0f1f0; color: #9aa49e; text-decoration: line-through; }
.rf .rf-day.is-selected { border-color: var(--rf-green) !important; background: var(--rf-green) !important; color: #fff !important; }
.rf-legend span.is-available { background: #e3f3e8; border-color: #a9d3b6; }
.rf-legend span.is-limited { border: 1px solid #e3b955; background: #fcefc9; }
.rf-legend span.is-unavailable { background: #f0f1f0; border-color: #dfe3e0; }
.rf-cal-privacy { margin: 8px 0 0; color: var(--rf-muted); font-size: 0.8rem; }
.rf-cal-yours { display: grid; gap: 6px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--rf-sage); }
.rf-cal-yours div { display: flex; justify-content: space-between; gap: 10px; }
.rf-cal-yours dt { color: var(--rf-muted); font-size: 0.85rem; font-weight: 700; }
.rf-cal-yours dd { margin: 0; font-weight: 750; text-align: right; }

@media (max-width: 1023px) {
    .rf .rf-split { grid-template-columns: minmax(0, 1fr); }
    .rf-cal-side { order: -1; position: static; grid-template-columns: minmax(0, 1fr) !important; }
    .rf .rf-cal-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--rf-line); border-radius: 12px; background: #fff; color: var(--rf-green); font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
    .rf-cal-toggle > span:first-of-type { flex: 1; }
    .rf-cal-toggle-hint { color: var(--rf-green-mid); font-size: 0.88rem; text-decoration: underline; }
    .rf-cal-side.is-collapsed .rf-cal-card, .rf-cal-side.is-collapsed .rf-side-links { display: none; }
    .rf-cal-card { max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 767px) {
    .rf-progress ol { gap: 2px; }
    .rf-progress li > a, .rf-progress li > span { font-size: 0.68rem; padding: 4px 0 6px; }
    .rf-progress .rf-step-num { width: 24px; height: 24px; font-size: 0.78rem; }
    .rf-receipt-list { grid-template-columns: minmax(0, 1fr); }
    .rf-tip-text { left: auto; right: -40px; transform: none; }
}
.rf-chosen { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--rf-green); border-radius: var(--rf-radius); background: var(--rf-sage); } .rf-chosen h3 { margin: 0 0 6px; } .rf-chosen .rf-rules { margin-top: 8px; padding: 10px 12px; }
.rf-cal-yours div { display: grid; gap: 2px; } .rf-cal-yours dd { text-align: left; }
@media (max-width: 767px) { .rf-hero-actions .rf-hero-btn, .rf-hero-actions button { white-space: normal; line-height: 1.15; min-height: 42px; } }
