/* ─────────────────────────────────────────────────────────────────────────────
   yard-grid-theme.css — CSS custom properties for the YardGrid feature.
   Loaded globally via index.html so all YardGrid scoped stylesheets can
   reference these variables with var().
   ───────────────────────────────────────────────────────────────────────── */

:root {
    /* ── Layout ──────────────────────────────────────────────────────────── */
    --ym-grid-location-width: 160px;    /* sticky location column */
    --ym-grid-cell-min-width: 128px;    /* sequence column width */
    --ym-grid-cell-height: 96px;        /* row height (fits asset card + padding) */
    --ym-grid-header-height: 40px;

    /* ── Colours (reference the app theme tokens) ────────────────────────── */
    --ym-grid-border-color: var(--on-surface-4);
    --ym-grid-header-bg: var(--primary);
    --ym-grid-header-text: var(--on-primary);
    --ym-grid-row-alt-bg: rgba(0, 0, 0, 0.02);
    --ym-grid-row-hover-bg: var(--surface-active);

    /* ── Drag-and-drop feedback ──────────────────────────────────────────── */
    --ym-drag-valid-bg: rgba(33, 150, 243, 0.10);
    --ym-drag-valid-border: #2196f3;
    --ym-drag-invalid-bg: rgba(244, 67, 54, 0.08);
    --ym-drag-invalid-border: #f44336;

    /* ── Asset card ──────────────────────────────────────────────────────── */
    --ym-asset-card-width: 112px;
    --ym-asset-card-height: 76px;
    --ym-asset-selected-outline: #ff9800;
    --ym-asset-level-critical: #f44336;
    --ym-asset-level-warning: #ff9800;
}
