/* TOTAPP Workspace OS 3.0 Wave 4/5 legacy view adapter */
.workspace-legacy-view{display:grid;gap:18px}.workspace-legacy-content{min-width:0}.workspace-legacy-content .cards,.workspace-legacy-content .wms-kpi-grid,.workspace-legacy-content .grid{margin-top:0}.workspace-messages{display:grid;gap:10px}.workspace-messages .message{border:1px solid var(--ws-border);border-radius:14px;padding:10px 12px;background:var(--ws-surface);box-shadow:var(--ws-shadow-soft)}.workspace-legacy-intro{margin-bottom:0}.workspace-legacy-content table{width:100%;border-collapse:collapse}.workspace-legacy-content img,.workspace-legacy-content svg,.workspace-legacy-content canvas{max-width:100%}@media(max-width:900px){.workspace-legacy-content{overflow-x:auto}.workspace-legacy-content table{min-width:720px}}

/* Workspace OS 3.0 Wave 4/5/6 visual migration: dashboard content may keep legacy data widgets, never legacy shell chrome. */
.workspace-native-view .workspace-legacy-content .pc-hero,
.workspace-native-view .workspace-legacy-content .crm-hero,
.workspace-native-view .workspace-legacy-content .wms-hero,
.workspace-native-view .workspace-legacy-content .hero,
.workspace-native-view .workspace-legacy-content .header,
.workspace-native-view .workspace-legacy-content .side,
.workspace-native-view .workspace-legacy-content .pc-mobile-bar,
.workspace-native-view .workspace-legacy-content .pc-nav,
.workspace-native-view .workspace-legacy-content .crm-nav,
.workspace-native-view .workspace-legacy-content .wms-section-head{display:none!important}
.workspace-kpi-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:18px}.workspace-kpi-value{font-size:34px;font-weight:900;letter-spacing:-.04em;color:var(--ws-text)}.workspace-native-view .workspace-card{background:var(--ws-surface);border:1px solid var(--ws-border);box-shadow:var(--ws-shadow-soft)}.workspace-native-view .workspace-legacy-content .kpis,.workspace-native-view .workspace-legacy-content .crm-kpi-grid,.workspace-native-view .workspace-legacy-content .wms-kpi-grid,.workspace-native-view .workspace-legacy-content .pc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:0 0 18px}.workspace-native-view .workspace-legacy-content .kpi,.workspace-native-view .workspace-legacy-content .crm-kpi-card,.workspace-native-view .workspace-legacy-content .wms-kpi-card,.workspace-native-view .workspace-legacy-content .pc-card,.workspace-native-view .workspace-legacy-content .panel,.workspace-native-view .workspace-legacy-content .crm-module-card,.workspace-native-view .workspace-legacy-content .wms-module-card,.workspace-native-view .workspace-legacy-content .sm-card{border:1px solid var(--ws-border)!important;border-radius:22px!important;background:var(--ws-surface)!important;box-shadow:var(--ws-shadow-soft)!important;color:var(--ws-text)!important}.workspace-native-view .workspace-legacy-content a{color:inherit}.workspace-native-view .workspace-legacy-content .btn,.workspace-native-view .workspace-legacy-content .crm-action,.workspace-native-view .workspace-legacy-content .totapp-page-action{border-radius:14px!important;border:1px solid var(--ws-border)!important;background:var(--ws-surface-strong)!important;color:var(--ws-text)!important}.workspace-native-view .workspace-legacy-content .badge,.workspace-native-view .workspace-legacy-content .pill,.workspace-native-view .workspace-legacy-content .pc-pill,.workspace-native-view .workspace-legacy-content .module-badge,.workspace-native-view .workspace-legacy-content .wms-badge,.workspace-native-view .workspace-legacy-content .sm-badge{border-radius:999px!important;background:var(--ws-pill-bg)!important;color:var(--ws-pill-text)!important;border:1px solid var(--ws-border)!important}.workspace-native-view .workspace-legacy-content table{background:var(--ws-surface);border-radius:18px;overflow:hidden}.workspace-native-view .workspace-legacy-content th{color:var(--ws-muted)}

