:root{font-family:Arial,"PingFang SC",sans-serif;color:#191a18;background:#e8e8e2}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#e8e8e2}button,input,select,textarea{font:inherit}button{cursor:pointer}header{height:92px;padding:18px 30px;display:flex;justify-content:space-between;align-items:center;background:#f5f4ec;border-bottom:2px solid #191a18}.brand{display:flex;align-items:center;gap:13px}.mark{width:48px;height:48px;display:grid;place-items:center;background:#ffda1a;border:2px solid #191a18;font-size:25px;font-weight:900;transform:rotate(-3deg)}h1{font-size:23px;margin:0;letter-spacing:2px}.brand p{font-size:9px;letter-spacing:2px;margin:4px 0 0;color:#6c6d66}.round-head{display:flex;align-items:end;gap:9px}.round-head label{font-size:10px;font-weight:bold;display:grid;gap:5px}.round-head input,button{border:2px solid #191a18;background:#fff;padding:9px 11px}.round-head button{background:#191a18;color:white;font-weight:bold}main{display:grid;grid-template-columns:284px 1fr;min-height:calc(100vh - 92px)}aside{border-right:2px solid #191a18;background:#f5f4ec;padding:25px 23px;display:flex;flex-direction:column;gap:26px}aside section>span{font-size:10px;font-weight:900;letter-spacing:1px;background:#191a18;color:white;padding:4px 7px}aside p{font-size:12px;line-height:1.55;color:#5f605b}.file{display:block;border:2px dashed #85867d;margin-top:14px;text-align:center;padding:14px;font-size:12px;font-weight:bold;cursor:pointer}.file input{display:none}.link{border:0;background:transparent;color:#77786f;padding:8px 0;font-size:11px;text-decoration:underline}.yellow{background:#ffda1a;color:#191a18;font-weight:900}.place-active{box-shadow:4px 4px 0 #191a18}.legend{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:auto}.legend b{font-size:10px;display:flex;align-items:center;gap:6px}.legend i{width:11px;height:11px;border-radius:50%;border:1px solid #111}.ok{background:#2cbd74}.review{background:#ffb82e}.fault{background:#e44e46}.unchecked{background:#eee}.blank{margin-top:15px;font-size:12px;color:#8b8c85;padding:16px 0;border-bottom:1px solid #ccc}.device-form{margin-top:14px}.device-form h3{margin:0 0 12px;font-size:17px}.status{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.status button{font-size:10px;padding:8px 2px;border-width:1px}.status button.active{box-shadow:inset 0 -4px #191a18;font-weight:bold}.device-form label{display:grid;gap:5px;font-size:10px;font-weight:bold;margin-top:10px}.device-form input,.device-form textarea{width:100%;border:1px solid #777;background:#fff;padding:8px;resize:vertical}.device-form .save{width:100%;margin-top:10px;background:#191a18;color:white}.workarea{display:grid;grid-template-rows:auto 1fr auto;min-width:0}.mapbar{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #191a18}.mapbar b{font-size:13px}.mapbar small{font-size:10px;margin-left:12px;color:#777}.mapbar p{font-size:10px;margin:0;background:#d4d4cd;padding:5px 8px}.map{position:relative;min-height:550px;margin:20px;background:#d1d2cb;border:2px solid #191a18;overflow:hidden}.map>img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;display:none}.grid{position:absolute;inset:0;background-image:linear-gradient(#b1b2aa 1px,transparent 1px),linear-gradient(90deg,#b1b2aa 1px,transparent 1px);background-size:28px 28px;opacity:.5}.map.has-image .grid{opacity:.12}.map.placing{cursor:crosshair}.pin{position:absolute;width:34px;height:34px;border-radius:50%;border:3px solid #191a18;display:grid;place-items:center;font-size:9px;font-weight:900;transform:translate(-50%,-50%);box-shadow:3px 3px 0 #191a18;cursor:pointer;overflow:visible}.pin.ok{background:#2cbd74}.pin.review{background:#ffb82e}.pin.fault{background:#e44e46;color:white}.pin.unchecked{background:#fff}.pin span{position:absolute;top:34px;white-space:nowrap;background:#191a18;color:white;padding:2px 5px;max-width:90px;overflow:hidden;text-overflow:ellipsis}#mapEmpty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}#mapEmpty strong{font-size:25px}#mapEmpty p{font-size:12px;max-width:310px;color:#666;line-height:1.6}.has-image #mapEmpty{display:none}footer{display:flex;gap:12px;align-items:center;padding:13px 20px;border-top:2px solid #191a18;background:#f5f4ec}footer label{display:flex;align-items:center;gap:14px;flex:1;font-size:10px;font-weight:bold}footer input{width:100%;accent-color:#191a18}footer button{padding:4px 11px}footer time{font-size:11px;min-width:100px;text-align:right}dialog{border:2px solid #191a18;box-shadow:8px 8px 0 #191a18;padding:23px}dialog::backdrop{background:#191a1877}dialog h2{margin-top:0}dialog label{display:grid;gap:6px;font-size:11px;font-weight:bold}dialog input{border:2px solid #191a18;padding:10px}dialog form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}#toast{position:fixed;bottom:18px;right:18px;background:#191a18;color:#fff;padding:11px 15px;font-size:12px;opacity:0;transform:translateY(8px);transition:.2s}#toast.show{opacity:1;transform:none}@media(max-width:740px){header{height:auto;padding:14px;align-items:flex-start;gap:12px}.round-head{flex-direction:column;align-items:stretch}.round-head label{display:none}main{grid-template-columns:1fr}aside{border-right:0;border-bottom:2px solid #191a18;display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:18px}.legend{grid-column:1/-1;margin-top:0}.map{margin:10px;min-height:450px}.mapbar{padding:12px}.mapbar p{display:none}footer{padding:10px}footer span{display:none}footer time{min-width:78px;font-size:10px}}
