/* 0.2.5: Garage uses the shared palette; paper reports remain neutral. */
.garage-scroll-hint{display:none;font-size:11px;color:var(--muted);margin:0 0 12px}
.garage-filters{margin-bottom:22px}
.garage-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:16px;margin-bottom:16px}
.garage-filter-grid label{min-width:0}
.garage-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:12px}
.garage-summary-note{margin-bottom:24px}
.garage-record-table{position:relative;min-width:690px}
.garage-record-table td{vertical-align:top}
.fuel-stats-table{min-width:680px}
.fuel-stats-table td:first-child{white-space:nowrap}
.fuel-calculation-note{max-width:260px}
.fuel-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}
.fuel-metric-card{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--panel-alt);min-width:0}
.fuel-metric-card h3{margin:6px 0 20px}
.fuel-rate{font-size:34px;font-weight:700;letter-spacing:-.03em;margin:0 0 22px}
.fuel-rate small{font-size:14px;font-weight:400;letter-spacing:0}
.fuel-metric-card dl{margin:0}
.fuel-metric-card dl>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-top:1px solid var(--line)}
.fuel-metric-card dt{color:var(--muted);font-size:12px}
.fuel-metric-card dd{margin:0;font-variant-numeric:tabular-nums}
.fuel-method{margin-top:26px;color:var(--muted);font-size:12px;line-height:1.7}
.fuel-method summary{cursor:pointer;font-weight:650;color:var(--text)}
.garage-filters [hidden]{display:none!important}
.service-report-wrap{max-width:1160px;margin:0 auto}
.service-report-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.service-report-options{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-left:auto}
.service-report-options label{font-size:12px}
.service-report-options input[type=date]{width:150px}
.service-report-options .checkbox-field{align-self:center;max-width:170px}
.service-sheet{background:#fff;color:#262a2f;border:1px solid #dededb;border-radius:18px;padding:38px 40px;box-shadow:0 12px 40px #00000008}
.service-sheet .muted,.service-sheet .eyebrow{color:#62676b}
.service-sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.service-sheet-heading h1{font-size:27px;letter-spacing:-.025em;margin:8px 0 10px}
.service-sheet-heading h2{font-size:22px;margin:0 0 6px}
.service-sheet-heading p{margin:0}
.service-plate{min-width:150px;text-align:center;border:1px solid #d9d9d5;background:#f4f4f0;border-radius:10px;padding:13px 18px}
.service-plate span{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.09em;color:#62676b;margin-bottom:6px}
.service-plate strong{font-size:19px;letter-spacing:.04em;overflow-wrap:anywhere}
.service-technical{color:#62676b;font-size:13px;margin-top:18px}
.service-report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:26px 0 18px}
.service-report-summary>div{background:#f5f5f2;border:1px solid #e9e9e5;border-radius:10px;padding:16px}
.service-report-summary span{font-size:11px;color:#62676b;display:block}
.service-report-summary strong{font-size:18px;display:block;margin-top:7px;overflow-wrap:anywhere}
.service-report-period{font-size:12px;color:#62676b;margin:0 0 16px}
.service-report-table{table-layout:fixed;width:100%;font-size:12px}
.service-report-table th{background:#efefeb;color:#474b4f}
.service-report-table th,.service-report-table td{border-bottom:1px solid #e2e2de;padding:13px 9px;vertical-align:top;overflow-wrap:anywhere}
.service-report-table td.numeric{white-space:normal}
.service-report-table .service-col-date{width:96px}
.service-report-table .service-col-kind{width:120px}
.service-report-table .service-col-cost{width:105px}
.service-report-table .service-col-km{width:92px}
.service-record-note{white-space:normal;color:#62676b;font-size:11px;line-height:1.6;margin:6px 0 0}
.service-sheet-footer{border-top:1px solid #d9d9d4;margin-top:24px;padding-top:14px;font-size:10px;color:#62676b;line-height:1.6}
.service-sheet-footer p{margin:3px 0}
.service-sheet-footer span{display:block;margin-top:12px;font-weight:600}
.service-report-incomplete{font-size:12px;font-weight:600}
@media(max-width:760px){
 .garage-scroll-hint{display:block}
 .garage-filter-grid{grid-template-columns:1fr 1fr;gap:12px}
 .garage-filter-grid label:first-child{grid-column:1/-1}
 .garage-filter-grid input,.garage-filter-grid select{width:100%;min-width:0}
 .garage-summary{grid-template-columns:1fr 1fr}
 .garage-summary .analysis-kpi{display:block;min-width:0}
 .garage-summary .analysis-kpi strong{font-size:21px;margin-top:8px;text-align:left;overflow-wrap:anywhere}
 .fuel-rate{font-size:30px}
 .service-sheet{padding:22px 16px;border-radius:12px}
 .service-sheet-heading{flex-direction:column;gap:18px}
 .service-sheet-heading h1{font-size:24px}
 .service-plate{align-self:flex-start;min-width:140px}
 .service-report-summary{grid-template-columns:1fr 1fr;gap:9px}
 .service-report-summary.has-mileage{grid-template-columns:repeat(4,minmax(0,1fr))}
 .service-report-summary>div{padding:12px}
 .service-report-summary strong{font-size:16px}
 .service-report-table{min-width:620px}
 .service-report-options{margin-left:0}
 .service-report-actions{gap:18px}
}
@media print{
 @page{size:A4;margin:13mm}
 .service-report-wrap{max-width:none;margin:0}
 .service-report-actions{display:none!important}
 .service-sheet{padding:0;border:0;border-radius:0;box-shadow:none}
 .service-sheet-heading{display:flex;flex-direction:row;break-inside:avoid}
 .service-sheet-heading h1{font-size:23px}
 .service-sheet-heading h2{font-size:18px}
 .service-plate{min-width:130px;padding:10px}
 .service-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;break-inside:avoid;margin:20px 0 14px}
 .service-report-summary.has-mileage{grid-template-columns:repeat(4,minmax(0,1fr))}
 .service-report-summary>div{padding:12px}
 .service-report-summary strong{font-size:16px}
 .service-report-table{min-width:0;font-size:10px}
 .service-report-table th,.service-report-table td{padding:9px 6px}
 .service-report-table .service-col-date{width:75px}
 .service-report-table .service-col-kind{width:88px}
 .service-report-table .service-col-cost{width:83px}
 .service-report-table .service-col-km{width:75px}
 .service-report-table thead{display:table-header-group}
 .service-report-table tr{break-inside:avoid}
 .service-record-note{font-size:9px}
 .service-sheet-footer{font-size:9px;break-inside:avoid}
 .service-sheet th,.service-report-summary>div,.service-plate{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .fuel-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fuel-metric-card{break-inside:avoid}
 .garage-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
 .fuel-chart{min-width:0}
}
