.climate-shell {
  display: grid;
  gap: 18px;
}

.toolbar,
.bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.loading-note,
.status-text {
  color: #66727c;
  font-size: .9rem;
}

.journey-table-wrap {
  width: 100%;
  overflow: visible;
  padding: 2px 0;
}

.journey-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 9px;
  font-size: clamp(.78rem, 1vw, .94rem);
}

.journey-table col.col-drag { width: 4%; }
.journey-table col.col-day { width: 6%; }
.journey-table col.col-port { width: 21%; }
.journey-table col.col-date { width: 12%; }
.journey-table col.col-month { width: 6%; }
.journey-table col.col-source { width: 3%; }
.journey-table col.col-temp { width: 7%; }
.journey-table col.col-rain { width: 8%; }
.journey-table col.col-sunshine { width: 7%; }
.journey-table col.col-humidity { width: 9%; }
.journey-table col.col-sea { width: 6%; }
.journey-table col.col-delete { width: 4%; }

.journey-table thead th {
  padding: 5px 4px 10px;
  text-align: center;
  vertical-align: bottom;
  font-weight: 700;
  white-space: nowrap;
}

.journey-table tbody td {
  height: 58px;
  padding: 7px 5px;
  border-top: 1px solid #d5dde2;
  border-bottom: 1px solid #d5dde2;
  background: #fff;
  text-align: center;
  vertical-align: middle;
  min-width: 0;
}

.journey-table tbody td:first-child {
  border-left: 1px solid #d5dde2;
  border-radius: 13px 0 0 13px;
}

.journey-table tbody td:last-child {
  border-right: 1px solid #d5dde2;
  border-radius: 0 13px 13px 0;
}

.journey-row {
  transition: opacity .15s ease, transform .15s ease;
}

.journey-row.dragging {
  opacity: .42;
}

.journey-row.drag-over td {
  border-top-color: #2775b8;
  border-bottom-color: #2775b8;
  background: #f4f9fd;
}

.drag-handle,
.delete-day {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.drag-handle {
  color: #77858f;
  font-size: 1.25rem;
  line-height: 1;
  cursor: grab;
}

.drag-handle:active {
  cursor: grabbing;
}

.delete-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #bd2929;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.delete-day:hover {
  color: #8e1111;
}

.day-number {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.port-input,
.date-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #cbd5db;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.port-input {
  padding: 9px 8px;
}

.date-input {
  max-width: 132px;
  padding: 8px 5px;
  margin-inline: auto;
}

.port-input:focus,
.date-input:focus {
  outline: 2px solid rgba(38, 117, 184, .24);
  border-color: #2675b8;
}

.value-cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-loading .value-cell {
  color: #68757f;
}

.row-error .value-cell {
  color: #9b2929;
}

.rain-icon {
  margin-right: 3px;
}

.history-note {
  margin-top: 2px;
}

.notice.error {
  color: #8e2525;
  border-color: #d8a5a5;
  background: #fff3f3;
}

@media (max-width: 820px) {
  .journey-table-wrap {
    overflow-x: auto;
  }

  .journey-table {
    min-width: 980px;
    table-layout: fixed;
    font-size: .88rem;
  }
}


.source-column,
.source-cell {
  text-align: center;
}

.source-cell {
  font-size: 1.15rem;
  font-weight: 700;
  overflow: visible;
}

.source-cell[data-source="forecast"] {
  cursor: help;
}

.source-cell[data-source="trend"] {
  cursor: help;
}

.source-cell[data-source="climate"] {
  cursor: help;
}

.climate-legend {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  padding: 10px 13px;
  border: 1px solid #d5dde2;
  border-radius: 10px;
  background: #fff;
  color: #4f5c66;
  font-size: .9rem;
}

.climate-legend strong {
  color: #17212b;
  font-size: 1.05rem;
}
