/* The regular shell owns navigation; this section owns only the map workspace. */
#berichten.geographic-notices { min-width:0; min-height:0; }
#berichten.geographic-notices > .card-heading { display:none; }
#berichten-content { display:flex; flex-direction:column; flex:1; min-height:0; min-width:0; }
body.notice-module-open:not(.phone-ui) #berichten {
 position:fixed; left:var(--notice-left); top:var(--notice-top); width:var(--notice-width); height:var(--notice-height); z-index:55;
 display:flex; flex-direction:column; background:var(--color-surface); margin:0; padding:0;
 border:1px solid var(--color-border-strong); border-radius:var(--radius); box-shadow:0 8px 32px var(--color-shadow-detail); overflow:hidden;
}
body.notice-module-open:not(.phone-ui) { overflow:hidden; }
body.notice-module-open:not(.phone-ui) .desktop-workspace { visibility:hidden; }
body.notice-module-open .desktop-header-controls [aria-controls="berichten"] { border-color:var(--color-accent-cyan); }
body.desktop-ui:not(.phone-ui) #notice-map-view .notice-map-layout { display:flex; flex-direction:row; flex:1; overflow:hidden; }
body.desktop-ui:not(.phone-ui) #notice-map-view #sidebar { width:var(--rail-width); border-left:1px solid var(--color-border); border-top:0; }
body.desktop-ui:not(.phone-ui) #notice-map-view #map { height:auto; flex:1; min-height:0; }
body.desktop-ui:not(.phone-ui) #notice-map-view #notice-module-close { min-height:32px; padding:.35rem .6rem; font-size:.76rem; border-radius:3px; font-weight:600; background:var(--color-surface); }
body.desktop-ui:not(.phone-ui) #notice-map-view #list-toggle { display:none; }
.phone-ui[data-phone-page="notices"] #berichten.geographic-notices { display:flex; flex-direction:column; padding:0; border:1px solid var(--color-border-strong); border-radius:var(--radius); background:var(--color-bg); }
.phone-ui[data-phone-page="notices"] #berichten > .card-heading { display:flex; gap:8px; padding:8px 10px; margin:0; }
.phone-ui #berichten > .card-heading .eyebrow,.phone-ui #berichten > .card-heading .badge { display:none; }
.phone-ui #berichten > .card-heading h2 { font-size:18px; }
.phone-ui #notice-map-view .notice-map-layout { display:flex; flex-direction:column; flex:none; }
.phone-ui #notice-map-view #map { flex:none; height:clamp(220px,calc(70dvh - var(--notice-map-header-height,8rem)),440px); min-height:220px; }
.phone-ui #notice-map-view #sidebar { width:100%; border-left:0; border-top:1px solid var(--color-border); }
.phone-ui #notice-list-scroll { flex:0 1 auto; max-height:60dvh; }
.phone-ui #notice-map-view #list-toggle { display:block; }
.phone-ui #notice-map-view.list-hidden #sidebar { display:none; }
.phone-ui #berichten #notice-module-close { display:none; }
.phone-ui[data-phone-page="notices"] #dashboard-sections { gap:8px; }
.phone-ui[data-phone-page="notices"] #waarschuwingen { order:2; }
.phone-ui[data-phone-page="notices"] #berichten { order:1; }
#detail-official { margin-top:20px; overflow-wrap:anywhere; }
#detail-official a,#detail .source-text a { color:var(--color-accent-cyan); text-decoration:underline; overflow-wrap:anywhere; }
#detail-selection-note { margin-top:20px; }
[data-notice-read-key].notice-is-read::after { content:" · Gelezen"; font-size:12px; color:var(--color-text-muted); }
.bridge-notice-bullet.notice-is-read::after { content:""; }
.bridge-notice-bullet.notice-is-read { opacity:.65; }
/* One list presentation for desktop and mobile; canonical read state is shared. */
.notice-list-status { display:none; }
.phone-ui #notice-map-view #sidebar { padding:6px; }
#notice-map-view .publication {
 position:relative; min-height:44px; margin:3px 0; padding:5px 38px 5px 8px;
 border-left:4px solid var(--color-brand-bronze); line-height:1.3;
}
#notice-map-view .publication.read { border-left-color:var(--color-text-muted); }
#notice-map-view .publication.read > strong,#notice-map-view .publication.read > .publication-title { color:var(--color-text-muted); }
#notice-map-view .publication strong { overflow-wrap:anywhere; white-space:normal; }
#notice-map-view .publication-title { display:block; font-weight:700; overflow-wrap:anywhere; white-space:normal; }
#notice-map-view .leaflet-tooltip { width:max-content; max-width:var(--notice-tooltip-max-width,280px); white-space:normal; overflow-wrap:anywhere; }
#notice-map-view .publication-summary { display:block; margin-top:3px; font-size:12px; font-weight:400; color:var(--color-text-muted); overflow-wrap:anywhere; white-space:normal; }
#unassessable .publication-summary { display:block; margin-top:3px; font-size:12px; overflow-wrap:anywhere; white-space:normal; }
/* Retain the source/partial-geography context for assistive technology. */
#notice-map-view .publication > small { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#notice-map-view .publication.notice-is-read::after { content:none; }
#notice-map-view .notice-source-badge {
 display:grid; place-items:center; position:absolute; top:8px; right:8px;
 width:22px; height:22px; color:var(--color-text-muted);
}
#notice-map-view .notice-source-badge img { width:22px; height:22px; object-fit:contain; border-radius:2px; background:var(--color-surface); }
html[data-theme="dark"] #notice-map-view .notice-source-badge img { background:var(--color-text); }
#notice-map-view .notice-source-fallback { display:grid; place-items:center; width:22px; height:22px; border:1px solid var(--color-border-strong); border-radius:3px; font-size:9px; font-weight:700; line-height:1; }
/* One footer: in the desktop sidebar, or the existing phone shell bottom slot. */
#sidebar > .notice-list-status,
body.phone-ui[data-phone-page="notices"].notice-module-open > .notice-list-status {
 display:flex; flex:0 0 auto; align-items:center; justify-content:space-between;
 gap:4px 8px; flex-wrap:wrap; padding:6px 10px; min-width:0;
 border-top:1px solid var(--color-border-strong); background:var(--color-surface);
 color:var(--color-text); font-size:.75rem; line-height:1.25;
}
.notice-list-status .notice-list-counter { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.notice-list-status b { font-variant-numeric:tabular-nums; min-width:2ch; text-align:right; }
#sidebar > .notice-list-status { padding:8px 0 0; margin-top:6px; }
.notice-list-status .notice-read-key { display:inline-block; height:16px; border-left:4px solid var(--color-brand-bronze); }
.notice-list-status .notice-read-key-read { border-left-color:var(--color-text-muted); }
#related-publications { position:sticky; top:0; z-index:2; padding:8px; background:var(--color-surface); border:1px solid var(--color-border); border-radius:7px; }
#related-publications label { display:block; margin-bottom:6px; color:var(--color-text-muted); }
#related-publications select { width:100%; min-width:0; max-width:100%; min-height:44px; font:inherit; color:var(--color-text); background:var(--color-surface-alt); border:1px solid var(--color-border-strong); }
