/* AVstackr cable types modal — the Manage Cable Types window's own rules on Global Settings (/global-config).
   ========================================================================
   Built to docs/superpowers/plans/2026-11-14-global-config-friendly-style.md (Tasks 3 and 4). The author-facing
   shell (frame, header, body, notices, panel, field register, footer, buttons and numbers) and the table
   register (the edge-to-edge panel, the table, the edit rows, the 32px fields and icon buttons, the ticks,
   the empty row, the note and the right-aligned footer) are shared with the other author-facing windows in
   author-modal.css, as `am-` classes; that file carries the register, the colour token table and the
   --am-radius-* steps declared on .am-modal. This file holds only what the cable types window alone uses,
   every class `ctm-` prefixed: the modal element wears `am-modal ctm-modal`. A plain stylesheet rather than a scoped .razor.css, so the window sits on the same shell as the others.
   Colours are --app-* tokens only; no literal colours and no important flags.

   Promotion rule: a class used by a second author-facing window moves to author-modal.css as `am-`.
   ======================================================================== */

/* Ten columns, one of them the product picker; the shared rule's max-width bounds it on small screens. */
.ctm-modal { width: 1140px; }

/* The title keeps its h5 element for the cable schedule guide's source check; it takes the am-title register
   of the box around it rather than the heading's own size, weight, margin and colour. */
.ctm-title > h5 {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    color: currentColor;
}

/* "New cable type" at the left, the untagged count beside it; they wrap on a narrow screen. */
.ctm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Names like "Microphone (Shielded 22AWG)" keep their line. */
.ctm-name { min-width: 200px; }

/* The category select fits "Network/Ethernet"; the product cell fits the picker's input and search button. */
.ctm-category { min-width: 140px; }
.ctm-product { min-width: 220px; }

.ctm-rate { min-width: 88px; }
.ctm-select { min-width: 140px; }
