/* FuelDash V480 — Tankbuch entries stay full-height and scroll inside the tile. */

html[data-fd-theme] body .fd-feature-page[data-fd-feature-view="tankbook"] .fd-tank-history {
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

html[data-fd-theme] body .fd-feature-page[data-fd-feature-view="tankbook"] .fd-tank-list {
  display: grid !important;
  grid-auto-rows: max-content !important;
  align-content: start !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: clamp(260px, 52dvh, 520px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-gutter: stable !important;
}

html[data-fd-theme] body .fd-feature-page[data-fd-feature-view="tankbook"] .fd-tank-entry {
  display: block !important;
  height: auto !important;
  min-height: max-content !important;
  max-height: none !important;
  overflow: visible !important;
  align-self: start !important;
}
