:root { --background: #f7f8fa; --card: #fff; --foreground: #18212f; --muted: #687486; --border: #e2e7ed; --input: #d8dee7; --primary: #0d4f69; --ring: #4b90aa; color: var(--foreground); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--background); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
body.is-resizing { cursor: col-resize; user-select: none; }
a { text-decoration: none; }
.workspace-page { height: 100vh; overflow: hidden; }
.app-header { align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); display: flex; gap: 24px; justify-content: space-between; min-height: 90px; padding: 13px 24px; position: relative; z-index: 10; }
.brand { align-items: center; display: flex; gap: 12px; min-width: 0; }
.brand img { height: 58px; object-fit: contain; width: 84px; }
.eyebrow { color: var(--primary); font-size: .67rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 4px; }
h1 { font-size: 1.65rem; letter-spacing: -.048em; line-height: 1.1; margin: 0; }
h2 { font-size: 1rem; letter-spacing: -.02em; margin: 0; }
#summary { color: var(--muted); font-size: .77rem; margin: 6px 0 0; }
.header-note { background: #edf5f7; border: 1px solid #d5e6ea; border-radius: 999px; color: var(--primary); font-size: .76rem; font-weight: 700; padding: 7px 11px; }
.source { color: var(--primary); font-size: .82rem; font-weight: 750; white-space: nowrap; }
.split-layout { --event-pane-width: 48%; display: grid; grid-template-columns: minmax(330px, var(--event-pane-width)) 10px minmax(330px, 1fr); height: calc(100vh - 90px); }
.event-pane { background: var(--background); min-width: 0; overflow-y: auto; padding: 22px; }
.pane-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 17px; }
.pane-heading button { color: var(--primary); min-height: 34px; padding: 6px 10px; }
.tools { background: var(--card); border: 1px solid var(--border); border-radius: 11px; box-shadow: 0 1px 2px rgba(22,33,47,.04); display: grid; gap: 13px; padding: 14px; }
.date-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
label { color: #4e5c6b; display: grid; font-size: .74rem; font-weight: 700; gap: 6px; letter-spacing: .01em; }
input, button { border: 1px solid var(--input); border-radius: 7px; color: var(--foreground); font: inherit; min-height: 38px; outline: none; padding: 8px 10px; }
input { background: #fff; font-size: .84rem; }
input:focus { border-color: var(--ring); box-shadow: 0 0 0 3px rgba(75,144,170,.16); }
button { background: #fff; cursor: pointer; font-size: .8rem; font-weight: 700; transition: background .15s, border-color .15s; }
button:hover { background: #f5f7f9; border-color: #bfc9d5; }
#result-count { color: var(--muted); font-size: .8rem; font-weight: 650; margin: 18px 1px 10px; }
.entry { background: var(--card); border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 1px 2px rgba(22,33,47,.03); margin-bottom: 9px; overflow: hidden; padding: 14px 15px; transition: border-color .15s, box-shadow .15s; }
.entry:hover { border-color: #c7d3db; box-shadow: 0 4px 12px rgba(22,33,47,.06); }
.entry-topline { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; }
.entry-date, .entry-meta { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .01em; margin: 0; }
.entry-meta { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.entry-street { color: var(--primary); font-size: .77rem; font-weight: 700; margin: 10px 0 0; }
.entry-source { color: #7355a2; font-size: .72rem; font-weight: 750; margin: 8px 0 0; }
.entry-source:empty { display: none; }
.entry h2 { font-size: .93rem; margin: 7px 0 4px; }
pre { color: #3e4b58; font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; margin: 0; overflow-wrap: anywhere; padding-top: 8px; white-space: pre-wrap; }
mark { background: #fff0b8; border-radius: 3px; color: inherit; padding: 0 2px; }
.resize-divider { align-items: center; background: var(--border); cursor: col-resize; display: flex; justify-content: center; position: relative; touch-action: none; z-index: 5; }
.resize-divider:hover, .resize-divider:focus { background: #b7ced7; outline: none; }
.resize-divider span { background: #fff; border: 1px solid #b8c3cf; border-radius: 999px; height: 44px; width: 4px; }
.map-pane { min-width: 0; position: relative; }
#map { height: 100%; min-height: 400px; width: 100%; }
.map-status { backdrop-filter: blur(8px); background: rgba(255,255,255,.93); border: 1px solid rgba(211,221,230,.94); border-radius: 9px; box-shadow: 0 2px 10px rgba(22,33,47,.12); display: grid; gap: 3px; left: 16px; max-width: 280px; padding: 11px 13px; pointer-events: none; position: absolute; top: 16px; z-index: 500; }
.map-status strong { color: var(--foreground); font-size: .8rem; }
.map-status span { color: var(--muted); font-size: .74rem; line-height: 1.35; }
.leaflet-control-zoom a { color: var(--foreground) !important; }
@media (max-width: 780px) { .workspace-page { height: auto; overflow: auto; } .app-header { align-items: flex-start; flex-wrap: wrap; gap: 10px; min-height: auto; padding: 12px 14px; } .brand img { height: 48px; width: 70px; } h1 { font-size: 1.32rem; } .header-note { display: none; } .source { font-size: .76rem; margin-left: auto; } .split-layout { display: block; height: auto; } .event-pane { max-height: 66vh; padding: 14px; } .resize-divider { display: none; } .map-pane { height: 58vh; } .entry-topline { align-items: flex-start; flex-direction: column; gap: 4px; } }
