/* Emőd Vízfigyelő public UI. Deliberately theme-agnostic so the shortcodes remain readable in any theme. */
:root { --ev-ink:#142c42; --ev-muted:#5d7180; --ev-paper:#f5f8f6; --ev-card:#fff; --ev-line:#d8e4e1; --ev-aqua:#1aa59f; --ev-aqua-dark:#087c79; --ev-coral:#e97961; --ev-yellow:#f3c969; --ev-shadow:0 16px 42px rgba(20,44,66,.09); }
.ev-shell { max-width:1180px; margin:0 auto; padding:clamp(2rem,5vw,5.8rem) 1.25rem; color:var(--ev-ink); font-family:inherit; }
.ev-shell h1,.ev-shell h2,.ev-shell h3,.ev-shell p { margin-top:0; }
.ev-shell h1 { max-width:780px; margin-bottom:1rem; font-size:clamp(2.2rem,6vw,4.3rem); line-height:1.02; letter-spacing:-.045em; }
.ev-shell h2 { font-size:clamp(1.4rem,3vw,2rem); line-height:1.12; letter-spacing:-.025em; }
.ev-shell h3 { font-size:1.13rem; margin-bottom:.45rem; }
.ev-shell p { color:var(--ev-muted); line-height:1.65; }
.ev-kicker { display:block; color:var(--ev-aqua-dark); font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; margin-bottom:.9rem; }
.ev-page-heading { display:flex; gap:2rem; align-items:flex-end; justify-content:space-between; margin-bottom:2.5rem; }
.ev-page-heading p { max-width:680px; font-size:1.06rem; margin-bottom:0; }
.ev-page-heading .ev-button { flex-shrink:0; }
.ev-button { border:0; display:inline-flex; align-items:center; justify-content:center; gap:.85rem; min-height:3.25rem; border-radius:999px; padding:.75rem 1.25rem; font:inherit; font-weight:800; line-height:1.2; text-decoration:none; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.ev-button:hover,.ev-button:focus-visible { transform:translateY(-2px); box-shadow:0 9px 22px rgba(20,44,66,.18); }
.ev-button:focus-visible,.ev-field input:focus-visible,.ev-field textarea:focus-visible,.ev-field select:focus-visible,.ev-checkbox input:focus-visible { outline:3px solid rgba(26,165,159,.38); outline-offset:3px; }
.ev-button--primary { background:var(--ev-aqua); color:#fff; }
.ev-button--secondary { background:var(--ev-ink); color:#fff; }
.ev-button--quiet { background:var(--ev-paper); color:var(--ev-ink); }
.ev-notice { border-radius:14px; padding:1rem 1.15rem; margin:0 auto 1.5rem; border:1px solid var(--ev-line); color:var(--ev-ink); background:#fff; }
.ev-notice--success { background:#e5f5ef; border-color:#a9ded0; }
.ev-notice--info { background:#eaf1f5; border-color:#bed5df; }
.ev-notice--error { background:#fff0eb; border-color:#f0b5a6; }
.ev-callout { border-radius:18px; padding:1.2rem 1.35rem; margin:1.5rem 0; }
.ev-callout p { margin:.35rem 0 0; }
.ev-callout a { color:var(--ev-aqua-dark); font-weight:800; }
.ev-callout--calm { background:#fff8e7; border:1px solid #f0dda3; }
.ev-callout--source { background:var(--ev-paper); border:1px solid var(--ev-line); }
.ev-form-shell { max-width:920px; }
.ev-form-intro { margin-bottom:2rem; }
.ev-form-intro p { max-width:700px; font-size:1.06rem; }
.ev-form { display:flex; flex-direction:column; gap:1.35rem; }
.ev-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.ev-form-grid--contact { border-top:1px solid var(--ev-line); padding-top:1.5rem; }
.ev-field { display:flex; flex-direction:column; gap:.45rem; }
.ev-field--full { grid-column:1/-1; }
.ev-field label,.ev-picker-head h2 { color:var(--ev-ink); font-weight:800; }
.ev-field label span { color:var(--ev-coral); }
.ev-field input,.ev-field textarea,.ev-field select { width:100%; box-sizing:border-box; border:1px solid #c7d8d6; border-radius:11px; padding:.85rem .95rem; color:var(--ev-ink); background:#fff; font:inherit; }
.ev-field textarea { resize:vertical; min-height:8rem; }
.ev-field small,.ev-map-help { color:var(--ev-muted); font-size:.86rem; line-height:1.45; }
.ev-checkbox { display:flex; align-items:flex-start; gap:.7rem; font-size:.93rem; line-height:1.45; color:var(--ev-muted); }
.ev-checkbox input { margin-top:.2rem; accent-color:var(--ev-aqua); flex:0 0 auto; }
.ev-picker-wrap { border:1px solid var(--ev-line); border-radius:20px; padding:1.15rem; background:var(--ev-paper); }
.ev-picker-head { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:.75rem; }
.ev-picker-tools { display:flex; align-items:flex-end; flex-direction:column; gap:.55rem; }
.ev-picker-head h2 { margin-bottom:0; font-size:1.3rem; }
.ev-picker-coordinates { color:var(--ev-muted); font-size:.82rem; font-variant-numeric:tabular-nums; text-align:right; }
.ev-map { display:block!important; position:relative; width:100%!important; height:560px!important; min-height:560px!important; max-height:560px!important; align-self:start; border-radius:16px; overflow:hidden; background:#d9e9e7; z-index:0; }
.ev-map--picker { height:500px!important; min-height:500px!important; max-height:500px!important; }
.ev-map--incidents,.ev-map--renovations { height:560px!important; min-height:560px!important; max-height:560px!important; }
.ev-map-help { margin:.75rem 0 0; }
.ev-map > .ev-map-error { position:absolute; left:1rem; right:1rem; bottom:1rem; z-index:1000; margin:0; padding:.7rem .85rem; border:1px solid var(--ev-line); border-radius:10px; background:rgba(255,255,255,.94); box-shadow:0 4px 14px rgba(20,44,66,.12); }
.ev-map-fallback { position:absolute; inset:0; display:grid; place-items:center; margin:0; padding:2rem; color:var(--ev-muted); background:linear-gradient(135deg,#d9e9e7,#eef5f3); text-align:center; font-weight:700; }
.ev-map-fallback[hidden] { display:none; }
.ev-map-loading { position:absolute; inset:0; z-index:500; display:grid; place-items:center; margin:0; padding:2rem; color:var(--ev-muted); background:linear-gradient(135deg,#d9e9e7,#eef5f3); text-align:center; font-weight:800; transition:opacity .2s ease; }
.ev-map-loading[hidden] { display:none; }
.ev-nearby { margin-top:.5rem; font-size:.9rem; color:var(--ev-aqua-dark); font-weight:700; }
.ev-map-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); gap:1.25rem; align-items:start; }
.ev-map-layout--renovations { grid-template-columns:1fr; }
.ev-map-layout--renovations .ev-renovation-list { max-height:none; }
.ev-list-panel,.ev-renovation-list { border:1px solid var(--ev-line); border-radius:18px; background:#fff; overflow:hidden; }
.ev-list-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.55rem; padding:1rem 1.15rem; background:var(--ev-paper); border-bottom:1px solid var(--ev-line); }
.ev-list-toolbar label { font-size:.85rem; font-weight:800; }
.ev-filter-toggle { display:none; border:1px solid #c7d8d6; border-radius:999px; padding:.5rem .75rem; color:var(--ev-aqua-dark); background:#fff; font:inherit; font-size:.78rem; font-weight:800; cursor:pointer; }
.ev-filter-toggle:hover,.ev-filter-toggle:focus-visible { background:#e5f5ef; }
.ev-filter-fields { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.55rem; flex:1; }
.ev-list-toolbar select { padding:.5rem .6rem; border-radius:8px; border:1px solid #c7d8d6; font:inherit; color:var(--ev-ink); }
.ev-list-toolbar input { min-width:0; width:7rem; padding:.5rem .6rem; border-radius:8px; border:1px solid #c7d8d6; font:inherit; color:var(--ev-ink); background:#fff; }
.ev-list-toolbar input[type="date"] { width:9.4rem; }
.ev-incident-list,.ev-renovation-list { max-height:540px; overflow-y:auto; }
.ev-incident-card,.ev-renovation-card { padding:1.15rem; border-bottom:1px solid var(--ev-line); transition:background .18s ease; }
.ev-incident-card:last-child,.ev-renovation-card:last-child { border-bottom:0; }
.ev-incident-card:hover,.ev-incident-card.is-highlighted,.ev-renovation-card:hover { background:#f8fbfa; }
.ev-card-top { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin-bottom:.7rem; font-size:.77rem; color:var(--ev-muted); }
.ev-card-top time { font-variant-numeric:tabular-nums; }
.ev-tag { display:inline-flex; border-radius:999px; padding:.33rem .6rem; background:#edf2f1; color:var(--ev-ink); font-size:.7rem; font-weight:800; }
.ev-tag--pending,.ev-tag--received { background:#e8f0f5; color:#2d5c79; }.ev-tag--confirmed,.ev-tag--verified,.ev-tag--reported { background:#e1f5ef; color:#087c79; }.ev-tag--repair_in_progress,.ev-tag--in_progress { background:#fff4d9; color:#8c6511; }.ev-tag--resolved { background:#e3f3e9; color:#247447; }.ev-tag--archived { background:#eff2f0; color:#61716e; }.ev-tag--duplicate { background:#f3edf6; color:#765486; }
.ev-incident-photo { display:block; width:100%; max-height:150px; margin:.75rem 0; object-fit:cover; border-radius:10px; }
.ev-confirm-button { display:inline-flex; align-items:center; gap:.45rem; margin-top:1rem; border:1px solid #b7d8d3; border-radius:999px; padding:.5rem .75rem; color:var(--ev-aqua-dark); background:#f2fbf9; font:inherit; font-size:.8rem; font-weight:800; cursor:pointer; }.ev-confirm-button:hover,.ev-confirm-button:focus-visible { background:#d9f0eb; }.ev-confirm-button:disabled { opacity:.7; cursor:wait; }.ev-confirm-button.is-confirmed { color:#247447; background:#e3f3e9; }.ev-confirm-button b { font-variant-numeric:tabular-nums; }
.ev-official-block h2 { margin-bottom:.3rem; }.ev-official-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem 1rem; }.ev-official-phone { color:var(--ev-ink-soft); font-size:.87rem; font-weight:800; }.ev-official-note { margin:.8rem 0 0!important; color:var(--ev-ink-soft)!important; font-weight:700; }.ev-legal-note { color:var(--ev-ink)!important; font-size:.88rem; font-weight:800; }
.ev-source-mini { color:var(--ev-muted); font-size:.75rem; }
.ev-popup-photo { display:block; width:180px; max-width:100%; max-height:120px; margin:.5rem 0 0; border-radius:8px; object-fit:cover; }
.ev-card-meta { display:flex; align-items:center; gap:.45rem; margin:1rem 0 0; color:var(--ev-muted); font-size:.8rem; }
.ev-card-meta a { color:var(--ev-aqua-dark); font-weight:700; }
.ev-source-dot { width:.48rem; height:.48rem; border-radius:50%; background:var(--ev-muted); display:inline-block; }.ev-source-dot--community { background:var(--ev-yellow); }.ev-source-dot--verified { background:var(--ev-aqua); }.ev-source-dot--official { background:var(--ev-ink); }
.ev-empty { padding:1.5rem; margin:0; }.ev-empty p { margin:0 0 1rem; }.ev-empty .ev-button { min-height:2.6rem; font-size:.82rem; }
.ev-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--ev-line); border:1px solid var(--ev-line); border-radius:16px; overflow:hidden; margin:2rem 0; }
.ev-stats > div { display:flex; flex-direction:column; gap:.3rem; padding:1.1rem 1.2rem; background:#fff; }.ev-stats strong { font-size:2rem; letter-spacing:-.05em; }.ev-stats span { color:var(--ev-muted); font-size:.86rem; line-height:1.3; }
.ev-number-badge { display:flex; flex-direction:column; align-items:flex-end; padding:.9rem 0 0 1rem; }.ev-number-badge strong { font-size:clamp(2.2rem,5vw,3.7rem); color:var(--ev-aqua-dark); letter-spacing:-.06em; line-height:1; }.ev-number-badge span { color:var(--ev-muted); font-size:.8rem; }
.ev-petition-recipient { margin:0 0 1.5rem; color:var(--ev-ink)!important; font-size:.9rem; }
.ev-petition-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.8fr); gap:3rem; align-items:start; }
.ev-check-list { list-style:none; padding:0; margin:1.5rem 0; display:grid; gap:1rem; }.ev-check-list li { position:relative; padding-left:2rem; color:var(--ev-ink); line-height:1.45; }.ev-check-list li::before { content:'✓'; position:absolute; left:0; top:-.05rem; width:1.35rem; height:1.35rem; display:grid; place-items:center; border-radius:50%; background:#d9f0eb; color:var(--ev-aqua-dark); font-size:.8rem; font-weight:900; }.ev-signature-note { border-left:3px solid var(--ev-yellow); padding-left:1rem; }
.ev-card { padding:1.5rem; border:1px solid var(--ev-line); border-radius:20px; background:#fff; box-shadow:var(--ev-shadow); }.ev-card--form h2 { margin-bottom:.4rem; }
.ev-renovation-card h2 { font-size:1.22rem; margin-bottom:.45rem; }.ev-renovation-place { color:var(--ev-aqua-dark)!important; font-weight:800; font-size:.9rem; }.ev-dates { margin:1rem 0 0; border-top:1px solid var(--ev-line); padding-top:.8rem; }.ev-dates dt { color:var(--ev-muted); font-size:.75rem; }.ev-dates dd { margin:.25rem 0 0; font-weight:800; font-size:.88rem; }.ev-tag--renovation-planned { background:#e8f0f5; color:#2d5c79; }.ev-tag--renovation-preparation { background:#fff4d9; color:#8c6511; }.ev-tag--renovation-construction { background:#e1f5ef; color:#087c79; }.ev-tag--renovation-completed { background:#d9f0eb; color:#087c79; }.ev-tag--renovation-rescheduled { background:#f3edf6; color:#765486; }.ev-tag--renovation-unknown { background:#eff2f0; color:#61716e; }
.ev-honeypot { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }
.maplibregl-map { width:100%; height:100%; font-family:inherit; color:var(--ev-ink); }
.maplibregl-canvas { display:block; width:100%; height:100%; }
.maplibregl-canvas-container { width:100%; height:100%; }
.maplibregl-ctrl-top-right { top:.75rem; right:.75rem; }
.maplibregl-ctrl-bottom-right { right:.45rem; bottom:.35rem; }
.maplibregl-ctrl-group { overflow:hidden; border:1px solid rgba(216,228,225,.95); border-radius:10px; background:rgba(255,255,255,.94); box-shadow:0 4px 14px rgba(20,44,66,.14); }
.maplibregl-ctrl-group button { width:34px; height:34px; }
.maplibregl-ctrl-attrib { border-radius:7px; color:var(--ev-muted); background:rgba(255,255,255,.88); font-size:10px; }
.maplibregl-ctrl-attrib a { color:var(--ev-aqua-dark); }
.ev-map:fullscreen,.ev-map.maplibregl-pseudo-fullscreen { width:100vw!important; height:100vh!important; min-height:0!important; max-height:none!important; border-radius:0; }
.ev-map-html-marker { width:29px; height:29px; display:grid; place-items:center; border:3px solid #fff; border-radius:50%; color:#fff; background:var(--ev-coral); box-shadow:0 3px 12px rgba(20,44,66,.28); font-size:.85rem; font-weight:900; cursor:pointer; }
.ev-map-html-marker--active { background:#c94646; }.ev-map-html-marker--review { background:#d97706; }.ev-map-html-marker--repair { background:#b78718; }.ev-map-html-marker--resolved { background:#2f8f65; }.ev-map-html-marker--historical { background:#607789; }.ev-map-html-marker--selection { width:32px; height:32px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); }.ev-map-html-marker--selection::first-letter { transform:rotate(45deg); }.ev-map-html-marker--nearby { width:34px; height:34px; border:4px solid #fff; background:#a83232; box-shadow:0 0 0 5px rgba(201,70,70,.32),0 4px 12px rgba(20,44,66,.28); }
.ev-map-popup .maplibregl-popup-content { max-width:min(92vw,360px); padding:0; border:1px solid var(--ev-line); border-radius:16px; box-shadow:0 14px 38px rgba(20,44,66,.2); overflow:hidden; }
.ev-map-popup .maplibregl-popup-close-button { z-index:2; width:32px; height:32px; color:var(--ev-muted); font-size:1.35rem; }
.ev-map-popup .maplibregl-popup-tip { border-top-color:#fff; border-bottom-color:#fff; }
.ev-map-popup-card { padding:1.05rem 1.1rem 1.1rem; color:var(--ev-ink); }
.ev-map-popup-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:.6rem; padding-right:1rem; }.ev-map-popup-heading h3 { margin:0; font-size:1.12rem; line-height:1.2; }.ev-map-popup-status { width:1.55rem; height:1.55rem; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:#fff; background:var(--ev-coral); font-size:.75rem; font-weight:900; }.ev-map-popup-status--review { background:#d97706; }.ev-map-popup-status--repair { background:#b78718; }.ev-map-popup-status--resolved { background:#2f8f65; }.ev-map-popup-status--historical { background:#607789; }.ev-map-popup-status--planned { background:#3d6f9c; }.ev-map-popup-status--preparation { background:#755896; }.ev-map-popup-status--construction { background:#d97706; }.ev-map-popup-status--completed { background:#2f8f65; }.ev-map-popup-status--rescheduled { background:#7a7f83; }.ev-map-popup-status--unknown { background:#89959b; }
.ev-map-popup-status-label { margin:.4rem 0 .8rem; color:var(--ev-aqua-dark)!important; font-size:.78rem; font-weight:900; }.ev-map-popup-place { margin:.3rem 0 .8rem!important; color:var(--ev-ink)!important; font-weight:800; }.ev-map-popup-description { margin:.8rem 0 0!important; font-size:.86rem; line-height:1.5!important; }.ev-map-popup-meta { display:grid; gap:.45rem; margin:.8rem 0 0; padding-top:.75rem; border-top:1px solid var(--ev-line); }.ev-map-popup-meta > div { display:flex; justify-content:space-between; gap:1rem; }.ev-map-popup-meta dt { color:var(--ev-muted); font-size:.72rem; }.ev-map-popup-meta dd { margin:0; text-align:right; font-size:.76rem; font-weight:800; }.ev-map-popup-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }.ev-map-popup-actions .ev-confirm-button { margin-top:0; }.ev-map-popup-link { color:var(--ev-aqua-dark); font-size:.8rem; font-weight:900; text-decoration:none; }.ev-map-popup-link:hover { text-decoration:underline; }
.ev-map-error { position:absolute; left:1rem; right:1rem; bottom:1rem; z-index:1000; margin:0; padding:.7rem .85rem; border:1px solid var(--ev-line); border-radius:10px; background:rgba(255,255,255,.94); box-shadow:0 4px 14px rgba(20,44,66,.12); }
.ev-map-control { border:1px solid #c7d8d6; border-radius:999px; padding:.45rem .7rem; color:var(--ev-aqua-dark); background:#fff; font:inherit; font-size:.74rem; font-weight:800; cursor:pointer; }.ev-map-control:hover,.ev-map-control:focus-visible { background:#e5f5ef; }.ev-map-control:disabled { opacity:.6; cursor:wait; }.ev-geolocation-status { color:var(--ev-coral); font-size:.76rem; font-weight:800; text-align:right; }
@media (max-width:850px) { .ev-page-heading { align-items:flex-start; flex-direction:column; }.ev-page-heading .ev-button { width:100%; }.ev-map-layout,.ev-petition-grid { grid-template-columns:1fr; }.ev-map--incidents,.ev-map--renovations { height:460px!important; min-height:460px!important; max-height:460px!important; }.ev-incident-list,.ev-renovation-list { max-height:none; }.ev-number-badge { align-items:flex-start; padding:0; } }
@media (max-width:580px) { .ev-shell { padding-left:1rem; padding-right:1rem; }.ev-form-grid,.ev-stats { grid-template-columns:1fr; }.ev-field--full { grid-column:auto; }.ev-picker-head { flex-direction:column; }.ev-picker-coordinates { text-align:left; }.ev-picker-tools { align-items:flex-start; width:100%; }.ev-map--picker { height:440px!important; min-height:440px!important; max-height:440px!important; }.ev-map--incidents,.ev-map--renovations { height:460px!important; min-height:460px!important; max-height:460px!important; }.ev-petition-grid { gap:1.5rem; }.ev-stats > div { padding:.85rem 1rem; }.ev-list-toolbar { align-items:flex-start; }.ev-filter-toggle { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; }.ev-filter-fields { display:none; width:100%; justify-content:stretch; }.ev-list-toolbar.is-open .ev-filter-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }.ev-filter-fields select,.ev-filter-fields input { width:100%; min-width:0; }.ev-filter-fields input[type="date"] { width:100%; } }

/* Historical segments: one map, one neutral list, no personal data. */
.ev-history-toolbar { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.8rem; align-items:end; margin:1.25rem 0; padding:1rem; border:1px solid var(--ev-line); border-radius:16px; background:#fff; }
.ev-history-filter { display:grid; gap:.35rem; }
.ev-history-filter label { color:var(--ev-muted); font-size:.74rem; font-weight:800; }
.ev-history-filter input,.ev-history-filter select { min-height:42px; width:100%; border:1px solid #c7d8d6; border-radius:10px; padding:.55rem .7rem; color:var(--ev-ink); background:#fff; font:inherit; }
.ev-history-view { display:flex; gap:.35rem; grid-column:span 2; }
.ev-history-view .ev-map-control { flex:1; border-radius:10px; }
.ev-history-view .ev-map-control.is-active { color:#fff; background:var(--ev-aqua-dark); }
.ev-history-layout { display:grid; grid-template-columns:1fr; gap:1.25rem; }
.ev-map--history,.ev-map--history-segment { height:600px!important; min-height:600px!important; max-height:600px!important; }
.ev-history-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.ev-history-card { min-width:0; padding:1.1rem; border:1px solid var(--ev-line); border-radius:16px; background:#fff; }
.ev-history-card-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:.7rem; }
.ev-history-card h2 { margin:.15rem 0 .35rem; font-size:1.08rem; }
.ev-history-card p { margin:.35rem 0; color:var(--ev-muted); line-height:1.5; }
.ev-history-card-place { color:var(--ev-ink)!important; font-weight:800; }
.ev-history-card-dates { font-size:.82rem; }
.ev-history-popup-events { margin-top:1rem; padding-top:.8rem; border-top:1px solid var(--ev-line); }
.ev-history-popup-events h4 { margin:0 0 .6rem; font-size:.9rem; }
.ev-history-popup-event { display:grid; gap:.2rem; margin:.5rem 0; padding:.5rem 0; border-top:1px solid #edf2f1; }
.ev-history-popup-event:first-of-type { border-top:0; }
.ev-history-popup-event-head { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.ev-history-popup-event time { color:var(--ev-ink); font-size:.76rem; font-weight:800; }
.ev-history-popup-event p { margin:0; font-size:.79rem; line-height:1.4; }
.ev-history-popup-event small { color:var(--ev-muted); font-size:.7rem; line-height:1.35; }
.ev-history-detail-stats { display:grid; grid-template-columns:repeat(3,1fr); margin:1.25rem 0; border:1px solid var(--ev-line); border-radius:16px; background:#fff; overflow:hidden; }
.ev-history-detail-stats div { display:grid; gap:.2rem; padding:1rem 1.15rem; border-right:1px solid var(--ev-line); }
.ev-history-detail-stats div:last-child { border-right:0; }
.ev-history-detail-stats strong { color:var(--ev-ink); font-size:1.35rem; }
.ev-history-detail-stats span { color:var(--ev-muted); font-size:.8rem; }
.ev-history-detail-events { margin-top:1.5rem; }
.ev-history-detail-events h2 { margin-bottom:.8rem; }
.ev-history-event { margin:.75rem 0; padding:1rem 1.1rem; border:1px solid var(--ev-line); border-radius:14px; background:#fff; }
.ev-history-event > div { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }
.ev-history-event time { color:var(--ev-ink); font-weight:800; }
.ev-history-event p { color:var(--ev-muted); line-height:1.5; }
.ev-historical-match { margin:-.45rem 0 .25rem; padding:.85rem 1rem; border:1px solid #c7d8d6; border-radius:12px; background:#f2fbf9; color:var(--ev-ink); }
.ev-historical-match p { margin:0; color:var(--ev-ink); font-size:.9rem; font-weight:800; }
.ev-historical-match-list { margin:.55rem 0 0 1.1rem; padding:0; color:var(--ev-muted); font-size:.82rem; line-height:1.5; }
.ev-historical-match-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.75rem; }
.ev-historical-match-actions .ev-button { min-height:2.45rem; padding:.55rem .85rem; font-size:.78rem; }
@media (max-width:850px) { .ev-history-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }.ev-history-view { grid-column:1/-1; }.ev-history-list { grid-template-columns:1fr; }.ev-map--history,.ev-map--history-segment { height:500px!important; min-height:500px!important; max-height:500px!important; } }
@media (max-width:580px) { .ev-history-toolbar { grid-template-columns:1fr; }.ev-history-view { grid-column:auto; }.ev-map--history,.ev-map--history-segment { height:460px!important; min-height:460px!important; max-height:460px!important; }.ev-history-detail-stats { grid-template-columns:1fr; }.ev-history-detail-stats div { border-right:0; border-bottom:1px solid var(--ev-line); }.ev-history-detail-stats div:last-child { border-bottom:0; } }
@media (max-width:360px) { .ev-list-toolbar.is-open .ev-filter-fields { grid-template-columns:1fr; } }
