/* Hospital PM 4.3 */
.equipment-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.kind-red{--kind:#d84655;--kind-light:#fff0f2}.kind-green{--kind:#07946c;--kind-light:#e3faf1}.kind-co2{--kind:#536bd4;--kind-light:#edf0ff}.kind-generator{--kind:#a36a08;--kind-light:#fff5dc}.kind-other{--kind:#647681;--kind-light:#eef3f5}
.equipment-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:7px;background:var(--kind-light);color:var(--kind);font-size:11px;margin:5px 0 2px;white-space:nowrap}.equipment-tag svg{width:15px;height:15px}
.login{padding:24px;min-height:100dvh;grid-template-columns:minmax(0,1.45fr) minmax(370px,.85fr);gap:24px;background:radial-gradient(ellipse at 88% 20%,#dcfff0,transparent 50%),#f1f7f6;align-items:stretch}
.login-scene{position:relative;overflow:hidden;isolation:isolate;border-radius:28px;min-height:740px;background:#164a4a;color:#fff;box-shadow:0 20px 60px #07504312;--scene-x:0px;--scene-y:0px;--scene-scroll:0px}
.scene-images,.scene-image,.scene-shade{position:absolute;inset:0;width:100%;height:100%}.scene-images{overflow:hidden;z-index:-2}.scene-image{object-fit:cover;object-position:50% 46%;opacity:0;transform:scale(1.12) translate(var(--scene-x),calc(var(--scene-y) + var(--scene-scroll)));transition:opacity 1.25s ease,transform 7s ease-out;will-change:opacity,transform}.scene-image.is-active{opacity:1;transform:scale(1.025) translate(var(--scene-x),calc(var(--scene-y) + var(--scene-scroll)))}.login-scene.is-paused .scene-image{transition:opacity .4s ease;transform:scale(1.025)}
.scene-shade{z-index:-1;pointer-events:none;background:linear-gradient(180deg,#032e3540,transparent 27%,transparent 44%,#043b466e 70%,#022d37ee)}.scene-topline{position:absolute;top:30px;left:34px;right:34px;display:flex;justify-content:space-between;gap:18px;align-items:center}.scene-wordmark{font-size:12px;letter-spacing:2.2px;text-shadow:0 1px 8px #001d2b55}.scene-wordmark b{display:block;font-weight:500;font-size:17px;letter-spacing:4px}.scene-pill{border:1px solid #ffffff6b;background:#0b394324;backdrop-filter:blur(12px);padding:9px 13px;border-radius:20px;font-size:8px;letter-spacing:1.5px;white-space:nowrap}.scene-pill i{display:inline-block;width:5px;height:5px;background:#69ffc5;box-shadow:0 0 10px #7affce;border-radius:50%;margin-right:7px}
.scene-caption{position:absolute;left:7%;right:7%;bottom:162px}.scene-kicker{font-size:10px;letter-spacing:2.3px;color:#c4f6e3;margin-bottom:13px}.scene-caption h1{font-size:clamp(32px,3vw,52px);font-weight:500;line-height:1.25;color:#fff;margin:0 0 12px;letter-spacing:0;text-shadow:0 3px 25px #003b4566}.scene-caption p{font-size:16px;color:#e1f9f2;margin:0}.scene-line{width:54px;height:3px;background:linear-gradient(90deg,#65ffb4,#75e9ff);margin-top:25px;box-shadow:0 0 18px #61ffc87d;border-radius:5px}
.scene-navigation{position:absolute;bottom:80px;left:7%;right:7%;display:flex;align-items:center;justify-content:space-between}.scene-dots{display:flex;gap:10px}.scene-dot,.scene-play{background:#ffffff0a;border:1px solid #ffffff42;color:#c5e7e3;border-radius:50%;width:40px;height:40px;padding:0;min-height:40px;font-size:11px;font-weight:400}.scene-dot.is-active{background:#b9ffe4;color:#124f45;border-color:#b9ffe4;box-shadow:0 0 24px #67f8c430}.scene-play{font-size:19px;color:white}.scene-scrubber{position:absolute;bottom:30px;left:7%;right:7%;display:flex;align-items:center;gap:12px;font-size:10px;font-weight:400;color:#c2e5de;margin:0}.scene-scrubber input{padding:0;min-height:24px;height:24px;accent-color:#86ffd2;border:0;background:transparent;box-shadow:none;flex:1;width:40px}.scene-scrubber span{white-space:nowrap}
.login-panel{border-radius:28px;padding:32px clamp(24px,3.5vw,66px);box-shadow:0 16px 60px #22655708;justify-content:center;min-width:0;background:#ffffffc9;border:1px solid #fff}.login-brand{margin-bottom:16px}.hospital-logo{width:92px;height:92px;margin-bottom:10px}.login-brand .login-hospital{font-size:20px}.login-brand .login-system{font-size:16px}.login-brand h2{font-size:27px}.login-product{font-size:9px;margin:7px 0 13px}.login-panel .notice{font-size:12px;padding:12px}.login-panel label{margin-top:12px;font-size:13px}.login-panel input{border-radius:12px;padding:12px 14px;background:#fbfefd;min-height:48px}.login-panel .wide{border-radius:12px;min-height:47px}.login-panel form .primary{margin-top:20px}.login-panel .divider{margin:17px 0 10px;font-size:11px}.login-panel>small{font-size:10px;display:block;margin-top:10px}.login-brand .muted{font-size:12px}
.dashboard-categories{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px}.category-overview{border-radius:22px;border:1px solid #d6e9e4;background:linear-gradient(145deg,#effcf7,#fff 60%);padding:24px;box-shadow:0 7px 25px #104c4d05;min-width:0}.category-overview.generator{background:linear-gradient(145deg,#eefaFF,#fff 60%);border-color:#d1e5ec}.category-heading{display:flex;align-items:center;gap:12px}.category-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#d9f8e9;color:#078263}.generator .category-icon{color:#137b9b;background:#daf4fd}.category-heading h2{margin:0;font-size:21px}.category-heading .eyebrow{font-size:9px;letter-spacing:1.4px}.category-heading>.link{margin-left:auto;white-space:nowrap;font-size:11px;padding:7px}
.category-stats{display:grid;grid-template-columns:1.18fr repeat(3,1fr);gap:8px;margin-top:24px;align-items:center}.category-stats>div{display:flex;flex-direction:column;gap:2px;min-width:0}.category-stats strong{font-size:30px;font-weight:500;line-height:1.3;color:#114d4b}.category-stats .category-total strong{font-size:47px;letter-spacing:-1.5px}.category-stats span{font-size:11px;color:#637f81;white-space:nowrap}.category-number{border-left:1px solid #dceae7;padding-left:15px}.category-number.ok strong{color:#0a9870}.category-number.due strong{color:#a37614}.category-number.fail strong{color:#d35758}.category-readiness{display:flex;justify-content:space-between;margin-top:20px;color:#4c7572;font-size:11px}.category-readiness b{font-weight:500;color:#147c65}.generator .category-readiness b{color:#16799a}.readiness-track{height:5px;border-radius:20px;background:#e9f3ef;margin:8px 0 16px;overflow:hidden}.readiness-track i{height:100%;display:block;background:linear-gradient(90deg,#20b88c,#69ebc0);border-radius:20px}.generator .readiness-track i{background:linear-gradient(90deg,#32a9c6,#77e9ed)}
.category-breakdown{display:flex;flex-wrap:wrap;gap:7px}.category-breakdown>span{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;background:var(--kind-light);color:var(--kind);border-radius:7px;font-size:10px}.category-breakdown b{font-size:12px;font-weight:500}.kind-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--kind)}.category-foot{display:flex;justify-content:space-between;font-size:10px;color:#73908b;margin-top:14px}
.attention-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.attention-panel{min-width:0;padding:22px}.attention-panel h2{font-size:18px}.attention-panel .link{font-size:10px;white-space:nowrap;padding:5px}.attention-panel .eyebrow{font-size:8px}.attention-item{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;border-top:1px solid #eaf2f0;border-radius:0;padding:14px 0;width:100%;font-weight:400}.attention-item:hover{background:#f4fbf9}.attention-icon{width:36px;height:40px;border-radius:11px;display:grid;place-items:center;color:var(--kind);background:var(--kind-light);flex:none}.attention-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.attention-text b{font-weight:500;color:#245856;font-size:12px}.attention-text small{font-size:10px;color:#708c8e}.attention-text b,.attention-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.popup-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:7px;font-size:10px;white-space:nowrap;line-height:1.5}.popup-status.ok{background:#e2f8ed;color:#07774e}.popup-status.due{background:#fff3d2;color:#8c640b}.popup-status.fail{background:#ffebeb;color:#b14145}.popup-status.retired{background:#f0f4f6;color:#6b7a7e}
.site-panel{padding:24px;border-radius:23px}.site-panel h2{font-size:24px;margin-top:3px}.site-panel .section-heading p{font-size:12px}.map-dimension{font-size:10px;letter-spacing:1.4px;background:#edfaf6;border:1px solid #c6ecdf;padding:9px 12px;border-radius:9px;color:#2e8675;white-space:nowrap}.map-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:13px 0;border-bottom:1px solid #edf3f2;margin-top:8px}.map-filters>button{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #e0eae9;color:var(--kind,#4a6c6f);padding:7px 10px;min-height:37px;border-radius:9px;font-size:11px;font-weight:400}.map-filters>button svg{width:17px;height:17px}.map-filters>button b{font-weight:500;font-size:10px;padding:1px 5px;background:#f0f5f4;border-radius:4px;min-width:18px;text-align:center}.map-filters>button[aria-pressed=true]{border-color:var(--kind,#148e75);background:var(--kind-light,#e4f9f0);color:var(--kind,#0b7e60)}
.map-state-filter{display:flex;align-items:center;margin:0 0 0 auto;gap:7px;font-size:10px;color:#748d8c;font-weight:400}.map-state-filter select{padding:7px 23px 7px 10px;font-size:11px;width:auto;border-radius:9px;min-height:37px}.map-toolbar{gap:7px;margin:13px 0}.map-toolbar>button{font-size:10px;padding:7px 11px;min-height:34px;border-radius:8px}.map-toolbar>select{margin-left:auto;max-width:280px;font-size:11px;border-radius:8px}.campus-map-wrap{position:relative}.site-panel #site-map{height:540px;outline:0;border-color:#dcecf0;border-radius:15px;background:#f4faff!important}.map-floating-note{position:absolute;bottom:12px;left:12px;padding:6px 10px;background:#ffffffda;backdrop-filter:blur(10px);border:1px solid #dcecf0;border-radius:6px;pointer-events:none;font-size:9px;color:#5e8c90;z-index:2}.map-bottom-bar{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-top:12px}.map-status{background:none;padding:0;font-size:11px;color:#5b8382}.map-opacity{font-size:10px}.map-opacity input{width:100px}.map-legend{display:flex;gap:16px;align-items:center;margin:12px 0 0;flex-wrap:wrap;font-size:10px;color:#668787}.map-legend>span{display:inline-flex;align-items:center;gap:5px}.status-ring{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;font-size:10px;font-style:normal;font-weight:600}.status-ring.ok{color:#078153;background:#d7f9e6}.status-ring.due{color:#9b6c12;background:#fff0be}.status-ring.fail{color:#bc3947;background:#ffe1e3}.map-demo-note{font-size:10px;margin:12px 0 0;color:#709596}.map-help{font-size:10px;line-height:1.8}.plan-tools,.map-reference{margin-top:14px;border-top:1px solid #e9f2ef;padding-top:12px;color:#5c7f80;font-size:11px}.plan-tools summary,.map-reference summary{cursor:pointer;min-height:24px}.map-toolbar.edit-plan{border:0;padding:0}.map-reference>div{display:flex;gap:22px;padding:16px 0;align-items:flex-start}.map-reference img{width:160px;max-height:275px;height:auto;object-fit:contain;border-radius:9px}.map-reference p{font-size:11px;line-height:1.9;max-width:680px}.map-reference a{color:#0b876e}
.map-pin{width:34px!important;height:40px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:13px!important;background:transparent!important;color:#fff!important;box-shadow:none!important;overflow:visible;outline-offset:6px;cursor:pointer}.map-pin[hidden]{display:none!important}.map-pin .pin-body{position:absolute;inset:0;background:var(--kind);border:2px solid #fff;border-radius:13px 13px 13px 3px;box-shadow:0 3px 9px #17444a30,0 0 0 2px #ffffff66;display:flex;align-items:center;justify-content:center}.map-pin .equipment-icon{width:23px;height:23px;stroke-width:1.8}.map-pin.kind-co2 .equipment-icon{display:none}.map-pin.kind-co2 b{font-size:12px;font-weight:500}.map-pin.generator-pin .pin-body{border-radius:9px}.map-pin .pin-status{position:absolute;right:-5px;bottom:-5px;width:16px;height:16px;border:2px solid #fff;border-radius:50%;font-size:10px;font-weight:600;line-height:12px;text-align:center;box-shadow:0 1px 5px #1343543a;z-index:1}.pin-status.ok{background:#078459;color:white}.pin-status.due{background:#ffe19d;color:#84580a}.pin-status.fail{background:#c53548;color:white}.map-pin:hover .pin-body,.map-pin:focus-visible .pin-body{box-shadow:0 4px 12px #06455466,0 0 0 4px #ffffffee}.map-pin:hover,.map-pin:focus-visible{filter:none;z-index:4!important}
.equipment-popup{max-width:min(330px,calc(100vw - 46px))!important;z-index:8!important}.equipment-popup .maplibregl-popup-content{padding:18px;border:1px solid #dcece8;border-radius:15px;box-shadow:0 14px 45px #08444825;color:#25504e;max-height:420px;overflow-y:auto}.equipment-popup .maplibregl-popup-close-button{font-size:21px;line-height:1;padding:3px 7px;top:0;right:1px;min-height:28px;border-radius:0 13px 0 9px;color:#688a84}.popup-category{display:flex;gap:8px;justify-content:space-between;align-items:center;padding-right:13px;margin-top:3px}.popup-category .equipment-tag{margin:0}.popup-category .popup-status{padding:3px 6px;font-size:9px}.asset-popup h3{font-size:21px;line-height:1.4;margin:10px 0 0;color:#154f49}.asset-popup .popup-location{font-size:12px;margin:5px 0 12px;color:#426c68}.asset-popup .popup-name{font-size:12px;margin:2px 0;color:#206f61}.asset-popup dl{margin:0}.asset-popup dl>div{display:grid;grid-template-columns:85px 1fr;gap:9px;font-size:11px;line-height:1.65;padding:6px 0;border-bottom:1px solid #eff4f3}.asset-popup dt{color:#7a9390}.asset-popup dd{margin:0;overflow-wrap:anywhere;color:#275851}.asset-popup .pin-building{font-size:10px;margin:11px 0 6px;padding:7px 9px;background:#effaf6;border-radius:7px}.popup-coordinates{font-size:9px;color:#799592}.maplibregl-ctrl-attrib{font-size:8px!important}
.asset-filters{align-items:flex-end;gap:12px}.asset-filters label{font-size:11px;font-weight:400;color:#57817a;min-width:140px;max-width:270px;flex:1;margin:0;display:block}.asset-filters .search-filter{max-width:none;flex:1.7}.asset-filters input,.asset-filters select{max-width:none!important;margin-top:5px;width:100%;font-size:12px}.filter-result{font-size:11px;color:#6a8b85;padding-bottom:13px;white-space:nowrap}.filter-result b{font-size:16px;font-weight:500;color:#227c64}.asset-filters>button{margin-bottom:4px}
@media(min-width:1500px){.login{max-width:1800px;margin:auto}}
@media(max-width:1200px){.login{grid-template-columns:minmax(0,1.1fr) minmax(350px,1fr);padding:18px;gap:18px}.scene-pill{display:none}.category-overview{padding:20px}.category-heading h2{font-size:18px}.category-heading .link{font-size:10px}.category-number{padding-left:10px}.category-stats span{font-size:10px}.map-state-filter{margin-left:0}.attention-item{gap:8px}}
@media(max-width:1000px){.dashboard-categories,.attention-grid{grid-template-columns:1fr}.category-overview{padding:22px}.category-heading h2{font-size:21px}.site-panel{padding:20px}}
@media(max-width:760px){.login{display:flex;flex-direction:column;padding:12px;gap:14px}.login-scene{min-height:0;height:285px;border-radius:22px}.scene-image{object-position:center 55%}.scene-topline{top:18px;left:22px;right:22px}.scene-wordmark{font-size:8px}.scene-wordmark b{font-size:12px;letter-spacing:3px}.scene-pill{display:block;font-size:7px;padding:6px 9px;letter-spacing:.8px}.scene-caption{left:22px;right:22px;bottom:80px}.scene-kicker,.scene-line,.scene-scrubber{display:none}.scene-caption h1{font-size:29px;margin-bottom:4px}.scene-caption p{font-size:11px}.scene-navigation{bottom:19px;left:22px;right:22px}.scene-dot,.scene-play{width:32px;height:32px;min-height:32px;font-size:9px}.scene-play{font-size:16px}.login-panel{margin:0;border-radius:22px;padding:25px 24px 28px}.hospital-logo{width:86px;height:86px}.login-panel input{font-size:16px}.login-brand h2{font-size:26px}.login-panel .notice{font-size:11px}.login-panel label{font-size:12px}.scene-shade{background:linear-gradient(180deg,#05343b33,transparent 15%,transparent 30%,#052f3b95 70%,#052f3bdc)}
.dashboard-categories{gap:14px;margin-bottom:19px}.category-overview{padding:18px;border-radius:20px}.category-heading h2{font-size:18px}.category-heading .eyebrow{font-size:8px}.category-icon{width:38px;height:38px}.category-heading{gap:9px}.category-heading>.link{font-size:10px;padding:4px}.category-stats{margin-top:19px;gap:6px}.category-stats .category-total strong{font-size:42px}.category-stats strong{font-size:28px}.category-stats span{font-size:9px}.category-number{padding-left:11px}.category-breakdown{gap:5px}.category-breakdown>span{font-size:9px;padding:4px 6px}.category-foot{font-size:9px}.category-readiness{margin-top:16px;font-size:10px}.attention-panel{padding:18px}.attention-panel h2{font-size:16px}.attention-grid{gap:15px}.attention-item .popup-status{font-size:9px}
.site-panel{padding:17px;border-radius:21px}.site-panel h2{font-size:20px}.site-panel .section-heading p{font-size:11px}.map-dimension{display:none}.map-filters{gap:6px;padding:10px 0 12px}.map-filters>button{font-size:10px;padding:7px 8px;min-height:35px}.map-filters>button svg{width:15px;height:15px}.map-state-filter{flex-basis:100%;margin-top:3px;justify-content:space-between}.map-state-filter select{flex:1;max-width:180px;font-size:12px}.map-toolbar>button{font-size:9px;padding:7px 8px;min-height:33px}.map-toolbar>select{width:100%;max-width:none;margin:0;font-size:12px}.site-panel #site-map{height:430px;border-radius:12px}.map-bottom-bar{display:block;margin-top:10px}.map-opacity{margin-top:10px;width:auto;font-size:10px}.map-opacity input{width:120px}.map-status{font-size:10px}.map-legend{font-size:9px;gap:8px}.map-legend>span:first-child{width:100%}.map-floating-note{font-size:8px;bottom:9px;left:9px;padding:4px 7px}.map-demo-note,.map-help{font-size:9px}.map-reference>div{display:block}.map-reference img{width:100px;float:left;margin:0 13px 8px 0}.map-reference p{font-size:10px}.map-reference>div:after{content:'';display:table;clear:both}.equipment-popup .maplibregl-popup-content{padding:14px;max-height:330px}.asset-popup dl>div{font-size:10px;grid-template-columns:75px 1fr}.asset-popup .popup-location{font-size:11px}.asset-popup h3{font-size:19px}.map-pin{width:30px!important;height:36px!important}.map-pin .equipment-icon{width:20px;height:20px}.map-pin .pin-body{border-radius:11px 11px 11px 3px}.map-pin .pin-status{right:-3px;bottom:-4px}.asset-filters{gap:10px}.asset-filters .search-filter{flex-basis:100%;max-width:none}.asset-filters label{max-width:none;min-width:120px}.asset-filters .filter-result{padding:0;min-width:90px}.asset-filters>button{margin:0}.asset-filters input,.asset-filters select{font-size:13px}.equipment-tag{font-size:10px}}
@media(prefers-reduced-motion:reduce){.scene-image{will-change:auto;transform:none;transition:none}}
