:root { color-scheme: light; font-family: Verdana, sans-serif; color: #243247; background: #f8f9fa; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1973cf; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -5rem; left: 1rem; padding: .75rem; background: white; z-index: 3000; }
.skip-link:focus { top: 1rem; }
.wrapper { display: flex; height: 100vh; height: 100dvh; overflow: hidden; }
.map-panel { position: relative; width: 50%; height: 100%; background: #e4e9e7; }
#map { width: 100%; height: 100%; }
#side-panel { width: 50%; min-width: 0; overflow-y: auto; overscroll-behavior: contain; background: #f8f9fa; scroll-padding-top: 1rem; }
.feed-content { padding: 1rem; }
.marker-item { margin: 0 0 1rem; padding: 1rem; border: 1px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; scroll-margin-top: 1rem; }
.marker-item:hover { background: #e9ecef; }
.marker-item.highlighted { background: #6c757d; color: white; border-color: #596775; }
.marker-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: .75rem; }
.marker-heading h2 { margin: 0; font-size: 1rem; }
.marker-location { color: #63717c; font-size: .8rem; }
.marker-item.highlighted .marker-location { color: #f0f3f5; }
.messages { font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.messages p { margin: 0 0 .75rem; white-space: pre-wrap; }
.images { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.image-button { display: block; padding: 0; border: 0; border-radius: 5px; background: #e2e6e9; overflow: hidden; }
.image-button:hover { box-shadow: 0 0 0 2px #1973cf; }
.images img { display: block; width: 100px; height: 100px; object-fit: cover; }
.no-content { text-align: center; padding: 3.5rem 1.5rem; color: #63717c; }
.no-content h2 { font-size: 1.1rem; color: #243247; margin-top: 0; }
.no-content p { margin: .5rem 0; }
.map-actions { position: absolute; bottom: 2rem; left: .75rem; z-index: 500; display: flex; gap: .5rem; }
.map-actions button { box-shadow: 0 1px 5px #0002; }
.map-error { position: absolute; top: 40%; left: 1rem; right: 1rem; padding: 1rem; background: white; z-index: 500; border-radius: 5px; }
.photo-dialog { width: min(1100px, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); border: 0; border-radius: 8px; padding: 1rem; background: #17202c; color: white; }
.photo-dialog::backdrop { background: #000c; }
.photo-toolbar, .photo-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.photo-toolbar h2 { margin: 0; font-size: 1rem; font-weight: normal; overflow-wrap: anywhere; }
.photo-toolbar form { margin: 0; }
.photo-dialog button { color: #243247; }
.photo-stage { display: grid; place-items: center; min-height: 200px; margin: 1rem 0; }
.photo-stage img { display: block; max-width: 100%; max-height: 70dvh; object-fit: contain; }
.photo-navigation span { font-size: .875rem; }
.entry-dialog { width: min(500px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.25rem; border: 1px solid #c5cdd5; border-radius: 8px; color: #243247; background: white; }
.entry-dialog::backdrop { background: #0009; }
.entry-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.entry-dialog h2 { margin: 0; font-size: 1.2rem; }
.entry-dialog header form { margin: 0; }
.entry-dialog button, .entry-dialog input { font: inherit; padding: .5rem .7rem; border: 1px solid #a9b4bf; border-radius: 4px; }
.entry-dialog button { background: #f3f5f8; }
.entry-form { display: grid; gap: .75rem; }
.entry-form p { margin: 0; overflow-wrap: anywhere; }
.entry-form label { display: grid; gap: .25rem; }
.entry-form input { width: 100%; min-width: 0; }
.entry-error { padding: .75rem; color: #8b2020; background: #ffe0e0; border-radius: 4px; }
@media (max-width: 700px) {
    .wrapper { flex-direction: column; }
    .map-panel { width: 100%; height: 42%; flex-shrink: 0; }
    #side-panel { width: 100%; flex: 1; min-height: 0; scroll-padding-top: 1rem; }
    .feed-content { padding: .65rem; }
    .marker-item { padding: .85rem; }
    .map-actions { bottom: 1.5rem; }
    .map-actions button { padding: .35rem .6rem; }
    .photo-dialog { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
