.rh-public { --rh-accent: #3d6f9e; --rh-accent-dark: #2d5679; --rh-green: #3d8b63; --rh-red: #b9473c; --rh-ink: #2b2620; --rh-muted: #75695c; --rh-line: #e4dbcf; --rh-bg: #fffdf9; box-sizing: border-box; color: var(--rh-ink); font-size: 16px; line-height: 1.5; }
.rh-public *, .rh-public *::before, .rh-public *::after { box-sizing: inherit; }
.rh-form-wrap { max-width: 760px; margin: 0 auto; background: var(--rh-bg); border: 1px solid var(--rh-line); border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px rgba(60, 40, 20, .06); scroll-margin-top: 80px; }
.rh-notice-box { max-width: 760px; margin: 0 auto; padding: 22px; border-radius: 12px; background: #f6f1e9; text-align: center; }

.rh-form-head { text-align: center; margin-bottom: 18px; }
.rh-public .rh-title { margin: 0; font-size: 1.6em; line-height: 1.2; }
.rh-meta { margin: 6px 0 0; color: var(--rh-muted); }

.rh-steps-nav { display: flex; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; counter-reset: none; }
.rh-steps-nav li { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 6px 10px; font-size: 13px; color: var(--rh-muted); border-bottom: 3px solid var(--rh-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-steps-nav li::before { content: none; }
.rh-steps-nav span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rh-line); color: var(--rh-ink); font-weight: 700; font-size: 12px; }
.rh-steps-nav li.is-current { color: var(--rh-ink); font-weight: 600; border-color: var(--rh-accent); }
.rh-steps-nav li.is-current span { background: var(--rh-accent); color: #fff; }
.rh-steps-nav li.is-done { border-color: var(--rh-green); }
.rh-steps-nav li.is-done span { background: var(--rh-green); color: #fff; }

.rh-step h3 { margin: 0 0 14px; font-size: 1.25em; }
.rh-step[hidden], .rh-result[hidden], .rh-public [hidden] { display: none !important; }
.rh-help { color: var(--rh-muted); margin: -6px 0 16px; font-size: .95em; }
.rh-muted { color: var(--rh-muted); }
.rh-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rh-input { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; font-weight: 600; font-size: .92em; }
.rh-grid-2 .rh-input { margin: 0; }
.rh-public input[type=text], .rh-public input[type=email], .rh-public input[type=tel], .rh-public input[type=date], .rh-public input[type=number], .rh-public textarea {
	width: 100%; margin: 0; padding: 11px 13px; font: inherit; font-weight: 400; color: var(--rh-ink); background: #fff; border: 1.5px solid #d6cbbd; border-radius: 10px; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.rh-public input:focus, .rh-public textarea:focus { outline: none; border-color: var(--rh-accent); box-shadow: 0 0 0 3px rgba(61, 111, 158, .18); }
.rh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Personas */
.rh-people { border: 1px solid var(--rh-line); border-radius: 12px; background: #fff; }
.rh-people-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.rh-people-row + .rh-people-row { border-top: 1px solid var(--rh-line); }
.rh-people-row small { display: block; color: var(--rh-muted); font-size: .85em; }
.rh-stepper { display: flex; align-items: center; gap: 4px; }
.rh-public .rh-stepper button { width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--rh-accent); background: #fff; color: var(--rh-accent); font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.rh-public .rh-stepper button:hover { background: var(--rh-accent); color: #fff; }
.rh-public .rh-stepper input { width: 52px; padding: 6px 0; text-align: center; font-size: 1.2em; font-weight: 700; border: none; background: transparent; -moz-appearance: textfield; }
.rh-public .rh-stepper input::-webkit-inner-spin-button, .rh-public .rh-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rh-minors { display: grid; gap: 10px; margin-top: 14px; }
.rh-minor { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: #f7f2ea; border-radius: 10px; font-size: .92em; font-weight: 600; }
.rh-minor-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rh-minor-field input { max-width: 220px; }
.rh-minor-age { font-style: normal; font-weight: 600; color: var(--rh-green); }
.rh-minor-age.is-bad { color: var(--rh-red); }
.rh-minors-help { margin-top: 10px; }

/* Habitaciones */
.rh-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rh-public .rh-room-opt { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 16px; text-align: left; font: inherit; color: var(--rh-ink); background: #fff; border: 2px solid var(--rh-line); border-radius: 14px; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; text-transform: none; letter-spacing: normal; }
.rh-public .rh-room-opt:hover { border-color: #b9c9d9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); background: #fff; color: var(--rh-ink); }
.rh-public .rh-rooms .rh-room-opt.is-selected, .rh-public .rh-rooms .rh-room-opt.is-selected:hover { border-color: var(--rh-accent); box-shadow: 0 0 0 3px rgba(61, 111, 158, .18); background: #f5f9fd; }
.rh-public .rh-room-opt.is-static { cursor: default; transform: none; }
.rh-room-opt-svg { display: flex; justify-content: center; align-items: center; min-height: 120px; }
.rh-room-opt-svg svg { max-height: 130px; width: auto; }
.rh-room-opt-body { display: flex; flex-direction: column; gap: 2px; }
.rh-room-opt-body strong { font-size: 1.05em; }
.rh-room-opt-body span { font-size: .9em; color: var(--rh-muted); }
.rh-room-opt-body .rh-room-opt-free { color: var(--rh-green); font-weight: 600; }
.rh-room-opt-body .rh-room-opt-free.is-low { color: #b0640f; }
.rh-room-opt-check { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--rh-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.rh-room-opt.is-selected .rh-room-opt-check { opacity: 1; transform: none; }
.rh-empty-rooms { grid-column: 1 / -1; padding: 18px; border-radius: 12px; background: #fdf4e3; border: 1px solid #f0d9a8; }
.rh-empty-rooms p { margin: 0 0 6px; }
.rh-loading { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--rh-muted); }

/* Resumen */
.rh-summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; padding: 16px; background: #fff; border: 1px solid var(--rh-line); border-radius: 12px; }
.rh-summary dt { font-weight: 600; color: var(--rh-muted); margin: 0; }
.rh-summary dd { margin: 0; }
.rh-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95em; margin: 4px 0 8px; cursor: pointer; }
.rh-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

/* Botones */
.rh-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.rh-public .rh-btn { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 12px 26px; min-height: 46px; font: inherit; font-weight: 700; color: #fff; background: var(--rh-accent); border: 2px solid var(--rh-accent); border-radius: 99px; cursor: pointer; text-transform: none; letter-spacing: normal; transition: background .15s, transform .1s; }
.rh-public .rh-btn:hover { background: var(--rh-accent-dark); border-color: var(--rh-accent-dark); color: #fff; }
.rh-public .rh-btn:active { transform: scale(.98); }
.rh-public .rh-btn[disabled] { opacity: .6; cursor: wait; }
.rh-public .rh-btn-ghost { background: transparent; color: var(--rh-accent); }
.rh-public .rh-btn-ghost:hover { background: #eef3f8; color: var(--rh-accent-dark); }
.rh-step-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fbeceb; color: var(--rh-red); font-weight: 600; }

/* Resultado */
.rh-result { text-align: center; padding: 10px 0; }
.rh-result h3 { margin: 10px 0; font-size: 1.4em; }
.rh-result-icon { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: var(--rh-green); color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; animation: rh-pop .4s ease-out; }
.rh-result-icon.is-wait { background: #e3a43a; font-size: 30px; }
.rh-result-room { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 10px auto 16px; padding: 16px 24px; background: #fff; border: 1px solid var(--rh-line); border-radius: 14px; }
.rh-result-room svg { max-height: 150px; width: auto; }
.rh-code strong { font-family: ui-monospace, Menlo, monospace; font-size: 1.2em; letter-spacing: .08em; background: #f1ebe2; padding: 2px 8px; border-radius: 6px; }
@keyframes rh-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 600px) {
	.rh-form-wrap { padding: 18px 16px; border-radius: 12px; }
	.rh-grid-2 { grid-template-columns: 1fr; }
	.rh-steps-nav li { font-size: 0; justify-content: center; gap: 0; }
	.rh-steps-nav li.is-current { flex: 2.4; font-size: 12px; gap: 6px; justify-content: flex-start; }
	.rh-actions { flex-direction: column-reverse; }
	.rh-public .rh-btn { width: 100%; }
	.rh-rooms { grid-template-columns: 1fr; }
	.rh-summary { grid-template-columns: 1fr; gap: 2px; }
	.rh-summary dd { margin-bottom: 8px; }
}

/* Nombres de asistentes */
.rh-persons { display: grid; gap: 10px; margin-top: 14px; }
.rh-adults, .rh-minors { display: grid; gap: 10px; margin: 0; }
.rh-person { padding: 12px 14px 2px; background: #f7f2ea; border-radius: 10px; }
.rh-person-minor { background: #eef6f1; padding-bottom: 10px; }
.rh-person .rh-input { margin-bottom: 10px; }
.rh-person .rh-grid-2 .rh-input { margin: 0; }
.rh-person-title { display: block; font-weight: 700; margin-bottom: 8px; }
.rh-person .rh-minor-age { display: block; margin-top: 6px; }
.rh-summary-people { margin: 0; padding-left: 18px; }
.rh-summary-people li { margin: 0; }

/* Lista de retiros */
.rh-events-list { max-width: 820px; margin: 0 auto; }
.rh-events-list .rh-title { text-align: center; margin-bottom: 20px; }
.rh-event-cards { display: grid; gap: 14px; }
.rh-public .rh-event-pick { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--rh-bg); border: 2px solid var(--rh-line); border-radius: 16px; color: var(--rh-ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rh-public .rh-event-pick:hover, .rh-public .rh-event-pick:focus { border-color: var(--rh-accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60, 40, 20, .08); color: var(--rh-ink); outline: none; }
.rh-event-pick-svg { flex: none; width: 110px; }
.rh-event-pick-svg svg { width: 100%; height: auto; }
.rh-event-pick-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rh-event-pick-body strong { font-size: 1.2em; line-height: 1.25; }
.rh-event-pick-date { color: var(--rh-accent); font-weight: 600; }
.rh-event-pick-place, .rh-event-pick-desc { color: var(--rh-muted); font-size: .95em; }
.rh-event-pick-free { margin-top: 4px; font-weight: 700; color: var(--rh-green); font-size: .9em; }
.rh-event-pick-free.is-low { color: #b0640f; }
.rh-event-pick-free.is-full { color: var(--rh-red); }
.rh-public .rh-event-pick-btn { flex: none; pointer-events: none; }
.rh-public .rh-back { display: inline-block; margin-bottom: 10px; color: var(--rh-accent); text-decoration: none; font-weight: 600; font-size: .95em; }

@media (max-width: 600px) {
	.rh-public .rh-event-pick { flex-direction: column; align-items: stretch; text-align: center; }
	.rh-event-pick-svg { margin: 0 auto; }
	.rh-public .rh-event-pick-btn { width: 100%; }
}
