/* Alquio modern UI */
:root{--dark:#2A383C;--yellow:#F4B942;--ice:#E8F1F2;--mist:#B0C4C4;--red:#D9534F;--white:#fff;--bg:#F7FAFA;--muted:#65767B;--line:#DCE7E8;--shadow:0 18px 45px rgba(42,56,60,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--dark)}a{text-decoration:none;color:inherit}.container{width:min(1180px,92vw);margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(42,56,60,.08)}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:1.7rem;font-weight:900;display:flex;align-items:center;gap:10px}.brand-mark{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,var(--dark),#587277);position:relative}.brand-mark:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--yellow);left:13px;bottom:6px}.nav{display:flex;gap:24px;font-weight:700}.actions{display:flex;gap:10px;align-items:center}.btn{border:0;border-radius:13px;padding:12px 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn-primary{background:var(--yellow);color:var(--dark)}.btn-dark{background:var(--dark);color:#fff}.btn-outline{background:#fff;border:1px solid var(--line)}.user-chip{background:var(--ice);padding:10px 13px;border-radius:13px;font-weight:800}.hero{background:linear-gradient(115deg,#f7fafa 20%,#dfeaea 70%);padding:70px 0 100px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:42px}.hero h1{font-size:clamp(3rem,5vw,5.4rem);line-height:.95;margin:10px 0}.hero h1 span{color:var(--yellow)}.hero p{font-size:1.15rem;color:#52666b;line-height:1.6}.eyebrow{font-size:.82rem;letter-spacing:.13em;text-transform:uppercase;font-weight:900}.hero-art{height:390px;border-radius:30px;background:linear-gradient(145deg,var(--dark),#6f8d92);box-shadow:var(--shadow);position:relative;overflow:hidden}.hero-art:after{content:"ALQUIO";position:absolute;right:-55px;top:110px;font-size:5rem;font-weight:900;color:rgba(255,255,255,.09);transform:rotate(90deg)}.search-shell{margin-top:-54px}.search-card{background:#fff;padding:16px;border-radius:22px;box-shadow:var(--shadow)}.tabs{display:grid;grid-template-columns:repeat(4,1fr);background:var(--ice);padding:6px;border-radius:14px;gap:6px}.tab{border:0;background:transparent;padding:11px;border-radius:10px;font-weight:800}.tab.active{background:var(--dark);color:#fff}.search-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:12px;margin-top:14px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:.8rem;font-weight:800}.field input,.field select{padding:13px;border:1px solid var(--line);border-radius:12px}.section{padding:48px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-head h2{margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.placeholder{min-height:240px;background:linear-gradient(#fff,#f1f6f6);border:1px solid var(--line);border-radius:19px;display:grid;place-items:center;text-align:center;padding:22px}.placeholder .icon{font-size:2rem}.host{display:grid;grid-template-columns:1.1fr .9fr;background:var(--dark);color:#fff;border-radius:24px;overflow:hidden}.host-copy{padding:38px}.host-visual{background:linear-gradient(135deg,#dbe7e8,#9fb9bb);min-height:250px;display:grid;place-items:center;color:var(--dark);font-size:2rem;font-weight:900;text-align:center;padding:24px}.site-footer{background:var(--dark);color:#fff;padding:40px 0;margin-top:30px}.auth-page{min-height:100vh;background:radial-gradient(circle at 20% 10%,rgba(244,185,66,.2),transparent 28%),#f7fafa}.auth-wrap{width:min(1120px,92vw);margin:auto;padding:52px 0}.auth-grid{display:grid;grid-template-columns:1fr .95fr;gap:36px}.auth-story{background:linear-gradient(145deg,var(--dark),#526c71);color:#fff;border-radius:28px;padding:44px;min-height:620px}.auth-story h1{font-size:3.2rem;line-height:1.02}.auth-story h1 span{color:var(--yellow)}.auth-card{background:#fff;border-radius:28px;padding:36px;box-shadow:var(--shadow)}.auth-form{display:flex;flex-direction:column;gap:14px}.auth-form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-form input,.auth-form select{width:100%;padding:13px;border:1px solid var(--line);border-radius:12px}.auth-switch{text-align:center;color:var(--muted)}.hidden{display:none!important}.alert{padding:12px;border-radius:12px;background:#fff0ef;color:#963833;margin-bottom:14px}
@media(max-width:900px){.nav{display:none}.hero-grid,.auth-grid,.host{grid-template-columns:1fr}.search-grid{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(100% - 26px,1180px)}.actions .btn-primary{display:none}.hero{padding:42px 0 90px}.hero h1{font-size:2.6rem}.hero-art{height:240px}.tabs{grid-template-columns:1fr 1fr}.search-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.auth-wrap{padding:22px 0}.auth-story{min-height:300px;padding:28px}.auth-story h1{font-size:2.35rem}.auth-card{padding:24px}.auth-form .row{grid-template-columns:1fr}}

/* Panel de espacios 13.3. Reutiliza Modern; reglas limitadas a esta pantalla. */
.pe-body{line-height:1.5}
.pe-body .site-header{background:#f4f4f9}
.pe-body .header-inner{min-height:76px}
.pe-body .brand{font-size:1.5rem}
.pe-body .pe-main{padding:34px 0 70px}
.pe-body .pe-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.pe-body .pe-heading .eyebrow{color:var(--muted);margin:0 0 8px}
.pe-body h1{font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.2;letter-spacing:-.03em;margin:0 0 10px;overflow-wrap:anywhere}
.pe-body .pe-heading p{margin:0;color:var(--muted)}
.pe-body .user-chip{font-size:.8rem;white-space:nowrap}
.pe-body .pe-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}
.pe-body .pe-nav{position:sticky;top:100px;display:grid;gap:6px;padding:12px 0}
.pe-body .pe-nav>.eyebrow{font-size:.65rem;color:var(--muted);padding:0 14px;margin:0 0 12px}
.pe-body .pe-nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:12px;font-size:.9rem;font-weight:700}
.pe-body .pe-nav a span{font-size:.7rem;color:var(--muted);font-variant-numeric:tabular-nums}
.pe-body .pe-nav a:hover{background:var(--ice)}
.pe-body .pe-nav a[aria-current]{background:var(--dark);color:var(--white)}
.pe-body .pe-nav a[aria-current] span{color:var(--yellow)}
.pe-body .pe-nav-note{color:var(--muted);font-size:.8rem;padding:10px 14px;max-width:200px}
.pe-body .pe-content{display:grid;gap:24px;min-width:0}
.pe-body .pe-section{border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(42,56,60,.04);padding:32px;scroll-margin-top:100px;min-width:0}
.pe-body .pe-section>.eyebrow{color:var(--muted);font-size:.68rem;margin:0 0 9px}
.pe-body .pe-section h2{font-size:1.5rem;letter-spacing:-.02em;line-height:1.25;margin:0 0 10px}
.pe-body .pe-section>p{font-size:.92rem;color:var(--muted);margin:0 0 26px;max-width:650px}
.pe-body h3{font-size:1rem;margin:30px 0 14px}
.pe-body .pe-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:26px 0 30px}
.pe-body .pe-summary a{display:flex;flex-direction:column;gap:8px;padding:18px 12px;background:var(--bg);border:1px solid var(--line);border-radius:14px;min-width:0}
.pe-body .pe-summary a:hover{border-color:var(--dark)}
.pe-body .pe-summary strong{font-size:1rem;overflow-wrap:anywhere}
.pe-body .pe-summary span{font-size:.72rem;color:var(--muted)}
.pe-body .pe-location{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;font-size:.9rem;margin:0 0 24px}
.pe-body .pe-location dt{color:var(--muted)}
.pe-body .pe-location dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.pe-body .pe-description{white-space:pre-wrap;overflow-wrap:anywhere}
.pe-body .pe-note{font-size:.8rem;color:var(--muted);line-height:1.6}
.pe-body .pe-info{padding:16px 18px;background:var(--ice);border-radius:12px;font-size:.85rem;margin-top:24px}
.pe-body .pe-fieldset{border:0;border-top:1px solid var(--line);padding:22px 0 0;margin:26px 0;min-width:0}
.pe-body .pe-fieldset legend{padding:0 12px 0 0;font-size:.95rem;font-weight:800}
.pe-body .pe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
.pe-body .field{min-width:0;gap:8px;font-size:.8rem;font-weight:700}
.pe-body .field label{font-size:.8rem}
.pe-body .field input,.pe-body .field select{width:100%;min-width:0;min-height:46px;font:inherit;font-weight:500;color:var(--dark);background:var(--white);border:1px solid var(--line);border-radius:10px;padding:11px 12px}
.pe-body input[type=checkbox]{width:20px;height:20px;margin:0;flex:0 0 20px;accent-color:var(--dark)}
.pe-body :is(input,select,button,a):focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.pe-body .pe-choice{display:flex;align-items:center;gap:12px;min-height:62px;border:1px solid var(--line);border-radius:12px;padding:16px;cursor:pointer;font-size:.87rem;line-height:1.4}
.pe-body .pe-choice:hover{border-color:var(--mist);background:var(--bg)}
.pe-body .pe-choice:has(input:checked){background:var(--ice);border-color:var(--dark)}
.pe-body .pe-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}
.pe-body .pe-equipment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:26px 0;align-items:start}
.pe-body .pe-equipment-row{border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}
.pe-body .pe-equipment-row.is-selected{border-color:var(--dark)}
.pe-body .pe-equipment-pick{display:flex;align-items:center;gap:13px;padding:18px;cursor:pointer;min-height:88px}
.pe-body .pe-equipment-pick:hover{background:var(--bg)}
.pe-body .is-selected .pe-equipment-pick{background:var(--ice)}
.pe-body .pe-equipment-pick strong{display:block;font-size:.92rem;line-height:1.4}
.pe-body .pe-equipment-pick small{display:block;font-size:.74rem;color:var(--muted);margin-top:4px}
.pe-body .pe-equipment-controls{display:grid;gap:16px;padding:18px;border-top:1px solid var(--line)}
.pe-body .pe-savebar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:28px}
.pe-body .pe-savebar span{font-size:.76rem;color:var(--muted)}
.pe-body .btn{font-family:inherit;line-height:1.4;min-height:44px}
.pe-body button:disabled{opacity:.55;cursor:wait}
.pe-body .pe-success{background:var(--ice);color:var(--dark);border:1px solid var(--mist)}
.pe-body .pe-upload-box{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--bg);border:1px dashed var(--mist);border-radius:16px;padding:30px 20px;margin:24px 0}
.pe-body .pe-upload-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--ice);border-radius:14px;font-size:1.6rem;margin-bottom:14px}
.pe-body .pe-upload-box label{font-weight:800;margin-bottom:18px}
.pe-body input[type=file]{font-family:inherit;font-size:.8rem;max-width:100%;min-width:0}
.pe-body input[type=file]::file-selector-button{border:1px solid var(--line);background:var(--white);padding:12px 16px;border-radius:10px;font:inherit;font-weight:700;margin-right:10px;cursor:pointer}
.pe-body .pe-upload-box p{font-size:.8rem;color:var(--muted);overflow-wrap:anywhere;max-width:100%;margin-bottom:0}
.pe-body .pe-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}
.pe-body .pe-photo{border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}
.pe-body .pe-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--ice)}
.pe-body .pe-photo-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px}
.pe-body .pe-photo-tools .btn{padding:8px 10px;font-size:.75rem}
.pe-body .pe-danger{color:var(--red)}
.pe-body #pe-upload-status{margin:15px 0;font-size:.85rem}
.pe-body progress{width:100%;accent-color:var(--dark)}
.pe-body [hidden]{display:none!important}
@media(max-width:960px){.pe-body .pe-layout{grid-template-columns:1fr;gap:18px}.pe-body .pe-nav{position:static;display:flex;overflow-x:auto;gap:6px;padding:4px 0 10px}.pe-body .pe-nav>.eyebrow,.pe-body .pe-nav-note{display:none}.pe-body .pe-nav a{white-space:nowrap;background:var(--white);border:1px solid var(--line)}.pe-body .pe-heading{margin-bottom:20px}}
@media(max-width:620px){.pe-body .pe-main{padding-top:24px}.pe-body .header-inner{gap:10px;min-height:68px}.pe-body .brand{font-size:1.25rem}.pe-body .brand-mark{width:32px;height:32px}.pe-body .pe-heading{align-items:flex-start;flex-direction:column;gap:12px}.pe-body .pe-section{padding:22px 18px;border-radius:16px}.pe-body .pe-section h2{font-size:1.3rem}.pe-body .pe-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-body .pe-grid,.pe-body .pe-options,.pe-body .pe-equipment,.pe-body .pe-gallery{grid-template-columns:1fr}.pe-body .pe-location{grid-template-columns:1fr;gap:4px}.pe-body .pe-location dd{margin-bottom:12px}.pe-body .pe-savebar{align-items:stretch;flex-direction:column}.pe-body .pe-nav a{font-size:.8rem;padding:11px}.pe-body .pe-nav a span{display:none}.pe-body .pe-upload-box{padding:24px 14px}}

@media(max-width:620px){.pe-body .pe-nav{flex-wrap:wrap;overflow:visible}.pe-body .pe-nav a{flex:1 1 auto;justify-content:center}}

/* Reglas de uso de espacios. */
.pe-body .pe-rule-list{display:grid;gap:22px;margin:26px 0}
.pe-body .pe-rule-card{border:1px solid var(--line);border-radius:14px;padding:20px}
.pe-body .pe-rule-card strong{font-size:1rem}
.pe-body .pe-rule-hint,.pe-body .field small{font-size:.8rem;font-weight:400;color:var(--muted);line-height:1.5}
.pe-body .pe-rule-card select{margin-top:8px}
.pe-body .pe-rule-condition{margin-top:18px}
.pe-body .field textarea{width:100%;min-width:0;resize:vertical;min-height:100px;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;font-weight:400;line-height:1.5;color:var(--dark);background:var(--white)}
.pe-body textarea:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.pe-body .pe-rules-summary{display:flex;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;font-size:.85rem}
.pe-body .pe-rules-summary:hover{background:var(--ice)}
@media(max-width:620px){.pe-body .pe-rule-card{padding:16px}}

/* Tarifas y horarios: estilos exclusivos del panel de espacios. */
.pe-body .pe-price-options,.pe-body .pe-week{display:grid;gap:14px;margin:20px 0}
.pe-body .pe-price-card{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.pe-body .pe-price-card.is-selected{border-color:var(--dark)}
.pe-body .pe-price-pick{display:flex;align-items:flex-start;gap:14px;padding:20px;cursor:pointer}
.pe-body .pe-price-pick input{margin-top:3px}
.pe-body .pe-price-pick strong{display:block;font-size:1rem}
.pe-body .pe-price-pick small{display:block;margin-top:6px;color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.6}
.pe-body .is-selected .pe-price-pick{background:var(--ice)}
.pe-body .pe-price-fields{padding:20px;border-top:1px solid var(--line)}
.pe-body .pe-day{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pe-body .pe-day summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:17px 18px;font-size:.85rem;list-style:none}
.pe-body .pe-day summary::-webkit-details-marker{display:none}
.pe-body .pe-day summary strong{min-width:85px}
.pe-body .pe-day summary [data-pe-day-summary]{color:var(--muted);flex:1;overflow-wrap:anywhere}
.pe-body .pe-day[open] summary{background:var(--bg);border-bottom:1px solid var(--line)}
.pe-body .pe-day-content{display:grid;gap:18px;padding:20px}
.pe-body .pe-fixed-times{margin-top:18px}
.pe-body [data-pe-overnight]{grid-column:1/-1;margin:0}
.pe-body .pe-simulator{margin-top:36px;padding:24px;border-radius:16px;background:var(--bg);border:1px solid var(--line)}
.pe-body .pe-simulator>.eyebrow{font-size:.7rem;color:var(--muted);margin:0}
.pe-body .pe-simulator h3{margin:10px 0}
.pe-body #pe-quote>button{margin-top:20px}
.pe-body #pe-quote-result{margin-top:20px;padding:20px;border-radius:12px;background:var(--white);border:1px solid var(--line);font-size:.85rem;overflow-wrap:anywhere}
.pe-body #pe-quote-result strong{display:block;font-size:1.3rem;margin:12px 0}
.pe-body #pe-quote-result p{margin:10px 0}
.pe-body .pe-rules-summary+.pe-rules-summary{margin-top:10px}
@media(max-width:620px){.pe-body .pe-price-pick,.pe-body .pe-price-fields,.pe-body .pe-day-content,.pe-body .pe-simulator{padding:16px}.pe-body .pe-day summary{flex-wrap:wrap;padding:15px}.pe-body .pe-day summary [data-pe-day-summary]{font-size:.76rem}}
/* Horarios compartidos y jornadas múltiples. */
.pe-body .pe-custom-fields{display:grid;gap:20px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.pe-body .pe-schedule{display:grid;gap:12px}
.pe-body .pe-jornada,.pe-body .pe-quote-selection{padding:18px;margin:14px 0;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.pe-body .pe-copy-days{display:grid;gap:16px;padding:20px;background:var(--bg);border-radius:12px}
.pe-body .pe-copy-days fieldset{border:0;padding:0;margin:0;min-width:0}
.pe-body .pe-copy-days legend{font-size:.85rem;font-weight:700;margin-bottom:12px}
.pe-body .pe-copy-targets{display:flex;flex-wrap:wrap;gap:14px}
.pe-body .pe-copy-targets label{display:flex;align-items:center;gap:6px;font-size:.8rem}
.pe-body .pe-inline-error{padding:14px;border:1px solid var(--red);background:#fff2f1;border-radius:10px;color:#9b2620;margin:14px 0}
.pe-body #pe-quote-period{margin-top:18px}
.pe-body [data-pe-jornada-warning]:not(:empty){padding:12px;background:#fff4ce;border-radius:8px;color:var(--dark)}
.pe-body h4{font-size:.95rem;margin:12px 0}

/* Catalogo y ficha publica de espacios. */
.ep-main{padding:34px 0 52px}
.ep-intro{margin-bottom:26px}
.ep-intro h1{font-size:clamp(2rem,4vw,3.2rem);margin:12px 0}
.ep-intro p{color:var(--muted);line-height:1.6}
.ep-categories{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.ep-categories a{padding:10px 16px;border-radius:24px;border:1px solid var(--line);background:white;font-weight:700}
.ep-categories a[aria-current=page]{background:var(--dark);color:white}
.ep-filters{background:white;padding:22px;border-radius:18px;border:1px solid var(--line);display:grid;grid-template-columns:1.4fr 1fr 1fr .8fr auto;gap:14px;align-items:end;margin:22px 0}
.ep-filters input,.ep-filters select{width:100%;min-width:0;font:inherit}
.ep-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ep-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white;display:flex;flex-direction:column}
.ep-cover{aspect-ratio:16/10;background:var(--ice);display:grid;place-items:center;overflow:hidden}
.ep-cover img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.ep-cover:hover img{transform:scale(1.025)}
.ep-card-body{padding:22px;display:flex;flex-direction:column;flex:1;gap:10px}
.ep-card h2{font-size:1.25rem;line-height:1.3;margin:0;overflow-wrap:anywhere}
.ep-card p{margin:0;color:var(--muted)}
.ep-card .eyebrow{font-size:.68rem}
.ep-prices{margin:6px 0 12px;font-size:.92rem;line-height:1.8}
.ep-card .btn{margin-top:auto}
.ep-empty{padding:40px;background:white;border:1px solid var(--line);border-radius:20px;line-height:1.6}
.ep-pagination{display:flex;gap:16px;align-items:center;justify-content:center;margin:28px 0}
.ep-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin:24px 0}
.ep-gallery a{display:block;aspect-ratio:4/3;background:var(--ice);overflow:hidden;border-radius:14px}
.ep-gallery img{width:100%;height:100%;object-fit:cover}
.ep-gallery a:first-child{grid-row:span 2;aspect-ratio:auto;min-height:320px}
.ep-detail-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:28px;align-items:start}
.ep-box{padding:28px;background:white;border:1px solid var(--line);border-radius:20px;margin-bottom:20px}
.ep-box h2{margin:0 0 18px}
.ep-copy{white-space:pre-line;line-height:1.7;overflow-wrap:anywhere}
.ep-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
.ep-facts div{border-bottom:1px solid var(--line);padding:10px 0}
.ep-facts dt{color:var(--muted);font-size:.9rem}
.ep-facts dd{font-weight:700;margin:5px 0}
.ep-list{padding-left:22px;line-height:1.9}
.ep-note{color:var(--muted);font-size:.92rem;line-height:1.6}
.ep-rate{padding:14px 0;border-bottom:1px solid var(--line)}
.ep-rate strong{display:block;font-size:1.3rem}
.ep-box details{padding:12px 0;border-top:1px solid var(--line)}
.ep-box summary{cursor:pointer;font-weight:700}
.ep-nav-link:focus-visible, .ep-public a:focus-visible,.ep-public button:focus-visible{outline:3px solid #397783;outline-offset:3px}
.ep-home-tabs a{text-align:center;display:block}
.ep-home-featured{grid-template-columns:repeat(4,minmax(0,1fr))}
.ep-main select{background:white}
.ep-notice{padding:16px;background:var(--ice);border-radius:12px;line-height:1.6}
.ep-hometext{margin:10px 0 0;color:var(--muted);font-size:.9rem}
@media(max-width:1000px){.ep-filters{grid-template-columns:1fr 1fr}
.ep-grid,.ep-home-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
.ep-detail-layout{grid-template-columns:1fr}
.ep-gallery{grid-template-columns:2fr 1fr}
}
@media(max-width:620px){.ep-grid,.ep-home-featured,.ep-filters,.ep-facts{grid-template-columns:1fr}
.ep-gallery{grid-template-columns:1fr 1fr}
.ep-gallery a:first-child{grid-column:span 2;grid-row:auto;min-height:0;aspect-ratio:4/3}
.ep-box{padding:20px}
.ep-categories{gap:6px}
.ep-categories a{padding:9px 12px;font-size:.9rem}
.ep-main{padding-top:20px}
.ep-public .header-inner{gap:10px}
.ep-public .user-chip{max-width:100px;overflow:hidden;text-overflow:ellipsis}
.ep-public .actions .btn-outline{padding:10px;font-size:.85rem}
}


/* Busqueda publica de espacios — revision 27. */
.ep-search-page .ep-search-hero{background:linear-gradient(115deg,var(--dark),#43676d);color:var(--white);padding:52px 0 40px}
.ep-search-page .ep-intro{max-width:760px;margin:0 0 26px}
.ep-search-page .ep-intro .eyebrow{color:var(--mist);font-size:.72rem;letter-spacing:.16em}
.ep-search-page .ep-intro h1{font-size:clamp(2.2rem,4vw,3.3rem);letter-spacing:-.04em;line-height:1.1;margin:12px 0 16px}
.ep-search-page .ep-intro p{color:var(--ice);font-size:1rem}
.ep-search-page .ep-categories{gap:8px;margin:0 0 22px}
.ep-search-page .ep-categories a{border:1px solid #ffffff40;background:transparent;color:var(--white);font-size:.85rem;padding:10px 16px}
.ep-search-page .ep-categories a[aria-current=page]{background:var(--white);border-color:var(--white);color:var(--dark)}
.ep-search-page .ep-categories a:hover{border-color:var(--white)}
.ep-search-form{background:var(--white);color:var(--dark);border-radius:20px;padding:22px 24px;box-shadow:var(--shadow)}
.ep-search-primary{display:grid;grid-template-columns:1.25fr 1.15fr .8fr auto;gap:18px;align-items:end}
.ep-search-form .field{min-width:0;font-size:.78rem;font-weight:700;gap:9px}
.ep-search-form input,.ep-search-form select{width:100%;min-width:0;height:48px;background:var(--bg);color:var(--dark);font:inherit;font-size:.9rem;font-weight:400;padding:12px;border-radius:10px;border:1px solid var(--line)}
.ep-search-primary>.btn{height:48px;gap:18px;white-space:nowrap;font:inherit;font-size:.9rem;font-weight:800}
.ep-search-more{margin-top:16px;font-size:.8rem;color:var(--muted)}
.ep-search-more summary{cursor:pointer;width:fit-content;padding:4px 0}
.ep-search-more .field{margin-top:12px;max-width:480px}
.ep-search-page .ep-results{padding-top:34px;padding-bottom:60px;min-height:280px}
.ep-search-welcome{text-align:center;padding:36px 18px 16px;max-width:650px;margin:auto}
.ep-search-welcome .eyebrow{font-size:.7rem;color:var(--muted)}
.ep-search-welcome h2{font-size:1.5rem;letter-spacing:-.025em;margin:12px 0}
.ep-search-welcome p{font-size:.95rem;color:var(--muted);line-height:1.8;margin:0}
.ep-result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}
.ep-result-heading .eyebrow{color:var(--muted);font-size:.68rem;margin:0 0 8px}
.ep-result-heading h2{font-size:1.35rem;margin:0;letter-spacing:-.02em}
.ep-result-heading>a{font-size:.85rem;text-decoration:underline;text-underline-offset:4px}
.ep-search-page .ep-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.ep-search-page .ep-card{min-width:0;border:1px solid var(--line);border-radius:18px;box-shadow:0 4px 18px #2a383c06}
.ep-search-page .ep-cover{display:block;width:100%;aspect-ratio:8/5;overflow:hidden;background:var(--ice)}
.ep-search-page .ep-cover img{display:block;width:100%;height:100%;object-fit:cover}
.ep-search-page .ep-card-body{padding:18px;gap:8px}
.ep-search-page .ep-card h2{font-size:1.1rem;line-height:1.4;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ep-search-page .ep-card-location{font-size:.78rem}
.ep-search-page .ep-card-capacity{font-size:.8rem;line-height:1.5}
.ep-search-page .ep-card-modes{font-size:.72rem;line-height:1.6}
.ep-search-page .ep-card-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:14px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.ep-search-page .ep-card-price{font-size:.8rem;color:var(--muted);line-height:1.5}
.ep-search-page .ep-card-price strong{font-size:.96rem;font-weight:650;color:var(--dark)}
.ep-search-page .ep-card-link{font-size:.8rem;font-weight:700;white-space:nowrap}
.ep-search-page .ep-note{font-size:.78rem;margin-top:22px}
.ep-search-page .ep-empty{padding:32px;border-radius:18px}
.ep-search-page .ep-empty h2{font-size:1.2rem}
.ep-search-page .site-footer{margin-top:0}
@media(max-width:1000px){.ep-search-primary{grid-template-columns:1fr 1fr}.ep-search-page .ep-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ep-search-page .ep-search-hero{padding:30px 0 24px}.ep-search-page .ep-intro h1{font-size:2.1rem}.ep-search-page .ep-intro p{font-size:.9rem}.ep-search-page .ep-categories a{padding:9px 12px;font-size:.75rem}.ep-search-form{padding:18px;border-radius:16px}.ep-search-primary{grid-template-columns:1fr;gap:16px}.ep-search-page .ep-grid{grid-template-columns:1fr}.ep-search-page .ep-results{padding-top:28px;padding-bottom:36px}.ep-result-heading{align-items:flex-start}.ep-result-heading h2{font-size:1.15rem}.ep-result-heading>a{font-size:.75rem}.ep-search-welcome{padding:18px 8px}.ep-search-welcome h2{font-size:1.3rem}}

/* Fechas y horas del buscador — revision 28. */
.ep-search-page .ep-search-primary{grid-template-columns:1.25fr 1.15fr .8fr}
.ep-date-fields{display:grid;grid-template-columns:1.25fr .8fr 1.25fr .8fr;gap:18px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
.ep-date-fields [hidden]{display:none!important}
.ep-date-fields .field{min-width:0;font-size:.78rem;font-weight:700}
.ep-date-fields input{min-width:0;width:100%;font:inherit;height:48px;color:var(--dark);background:var(--bg)}
.ep-date-hint{font-size:.8rem;color:var(--muted);line-height:1.6;margin:12px 0}
.ep-search-actions{display:flex;justify-content:flex-end;margin-top:14px}
.ep-search-actions .btn{min-height:46px;gap:20px}
.ep-home-dates{grid-column:1/-1}
@media(max-width:700px){.ep-search-page .ep-search-primary{grid-template-columns:1fr}.ep-date-fields{grid-template-columns:1fr 1fr;gap:14px}.ep-search-actions .btn{width:100%}}

.ep-search-validation{padding:18px 20px;background:var(--ice);border:1px solid var(--line);border-radius:14px;line-height:1.5}
.ep-card-schedule{padding:12px 0;border-top:1px solid var(--line);font-size:.75rem;line-height:1.7}
.ep-card-schedule>strong{display:block;color:var(--dark);font-size:.78rem}
.ep-card-schedule small{display:block;color:var(--muted);font-size:.72rem}
.ep-card-schedule details{margin-top:8px}
.ep-card-schedule summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ep-session-list{list-style:none;margin:8px 0;padding:0;font-size:.76rem;line-height:1.6}
.ep-session-list li{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--line)}
.ep-session-list strong{font-weight:600}


/* Búsqueda: elegir horario y después los días — revisión 35. */
.ep-booking-time{margin-top:22px;padding-top:24px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:20px 32px;color:var(--dark)}
.ep-booking-time [hidden]{display:none!important}
.ep-booking-time h3{font-size:.95rem;font-weight:700;line-height:1.5;margin:0 0 16px;letter-spacing:-.01em}
.ep-time-step,.ep-days-step{min-width:0}
.ep-days-step{border-left:1px solid var(--line);padding-left:32px}
.ep-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ep-booking-time .field{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-size:.78rem;font-weight:700;min-width:0}
.ep-booking-time input{width:100%;min-width:0;box-sizing:border-box;height:48px;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:12px;color:var(--dark);font:inherit;font-size:.9rem;font-weight:500}
.ep-booking-time input:focus-visible,.ep-day-option:focus-visible{outline:2px solid var(--dark);outline-offset:3px}
.ep-day-choice{display:inline-flex;flex-wrap:wrap;gap:4px;background:var(--ice);padding:4px;border-radius:12px;margin:0 0 16px;max-width:100%}
.ep-day-option{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:10px 14px;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer;min-height:42px}
.ep-day-option[aria-pressed=true]{background:var(--dark);color:var(--white);box-shadow:0 2px 6px #2a383c15}
.ep-booking-summary{grid-column:1/-1;margin:0;padding:16px 18px;background:var(--ice);border:1px solid var(--line);border-radius:12px;font-size:.85rem;line-height:1.7;color:var(--dark)}
.ep-time-note{font-size:.77rem;line-height:1.6;color:var(--muted);margin:10px 0 0}
.ep-booking-time>[data-mode-note]{grid-column:1/-1;margin:0}
.ep-booking-time[data-continuous=true] .ep-days-step{grid-column:1;grid-row:1;border:0;padding:0}
.ep-booking-time[data-continuous=true] .ep-time-step{grid-column:2;grid-row:1}
@media(max-width:700px){.ep-booking-time{grid-template-columns:1fr;gap:22px;padding-top:20px}.ep-days-step{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.ep-booking-time[data-continuous=true] .ep-days-step,.ep-booking-time[data-continuous=true] .ep-time-step{grid-column:1;grid-row:auto}.ep-booking-time[data-continuous=true] .ep-days-step{order:-1}.ep-day-option{padding:10px 12px}.ep-booking-time h3{font-size:.9rem}.ep-booking-summary{padding:14px}}

/* Fotos de espacios: ampliación dentro del detalle — revisión 36. */
.ep-gallery .ep-photo-open{padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--ice);cursor:zoom-in;display:block;width:100%;min-width:0}
.ep-gallery .ep-photo-open:first-child{grid-column:1/-1}
.ep-gallery .ep-photo-open img{display:block;width:100%;height:100%;object-fit:cover}
.ep-photo-open:focus-visible{outline:3px solid var(--dark);outline-offset:3px}
.ep-photo-dialog{box-sizing:border-box;width:min(1080px,calc(100vw - 32px));max-width:none;max-height:92vh;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--dark);box-shadow:0 20px 80px #0004}
.ep-photo-dialog::backdrop{background:#142327aa}
.ep-photo-toolbar,.ep-photo-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ep-photo-toolbar{margin-bottom:16px;font-weight:700}
.ep-photo-dialog button{border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--dark);font:inherit;font-size:.85rem;padding:10px 14px;cursor:pointer;min-height:44px}
.ep-photo-dialog button:hover{background:var(--ice)}
.ep-photo-dialog button:focus-visible{outline:2px solid var(--dark);outline-offset:3px}
.ep-photo-stage{position:relative;background:var(--bg);border-radius:12px;overflow:hidden;height:min(65vh,680px);display:flex;align-items:center;justify-content:center}
.ep-photo-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.ep-photo-stage p{position:absolute;bottom:10px;left:12px;right:12px;margin:0;text-align:center;font-size:.8rem;background:var(--white);border-radius:8px;padding:8px}
.ep-photo-stage p:empty{display:none}
.ep-photo-controls{margin-top:16px}
.ep-photo-dialog [hidden]{display:none!important}
@media(max-width:620px){.ep-photo-dialog{padding:12px;border-radius:16px;width:calc(100vw - 20px)}.ep-photo-stage{height:55vh}.ep-photo-dialog button{padding:10px}.ep-photo-toolbar{font-size:.85rem}}
.ep-gallery .ep-photo-open{aspect-ratio:4/3}
.ep-gallery .ep-photo-open:first-child{aspect-ratio:16/9;max-height:440px}

/* Campos nativos adaptables, incluidos Safari/iOS — revisión 37. */
.ep-booking-time .ep-time-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.ep-booking-time .ep-time-pair>.field{min-width:0;max-width:100%}
.ep-booking-time input[type="date"],.ep-booking-time input[type="time"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;-webkit-appearance:none;appearance:none;min-height:48px;height:auto;line-height:1.5}
.ep-booking-time input::-webkit-date-and-time-value{min-width:0;text-align:left}
.ep-booking-time input::-webkit-datetime-edit{min-width:0;padding:0}
.ep-booking-time input::-webkit-calendar-picker-indicator{flex-shrink:0;margin-left:4px}
.ep-booking-time .ep-day-choice{display:flex;width:fit-content;max-width:100%;flex-wrap:wrap}
.ep-booking-time .ep-day-option{min-width:0;white-space:normal;overflow-wrap:break-word;flex:1 1 auto}
.ep-booking-time .ep-booking-summary{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.ep-booking-time input[type="date"],.ep-booking-time input[type="time"]{font-size:1rem;font-size:max(16px,1rem)}.ep-booking-time .ep-time-pair{gap:16px}.ep-booking-time .ep-day-option{font-size:.85rem}}

/* Resumen previo de espacios — revisión 38. */
.er-main{padding-bottom:64px}.er-back{display:inline-block;margin-bottom:24px}.er-heading{margin-bottom:32px}.er-heading h1{font-size:clamp(2rem,4vw,3rem);line-height:1.12;margin:10px 0 16px}.er-heading p{color:var(--muted)}
.er-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:28px;align-items:start}.er-content,.er-aside{min-width:0}.er-property{display:flex;align-items:center;gap:20px}.er-property img{width:140px;height:110px;object-fit:cover;border-radius:12px;flex-shrink:0}.er-property h2{font-size:1.2rem;margin:10px 0}.er-property p{margin:0;color:var(--muted)}.er-badge{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.er-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.er-section-title h2{margin:0}.er-section-title a{font-size:.88rem;text-decoration:underline}.er-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px 0;margin-top:10px;border-bottom:1px solid var(--line)}.er-overview span,.er-overview strong{display:block}.er-overview span{font-size:.78rem;color:var(--muted);margin-bottom:6px}.er-overview strong{font-size:.95rem}.er-explain{color:var(--muted);font-size:.88rem;line-height:1.65}.er-periods{list-style:none;padding:0;margin:20px 0}.er-periods li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:14px;align-items:start;border-top:1px solid var(--line);padding:20px 0}.er-number{display:grid;place-items:center;background:var(--ice);border-radius:50%;width:28px;height:28px;font-size:.8rem;font-weight:700}.er-period-time{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;font-size:.9rem}.er-period-time span{color:var(--muted)}.er-period-price{font-size:.9rem;white-space:nowrap}.er-expect{padding:4px 12px;color:var(--muted);font-size:.9rem;line-height:1.7}.er-expect h2{color:var(--dark);font-size:1rem}.er-expect a{text-decoration:underline}
.er-price{box-shadow:0 12px 36px rgba(42,56,60,.06)}.er-price h2{margin:8px 0}.er-price .eyebrow{font-size:.7rem;color:var(--muted)}.er-costs{margin:20px 0}.er-costs>div{display:flex;justify-content:space-between;gap:16px;margin:16px 0;font-size:.9rem}.er-costs dd{margin:0;text-align:right;white-space:nowrap;font-weight:600}.er-insurance{display:flex;gap:12px;align-items:flex-start;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px;cursor:pointer}.er-insurance input{flex:0 0 20px;width:20px;height:20px;margin:2px 0;accent-color:var(--dark)}.er-insurance strong,.er-insurance span span,.er-insurance small{display:block}.er-insurance strong{font-size:.9rem}.er-insurance span span{font-size:.8rem;margin-top:8px}.er-insurance small{font-size:.75rem;line-height:1.5;color:var(--muted);margin-top:8px}.er-total{border-top:1px solid var(--line);padding-top:22px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:baseline;font-weight:700}.er-total strong{font-size:1.55rem;letter-spacing:-.04em}.er-status{background:var(--ice);border-radius:12px;padding:16px;margin-top:24px;font-size:.85rem;line-height:1.6}.er-status p{margin:8px 0 0;color:var(--muted)}.er-review{display:flex;margin-bottom:12px}.er-main *{box-sizing:border-box}.er-property>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:960px){.er-layout{grid-template-columns:minmax(0,1fr)}.er-aside{width:100%}.er-property img{width:120px;height:100px}}
@media(max-width:480px){.er-heading{margin-bottom:24px}.er-layout{gap:8px}.er-main .ep-box{padding:20px}.er-property{gap:14px}.er-property img{width:88px;height:88px}.er-property h2{font-size:1rem;line-height:1.4}.er-property p{font-size:.8rem}.er-overview{grid-template-columns:1fr;gap:14px}.er-overview>div{display:flex;justify-content:space-between;gap:14px}.er-periods li{grid-template-columns:28px minmax(0,1fr);gap:12px}.er-period-price{grid-column:2}.er-period-time{grid-template-columns:1fr;gap:4px}.er-period-time strong+span{margin-top:6px}.er-costs>div{flex-wrap:wrap;gap:6px}.er-total strong{font-size:1.5rem}}
.er-price [data-er-recalculate][hidden]{display:none}
/* Reserva temporal de espacios — revisión 40. */
.er-continue{display:flex;width:100%;justify-content:center;margin-top:24px}.er-release{margin-top:24px}.er-release .btn{width:100%;justify-content:center}.er-hold{display:flex;align-items:center;gap:28px;background:var(--ice)}.er-hold h2{margin:0 0 10px}.er-hold p{margin:0;line-height:1.65}.er-clock{font-size:2.6rem;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}.er-hold .eyebrow{font-size:.7rem;margin-bottom:8px}.er-hold>div{min-width:0}
@media(max-width:600px){.er-hold{align-items:flex-start;flex-direction:column;gap:16px}.er-clock{font-size:2.2rem}}
.er-hold>div:first-child{flex:0 0 auto}.er-hold>div:last-child{flex:1 1 0}.er-heading .eyebrow{overflow-wrap:anywhere}

/* Pago simulado y confirmación — revisión 41. */
.er-payment-actions{display:grid;gap:12px;margin-top:24px}.er-payment-actions .btn{width:100%;justify-content:center;white-space:normal;min-height:48px}.er-confirmed{display:flex;align-items:flex-start;gap:20px;background:var(--ice);margin-bottom:28px}.er-confirmed h2{margin:0 0 10px}.er-confirmed p{line-height:1.65}.er-confirmed>div{min-width:0}.er-confirm-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:var(--dark);color:white;font-size:1.5rem}.er-reservation-code{overflow-wrap:anywhere}.er-reservation-code strong{display:block;margin-top:6px;letter-spacing:.04em}
@media(max-width:480px){.er-confirmed{flex-direction:column;gap:14px}.er-confirm-icon{flex-basis:42px;width:42px}}
