:root {
  font-family:Inter,"Segoe UI",system-ui,sans-serif;
  color:#182b36;
  background:#fff;
  font-size:16px;
  --ink:#182b36;
  --teal:#167d89;
  --line:#dbe5e9;
  --muted:#607481
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
main {
  max-width:1160px;
  margin:0 auto;
  padding:28px 32px 30px
}
.eyebrow {
  font-size:.75rem;
  letter-spacing:.14em;
  font-weight:700;
  color:var(--muted);
  margin:0 0 8px
}
.notice {
  background:#eaf1f5;
  border:1px solid #d4e1e9;
  border-radius:8px;
  padding:14px 18px;
  color:#395665;
  line-height:1.55;
  margin-bottom:24px;
  font-size:.875rem
}
.dashboard-controls {
  padding-bottom:24px
}
.pump-card {
  border-top:1px solid var(--line);
  padding:24px 0
}
.card-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:26px
}
.pump-heading {
  display:flex;
  align-items:center;
  gap:15px
}
.pump-heading .eyebrow {
  margin-bottom:5px;
  font-size:.7rem
}
h2 {
  font-size:1.35rem;
  letter-spacing:-.025em;
  font-weight:650;
  margin:0
}
.pump-mark {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:10px;
  background:#eaf4f4;
  color:#126c78;
  font-size:1.125rem;
  font-weight:600
}
.freshness {
  font-size:.8125rem;
  color:var(--muted);
  max-width:290px;
  text-align:right;
  line-height:1.5;
  margin:0
}
.controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.segmented {
  display:flex;
  background:#f0f4f6;
  border-radius:7px;
  padding:4px
}
.segmented button {
  border:0;
  background:transparent;
  min-width:70px;
  color:#566d79
}
.segmented button[aria-pressed=true] {
  background:white;
  color:var(--ink)
}
button,input {
  font:inherit;
  font-size:.875rem
}
button {
  cursor:pointer;
  border:1px solid var(--line);
  border-radius:5px;
  background:white;
  color:#405865;
  padding:8px 13px;
  font-weight:550;
  min-height:37px
}
button:hover {
  background:#f1f7f8
}
button:disabled {
  cursor:default;
  opacity:.4
}
button:focus-visible,input:focus-visible,summary:focus-visible {
  outline:3px solid #3ea7b7;
  outline-offset:3px
}
.summary-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:26px 0 22px;
  gap:20px
}
.primary-stat {
  display:flex;
  align-items:baseline;
  gap:12px
}
.primary-stat span:first-child {
  font-size:2.7rem;
  letter-spacing:-.04em;
  font-weight:600;
  line-height:1
}
.primary-stat span:last-child {
  font-size:.875rem;
  color:var(--muted)
}
.chart-header {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:16px
}
.range-label {
  font-size:.875rem;
  font-weight:650;
  margin:0
}
.chart-key {
  font-size:.75rem;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:6px;
  margin:0
}
.key-swatch {
  width:9px;
  height:9px;
  border-radius:2px;
  background:var(--teal);
  display:inline-block
}
.key-swatch.missing {
  background:#e9eff2;
  border:1px solid #cbd8de;
  margin-left:8px
}
.chart-container {
  position:relative;
  height:245px;
  min-width:0
}
.chart-empty {
  position:absolute;
  inset:40% 10% auto;
  text-align:center;
  background:#fffffff0;
  border:1px solid var(--line);
  border-radius:6px;
  padding:12px;
  color:var(--muted);
  font-size:.875rem;
  pointer-events:none
}
.chart-empty[hidden] {
  display:none
}
.card-message {
  font-size:.875rem;
  line-height:1.55;
  color:#6e6449;
  min-height:20px;
  margin:12px 0 20px
}
.card-message.error {
  color:#a34224
}
.navigation {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  padding-top:16px;
  margin-top:16px
}
.controls-message {
  color:#a34224;
  font-size:.875rem;
  margin:12px 0 0
}
.nav-buttons {
  display:flex;
  gap:6px
}
.end-form label {
  display:block;
  color:var(--muted);
  font-size:.75rem;
  margin-bottom:6px
}
.browser-zone {
  font-size:.7rem
}
.end-form>div {
  display:flex;
  gap:6px
}
input {
  border:1px solid var(--line);
  border-radius:5px;
  min-height:37px;
  padding:6px 9px;
  color:#405865;
  min-width:0;
  background:white
}
.data-details {
  margin-top:20px;
  padding-top:17px
}
.data-details summary {
  cursor:pointer;
  color:var(--muted);
  font-size:.875rem;
  line-height:1.6
}
.table-scroll {
  overflow-x:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:.875rem;
  margin-top:14px;
  text-align:right
}
th,td {
  padding:11px 9px;
  border-bottom:1px solid #e7eef1;
  white-space:nowrap
}
th {
  font-weight:600;
  color:#405865;
  background:#f6f9fa
}
td:first-child,th:first-child {
  text-align:left
}
footer {
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.8125rem;
  line-height:1.6;
  text-align:center;
  padding:16px 8px 8px
}
footer p {
  margin:3px
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.pump-card[data-metric=runtime] {
  --teal:#b87535
}
.pump-card[aria-busy=true] .chart-container {
  opacity:.55
}
@media(max-width:760px) {
  main {
    padding:28px 16px
  }
  .card-header {
    align-items:flex-start;
    gap:12px;
    margin-bottom:22px
  }
  h2 {
    font-size:1.125rem
  }
  .freshness {
    max-width:160px;
    font-size:.75rem
  }
  .pump-mark {
    width:36px;
    height:36px
  }
  .pump-heading {
    gap:10px
  }
  .controls {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:12px
  }
  .segmented {
    flex:1;
    max-width:100%
  }
  .segmented button {
    min-width:0;
    flex:1;
    padding:8px 14px
  }
  .summary-row {
    margin-top:24px
  }
  .primary-stat {
    align-items:flex-start;
    flex-direction:column;
    gap:7px
  }
  .primary-stat span:first-child {
    font-size:2.3rem
  }
  .chart-header {
    align-items:flex-start;
    flex-direction:column;
    gap:9px
  }
  .chart-container {
    height:220px
  }
  .navigation {
    flex-wrap:wrap
  }
  .end-form {
    width:100%
  }
  .end-form>div input {
    flex:1;
    max-width:100%
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important
  }
}
