.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 350px; border: 1px solid var(--line-soft); border-radius: 7px; overflow: hidden; background: var(--surface); min-height: 552px; }
.map-panel { min-width: 0; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.map-heading { min-height: 73px; }
.map-key { display: flex; gap: 14px; color: var(--muted); font-size: 9px; }
.map-key > span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.key-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.moderate { background: var(--lime); }
.strong { background: var(--amber); }
.major { background: var(--coral); }
.filter-bar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); display: flex; padding: 10px 14px; gap: 10px; background: #0f1618; }
.segmented { display: flex; padding: 3px; border-radius: 5px; background: #192123; border: 1px solid #222d30; }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 5px 11px; font-family: var(--font-display); font-size: 9px; letter-spacing: .4px; border-radius: 3px; }
.segmented button:hover { color: var(--text); }
.segmented button.selected { color: var(--bg); background: var(--lime); font-weight: 700; }
.magnitude-filter button.selected { background: #344146; color: var(--text); }
.map-search { margin-left: auto; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 5px; padding: 0 10px; color: var(--faint); min-width: 140px; }
.map-search input { color: var(--text); background: transparent; border: 0; width: 100%; outline: none; font-size: 11px; min-width: 0; height: 32px; }
.map-search input::placeholder { color: var(--faint); }
.map-search:focus-within { border-color: var(--lime-dim); }
.map-wrap { position: relative; flex: 1; min-height: 419px; }
#map { position: absolute; inset: 0; background: #11191b; }
.map-loader { position: absolute; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: #11191b; color: var(--text); transition: opacity .3s; }
.map-loader small { color: var(--muted); }
.map-loader.loaded { opacity: 0; pointer-events: none; }
.spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--lime); border-radius: 50%; animation: spin .9s linear infinite; margin-bottom: 8px; }
.map-reset { position: absolute; z-index: 500; top: 11px; right: 11px; background: #172124; border: 1px solid #39464a; width: 30px; height: 30px; border-radius: 4px; color: #c0cbc8; font-size: 18px; }
.map-reset:hover { background: #253235; }
.map-caption { position: absolute; z-index: 500; bottom: 13px; left: 13px; padding: 7px 10px; border-radius: 4px; border: 1px solid rgba(75,90,92,.5); background: rgba(13,20,22,.87); backdrop-filter: blur(8px); display: flex; gap: 8px; align-items: center; color: #b3bfbb; font-size: 10px; }
.events-panel { min-width: 0; display: flex; flex-direction: column; }
.events-heading { min-height: 73px; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); border: 1px solid #35422a; background: rgba(200,243,106,.035); border-radius: 4px; font-size: 8px; letter-spacing: 1px; padding: 4px 6px; }
.live-badge i { width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.feed-tabs { display: flex; gap: 20px; padding: 0 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feed-tabs button { background: none; border: 0; color: var(--faint); padding: 11px 0 10px; font-size: 11px; position: relative; }
.feed-tabs button.active { color: var(--text); }
.feed-tabs button.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--lime); }
.event-list { flex: 1; max-height: 407px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #364244 transparent; }
.event-item { width: 100%; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; padding: 16px 18px; transition: background .15s; }
.event-item:hover { background: #172023; }
.mag-badge { width: 40px; height: 40px; border: 1px solid #465433; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--lime); font-family: var(--font-display); font-size: 13px; font-weight: 600; background: rgba(200,243,106,.03); }
.mag-badge.strong { border-color: #57462e; color: var(--amber); background: rgba(243,185,95,.04); }
.mag-badge.major { border-color: #5e382f; color: var(--coral); background: rgba(241,122,98,.04); }
.event-place { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 1px; }
.event-meta { font-size: 10px; color: var(--faint); margin-top: 5px; display: flex; gap: 7px; }
.event-meta span + span::before { content: "·"; margin-right: 7px; }
.event-time { font-size: 9px; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.view-log { background: transparent; border: 0; border-top: 1px solid var(--line-soft); padding: 13px 19px; color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; }
.view-log:hover { color: var(--lime); }
.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.insight-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 7px; min-height: 220px; }
.small-label { font-size: 8px; letter-spacing: 1px; color: var(--faint); }
.distribution-chart { padding: 14px 24px 21px; display: flex; flex-direction: column; gap: 14px; }
.dist-row { display: grid; grid-template-columns: 60px minmax(0,1fr) 35px; gap: 12px; align-items: center; font-size: 10px; }
.dist-label { color: var(--muted); }
.dist-track { height: 7px; background: #1d272a; border-radius: 2px; overflow: hidden; }
.dist-fill { height: 100%; background: var(--lime-dim); border-radius: 2px; min-width: 2px; transition: width .4s ease; }
.dist-row:nth-child(3) .dist-fill { background: var(--amber); }
.dist-row:nth-child(n+4) .dist-fill { background: var(--coral); }
.dist-count { text-align: right; color: #b7c1be; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.activity-chart { height: 144px; display: flex; align-items: flex-end; gap: 8px; padding: 14px 24px 22px; }
.activity-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.activity-value { color: var(--muted); font-size: 9px; opacity: 0; transition: opacity .2s; }
.activity-col:hover .activity-value { opacity: 1; }
.activity-bar { background: #34432c; border-top: 2px solid var(--lime-dim); width: 100%; max-width: 54px; min-height: 3px; border-radius: 2px 2px 0 0; }
.activity-col:last-child .activity-bar { background: var(--lime-dim); border-color: var(--lime); }
.activity-time { font-size: 9px; color: var(--faint); white-space: nowrap; }
.notice { border: 1px solid #58402e; background: #201b16; color: #e1b78b; border-radius: 6px; padding: 10px 15px; margin-bottom: 15px; font-size: 12px; }
.empty-feed { text-align: center; padding: 65px 25px; color: var(--muted); }
.empty-feed strong { color: var(--text); display: block; margin-bottom: 6px; font-weight: 500; }
