/**
 * Model Coordination — tema estudio claro (menos GPU en decoración, lectura BIM tipo Revit/Navis).
 * Activar con body.rum-mc-studio
 */
body.rum-mc-studio {
    --bg: #f3f4f6;
    --bg-soft: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(17, 24, 39, 0.1);
    --brand: #374151;
    --accent-text: #1f2937;
    --accent-text-hover: #111827;
    --accent-border-strong: rgba(17, 24, 39, 0.22);
    --rum-primary: #2563eb;
    --rum-btn: #374151;
    --panel-border: rgba(17, 24, 39, 0.12);
    --panel-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --stroke: rgba(17, 24, 39, 0.08);
    --shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    --card-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: var(--bg) !important;
    color: var(--text);
}

body.rum-mc-studio .world {
    display: none !important;
}

body.rum-mc-studio .topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    backdrop-filter: none;
}

body.rum-mc-studio .brand {
    color: #111827;
}

body.rum-mc-studio .brand span {
    color: #6b7280;
    text-shadow: none;
    font-weight: 600;
}

body.rum-mc-studio .topbar-pill {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid var(--line);
}

body.rum-mc-studio .topbar-pill--muted {
    color: #6b7280;
}

body.rum-mc-studio .side-panel .card,
body.rum-mc-studio .command-panel {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: none;
    color: var(--text);
}

body.rum-mc-studio .command-header {
    color: #111827;
}

body.rum-mc-studio .command-header h3 {
    color: #111827;
}

body.rum-mc-studio .section-title,
body.rum-mc-studio .status-text {
    color: var(--muted);
}

body.rum-mc-studio .btn-rum {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    box-shadow: none;
}

body.rum-mc-studio .btn-rum:hover:not(:disabled),
body.rum-mc-studio .btn-rum:focus-visible:not(:disabled) {
    background: #374151;
    border-color: #374151;
    color: #ffffff;
}

body.rum-mc-studio .btn-rum:active:not(:disabled) {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

body.rum-mc-studio .btn-rum:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    border-color: #d1d5db;
    opacity: 1;
}

body.rum-mc-studio .btn-rum.btn-secondary {
    background: #fff;
    color: #374151;
    border: 1px solid rgba(17, 24, 39, 0.16);
}

body.rum-mc-studio .btn-rum.btn-secondary:hover:not(:disabled),
body.rum-mc-studio .btn-rum.btn-secondary:focus-visible:not(:disabled) {
    background: #f3f4f6;
    border-color: rgba(17, 24, 39, 0.28);
    color: #111827;
}

body.rum-mc-studio .btn-rum.btn-secondary:active:not(:disabled) {
    background: #e5e7eb;
    border-color: rgba(17, 24, 39, 0.32);
    color: #111827;
}

body.rum-mc-studio .btn-rum.btn-secondary:disabled {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    opacity: 1;
}

body.rum-mc-studio .command-panel select,
body.rum-mc-studio .command-panel input,
body.rum-mc-studio .side-panel select,
body.rum-mc-studio .side-panel input {
    background: #fff;
    color: #111827;
    border: 1px solid rgba(17, 24, 39, 0.14);
}

body.rum-mc-studio .viewer-shell {
    background: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body.rum-mc-studio .viewer-shell::before {
    color: rgba(255, 255, 255, 0.28);
}

body.rum-mc-studio #viewer,
body.rum-mc-studio #viewer canvas {
    background: #000 !important;
}

body.rum-mc-studio .viewer-hud {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    backdrop-filter: none;
}

body.rum-mc-studio .viewer-info-card {
    background: rgba(0, 0, 0, 0.78);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.rum-mc-studio .clash-table th {
    background: #f3f4f6;
    color: #374151;
}

body.rum-mc-studio .clash-table td {
    color: #111827;
    border-color: rgba(17, 24, 39, 0.08);
}

body.rum-mc-studio .clash-table .highlight {
    color: #111827;
}

body.rum-mc-studio .family-donut {
    border-color: rgba(17, 24, 39, 0.12);
    background: #f9fafb;
}

body.rum-mc-studio .family-donut-center {
    color: #374151;
}

body.rum-mc-studio .rum-viewer-widget {
    background: #fff;
    border-color: var(--line);
}

body.rum-mc-studio .rum-viewer-widget__body {
    background: #000;
}

body.rum-mc-studio .viewer-loader {
    background: rgba(0, 0, 0, 0.88) !important;
}

body.rum-mc-studio .viewer-loader__panel {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16) !important;
}

body.rum-mc-studio .viewer-loader .teleport-text,
body.rum-mc-studio .viewer-loader .teleport-text #viewerLoaderTitle,
body.rum-mc-studio .viewer-loader .teleport-text #viewerProgressLabel {
    color: #0f172a !important;
}

body.rum-mc-studio .viewer-loader .teleport-subtitle,
body.rum-mc-studio .viewer-loader #viewerLoaderSubtitle {
    color: #475569 !important;
}

body.rum-mc-studio .viewer-loader .viewer-loader__stage,
body.rum-mc-studio .viewer-loader #viewerLoaderStage {
    color: #b45309 !important;
    font-weight: 600;
    opacity: 1;
}

body.rum-mc-studio .viewer-loader .teleport-bar {
    background: rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.rum-mc-studio .viewer-loader .teleport-progress {
    background: linear-gradient(120deg, #e9bc94, #c68b59) !important;
}

body.rum-mc-studio .main-layout {
    background: transparent;
}

body.rum-mc-studio .command-panel-head,
body.rum-mc-studio .issues-workbench-title {
    color: #111827;
}

body.rum-mc-studio .btn-ghost {
    color: #4b5563;
    border-color: rgba(17, 24, 39, 0.12);
}

body.rum-mc-studio .btn-ghost:hover {
    background: #f3f4f6;
    color: #111827;
}

body.rum-mc-studio .clash-card,
body.rum-mc-studio .issues-card {
    background: #fff;
    border-color: var(--line);
}

body.rum-mc-studio .family-legend-item {
    color: #374151;
}
