/* Kanban board, ticket cards and the filter bar. */
.filter-bar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; }
.filter-bar__top { display: flex; gap: 8px; align-items: center; }
.filter-bar__search { flex: 1; min-width: 0; }
.filter-bar__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 var(--gap); margin-top: 12px; }
.filter-bar__fields .field { margin-bottom: 8px; }
.severity-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; background: var(--surface); font-size: 0.9rem; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--chip-color, var(--border)); }
.chip:has(input:checked) { background: var(--surface-alt); border-color: var(--text); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip--informational { --chip-color: var(--sev-informational); }
.chip--medium { --chip-color: var(--sev-medium); }
.chip--high { --chip-color: var(--sev-high); }
.chip--critical { --chip-color: var(--sev-critical); }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.board-tabs { display: none; }
.column { background: var(--surface-alt); border: 2px solid transparent; border-radius: var(--radius); padding: 10px; min-height: 160px; }
.column--drop { border-color: var(--primary); background: #e3edfb; }
.column__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.column__header h2 { margin: 0; font-size: 1rem; }
.column__count { font-size: 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0 8px; }
.column__cards { display: flex; flex-direction: column; gap: 10px; min-height: 80px; }
.column__empty { color: var(--text-muted); text-align: center; padding: 20px 8px; font-size: 0.95rem; }

.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--sev-color, var(--border)); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); cursor: pointer; }
.card--informational { --sev-color: var(--sev-informational); }
.card--medium { --sev-color: var(--sev-medium); }
.card--high { --sev-color: var(--sev-high); }
.card--critical { --sev-color: var(--sev-critical); }
.card--draggable { cursor: grab; }
.card--placeholder { opacity: 0.35; }
.card--ghost { position: fixed; z-index: 200; margin: 0; pointer-events: none; box-shadow: var(--shadow-drag); cursor: grabbing; left: 0; top: 0; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.card__title { font-weight: 600; margin: 0 0 6px; overflow-wrap: anywhere; }
.card__item { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 6px; }
.card__item span { overflow-wrap: anywhere; }
.card__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 0.8rem; color: var(--text-muted); }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.card__grip { color: var(--text-muted); display: inline-flex; touch-action: none; cursor: grab; }
.card__custom { font-size: 0.75rem; border: 1px dashed var(--text-muted); border-radius: 4px; padding: 0 4px; }
body.is-dragging { user-select: none; cursor: grabbing; }
