:root{--green:#2e6b4f;--green-dark:#24563f;--green-soft:#e3efe8;--bg:#efe9df;--card:#fff;--text:#1d2420;--muted:#66706a;--line:#e2ddd3;--waste:#b8782a;--tree:#5b8a32;--water:#2f6db5;--danger:#c62828;--radius:18px;--tabbar-h:64px;--safe-bottom:env(safe-area-inset-bottom,0px)}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{color:var(--text);background:var(--bg);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,sans-serif;font-size:17px;line-height:1.45}a{color:var(--green)}h1{margin:0 0 .5rem;font-size:1.5rem;line-height:1.2}h2{margin:1.2rem 0 .4rem;font-size:1.2rem}.page{max-width:560px;padding:16px 16px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);flex-direction:column;gap:16px;margin:0 auto;display:flex}.card{background:var(--card);border-radius:var(--radius);padding:20px;box-shadow:0 1px 3px #0000000f}.card>:last-child{margin-bottom:0}.muted{color:var(--muted)}.placeholder{text-align:center}.notice{background:var(--green-soft);color:var(--green-dark);border-radius:12px;padding:10px 14px}.prose ul{padding-left:1.2rem}.form{flex-direction:column;gap:14px;margin:12px 0;display:flex}.field{flex-direction:column;gap:6px;font-weight:600;display:flex}.field input{font:inherit;border:1px solid var(--line);background:#fbfaf7;border-radius:12px;min-height:48px;padding:12px 14px;font-weight:400}.field input:focus{outline:2px solid var(--green);outline-offset:1px;border-color:#0000}.check{align-items:flex-start;gap:10px;font-size:.95rem;display:flex}.check input{width:22px;height:22px;accent-color:var(--green);flex-shrink:0;margin-top:2px}.error{color:var(--danger);font-weight:500}.links{flex-direction:column;gap:8px;margin-top:16px;display:flex}.btn{min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:12px 20px;font-weight:700;text-decoration:none;display:inline-flex}.btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;width:24px;height:24px}.btn-primary{background:var(--green);color:#fff}.btn-primary:active{background:var(--green-dark)}.btn-secondary{background:var(--green-soft);color:var(--green-dark)}.btn-danger{background:var(--danger);color:#fff}.btn-link{color:var(--muted);background:0 0;font-weight:500;text-decoration:underline}.btn-big{border-radius:var(--radius);min-height:60px;font-size:1.2rem}.tabbar{height:calc(var(--tabbar-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);border-top:1px solid var(--line);z-index:10;background:#fff;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tab{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.8rem;font-weight:600;text-decoration:none;display:flex}.tab svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.tab.is-active{color:var(--green)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}[hidden]{display:none!important}.report-form{flex-direction:column;gap:16px;display:flex}.screen-head{grid-template-columns:44px 1fr 44px;align-items:center;display:grid}.screen-head h1{text-align:center;margin:0;font-size:1.4rem}.back{width:44px;height:44px;color:var(--text);justify-content:center;align-items:center;display:flex}.back svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.form-errors{color:var(--danger);background:#fdecea;border-radius:12px;padding:10px 14px;font-weight:600}.form-errors p{margin:4px 0}.photos{grid-template-columns:1fr 1fr;gap:10px;display:grid}.photo-list{display:contents}.photo-tile,.photo-add{border-radius:var(--radius);height:120px;position:relative;overflow:hidden}.photo-tile img{object-fit:cover;width:100%;height:100%;display:block}.photo-tile.is-loading{color:var(--muted);background:#ddd6c9;justify-content:center;align-items:center;font-size:.9rem;display:flex}.photo-size{color:#fff;background:#1d2420cc;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:600;position:absolute;bottom:8px;left:8px}.photo-remove{color:#fff;cursor:pointer;background:#1d2420bf;border:0;border-radius:50%;width:30px;height:30px;font-size:20px;line-height:1;position:absolute;top:6px;right:6px}.photo-add{color:var(--muted);cursor:pointer;border:2px dashed #cfc6b6;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:.9rem;display:flex}.photo-add input{opacity:0;cursor:pointer;position:absolute;inset:0}.photo-add-group{grid-template-rows:1fr 1fr;gap:8px;height:120px;display:grid}.photo-add-group .photo-add{flex-direction:row;gap:6px;height:auto}.photo-add-group .photo-add svg{width:24px;height:24px}.photo-max{margin:-6px 0 0;font-size:.9rem}.photo-add-camera{border-color:var(--green);color:var(--green);font-weight:700}.photos:not(:has(.photo-tile)) .photo-add-group{grid-column:1/-1;grid-template-rows:2fr 1fr;height:150px}.photo-add svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:32px;height:32px}.location{grid-template-columns:auto 1fr auto;align-items:center;gap:4px 12px;padding:14px 16px;display:grid}.location-pin{font-size:1.5rem}.location-text{flex-direction:column;min-width:0;display:flex}.location-text .warn{color:#a15c00;font-weight:600}.location-move.btn-primary{justify-self:stretch;min-height:48px;padding:10px 16px;text-decoration:none}.location-move{grid-column:1/-1;justify-self:start;min-height:36px;padding:4px 0}.badge{background:var(--green-soft);color:var(--green-dark);border-radius:999px;padding:4px 10px;font-size:.85rem;font-weight:700}.picker-open,.picker-open body{overflow:hidden}.picker{z-index:100;background:#ddd6c9;height:100dvh;position:fixed;top:0;left:0;right:0}.picker-top,.picker-bottom,.picker-cross{z-index:5}.picker .picker-map{width:100%;height:100%;position:absolute;inset:0}.picker-cross{pointer-events:none;filter:drop-shadow(0 2px 3px #00000059);width:40px;height:52px;position:absolute;top:50%;left:50%;transform:translate(-50%,-100%)}.picker-cross svg{width:100%;height:100%;display:block}.picker-top{top:calc(env(safe-area-inset-top,0px) + 12px);background:#fffffff2;border-radius:14px;padding:10px 14px;font-size:.95rem;position:absolute;left:12px;right:60px;box-shadow:0 2px 8px #00000026}.picker-bottom{left:12px;right:12px;bottom:calc(var(--safe-bottom) + 20px);grid-template-columns:1fr 2fr;gap:10px;display:grid;position:absolute}.picker-bottom .btn{min-height:56px;box-shadow:0 4px 14px #0003}.picker .maplibregl-ctrl-top-right{top:calc(env(safe-area-inset-top,0px) + 12px)}.picker .maplibregl-ctrl-bottom-right{bottom:calc(var(--safe-bottom) + 96px)}.group{border:0;margin:0;padding:0}.group legend{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;padding:0;font-size:.85rem;font-weight:700}.group legend small{text-transform:none;letter-spacing:0;font-weight:500}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{position:relative}.chip input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.chip span{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:6px;min-height:44px;padding:8px 16px;font-weight:600;display:inline-flex}.chip input:checked+span{background:var(--green);border-color:var(--green);color:#fff}.chip-waste input:checked+span{background:var(--waste);border-color:var(--waste)}.chip-tree input:checked+span{background:var(--tree);border-color:var(--tree)}.chip-water input:checked+span{background:var(--water);border-color:var(--water)}.chip input:focus-visible+span{outline:2px solid var(--text);outline-offset:2px}.urgent{border-radius:var(--radius);background:#fdecea;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.urgent p{color:var(--danger);margin:0;font-weight:700}.report-form textarea{font:inherit;border:1px solid var(--line);resize:vertical;background:#fff;border-radius:14px;width:100%;padding:12px 14px}.toggle{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.toggle input{opacity:0;position:absolute}.toggle-ui{background:#cfc6b6;border-radius:999px;flex:none;width:50px;height:30px;margin-top:2px;transition:background .2s;position:relative}.toggle-ui:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s;position:absolute;top:3px;left:3px}.toggle input:checked+.toggle-ui{background:var(--green)}.toggle input:checked+.toggle-ui:after{transform:translate(20px)}.toggle input:focus-visible+.toggle-ui{outline:2px solid var(--text);outline-offset:2px}.submit-bar{bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 8px);z-index:5;position:sticky}.submit-bar .btn{width:100%;box-shadow:0 4px 14px #00000026}.btn:disabled{opacity:.7;cursor:wait}.outbox-bar{z-index:20;padding:calc(env(safe-area-inset-top,0px) + 8px) 16px 0;pointer-events:none;justify-content:center;display:flex;position:sticky;top:0}.outbox-pill{pointer-events:auto;color:#8a5a10;min-height:40px;font:inherit;cursor:pointer;background:#fbf0dc;border:0;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:.95rem;font-weight:700;display:inline-flex;box-shadow:0 2px 8px #0000001f}.outbox-dot{background:var(--waste);border-radius:50%;width:10px;height:10px}.outbox-bar.is-attention .outbox-pill{color:var(--danger);background:#fdecea}.outbox-bar.is-attention .outbox-dot{background:var(--danger)}.outbox-panel{border-radius:var(--radius);border:0;width:min(520px,100vw - 24px);max-height:80vh;padding:16px;box-shadow:0 10px 40px #0000004d}.outbox-panel::backdrop{background:#00000059}.outbox-panel-head{justify-content:space-between;align-items:center;display:flex}.outbox-panel-head h2{margin:0}.outbox-list{flex-direction:column;gap:12px;margin:8px 0 16px;padding:0;list-style:none;display:flex}.outbox-item{grid-template-columns:64px 1fr;align-items:center;gap:6px 12px;display:grid}.outbox-item img{object-fit:cover;border-radius:10px;grid-row:span 2;width:64px;height:64px}.outbox-actions{flex-wrap:wrap;grid-column:2;gap:8px;display:flex}.outbox-actions .btn{min-height:40px;padding:6px 14px}.saved-icon{background:var(--waste)}.status{background:var(--green-soft);width:fit-content;color:var(--green-dark);border-radius:999px;align-items:center;padding:3px 10px;font-size:.85rem;font-weight:700;display:inline-flex}.status[data-status=pending],.status[data-status=unverified_urgent]{color:#8a5a10;background:#fbf0dc}.status[data-status=cleaned]{background:var(--green);color:#fff}.status[data-status=rejected]{color:var(--danger);background:#fdecea}.home{top:0;left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom));background:#e8e2d6;position:fixed}.home .home-map{width:100%;height:100%;position:absolute;inset:0}.home-top{top:calc(env(safe-area-inset-top,0px) + 12px);z-index:5;pointer-events:none;flex-direction:column;gap:10px;display:flex;position:absolute;left:12px;right:12px}body:has([data-outbox-bar]:not([hidden])) .home-top{top:calc(env(safe-area-inset-top,0px) + 60px)}.home-top>*{pointer-events:auto}.home-head{padding:14px 18px}.home-head h1{margin:0 0 2px;font-size:1.35rem}.home-head p{margin:0}.home-filters{flex-wrap:wrap;gap:6px 8px;display:flex}.filter-chip{min-height:40px;color:var(--text);font:inherit;cursor:pointer;background:#fff;border:0;border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 14px;font-size:.95rem;font-weight:700;display:inline-flex;box-shadow:0 1px 4px #0000001f}.filter-chip[aria-pressed=true]{background:var(--green);color:#fff}.filter-chip.locate{color:var(--water)}.filter-chip.locate[aria-busy=true]{opacity:.6}.home-locate-note{pointer-events:auto;margin:0;padding:8px 12px;font-size:.85rem}.home-locate-note.warn{color:#8a4b00}.dot{border-radius:50%;width:10px;height:10px;display:inline-block}.dot-waste{background:var(--waste)}.dot-tree{background:var(--tree)}.dot-water{background:var(--water)}.dot-cleaned{background:var(--green);border:2px solid #fff}.home-offline{z-index:5;text-align:center;position:absolute;top:50%;left:16px;right:16px;transform:translateY(-50%)}.home-card{z-index:6;color:inherit;align-items:center;gap:12px;padding:12px;text-decoration:none;display:flex;position:absolute;bottom:88px;left:12px;right:12px;box-shadow:0 4px 16px #0000002e}.home-card img{object-fit:cover;border-radius:12px;flex:none;width:72px;height:72px}.home-card-text{flex-direction:column;gap:4px;min-width:0;display:flex}.home-card-text strong{font-size:1.05rem;line-height:1.25}.home-report{z-index:6;position:absolute;bottom:16px;left:12px;right:12px;box-shadow:0 4px 14px #0003}.home .maplibregl-ctrl-bottom-right{bottom:84px}.home:has(.home-card:not([hidden])) .maplibregl-ctrl-bottom-right{bottom:190px}.report-show{flex-direction:column;gap:16px;margin:-16px -16px 0;display:flex}.gallery{aspect-ratio:4/3;background:#ddd6c9;position:relative;overflow:hidden}.gallery-track{scroll-snap-type:x mandatory;scrollbar-width:none;height:100%;display:flex;overflow-x:auto}.gallery-track img{object-fit:cover;scroll-snap-align:start;flex:0 0 100%;width:100%;height:100%}.gallery-count{color:#fff;background:#1d2420cc;border-radius:999px;padding:6px 14px;font-size:.9rem;font-weight:700;position:absolute;top:14px;right:14px}.gallery .back{background:#ffffffeb;border-radius:50%;position:absolute;top:12px;left:12px}.report-body{flex-direction:column;gap:12px;padding:0 16px;display:flex}.report-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.report-meta .number{color:var(--green);letter-spacing:.02em;font-weight:800}.tag{color:#8a5a10;background:#fbf0dc;border-radius:999px;padding:4px 12px;font-size:.9rem;font-weight:700}.report-body h1{margin:0;font-size:1.5rem}.timeline{margin:0;padding:0;list-style:none}.timeline li{padding:0 0 18px 44px;position:relative}.timeline li:before{content:"";background:var(--line);width:2px;position:absolute;top:28px;bottom:-2px;left:13px}.timeline li:last-child:before{display:none}.timeline .mark{border:2px solid var(--line);color:#fff;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:15px;font-weight:800;display:flex;position:absolute;top:0;left:0}.timeline [data-state=done] .mark{background:var(--green);border-color:var(--green)}.timeline [data-state=current] .mark{background:var(--waste);border-color:var(--waste)}.timeline [data-state=rejected] .mark{background:var(--danger);border-color:var(--danger)}.timeline [data-state=next] strong{color:var(--muted)}.timeline small{color:var(--muted);display:block}.group-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:8px 0 10px;font-size:.85rem;font-weight:700}.report-show .mini-map{border-radius:var(--radius);background:#ddd6c9;height:180px;overflow:hidden}.report-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.report-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.report-row{background:var(--card);color:inherit;border-radius:14px;grid-template-columns:64px 1fr;align-items:center;gap:12px;padding:10px;text-decoration:none;display:grid}.report-row img,.report-row .no-photo{object-fit:cover;background:#ddd6c9;border-radius:10px;width:64px;height:64px}.report-row-text{flex-direction:column;gap:3px;min-width:0;display:flex}.report-row-text strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mod-head{justify-content:space-between;align-items:center;display:flex}.mod-head h1,.mod-head p{margin:0}.avatar{background:var(--green);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-size:1.1rem;font-weight:800;display:flex}.stat-boxes{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat{background:var(--card);border:1px solid var(--line);border-radius:16px;flex-direction:column;padding:12px 14px;display:flex}.stat strong{font-size:1.8rem;line-height:1.1}.stat span{color:var(--muted)}.stat-urgent{border-color:#f1b8b4}.stat-urgent strong{color:var(--danger)}.mod-tabs{flex-wrap:wrap;gap:8px;display:flex}.mod-tabs .filter-chip{text-decoration:none}.filter-chip.is-urgent[aria-pressed=true]{background:var(--danger)}.mod-card{flex-direction:column;gap:12px;padding:14px;display:flex}.mod-card-top{grid-template-columns:76px 1fr;gap:12px;display:grid}.mod-thumb img,.mod-thumb .no-photo{object-fit:cover;background:#ddd6c9;border-radius:12px;width:76px;height:76px;display:block}.mod-card-text{flex-direction:column;gap:3px;min-width:0;display:flex}.mod-card-text a{color:inherit;text-decoration:none}.mod-card-line{justify-content:space-between;align-items:center;gap:6px;display:flex}.badge-urgent{background:var(--danger);color:#fff;white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:.85rem;font-weight:700}.mod-actions{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mod-actions-2{grid-template-columns:1fr 2fr}.mod-actions form{display:contents}.mod-actions .btn{padding:10px 8px}.btn-plain{color:var(--text);background:#efece6}.btn.is-disabled,.btn:disabled{opacity:.45;pointer-events:none}.lock-note{color:#8a5a10;background:#fbf0dc;border-radius:12px;margin:0;padding:8px 12px;font-weight:700}.dup-note{color:var(--text);background:#e9f1ec;border-radius:12px;margin:0;padding:8px 12px}.dup-note a{color:inherit}.before-after{grid-template-columns:1fr 1fr;gap:6px;display:grid}.before-after img{aspect-ratio:1;object-fit:cover;border-radius:10px;width:100%;display:block}.mod-card .before-after{grid-template-columns:1fr;width:76px}.before-after.big figure{margin:0;position:relative}.before-after.big figcaption{color:#fff;background:#1d2420cc;border-radius:999px;padding:2px 10px;font-size:.85rem;font-weight:700;position:absolute;bottom:8px;left:8px}.mod-box{flex-direction:column;gap:12px;display:flex}.inline-form{grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.inline-form select,.inline-form input{font:inherit;border:1px solid var(--line);background:#fff;border-radius:12px;min-height:48px;padding:10px 12px}.merge-row button{min-height:40px;margin-top:6px;padding:6px 14px}.cleanup-before{border-radius:10px;width:120px}.user-row{flex-direction:column;gap:10px;padding:14px;display:flex}.user-row>div{flex-direction:column;gap:2px;display:flex}.user-row .inline-form select{width:100%}.inst-row{flex-direction:column;gap:10px;padding:14px;display:flex}.inst-main{flex-direction:column;gap:2px;display:flex}.inst-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.inst-actions form{display:contents}.needs-check{border-left:5px solid #e8b04a}.is-inactive{opacity:.6}.warn{color:#a15c00;font-weight:600}.phone-row{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px;display:grid}.phone-row input,.form select,.form textarea{font:inherit;border:1px solid var(--line);background:#fbfaf7;border-radius:12px;min-height:44px;padding:10px 12px}.muni-grid{grid-template-columns:1fr 1fr;gap:4px 12px;margin:6px 0 0 32px;display:grid}.inst-pick{padding:4px 16px}.inst-option{border-bottom:1px solid var(--line);grid-template-columns:28px 1fr;align-items:center;gap:12px;padding:10px 0;display:grid}.inst-option:last-child{border-bottom:0}.inst-option input{width:24px;height:24px;accent-color:var(--green)}.inst-option span{flex-direction:column;display:flex}.center{text-align:center}.small{font-size:.9rem}.admin-table{border-collapse:collapse;width:100%;font-size:.95rem}.admin-table td,.admin-table th{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:8px 6px}.received-icon{background:var(--green);color:#fff;border-radius:50%;width:64px;height:64px;margin:0 auto 8px;font-size:34px;font-weight:700;line-height:64px}.report-number{letter-spacing:.03em;margin:0 0 12px;font-size:1.6rem;font-weight:800}.received-photo{border-radius:14px;width:100%;margin-top:8px}.dir-head h1{margin:0 0 2px}.dir-head p{margin:0}.dir-card{color:#fff;background:#5d6b63;border-radius:22px;text-decoration:none;overflow:hidden}a.dir-card{color:#fff;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px 16px;text-decoration:none;display:grid}.dir-icon{background:#ffffff2e;border-radius:14px;place-items:center;width:52px;height:52px;font-size:1.6rem;display:grid}.dir-text{flex-direction:column;gap:2px;min-width:0;display:flex}.dir-text strong{font-size:1.15rem;line-height:1.2}.dir-text small{opacity:.9}.dir-number{white-space:nowrap;text-align:right;font-size:1.1rem;font-weight:800}.dir-112{background:var(--danger)}.dir-112 .dir-text strong{font-size:1.35rem}.dir-112 .dir-number{font-size:2rem}.dir-waste{background:var(--waste)}.dir-tree{background:var(--tree)}.dir-water{background:var(--water)}.dir-green{background:var(--green)}.dir-police{background:#34495e}.dir-grey{background:#5d6b63}@media (width<=380px){a.dir-card{grid-template-columns:auto 1fr}.dir-number{text-align:left;grid-column:2}}
