.depot-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.depot-module > .metrics,
.depot-module > .card-head,
.depot-module > .banner {
  margin: 0;
}
.depot-module > .card-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.depot-module .data-table details {
  margin-top: 2px;
}
.depot-module > .card {
  padding: 22px;
}
.depot-module .section-title {
  margin: 0 0 8px;
}
.depot-module details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
}
.depot-module caption {
  text-align: left;
  color: #687274;
  font-size: 12px;
  padding: 10px 0;
}
.depot-module li {
  margin-bottom: 9px;
}
.depot-schedule-window {
  margin: 20px 0;
}
.depot-schedule-window h3 {
  font-size: 14px;
}
.depot-schedule-scroll {
  overflow-x: auto;
}
.depot-schedule-axis,
.depot-schedule-row {
  display: grid;
  grid-template-columns: 155px minmax(420px, 1fr);
  gap: 20px;
  min-width: 620px;
}
.depot-schedule-axis {
  background: #f5f6f5;
  padding: 12px 14px;
  font-size: 11px;
  color: #657072;
}
.depot-schedule-axis > div {
  display: flex;
  justify-content: space-between;
}
.depot-schedule-row {
  align-items: center;
  min-height: 60px;
  padding: 12px 14px;
  border-bottom: 1px solid #eceeed;
}
.depot-track {
  height: 28px;
  position: relative;
  background: repeating-linear-gradient(
    to right,
    #f2f3f2 0,
    #f2f3f2 calc(25% - 1px),
    #dfe3df calc(25% - 1px),
    #dfe3df 25%
  );
  border-radius: 4px;
}
.depot-charge {
  position: absolute;
  top: 4px;
  height: 20px;
  background: #8b9900;
  border-radius: 4px;
  min-width: 1px;
}
.depot-departure {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: #3473b3;
  border-radius: 2px;
  z-index: 2;
}
.depot-departure::before {
  content: '';
  position: absolute;
  inset: -5px -6px;
}
.depot-departure:focus-visible {
  outline: 3px solid #202828;
  outline-offset: 4px;
}
.depot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #5e686b;
  font-size: 12px;
  margin: 10px 0;
}
.depot-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.depot-legend i {
  display: inline-block;
  width: 13px;
  height: 9px;
  border-radius: 2px;
}
.depot-key-charge {
  background: #8b9900;
}
.depot-key-departure {
  background: #3473b3;
}
.depot-key-site {
  background: #454e50;
}
.depot-key-limit {
  border-top: 2px dashed #b31249;
  border-radius: 0 !important;
  height: 1px !important;
}
.depot-load-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
}
.depot-load-chart text {
  font:
    12px system-ui,
    sans-serif;
  fill: #627074;
}
.depot-chart-grid {
  stroke: #eceeed;
  stroke-width: 1;
}
.depot-site-line {
  fill: none;
  stroke: #454e50;
  stroke-width: 3;
}
.depot-charge-line {
  fill: none;
  stroke: #8b9900;
  stroke-width: 3;
}
.depot-limit-line {
  fill: none;
  stroke: #b31249;
  stroke-width: 2;
  stroke-dasharray: 7 4;
}
.depot-warning {
  color: #916000;
  font-weight: 600;
}
@media (max-width: 700px) {
  .depot-module > .card {
    padding: 15px;
  }
  .depot-module {
    gap: 12px;
  }
  .depot-load-chart {
    min-width: 480px;
  }
  .depot-module > .card:has(.depot-load-chart) {
    overflow-x: auto;
  }
}
