/* 现有业务页面接入 V2 视觉外壳；不改变表单字段、ID 或业务脚本。 */
.top-nav { display: none !important; }
.brand-mark { color: transparent !important; }

.app-content > .glass-card { max-width: none; }
.app-content .glass-card { margin-bottom: 16px; }
.app-content .glass-card:last-child { margin-bottom: 0; }

.workspace-card--live .section-block,
.workspace-card--live .guide-step,
.workspace-card--live .config-form-row,
.workspace-card--live .form-panel,
.workspace-card--live .content-panel {
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,.39), rgba(244,248,255,.17));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 10px 28px rgba(70,96,150,.055);
}

.workspace-card--live .section-block { padding: 18px; margin: 14px 0; }
.workspace-card--live .section-block h3 { color: var(--text-main); font-size: 15px; margin-bottom: 8px; }
.workspace-card--live .entry-tip,
.workspace-card--live .card-desc,
.workspace-card--live .cost-note { color: var(--text-sub) !important; line-height: 1.72; }
.workspace-card--live .entry-tip b,
.workspace-card--live .cost-note b { color: var(--text-main) !important; }
.workspace-card--live .entry-tip strong { color: var(--color-primary-strong) !important; }

.workspace-card--live .upload-area {
    min-height: 108px;
    display: grid;
    place-items: center;
    padding: 20px;
    border: 1.5px dashed rgba(97,111,218,.34);
    border-radius: 14px;
    background: rgba(255,255,255,.32);
    color: var(--text-sub);
    cursor: pointer;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.workspace-card--live .upload-area:hover { background: rgba(255,255,255,.54); border-color: rgba(108,92,231,.60); transform: translateY(-1px); }
.workspace-card--live .upload-area input { display: none; }
.workspace-card--live .file-row,
.workspace-card--live .crawl-summary,
.workspace-card--live .result-box,
.workspace-card--live .diagnostic-health,
.workspace-card--live .diagnostic-plan {
    border-color: rgba(255,255,255,.72) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.48), rgba(244,248,255,.24)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 10px 28px rgba(70,96,150,.055) !important;
}
.workspace-card--live .file-btn,
.workspace-card--live .shot-cat-select,
.workspace-card--live .activity-config-row select {
    color: var(--text-main) !important;
    background: rgba(255,255,255,.52) !important;
    border-color: rgba(113,130,181,.20) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.workspace-card--live .file-btn:hover { background: rgba(255,255,255,.72) !important; }
.workspace-card--live .file-status,
.workspace-card--live .shot-recognized { color: #269260 !important; }
.workspace-card--live .shot-recognizing { color: #ba7b15 !important; }
.workspace-card--live .req-badge.required { color: #c73457 !important; background: rgba(255,222,230,.70) !important; }
.workspace-card--live .req-badge.optional { color: #476ec6 !important; background: rgba(223,234,255,.72) !important; }
.workspace-card--live .error-tip { color: #cf3c5a !important; background: rgba(255,232,238,.60) !important; border-color: rgba(236,86,119,.26) !important; }
.workspace-card--live .loading-tip { color: var(--color-primary-strong) !important; background: rgba(230,236,255,.56); border-radius: 12px; padding: 10px 13px; }

.workspace-card--live .level-select { align-items: stretch; }
.workspace-card--live .level-card,
.workspace-card--live .radio-item {
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.34) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 8px 20px rgba(75,91,150,.05) !important;
}
.workspace-card--live .level-card:has(input:checked),
.workspace-card--live .radio-item:has(input:checked) { border-color: rgba(108,92,231,.60) !important; background: linear-gradient(145deg, rgba(232,228,255,.72), rgba(244,232,255,.42)) !important; }

.workspace-card--live .menu-table th,
.workspace-card--live .menu-table td,
.workspace-card--live .common-table th,
.workspace-card--live .common-table td { border-bottom-color: rgba(97,118,168,.16) !important; color: var(--text-main) !important; }
.workspace-card--live .menu-group-row td { color: var(--color-primary-strong) !important; background: rgba(230,231,255,.48) !important; }
.workspace-card--live .activity-item,
.workspace-card--live .status-pill,
.workspace-card--live .health-card { background: rgba(255,255,255,.42) !important; border-color: rgba(255,255,255,.72) !important; color: var(--text-sub) !important; }

.ui-shell-page[data-ui-page="analysis"] .glass-card { padding: 22px; }
.ui-shell-page[data-ui-page="analysis"] .diagnostic-plan { margin-top: 18px; }
.ui-shell-page[data-ui-page="survey"] .asset-grid a,
.ui-shell-page[data-ui-page="survey"] .asset-grid .asset-card { border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-card); }

@media (max-width: 760px) {
    html { min-width: 0; }
    .glass-container { width: calc(100% - 20px); margin: 10px auto; grid-template-columns: 1fr; min-height: auto; }
    .app-sidebar { display: none; }
    .app-topbar { padding: 15px 16px; }
    .app-content { padding: 14px; overflow: visible; }
    .workspace-card--live .section-block { padding: 14px; }
    .workspace-card--live .level-select { grid-template-columns: 1fr; }
}
