*{box-sizing:border-box}body{color:#17202a;background:linear-gradient(135deg,#48b1c9,#4e78bb);margin:0;font-family:Inter,system-ui,sans-serif}button{font:inherit}.app-shell{min-height:100vh;padding:24px}.layout{grid-template-columns:320px 1fr;align-items:start;gap:24px;max-width:1400px;margin:0 auto;display:grid}.logo{width:100%;max-width:400px;margin-bottom:30px}.mobile-app-header{display:none}.card{background:#fff;border:1px solid #d9e1e8;border-radius:16px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b}.soft{border-radius:16px;padding:16px}.sidebar{flex-direction:column;min-height:0;display:flex;overflow:hidden}.sidebar .card-body,.sidebar .list-items{flex-direction:column;flex:1;min-height:0;display:flex}.card-header{padding:24px 24px 5px}.card-header h1,.viewer-header h2,.modal-top h3{margin:0}.card-header h1{font-size:1.6rem;line-height:1.2}.card-body{padding:0 24px 24px}.eyebrow{color:#667085;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;display:flex}.section{margin-top:20px}.section-title{color:#344054;margin:0 0 12px;font-size:14px;font-weight:600}.button-group{flex-wrap:wrap;gap:10px;display:flex}.btn{cursor:pointer;background:#fff;border:1px solid #cfd8e3;border-radius:16px;padding:10px 14px}.btn-primary{color:#fff;background:linear-gradient(135deg,#667085,#344054);border-color:#667085}.btn-secondary:hover{background:#f8fafc}.list-items{box-shadow:none}.hotspot-list{overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;display:flex;overflow-y:auto}.hotspot-list-item{cursor:pointer;text-align:left;background:#fff;border:1px solid #dbe3ea;border-radius:16px;align-items:flex-start;gap:12px;width:100%;padding:12px;display:flex}.hotspot-list-item:hover{background:#f8fafc}.icon-bubble{color:#fff;background:linear-gradient(135deg,#667085,#344054);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.hotspot-name{font-weight:600}.hotspot-meta{color:#667085;margin-top:4px;font-size:14px}.viewer{overflow:hidden}.viewer-header{padding:24px}.viewer-header p{color:#667085;margin:6px 0 0}.level-legend{color:#667085;flex-wrap:wrap;gap:8px 16px;margin-top:16px;font-size:13px;display:flex}.level-legend span{align-items:center;gap:6px;display:inline-flex}.legend-dot{background:var(--hotspot-color);border-radius:50%;width:10px;height:10px}.mobile-floor-selector{display:none}.desktop-floor-selector .button-group,.mobile-floor-selector{flex-wrap:nowrap}.desktop-floor-selector .btn,.mobile-floor-selector .btn{white-space:nowrap;padding:8px 10px;font-size:13px}.viewer-body{padding:20px}.plan-wrapper{background:#fff;border:1px solid #dbe3ea;border-radius:16px;width:100%;max-width:1000px;margin:0 auto;position:relative;overflow:hidden}.plan-image{object-fit:contain;width:100%;height:auto;max-height:75vh;display:block}.plan-wrapper picture{display:block}.hotspots-layer{position:absolute;inset:0}.plan-hotspot{--hotspot-color:#dc2626;--hotspot-pulse-color:#dc262647;cursor:pointer;background:0 0;border:0;width:28px;height:28px;position:absolute}.hotspot-label{z-index:2;color:#fff;white-space:nowrap;pointer-events:none;opacity:0;background:#17202aeb;border-radius:7px;max-width:160px;padding:5px 8px;font-size:12px;font-weight:600;line-height:1.2;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%,-3px)}.plan-hotspot:hover .hotspot-label,.plan-hotspot:focus-visible .hotspot-label{opacity:1;transform:translate(-50%)}.level-baja{--hotspot-color:#dc2626;--hotspot-pulse-color:#dc262647}.level-alta{--hotspot-color:#2563eb;--hotspot-pulse-color:#2563eb47}.level-subsuelo{--hotspot-color:#d97706;--hotspot-pulse-color:#d977064d}.pulse{background:var(--hotspot-pulse-color);border-radius:999px;animation:1.8s infinite pulse;position:absolute;inset:0}.dot{background:var(--hotspot-color);border:2px solid #fff;border-radius:999px;width:14px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 12px #0003}@keyframes pulse{0%{opacity:.9;transform:scale(.7)}to{opacity:0;transform:scale(1.7)}}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172ab8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:28px;grid-template-columns:340px 1fr;width:min(1200px,100%);max-height:92vh;display:grid;overflow:hidden;box-shadow:0 20px 60px #0003}.modal-info{border-right:1px solid #e5e7eb;padding:24px}.modal-top{justify-content:space-between;gap:12px;display:flex}.modal-description{color:#667085;line-height:1.6}.icon-button{cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:999px;width:40px;height:40px;padding-top:6px;padding-left:4px}.thumb-switcher{flex-wrap:wrap;gap:8px;max-height:176px;margin-top:18px;display:flex;overflow-y:auto}.thumbnail-button{cursor:pointer;opacity:.7;background:#eef2f6;border:2px solid #0000;border-radius:9px;width:72px;height:52px;padding:0;position:relative;overflow:hidden}.thumbnail-button img{object-fit:cover;width:100%;height:100%}.thumbnail-button span{color:#fff;background:#0f172ac7;border-radius:999px;min-width:18px;padding:2px 4px;font-size:10px;line-height:1.4;position:absolute;bottom:3px;right:3px}.thumbnail-button:hover,.thumbnail-button:focus-visible,.thumbnail-active{opacity:1;border-color:#4e78bb}.pill{color:#475467;cursor:pointer;background:#eef2f6;border:0;border-radius:999px;padding:8px 12px}.pill-active{color:#fff;background:linear-gradient(135deg,#667085,#344054)}.modal-link-list{margin-bottom:35px}.modal-link-list li a{color:#4e78bb}.modal-link-list li a:hover{color:#48b1c9}.modal-gallery{background:#f8fafc;flex-direction:column;min-height:420px;display:flex}.gallery-stage{background:#e8edf2;flex:1;min-height:360px;position:relative;overflow:hidden}.gallery-image-drag{cursor:grab;touch-action:pan-y;position:absolute;inset:0}.gallery-image-drag:active{cursor:grabbing}.gallery-image{object-fit:cover;opacity:0;filter:blur(8px);-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;transition:opacity .22s,filter .22s}.gallery-image-loaded{opacity:1;filter:blur()}.image-loader{color:#667085;place-items:center;display:grid;position:absolute;inset:0}.loader-spinner{border:4px solid #66708540;border-top-color:#4e78bb;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.gallery-nav{cursor:pointer;background:#ffffffeb;border:0;border-radius:999px;width:46px;height:46px;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 8px 20px #0000001f}.gallery-prev{padding-top:5px;padding-right:7px;left:16px}.gallery-next{padding-top:5px;padding-left:7px;right:16px}.gallery-footer{color:#667085;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-between;padding:14px 18px;font-size:14px;display:flex}@media (width>=981px){.modal-card{width:min(1400px,96vw,142.5vh + 265px);max-height:95vh}.modal-gallery{min-height:0}.gallery-stage{aspect-ratio:3/2;flex:none;min-height:0}.gallery-image{object-fit:contain}.gallery-image-cropped{object-fit:cover;object-position:center}}@media (width<=980px){.layout{grid-template-columns:1fr}.mobile-app-header{background:#fff;border:1px solid #d9e1e8;border-radius:16px;order:-2;padding:18px 18px 14px;display:block;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b}.mobile-logo{width:min(240px,60vw);height:auto;margin-bottom:12px;display:block}.mobile-app-header h1{max-width:520px;margin:0;font-size:1.35rem;line-height:1.25}.viewer{order:-1}.sidebar .card-header,.desktop-floor-selector{display:none}.mobile-floor-selector{gap:8px;margin-top:16px;display:flex}.mobile-floor-selector .btn{flex:1 1 0}.sidebar .card-body,.sidebar .list-items,.hotspot-list{flex:none;min-height:auto}.hotspot-list{overflow-y:visible}.modal-card{grid-template-columns:1fr;overflow-y:auto}.modal-info{border-bottom:1px solid #e5e7eb;border-right:0}.modal-gallery{min-height:min(420px,55svh)}.gallery-stage{min-height:min(360px,48svh)}}@media (width<=640px){body{background:#fff}.app-shell{padding:0}.layout{gap:0}.layout>.card,.mobile-app-header{box-shadow:none;border:0;border-radius:0}.mobile-logo{width:min(220px,70vw)}.mobile-app-header h1{font-size:1.25rem}.sidebar .card-body{padding-top:0}.viewer-header{padding:18px 18px 12px}.viewer-body{padding:12px}.modal-overlay{padding:10px}.modal-info{padding:18px}.gallery-nav{display:none}.modal-gallery{min-height:52svh}.gallery-stage{min-height:45svh}.hotspot-label{display:none}.thumbnail-button{width:64px;height:46px}}
