[hidden] { display: none !important; }

html.widget-fits-iframe { overflow: hidden; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(10px, 1.5vw, 16px);
  align-items: stretch;
}

h2, h3 {
  margin: 0;
  color: var(--wzn-dark);
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  line-height: 1.12;
}
.panel > h2 { margin-bottom: 8px; font-size: 1.45rem; }
h3 { font-size: 1.22rem; }

.panel {
  min-width: 0;
  padding: clamp(10px, 1.5vw, 14px);
  border: 1px solid var(--wzn-border);
  border-radius: 16px;
  background: var(--wzn-bg);
}
.panel .weather-card { min-height: 0; padding: 11px; }
.weather-data { padding: 7px; font-size: 0.88rem; }

.search-fields {
  display: flex;
  margin: 4px 0 9px;
  gap: 7px;
}
label { font-weight: 600; }
button, input { font: inherit; }
input[type="search"], button {
  min-height: 42px;
  border: 1px solid var(--wzn-border);
  border-radius: 8px;
  color: var(--wzn-dark);
}
input[type="search"] {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  padding: 6px 10px;
  background: white;
}
button {
  padding: 6px 14px;
  background: var(--wzn-accent);
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--wzn-accent-hover); }
:focus-visible { outline: 3px solid var(--wzn-focus); outline-offset: 2px; }
.place-results, .hourly-list, .radar-legend { padding: 0; list-style: none; }
.place-results { display: grid; gap: 4px; margin: 0 0 12px; }
.place-results button {
  width: 100%;
  background: white;
  text-align: left;
  overflow-wrap: anywhere;
}
.place-results button:hover { background: var(--wzn-tint); }

.hourly-panel { margin-top: 10px; }
.hourly-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-block: 8px 0;
}
.hourly-list li {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 5px 3px;
  border: 1px solid var(--wzn-border);
  border-radius: 9px;
  background: white;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  overflow-wrap: anywhere;
}
.hourly-list .weather-icon { width: 32px; height: 32px; }
.hourly-list time { font-weight: 700; }
.hourly-list small, .status, #radar-status { color: var(--wzn-muted); }
.status { margin: 5px 0 10px; }
.status:empty { display: none; }

.map-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 8px;
  font-size: .9rem;
}
.map-controls input { accent-color: var(--wzn-link); }
.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 8px;
  font-size: .82rem;
}
.radar-legend li { display: flex; align-items: center; gap: 4px; }
.radar-legend span {
  width: 12px;
  height: 9px;
  border-radius: 2px;
  border: 1px solid #06244045;
}
.map-panel { position: relative; }
#map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--wzn-dark);
}
.station-tooltip {
  position: absolute;
  z-index: 1;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 5px;
  background: white;
  color: var(--wzn-dark);
  box-shadow: 0 2px 6px #06244055;
  font-size: .84rem;
  pointer-events: none;
}
@media (max-width: 520px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
