:root{--guard-backdrop:#000000bf}.guard-settings{gap:1rem;font-size:1rem;line-height:1.65;display:grid}.guard-settings h3{align-items:center;gap:.5rem;font-size:1.25rem;font-weight:700;display:flex}.guard-readiness{border:1px solid var(--border-strong);background:var(--panel-2);border-radius:1rem;padding:1rem}.guard-readiness p{align-items:flex-start;gap:.5rem;display:flex}.guard-readiness p+p{margin-top:.5rem}.guard-readiness svg{flex-shrink:0;margin-top:.25rem}.guard-advanced{border-top:1px solid var(--border-strong);margin-top:1.5rem}.guard-advanced summary{cursor:pointer;min-height:3rem;padding:1rem 0;font-weight:700}.guard-shortcut{gap:.375rem;min-height:3.375rem;font-weight:700}.guard-dot{background:var(--color-sev-danger);width:.5rem;height:.5rem;box-shadow:0 0 0 2px var(--panel-solid);border-radius:50%;position:absolute;top:.375rem;right:.375rem}.guard-dialog{overscroll-behavior:contain;border:2px solid var(--color-sev-danger);width:min(32rem,100% - 1.5rem);max-height:90dvh;color:var(--text);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:1.25rem;margin:auto;padding:0;font-size:1rem;line-height:1.6;overflow-y:auto}.guard-dialog::backdrop{background:var(--guard-backdrop)}.guard-dialog header{color:var(--watch-sos-ink);background:var(--watch-sos-fill);align-items:center;gap:.75rem;padding:1.25rem;display:flex}.guard-dialog header svg{flex-shrink:0}.guard-dialog h2{font-size:1.25rem;font-weight:700}.guard-dialog header p{font-size:.875rem}.guard-dialog-body{padding:1.25rem}.guard-dialog ul{gap:.75rem;margin-top:1rem;list-style:none;display:grid}.guard-dialog li{border:1px solid var(--border-strong);border-radius:.75rem;gap:.25rem;padding:.875rem;display:grid}.guard-dialog li span{font-size:.9375rem}.guard-dialog li small{color:var(--text-muted);font-size:.875rem}.guard-dialog footer{border-top:1px solid var(--border-strong);background:var(--panel-solid);padding:1rem;position:sticky;bottom:0}.guard-dialog footer p{margin-top:.5rem}.guard-settings .community-primary{background:var(--watch-control-ink);color:var(--panel-solid);border-color:var(--watch-control-ink)}.guard-dialog .community-danger{background:var(--watch-sos-fill);width:100%;min-height:3.5rem;color:var(--watch-sos-ink);border-color:var(--watch-sos-fill)}.guard-settings .community-muted,.guard-dialog .community-muted{color:var(--text-muted);font-size:.875rem}.guard-settings .community-error,.guard-dialog .community-error{color:var(--watch-danger-ink);font-weight:600}.guard-settings button:disabled,.guard-dialog button:disabled{opacity:.55;cursor:not-allowed}.guard-settings button:active,.guard-dialog button:active{filter:brightness(.94)}.guard-dialog h2,.guard-dialog li{overflow-wrap:anywhere;min-width:0}.map-loading{z-index:25;pointer-events:none;width:min(24rem,100% - 2rem);position:absolute;top:38%;left:50%;transform:translate(-50%,-50%)}.map-loading .risk-scan{border:1px solid var(--border-strong);background:var(--panel-solid);box-shadow:var(--shadow);border-radius:1rem;padding:1rem}.map-loading button{pointer-events:auto}@media (min-width:1024px){.map-loading{left:calc(50% + 9rem)}}@media (max-width:430px){.app-map-actions{gap:.5rem}.map-filter-shortcut{width:3rem;padding-inline:0}.guard-shortcut>span:not(.guard-dot){font-size:.75rem;line-height:1.2}.guard-shortcut{flex-direction:column;justify-content:center;gap:.125rem;width:3.5rem;min-height:3.5rem;padding-inline:0}}@media (prefers-reduced-motion:reduce){.guard-settings .animate-spin,.guard-dialog .animate-spin{animation:none}}:root{--community-action-fill:#0369a1;--community-action-hover:#075985;--community-action-ink:var(--watch-sos-ink);--community-danger-fill:var(--watch-sos-fill);--community-danger-hover:#991b1b;--community-error-ink:var(--watch-danger-ink)}.community-form,.community-detail{width:100%;min-width:0;color:var(--text);font-family:var(--font-plex-thai), sans-serif;text-align:left;gap:14px;font-size:16px;line-height:1.6;display:grid}.community-form p,.community-detail p,.community-form figure{margin:0}.community-form svg,.community-detail svg{flex:none}.community-lead,.community-detail h3{margin:0;font-size:21px;font-weight:700;line-height:1.45}.community-form .community-muted,.community-detail .community-muted{color:var(--text-muted);font-size:14px;line-height:1.65}.community-button,.community-presets button,.community-range button,.community-reactions button{border:1px solid var(--border-strong);background:var(--panel-solid);min-height:48px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:600;display:inline-flex}.community-photo-input:focus-within{outline:3px solid var(--accent);outline-offset:3px}.community-form :where(button,input,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.community-detail button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.community-form button:disabled,.community-detail button:disabled{opacity:.55;cursor:not-allowed}.community-form .community-primary{background:var(--community-action-fill);border-color:var(--community-action-fill);min-height:54px;color:var(--community-action-ink);font-size:18px}.community-depth{border:0;border-block:1px solid var(--border-strong);gap:10px;min-width:0;margin:6px 0;padding:18px 0;display:grid}.community-depth legend{padding:0 0 2px;font-size:17px;font-weight:600}.community-depth .community-depth-value,.community-detail .community-depth-value{color:var(--accent);font-variant-numeric:tabular-nums;margin:0;font-size:44px;font-weight:700;line-height:1.2;display:block}.community-depth-value span{color:var(--text);font-size:16px;font-weight:500}.community-range{grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:10px;display:grid}.community-range button{width:48px;padding:0}.community-range input[type=range]{-webkit-appearance:none;appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;width:100%;min-width:0;height:48px;margin:0;display:block}.community-range input::-webkit-slider-runnable-track{border:1px solid var(--border-strong);background:var(--panel-2);border-radius:6px;height:10px}.community-range input::-moz-range-track{border:1px solid var(--border-strong);background:var(--panel-2);border-radius:6px;height:10px}.community-range input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;border:3px solid var(--panel-solid);background:var(--accent);width:30px;height:30px;box-shadow:0 0 0 1px var(--accent);border-radius:50%;margin-top:-11px}.community-range input::-moz-range-thumb{border:3px solid var(--panel-solid);background:var(--accent);width:24px;height:24px;box-shadow:0 0 0 1px var(--accent);border-radius:50%}.community-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.community-presets button{min-width:0;padding:8px 4px;font-size:15px}.community-presets button[aria-pressed=true],.community-reactions button[aria-pressed=true]{border:2px solid var(--accent);background:var(--accent-soft);color:var(--accent)}.community-photo-input{border:1px dashed var(--border-strong);background:var(--panel-2);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:10px;min-height:56px;padding:12px;font-weight:600;display:flex;position:relative}.community-photo-input input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.community-photo{gap:8px;display:grid}.community-photo img,.community-report-photo{object-fit:contain;background:var(--panel-2);border-radius:12px;width:100%;height:auto;max-height:340px;display:block}.community-form textarea{border:1px solid var(--border-strong);background:var(--panel-solid);width:100%;min-height:90px;color:var(--text);font:inherit;resize:vertical;border-radius:12px;margin-top:-8px;padding:12px;display:block}.community-form textarea::placeholder{color:var(--text-muted);opacity:1}.community-consent{cursor:pointer;align-items:flex-start;gap:12px;min-height:48px;padding:12px 0;display:flex}.community-consent input{-webkit-appearance:auto;appearance:auto;width:24px;height:24px;accent-color:var(--community-action-fill);cursor:pointer;flex:none;margin-top:3px}.community-consent span{font-size:15px;line-height:1.65}.community-form .community-error,.community-detail .community-error{border-left:4px solid var(--community-error-ink);background:var(--panel-2);color:var(--text);overflow-wrap:anywhere;align-items:flex-start;gap:8px;padding:12px;font-weight:500;display:flex}.community-error svg{color:var(--community-error-ink);margin-top:2px}.community-note{white-space:pre-wrap;overflow-wrap:anywhere}.community-reactions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.community-reactions button{flex-direction:column;gap:3px;min-height:80px;padding:10px 4px;font-size:14px;line-height:1.5}.community-reactions b{font-variant-numeric:tabular-nums;font-size:17px}.community-delete-confirm{border-top:1px solid var(--border-strong);gap:10px;padding-top:14px;display:grid}.community-delete-actions{flex-wrap:wrap;gap:8px;display:flex}.community-delete-actions button{flex:120px}.community-detail .community-danger{background:var(--community-danger-fill);border-color:var(--community-danger-fill);color:var(--watch-sos-ink)}.community-detail .community-withdraw{color:var(--text-muted);border-color:#0000;justify-self:start;padding-inline:0;font-size:14px}.community-detail>p[role=status]{align-items:flex-start;gap:10px;display:flex}.community-report-action{border:1px solid var(--community-action-fill);background:var(--community-action-fill);width:80px;min-width:54px;min-height:56px;color:var(--community-action-ink);box-shadow:var(--shadow);cursor:pointer;touch-action:manipulation;border-radius:16px;flex-direction:column;flex:0 0 80px;justify-content:center;align-items:center;gap:2px;padding:5px 3px;font-family:inherit;font-size:13px;font-weight:700;line-height:1.35;display:flex}.community-report-action svg{flex:none}.community-report-action:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.community-group{overscroll-behavior:contain;gap:8px;max-height:min(340px,48dvh);display:grid;overflow-y:auto}.community-group button{border:1px solid var(--border-strong);background:var(--panel-solid);width:100%;min-width:0;min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;border-radius:12px;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:2px 12px;padding:10px 12px;display:grid}.community-group b{color:var(--accent);font-variant-numeric:tabular-nums;grid-row:1/span 2;font-size:18px}.community-group span{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.community-group small{color:var(--text-muted);grid-column:2;font-size:12px;line-height:1.6}@media (hover:hover){.community-button:not(:disabled):hover,.community-presets button:not(:disabled):hover,.community-reactions button:not(:disabled):hover{border-color:var(--accent)}.community-form .community-primary:not(:disabled):hover,.community-report-action:hover{background:var(--community-action-hover);border-color:var(--community-action-hover)}.community-detail .community-danger:not(:disabled):hover{background:var(--community-danger-hover);border-color:var(--community-danger-hover)}.community-group button:hover{border-color:var(--accent)}}@media (max-width:359px){.community-form,.community-detail{gap:12px}.community-reactions{gap:4px}.community-reactions button{font-size:13px}.community-depth-value span{padding-top:4px;display:block}}@media (prefers-reduced-motion:reduce){.community-form .animate-spin,.community-detail .animate-spin{animation:none}}
