.fuel-head h1 { max-width: 19ch; }
.fuel-head .lede { max-width: 69ch; }
.fuel-head > .chip { align-self: start; }
.fuel-workbench { --gap: 24px; }
.fuel-system { padding: clamp(20px, 3vw, 40px); }
.fuel-figure-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; flex-wrap: wrap; }
.fuel-system .chip { color: var(--on-dark-2); border: 1px solid #627a9c; background: transparent; }
.fuel-system figcaption { color: var(--on-dark-2); max-width: 85ch; margin-top: 12px; }
.fuel-scroll { overflow-x: auto; max-width: 100%; margin-top: 16px; }
.fuel-diagram { width: 100%; min-width: 740px; max-width: none; }
.fuel-diagram text { fill: #d6e3fb; font: 400 13px var(--sans); }
.fuel-diagram .diagram-title { fill: #fff; font-weight: 500; font-size: 16px; }
.fuel-diagram .diagram-number { fill: #fff; font-family: var(--mono); font-size: 26px; }
.fuel-diagram .diagram-value { font-family: var(--mono); font-size: 15px; }
.fuel-diagram .diagram-label { font-size: 11px; letter-spacing: .035em; }
.fuel-boundary { fill: #ffffff06; stroke: #859fc4; stroke-dasharray: 6 5; }
.fuel-equipment { fill: #1c3659; stroke: #9dbbf1; stroke-width: 1.6; }
.fuel-pipe { fill: none; stroke: #9dbbf1; stroke-width: 2.5; }
.fuel-liquid { fill: #3d6fd4; opacity: .5; }
.fuel-level { stroke: #cfdcf5; stroke-width: 2; }
.fuel-onward { opacity: .6; }
.fuel-record-line { fill: none; stroke: #859fc4; stroke-width: 1.3; stroke-dasharray: 5 5; }
.fuel-review { fill: #234b90; stroke: #9dbbf1; }
.fuel-controls { display: grid; gap: 20px; align-items: start; }
.fuel-controls > * { min-width: 0; }
.fuel-fields { display: grid; gap: 18px; }
.fuel-fields label { font-size: 14px; font-weight: 500; display: block; }
.fuel-input { display: flex; align-items: center; margin-top: 8px; border: 1px solid var(--field-line); background: #fff; border-radius: var(--r-ctl); padding-right: 18px; gap: 8px; }
.fuel-input input { min-width: 0; width: 100%; font: 400 25px var(--mono); border: 0; border-radius: var(--r-ctl); padding: 13px; color: var(--ink); background: transparent; }
.fuel-input input[aria-invalid="true"] { outline: 2px solid var(--red); }
.fuel-error { display: block; font-weight: 400; color: var(--red); }
.fuel-error:empty { display: none; }
.fuel-evidence { margin: 0; border: 1px solid var(--line); padding-top: 18px; }
.fuel-evidence legend { font-size: 24px; font-weight: 500; padding: 0 8px; max-width: 100%; line-height: 1.3; }
.fuel-evidence > label { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); cursor: pointer; font-size: 15px; }
.fuel-evidence > label:last-child { border: 0; }
.fuel-evidence input { width: 21px; height: 21px; flex: 0 0 21px; margin: 3px 0 0; accent-color: var(--navy); }
.fuel-evidence small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.fuel-result-head { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; align-items: start; }
.fuel-result-head p { margin-top: 8px; }
#fuel-status { max-width: 100%; white-space: normal; line-height: 1.35; }
#fuel-status::before { flex-shrink: 0; }
.fuel-metrics { display: grid; gap: 20px; padding-block: 15px; }
.fuel-metrics span { display: block; font-size: 14px; color: var(--ink-2); }
.fuel-metrics strong { display: block; font: 300 clamp(36px, 4.5vw, 57px)/1.2 var(--mono); margin-top: 8px; overflow-wrap: anywhere; }
.fuel-metrics strong small { font: 400 18px var(--sans); }
.fuel-equation { padding: 16px 20px; border: 1px solid #9db4d6; background: #ffffff70; border-radius: var(--r-ctl); overflow-wrap: anywhere; }
.fuel-bars { height: 18px; border-radius: 999px; display: flex; background: #ffffff90; overflow: hidden; border: 1px solid #9db4d6; }
.fuel-bars span { display: block; flex: 0 0 0; }
.fuel-bars .fuel-bar-rise { background: var(--navy); }
.fuel-bars .fuel-bar-consumed { background: #3d6fd4; }
.fuel-bars .fuel-bar-transferred { background: #8591a3; }
.fuel-limit { border-top: 1px solid #9db4d6; padding-top: 18px; color: var(--ink-2); }
.fuel-next { background: #ffffffa8; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-card); }
.fuel-next ul { padding-left: 22px; list-style: disc; margin-block: 12px; }
.fuel-next li + li { margin-top: 7px; }
.fuel-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--r-card); }
.fuel-table { border-collapse: collapse; width: 100%; font-size: 15px; text-align: left; }
.fuel-table caption { text-align: left; padding: 20px; font-weight: 500; background: var(--bg-2); }
.fuel-table td, .fuel-table th { padding: 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.fuel-table thead { background: #eef3fc; }
.fuel-table tbody th { font-weight: 500; }
.fuel-table tr:last-child > * { border-bottom: 0; }
.fuel-paths { margin-block: 24px; }
.fuel-paths .chip { align-self: start; }
.fuel-controls .btn, .fuel-head .btn, .fuel-paths .btn { white-space: normal; }
@media(min-width: 760px) {
  .fuel-controls { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .fuel-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuel-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width: 759px) {
  .fuel-table { font-size: 13px; }
  .fuel-table td, .fuel-table th { padding: 12px 9px; overflow-wrap: anywhere; }
  .fuel-table th { min-width: 85px; }
  .fuel-metrics { gap: 14px; }
  .fuel-metrics > div { border-bottom: 1px solid #9db4d6; padding-bottom: 14px; }
  .fuel-head .btn-row .btn { width: 100%; }
  .fuel-evidence legend { font-size: 22px; }
}
@media(prefers-reduced-motion: reduce) { .fuel-workbench *, .fuel-head * { animation: none !important; transition: none !important; scroll-behavior: auto; } }
