html,
.weather-page {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.weather-page {
  --weather-bg: var(--bg, #f5f7f6);
  --weather-panel: var(--panel, #ffffff);
  --weather-ink: var(--ink, #17202a);
  --weather-muted: var(--muted, #667589);
  --weather-line: var(--line, #e1e7e3);
  --weather-brand: var(--brand, #0f7f70);
  --weather-brand-dark: var(--brand-dark, #0f5f55);
  --weather-soft: var(--soft, #edf8f5);
  --weather-soft-panel: #f7faf8;
  --weather-shadow: var(--surface-shadow, 0 12px 30px rgba(28, 42, 37, .07));
  --weather-focus: rgba(15, 127, 112, .22);
  --weather-brand-tint: rgba(15, 127, 112, .09);
  --weather-brand-shadow: 0 8px 18px rgba(15, 127, 112, .18);
  background: linear-gradient(180deg, #fbfcfb 0, var(--weather-bg) 360px);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.weather-page * {
  box-sizing: border-box;
}

.weather-shell {
  width: min(1180px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 0 40px;
  min-width: 0;
  overflow-x: clip;
}

.weather-search-app {
  position: relative;
  display: grid;
  gap: 10px;
  color: var(--weather-ink);
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.weather-view-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--weather-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--weather-shadow);
  padding: 6px;
}

.weather-view-tabs[hidden] {
  display: none;
}

.weather-view-tabs button {
  min-width: 0;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--weather-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.weather-view-tabs button.is-active {
  border-color: var(--weather-brand);
  background: var(--weather-brand);
  color: #ffffff;
  box-shadow: var(--weather-brand-shadow);
}

.weather-view-tabs button:hover {
  background: var(--weather-soft);
  color: var(--weather-brand-dark);
}

.weather-view-tabs button.is-active:hover {
  background: var(--weather-brand);
  color: #ffffff;
}

.weather-view-tabs button:focus-visible {
  outline: 3px solid var(--weather-focus);
  outline-offset: 2px;
}

.weather-access-panel {
  max-width: 560px;
  margin: 40px auto;
}

.weather-toolbar,
.weather-settings,
.weather-control-grid,
.weather-range-row,
.weather-model-panel,
.weather-loading-visual,
.weather-short-forecast,
.weather-hourly-section,
.weather-table-section {
  min-width: 0;
  background: var(--weather-panel);
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  box-shadow: var(--weather-shadow);
}

.weather-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 3px 8px;
}

.weather-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

.weather-control-grid[hidden],
.weather-range-custom[hidden] {
  display: none;
}

.weather-control-grid-secondary {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.weather-settings {
  position: absolute;
  z-index: 45;
  top: 42px;
  right: 0;
  display: grid;
  gap: 6px;
  width: min(400px, 100%);
  max-height: min(68vh, 480px);
  overflow: auto;
  padding: 8px;
  box-shadow: 0 20px 44px rgba(28, 42, 37, .18);
}

.weather-settings[hidden] {
  display: none;
}

.weather-compact-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(136px, 210px);
  gap: 7px;
  align-items: start;
  min-width: 0;
}

.weather-settings-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  color: var(--weather-ink);
  cursor: pointer;
  padding: 0 7px;
  text-align: left;
}

.weather-settings-toggle[aria-expanded="true"] {
  position: relative;
  z-index: 46;
}

.weather-settings-toggle:hover,
.weather-settings-toggle[aria-expanded="true"] {
  border-color: var(--weather-line);
  background: var(--weather-soft);
}

.weather-settings-toggle:focus-visible {
  outline: 3px solid var(--weather-focus);
  outline-offset: 2px;
}

.weather-settings-toggle > span:first-child {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
}

.weather-settings-toggle strong {
  flex: 0 0 auto;
  font-size: 12px;
}

.weather-settings-toggle em {
  color: var(--weather-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-settings-toggle > span:last-child {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft);
  color: var(--weather-brand);
  font-size: 11px;
  font-weight: 800;
  padding: 0 8px;
}

.weather-settings-toggle[aria-expanded="true"] > span:last-child {
  border-color: var(--weather-brand);
  background: var(--weather-brand);
  color: #ffffff;
}

.weather-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.weather-search-field {
  position: relative;
  min-width: 0;
}

.weather-search-actions {
  display: flex;
  gap: 5px;
  min-width: max-content;
}

.weather-search-form input {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-panel);
  color: var(--weather-ink);
  font-size: 13px;
  padding: 0 8px;
}

.weather-range-row input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--weather-line);
  border-radius: 6px;
  background: var(--weather-panel);
  color: var(--weather-ink);
  font-size: 13px;
  padding: 0 8px;
}

.weather-search-form button {
  min-height: 30px;
  border: 1px solid var(--weather-brand);
  border-radius: 8px;
  background: var(--weather-brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
  cursor: pointer;
}

.weather-range-presets button,
.weather-metric-tabs button {
  min-height: 38px;
  border: 1px solid var(--weather-brand);
  border-radius: 8px;
  background: var(--weather-brand);
  color: #ffffff;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
}

.weather-search-form button.is-secondary {
  border-color: var(--weather-line);
  background: var(--weather-panel);
  color: var(--weather-brand);
}

.weather-search-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.weather-search-app.is-selecting-location .weather-search-field,
.weather-search-app.is-selecting-location .weather-search-actions {
  opacity: 0.72;
}

.weather-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  max-height: min(320px, 60vh);
  overflow-y: auto;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-panel);
  box-shadow: 0 18px 36px rgba(28, 42, 37, .16);
  padding: 5px;
}

.weather-suggestions[hidden] {
  display: none;
}

.weather-suggestions button {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--weather-ink);
  cursor: pointer;
  padding: 7px 9px;
  text-align: left;
}

.weather-suggestions button:hover,
.weather-suggestions button.is-active {
  background: var(--weather-soft);
}

.weather-suggestions strong {
  min-width: 0;
  overflow: hidden;
  color: var(--weather-ink);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-suggestions span {
  min-width: 0;
  overflow: hidden;
  color: var(--weather-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-content: start;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.weather-range-row[hidden] {
  display: none;
}

.weather-range-row label {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--weather-muted);
  font-size: 11px;
  font-weight: 700;
}

.weather-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.weather-range-presets,
.weather-model-grid {
  display: flex;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.weather-range-presets::-webkit-scrollbar,
.weather-model-grid::-webkit-scrollbar {
  display: none;
}

.weather-control-title {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin-bottom: 0;
}

.weather-control-title strong {
  color: var(--weather-ink);
  font-size: 13px;
}

.weather-control-title span {
  color: var(--weather-muted);
  font-size: 13px;
  line-height: 1.35;
}

.weather-range-presets button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-color: var(--weather-line);
  border-radius: 999px;
  background: var(--weather-soft-panel);
  color: var(--weather-ink);
  padding: 0 8px;
  scroll-snap-align: start;
}

.weather-range-presets button.is-active {
  border-color: var(--weather-brand);
  background: var(--weather-brand);
  color: #ffffff;
}

.weather-range-presets button.is-secondary:not(.is-active) {
  background: var(--weather-panel);
  color: var(--weather-muted);
}

.weather-range-custom {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px dashed #8fa7b8;
  border-radius: 999px;
  background: var(--weather-panel);
  color: var(--weather-brand);
  font-size: 12px;
  font-weight: 800;
  padding: 0 8px;
}

.weather-model-panel {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.weather-model-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
}

.weather-model-head p {
  margin: 4px 0 0;
  color: var(--weather-muted);
  font-size: 13px;
}

.weather-model-head strong {
  border-radius: 999px;
  background: var(--weather-soft);
  color: var(--weather-brand);
  padding: 4px 8px;
  font-size: 11px;
}

.weather-model-grid button {
  position: relative;
  display: flex;
  flex: 1 1 calc(50% - 3px);
  min-width: 0;
  gap: 5px;
  align-items: baseline;
  min-height: 34px;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  color: var(--weather-ink);
  padding: 4px 24px 4px 8px;
  text-align: left;
  scroll-snap-align: start;
  white-space: normal;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.weather-model-grid button::after {
  position: absolute;
  top: 50%;
  right: 9px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #b8c8d4;
  border-radius: 999px;
  color: transparent;
  transform: translateY(-50%);
  content: "";
  font-size: 11px;
  font-weight: 900;
}

.weather-model-grid button:hover {
  background: var(--weather-soft);
}

.weather-model-grid button.is-active {
  border-color: var(--weather-brand);
  background: var(--weather-soft);
  color: var(--weather-brand-dark);
  box-shadow: inset 0 0 0 1px var(--weather-brand);
}

.weather-model-grid button.is-active::after {
  border-color: var(--weather-brand);
  background: var(--weather-brand);
  color: #ffffff;
  content: "✓";
}

.weather-model-grid button:disabled {
  background: #f4f6f8;
  color: #9aa8b4;
  cursor: not-allowed;
}

.weather-range-presets button:focus-visible,
.weather-model-grid button:focus-visible {
  outline: 3px solid var(--weather-focus);
  outline-offset: 2px;
}

.weather-model-grid strong {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.2;
}

.weather-model-grid span {
  min-width: 0;
  overflow: hidden;
  color: var(--weather-muted);
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-settings .weather-range-presets,
.weather-settings .weather-model-grid {
  flex-wrap: wrap;
  overflow-x: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.weather-settings .weather-range-presets button,
.weather-settings .weather-range-custom {
  flex: 1 1 calc(33.333% - 4px);
  min-width: 102px;
}

.weather-settings .weather-model-grid button {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
}

.weather-status {
  min-height: 30px;
  border-radius: 6px;
  color: var(--weather-muted);
  font-size: 14px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 0 2px;
}

.weather-status[hidden] {
  display: none;
}

.weather-status.is-error {
  color: #b42318;
}

.weather-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #f4c38d;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a4d00;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
}

.weather-notice[hidden] {
  display: none;
}

.weather-notice span {
  min-width: 0;
}

.weather-notice.is-error {
  border-color: #f1b7b2;
  background: #fff5f5;
  color: #b42318;
}

.weather-notice button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: var(--weather-panel);
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.weather-notice button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.weather-notice button:focus-visible {
  outline: 3px solid var(--weather-focus);
  outline-offset: 2px;
}

.weather-loading-visual {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 16px;
}

.weather-loading-visual[hidden] {
  display: none;
}

.weather-loader-scene {
  position: relative;
  width: min(190px, 58vw);
  height: 82px;
}

.weather-loader-sun {
  position: absolute;
  top: 4px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f7c948;
  box-shadow: 0 0 0 8px rgba(247, 201, 72, .16);
  animation: weather-loader-sun 2.8s ease-in-out infinite;
}

.weather-loader-cloud,
.weather-loader-cloud::before,
.weather-loader-cloud::after,
.weather-loader-cloud i {
  position: absolute;
  display: block;
  background: #ffffff;
  content: "";
}

.weather-loader-cloud {
  top: 28px;
  left: 44px;
  width: 104px;
  height: 34px;
  border: 1px solid #d7e3dc;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(28, 42, 37, .12);
  animation: weather-loader-cloud 2.8s ease-in-out infinite;
}

.weather-loader-cloud::before {
  bottom: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid #d7e3dc;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.weather-loader-cloud::after {
  bottom: 18px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 1px solid #d7e3dc;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.weather-loader-cloud i {
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 16px;
  border-radius: 999px;
}

.weather-loader-rain {
  position: absolute;
  top: 65px;
  left: 76px;
  display: flex;
  gap: 16px;
}

.weather-loader-rain i {
  display: block;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--weather-brand);
  opacity: .72;
  transform: rotate(16deg);
  animation: weather-loader-rain 1.1s ease-in-out infinite;
}

.weather-loader-rain i:nth-child(2) {
  animation-delay: .18s;
}

.weather-loader-rain i:nth-child(3) {
  animation-delay: .36s;
}

@keyframes weather-loader-sun {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(5px) scale(.96);
  }
}

@keyframes weather-loader-cloud {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}

@keyframes weather-loader-rain {
  0% {
    opacity: 0;
    transform: translateY(-5px) rotate(16deg);
  }
  45% {
    opacity: .76;
  }
  100% {
    opacity: 0;
    transform: translateY(8px) rotate(16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .weather-loader-sun,
  .weather-loader-cloud,
  .weather-loader-rain i {
    animation: none;
  }
}

.weather-short-forecast[hidden],
.weather-hourly-section[hidden],
.weather-table-section[hidden] {
  display: none;
}

.weather-short-forecast {
  display: grid;
  gap: 7px;
  padding: 8px;
}

.weather-hourly-section {
  display: grid;
  gap: 9px;
  padding: 10px;
}

.weather-section-head.weather-hourly-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.weather-hourly-head > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.weather-hourly-toggle {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  color: var(--weather-ink);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.weather-hourly-toggle:hover,
.weather-hourly-toggle:focus-visible {
  border-color: var(--weather-brand);
  background: var(--weather-brand-tint);
}

.weather-hourly-state {
  border: 1px dashed var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  color: var(--weather-muted);
  padding: 14px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.weather-hourly-state.is-error {
  border-color: #f0b4a8;
  background: #fff6f1;
  color: #9a3412;
}

.weather-hourly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.weather-hourly-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  padding: 12px;
}

.weather-hourly-card.is-medium {
  border-color: #f0d49a;
  background: #fff9ed;
}

.weather-hourly-card.is-high {
  border-color: #f0b4a8;
  background: #fff6f1;
}

.weather-hourly-time {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.weather-hourly-time strong {
  color: var(--weather-ink);
  font-size: 14px;
}

.weather-hourly-time span {
  color: var(--weather-muted);
  font-size: 12px;
  font-weight: 700;
}

.weather-hourly-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.weather-hourly-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.weather-hourly-card dt {
  color: var(--weather-muted);
  font-size: 11px;
}

.weather-hourly-card dd {
  margin: 0;
  color: var(--weather-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.weather-short-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.weather-short-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid var(--weather-line);
  border-radius: 8px;
  background: var(--weather-soft-panel);
  padding: 8px;
}

.weather-short-card.is-today {
  border-color: #bfe4cd;
  background: #f4fbf7;
}

.weather-short-date {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
}

.weather-short-date strong {
  color: var(--weather-ink);
  font-size: 13px;
}

.weather-short-date span,
.weather-short-metrics dt {
  color: var(--weather-muted);
  font-size: 11px;
}

.weather-short-main {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--weather-ink);
  font-weight: 800;
}

.weather-short-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.weather-short-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
}

.weather-short-metrics div {
  display: grid;
  gap: 1px;
  align-content: center;
  min-width: 0;
  border-radius: 6px;
  background: var(--weather-panel);
  padding: 4px 5px;
}

.weather-short-metrics div.is-alert {
  background: #fff0dc;
}

.weather-short-metrics div.is-alert dd {
  color: #9a4d00;
}

.weather-short-metrics dd {
  margin: 0;
  color: var(--weather-ink);
  font-size: 10.5px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.weather-table-section {
  position: relative;
  padding: 14px;
}

.weather-table-section {
  overflow: hidden;
}

.weather-section-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.weather-section-head h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.weather-result-count {
  color: var(--weather-muted);
  font-size: 12px;
}

.weather-table-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}

.weather-table-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.weather-table-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
}

.weather-past-load,
.weather-today-jump {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 127, 112, .24);
  border-radius: 8px;
  background: var(--weather-panel);
  color: var(--weather-brand-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.weather-past-load:hover,
.weather-past-load:focus-visible,
.weather-today-jump:hover,
.weather-today-jump:focus-visible {
  border-color: rgba(15, 127, 112, .36);
  background: rgba(15, 127, 112, .08);
  color: var(--weather-brand-dark);
}

.weather-past-load.is-active {
  border-color: rgba(15, 127, 112, .42);
  background: rgba(15, 127, 112, .1);
  color: var(--weather-brand-dark);
}

.weather-past-load.is-busy,
.weather-today-jump:active,
.weather-today-jump.is-busy {
  border-color: var(--weather-brand);
  background: var(--weather-brand);
  color: #fff;
}

.weather-past-load:disabled,
.weather-today-jump:disabled {
  cursor: wait;
  opacity: .58;
}

.weather-past-load.is-busy,
.weather-today-jump.is-busy {
  cursor: progress;
  opacity: .9;
}

@media (hover: none) {
  .weather-past-load:hover,
  .weather-today-jump:hover {
    border-color: rgba(15, 127, 112, .24);
    background: var(--weather-panel);
    color: var(--weather-brand-dark);
  }

  .weather-past-load.is-active:hover {
    border-color: rgba(15, 127, 112, .42);
    background: rgba(15, 127, 112, .1);
  }
}

/* Daily table: keep the model/metric axis outside the horizontal scroll area. */
.weather-table-frame {
  --weather-model-width: 24px;
  --weather-metric-width: 22px;
  --weather-sticky-width: calc(var(--weather-model-width) + var(--weather-metric-width));
  --weather-day-width: 104px;
  --weather-expanded-day-width: 520px;
  --weather-expanded-base-width: var(--weather-day-width);
  --weather-expanded-hour-width: var(--weather-day-width);
  --weather-expanded-extra-width: 0px;
  --weather-wrap-width: 100vw;
  display: grid;
  grid-template-columns: var(--weather-sticky-width) minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
}

.weather-table-axis {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--weather-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--weather-panel);
  box-shadow: 8px 0 12px rgba(28, 42, 37, .06);
}

.weather-table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--weather-line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(15, 127, 112, .42) rgba(239, 244, 241, .9);
  scrollbar-width: thin;
}

.weather-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.weather-table-wrap::-webkit-scrollbar-track {
  background: rgba(239, 244, 241, .9);
}

.weather-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid rgba(239, 244, 241, .9);
  border-radius: 999px;
  background: rgba(15, 127, 112, .45);
}

.weather-table {
  width: max-content;
  min-width: calc(var(--weather-day-count, 1) * var(--weather-day-width) + var(--weather-expanded-extra-width));
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--weather-panel);
}

.weather-axis-table {
  width: var(--weather-sticky-width);
  min-width: var(--weather-sticky-width);
  max-width: var(--weather-sticky-width);
}

.weather-data-table {
  min-width: calc(var(--weather-day-count, 1) * var(--weather-day-width) + var(--weather-expanded-extra-width));
}

.weather-table.has-daily-expansion {
  --weather-expanded-extra-width: calc(var(--weather-expanded-day-width) - var(--weather-day-width));
}

.weather-table th,
.weather-table td {
  border-bottom: 1px solid var(--weather-line);
  padding: 16px 10px 5px;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
}

.weather-table th {
  background: var(--weather-soft-panel);
  color: var(--weather-muted);
  font-size: 12px;
}

.weather-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
}

.weather-model-head-cell {
  text-align: center;
  color: var(--weather-ink);
  background: var(--weather-soft);
  border-left: 1px solid var(--weather-line);
}

.weather-axis-col,
.weather-table-corner {
  min-width: var(--weather-sticky-width);
  width: var(--weather-sticky-width);
  max-width: var(--weather-sticky-width);
}

.weather-day-head {
  min-width: var(--weather-day-width);
  width: var(--weather-day-width);
  max-width: var(--weather-day-width);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.weather-day-head.is-past {
  border-bottom-color: #8d99a6;
  background: #eef1f3;
}

.weather-day-head.is-today {
  border-bottom-color: var(--weather-brand);
  background: #e5f6ed;
}

.weather-day-head.is-future {
  border-bottom-color: #d98c00;
  background: #fff2d6;
}

.weather-day-head strong {
  display: block;
  color: var(--weather-ink);
  font-size: 12px;
  line-height: 1.15;
}

.weather-day-toggle {
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 3px 2px;
}

.weather-day-toggle:focus-visible {
  outline: 3px solid var(--weather-focus);
  outline-offset: 1px;
}

.weather-day-head.is-expanded .weather-day-toggle {
  gap: 0;
  align-content: stretch;
  background: transparent;
  box-shadow: none;
  justify-items: stretch;
  padding: 0;
}

.weather-day-hour-axis {
  --weather-day-date-inset: 8px;
  position: relative;
  display: block;
  width: max-content;
  max-width: none;
  min-height: 46px;
  overflow: visible;
  color: var(--weather-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.weather-day-inside-date {
  position: absolute;
  top: 4px;
  left: var(--weather-day-date-left, var(--weather-day-date-inset));
  z-index: 1;
  display: block;
  width: max-content;
  max-width: calc(var(--weather-expanded-day-width) - 16px);
  min-height: 13px;
  color: var(--weather-ink);
  padding: 0;
  pointer-events: none;
  transform: none;
}

.weather-day-inside-date strong {
  display: block;
  overflow: hidden;
  color: var(--weather-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
  white-space: nowrap;
}

.weather-day-hour-row {
  display: grid;
  align-items: stretch;
  grid-auto-columns: var(--weather-expanded-hour-width);
  grid-auto-flow: column;
  padding-top: 18px;
  width: max-content;
}

.weather-day-hour-row span {
  display: inline-grid;
  place-items: center;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 5px 10px 8px;
  border-right: 1px solid var(--weather-line);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-day-hour-axis .is-muted {
  color: #8b98a5;
}

.weather-sticky-col {
  position: sticky;
  left: 0;
  z-index: 4;
  min-width: var(--weather-sticky-width);
  width: var(--weather-sticky-width);
  max-width: var(--weather-sticky-width);
  background: var(--weather-panel);
  border-right: 1px solid var(--weather-line);
  box-shadow: 8px 0 12px rgba(28, 42, 37, .06);
}

.weather-table thead th.weather-sticky-col {
  z-index: 8;
  background: var(--weather-soft-panel);
}

.weather-table tbody th.weather-sticky-col {
  z-index: 5;
}

.weather-table .weather-sticky-col {
  display: table-cell;
  position: sticky;
  left: 0;
  box-sizing: border-box;
}

.weather-table .weather-table-corner {
  min-width: var(--weather-sticky-width);
  width: var(--weather-sticky-width);
  max-width: var(--weather-sticky-width);
  padding: 0;
  text-align: center;
}

.weather-corner-label {
  display: grid;
  grid-template-columns: var(--weather-model-width) var(--weather-metric-width);
  align-items: center;
  width: var(--weather-sticky-width);
  min-height: 38px;
}

.weather-corner-label span {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
  color: var(--weather-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.weather-corner-label span:first-child {
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-right: 1px solid var(--weather-line);
}

.weather-corner-label span:last-child {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.weather-table .weather-series-label-cell {
  position: static;
  min-width: var(--weather-model-width);
  width: var(--weather-model-width);
  max-width: var(--weather-model-width);
  padding: 5px 1px;
  background: var(--weather-soft);
  color: var(--weather-brand-dark);
  text-align: center;
  vertical-align: middle;
}

.weather-table .weather-metric-cell {
  position: static;
  min-width: var(--weather-metric-width);
  width: var(--weather-metric-width);
  max-width: var(--weather-metric-width);
  padding: 6px 2px;
  background: var(--weather-panel);
  text-align: center;
}

.weather-table tbody th.weather-series-label-cell.weather-sticky-col {
  left: 0;
  z-index: 7;
}

.weather-table tbody th.weather-metric-cell.weather-sticky-col {
  left: var(--weather-model-width);
  z-index: 6;
}

.weather-table .weather-day-head,
.weather-table .weather-model-date-cell,
.weather-table .weather-day-cell {
  min-width: var(--weather-day-width);
  width: var(--weather-day-width);
  max-width: var(--weather-day-width);
  text-align: center;
}

.weather-table .weather-day-head.is-expanded,
.weather-table .weather-model-date-cell.is-expanded,
.weather-table .weather-day-cell.is-expanded {
  min-width: var(--weather-expanded-day-width);
  width: var(--weather-expanded-day-width);
  max-width: var(--weather-expanded-day-width);
}

.weather-table .weather-day-head.is-expanded,
.weather-table .weather-model-date-cell.is-expanded,
.weather-table .weather-day-cell.is-expanded {
  padding: 0;
}

.weather-metric-cell {
  color: var(--weather-muted);
  font-weight: 700;
}

.weather-metric-cell span {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: var(--weather-ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  margin: 0 auto;
  text-align: center;
  text-orientation: upright;
  text-overflow: ellipsis;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.weather-series-label-cell span {
  display: inline-grid;
  place-items: center;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  color: var(--weather-brand-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-orientation: upright;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.weather-series-label-cell small {
  display: none;
}

.weather-model-date-cell {
  text-align: center;
}

.weather-model-date-cell[data-weather-day-toggle],
.weather-day-cell[data-weather-day-toggle] {
  cursor: pointer;
}

.weather-model-date-cell.is-expanded,
.weather-table td.weather-day-cell.is-expanded {
  box-shadow: none;
}

.weather-empty-cell {
  color: #a1adb8;
  text-align: center;
}

.weather-daily-cell {
  display: grid;
  gap: 5px;
  place-items: center;
  min-width: 0;
  text-align: center;
}

.weather-daily-cell > strong {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--weather-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
}

.weather-daily-cell > small {
  color: var(--weather-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.weather-daily-cell-expanded {
  grid-template-columns: max-content;
  gap: 0;
  align-items: stretch;
  min-width: max-content;
}

.weather-daily-hourly-strip {
  display: grid;
  grid-auto-columns: var(--weather-expanded-hour-width);
  grid-auto-flow: column;
  gap: 0;
  width: max-content;
  max-width: none;
}

.weather-daily-hourly-strip.is-state {
  grid-auto-flow: row;
  min-width: var(--weather-expanded-day-width);
  width: auto;
}

.weather-daily-hourly-value {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--weather-line);
  color: var(--weather-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.18;
  padding: 9px 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-daily-hourly-value.is-medium {
  background: #fff9ed;
  color: #8a5a00;
}

.weather-daily-hourly-value.is-high {
  background: #fff6f1;
  color: #9a3412;
}

.weather-daily-hourly-state {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 9px 10px;
  color: var(--weather-muted);
  font-size: 11px;
  font-weight: 800;
  white-space: normal;
}

.weather-daily-hourly-state.is-error {
  color: #a13f16;
}

.weather-daily-cell-models {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--weather-line);
  margin-top: 2px;
  padding-top: 5px;
}

.weather-daily-cell-models div {
  display: grid;
  grid-template-columns: minmax(42px, 0.72fr) minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.weather-daily-cell-models span {
  overflow: hidden;
  color: var(--weather-muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.weather-daily-cell-models strong {
  overflow: hidden;
  color: var(--weather-muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
}

.weather-table tbody tr:hover {
  background: var(--weather-soft-panel);
}

.weather-type {
  display: inline-flex;
  align-items: center;
  min-width: 46px;
  justify-content: center;
  border-radius: 999px;
  background: var(--weather-soft);
  color: var(--weather-brand);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
}

.weather-type.is-past {
  background: #dfe5ea;
  color: #42505c;
}

.weather-type.is-today {
  background: var(--weather-brand);
  color: #ffffff;
}

.weather-type.is-future {
  background: #fff0c2;
  color: #8a5a00;
}

.weather-table td.weather-day-cell.is-past {
  background: #fafbfb;
}

.weather-table td.weather-day-cell.is-today {
  background: #f1fbf5;
  box-shadow: inset 0 0 0 1px rgba(15, 127, 112, .14);
}

.weather-table td.weather-day-cell.is-future {
  background: #fffaf0;
}

.weather-table td.weather-day-cell.is-today .weather-daily-cell > strong {
  color: var(--weather-brand-dark);
}

.weather-table td.weather-day-cell.is-expanded.is-today {
  box-shadow: none;
}

.weather-daily-hourly-state {
  display: inline-grid;
  align-items: center;
  min-height: 34px;
  border: 1px dashed var(--weather-line);
  border-radius: 8px;
  color: var(--weather-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.weather-daily-hourly-state.is-error {
  border-color: #efb1a6;
  background: #fff7f3;
  color: #a84736;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 860px) {
  .weather-shell {
    width: min(1180px, calc(100% - 32px));
    padding-top: 14px;
  }

  .weather-toolbar {
    grid-template-columns: minmax(0, 1fr);
    padding: 3px 6px;
  }

  .weather-control-grid {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .weather-compact-controls {
    grid-template-columns: minmax(0, 1fr) minmax(116px, 170px);
  }

  .weather-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .weather-short-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weather-section-head {
    align-items: center;
    flex-direction: row;
  }
}

@media (max-width: 700px) {
  .weather-shell {
    width: min(1180px, calc(100% - 32px));
    padding: 14px 0 36px;
  }

  .weather-search-app {
    gap: 8px;
  }

  .weather-view-tabs {
    gap: 4px;
    padding: 5px;
  }

  .weather-view-tabs button {
    min-height: 34px;
    font-size: 12px;
    padding: 0 4px;
  }

  .weather-toolbar,
  .weather-settings,
  .weather-control-grid,
  .weather-short-forecast,
  .weather-hourly-section,
  .weather-table-section {
    padding: 8px;
  }

  .weather-settings {
    top: 40px;
    right: 0;
    left: 0;
    width: auto;
    max-height: min(72vh, 560px);
  }

  .weather-table-section:not([hidden]) {
    display: block;
  }

  .weather-toolbar {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 3px;
  }

  .weather-status {
    font-size: 12px;
  }

  .weather-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .weather-notice button {
    width: 100%;
  }

  .weather-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
  }

  .weather-compact-controls {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 5px;
  }

  .weather-search-actions {
    display: flex;
    gap: 4px;
    min-width: max-content;
  }

  .weather-search-form input,
  .weather-search-form button {
    min-height: 30px;
    font-size: 13px;
  }

  .weather-range-row input,
  .weather-range-presets button {
    min-height: 32px;
    font-size: 12px;
  }

  .weather-range-row {
    gap: 8px;
  }

  .weather-date-fields {
    gap: 7px;
  }

  .weather-range-presets,
  .weather-model-grid {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .weather-control-grid-secondary {
    padding: 0;
  }

  .weather-settings-toggle {
    grid-template-columns: 1fr;
    min-height: 30px;
    justify-items: center;
    padding: 0 5px;
  }

  .weather-settings-toggle > span:first-child {
    display: none;
  }

  .weather-settings-toggle > span:last-child {
    width: 100%;
    min-height: 26px;
    padding: 0 4px;
  }

  .weather-model-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .weather-model-head strong {
    padding: 5px 8px;
    font-size: 12px;
  }

  .weather-model-grid button {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 34px;
    padding: 4px 24px 4px 8px;
  }

  .weather-model-grid button::after {
    top: 50%;
    right: 8px;
  }

  .weather-model-grid strong {
    font-size: 13px;
  }

  .weather-model-grid span {
    font-size: 10px;
  }

  .weather-range-presets button {
    flex: 1 1 calc(50% - 4px);
    padding: 0 7px;
  }

  .weather-range-custom {
    flex: 1 1 calc(50% - 4px);
    min-height: 38px;
  }

  .weather-hourly-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-section-head {
    gap: 6px;
    margin-bottom: 7px;
  }

  .weather-past-load,
  .weather-today-jump {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .weather-section-head h2 {
    font-size: 14px;
  }

  .weather-short-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weather-short-card {
    gap: 4px;
    padding: 6px;
  }

  .weather-short-date {
    display: grid;
    gap: 1px;
  }

  .weather-short-date strong {
    font-size: 12px;
  }

  .weather-short-date span,
  .weather-short-metrics dt {
    font-size: 10px;
  }

  .weather-short-main {
    align-items: center;
    gap: 0;
    font-size: 11px;
    line-height: 1.25;
  }

  .weather-short-icon {
    font-size: 17px;
  }

  .weather-short-metrics {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .weather-short-metrics div {
    padding: 3px 4px;
  }

  .weather-short-metrics dd {
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }
  .weather-table-wrap {
    display: block;
    overflow-x: auto;
  }

  .weather-table-frame {
    --weather-model-width: 18px;
    --weather-metric-width: 18px;
    --weather-sticky-width: calc(var(--weather-model-width) + var(--weather-metric-width));
    --weather-day-width: 82px;
    --weather-expanded-base-width: var(--weather-day-width);
    --weather-expanded-hour-width: var(--weather-day-width);
  }

  .weather-table {
    min-width: calc(var(--weather-day-count, 1) * var(--weather-day-width) + var(--weather-expanded-extra-width));
  }

  .weather-axis-table {
    width: var(--weather-sticky-width);
    min-width: var(--weather-sticky-width);
    max-width: var(--weather-sticky-width);
  }

  .weather-table th,
  .weather-table td {
    max-width: 84px;
    padding: 14px 6px 4px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .weather-table-corner {
    min-width: var(--weather-sticky-width);
    width: var(--weather-sticky-width);
    max-width: var(--weather-sticky-width);
  }

  .weather-table .weather-series-label-cell {
    min-width: var(--weather-model-width);
    width: var(--weather-model-width);
    max-width: var(--weather-model-width);
    padding: 4px 0;
  }

  .weather-table .weather-metric-cell {
    min-width: var(--weather-metric-width);
    width: var(--weather-metric-width);
    max-width: var(--weather-metric-width);
    padding: 4px 1px;
  }

  .weather-series-label-cell span {
    font-size: 8px;
  }

  .weather-corner-label {
    min-height: 34px;
  }

  .weather-corner-label span {
    font-size: 9px;
  }

  .weather-metric-cell span {
    font-size: 9px;
  }

  .weather-day-head {
    min-width: var(--weather-day-width);
    width: var(--weather-day-width);
    max-width: var(--weather-day-width);
  }

  .weather-table .weather-day-head.is-expanded,
  .weather-table .weather-model-date-cell.is-expanded,
  .weather-table .weather-day-cell.is-expanded {
    min-width: var(--weather-expanded-day-width);
    width: var(--weather-expanded-day-width);
    max-width: var(--weather-expanded-day-width);
  }

  .weather-day-head strong {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .weather-day-toggle {
    padding: 2px 1px;
  }

  .weather-type {
    min-width: 0;
    padding: 2px 6px;
    font-size: 10px;
  }

  .weather-day-models div {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .weather-day-models em {
    grid-column: 2;
  }

  .weather-daily-cell > strong,
  .weather-daily-cell-models strong {
    white-space: normal;
  }

  .weather-daily-cell-models div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .weather-daily-hourly-strip {
    grid-auto-columns: var(--weather-expanded-hour-width);
  }

  .weather-daily-hourly-value,
  .weather-daily-hourly-state {
    min-height: 0;
  }

  .weather-day-hour-row span {
    min-height: 0;
    padding: 4px 6px 6px;
    font-size: 9px;
  }

  .weather-day-inside-date {
    --weather-day-date-inset: 6px;
    top: 4px;
    min-height: 12px;
    transform: none;
  }

  .weather-day-inside-date strong {
    font-size: 10px;
  }

  .weather-daily-hourly-value {
    font-size: 10px;
    padding: 7px 6px;
  }

  .weather-daily-hourly-state {
    padding: 7px 6px;
  }
}

@media (max-width: 430px) {
  .weather-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .weather-date-fields {
    grid-template-columns: 1fr;
  }

  .weather-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .weather-settings-toggle {
    grid-template-columns: 1fr;
  }

  .weather-settings-toggle > span:last-child {
    width: 100%;
  }

  .weather-search-form button {
    padding: 0 8px;
  }
}

@media (max-width: 360px) {
  .weather-view-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weather-range-presets button,
  .weather-range-custom,
  .weather-model-grid button {
    flex-basis: 100%;
  }

  .weather-hourly-grid {
    grid-template-columns: 1fr;
  }
}
