/* Syncfusion Kanban fitted to the accepted board mockup. Overrides only: the vendor theme file stays untouched,
   and every colour comes from theme.css tokens so light and dark follow the rest of the app. */
/* The vendor theme reads these variables; pointing them at app tokens restyles every Kanban part at once. */
.e-kanban.ag-kanban {
    --color-sf-content-bg-color: transparent;
    --color-sf-flyout-bg-color: transparent;
    --color-sf-content-text-color: var(--text);
    --color-sf-primary: var(--accent);
    background: transparent;
    font-family: var(--font-body);
    color: var(--text);
}

.ag-kanban .e-header-cells { padding: 0 2px 13px; border: 0; }
.ag-kanban .e-header-cells .e-header-wrap,
.ag-kanban .e-header-cells .e-header-title { padding: 0; }
.ag-kanban .e-content-cells { padding: 0 0 4px; border: 0; vertical-align: top; }
.ag-kanban .e-content-cells .e-card-wrapper { padding: 0; gap: var(--space-related); display: flex; flex-direction: column; }

/* The card markup is ours; Syncfusion's card only positions and drags it. */
.ag-kanban .e-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-height: 0;
}
.ag-kanban .e-card .e-card-content { padding: 0; }
.ag-kanban .e-card:focus-visible,
.ag-kanban .e-card.e-selection { outline: var(--focus-ring); outline-offset: 2px; background: transparent; box-shadow: none; }
.ag-kanban .e-card:hover { background: transparent; }
.ag-kanban .e-card.e-kanban-dragged-card { opacity: .5; }
.ag-kanban .e-target-dropped-clone,
.ag-kanban .e-dropping { border: 1px dashed var(--accent); border-radius: var(--radius-panel); background: var(--selection); }
.e-kanban .e-cloned-card { background: transparent; box-shadow: var(--shadow-floating); border: 0; padding: 0; }

/* shortcut: screen readers still get the library's own wording; replace through Syncfusion localisation if a locale file is added. */
.e-kanban .e-empty-card { font-size: 0 !important; }
.e-kanban .e-empty-card::before { content: "No tasks in this group"; font-size: 13px !important; color: var(--text-secondary); }

/* The library removes outlines inside the board and the card clips its edges, so the ring sits just inside the card. */
.ag-kanban .ag-task-card:focus-visible { outline: var(--focus-ring) !important; outline-offset: -2px; }
