:root{
  --azul:#002d62;--azul2:#0057c2;--azul3:#0b6bff;--fondo:#f4f8fd;--texto:#061b3a;--muted:#60708f;--linea:#dce8f6;--card:#ffffff;--ok:#0f9f6e;--warn:#d99000;--bad:#c73535;
}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at top left,#eaf5ff 0,#f6f9fe 38%,#eef4fb 100%);color:var(--texto)}a{color:inherit;text-decoration:none}img{max-width:100%}input,select,textarea,button{font-family:inherit}button,.btn{border:0;background:linear-gradient(135deg,var(--azul2),var(--azul3));color:white;padding:12px 18px;border-radius:14px;font-weight:800;cursor:pointer;box-shadow:0 12px 28px rgba(0,87,194,.22);display:inline-flex;gap:8px;align-items:center;justify-content:center}button:hover,.btn:hover{transform:translateY(-1px);filter:saturate(1.08)}label{display:block;font-weight:700;color:#17335d;font-size:14px}input,select,textarea{width:100%;border:1px solid var(--linea);background:#fff;border-radius:14px;padding:12px 14px;color:#203858;outline:none;margin-top:7px}input:focus,select:focus,textarea:focus{border-color:#6aa9ff;box-shadow:0 0 0 4px rgba(11,107,255,.10)}textarea{min-height:95px;resize:vertical}table{width:100%;border-collapse:separate;border-spacing:0 10px}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#60708f;text-align:left;padding:0 14px}td{background:#fff;padding:14px;border-top:1px solid #edf3fb;border-bottom:1px solid #edf3fb}td:first-child{border-left:1px solid #edf3fb;border-radius:14px 0 0 14px}td:last-child{border-right:1px solid #edf3fb;border-radius:0 14px 14px 0}.muted{color:var(--muted)}.alert{padding:13px 16px;border-radius:14px;margin:14px 0;font-weight:700}.alert.ok{background:#eafaf4;color:#08704d}.alert.bad{background:#fff0f0;color:#9b2222}.badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eaf3ff;color:#0057c2;font-weight:800;font-size:12px}.card{background:rgba(255,255,255,.92);border:1px solid rgba(219,232,246,.95);border-radius:24px;padding:24px;box-shadow:0 16px 42px rgba(15,38,77,.08);backdrop-filter:blur(10px)}.card h2{margin:0 0 18px}.actions{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:minmax(300px,430px) 1fr;gap:22px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid2form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 20px}.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.checks label{font-weight:600;color:#445672}.sidebar{position:fixed;left:0;top:0;bottom:0;width:282px;background:linear-gradient(180deg,#001a3f,#003574);color:white;padding:20px 16px;box-shadow:12px 0 40px rgba(0,30,80,.18);z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:10px 8px 24px}.brand img{width:132px;background:white;border-radius:14px;padding:6px}.brand b{display:block}.brand span{font-size:12px;color:#bdd7ff}nav{display:grid;gap:8px}nav a{padding:13px 14px;border-radius:16px;color:#d8e9ff;font-weight:800}nav a:hover{background:rgba(255,255,255,.13);color:#fff}.logout{position:absolute;bottom:18px;left:16px;right:16px;background:rgba(255,255,255,.10);padding:13px;border-radius:16px;text-align:center;font-weight:800}.main{margin-left:282px;min-height:100vh;padding:28px}.top{height:auto;min-height:86px;background:rgba(255,255,255,.78);border:1px solid rgba(219,232,246,.95);border-radius:26px;padding:18px 22px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 36px rgba(15,38,77,.06);backdrop-filter:blur(12px)}.top h1{margin:0;font-size:28px}.top p{margin:5px 0 0;color:var(--muted)}.user{background:#edf6ff;padding:10px 14px;border-radius:999px;font-weight:900;color:#0057c2}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.kpis div{background:#fff;border:1px solid #dfeafa;border-radius:22px;padding:22px;box-shadow:0 12px 36px rgba(15,38,77,.07)}.kpis b{display:block;font-size:34px;color:#0057c2}.kpis span{color:#60708f;font-weight:800}.calendar-list{display:grid;gap:12px}.event{padding:16px;border-radius:18px;background:linear-gradient(135deg,#eef6ff,#fff);border:1px solid #dce8f6}.event b,.event span{display:block}.event span{margin-top:6px;color:#60708f}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(440px,100%);background:#fff;border:1px solid #dce8f6;border-radius:28px;padding:32px;box-shadow:0 24px 60px rgba(0,35,80,.14)}.login-card img{width:220px;margin-bottom:18px}.login-card h1{margin:0}.login-card p{color:#60708f;margin-top:8px}.login-card button{width:100%;margin-top:16px}.login-card a{display:block;text-align:center;margin-top:16px;color:#0057c2;font-weight:800}.public-page{min-height:100vh}.public-top{height:78px;background:linear-gradient(90deg,#001b44,#003d82);display:flex;align-items:center;justify-content:space-between;padding:0 28px;color:white;box-shadow:0 10px 34px rgba(0,27,68,.24)}.public-top img{height:52px;background:#fff;border-radius:14px;padding:5px}.public-top b{display:block;font-size:18px}.public-top span{color:#bdd7ff}.public-top a{background:#fff;color:#0057c2;padding:11px 16px;border-radius:999px;font-weight:900}.public-shell{max-width:1500px;margin:0 auto;padding:28px;display:grid;grid-template-columns:420px 1fr;gap:24px}.info-panel{display:grid;gap:18px}.info-card{background:linear-gradient(145deg,#ffffff,#eef7ff);border:1px solid #dbeafa;border-radius:28px;padding:28px;box-shadow:0 16px 42px rgba(15,38,77,.08)}.info-card h2{font-size:34px;margin:0 0 10px}.mini-grid{display:grid;gap:14px}.mini-grid div{background:#fff;border:1px solid #dce8f6;border-radius:22px;padding:20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 10px 28px rgba(15,38,77,.05)}.mini-grid b{font-size:17px}.mini-grid span{color:#60708f}.support{background:#001b44;color:white;border-radius:22px;padding:20px;font-weight:700}.public-card{background:#fff;border:1px solid #dce8f6;border-radius:28px;padding:30px;box-shadow:0 18px 50px rgba(15,38,77,.10)}.public-card h1{margin:0 0 18px;font-size:32px}.public-card button{margin-top:18px}.feature-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.feature-strip div{background:#eef6ff;border:1px solid #cfe4ff;color:#0057c2;border-radius:999px;padding:12px 16px;font-weight:900;text-align:center}@media(max-width:1050px){.sidebar{position:relative;width:auto}.main{margin-left:0}.public-shell,.grid2{grid-template-columns:1fr}.kpis,.grid3{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr 1fr}.public-top{height:auto;padding:14px;gap:10px;flex-wrap:wrap}}@media(max-width:680px){.main,.public-shell{padding:14px}.kpis,.grid3,.grid2form,.filters,.feature-strip{grid-template-columns:1fr}.public-top img{height:44px}.card,.public-card,.info-card{padding:18px}.top{align-items:flex-start;flex-direction:column}.sidebar{padding:14px}.brand{padding-bottom:12px}}


/* FASE UI SIMPLE + DISPONIBILIDAD */
.simple-booking{background:#f5f8fc;color:#061b3a}.simple-top{height:74px;background:#fff;color:#061b3a;border-bottom:1px solid #e5eef8;box-shadow:0 8px 24px rgba(15,38,77,.06)}.simple-top img{height:48px;background:transparent;padding:0}.simple-top span{color:#60708f}.simple-top a{background:#0057c2;color:#fff;padding:11px 18px;border-radius:14px}.simple-shell{max-width:1480px;margin:0 auto;padding:26px;display:grid;grid-template-columns:1fr 500px;gap:22px}.availability-card,.request-card{background:#fff;border:1px solid #e3edf9;border-radius:24px;padding:24px;box-shadow:0 12px 34px rgba(15,38,77,.07)}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.section-head h1,.section-head h2{margin:0;font-size:30px;letter-spacing:-.03em}.section-head h2{font-size:26px}.section-head p{margin:7px 0 0;color:#60708f}.date-filter{width:220px;font-size:13px}.status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.status-summary div{background:#f8fbff;border:1px solid #e1ecfa;border-radius:18px;padding:16px}.status-summary b{display:block;font-size:28px;color:#0057c2}.status-summary span{color:#60708f;font-weight:800}.status-summary .ok b{color:#0f9f6e}.status-summary .warn b{color:#d99000}.room-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.room-status{display:block;text-align:left;background:#fff;border:1px solid #e3edf9;border-radius:20px;padding:18px;color:#061b3a;box-shadow:none;transition:.18s}.room-status:hover,.room-status.selected{transform:none;filter:none;border-color:#0057c2;box-shadow:0 10px 26px rgba(0,87,194,.12)}.room-status.free{background:linear-gradient(180deg,#fff,#f6fff9)}.room-status.busy{background:linear-gradient(180deg,#fff,#fffaf0)}.room-main{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.room-main strong{font-size:18px}.room-main span{display:block;color:#60708f;font-size:13px;font-weight:700;margin-top:5px}.room-status em{display:inline-flex;margin-top:12px;border-radius:999px;padding:7px 10px;font-style:normal;font-size:12px;font-weight:900}.room-status.free em{background:#eafaf4;color:#08704d}.room-status.busy em{background:#fff4d8;color:#9a6400}.booking-times{display:grid;gap:7px;margin-top:12px}.booking-times small{background:rgba(255,255,255,.85);border:1px solid #edf3fb;border-radius:12px;padding:8px 10px;color:#405575;font-weight:700}.request-card{position:sticky;top:18px}.request-card button{width:100%;margin-top:14px}.clean-form{gap:13px}.clean-form label{font-size:13px}.clean-form input,.clean-form select,.request-card textarea,.date-filter input{border-radius:13px;padding:11px 12px}.request-card textarea{min-height:80px}.compact{margin-bottom:12px}@media(max-width:1100px){.simple-shell{grid-template-columns:1fr}.request-card{position:relative;top:auto}.room-status-grid{grid-template-columns:1fr}}@media(max-width:720px){.simple-shell{padding:14px}.simple-top{height:auto;padding:12px;gap:12px}.simple-top div{order:3;width:100%}.status-summary{grid-template-columns:repeat(2,1fr)}.section-head{display:block}.date-filter{width:100%;margin-top:14px}.availability-card,.request-card{padding:18px;border-radius:20px}}

/* FASE SMART BOOKING PRO */
.smart-booking{background:#f6f8fb;color:#061b3a}
.smart-top{height:72px;background:#fff;border-bottom:1px solid #e6edf6;display:flex;align-items:center;justify-content:space-between;padding:0 26px;box-shadow:0 8px 26px rgba(15,38,77,.05)}
.smart-brand{display:flex;align-items:center;gap:18px}.smart-brand img{height:46px}.smart-brand b{display:block;font-size:18px}.smart-brand span{display:block;color:#6a7893;margin-top:2px}.smart-top a{background:#0057c2;color:#fff;border-radius:999px;padding:11px 18px;font-weight:900}
.smart-shell{max-width:1480px;margin:0 auto;padding:24px}.smart-hero{background:linear-gradient(135deg,#082b5f,#0057c2);color:#fff;border-radius:28px;padding:28px;display:flex;align-items:end;justify-content:space-between;gap:22px;box-shadow:0 18px 46px rgba(0,45,98,.20)}.smart-hero h1{margin:8px 0 8px;font-size:34px;line-height:1.08;max-width:750px}.smart-hero p{margin:0;color:#dcecff}.eyebrow{display:inline-flex;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px}.smart-date{width:240px;color:#eaf3ff}.smart-date input{background:#fff;border:0}
.smart-alert{max-width:1480px;margin:18px 0 0}.smart-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.smart-summary div{background:#fff;border:1px solid #e4edf8;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,38,77,.05)}.smart-summary b{display:block;font-size:30px;color:#0057c2}.smart-summary span{display:block;color:#667694;font-weight:800;margin-top:4px}
.smart-layout{display:grid;grid-template-columns:1fr 450px;gap:20px}.smart-left,.smart-form,.smart-helper{background:#fff;border:1px solid #e4edf8;border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(15,38,77,.06)}.panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.panel-title h2{margin:0;font-size:24px}.panel-title p{margin:5px 0 0;color:#667694}.smart-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.smart-room{background:#fff;border:1px solid #e4edf8;color:#061b3a;text-align:left;border-radius:20px;padding:18px;box-shadow:none;display:block}.smart-room:hover,.smart-room.selected{transform:none;filter:none;border-color:#0057c2;box-shadow:0 12px 30px rgba(0,87,194,.12)}.smart-room.free{background:linear-gradient(180deg,#fff,#f5fff9)}.smart-room.busy{background:linear-gradient(180deg,#fff,#fffaf0)}.room-topline{display:flex;justify-content:space-between;gap:12px}.room-topline strong{font-size:18px}.room-topline span{display:block;margin-top:4px;color:#667694;font-size:13px;font-weight:800}.room-topline em{font-style:normal;background:#eef5ff;color:#0057c2;border-radius:999px;padding:7px 10px;font-weight:900;height:max-content}.progress{height:8px;background:#edf3fb;border-radius:999px;margin:14px 0;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,#14b879,#f0b429,#e34b4b);border-radius:999px}.room-state{font-weight:900;color:#334766}.dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px}.dot.ok{background:#0f9f6e}.dot.warn{background:#d99000}.slot-preview{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.slot-preview small{background:#fff;border:1px solid #e4edf8;border-radius:999px;padding:7px 9px;color:#3b506f;font-weight:900}.busy-list{display:grid;gap:7px;margin-top:12px}.busy-list span{background:rgba(255,255,255,.78);border:1px solid #eef2f8;border-radius:12px;padding:8px 10px;color:#53637d;font-weight:800;font-size:12px}
.smart-right{display:grid;gap:18px;align-content:start}.smart-form{position:sticky;top:18px}.smart-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.smart-form label{font-size:13px}.smart-form input,.smart-form select,.smart-form textarea{border-radius:13px;padding:11px 12px}.smart-form textarea{min-height:76px}.smart-form button{width:100%;margin-top:13px}.capacity-notice{margin:12px 0 0;padding:11px 13px;background:#f8fbff;border:1px solid #e4edf8;border-radius:14px;color:#667694;font-weight:800}.capacity-notice.ok{background:#edfdf6;color:#08704d;border-color:#cfefdf}.capacity-notice.bad{background:#fff1f1;color:#9b2222;border-color:#ffd0d0}.smart-helper h3{margin:0 0 12px}.quick-slots{display:flex;flex-wrap:wrap;gap:8px}.quick-slots span{color:#667694;font-weight:800}.quick-slots button{background:#f2f7ff;color:#0057c2;box-shadow:none;border:1px solid #d8e8ff;padding:8px 10px;border-radius:999px;font-size:12px}.quick-slots button:hover{background:#0057c2;color:#fff}
@media(max-width:1150px){.smart-layout{grid-template-columns:1fr}.smart-form{position:relative;top:auto}.smart-room-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.smart-top{height:auto;padding:12px;gap:12px;flex-wrap:wrap}.smart-brand{width:100%}.smart-shell{padding:14px}.smart-hero{display:block;padding:22px;border-radius:22px}.smart-hero h1{font-size:28px}.smart-date{width:100%;margin-top:18px}.smart-summary{grid-template-columns:repeat(2,1fr)}.smart-room-grid,.smart-form-grid{grid-template-columns:1fr}.panel-title{display:block}.smart-left,.smart-form,.smart-helper{padding:18px;border-radius:20px}}

/* FASE LIVE ROOMS + CALENDARIO ENTERPRISE */
.live-rooms{background:#f4f7fb;color:#071d3c}.live-top{height:74px;background:#fff;border-bottom:1px solid #e4edf7;display:flex;align-items:center;justify-content:space-between;padding:0 26px;box-shadow:0 8px 28px rgba(15,38,77,.06);position:sticky;top:0;z-index:20}.live-brand{display:flex;align-items:center;gap:16px}.live-brand img{height:46px}.live-brand b{display:block;font-size:18px}.live-brand span{display:block;color:#64748b;margin-top:2px}.live-clock{display:flex;align-items:center;gap:14px;font-weight:900;color:#0b2d5e}.live-clock a{background:#0057c2;color:#fff;border-radius:999px;padding:11px 18px}.live-shell{max-width:1560px;margin:0 auto;padding:24px}.live-alert{margin:0 0 16px}.live-hero{background:linear-gradient(135deg,#061b3a,#004ea8);color:#fff;border-radius:28px;padding:28px;display:flex;align-items:end;justify-content:space-between;gap:24px;box-shadow:0 20px 50px rgba(0,45,98,.22)}.live-hero h1{font-size:34px;max-width:830px;line-height:1.08;margin:10px 0}.live-hero p{margin:0;color:#dbeafe}.live-hero label{width:250px;color:#dbeafe}.live-hero input{background:#fff;border:0}.live-pill{display:inline-flex;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px}.live-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0}.live-kpis article{background:#fff;border:1px solid #e4edf7;border-radius:20px;padding:18px;box-shadow:0 10px 26px rgba(15,38,77,.05)}.live-kpis b{display:block;font-size:30px;color:#0057c2}.live-kpis span{display:block;color:#64748b;font-weight:800}.live-kpis .ok b{color:#0f9f6e}.live-kpis .bad b{color:#c73535}.live-kpis .warn b{color:#d99000}.live-layout{display:grid;grid-template-columns:1fr 430px;gap:20px}.live-main{display:grid;gap:20px}.live-panel,.live-form{background:#fff;border:1px solid #e4edf7;border-radius:24px;padding:22px;box-shadow:0 12px 34px rgba(15,38,77,.06)}.live-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.live-title h2{margin:0;font-size:24px}.live-title p{margin:6px 0 0;color:#64748b}.legend{display:flex;gap:10px;flex-wrap:wrap}.legend span{font-size:12px;font-weight:900;color:#475569}.legend i{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px}.legend .free{background:#0f9f6e}.legend .busy{background:#c73535}.legend .next{background:#d99000}.live-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.live-room{display:block;background:#fff;color:#071d3c;text-align:left;border:1px solid #e4edf7;border-radius:22px;padding:18px;box-shadow:none;transition:.16s}.live-room:hover,.live-room.selected{transform:translateY(-1px);filter:none;border-color:#0057c2;box-shadow:0 16px 34px rgba(0,87,194,.12)}.live-room.free{background:linear-gradient(180deg,#fff,#f4fff8)}.live-room.busy{background:linear-gradient(180deg,#fff,#fff3f3)}.live-room.next{background:linear-gradient(180deg,#fff,#fff9eb)}.room-live-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start}.room-icon{width:44px;height:44px;border-radius:16px;background:#eaf3ff;display:grid;place-items:center;font-size:20px}.room-live-head strong{font-size:18px}.room-live-head span{display:block;color:#64748b;font-size:13px;font-weight:800;margin-top:4px}.room-live-head em{font-style:normal;background:#edf6ff;color:#0057c2;border-radius:999px;padding:7px 9px;font-weight:900}.live-state{display:flex;align-items:center;justify-content:space-between;margin:16px 0 10px}.live-state span{font-size:20px;font-weight:950}.live-state small{color:#64748b;font-weight:900}.live-progress{height:9px;background:#edf3fb;border-radius:999px;overflow:hidden}.live-progress i{display:block;height:100%;background:linear-gradient(90deg,#10b981,#f59e0b,#ef4444)}.current-box,.next-box{margin-top:12px;border-radius:14px;padding:10px 12px;font-size:12px;font-weight:900}.current-box{background:#fff1f1;color:#9b2222}.next-box{background:#fff7df;color:#865a00}.free-strip{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.free-strip small{background:#fff;border:1px solid #e4edf7;border-radius:999px;padding:7px 9px;color:#334155;font-weight:900}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.week-day{display:block;background:#f8fbff;border:1px solid #e4edf7;border-radius:18px;padding:14px;min-height:170px}.week-day.active{border-color:#0057c2;background:#eef6ff;box-shadow:0 10px 24px rgba(0,87,194,.10)}.week-day b{display:block;font-size:16px}.week-day span{display:block;color:#64748b;font-weight:900;margin-top:2px}.week-events{display:grid;gap:7px;margin-top:12px}.week-events small{background:#fff;border:1px solid #e4edf7;border-radius:10px;padding:7px 8px;color:#334155;font-weight:800}.week-events .empty{color:#94a3b8}.live-side{display:grid;gap:18px;align-content:start}.live-form{position:sticky;top:92px}.live-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.live-form label{font-size:13px}.live-form input,.live-form select,.live-form textarea{border-radius:13px;padding:11px 12px}.live-form textarea{min-height:76px}.live-form button{width:100%;margin-top:13px}.quick-panel h3{margin:0 0 12px}.quick-slots{display:flex;flex-wrap:wrap;gap:8px}.quick-slots span{color:#64748b;font-weight:800}.quick-slots button{background:#f2f7ff;color:#0057c2;box-shadow:none;border:1px solid #d8e8ff;padding:8px 10px;border-radius:999px;font-size:12px}.quick-slots button:hover{background:#0057c2;color:#fff}.capacity-notice{margin:12px 0 0;padding:11px 13px;background:#f8fbff;border:1px solid #e4edf8;border-radius:14px;color:#667694;font-weight:800}.capacity-notice.ok{background:#edfdf6;color:#08704d;border-color:#cfefdf}.capacity-notice.bad{background:#fff1f1;color:#9b2222;border-color:#ffd0d0}@media(max-width:1280px){.live-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-layout{grid-template-columns:1fr}.live-form{position:relative;top:auto}}@media(max-width:900px){.live-kpis{grid-template-columns:repeat(2,1fr)}.week-grid{grid-template-columns:1fr 1fr}.live-hero{display:block}.live-hero label{display:block;width:100%;margin-top:18px}.live-room-grid,.live-form-grid{grid-template-columns:1fr}}@media(max-width:620px){.live-top{height:auto;gap:10px;flex-wrap:wrap;padding:12px}.live-shell{padding:14px}.live-hero{padding:22px;border-radius:22px}.live-hero h1{font-size:27px}.live-kpis,.week-grid{grid-template-columns:1fr}.live-panel,.live-form{padding:18px;border-radius:20px}.live-title{display:block}.legend{margin-top:12px}.live-clock{width:100%;justify-content:space-between}.live-brand img{height:42px}}

/* FASE BLOQUEO COLOMBIA: sábados, domingos y festivos */
.week-day.blocked{
  opacity:.62;
  background:linear-gradient(180deg,#fff,#fff5f5)!important;
  border-color:#fecaca!important;
}
.week-day.blocked b,
.week-day.blocked span{color:#991b1b!important;}
.day-lock{
  display:inline-flex;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#fee2e2;
  color:#991b1b;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.form-blocked{
  position:relative;
  border:1px solid #fecaca!important;
  background:linear-gradient(180deg,#fff,#fff7f7)!important;
}
.form-blocked::before{
  content:'Fecha bloqueada por calendario corporativo';
  display:block;
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#fee2e2;
  color:#991b1b;
  font-weight:800;
}
.form-blocked button[disabled]{
  opacity:.65;
  cursor:not-allowed;
  filter:grayscale(.2);
}

/* HOTFIX MENSAJES EMERGENTES + CONSERVAR FORMULARIO */
.app-modal{position:fixed;inset:0;background:rgba(3,18,43,.54);display:none;align-items:center;justify-content:center;padding:18px;z-index:9999;backdrop-filter:blur(5px)}
.app-modal.show{display:flex}
.app-modal-card{position:relative;width:min(460px,100%);background:#fff;border:1px solid #dbe8f6;border-radius:26px;padding:28px;box-shadow:0 26px 80px rgba(0,22,55,.28);text-align:center;color:#071d3c;animation:modalPop .16s ease-out}
.app-modal-close{position:absolute;right:14px;top:12px;width:36px;height:36px;padding:0;border-radius:999px;background:#f1f5fb;color:#334155;box-shadow:none;font-size:24px;line-height:1}
.app-modal-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:20px;display:grid;place-items:center;font-size:30px;font-weight:950;background:#fee2e2;color:#991b1b}
.app-modal-icon.success{background:#dcfce7;color:#08704d}.app-modal-icon.error{background:#fee2e2;color:#991b1b}
.app-modal-card h3{margin:0 0 10px;font-size:24px}.app-modal-card p{margin:0;color:#475569;font-weight:750;line-height:1.45}.app-modal-card #appModalOk{width:100%;margin-top:20px}
@keyframes modalPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

/* HOTFIX CALENDARIO MENSUAL PRO V7 */
.calendar-pro-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.calendar-pro-head h2{font-size:32px;margin:12px 0 4px;letter-spacing:-.03em}.calendar-actions{display:flex;gap:10px;flex-wrap:wrap}.btn.secondary{background:#eef6ff;color:#0057c2;box-shadow:none;border:1px solid #cfe4ff}.calendar-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.calendar-kpis article{background:#fff;border:1px solid #dce8f6;border-radius:22px;padding:18px;box-shadow:0 12px 32px rgba(15,38,77,.06)}.calendar-kpis b{display:block;font-size:30px;color:#0057c2}.calendar-kpis span{display:block;color:#60708f;font-weight:800}.calendar-pro-card{padding:18px}.calendar-week-header{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:10px}.calendar-week-header div{background:#002d62;color:#fff;border-radius:14px;padding:12px;text-align:center;font-weight:900;font-size:13px}.month-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.calendar-day{min-height:178px;background:#fff;border:1px solid #dce8f6;border-radius:18px;padding:12px;box-shadow:0 8px 20px rgba(15,38,77,.045);overflow:hidden}.calendar-day.empty{background:transparent;border:0;box-shadow:none}.calendar-day.today{border-color:#0057c2;box-shadow:0 0 0 3px rgba(0,87,194,.10)}.calendar-day.has-events{background:linear-gradient(180deg,#fff,#f7fbff)}.calendar-day.blocked{background:linear-gradient(180deg,#fff,#fff6f6);border-color:#ffd2d2}.day-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}.day-top strong{width:34px;height:34px;border-radius:12px;background:#eef6ff;color:#0057c2;display:grid;place-items:center;font-size:16px}.day-top em{font-style:normal;background:#fee2e2;color:#991b1b;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;line-height:1.1;text-align:right}.day-events{display:grid;gap:7px}.no-events{color:#94a3b8;font-size:12px;font-weight:800}.calendar-event-pill{background:#eef6ff;border:1px solid #cfe4ff;border-left:5px solid #0057c2;border-radius:13px;padding:8px 9px;display:grid;gap:2px}.calendar-event-pill b{font-size:12px;color:#002d62}.calendar-event-pill span{font-size:12px;color:#0057c2;font-weight:900}.calendar-event-pill small{font-size:11px;color:#60708f;font-weight:750;line-height:1.25}@media(max-width:1200px){.month-calendar-grid,.calendar-week-header{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day.empty{display:none}.calendar-week-header{display:none}.calendar-day{min-height:auto}.calendar-pro-head{display:block}.calendar-actions{margin-top:14px}.calendar-kpis{grid-template-columns:1fr 1fr 1fr}}@media(max-width:680px){.calendar-kpis{grid-template-columns:1fr}.month-calendar-grid{grid-template-columns:1fr}.calendar-pro-head h2{font-size:26px}.calendar-actions .btn{width:100%}}

/* MEJORA SOLICITUD MÓVIL + DOMINIOS CORPORATIVOS */
.anchor-offset{display:block;position:relative;top:-86px;visibility:hidden}
.mobile-quick-nav{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.mobile-quick-nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#fff;text-decoration:none;font-weight:900;font-size:13px;backdrop-filter:blur(4px)}
.field-help{display:block;margin-top:6px;color:#64748b;font-size:11px;font-weight:800;line-height:1.25}.live-form label{min-width:0}.live-form input,.live-form select,.live-form textarea{width:100%}.live-form button{min-height:48px}.live-form-grid label{display:block}.live-room{cursor:pointer}.live-room.selected::after{content:'Sala seleccionada';display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:999px;background:#0057c2;color:#fff;font-size:11px;font-weight:950}
@media(max-width:760px){
  html{scroll-behavior:smooth}.live-shell{padding:10px}.live-top{position:sticky;top:0;z-index:20;border-bottom:1px solid #dbe8f6;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
  .live-clock span{display:none}.live-clock a{padding:8px 10px;font-size:12px}.live-brand div span{display:none}.live-brand div b{font-size:14px}.live-brand img{height:36px}
  .live-hero{padding:18px;border-radius:18px;margin-bottom:12px}.live-hero h1{font-size:24px;margin:8px 0}.live-hero p{font-size:14px;line-height:1.35}.mobile-quick-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-quick-nav a{padding:10px 6px;font-size:12px}
  .live-kpis{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;margin-bottom:12px;scroll-snap-type:x mandatory}.live-kpis article{min-width:128px;padding:12px;border-radius:16px;scroll-snap-align:start}.live-kpis article b{font-size:24px}.live-kpis article span{font-size:12px}
  .live-layout{display:flex;flex-direction:column;gap:12px}.live-side{order:-1;display:flex;flex-direction:column;gap:12px}.live-main{display:flex;flex-direction:column;gap:12px}.live-form{padding:16px;border-radius:18px;position:relative;top:auto}.live-title{margin-bottom:12px}.live-title h2{font-size:21px}.live-title p{font-size:13px;line-height:1.35}
  .live-form-grid{grid-template-columns:1fr 1fr;gap:10px}.live-form-grid label:nth-last-child(-n+3),.live-form label:has(textarea){grid-column:1/-1}.live-form label{font-size:12px}.live-form input,.live-form select,.live-form textarea{padding:10px 11px;border-radius:12px;font-size:14px}.live-form textarea{min-height:64px}.field-help{font-size:10.5px}.capacity-notice{font-size:12px;padding:9px 10px}.quick-panel{padding:14px;border-radius:18px}.quick-panel h3{font-size:17px}.quick-slots{max-height:104px;overflow:auto}.quick-slots button{padding:8px 9px;font-size:12px}
  .live-panel{padding:14px;border-radius:18px}.live-room-grid{grid-template-columns:1fr;gap:10px}.live-room{padding:13px;border-radius:16px}.room-live-head{grid-template-columns:auto 1fr auto;gap:9px}.room-icon{width:36px;height:36px;border-radius:12px;font-size:17px}.room-live-head strong{font-size:15px}.room-live-head span{font-size:11px}.room-live-head em{padding:5px 7px;font-size:11px}.live-state{margin:10px 0 8px}.live-state span{font-size:15px}.live-state small{font-size:11px}.free-strip{gap:5px;margin-top:9px}.free-strip small{padding:5px 7px;font-size:10.5px}.current-box,.next-box{font-size:11px;padding:8px 9px}
  .calendar-enterprise{display:none}.legend{gap:7px}.legend span{font-size:11px}
}
@media(max-width:430px){.live-form-grid{grid-template-columns:1fr}.mobile-quick-nav{grid-template-columns:1fr}.live-kpis article{min-width:118px}.live-hero label input{width:100%}}
