/* 50-cutsheet.css — the derived cut sheet table (a projection of the twin).
 * Dense, monospace, scan-friendly; a print block strips it to clean black-on-white.
 */

.cut-title { display: flex; flex-direction: column; gap: 2px; }
.cut-title h2 { margin: 0; }

.cut-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  font-size: 13px;
}
.cut-table thead th {
  text-align: left; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-dim);
  padding: 9px 10px; background: var(--surface-2);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.cut-table tbody td {
  padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  vertical-align: middle;
}
.cut-table tbody tr:last-child td { border-bottom: none; }
.cut-table tbody tr:hover { background: var(--surface-2); }

.col-n { width: 38px; text-align: right; font-family: var(--mono); }
.col-label { font-family: var(--mono); }
.col-from, .col-to { white-space: nowrap; }
.col-type { color: var(--ink-dim); }
.col-pct { text-align: right; white-space: nowrap; }
.col-gates { text-align: center; }
.col-gate { text-align: center; width: 26px; padding-left: 2px; padding-right: 2px; }

.rack-tag { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.port-tag { font-family: var(--mono); margin-left: 6px; font-size: 12px; }

/* a filled / empty gate marker tinted with the gate's hue */
.gate-dot {
  display: inline-block; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
}
.gate-dot.on { border-color: transparent; }

/* ---- print: clean deliverable --------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .appbar, .nav-row, .breadcrumb, .head-actions, .toast { display: none !important; }
  .screen { max-width: none; padding: 0; }
  .cut-table {
    background: #fff; border: 1px solid #000; box-shadow: none; font-size: 11px;
  }
  .cut-table thead th { background: #eee; color: #000; border-bottom: 1px solid #000; }
  .cut-table tbody td { border-bottom: 1px solid #bbb; color: #000; }
  .rack-tag, .port-tag, .col-type, .muted { color: #000 !important; }
  .gate-dot { border-color: #000; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
