.fuel-page-body {
  background: #f4f5f0;
  color: #24382e;
}
.fuel-page {
  padding-bottom: 55px;
}
.fuel-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  padding: 25px 0 40px;
  border-bottom: 1px solid #d8ded4;
  margin-bottom: 35px;
}
.fuel-eyebrow {
  color: #537049;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}
.fuel-hero h1 {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 22px;
}
.fuel-lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
  color: #56665b;
  margin: 0;
}
.fuel-hero-aside {
  flex-shrink: 0;
  text-align: right;
  color: #56665b;
}
.fuel-hero-aside p {
  line-height: 1.8;
  margin: 20px 0 0;
}
.fuel-hero-aside .btn {
  margin-top: 15px;
}
.fuel-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  background: #e6eddf;
  color: #365233;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.fuel-tag-partial {
  background: #fff0ce;
  color: #72520f;
}
.fuel-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 32px 0 20px;
}
.fuel-section-heading h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}
.fuel-section-heading > span {
  font-size: 13px;
  color: #617061;
}
.fuel-page a {
  color: #356344;
}
.fuel-page .btn-primary {
  color: #fff;
  background: #365c3e;
  border-color: #365c3e;
}
.fuel-page .btn-primary:hover {
  background: #25462e;
}
.fuel-page .btn-danger {
  color: #fff;
}
.fuel-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 20px 0;
}
.fuel-filters label {
  display: block;
  font-size: 12px;
  color: #56665b;
}
.fuel-filters .form-control {
  min-width: 150px;
}
.fuel-page .form-control {
  border-color: #bfc9b8;
  border-radius: 5px;
  box-shadow: none;
}
.fuel-page .form-control:focus {
  border-color: #477d50;
  box-shadow: 0 0 0 3px rgba(71, 125, 80, 0.16);
}
.fuel-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fuel-stat {
  border: 1px solid #d8ded4;
  background: #fff;
  border-radius: 10px;
  padding: 24px 18px;
}
.fuel-stat p {
  font-size: 12px;
  font-weight: 600;
  color: #5b695f;
  margin-bottom: 16px;
}
.fuel-stat strong {
  display: block;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.fuel-stat strong small {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.fuel-stat > span {
  display: block;
  font-size: 11px;
  color: #687669;
  margin-top: 16px;
  line-height: 1.6;
}
.fuel-stat-dark {
  background: #243d2e;
  border-color: #243d2e;
  color: #f7f5de;
}
.fuel-stat-dark p,
.fuel-stat-dark > span {
  color: #d1ddc9;
}
.fuel-substats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 17px 2px;
  font-size: 12px;
  color: #5b695f;
}
.fuel-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fuel-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #d8ded4;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}
.fuel-panel h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 7px;
}
.fuel-muted {
  color: #647063;
  font-size: 12px;
  line-height: 1.6;
}
.fuel-page summary {
  cursor: pointer;
  color: #356344;
  font-weight: 600;
}
.fuel-page summary:focus-visible,
.fuel-page a:focus-visible {
  outline: 2px solid #356344;
  outline-offset: 4px;
}
.fuel-method {
  margin-top: 20px;
  background: #ebefe5;
  line-height: 1.8;
}
.fuel-method p {
  margin: 16px 0 0;
}
.fuel-tools {
  margin: 45px 0;
}
.fuel-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fuel-tools-grid .fuel-panel {
  margin: 0;
}
.fuel-tools label {
  font-size: 12px;
  margin-top: 17px;
}
.fuel-tool-output {
  border-top: 1px solid #d8ded4;
  padding-top: 18px;
  margin-top: 24px;
  color: #294b32;
  font-weight: 600;
  font-size: 20px;
  min-height: 82px;
  line-height: 1.6;
}
.fuel-log {
  font-variant-numeric: tabular-nums;
  margin-bottom: 0;
}
.fuel-log > thead > tr > th {
  color: #56665b;
  font-size: 12px;
  border-bottom: 1px solid #d8ded4;
  white-space: nowrap;
}
.fuel-log > tbody > tr > td {
  padding-top: 16px;
  padding-bottom: 16px;
  vertical-align: middle;
  white-space: nowrap;
}
.fuel-log-pagination {
  margin-top: 24px;
}
.fuel-log-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 6px;
}
.fuel-log-pagination .pagination > .active > span {
  background: #365c3e;
  border-color: #365c3e;
}
.fuel-log small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.fuel-gap {
  color: #80540c;
}
.fuel-log caption {
  font-size: 12px;
  color: #647063;
}
.fuel-row-actions a + a {
  margin-left: 12px;
}
.fuel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fuel-notice {
  border-left: 3px solid #a58034;
  background: #fff5df;
  padding: 18px;
  margin: 20px 0;
  line-height: 1.7;
}
.fuel-form-wrap {
  max-width: 700px;
  margin: 20px auto;
}
.fuel-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.fuel-entry-form .help-block {
  margin-bottom: 25px;
  font-size: 13px;
}
.fuel-receipt {
  background: #ebefe5;
  padding: 16px;
  margin: 25px 0;
  border-radius: 5px;
}
.fuel-receipt output {
  display: inline;
  font-weight: 700;
}
@media (max-width: 991px) {
  .fuel-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fuel-tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuel-tool-output {
    min-height: 0;
    margin-bottom: 15px;
  }
}
@media (max-width: 767px) {
  .fuel-hero {
    display: block;
    padding-top: 10px;
  }
  .fuel-hero-aside {
    text-align: left;
    margin-top: 25px;
  }
  .fuel-hero-aside p {
    margin-top: 10px;
  }
  .fuel-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .fuel-chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuel-stat {
    padding: 18px 13px;
  }
  .fuel-stat strong {
    font-size: 25px;
  }
  .fuel-panel {
    padding: 19px 15px;
  }
  .fuel-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuel-filters > div {
    flex: 1;
  }
  .fuel-filters .form-control {
    min-width: 0;
    width: 100%;
  }
}
.fuel-chart {
  --chart-accent: #5ee0b5;
  min-width: 0;
  padding: 22px 22px 0;
  background: #151e29;
  border: 1px solid #2b3949;
  border-radius: 12px;
  color: #eaf0f6;
  box-shadow: 0 5px 16px rgba(16, 33, 49, 0.08);
  font-variant-numeric: tabular-nums;
  align-self: start;
}
.fuel-chart-price {
  --chart-accent: #79b8ff;
}
.fuel-chart-spend {
  --chart-accent: #f8bc69;
}
.fuel-chart-litres {
  --chart-accent: #b5a2ff;
}
.fuel-chart [hidden] {
  display: none !important;
}
.fuel-chart-expanded {
  grid-column: 1 / -1;
}
.fuel-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.fuel-chart h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f5fa;
}
.fuel-chart-source {
  font-size: 11px;
  color: #a4b2c3;
  margin: 5px 0 0;
  line-height: 1.6;
}
.fuel-chart-expand {
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid #3d4f63;
  background: #1d2a38;
  border-radius: 5px;
  color: #c8d7e8;
  cursor: pointer;
}
.fuel-chart-expand:hover {
  background: #2c3e51;
}
.fuel-chart-expand:focus-visible {
  outline: 2px solid var(--chart-accent);
  outline-offset: 3px;
}
.fuel-chart-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 18px;
  flex-wrap: wrap;
}
.fuel-chart-metric > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.fuel-chart-metric strong {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.fuel-chart-metric span {
  font-size: 11px;
  color: #a4b2c3;
}
.fuel-chart-plot {
  position: relative;
  margin: 0 -8px;
}
.fuel-chart-plot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.fuel-chart-plot text {
  fill: #a4b2c3;
  font-size: 12px;
}
.fuel-chart-line {
  stroke: var(--chart-accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}
.fuel-chart-mark {
  fill: var(--chart-accent);
  opacity: 0;
}
.fuel-chart-mark-single {
  opacity: 1;
}
.fuel-chart-bar {
  stroke: var(--chart-accent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.fuel-chart-reference {
  stroke: #c3d0de;
  stroke-width: 1;
  stroke-dasharray: 4 5;
  opacity: 0.65;
  vector-effect: non-scaling-stroke;
}
.fuel-chart-interaction {
  position: absolute;
  inset: 0;
  cursor: crosshair;
  border-radius: 4px;
  touch-action: pan-y;
}
.fuel-chart-interaction:focus-visible {
  outline: 2px solid var(--chart-accent);
  outline-offset: 3px;
}
.fuel-chart-cursor {
  pointer-events: none;
}
.fuel-chart-cursor line {
  stroke: #d9e5f1;
  stroke-dasharray: 3 4;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.fuel-chart-cursor circle {
  fill: #151e29;
  stroke: var(--chart-accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.fuel-chart-tooltip {
  position: absolute;
  right: 18px;
  top: 8px;
  max-width: calc(100% - 36px);
  padding: 11px 14px;
  pointer-events: none;
  background: #0b131e;
  border: 1px solid #536980;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.fuel-chart-tooltip.fuel-tooltip-left {
  left: 18px;
  right: auto;
}
.fuel-chart-tooltip span {
  display: block;
  color: #b4c1d0;
  font-size: 11px;
}
.fuel-chart-tooltip strong {
  display: block;
  color: var(--chart-accent);
  font-size: 14px;
  font-weight: 600;
}
.fuel-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 0 16px;
  color: #b4c1d0;
  font-size: 10px;
}
.fuel-chart-legend > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.fuel-chart-scale {
  margin-left: auto;
}
.fuel-chart-stats {
  display: flex;
  gap: 24px;
  padding: 13px 0;
  margin: 0;
  border-top: 1px solid #2b3949;
}
.fuel-chart-stats > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fuel-chart-stats dt {
  font-size: 10px;
  color: #a4b2c3;
  font-weight: 400;
}
.fuel-chart-stats dd {
  font-size: 12px;
  margin: 0;
  font-weight: 600;
}
.fuel-chart-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  color: #a4b2c3;
  font-size: 10px;
  line-height: 1.6;
  padding-bottom: 14px;
}
.fuel-chart details {
  margin: 0 -22px;
  border-top: 1px solid #2b3949;
}
.fuel-chart summary {
  color: #b9cadc;
  font-size: 11px;
  padding: 12px 22px;
  font-weight: 400;
}
.fuel-chart summary > span {
  float: right;
}
.fuel-chart summary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.fuel-chart summary:focus-visible {
  outline-color: var(--chart-accent);
  outline-offset: -3px;
}
.fuel-chart-table {
  max-height: 290px;
  overflow: auto;
  border: 0;
  padding: 0 22px;
  margin-bottom: 16px;
  font-size: 12px;
}
.fuel-chart-table caption {
  color: #b4c1d0;
  font-size: 11px;
}
.fuel-chart-table .table > thead > tr > th,
.fuel-chart-table .table > tbody > tr > td {
  border-color: #2b3949;
}
.fuel-chart-table td:last-child,
.fuel-chart-table th:last-child {
  text-align: right;
}
.fuel-chart-table thead {
  background: #151e29;
  position: sticky;
  top: 0;
}
.fuel-chart-empty {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #a4b2c3;
  padding: 28px;
  font-size: 12px;
  line-height: 1.8;
}
.fuel-chart-empty-icon {
  font-size: 70px;
  line-height: 1;
  color: var(--chart-accent);
  opacity: 0.6;
  margin-bottom: 15px;
}
.fuel-chart .fuel-gridline {
  stroke: #2c3948;
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.fuel-chart .fuel-gradient-top {
  stop-color: var(--chart-accent);
  stop-opacity: 0.28;
}
.fuel-chart .fuel-gradient-bottom {
  stop-color: var(--chart-accent);
  stop-opacity: 0.015;
}
.fuel-chart-spend .fuel-gradient-top,
.fuel-chart-litres .fuel-gradient-top {
  stop-opacity: 0.85;
}
.fuel-chart-spend .fuel-gradient-bottom,
.fuel-chart-litres .fuel-gradient-bottom {
  stop-opacity: 0.22;
}
.fuel-chart .fuel-series-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chart-accent);
  display: inline-block;
  flex-shrink: 0;
}
.fuel-chart .fuel-reference-key {
  display: inline-block;
  width: 15px;
  border-top: 1px dashed #c3d0de;
}
@media (max-width: 1199px) {
  .fuel-chart-plot text {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .fuel-chart-plot text {
    font-size: 18px;
  }
  .fuel-chart-expand {
    display: none;
  }
  .fuel-chart-stats {
    flex-wrap: wrap;
    gap: 8px 24px;
  }
}
@media print {
  .fuel-chart {
    break-inside: avoid;
    box-shadow: none;
    print-color-adjust: exact;
  }
  .fuel-chart-expand,
  .fuel-chart-interaction,
  .fuel-chart-tooltip,
  .fuel-chart-cursor,
  [data-chart-help] {
    display: none !important;
  }
}

