/* ASKV 1.3.1 — category manager UX */
.category-manager-modal .modal{max-width:1120px;width:min(1120px,94vw);}
.category-manager-modal .modal-body{overflow-x:hidden;}
.category-grid131{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start;}
.category-card131{border:1px solid #dfe8e8;border-radius:16px;padding:18px;background:#fff;min-width:0;box-shadow:0 1px 0 rgba(13,41,49,.03);}
.category-head131{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:12px;}
.category-title131{font-size:22px;line-height:1.15;margin:0;overflow-wrap:anywhere;}
.count-badge131{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:30px;padding:0 10px;border-radius:999px;background:#eef7df;color:#4c6f13;font-weight:800;font-size:14px;white-space:nowrap;}
.category-actions131{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
.sub-list131{display:grid;gap:8px;margin-top:8px;}
.sub-row131{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #e7eeee;}
.sub-name131{min-width:0;font-size:16px;font-weight:600;overflow-wrap:anywhere;}
.sub-meta131{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.sub-actions131{display:flex;gap:6px;flex-wrap:wrap;}
.category-summary131{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px;}
.summary-chip131{padding:8px 12px;border-radius:999px;background:#f2f6f6;border:1px solid #dfe8e8;font-weight:700;color:#31515a;}
@media (max-width:720px){
  .category-grid131{grid-template-columns:1fr;}
  .category-manager-modal .modal{width:96vw;max-height:92vh;}
  .sub-row131{grid-template-columns:1fr;}
  .sub-meta131{justify-content:flex-start;}
}
