.obs-controls{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.obs-add{border:2px solid #dc772c!important;background:#fff0dc!important;color:#84400f!important;border-radius:28px!important;padding:10px 15px!important;font-weight:700!important;box-shadow:0 2px 7px #0002;cursor:pointer}.obs-editor{background:white;border:1px solid #cbd6c9;border-radius:20px;padding:7px 12px;color:#244d37;cursor:pointer}.obs-dialog{border:1px solid #d5dfd1;border-radius:18px;color:#193e2e;width:min(440px,calc(100% - 40px));max-height:85vh;padding:22px;box-sizing:border-box;font:15px/1.45 system-ui;overflow:auto}.obs-dialog::backdrop{background:#14392788}.obs-dialog h2{font-size:22px;margin:0 35px 16px 0}.obs-dialog label{display:block;margin-top:14px;font-weight:650}.obs-dialog input:not([type=checkbox]),.obs-dialog textarea,.obs-dialog select{box-sizing:border-box;width:100%;padding:10px;border:1px solid #b7c9b7;border-radius:8px;font:inherit;background:white;color:#193e2e}.obs-dialog button,.obs-popup button{border:1px solid #b9caba;background:#f0f5ed;border-radius:9px;padding:9px 12px;cursor:pointer;font:inherit;color:#193e2e;margin:5px 4px 0 0}.obs-dialog .obs-primary{background:#234d37;color:white;padding:12px 16px}.obs-close{position:absolute;right:12px;top:10px}.obs-help{font-size:13px;color:#5c6f60}.obs-error{color:#9e341b;white-space:pre-wrap}.obs-popup{width:230px;max-height:310px;overflow:auto;font:14px/1.4 system-ui}.obs-popup p{white-space:pre-wrap;margin:9px 0}.obs-popup img{width:100%;max-height:160px;object-fit:contain;border-radius:8px}.obs-popup strong{display:block}.obs-pin{display:grid;place-items:center;background:#c56827;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);width:28px;height:28px;box-shadow:0 2px 6px #0005}.obs-pin span{transform:rotate(45deg);color:white;font-weight:800}.obs-pin.pending{background:#fff0dc;border-color:#c56827}.obs-pin.pending span{color:#84400f}.obs-banner{position:fixed;bottom:10px;left:10px;right:10px;z-index:2000;background:#fff0dc;border:1px solid #dc772c;border-radius:12px;padding:12px;color:#84400f;font:14px system-ui}.obs-banner button{margin-left:10px}.obs-preview{max-width:100%;max-height:140px;margin-top:10px}.obs-dialog [hidden]{display:none!important}@media(max-width:480px){.obs-add{font-size:12px!important;padding:9px!important}.obs-editor{font-size:11px}.obs-dialog{padding:16px}.obs-popup{width:195px}}
.obs-dialog input[type=checkbox]{width:auto;margin:0 8px 0 0;vertical-align:middle}.obs-dialog button:disabled{opacity:.55;cursor:wait}

.obs-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}.obs-chip{border-radius:22px;padding:7px 12px;font-size:12px;border:1px solid #cad6cd;background:#fff}.obs-chip.open,.obs-status.open{color:#a52121;background:#ffeded;border-color:#c63532}.obs-chip.progress,.obs-status.progress{color:#864100;background:#fff1db;border-color:#d87914}.obs-chip.resolved,.obs-status.resolved{color:#155c34;background:#e8f5ec;border-color:#21824b}.obs-chip[aria-pressed=true]{outline:2px solid currentColor;outline-offset:1px;font-weight:750}.obs-filters select{max-width:100%;padding:7px;border-radius:18px;border:1px solid #cad6cd;color:#244639;background:white;font:12px system-ui}.obs-filter-count{font-size:11px;color:#55685c}.obs-status{display:inline-block;border:1px solid;border-radius:20px;padding:3px 8px;font-size:12px;margin-top:8px}.obs-category-pin{filter:drop-shadow(0 2px 2px #0006)}.obs-dialog fieldset{border:1px solid #d5dfd1;border-radius:10px;margin:15px 0}.obs-dialog legend svg{vertical-align:middle;margin-right:6px}.obs-controls [hidden]{display:none!important}

.obs-filters[hidden]{display:none!important}

.obs-admin-panel{margin:24px 0;padding:20px;background:#f7f8f2;border:1px solid #d5dfd1;border-radius:16px}.obs-admin-panel[hidden]{display:none!important}.obs-admin-panel h2{margin:0;font-size:24px}.obs-admin-filters{display:flex;gap:10px;flex-wrap:wrap}.obs-admin-filters select,.obs-admin-filters input{font:inherit;border:1px solid #c5d3c0;border-radius:10px;padding:10px;background:white;flex:1;min-width:190px}.obs-admin-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;max-height:500px;overflow:auto}.obs-admin-card{background:white;border:1px solid #d5dfd1;border-radius:12px;padding:16px}.obs-admin-card p{white-space:pre-wrap;overflow-wrap:anywhere}.obs-admin-actions{display:flex;gap:6px;flex-wrap:wrap}.obs-admin-actions button{padding:8px 12px}.obs-admin-actions .obs-delete{color:#9c2e27;border-color:#dba39e}.obs-popup-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid #dce5d8;padding:6px 0;display:flex;gap:4px;flex-wrap:wrap}.obs-popup .obs-popup-actions button{margin:0;padding:7px;font-size:12px}.obs-popup{max-height:min(310px,65vh)}

.obs-edit-mode .map-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start}.obs-edit-mode .map-layout>aside{display:none}.obs-edit-mode .obs-admin-panel{margin:0;padding:15px}.obs-edit-mode .obs-admin-list{grid-template-columns:1fr;max-height:430px}.obs-edit-mode .obs-admin-panel h2{font-size:21px}.obs-edit-mode .obs-admin-panel>p{font-size:13px}@media(max-width:850px){.obs-edit-mode .map-layout{grid-template-columns:1fr}}

/* Observation legend: state is color, category is shape. */
.obs-legend{margin:16px 0;padding:18px 20px;border:1px solid #d8e2d7;border-radius:16px;background:#f7f9f4;color:#244d37}
.obs-legend[hidden]{display:none}
.obs-legend h3{margin:0 0 14px;font-size:17px}.obs-legend h4{margin:14px 0 9px;font-size:14px}
.obs-legend ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 24px}
.obs-legend li{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.4}
.obs-legend .obs-legend-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:10px 18px}
.obs-legend-dot{width:14px;height:14px;border-radius:50%;flex:none}
.obs-legend-icon{display:inline-flex;flex:none}.obs-legend-icon svg{display:block}
.obs-legend-pending{display:flex;align-items:center;gap:9px;font-size:13px;margin:16px 0 0}
.obs-legend-pending-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:21px;height:21px;border-radius:50%;background:#334155;color:white;font-weight:700}
@media(max-width:480px){.obs-legend{padding:15px}.obs-legend .obs-legend-categories{grid-template-columns:1fr 1fr;gap:9px}.obs-legend li{font-size:12px;gap:5px}}

/* Category and status chips are independent, combinable filters. */
.obs-filters{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:14px}
.obs-filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.obs-filter-heading{font-size:12px;font-weight:700;color:#244d37;min-width:70px}
.obs-filter-row .obs-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;cursor:pointer;color:#244d37;font-family:inherit}
.obs-filter-row .obs-chip.open{color:#a52121}.obs-filter-row .obs-chip.progress{color:#864100}.obs-filter-row .obs-chip.resolved{color:#155c34}
.obs-category-chip[aria-pressed=true]{background:#edf4e6}.obs-filter-icon{display:inline-flex;flex:none}.obs-filter-dot{width:11px;height:11px;border-radius:50%;flex:none}
.obs-filter-row .obs-chip:focus-visible{outline:3px solid #e59a41;outline-offset:3px}
@media(max-width:600px){.obs-filter-heading{flex-basis:100%}.obs-filter-row{gap:7px}.obs-filter-row .obs-chip{padding:7px 10px;min-height:44px}}

.obs-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.obs-comparison figure{margin:0;min-width:0}.obs-comparison figcaption{font-weight:700;font-size:13px;margin-bottom:5px}.obs-comparison img{width:100%;height:140px;object-fit:contain;border-radius:8px;background:#f2f4ef}.obs-dialog fieldset[hidden]{display:none}

/* Accessible reporting form for phones and touch screens. */
.obs-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:28px 22px;overflow:auto;font:18px/1.5 system-ui}
.obs-dialog h2{font-size:26px;padding-right:44px}
.obs-dialog form{display:flex;flex-direction:column;gap:16px}
.obs-dialog label{display:block;font-size:18px;line-height:1.5}
.obs-dialog input,.obs-dialog select,.obs-dialog textarea{box-sizing:border-box;width:100%;min-height:52px;padding:12px;font:18px/1.5 system-ui}
.obs-dialog input[type=checkbox]{width:26px;min-height:26px;height:26px;margin:8px 12px 8px 0;vertical-align:middle;flex-shrink:0}
.obs-dialog button,.obs-controls button,.obs-banner button{min-height:52px;padding:12px 20px;font-size:18px;line-height:1.4;touch-action:manipulation}
.obs-dialog .obs-close{min-width:48px;min-height:48px;padding:4px;font-size:30px}
.obs-dialog .obs-help,.obs-dialog .obs-error{font-size:17px;line-height:1.5}
.obs-dialog .obs-primary{width:100%;font-size:20px;min-height:56px}
.obs-banner{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;font:18px/1.5 system-ui}
.obs-banner a{display:block;padding:12px 0;text-decoration:underline;color:inherit;min-height:48px}
.obs-dialog :focus-visible,.obs-controls :focus-visible{outline:3px solid #739831;outline-offset:3px}
@media(max-width:600px){.obs-dialog{padding:24px 16px}.obs-dialog h2{font-size:24px}.obs-controls{max-width:calc(100vw - 80px)}.obs-controls button{white-space:normal}.obs-banner{left:12px;right:12px;width:auto;transform:none;padding:20px}.obs-dialog input[type=file]{font-size:16px;padding:8px}}
.obs-controls .obs-add{font-size:18px!important;min-height:56px;padding:14px 20px!important}

/* Keep every form dropdown aligned with the other full-width fields. */
.obs-dialog form{min-width:0;width:100%;align-items:stretch}
.obs-dialog form label{min-width:0;width:100%}
.obs-dialog form select{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.obs-notice-message{margin:0 0 16px}
.obs-banner .obs-notice-close{display:block;width:fit-content;min-width:140px;margin:16px auto}
.obs-municipal-channels{border-top:1px solid #dc772c;padding-top:16px;margin-top:16px}
.obs-municipal-channels h3{font-size:18px;line-height:1.5;margin:0 0 8px}
.obs-municipal-links a{margin:0}

/* In-page category choices avoid the narrow native iPhone popup. */
.obs-dialog .obs-category-title{font-size:18px;font-weight:650;margin:14px 0 -10px}
.obs-category-picker{width:100%;min-width:0;margin:0}
.obs-category-picker summary{box-sizing:border-box;width:100%;min-height:56px;padding:14px 16px;border:1px solid #b7c9b7;border-radius:8px;font-size:18px;font-weight:400;cursor:pointer;background:#fff;overflow-wrap:anywhere}
.obs-dialog .obs-category-options{box-sizing:border-box;width:100%;min-width:0;margin:8px 0 0;padding:12px;border:1px solid #b7c9b7;border-radius:8px;background:#f4f7ef}
.obs-category-options legend{font-size:17px;padding:0 5px}
.obs-dialog .obs-category-options label{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 4px;margin:0;font-weight:400;border-bottom:1px solid #d5dfd1;cursor:pointer}
.obs-dialog .obs-category-options label:last-child{border-bottom:0}
.obs-dialog .obs-category-options input[type=radio]{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:0;padding:0;accent-color:#244d37}
.obs-category-options span{min-width:0;overflow-wrap:anywhere}
.obs-dialog .obs-registration{width:100%;min-width:0;padding:16px;margin:0;border:1px solid #b7c9b7;border-radius:12px;background:#f6f8f2}
.obs-registration legend{font-size:20px;font-weight:700;padding:0 6px}
.obs-registration a{display:inline-block;padding:10px 0;color:inherit;font-size:18px}

.obs-privacy-link{text-align:center;margin:8px 0 0}.obs-privacy-link a{display:inline-block;color:inherit;font-size:18px;padding:12px 4px;min-height:48px;text-decoration:underline}

/* Compact spacing without reducing text or touch targets. */
.obs-dialog form{gap:10px}
.obs-dialog form>label,.obs-dialog form>p{margin:0}
.obs-dialog form .obs-help{margin:2px 0;line-height:1.4}
.obs-dialog form .obs-error:empty{display:none}
.obs-dialog form input:not([type=checkbox]):not([type=radio]),.obs-dialog form select,.obs-dialog form textarea{margin:4px 0 0}
.obs-dialog form>label:has(input[type=checkbox]){line-height:1.4;font-weight:500;padding:4px 0}
.obs-dialog form>.obs-category-title{margin:0 0 -4px}
.obs-dialog form>.obs-privacy-link{margin:0}
.obs-dialog .obs-primary{margin:4px 0 0}

.obs-dialog .obs-preview{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px;background:#f2f4ef;margin:4px 0}
