.fleet-layout { min-height:100vh; background:#f5f7f6; color:#263834; }
.fleet-content { max-width:1240px; margin:0 auto; padding:24px 28px 48px; }
.fleet-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:20px 0; }
.fleet-heading h1 { font-size:28px; margin:0 0 8px; letter-spacing:0; }
.fleet-heading p,.fleet-scope { color:#64746d; font-size:14px; }
.fleet-month { display:grid; gap:6px; font-size:12px; color:#64746d; }
.fleet-month input { min-width:150px; }
.fleet-tabs { display:flex; gap:4px; border-bottom:1px solid #dbe4df; margin-bottom:24px; overflow:auto; }
.fleet-tab { border:0; background:transparent; padding:14px 16px; white-space:nowrap; color:#65766e; display:flex; align-items:center; gap:8px; border-bottom:3px solid transparent; }
.fleet-tab.active { color:#16644d; border-color:#16644d; font-weight:600; }
.fleet-notice { display:flex; gap:10px; align-items:center; padding:12px 16px; background:#eef4e9; border-left:3px solid #7c9f5c; margin:16px 0; font-size:13px; overflow-wrap:anywhere; }
.fleet-notice .icon { flex-shrink:0; }
.fleet-notice .text-link { margin-left:auto; flex-shrink:0; }
.fleet-page-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:24px 0 16px; }
.fleet-page-heading h2 { font-size:19px; margin:0; }
.fleet-page-heading label { font-size:12px; display:grid; gap:4px; }
.fleet-actions,.fleet-card-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.fleet-vehicle-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.fleet-vehicle { background:#fff; border:1px solid #dce5e0; border-radius:8px; overflow:hidden; min-width:0; }
.fleet-vehicle-top { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:14px 12px; }
.fleet-vehicle-top>span:first-child { display:flex; align-items:center; gap:6px; font-weight:600; overflow-wrap:anywhere; min-width:0; }
.fleet-status { display:inline-block; font-size:12px; white-space:nowrap; padding:3px 6px; border-radius:4px; background:#edf0ee; color:#66716a; }
.fleet-status.pending { background:#fff0cf; color:#88600d; }
.fleet-status.reviewed { background:#e2f3e9; color:#16644d; }
.fleet-status.returned { background:#fce7e5; color:#a23c37; }
.fleet-photo,.fleet-photo-empty { display:flex; aspect-ratio:4/3; background:#f0f4f2; align-items:center; justify-content:center; }
.fleet-photo img { width:100%; height:100%; object-fit:contain; }
.fleet-photo-empty { flex-direction:column; gap:10px; color:#8b9c92; font-size:13px; }
.fleet-photo-empty .icon { width:32px; height:32px; }
.fleet-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:14px; }
.fleet-facts span { display:grid; gap:6px; color:#708077; font-size:12px; }
.fleet-facts b { font-size:17px; color:#243c31; overflow-wrap:anywhere; }
.fleet-card-actions { padding:0 12px 14px; }
.fleet-card-actions .btn { flex:1; font-size:12px; padding:9px 8px; min-height:38px; white-space:normal; }
.fleet-result { margin:0 14px 12px; font-size:12px; overflow-wrap:anywhere; }
.fleet-result.good { color:#176c4e; }.fleet-result.bad { color:#a6443f; }
.fleet-table-wrap { width:100%; overflow:auto; background:#fff; border-top:1px solid #dce5e0; border-bottom:1px solid #dce5e0; }
.fleet-table { width:100%; border-collapse:collapse; min-width:560px; font-size:14px; }
.fleet-table th { background:#eef3f0; text-align:left; font-size:12px; color:#69796f; font-weight:500; }
.fleet-table td,.fleet-table th { padding:14px; border-bottom:1px solid #e7ece9; vertical-align:middle; }
.fleet-table td { max-width:360px; overflow-wrap:anywhere; }
.fleet-table .btn { font-size:12px; min-height:34px; padding:6px 10px; }
.fleet-empty { padding:42px 16px; text-align:center; color:#7c8d82; border-top:1px solid #dce5e0; border-bottom:1px solid #dce5e0; }
.fleet-footer { text-align:center; padding:20px; color:#849187; font-size:12px; }
.fleet-form { display:grid; gap:18px; }
.fleet-form label { min-width:0; }
.fleet-form input,.fleet-form select,.fleet-form textarea { min-width:0; max-width:100%; }
.fleet-upload { padding:16px; background:#f2f5f3; display:grid; justify-items:center; gap:12px; }
#fleet-photo-preview { width:100%; height:190px; display:flex; justify-content:center; align-items:center; }
#fleet-photo-preview img { max-width:100%; height:100%; object-fit:contain; }
#fleet-photo-state { color:#718076; font-size:12px; }
.fleet-detail-photo { display:block; max-width:100%; max-height:480px; margin:auto; object-fit:contain; }
.fleet-detail p { color:#68796f; font-size:13px; overflow-wrap:anywhere; }
.fleet-detail .fleet-actions { margin:20px 0; }
.fleet-history { border-top:1px solid #e3eae5; padding:12px 0; font-size:13px; }
.fleet-score-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; }
.fleet-score-heading span { color:#728176; font-size:13px; }
.fleet-score-heading h3 { font-size:20px; margin:6px 0; }
.fleet-total { font-size:40px; font-weight:600; color:#16644d; white-space:nowrap; }
.fleet-total small { display:block; text-align:right; font-size:12px; color:#728176; font-weight:400; }
.fleet-score-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #dce5e0; border-bottom:1px solid #dce5e0; }
.fleet-score-item { padding:22px 16px; border-right:1px solid #dce5e0; display:grid; gap:10px; }
.fleet-score-item:last-child { border-right:0; }
.fleet-score-item>span { font-size:13px; color:#65776a; }
.fleet-score-item strong { font-size:26px; color:#2d5842; }
.fleet-score-item small { font-size:12px; font-weight:400; color:#738178; margin-left:8px; }
.fleet-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:24px 0; }
.fleet-metrics dt { font-size:12px; color:#718176; margin-bottom:6px; }.fleet-metrics dd { margin:0; font-size:16px; }
.fleet-score-basis { margin-top:24px; font-size:13px; color:#6c7c72; }.fleet-score-basis p { line-height:1.8; }
.fleet-rule-section { border-bottom:1px solid #dce5e0; padding-bottom:24px; }
.fleet-rule-section h3 { margin:0 0 16px; font-size:16px; }
.fleet-rule-section .permission-option { margin-top:16px; }
.fleet-weight-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.fleet-vehicle-field { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr) 90px; gap:16px; align-items:end; padding:12px 0; border-bottom:1px solid #e6ece8; }
.fleet-rules { max-width:850px; }
.fleet-layout .btn.primary,.fleet-form .btn.primary { background:#16644d; border-color:#16644d; }
.fleet-layout .btn.primary:hover,.fleet-form .btn.primary:hover { background:#10533e; }
.fleet-layout .btn:disabled { opacity:.45; cursor:not-allowed; }
.fleet-version { display:inline-block; vertical-align:middle; margin-left:8px; padding:2px 6px; border:1px solid #91aa9b; border-radius:4px; color:#16644d; font-size:12px; font-weight:600; }
.fleet-overview-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-block:1px solid #dce5e0; background:#fff; }
.fleet-overview-grid>div { min-width:0; display:grid; gap:8px; padding:20px; border-right:1px solid #dce5e0; }
.fleet-overview-grid>div:last-child { border-right:0; }
.fleet-overview-grid span { color:#697970; font-size:12px; }.fleet-overview-grid strong { font-size:22px; font-weight:600; overflow-wrap:anywhere; }
.fleet-table td small { display:block; margin-top:4px; color:#819087; }
.fleet-missing { color:#a35242; font-weight:600; }
.fleet-unified-form { display:grid; gap:26px; }
.fleet-section { border-top:1px solid #dce5e0; padding-top:20px; }
.fleet-section-heading { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.fleet-section-heading>span { color:#16644d; font-size:12px; font-weight:700; }
.fleet-section-heading h2 { font-size:18px; margin:0; }.fleet-section-heading small { margin-left:auto; color:#718176; }
.fleet-section-heading .btn { margin-left:auto; }
.fleet-entry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.fleet-entry { background:#fff; border:1px solid #dce5e0; border-radius:8px; min-width:0; }
.fleet-entry-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 16px; border-bottom:1px solid #e6ece8; }
.fleet-entry-heading h3 { margin:0; display:flex; align-items:center; gap:8px; font-size:16px; }
.fleet-entry-body { display:grid; grid-template-columns:minmax(160px,44%) minmax(0,1fr); gap:14px; padding:14px; }
.fleet-entry-body .fleet-upload { min-width:0; padding:10px; }.fleet-entry-body .fleet-upload .btn { font-size:12px; min-height:44px; padding:9px 11px; }
.fleet-entry-fields { display:grid; align-content:start; gap:10px; }
.fleet-entry-fields label { display:grid; gap:5px; font-size:12px; color:#64746d; }
.fleet-entry-fields input,.fleet-entry-fields textarea { width:100%; min-width:0; }
.fleet-record-action { display:flex; justify-content:flex-end; padding:0 14px 14px; }
.fleet-record-action .btn { min-width:124px; min-height:44px; }
.fleet-photo-preview { width:100%; height:135px; display:flex; align-items:center; justify-content:center; }
.fleet-photo-preview img { max-width:100%; max-height:100%; object-fit:contain; }.fleet-photo-preview .icon { width:34px; height:34px; color:#84978a; }
.fleet-photo-state { color:#718076; font-size:12px; text-align:center; }
.fleet-status.submitted { background:#e2f3e9; color:#16644d; }
.fleet-check-head,.fleet-check-entry { display:grid; grid-template-columns:minmax(100px,1fr) minmax(85px,120px) minmax(85px,120px) minmax(140px,2fr) auto; gap:12px; align-items:center; padding:10px 12px; border-bottom:1px solid #e1e9e4; }
.fleet-check-head { color:#718176; font-size:12px; background:#ecf2ee; }.fleet-check-entry { background:#fff; }
.fleet-check-entry input { width:100%; min-width:0; }.fleet-check-entry strong { font-size:13px; overflow-wrap:anywhere; }
.fleet-check-entry .btn { white-space:nowrap; min-height:44px; }
.fleet-repair-entry { background:#fff; border:1px solid #dce5e0; border-radius:8px; padding:14px; margin:0 0 12px; }
.fleet-repair-entry .btn,.fleet-repair-entry .icon-btn { min-height:44px; }
.fleet-repair-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }.fleet-repair-head strong { font-size:13px; }
.fleet-repair-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.fleet-repair-fields input,.fleet-repair-fields select { min-width:0; width:100%; }
.fleet-repair-fields [name="description"],.fleet-repair-fields [name="workers"] { grid-column:span 2; }
.fleet-submit-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; border-top:1px solid #dce5e0; }
.fleet-submit-bar span { color:#64746d; font-size:13px; }.fleet-submit-bar .btn { min-width:170px; }
@media(max-width:1000px) { .fleet-vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { .fleet-entry-grid { grid-template-columns:1fr; }.fleet-overview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.fleet-overview-grid>div:nth-child(2) { border-right:0; }.fleet-overview-grid>div:nth-child(-n+2) { border-bottom:1px solid #dce5e0; } }
@media(max-width:600px) {
  .fleet-layout input:not([type="file"]):not([type="checkbox"]),.fleet-layout select { min-height:44px; }
  .fleet-content { padding:18px 16px 32px; }.fleet-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .fleet-heading h1 { font-size:23px; }.fleet-heading p { font-size:12px; }
  .fleet-month { grid-template-columns:auto 1fr; align-items:center; width:100%; }.fleet-month input { width:100%; }
  .fleet-tab { padding:12px 10px; font-size:12px; gap:5px; }.fleet-tab .icon { width:16px; }
  .fleet-vehicle-grid { gap:10px; }.fleet-vehicle-top { padding:12px 8px; flex-wrap:wrap; font-size:13px; }
  .fleet-facts { padding:12px 8px; gap:6px; }.fleet-facts b { font-size:14px; }
  .fleet-card-actions { padding:0 8px 12px; }.fleet-card-actions .btn { flex-basis:100%; }
  .fleet-page-heading { flex-wrap:wrap; }.fleet-page-heading h2 { font-size:17px; }
  .fleet-score-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.fleet-score-item { padding:18px 12px; border-bottom:1px solid #dce5e0; }
  .fleet-score-item strong { font-size:23px; }.fleet-score-item:nth-child(2) { border-right:0; }
  .fleet-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 10px; }.fleet-metrics dd { font-size:14px; }
  .fleet-weight-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }.fleet-vehicle-field { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  .fleet-vehicle-field .permission-option { grid-column:1/-1; margin:0; }
  .fleet-notice { align-items:flex-start; font-size:12px; padding:10px; }.fleet-notice .text-link { font-size:12px; }
  .fleet-total { font-size:34px; }
  .fleet-entry-body { grid-template-columns:1fr; }.fleet-entry-body .fleet-upload { grid-template-columns:1fr; }
  .fleet-photo-preview { height:150px; }.fleet-overview-grid>div { padding:14px; }.fleet-overview-grid strong { font-size:17px; }
  .fleet-check-head { display:none; }.fleet-check-entry { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px; margin-bottom:8px; border:1px solid #dce5e0; border-radius:8px; }
  .fleet-check-entry strong { grid-column:1/-1; }.fleet-check-entry [name="note"] { grid-column:1/-1; }.fleet-check-entry .btn { grid-column:1/-1; }
  .fleet-repair-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }.fleet-repair-fields [name="description"],.fleet-repair-fields [name="workers"] { grid-column:1/-1; }
  .fleet-submit-bar { align-items:stretch; flex-direction:column; }.fleet-submit-bar .btn { width:100%; }
}
