/* Auto-split from _09_workflow_grid.css — DO NOT EDIT MANUALLY */
/* See _09_workflow_grid.css.bak for original */

/* (2026-09-11 收编: 原 L4-91 body.theme-tno-bw 覆盖段已物理删除 — 黑白栈双套,
   含 wf-shelf-rack/wf-tool-box 死选择器; TNO 唯一调色板归 _17a_tno_tokens.css) */

.wf-block[draggable="true"] {
    cursor: grab;
}

.wf-block[draggable="true"]:active {
    cursor: grabbing;
}

.wf-block.wf-block-dragging {
    opacity: 0.3;
    border: 2px dashed var(--accent-color) !important;
    transform: scale(0.97);
    transition: opacity 0.15s, transform 0.15s;
    pointer-events: none;
}

.wf-block.wf-block-drag-over {
    border-top: 3px solid var(--accent-color) !important;
    box-shadow: 0 -4px 12px rgba(0,212,255,0.35);
    position: relative;
}

.wf-block.wf-block-drag-over::before {
    content: '▾ 放置到此处上方';
    position: absolute;
    top: -2.75vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-canvas-xs);
    color: var(--accent-color);
    background: var(--bg-bunker);
    padding: 0.0625rem 0.5rem;
    border: 1px solid var(--accent-color);
    white-space: nowrap;
    z-index: 30;
    pointer-events: none;
    animation: wf-drag-hint-pulse 0.8s infinite alternate;
}

.wf-block.wf-block-drag-over-bottom {
    border-bottom: 3px solid var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(0,212,255,0.35);
    position: relative;
}

.wf-block.wf-block-drag-over-bottom::after {
    content: '▴ 放置到此处下方';
    position: absolute;
    bottom: -2.75vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-canvas-xs);
    color: var(--accent-color);
    background: var(--bg-bunker);
    padding: 0.0625rem 0.5rem;
    border: 1px solid var(--accent-color);
    white-space: nowrap;
    z-index: 30;
    pointer-events: none;
    animation: wf-drag-hint-pulse 0.8s infinite alternate;
}

.wf-block.wf-block-drop-success {
    animation: wf-drop-flash 0.4s ease-out;
}

.wf-diff-view {
    font-family: var(--tno-font-mono);
    font-size: var(--font-xs);
    line-height: 1.6;
    background: var(--bg-bunker);
    border: 1px solid var(--border-primary);
    padding: 0.75rem;
    overflow: auto;
    max-height: 60vh;
    white-space: pre;
    color: var(--text-primary);
    tab-size: 4;
}
