:root {
  color-scheme: light;
  --ink: #080c0f;
  --muted: #536169;
  --peak: #2f444c;
  --mid: #5d897b;
  --base: #8cb596;
  --blue: #0b8cff;
  --cyan: #13e2d5;
  --green: #13eb71;
  --purple: #9700ff;
  --magenta: #ff00d4;
  --red: #f03232;
  font-family: Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: fontcustom;
  font-style: normal;
  font-weight: 400;
  src: url("/api/image?url=https%3A%2F%2Fwww.mountain-forecast.com%2Fpacks%2Fcomponents%2Ficon%2Fstatic%2Ffontcustom-61b313398fc91e389603c156d0084162.woff") format("woff");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3f3f3;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

.app-shell {
  width: fit-content;
  min-width: min(980px, calc(100vw - 12px));
  max-width: none;
  margin: 8px auto 18px;
}

.controls {
  display: block;
  margin-bottom: 6px;
}

.app-title {
  margin: 0 0 6px;
  text-align: center;
}

.app-title h1 {
  margin: 0;
  color: #273137;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.1;
}

.coffee-button {
  width: 28px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 4px;
  background: #ffffff;
  text-decoration: none;
  opacity: 0.68;
}

.coffee-button:hover,
.coffee-button:focus-visible {
  background: #ffdd4a;
  outline: 2px solid #273137;
  outline-offset: 1px;
  opacity: 1;
}

.coffee-button__icon {
  width: 18px;
  height: 18px;
  display: block;
}

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

.eyebrow {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
}

.load-form {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto auto;
  gap: 6px;
  align-items: start;
}

.url-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.url-field input {
  grid-column: 2;
  min-width: 0;
  height: 30px;
  border: 2px solid #bfc7cc;
  border-radius: 2px;
  padding: 0 7px;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 120ms ease;
}

.url-field input.is-url-valid {
  border-color: #078a3d;
}

.url-field input.is-url-invalid {
  border-color: #c51616;
}

.url-feedback {
  grid-column: 1;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: #c51616;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.url-feedback.is-url-valid {
  background: #078a3d;
}

.unit-cell {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin: 4px 0 6px;
  padding: 0;
}

button {
  height: 30px;
  border: 0;
  border-radius: 2px;
  padding: 0 10px;
  background: #273137;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.unit-controls__icon {
  width: 15px;
  height: 16px;
  display: block;
  margin-right: 1px;
}

.unit-toggle {
  --toggle-width: 46px;
  --toggle-half: 21px;
  position: relative;
  width: var(--toggle-width);
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
  background: #ffffff;
  color: #111111;
  border: 1px solid #bfc7cc;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 700;
}

.unit-toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: var(--toggle-half);
  height: 18px;
  border-radius: 999px;
  background: #273137;
  transition: transform 120ms ease;
}

.unit-toggle.is-right::before {
  transform: translateX(var(--toggle-half));
}

.unit-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  color: #111111;
}

.unit-toggle:not(.is-right) span:first-child,
.unit-toggle.is-right span:last-child {
  color: #ffffff;
}

.unit-toggle--wide {
  --toggle-width: 70px;
  --toggle-half: 33px;
}

.status {
  min-height: 0;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.status:empty {
  display: none;
}

.volcano-picker {
  margin: 6px 0;
}

.volcano-picker__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.volcano-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 6px;
  max-width: 980px;
}

.volcano-card {
  height: auto;
  display: grid;
  gap: 3px;
  padding: 0;
  border: 1px solid #a9a9a9;
  border-radius: 2px;
  background: #ffffff;
  color: var(--ink);
  overflow: hidden;
  text-align: center;
}

.volcano-card:hover,
.volcano-card:focus-visible {
  outline: 2px solid #273137;
  outline-offset: 1px;
}

.volcano-map__leaflet {
  position: relative;
  width: 100%;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #dbe4dc;
}

.volcano-map__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.volcano-map__marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #d9291c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.volcano-map__missing {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.volcano-card__title {
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0 4px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.05;
}

.range-tabs,
.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 6px;
}

.range-tabs {
  margin-bottom: 4px;
}

.range-tabs button,
.day-tabs button {
  height: 25px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #bfc7cc;
}

.range-tabs button.is-active,
.day-tabs button.is-active {
  background: #273137;
  color: #ffffff;
}

.range-tabs button:disabled {
  opacity: 0.4;
}

.forecast-board {
  --slot-count: 3;
  --source-label-width: 46px;
  --source-slot-width: 38px;
  width: fit-content;
  max-width: none;
  overflow: visible;
  background: #ffffff;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  box-shadow: none;
}

.forecast-board.is-empty,
.forecast-board.is-loading {
  width: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
}

.day-columns {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.board-mountain-title {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 32px;
  padding: 3px 8px;
  background: #2b3038;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.board-mountain-title span {
  min-width: 0;
  max-width: calc(100% - 180px);
  overflow: visible;
  white-space: nowrap;
}

.board-export-button {
  position: absolute;
  left: 4px;
  top: 50%;
  height: 24px;
  transform: translateY(-50%);
  padding: 0 7px;
  background: #ffffff;
  color: #273137;
  font-size: 0.68rem;
  line-height: 1;
}

.board-export-button:hover,
.board-export-button:focus-visible {
  background: #eef2f4;
}

.forecast-board.is-range .day-panel {
  border-right: 3px solid #6f7478;
}

.forecast-board.is-range .day-panel:not(:first-child) {
  --source-label-width: 0px;
}

.day-panel.is-period-p {
  --source-label-width: 0px;
  --period-panel-width: 160px;
}

.day-panel.is-period-p .compact-title,
.day-panel.is-period-p .elevation-stack {
  width: var(--period-panel-width);
  min-width: var(--period-panel-width);
  max-width: var(--period-panel-width);
}

.forecast-board.is-range .day-panel:not(:first-child) .forecast-table__header {
  width: 0;
  max-width: 0;
  min-width: 0;
  padding: 0;
  border-right: 0;
  border-left: 0;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
}

.forecast-board.is-range .day-panel:not(:first-child) .forecast-table__header-container {
  width: 0;
  max-width: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.forecast-board.is-range .day-panel:last-child {
  border-right: 0;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.compact-title {
  width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  min-width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  max-width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: #2b3038;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  font-weight: 700;
}

.compact-title > span {
  display: grid;
  place-items: center;
  padding: 3px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
}

.compact-title strong {
  grid-column: 1;
  min-width: 0;
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 0 50px;
  font-size: 0.9rem;
  line-height: 0.98;
}

.day-panel.is-period-p .compact-title strong {
  padding-right: 38px;
  padding-left: 30px;
}

.compact-title small {
  grid-column: 1 / -1;
  min-width: 0;
  display: block;
  padding: 0 50px 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.day-panel.is-period-p .compact-title small {
  padding-right: 38px;
  padding-left: 30px;
}

.granularity-button {
  position: absolute;
  top: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 24px;
  height: auto;
  padding: 0;
  background: transparent;
  color: #ffffff;
  fill: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
}

.granularity-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 13px;
  width: 13px;
  min-width: 13px;
  padding: 0;
  border: 0;
  font: inherit;
  line-height: 0.82;
  white-space: nowrap;
}

.granularity-label span {
  display: block;
  min-width: max-content;
}

.granularity-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
  fill: currentColor;
}

.granularity-icon--contract {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.1px;
}

.granularity-button:hover,
.granularity-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.granularity-button--previous {
  left: 3px;
}

.granularity-button--next {
  right: 3px;
}

.elevation-stack {
  width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  min-width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  max-width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
}

.elevation-band {
  border-bottom: 1px solid #9a9a9a;
}

.compact-grid {
  display: grid;
  grid-template-columns: 186px repeat(var(--slot-count), 74px);
}

.compact-grid > * {
  min-width: 0;
}

.time-strip {
  background: #ffffff;
  color: #111111;
  font-weight: 400;
}

.time-strip > span {
  height: 24px;
  display: grid;
  place-items: center;
  border-left: 1px solid #c9c9c9;
  font-size: 0.96rem;
}

.elevation-title {
  height: 28px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: var(--peak);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.mid .elevation-title {
  background: var(--mid);
}

.base .elevation-title {
  background: var(--base);
}

.side-blank {
  background: #ffffff;
  border-right: 1px solid #c9c9c9;
}

.condition-cell {
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(#f7f7f7, #c9d0d6 52%, #1b2026 53%, #05070a);
  border-left: 1px solid #ffffff;
  overflow: hidden;
}

.condition-cell img {
  width: 56px;
  height: 38px;
  object-fit: contain;
}

.weather-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbe3e8;
  font-size: 0.8rem;
}

.phrase-row span:not(.side-blank) {
  min-height: 39px;
  display: grid;
  place-items: start center;
  padding: 4px 3px 2px;
  border-left: 1px solid #eeeeee;
  background: #ffffff;
  font-size: 0.8rem;
  line-height: 1.05;
  text-align: center;
}

.wind-cell {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #ffffff;
  border-left: 1px solid #eeeeee;
  font-weight: 700;
}

.wind-cell:not(.source-wind) span:first-child {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000000;
  color: #fbff00;
  font-size: 1rem;
  line-height: 1;
}

.wind-arrow {
  display: inline-block;
  margin-left: -3px;
  color: #000000;
  font-size: 1.2rem;
  transform: rotate(var(--rotation));
  transform-origin: 50% 50%;
}

.wind-cell.is-light:not(.source-wind) span:first-child {
  color: #49ff33;
}

.wind-cell.is-strong:not(.source-wind) span:first-child,
.wind-cell.is-severe:not(.source-wind) span:first-child {
  color: #fbff00;
}

.source-cell .forecast-table__container {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.source-weather .icon-weather,
.source-weather .forecast-table__weather-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.source-weather img,
.source-weather .icon-weather__image {
  width: 58px;
  height: 40px;
  object-fit: contain;
}

.source-phrase .forecast-table__phrase {
  display: block;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.source-wind .forecast-table__container,
.source-wind .wind-icon {
  display: grid;
  place-items: center;
}

.source-wind .wind-icon {
  width: 38px;
  height: 38px;
}

.source-wind svg {
  width: 38px;
  height: 38px;
  display: block;
}

.source-wind .wind-icon__tooltip {
  display: none;
}

.source-cell .temp-value,
.source-cell .level-value,
.source-cell .snow-amount,
.source-cell .rain-amount {
  display: inline;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.source-cell .temp-value__units,
.source-cell .heightu,
.source-cell .windu {
  display: none;
}

.metric-label {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  background: #ffffff;
  color: #111111;
  border-right: 1px solid #c9c9c9;
  border-top: 1px solid #e3e3e3;
  font-size: 0.76rem;
  text-decoration: underline;
}

.metric-cell,
.temp-value {
  height: 30px;
  display: grid;
  place-items: center;
  border-left: 1px solid #ffffff;
  border-top: 1px solid #e3e3e3;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.metric-cell {
  background: #f3f3f3;
  color: var(--red);
}

.metric-cell.rain {
  color: #0d74ff;
}

.temp-value {
  background: var(--cyan);
  color: #ffffff;
}

.temp-value.is-frigid {
  background: var(--magenta);
  color: #ffffff;
}

.temp-value.is-freezing {
  background: var(--purple);
  color: #ffffff;
}

.temp-value.is-cool {
  background: var(--blue);
  color: #ffffff;
}

.temp-value.is-mild {
  background: var(--green);
  color: #04160a;
}

.source-forecast-table {
  width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  margin-right: auto;
  margin-left: auto;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  line-height: 1.05;
}

.forecast-table.has-scroll-space-on-right {
  width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  background: #ffffff;
}

.forecast-table.has-scroll-space-on-right .forecast-table__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
  color: #111111;
  font-size: 11px;
  line-height: 1.05;
}

.forecast-board.is-range .forecast-table.has-scroll-space-on-right .forecast-table__table {
  table-layout: fixed;
}

.forecast-board.is-range .forecast-table.has-scroll-space-on-right tr[data-row],
.forecast-board.is-range .forecast-table.has-scroll-space-on-right .forecast-table__header,
.forecast-board.is-range .forecast-table.has-scroll-space-on-right .forecast-table__cell {
  box-sizing: border-box;
}

.forecast-board.is-range .forecast-table.has-scroll-space-on-right .forecast-table__container,
.forecast-board.is-range .forecast-table.has-scroll-space-on-right .forecast-table__header-container {
  box-sizing: border-box;
  white-space: normal;
}

.source-forecast-table .source-label-column {
  width: var(--source-label-width);
}

.source-forecast-table .source-slot-column {
  width: var(--source-slot-width);
}

.source-forecast-table .forecast-table__header,
.forecast-table.has-scroll-space-on-right .forecast-table__header,
.source-forecast-table .forecast-table__cell {
  width: var(--source-slot-width);
  max-width: var(--source-slot-width);
  min-width: var(--source-slot-width);
  height: 23px;
  min-height: 23px;
  padding: 0;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  vertical-align: middle;
  background: #ffffff;
  text-align: center;
}

.forecast-table.has-scroll-space-on-right .forecast-table__cell {
  width: var(--source-slot-width);
  max-width: var(--source-slot-width);
  min-width: var(--source-slot-width);
  height: 23px;
  min-height: 23px;
  padding: 0;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  vertical-align: middle;
  background: #ffffff;
  text-align: center;
}

.forecast-table.has-scroll-space-on-right .forecast-table__header {
  width: var(--source-label-width);
  max-width: var(--source-label-width);
  min-width: var(--source-label-width);
  white-space: nowrap;
}

.source-forecast-table .source-row-header {
  width: var(--source-label-width);
  max-width: var(--source-label-width);
  min-width: var(--source-label-width);
  padding: 0;
  border: 0;
  visibility: hidden;
  color: #111111;
  font-size: 10.5px;
  font-weight: 400;
  text-align: right;
  text-decoration: underline;
  white-space: normal;
}

.source-forecast-table .forecast-table__header-container,
.forecast-table.has-scroll-space-on-right .forecast-table__header-container,
.forecast-table.has-scroll-space-on-right .forecast-table__container,
.source-forecast-table .forecast-table__container {
  width: 100%;
  height: 100%;
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1px;
  overflow: hidden;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.forecast-table.has-scroll-space-on-right .forecast-table__header-container {
  padding: 0 1px;
}

.forecast-table.has-scroll-space-on-right .forecast-table-days__cell {
  width: calc(var(--slot-count) * var(--source-slot-width));
  max-width: calc(var(--slot-count) * var(--source-slot-width));
  min-width: calc(var(--slot-count) * var(--source-slot-width));
  height: 45px;
  min-height: 45px;
  background: #2b3038;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
}

.forecast-table.has-scroll-space-on-right .forecast-table-days__container,
.forecast-table.has-scroll-space-on-right .forecast-table-days__content {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.forecast-table.has-scroll-space-on-right .forecast-table-days__name,
.forecast-table.has-scroll-space-on-right .forecast-table-days__date {
  display: block;
}

.forecast-table.has-scroll-space-on-right .switch-units {
  width: 100%;
  height: 22px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 2px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 9px;
  font-weight: 400;
}

.forecast-table.has-scroll-space-on-right .switch-units img {
  display: none;
}

.forecast-table.has-scroll-space-on-right .switch-units span {
  display: none;
}

.forecast-table.has-scroll-space-on-right .forecast-table__spacer {
  display: none;
}

.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .windu {
  display: inline;
}

.forecast-table.has-scroll-space-on-right .forecast-table__header-container--snow a,
.forecast-table.has-scroll-space-on-right .forecast-table__header-container--rain a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
}

.forecast-table.has-scroll-space-on-right .forecast-table__rain-icon {
  width: auto;
  height: auto;
  display: inline-block;
  flex: 0 0 auto;
  color: #006bff;
  font-family: fontcustom;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.forecast-table.has-scroll-space-on-right .forecast-table__rain-icon::before {
  content: "\f100";
}

.forecast-table.has-scroll-space-on-right tr[data-row="time"] {
  height: 22px;
}

.forecast-table.has-scroll-space-on-right tr[data-row="weather"],
.forecast-table.has-scroll-space-on-right tr[data-row="phrases"] {
  height: 34px;
}

.forecast-table.has-scroll-space-on-right tr[data-row="wind"] {
  height: 33px;
}

.forecast-table.has-scroll-space-on-right tr[data-row="snow"],
.forecast-table.has-scroll-space-on-right tr[data-row="rain"],
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-max"],
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-min"],
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-chill"] {
  height: 23px;
}

.forecast-table.has-scroll-space-on-right tr[data-row] .forecast-table__header,
.forecast-table.has-scroll-space-on-right tr[data-row] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row] .forecast-table__header-container,
.forecast-table.has-scroll-space-on-right tr[data-row] .forecast-table__container {
  max-height: inherit;
}

.source-row-time .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="time"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="time"] .forecast-table__container,
.source-row-time .forecast-table__container {
  height: 22px;
  min-height: 22px;
  font-size: 12px;
}

.source-row-weather .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="weather"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="weather"] .forecast-table__container,
.source-row-weather .forecast-table__container {
  height: 34px;
  min-height: 34px;
}

.source-row-weather .forecast-table__container--weather {
  padding: 0;
  background: transparent;
}

.forecast-table.has-scroll-space-on-right tr[data-row="weather"] .forecast-table__container--weather {
  padding: 0;
  background: transparent;
}

.source-row-weather .weather-icon {
  width: calc(var(--source-slot-width) - 2px);
  height: 30px;
  object-fit: contain;
}

.forecast-table.has-scroll-space-on-right tr[data-row="weather"] .weather-icon {
  width: calc(var(--source-slot-width) - 2px);
  height: 30px;
  object-fit: contain;
}

.source-row-phrases .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="phrases"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="phrases"] .forecast-table__container,
.source-row-phrases .forecast-table__container {
  height: 34px;
  min-height: 34px;
}

.source-row-phrases .forecast-table__phrase {
  color: #111111;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}

.forecast-table.has-scroll-space-on-right tr[data-row="phrases"] .forecast-table__phrase {
  color: #111111;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}

.source-row-wind .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .forecast-table__container,
.source-row-wind .forecast-table__container {
  height: 33px;
  min-height: 33px;
}

.source-row-wind .wind-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
}

.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .wind-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
}

.source-row-wind .wind-icon__svg,
.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .wind-icon__svg,
.forecast-table.has-scroll-space-on-right tr[data-row="wind"] svg,
.source-row-wind svg {
  width: 31px;
  height: 31px;
  display: block;
}

.source-row-wind .wind-icon__tooltip {
  display: none;
}

.forecast-table.has-scroll-space-on-right tr[data-row="wind"] .wind-icon__tooltip {
  display: none;
}

.source-row-snow .forecast-table__cell,
.source-row-rain .forecast-table__cell,
.source-row-temperature-max .forecast-table__cell,
.source-row-temperature-min .forecast-table__cell,
.source-row-temperature-chill .forecast-table__cell,
.source-row-snow .forecast-table__container,
.source-row-rain .forecast-table__container,
.source-row-temperature-max .forecast-table__container,
.source-row-temperature-min .forecast-table__container,
.forecast-table.has-scroll-space-on-right tr[data-row="snow"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="rain"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-max"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-min"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-chill"] .forecast-table__cell,
.forecast-table.has-scroll-space-on-right tr[data-row="snow"] .forecast-table__container,
.forecast-table.has-scroll-space-on-right tr[data-row="rain"] .forecast-table__container,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-max"] .forecast-table__container,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-min"] .forecast-table__container,
.forecast-table.has-scroll-space-on-right tr[data-row="temperature-chill"] .forecast-table__container,
.source-row-temperature-chill .forecast-table__container {
  height: 23px;
  min-height: 23px;
}

.source-forecast-table .snow-amount,
.forecast-table.has-scroll-space-on-right .snow-amount,
.forecast-table.has-scroll-space-on-right .rain-amount,
.source-forecast-table .rain-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  height: 100%;
  min-height: 23px;
  color: inherit;
  font: inherit;
}

.source-forecast-table .snow-amount__unit,
.source-forecast-table .rain-amount__unit,
.source-forecast-table .temp-value__units,
.source-forecast-table .heightu,
.forecast-table.has-scroll-space-on-right .snow-amount__unit,
.forecast-table.has-scroll-space-on-right .rain-amount__unit,
.forecast-table.has-scroll-space-on-right .temp-value__units,
.forecast-table.has-scroll-space-on-right .heightu,
.forecast-table.has-scroll-space-on-right .windu,
.source-forecast-table .windu {
  display: none;
}

.source-forecast-table .forecast-table__container--snow,
.forecast-table.has-scroll-space-on-right .forecast-table__container--snow,
.forecast-table.has-scroll-space-on-right .snow-amount,
.source-forecast-table .snow-amount {
  color: #f03232;
  font-weight: 700;
}

.source-forecast-table .forecast-table__container--rain,
.forecast-table.has-scroll-space-on-right .forecast-table__container--rain,
.forecast-table.has-scroll-space-on-right .rain-amount,
.source-forecast-table .rain-amount {
  color: #0d74ff;
  font-weight: 700;
}

.source-forecast-table .temp-value {
  width: 100%;
  height: 100%;
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.forecast-table.has-scroll-space-on-right .temp-value {
  width: 100%;
  height: 100%;
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.source-forecast-table .temp-value--1,
.forecast-table.has-scroll-space-on-right .temp-value--1 { background-color: #520052; color: #ffffff; }
.source-forecast-table .temp-value--2,
.forecast-table.has-scroll-space-on-right .temp-value--2 { background-color: #7a007a; color: #ffffff; }
.source-forecast-table .temp-value--3,
.forecast-table.has-scroll-space-on-right .temp-value--3 { background-color: purple; color: #ffffff; }
.source-forecast-table .temp-value--4,
.forecast-table.has-scroll-space-on-right .temp-value--4 { background-color: #b800b8; color: #ffffff; }
.source-forecast-table .temp-value--5,
.forecast-table.has-scroll-space-on-right .temp-value--5 { background-color: #ff00ff; color: #ffffff; }
.source-forecast-table .temp-value--6,
.forecast-table.has-scroll-space-on-right .temp-value--6 { background-color: #8000ff; color: #ffffff; }
.source-forecast-table .temp-value--7,
.forecast-table.has-scroll-space-on-right .temp-value--7 { background-color: #0000ff; color: #ffffff; }
.source-forecast-table .temp-value--8,
.forecast-table.has-scroll-space-on-right .temp-value--8 { background-color: #007fff; color: #ffffff; }
.source-forecast-table .temp-value--9,
.forecast-table.has-scroll-space-on-right .temp-value--9 { background-color: #00ffff; color: #111111; }
.source-forecast-table .temp-value--10,
.forecast-table.has-scroll-space-on-right .temp-value--10 { background-color: #00ff7f; color: #111111; }
.source-forecast-table .temp-value--11,
.forecast-table.has-scroll-space-on-right .temp-value--11 { background-color: #7fff00; color: #111111; }
.source-forecast-table .temp-value--12,
.forecast-table.has-scroll-space-on-right .temp-value--12 { background-color: #ffff00; color: #111111; }
.source-forecast-table .temp-value--13,
.forecast-table.has-scroll-space-on-right .temp-value--13 { background-color: #ffbe00; color: #111111; }
.source-forecast-table .temp-value--14,
.forecast-table.has-scroll-space-on-right .temp-value--14 { background-color: #ff7f00; color: #111111; }
.source-forecast-table .temp-value--15,
.forecast-table.has-scroll-space-on-right .temp-value--15 { background-color: #e07000; color: #ffffff; }
.source-forecast-table .temp-value--16,
.forecast-table.has-scroll-space-on-right .temp-value--16 { background-color: #f50000; color: #ffffff; }
.source-forecast-table .temp-value--17,
.forecast-table.has-scroll-space-on-right .temp-value--17 { background-color: #cc0000; color: #ffffff; }
.source-forecast-table .temp-value--18,
.forecast-table.has-scroll-space-on-right .temp-value--18 { background-color: #8f0000; color: #ffffff; }

.source-line {
  min-width: calc(var(--source-label-width) + var(--slot-count) * var(--source-slot-width));
  padding: 4px 7px;
  color: #4d565b;
  background: #ffffff;
  border-top: 1px solid #d6d6d6;
  font-size: 0.68rem;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .app-shell {
    width: fit-content;
    min-width: calc(100vw - 6px);
    margin: 3px auto 12px;
  }

  .forecast-board {
    --source-label-width: 46px;
    --source-slot-width: 38px;
  }

  .controls,
  .load-form {
    grid-template-columns: 1fr;
  }

  .compact-grid {
    grid-template-columns: 150px repeat(var(--slot-count), 66px);
  }

  .elevation-title {
    font-size: 0.82rem;
    padding-left: 8px;
  }

  .condition-cell img {
    width: 50px;
  }
}
