.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow2);
}
.card-h{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.card-b{padding:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 14px;border-radius:14px;
  background:var(--accent);color:#fff;text-decoration:none;
  border:1px solid rgba(37,99,235,.4);
  font-weight:800;
}
.btn--ghost{
  background:transparent;color:var(--ink);
  border:1px solid var(--line);
}
.btn--sm{padding:7px 10px;border-radius:12px;font-weight:800;font-size:12px}
.badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:999px;
  background:rgba(2,6,23,.06);
  border:1px solid rgba(2,6,23,.08);
  font-size:12px;font-weight:800;
}
.alert{
  padding:10px 12px;border-radius:14px;margin-bottom:10px;
  border:1px solid rgba(2,6,23,.12);
  background:rgba(2,6,23,.04);
}
.alert.err{border-color: rgba(220,38,38,.25); background: rgba(220,38,38,.06);}

.table{width:100%;border-collapse:collapse;font-size:14px}
.table th,.table td{padding:10px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.table th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(15,23,42,.7)}
.input,.select,.textarea{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  outline:none;
  font: inherit;
  background:#fff;
}
.textarea{resize:vertical}
.form-row{display:flex;flex-direction:column;gap:6px}
.label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(15,23,42,.7);font-weight:900}
.form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:4px}
.empty{padding:18px;border:1px dashed var(--line);border-radius:var(--radius);text-align:center}
.empty-title{font-weight:900;margin-bottom:6px}
