.equipment-workspace{display:grid;gap:12px;min-width:0}
.equipment-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.equipment-stat{padding:12px 14px;border:1px solid var(--line,#d8e2ee);border-radius:14px;background:#fff}
.equipment-stat b{display:block;font-size:24px;line-height:1.1}
.equipment-stat span{font-size:12px;color:var(--muted,#64748b)}
.equipment-toolbar{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(140px,1fr));gap:8px;align-items:end}
.equipment-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:10px}
.equipment-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line,#d8e2ee);border-radius:12px}
.equipment-table{width:100%;min-width:1060px;border-collapse:separate;border-spacing:0;background:#fff}
.equipment-table th,.equipment-table td{padding:9px 10px;border-bottom:1px solid var(--line,#e5eaf0);vertical-align:top;text-align:left}
.equipment-table th{position:sticky;top:0;z-index:3;background:#f8fafc;font-size:12px}
.equipment-table tr:last-child td{border-bottom:0}
.equipment-table .mono{font-variant-numeric:tabular-nums}
.equipment-group-row td{background:#eef4fb;font-weight:700;color:#24425f}
.equipment-life{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;white-space:nowrap}
.equipment-life.ok{background:#e9f8f1;color:#116241}
.equipment-life.attention{background:#fff7df;color:#8a5a00}
.equipment-life.due{background:#fff1df;color:#9a4c00}
.equipment-life.expired{background:#fff1f3;color:#9f1239}
.equipment-life.none{background:#f2f4f7;color:#667085}
.equipment-row-actions{display:flex;gap:6px;flex-wrap:wrap}
.equipment-sub{font-size:11px;color:var(--muted,#64748b);margin-top:3px}
.equipment-empty{padding:28px;text-align:center;color:var(--muted,#64748b)}
.equipment-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.equipment-form-grid .span-2{grid-column:1/-1}
.equipment-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:300px}
@media(max-width:980px){
  .equipment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .equipment-toolbar{grid-template-columns:1fr 1fr}
  .equipment-toolbar .equipment-search{grid-column:1/-1}
}
@media(max-width:560px){
  .equipment-stats{grid-template-columns:1fr 1fr}
  .equipment-toolbar{grid-template-columns:1fr}
  .equipment-toolbar .equipment-search{grid-column:auto}
  .equipment-actions{justify-content:stretch}
  .equipment-actions .btn{flex:1 1 140px}
  .equipment-form-grid{grid-template-columns:1fr}
  .equipment-form-grid .span-2{grid-column:auto}
}