
:root{font-family:'DM Sans',sans-serif;color:#23372f;background:#fff;--green:#205b43;--muted:#768079}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}header{height:88px;border-bottom:1px solid #e6eae6;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:25px}.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:23px;letter-spacing:-1px;text-decoration:none;color:#263e32;display:flex;align-items:center}.brand>span:not(.logo){color:#518264}.brand i{width:7px;height:7px;background:#eead55;border-radius:50%;margin:15px 0 0 3px}.logo{background:#235d43;color:white;border-radius:13px;font-size:28px;width:40px;height:40px;text-align:center;margin-right:10px}nav{display:flex;gap:36px;height:100%;align-items:center}nav a,nav button{font-size:14px;text-decoration:none;color:#737d76;background:none;border:0}nav .active{color:#265b43;align-content:center;border-bottom:3px solid #265b43;height:100%;font-weight:700}.primary{background:var(--green);color:white;border:0;border-radius:9px;padding:14px 20px;font-weight:600;font-size:14px}main{display:grid;grid-template-columns:410px 1fr;height:calc(100dvh - 88px)}aside{padding:32px 26px;overflow:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:#5c876f;font-weight:700}h1{font-family:Manrope,sans-serif;font-size:28px;line-height:1.37;letter-spacing:-1.1px;margin:15px 0 13px;font-weight:800}h1 span{color:#dd9d4a}.intro{font-size:13px;line-height:1.8;color:#7a827c}.search{display:flex;align-items:center;background:#f5f7f4;border:1px solid #e7ebe5;border-radius:9px;margin:25px 0 17px;padding:10px 13px;gap:9px}.search span{font-size:24px;color:#7b887d}.search input{width:100%;background:none;border:0;outline:0;font-size:13px}.filters{display:flex;gap:8px;padding-bottom:22px;border-bottom:1px solid #e9ece7}.filters button{border:1px solid #e4e8e2;border-radius:20px;background:#fff;padding:8px 15px;font-size:12px;color:#748078}.filters .selected{background:#eaf2e9;border-color:#eaf2e9;color:#315f42;font-weight:700}.list-title{display:flex;justify-content:space-between;align-items:center;margin:23px 0 15px;font-size:12px}.list-title>span{font-size:10px;color:#92978f}#count{color:#818b7f;background:#f0f3ec;border-radius:5px;padding:2px 6px;margin-left:5px}.card{width:100%;text-align:left;background:#fff;border:1px solid #e4e9e0;border-radius:12px;padding:16px;margin-bottom:11px;transition:.2s}.card:hover{border-color:#5a8867;transform:translateY(-1px)}.card-top{display:flex;justify-content:space-between;align-items:center}.badge{font-size:10px;border-radius:5px;padding:5px 7px;background:#fff0e8;color:#c47143}.badge.high{color:#c66352;background:#fceae6}.badge.resolved{color:#44835b;background:#eaf3e9}.card time{font-size:10px;color:#9a9f97}.card h3{font-size:14px;margin:12px 0 6px;font-weight:700}.card p{font-size:12px;line-height:1.6;color:#8c9289;margin:0}.card-bottom{display:flex;gap:16px;border-top:1px solid #f0f1ed;padding-top:11px;margin-top:12px;font-size:10px;color:#788773}.community{background:#f3f5ee;padding:16px;border-radius:10px;display:flex;gap:13px;margin-top:23px}.community>span{font-size:26px;color:#658b5f}.community strong{font-size:12px}.community p{font-size:11px;color:#929888;line-height:1.6;margin:5px 0 0}.demo{display:block;color:#949b90;font-size:9px;line-height:1.6;margin-top:16px}.map-shell{position:relative;min-width:0}#map{height:100%;width:100%;background:#e9eddf}.map-top{position:absolute;z-index:500;top:23px;left:24px;right:24px;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.map-top>*{pointer-events:auto;background:#fff;border:1px solid #edf0e8;border-radius:9px;padding:13px 16px;box-shadow:0 3px 15px #334d2810;font-size:11px}.city{display:flex;align-items:center;gap:9px;color:#8a9388}.city b{color:#3f5144}.dot{width:4px;height:4px;border-radius:50%;background:#a3ae9a}.map-top button{color:#4e6754}.legend{position:absolute;bottom:27px;left:24px;z-index:500;background:#fff;border-radius:8px;padding:13px 16px;display:flex;gap:18px;font-size:10px;color:#7c8579;box-shadow:0 2px 12px #0001}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:50%}.red{background:#d87962}.orange{background:#dfa152}.green{background:#5d9671}.map-note{position:absolute;z-index:500;right:22px;bottom:65px;color:#597253;font-size:10px;background:#ffffffb8;padding:7px;border-radius:5px}#map-hint{position:absolute;top:87px;left:50%;transform:translateX(-50%);z-index:500;background:#fffef2;padding:10px 18px;border-radius:30px;font-size:11px;white-space:nowrap;box-shadow:0 3px 15px #0001}.pin{border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);width:35px;height:35px;box-shadow:0 3px 8px #34462a45;display:flex;align-items:center;justify-content:center;background:#d87962}.pin span{transform:rotate(45deg);color:#fff;font-weight:bold;font-size:17px}.pin.moderate,.pin.low{background:#dfa152}.pin.resolved{background:#5d9671}.leaflet-control-zoom{border:0!important;box-shadow:0 2px 10px #0001!important;margin:0 24px 85px 0!important}.leaflet-control-zoom a{color:#486148!important;border:0!important;border-radius:6px}dialog{border:0;border-radius:18px;padding:32px;width:460px;max-width:calc(100vw - 28px);max-height:90dvh;color:#293e30;box-shadow:0 20px 100px #122c2b30}dialog::backdrop{background:#142e2455;backdrop-filter:blur(3px)}.close{position:absolute;right:15px;top:12px;font-size:25px;border:0;background:none;color:#849080}h2{font-family:Manrope,sans-serif;letter-spacing:-.7px}.muted{color:#859080;font-size:12px;line-height:1.7}label{display:block;font-size:12px;font-weight:600;margin:17px 0}label input,textarea,select{display:block;width:100%;margin-top:8px;padding:11px;border:1px solid #dfe5da;border-radius:7px;background:white;color:#354c3b}textarea{min-height:88px;resize:vertical}.upload{border:1px dashed #a3b89b;background:#f5f8f0;padding:14px;border-radius:8px;cursor:pointer}.upload input{font-size:10px}#photo-preview,.detail-photo{width:100%;max-height:220px;object-fit:cover;border-radius:9px}form>.primary{width:100%}.actions{display:flex;gap:8px;margin:20px 0}.actions button{border:1px solid #dce5d5;background:#f3f7ee;padding:10px;border-radius:7px;color:#48623e;font-size:12px}.comment{background:#f5f7f0;padding:12px;border-radius:8px;font-size:12px;line-height:1.6;margin:8px 0}.comment strong{display:block}#comment-form{display:flex;gap:8px;margin-top:15px}#comment-form input{min-width:0;flex:1;padding:10px;border:1px solid #dce5d5;border-radius:7px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#234d37;color:white;border-radius:9px;padding:13px 20px;z-index:2000;font-size:13px;display:none}#form-error{color:#b95143;font-size:12px}@media(min-width:1500px){main{grid-template-columns:440px 1fr}aside{padding:38px}}@media(max-width:850px){header{height:72px;padding:0 16px}.brand{font-size:18px}.logo{width:33px;height:33px;font-size:24px}nav{display:none}header .primary{font-size:11px;padding:12px}main{height:auto;display:flex;flex-direction:column-reverse}.map-shell{height:54dvh;min-height:350px}aside{padding:25px 20px}h1{font-size:26px}h1 br{display:none}.map-top{left:12px;right:12px;top:13px}.map-top>*{padding:11px;font-size:10px}.city .dot,.city .dot+span{display:none}.map-top button span{display:none}#map-hint{font-size:9px;top:64px}.legend{bottom:24px;left:12px;gap:12px;font-size:9px}.map-note{display:none}}
.nearby-actions{position:absolute;z-index:600;top:130px;left:24px;right:24px;display:flex;gap:8px;flex-wrap:wrap;pointer-events:none}.nearby-actions button{pointer-events:auto;border:1px solid #dce5d5;border-radius:9px;padding:12px 15px;background:white;color:#29573e;box-shadow:0 3px 12px #0001;font-size:12px}.nearby-actions .primary{background:#205b43;color:white}.nearby-actions [hidden]{display:none}.photo-actions{display:flex;gap:10px}.photo-actions label{flex:1;min-width:0;text-align:center}.photo-actions input{width:100%;font-size:10px}button:disabled{opacity:.6;cursor:wait}#map-hint{max-width:calc(100% - 28px);white-space:normal;text-align:center;width:max-content}@media(max-width:850px){.nearby-actions{top:118px;left:12px;right:12px}.nearby-actions button{font-size:10px;padding:10px}}
.card-thumb{width:64px;height:48px;object-fit:cover;float:right;margin:0 0 8px 10px;border-radius:6px}.ad-slot{margin-top:20px;border:1px dashed #cbd6c5;padding:18px;text-align:center;border-radius:10px;min-height:135px;background:#f9faf6}.ad-slot small{display:block;font-size:9px;letter-spacing:2px;color:#929d8b;margin-bottom:12px}.ad-slot strong{font-size:12px}.ad-slot p{font-size:10px;color:#85917d}.privacy-link,#remove-photo{background:none;border:0;color:#416548;text-decoration:underline;padding:12px 0;font-size:12px}#cookie-banner{position:fixed;z-index:1800;bottom:16px;left:16px;max-width:520px;background:white;border:1px solid #dbe4d4;border-radius:14px;padding:20px;box-shadow:0 6px 40px #1d392c33;font-size:13px}#cookie-banner p{font-size:12px;line-height:1.6;color:#6c7967}#cookie-banner div{display:flex;gap:8px;flex-wrap:wrap}#cookie-banner button{border:1px solid #50745a;background:white;color:#315c3d;border-radius:7px;padding:10px;font-size:11px}#cookie-banner[hidden]{display:none}#privacy-dialog input[type=checkbox]{display:inline-block;width:auto;margin:0 6px 0 0}#privacy-dialog h3{font-size:14px}#photo-status{overflow-wrap:anywhere}@media(max-width:600px){#cookie-banner{left:10px;right:10px;bottom:10px;padding:16px}}
.pin.high,.red{background:#dc3545}.pin.moderate,.orange{background:#ef8424}.pin.low,.yellow{background:#f3cd32}.pin.low span{color:#584800}.pin.resolved,.green{background:#309b58}.badge.high{background:#fde8eb;color:#a32232}.badge.moderate{background:#fff0e2;color:#9a4c08}.badge.low{background:#fff7c9;color:#746000}.badge.resolved{background:#e5f5e9;color:#216b37}.legend{flex-wrap:wrap;max-width:calc(100% - 24px)}#comment-form{display:block;padding:18px 0;border-top:1px solid #dce5d5}#comment-form label{font-size:13px}#comment-form textarea{width:100%;min-height:90px}#comment-feedback{font-size:12px;color:#286139;line-height:1.6}.actions{flex-wrap:wrap}.user-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px}.damage{background:#fff5e8;border-left:3px solid #ef8424;padding:12px;border-radius:7px;margin:12px 0;font-size:12px}.damage p{margin:6px 0 0}.resolution-note{background:#e9f6ec;color:#27643c;padding:13px;border-radius:8px;font-size:12px;line-height:1.7}.comment p{margin:7px 0}#detail-content h3{font-size:15px}#detail{scroll-behavior:smooth}

/* Mobile readability, touch targets and narrow-screen overflow. */
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dfa152;outline-offset:3px}.card h3,.card p,.comment,.muted{overflow-wrap:anywhere}#toast{max-width:calc(100vw - 32px);width:max-content;text-align:center}#cookie-banner{bottom:max(12px,env(safe-area-inset-bottom));}#cookie-dismiss{background:#205b43!important;color:white!important}@media(max-width:850px){input,textarea,select{font-size:16px!important}button,.privacy-link{min-height:44px}.legend{right:12px;flex-wrap:wrap;gap:8px 12px;width:max-content;max-width:calc(100% - 24px)}dialog{padding:25px 20px;max-height:calc(100dvh - 24px);overscroll-behavior:contain}dialog h2{padding-right:22px}.close{min-width:44px;min-height:44px;right:6px;top:5px}.actions{flex-wrap:wrap}.photo-actions{gap:8px}.photo-actions label{font-size:12px}.map-top button{min-width:44px}.leaflet-control-zoom a{min-width:36px;min-height:36px;line-height:36px!important}#cookie-banner{font-size:14px}#cookie-banner button{font-size:13px;min-height:44px}}@media(max-width:360px){header{padding:0 10px;gap:8px}.brand{font-size:16px}.logo{margin-right:6px}header .primary{font-size:10px;padding:10px}.legend{font-size:8px;gap:8px}.city{gap:5px}.map-top>*{padding:9px}}
.place-search{position:relative;width:360px;max-width:calc(100% - 58px);padding:0!important;min-width:0}.place-search form{display:flex;align-items:center;min-width:0}.place-search input{width:100%;min-width:0;border:0;background:transparent;padding:14px 0;color:#294b39;font:inherit;font-size:14px;outline-offset:-3px}.place-search form button{display:flex;align-items:center;justify-content:center;background:none;border:0;min-width:44px;min-height:46px;padding:8px;color:#42664f}.place-search input::placeholder{color:#617367}#place-results{position:absolute;left:0;right:0;top:calc(100% + 8px);background:white;border-radius:10px;box-shadow:0 5px 24px #1233;max-height:260px;overflow:auto;padding:8px}#place-results[hidden],#place-clear[hidden]{display:none}#place-status{padding:4px 7px;font-size:12px;line-height:1.5;margin:4px 0}#place-options button{display:block;text-align:left;width:100%;border:0;border-top:1px solid #e9eee9;background:white;padding:12px 8px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;font-size:13px}#place-options button:hover{background:#eff5f0}#place-results small{display:block;padding:8px 7px;color:#718173;font-size:10px}@media(max-width:850px){.place-search{flex:1;width:auto}.place-search input{padding:12px 0}.map-top>#locate{flex:none;padding:8px}.map-top{gap:8px}}
.map-top{z-index:700}
#place-results small a{color:inherit;text-decoration:none}#place-results small a:hover{text-decoration:underline}
/* Location selection and wide-screen map workspace. */
.leaflet-control-attribution a[href*="openstreetmap"]{color:#647269;text-decoration:none}.leaflet-control-attribution a[href*="leaflet"]{color:#0078a8}.draft-marker{filter:drop-shadow(0 5px 5px #133a3a55)}#point-picker{position:absolute;z-index:650;bottom:70px;left:50%;transform:translateX(-50%);width:360px;max-width:calc(100% - 32px);background:white;border:1px solid #e1e8e1;border-radius:18px;padding:18px;box-shadow:0 10px 40px #1b3f3726}#point-picker[hidden],#nearby[hidden]{display:none}.picker-heading{display:flex;align-items:center;gap:12px}.picker-symbol{display:grid;place-items:center;background:#eaf3ee;color:#205b43;width:40px;height:40px;border-radius:12px;font-size:28px;flex-shrink:0}.picker-heading strong{font-size:15px}.picker-heading p{font-size:12px;color:#68796e;line-height:1.5;margin:5px 0 0}#point-label{font-size:11px;color:#748078;margin:12px 0}.picker-adjust{display:flex;gap:6px;align-items:center;border-top:1px solid #edf1ed;padding-top:12px}.picker-adjust span{font-size:11px;color:#718075;margin-right:auto}.picker-adjust button{width:34px;height:34px;border:1px solid #dee7df;background:#f8faf8;border-radius:8px;color:#335e45}.picker-buttons{display:flex;gap:10px;margin-top:14px}.picker-buttons button{padding:12px;min-height:44px;border-radius:10px;font-size:12px;font-weight:600}.picker-buttons #cancel-point{border:1px solid #dce5dd;background:white;color:#607368}.picker-buttons #confirm-point{flex:1}.map-note{display:none}.nearby-actions{top:90px}.legend{bottom:24px;box-shadow:0 4px 20px #234d281a}.map-top>*{border-radius:14px}.card-bottom{flex-wrap:wrap;gap:8px 15px}
@media(min-width:768px){header{height:76px;padding:0 28px;gap:20px}header .brand{font-size:22px}nav{display:flex;gap:24px}nav a,nav button{font-size:13px}main{display:grid;grid-template-columns:clamp(300px,28vw,390px) minmax(0,1fr);height:calc(100dvh - 76px);min-height:530px;flex-direction:initial}aside{padding:28px 24px;overflow:auto;min-height:0;border-right:1px solid #e7ece7;background:#fafcf9}.map-shell{height:100%;min-height:0}h1{font-size:clamp(23px,2vw,28px);line-height:1.35}h1 br{display:none}.intro{font-size:13px}.search{margin:22px 0 16px;background:white;min-height:46px}.card{padding:18px;border-radius:15px;box-shadow:0 2px 6px #173b2804}.map-top{top:20px;left:20px;right:20px;gap:12px}.place-search{width:390px;flex:0 1 390px;max-width:calc(100% - 60px)}.place-search input{font-size:15px!important;padding:15px 0}.map-top>#locate{min-width:48px;padding:10px 14px}.map-top>#locate span{display:none}.nearby-actions{top:90px;left:20px;right:20px}.nearby-actions button{font-size:12px;min-height:44px}.legend{left:20px;right:auto;width:max-content;padding:12px 15px;font-size:10px;gap:10px 16px}#cookie-banner{max-width:380px;padding:18px}.community{margin-top:20px}#point-picker{bottom:78px}}
@media(min-width:768px) and (max-width:1100px){header{padding:0 20px}nav{gap:16px}header .brand{font-size:20px}header .primary{font-size:12px;padding:12px 15px}main{grid-template-columns:300px minmax(0,1fr)}aside{padding:24px 20px}.filters{gap:6px}.filters button{padding:8px 12px}#point-picker{bottom:90px;width:320px;padding:15px}.legend{font-size:9px;gap:8px 12px}#place-results{max-height:220px}}
@media(max-width:767px){.nearby-actions{top:78px}#point-picker{bottom:62px;padding:14px;border-radius:15px;max-width:calc(100% - 24px)}.picker-heading p{font-size:11px}.picker-adjust{padding-top:8px}.picker-adjust button{min-width:36px;min-height:36px}#point-label{margin:8px 0}.picker-buttons{margin-top:10px}.map-shell:has(#point-picker:not([hidden])){height:650px;max-height:calc(100dvh - 72px);min-height:500px}.legend{font-size:9px}.picker-heading strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Identity and interface refinement — October 2026. */
:root{--green:#174c38;--muted:#617369;color:#213e30;background:#f3f5ef}body{background:#f3f5ef}header{background:#fff;border-color:#e4e9e1}.brand{gap:10px;letter-spacing:-.6px;flex-shrink:0}.brand-icon{width:44px;height:44px}.brand .brand-wordmark{display:flex;flex-direction:column;color:#174c38!important;font-size:13px;line-height:1.15;letter-spacing:.1px;font-weight:700}.brand-wordmark strong{font-size:26px;letter-spacing:-1.1px}.brand-wordmark strong span{color:#c28b29}.primary{background:#174c38;border-radius:12px;min-height:46px;box-shadow:0 3px 7px #174c3814;font-weight:700;transition:background .15s,box-shadow .15s}.primary:hover{background:#226448;box-shadow:0 4px 14px #174c382b}nav .active{border-bottom:0;position:relative}nav .active:after{content:'';position:absolute;bottom:17px;height:3px;width:22px;background:#dca53d;left:calc(50% - 11px);border-radius:3px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#52705e}h1{font-size:29px;line-height:1.22;letter-spacing:-1.25px;margin:15px 0}h1 span{color:#c28b29}.intro{font-size:14px;color:#62736a;line-height:1.7}.search{background:#fff;border-color:#dbe3d9;border-radius:12px;padding:12px;gap:10px}.search svg{flex:none;color:#687d70}.search input{font-size:14px;color:#263f30}.filters{gap:7px;padding-bottom:19px}.filters button{min-height:40px;padding:8px 14px;color:#52665a;font-size:12px;border-color:#dce4d9;font-weight:600}.filters .selected{background:#174c38;color:white;border-color:#174c38}.list-title{font-size:13px;margin:23px 0 7px}.list-title>span{font-size:11px;color:#6b7d70}#database-status{font-size:11px;color:#667b6b;margin:8px 0 16px}.card{padding:18px;border-radius:16px;border-color:#dde5d9;box-shadow:0 3px 12px #193d2705}.card:hover{border-color:#719680;box-shadow:0 6px 20px #193d2710}.card h3{font-size:15px;line-height:1.5;margin:13px 0 8px;color:#243e30}.card p{font-size:13px;color:#67786c;line-height:1.65}.card time{font-size:11px;color:#718073}.badge{font-size:11px;font-weight:700;padding:6px 9px;border-radius:7px}.card-bottom{font-size:11px;color:#627663;padding-top:13px}.card-thumb{width:78px;height:65px;border-radius:10px}.community{background:#eaf0e3;border:1px solid #dfe8d7;border-radius:16px;padding:18px}.community strong{font-size:13px;color:#36583c}.community p{font-size:12px;color:#62755d}.demo{font-size:10px;color:#6c7d6c;margin-top:4px}.privacy-link{font-size:12px;color:#546f59}.map-top>*{border:1px solid #dce5d8;box-shadow:0 5px 22px #183c2520;border-radius:15px}.place-search input{font-size:15px}.nearby-actions .primary{background:#fff;color:#174c38;border:1px solid #d6e2d2;border-radius:12px;font-size:12px;font-weight:700}.nearby-actions .primary:hover{background:#edf4e8}.legend{border:1px solid #dfe7dc;border-radius:12px;font-size:11px;color:#4e6253;gap:10px 17px;padding:13px 16px}.legend i{width:8px;height:8px}.leaflet-control-attribution{font-size:10px!important;background:#ffffffdf!important}.picker-symbol{font-family:Manrope,sans-serif;font-size:14px;font-weight:800;color:#174c38;background:#eaf0e3}.picker-heading strong{font-size:16px}.picker-heading p{font-size:12px;color:#607366}#point-picker{border-color:#d5e1d2;border-radius:20px;box-shadow:0 12px 45px #163b352b}.picker-adjust button{min-height:40px;min-width:40px}.picker-adjust button:hover{background:#e9f1e5}dialog{width:520px;border-radius:24px;padding:32px;color:#243e30}dialog h2{font-size:26px;margin:15px 0 10px;line-height:1.25}dialog::backdrop{background:#102c2366;backdrop-filter:blur(5px)}.close{background:#f1f5ed;border-radius:50%;width:36px;height:36px;font-size:25px;line-height:1;right:15px;top:15px}.muted{color:#637567;font-size:13px;line-height:1.7}label{font-size:13px;margin:20px 0;color:#2d4b37}label input,textarea,select{border-color:#d7e1d2;border-radius:10px;padding:13px;background:#fcfdfb;line-height:1.5}textarea{min-height:100px}.upload{border-color:#b8cbb1;border-radius:12px;background:#f2f6ed;padding:16px 10px;font-size:13px}.photo-actions{gap:12px}.photo-actions input{font-size:11px;padding:7px 0;background:none;border:0}.actions button{min-height:44px;border-radius:10px;font-size:13px}.comment{padding:16px;border:1px solid #e3eadc;border-radius:12px;font-size:13px;background:#f6f8f2}.damage{font-size:13px;background:#fff7ea;padding:15px}.resolution-note{font-size:13px;padding:16px}#cookie-banner{border-radius:18px;border-color:#dce5d7;padding:20px;box-shadow:0 8px 40px #203d2526}#cookie-banner p{color:#62735f;font-size:12px;margin:8px 0 14px}#cookie-banner button{min-height:40px;padding:10px 16px;border-radius:9px}#cookie-banner strong{font-size:14px}#toast{border-radius:12px;line-height:1.5}.ad-slot{display:none}
@media(min-width:768px){header{height:82px;padding:0 30px}main{height:calc(100dvh - 82px);padding:16px;gap:16px;grid-template-columns:340px minmax(0,1fr);min-height:560px}aside{background:#f8faf5;border:1px solid #e1e8dc;border-radius:20px;padding:26px 22px}.map-shell{border-radius:20px;overflow:hidden;border:1px solid #dce5d5;box-shadow:0 3px 15px #233c2506}.map-top{top:18px;left:18px;right:18px}.nearby-actions{top:86px;left:18px}.legend{left:18px;bottom:25px}h1 br{display:block}#point-picker{bottom:85px}.place-search{flex-basis:360px}.map-top>#locate span{display:none}}
@media(min-width:1200px){main{grid-template-columns:370px minmax(0,1fr);padding:20px;gap:20px}aside{padding:30px 26px}h1{font-size:30px}.map-top>#locate span{display:inline}.place-search{max-width:calc(100% - 180px)}}
@media(min-width:768px) and (max-width:1000px){main{grid-template-columns:290px minmax(0,1fr);padding:12px;gap:12px}aside{padding:23px 18px}h1{font-size:25px}.intro{font-size:13px}.filters{gap:5px}.filters button{padding:8px 11px}nav{gap:18px}header{padding:0 20px}.legend{font-size:10px;gap:9px 12px;max-width:calc(100% - 36px)}#point-picker{bottom:100px}}
@media(max-width:767px){header{height:76px;padding:0 16px;gap:12px}.brand-icon{width:38px;height:38px}.brand .brand-wordmark{font-size:11px}.brand-wordmark strong{font-size:23px}header .primary{font-size:12px;padding:11px 13px;border-radius:11px}main{background:#f3f5ef}.map-shell{height:58dvh;min-height:400px;border-bottom:1px solid #d9e3d1}aside{position:relative;padding:28px 22px;background:#f8faf5;border-radius:24px 24px 0 0;margin-top:-13px;z-index:800;border-top:1px solid #dfe6d9}h1{font-size:29px;max-width:340px}h1 br{display:block}.intro{max-width:460px}.map-top{top:14px;left:14px;right:14px}.nearby-actions{top:78px;left:14px;right:14px}.nearby-actions .primary{font-size:12px;padding:12px 14px;min-height:44px}.legend{bottom:35px;left:14px;right:14px;max-width:calc(100% - 28px);font-size:10px;gap:8px 12px;padding:12px}.map-shell:has(#point-picker:not([hidden])){max-height:calc(100dvh - 76px);min-height:520px;height:700px}#point-picker{bottom:87px;padding:16px}.picker-heading strong{font-size:15px}.picker-buttons button{font-size:12px}.leaflet-control-attribution{margin-bottom:14px!important}dialog{padding:28px 20px;border-radius:20px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}dialog h2{font-size:25px;padding-right:24px}.close{min-width:40px;min-height:40px;right:10px;top:10px}#cookie-banner{left:12px;right:12px;max-width:none;padding:17px}#cookie-banner button{min-height:44px}.photo-actions{gap:8px}.photo-actions label{font-size:12px}}
@media(max-width:360px){header{padding:0 10px;gap:8px}.brand{gap:7px}.brand-icon{width:32px;height:32px}.brand-wordmark strong{font-size:21px}header .primary{font-size:11px;padding:10px}aside{padding:26px 18px}.legend{font-size:9px;gap:8px 10px}}
.upload{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:64px}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.upload:focus-within{outline:3px solid #dfa152;outline-offset:3px}body:has(dialog[open]){overflow:hidden}
.filters button{white-space:nowrap;flex:1;padding-left:9px;padding-right:9px}.brand-icon{object-fit:contain}
/* Theme: only map tiles are tinted, preserving marker and photo colors. */
:root{color-scheme:light}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}#theme-toggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #dce5d7;background:#f5f8f0;color:#315740;border-radius:12px}#theme-toggle:hover{background:#e8f0e1}.theme-sun{display:none}[data-theme=dark]{color-scheme:dark;--green:#94d8b4;--muted:#adbdaf;background:#101b17;color:#e4eee4}[data-theme=dark] body,[data-theme=dark] main{background:#101b17;color:#e4eee4}[data-theme=dark] header{background:#14231c;border-color:#2c3e31}[data-theme=dark] .brand .brand-wordmark{color:#e2efe3!important}[data-theme=dark] .brand-wordmark strong span,[data-theme=dark] h1 span{color:#e7bc61}[data-theme=dark] nav a,[data-theme=dark] nav button{color:#adbdaf}[data-theme=dark] nav .active{color:#b3e4c5}[data-theme=dark] #theme-toggle{background:#24372b;border-color:#3b5040;color:#f0ce7f}[data-theme=dark] #theme-toggle:hover{background:#314636}[data-theme=dark] .theme-sun{display:block}[data-theme=dark] .theme-moon{display:none}[data-theme=dark] aside{background:#16241c;border-color:#2c3e30}[data-theme=dark] .eyebrow{color:#a0c3a7}[data-theme=dark] .intro,[data-theme=dark] .muted,[data-theme=dark] .card p,[data-theme=dark] .card time,[data-theme=dark] .card-bottom,[data-theme=dark] .list-title>span,[data-theme=dark] #database-status,[data-theme=dark] .demo{color:#adbdaf}[data-theme=dark] .search,[data-theme=dark] .card{background:#1d2f23;border-color:#374b39;box-shadow:none}[data-theme=dark] .card h3{color:#e4eee4}[data-theme=dark] .card:hover{border-color:#8ab596;background:#22382a}[data-theme=dark] .card-bottom,[data-theme=dark] .filters{border-color:#344635}[data-theme=dark] .search input,[data-theme=dark] .search svg{color:#d5e4d6}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#9eafa1;opacity:1}[data-theme=dark] .filters button{background:#1b2d21;color:#c0cfc0;border-color:#3b4f3c}[data-theme=dark] .filters .selected,[data-theme=dark] .primary{background:#a4deba;color:#123621;border-color:#a4deba;box-shadow:none}[data-theme=dark] .primary:hover{background:#bcebcf}[data-theme=dark] #count{background:#2c4432;color:#c5d9c7}[data-theme=dark] .community{background:#233729;border-color:#3b503c}[data-theme=dark] .community strong,[data-theme=dark] .community p,[data-theme=dark] .community>span,[data-theme=dark] .privacy-link,[data-theme=dark] #remove-photo{color:#b9d5bb}[data-theme=dark] .map-shell{border-color:#344635}[data-theme=dark] #map{background:#1c2e24}[data-theme=dark] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.78) saturate(.65)}[data-theme=dark] .map-top>*,[data-theme=dark] #place-results,[data-theme=dark] #place-options button,[data-theme=dark] .legend,[data-theme=dark] #point-picker{background:#1c2f23;border-color:#3f5440;color:#d8e5d7;box-shadow:0 5px 25px #0005}[data-theme=dark] .place-search input,[data-theme=dark] .place-search form button,[data-theme=dark] .map-top button{color:#d8e5d7}[data-theme=dark] #place-options button{border-color:#3c503e;box-shadow:none}[data-theme=dark] #place-options button:hover{background:#2c4431}[data-theme=dark] #place-results small,[data-theme=dark] #place-status,[data-theme=dark] .picker-heading p,[data-theme=dark] #point-label,[data-theme=dark] .picker-adjust span{color:#b0c4b2}[data-theme=dark] .nearby-actions .primary{background:#a4deba;color:#123621;border-color:#a4deba}[data-theme=dark] .picker-symbol{background:#324e39;color:#c2e5c7}[data-theme=dark] .picker-adjust{border-color:#3b503c}[data-theme=dark] .picker-adjust button,[data-theme=dark] #cancel-point{background:#283e2e;color:#d4e7d5;border-color:#48634b}[data-theme=dark] .picker-adjust button:hover{background:#38553e}[data-theme=dark] .leaflet-control-attribution{background:#16241de8!important;color:#abbcae}[data-theme=dark] .leaflet-control-attribution a[href*="openstreetmap"]{color:#b2bfb3}[data-theme=dark] .leaflet-control-attribution a[href*="leaflet"]{color:#7ecdf3}[data-theme=dark] dialog{background:#192a20;color:#e4eee4;box-shadow:0 20px 100px #0008}[data-theme=dark] dialog::backdrop{background:#0009}[data-theme=dark] .close{background:#2c4130;color:#d5e3d4}[data-theme=dark] label{color:#d0e0d0}[data-theme=dark] label input,[data-theme=dark] textarea,[data-theme=dark] select,[data-theme=dark] #comment-form input{background:#122219;border-color:#466048;color:#e0ece0}[data-theme=dark] .upload{background:#243b2b;border-color:#607d5e}[data-theme=dark] .actions button{background:#2a422f;border-color:#526c4e;color:#d3e6d1}[data-theme=dark] .comment{background:#203625;border-color:#3b543c;color:#dae7d6}[data-theme=dark] #comment-form{border-color:#3b543c}[data-theme=dark] .damage{background:#3e3120;color:#f3d5a4}[data-theme=dark] .resolution-note{background:#23452d;color:#c2e8c5}[data-theme=dark] #comment-feedback{color:#ace5b8}[data-theme=dark] #form-error{color:#ffb5b5}[data-theme=dark] #cookie-banner{background:#1c2f23;border-color:#4b6347;color:#e0ecdc}[data-theme=dark] #cookie-banner p{color:#b6c7b2}[data-theme=dark] #cookie-banner button{background:#253e2b;border-color:#698361;color:#d5e6cd}[data-theme=dark] #cookie-dismiss{background:#a4deba!important;color:#123621!important}[data-theme=dark] .badge.high{background:#572b34;color:#ffb8c1}[data-theme=dark] .badge.moderate{background:#51361f;color:#ffd09e}[data-theme=dark] .badge.low{background:#49421b;color:#f7e38b}[data-theme=dark] .badge.resolved{background:#254b30;color:#b4e6be}
@media(max-width:767px){.header-actions{gap:8px}#theme-toggle{width:40px;min-width:40px;height:44px}header{gap:8px;padding:0 12px}header .primary{font-size:11px;padding:10px 11px}.brand{gap:8px}.brand-icon{width:34px;height:34px}.brand-wordmark strong{font-size:21px}}
@media(max-width:360px){header{padding:0 9px}.header-actions{gap:6px}header .primary{font-size:10px;padding:10px 8px}.brand-wordmark strong{font-size:19px}.brand-icon{width:30px;height:30px}.brand{gap:6px}}
[data-theme=dark] .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(1.12) contrast(.82) saturate(.55)}
/* Keep search fields readable in all native and focused states. */
.place-search input{background:transparent;color:inherit;box-shadow:none;border-radius:0;appearance:none}.place-search input:focus-visible{outline-offset:-4px}.place-search input::placeholder{color:#617367;opacity:1}[data-theme=dark] .place-search input::placeholder{color:#b7cbb9}[data-theme=dark] .place-search input:autofill{box-shadow:0 0 0 1000px #1c2f23 inset;color:#d8e5d7}[data-theme=dark] .place-search input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #1c2f23 inset;-webkit-text-fill-color:#d8e5d7;caret-color:#d8e5d7}#place-options button{min-height:48px}#place-options button:focus-visible{outline-offset:-3px}#place-options button:hover{background:#e8f0e2}[data-theme=dark] #place-options button:hover,[data-theme=dark] #place-options button:focus-visible{background:#304b35}#place-results{overscroll-behavior:contain;scrollbar-gutter:stable}#place-clear{font-size:22px!important}#place-status{min-height:18px}
/* Explicit caret colors: native browser defaults can disappear on dark fields. */
input,textarea{caret-color:#174c38}[data-theme=dark] input,[data-theme=dark] textarea{caret-color:#f4cf76}.search:focus-within,.place-search:focus-within{border-color:#43784d;box-shadow:0 0 0 3px #43784d33}[data-theme=dark] .search:focus-within,[data-theme=dark] .place-search:focus-within{border-color:#e7bc61;box-shadow:0 0 0 3px #e7bc6140}#place-query:focus,#search:focus{outline:0}
