/* fixtures.css - catalog panel + listing import. Uses theme tokens from style.css only. */
#addBar.fx-addbar { flex-wrap: nowrap; gap: 6px; align-items: center; }
#addBar.fx-addbar select { width: auto; max-width: 220px; min-width: 150px; padding: 8px 9px; }

#fixtureExt.fx { margin-top: 4px; }
#noSel + #fixtureExt.fx, #selBody + #noSel + #fixtureExt.fx { border-top: 1px solid var(--hair); padding-top: 12px; margin-top: 14px; }
.fx .btn.sm { padding: 6px 10px; font-size: 12px; }

#fxList { display: flex; flex-direction: column; gap: 6px; }
.fx-card { background: var(--panel-2); border: 1px solid var(--hair); border-radius: var(--radius-s); padding: 8px 10px; min-width: 0; }
.fx-card.custom { border-style: dashed; border-color: var(--hair-2); }
.fx-top { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; }
.fx-name { font-size: 12.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-brand { font-size: 11px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-brand a { color: inherit; }
.fx-specs { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.fx-dmx { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; overflow-wrap: anywhere; }
.fx-act { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.fx-count { font-size: 11px; color: var(--muted); margin-right: auto; }

.fx-tag { flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--hair-2); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.fx-tag.ok { color: var(--accent); border-color: var(--accent); }
.row .fx-tag { margin-left: -2px; }

.fx-tools { margin-top: 10px; }
.fx-tools .btn { width: 100%; }
#fxImport textarea { resize: vertical; font-size: 12px; line-height: 1.45; }
.fx-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.fx-btns .btn { flex: 1 1 auto; }
.fx-btns .btn:disabled { opacity: .55; cursor: progress; }
.fx-status { font-size: 11.5px; color: var(--ink-2); line-height: 1.45; margin-top: 8px; min-height: 0; }
.fx-status:empty { display: none; }
.fx-status.err { color: var(--hl); }
.fx-status.ok { color: var(--accent); }

.fx-settings { margin-top: 10px; border: 1px solid var(--hair); border-radius: var(--radius-s); padding: 6px 10px; }
.fx-settings summary { font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 2px 0; }
.fx-settings[open] summary { margin-bottom: 8px; }
.fx-settings .row { margin-bottom: 0; }
.fx-settings .note { margin-top: 6px; }
.fx-keystate { font-size: 11px; color: var(--muted); flex: 1 1 100%; }

.fx-flag { font-size: 11.5px; font-weight: 600; color: var(--hl); border: 1px solid var(--hair-2); border-left: 3px solid var(--hl);
  border-radius: var(--radius-s); padding: 6px 9px; margin-bottom: 9px; }
#fxForm .row input[type="number"] { width: 90px; }
#fxForm .row input[type="text"], #fxForm .row select { min-width: 0; }
.fx-unit { font-size: 11.5px; color: var(--muted); }
.fx-modes { margin-bottom: 9px; }
.fx-modes .k { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 5px; }
.fx-modes textarea { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; resize: vertical; }
.fx-vocab { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.fx input[type="password"] { background: var(--panel-2); border: 1px solid var(--hair-2); color: var(--ink); border-radius: 7px;
  padding: 8px 9px; font-size: 12.5px; width: 100%; min-width: 0; font-family: var(--mono); color-scheme: dark; }
#fxImport { margin-top: 4px; }
#fxImport > h2:first-child { margin-top: 14px; }
