.truck-root { color: var(--text, #142624); --truck-line: var(--line, #dce2dc); min-width: 0; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.truck-root *, .truck-root *::before, .truck-root *::after { box-sizing: border-box; }
.truck-root [hidden] { display: none !important; }
.truck-root h2, .truck-root h3, .truck-root p { margin: 0; letter-spacing: 0; }
.truck-root h2 { font-size: 18px; line-height: 1.35; }
.truck-root h3 { font-size: 14px; line-height: 1.4; }
.truck-heading { margin-bottom: 16px; }
.truck-root .truck-note { margin: 4px 0; font-size: 12px; color: #53645f; overflow-wrap: anywhere; }
.truck-status { padding: 20px 0; color: #53645f; }
.truck-error, .truck-warning { background: #fff8ec; border-left: 3px solid #b7862c; padding: 12px 14px; margin: 12px 0; font-size: 13px; }
.truck-error { border-color: #b6403d; background: #fff4f2; }
.truck-error button { margin-top: 10px; }
.truck-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.truck-field { display: grid; gap: 6px; font-size: 12px; font-weight: 650; min-width: 0; max-width: 100%; }
.truck-field select, .truck-price-input { font: inherit; font-size: 14px; font-weight: 500; color: var(--text, #142624); border: 1px solid var(--truck-line); border-radius: 6px; background: #fff; min-height: 38px; padding: 8px 10px; min-width: 0; max-width: 100%; }
.truck-toolbar select { width: 340px; }
.truck-history .truck-toolbar select { width: 560px; }
.truck-button { font: inherit; font-size: 13px; min-height: 38px; border: 1px solid var(--truck-line); border-radius: 6px; padding: 8px 12px; background: #fff; color: var(--text, #142624); box-shadow: none; cursor: pointer; white-space: normal; }
.truck-root button:not(:disabled):hover { transform: none; box-shadow: none; }
.truck-button:not(:disabled):hover { background: #edf4ef; }
.truck-root button:disabled, .truck-root input:disabled { opacity: .65; cursor: default; }
.truck-root :is(button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent, #1a7568); outline-offset: 3px; }
.truck-text-button { border: 0; padding: 4px 0; min-height: 30px; color: #1a7568; font: inherit; font-size: 12px; font-weight: 650; background: transparent; cursor: pointer; box-shadow: none; }
.truck-table-wrap { overflow: auto; min-width: 0; max-width: 100%; border: 1px solid var(--truck-line); border-radius: 6px; background: #fff; overscroll-behavior: contain; }
.truck-income-scroll { max-height: 65vh; }
.truck-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12px; }
.truck-table th, .truck-table td { border-bottom: 1px solid var(--truck-line); padding: 10px 12px; text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
.truck-table thead th { position: sticky; top: 0; background: #eef3ef; font-weight: 650; color: #33413f; z-index: 2; }
.truck-table tbody th { font-weight: 600; }
.truck-table tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fff; border-right: 1px solid var(--truck-line); min-width: 160px; max-width: 340px; }
.truck-table thead tr > :first-child { background: #eef3ef; z-index: 3; }
.truck-table tbody tr:nth-child(even) > * { background: #f4f7f4; }
.truck-table tr:last-child > * { border-bottom: 0; }
.truck-table tbody tr:hover > * { background: #eaf2ed; }
.truck-table .truck-numeric { text-align: right; }
.truck-income-table tbody th { min-width: 250px; white-space: normal; }
.truck-table .truck-period-total { border-left: 1px solid var(--truck-line); font-weight: 700; background: #eef3ef; }
.truck-income-subtotal > *, .truck-income-total > * { font-weight: 750; border-top: 1px solid #bdcec3; }
.truck-income-total > * { background: #e6efea !important; }
.truck-table .truck-account > th { padding-left: 36px; font-weight: 400; color: #53645f; }
.truck-table .truck-negative { color: #a53835; }
.truck-row-toggle { display: inline-flex; gap: 8px; align-items: baseline; text-align: left; font: inherit; font-weight: 650; color: inherit; padding: 0; min-height: 24px; background: transparent; border: 0; border-radius: 2px; box-shadow: none; cursor: pointer; }
.truck-disclosure-symbol { width: 14px; flex: 0 0 14px; color: #1a7568; font-weight: 700; }
.truck-section { padding: 22px 0; border-top: 1px solid var(--truck-line); margin-top: 22px; }
.truck-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 4px; font-size: 11px; color: #53645f; }
.truck-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.truck-legend i { display: inline-block; width: 15px; height: 3px; }
.truck-chart { width: 100%; max-width: 806px; position: relative; min-width: 0; }
.truck-chart svg { display: block; width: 100%; height: auto; }
.truck-axis { fill: #53645f; font-family: inherit; font-size: 11px; }
.truck-grid { stroke: var(--truck-line); stroke-width: 1; }
.truck-zero { stroke: #9b8d70; stroke-width: 1; stroke-dasharray: 4 4; }
.truck-line { pointer-events: none; }
.truck-chart-target { outline: none; cursor: crosshair; }
.truck-chart-target:focus .truck-point, .truck-chart-target:hover .truck-point { stroke: #142624; stroke-width: 2; }
.truck-chart-tooltip { position: absolute; z-index: 30; width: max-content; max-width: calc(100% - 12px); padding: 8px 10px; border-radius: 5px; background: #123b37; color: #fff; pointer-events: none; font-size: 12px; box-shadow: 0 4px 14px #14262426; }
.truck-chart-tooltip strong, .truck-chart-tooltip span { display: block; }
.truck-fuel { border-top: 1px solid var(--truck-line); border-bottom: 1px solid var(--truck-line); padding: 20px 0; }
.truck-fuel-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 24px; }
.truck-fuel-context { border-left: 1px solid var(--truck-line); padding-left: 20px; }
.truck-fuel-context dl { margin: 10px 0 14px; }
.truck-fuel-context dt { font-size: 12px; color: #53645f; margin-top: 8px; }
.truck-fuel-context dd { font-size: 18px; font-weight: 700; margin: 2px 0; font-variant-numeric: tabular-nums; }
.truck-price-missing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 10px; }
.truck-root summary { padding: 8px 0; color: #1a7568; font-size: 12px; font-weight: 650; cursor: pointer; }
.truck-fuel-values { margin-top: 12px; }
.truck-price-entry { margin: 0 0 24px; padding: 20px 0; border-top: 1px solid var(--truck-line); border-bottom: 1px solid var(--truck-line); }
.truck-price-layout { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.truck-price-input { width: 180px; font-variant-numeric: tabular-nums; }
.truck-price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.truck-price-actions .truck-button { background: #123b37; border-color: #123b37; color: #fff; font-weight: 650; }
.truck-price-feedback { min-height: 24px; margin-top: 8px !important; font-size: 12px; color: #344a40; }
.truck-price-input[aria-invalid="true"] { border-color: #b6403d; }
.truck-clear-confirm { padding: 12px 0; border-top: 1px solid var(--truck-line); margin-top: 10px; font-size: 12px; }
.truck-clear-confirm button { margin: 8px 8px 0 0; }
.truck-read-price { font-size: 20px; }
.truck-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nav .nav-equipment-history { font-size: 12px; line-height: 1.4; padding-left: 28px; }
.mileage-section-title { font-size: 16px; margin: 0 0 12px; }
@media (max-width: 1000px) {
  .truck-fuel-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .truck-fuel-context { border-left: 0; border-top: 1px solid var(--truck-line); padding: 14px 0 0; }
  .truck-fuel-context dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  .truck-fuel-context dt { grid-row: 1; }
}
@media (max-width: 640px) {
  .truck-price-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .truck-income-table tbody th { min-width: 190px; }
  .truck-table th, .truck-table td { padding: 9px; }
  .truck-toolbar .truck-field { width: 100%; }
  .truck-toolbar select, .truck-history .truck-toolbar select { width: 100%; }
}
