/**
 * Coordinación BIM + Issues — adaptación del shell operativo claro al visor y tablero.
 */
body.rum-ops-page.rum-mc-ops-page,
body.rum-ops-page.rum-im-ops-page {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --panel-bg: #ffffff;
  --panel-border: rgba(15, 23, 42, 0.12);
  --glass-bg: #ffffff;
  --stroke: rgba(15, 23, 42, 0.08);
  --shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 16px rgba(2, 6, 23, 0.06);
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

body.rum-ops-page.rum-mc-ops-page .rum-coord-page-wrap,
body.rum-ops-page.rum-im-ops-page .rum-coord-page-wrap {
  background: transparent;
}

body.rum-ops-page.rum-mc-ops-page .topbar,
body.rum-ops-page.rum-mc-ops-page .viewer-page-top {
  display: none !important;
}

body.rum-ops-page.rum-mc-ops-page .rum-ops-workspace {
  background: #ffffff;
}

body.rum-ops-page.rum-mc-ops-page .main-layout,
body.rum-ops-page.rum-mc-ops-page .main-layout--issues-only {
  min-height: min(72vh, 820px);
  border-radius: 0;
  background: #ffffff;
}

body.rum-ops-page.rum-mc-ops-page .side-panel {
  background: #ffffff;
}

body.rum-ops-page.rum-mc-ops-page .side-panel .card,
body.rum-ops-page.rum-mc-ops-page .command-panel,
body.rum-ops-page.rum-mc-ops-page .issues-workbench-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
  color: #0f172a;
}

body.rum-ops-page.rum-mc-ops-page .command-header h3,
body.rum-ops-page.rum-mc-ops-page .issues-workbench-title,
body.rum-ops-page.rum-mc-ops-page .side-panel h3 {
  color: #0f172a;
}

body.rum-ops-page.rum-mc-ops-page .section-title,
body.rum-ops-page.rum-mc-ops-page .status-text,
body.rum-ops-page.rum-mc-ops-page .issues-workbench-lede {
  color: #64748b;
}

body.rum-ops-page.rum-mc-ops-page .btn-rum {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid var(--accent-border);
  box-shadow: none;
  font-weight: 700;
}

body.rum-ops-page.rum-mc-ops-page .btn-rum:hover:not(:disabled),
body.rum-ops-page.rum-mc-ops-page .btn-rum:focus-visible:not(:disabled) {
  background: var(--accent-2);
  border-color: var(--accent-border);
  color: var(--accent-text);
}

body.rum-ops-page.rum-mc-ops-page .btn-rum.btn-secondary {
  background: #eef4fb;
  color: #2a6db0;
  border: 1px solid rgba(42, 109, 176, 0.16);
}

body.rum-ops-page.rum-mc-ops-page .btn-rum.btn-secondary:hover:not(:disabled) {
  background: #dbeafe;
  color: #2a6db0;
}

body.rum-ops-page.rum-mc-ops-page .btn-ghost {
  background: #eef4fb;
  border: 1px solid rgba(42, 109, 176, 0.16);
  color: #2a6db0;
}

body.rum-ops-page.rum-mc-ops-page .command-panel select,
body.rum-ops-page.rum-mc-ops-page .command-panel input,
body.rum-ops-page.rum-mc-ops-page .side-panel select,
body.rum-ops-page.rum-mc-ops-page .side-panel input {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

body.rum-ops-page.rum-mc-ops-page .clash-table th {
  background: #f8fafc;
  color: #475569;
}

body.rum-ops-page.rum-mc-ops-page .topbar-pill {
  background: #eef4fb;
  color: #2a6db0;
  border: 1px solid rgba(42, 109, 176, 0.16);
}

body.rum-ops-page.rum-mc-ops-page .topbar-pill--muted {
  color: #64748b;
}

/* Issues — tablero ejecutivo en tema claro */
body.rum-ops-page.rum-im-ops-page {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: var(--text) !important;
}

body.rum-ops-page.rum-im-ops-page .rum-ops-workspace,
body.rum-ops-page.rum-im-ops-page .main-layout {
  background: #ffffff;
}

body.rum-ops-page.rum-im-ops-page .page .rum-exec-wrap {
  max-width: none;
  margin: 0;
  padding: 0 0 40px;
  width: 100%;
}

body.rum-ops-page.rum-im-ops-page .card-shell,
body.rum-ops-page.rum-im-ops-page .kpi-card,
body.rum-ops-page.rum-im-ops-page .table-card,
body.rum-ops-page.rum-im-ops-page .insight-card {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 16px rgba(2, 6, 23, 0.06) !important;
  color: #0f172a !important;
}

body.rum-ops-page.rum-im-ops-page .kpi-label,
body.rum-ops-page.rum-im-ops-page .section-head h3 {
  color: #0f172a !important;
}

body.rum-ops-page.rum-im-ops-page .section-head p,
body.rum-ops-page.rum-im-ops-page .muted {
  color: #64748b !important;
}

body.rum-ops-page.rum-im-ops-page .section-tag {
  background: #eef4fb;
  color: #2a6db0;
  border: 1px solid rgba(42, 109, 176, 0.16);
}

body.rum-ops-page.rum-im-ops-page .btn,
body.rum-ops-page.rum-im-ops-page .btn-primary {
  background: var(--accent) !important;
  color: var(--accent-text) !important;
  border: 1px solid var(--accent-border) !important;
  font-weight: 700;
}

body.rum-ops-page.rum-im-ops-page .btn-ghost {
  background: #eef4fb !important;
  color: #2a6db0 !important;
  border: 1px solid rgba(42, 109, 176, 0.16) !important;
}

body.rum-ops-page.rum-im-ops-page .btn:hover,
body.rum-ops-page.rum-im-ops-page .btn-ghost:hover {
  filter: brightness(0.98);
}

body.rum-ops-page.rum-im-ops-page select,
body.rum-ops-page.rum-im-ops-page input,
body.rum-ops-page.rum-im-ops-page textarea {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}

body.rum-ops-page.rum-im-ops-page .issues-viewer-column,
body.rum-ops-page.rum-im-ops-page .rum-im-viewer-load {
  border-color: rgba(15, 23, 42, 0.12);
}
