/* _content/IQ.Blazor.Workflows/Builder/WorkflowAskEditor.razor.rz.scp.css */
.iq-wf-ask-param[b-rzywgqet1b] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .375rem;
    padding: .5rem;
    margin-bottom: .5rem;
    background: #fafbfc;
}

.iq-wf-ask-grid[b-rzywgqet1b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .5rem;
}

.iq-wf-ask-grid label[b-rzywgqet1b] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: 0;
    min-width: 0;
}

.iq-wf-ask-grid label > span[b-rzywgqet1b] {
    font-size: .7rem;
    color: var(--bs-secondary-color, #6c757d);
    font-weight: 600;
}
/* _content/IQ.Blazor.Workflows/Builder/WorkflowFlowchartEditor.razor.rz.scp.css */
.iq-wf-flowchart[b-oeqlsexyob] {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 400px;
    gap: 0.75rem;
    align-items: start;
}

@media (max-width: 1400px) {
    .iq-wf-flowchart[b-oeqlsexyob] {
        grid-template-columns: 160px minmax(0, 1fr) 340px;
    }
}

@media (max-width: 992px) {
    .iq-wf-flowchart[b-oeqlsexyob] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.iq-wf-flowchart-palette[b-oeqlsexyob],
.iq-wf-flowchart-panel[b-oeqlsexyob] {
    position: sticky;
    top: 0.5rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
}

.iq-wf-flowchart-palette-title[b-oeqlsexyob] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.iq-wf-flowchart-palette-hint[b-oeqlsexyob] {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.iq-wf-flowchart-palette-group[b-oeqlsexyob] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin: 0.5rem 0 0.25rem;
}

.iq-wf-flowchart-palette-item[b-oeqlsexyob] {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0.375rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    cursor: grab;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}

.iq-wf-flowchart-palette-item.disabled[b-oeqlsexyob] {
    opacity: 0.45;
    cursor: not-allowed;
}

.iq-wf-flowchart-palette-item:hover[b-oeqlsexyob] {
    border-color: #042c54;
}

.iq-wf-flowchart-palette-dot[b-oeqlsexyob] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 2px;
    flex: none;
}

.iq-wf-flowchart-palette-dot.k-interaction[b-oeqlsexyob] { background: #f59e0b; }
.iq-wf-flowchart-palette-dot.k-data[b-oeqlsexyob] { background: #3b82f6; }
.iq-wf-flowchart-palette-dot.k-output[b-oeqlsexyob] { background: #22c55e; }
.iq-wf-flowchart-palette-dot.k-flow[b-oeqlsexyob] { background: #fb923c; }

.iq-wf-flowchart.dragging .iq-wf-flowchart-plus[b-oeqlsexyob] {
    opacity: 1;
    width: 26px;
    height: 26px;
    margin: -3px 0 0 -3px;
    border: 2px dashed #0daaea;
    color: #0daaea;
}

.iq-wf-flowchart.dragging .iq-wf-flowchart-plus.over[b-oeqlsexyob] {
    background: #0daaea;
    color: #fff;
    border-style: solid;
}

.iq-wf-flowchart-canvas[b-oeqlsexyob] {
    background-color: #f8fafc;
    background-image: radial-gradient(#d5dde8 1px, transparent 1px);
    background-size: 18px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: auto;
    min-height: 520px;
    height: calc(100vh - 13rem);
    position: relative;
}

.iq-wf-flowchart-canvas[b-oeqlsexyob] {
    cursor: grab;
}

.iq-wf-flowchart-canvas.panning[b-oeqlsexyob] {
    cursor: grabbing;
    user-select: none;
}

.iq-wf-flowchart-toolbar[b-oeqlsexyob] {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    gap: 0.35rem;
    padding: 0.4rem;
}

.iq-wf-flowchart-toolbar .btn[b-oeqlsexyob] {
    background: #fff;
}

.iq-wf-flowchart-toolbar-hint[b-oeqlsexyob] {
    align-self: center;
    margin-left: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
    background: #fff;
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

.iq-wf-flowchart-inner[b-oeqlsexyob] {
    position: relative;
    margin: 0 auto 3rem;
}

.iq-wf-flowchart-lines[b-oeqlsexyob] {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.iq-wf-flowchart-lines line[b-oeqlsexyob] {
    stroke: #94a3b8;
    stroke-width: 2;
}

.iq-wf-flowchart-arrow[b-oeqlsexyob] {
    fill: #94a3b8;
}

.iq-wf-flowchart-node[b-oeqlsexyob] {
    position: absolute;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(4, 44, 84, 0.08);
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}

.iq-wf-flowchart-node.start[b-oeqlsexyob] {
    background: #042c54;
    color: #fff;
    border-color: #042c54;
    border-radius: 1.5rem;
    text-align: center;
}

.iq-wf-flowchart-node.start .iq-wf-flowchart-kind[b-oeqlsexyob] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.iq-wf-flowchart-node.start .iq-wf-flowchart-say[b-oeqlsexyob] {
    color: #fff;
}

.iq-wf-flowchart-node.cond[b-oeqlsexyob] {
    border: 1.5px solid #38bdf8;
    background: #f0f9ff;
}

.iq-wf-flowchart-node.sel[b-oeqlsexyob] {
    border-color: #042c54;
    box-shadow: 0 0 0 3px rgba(4, 44, 84, 0.18);
}

.iq-wf-flowchart-node.err[b-oeqlsexyob] {
    border-color: #ef4444;
}

.iq-wf-flowchart-node.end[b-oeqlsexyob] {
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    background: #e2e8f0;
    color: #475569;
    cursor: default;
    font-weight: 600;
    text-align: center;
}

.iq-wf-flowchart-node.branch-label[b-oeqlsexyob] {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    cursor: default;
    padding: 0;
}

.iq-wf-flowchart-branch-label[b-oeqlsexyob] {
    font-size: 0.68rem;
    font-weight: 600;
    color: #9a3412;
    background: #ffedd5;
    border: 1px solid #fed7aa;
    border-radius: 1rem;
    padding: 0.05rem 0.55rem;
}

.iq-wf-flowchart-kind[b-oeqlsexyob] {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    border-radius: 0.25rem;
    padding: 0.05rem 0.35rem;
    display: inline-block;
    margin-bottom: 0.2rem;
    background: #e2e8f0;
    color: #475569;
}

.iq-wf-flowchart-say[b-oeqlsexyob] {
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.iq-wf-flowchart-warn[b-oeqlsexyob] {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    color: #f59e0b;
    font-size: 0.85rem;
}

.iq-wf-flowchart-remove[b-oeqlsexyob] {
    position: absolute;
    top: 0.2rem;
    right: 0.3rem;
    border: 0;
    background: none;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1;
    display: none;
    padding: 0;
}

.iq-wf-flowchart-node:hover .iq-wf-flowchart-remove[b-oeqlsexyob] {
    display: block;
}

.iq-wf-flowchart-remove:hover[b-oeqlsexyob] {
    color: #ef4444;
}

.iq-wf-flowchart-plus[b-oeqlsexyob] {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #94a3b8;
    background: #fff;
    color: #475569;
    font-size: 0.8rem;
    line-height: 16px;
    padding: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.1s;
}

.iq-wf-flowchart-canvas:hover .iq-wf-flowchart-plus[b-oeqlsexyob],
.iq-wf-flowchart-plus.over[b-oeqlsexyob],
.iq-wf-flowchart-plus:focus[b-oeqlsexyob] {
    opacity: 1;
}

.iq-wf-flowchart-plus.over[b-oeqlsexyob] {
    background: #0daaea;
    color: #fff;
    border-color: #0daaea;
    transform: scale(1.15);
}

.iq-wf-flowchart-loop[b-oeqlsexyob] {
    position: absolute;
    border: 1.5px dashed #fb923c;
    border-radius: 0.75rem;
    background: rgba(255, 247, 237, 0.5);
    pointer-events: none;
    box-sizing: border-box;
}

.iq-wf-flowchart-picker-backdrop[b-oeqlsexyob] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iq-wf-flowchart-picker[b-oeqlsexyob] {
    width: min(420px, 92vw);
    max-height: 80vh;
    overflow: auto;
}
/* _content/IQ.Blazor.Workflows/Builder/WorkflowValuesCard.razor.rz.scp.css */
.iq-wf-block-label[b-g0bxxytlco] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--bs-secondary-color, #6c757d);
    font-weight: 600;
    margin-bottom: .35rem;
}

.iq-wf-token[b-g0bxxytlco] {
    display: inline-block;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    padding: .1rem .55rem;
    font-size: .75rem;
    background: #fafbfc;
    margin: .15rem;
    cursor: pointer;
}

.iq-wf-token:hover[b-g0bxxytlco] {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.iq-wf-token.out[b-g0bxxytlco] {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.iq-wf-token.param[b-g0bxxytlco] {
    border-color: #fde68a;
    background: #fffbeb;
}
