/* Reservas · BRILLEX. Estilos limitados al panel privado. */
#admin-app.reservations-active .admin-sidebar{background:linear-gradient(155deg,#4d111d,#64172a);color:#fff7e9}
#admin-app.reservations-active .admin-brand strong,#admin-app.reservations-active .admin-brand span,#admin-app.reservations-active .admin-nav,#admin-app.reservations-active .admin-back,#admin-app.reservations-active .dash-more-nav>summary{color:#f9ebdc}
#admin-app.reservations-active .admin-nav.active{background:#f2e4cd;color:#62182a}
.res-page{--wine:#75172e;--edge:#e7d9c7;--cream:#fffbf4;color:#392b26}
.res-page *, .res-editor *{box-sizing:border-box}
.res-page button,.res-editor button{font:inherit;cursor:pointer;padding:9px 12px;background:#fffaf3;color:#75172e;border:1px solid #ddc8b7;border-radius:7px}
.res-page button:hover,.res-editor button:hover{filter:brightness(.96)}
.res-page button:focus-visible,.res-editor button:focus-visible{outline:3px solid #ba7b8d;outline-offset:2px}
.res-page .res-primary,.res-editor .res-primary{background:#75172e;color:#fff;border-color:#75172e;padding:12px 18px}
.res-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:20px}
.res-heading h2{font:bold 39px Georgia,serif;margin:0 0 5px;color:#5b1025}
.res-heading p{color:#877768;font-size:14px;margin:0}
.res-heading>div:last-child{display:flex;flex-wrap:wrap;gap:9px;font-size:12px}
.res-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:18px}
.res-kpis button{background:#fffbf5;border:1px solid var(--edge);padding:19px 13px;display:flex;align-items:center;gap:13px;text-align:left;color:#7c6c5e;font-size:12px}
.res-kpis strong{display:block;font:700 30px Georgia,serif;color:#73142e;margin-bottom:4px}
.res-kpis small{display:block;color:#a08c78;margin-top:6px;font-size:10px}
.res-kpis svg{width:30px;height:30px;flex-shrink:0;color:#75172e}
.res-tabs{display:flex;overflow:auto;border:1px solid var(--edge);border-radius:8px;background:#f7edde;margin-bottom:15px}
.res-tabs button{border:0;border-right:1px solid var(--edge);border-radius:0;background:transparent;font-size:12px;white-space:nowrap;padding:14px 20px}
.res-tabs button.active{border-bottom:3px solid #75172e;background:#fffaf3;font-weight:bold}
.res-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.res-layout.has-detail{grid-template-columns:minmax(0,1fr) 355px}
.res-list-area{min-width:0}
.res-filters{display:flex;flex-wrap:wrap;align-items:end;gap:8px;background:var(--cream);padding:12px;border:1px solid var(--edge);border-radius:10px;margin-bottom:14px}
.res-page .res-filters label{display:grid;gap:4px;margin:0;flex:1;min-width:110px;font-size:10px;color:#8c7766}
.res-filters label:first-child{flex:2;min-width:160px}
.res-page .res-filters input,.res-page .res-filters select{width:100%;border:1px solid var(--edge);border-radius:6px;background:#fffaf3;padding:9px;color:#544236;font:inherit;font-size:12px;margin:0;min-height:36px}
.res-filters>button{font-size:11px;min-height:36px}
.res-table-scroll{overflow:auto;border:1px solid var(--edge);border-radius:10px;background:#fffbf5}
.res-table{width:100%;min-width:920px;border-collapse:collapse;font-size:11px;text-align:left}
.res-table th{padding:12px 9px;background:#f1e5d3;font-weight:600;white-space:nowrap}
.res-table td{padding:12px 8px;border-top:1px solid #ebdfd0;vertical-align:middle}
.res-table small{display:block;font-size:10px;color:#8b7868;margin-top:5px}
.res-table tr.selected{background:#f4e6d4}
.res-house{display:flex;gap:9px;align-items:center;border-left:4px solid var(--house-color,#75172e);padding-left:7px;min-width:185px}
.res-house b{font-size:12px}.res-house img,.res-house-icon{width:48px;height:55px;object-fit:cover;border-radius:6px;flex-shrink:0}
.res-page button.res-house{border:0;border-left:4px solid var(--house-color,#75172e);background:none;text-align:left;color:#392b26;padding:0 0 0 7px;border-radius:0}
.res-layout.has-detail .res-table{min-width:810px}
.res-layout.has-detail .res-house{min-width:155px}.res-layout.has-detail .res-house img{width:40px;height:49px}
.res-house-icon{display:grid;place-items:center;background:#eee0c9;color:#8e4856}.res-house-icon svg{width:25px;height:25px}
.res-state,.res-origin{display:inline-block;border-radius:6px;padding:7px 9px;font-size:10px;line-height:1.3}
.state-ok{background:#dcf0d9;color:#37724d}.state-pending{background:#ffe8bb;color:#9c692b}.state-off{background:#ecdfe0;color:#88616a}
.origin-web{background:#daeafa;color:#2f6998}.origin-whatsapp{background:#daf0e7;color:#307a5b}.origin-manual{background:#eee6dc;color:#7b6954}.origin-external{background:#e9e0f3;color:#785391}
.res-actions{display:flex;gap:6px;align-items:center}.res-actions button{font-size:10px;padding:7px 10px}
.res-actions details{position:relative}.res-actions summary{cursor:pointer;font-size:23px;list-style:none;padding:2px 6px}.res-actions details[open]{z-index:4}
.res-actions details[open]>button{display:block;margin:5px 0;min-width:110px}
.res-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#907a65;margin-top:15px}
.res-pagination button{padding:6px 12px}
.res-panel{position:sticky;top:14px;max-height:calc(100vh - 35px);overflow:auto;border:1px solid var(--edge);border-radius:12px;background:#fffbf5;padding:17px;font-size:12px}
.res-panel>header{display:flex;align-items:start;justify-content:space-between;gap:12px}.res-panel h3{font:bold 25px Georgia,serif;color:#641329;margin:0}.res-panel>p{color:#8e7967;margin:7px 0 14px}
.res-page .res-close{border:0;background:none;font-size:22px;padding:0 4px}
.res-panel-badges{display:flex;gap:7px;flex-wrap:wrap}.res-panel nav{display:flex;overflow:auto;gap:2px;border-bottom:1px solid var(--edge);margin:14px -2px}
.res-panel nav button{font-size:10px;padding:10px 7px;background:none;border:0;border-radius:0;white-space:nowrap}.res-panel nav button.active{border-bottom:2px solid #75172e}
.res-cover img{width:100%;max-height:180px;object-fit:cover;border-radius:8px}.res-cover .res-house-icon{width:100%;height:90px}
.res-panel dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;font-size:11px;margin-top:16px}.res-panel dt{color:#8b7969}.res-panel dd{margin:0;overflow-wrap:anywhere}
.res-panel p{white-space:pre-line;line-height:1.6;overflow-wrap:anywhere}.res-panel a{color:#75172e}
.res-panel footer{display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--edge);padding-top:15px;margin-top:15px}.res-panel footer button{font-size:11px;flex:1}
.res-linked-service{background:#f6ecdd;border:1px solid var(--edge);padding:12px;border-radius:8px;margin-bottom:10px}.res-linked-service p{font-size:11px;margin:7px 0}
.res-warning{background:#fff0d1;padding:12px;border-left:3px solid #d1a033;border-radius:6px;font-size:12px;line-height:1.6}
.res-warning button{font-size:10px;padding:4px 8px;margin-left:5px}.res-success{background:#e3f1e0;padding:12px;border-radius:7px;font-size:12px;line-height:1.6}
.res-alerts{background:#fffbf5;border:1px solid var(--edge);border-radius:9px;padding:13px;margin-top:16px;font-size:12px}.res-alerts summary{cursor:pointer;font-weight:bold;color:#75172e}.res-alerts .res-warning{margin-top:10px}
.res-integration{font-size:10px;color:#967e68;line-height:1.7;margin-top:15px}.res-empty{padding:30px!important;text-align:center;color:#927c68}
#res-audit article{border-bottom:1px solid var(--edge);padding:12px 0}#res-audit small{display:block;overflow-wrap:anywhere;white-space:pre-wrap;font-size:10px}
.res-editor{width:min(760px,96vw);max-height:90vh;padding:23px;border:1px solid #e6d4be;border-radius:15px;background:#fffaf2;color:#4b352a;overflow:auto}
.res-editor::backdrop{background:#36141e88;backdrop-filter:blur(3px)}.res-editor>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.res-editor h2{font:27px Georgia,serif;color:#75172e;margin:0 0 18px}.res-editor header button{border:0;font-size:22px;background:none}
.res-editor form{display:grid;gap:15px}.res-editor label{display:grid;gap:6px;font-size:12px;margin:0}.res-editor input,.res-editor select,.res-editor textarea{font:inherit;width:100%;background:#fff;border:1px solid #e1cbb7;color:#4b352a;border-radius:7px;padding:11px}.res-editor textarea{min-height:75px}.res-editor p{font-size:12px;line-height:1.6}
.res-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.res-form-house{display:flex;align-items:center;gap:15px;padding:12px;background:#f5e8d6;border-radius:9px}.res-form-house img{width:80px;height:75px;object-fit:cover;border-radius:8px}.res-checks{display:flex;gap:20px}.res-checks label{display:flex;align-items:center;gap:8px}.res-checks input{width:23px;height:23px;accent-color:#75172e}
@media(max-width:1400px){.res-layout.has-detail{grid-template-columns:minmax(0,1fr) 310px}.res-kpis{gap:8px}.res-kpis button{padding:16px 9px;gap:8px}.res-kpis svg{width:24px;height:24px}}
@media(max-width:1050px){.res-layout.has-detail{grid-template-columns:minmax(0,1fr)}.res-panel{position:static;max-height:none;grid-row:1}.res-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.res-heading h2{font-size:32px}.res-heading p{font-size:12px}.res-heading>div:last-child{gap:6px}.res-heading button{padding:10px 9px;font-size:11px}.res-kpis{grid-template-columns:repeat(2,1fr)}.res-kpis strong{font-size:25px}.res-kpis button{font-size:11px}.res-kpis button:last-child{grid-column:1/-1}.res-filters{gap:9px}.res-page .res-filters label{min-width:42%;flex:1}.res-page .res-filters label:first-child{flex-basis:100%}.res-form-grid{grid-template-columns:1fr}.res-editor{padding:16px}.res-tabs button{padding:12px}.res-panel{padding:14px}.res-panel dl{grid-template-columns:90px minmax(0,1fr)}}
