*{box-sizing:border-box}body{margin:0;background:#f6f5f9;color:#262337;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}header.legacy-header{background:#21132b;color:white;padding:16px max(20px,calc((100% - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}a{color:#7b27a5}header a{color:white;text-decoration:none}header nav{display:flex;gap:16px;flex-wrap:wrap}.brand{font-weight:800;font-size:19px}main{max-width:1100px;margin:30px auto;padding:0 20px}h1{font-size:30px;margin:0 0 24px}h2{font-size:20px;margin:0 0 14px}.card{background:white;border:1px solid #e7e1eb;border-radius:14px;padding:22px;margin-bottom:20px;box-shadow:0 4px 16px #23102d09}.narrow{max-width:460px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats strong{display:block;font-size:35px;color:#8b2eb8}.actions,.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}.btn,button{display:inline-block;background:#922cc0;color:white;border:0;border-radius:8px;padding:10px 16px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.secondary{background:#ece3f1;color:#5e2378}.danger{background:#b92e4c;padding:6px 10px}label{display:flex;flex-direction:column;gap:5px;font-weight:600}label:has([type=checkbox]){flex-direction:row;align-items:center}input,select,textarea{border:1px solid #ccc5d3;border-radius:8px;padding:10px;font:inherit;min-width:0;width:100%;background:white}textarea{min-height:90px}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.full{grid-column:1/-1}.notice{background:#e0f5e6;padding:12px;border-radius:8px;margin-bottom:16px}.error{color:#b32141}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse}td,th{padding:12px;border-bottom:1px solid #eee;text-align:left}td form{margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;background:white;padding:14px;border-radius:14px;border:1px solid #e7e1eb}.weekday{text-align:center;font-weight:700;color:#655c6c;padding:10px 0}.day{border-radius:8px;min-height:83px;padding:10px;display:flex;flex-direction:column;justify-content:space-between}.day.free{background:#d9f3df}.day.reserved{background:#f5c4c8}.day.blocked{background:#ded8e1}.day small{font-size:11px}.legend{display:flex;gap:20px;margin:14px 0}@media(max-width:650px){.stats,.formgrid{grid-template-columns:1fr}.day{min-height:52px;padding:5px}.day small{font-size:9px}.weekday{font-size:11px}.calendar-grid{gap:2px;padding:6px}header{padding:15px 20px}}.matrix{min-width:1050px}.matrix th,.matrix td{padding:8px 5px;text-align:center;border:1px solid #eee;white-space:nowrap}.matrix th:first-child{position:sticky;left:0;background:white;min-width:160px;z-index:1;text-align:left}.matrix-day.free{background:#d9f3df;color:#176c32}.matrix-day.reserved{background:#f5c4c8;color:#9a2441}.matrix-day.blocked{background:#ded8e1;color:#51445a}.property-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.property-grid .card{margin:0}

.property-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px}.listing{padding:0;overflow:hidden}.listing-body{padding:20px}.cover{display:block;width:100%;height:220px;object-fit:cover}.placeholder{display:grid;place-items:center;background:#eae3ee;color:#776680}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px}.photo-card{padding:10px}.photo-card img,.gallery img{width:100%;height:180px;object-fit:cover;border-radius:9px}.gallery{margin-bottom:24px}.gallery img{height:240px}@media(max-width:650px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery img{height:150px}}

/* BLICK v4 — interfaz administrativa */
:root{--primary:#b720eb;--primary-dark:#8624b3;--ink:#1f2031;--muted:#75788a;--line:#e9eaf1;--surface:#fff;--canvas:#f6f7fb}
body{background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;background:#171524;color:#f7f4fb;display:flex;flex-direction:column;z-index:60;padding:25px 14px 15px;box-shadow:4px 0 22px #19132512;overflow-y:auto}.side-brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;padding:5px 10px 31px;font-size:14px;font-weight:850;letter-spacing:.06em;line-height:1.2}.side-brand small{display:block;font-size:9px;color:#aba6b9;letter-spacing:.12em;margin-top:6px}.brand-symbol{display:grid;place-items:center;background:var(--primary);border-radius:12px;width:40px;height:40px;font-size:22px;flex-shrink:0}.side-label{color:#888397;font-size:10px;font-weight:800;letter-spacing:.18em;margin:0 12px 13px}.side-nav{display:grid;gap:5px}.side-link{display:flex;align-items:center;gap:12px;padding:12px 13px;color:#c7c3d3;text-decoration:none;border-radius:10px;font-size:13px;font-weight:600;transition:background .15s,color .15s}.side-link:hover{background:#292437;color:white}.side-link.active{background:#b720eb26;color:#f6d7ff;box-shadow:inset 3px 0 var(--primary)}.nav-icon{width:21px;text-align:center;font-size:20px;font-weight:500}.side-bottom{margin-top:auto;border-top:1px solid #373144;padding-top:14px}.version{font-size:10px;color:#888397;padding:10px 13px}.app-content{margin-left:254px;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 34px}.breadcrumb{font-size:13px;color:#737688}.top-public{margin-left:auto;font-size:12px;font-weight:700;text-decoration:none}.menu-toggle{display:none;background:#f3ecf8;color:#60217e;padding:7px 11px}.main-content{max-width:1540px;margin:0 auto;padding:33px 34px 65px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--primary-dark);margin-bottom:6px}.page-heading h1{font-size:29px;line-height:1.2;margin:0;letter-spacing:-.035em}.card{border-color:var(--line);border-radius:15px;box-shadow:0 4px 20px #18243b06}.card h2{font-size:17px}.stats{gap:18px}.stats .card{padding:25px;font-size:13px;color:var(--muted);font-weight:650}.stats strong{color:var(--ink);font-size:38px;font-weight:800;letter-spacing:-.04em;margin-bottom:5px}.btn,button{background:var(--primary-dark);border-radius:9px}.btn:hover,button:hover{filter:brightness(.96)}.secondary{background:#f0e7f6;color:#6e2a89}.danger{background:#bb3455}.tablewrap{border-radius:12px}th{background:#fafafe;font-size:11px;letter-spacing:.025em;text-transform:uppercase;color:#6b6d7c}td,th{padding:13px 12px;border-color:#eff0f5}tr:hover td{background:#fcfbff}input,select,textarea{border-color:#dfe0e9;outline-offset:2px}input:focus,select:focus,textarea:focus{outline:2px solid #b720eb55;border-color:#b720eb}.notice{border:1px solid #b7e8c3}.calendar-grid{border-color:var(--line)}.day{border:1px solid #fff}.matrix th:first-child{z-index:2}.public-header{display:flex;justify-content:space-between;align-items:center;padding:18px max(22px,calc((100% - 1100px)/2));background:#171524;color:#fff}.public-header nav{display:flex;gap:22px}.public-header a{color:#fff;text-decoration:none}.guest-page .main-content{max-width:1100px}.guest-page .narrow{margin:0 auto}.sidebar-scrim{display:none}
@media(max-width:1024px){.sidebar{transform:translateX(-100%);transition:transform .2s}.app-content{margin-left:0}.menu-toggle{display:inline-block}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:0;background:#14102190;z-index:50}.topbar{padding:0 22px}.main-content{padding:25px 20px 50px}}
@media(max-width:650px){.topbar{height:62px}.top-public{font-size:11px}.breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-heading h1{font-size:25px}.stats{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.main-content{padding:22px 14px 40px}.card{padding:16px}.public-header{padding:16px}.public-header nav{gap:10px;font-size:12px}}
/* Propiedades BLICK v4.1 — ficha y listado */
.properties-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.properties-intro h2{margin:0}.properties-intro p{margin:5px 0;color:#777080}.property-list{display:grid;gap:12px}.property-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #e9e4ef;border-radius:14px;background:#fff;flex-wrap:wrap}.property-item-main{display:flex;align-items:center;gap:14px;min-width:230px}.property-avatar{width:52px;height:52px;display:grid;place-items:center;border-radius:13px;background:#f5e7fb;color:#8c1bc1;font-size:29px}.property-item h3{margin:0 0 4px;font-size:17px}.property-item p{margin:0 0 6px;color:#716b7b;font-size:13px}.property-state{display:inline-block;background:#eeeaf1;color:#686170;border-radius:20px;padding:2px 9px;font-size:11px;font-weight:700}.property-state.is-active{background:#e1f5e7;color:#247547}.property-item-actions{display:flex;gap:10px;flex-wrap:wrap}.property-item-actions a{border:1px solid #e9e0ee;border-radius:8px;padding:8px 11px;text-decoration:none;font-size:13px;font-weight:650}.property-item-actions a:hover{background:#f7ebfc}.notice.error{background:#fff0f0;color:#a52235}

.side-brand img{display:block;max-width:100%}.side-brand{min-height:76px;display:flex;align-items:center}
