:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#162e38;background:#f6f8fa}*{box-sizing:border-box}body{margin:0}header{height:76px;border-bottom:1px solid #dce4e8;display:flex;align-items:center;padding:0 36px;gap:32px;background:white}.brand{display:flex;gap:10px;text-decoration:none;color:#168477;font-size:27px}.brand strong{color:#172f3a;letter-spacing:-1px}.brand strong span{font-weight:400}.head-label{font-size:10px;letter-spacing:2px;color:#71848d}.secure{margin-left:auto;font-size:12px;color:#337e70;background:#eef8f3;padding:9px 13px;border-radius:30px}main{display:grid;grid-template-columns:350px 1fr;min-height:calc(100vh - 126px)}aside{padding:31px 27px;background:white;border-right:1px solid #dce4e8;overflow:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:#178477;font-weight:700}h1{font-size:28px;letter-spacing:-1.3px;margin:14px 0 8px}.intro{font-size:13px;color:#71818c;margin-bottom:23px}#status{background:#edf6f4;color:#236c60;border:1px solid #d4e9e2;padding:12px;font-size:12px;line-height:1.6;border-radius:9px}section,form{padding:22px 0;border-bottom:1px solid #e6ecef}.section-title{font-size:13px;font-weight:700;display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.section-title span{font-size:10px;color:#6c858c;font-weight:400}.coordinate{padding:10px 0}.coordinate small{display:block;color:#7e919c;font-size:10px;letter-spacing:1px}.coordinate strong{display:block;font-size:28px;font-family:ui-monospace,monospace;letter-spacing:-1px;margin-top:5px}.meta{font-size:11px;color:#7e919c;margin-top:13px;display:flex;justify-content:space-between}.fields{display:flex;gap:10px}label{font-size:11px;color:#617782;display:block;flex:1}input{width:100%;margin:7px 0 12px;padding:12px 10px;border:1px solid #d7e1e6;border-radius:7px;background:#fafcfd;color:#213d48;font-size:13px}input:focus{outline:2px solid #269b8a}button{cursor:pointer;font:inherit;border:0;border-radius:7px;padding:12px;font-size:12px}button:focus-visible{outline:3px solid #65c4b5}.primary{width:100%;background:#168477;color:white;display:flex;justify-content:space-between}.secondary{width:100%;background:white;border:1px solid #d7e1e6;color:#36515c;margin-top:10px}.hint,details p{font-size:11px;color:#7c8e96;line-height:1.7}.badge{background:#f0f4f6;padding:4px 7px;border-radius:4px}details{margin-top:22px;font-size:12px}summary{cursor:pointer}code{display:block;font-size:11px;word-break:break-all;background:#f0f4f6;padding:10px;line-height:1.7;border-radius:5px}.map-wrap{position:relative;min-height:600px;background:#e8efe9}#map{position:absolute;inset:0;z-index:0}.map-top{position:absolute;z-index:500;top:22px;left:22px;right:22px;display:flex;justify-content:space-between;pointer-events:none}.map-top span,.map-top button{pointer-events:auto;background:white;box-shadow:0 3px 16px #193b4220;border:1px solid #dce4e8;padding:12px 15px;border-radius:8px;font-size:12px}.map-top i{display:inline-block;width:7px;height:7px;background:#168477;border-radius:100%;margin-right:8px}.map-note{position:absolute;z-index:500;bottom:32px;left:22px;background:#ffffffed;padding:12px 16px;border-radius:8px;font-size:11px;box-shadow:0 3px 16px #193b4220}.leaflet-top{top:75px}.gps-pin{width:24px;height:24px;border:5px solid white;background:#168477;border-radius:50%;box-shadow:0 0 0 10px #16847724,0 3px 10px #0003}footer{display:flex;align-items:center;gap:20px;height:50px;padding:0 30px;font-size:11px;color:#84949c;border-top:1px solid #dce4e8}footer span:last-child{margin-left:auto;font-size:9px;letter-spacing:1px}@media(max-width:760px){header{padding:0 18px;height:64px;gap:10px}.head-label{display:none}.secure{font-size:10px}main{display:flex;flex-direction:column-reverse}.map-wrap{min-height:52vh}aside{padding:25px 22px}.coordinate{display:inline-block;width:49%}.coordinate strong{font-size:23px}footer{padding:0 18px}footer span:last-child{display:none}}

.locate{margin-top:14px;justify-content:center;gap:8px;padding:14px}

.map-wrap{min-width:0;isolation:isolate}#map{width:100%;height:100%}
.map-status{position:absolute;z-index:500;top:86px;left:22px;right:22px;background:#fff5da;color:#70561a;padding:12px 15px;border-radius:8px;font-size:12px;line-height:1.5;pointer-events:none}
.map-status[hidden]{display:none}
@media(max-width:760px){.map-wrap{height:52vh;height:52svh;min-height:320px;flex:0 0 auto}#map{inset:0}.map-top{top:16px;left:16px;right:16px}.map-note{left:16px;bottom:28px;max-width:calc(100% - 32px)}}

button:disabled{opacity:.5;cursor:not-allowed}.consent{display:flex;gap:9px;align-items:flex-start;line-height:1.6;margin:4px 0 15px}.consent input{width:17px;height:17px;margin:1px 0;flex-shrink:0}.visitor-share{margin-top:12px}.visitor-share .primary{justify-content:center}[hidden]{display:none!important}

/* W-023 로그인 */
.account{display:flex;align-items:center;gap:10px;font-size:12px;color:#36515c}.account-logout{background:white;border:1px solid #d7e1e6;color:#36515c;padding:8px 12px}
.auth-main{display:flex;justify-content:center;align-items:flex-start;padding:48px 18px;background:#f6f8fa}.auth-card{width:100%;max-width:400px;background:white;border:1px solid #dce4e8;border-radius:12px;padding:32px 28px;box-shadow:0 3px 16px #193b4212}
.auth-card label{font-size:12px}.auth-card input{font-size:15px}.auth-submit{justify-content:center;padding:14px;font-size:14px;margin-top:4px}.auth-status{min-height:20px;font-size:12px;line-height:1.6;color:#a33a2a;margin:12px 0 0}.auth-status.ok{color:#236c60}
@media(max-width:760px){.account-name{display:none}.auth-main{padding:24px 14px}.auth-card{padding:24px 18px}}

/* W-016 단말기 상태 */
.dev-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dev-item{background:#f6f9fa;border:1px solid #e1e8eb;border-radius:7px;padding:9px 10px}.dev-item small{display:block;font-size:10px;color:#71848d}.dev-item strong{display:block;font-size:13px;margin-top:4px;line-height:1.4;word-break:keep-all}.dev-item.wide{grid-column:1/-1}.dev-item.ok{border-color:#bfe3d6;background:#eef8f3}.dev-item.ok strong{color:#236c60}.dev-item.warn{border-color:#f0c9a8;background:#fff4ea}.dev-item.warn strong{color:#a04a12}
.device-panel{position:absolute;z-index:1100;top:75px;right:22px;bottom:90px;width:340px;max-width:calc(100% - 44px);overflow:auto;background:white;border:1px solid #dce4e8;border-radius:12px;box-shadow:0 6px 24px #193b4230;padding:16px 18px}.dp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.dp-head small{display:block;font-size:10px;letter-spacing:1px;color:#71848d}.dp-head strong{display:block;font-size:15px;margin-top:3px;word-break:break-all}.dp-head button{background:#f0f4f6;padding:8px 11px;font-size:14px;line-height:1}.dp-group{padding:12px 0;border-bottom:1px solid #e6ecef}.dp-group h3{font-size:13px;margin:0 0 8px}.dp-row{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:5px 0;color:#617782}.dp-row strong{color:#213d48;text-align:right}.dp-row.ok strong{color:#236c60}.dp-row.warn strong{color:#a04a12}.dp-bars{margin-top:6px}
.dp-popup{min-width:230px;font-size:12px}.dp-popup-title{display:block;font-size:14px;word-break:break-all;margin-bottom:2px}.dp-popup-note{margin:2px 0 6px;font-size:11px;color:#7c8e96;line-height:1.5}.dp-popup .dp-group{padding:7px 0}.dp-popup .dp-group h3{font-size:12px;margin:0 0 4px;color:#168477}.dp-popup .dp-row{padding:3px 0;font-size:11.5px}.dp-popup .secondary{margin-top:8px;padding:9px}.dp-popup .dev-bar{grid-template-columns:1fr 60px}
@media(max-width:760px){.device-panel{position:fixed;top:auto;left:0;right:0;bottom:0;width:auto;max-width:none;max-height:70vh;border-radius:14px 14px 0 0;z-index:2000}}
.dev-sub{font-size:12px;font-weight:700;margin:16px 0 8px}.dev-bar{display:grid;grid-template-columns:1fr 90px;gap:8px;align-items:center;font-size:11px;color:#617782;padding:3px 0;font-family:ui-monospace,monospace}.dev-bar i{display:block;height:8px;background:#168477;border-radius:4px;min-width:2px}
