:root{--ink:#243c34;--muted:#748078;--green:#2f6a57;--line:#e4e8e1;--paper:#f7f8f3;--orange:#bb683b;--font:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px/1.6 var(--font);background:var(--paper)}button,input,a{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:9px 13px}button:hover{background:#edf2ea}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d79354;outline-offset:3px}button.active,.primary{background:var(--green);color:white;border-color:var(--green)}a{color:var(--green)}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:#fff;gap:20px}.brand{display:flex;align-items:center;gap:13px}.brandmark{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e5eee1;color:var(--green);font-size:32px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--green)}h1{font-size:21px;letter-spacing:-.7px;margin:0}h1 span{font-weight:400}.prototype{font-size:10px;border:1px solid #dce5d9;border-radius:5px;padding:2px 6px;color:#678060;margin-left:5px}.header-actions{display:flex;align-items:center;gap:22px}.header-actions button{font-size:12px}.header-actions button span{margin-left:16px}.snapshot{font-size:11px;color:var(--muted)}.snapshot b{font-weight:500;margin-left:8px;color:var(--ink)}main{height:calc(100dvh - 86px);display:flex;min-height:450px}.sidebar{width:330px;flex-shrink:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid var(--line);z-index:3}.sidebar-head{padding:24px 22px 0}.sidebar h2{font-size:27px;line-height:1.35;letter-spacing:-1px;margin:10px 0 9px;font-weight:600}.sidebar p{font-size:12px;color:var(--muted);margin:0 0 20px}.search{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f4f6f1;border:1px solid #e6eae2;border-radius:8px}.search>span{font-size:25px;line-height:1}.search input{width:100%;min-width:0;border:0;background:transparent;font-size:12px;outline:none;color:var(--ink)}kbd{font-size:11px;color:#96a08f;background:white;border:1px solid var(--line);padding:0 4px;border-radius:3px}.tabs{display:flex;margin-top:20px;border-bottom:1px solid var(--line);gap:14px}.tabs button{border:0;border-radius:0;background:transparent;padding:9px 0 12px;font-size:12px;color:var(--muted);white-space:nowrap}.tabs button.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:700}.tabs b{font-size:10px;margin-left:3px;font-weight:500}.categories{display:flex;flex-wrap:wrap;gap:6px;padding:15px 0}.categories button{font-size:11px;border-radius:20px;padding:3px 10px}.result-head{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:10px 0;font-size:11px;color:var(--muted)}.result-head button{border:0;font-size:10px;padding:2px;color:var(--muted)}.results{flex:1;overflow:auto;padding:0 12px 12px}.result{display:flex;gap:12px;width:100%;text-align:left;border:1px solid transparent;border-radius:10px;padding:15px 10px;border-bottom:1px solid #f0f2ec;background:white}.result.selected{background:#eff4e9;border-color:#dce8d5}.result-icon{width:35px;height:35px;flex-shrink:0;border-radius:10px;background:#edf3e9;display:grid;place-items:center;color:var(--green);font-size:16px}.result.project .result-icon{color:var(--orange);background:#fbefe5}.result .title{display:block;font-size:13px;font-weight:650;line-height:1.5}.result .address{display:block;font-size:10px;color:var(--muted);margin:3px 0}.tags{display:flex;gap:5px;flex-wrap:wrap}.tag{font-size:9px;border-radius:4px;background:#f0f3ee;color:#69816f;padding:1px 5px}.tag.warn{color:#9c613a;background:#fbf0e6}.result .arrow{margin-left:auto;color:#abb4a5}.sidebar-footer{border-top:1px solid var(--line);padding:12px 14px;font-size:9px;color:var(--muted);display:flex;align-items:center;gap:5px}.sidebar-footer button{font-size:10px;margin-left:auto;padding:4px 7px}.status-dot{width:6px;height:6px;border-radius:100%;display:inline-block;background:#6b9561;flex-shrink:0}.map-shell{position:relative;flex:1;min-width:0;overflow:hidden;background:#e3e9d9}#map{position:absolute;inset:0}.map-top{position:absolute;left:25px;right:22px;top:22px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.map-top>*{pointer-events:auto}.location-chip{background:#ffffffed;padding:9px 13px;border:1px solid #e1e6db;border-radius:8px;font-size:11px;display:flex;gap:8px;align-items:center;box-shadow:0 2px 8px #293c3210}.location-chip strong{margin-left:4px;font-weight:600}.view-switch{display:flex;padding:4px;background:white;border-radius:10px;box-shadow:0 2px 10px #293c3210}.view-switch button{font-size:12px;padding:5px 14px;border:0}.map-tools{position:absolute;right:22px;top:85px;display:flex;flex-direction:column;gap:7px;align-items:flex-end}.map-tools button{font-size:11px;box-shadow:0 2px 10px #293c3210}.map-tools button[aria-pressed=false]{color:#939b90}.map-heading{position:absolute;top:94px;left:27px;pointer-events:none;text-shadow:0 1px 4px white}.map-heading h2{font-size:30px;line-height:1.35;letter-spacing:-1px;font-weight:500;margin:8px 0;color:#2c493a}.map-heading p{font-size:11px;color:#5c7161;margin:9px 0}.map-bottom{position:absolute;left:24px;bottom:33px;pointer-events:none}.legend{display:flex;gap:16px;align-items:center;font-size:10px;padding:11px 14px;background:#ffffffeb;border:1px solid #e1e6db;border-radius:9px}.legend>span{display:flex;gap:6px;align-items:center}.dot{width:7px;height:7px;border-radius:50%;background:var(--dot);display:inline-block}.map-note{font-size:9px;line-height:1.7;color:#53644e;margin-top:8px;padding:3px 8px;background:#ffffffcb;border-radius:4px;width:fit-content}.map-status{position:absolute;bottom:105px;left:24px;font-size:10px;padding:6px 10px;background:#fff7df;border:1px solid #e5d6a9;border-radius:7px;max-width:440px}.map-status:empty{display:none}.map-error{position:absolute;top:45%;left:15%;right:15%;padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #26392e20}.marker{border:2px solid white;border-radius:50%;width:31px;height:31px;padding:0;background:var(--green);color:white;box-shadow:0 3px 9px #253c3640;line-height:27px;font-size:13px;position:relative;overflow:visible}.marker:hover,.marker.is-selected{background:#193e30;z-index:5}.marker.project{background:var(--orange);border-radius:8px}.marker.approx{outline:1px dashed #ac6a36;outline-offset:3px}.marker .marker-label{position:absolute;left:37px;top:2px;white-space:nowrap;background:#fffef7f0;border-radius:4px;padding:0 6px;color:#36533e;font-size:10px;line-height:22px;box-shadow:0 1px 4px #0001;pointer-events:none}.marker .marker-count{position:absolute;right:-5px;top:-7px;background:#e7b465;border:1px solid white;color:#3a3e27;font-size:9px;border-radius:10px;min-width:14px;height:14px;line-height:12px}.detail{position:absolute;right:22px;top:144px;bottom:30px;width:335px;border-radius:14px;background:#fffefb;box-shadow:0 12px 48px #273c3426;z-index:6;overflow:auto;padding:25px;border:1px solid #e2e7dc}.detail-close{float:right;border:0;font-size:22px;padding:0 5px;line-height:1;color:#657261}.detail h2{font-size:23px;line-height:1.4;letter-spacing:-.8px;margin:12px 0}.detail .description{font-size:12px;color:#687468;line-height:1.85}.detail .detail-icon{font-size:26px;width:55px;height:55px;display:grid;place-items:center;background:#edf3e7;border-radius:15px;margin:15px 0}.detail dl{margin:20px 0;border-top:1px solid var(--line)}.detail dl div{padding:11px 0;border-bottom:1px solid var(--line)}dt{font-size:10px;color:var(--muted);margin-bottom:4px}dd{margin:0;font-size:12px;word-break:keep-all}.detail .source-link{display:block;font-size:10px;margin:7px 0;line-height:1.6}.detail .source-box{margin-top:18px;padding:13px;background:#f5f7f0;border-radius:8px}.detail .source-box b{font-size:11px}.detail .source-box p{font-size:9px;color:var(--muted);margin:7px 0 0}.detail .action{display:block;width:100%;text-align:center;text-decoration:none;border:1px solid var(--line);border-radius:8px;padding:8px;font-size:12px;margin-top:8px}.notice{background:#fbf2e7;padding:12px;border-radius:8px;color:#986436;font-size:11px}.empty{padding:30px 10px;color:var(--muted);font-size:12px}.maplibregl-ctrl-bottom-right{font-size:9px}.maplibregl-ctrl-bottom-left{left:auto;right:10px;bottom:28px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:720px;width:calc(100% - 32px);max-height:85dvh;color:var(--ink);box-shadow:0 20px 100px #10291840}dialog::backdrop{background:#1c342866}.dialog-head{padding:25px 28px 18px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head h2{margin:5px 0;font-size:23px;letter-spacing:-.8px}.dialog-head button{border:0;font-size:25px;padding:0 8px}#data-body{padding:22px 28px;overflow:auto;max-height:58dvh;font-size:12px}#data-body h3{font-size:14px;margin-top:24px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metric{background:#f0f4e9;border-radius:10px;padding:14px}.metric strong{display:block;font-size:28px;font-weight:500;color:var(--green)}.metric span{font-size:11px}.data-table{border-collapse:collapse;width:100%;font-size:11px}.data-table td,.data-table th{border-bottom:1px solid var(--line);padding:10px;text-align:left}.data-table th{background:#f5f7ef;color:#688165;font-weight:500}.source-list a{display:block;padding:6px 0;font-size:11px}.dialog-footer{padding:16px 28px;border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;font-size:12px}body.has-detail .map-heading{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.sidebar{width:370px}.sidebar-head{padding:30px 27px 0}.map-heading{top:105px}.map-heading h2{font-size:38px}.detail{width:355px}}
@media(max-width:900px){.topbar{padding:0 16px;height:72px}.snapshot{display:none}h1{font-size:18px}.brandmark{width:35px;height:35px}.prototype{display:none}main{height:calc(100dvh - 72px)}.sidebar{width:285px}.sidebar-head{padding:18px 16px 0}.sidebar h2{font-size:23px}.map-heading{display:none}.location-chip{font-size:10px}.location-chip strong{display:none}.detail{right:12px;left:12px;width:auto}.legend{gap:9px}.legend>span:last-child{display:none}}
@media(max-width:620px){.topbar{height:67px;padding:0 13px}.brand{gap:8px}.brand .eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:17px}.header-actions button{font-size:11px;padding:7px 10px}.header-actions button span{display:none}main{height:calc(100dvh - 67px);flex-direction:column-reverse;min-height:0}.map-shell{flex:1;min-height:260px}.sidebar{width:100%;height:44%;min-height:250px;border-top:1px solid var(--line);border-right:0}.sidebar-head{padding:12px 16px 0}.sidebar-head>.eyebrow,.sidebar-head>h2,.sidebar-head>p{display:none}.tabs{margin-top:7px}.tabs button{padding:5px 0 7px}.categories{padding:8px 0;gap:5px}.result-head{padding:5px 0}.sidebar-footer{padding:7px 12px}.result{padding:10px}.map-top{top:12px;left:12px;right:12px}.map-tools{right:12px;top:65px;gap:5px}.map-tools button{padding:5px 8px}.map-bottom{left:12px;bottom:25px}.map-note{display:none}.legend{padding:6px 9px}.map-status{bottom:65px;left:12px;right:80px}.detail{top:65px;bottom:20px;padding:18px;z-index:7}.detail h2{font-size:21px}.detail .detail-icon{display:none}.marker .marker-label{display:none}.dialog-head{padding:20px}.dialog-head h2{font-size:20px}#data-body{padding:18px}.dialog-footer{padding:13px 18px;gap:12px;font-size:11px}.metrics{gap:6px}.metric{padding:10px}.metric strong{font-size:24px}.map-error{top:25%;left:10px;right:10px;padding:14px;font-size:12px}}

/* Local-life records keep the existing public-facility and project views. */
.tabs{gap:12px;justify-content:space-between}.tabs button{font-size:11px}.tabs b{margin-left:2px}
.sidebar .business-hint{font-size:10px;line-height:1.6;margin:10px 0 0;padding:9px 10px;background:#eff5f7;border-radius:7px;color:#476a79}
.result.business .result-icon{background:#eaf2f6;color:#386f8b}.marker.business{background:#386f8b}.marker.business:hover,.marker.business.is-selected{background:#214d63}
.hours-summary{display:block;margin-top:5px;font-size:10px;color:#8b6a47}.hours-summary.verified{color:#386f8b}
.detail .contact-actions{display:flex;gap:8px;margin:15px 0 0}.detail .contact-actions .action{margin:0;flex:1;min-height:42px;font-weight:600;display:grid;place-items:center}.detail .call{background:#2f6a57;color:white;border-color:#2f6a57}.detail .route{background:#eff5f7;color:#386f8b;border-color:#cfdee5}.route-note{font-size:10px;line-height:1.7;color:#7b857c;margin:9px 0 16px}
.service-hours{background:#f0f5f6;border:1px solid #dce7ea;border-radius:10px;padding:13px;margin:15px 0}.service-hours>div+div{border-top:1px solid #dce7ea;margin-top:12px;padding-top:12px}.service-hours span{display:block;color:#697e87;font-size:10px}.service-hours strong{display:block;font-size:13px;font-weight:600;line-height:1.7;margin:3px 0}.service-hours a{font-size:10px}.service-hours p{font-size:10px;color:#6b7b7d;line-height:1.7;margin:12px 0 0}.legend{flex-wrap:wrap;max-width:490px}
@media(max-width:900px){.tabs{gap:8px}.tabs button{font-size:10px}.tabs b{font-size:9px}.legend{max-width:300px}}
@media(max-width:620px){.sidebar{height:49%;min-height:310px}.sidebar .business-hint{display:none}.categories{max-height:70px;overflow:auto}.contact-actions{position:sticky;top:0;z-index:1;background:#fffefb;padding:5px 0}.legend{font-size:9px;max-width:260px}}
.region-label{display:block;font-size:10px;color:var(--muted);margin:0 0 12px}.region-label select{display:block;width:100%;font:inherit;font-size:12px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:white;padding:9px;margin-top:3px}.header-actions{gap:9px}.sync-status:not(:empty){padding:10px 16px;background:#fff3d8;color:#7e5a26;font-size:12px}.sync-status button{font-size:11px;padding:3px 8px}.admin-intro{padding:14px 17px;background:#f0f5ef;border-radius:10px}.admin-intro p{margin:0 0 8px}.admin-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.admin-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;text-align:left;padding:15px;border-radius:0;border:0;border-bottom:1px solid var(--line)}.admin-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.admin-row>span:last-child{white-space:nowrap;color:var(--green);font-size:12px}.admin-footnote{font-size:11px;color:var(--muted);margin:20px 0 5px}#admin-dialog{max-width:850px}#admin-body{padding:20px 28px;max-height:68dvh;overflow:auto;font-size:13px}#admin-body label{display:block;font-size:12px;margin:12px 0;color:#435e50}#admin-body input,#admin-body select,#admin-body textarea{display:block;width:100%;font:inherit;font-size:14px;padding:10px;margin-top:5px;border:1px solid #ccd8ce;border-radius:7px;background:white;color:var(--ink)}#admin-body textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-section{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.form-section h3{margin:12px 0}.form-section>small{display:block;color:var(--muted);margin-top:9px;font-size:11px}.form-hint{font-size:12px;color:#6e7c73;line-height:1.7}.form-error{color:#a33124;font-weight:600}.save-bar{display:flex;gap:12px;justify-content:flex-end;align-items:center;position:sticky;bottom:-20px;padding:14px 0;background:#fff;border-top:1px solid var(--line)}.save-bar span{font-size:11px;color:var(--muted)}button:disabled{opacity:.5;cursor:wait}.back-link{border:0;padding:4px 0;color:var(--green)}.history-section{margin-top:22px;border-top:1px solid var(--line);padding-top:10px}.history-section details{background:#f4f7f1;margin:8px 0;padding:12px;border-radius:8px;font-size:12px}.history-section summary{cursor:pointer}.history-section p{overflow-wrap:anywhere}#history-list{font-size:12px;color:#66786b}#app-toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:20;background:#254e3c;color:white;padding:13px 20px;border-radius:10px;box-shadow:0 4px 20px #0002;max-width:90vw;font-size:13px}.verification{margin-top:14px}.verification p{overflow-wrap:anywhere}
@media(max-width:620px){.region-label{font-size:9px;margin-bottom:7px}.region-label select{font-size:11px;padding:5px;margin-top:1px}.sidebar{height:53%;min-height:350px}.header-actions{gap:5px}.header-actions button{padding:5px 7px;font-size:10px}.brandmark{display:none}#admin-body{padding:14px 18px;max-height:70dvh}.form-grid{grid-template-columns:1fr}.save-bar{bottom:-14px}.save-bar span{display:none}.admin-toolbar button{font-size:12px}.admin-row{padding:12px 2px}.admin-footnote{line-height:1.7}}
