
/* Phase 8G case cards */
#recordsView .tablewrap{overflow:visible;border:0;background:transparent}
#recordsView .tablewrap table{width:100%;border-collapse:separate;border-spacing:0 10px}
#recordsView .tablewrap thead{display:none}
#recordsView #recordsBody tr{display:grid;grid-template-columns:minmax(200px,2.4fr) minmax(85px,1fr) minmax(115px,1.2fr) minmax(90px,.85fr) minmax(110px,1fr) minmax(200px,1.4fr);align-items:center;background:#142945;border:1px solid #365679;border-radius:9px;min-height:78px;gap:8px;padding:10px 16px;margin-bottom:10px}
#recordsView #recordsBody td{border:0!important;padding:4px 6px!important;background:transparent!important;min-width:0;overflow-wrap:anywhere;color:#d7e7ff}
#recordsView #recordsBody td:last-child{display:flex;gap:7px;justify-content:flex-end;align-items:center;white-space:nowrap}
#recordsView #recordsBody td:last-child button{background:#28548a;color:#fff;border:1px solid #4775a6;border-radius:5px;padding:8px 10px;cursor:pointer}
#recordsView #recordsBody td:last-child button[data-filedelete]{background:#703344;border-color:#a65362}
#recordsView #recordsBody td:first-child strong{display:block;color:#d8ebff}
#recordsView #recordsBody td:first-child span{display:block;color:#a3bde0}
#recordsView #ef8gReports{display:none!important}
@media(max-width:1120px){#recordsView #recordsBody tr{grid-template-columns:minmax(150px,2fr) repeat(4,minmax(70px,1fr));}#recordsView #recordsBody td:last-child{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:650px){#recordsView #recordsBody tr{grid-template-columns:repeat(2,minmax(0,1fr))}#recordsView #recordsBody td:last-child{grid-column:1/-1;flex-wrap:wrap}}
/* Phase 8G vehicle and personnel cards */
.ef8g-vehicles{display:grid;gap:12px}.ef8g-vehicle{display:flex;align-items:center;gap:20px;padding:18px;background:#142945;border:1px solid #355678;border-radius:10px;flex-wrap:wrap}.ef8g-vehicle-image{width:70px;height:65px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#1d385a;border-radius:9px;color:#9dc7ff;font-size:27px;overflow:hidden}.ef8g-vehicle-image img{width:100%;height:100%;object-fit:cover}.ef8g-vehicle-title{flex:2;min-width:160px}.ef8g-vehicle-title h3{margin:0 0 5px}.ef8g-vehicle-col{flex:1;min-width:105px}.ef8g-vehicle-col small{display:block;color:#86abd7;text-transform:uppercase;font-size:10px;letter-spacing:.04em}.ef8g-vehicle-actions{display:flex;gap:8px;margin-left:auto}.ef8g-vehicle-actions button{padding:9px 15px;border-radius:6px;background:#2b527f;color:#fff;border:1px solid #4b6f98}.ef8g-vehicle-actions button:last-child{background:#713344}.ef8g-vehicle-notes{flex-basis:100%;color:#a9c2e3;border-top:1px solid #315071;padding-top:12px}.ef8g-vehicle-tools{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}.ef8g-vehicle-tools input,.ef8g-vehicle-tools select{padding:10px;background:#10223c;border:1px solid #45658a;border-radius:6px;color:#fff;min-width:180px}.ef8g-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.ef8g-detective{background:linear-gradient(145deg,#102743,#0e2039);border:1px solid #315c8b;border-radius:10px;padding:16px;color:#dceaff;display:flex;flex-direction:column;gap:12px;min-height:230px}.ef8g-detective-top{display:flex;align-items:center;gap:13px}.ef8g-detective-avatar{width:64px;height:70px;display:flex;align-items:center;justify-content:center;background:#244a74;border-radius:7px;overflow:hidden;font-size:25px;flex-shrink:0}.ef8g-detective-avatar img{width:100%;height:100%;object-fit:cover}.ef8g-detective-name{font-weight:700;color:#c6e1ff}.ef8g-detective-meta{color:#9cbfe9;font-size:12px;line-height:1.6}.ef8g-detective-stats{display:flex;justify-content:space-between;gap:8px;color:#c6dfff;font-size:12px;border-top:1px solid #2e4d70;padding-top:12px}.ef8g-detective>button{margin-top:auto;background:#20466f;border:1px solid #4277ae;border-radius:6px;color:#e8f2ff;padding:9px}.ef8g-assigned{display:grid;gap:9px}.ef8g-assigned-row{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#142945;border:1px solid #33587d;border-radius:8px;padding:12px;flex-wrap:wrap}.ef8g-assigned-row strong{color:#cce5ff}.ef8g-assigned-row small{color:#9bb9dd}.ef8g-assigned-row button{padding:7px 10px;background:#29548a;border-radius:5px;color:white;border:1px solid #4579a9}
