:root{font-family:"Malgun Gothic",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--brand:#174f36;--border:#d9e2dc;--muted:#647169;--danger:#b42318}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{color:#142019;background:#eef3ef;overflow:hidden}button,input,select{font:inherit}button{min-height:40px;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}header{height:56px;padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;color:#fff;background:var(--brand);box-shadow:0 1px 5px #0003}header strong,header small{display:block}header small{font-size:11px;opacity:.82}header button{border:0;color:#fff;background:transparent}main{height:calc(100% - 56px)}.login-panel{height:100%;padding:20px;display:grid;place-items:center;overflow:auto}.card{width:min(100%,390px);padding:26px 22px;display:grid;gap:10px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 12px 36px #1a39291f}.card h1,.card p{margin:0}.card p{margin-bottom:8px;color:var(--muted);font-size:14px;line-height:1.5}.card label{margin-top:4px;font-size:13px;font-weight:700}.card input{min-height:46px;padding:10px 12px;border:1px solid #aebdb3;border-radius:8px}.primary{margin-top:8px;border:0;border-radius:8px;color:#fff;background:var(--brand);font-weight:700}.map-app{position:relative;width:100%;height:100%}.project-bar{height:54px;padding:6px max(8px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left));display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;background:#fff;border-bottom:1px solid var(--border)}.project-bar label{font-size:13px;font-weight:700}.project-bar select{width:100%;min-height:40px;padding:6px 8px;border:1px solid #aebdb3;border-radius:7px;background:#fff}.project-bar button{padding:5px 9px;border:1px solid #aebdb3;border-radius:7px;background:#fff}#map{width:100%;height:calc(100% - 54px);background:#dbe8df}.map-type,.legend{position:absolute;z-index:800;border:1px solid #0002;border-radius:9px;background:#fffffff2;box-shadow:0 2px 10px #0003}.map-type{top:66px;left:52px;padding:4px;display:flex;gap:3px}.map-type button{min-height:34px;padding:5px 9px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:13px}.map-type button.active{border-color:var(--brand);color:#fff;background:var(--brand)}.legend{top:66px;right:10px;max-height:min(52vh,390px);padding:9px 10px;overflow:auto;font-size:12px}.legend>strong,.legend>span{display:block;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend>span{margin:2px 0 5px;color:var(--muted)}.legend-row{display:flex;align-items:center;gap:6px;margin-top:4px}.legend-dot,.result-marker{display:block;width:14px;height:14px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #333}.result-marker-wrap{border:0;background:transparent}.result-popup{min-width:220px;max-width:min(320px,76vw);font-size:13px;line-height:1.45}.result-popup hr{margin:8px 0;border:0;border-top:1px solid #ddd}.result-popup a{color:#075eb7;font-weight:700}.badge{display:inline-block;margin:1px 3px 1px 0;padding:2px 7px;border-radius:11px;color:#fff;font-size:11px}.marker-cluster{background:#174f364d}.marker-cluster div{color:#173c2b;background:#ffffffdf;font-weight:800}.message{position:fixed;z-index:2000;left:50%;bottom:max(18px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 28px);padding:11px 14px;transform:translateX(-50%);border-radius:9px;color:#fff;background:#27332c;box-shadow:0 4px 18px #0005;font-size:13px}.message.error{background:var(--danger)}.message.busy:before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:-2px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:600px){header{height:52px}main{height:calc(100% - 52px)}.project-bar{height:52px;grid-template-columns:minmax(0,1fr) auto}.project-bar label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#map{height:calc(100% - 52px)}.map-type{top:62px;left:46px}.legend{top:auto;right:8px;bottom:max(12px,env(safe-area-inset-bottom));max-height:31vh}}
[hidden]{display:none!important}
