@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("https://octopus-app-wmb69.ondigitalocean.app/api/plataforma/ui/dmsans.woff2") format("woff2");
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("https://octopus-app-wmb69.ondigitalocean.app/api/plataforma/ui/manrope.woff2") format("woff2");
}
:root {
  color-scheme: light; --page: #f7f7f7; --ink: #141414; --muted: #626262;
  --border: #d8d8d8; --gutter: clamp(16px, 4vw, 28px); --width: 640px;
}
body { background: var(--page); color: var(--ink); font: 16px/1.45 "DM Sans", system-ui, sans-serif; }
.booking-header { display: block; max-width: none; padding: 0; background: #fff; border-bottom: 1px solid #e7e7e7; }
.topbar { max-width: var(--width); margin: auto; padding: 0 var(--gutter); height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar .reserva-brand { grid-column: 2; gap: 3px; }
.topbar .reserva-brand img { width: 73px; }
.topbar .reserva-brand small { font-size: 9px; }
.back, .profile-link-top { display: inline-flex; align-items: center; min-height: 44px; }
.back { width: 44px; }
.back svg, .eye svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.profile-link-top { justify-self: end; }
main { max-width: var(--width); padding: 25px var(--gutter) 40px; }
h1, h2, #acceso h2, #restablecer h2 { font-family: Manrope, "DM Sans", sans-serif; color: var(--ink); letter-spacing: -.045em; }
h1, #acceso h2, #restablecer h2 { margin: 0 0 18px; font-size: clamp(28px, 6.1vw, 36px); line-height: 1.16; font-weight: 800; }
h2 { margin: 0; font-size: clamp(20px, 4.6vw, 24px); line-height: 1.25; }
button, input, select { font: inherit; }
button, .text-button { margin: 0; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid #242424; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#mensaje:empty, #slot-status:empty { display: none; }
#mensaje:not(:empty) { margin: 0 0 16px; }
#cuenta form { max-width: none; }
body[data-view="loading"] #cuenta, body[data-view="booking"] #sesion,body[data-view="receipt"] #sesion { display: none; }
body[data-view="access"] main { max-width: 500px; padding-top: clamp(28px, 6vh, 57px); }
#cuenta form h2 { margin-bottom: 8px; }
.access-intro { margin: 0 0 30px; }
#cuenta form label { display: grid; gap: 8px; margin: 0 0 19px; font-weight: 700; }
#cuenta form input { width: 100%; min-width: 0; border: 1px solid #cbcbcb; border-radius: 9px; background: white; padding: 12px 14px; height: 51px; color: var(--ink); font-weight: 400; }
.password-field { position: relative; display: block; }
#cuenta input.with-eye { padding-right: 52px; }
.eye { position: absolute; inset: 0 0 0 auto; width: 48px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; padding: 0; }
.eye .slash { display: none; }
.eye[aria-pressed="true"] .slash { display: block; }
#cuenta form button[type="submit"], #confirmar { background: #151515; color: white; border: 1px solid #151515; border-radius: 9px; min-height: 50px; font-weight: 700; }
#cuenta form button[type="submit"] { display: block; width: 100%; margin-top: 18px; }
#recuperar, #alternar, #volver-acceso, .text-button { background: transparent; color: var(--ink); border: 0; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 6px 0; }
#alternar, #volver-acceso { display: block; width: 100%; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); border-radius: 0; font-weight: 700; }
#restablecer h2 { margin-bottom: 24px; }
#sesion { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
#history section, #customer-profile, #receipt { background: white; border-color: var(--border); }
#booking-section { margin: 0; padding: 0; border: 0; border-radius: 0; }
body[data-view="booking"] main { padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
.service-card, .resource-row { border: 1px solid #e2e2e2; background: #fff; border-radius: 12px; }
.service-card { display: flex; gap: 13px; align-items: center; padding: 10px; }
#service-photo { flex: none; width: clamp(84px, 28vw, 124px); }
#service-photo img { width: 100%; display: block; aspect-ratio: 1.4; object-fit: cover; border-radius: 7px; }
.service-copy { flex: 1; min-width: 0; }
.service-copy p { margin: 2px 0; font-size: .94rem; color: #555; overflow-wrap: anywhere; }
#servicio { font: 800 1.13rem/1.3 Manrope, sans-serif; text-overflow: ellipsis; width: 100%; border: 0; border-radius: 0; padding: 2px 0; background: transparent; color: var(--ink); }
#servicio:disabled { opacity: 1; appearance: none; -webkit-text-fill-color: var(--ink); }
.resource-row { display: flex; align-items: center; gap: 12px; padding: 4px 12px; margin: 16px 0; }
.resource-row label { font-weight: 700; padding-right: 12px; border-right: 1px solid var(--border); }
.resource-row select { flex: 1; min-width: 0; height: 44px; border: 0; background: white; padding: 0 3px; }
.day-area { border-top: 1px solid var(--border); margin: 18px 0 22px; }
.day-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0 8px; }
.month-picker { position: relative; display: flex; gap: 5px; align-items: center; min-height: 44px; font-size: .93rem; font-weight: 600; margin: 0; }
.month-picker input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.month-picker:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.days button, #horarios button { background: #fff; color: var(--ink); border: 1px solid #c9c9c9; border-radius: 9px; padding: 7px 2px; min-height: 44px; }
.days button { display: grid; justify-items: center; gap: 1px; }
.days button span { font-size: .86rem; }
.days button strong { font: 800 1.23rem/1.35 Manrope, sans-serif; }
#horarios { margin-top: 10px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
#horarios button { font-weight: 700; }
.days button[aria-pressed="true"], #horarios button[aria-pressed="true"] { background: #151515; color: #fff; border-color: #151515; }
#zona, #slot-status { margin: 10px 0; color: var(--muted); font-size: .91rem; }
.booking-foot { position: fixed; inset: auto 0 0; z-index: 2; background: #fff; border-top: 1px solid var(--border); }
.booking-foot > div { max-width: var(--width); margin: auto; padding: 10px var(--gutter) max(10px,env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#total { font: 800 clamp(18px,4.6vw,24px) Manrope, sans-serif; overflow-wrap: anywhere; }
#confirmar { padding: 10px clamp(16px,5vw,36px); }
#receipt { padding: 18px; border: 1px solid var(--border); border-radius: 12px; }
#receipt a { display: inline-block; font-weight: 700; padding-block: 10px; }
#cuenta label[for="clave"] { margin-bottom: 8px; }
.password-field { margin-bottom: 7px; }
#cuenta form h1 { margin-bottom: 8px; }
