.tool-hero--fuel {
  background: radial-gradient(ellipse at 81% 42%, #65542a, transparent 65%), #211f15;
  border-color: #786a3c;
}
.fuel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: start;
  gap: 16px;
  margin-top: 18px;
}
.fuel-grid [hidden] { display: none !important; }
.fuel-panel {
  min-width: 0;
  padding: clamp(16px, 2.6vw, 26px);
  border: 1px solid #6d6037;
  border-radius: 14px;
  background: #252117;
}
[data-fuel-form], .fuel-inputs, .fuel-choice, .fuel-rates { display: grid; gap: 9px; }
[data-fuel-form] { gap: 14px; }
.fuel-panel input[type=number], .fuel-panel select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid #827244;
  border-radius: 8px;
  background: #19180f;
  color: #fff6dc;
  font: inherit;
}
.fuel-panel input:invalid { border-color: #e79d87; }
.fuel-field { display: flex; align-items: center; gap: 10px; }
.fuel-field > a { display: grid; place-items: center; flex: 0 0 47px; }
.fuel-field > a img, .fuel-highlight img { object-fit: contain; }
.fuel-field > div { flex: 1; min-width: 0; }
.fuel-field label { display: block; margin-bottom: 5px; }
.fuel-inputs p, .fuel-panel details p { color: #ddcfab; margin: 3px 0; }
.fuel-rates label { display: grid; gap: 4px; }
.fuel-result h2 { margin: 0 0 10px; }
.fuel-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid #88784a;
  border-radius: 9px;
  background: linear-gradient(110deg,#554627,#322917);
}
.fuel-highlight strong { display: block; color: #ffe096; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.13; }
[data-fuel]:not([data-mode=charcoal]) .fuel-highlight > img:nth-child(2),
[data-fuel][data-mode=charcoal] .fuel-highlight > img:first-child { display: none; }
.fuel-result dl { margin: 10px 0; }
.fuel-result dl div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #54482a; }
.fuel-result dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.fuel-result [data-fuel-invalid] { color: #ffd1ad; }
.fuel-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.fuel-links a, .fuel-reset, .fuel-action {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #817145;
  border-radius: 7px;
  background: #312819;
  color: #ffebc0;
  text-decoration: none;
  font: inherit;
}
.fuel-action { background: #5a4a28; }
.fuel-links a:hover, .fuel-reset:hover, .fuel-action:hover { background: #66512a; }
.fuel-reset, .fuel-grid .screen-trigger { justify-self: start; min-height: 42px; cursor: pointer; }
.fuel-panel summary { min-height: 36px; padding-block: 6px; cursor: pointer; font-weight: 700; }
.fuel-reference { margin-top: 15px; }
@media (min-width: 761px) and (min-height: 820px) {
  .fuel-result { position: sticky; top: 18px; }
}
@media (max-width: 760px) {
  .fuel-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .tool-hero--fuel .tool-hero-items { animation: fuel-art-arrive .65s ease-out both; }
}
@keyframes fuel-art-arrive {
  from { translate: 16px 5px; opacity: .58; }
  to { translate: 0 0; opacity: 1; }
}
