.kb-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.kb-toolbar .tool-input {
    flex: 1 1 12rem;
    min-width: 0;
}

.kb-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    min-height: 16rem;
}

.kb-column {
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.kb-column h2 {
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kb-count {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: normal;
}

.kb-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-height: 4rem;
}

.kb-cards.is-drag-over {
    outline: 2px dashed var(--accent, #c8f060);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

.kb-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
    border-radius: 0.4rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.35rem;
}

.kb-card:active {
    cursor: grabbing;
}

.kb-card.is-dragging {
    opacity: 0.45;
}

@media (max-width: 768px) {
    .kb-board {
        grid-template-columns: 1fr;
    }
}
