.weather-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px;
  background: #f3f8f3;
  color: #183b2a;
  border: 1px solid #d9e5db;
  border-radius: 18px;
}
.weather-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.weather-head > span:nth-child(2) {
  display: grid;
  gap: 3px;
  flex: 1;
}
.weather-head strong {
  font-size: 30px;
  line-height: 1.2;
}
.weather-head svg,
.weather-current svg {
  width: 48px;
  height: 48px;
  flex: none;
}
.weather-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
}
.weather-metrics > span {
  display: grid;
  gap: 3px;
}
.weather-metrics small,
.weather-head small,
.weather-source,
.weather-days small {
  color: #586e60;
  font-size: 12px;
}
.weather-link {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 13px;
}
.weather-source {
  margin: 8px 4px 16px;
  line-height: 1.5;
}
.weather-source strong {
  display: block;
  color: #85501f;
}
.weather-dialog {
  width: min(560px, calc(100vw - 24px));
  padding: 20px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid #d9e5db;
  border-radius: 20px;
  color: #183b2a;
  background: #fafcf9;
}
.weather-dialog::backdrop {
  background: #10271966;
}
.weather-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.weather-dialog header h2 {
  margin: 0 0 12px;
}
.weather-dialog header button {
  min-width: 44px;
  min-height: 44px;
}
.weather-dialog label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.weather-dialog select {
  width: 100%;
  min-height: 44px;
}
.weather-current {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
}
.weather-current strong {
  font-size: 30px;
}
.weather-current span {
  font-size: 14px;
}
.weather-hours {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 4px 0 12px;
}
.weather-hours > div {
  display: grid;
  gap: 7px;
  min-width: 76px;
  text-align: center;
  padding: 10px 6px;
  background: #edf4ed;
  border-radius: 12px;
}
.weather-hours svg {
  width: 28px;
  height: 28px;
  margin: auto;
}
.weather-hours span,
.weather-hours small {
  white-space: nowrap;
  font-size: 13px;
}
.weather-days > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #dfe8e0;
  font-size: 14px;
}
.weather-days > div > span:last-child {
  text-align: right;
}
.weather-days small {
  display: block;
}
.weather-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f3f8f3;
  border-radius: 12px;
  font-size: 13px;
}
