@import '_content/Z.Blazor.Diagrams/Z.Blazor.Diagrams.ezdqu7jd9f.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-4tnjq6sgdb] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-4tnjq6sgdb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/ConvertFieldType.razor.rz.scp.css */
.cft-page[b-g8lfbhgqv9] { max-width: 1280px; margin: 0 auto; padding: 1.5rem; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.top-nav[b-g8lfbhgqv9] { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; color: #666; }
.top-nav .nav-back[b-g8lfbhgqv9] { color: #2563eb; text-decoration: none; }
.top-nav .nav-back:hover[b-g8lfbhgqv9] { text-decoration: underline; }
.top-nav .nav-divider[b-g8lfbhgqv9] { color: #999; }
.top-nav .nav-current[b-g8lfbhgqv9] { font-weight: 600; color: #333; }
.header[b-g8lfbhgqv9] { margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid #e5e7eb; }
.header h1[b-g8lfbhgqv9] { margin: 0 0 .35rem; font-size: 1.5rem; }
.header .subtitle[b-g8lfbhgqv9] { margin: 0; color: #666; font-size: .9rem; }

.ctx-bar[b-g8lfbhgqv9] { display: flex; gap: 1rem; flex-wrap: wrap; padding: 1rem; background: #f3f4f6; border-radius: 8px; margin-bottom: 1rem; }
.ctx-field[b-g8lfbhgqv9] { display: flex; flex-direction: column; gap: .25rem; min-width: 220px; }
.ctx-field label[b-g8lfbhgqv9] { font-size: .8rem; color: #555; }
.ctx-field select[b-g8lfbhgqv9] { padding: .4rem .55rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: .9rem; background: #fff; }

.panel[b-g8lfbhgqv9] { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; }
.panel h2[b-g8lfbhgqv9] { margin: 0 0 .75rem; font-size: 1.1rem; }
.panel h4[b-g8lfbhgqv9] { margin: .25rem 0; font-size: .9rem; }
.hint[b-g8lfbhgqv9] { color: #6b7280; font-size: .85rem; margin: .5rem 0; }
.muted[b-g8lfbhgqv9] { color: #9ca3af; }

.data-table[b-g8lfbhgqv9] { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table.compact th[b-g8lfbhgqv9], .data-table.compact td[b-g8lfbhgqv9] { padding: .35rem .55rem; }
.data-table th[b-g8lfbhgqv9], .data-table td[b-g8lfbhgqv9] { padding: .55rem .75rem; border-bottom: 1px solid #e5e7eb; text-align: left; }
.data-table th[b-g8lfbhgqv9] { background: #f9fafb; font-weight: 600; color: #374151; font-size: .85rem; }
.data-table tr.selected[b-g8lfbhgqv9] { background: #eff6ff; }
.data-table code[b-g8lfbhgqv9] { background: #f3f4f6; padding: .15rem .35rem; border-radius: 3px; font-size: .85em; }

.btn[b-g8lfbhgqv9] { padding: .45rem .85rem; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; cursor: pointer; font-size: .9rem; }
.btn:hover[b-g8lfbhgqv9] { background: #f9fafb; }
.btn-small[b-g8lfbhgqv9] { padding: .25rem .55rem; font-size: .8rem; }
.btn-primary[b-g8lfbhgqv9] { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover[b-g8lfbhgqv9] { background: #1d4ed8; }
.btn:disabled[b-g8lfbhgqv9] { opacity: .5; cursor: not-allowed; }
.action-bar[b-g8lfbhgqv9] { display: flex; gap: .5rem; margin-top: .75rem; }

.analysis-grid[b-g8lfbhgqv9] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin: .75rem 0 1rem; }
.metric[b-g8lfbhgqv9] { padding: .75rem; background: #f9fafb; border-radius: 6px; border-left: 3px solid #2563eb; }
.metric.warn[b-g8lfbhgqv9] { border-left-color: #f59e0b; background: #fffbeb; }
.metric-label[b-g8lfbhgqv9] { font-size: .8rem; color: #6b7280; }
.metric-value[b-g8lfbhgqv9] { font-size: 1.4rem; font-weight: 600; color: #111827; }
.metric-value-mono[b-g8lfbhgqv9] { font-family: 'SF Mono', Menlo, monospace; font-size: 1rem; color: #111827; }

.mode-tabs[b-g8lfbhgqv9] { display: flex; gap: .25rem; margin-bottom: .75rem; border-bottom: 1px solid #e5e7eb; }
.mode-tab[b-g8lfbhgqv9] { padding: .55rem .9rem; background: transparent; border: 1px solid transparent; border-bottom: none; border-radius: 6px 6px 0 0; cursor: pointer; font-size: .9rem; color: #6b7280; }
.mode-tab.active[b-g8lfbhgqv9] { background: #fff; border-color: #e5e7eb; color: #111827; font-weight: 600; margin-bottom: -1px; }

.form-grid[b-g8lfbhgqv9] { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; margin-bottom: .5rem; }
.form-grid label[b-g8lfbhgqv9] { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; color: #374151; }
.form-grid label.check[b-g8lfbhgqv9] { flex-direction: row; align-items: center; gap: .4rem; }
.form-grid input[type="text"][b-g8lfbhgqv9], .form-grid input:not([type])[b-g8lfbhgqv9], .form-grid select[b-g8lfbhgqv9] { padding: .45rem .55rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: .9rem; }

.compat-block[b-g8lfbhgqv9] { display: flex; gap: .75rem; margin: .75rem 0; }
.compat-block .metric[b-g8lfbhgqv9] { flex: 1; }
.two-col[b-g8lfbhgqv9] { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .75rem; }
.match-list[b-g8lfbhgqv9] { list-style: none; padding: 0; margin: 0; max-height: 240px; overflow-y: auto; border: 1px solid #e5e7eb; border-radius: 6px; }
.match-list li[b-g8lfbhgqv9] { padding: .35rem .55rem; border-bottom: 1px solid #f3f4f6; font-size: .85rem; }
.match-list li:last-child[b-g8lfbhgqv9] { border-bottom: none; }
.match-list code[b-g8lfbhgqv9] { background: #f3f4f6; padding: .12rem .35rem; border-radius: 3px; }
.warn-text[b-g8lfbhgqv9] { color: #d97706; }

.result-panel[b-g8lfbhgqv9] { padding: .75rem 1rem; border-radius: 6px; margin-top: .75rem; font-size: .9rem; }
.result-panel.ok[b-g8lfbhgqv9] { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.result-panel.error[b-g8lfbhgqv9] { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.result-panel pre[b-g8lfbhgqv9] { white-space: pre-wrap; word-wrap: break-word; margin: .25rem 0; font-family: 'SF Mono', Menlo, monospace; font-size: .85em; }
/* /Components/Pages/ExcelImport.razor.rz.scp.css */
/* ExcelImport 페이지 전용. 공통 레이아웃은 wwwroot/css/playground-common.css 에 있음. */

.empty-state[b-2bmaovjfh3] {
    padding: 2.5rem 2rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.5rem;
}

.empty-state p[b-2bmaovjfh3] { margin: 0; font-size: 0.95rem; }
.empty-state strong[b-2bmaovjfh3] { color: #0f172a; }

/* 플랜 영역 — 수직 스택. 카드 그리드 대신 메인(메타) → 가이드 → 양식 → 업로드 → 실행 순. */
.plan-stack[b-2bmaovjfh3] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[b-2bmaovjfh3] .card-main {
    border-left: 4px solid #2563eb;
}

[b-2bmaovjfh3] .card-meta {
    margin-left: auto;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
}

[b-2bmaovjfh3] .table-scroll {
    max-height: 480px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #f1f5f9;
    border-radius: 0.375rem;
}

[b-2bmaovjfh3] .table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Sub-tab — 가이드 카드 안의 권장순서 / 부모객체 전환. */
[b-2bmaovjfh3] .sub-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

[b-2bmaovjfh3] .sub-tab {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

[b-2bmaovjfh3] .sub-tab:hover:not(:disabled) {
    color: #0f172a;
}

[b-2bmaovjfh3] .sub-tab:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

[b-2bmaovjfh3] .sub-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

[b-2bmaovjfh3] .sub-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.2rem;
    padding: 0 0.4rem;
    background: #e2e8f0;
    color: #475569;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

[b-2bmaovjfh3] .sub-tab.active .sub-tab-count {
    background: #dbeafe;
    color: #1e40af;
}

[b-2bmaovjfh3] .sub-tab-count.warn {
    background: #fef3c7;
    color: #92400e;
}

[b-2bmaovjfh3] .field-table,
[b-2bmaovjfh3] .lookup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

[b-2bmaovjfh3] .field-table th,
[b-2bmaovjfh3] .field-table td,
[b-2bmaovjfh3] .lookup-table th,
[b-2bmaovjfh3] .lookup-table td {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

[b-2bmaovjfh3] .field-table thead th,
[b-2bmaovjfh3] .lookup-table thead th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

[b-2bmaovjfh3] .lookup-table td.bad { color: #dc2626; font-weight: 600; }

[b-2bmaovjfh3] .field-table tr.required code {
    color: #dc2626;
    font-weight: 600;
}

[b-2bmaovjfh3] .field-table tr.required td:last-child {
    color: #dc2626;
    font-weight: 700;
    text-align: center;
}

[b-2bmaovjfh3] .type-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
}

[b-2bmaovjfh3] .order-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

[b-2bmaovjfh3] .order-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.375rem;
    margin-bottom: 0.3rem;
}

[b-2bmaovjfh3] .order-list li.current {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
}

[b-2bmaovjfh3] .order-idx {
    background: #475569;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

[b-2bmaovjfh3] .order-list li.current .order-idx { background: #16a34a; }

[b-2bmaovjfh3] .parent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

[b-2bmaovjfh3] .parent-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

[b-2bmaovjfh3] .parent-list li:last-child { border-bottom: none; }

[b-2bmaovjfh3] .file-info { color: #64748b; font-size: 0.85rem; }

[b-2bmaovjfh3] .row-count {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

[b-2bmaovjfh3] .issue-block {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: #f8fafc;
    border-left: 4px solid #94a3b8;
}

[b-2bmaovjfh3] .issue-block.error { background: #fef2f2; border-left-color: #ef4444; }
[b-2bmaovjfh3] .issue-block.warning { background: #fef3c7; border-left-color: #f59e0b; }
[b-2bmaovjfh3] .issue-block ul { margin: 0.4rem 0 0; padding-left: 1.25rem; font-size: 0.85rem; }

/* SearchableSelect fallback 스타일 (컴포넌트 자체에 .razor.css 없으면 적용) */
[b-2bmaovjfh3] .searchable-select {
    position: relative;
    width: 100%;
}

[b-2bmaovjfh3] .searchable-select input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
}

[b-2bmaovjfh3] .searchable-select input.unmatched { border-color: #f59e0b; }

[b-2bmaovjfh3] .ss-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: 18rem;
    overflow-y: auto;
    margin-top: 0.25rem;
}

[b-2bmaovjfh3] .ss-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

[b-2bmaovjfh3] .ss-item.highlighted { background: #eff6ff; }

[b-2bmaovjfh3] .ss-empty {
    padding: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: italic;
}

[b-2bmaovjfh3] .hint-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: inline-block;
}

/* Object Record Clear 모달 — page-level (not card-scoped) */
.modal-overlay[b-2bmaovjfh3] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-card[b-2bmaovjfh3] {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: min(640px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-top: 4px solid #dc2626;
}

.modal-title[b-2bmaovjfh3] {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #991b1b;
}

.modal-body[b-2bmaovjfh3] { font-size: 0.9rem; color: #334155; }

.modal-actions[b-2bmaovjfh3] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.stat-row[b-2bmaovjfh3] {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.confirm-grid[b-2bmaovjfh3] { display: flex; flex-direction: column; gap: 0.5rem; }
.confirm-row[b-2bmaovjfh3] { display: flex; flex-direction: column; gap: 0.4rem; }

.confirm-row code[b-2bmaovjfh3] {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.confirm-row input[type="text"][b-2bmaovjfh3] {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}
/* /Components/Pages/Formula.razor.rz.scp.css */
/* ======= Design tokens ======= */
/* 색상 (slate + indigo) */
/* --bg: #fafafa, --surface: #ffffff, --border: #e5e7eb */
/* --text: #0f172a (slate-900), --text-muted: #64748b (slate-500) */
/* --accent: #4f46e5 (indigo-600), --accent-soft: #eef2ff (indigo-50) */
/* --success: #10b981, --danger: #ef4444, --warning: #f59e0b */

.playground[b-2q5tug2nre] {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 32px 64px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    background: #fafafa;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ======= Top nav ======= */
.top-nav[b-2q5tug2nre] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    color: #64748b;
}

.nav-back[b-2q5tug2nre] {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-back:hover[b-2q5tug2nre] {
    color: #4338ca;
    text-decoration: underline;
}

.nav-divider[b-2q5tug2nre] {
    color: #cbd5e1;
}

.nav-current[b-2q5tug2nre] {
    color: #0f172a;
    font-weight: 500;
}

/* ======= Header ======= */
.header[b-2q5tug2nre] {
    margin-bottom: 24px;
}

.header h1[b-2q5tug2nre] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.subtitle[b-2q5tug2nre] {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

/* ======= Context bar ======= */
.context-bar[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.context-field[b-2q5tug2nre] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.context-field-wide[b-2q5tug2nre] {
    grid-column: 1 / -1;
}

.context-field label[b-2q5tug2nre] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.current-record-input[b-2q5tug2nre] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.current-record-input input[b-2q5tug2nre] {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 0.85rem;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.current-record-input input:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.current-record-input input:disabled[b-2q5tug2nre] {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
}

.badge-success[b-2q5tug2nre] {
    padding: 4px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-error[b-2q5tug2nre] {
    padding: 4px 10px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.context-error[b-2q5tug2nre] {
    grid-column: 1 / -1;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.85rem;
}

/* ======= Columns =======
 * 세로 배치: 위 = 수식 입력 + 변수 패널 + 변수 행, 아래 = 평가 결과.
 * 변수 사전 패널이 300px 고정이라 좌우 1:1 컬럼 안에 욱여넣으면 에디터가 너무 좁아져 UI 깨짐.
 * 평가 결과는 세로 blocks 구성이라 아래로 내려도 시각 흐름이 자연스러움.
 */
.columns[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 평가 결과 패널이 아래로 내려오면 세로로 길어지므로 카드 내부를 좌우 2열로 펼침 */
.panel-output[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px 20px;
    align-items: start;
}

/* ======= Panels / Cards ======= */
.panel[b-2q5tug2nre] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.panel-output[b-2q5tug2nre] {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.panel-section[b-2q5tug2nre] {
    margin-bottom: 20px;
}

.panel-section:last-of-type[b-2q5tug2nre] {
    margin-bottom: 0;
}

.section-header[b-2q5tug2nre] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.section-header h2[b-2q5tug2nre] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.005em;
}

.preset-group[b-2q5tug2nre] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
}

.preset-group select[b-2q5tug2nre] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    font-size: 0.8rem;
    color: #0f172a;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.preset-group select:hover[b-2q5tug2nre] {
    border-color: #cbd5e1;
}

/* ======= Formula editor + reference panel =======
 * FormulaVariablePanel 은 width 300px (min 260 / max 340) 를 자체 관리하므로
 * 그리드 트랙은 고정값 대신 auto 로 두고 에디터 쪽이 남은 폭 전부 사용. */
.formula-row[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

@media (max-width: 900px) {
    /* 좁은 화면에선 에디터 위, 변수 패널 아래로 세로 배치 */
    .formula-row[b-2q5tug2nre] { grid-template-columns: 1fr; }
}

.ref-panel[b-2q5tug2nre] {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    min-height: 0;
    max-height: 340px;
}

.ref-panel-header[b-2q5tug2nre] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}

.ref-panel-hint[b-2q5tug2nre] {
    font-size: 0.65rem;
    font-weight: 400;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
}

.ref-search[b-2q5tug2nre] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    background: #ffffff;
    margin-bottom: 8px;
    font-family: inherit;
    box-sizing: border-box;
}

.ref-search:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.ref-scroll[b-2q5tug2nre] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.ref-scroll[b-2q5tug2nre]::-webkit-scrollbar { width: 6px; }
.ref-scroll[b-2q5tug2nre]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.ref-group[b-2q5tug2nre] {
    margin-bottom: 10px;
}

.ref-group-label[b-2q5tug2nre] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 4px 6px;
}

.ref-item[b-2q5tug2nre] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.75rem;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.12s, border-color 0.12s;
    margin-bottom: 1px;
}

.ref-item:hover[b-2q5tug2nre] {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.ref-item:active[b-2q5tug2nre] {
    background: #e0e7ff;
}

.ref-expr[b-2q5tug2nre] {
    color: #4338ca;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.ref-type-badge[b-2q5tug2nre] {
    display: inline-flex;
    padding: 1px 6px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: "Inter", sans-serif;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ref-item:hover .ref-type-badge[b-2q5tug2nre] {
    background: #c7d2fe;
    color: #3730a3;
}

.ref-empty[b-2q5tug2nre] {
    padding: 8px;
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: italic;
    text-align: center;
}

@media (max-width: 900px) {
    .formula-row[b-2q5tug2nre] { grid-template-columns: 1fr; }
    .ref-panel[b-2q5tug2nre] { max-height: 220px; }
}

/* ======= Formula editor ======= */
.formula-editor[b-2q5tug2nre] {
    width: 100%;
    font-family: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.5;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.formula-editor:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.formula-editor[b-2q5tug2nre]::placeholder {
    color: #94a3b8;
}

/* ======= Variable table ======= */
.var-table[b-2q5tug2nre] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.var-table thead[b-2q5tug2nre] {
    background: transparent;
}

.var-table th[b-2q5tug2nre] {
    text-align: left;
    padding: 8px 10px;
    font-weight: 600;
    color: #64748b;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e5e7eb;
}

.var-table td[b-2q5tug2nre] {
    padding: 8px 8px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.var-table tr:last-child td[b-2q5tug2nre] {
    border-bottom: none;
}

.var-table input[b-2q5tug2nre],
.var-table select[b-2q5tug2nre] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.var-table input:focus[b-2q5tug2nre],
.var-table select:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.var-table input[type="number"][b-2q5tug2nre] {
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    font-variant-numeric: tabular-nums;
}

.empty-row[b-2q5tug2nre] {
    text-align: center;
    color: #94a3b8;
    padding: 24px 16px !important;
    font-style: italic;
    font-size: 0.85rem;
}

/* ======= Buttons ======= */
.action-buttons[b-2q5tug2nre] {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn[b-2q5tug2nre] {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    letter-spacing: -0.005em;
}

.btn:disabled[b-2q5tug2nre] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sm[b-2q5tug2nre] {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-primary[b-2q5tug2nre] {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover:not(:disabled)[b-2q5tug2nre] {
    background: #4338ca;
    border-color: #4338ca;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.btn-secondary[b-2q5tug2nre] {
    background: #ffffff;
    color: #475569;
    border-color: #e5e7eb;
}

.btn-secondary:hover:not(:disabled)[b-2q5tug2nre] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-icon[b-2q5tug2nre] {
    background: transparent;
    color: #94a3b8;
    padding: 4px 10px;
    font-size: 1rem;
    line-height: 1;
    border-color: transparent;
}

.btn-icon:hover:not(:disabled)[b-2q5tug2nre] {
    background: #fef2f2;
    color: #dc2626;
}

.busy-indicator[b-2q5tug2nre] {
    color: #64748b;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ======= Result blocks ======= */
.result-block[b-2q5tug2nre] {
    margin-bottom: 16px;
}

.result-block:last-child[b-2q5tug2nre] {
    margin-bottom: 0;
}

.result-block h3[b-2q5tug2nre] {
    margin: 0 0 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.result-value[b-2q5tug2nre] {
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.result-value > div + div[b-2q5tug2nre] {
    margin-top: 4px;
}

.result-value .label[b-2q5tug2nre] {
    color: #64748b;
    font-weight: 500;
    margin-right: 6px;
    font-size: 0.8rem;
}

.result-value code[b-2q5tug2nre] {
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    color: #4f46e5;
    background: transparent;
    padding: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.code-block[b-2q5tug2nre] {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    overflow-x: auto;
}

.mapping-list[b-2q5tug2nre] {
    list-style: none;
    padding: 12px 14px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
}

.mapping-list li[b-2q5tug2nre] {
    padding: 3px 0;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    line-height: 1.7;
}

.mapping-list code[b-2q5tug2nre] {
    color: #db2777;
    background: transparent;
    padding: 1px 6px;
    background: #fdf4ff;
    border-radius: 4px;
    font-size: 0.8rem;
}

.mapping-type[b-2q5tug2nre] {
    color: #94a3b8;
    font-style: italic;
    margin-left: 8px;
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
}

.placeholder[b-2q5tug2nre] {
    padding: 12px 14px;
    background: transparent;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #94a3b8;
    font-style: italic;
    font-size: 0.85rem;
}

.error-box[b-2q5tug2nre] {
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.88rem;
    line-height: 1.6;
}

.error-box strong[b-2q5tug2nre] {
    margin-right: 4px;
    color: #7f1d1d;
}

/* ======= Inline fields (bindings) ======= */
.inline-fields[b-2q5tug2nre] {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.inline-fields > *[b-2q5tug2nre] {
    flex: 1;
    min-width: 0;
}

.binding-stack[b-2q5tug2nre] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agg-fields[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 6px;
    align-items: start;
}

.agg-func[b-2q5tug2nre] {
    padding: 7px 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #4f46e5 !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 7px !important;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 011.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 14px;
    padding-right: 20px !important;
}

.agg-func:hover[b-2q5tug2nre] {
    background-color: #e0e7ff !important;
    border-color: #a5b4fc !important;
}

.agg-func:focus[b-2q5tug2nre] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.readonly-type[b-2q5tug2nre] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    font-weight: 500;
}

/* ======= Filter panel ======= */
.filter-panel[b-2q5tug2nre] {
    margin-top: 6px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-header[b-2q5tug2nre] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label[b-2q5tug2nre] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    flex: 1;
    text-transform: uppercase;
}

.filter-logical[b-2q5tug2nre] {
    padding: 3px 10px;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    background: #eef2ff;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.filter-row[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1.4fr auto;
    gap: 6px;
    align-items: center;
}

.filter-row > select[b-2q5tug2nre],
.filter-row > input[b-2q5tug2nre] {
    padding: 5px 8px;
    font-size: 0.78rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    min-width: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-row > select:focus[b-2q5tug2nre],
.filter-row > input:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

.filter-no-value[b-2q5tug2nre] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
    padding: 5px 8px;
}

.right-operand[b-2q5tug2nre] {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 4px;
    min-width: 0;
}

.right-operand > *[b-2q5tug2nre] {
    min-width: 0;
}

.right-operand .right-type[b-2q5tug2nre] {
    padding: 4px 6px;
    font-size: 0.68rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.right-operand > select:not(.right-type)[b-2q5tug2nre],
.right-operand > input[b-2q5tug2nre] {
    padding: 5px 8px;
    font-size: 0.78rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.right-operand > select:not(.right-type):focus[b-2q5tug2nre],
.right-operand > input:focus[b-2q5tug2nre] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
}

/* Live validation — debounce 후 backend / frontend 결과 즉시 표시 */
.live-validation[b-2q5tug2nre] {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: opacity 0.15s;
}
.live-validation.busy[b-2q5tug2nre] { opacity: 0.7; }
.live-row[b-2q5tug2nre] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.live-label[b-2q5tug2nre] {
    flex: 0 0 220px;
    font-weight: 600;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.live-pill[b-2q5tug2nre] {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}
.live-pill.ok[b-2q5tug2nre] { background: #dcfce7; color: #166534; }
.live-pill.err[b-2q5tug2nre] { background: #fee2e2; color: #991b1b; font-family: inherit; }
.live-pill.busy[b-2q5tug2nre] { background: #e0e7ff; color: #4338ca; }
.live-pill.idle[b-2q5tug2nre] { background: #f1f5f9; color: #94a3b8; }
.live-code[b-2q5tug2nre] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    padding: 2px 8px;
    background: #1e293b;
    color: #fbbf24;
    border-radius: 4px;
    letter-spacing: 0.02em;
}
.live-compare[b-2q5tug2nre] {
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}
.live-compare.match[b-2q5tug2nre] { background: #dcfce7; color: #166534; }
.live-compare.mismatch[b-2q5tug2nre] { background: #fef3c7; color: #78350f; }
/* /Components/Pages/Home.razor.rz.scp.css */
.landing[b-o3denzij1a] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 32px 96px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    background: #fafafa;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.hero[b-o3denzij1a] {
    text-align: center;
    margin-bottom: 64px;
}

.hero h1[b-o3denzij1a] {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f172a;
    line-height: 1.1;
}

.tagline[b-o3denzij1a] {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 400;
}

.cards[b-o3denzij1a] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card[b-o3denzij1a] {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-active[b-o3denzij1a] {
    cursor: pointer;
}

.card-active:hover[b-o3denzij1a] {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.1), 0 4px 8px rgba(15, 23, 42, 0.04);
    border-color: #c7d2fe;
}

.card-coming[b-o3denzij1a] {
    background: #f8fafc;
    border-color: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.85;
}

.card-icon[b-o3denzij1a] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 14px;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 10px;
}

.card-coming .card-icon[b-o3denzij1a] {
    color: #94a3b8;
    background: #f1f5f9;
}

.card h2[b-o3denzij1a] {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card p[b-o3denzij1a] {
    margin: 0 0 20px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    flex: 1;
}

.card-cta[b-o3denzij1a] {
    font-size: 0.85rem;
    color: #4f46e5;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s;
}

.card-active:hover .card-cta[b-o3denzij1a] {
    gap: 8px;
}

.card-badge[b-o3denzij1a] {
    display: inline-block;
    padding: 3px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}
/* /Components/Pages/ObjectField.razor.rz.scp.css */
.playground[b-rfpg5shflq] { max-width: 1200px; margin: 0 auto; padding: 1.5rem; color: #0f172a; }
.top-nav[b-rfpg5shflq] { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; font-size: 0.875rem; color: #64748b; }
.nav-back[b-rfpg5shflq] { color: #475569; text-decoration: none; font-weight: 500; }
.nav-back:hover[b-rfpg5shflq] { color: #0f172a; }
.nav-divider[b-rfpg5shflq] { color: #cbd5e1; }
.header[b-rfpg5shflq] { margin-bottom: 1.5rem; }
.header h1[b-rfpg5shflq] { margin: 0; font-size: 1.75rem; font-weight: 700; }
.subtitle[b-rfpg5shflq] { color: #64748b; margin: 0.25rem 0 0; font-size: 0.95rem; }

.context-bar[b-rfpg5shflq] {
    display: flex; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 0.5rem;
}
.context-field[b-rfpg5shflq] { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.context-field label[b-rfpg5shflq] { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
.context-field select[b-rfpg5shflq], .context-field input[b-rfpg5shflq] {
    padding: 0.5rem; border: 1px solid #cbd5e1; border-radius: 0.375rem; background: #fff; font-size: 0.875rem;
}

.tab-panel[b-rfpg5shflq] {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 0.5rem;
    padding: 1.25rem; margin-bottom: 1rem;
}
.tab-panel h2[b-rfpg5shflq] { margin: 0 0 0.75rem; font-size: 1.125rem; font-weight: 600; }

.form-grid[b-rfpg5shflq] {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.form-grid label[b-rfpg5shflq] {
    display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: #475569;
}
.form-grid label.check[b-rfpg5shflq] {
    flex-direction: row; align-items: center; gap: 0.5rem;
}
.form-grid input[b-rfpg5shflq], .form-grid select[b-rfpg5shflq] {
    padding: 0.4rem 0.6rem; border: 1px solid #cbd5e1; border-radius: 0.25rem;
    font-size: 0.9rem; font-family: inherit;
}

.action-bar[b-rfpg5shflq] { display: flex; gap: 0.5rem; margin: 0.75rem 0; flex-wrap: wrap; }

.btn[b-rfpg5shflq] {
    padding: 0.5rem 1rem; border: 1px solid #cbd5e1; border-radius: 0.375rem;
    background: #fff; font-size: 0.875rem; font-weight: 500; cursor: pointer;
}
.btn:hover:not(:disabled)[b-rfpg5shflq] { background: #f1f5f9; }
.btn:disabled[b-rfpg5shflq] { opacity: 0.5; cursor: not-allowed; }
.btn-primary[b-rfpg5shflq] { background: #2563eb; border-color: #2563eb; color: #fff; }
.btn-primary:hover:not(:disabled)[b-rfpg5shflq] { background: #1d4ed8; }
.btn-danger[b-rfpg5shflq] { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-danger:hover:not(:disabled)[b-rfpg5shflq] { background: #b91c1c; }
.btn-small[b-rfpg5shflq] { padding: 0.25rem 0.6rem; font-size: 0.8rem; }

.field-table[b-rfpg5shflq] { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.field-table th[b-rfpg5shflq], .field-table td[b-rfpg5shflq] { padding: 0.5rem 0.75rem; border-bottom: 1px solid #e2e8f0; text-align: left; }
.field-table th[b-rfpg5shflq] { background: #f8fafc; font-weight: 600; color: #475569; font-size: 0.8rem; text-transform: uppercase; }
.field-table code[b-rfpg5shflq] { font-family: "JetBrains Mono", monospace; font-size: 0.85em; color: #0f172a; }

.result-panel[b-rfpg5shflq] {
    margin-top: 0.75rem; padding: 0.75rem 1rem;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.375rem;
    font-size: 0.85rem;
}
.result-panel.error[b-rfpg5shflq] { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.result-panel pre[b-rfpg5shflq] {
    font-family: "JetBrains Mono", monospace; font-size: 0.8rem;
    background: #fff; padding: 0.5rem; border-radius: 0.25rem; margin: 0.25rem 0; white-space: pre-wrap;
}

.hint[b-rfpg5shflq] { color: #64748b; font-size: 0.875rem; margin: 0; }
code[b-rfpg5shflq] { font-family: "JetBrains Mono", monospace; font-size: 0.85em; }
/* /Components/Pages/SchemaImport.razor.rz.scp.css */
.playground[b-eh97dzjuhb] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    color: #0f172a;
}

.top-nav[b-eh97dzjuhb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.nav-back[b-eh97dzjuhb] {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.nav-back:hover[b-eh97dzjuhb] {
    color: #0f172a;
}

.nav-divider[b-eh97dzjuhb] {
    color: #cbd5e1;
}

.header[b-eh97dzjuhb] {
    margin-bottom: 1.5rem;
}

.header h1[b-eh97dzjuhb] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.subtitle[b-eh97dzjuhb] {
    color: #64748b;
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
}

.context-bar[b-eh97dzjuhb] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.context-field[b-eh97dzjuhb] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.context-field label[b-eh97dzjuhb] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.context-field select[b-eh97dzjuhb] {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
}

.tabs[b-eh97dzjuhb] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.tab-button[b-eh97dzjuhb] {
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-button:hover[b-eh97dzjuhb] {
    color: #0f172a;
}

.tab-button.active[b-eh97dzjuhb] {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.tab-panel[b-eh97dzjuhb] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.tab-panel h2[b-eh97dzjuhb] {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.code-input[b-eh97dzjuhb] {
    width: 100%;
    font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
    font-size: 0.85rem;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    resize: vertical;
    background: #f8fafc;
}

.action-bar[b-eh97dzjuhb] {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.btn[b-eh97dzjuhb] {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.btn:hover:not(:disabled)[b-eh97dzjuhb] {
    background: #f1f5f9;
}

.btn:disabled[b-eh97dzjuhb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-eh97dzjuhb] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.btn-primary:hover:not(:disabled)[b-eh97dzjuhb] {
    background: #1d4ed8;
}

.btn-secondary[b-eh97dzjuhb] {
    background: #64748b;
    border-color: #64748b;
    color: #fff;
}

.mode-bar[b-eh97dzjuhb] {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 0.375rem;
}

.mode-option[b-eh97dzjuhb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.result-panel[b-eh97dzjuhb] {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.result-panel.success[b-eh97dzjuhb] {
    background: #f0fdf4;
    border-color: #86efac;
}

.result-panel.error[b-eh97dzjuhb] {
    background: #fef2f2;
    border-color: #fecaca;
}

.result-panel h3[b-eh97dzjuhb] {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.result-panel pre[b-eh97dzjuhb] {
    white-space: pre-wrap;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: #991b1b;
    margin: 0;
}

.parse-errors[b-eh97dzjuhb] {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    color: #991b1b;
    font-size: 0.85rem;
}

.parse-errors ul[b-eh97dzjuhb] {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.table-card[b-eh97dzjuhb] {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    border-left-width: 4px;
}

.table-card.ok[b-eh97dzjuhb] {
    border-left-color: #22c55e;
}

.table-card.fail[b-eh97dzjuhb] {
    border-left-color: #ef4444;
}

.table-card-header[b-eh97dzjuhb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.status-indicator[b-eh97dzjuhb] {
    font-weight: 700;
    font-size: 1.1rem;
}

.table-card.ok .status-indicator[b-eh97dzjuhb] {
    color: #22c55e;
}

.table-card.fail .status-indicator[b-eh97dzjuhb] {
    color: #ef4444;
}

.table-name[b-eh97dzjuhb] {
    font-weight: 600;
    font-family: "JetBrains Mono", monospace;
}

.table-summary[b-eh97dzjuhb] {
    color: #64748b;
    font-size: 0.875rem;
}

.warning-count[b-eh97dzjuhb] {
    color: #d97706;
}

.junction-toggle[b-eh97dzjuhb] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid #c084fc;
    border-radius: 999px;
    background: #faf5ff;
    color: #6b21a8;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.junction-toggle:hover[b-eh97dzjuhb] {
    background: #f3e8ff;
}

.junction-toggle input[type="checkbox"][b-eh97dzjuhb] {
    accent-color: #9333ea;
    cursor: pointer;
}

.junction-label[b-eh97dzjuhb] {
    line-height: 1;
}

.issue-list[b-eh97dzjuhb] {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
}

.issue-list code[b-eh97dzjuhb] {
    background: #e2e8f0;
    padding: 0.05rem 0.3rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.error-list li[b-eh97dzjuhb] {
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.warning-list li[b-eh97dzjuhb] {
    color: #92400e;
    margin-bottom: 0.25rem;
}

.badge[b-eh97dzjuhb] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: #2563eb;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

code[b-eh97dzjuhb] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85em;
}

.preview-stats[b-eh97dzjuhb] {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 0.375rem;
}

.stat[b-eh97dzjuhb] {
    font-size: 0.9rem;
    color: #475569;
}

.stat strong[b-eh97dzjuhb] {
    color: #0f172a;
    font-weight: 700;
}

.stat-ok[b-eh97dzjuhb] {
    margin-left: auto;
    color: #15803d;
    font-weight: 600;
}

.stat-fail[b-eh97dzjuhb] {
    margin-left: auto;
    color: #b91c1c;
    font-weight: 600;
}

.preview-section[b-eh97dzjuhb] {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.preview-section h4[b-eh97dzjuhb] {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.preview-section ul[b-eh97dzjuhb], .preview-section ol[b-eh97dzjuhb] {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

.preview-fail[b-eh97dzjuhb] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.preview-fail h4[b-eh97dzjuhb] {
    color: #991b1b;
}

.order-list[b-eh97dzjuhb] {
    columns: 3;
    column-gap: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.order-list li[b-eh97dzjuhb] {
    margin-bottom: 0.25rem;
    break-inside: avoid;
}

.order-idx[b-eh97dzjuhb] {
    display: inline-block;
    min-width: 2rem;
    color: #64748b;
    font-size: 0.75rem;
}

.graph-container[b-eh97dzjuhb] {
    width: 100%;
    height: 600px;
    background: #f8fafc;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

.graph-header[b-eh97dzjuhb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.graph-header h4[b-eh97dzjuhb] {
    margin: 0;
}

.graph-hint[b-eh97dzjuhb] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.graph-legend[b-eh97dzjuhb] {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    color: #475569;
}

.legend-item[b-eh97dzjuhb] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot[b-eh97dzjuhb] {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 0.2rem;
    border: 2px solid;
}

.dot-batch[b-eh97dzjuhb] {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.dot-system[b-eh97dzjuhb] {
    background: rgba(16, 185, 129, 0.15);
    border-color: #059669;
    transform: rotate(45deg);
}

.dot-cycle[b-eh97dzjuhb] {
    background: rgba(239, 68, 68, 0.15);
    border-color: #dc2626;
}

.layout-toggle[b-eh97dzjuhb] {
    display: flex;
    gap: 0.25rem;
}

.layout-btn[b-eh97dzjuhb] {
    padding: 0.25rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.25rem;
    background: #fff;
    font-size: 0.75rem;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
}

.layout-btn:hover[b-eh97dzjuhb] {
    background: #f1f5f9;
}

.layout-btn.active[b-eh97dzjuhb] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    font-weight: 600;
}

.confirm-btn[b-eh97dzjuhb] {
    background: #16a34a;
    border-color: #16a34a;
}

.confirm-btn:hover:not(:disabled)[b-eh97dzjuhb] {
    background: #15803d;
}

.btn label[b-eh97dzjuhb],
label.btn[b-eh97dzjuhb] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
/* /Components/Pages/WorkspaceGraph.razor.rz.scp.css */
.playground[b-q0s9zi46c5] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    color: #0f172a;
}

.top-nav[b-q0s9zi46c5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.nav-back[b-q0s9zi46c5] { color: #475569; text-decoration: none; font-weight: 500; }
.nav-back:hover[b-q0s9zi46c5] { color: #0f172a; }
.nav-divider[b-q0s9zi46c5] { color: #cbd5e1; }

.header[b-q0s9zi46c5] { margin-bottom: 1.5rem; }
.header h1[b-q0s9zi46c5] { margin: 0; font-size: 1.75rem; font-weight: 700; }
.subtitle[b-q0s9zi46c5] { color: #64748b; margin: 0.25rem 0 0; font-size: 0.95rem; }

.context-bar[b-q0s9zi46c5] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.context-field[b-q0s9zi46c5] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.context-field label[b-q0s9zi46c5] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.context-field select[b-q0s9zi46c5] {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
}

.btn[b-q0s9zi46c5] {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.btn:hover:not(:disabled)[b-q0s9zi46c5] { background: #f1f5f9; }
.btn:disabled[b-q0s9zi46c5] { opacity: 0.5; cursor: not-allowed; }
.btn-primary[b-q0s9zi46c5] { background: #2563eb; border-color: #2563eb; color: #fff; }
.btn-primary:hover:not(:disabled)[b-q0s9zi46c5] { background: #1d4ed8; }

.result-panel[b-q0s9zi46c5] {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.result-panel.error[b-q0s9zi46c5] {
    background: #fef2f2;
    border-color: #fecaca;
}

.result-panel pre[b-q0s9zi46c5] {
    white-space: pre-wrap;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: #991b1b;
    margin: 0;
}

.preview-stats[b-q0s9zi46c5] {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 0.375rem;
    flex-wrap: wrap;
}

.stat[b-q0s9zi46c5] { font-size: 0.9rem; color: #475569; }
.stat strong[b-q0s9zi46c5] { color: #0f172a; font-weight: 700; }

.stat-fail[b-q0s9zi46c5] {
    color: #b91c1c;
    font-weight: 600;
}

.preview-section[b-q0s9zi46c5] {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.preview-section h4[b-q0s9zi46c5] {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.preview-section ul[b-q0s9zi46c5] {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

.preview-fail[b-q0s9zi46c5] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.preview-fail h4[b-q0s9zi46c5] { color: #991b1b; }

.graph-container[b-q0s9zi46c5] {
    width: 100%;
    height: 700px;
    background: #f8fafc;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

.graph-header[b-q0s9zi46c5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.graph-header h4[b-q0s9zi46c5] { margin: 0; }

.graph-hint[b-q0s9zi46c5] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.graph-legend[b-q0s9zi46c5] {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    color: #475569;
}

.legend-item[b-q0s9zi46c5] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot[b-q0s9zi46c5] {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 0.2rem;
    border: 2px solid;
}

.dot-custom[b-q0s9zi46c5] {
    background: rgba(59, 130, 246, 0.15);
    border-color: #2563eb;
}

.dot-standard[b-q0s9zi46c5] {
    background: rgba(16, 185, 129, 0.15);
    border-color: #059669;
}

.dot-junction[b-q0s9zi46c5] {
    background: rgba(168, 85, 247, 0.15);
    border-color: #7c3aed;
    border-radius: 0;
    transform: rotate(45deg);
}

.dot-cycle[b-q0s9zi46c5] {
    background: rgba(239, 68, 68, 0.15);
    border-color: #dc2626;
}

.layout-toggle[b-q0s9zi46c5] {
    display: flex;
    gap: 0.25rem;
}

.layout-btn[b-q0s9zi46c5] {
    padding: 0.25rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.25rem;
    background: #fff;
    font-size: 0.75rem;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
}

.layout-btn:hover[b-q0s9zi46c5] { background: #f1f5f9; }
.layout-btn.active[b-q0s9zi46c5] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    font-weight: 600;
}

code[b-q0s9zi46c5] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85em;
}
/* /Components/Pages/WorkspaceReset.razor.rz.scp.css */
/* 공통 레이아웃은 wwwroot/css/playground-common.css. 여기는 Reset 페이지 전용. */

.danger-banner[b-nx2vt6zpl8] {
    padding: 1rem 1.25rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
    font-size: 0.95rem;
}

.danger-banner strong[b-nx2vt6zpl8] { color: #7f1d1d; }

.empty-state[b-nx2vt6zpl8] {
    padding: 2.5rem 2rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.5rem;
}

.empty-state p[b-nx2vt6zpl8] { margin: 0; font-size: 0.95rem; }

.plan-stack[b-nx2vt6zpl8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[b-nx2vt6zpl8] .card-main {
    border-left: 4px solid #2563eb;
}

[b-nx2vt6zpl8] .card-danger {
    border-left: 4px solid #dc2626;
    background: #fffbfb;
}

[b-nx2vt6zpl8] .stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

[b-nx2vt6zpl8] .stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

[b-nx2vt6zpl8] .stat-emphasis {
    background: #fef2f2;
    border-color: #fecaca;
}

[b-nx2vt6zpl8] .stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

[b-nx2vt6zpl8] .stat-emphasis .stat-num {
    color: #dc2626;
}

[b-nx2vt6zpl8] .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[b-nx2vt6zpl8] .table-scroll {
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid #f1f5f9;
    border-radius: 0.375rem;
}

[b-nx2vt6zpl8] .field-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

[b-nx2vt6zpl8] .field-table th,
[b-nx2vt6zpl8] .field-table td {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

[b-nx2vt6zpl8] .field-table thead th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    position: sticky;
    top: 0;
}

[b-nx2vt6zpl8] .type-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

[b-nx2vt6zpl8] .type-standard { background: #dbeafe; color: #1e40af; }
[b-nx2vt6zpl8] .type-custom { background: #f3e8ff; color: #6b21a8; }
[b-nx2vt6zpl8] .type-junction { background: #fef3c7; color: #92400e; }

[b-nx2vt6zpl8] .confirm-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

[b-nx2vt6zpl8] .confirm-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

[b-nx2vt6zpl8] .confirm-row span {
    font-size: 0.9rem;
    color: #334155;
}

[b-nx2vt6zpl8] .confirm-row code {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

[b-nx2vt6zpl8] .confirm-row input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

[b-nx2vt6zpl8] .confirm-row input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}
/* /Components/Shared/FormulaEditor.razor.rz.scp.css */
/* FormulaEditor 기본 외형 — 부모가 CssClass 로 추가 스타일링 가능 */
.formula-editor[b-v7qqazo7q5] {
    width: 100%;
    min-height: 96px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-family: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-y: auto;
}

.formula-editor:focus[b-v7qqazo7q5],
.formula-editor.ce-root:focus[b-v7qqazo7q5] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
/* /Components/Shared/FormulaVariablePanel.razor.rz.scp.css */
.fv-panel[b-5swinvqs03] {
    width: 300px;
    min-width: 260px;
    max-width: 340px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.fv-header[b-5swinvqs03] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.fv-title[b-5swinvqs03] {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.fv-hint[b-5swinvqs03] {
    font-size: 11px;
    color: #94a3b8;
}

.fv-search[b-5swinvqs03] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    box-sizing: border-box;
    outline: none;
}

.fv-search:focus[b-5swinvqs03] {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.fv-group[b-5swinvqs03] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fv-group-label[b-5swinvqs03] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 2px 0;
}

.fv-subtle[b-5swinvqs03] {
    color: #94a3b8;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.fv-empty[b-5swinvqs03] {
    font-size: 11px;
    color: #94a3b8;
    padding: 4px 0;
}

.fv-chip-row[b-5swinvqs03] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.fv-chip[b-5swinvqs03] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid transparent;
    background: #f8fafc;
    border-radius: 4px;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    font-size: 12px;
    cursor: pointer;
    max-width: 100%;
}

.fv-chip:hover[b-5swinvqs03] {
    filter: brightness(0.96);
}

.fv-chip-var[b-5swinvqs03] {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.fv-chip-sys[b-5swinvqs03] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.fv-chip-kw[b-5swinvqs03] {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
    font-weight: 600;
}

.fv-chip .fv-name[b-5swinvqs03] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fv-chip .fv-type[b-5swinvqs03] {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    padding: 1px 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    flex-shrink: 0;
}

/* ========= Tree (hierarchy 필드) ========= */
.fv-tree[b-5swinvqs03] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fv-tree-row[b-5swinvqs03] {
    display: block;
}

.fv-tree-btn[b-5swinvqs03] {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 4px;
    font-family: "JetBrains Mono", "SF Mono", monospace;
    font-size: 12px;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fv-tree-btn:hover[b-5swinvqs03] {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.fv-caret[b-5swinvqs03] {
    display: inline-block;
    width: 12px;
    color: #64748b;
    font-size: 10px;
    flex-shrink: 0;
}

.fv-tree-row .fv-name[b-5swinvqs03] {
    font-weight: 500;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fv-tree-row.is-rel .fv-name[b-5swinvqs03] {
    color: #475569;
}

.fv-tree-row.is-leaf .fv-tree-btn[b-5swinvqs03] {
    color: #c2410c;
    padding-left: 20px;  /* caret 자리만큼 들여씀 */
}

.fv-tree-row.is-leaf .fv-name[b-5swinvqs03] {
    color: #c2410c;
}

.fv-tree-row .fv-type[b-5swinvqs03] {
    margin-left: auto;
    font-size: 10px;
    color: #94a3b8;
    font-family: "Inter", sans-serif;
    padding: 1px 6px;
    background: #f1f5f9;
    border-radius: 3px;
    flex-shrink: 0;
}
/* /Components/Shared/MemberPickerSelect.razor.rz.scp.css */
[b-eyqytebjee] .member-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

[b-eyqytebjee] .member-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
}

[b-eyqytebjee] .member-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
}

[b-eyqytebjee] .member-email {
    font-family: "JetBrains Mono", monospace;
}

[b-eyqytebjee] .member-level {
    display: inline-block;
    padding: 0.05rem 0.4rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.65rem;
    background: #e2e8f0;
    color: #475569;
}

[b-eyqytebjee] .member-level-admin {
    background: #fee2e2;
    color: #991b1b;
}

[b-eyqytebjee] .member-level-member {
    background: #dbeafe;
    color: #1e40af;
}

[b-eyqytebjee] .member-level-guest {
    background: #fef3c7;
    color: #92400e;
}

[b-eyqytebjee] .member-level-external {
    background: #f3e8ff;
    color: #6b21a8;
}
/* /Components/Shared/MiniSelect.razor.rz.scp.css */
.mini-select[b-ngluu6zqaz] {
    position: relative;
    display: inline-block;
    outline: none;
    min-width: 0;
}

.mini-select-button[b-ngluu6zqaz] {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 6px 10px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.mini-select-button:hover:not(:disabled)[b-ngluu6zqaz] {
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.mini-select-button:disabled[b-ngluu6zqaz] {
    opacity: 0.5;
    cursor: not-allowed;
}

.mini-select.open .mini-select-button[b-ngluu6zqaz] {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}

.mini-select-label[b-ngluu6zqaz] {
    flex: 1;
    text-align: left;
    letter-spacing: 0.02em;
}

.mini-select-chevron[b-ngluu6zqaz] {
    color: #6366f1;
    font-size: 0.7rem;
    transition: transform 0.15s;
}

.mini-select.open .mini-select-chevron[b-ngluu6zqaz] {
    transform: rotate(180deg);
}

.mini-select-panel[b-ngluu6zqaz] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 240px;
    z-index: 60;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12),
                0 4px 6px -4px rgba(15, 23, 42, 0.08);
    padding: 4px;
}

.mini-select-item[b-ngluu6zqaz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    font-size: 0.82rem;
    color: #0f172a;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.1s;
    font-weight: 500;
}

.mini-select-item:hover[b-ngluu6zqaz] {
    background: #eef2ff;
    color: #312e81;
}

.mini-select-item.selected[b-ngluu6zqaz] {
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
}

.mini-select-check[b-ngluu6zqaz] {
    color: #4f46e5;
    font-size: 0.8rem;
    margin-left: 8px;
}
/* /Components/Shared/RecordPickerSelect.razor.rz.scp.css */
.record-picker[b-ph9giclx7l] {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.record-picker input[b-ph9giclx7l] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 0.85rem;
    font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
    background: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.record-picker input:focus[b-ph9giclx7l] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.record-picker input:disabled[b-ph9giclx7l] {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
}

.record-picker input.unmatched[b-ph9giclx7l] {
    border-color: #f87171;
}

.rp-dropdown[b-ph9giclx7l] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 28px -5px rgba(15, 23, 42, 0.15),
                0 4px 8px -4px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rp-meta[b-ph9giclx7l] {
    padding: 8px 12px;
    font-size: 0.7rem;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 6px;
    align-items: center;
}

.rp-hint[b-ph9giclx7l] {
    color: #94a3b8;
}

.rp-error[b-ph9giclx7l] {
    color: #dc2626;
    font-weight: 500;
}

.rp-scroll[b-ph9giclx7l] {
    height: 280px;
    overflow-y: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.rp-scroll[b-ph9giclx7l]::-webkit-scrollbar { width: 6px; }
.rp-scroll[b-ph9giclx7l]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.rp-item[b-ph9giclx7l] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #0f172a;
    cursor: pointer;
    border-radius: 5px;
    height: 36px;
    box-sizing: border-box;
    transition: background-color 0.1s;
}

.rp-item:hover[b-ph9giclx7l] {
    background: #eef2ff;
    color: #312e81;
}

.rp-label[b-ph9giclx7l] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.rp-id[b-ph9giclx7l] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    color: #94a3b8;
    padding: 2px 6px;
    background: #f1f5f9;
    border-radius: 4px;
    flex-shrink: 0;
}

.rp-item:hover .rp-id[b-ph9giclx7l] {
    background: #c7d2fe;
    color: #4338ca;
}

.rp-empty[b-ph9giclx7l],
.rp-loading[b-ph9giclx7l],
.rp-placeholder[b-ph9giclx7l] {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    font-style: italic;
}
/* /Components/Shared/SearchableSelect.razor.rz.scp.css */
.searchable-select[b-2a11y8jz7h] {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.searchable-select input[b-2a11y8jz7h] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 0.85rem;
    font-family: inherit;
    background: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.searchable-select input[b-2a11y8jz7h]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.searchable-select input:hover:not(:disabled)[b-2a11y8jz7h] {
    border-color: #cbd5e1;
}

.searchable-select input:focus[b-2a11y8jz7h] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.searchable-select input:disabled[b-2a11y8jz7h] {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
    border-color: #f1f5f9;
}

.searchable-select input.unmatched[b-2a11y8jz7h] {
    border-color: #f87171;
    background: #fff1f2;
}

.searchable-select input.unmatched:focus[b-2a11y8jz7h] {
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.hint-error[b-2a11y8jz7h] {
    display: block;
    margin-top: 3px;
    font-size: 0.7rem;
    color: #dc2626;
    font-weight: 500;
}

/* ======= Custom dropdown ======= */
.ss-dropdown[b-2a11y8jz7h] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    /* 입력 너비에 갇히지 않고 콘텐츠에 맞춰 확장. 최대 420px. */
    min-width: 100%;
    width: max-content;
    max-width: 420px;
    z-index: 50;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12),
                0 4px 6px -4px rgba(15, 23, 42, 0.08);
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    /* Smooth scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.ss-dropdown[b-2a11y8jz7h]::-webkit-scrollbar {
    width: 8px;
}

.ss-dropdown[b-2a11y8jz7h]::-webkit-scrollbar-track {
    background: transparent;
}

.ss-dropdown[b-2a11y8jz7h]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    border: 2px solid #ffffff;
}

.ss-dropdown[b-2a11y8jz7h]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.ss-item[b-2a11y8jz7h] {
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #0f172a;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.1s, color 0.1s;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ss-item:hover[b-2a11y8jz7h],
.ss-item.highlighted[b-2a11y8jz7h] {
    background: #eef2ff;
    color: #312e81;
}

/* ======= Hierarchical path item (ItemDisplay) ======= */
[b-2a11y8jz7h] .path-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

[b-2a11y8jz7h] .path-chevron {
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

[b-2a11y8jz7h] .path-leaf {
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-2a11y8jz7h] .path-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

[b-2a11y8jz7h] .ss-item.highlighted .path-type-badge {
    background: #c7d2fe;
    color: #3730a3;
}

[b-2a11y8jz7h] .path-parent {
    margin-left: auto;
    font-size: 0.68rem;
    color: #94a3b8;
    font-family: "JetBrains Mono", monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    padding-left: 10px;
}

[b-2a11y8jz7h] .ss-item.highlighted .path-parent {
    color: #6366f1;
}

.ss-empty[b-2a11y8jz7h] {
    padding: 12px 10px;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
}

.ss-more[b-2a11y8jz7h] {
    padding: 8px 10px;
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    font-style: italic;
}
/* /Components/Shared/V2NodeWidget.razor.rz.scp.css */
/* n8n 스타일 — 좌측 컬러 띠 + 아이콘 + 제목/부제 + 양쪽 포트 */
.v2-node[b-9lf8mtu7xa] {
    position: relative;
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    min-width: 220px;
    max-width: 280px;
    font-family: 'Inter', -apple-system, sans-serif;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    cursor: grab;
    /* overflow: hidden 제거 — 가장자리에 걸친 포트가 잘리지 않도록.
       대신 좌측 accent 띠만 좌측 둥글게 처리. */
}

.v2-node:hover[b-9lf8mtu7xa] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

.v2-node.selected[b-9lf8mtu7xa] {
    box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

/* 좌측 6px 컬러 띠 — 노드 좌측 둥근 모서리 따라가게 */
.v2-node-accent[b-9lf8mtu7xa] {
    width: 6px;
    background: var(--accent);
    flex-shrink: 0;
    border-radius: 10px 0 0 10px;
}

.v2-node-body[b-9lf8mtu7xa] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    flex: 1;
    min-width: 0;
}

.v2-node-icon[b-9lf8mtu7xa] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border-radius: 8px;
    font-size: 18px;
    flex-shrink: 0;
    font-weight: 600;
}

.v2-node-text[b-9lf8mtu7xa] {
    flex: 1;
    min-width: 0;
}

.v2-node-title[b-9lf8mtu7xa] {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-node-subtitle[b-9lf8mtu7xa] {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 포트 위치 — Z.Blazor.Diagrams 의 PortAlignment 가 CSS class 명으로 변환됨.
   default 스타일은 .default-node 한정이라 우리 .v2-node 에 직접 명시 필요. */
[b-9lf8mtu7xa] .diagram-port {
    position: absolute !important;
    width: 12px !important;
    height: 12px !important;
    margin: -6px !important;
    background: #ffffff !important;
    border: 2px solid var(--accent) !important;
    border-radius: 50% !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.1s ease, background 0.1s ease;
    z-index: 1;
}

[b-9lf8mtu7xa] .diagram-port.left   { left: 0;  top: 50%; }
[b-9lf8mtu7xa] .diagram-port.right  { right: 0; top: 50%; }
[b-9lf8mtu7xa] .diagram-port.top    { top: 0;   left: 50%; }
[b-9lf8mtu7xa] .diagram-port.bottom { bottom: 0; left: 50%; }

/* Condition 노드 분기 port — BottomLeft="true"(녹색), BottomRight="false"(빨간색).
   사용자 결정: 위→아래 분기 + 라벨 + 색상 구분. */
[b-9lf8mtu7xa] .diagram-port.bottomleft  { bottom: 0; left: 28%; border-color: #16a34a !important; }
[b-9lf8mtu7xa] .diagram-port.bottomright { bottom: 0; left: 72%; border-color: #dc2626 !important; }
[b-9lf8mtu7xa] .diagram-port.bottomleft::after,
[b-9lf8mtu7xa] .diagram-port.bottomright::after {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    pointer-events: none;
    white-space: nowrap;
}
[b-9lf8mtu7xa] .diagram-port.bottomleft::after  { content: "TRUE";  color: #15803d; }
[b-9lf8mtu7xa] .diagram-port.bottomright::after { content: "FALSE"; color: #b91c1c; }
[b-9lf8mtu7xa] .diagram-port.bottomleft:hover  { background: #16a34a !important; }
[b-9lf8mtu7xa] .diagram-port.bottomright:hover { background: #dc2626 !important; }

[b-9lf8mtu7xa] .diagram-port:hover {
    background: var(--accent) !important;
    transform: scale(1.3);
}

[b-9lf8mtu7xa] .diagram-port.has-links,
[b-9lf8mtu7xa] .diagram-port.connected {
    background: var(--accent) !important;
}

/* Test 결과 배지 — 노드 우상단에 작은 ✓/✗ */
.v2-node-test-badge[b-9lf8mtu7xa] {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    z-index: 2;
    cursor: help;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.v2-node-test-badge.ok[b-9lf8mtu7xa] { background: #16a34a; }
.v2-node-test-badge.err[b-9lf8mtu7xa] { background: #dc2626; }
.v2-node-test-badge.skipped[b-9lf8mtu7xa] { background: #9ca3af; }

/* trigger 에서 도달 불가 — 회색·반투명 + 채도 제거. 실행 안 된 dangling 노드 시각화. */
.v2-node.is-unreachable[b-9lf8mtu7xa] {
    opacity: 0.45;
    filter: grayscale(0.85);
}
.v2-node.is-unreachable .v2-node-accent[b-9lf8mtu7xa] { background: #9ca3af !important; }
.v2-node.is-unreachable .v2-node-icon[b-9lf8mtu7xa] { background: #e5e7eb; color: #6b7280; }

/* 디자인 타임 ValidationIssue 배지 — Test 결과 배지 옆 (좌측) */
.v2-node-validation-badge[b-9lf8mtu7xa] {
    position: absolute;
    top: -8px;
    right: 18px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    z-index: 2;
    cursor: help;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.v2-node-validation-badge.error[b-9lf8mtu7xa] { background: #dc2626; color: white; }
.v2-node-validation-badge.warning[b-9lf8mtu7xa] { background: #f59e0b; color: white; }
.v2-node-validation-icon[b-9lf8mtu7xa] {
    font-size: 13px; font-weight: 900; color: white;
    line-height: 1; font-family: system-ui, -apple-system, sans-serif;
}
.v2-node-validation-count[b-9lf8mtu7xa] {
    font-size: 10px; font-weight: 700; color: white;
    background: rgba(255,255,255,0.25);
    padding: 1px 4px; border-radius: 6px;
}

/* 노드 자체의 빨간/노란 외곽선 — 멀리서도 인지 가능 */
.v2-node.has-error[b-9lf8mtu7xa] {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
.v2-node.has-warning[b-9lf8mtu7xa] {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
