:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#10264a;background:#f6f9fd;font-size:15px}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}.topbar{background:linear-gradient(115deg,#071b3c,#102e60);color:white;height:96px;display:flex;justify-content:space-between;align-items:center;padding:0 clamp(22px,4vw,70px);gap:20px}.identity,.top-right{display:flex;align-items:center;gap:21px}.brand-logo{display:block;width:220px;height:82px;object-fit:contain}.brand-divider{width:1px;height:45px;background:#9db3d1aa}.brand-name{display:flex;flex-direction:column;gap:2px}.brand-name strong{font-size:28px;letter-spacing:-.5px;font-weight:750}.brand-name small{font-size:15px;color:#b9c9df}.top-right{gap:14px}.local-note{font-size:12px;color:#c5d6ed}.admin-tag{padding:10px 14px;border:1px solid #7894bc;border-radius:13px;white-space:nowrap}.logout-btn{background:transparent;border:0;color:#f0f7ff}.page-wrap{max-width:1650px;margin:auto;padding:58px clamp(22px,3.5vw,60px) 20px}.welcome{margin:0 0 70px 22px}.welcome h1{font-size:clamp(29px,3vw,45px);margin:0 0 9px;letter-spacing:-1px}.welcome p,.sector-head p{margin:0;font-size:18px;color:#687a96}.rooms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:38px}.room-card{min-height:154px;background:linear-gradient(120deg,#0b377b,#0855ad);border-radius:21px;color:white;display:flex;align-items:center;gap:21px;padding:27px 29px;box-shadow:0 8px 23px #0e447718;transition:transform .15s,box-shadow .15s}.room-card:hover{transform:translateY(-2px);box-shadow:0 11px 28px #0e44772b}.room-card.reception-card{background:linear-gradient(120deg,#1169bc,#2184d8)}.room-icon{font-size:45px;font-weight:300;line-height:1}.room-label{display:flex;flex-direction:column;gap:6px;flex:1}.room-label strong{font-size:clamp(19px,2vw,27px)}.room-label small{font-size:16px;opacity:.9}.room-arrow{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#ffffff18;font-size:35px;font-weight:300}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px;margin-bottom:42px}.quick-card{min-height:175px;border:1px solid #e3eaf5;background:white;border-radius:23px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;text-align:center;padding:17px;box-shadow:0 5px 16px #173f6b0d;transition:transform .15s,border-color .15s}.quick-card:hover{transform:translateY(-2px);border-color:#8cb9ea}.quick-icon{height:62px;width:62px;border-radius:18px;background:#eaf3fe;display:grid;place-items:center;color:#1765b4;font-size:34px}.quick-card strong{font-size:17px;line-height:1.2;max-width:175px}.status-strip{background:#fff;border:1px solid #e5ebf4;border-radius:22px;min-height:90px;padding:15px 28px;display:flex;align-items:center;gap:25px;justify-content:space-between;box-shadow:0 5px 18px #213b6010}.status-strip>div{display:flex;align-items:center;gap:10px;font-size:16px;white-space:nowrap}.status-strip>div>span:first-child:not(.dot){font-size:26px}.dot{display:inline-block;vertical-align:middle;width:14px;height:14px;border-radius:50%;flex-shrink:0}.dot.green{background:#1ac34a}.dot.red{background:#ed4b5b}.dot.gray{background:#9ca9bb}.light-btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:12px 18px;border:1px solid #dbe6f5;border-radius:12px;background:#eef5ff;color:#123962;font-weight:700;white-space:nowrap}.home-note{color:#8090a8;font-size:12px;margin:20px 4px}.sector-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:16px}.sector-head h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.8px;margin:13px 0 8px}.sector-head p{font-size:15px}.crumb{font-size:13px;color:#7b8ba4}.crumb a{color:#1262b3}.compact-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 25px}.compact-stat{display:flex;gap:11px;align-items:center;background:#edf4fe;border-radius:13px;min-height:66px;padding:12px 19px;color:#253f66}.compact-stat>strong{font-size:24px;color:#10294e}.compact-stat>span:first-child:not(.dot){font-size:27px}.sector-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:21px}.floor-card,.side-panel,.white-panel{border:1px solid #e3eaf3;background:white;border-radius:23px;box-shadow:0 5px 18px #152f4c0d}.floor-card{padding:22px 20px 16px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.panel-heading h2,.side-panel h2,.white-panel h2{font-size:19px;margin:0}.muted{font-size:13px;color:#8191a8}.floor-stage{display:grid;place-items:center;min-height:545px}.floor{height:510px;width:500px;max-width:100%;position:relative;background:radial-gradient(circle at center,#f8fbff,#fff);}.walls{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.walls path{stroke:#173258;stroke-width:6;fill:none;stroke-linecap:round;stroke-linejoin:round}.walls .entry{stroke:#90aacb;stroke-width:2;stroke-dasharray:5 6}.walls text{font:700 21px 'Segoe UI',sans-serif;fill:#1c4169}.pc-unit{position:absolute;display:flex;align-items:center;justify-content:space-around;gap:4px;border:1px solid #c7d7e9;border-radius:9px;background:#fff;box-shadow:0 3px 7px #18365f13;color:#173056;width:116px;height:47px;font-size:12px;z-index:2;transition:border-color .15s,transform .15s}.pc-unit:hover{border-color:#2574c5;transform:scale(1.04)}.pc-unit:focus-visible{outline:3px solid #3c91e6}.pc-unit .mini-monitor{font-size:22px;color:#143c70}.pc-unit .dot{width:11px;height:11px}.floor-lab1 .pc-1{left:11%;top:26%}.floor-lab1 .pc-2{left:11%;top:43%}.floor-lab1 .pc-3{left:11%;top:60%}.floor-lab1 .pc-4{left:66%;top:10%}.floor-lab1 .pc-5{left:46%;top:26%}.floor-lab1 .pc-6{left:67%;top:26%}.floor-lab1 .pc-7{left:46%;top:43%}.floor-lab1 .pc-8{left:67%;top:43%}.floor-lab1 .pc-9{left:46%;top:60%}.floor-lab1 .pc-10{left:67%;top:60%}.floor-lab1 .pc-11{left:46%;top:77%}.floor-lab1 .pc-12{left:67%;top:77%}.floor-lab2 .pc-1{left:16%;top:12%}.floor-lab2 .pc-2{left:16%;top:28%}.floor-lab2 .pc-3{left:40%;top:28%}.floor-lab2 .pc-4{left:16%;top:44%}.floor-lab2 .pc-5{left:40%;top:44%}.floor-lab2 .pc-6{left:16%;top:60%}.floor-lab2 .pc-7{left:40%;top:60%}.floor-lab2 .pc-8{left:16%;top:76%}.floor-lab2 .pc-9{left:40%;top:76%}.floor-reception .pc-1{left:20%;top:73%}.floor-reception .pc-2{left:53%;top:73%}.legend{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;border-top:1px solid #e7edf5;margin-top:5px;padding:17px 10px 0;font-size:13px;color:#47617e}.legend span{display:inline-flex;align-items:center;gap:8px}.sector-side{display:flex;flex-direction:column;gap:18px}.side-panel{padding:25px 22px}.side-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-top:18px}.side-action{border:1px solid #e5edf5;background:#f7faff;border-radius:16px;padding:23px 12px;text-align:center;font-weight:700;font-size:14px;display:flex;flex-direction:column;align-items:center;gap:12px}.side-action span{font-size:33px;color:#145eaf}.side-action:hover{background:#eaf4ff}.quiet-link{font-size:12px;color:#196ab4}.log-list{margin-top:18px}.log-line{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e8edf4}.log-line:last-child{border-bottom:0}.log-line strong{display:block;font-size:13px}.log-line small{font-size:12px;color:#7589a4}.log-symbol{font-size:22px;color:#247bd2}.pc-dialog{width:min(440px,calc(100% - 32px));border:1px solid #dce7f5;border-radius:18px;padding:30px;box-shadow:0 20px 80px #10284b44}.pc-dialog::backdrop{background:#04152c88}.pc-dialog h2{font-size:25px;margin:9px 0}.pc-dialog p{color:#657a99}.pc-dialog .eyebrow{font-size:11px;letter-spacing:1px;color:#1b72c3;font-weight:700}.close-dialog{position:absolute;top:11px;right:14px;border:0;background:none;font-size:30px;color:#688}.modal-actions{display:grid;gap:10px;margin-top:25px}.action-button{background:#edf5ff;border:1px solid #dce8f6;border-radius:10px;padding:12px 15px;font-weight:650;color:#0c4d92}.white-panel{padding:27px;margin:0 0 21px}.white-panel h2{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:15px;align-items:end}.form-grid label,.login-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;color:#35516f}.form-grid input,.form-grid select,.form-grid textarea,.login-card input,.remote-form input{width:100%;border:1px solid #d3e0f0;background:#fff;padding:12px;border-radius:10px;color:#173150;min-width:0;outline-color:#227ecb}.form-grid textarea{min-height:110px;resize:vertical}.form-wide{grid-column:1/-1}.primary-btn{background:#115aa9;color:white;border:0;padding:13px 20px;border-radius:11px;font-weight:750;white-space:nowrap;min-height:46px}.actions-form{grid-template-columns:repeat(3,1fr)}[hidden]{display:none!important}.help-text{font-size:12px;color:#8797aa;margin:18px 0 0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#f4f8fd;color:#607b9a;font-weight:650}td,th{padding:15px 12px;border-bottom:1px solid #e9eef6}td{color:#324761}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.mini-btn{border:1px solid #d8e7f5;border-radius:8px;background:#ecf5ff;color:#145c9c;font-size:12px;padding:8px 10px;white-space:nowrap}.mini-btn.danger{color:#b03948;background:white;border-color:#f1d1d5}.state-badge{display:inline-flex;padding:6px 10px;border-radius:25px;font-size:11px;font-weight:700;background:#edf1f6;color:#6d7b90}.state-badge.online{background:#e2f8ea;color:#20804a}.state-badge.offline{background:#fde9ec;color:#ac3e4f}.remote-detail{margin-top:10px;font-size:12px;color:#4371a2}.remote-detail summary{cursor:pointer}.remote-form{display:flex;gap:8px;margin-top:9px}.footer-note{text-align:center;font-size:11px;color:#9dacbf;padding:32px 20px}.login-area{min-height:calc(100vh - 165px);display:grid;place-items:center;padding:30px}.login-card{background:white;max-width:470px;width:100%;border:1px solid #e5edf6;border-radius:24px;padding:42px;box-shadow:0 15px 35px #1b37581a}.login-card h1{font-size:26px;margin:18px 0 8px}.login-card form{display:grid;gap:19px;margin-top:30px}.login-icon{border-radius:15px;background:#edf5ff;color:#1764b1;width:58px;height:58px;display:grid;place-items:center;font-size:35px}.error-text{color:#b93444}
@media(max-width:1200px){.room-card{padding:22px;gap:12px}.room-label small{font-size:13px}.quick-grid{grid-template-columns:repeat(3,1fr)}.sector-content{grid-template-columns:1fr}.floor-stage{min-height:530px}.floor-card{max-width:100%}.status-strip{flex-wrap:wrap}.brand-logo{width:185px}}@media(max-width:800px){.topbar{height:auto;min-height:76px;padding:10px 18px}.brand-logo{width:125px;height:57px}.brand-divider{height:32px}.brand-name strong{font-size:20px}.brand-name small{font-size:10px}.admin-tag span,.local-note{display:none}.page-wrap{padding:30px 14px}.welcome{margin:5px 0 32px}.welcome p{font-size:15px}.rooms-grid{grid-template-columns:1fr;gap:12px}.room-card{min-height:110px}.quick-grid{grid-template-columns:repeat(2,1fr);gap:10px}.quick-card{min-height:130px}.quick-icon{height:47px;width:47px;font-size:25px}.quick-card strong{font-size:14px}.status-strip{gap:15px}.status-strip>div{width:calc(50% - 14px);font-size:13px}.compact-stats{grid-template-columns:repeat(2,1fr)}.sector-head{align-items:flex-start}.sector-head .light-btn{padding:9px}.form-grid,.actions-form{grid-template-columns:1fr}.floor-stage{overflow:auto;justify-content:start}.floor{flex:none;transform:scale(.85);transform-origin:left center}.floor-stage{min-height:475px}}@media(max-width:510px){.floor{transform:scale(.65)}.floor-stage{min-height:350px}.floor-card{padding:16px 10px}.side-actions{grid-template-columns:repeat(2,1fr)}.compact-stat{font-size:12px;padding:10px}.compact-stat strong{font-size:21px}.brand-divider{display:none}.brand-name small{display:none}.top-right{gap:7px}.logout-btn{font-size:12px}}
