.equipment-toolbar .field { min-width: 170px; }
.equipment-toolbar .field:first-child { flex: 1 1 320px; }
.equipment-table tbody tr[data-action="open-equipment"] { cursor: pointer; }
.equipment-table { min-width: 1380px; }
.equipment-table tbody tr[data-action="open-equipment"]:hover { background: var(--surface-hover, rgba(15, 139, 139, .08)); }
.equipment-table tbody tr[data-action="open-equipment"]:focus-visible { outline: 2px solid var(--petrol, #0f8b8b); outline-offset: -2px; }
.equipment-badge { display:inline-flex; align-items:center; padding:3px 8px; border-radius:6px; border:1px solid var(--line, #d7e0e8); font-size:12px; background:var(--surface-soft, #eef3f7); }
.equipment-badge[data-tone="ready"] { color:#147a58; background:#e5f5ee; border-color:#a9dbc8; }
.equipment-badge[data-tone="issued"] { color:#2467c8; background:#e9f0ff; border-color:#bad0ff; }
.equipment-badge[data-tone="linked"] { color:#0f6f70; background:#e2f4f2; border-color:#9fd6d2; }
.equipment-badge[data-tone="repair"] { color:#9a6500; background:#fff4d8; border-color:#efd087; }
.equipment-badge[data-tone="lost"], .equipment-overdue { color:#bd3341; }
.equipment-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.equipment-form .equipment-span-all { grid-column:1/-1; }
.equipment-form [hidden] { display:none !important; }
.equipment-form small { display:block; margin-top:5px; color:var(--text-muted, #65758a); }
.equipment-detail-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding-bottom:16px; border-bottom:2px solid var(--petrol, #0f8b8b); }
.equipment-detail-head h3 { margin:0 0 8px; }
.equipment-detail-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.equipment-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:18px 0; border:1px solid var(--line, #d7e0e8); border-radius:8px; overflow:hidden; }
.equipment-facts > div { padding:12px; background:var(--surface-soft, #f1f5f8); border-right:1px solid var(--line, #d7e0e8); border-bottom:1px solid var(--line, #d7e0e8); }
.equipment-facts dt { font-size:11px; font-weight:700; text-transform:uppercase; color:var(--text-muted, #65758a); }
.equipment-facts dd { margin:5px 0 0; overflow-wrap:anywhere; }
.equipment-current, .equipment-history, .equipment-notes { margin-top:18px; padding-top:16px; border-top:1px solid var(--line, #d7e0e8); }
.equipment-current h3, .equipment-history h3, .equipment-notes h3 { margin-top:0; }
.equipment-notes p { white-space:pre-wrap; overflow-wrap:anywhere; }
.equipment-history-row { padding:12px 0; border-top:1px solid var(--line, #d7e0e8); }
.equipment-history-row:first-child { border-top:0; }
.equipment-history-row p { margin:5px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.overlay-shell[data-kind="equipment-detail"] .overlay-card { width:min(1040px,calc(100vw - 32px)); }
.overlay-shell[data-kind="equipment-detail"] .overlay-card-body { max-height:calc(100vh - 190px); overflow:auto; }
@media (max-width:800px) {
  .equipment-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .equipment-detail-head { flex-direction:column; }
  .equipment-detail-actions { justify-content:flex-start; }
}
@media (max-width:600px) {
  .equipment-form, .equipment-facts { grid-template-columns:1fr; }
}
