@import '_content/Wologic.ControlPlane.Ui/Wologic.ControlPlane.Ui.pqdiujgbv0.bundle.scp.css';

/* /Components/Layout/AppCopyrightFooter.razor.rz.scp.css */
.app-copyright[b-yvvctv1u7t] {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    color: var(--wcp-line-strong);
    font-size: 12px;
    line-height: 1;
    text-align: center;
    flex-wrap: wrap;
    padding-block: 2px 1px;
}

.app-copyright-version[b-yvvctv1u7t] {
    color: var(--wcp-text-3);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.auth-shell[b-lv4f7xnhc2] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.auth-shell-login[b-lv4f7xnhc2] {
    place-items: stretch;
    padding: 0;
}

.login-route-shell[b-lv4f7xnhc2] {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}

.auth-shell[b-lv4f7xnhc2]  .app-copyright {
    justify-self: center;
    align-self: end;
    padding: 0;
    color: var(--wcp-text-2);
}

.auth-shell[b-lv4f7xnhc2]  .app-copyright-version {
    color: var(--wcp-text-3);
}

.auth-shell .el-card[b-lv4f7xnhc2] {
    min-width: min(420px, calc(100vw - 48px));
    display: grid;
    gap: 8px;
}

@media (max-width: 860px) {
    .auth-shell[b-lv4f7xnhc2] {
        padding: 18px;
    }

    .auth-shell-login[b-lv4f7xnhc2] {
        padding: 0;
    }
}
/* /Components/Layout/Shell/OcrOperationToastHost.razor.rz.scp.css */
.ocr-toast-auto-close.is-leaving[b-xfdphf2rq3]  .wcp-toast {
    animation: wcp-toast-out 0.24s ease-in both;
}
/* /Components/Pages/Shell/Home.razor.rz.scp.css */
.home-v2[b-r3kpapz7eb] {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.home-overview-panel[b-r3kpapz7eb] {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 12px;
    z-index: 6;
}

.home-overview-head[b-r3kpapz7eb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.home-overview-actions[b-r3kpapz7eb] {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.home-metric-grid[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.home-warn-list[b-r3kpapz7eb] {
    display: grid;
    gap: 4px;
}

.home-inline-hint[b-r3kpapz7eb] {
    margin: 0;
    color: var(--wcp-text-2);
    font-size: 12px;
    line-height: 1.5;
}

.home-visual-panel[b-r3kpapz7eb] {
    display: grid;
    gap: 12px;
}

.home-visual-head[b-r3kpapz7eb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.home-visual-hint[b-r3kpapz7eb] {
    font-size: 12px;
    color: var(--wcp-text-3);
}

.home-visual-grid[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-visual-card[b-r3kpapz7eb] {
    min-width: 0;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--wcp-surface) 0%, var(--wcp-surface-2) 100%);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.home-visual-card-head[b-r3kpapz7eb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.home-visual-card-head h3[b-r3kpapz7eb] {
    margin: 0;
    font-size: 14px;
    color: var(--wcp-accent-hover);
}

.home-visual-sub[b-r3kpapz7eb] {
    font-size: 12px;
    color: var(--wcp-text-3);
}

.home-level-badge[b-r3kpapz7eb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.home-level-good[b-r3kpapz7eb] {
    color: var(--wcp-success);
    background: var(--wcp-success-soft);
    border-color: var(--wcp-success-soft);
}

.home-level-warn[b-r3kpapz7eb] {
    color: var(--wcp-warning);
    background: var(--wcp-warning-soft);
    border-color: var(--wcp-warning-soft);
}

.home-level-bad[b-r3kpapz7eb] {
    color: var(--wcp-danger);
    background: var(--wcp-danger-soft);
    border-color: var(--wcp-danger-soft);
}

.home-health-wrap[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.home-health-ring[b-r3kpapz7eb] {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.home-health-inner[b-r3kpapz7eb] {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid var(--wcp-accent-soft);
    background: var(--wcp-surface);
    display: grid;
    place-items: center;
}

.home-health-inner strong[b-r3kpapz7eb] {
    font-size: 23px;
    color: var(--wcp-accent-hover);
    line-height: 1;
}

.home-health-inner span[b-r3kpapz7eb] {
    margin-top: -6px;
    font-size: 11px;
    color: var(--wcp-text-3);
}

.home-health-kv[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 6px 8px;
    align-items: center;
}

.home-health-kv span[b-r3kpapz7eb] {
    color: var(--wcp-text-3);
    font-size: 12px;
}

.home-health-kv strong[b-r3kpapz7eb] {
    color: var(--wcp-accent-hover);
    font-size: 12px;
    text-align: right;
}

.home-budget-track[b-r3kpapz7eb] {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: var(--wcp-accent-soft);
    overflow: hidden;
}

.home-budget-fill[b-r3kpapz7eb] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wcp-accent) 0%, var(--wcp-accent-hover) 100%);
}

.home-budget-mark[b-r3kpapz7eb] {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 18px;
    background: var(--wcp-warning);
    box-shadow: 0 0 0 1px var(--wcp-warning-soft);
}

.home-budget-meta[b-r3kpapz7eb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--wcp-text-2);
    font-size: 12px;
}

.home-budget-status[b-r3kpapz7eb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.home-budget-good[b-r3kpapz7eb] {
    color: var(--wcp-success);
    background: var(--wcp-success-soft);
    border-color: var(--wcp-success-soft);
}

.home-budget-warn[b-r3kpapz7eb] {
    color: var(--wcp-warning);
    background: var(--wcp-warning-soft);
    border-color: var(--wcp-warning-soft);
}

.home-budget-bad[b-r3kpapz7eb] {
    color: var(--wcp-danger);
    background: var(--wcp-danger-soft);
    border-color: var(--wcp-danger-soft);
}

.home-activity-columns[b-r3kpapz7eb] {
    min-height: 158px;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: end;
    gap: 6px;
}

.home-activity-col[b-r3kpapz7eb] {
    min-width: 0;
    display: grid;
    gap: 6px;
    justify-items: center;
}

.home-activity-bar-wrap[b-r3kpapz7eb] {
    width: 100%;
    height: 122px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--wcp-surface-2) 0%, var(--wcp-accent-soft) 100%);
    border: 1px solid var(--wcp-accent-soft);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4px;
}

.home-activity-bar[b-r3kpapz7eb] {
    width: 100%;
    max-width: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--wcp-accent) 0%, var(--wcp-accent-hover) 100%);
}

.home-activity-col span[b-r3kpapz7eb] {
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: var(--wcp-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-metric-card[b-r3kpapz7eb] {
    min-width: 0;
    display: grid;
    gap: 5px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--wcp-surface) 0%, var(--wcp-accent-soft) 100%);
    padding: 12px;
}

.metric-label[b-r3kpapz7eb] {
    color: var(--wcp-text-3);
    font-size: 12px;
    font-weight: 600;
}

.metric-value[b-r3kpapz7eb] {
    color: var(--wcp-accent-hover);
    font-size: 18px;
    line-height: 1.25;
    word-break: break-word;
}

.metric-hint[b-r3kpapz7eb] {
    color: var(--wcp-text-2);
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
}

.home-signal-grid[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-signal-card[b-r3kpapz7eb] {
    min-width: 0;
    display: grid;
    gap: 6px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 12px;
    background: var(--wcp-surface-2);
    padding: 12px;
}

.home-signal-card h3[b-r3kpapz7eb] {
    margin: 0;
    color: var(--wcp-accent-hover);
    font-size: 14px;
}

.home-signal-card p[b-r3kpapz7eb] {
    margin: 0;
    color: var(--wcp-text-2);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-signal-card span[b-r3kpapz7eb] {
    color: var(--wcp-accent-hover);
    font-size: 12px;
}

.home-main-grid[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 12px;
}

.home-overview-head > *[b-r3kpapz7eb],
.home-visual-grid > *[b-r3kpapz7eb],
.home-signal-grid > *[b-r3kpapz7eb],
.home-report-grid > *[b-r3kpapz7eb],
.home-main-grid > *[b-r3kpapz7eb] {
    min-width: 0;
}

.home-main-grid .el-table[b-r3kpapz7eb] {
    min-width: 680px;
}

.home-report-grid[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 12px;
}

.home-report-card[b-r3kpapz7eb] {
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 12px;
    background: var(--wcp-surface-2);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.home-report-head[b-r3kpapz7eb] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.home-report-head h3[b-r3kpapz7eb] {
    margin: 0;
    font-size: 14px;
    color: var(--wcp-accent-hover);
}

.home-report-head span[b-r3kpapz7eb] {
    color: var(--wcp-text-3);
    font-size: 12px;
}

.home-bar-chart[b-r3kpapz7eb] {
    display: grid;
    gap: 8px;
}

.home-bar-row[b-r3kpapz7eb] {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 58px;
    align-items: center;
    gap: 8px;
}

.home-bar-label[b-r3kpapz7eb] {
    font-size: 12px;
    color: var(--wcp-accent-hover);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-bar-track[b-r3kpapz7eb] {
    height: 10px;
    border-radius: 999px;
    background: var(--wcp-accent-soft);
    overflow: hidden;
}

.home-bar-fill[b-r3kpapz7eb] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wcp-accent) 0%, var(--wcp-accent-hover) 100%);
}

.home-bar-value[b-r3kpapz7eb] {
    text-align: right;
    font-size: 12px;
    color: var(--wcp-accent-hover);
}

.home-pie-wrap[b-r3kpapz7eb] {
    display: grid;
    gap: 10px;
    justify-items: center;
    align-content: center;
}

.home-pie[b-r3kpapz7eb] {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.home-pie-center[b-r3kpapz7eb] {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--wcp-surface);
    border: 1px solid var(--wcp-line);
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--wcp-accent-hover);
}

.home-pie-legend[b-r3kpapz7eb] {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--wcp-text-2);
}

.legend-dot[b-r3kpapz7eb] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.legend-success[b-r3kpapz7eb] {
    background: var(--wcp-accent);
}

.legend-failed[b-r3kpapz7eb] {
    background: var(--wcp-danger);
}

.home-report-empty[b-r3kpapz7eb] {
    color: var(--wcp-text-2);
    font-size: 12px;
}

.home-heat-list[b-r3kpapz7eb] {
    display: grid;
    gap: 8px;
}

.home-heat-row[b-r3kpapz7eb] {
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.home-heat-main[b-r3kpapz7eb] {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.home-heat-title[b-r3kpapz7eb] {
    color: var(--wcp-accent-hover);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-heat-meta[b-r3kpapz7eb] {
    color: var(--wcp-text-3);
    font-size: 12px;
}

.home-heat-value[b-r3kpapz7eb] {
    color: var(--wcp-accent-hover);
    font-size: 14px;
}

.home-policy-table-wrap[b-r3kpapz7eb] {
    max-height: 420px;
}

@media (max-width: 1280px) {
    .home-metric-grid[b-r3kpapz7eb] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-visual-grid[b-r3kpapz7eb] {
        grid-template-columns: 1fr;
    }

    .home-report-grid[b-r3kpapz7eb] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .home-overview-head[b-r3kpapz7eb] {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-overview-actions[b-r3kpapz7eb] {
        width: 100%;
        justify-items: start;
    }

    .home-health-wrap[b-r3kpapz7eb] {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .home-health-kv[b-r3kpapz7eb] {
        width: 100%;
    }

    .home-activity-columns[b-r3kpapz7eb] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-metric-grid[b-r3kpapz7eb],
    .home-visual-grid[b-r3kpapz7eb],
    .home-signal-grid[b-r3kpapz7eb],
    .home-report-grid[b-r3kpapz7eb],
    .home-main-grid[b-r3kpapz7eb] {
        grid-template-columns: 1fr;
    }

    .home-bar-row[b-r3kpapz7eb] {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .home-bar-value[b-r3kpapz7eb] {
        text-align: left;
    }
}
/* /Components/Pages/Shell/Login.razor.rz.scp.css */
/* 登录页：左深色品牌区 + 右登录表单。全部颜色走 --wcp-* 令牌。 */

.ocr-login-shell[b-hnl57v7h3s] {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 47.5fr) minmax(0, 52.5fr);
    background: var(--wcp-surface);
}

/* ================= 左侧品牌区（data-wcp-mode="dark" 提供暗色令牌） ================= */

.ocr-login-stage[b-hnl57v7h3s] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vh, 72px) clamp(32px, 4vw, 72px) clamp(24px, 4vh, 40px);
    color: var(--wcp-text);
    background: var(--wcp-bg) url('/img/login/login-scene.svg') center center / cover no-repeat;
    overflow: hidden;
}

.ocr-login-brand[b-hnl57v7h3s] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ocr-login-brand-badge[b-hnl57v7h3s] {
    width: 92px;
    height: 56px;
    border-radius: 10px;
    background: var(--wcp-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex: none;
}

.ocr-login-brand-logo[b-hnl57v7h3s] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ocr-login-brand-text[b-hnl57v7h3s] {
    min-width: 0;
}

.ocr-login-brand-name[b-hnl57v7h3s] {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
}

.ocr-login-brand-sub[b-hnl57v7h3s] {
    margin: 4px 0 0;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--wcp-text-3);
}

.ocr-login-hero[b-hnl57v7h3s]::before {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    border-radius: 3px;
    background: var(--wcp-danger);
    margin-bottom: clamp(20px, 4vh, 38px);
}

.ocr-login-hero h1[b-hnl57v7h3s] {
    margin: 0;
    font-size: clamp(34px, 3.2vw, 54px);
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 2px;
}

.ocr-login-hero-accent[b-hnl57v7h3s] {
    display: block;
    color: var(--wcp-danger);
}

.ocr-login-hero-lead[b-hnl57v7h3s] {
    margin: clamp(14px, 3vh, 26px) 0 0;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--wcp-text-2);
}

.ocr-login-features[b-hnl57v7h3s] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.ocr-login-features li[b-hnl57v7h3s] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ocr-login-feature-icon[b-hnl57v7h3s] {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--wcp-danger);
    background: var(--wcp-danger-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.ocr-login-feature-icon svg[b-hnl57v7h3s] {
    width: 22px;
    height: 22px;
    stroke: var(--wcp-danger);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ocr-login-feature-title[b-hnl57v7h3s] {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 1px;
}

.ocr-login-feature-desc[b-hnl57v7h3s] {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    color: var(--wcp-text-3);
}

.ocr-login-stage-footer[b-hnl57v7h3s] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--wcp-text-3);
}

/* ================= 右侧登录表单区 ================= */

.ocr-login-panel[b-hnl57v7h3s] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vh, 64px) clamp(24px, 4vw, 72px);
    background: var(--wcp-surface);
}

.ocr-login-card[b-hnl57v7h3s] {
    width: min(400px, 100%);
    display: grid;
    gap: 0;
}

.ocr-login-card h2[b-hnl57v7h3s] {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--wcp-text);
}

.ocr-login-lead[b-hnl57v7h3s] {
    margin: 14px 0 28px;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    color: var(--wcp-text-3);
}

.ocr-login-status[b-hnl57v7h3s] {
    margin: 0 0 14px;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid var(--wcp-accent-soft);
    background: var(--wcp-accent-soft);
    color: var(--wcp-text-2);
    font-size: 13px;
    line-height: 1.35;
}

.ocr-login-card .wcp-form-error[b-hnl57v7h3s] {
    margin-bottom: 14px;
}

.ocr-login-mode-switch[b-hnl57v7h3s] {
    display: flex;
    gap: 8px;
    background: var(--wcp-surface-2);
    border: 1px solid var(--wcp-line);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.ocr-login-mode-switch button[b-hnl57v7h3s] {
    flex: 1;
    min-height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}

.ocr-login-mode-active[b-hnl57v7h3s] {
    border: 1px solid var(--wcp-danger);
    background: var(--wcp-danger);
    color: var(--wcp-on-accent);
}

.ocr-login-mode-inactive[b-hnl57v7h3s] {
    border: 1px solid transparent;
    background: transparent;
    color: var(--wcp-text-2);
}

.ocr-login-form-grid[b-hnl57v7h3s] {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.ocr-login-field[b-hnl57v7h3s] {
    display: grid;
    gap: 8px;
}

.ocr-login-field-head[b-hnl57v7h3s] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.ocr-login-field label[b-hnl57v7h3s] {
    color: var(--wcp-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ocr-login-field-hint[b-hnl57v7h3s] {
    font-size: 12px;
    color: var(--wcp-text-3);
}

.ocr-login-input[b-hnl57v7h3s] {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--wcp-line-strong);
    border-radius: 8px;
    background: var(--wcp-surface);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ocr-login-input:focus-within[b-hnl57v7h3s] {
    border-color: var(--wcp-danger);
    box-shadow: 0 0 0 3px var(--wcp-danger-soft);
}

.ocr-login-input svg[b-hnl57v7h3s] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex: none;
    stroke: var(--wcp-text-3);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ocr-login-input input[b-hnl57v7h3s] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--wcp-text);
    font-size: 14.5px;
}

.ocr-login-input input[b-hnl57v7h3s]::placeholder {
    color: var(--wcp-text-3);
}

.ocr-login-form-row[b-hnl57v7h3s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
}

.ocr-login-remember[b-hnl57v7h3s] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--wcp-text-2);
    cursor: pointer;
}

.ocr-login-remember input[b-hnl57v7h3s] {
    width: 16px;
    height: 16px;
    accent-color: var(--wcp-danger);
    cursor: pointer;
}

.ocr-login-submit[b-hnl57v7h3s] {
    min-height: 54px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 8px;
    text-indent: 8px;
    background: var(--wcp-danger);
    color: var(--wcp-on-accent);
    box-shadow: var(--wcp-shadow-btn);
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.ocr-login-submit:hover:not(:disabled)[b-hnl57v7h3s] {
    background: var(--wcp-danger-hover);
    box-shadow: var(--wcp-shadow-pop);
}

.ocr-login-submit:focus-visible[b-hnl57v7h3s] {
    outline: none;
    box-shadow: 0 0 0 3px var(--wcp-danger-soft);
}

.ocr-login-submit:disabled[b-hnl57v7h3s] {
    opacity: 0.72;
    cursor: not-allowed;
}

.ocr-login-agreement[b-hnl57v7h3s] {
    margin: 26px 0 0;
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    color: var(--wcp-text-3);
}

.ocr-login-agreement a[b-hnl57v7h3s] {
    color: var(--wcp-text-2);
    text-decoration: none;
    cursor: pointer;
}

.ocr-login-agreement a:hover[b-hnl57v7h3s] {
    color: var(--wcp-danger);
}

.ocr-login-platform[b-hnl57v7h3s] {
    margin: 10px 0 0;
    text-align: center;
    font-size: 11.5px;
    letter-spacing: 2px;
    color: var(--wcp-text-3);
}

.ocr-login-agreement-frame[b-hnl57v7h3s] {
    width: 100%;
    height: min(72vh, 760px);
    border: 0;
    display: block;
    background: var(--wcp-surface);
}

@media (max-width: 960px) {
    .ocr-login-shell[b-hnl57v7h3s] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ocr-login-stage[b-hnl57v7h3s] {
        display: none;
    }

    .ocr-login-panel[b-hnl57v7h3s] {
        min-height: 100vh;
    }
}
/* /Components/Pages/Shell/SwaggerUi.razor.rz.scp.css */
.swagger-embed-panel[b-1ubg9eq1fe] {
    height: calc(100vh - 200px);
    min-height: 620px;
    padding: 0;
    overflow: hidden;
}

.swagger-embed-frame[b-1ubg9eq1fe] {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--wcp-surface);
}

@media (max-width: 900px) {
    .swagger-embed-panel[b-1ubg9eq1fe] {
        height: calc(100vh - 230px);
        min-height: 520px;
    }
}
/* /Modules/ControlPlane/Pages/Admin/Operations/Observability.razor.rz.scp.css */
.stats-grid[b-luyrbu0cpp] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kpi-card[b-luyrbu0cpp] {
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 10px;
    padding: 14px;
    background: var(--wcp-surface);
}

.kpi-card h3[b-luyrbu0cpp] {
    margin: 0 0 8px;
    color: var(--wcp-text-2);
    font-size: 13px;
}

.kpi-card p[b-luyrbu0cpp] {
    margin: 0;
    color: var(--wcp-text);
    font-size: 26px;
    font-weight: 800;
}

.observability-table-section[b-luyrbu0cpp] {
    overflow: auto;
}

.observability-hint[b-luyrbu0cpp] {
    margin: 0;
    color: var(--wcp-text-2);
    font-size: 13px;
}

.observability-table-section table[b-luyrbu0cpp] {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.observability-table-section th[b-luyrbu0cpp],
.observability-table-section td[b-luyrbu0cpp] {
    border-bottom: 1px solid var(--wcp-accent-soft);
    padding: 9px 10px;
    text-align: left;
    color: var(--wcp-text);
    font-size: 13px;
}

.observability-table-section th[b-luyrbu0cpp] {
    background: var(--wcp-surface-2);
    color: var(--wcp-text-2);
    font-weight: 700;
}

@media (max-width: 980px) {
    .stats-grid[b-luyrbu0cpp] {
        grid-template-columns: 1fr;
    }
}
/* /Modules/ControlPlane/Pages/Admin/Operations/OperationLogs.razor.rz.scp.css */
.operation-log-image[b-oc3f0wzl57] {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #f4f6f8;
}
/* /Modules/ControlPlane/Pages/Admin/Recognition/ControlPlane.razor.rz.scp.css */
.model-field-hover-help[b-iksokmnvr1] {
    position: relative;
}

.model-field-hover-help[b-iksokmnvr1]::after {
    content: attr(data-field-help);
    position: absolute;
    left: var(--editor-label-width);
    top: calc(100% + 4px);
    z-index: 8;
    max-width: min(420px, calc(100vw - 96px));
    padding: 6px 10px;
    border: 1px solid var(--wcp-line);
    border-radius: 6px;
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-pop);
    color: var(--wcp-text-2);
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity 120ms ease, transform 120ms ease;
    white-space: normal;
    overflow-wrap: anywhere;
}

.model-field-hover-help:hover[b-iksokmnvr1]::after,
.model-field-hover-help:focus-within[b-iksokmnvr1]::after {
    opacity: 1;
    transform: translateY(0);
}

.model-insecure-transport-option[b-iksokmnvr1] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--wcp-warning-soft);
    border-radius: 8px;
    background: var(--wcp-warning-soft);
}

.model-insecure-transport-option:has(input:checked)[b-iksokmnvr1] {
    border-color: var(--wcp-warning);
    background: var(--wcp-warning-soft);
}

.model-insecure-transport-option.model-field-hover-help[b-iksokmnvr1]::after {
    left: 12px;
    top: auto;
    bottom: calc(100% + 4px);
}

.model-insecure-transport-toggle[b-iksokmnvr1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--wcp-warning);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.model-insecure-transport-toggle input[b-iksokmnvr1] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--wcp-warning);
    cursor: pointer;
}

.model-insecure-transport-status[b-iksokmnvr1] {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid var(--wcp-warning-soft);
    border-radius: 5px;
    color: var(--wcp-warning);
    background: var(--wcp-surface);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.model-insecure-transport-option:has(input:checked) .model-insecure-transport-status[b-iksokmnvr1] {
    border-color: var(--wcp-warning);
    color: var(--wcp-warning);
    background: var(--wcp-warning-soft);
}
/* /Modules/ControlPlane/Pages/Admin/Recognition/PluginManagement.razor.rz.scp.css */
.plugin-management-page[b-iwk43cariq] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.plugin-tab-strip[b-iwk43cariq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plugin-tab[b-iwk43cariq] {
    border: 1px solid var(--wcp-line);
    background: var(--wcp-surface-2);
    color: var(--wcp-accent-hover);
    border-radius: 8px;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.plugin-tab:hover[b-iwk43cariq] {
    background: var(--wcp-accent-soft);
}

.plugin-tab.active[b-iwk43cariq] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent);
    color: var(--wcp-surface);
}

.plugin-management-page .el-table-wrap[b-iwk43cariq] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.plugin-management-page .plugin-table-wrap[b-iwk43cariq] {
    min-width: 0;
    border-radius: 10px;
}

.plugin-management-page .plugin-table[b-iwk43cariq] {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

.plugin-management-page .plugin-matrix-table[b-iwk43cariq] {
    font-size: 12px;
}

.plugin-management-page .plugin-table th[b-iwk43cariq],
.plugin-management-page .plugin-table td[b-iwk43cariq] {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 8px 6px;
    min-width: 0;
}

.plugin-management-page .plugin-matrix-table th:nth-child(1)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table th:nth-child(2)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table th:nth-child(7)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table th:nth-child(8)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table td:nth-child(1)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table td:nth-child(2)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table td:nth-child(7)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table td:nth-child(8)[b-iwk43cariq] {
    width: 8%;
}

.plugin-management-page .plugin-matrix-table th:nth-child(n + 9)[b-iwk43cariq],
.plugin-management-page .plugin-matrix-table td:nth-child(n + 9)[b-iwk43cariq] {
    width: 10%;
}

.plugin-management-page .plugin-type-cell[b-iwk43cariq] {
    white-space: normal !important;
    max-width: 100%;
}

.plugin-management-page .plugin-note-cell[b-iwk43cariq] {
    white-space: normal !important;
    min-width: 160px;
    color: var(--wcp-text-2);
}

.plugin-management-page code[b-iwk43cariq] {
    white-space: normal;
    overflow-wrap: anywhere;
}

.plugin-management-page .controlplane-kv-grid[b-iwk43cariq] {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 10px;
    align-items: center;
    min-width: 0;
}

.plugin-management-page .controlplane-kv-grid span[b-iwk43cariq] {
    color: var(--wcp-text-2);
    font-size: 13px;
}

.plugin-management-page .controlplane-kv-grid strong[b-iwk43cariq] {
    color: var(--wcp-text);
    font-size: 13px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.shell-v4 .plugin-editor-grid[b-iwk43cariq] {
    --editor-label-width: 112px;
}

.plugin-guide-list[b-iwk43cariq] {
    margin: 0 0 8px;
    padding-left: 20px;
    display: grid;
    gap: 6px;
}

.plugin-guide-list li[b-iwk43cariq] {
    color: var(--wcp-accent-hover);
    font-size: 13px;
    line-height: 1.5;
}

.shell-v4 .plugin-field-hover-help[b-iwk43cariq] {
    position: relative;
}

.shell-v4 .plugin-field-hover-help[b-iwk43cariq]::after {
    content: attr(data-field-help);
    position: absolute;
    left: var(--editor-label-width);
    top: calc(100% + 4px);
    z-index: 8;
    max-width: min(420px, calc(100vw - 96px));
    padding: 6px 10px;
    border: 1px solid var(--wcp-line);
    border-radius: 6px;
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-pop);
    color: var(--wcp-text-2);
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity 120ms ease, transform 120ms ease;
    white-space: normal;
    overflow-wrap: anywhere;
}

.shell-v4 .plugin-field-hover-help:hover[b-iwk43cariq]::after,
.shell-v4 .plugin-field-hover-help:focus-within[b-iwk43cariq]::after {
    opacity: 1;
    transform: translateY(0);
}

.plugin-scheme-editor[b-iwk43cariq] {
    gap: 14px;
}

.plugin-editor-tabs[b-iwk43cariq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--wcp-accent-soft);
}

.plugin-editor-tab[b-iwk43cariq] {
    border: 1px solid var(--wcp-line);
    background: var(--wcp-surface-2);
    color: var(--wcp-accent-hover);
    border-radius: 8px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.plugin-editor-tab:hover[b-iwk43cariq] {
    background: var(--wcp-accent-soft);
}

.plugin-editor-tab.is-active[b-iwk43cariq] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent);
    color: var(--wcp-surface);
}

.plugin-model-chain-builder[b-iwk43cariq],
.plugin-advanced-json[b-iwk43cariq] {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.plugin-model-chain-toolbar[b-iwk43cariq] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.plugin-model-chain-toolbar strong[b-iwk43cariq] {
    color: var(--wcp-text);
    font-size: 15px;
}

.plugin-model-chain-toolbar p[b-iwk43cariq] {
    margin: 4px 0 0;
    color: var(--wcp-text-2);
    font-size: 13px;
    line-height: 1.5;
}

.plugin-model-chain-validation[b-iwk43cariq] {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--wcp-danger-soft);
    border-radius: 8px;
    background: var(--wcp-danger-soft);
    color: var(--wcp-danger);
    font-size: 13px;
    line-height: 1.45;
}

.plugin-model-chain-empty[b-iwk43cariq] {
    padding: 18px;
    border: 1px dashed var(--wcp-accent-soft);
    border-radius: 8px;
    background: var(--wcp-surface-2);
    color: var(--wcp-text-2);
    text-align: center;
    font-size: 13px;
}

.plugin-model-chain-steps[b-iwk43cariq] {
    display: grid;
    gap: 12px;
}

.plugin-model-chain-step[b-iwk43cariq] {
    display: grid;
    gap: 14px;
    padding: 14px 16px 16px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface-2);
}

.plugin-model-chain-step-header[b-iwk43cariq],
.plugin-model-chain-actions[b-iwk43cariq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.plugin-model-chain-step-header strong[b-iwk43cariq] {
    color: var(--wcp-text);
}

.plugin-model-chain-role[b-iwk43cariq] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--wcp-accent-soft);
    color: var(--wcp-accent-hover);
    font-size: 12px;
    font-weight: 700;
}

.plugin-model-chain-actions .el-btn[b-iwk43cariq] {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
}

.plugin-model-chain-main-grid[b-iwk43cariq],
.plugin-model-chain-meta-grid[b-iwk43cariq] {
    display: grid;
    gap: 12px;
    align-items: end;
    min-width: 0;
}

.plugin-model-chain-main-grid[b-iwk43cariq] {
    grid-template-columns: minmax(260px, 1.7fr) minmax(150px, 0.8fr) minmax(190px, 1fr);
}

.plugin-model-chain-meta-grid[b-iwk43cariq] {
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(160px, 0.8fr);
    max-width: 760px;
}

.plugin-model-chain-main-grid .el-editor-field[b-iwk43cariq],
.plugin-model-chain-meta-grid .el-editor-field[b-iwk43cariq] {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.plugin-model-chain-main-grid label[b-iwk43cariq],
.plugin-model-chain-meta-grid label[b-iwk43cariq] {
    color: var(--wcp-text-2);
    font-size: 12px;
    font-weight: 700;
}

.plugin-model-chain-main-grid select[b-iwk43cariq],
.plugin-model-chain-meta-grid select[b-iwk43cariq],
.plugin-model-chain-meta-grid input[b-iwk43cariq] {
    width: 100%;
    min-width: 0;
}

.plugin-model-chain-switch[b-iwk43cariq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface);
    color: var(--wcp-text);
    font-size: 13px;
    font-weight: 700;
}

.plugin-model-chain-switch input[b-iwk43cariq] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    accent-color: var(--wcp-accent);
}

.plugin-model-chain-notice[b-iwk43cariq] {
    padding: 8px 10px;
    border: 1px solid var(--wcp-warning);
    border-radius: 8px;
    background: var(--wcp-warning-soft);
    color: var(--wcp-warning);
    font-size: 12px;
    line-height: 1.45;
}

.plugin-model-chain-preview[b-iwk43cariq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface-2);
}

.plugin-model-chain-preview strong[b-iwk43cariq] {
    color: var(--wcp-text);
    font-size: 13px;
}

.plugin-model-chain-preview span[b-iwk43cariq] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--wcp-surface);
    border: 1px solid var(--wcp-line);
    color: var(--wcp-text-2);
    font-size: 12px;
}

.plugin-advanced-json textarea[b-iwk43cariq] {
    width: 100%;
    min-height: 260px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .plugin-management-page .controlplane-kv-grid[b-iwk43cariq] {
        grid-template-columns: 1fr;
    }

    .shell-v4 .plugin-editor-grid[b-iwk43cariq] {
        --editor-label-width: 96px;
    }

    .shell-v4 .plugin-field-hover-help[b-iwk43cariq]::after {
        left: 0;
        max-width: calc(100vw - 48px);
    }

    .plugin-model-chain-toolbar[b-iwk43cariq] {
        display: grid;
    }

    .plugin-model-chain-main-grid[b-iwk43cariq],
    .plugin-model-chain-meta-grid[b-iwk43cariq] {
        grid-template-columns: 1fr;
        max-width: none;
    }
}
/* /Modules/ControlPlane/Pages/Admin/Recognition/RecognitionBatchProgress.razor.rz.scp.css */
.batch-id-filter[b-l7uq7fwac9] {
    min-width: 320px;
}

.batch-refresh-filter[b-l7uq7fwac9] {
    min-width: 220px;
}

.batch-toggle[b-l7uq7fwac9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: var(--muted);
    font-size: 13px;
}

.batch-toggle input[b-l7uq7fwac9] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

.batch-summary[b-l7uq7fwac9] {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(360px, 1.8fr);
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.batch-summary-main[b-l7uq7fwac9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.batch-summary-heading[b-l7uq7fwac9] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.batch-summary-heading > div[b-l7uq7fwac9] {
    min-width: 0;
}

.batch-summary-heading strong[b-l7uq7fwac9] {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.batch-summary-label[b-l7uq7fwac9] {
    color: var(--muted);
    font-size: 12px;
}

.batch-progress-track[b-l7uq7fwac9] {
    position: relative;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--panel-soft);
}

.batch-progress-track span[b-l7uq7fwac9] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
    transition: width 160ms ease;
}

.batch-progress-meta[b-l7uq7fwac9],
.batch-meta-list[b-l7uq7fwac9] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: 12px;
}

.batch-progress-meta[b-l7uq7fwac9] {
    justify-content: space-between;
}

.batch-metrics[b-l7uq7fwac9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.batch-metric[b-l7uq7fwac9] {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.batch-metric span[b-l7uq7fwac9] {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.batch-metric strong[b-l7uq7fwac9] {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.batch-meta-list[b-l7uq7fwac9] {
    grid-column: 1 / -1;
    padding-top: 2px;
}

.batch-status[b-l7uq7fwac9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel-soft);
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.batch-status.is-success[b-l7uq7fwac9] {
    border-color: var(--wcp-success);
    background: var(--wcp-success-soft);
    color: var(--wcp-success);
}

.batch-status.is-failed[b-l7uq7fwac9] {
    border-color: var(--wcp-danger);
    background: var(--wcp-danger-soft);
    color: var(--wcp-danger);
}

.batch-status.is-running[b-l7uq7fwac9] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent-soft);
    color: var(--wcp-accent-hover);
}

.batch-code-cell[b-l7uq7fwac9],
.batch-file-cell[b-l7uq7fwac9],
.batch-route-cell[b-l7uq7fwac9],
.batch-performance-cell[b-l7uq7fwac9],
.batch-error-cell[b-l7uq7fwac9] {
    max-width: 220px;
    overflow-wrap: anywhere;
}

.batch-performance-cell[b-l7uq7fwac9] {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

.batch-code-cell[b-l7uq7fwac9] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.batch-error-cell.has-error[b-l7uq7fwac9] {
    color: var(--wcp-danger);
}

.batch-actions-cell[b-l7uq7fwac9] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.batch-action-button[b-l7uq7fwac9] {
    min-height: 30px;
    padding: 4px 10px;
}

.correction-form[b-l7uq7fwac9] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.correction-context[b-l7uq7fwac9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 13px;
}

.correction-context code[b-l7uq7fwac9] {
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel-soft);
    color: var(--text);
    overflow-wrap: anywhere;
}

.correction-label-navigation[b-l7uq7fwac9] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.correction-label-navigation button[b-l7uq7fwac9] {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.correction-label-navigation button.active[b-l7uq7fwac9] {
    border-color: var(--brand);
    background: var(--wcp-accent-soft);
    color: var(--brand);
}

.correction-region[b-l7uq7fwac9] {
    color: var(--muted);
    font-size: 12px;
}

.correction-field-row[b-l7uq7fwac9] {
    position: relative;
    padding: 12px 44px 12px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.correction-remove-field[b-l7uq7fwac9] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--wcp-danger);
    border-radius: 6px;
    background: var(--panel);
    color: var(--wcp-danger);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.correction-remove-field:disabled[b-l7uq7fwac9] {
    opacity: 0.45;
    cursor: not-allowed;
}

.correction-add-field[b-l7uq7fwac9] {
    align-self: flex-start;
}

.correction-grid[b-l7uq7fwac9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.correction-grid label[b-l7uq7fwac9],
.correction-note[b-l7uq7fwac9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.correction-grid input[b-l7uq7fwac9],
.correction-note textarea[b-l7uq7fwac9] {
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
}

@media (max-width: 980px) {
    .batch-summary[b-l7uq7fwac9] {
        grid-template-columns: 1fr;
    }

    .batch-metrics[b-l7uq7fwac9] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .batch-id-filter[b-l7uq7fwac9],
    .batch-refresh-filter[b-l7uq7fwac9] {
        min-width: 0;
    }

    .batch-summary[b-l7uq7fwac9] {
        padding: 12px;
    }

    .batch-summary-heading[b-l7uq7fwac9] {
        flex-direction: column;
        align-items: flex-start;
    }

    .batch-metrics[b-l7uq7fwac9] {
        grid-template-columns: 1fr;
    }

    .correction-grid[b-l7uq7fwac9] {
        grid-template-columns: 1fr;
    }
}
/* /Modules/ControlPlane/Pages/Admin/Recognition/RecognitionBatchSubmit.razor.rz.scp.css */
.batch-submit-panel[b-5dx363nfk9] {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.batch-submit-controls[b-5dx363nfk9] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}

.batch-submit-field[b-5dx363nfk9] {
    display: grid;
    gap: 5px;
    min-width: 190px;
}

.batch-submit-field label[b-5dx363nfk9] {
    color: var(--muted);
    font-size: 12px;
}

.batch-submit-field input[b-5dx363nfk9],
.batch-submit-field select[b-5dx363nfk9] {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--wcp-surface);
    color: var(--text);
}

.batch-upload-button[b-5dx363nfk9] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 8px;
    background: var(--wcp-surface);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 740;
    cursor: pointer;
}

.batch-upload-button input[b-5dx363nfk9] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.batch-upload-empty[b-5dx363nfk9] {
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
    color: var(--muted);
    font-size: 13px;
}

.batch-upload-list[b-5dx363nfk9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.batch-upload-item[b-5dx363nfk9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.batch-upload-item > div[b-5dx363nfk9] {
    min-width: 0;
}

.batch-upload-item strong[b-5dx363nfk9],
.batch-upload-item span[b-5dx363nfk9] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.batch-upload-item strong[b-5dx363nfk9] {
    color: var(--text);
    font-size: 13px;
}

.batch-upload-item span[b-5dx363nfk9] {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.batch-code-cell[b-5dx363nfk9] {
    max-width: 220px;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.batch-status[b-5dx363nfk9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel-soft);
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.batch-status.is-success[b-5dx363nfk9] {
    border-color: var(--wcp-success);
    background: var(--wcp-success-soft);
    color: var(--ok);
}

.batch-status.is-failed[b-5dx363nfk9] {
    border-color: var(--wcp-danger);
    background: var(--wcp-danger-soft);
    color: var(--danger);
}

.batch-status.is-running[b-5dx363nfk9] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent-soft);
    color: var(--brand-strong);
}

@media (max-width: 720px) {
    .batch-submit-controls[b-5dx363nfk9] {
        align-items: stretch;
        flex-direction: column;
    }

    .batch-submit-field[b-5dx363nfk9],
    .batch-upload-button[b-5dx363nfk9] {
        width: 100%;
    }
}
/* /Modules/ControlPlane/Pages/Admin/Recognition/RecognitionContentManagement.razor.rz.scp.css */
.content-manager-layout[b-yav2fv4ghy] {
    --content-accent: var(--wcp-accent);
    --content-accent-strong: var(--wcp-accent-hover);
    --content-accent-soft: var(--wcp-accent-soft);
    --content-border: var(--wcp-line);
    --content-border-strong: var(--wcp-accent-soft);
    --content-text: var(--wcp-text);
    --content-muted: var(--wcp-text-2);
    --content-surface: var(--wcp-surface);
    --content-surface-soft: var(--wcp-surface-2);
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.content-panel[b-yav2fv4ghy] {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--content-border);
    border-radius: 8px;
    background: var(--content-surface);
    box-shadow: var(--wcp-shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-panel-header[b-yav2fv4ghy] {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px 10px;
    border-bottom: 1px solid var(--wcp-accent-soft);
    background: linear-gradient(180deg, var(--wcp-surface) 0%, var(--wcp-surface-2) 100%);
}

.content-panel-header strong[b-yav2fv4ghy],
.content-section-title strong[b-yav2fv4ghy],
.content-inspector-header strong[b-yav2fv4ghy] {
    display: block;
    color: var(--content-text);
    font-size: 15px;
    line-height: 1.35;
}

.content-panel-header span[b-yav2fv4ghy],
.content-section-title span[b-yav2fv4ghy],
.content-inspector-header span[b-yav2fv4ghy] {
    display: block;
    margin-top: 4px;
    color: var(--content-muted);
    font-size: 12px;
    line-height: 1.45;
}

.content-panel-body[b-yav2fv4ghy] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: auto;
    overscroll-behavior: contain;
}

.content-navigator[b-yav2fv4ghy] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
}

.content-scheme-panel[b-yav2fv4ghy] {
    min-height: 0;
}

.content-group-panel[b-yav2fv4ghy] {
    min-height: 0;
}

.content-group-panel .content-panel-body[b-yav2fv4ghy] {
    overflow: hidden;
}

.content-workspace[b-yav2fv4ghy] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.content-empty-workspace[b-yav2fv4ghy] {
    flex: 1 1 auto;
}

.content-workspace-tabs[b-yav2fv4ghy] {
    flex: 0 0 auto;
    display: inline-flex;
    align-self: flex-start;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--content-border);
    border-radius: 8px;
    background: var(--wcp-surface-2);
}

.content-tab[b-yav2fv4ghy] {
    position: relative;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--wcp-text-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    min-height: 32px;
    padding: 0 14px;
    transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.content-tab-info[b-yav2fv4ghy] {
    display: inline-grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: var(--wcp-text-2);
    cursor: help;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.content-tab.is-active .content-tab-info[b-yav2fv4ghy] {
    color: var(--content-accent-strong);
}

.content-tab:hover[b-yav2fv4ghy] {
    color: var(--content-accent-strong);
}

.content-tab.is-active[b-yav2fv4ghy] {
    background: var(--wcp-surface);
    color: var(--content-accent-strong);
    box-shadow: 0 4px 10px var(--wcp-focus);
}

.content-definition-workspace[b-yav2fv4ghy],
.content-reference-workspace[b-yav2fv4ghy] {
    flex: 1 1 auto;
}

.content-definition-workspace .content-panel-body[b-yav2fv4ghy] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    overflow: hidden;
}

.content-reference-workspace .content-panel-body[b-yav2fv4ghy] {
    overflow: hidden;
}

.content-section[b-yav2fv4ghy] {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface);
    padding: 10px 12px;
}

.content-section-title[b-yav2fv4ghy] {
    margin-bottom: 8px;
}

.content-section-title-row[b-yav2fv4ghy] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.content-section-title-row > div[b-yav2fv4ghy] {
    min-width: 0;
}

.content-section-title-row[b-yav2fv4ghy]  .el-btn,
.content-reference-actions[b-yav2fv4ghy]  .el-btn,
.content-row-card-toolbar[b-yav2fv4ghy]  .el-btn,
.content-region-header-actions[b-yav2fv4ghy]  .el-btn {
    flex: 0 0 auto;
    min-height: 34px;
    height: auto;
    padding-inline: 14px;
    white-space: nowrap;
}

.content-definition-grid[b-yav2fv4ghy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
}

.content-list-section[b-yav2fv4ghy] {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-inline-label[b-yav2fv4ghy] {
    font-size: 12px;
    font-weight: 700;
    color: var(--wcp-text-2);
}

.content-scheme-picker[b-yav2fv4ghy],
.content-scheme-select[b-yav2fv4ghy] {
    width: 100%;
}

.content-scheme-meta[b-yav2fv4ghy] {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 10px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--content-surface-soft);
    color: var(--content-text);
}

.content-scheme-meta span[b-yav2fv4ghy] {
    font-size: 12px;
    color: var(--wcp-text-2);
}

.content-scheme-meta strong[b-yav2fv4ghy] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.content-group-list[b-yav2fv4ghy],
.content-row-list[b-yav2fv4ghy],
.content-region-list[b-yav2fv4ghy] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-group-list[b-yav2fv4ghy] {
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
}

.content-group-item[b-yav2fv4ghy],
.content-region-list-item[b-yav2fv4ghy] {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--content-surface-soft);
    color: var(--content-text);
    text-align: left;
    padding: 9px 10px;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.content-group-item:hover[b-yav2fv4ghy],
.content-region-list-item:hover[b-yav2fv4ghy] {
    border-color: var(--content-border-strong);
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-card);
}

.content-group-item.is-active[b-yav2fv4ghy],
.content-region-list-item.is-selected[b-yav2fv4ghy] {
    border-color: var(--wcp-line-strong);
    background: var(--content-accent-soft);
    box-shadow: var(--wcp-shadow-card);
}

.content-group-name[b-yav2fv4ghy],
.content-region-list-item span[b-yav2fv4ghy] {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-group-code[b-yav2fv4ghy],
.content-region-list-item small[b-yav2fv4ghy] {
    display: block;
    margin-top: 4px;
    color: var(--content-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.content-empty-box[b-yav2fv4ghy] {
    border: 1px dashed var(--wcp-line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, var(--wcp-surface), var(--wcp-surface)),
        radial-gradient(circle at center, var(--wcp-accent-soft) 0 1px, transparent 1px) 0 0 / 18px 18px;
    padding: 12px;
    color: var(--wcp-text-3);
    font-size: 13px;
    line-height: 1.6;
}

.preview-empty[b-yav2fv4ghy] {
    min-height: 180px;
    border: 1px dashed var(--wcp-line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--wcp-text-3);
    background: var(--wcp-accent-soft);
    padding: 18px;
    text-align: center;
}

.content-editor-grid[b-yav2fv4ghy] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
}

.content-editor-grid > .el-editor-field:not(.el-editor-field-wide)[b-yav2fv4ghy] {
    grid-template-columns: 72px minmax(0, 1fr);
}

.content-editor-grid > .el-editor-field-wide[b-yav2fv4ghy] {
    grid-column: span 2;
}

.content-manager-layout .el-editor-field[b-yav2fv4ghy] {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 6px 10px;
}

.content-manager-layout .el-editor-field > label[b-yav2fv4ghy] {
    color: var(--wcp-text-2);
    font-size: 13px;
    font-weight: 700;
}

.content-manager-layout .el-editor-form input:not([type="checkbox"]):not([type="radio"])[b-yav2fv4ghy],
.content-manager-layout .el-editor-form select[b-yav2fv4ghy] {
    min-height: 34px;
    height: 34px;
    border-radius: 8px;
}

.content-manager-layout .el-editor-form textarea[b-yav2fv4ghy] {
    border-radius: 8px;
    resize: vertical;
}

.content-editor-grid textarea[b-yav2fv4ghy] {
    min-height: 44px;
}

.content-keywords-field textarea[b-yav2fv4ghy] {
    min-height: 44px;
    height: 44px;
}

.content-barcode-field[b-yav2fv4ghy] {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: flex-start;
}

.content-barcode-field > label[b-yav2fv4ghy] {
    padding-top: 9px;
}

.content-barcode-control[b-yav2fv4ghy] {
    min-width: 0;
    width: 100%;
}

.content-barcode-picker[b-yav2fv4ghy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.content-inline-action[b-yav2fv4ghy],
.content-barcode-picker[b-yav2fv4ghy]  .content-inline-action {
    min-width: 76px;
}

.content-chip-list[b-yav2fv4ghy] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    min-width: 0;
    width: 100%;
}

.content-chip[b-yav2fv4ghy] {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: max-content;
    gap: 6px;
    max-width: min(260px, 100%);
    border: 1px solid var(--wcp-line-strong);
    border-radius: 999px;
    background: var(--content-accent-soft);
    color: var(--content-accent-strong);
    padding: 4px 6px 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.content-chip > span[b-yav2fv4ghy] {
    min-width: 0;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-chip button[b-yav2fv4ghy] {
    border: 0;
    border-radius: 999px;
    background: var(--wcp-surface);
    color: var(--wcp-text-2);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
}

.content-chip button:disabled[b-yav2fv4ghy] {
    cursor: not-allowed;
    opacity: 0.52;
}

.content-row-list[b-yav2fv4ghy] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
}

.content-row-card[b-yav2fv4ghy] {
    box-sizing: border-box;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 8px;
    background: var(--content-surface-soft);
    padding: 10px;
}

.content-row-card-toolbar[b-yav2fv4ghy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.content-row-card-toolbar strong[b-yav2fv4ghy] {
    min-width: 0;
    overflow: hidden;
    color: var(--content-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-row-card-body[b-yav2fv4ghy] {
    display: grid;
    gap: 8px;
}

.content-row-card-body label[b-yav2fv4ghy] {
    color: var(--wcp-text-2);
    font-size: 12px;
    font-weight: 700;
}

.content-reference-actions[b-yav2fv4ghy] {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.content-reference-action-group[b-yav2fv4ghy] {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.upload-btn[b-yav2fv4ghy] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 34px;
    height: 34px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 8px;
    background: var(--wcp-surface);
    color: var(--wcp-text-2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 740;
    padding: 0 14px;
    overflow: hidden;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.upload-btn.content-tooltip-trigger[b-yav2fv4ghy] {
    overflow: visible;
}

.upload-btn:hover[b-yav2fv4ghy] {
    border-color: var(--wcp-accent);
    background: var(--wcp-surface-2);
    color: var(--wcp-text-2);
}

.file-input-native[b-yav2fv4ghy] {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.file-input-native input[type="file"][b-yav2fv4ghy],
.file-input-native[b-yav2fv4ghy]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    appearance: none;
    font-size: 0;
    cursor: pointer;
}

.content-upload-btn.is-disabled[b-yav2fv4ghy] {
    opacity: 0.58;
    pointer-events: none;
}

.content-reference-toolbar[b-yav2fv4ghy] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface-2);
    padding: 2px;
}

.content-viewport-btn[b-yav2fv4ghy],
.content-viewport-reset[b-yav2fv4ghy] {
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--wcp-text-2);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    min-height: 28px;
    padding: 0 10px;
}

.content-viewport-btn[b-yav2fv4ghy] {
    width: 32px;
    padding: 0;
}

.content-viewport-btn:disabled[b-yav2fv4ghy],
.content-viewport-reset:disabled[b-yav2fv4ghy] {
    cursor: not-allowed;
    opacity: 0.56;
}

.content-viewport-value[b-yav2fv4ghy] {
    min-width: 44px;
    color: var(--content-text);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.content-annotation-shell[b-yav2fv4ghy] {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(320px, 380px);
    gap: 12px;
    overflow: hidden;
}

.content-annotation-shell.has-no-reference-image[b-yav2fv4ghy] {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(320px, 380px);
}

.content-sample-panel[b-yav2fv4ghy] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(180px, 1fr) auto;
    gap: 10px;
    overflow: hidden;
}

.content-sample-list-panel[b-yav2fv4ghy],
.content-sample-editor-panel[b-yav2fv4ghy] {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface-2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-sample-list[b-yav2fv4ghy] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    padding: 10px;
    overscroll-behavior: contain;
}

.content-sample-item[b-yav2fv4ghy] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--content-surface-soft);
    color: var(--content-text);
    cursor: pointer;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px;
    text-align: left;
    transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.content-sample-item:hover[b-yav2fv4ghy] {
    border-color: var(--content-border-strong);
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-card);
}

.content-sample-item.is-selected[b-yav2fv4ghy] {
    border-color: var(--wcp-line-strong);
    background: var(--content-accent-soft);
    box-shadow: var(--wcp-shadow-card);
}

.content-sample-item[b-yav2fv4ghy]  img,
.content-sample-thumb-empty[b-yav2fv4ghy] {
    width: 54px;
    height: 40px;
    border: 1px solid var(--wcp-line);
    border-radius: 6px;
    background: var(--wcp-surface);
    object-fit: contain;
}

.content-sample-thumb-empty[b-yav2fv4ghy] {
    display: grid;
    place-items: center;
    color: var(--wcp-text-3);
    font-size: 12px;
    font-weight: 700;
}

.content-sample-main[b-yav2fv4ghy] {
    min-width: 0;
    display: block;
}

.content-sample-main strong[b-yav2fv4ghy],
.content-sample-main small[b-yav2fv4ghy] {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-sample-main strong[b-yav2fv4ghy] {
    color: var(--content-text);
    font-size: 13px;
    line-height: 1.35;
}

.content-sample-main small[b-yav2fv4ghy] {
    margin-top: 4px;
    color: var(--content-muted);
    font-size: 11px;
}

.content-sample-editor[b-yav2fv4ghy] {
    padding: 0 10px 10px;
    display: grid;
    gap: 8px;
}

.content-sample-editor .el-editor-field[b-yav2fv4ghy] {
    grid-template-columns: 72px minmax(0, 1fr);
}

.content-canvas-panel[b-yav2fv4ghy] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-canvas-empty[b-yav2fv4ghy] {
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    min-height: 320px;
    text-align: center;
}

.content-annotation-viewport[b-yav2fv4ghy] {
    box-sizing: border-box;
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 360px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, var(--wcp-surface), var(--wcp-surface)),
        repeating-linear-gradient(45deg, var(--wcp-accent-soft) 0, var(--wcp-accent-soft) 8px, transparent 8px, transparent 16px);
    cursor: grab;
    overflow: auto;
    overscroll-behavior: contain;
    user-select: none;
}

.content-annotation-viewport.is-panning[b-yav2fv4ghy] {
    cursor: grabbing;
}

.content-annotation-stage[b-yav2fv4ghy] {
    position: relative;
    transform-origin: 0 0;
}

.content-annotation-stage[b-yav2fv4ghy]  .content-reference-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    user-select: none;
}

.content-region-box[b-yav2fv4ghy] {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    border: 2px solid var(--wcp-accent);
    border-radius: 8px;
    background: var(--wcp-focus);
    color: var(--wcp-accent-hover);
    cursor: move;
    padding: 4px 6px;
    touch-action: none;
}

.content-region-box span[b-yav2fv4ghy] {
    border-radius: 6px;
    background: var(--wcp-surface);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 2px 4px;
}

.content-region-box.is-selected[b-yav2fv4ghy] {
    z-index: 2;
    overflow: visible;
    border-color: var(--wcp-success);
    background: var(--wcp-success-soft);
    color: var(--wcp-success);
}

.content-region-box.is-selected[b-yav2fv4ghy]::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px dashed var(--wcp-success);
    border-radius: 10px;
    pointer-events: none;
}

.content-region-handle[b-yav2fv4ghy] {
    position: absolute;
    z-index: 3;
    width: 12px;
    height: 12px;
    border: 2px solid var(--wcp-surface);
    border-radius: 999px;
    background: var(--wcp-success);
    box-shadow: 0 2px 6px var(--wcp-success);
}

.content-region-handle-nw[b-yav2fv4ghy] {
    top: -7px;
    left: -7px;
    cursor: nwse-resize;
}

.content-region-handle-ne[b-yav2fv4ghy] {
    top: -7px;
    right: -7px;
    cursor: nesw-resize;
}

.content-region-handle-sw[b-yav2fv4ghy] {
    bottom: -7px;
    left: -7px;
    cursor: nesw-resize;
}

.content-region-handle-se[b-yav2fv4ghy] {
    right: -7px;
    bottom: -7px;
    cursor: nwse-resize;
}

.content-region-inspector[b-yav2fv4ghy] {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(180px, 1fr) minmax(240px, 1fr);
    gap: 10px;
    overflow: hidden;
}

.content-inspector-header[b-yav2fv4ghy],
.content-region-list-panel[b-yav2fv4ghy],
.content-region-editor-panel[b-yav2fv4ghy] {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-surface-2);
}

.content-inspector-header[b-yav2fv4ghy] {
    padding: 10px;
}

.content-region-header-actions[b-yav2fv4ghy] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.content-region-list-panel[b-yav2fv4ghy],
.content-region-editor-panel[b-yav2fv4ghy] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-region-panel-title[b-yav2fv4ghy] {
    flex: 0 0 auto;
    padding: 9px 10px 7px;
    color: var(--content-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.content-region-list-panel .content-empty-box[b-yav2fv4ghy],
.content-region-editor-panel .content-empty-box[b-yav2fv4ghy] {
    margin: 0 10px 10px;
}

.content-region-list[b-yav2fv4ghy] {
    flex: 1 1 auto;
    overflow: auto;
    padding: 0 10px 10px;
    overscroll-behavior: contain;
}

.content-region-list-item[b-yav2fv4ghy] {
    padding: 9px 10px;
}

.content-region-list-item small[b-yav2fv4ghy] {
    font-size: 11px;
    line-height: 1.35;
}

.content-region-editor[b-yav2fv4ghy] {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: auto;
    padding: 0 10px 10px;
    overscroll-behavior: contain;
}

.content-region-editor .el-editor-field[b-yav2fv4ghy] {
    grid-template-columns: 80px minmax(0, 1fr);
}

.content-region-editor textarea[b-yav2fv4ghy] {
    min-height: 72px;
}

.content-tooltip-trigger[b-yav2fv4ghy] {
    position: relative;
}

.content-tooltip-trigger[b-yav2fv4ghy]::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 120;
    left: 50%;
    top: calc(100% + 8px);
    width: max-content;
    max-width: min(360px, 70vw);
    padding: 8px 10px;
    border: 1px solid var(--wcp-line-strong);
    border-radius: 8px;
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-pop);
    color: var(--content-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 2px);
    transition: opacity 80ms ease, transform 80ms ease;
    visibility: hidden;
    white-space: normal;
}

.content-tooltip-trigger > span:not(.file-input-native)[b-yav2fv4ghy] {
    pointer-events: none;
}

.content-tooltip-trigger:hover[b-yav2fv4ghy]::after,
.content-tooltip-trigger:focus-visible[b-yav2fv4ghy]::after {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

@media (max-width: 1440px) {
    .content-manager-layout[b-yav2fv4ghy] {
        grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    }

    .content-annotation-shell[b-yav2fv4ghy] {
        grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(300px, 340px);
    }

    .content-manager-layout .el-editor-field[b-yav2fv4ghy],
    .content-barcode-field[b-yav2fv4ghy] {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .content-editor-grid[b-yav2fv4ghy] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-editor-grid > .el-editor-field:not(.el-editor-field-wide)[b-yav2fv4ghy],
    .content-editor-grid > .content-barcode-field[b-yav2fv4ghy] {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .content-editor-grid > .el-editor-field-wide[b-yav2fv4ghy] {
        grid-column: span 1;
    }
}

@media (max-width: 1180px) {
    .content-definition-grid[b-yav2fv4ghy],
    .content-annotation-shell[b-yav2fv4ghy] {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .content-sample-panel[b-yav2fv4ghy] {
        min-height: 360px;
    }

    .content-region-inspector[b-yav2fv4ghy] {
        min-height: 520px;
    }
}

@media (max-width: 1024px) {
    .content-manager-layout[b-yav2fv4ghy] {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .content-navigator[b-yav2fv4ghy],
    .content-workspace[b-yav2fv4ghy],
    .content-panel[b-yav2fv4ghy],
    .content-panel-body[b-yav2fv4ghy] {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .content-group-list[b-yav2fv4ghy],
    .content-row-list[b-yav2fv4ghy],
    .content-region-list[b-yav2fv4ghy],
    .content-sample-list[b-yav2fv4ghy],
    .content-region-editor[b-yav2fv4ghy] {
        max-height: none;
        overflow: visible;
    }

    .content-editor-grid[b-yav2fv4ghy] {
        grid-template-columns: 1fr;
    }

    .content-manager-layout .el-editor-field[b-yav2fv4ghy],
    .content-sample-editor .el-editor-field[b-yav2fv4ghy],
    .content-region-editor .el-editor-field[b-yav2fv4ghy],
    .content-barcode-field[b-yav2fv4ghy] {
        grid-template-columns: 1fr;
    }

    .content-workspace-tabs[b-yav2fv4ghy] {
        width: 100%;
    }

    .content-tab[b-yav2fv4ghy] {
        flex: 1 1 0;
    }

    .content-annotation-viewport[b-yav2fv4ghy],
    .content-canvas-empty[b-yav2fv4ghy] {
        min-height: 320px;
    }
}
/* /Modules/Recognition/Pages/Recognition/OcrDebug.razor.rz.scp.css */
.debug-page[b-j5swkysyyk] {
    --debug-accent: var(--wcp-accent);
    --debug-accent-strong: var(--wcp-accent-hover);
    --debug-accent-soft: var(--wcp-accent-soft);
    --debug-border: var(--wcp-line);
    --debug-border-strong: var(--wcp-accent-soft);
    --debug-text: var(--wcp-text);
    --debug-muted: var(--wcp-text-2);
    --debug-surface: var(--wcp-surface);
    --debug-surface-soft: var(--wcp-surface-2);
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    gap: 10px;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
}

@supports not (height: 100dvh) {
    .debug-page[b-j5swkysyyk] {
        height: auto;
        max-height: none;
    }
}

.debug-toolbar[b-j5swkysyyk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, var(--wcp-surface) 0%, var(--wcp-surface-2) 100%);
    border: 1px solid var(--debug-border);
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 8px 20px var(--wcp-shadow-card);
}

.toolbar-title[b-j5swkysyyk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--debug-text);
}

.toolbar-title[b-j5swkysyyk]::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: var(--debug-accent);
}

.toolbar-actions[b-j5swkysyyk] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.debug-hint[b-j5swkysyyk] {
    margin: 0;
    color: var(--debug-muted);
    font-size: 12px;
    line-height: 1.5;
}

.el-alert[b-j5swkysyyk] {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--wcp-line);
    background: var(--wcp-surface-2);
    color: var(--wcp-text-2);
    font-size: 13px;
    line-height: 1.45;
}

.el-alert-error[b-j5swkysyyk] {
    border-color: var(--wcp-danger-soft);
    background: var(--wcp-danger-soft);
    color: var(--wcp-danger);
}

.el-alert-ok[b-j5swkysyyk] {
    border-color: var(--wcp-success-soft);
    background: var(--wcp-success-soft);
    color: var(--wcp-success);
}

.upload-btn[b-j5swkysyyk] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--debug-accent-soft);
    border: 1px solid var(--wcp-line-strong);
    color: var(--debug-accent-strong);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.upload-btn:hover[b-j5swkysyyk] {
    border-color: var(--wcp-line-strong);
    background: var(--wcp-accent-soft);
    color: var(--wcp-accent-hover);
}

.debug-run-btn[b-j5swkysyyk] {
    min-width: 90px;
}

.file-input-native[b-j5swkysyyk] {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.file-input-native input[type="file"][b-j5swkysyyk],
.file-input-native[b-j5swkysyyk]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    appearance: none;
    font-size: 0;
    cursor: pointer;
}

.debug-grid[b-j5swkysyyk] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(460px, 1.18fr) minmax(380px, 1fr);
    gap: 10px;
    overflow: hidden;
}

.debug-files[b-j5swkysyyk],
.debug-preview[b-j5swkysyyk],
.debug-result[b-j5swkysyyk] {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: var(--debug-border);
    background: linear-gradient(180deg, var(--wcp-surface) 0%, var(--wcp-surface-2) 100%);
    box-shadow: var(--wcp-shadow-card);
}

.debug-files[b-j5swkysyyk] {
    padding: 12px;
}

.debug-preview[b-j5swkysyyk],
.debug-result[b-j5swkysyyk] {
    padding: 12px;
}

.debug-files-header[b-j5swkysyyk],
.panel-top[b-j5swkysyyk] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--debug-text);
}

.debug-files-header h3[b-j5swkysyyk] {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.file-list[b-j5swkysyyk] {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0 4px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.file-item[b-j5swkysyyk] {
    width: 100%;
    text-align: left;
    background: var(--debug-surface-soft);
    border: 1px solid var(--wcp-line);
    color: var(--wcp-accent-hover);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.file-item:hover[b-j5swkysyyk] {
    border-color: var(--debug-border-strong);
    background: var(--wcp-surface);
    box-shadow: var(--wcp-shadow-card);
}

.file-item.active[b-j5swkysyyk] {
    background: var(--wcp-accent-soft);
    border-color: var(--wcp-line-strong);
    box-shadow: var(--wcp-shadow-card);
}

.file-item .thumb[b-j5swkysyyk] {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 6px;
    background: var(--wcp-surface);
    overflow: hidden;
}

.file-item .thumb img[b-j5swkysyyk] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.12s ease;
}

.file-item .thumb img.loading[b-j5swkysyyk] {
    opacity: 0;
}

.file-item .thumb img.loaded[b-j5swkysyyk] {
    opacity: 1;
}

.thumb-placeholder[b-j5swkysyyk] {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--wcp-line-strong);
    font-size: 12px;
    font-weight: 700;
    background: var(--wcp-surface-3);
}

.file-item-text[b-j5swkysyyk] {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.file-item .name[b-j5swkysyyk] {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-item .meta[b-j5swkysyyk] {
    font-size: 12px;
    color: var(--wcp-text-3);
}

.source-upload-zone[b-j5swkysyyk] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    border: 1px dashed var(--wcp-accent);
    border-radius: 10px;
    color: var(--wcp-text-2);
    background:
        linear-gradient(180deg, var(--wcp-surface), var(--wcp-surface)),
        repeating-linear-gradient(45deg, var(--wcp-accent-soft) 0, var(--wcp-accent-soft) 8px, transparent 8px, transparent 16px);
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.source-upload-zone span[b-j5swkysyyk] {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.source-upload-zone:hover[b-j5swkysyyk] {
    border-color: var(--wcp-accent);
    color: var(--debug-accent-strong);
}

.preview-empty[b-j5swkysyyk] {
    flex: 1;
    min-height: 220px;
    border: 1px dashed var(--wcp-accent-soft);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--wcp-text-3);
    background:
        linear-gradient(180deg, var(--wcp-surface), var(--wcp-surface-2)),
        radial-gradient(circle at center, var(--wcp-accent-soft) 0 1px, transparent 1px) 0 0 / 18px 18px;
    padding: 18px;
    text-align: center;
}

.preview-frame[b-j5swkysyyk] {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--debug-border);
    border-radius: 8px;
    background:
        linear-gradient(180deg, var(--wcp-surface), var(--wcp-surface-2)),
        radial-gradient(circle at center, var(--wcp-accent-soft) 0 1px, transparent 1px) 0 0 / 18px 18px;
    overflow: hidden;
}

.preview-loading[b-j5swkysyyk] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--wcp-text-3);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    z-index: 1;
}

.preview-image[b-j5swkysyyk] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.14s ease;
}

.preview-image.loading[b-j5swkysyyk] {
    opacity: 0;
}

.preview-image.loaded[b-j5swkysyyk] {
    opacity: 1;
}

.label-region-overlay[b-j5swkysyyk] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.label-region-hit[b-j5swkysyyk] {
    pointer-events: visiblePainted;
    cursor: pointer;
}

.label-region-hit rect[b-j5swkysyyk] {
    fill: transparent;
    stroke: var(--wcp-accent);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.label-region-hit.failed rect[b-j5swkysyyk] {
    fill: transparent;
    stroke: var(--wcp-danger);
}

.label-region-hit.active rect[b-j5swkysyyk] {
    fill: var(--wcp-focus);
    stroke-width: 3;
}

.label-region-hit text[b-j5swkysyyk] {
    fill: var(--wcp-surface);
    stroke: var(--wcp-accent-hover);
    stroke-width: 3px;
    paint-order: stroke;
    font-size: 24px;
    font-weight: 700;
    pointer-events: none;
}

.result-controls[b-j5swkysyyk] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.result-controls input[b-j5swkysyyk] {
    height: 34px;
    font-size: 12px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    color: var(--wcp-accent-hover);
    background-color: var(--wcp-surface);
    padding: 0 10px;
}

.result-controls input[b-j5swkysyyk] {
    width: 140px;
}

.result-scheme-picker[b-j5swkysyyk] {
    flex: 1 1 220px;
    max-width: 100%;
    min-width: min(100%, 220px);
}

.result-scheme-picker[b-j5swkysyyk]  .wcp-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.result-scheme-picker[b-j5swkysyyk]  .wcp-select-trigger {
    min-height: 34px;
    height: 34px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 12px;
}

.recognition-mode-switch[b-j5swkysyyk] {
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    padding: 2px;
    border: 1px solid var(--wcp-line);
    border-radius: 8px;
    background: var(--wcp-accent-soft);
}

.recognition-mode-button[b-j5swkysyyk] {
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--wcp-text-2);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.recognition-mode-button:hover[b-j5swkysyyk] {
    color: var(--debug-accent-strong);
}

.recognition-mode-button[aria-pressed="true"][b-j5swkysyyk] {
    background: var(--wcp-surface);
    color: var(--debug-accent-strong);
    box-shadow: var(--wcp-shadow-pop);
}

.recognition-mode-button:focus-visible[b-j5swkysyyk] {
    outline: 2px solid var(--wcp-accent);
    outline-offset: 1px;
}

.controlplane-kv-grid[b-j5swkysyyk] {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 10px;
    align-items: center;
}

.result-meta-grid[b-j5swkysyyk] {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid var(--wcp-line);
    border-radius: 10px;
    background: var(--wcp-surface-2);
}

.result-run-details[b-j5swkysyyk] {
    margin: 10px 0;
    border: 1px solid var(--wcp-line);
    border-radius: 10px;
    background: var(--wcp-surface-2);
    color: var(--debug-text);
    overflow: hidden;
}

.result-run-details summary[b-j5swkysyyk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--wcp-text-2);
    font-size: 13px;
    font-weight: 700;
}

.result-run-details summary strong[b-j5swkysyyk] {
    min-width: 0;
    color: var(--debug-text);
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-run-details .result-meta-grid[b-j5swkysyyk] {
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0;
}

.controlplane-kv-grid span[b-j5swkysyyk] {
    color: var(--wcp-text-2);
    font-size: 13px;
}

.controlplane-kv-grid strong[b-j5swkysyyk] {
    color: var(--debug-text);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.label-result-navigation[b-j5swkysyyk] {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    margin: 0 0 10px;
    padding-bottom: 2px;
    overflow-x: auto;
}

.label-result-navigation button[b-j5swkysyyk] {
    flex: 0 0 auto;
    min-width: 74px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 7px;
    background: var(--wcp-surface-2);
    color: var(--wcp-text-2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.label-result-navigation button:hover[b-j5swkysyyk],
.label-result-navigation button.active[b-j5swkysyyk] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent-soft);
    color: var(--debug-accent-strong);
}

.label-result-navigation button.failed[b-j5swkysyyk] {
    border-color: var(--wcp-danger-soft);
    color: var(--wcp-danger);
}

.label-result-navigation button.failed.active[b-j5swkysyyk] {
    background: var(--wcp-danger-soft);
}

.label-result-notice[b-j5swkysyyk],
.label-result-error[b-j5swkysyyk] {
    display: flex;
    gap: 8px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid var(--wcp-warning);
    border-radius: 8px;
    background: var(--wcp-warning-soft);
    color: var(--wcp-warning);
    font-size: 12px;
    line-height: 1.45;
}

.label-result-error[b-j5swkysyyk] {
    flex-direction: column;
    border-color: var(--wcp-danger-soft);
    background: var(--wcp-danger-soft);
    color: var(--wcp-danger);
}

.result-tabs[b-j5swkysyyk] {
    display: inline-flex;
    align-self: flex-start;
    gap: 2px;
    margin-bottom: 12px;
    padding: 3px;
    border: 1px solid var(--wcp-line);
    border-radius: 9px;
    background: var(--wcp-surface-3);
}

.result-tabs button[b-j5swkysyyk] {
    min-width: 78px;
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--wcp-text-2);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.result-tabs button:hover[b-j5swkysyyk] {
    color: var(--debug-accent-strong);
}

.result-tabs button.active[b-j5swkysyyk] {
    background: var(--wcp-surface);
    color: var(--debug-accent-strong);
    box-shadow: 0 4px 10px var(--wcp-shadow-pop);
}

.result-body[b-j5swkysyyk] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.result-table-wrap[b-j5swkysyyk] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--debug-border);
    border-radius: 10px;
    background: var(--wcp-surface);
}

.result-table-wrap table[b-j5swkysyyk] {
    width: 100%;
    border-collapse: collapse;
    color: var(--debug-text);
    font-size: 13px;
}

.result-table-wrap th[b-j5swkysyyk],
.result-table-wrap td[b-j5swkysyyk] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--wcp-accent-soft);
    text-align: left;
    vertical-align: top;
}

.result-table-wrap th[b-j5swkysyyk] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--wcp-accent-soft);
    color: var(--wcp-text-2);
    font-weight: 700;
}

.result-table-wrap tbody tr:last-child td[b-j5swkysyyk] {
    border-bottom: 0;
}

.label-overview-row[b-j5swkysyyk] {
    cursor: pointer;
}

.label-overview-row:hover td[b-j5swkysyyk] {
    background: var(--wcp-surface-2);
}

.json-box[b-j5swkysyyk] {
    flex: 1;
    min-height: 0;
    max-height: none;
}

.json-copy-wrap[b-j5swkysyyk] {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
    --json-copy-scrollbar-gutter: 18px;
}

.json-actions[b-j5swkysyyk] {
    position: absolute;
    top: 10px;
    right: calc(10px + var(--json-copy-scrollbar-gutter));
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.json-view-switch[b-j5swkysyyk] {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 7px;
    background: var(--wcp-surface-3);
}

.json-view-switch button[b-j5swkysyyk] {
    min-width: 46px;
    height: 22px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--wcp-text-2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.json-view-switch button:hover[b-j5swkysyyk] {
    color: var(--wcp-accent-hover);
}

.json-view-switch button.active[b-j5swkysyyk] {
    background: var(--wcp-accent-soft);
    color: var(--wcp-accent-hover);
}

.json-plain-view[b-j5swkysyyk] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 48px 16px 16px;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid var(--debug-border);
    border-radius: 10px;
    background: var(--wcp-surface-3);
    color: var(--wcp-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.6;
    tab-size: 2;
    white-space: pre;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--wcp-text-3) var(--wcp-surface-3);
}

.json-plain-view[b-j5swkysyyk]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.json-plain-view[b-j5swkysyyk]::-webkit-scrollbar-track {
    background: var(--wcp-surface-3);
}

.json-plain-view[b-j5swkysyyk]::-webkit-scrollbar-thumb {
    border: 2px solid var(--wcp-surface-3);
    border-radius: 999px;
    background: var(--wcp-text-3);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-root {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    width: 100%;
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-box {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding-top: 46px;
    max-height: none;
    overflow: auto;
    box-sizing: border-box;
    border-color: var(--wcp-line-strong);
    background: var(--wcp-surface-3);
    color: var(--wcp-text);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--wcp-text-3) var(--wcp-surface-3);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-box::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-box::-webkit-scrollbar-track {
    background: var(--wcp-surface-3);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-box::-webkit-scrollbar-thumb {
    border: 2px solid var(--wcp-surface-3);
    border-radius: 999px;
    background: var(--wcp-text-3);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-box::-webkit-scrollbar-thumb:hover {
    background: var(--wcp-line-strong);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 4px 0 0;
    border: 0;
    border-radius: 4px;
    background: var(--wcp-accent-soft);
    color: var(--wcp-accent);
    font-size: 0;
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 6px;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--wcp-accent);
    border-bottom: 1.5px solid var(--wcp-accent);
    transform: rotate(-45deg);
    transform-origin: center;
    transition: transform 0.14s ease;
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle.is-expanded::before {
    transform: rotate(45deg) translate(-1px, -1px);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle.is-expanded {
    color: var(--wcp-accent);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle:hover {
    background: var(--wcp-focus);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-toggle:focus-visible {
    outline: 2px solid var(--wcp-accent);
    outline-offset: 1px;
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-key {
    color: var(--wcp-accent-hover);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-string {
    color: var(--wcp-success);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-number {
    color: var(--wcp-warning);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-boolean {
    color: var(--wcp-danger-hover);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-null,
.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-summary {
    color: var(--wcp-text-2);
}

.json-copy-wrap[b-j5swkysyyk]  .wcp-json-tree-punctuation {
    color: var(--wcp-text-2);
}

.json-copy-button[b-j5swkysyyk] {
    height: 28px;
    min-width: 58px;
    border: 1px solid var(--wcp-accent-soft);
    border-radius: 7px;
    background: var(--wcp-surface-3);
    color: var(--wcp-accent-hover);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.json-copy-button:hover[b-j5swkysyyk] {
    border-color: var(--wcp-accent);
    background: var(--wcp-accent-soft);
}

.json-copy-button.is-success[b-j5swkysyyk] {
    border-color: var(--wcp-success);
    color: var(--wcp-success);
}

.json-copy-button.is-error[b-j5swkysyyk] {
    border-color: var(--wcp-danger);
    color: var(--wcp-danger-hover);
}

@media (max-width: 860px) {
    .debug-toolbar[b-j5swkysyyk] {
        align-items: flex-start;
        flex-direction: column;
    }

    .debug-page[b-j5swkysyyk] {
        flex: 0 0 auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .debug-grid[b-j5swkysyyk] {
        flex: 0 0 auto;
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .debug-files[b-j5swkysyyk],
    .debug-preview[b-j5swkysyyk],
    .debug-result[b-j5swkysyyk] {
        min-width: 0;
        height: auto;
        overflow: visible;
    }

    .file-list[b-j5swkysyyk] {
        max-height: 280px;
    }

    .preview-frame[b-j5swkysyyk] {
        flex: 0 0 auto;
        aspect-ratio: 4 / 3;
    }

    .result-body[b-j5swkysyyk] {
        flex: 0 0 auto;
        min-height: 360px;
    }

    .result-table-wrap[b-j5swkysyyk],
    .json-copy-wrap[b-j5swkysyyk] {
        flex: 0 0 auto;
        height: 360px;
        min-height: 360px;
    }

    .controlplane-kv-grid[b-j5swkysyyk] {
        grid-template-columns: 1fr;
    }
}
