#pane-earthquakes { padding: 0 !important; }
.eq-kicker { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eq-sidebar { display: flex; flex-direction: column; height: 100%; min-height: 0; color: var(--text-primary); }
.eq-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--border-soft); }
.eq-filters label { display: grid; gap: 4px; color: var(--text-muted); font-size: 10px; }
.eq-filters select { width: 100%; min-width: 0; border: 1px solid var(--border-soft); border-radius: 7px; background: var(--bg-input); color: var(--text-primary); padding: 7px 8px; font-size: 11px; outline: 0; }
.eq-filters select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
.eq-filter-checks { grid-column: 1 / -1; display: flex; gap: 13px; padding-top: 2px; }
.eq-filter-checks label { display: flex; align-items: center; gap: 5px; color: var(--text-secondary); font-size: 10px; cursor: pointer; }
.eq-filter-checks input { accent-color: var(--accent); }
.eq-feed-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border-soft); font-size: 9px; color: var(--text-muted); }
.eq-feed-meta button, .eq-report-actions button, .eq-report-actions a, .eq-error button { border: 1px solid var(--accent-border); border-radius: 7px; background: var(--accent-dim); color: var(--accent-text); padding: 6px 9px; font-size: 10px; font-weight: 700; cursor: pointer; text-decoration: none; }
.eq-feed-meta button:hover, .eq-report-actions button:hover, .eq-report-actions a:hover { background: var(--active-bg); border-color: var(--accent); }
#eq-feed-status.is-error { color: var(--danger-text); }
#eq-feed-status.is-warning { color: #d08770; }
.eq-event-list { flex: 1; min-height: 0; overflow: auto; padding-bottom: 8px; }
.eq-group-title { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 5px; background: var(--bg-panel); color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eq-group-title b { min-width: 18px; padding: 2px 5px; border-radius: 10px; background: var(--bg-input); text-align: center; font-size: 9px; }
.eq-event-row { width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 9px; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; color: inherit; text-align: left; cursor: pointer; }
.eq-event-row:hover { background: var(--hover-bg); }
.eq-event-row.active { background: var(--accent-dim); box-shadow: inset 3px 0 0 var(--accent); }
.eq-mag { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; }
.eq-monitor { background: #7b8794 !important; }.eq-review { background: #5e81ac !important; }.eq-priority { background: #d08770 !important; }.eq-critical { background: #bf616a !important; }
.eq-event-copy { min-width: 0; display: grid; gap: 3px; }
.eq-event-copy strong { overflow: hidden; color: var(--text-primary); font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.eq-event-copy small { color: var(--text-muted); font-size: 9px; }
.eq-reviewed { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid var(--accent-border); border-radius: 50%; color: var(--accent); font-size: 8px; font-weight: 900; }
.eq-attribution { padding: 9px 12px; border-top: 1px solid var(--border-soft); color: var(--text-muted); font-size: 8.5px; line-height: 1.4; }
.eq-attribution a { color: var(--accent-text); }
.eq-no-results { display: grid; gap: 5px; padding: 28px 16px; color: var(--text-muted); text-align: center; font-size: 11px; }.eq-no-results strong { color: var(--text-primary); }
.eq-mobile-more { display:none; width:calc(100% - 24px); margin:10px 12px 4px; padding:9px; border:1px solid var(--accent-border); border-radius:7px; background:var(--accent-dim); color:var(--accent-text); font-size:10px; font-weight:750; cursor:pointer; }

.eq-workspace { display: grid; grid-template-rows: minmax(260px, 42%) minmax(0, 1fr); height: 100%; min-height: 0; }
.eq-map-shell { position: relative; min-height: 0; border-bottom: 1px solid var(--border-hard); background: #d8e0e5; }
#eq-map { width: 100%; height: 100%; }
.eq-map-legend { position: absolute; z-index: 4; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 8px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(29,34,43,.88); color: #eceff4; box-shadow: 0 4px 16px rgba(0,0,0,.2); font-size: 9px; backdrop-filter: blur(7px); }
.eq-map-legend span { display: flex; align-items: center; gap: 4px; }.eq-map-legend i { width: 8px; height: 8px; border-radius: 50%; }.eq-map-legend .monitor { background:#7b8794; }.eq-map-legend .review { background:#5e81ac; }.eq-map-legend .priority { background:#d08770; }.eq-map-legend .critical { background:#bf616a; }
.eq-map-note { position: absolute; z-index: 4; right: 10px; bottom: 10px; max-width: 330px; padding: 6px 8px; border-radius: 6px; background: rgba(29,34,43,.85); color: #d8dee9; font-size: 8.5px; line-height: 1.3; }
.eq-report { min-height: 0; overflow: auto; color: var(--text-primary); background: var(--bg-main); }
.eq-empty, .eq-report-loading, .eq-error { min-height: 100%; display: grid; place-content: center; justify-items: center; gap: 9px; padding: 32px; text-align: center; }
.eq-empty h2 { max-width: 600px; font-size: 22px; }.eq-empty p { max-width: 620px; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.eq-empty-rings { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--accent-border); border-radius: 50%; box-shadow: 0 0 0 10px var(--accent-dim); }.eq-empty-rings span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.eq-report-loading span { width: 28px; height: 28px; border: 3px solid var(--border-soft); border-top-color: var(--accent); border-radius: 50%; animation: eqspin .8s linear infinite; }.eq-report-loading small { color: var(--text-muted); }
@keyframes eqspin { to { transform: rotate(360deg); } }
.eq-report-hero { padding: 22px clamp(18px,3vw,38px) 14px; background: linear-gradient(135deg, var(--accent-dim), transparent 60%); border-bottom: 1px solid var(--border-soft); }
.eq-hero-main { display: flex; align-items: center; gap: 16px; }.eq-mag-large { flex: 0 0 auto; width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--accent-border); border-radius: 50%; background: var(--bg-card); color: var(--text-primary); font-size: 19px; font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.eq-report-hero h1 { margin: 4px 0 3px; font-size: clamp(20px,2.4vw,30px); line-height: 1.15; }.eq-report-hero p { color: var(--text-muted); font-size: 11px; }
.eq-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }.eq-badge { padding: 5px 8px; border: 1px solid var(--border-soft); border-radius: 999px; background: var(--bg-card); color: var(--text-secondary); font-size: 9px; font-weight: 750; }.eq-badge.eq-review,.eq-badge.eq-priority,.eq-badge.eq-critical,.eq-badge.eq-monitor { color:#fff; border-color:transparent; }
.pager-green{color:#3f9b70!important}.pager-yellow{color:#b28a16!important}.pager-orange{color:#d08770!important}.pager-red{color:#bf616a!important}
.eq-report-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px clamp(18px,3vw,38px); border-bottom: 1px solid var(--border-soft); color: var(--text-muted); font-size: 9px; }.eq-report-actions > div { display:flex; gap:6px; }
.eq-fact-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-bottom: 1px solid var(--border-soft); }.eq-fact-grid div { min-width:0; padding: 13px 14px; border-right: 1px solid var(--border-soft); }.eq-fact-grid div:last-child{border-right:0}.eq-fact-grid span,.eq-fact-grid strong { display:block; }.eq-fact-grid span { margin-bottom:4px; color:var(--text-muted); font-size:8px; text-transform:uppercase; letter-spacing:.06em; }.eq-fact-grid strong { overflow-wrap:anywhere; font-size:11px; }
.eq-report-section { margin: 16px clamp(18px,3vw,38px); padding: 17px; border: 1px solid var(--border-soft); border-radius: 11px; background: var(--bg-card); }.eq-triage { border-left: 3px solid var(--accent); }
.eq-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:12px; }.eq-section-head h2 { margin-top:3px; font-size:15px; }.eq-method { padding:4px 7px; border-radius:5px; background:var(--accent-dim); color:var(--accent-text); font-size:8px; white-space:nowrap; }
.eq-triage > ul,.eq-change-list { padding-left:18px; color:var(--text-secondary); font-size:11px; line-height:1.55; }.eq-method-note { margin-top:10px; color:var(--text-muted); font-size:9px; line-height:1.45; }
.eq-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.eq-product { padding:11px; border:1px solid var(--border-soft); border-radius:8px; background:var(--bg-main); opacity:.72; }.eq-product.available { opacity:1; border-color:var(--accent-border); }.eq-product > div { display:flex; justify-content:space-between; gap:8px; }.eq-product strong {font-size:11px}.eq-product span {color:var(--text-muted);font-size:8px}.eq-product p {margin:7px 0;color:var(--text-muted);font-size:9px;line-height:1.4}.eq-product a {color:var(--accent-text);font-size:9px;}
.eq-checklist { display:grid; gap:7px; list-style:none; counter-reset:eq; }.eq-checklist li {display:grid;grid-template-columns:58px 1fr;gap:9px;align-items:start;padding:8px;border-radius:7px;background:var(--bg-main);}.eq-checklist span{padding:3px 5px;border-radius:4px;background:var(--accent-dim);color:var(--accent-text);font-size:8px;font-weight:800;text-align:center}.eq-checklist p{color:var(--text-secondary);font-size:10px;line-height:1.45}
.eq-two-col { display:grid;grid-template-columns:1fr 1fr;gap:0; }.eq-two-col .eq-report-section:first-child{margin-right:8px}.eq-two-col .eq-report-section:last-child{margin-left:8px}.eq-community-list{display:grid;gap:5px;list-style:none}.eq-community-list li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--border-subtle);color:var(--text-secondary);font-size:10px}.eq-community-list strong{color:var(--text-muted);font-size:9px;white-space:nowrap}
.eq-hazards { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.eq-hazard{padding:10px;border-radius:8px;background:var(--bg-main)}.eq-hazard span,.eq-hazard strong{display:block}.eq-hazard span{color:var(--text-muted);font-size:8px;text-transform:uppercase}.eq-hazard strong{margin:4px 0;color:var(--text-primary);font-size:10px}.eq-hazard p{color:var(--text-muted);font-size:8.5px;line-height:1.4}
.eq-report-source { margin-top:20px;padding:16px clamp(18px,3vw,38px) 28px;border-top:1px solid var(--border-soft);color:var(--text-muted);font-size:9px;line-height:1.5}.eq-report-source strong{color:var(--text-secondary)}

@media (max-width: 1100px) { .eq-fact-grid{grid-template-columns:repeat(3,1fr)}.eq-fact-grid div:nth-child(3){border-right:0}.eq-products{grid-template-columns:1fr}.eq-hazards{grid-template-columns:1fr 1fr} }
@media (max-width: 768px) {
    .app-root[data-active-section="earthquakes"] .right-panel { display:flex!important; flex:0 0 auto!important; width:100%; height:auto; overflow:visible; }
    #pane-earthquakes.active { display:flex; flex:0 0 auto; min-height:0; }
    #section-earthquakes .eq-sidebar { height:auto; }.eq-event-list{max-height:none;overflow:visible}.eq-attribution{margin-bottom:4px}.eq-mobile-more{display:block}
    .eq-workspace{display:flex;flex-direction:column;height:auto}.eq-map-shell{height:300px;min-height:300px}.eq-report{overflow:visible}.eq-map-legend{right:8px;left:8px;top:8px}.eq-map-note{right:8px;bottom:7px;left:8px;max-width:none}
    .eq-report-hero{padding:18px 14px 13px}.eq-mag-large{width:56px;height:56px;font-size:16px}.eq-report-actions{padding:9px 14px;align-items:flex-start}.eq-report-actions>span{max-width:110px}.eq-fact-grid{grid-template-columns:repeat(2,1fr)}.eq-fact-grid div:nth-child(3){border-right:1px solid var(--border-soft)}.eq-fact-grid div:nth-child(even){border-right:0}
    .eq-report-section{margin:12px;padding:14px}.eq-two-col{grid-template-columns:1fr}.eq-two-col .eq-report-section:first-child,.eq-two-col .eq-report-section:last-child{margin:6px 12px}.eq-hazards{grid-template-columns:1fr}.eq-products{grid-template-columns:1fr}.eq-empty{min-height:280px;padding:24px 16px}.eq-empty h2{font-size:19px}
    .app-root[data-active-section="earthquakes"] .ol-viewport { touch-action:pan-y!important; }
}
@media (max-width: 420px) { .eq-filters{grid-template-columns:1fr}.eq-filter-checks{grid-column:auto}.eq-section-head{display:block}.eq-method{display:inline-block;margin-top:7px}.eq-report-actions{display:block}.eq-report-actions>div{margin-top:7px}.eq-hero-main{align-items:flex-start}.eq-report-hero h1{font-size:19px} }
