/* Design/components/free-blocks.css, only Table 3 rules. Scoped for page and console reuse. */
.table-3 {
  display: block;
  width: 100%;
  color: var(--ink, #f5f5f5);
  --free-ink: var(--ink, #f5f5f5);
  --free-muted: var(--muted, #a3a3a3);
  --free-line: var(--line, #303030);
  --free-bg: var(--page, #111);
  --free-surface: var(--bar, #171717);
  --free-surface-raised: var(--specimen-stage, #1a1a1a);
  --free-accent: #3b82f6;
  --free-positive: #22c55e;
  --free-negative: #ef4444;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}


.table-3 .table-card { padding: 20px; border: 1px solid var(--free-line); border-radius: 12px; background: var(--free-bg); }
.table-3 .muted { color: var(--free-muted); }
.table-3 .card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.table-3 .card-title-row h2 { margin: 0 0 5px; font-size: 18px; font-weight: 630; letter-spacing: -.02em; }
.table-3 .card-title-row p { margin: 0; font-size: 13px; }
.table-3 .table-card { overflow: hidden; }
.table-3 .table-card .card-title-row { align-items: center; margin-bottom: 13px; }
.table-3 .table-scroll { width: 100%; overflow-x: auto; }
.table-3 table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.table-3 th { padding: 10px 9px; border-bottom: 1px solid var(--free-line); color: var(--free-muted); font-size: 10px; font-weight: 520; }
.table-3 td { padding: 11px 9px; border-bottom: 1px solid var(--free-line); font-size: 10px; }
.table-3 tbody tr:last-child td { border-bottom: 0; }
.table-3 .products-table { max-width: 900px; }
.table-3 .products-table th { padding-block: 10px; background: var(--free-surface); color: var(--free-ink); }
.table-3 .products-table td { padding-block: 9px; }
.table-3 .products-table td:first-child { width: 46px; }
.table-3 .product-thumbnail { display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border: 1px solid var(--free-line); border-radius: 50%; background: linear-gradient(145deg, #e5e7eb, #64748b); color: #f8fafc; }
.table-3 .product-name { display: flex; flex-direction: column; gap: 3px; max-width: 188px; }
.table-3 .product-name strong { overflow: hidden; font-size: 10px; font-weight: 560; text-overflow: ellipsis; }
.table-3 .product-name small { font-size: 8px; }
.table-3 .product-status { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: var(--free-surface-raised); font-size: 9px; }
.table-3 .product-status--low-stock { background: var(--free-accent); color: white; }
.table-3 .product-status--out-of-stock { background: color-mix(in srgb, var(--free-negative) 16%, transparent); color: var(--free-negative); }
.table-3 .products-table td > strong { display: block; font-size: 10px; font-weight: 570; }
.table-3 .product-sold { display: block; margin-top: 4px; font-size: 8px; }
.table-3 .edit-product { width: 24px; height: 24px; border: 0; background: transparent; color: var(--free-ink); font-size: 19px; transform: rotate(-45deg); cursor: pointer; }
@media (max-width: 660px) {
  .table-3 .table-card { padding: 14px 10px; }
  .table-3 th, .table-3 td { padding-inline: 7px; font-size: 9px; }
}
