/* Community information shares BeMove typography, with orange reserved for provenance. */
.community-slot,.community-dialog{--community-orange:#d96c0a;--community-ink:#8b4208;--community-soft:#fff4e7;--community-border:#f0d6b7;font-family:var(--font-app,'Outfit',system-ui,sans-serif)}
.community-slot{display:grid;gap:8px;margin:10px 14px 14px}.community-slot button,.community-dialog button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .18s,box-shadow .18s,transform .18s}.community-icon{font-size:20px;line-height:1;flex-shrink:0}.community-banner{width:100%;display:flex;align-items:center;gap:12px;border:1px solid var(--community-border);border-radius:16px;background:var(--community-soft);color:var(--community-ink);padding:13px 14px;text-align:left}.community-banner:hover{background:#ffebd3}.community-banner-icon,.community-header-icon,.community-type-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:13px;background:#ffe3bd;color:var(--community-orange)}.community-banner-copy{display:grid;gap:4px;flex:1;min-width:0}.community-banner-copy strong{font-size:13px;font-weight:750;line-height:1.35}.community-banner-copy small{font-size:11px;line-height:1.4;opacity:.8}.community-create{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;border:1px solid var(--border,#e5e5e5);border-radius:13px;background:var(--panel,#fff);color:var(--text,#18160f);font-size:12px;font-weight:650;text-align:left}.community-create>.community-icon:first-child{color:var(--community-orange)}.community-create-arrow{margin-left:auto;font-size:17px;color:var(--muted,#777)}.community-create:hover{background:var(--community-soft);border-color:var(--community-border)}
.community-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--border,#e7e4df);border-radius:24px;background:var(--panel,#fff);color:var(--text,#18160f);overflow:auto;box-shadow:0 24px 100px #0003;z-index:52020;animation:community-appear .2s ease-out}.community-dialog *{box-sizing:border-box}.community-dialog::backdrop{background:rgba(20,18,24,.48);backdrop-filter:blur(5px)}.community-header{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--border,#eee);position:sticky;top:0;background:var(--panel,#fff);z-index:2}.community-header>div{min-width:0;flex:1}.community-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.075em;text-transform:uppercase;color:var(--muted,#79746e);margin-bottom:5px}.community-header strong{display:block;font-size:17px;font-weight:750;line-height:1.25}.community-dialog .community-close{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:0;border:0;border-radius:50%;background:var(--card-b,#f3f3f3);color:var(--muted,#666)}.community-close:hover{background:#ffe3bd;color:var(--community-ink)}.community-dialog-body{padding:22px 24px 24px}.community-form{display:grid;gap:17px}.community-form-intro h2{font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:0 0 8px;font-weight:750}.community-form-intro p{color:var(--muted,#777);font-size:13px!important;line-height:1.55}.community-form label{position:relative;display:grid;gap:8px;font-size:12px;font-weight:700;color:var(--text,#18160f)}.community-optional{position:absolute;right:0;top:0;color:var(--muted,#999);font-size:10px;font-weight:500}.community-form input,.community-form select,.community-form textarea{width:100%;font:inherit;font-size:14px;font-weight:500;line-height:1.45;padding:12px 14px;border:1px solid var(--border,#dededb);border-radius:12px;background:var(--card-b,#f7f7f5);color:inherit;transition:border-color .18s,box-shadow .18s}.community-form select{min-height:46px}.community-form textarea{resize:none;min-height:100px}.community-form input::placeholder,.community-form textarea::placeholder{color:var(--muted,#96918a);font-weight:400}.community-form input:focus,.community-form select:focus,.community-form textarea:focus{outline:0;border-color:var(--community-orange);box-shadow:0 0 0 3px #e78a2520}.community-form [hidden]{display:none}.community-form p{font-size:12px;margin:0;line-height:1.5}.community-form .community-expiry{padding:12px 14px 12px 36px;position:relative;border-radius:12px;background:var(--community-soft);color:var(--community-ink);font-size:11px}.community-expiry:before{content:'i';position:absolute;left:13px;top:13px;display:grid;place-items:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800}.community-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;border:0;border-radius:13px;background:#d96c0a;color:#fff;font-size:14px;font-weight:750;box-shadow:0 4px 12px #b15b0724}.community-submit>.community-icon:last-child{margin-left:auto}.community-submit>.community-icon:first-child{margin-right:auto}.community-submit:hover{background:#ba5806}.community-zone-summary{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--community-border);border-radius:12px;background:var(--community-soft);color:var(--community-ink)}.community-zone-summary strong{display:block;font-size:12px}.community-zone-summary small{display:block;margin-top:4px;font-size:11px;opacity:.75}
.community-results{display:grid;gap:14px}.community-card{position:relative;padding:18px;border:1px solid var(--community-border);border-radius:18px;background:var(--panel,#fff);overflow:hidden;overflow-wrap:anywhere}.community-card:before{position:absolute;content:'';left:0;top:20px;bottom:20px;width:3px;border-radius:0 3px 3px 0;background:#ef922e}.community-card-top{display:flex;align-items:center;gap:11px;margin-bottom:15px}.community-card h3{margin:0;font-size:17px;line-height:1.3;font-weight:750;letter-spacing:-.2px}.community-card .community-eyebrow{font-size:9px}.community-type-icon{width:42px;height:42px}.community-location,.community-passage{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;color:var(--text,#34302a);margin:7px 0}.community-location .community-icon,.community-passage .community-icon{font-size:17px;color:var(--muted,#999)}.community-passage{font-weight:500;color:var(--muted,#777)}.community-description{margin:14px 0;padding:13px 14px;background:var(--card-b,#f6f6f4);border-radius:11px;font-size:13px;line-height:1.6;white-space:pre-wrap;color:var(--text,#34302a)}.community-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;margin-top:9px;border-radius:7px;font-size:10px;font-weight:700;background:var(--community-soft);color:var(--community-ink)}.community-status .community-icon{font-size:14px}.community-status.is-confirmed{background:#eaf4ef;color:#296047}.community-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:12px 0 16px;color:var(--muted,#8a857c);font-size:10px;line-height:1.5}.community-meta>span{display:flex;align-items:center;gap:4px}.community-meta .community-icon{font-size:13px}.community-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;padding-top:14px;border-top:1px solid var(--border,#eee)}.community-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 8px;border-radius:10px;font-size:11px;font-weight:700;line-height:1.3}.community-confirm{border:1px solid var(--community-border);background:var(--community-soft);color:var(--community-ink)}.community-confirm:hover{background:#ffe3bd}.community-end{border:1px solid var(--border,#e7e7e5);background:var(--panel,#fff);color:var(--muted,#777)}.community-end:hover{background:var(--card-b,#f3f3f3)}.community-actions .community-icon{font-size:17px}.community-message{margin:14px 0 0!important;padding:12px 14px;border-radius:11px;background:var(--community-soft);color:var(--community-ink);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.community-message:empty{display:none}.community-empty{text-align:center;padding:26px 12px;color:var(--muted,#777)}.community-empty>.community-icon{display:block;font-size:36px;color:var(--community-orange);margin-bottom:14px}.community-empty strong{font-size:16px;color:var(--text,#18160f)}.community-empty p{font-size:12px;line-height:1.5}.community-loading{display:grid;justify-items:center;padding:26px 10px;color:var(--muted,#777);font-size:13px;gap:10px}.community-spinner{width:28px;height:28px;border:3px solid var(--community-border);border-top-color:var(--community-orange);border-radius:50%;animation:community-spin .8s linear infinite}
/* MapLibre positions the outer element; rotation belongs to the inner diamond. */
.community-marker{position:relative;width:44px;height:44px;padding:8px;border:0;background:transparent;color:#562e06;font:850 20px/1 var(--font-app,system-ui,sans-serif);cursor:pointer}.community-diamond{display:grid;place-items:center;width:28px;height:28px;background:linear-gradient(135deg,#ffc360,#f49327);border:2px solid #fff;border-radius:5px;box-shadow:0 3px 8px #713f0745;transform:rotate(45deg)}.community-diamond>span{transform:rotate(-45deg)}.community-marker:hover .community-diamond{background:#ffd17d;box-shadow:0 3px 12px #713f0760}.community-marker-count{position:absolute;right:0;top:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#8b4208;color:#fff;font-size:9px}.community-slot button:focus-visible,.community-dialog button:focus-visible,.community-marker:focus-visible{outline:3px solid #e78a2566;outline-offset:3px}.community-dialog button:disabled{opacity:.55;cursor:wait}
html[data-theme="dark"] .community-slot,html[data-theme="dark"] .community-dialog{--community-soft:#35291e;--community-border:#604329;--community-ink:#ffc18c;--community-orange:#ffad59}html[data-theme="dark"] .community-banner:hover,html[data-theme="dark"] .community-confirm:hover{background:#493222}html[data-theme="dark"] .community-header-icon,html[data-theme="dark"] .community-type-icon,html[data-theme="dark"] .community-banner-icon{background:#493222}html[data-theme="dark"] .community-status.is-confirmed{background:#243c30;color:#a6d9bc}
@media(max-width:600px){.community-dialog{width:100%;max-width:none;max-height:calc(100dvh - 24px);margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.community-header{padding:18px 18px 16px}.community-header strong{font-size:15px}.community-header-icon{width:36px;height:36px}.community-dialog-body{padding:20px 18px 24px}.community-form input,.community-form select,.community-form textarea{font-size:16px}.community-card{padding:16px}.community-card h3{font-size:16px}.community-actions{grid-template-columns:1fr}.community-actions button{font-size:12px;min-height:44px}.community-slot{margin:8px 12px 12px}}
@keyframes community-appear{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes community-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.community-dialog,.community-spinner{animation:none}.community-slot button,.community-dialog button{transition:none}}
.community-icon{width:1em;height:1em;display:inline-block;vertical-align:middle}.community-empty>.community-icon{margin-left:auto;margin-right:auto}
html[data-theme="dark"] .community-dialog .community-form input,html[data-theme="dark"] .community-dialog .community-form select,html[data-theme="dark"] .community-dialog .community-form textarea{border:1px solid #35312b;background:var(--card-b,#1d1d1d);color:var(--text,#eee);color-scheme:dark}html[data-theme="dark"] .community-dialog .community-form input:focus,html[data-theme="dark"] .community-dialog .community-form select:focus,html[data-theme="dark"] .community-dialog .community-form textarea:focus{border-color:var(--community-orange);box-shadow:0 0 0 3px #e78a2520}html[data-theme="dark"] .community-dialog .community-confirm{background:var(--community-soft);color:var(--community-ink)}html[data-theme="dark"] .community-dialog .community-end{background:var(--card-b,#1d1d1d);color:var(--text,#eee)}html[data-theme="dark"] .community-slot .community-banner{background:var(--community-soft);color:var(--community-ink)}html[data-theme="dark"] .community-slot .community-create{background:var(--panel,#121212);color:var(--text,#eee)}
/* Native BeMove box: the existing separator controls the map/content heights. */
.info-modal.community-modal .community-dialog{display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;animation:none;color:inherit}
.info-modal.community-modal .community-dialog-body{padding:12px 15px 20px}.info-modal.community-modal .community-form-intro h2{font-size:20px}.info-modal.community-modal .community-card{border-radius:var(--radius,5px);box-shadow:none}.info-modal.community-modal .community-form input,.info-modal.community-modal .community-form select,.info-modal.community-modal .community-form textarea,.info-modal.community-modal .community-submit,.info-modal.community-modal .community-actions button{border-radius:var(--radius,5px)}.community-slot[hidden]{display:none!important}
/* Right map commands, shared by all views. */
.community-map-controls{position:absolute;left:auto;right:14px;bottom:14px;top:auto;z-index:1300;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:auto}
body .community-map-controls #homeLocationBtn,body .community-map-controls #mapControlsBtn,body .community-map-controls .trip-map-actions,body .community-map-controls .planner-map-actions{position:static!important;inset:auto!important;margin:0!important;transform:none!important}
body .community-map-controls .trip-map-actions,body .community-map-controls .planner-map-actions{display:flex;flex-direction:column;gap:12px}
body .community-map-controls .trip-map-actions[hidden],body .community-map-controls .planner-map-actions[hidden]{display:none!important}
body .community-map-report{display:grid;place-items:center;width:44px;height:44px;padding:7px;background:transparent!important;border:0!important;box-shadow:none!important;cursor:pointer;color:#492b09!important}
.community-control-diamond{display:grid;place-items:center;width:30px;height:30px;background:#f59a23;border:0;border-radius:5px;transform:rotate(45deg)}.community-control-diamond .community-icon{font-size:21px;transform:rotate(-45deg)}.community-map-report.is-selecting .community-control-diamond{background:#ffbf58;outline:2px solid #8b4208;outline-offset:3px}
body .community-header-report{color:#ed942c!important}.community-header-report .community-icon{font-size:21px}.community-header-report:focus-visible,.community-map-report:focus-visible{outline:2px solid #ed942c;outline-offset:3px}
/* Flat diamonds. MapLibre alone owns the geographic positioning transform. */
.community-marker .community-diamond,.community-marker:hover .community-diamond{background:#f59a23;border:0;box-shadow:none;border-radius:5px}.community-marker-count{border:0}
@media(max-width:600px){.community-map-controls{left:auto;right:12px;top:18px;bottom:auto;gap:10px}.info-modal.community-modal .community-dialog{margin:0;max-height:none;border-radius:0}}
body.community-info-open:not(.modular-app-mode) .info-modal.community-modal.integrated-info-box{flex:0 0 auto!important;height:52vh;resize:none;max-height:75vh!important;min-height:240px!important}.community-info-open .community-slot{display:none!important}
/* Community boxes use the native inline layout at every viewport width. */
body.community-info-open .info-modal.community-modal.integrated-info-box{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important;border:0!important;border-radius:var(--bemove-box-radius,25px)!important;box-shadow:none!important;background:var(--surface)!important;color:var(--text)!important;z-index:20!important;order:4}
body.community-info-open .info-modal.community-modal .info-modal-header{position:relative!important;flex:0 0 auto;min-height:58px;padding:12px 15px!important;margin:0!important;width:100%;border-radius:0!important}
body.community-info-open .info-modal.community-modal .info-modal-body{display:block!important;flex:1 1 auto;min-height:0;overflow:auto!important;overscroll-behavior:contain}
/* Reports stay above transport markers, below the map controls. */
.community-marker{z-index:25}.community-marker:hover,.community-marker:focus-visible{z-index:26}

/* Native warning controls; the outer button keeps the same hit area as its siblings. */
body .community-header-alert{display:grid;place-items:center;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;color:#492b09!important;padding:0!important}
body .community-header-alert[hidden]{display:none!important}
.community-alert-diamond{display:grid;place-items:center;width:25px;height:25px;border-radius:5px;background:#f59a23;transform:rotate(45deg)}
.community-alert-diamond>span{transform:rotate(-45deg);font:900 20px/1 var(--font-app,system-ui,sans-serif)}
.community-header-alert:focus-visible{outline:2px solid #ed942c;outline-offset:3px}
@media(min-width:601px){.community-map-controls{flex-direction:column-reverse}}
/* MapLibre owns the outer div's transform and positioning class. No button rule can move it. */
.community-map-anchor{width:44px;height:44px;z-index:25;pointer-events:auto}
.community-map-anchor>.community-marker{position:absolute!important;inset:0!important;margin:0!important;width:44px!important;height:44px!important;transform:none!important;padding:8px!important;border:0!important;background:transparent!important}
.community-map-anchor:hover,.community-map-anchor:focus-within{z-index:26}
/* Community cards follow the supplied BeMove reference. */
.info-modal.community-modal .community-reference-card{padding:0;border:0;border-radius:20px;background:#fff;color:#080808;overflow:hidden;box-shadow:none}.community-reference-card:before{display:none}.community-report-location{display:flex;align-items:center;gap:17px;padding:18px 22px;background:#ff9800;color:#000}.community-reference-card .community-report-location h3{font-size:clamp(23px,3vw,32px);line-height:1.02;letter-spacing:-.7px;font-weight:900;margin:0;overflow-wrap:anywhere}.community-report-warning{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:8px;background:#000;transform:rotate(45deg);color:#fff}.community-report-warning>span{font-size:37px;font-weight:900;line-height:1;transform:rotate(-45deg)}.community-report-content{padding:22px 24px}.community-report-type{display:flex;align-items:center;gap:12px;margin-bottom:16px}.community-report-type h4{margin:0;font-size:clamp(23px,2.5vw,30px);font-weight:900;line-height:1.08;letter-spacing:-.5px}.community-report-type-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#ff4d58;color:#000}.community-report-type-icon .community-icon{font-size:35px;stroke-width:1.8}.community-report-type-icon.kind-works{background:#ffd267}.community-report-type-icon.kind-demonstration{background:#b8dcff}.community-report-type-icon.kind-access{background:#ffbb86}.community-report-lines>strong{display:block;margin-bottom:8px;font-size:18px;font-weight:800}.community-report-lines>div{display:flex;gap:7px;flex-wrap:wrap}.community-line-chip{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:4px 12px;border-radius:10px;font-size:22px;font-weight:900;line-height:1.15}.community-report-origin{margin-top:18px;font-size:15px;line-height:1.55;color:#626262}.community-report-description{margin:15px 0;font-size:15px;line-height:1.5;white-space:pre-wrap}.community-report-scope{margin:0 0 12px;font-size:14px;color:#444}.community-report-extra{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin-top:10px}.community-report-expiration{font-size:11px;color:#666}.community-reference-card .community-actions{margin-top:16px}.community-reference-card .community-status{margin:0}.community-reference-card .community-passage{color:#444}
.community-alert-groups{display:grid;gap:12px}.community-alert-section{min-width:0;border-radius:13px;overflow:hidden;background:var(--card-b,#eee)}.community-alert-section>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 14px;list-style:none;cursor:pointer;font-size:14px;font-weight:800;color:var(--text,#111)}.community-alert-section>summary::-webkit-details-marker{display:none}.community-alert-section>summary>span{flex:1}.community-alert-section>summary>b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;background:var(--panel,#fff);border-radius:6px;font-size:12px}.community-alert-section>summary>.community-icon{font-size:18px;transition:transform .16s}.community-alert-section[open]>summary>.community-icon{transform:rotate(90deg)}.community-section>summary{background:#ff9800;color:#080808}.official-section>summary{background:#ff4d58;color:#080808}.community-alert-section-body{padding:10px}.community-reference-card .community-confirm{background:#fff0d9;color:#813e05;border:1px solid #ebc595!important}.community-reference-card .community-end{background:#f5f5f5;color:#444;border:1px solid #ddd!important}html[data-theme="dark"] .community-dialog .community-reference-card .community-confirm{background:#fff0d9;color:#813e05}html[data-theme="dark"] .community-dialog .community-reference-card .community-end{background:#f5f5f5;color:#444}html[data-theme="dark"] .community-reference-card .community-status{background:#fff0d9;color:#813e05}html[data-theme="dark"] .community-reference-card .community-status.is-confirmed{background:#eaf4ef;color:#296047}
@media(max-width:600px){.community-report-location{padding:16px;gap:13px}.community-report-warning{width:36px;height:36px;flex-basis:36px;border-radius:7px}.community-report-warning>span{font-size:29px}.community-report-content{padding:18px 16px}.community-report-type-icon{width:42px;height:42px;flex-basis:42px}.community-report-type-icon .community-icon{font-size:29px}.community-reference-card .community-report-location h3,.community-report-type h4{font-size:25px}}
/* Leave a separate lane for the native navigation controls. */
.home-map:has(.community-map-controls) .maplibregl-ctrl-bottom-right{right:64px}
.community-alert-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}.community-dialog .community-new-report{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:0;border-radius:var(--radius,5px);background:#fff0d9;color:#813e05;font-size:12px;font-weight:750}.community-new-report .community-icon{font-size:18px}
/* The reference describes the entire native box, not a card inside it. */
body.community-info-open .info-modal.community-report-box{background:#fff!important;color:#080808!important}
body.community-info-open .info-modal.community-report-box .info-modal-header{background:#ff9800!important;color:#000!important;padding:20px 24px!important;min-height:96px;border:0!important;gap:15px;align-items:center}
.community-report-box #infoModalTitle{display:flex!important;align-items:center;gap:20px;flex:1;min-width:0;color:#000!important;font-size:clamp(25px,3vw,34px)!important;font-weight:900!important;line-height:1.02!important;letter-spacing:-.7px}
.community-box-location{display:block;overflow-wrap:anywhere}.community-report-box .info-modal-header>.map-controls-close{flex-shrink:0;background:transparent!important;color:#000!important;width:28px!important;height:28px!important}
body.community-info-open .info-modal.community-report-box .info-modal-body{padding:0!important;background:#fff!important;color:#080808!important}
.info-modal.community-report-box .community-dialog-body{padding:0!important}
.info-modal.community-report-box .community-reference-card{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;background:#fff!important}
.community-report-box .community-results,.community-report-box .community-alert-groups{gap:0}
.community-report-box .community-report-content{padding:24px}.community-report-box .community-report-location{border-radius:0}
.community-report-box .community-reference-card+.community-reference-card{border-top:1px solid #ddd!important}
.community-report-box .community-alert-section{border-radius:0;background:#fff}.community-report-box .community-alert-section-body{padding:0}.community-report-box .official-section .community-alert-section-body{padding:16px 24px}
.community-report-box .community-alert-toolbar{margin:0;padding:4px 24px 20px;background:#fff}.community-report-box .community-message:not(:empty){margin:0 24px 20px!important}
@media(max-width:600px){body.community-info-open .info-modal.community-report-box .info-modal-header{padding:18px 20px!important;min-height:88px}.community-report-box #infoModalTitle{gap:17px;font-size:28px!important}.community-report-box .community-report-content{padding:20px}.community-report-box .community-alert-toolbar{padding:4px 20px 20px}}
/* Compact native box header, red for mixed provenance. */
body.community-info-open .info-modal.community-report-box .info-modal-header{min-height:60px!important;padding:12px 18px!important;gap:10px}
.community-report-box #infoModalTitle{font-size:23px!important;gap:14px;line-height:1.08!important;letter-spacing:-.4px}
.community-report-box #infoModalTitle .community-report-warning{width:30px;height:30px;flex-basis:30px;border-radius:6px}.community-report-box #infoModalTitle .community-report-warning>span{font-size:26px}
body.community-info-open .info-modal.community-mixed-box .info-modal-header{background:#ff4d58!important}
/* A single warning control combines all sources; creation lives inside the box. */
body:has(.community-header-alert) #tripAlertBtn{display:none!important}.community-header-alert .community-alert-diamond{background:#ff4d58;color:#fff}
body .community-dialog .community-reference-card .community-confirm{background:#247847!important;color:#fff!important;border:0!important}
body .community-dialog .community-reference-card .community-end{background:#111!important;color:#fff!important;border:0!important}
.community-placement-anchor{width:44px;height:44px;pointer-events:none;z-index:28}.community-placement-target{position:absolute;inset:0;display:grid;place-items:center;border:2px dashed #111;border-radius:50%;background:#ffffff80}.community-placement-target .community-diamond{opacity:.85;display:grid;place-items:center}.community-placement-target .community-diamond>span{font:900 20px/1 system-ui}
.community-placement-guide{position:absolute;left:12px;right:68px;bottom:16px;z-index:1350;display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;background:#111;color:#fff;font-family:var(--font-app,system-ui,sans-serif);box-shadow:0 4px 16px #0003}.community-placement-guide>div{flex:1}.community-placement-guide strong{display:block;font-size:13px;line-height:1.35}.community-placement-guide small{display:block;margin-top:4px;font-size:11px;color:#ddd;line-height:1.35}.community-placement-guide button{background:#333;color:#fff;border:0;border-radius:6px;padding:9px;font:inherit;font-size:11px;cursor:pointer}
@media(max-width:600px){body.community-info-open .info-modal.community-report-box .info-modal-header{min-height:58px!important;padding:12px 16px!important}.community-report-box #infoModalTitle{font-size:22px!important;gap:12px}}
/* Keep placement instructions inside the visible upper part of the clipped map. */
.community-placement-guide{top:12px;bottom:auto}
/* One white body, without coloured panels behind the dropdown headings. */
.community-report-box .community-alert-section,.community-report-box .community-alert-section>summary,.community-report-box .community-alert-section-body,.community-report-box .community-alert-groups,.community-report-box .community-alert-toolbar{background:transparent!important;border:0;box-shadow:none}
.community-report-box .community-alert-section>summary{color:#080808!important;border-bottom:1px solid #e6e6e6;border-radius:0}
.community-report-box .community-alert-section>summary>b{background:transparent!important;color:#080808}
.community-report-box .community-status,.community-report-box .community-status.is-confirmed,.community-report-box .community-message,.community-report-box .alert-card,.community-report-box .alert-detail-card{background:transparent!important;box-shadow:none!important}
.community-report-box .community-status{padding:0!important}.community-report-box .community-message:not(:empty){padding:0!important}
body .community-header-alert:not(.has-alerts){color:#ed942c!important}.community-header-alert:not(.has-alerts) .community-icon{font-size:21px}

/* Official alerts use the full native box, with no nested framed cards. */
body.community-info-open .info-modal.community-report-box .official-section { border:0!important;border-radius:0!important;background:transparent!important; }
body.community-info-open .info-modal.community-report-box .official-section .community-alert-section-body { padding:18px!important; }
body.community-info-open .info-modal.community-report-box :is(.alert-card,.alert-detail-card) { border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin-left:0!important;margin-right:0!important; }
body:has(#stopView.active,#tripView.active,#plannerView.active,.unified-search-sheet.open) #communityMapReportBtn { display:none!important; }
body #communityMapReportBtn { background:#080808!important;color:#f59a23!important;border-radius:9px!important;transform:rotate(45deg); }
#communityMapReportBtn .community-control-diamond { background:transparent!important;transform:none!important;border:0!important;outline:none!important; }
#communityMapReportBtn .community-control-diamond .community-icon { transform:rotate(-45deg)!important;color:#f59a23!important; }
#communityMapReportBtn.is-selecting { outline:2px solid #f59a23!important;outline-offset:3px; }

/* Reporting form: orange native header and illustrated BeMove problem choices. */
body.community-info-open .community-modal:has(.community-form) .info-modal-header { background:#ff9800!important;color:#080808!important; }
body.community-info-open .community-modal:has(.community-form) #infoModalTitle,
body.community-info-open .community-modal:has(.community-form) .map-controls-close { color:#080808!important; }
.community-kind-list { border:0;padding:0;margin:16px 0;display:grid;gap:6px;min-width:0; }
.community-kind-list legend { font-weight:850;margin-bottom:9px;font-size:13px; }
.community-form .community-kind-option { display:flex;align-items:center;gap:11px;padding:9px 11px;border:2px solid transparent;border-radius:12px;background:#f1eff2;color:#111;cursor:pointer;font-weight:800; }
.community-form .community-kind-option[hidden] { display:none; }
.community-kind-option input { position:absolute;opacity:0;width:1px;height:1px; }
.community-kind-option:has(input:checked) { border-color:#111;background:#fff; }
.community-kind-option:has(input:focus-visible) { outline:2px solid #e94986;outline-offset:2px; }
.community-kind-disc { display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--kind-color);color:#080808; }
.community-kind-disc .community-icon { width:21px;height:21px; }
.community-kind-check { display:none;margin-left:auto; }
.community-kind-option:has(input:checked) .community-kind-check { display:block; }
.community-map-placing .maplibregl-marker { pointer-events:none!important; }
@media(min-width:901px) {
 body.community-info-open .info-modal:has(.community-form) { resize:none;overflow:auto;min-height:220px;max-height:calc(100dvh - 100px)!important; }
}

/* Clearer standard pictograms and a plain, bold publication action. */
.community-kind-disc .community-icon { width:22px;height:22px;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round; }
.community-form .community-submit {
 min-height:54px;padding:14px 18px;border-radius:16px!important;corner-shape:superellipse(1.6);
 font-size:17px!important;font-weight:900!important;line-height:1.2;background:#111!important;color:#fff!important;
}
body.community-info-open .community-modal:has(.community-loading) .info-modal-header { background:#ff9800!important;color:#080808!important; }

@media (max-width:900px) {
 body.modular-app-mode.integrated-info-open:has(.info-modal.integrated-info-box.community-modal.open) .modular-home-map-slot { flex:0 0 calc(34dvh - (var(--modular-progress,0) * 28dvh) + (var(--modular-expand,0) * (var(--modular-map-expanded,80dvh) - 34dvh)))!important;min-height:52px!important;max-height:none!important; }
 body.modular-app-mode .info-modal.integrated-info-box.community-modal.open { flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important; }
 body.modular-app-mode .info-modal.community-modal .info-modal-body { min-height:0!important;flex:1 1 0;overflow:auto; }
}

/* Dark native report/alert boxes; orange/red headers and category discs keep their colors. */
html[data-theme="dark"] body.community-info-open .info-modal.community-report-box,
html[data-theme="dark"] body.community-info-open .info-modal.community-report-box .info-modal-body,
html[data-theme="dark"] body .community-report-box :is(.community-reference-card,.community-alert-section,.community-alert-toolbar) { background:var(--surface)!important;color:#ffffff!important; }
html[data-theme="dark"] body .community-report-box :is(.community-report-origin,.community-report-scope,.community-report-expiration,.community-passage) { color:#aaaaaa!important; }
html[data-theme="dark"] body .community-form .community-kind-option { background:var(--surface2);color:#ffffff; }
html[data-theme="dark"] body .community-form .community-kind-option:has(input:checked) { background:#42363c;border-color:#ff9800; }
html[data-theme="dark"] body .community-alert-section > summary { color:#ffffff!important; }
html[data-theme="dark"] body .community-alert-section > summary > b { background:var(--surface2);color:#fff; }
