
/* a hidden attribútum mindig nyerjen — egyes .display:flex osztály felülírná */
[hidden] { display: none !important; }
/* ============================================================
   MeteoFlow — design tokens & base
   ============================================================ */
:root {
  --bg: #0a0e15;
  --bg-2: #0f141f;
  --card: rgba(20, 27, 40, 0.82);
  --card-solid: #141a26;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9eef6;
  --text-2: #a6b1c4;
  --text-3: #6d7a90;
  --acc: #35d0c0;
  --acc-2: #2f6df6;
  --grad: linear-gradient(135deg, #35d0c0, #2f6df6);
  --warn: #ffb020;
  --danger: #ff5b4d;
  --ok: #37d67a;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.35);
  --sp: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
#app { position: fixed; inset: 0; }
#map { position: absolute; inset: 0; background: #0d1320; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   HUD általános
   ============================================================ */
.hud {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  z-index: 700;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; min-width: 40px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); color: var(--text);
  transition: border-color .15s ease-out, background .15s ease-out, transform .1s ease-out;
}
.icon-btn:hover { border-color: var(--line-2); background: rgba(255,255,255,.06); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:focus-visible, .primary-btn:focus-visible, .ghost-btn:focus-visible,
.seg-btn:focus-visible, .fbtn:focus-visible, select:focus-visible, input:focus-visible,
#hour-slider:focus-visible, .search-list button:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 2px;
}
.icon-btn svg { width: 20px; height: 20px; }
.primary-btn, .ghost-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  transition: background .15s ease-out, transform .1s ease-out, border-color .15s ease-out;
}
.primary-btn {
  border: 1px solid transparent; color: #06231f;
  background: linear-gradient(135deg, #4be0c8, #3aa0ff);
}
.primary-btn:hover { filter: brightness(1.07); }
.primary-btn:active { transform: scale(.97); }
.primary-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.ghost-btn {
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-2);
}
.ghost-btn:hover { color: var(--text); border-color: var(--line-2); }
.ghost-btn.active { color: var(--acc); border-color: rgba(53,208,192,.5); background: rgba(53,208,192,.12); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(0,0,0,.32); border: 1px solid var(--line); }
.seg-btn {
  border: 0; background: transparent; color: var(--text);
  padding: 7px 15px; border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: background .15s ease-out, color .15s ease-out;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--grad); color: #05231e; }
.mini-seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; background: rgba(0,0,0,.3); }
.mini-seg button {
  border: 0; background: transparent; color: var(--text);
  padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
}
.mini-seg button.active { background: var(--grad); color: #05231e; }

/* ============================================================
   Felső sáv
   ============================================================ */
#topbar {
  top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 10px;
}
.brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 2px 4px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.brand-name span { color: var(--acc); }
.search { position: relative; flex: 1 1 auto; max-width: 460px; display: flex; align-items: center; }
.search-ic { position: absolute; left: 11px; width: 17px; height: 17px; color: var(--text-3); pointer-events: none; }
#search-input {
  width: 100%; height: 40px; padding: 0 14px 0 36px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(0,0,0,.42); color: var(--text); font-size: 14px;
  transition: border-color .15s ease-out;
}
#search-input::placeholder { color: var(--text-2); }
#search-input:focus { outline: none; border-color: var(--acc-2); background: rgba(0,0,0,.4); }
.search-list {
  position: absolute; top: 46px; left: 0; right: 0; margin: 0; padding: 6px;
  list-style: none; background: var(--card-solid); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow); max-height: 300px; overflow: auto; z-index: 900;
}
.search-list button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  color: var(--text); padding: 9px 10px; border-radius: 8px; font-size: 13.5px;
}
.search-list button:hover { background: rgba(255,255,255,.06); }
.sl-city { font-weight: 600; }
.sl-sub { color: var(--text-3); font-size: 12px; }
.sl-src { float: right; color: var(--text-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.search-list button:first-child { margin-top: 0; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--card);
  font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
#status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px rgba(255,176,32,.2); }
.status-live #status-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(55,214,122,.2); }
.status-sim #status-dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(255,176,32,.2); }
.status-loading #status-dot { background: #7aa2ff; animation: pulse 1.1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================================================
   Mikro vezérlők
   ============================================================ */
#micro-toolbar {
  left: 14px; bottom: 14px;
  display: flex; flex-direction: column; align-items: stretch; gap: 9px;
  padding: 12px 12px 11px; max-width: min(640px, calc(100vw - 24px));
}
#micro-toolbar .row1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tb-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.tb-collapse {
  border: 0; background: transparent; color: var(--text-3); font-size: 14px; cursor: pointer;
  width: 26px; height: 26px; border-radius: 6px; transition: transform .18s ease-out, color .15s;
}
.tb-collapse:hover { color: var(--text); background: rgba(255,255,255,.06); }
body.tb-min .tb-collapse { transform: rotate(180deg); }
body.tb-min #micro-toolbar .row1, body.tb-min #micro-toolbar .grid-info { display: none; }
body.tb-min #micro-toolbar { max-width: 430px; }
.ctl-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; }
select.ctl {
  height: 38px; min-width: 150px; padding: 0 30px 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: rgba(0,0,0,.3) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a6b1c4' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text); font-size: 13.5px; appearance: none;
}
.progress { display: flex; align-items: center; gap: 10px; flex: 1 1 140px; min-width: 140px; }
.progress-track { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--grad); border-radius: 4px; transition: width .22s ease-out; }
.progress-text { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-bar { right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.fbtn {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); font-size: 18px; transition: all .15s ease-out;
}
.fbtn:hover { border-color: var(--line-2); }
.fbtn.active { border-color: var(--acc); background: rgba(53,208,192,.16); box-shadow: 0 0 0 1px rgba(53,208,192,.4); }
.timeline {
  position: static;
  display: flex; align-items: center; gap: 10px; width: 100%; flex-wrap: wrap;
  padding: 8px 0 0; margin-top: 2px; border-top: 1px solid var(--line);
  background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none;
}
#hour-slider { flex: 1; accent-color: var(--acc); height: 4px; }
.hour-label { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 86px; text-align: center; }

/* ============================================================
   Legenda
   ============================================================ */
.legend { left: 14px; top: 76px; right: auto; bottom: auto; width: 218px; padding: 12px 14px; background: rgba(20,27,40,.94); }
.legend-head { flex-wrap: wrap; row-gap: 6px; }
.legend-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
#legend-title { font-size: 12.5px; font-weight: 700; }
#legend-colorby button { font-size: 11px; }
.legend-grad { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #2050a8 0%, #1487c9 18%, #3ecfb0 34%, #a5e34f 50%, #f2c641 65%, #f07e2e 80%, #d61f2c 100%); }
.legend-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend-grad { margin: 2px 0 0; }
.legend { margin-bottom: 8px; }

/* ============================================================
   Panel
   ============================================================ */
.panel {
  position: absolute;
  top: 76px; right: 14px; bottom: 14px; width: 384px;
  display: flex; flex-direction: column; padding: 0;
  overflow-y: auto; overflow-x: hidden;
  background: rgba(17,22,33,.985); z-index: 950;
}
.panel::-webkit-scrollbar { width: 8px; }
.panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 4px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.panel-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
#panel-close { width: 34px; height: 34px; min-width: 34px; font-size: 13px; }
.loc-card { padding: 16px 16px 14px; }
.loc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.loc-name { font-size: 21px; font-weight: 800; line-height: 1.2; }
.loc-sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.loc-emoji { font-size: 40px; line-height: 1; }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.loc-card.no-data .stats-row { display: none; }
.loc-card.no-data { padding-bottom: 8px; }
.stat { flex: 1; text-align: center; padding: 9px 4px; border-radius: var(--r-sm); background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.stat-v { display: block; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-k { display: block; font-size: 11px; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; font-weight: 600; }
.daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding: 4px 14px 12px; }
.daily { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 2px 8px; text-align: center; background: rgba(255,255,255,.02); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.daily .d-name { font-size: 10.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.daily .d-emoji { font-size: 17px; margin: 4px 0 2px; }
.daily .d-t { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.daily .d-t .lo { color: var(--text-3); font-weight: 600; }
.daily .d-rain { font-size: 10px; color: #7fd4e8; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily.today { border-color: rgba(53,208,192,.55); background: rgba(53,208,192,.07); }
.chart-card, .alerts-card { padding: 12px 14px; border-top: 1px solid var(--line); }
.chart-head, .alerts-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
#chart-tabs { flex-wrap: wrap; max-width: 100%; }
.chart-title { font-size: 13px; font-weight: 800; }
.chart-container { position: relative; }
.fc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fc-grid { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.fc-axis { stroke: rgba(255,255,255,.14); stroke-width: 1; }
 .fc-tick { fill: var(--text-2); font-size: 11px; font-weight: 600; }
.fc-dayline { stroke: rgba(255,255,255,.08); stroke-dasharray: 2 3; stroke-width: 1; }
 .fc-daylabel { fill: var(--text-2); font-size: 10px; font-weight: 700; }
 .fc-unit { fill: var(--text-2); font-size: 11px; }
.fc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fc-area { stroke: none; }
.fc-bar { stroke: none; }
.fc-gust { fill: none; stroke: var(--danger); stroke-width: 1.2; stroke-dasharray: 4 3; opacity: .8; }
.fc-gustline { stroke: rgba(255,91,77,.5); stroke-width: 1; stroke-dasharray: 3 3; }
.fc-gustlabel { fill: var(--danger); font-size: 8.5px; font-weight: 700; }
.fc-now { stroke: var(--acc); stroke-width: 1.4; opacity: .8; }
.fc-nowlabel { fill: var(--acc); font-size: 10.5px; font-weight: 800; }
.fc-hcross { stroke: rgba(255,255,255,.25); stroke-width: 1; }
.fc-hdot { stroke: #fff; stroke-width: 1.2; }
.fc-tooltip {
  position: absolute; pointer-events: none; z-index: 30;
  background: var(--card-solid); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 7px 10px; font-size: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; min-width: 120px;
}
.fc-tooltip b { color: var(--text); }
.fc-tooltip span { color: var(--text-2); }
.fc-empty { fill: var(--text-3); font-size: 12px; }
.alerts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 150px; overflow: auto; }
.alerts-list li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: rgba(255,255,255,.025); font-size: 12.5px;
}
.alerts-list li.sev-3 { border-color: rgba(255,91,77,.45); background: rgba(255,91,77,.08); }
.alerts-list li.sev-2 { border-color: rgba(255,176,32,.4); background: rgba(255,176,32,.07); }
.alerts-list li.sev-1 { border-color: rgba(255,214,138,.35); background: rgba(255,214,138,.06); }
.al-item-ic { font-size: 15px; }
.al-item-txt { flex: 1; }
.al-item-txt b { color: var(--text); }
.al-item-time { font-size: 11px; color: var(--text-3); }
.al-count-badge { background: var(--danger); color: #fff; border-radius: 20px; padding: 1px 8px; font-size: 11px; font-weight: 800; }
.empty-line { font-size: 12.5px; color: var(--text-3); padding: 6px 2px; }

/* ============================================================
   GridLayer kiegészítők
   ============================================================ */
.grid-tt { background: rgba(13,18,28,.95); border: 1px solid var(--line-2); border-radius: 8px; font-size: 12px; color: var(--text); box-shadow: var(--shadow); }
.grid-tt .tt-title { font-weight: 700; margin-bottom: 2px; color: var(--text); }
.grid-tt .tt-body { color: var(--text-2); }
.grid-tt .tt-sub { color: var(--text-2); font-size: 11px; margin-top: 3px; }
.alert-cell { animation: alertPulse 1.6s ease-in-out infinite; }
.alert-cell-1 { animation-delay: 0s; }
.alert-cell-2 { animation-delay: .2s; }
.alert-cell-3 { animation-delay: .4s; }
@keyframes alertPulse { 0%,100% { stroke-opacity: .35; } 50% { stroke-opacity: 1; } }
.leaflet-container { font-family: var(--font); }
.wind-canvas { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 650; }

/* ============================================================
   Toast / boot
   ============================================================ */
.toast {
  position: absolute; left: 50%; top: 78px; transform: translateX(-50%);
  background: var(--card-solid); color: var(--text); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 11px 16px; font-size: 13px; box-shadow: var(--shadow);
  z-index: 1200; max-width: min(520px, calc(100vw - 40px));
}
.boot {
  position: absolute; inset: 0; z-index: 1400; background: radial-gradient(1200px 600px at 50% -10%, #13233f 0%, #0a0e15 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: opacity .45s ease-out;
}
.boot.hide { opacity: 0; pointer-events: none; }
.boot-logo { font-size: 48px; animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.boot-name { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.boot-name b { color: var(--acc); }
.boot-sub { font-size: 13px; color: var(--text-2); }
.boot-bar { width: 150px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 8px; }
#boot-fill { height: 100%; width: 0%; background: var(--grad); transition: width .35s ease-out; }

/* ============================================================
   Reszponzív
   ============================================================ */
@media (max-width: 1100px) {
  #micro-toolbar, .timeline { max-width: calc(100vw - 240px); }
  .panel { width: 340px; }
}
@media (max-width: 900px) {
  .toast { top: auto; bottom: 150px; }
  .panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(66vh, 580px);
    border-radius: 18px 18px 0 0; border-left: 0; border-right: 0;
    background: rgba(15,20,30,.995); padding-bottom: env(safe-area-inset-bottom);
  }
  /* a #panel-toggle láthatóságát a JS kezeli (hidden attribútum) */
  #micro-toolbar, .timeline { max-width: calc(100vw - 130px); }
}
@media (max-width: 720px) {
  #topbar { top: calc(8px + env(safe-area-inset-top)); left: 8px; right: 8px; gap: 8px; flex-wrap: wrap; padding: 7px 8px; }
  body.tb-min #micro-toolbar .timeline { display: flex; }
  .brand-name { display: none; }
  .brand-logo { width: 30px; height: 30px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .top-actions .icon-btn#btn-mode-help { display: none; }
  #status-pill { padding: 0 10px; }
  #status-pill .sr-only-txt { display: none; }
  #micro-toolbar { left: 8px; bottom: 8px; max-width: calc(100vw - 16px); padding: 10px; }
  body.tb-min #micro-toolbar { max-width: calc(100vw - 16px); }
  .ctl-label { display: none; }
  .field-bar { right: 8px; left: auto; top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: column; gap: 6px; padding: 6px; }
  .fbtn { width: 38px; height: 38px; font-size: 16px; }
    .legend { left: 8px; top: 152px; right: auto; bottom: auto; width: 138px; padding: 9px 10px; max-width: 42vw; }
  .legend-head .mini-seg { display: none; }
  .timeline { gap: 7px; }
  select.ctl { min-width: 0; flex: 1 1 120px; }
  #micro-toolbar .row1 .primary-btn, #micro-toolbar .row1 .ghost-btn { padding: 0 10px; font-size: 12.5px; }
  #hour-slider { min-width: 80px; }
  .hour-label { min-width: 0; }
  .daily-grid { grid-template-columns: repeat(7, calc((100vw - 60px) / 7)); overflow-x: auto; }
  .stats-row { flex-wrap: wrap; }
  .stat { flex: 1 1 30%; }
  .brand { padding: 0; }
}
@media (max-width: 480px) {
  .icon-btn { width: 38px; height: 38px; min-width: 38px; }
  .seg-btn { padding: 6px 10px; font-size: 12.5px; }
  .legend { width: 158px; }
}

/* csökkentett animáció */
@media (prefers-reduced-motion: reduce) {
  .alert-cell, .boot-logo, #status-dot { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* egyedi zoom (bal oldal, közép) */
.zoom-ctl { left: 14px; top: 50%; transform: translateY(-50%); width: auto; height: auto; padding: 6px; display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); background: rgba(20,27,40,.94); }
.zoom-ctl button {
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--text);
  font-size: 19px; line-height: 1; border-radius: 7px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease-out;
}
.zoom-ctl button svg { width: 19px; height: 19px; }
.zoom-ctl button:hover { background: rgba(255,255,255,.09); }

.stat-unit { font-size: 9.5px; color: var(--text-3); font-weight: 600; margin-left: 1px; }

.leaflet-control-container .leaflet-control-attribution { background: rgba(10,14,21,.88) !important; color: var(--text-2) !important; font-size: 10px; padding: 3px 7px; border-radius: 6px 0 0 0; }
.leaflet-control-attribution a { color: var(--text-2) !important; }
.leaflet-top, .leaflet-bottom { z-index: 800; }

.grid-info { font-size: 12px; color: var(--text-2); line-height: 1.45; padding: 0 2px; }
.grid-info b { color: var(--text); font-weight: 700; }
.grid-info .warn { color: var(--danger); font-weight: 700; }

.search-kbd {
  position: absolute; right: 10px; color: var(--text-3);
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px;
  background: rgba(255,255,255,.04); pointer-events: none;
}
#search-input { padding-right: 58px; }
@media (max-width: 720px) {
  .search-kbd { display: none; }
  .leaflet-control-attribution { margin-bottom: 196px !important; }
  body.panel-open .leaflet-control-attribution { display: none; }
}

@media (max-width: 900px) {
  body.panel-open .zoom-ctl, body.panel-open .field-bar, body.panel-open .legend { display: none; }
}
