/* NAMA ERP — Fleet / Vehicles (Area A) — إضافات صغيرة فوق العدّة المشتركة */
.veh-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.veh-head h2{font-size:20px;font-weight:700;color:var(--maroon-deep,#4A0B28);margin:0}
.veh-head .pill{margin-inline-start:4px}
.veh-head .sp{flex:1}
.veh-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
@media (max-width:900px){.veh-stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.veh-stats{grid-template-columns:1fr}}
.veh-stats .stat .s-val{font-size:22px}
.veh-stat{cursor:pointer;border-radius:16px;transition:transform .15s}
.veh-stat:hover{transform:translateY(-1px)}
.veh-stat.on .stat{outline:2px solid var(--maroon,#640F36);outline-offset:-2px}
.veh-hint{font-size:12px;color:var(--muted,#93707f);margin:-4px 0 12px}
.veh-num{font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr;display:inline-block}
.veh-link{color:var(--maroon,#640F36);font-weight:600}
.veh-row{cursor:pointer}
.veh-tbl-wrap{overflow:auto}
.veh-tbl-wrap .tbl{min-width:860px}
.veh-actions-inline{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.veh-pager{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:12px;font-size:13px}
.veh-tab-tools{display:flex;justify-content:flex-end;gap:6px;margin-bottom:10px;flex-wrap:wrap}
.veh-key{font-size:11px;color:var(--muted,#93707f);font-family:var(--en,monospace);direction:ltr;display:inline-block}
.veh-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:760px){.veh-grid2{grid-template-columns:1fr}}
.veh-section{padding:16px 18px;margin-bottom:14px}
.veh-section h4{margin:0 0 12px;font-size:12px;letter-spacing:.4px;color:var(--muted,#93707f);text-transform:uppercase}
.veh-charts{margin-bottom:14px}
.veh-chart{padding:14px 16px}

/* لوحة السيارة في الجدول */
.veh-cell{display:flex;align-items:center;gap:10px}
.veh-cell .n{font-weight:600}
.veh-cell .c{font-size:11px;color:var(--muted,#93707f)}
.veh-thumb{width:52px;height:36px;border-radius:8px;object-fit:cover;flex:0 0 auto;border:1px solid var(--line-2,#E4D8DE);background:#fff}
.veh-thumb.ph{display:flex;align-items:center;justify-content:center;color:var(--maroon,#640F36);background:var(--maroon-tint,#F6EAF0)}
.veh-thumb.ph svg{width:20px;height:20px}
.veh-plate{display:inline-block;border:1.5px solid var(--line-2,#c9b7c1);border-radius:5px;padding:1px 8px;font-weight:700;font-size:12.5px;direction:ltr;background:#fff;letter-spacing:.5px}
.veh-plate.ar{direction:rtl;letter-spacing:2px}

/* رأس ملف السيارة */
.veh-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--maroon,#640F36);font-weight:600;margin-bottom:10px}
.veh-back svg{width:15px;height:15px}
.veh-profile-head{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:18px 20px;margin-bottom:16px}
.veh-photo{width:150px;height:104px;border-radius:16px;object-fit:cover;border:1px solid var(--line-2,#E4D8DE);background:var(--card-2,#fff);flex:0 0 auto}
.veh-photo.ph{display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#E9CF86,#C9A24B);color:#3A2A08}
.veh-photo.ph svg{width:46px;height:46px}
.veh-profile-head .info{flex:1;min-width:220px}
.veh-profile-head h2{font-size:20px;margin:0 0 4px;color:var(--maroon-deep,#4A0B28)}
.veh-profile-head .sub{font-size:13px;color:var(--text-dim,#6b4d59)}
.veh-profile-head .pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;align-items:center}
.veh-profile-head .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}

/* بطاقات التسليم النشطة */
.veh-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:16px}
.veh-card{padding:14px 16px}
.veh-card .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px}
.veh-card .top .t{font-weight:700;color:var(--maroon-deep,#4A0B28)}
.veh-card .meta{font-size:12.5px;color:var(--text-dim,#6b4d59);display:flex;flex-direction:column;gap:3px}
.veh-card .acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}

/* شبكة الصور */
.veh-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:8px}
.veh-photos figure{margin:0;text-align:center}
.veh-photos img{width:100%;height:88px;object-fit:cover;border-radius:10px;border:1px solid var(--line-2,#E4D8DE);background:#fff}
.veh-photos figcaption{font-size:11px;color:var(--muted,#93707f);margin-top:3px}

/* حقول الكاميرا في نموذج التسليم/الاستلام */
.veh-shots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media (max-width:640px){.veh-shots{grid-template-columns:repeat(2,1fr)}}
.veh-shot{border:1px dashed var(--line-2,#E4D8DE);border-radius:12px;padding:8px;text-align:center;font-size:12px}
.veh-shot label{display:block;font-weight:600;margin-bottom:6px;color:var(--text-dim,#6b4d59)}
.veh-shot input[type=file]{width:100%;font-size:11px}
.veh-shot .ok{color:#2E7D46;font-size:11px;margin-top:4px;min-height:14px;display:block}

/* محرر قالب الفحص */
.veh-items{display:flex;flex-direction:column;gap:10px;max-height:56vh;overflow:auto;padding-inline-end:4px}
.veh-item{border:1px solid var(--line,#EFE6EA);border-radius:12px;padding:10px 12px;background:var(--card-2,#fff)}
.veh-item .ih{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.veh-item .ih .idx{font-size:11px;color:var(--muted,#93707f);min-width:22px}
.veh-item .ih .sp{flex:1}
.veh-item .ig{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media (max-width:820px){.veh-item .ig{grid-template-columns:repeat(2,1fr)}}
.veh-item .ig .f{display:flex;flex-direction:column;gap:3px}
.veh-item .ig .f.wide{grid-column:span 2}
.veh-item .ig label{font-size:11px;color:var(--muted,#93707f)}
.veh-item input,.veh-item select{width:100%;padding:6px 8px;border:1px solid var(--line-2,#E4D8DE);border-radius:8px;font:inherit;font-size:12.5px;background:#fff}
.veh-item .chk{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;margin-top:6px}
.veh-item .chk label{display:inline-flex;align-items:center;gap:4px;cursor:pointer;color:var(--text-dim,#6b4d59)}
.veh-item input[type=checkbox]{width:auto;accent-color:var(--maroon,#640F36)}

/* شريط الكلفة */
.veh-total{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:12px;margin-top:10px;
  background:linear-gradient(135deg,#640F36,#4A0B28);color:#fff;font-weight:700}
.veh-total .v{font-size:18px;direction:ltr}
.veh-kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.veh-kv .k{font-size:11px;color:var(--muted,#93707f);margin-bottom:2px}
.veh-kv .v{font-size:13.5px;font-weight:600}
.veh-modal-search{width:100%;max-width:none;margin-bottom:8px}
