/**
 * Shell claro RÜM — alineado con rum_presentations (matrices APU, cuadrillas, submittals, transmittals).
 * Activar con body.rum-ops-light-shell
 */
body.rum-ops-light-shell {
  --pres-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%);
  --pres-surface: #ffffff;
  --pres-line: rgba(15, 23, 42, 0.12);
  --pres-text: #0f172a;
  --pres-muted: #64748b;
  --pres-primary: #2a6db0;
  --pres-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 16px rgba(2, 6, 23, 0.06);
  --pres-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.1);
  background: var(--pres-bg) !important;
  background-color: #f1f5f9 !important;
  color: var(--pres-text) !important;
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}

body.rum-ops-light-shell .stars-container {
  display: none !important;
}

body.rum-ops-light-shell .rum-navbar .nav-glow::before,
body.rum-ops-light-shell .rum-navbar .nav-glow::after,
body.rum-ops-light-shell .rum-navbar .nav-glow .portal-hover,
body.rum-ops-light-shell .rum-navbar .nav-glow .portal-hover::before,
body.rum-ops-light-shell .rum-navbar .nav-glow .portal-hover::after {
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
}

body.rum-ops-light-shell .rum-navbar .nav-trail {
  display: none !important;
}

body.rum-ops-light-shell .rum-navbar .nav-glow {
  transform: none !important;
  filter: none !important;
  text-shadow: none !important;
}

body.rum-ops-light-shell .rum-navbar .is-active {
  text-shadow: none !important;
}

body.rum-ops-light-shell .rum-footer .nav-glow::before,
body.rum-ops-light-shell .rum-footer .nav-glow::after,
body.rum-ops-light-shell .rum-footer .nav-glow .portal-hover,
body.rum-ops-light-shell .rum-footer .nav-glow .portal-hover::before,
body.rum-ops-light-shell .rum-footer .nav-glow .portal-hover::after {
  display: none !important;
}

body.rum-ops-light-shell .rum-footer .nav-trail {
  display: none !important;
}

body.rum-ops-light-shell .rum-footer .nav-glow {
  transform: none !important;
  filter: none !important;
}

body.rum-ops-light-shell .shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(16px, 2vw, 32px) 80px;
}

body.rum-ops-light-shell .hero {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--pres-line);
}

body.rum-ops-light-shell .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pres-primary) 0%, #4fa3ff 48%, #f3d2b2 100%);
  opacity: 0.65;
  border-radius: 2px;
}

body.rum-ops-light-shell .hero::before {
  display: none;
}

body.rum-ops-light-shell .rum-matrix-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #eef4fb;
  color: var(--pres-primary);
  border: 1px solid rgba(42, 109, 176, 0.16);
  box-shadow: none;
}

body.rum-ops-light-shell .hero h1 {
  margin: 0 0 8px;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--pres-text);
  background: none;
  -webkit-text-fill-color: unset;
}

body.rum-ops-light-shell .hero p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pres-muted);
  margin: 0;
  max-width: 840px;
}

body.rum-ops-light-shell .hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
}

body.rum-ops-light-shell .hero-copy {
  flex: 1 1 360px;
  min-width: 0;
  order: 1;
}

body.rum-ops-light-shell .hero-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: 1 1 100%;
  order: 3;
  min-width: 0;
}

body.rum-ops-light-shell .hero-top > .rum-global-tool-guide-slot {
  flex: 0 0 auto;
  order: 2;
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
  margin-left: auto;
}

body.rum-ops-light-shell .hero-top > .nav-links,
body.rum-ops-light-shell .hero-aside > .nav-links {
  flex: 1 1 100%;
  order: 3;
}

body.rum-ops-light-shell .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  justify-content: stretch;
}

@media (min-width: 720px) {
  body.rum-ops-light-shell .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.rum-ops-light-shell .nav-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

body.rum-ops-light-shell .rum-global-tool-guide-btn.rum-spotlight-tour-trigger[data-rum-tour-trigger="1"],
body.rum-ops-light-shell .rum-global-tool-guide-btn.rum-form-tour-trigger[data-rum-tour-trigger="1"] {
  padding: 8px 14px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(42, 109, 176, 0.28) !important;
  background: #eef4fb !important;
  background-color: #eef4fb !important;
  color: #1e3a5f !important;
  -webkit-text-fill-color: #1e3a5f !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.rum-ops-light-shell .rum-global-tool-guide-btn.rum-spotlight-tour-trigger[data-rum-tour-trigger="1"]:hover,
body.rum-ops-light-shell .rum-global-tool-guide-btn.rum-form-tour-trigger[data-rum-tour-trigger="1"]:hover {
  background: #dbeafe !important;
  background-color: #dbeafe !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  border-color: rgba(42, 109, 176, 0.4) !important;
  box-shadow: 0 2px 8px rgba(42, 109, 176, 0.12) !important;
  transform: translateY(-1px);
}

body.rum-ops-light-shell .nav-links a,
body.rum-ops-light-shell .nav-links a:link,
body.rum-ops-light-shell .nav-links a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #334155;
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.rum-ops-light-shell .nav-links a:hover {
  background: #eef4fb;
  color: var(--pres-primary);
  border-color: rgba(42, 109, 176, 0.22);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

body.rum-ops-light-shell .nav-links a:focus-visible {
  outline: 2px solid rgba(42, 109, 176, 0.45);
  outline-offset: 2px;
  background: #eef4fb;
  color: var(--pres-primary);
}

body.rum-ops-light-shell .nav-links a:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  body.rum-ops-light-shell .nav-links a,
  body.rum-ops-light-shell .nav-links a:active {
    transition: none;
    transform: none;
  }
}

body.rum-ops-light-shell .nav-links a.is-active,
body.rum-ops-light-shell .nav-links a.is-active:visited {
  background: #dbeafe;
  border-color: rgba(42, 109, 176, 0.42);
  color: #1e3a5f;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(42, 109, 176, 0.16);
}

body.rum-ops-light-shell .nav-links a.is-active:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

body.rum-ops-light-shell .action-btn,
body.rum-ops-light-shell .soft-btn {
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 4px;
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

body.rum-ops-light-shell .stats {
  margin-top: 18px;
  margin-bottom: 0;
}

body.rum-ops-light-shell .stat {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .stat::before {
  display: none;
}

body.rum-ops-light-shell .stat b {
  font-size: 22px;
  color: var(--pres-text);
}

body.rum-ops-light-shell .insumo-catalog-bar {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  background: var(--pres-surface);
  color: var(--pres-text);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .insumo-catalog-bar label {
  font-size: 13px;
  font-weight: 700;
  color: var(--pres-text);
  text-transform: none;
  letter-spacing: normal;
}

body.rum-ops-light-shell .insumo-catalog-bar select {
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: #fff;
}

body.rum-ops-light-shell .insumo-catalog-bar select:focus {
  outline: none;
  border-color: rgba(42, 109, 176, 0.35);
  box-shadow: 0 0 0 3px rgba(42, 109, 176, 0.1);
}

body.rum-ops-light-shell .toolbar {
  margin: 20px 0 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
  backdrop-filter: none;
}

body.rum-ops-light-shell .toolbar input {
  border-radius: 12px;
}

body.rum-ops-light-shell .toolbar input:focus {
  outline: none;
  border-color: rgba(42, 109, 176, 0.35);
  box-shadow: 0 0 0 3px rgba(42, 109, 176, 0.1);
}

body.rum-ops-light-shell .card.matrix-card-shell {
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
  min-height: calc(100vh - 280px);
}

body.rum-ops-light-shell .price-catalog-host {
  gap: 16px;
  padding: 16px;
}

body.rum-ops-light-shell .category-card {
  border: 1px solid var(--pres-line);
  border-radius: 12px;
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .category-card summary {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: var(--pres-text);
  border-bottom: 1px solid var(--pres-line);
  padding: 16px 18px;
}

body.rum-ops-light-shell .category-copy strong {
  color: var(--pres-text);
  font-size: 20px;
  font-family: "Baloo 2", system-ui, sans-serif;
}

body.rum-ops-light-shell .category-copy span {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .category-card[open] summary {
  box-shadow: inset 3px 0 0 #f3d2b2;
}

body.rum-ops-light-shell .category-card .group-body {
  background: #fff;
  padding: 12px 14px 16px;
}

body.rum-ops-light-shell .price-table {
  border: 1px solid var(--pres-line);
  border-radius: 10px;
}

body.rum-ops-light-shell .price-table thead th {
  background: #f8fafc;
  color: var(--pres-muted);
  border-bottom: 1px solid var(--pres-line);
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.rum-ops-light-shell .price-table tbody tr[data-row-id]:hover td {
  background: rgba(42, 109, 176, 0.04);
}

body.rum-ops-light-shell .price-table .cell-input:focus,
body.rum-ops-light-shell .price-table .cell-textarea:focus,
body.rum-ops-light-shell .price-table .cell-select:focus {
  border-color: rgba(42, 109, 176, 0.35);
  box-shadow: 0 0 0 2px rgba(42, 109, 176, 0.1);
}

body.rum-ops-light-shell .source-note-trigger {
  color: var(--pres-primary);
  background: #eef4fb;
  border-color: rgba(42, 109, 176, 0.16);
}

body.rum-ops-light-shell .source-note-cell:not(.source-note-cell--readonly) .source-note-trigger:hover {
  border-color: rgba(42, 109, 176, 0.28);
  background: #dbeafe;
  color: #1d4ed8;
}

body.rum-ops-light-shell .price-ref-hint {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .quotes-grid {
  background: #f8fafc;
  border-color: var(--pres-line);
}

body.rum-ops-light-shell .quotes-grid__row--best {
  border-color: rgba(42, 109, 176, 0.28);
  border-left-color: var(--pres-primary);
  background: #eef4fb;
}

body.rum-ops-light-shell .price-row-menu__toggle {
  border-color: var(--pres-line);
  color: var(--pres-text);
  background: #f8fafc;
}

body.rum-ops-light-shell .price-row-menu__toggle:hover {
  border-color: rgba(42, 109, 176, 0.28);
  background: #eef4fb;
}

body.rum-ops-light-shell .matrix-readonly-sticky-banner {
  border-color: rgba(42, 109, 176, 0.22);
  background: #eef4fb;
  color: #1e3a5f;
}

body.rum-ops-light-shell .matrix-unsaved-sticky-banner {
  border-color: rgba(229, 146, 79, 0.35);
  background: #fffbeb;
}

body.rum-ops-light-shell .matrix-toast {
  background: var(--pres-text);
  border: 1px solid rgba(15, 23, 42, 0.2);
}

body.rum-ops-light-shell .matrix-name-dialog__panel {
  border-color: var(--pres-line);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
}

body.rum-ops-light-shell .matrix-name-dialog__panel h3 {
  color: var(--pres-text);
  font-family: "Baloo 2", system-ui, sans-serif;
}

@media (max-width: 720px) {
  body.rum-ops-light-shell .category-card summary {
    flex-direction: column;
    align-items: flex-start;
  }

  body.rum-ops-light-shell .category-actions {
    width: 100%;
  }
}

/* ── Matrices APU: grupos, tablas, salario real, maquinaria ── */
body.rum-ops-light-shell .group-card,
body.rum-ops-light-shell .real-salary-bulk,
body.rum-ops-light-shell .real-salary-table-group,
body.rum-ops-light-shell .real-salary-sidebar,
body.rum-ops-light-shell .real-salary-toolbar {
  border-color: var(--pres-line);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .group-card summary,
body.rum-ops-light-shell .machine-summary-copy strong {
  color: var(--pres-text);
}

body.rum-ops-light-shell .card th,
body.rum-ops-light-shell table th {
  background: #f8fafc !important;
  color: var(--pres-muted) !important;
  border-bottom: 1px solid var(--pres-line);
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.rum-ops-light-shell .card {
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
  background: var(--pres-surface);
}

body.rum-ops-light-shell .real-salary-tab.is-active {
  color: var(--pres-text);
  border-bottom-color: #fff;
}

body.rum-ops-light-shell .real-salary-tabs {
  background: #f8fafc;
  border-bottom-color: var(--pres-line);
}

body.rum-ops-light-shell .group-stack,
body.rum-ops-light-shell .machine-group-host,
body.rum-ops-light-shell .real-salary-wrap {
  padding: 16px;
}

/* ── Cuadrillas (crew_matrix.php) ── */
body.rum-ops-light-shell .nav a,
body.rum-ops-light-shell .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(229, 146, 79, 0.58);
  background: #f3d2b2;
  color: #7a431c;
  text-decoration: none;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  transition: background 0.15s, transform 0.12s, border-color 0.15s;
}

body.rum-ops-light-shell .nav a:hover,
body.rum-ops-light-shell .btn:hover {
  background: #eebf95;
  transform: translateY(-1px);
}

body.rum-ops-light-shell .crew-card {
  border: 1px solid var(--pres-line);
  border-radius: 12px;
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .crew-toggle {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: var(--pres-text);
}

body.rum-ops-light-shell .crew-section-title {
  margin: 0 0 6px;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--pres-text);
}

body.rum-ops-light-shell .crew-section-hint {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pres-muted);
}

body.rum-ops-light-shell .crew-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

body.rum-ops-light-shell .crew-form-grid .span-2 {
  grid-column: span 2;
}

body.rum-ops-light-shell .crew-form-grid .full {
  grid-column: 1 / -1;
}

body.rum-ops-light-shell .crew-form-card,
body.rum-ops-light-shell .crew-list-card {
  margin-bottom: 16px;
}

body.rum-ops-light-shell .crew-list-card {
  padding: 18px;
}

@media (max-width: 900px) {
  body.rum-ops-light-shell .crew-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.rum-ops-light-shell .hero-aside {
    align-items: stretch;
    flex-basis: 100%;
  }

  body.rum-ops-light-shell .crew-form-grid {
    grid-template-columns: 1fr;
  }

  body.rum-ops-light-shell .crew-form-grid .span-2 {
    grid-column: span 1;
  }
}

body.rum-ops-light-shell .items-table th {
  background: #f8fafc;
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pres-muted);
}

body.rum-ops-light-shell .items-table td,
body.rum-ops-light-shell label,
body.rum-ops-light-shell input,
body.rum-ops-light-shell textarea,
body.rum-ops-light-shell select,
body.rum-ops-light-shell .crew-section-hint,
body.rum-ops-light-shell .meta,
body.rum-ops-light-shell .muted,
body.rum-ops-light-shell .empty {
  font-family: var(--rum-font-ui, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
}

/* ── Submittals / Transmittals (Productivity) ── */
body.rum-ops-light-shell .sb-wrap,
body.rum-ops-light-shell .trx-wrap,
body.rum-ops-light-shell .qc-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(16px, 2vw, 32px) 80px;
}

body.rum-ops-light-shell .sb-header,
body.rum-ops-light-shell .trx-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pres-line);
}

body.rum-ops-light-shell .sb-header::after,
body.rum-ops-light-shell .trx-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pres-primary) 0%, #4fa3ff 48%, #f3d2b2 100%);
  opacity: 0.65;
  border-radius: 2px;
}

body.rum-ops-light-shell .sb-header > div,
body.rum-ops-light-shell .trx-header > div {
  flex: 1;
  min-width: 0;
}

body.rum-ops-light-shell .sb-header .rum-matrix-eyebrow,
body.rum-ops-light-shell .trx-header .rum-matrix-eyebrow {
  margin-bottom: 8px;
}

body.rum-ops-light-shell .sb-header h1,
body.rum-ops-light-shell .trx-header h1 {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--pres-text);
  margin: 0;
  flex: 1;
}

body.rum-ops-light-shell .sb-btn,
body.rum-ops-light-shell .trx-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, transform 0.12s;
}

body.rum-ops-light-shell .sb-btn-primary,
body.rum-ops-light-shell .trx-btn-primary {
  background: #f3d2b2;
  color: #7a431c;
  border-color: rgba(229, 146, 79, 0.58);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

body.rum-ops-light-shell .sb-btn-primary:hover,
body.rum-ops-light-shell .trx-btn-primary:hover {
  background: #eebf95;
  transform: translateY(-1px);
}

body.rum-ops-light-shell .sb-btn-ghost,
body.rum-ops-light-shell .trx-btn-ghost {
  background: #eef4fb;
  color: var(--pres-primary);
  border: 1px solid rgba(42, 109, 176, 0.16);
}

body.rum-ops-light-shell .sb-btn-ghost:hover,
body.rum-ops-light-shell .trx-btn-ghost:hover {
  background: #dbeafe;
}

body.rum-ops-light-shell .sb-kpi,
body.rum-ops-light-shell .trx-kpi {
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .sb-kpi__label,
body.rum-ops-light-shell .trx-kpi__label {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .sb-kpi__value,
body.rum-ops-light-shell .trx-kpi__value {
  color: var(--pres-text);
}

body.rum-ops-light-shell .sb-kpi.warn .sb-kpi__value { color: #b45309; }
body.rum-ops-light-shell .sb-kpi.danger .sb-kpi__value { color: #dc2626; }
body.rum-ops-light-shell .sb-kpi.ok .sb-kpi__value { color: #16a34a; }

body.rum-ops-light-shell .sb-table-wrap,
body.rum-ops-light-shell .trx-table-wrap {
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .sb-table th,
body.rum-ops-light-shell .trx-table th {
  background: #f8fafc;
  color: var(--pres-muted);
  border-bottom: 1px solid var(--pres-line);
}

body.rum-ops-light-shell .sb-table td,
body.rum-ops-light-shell .trx-table td {
  color: var(--pres-text);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.rum-ops-light-shell .sb-table tr:hover td,
body.rum-ops-light-shell .trx-table tr:hover td {
  background: rgba(42, 109, 176, 0.04);
}

body.rum-ops-light-shell .sb-chip {
  border: 1px solid var(--pres-line);
  color: var(--pres-muted);
  background: #fff;
}

body.rum-ops-light-shell .sb-chip.active {
  color: var(--pres-text);
  border-color: rgba(42, 109, 176, 0.28);
  background: #eef4fb;
}

body.rum-ops-light-shell .chip-all.active { background: #e2e8f0; }
body.rum-ops-light-shell .chip-ENVIADO.active { background: #dbeafe; color: #1d4ed8; }
body.rum-ops-light-shell .chip-EN_REVISION.active { background: #fef3c7; color: #b45309; }
body.rum-ops-light-shell .chip-APROBADO.active { background: #dcfce7; color: #15803d; }
body.rum-ops-light-shell .chip-APROBADO_CON_COMENTARIOS.active { background: #d1fae5; color: #047857; }
body.rum-ops-light-shell .chip-RECHAZADO.active { background: #fee2e2; color: #b91c1c; }

body.rum-ops-light-shell .sb-status.BORRADOR { background: #f1f5f9; color: #64748b; }
body.rum-ops-light-shell .sb-status.ENVIADO { background: #dbeafe; color: #1d4ed8; }
body.rum-ops-light-shell .sb-status.EN_REVISION { background: #fef3c7; color: #b45309; }
body.rum-ops-light-shell .sb-status.APROBADO { background: #dcfce7; color: #15803d; }
body.rum-ops-light-shell .sb-status.APROBADO_CON_COMENTARIOS { background: #d1fae5; color: #047857; }
body.rum-ops-light-shell .sb-status.RECHAZADO { background: #fee2e2; color: #b91c1c; }

body.rum-ops-light-shell .trx-status.BORRADOR { background: #f1f5f9; color: #64748b; }
body.rum-ops-light-shell .trx-status.ENVIADO { background: #dbeafe; color: #1d4ed8; }
body.rum-ops-light-shell .trx-status.ACUSADO { background: #dcfce7; color: #15803d; }
body.rum-ops-light-shell .trx-status.RECHAZADO { background: #fee2e2; color: #b91c1c; }
body.rum-ops-light-shell .trx-status.CERRADO { background: #f1f5f9; color: #64748b; }

body.rum-ops-light-shell .purpose-badge {
  background: #eef4fb;
  color: var(--pres-primary);
}

body.rum-ops-light-shell .sb-modal-bg,
body.rum-ops-light-shell .trx-modal-bg {
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
}

body.rum-ops-light-shell .sb-modal,
body.rum-ops-light-shell .trx-modal {
  background: #fff;
  border: 1px solid var(--pres-line);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
  color: var(--pres-text);
}

body.rum-ops-light-shell .sb-modal h2,
body.rum-ops-light-shell .trx-modal h2 {
  color: var(--pres-text);
  font-family: "Baloo 2", system-ui, sans-serif;
}

body.rum-ops-light-shell .sb-field label,
body.rum-ops-light-shell .trx-field label {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .sb-field input,
body.rum-ops-light-shell .sb-field select,
body.rum-ops-light-shell .sb-field textarea,
body.rum-ops-light-shell .trx-field input,
body.rum-ops-light-shell .trx-field select,
body.rum-ops-light-shell .trx-field textarea,
body.rum-ops-light-shell .trx-doc-row input {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--pres-text);
}

body.rum-ops-light-shell .sb-empty,
body.rum-ops-light-shell .trx-empty {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .sb-msg.ok,
body.rum-ops-light-shell .trx-msg.ok {
  background: #dcfce7;
  color: #15803d;
}

body.rum-ops-light-shell .sb-msg.err,
body.rum-ops-light-shell .trx-msg.err {
  background: #fee2e2;
  color: #b91c1c;
}

body.rum-ops-light-shell .overdue {
  color: #dc2626;
}

/* ── Contratos / Lien Waivers / Forecasting EAC / HSE hub ── */
body.rum-ops-light-shell .ct-wrap,
body.rum-ops-light-shell .lw-wrap,
body.rum-ops-light-shell .ll-wrap,
body.rum-ops-light-shell .fc-wrap,
body.rum-ops-light-shell .cf-wrap,
body.rum-ops-light-shell .evm-wrap,
body.rum-ops-light-shell .fin-wrap,
body.rum-ops-light-shell .hse-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(16px, 2vw, 32px) 48px;
}

body.rum-ops-light-shell.rum-ops-pm-tool .ct-wrap {
  padding-bottom: 32px;
}

body.rum-ops-light-shell .ct-ops-top {
  margin-bottom: 20px;
}

body.rum-ops-light-shell .ct-ops-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pres-primary);
  text-decoration: none;
}

body.rum-ops-light-shell .ct-ops-back:hover {
  text-decoration: underline;
}

body.rum-ops-light-shell .ct-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pres-line);
  position: relative;
}

body.rum-ops-light-shell .ct-toolbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pres-primary) 0%, #4fa3ff 48%, #f3d2b2 100%);
  opacity: 0.65;
  border-radius: 2px;
}

body.rum-ops-light-shell .ct-toolbar__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

body.rum-ops-light-shell .ct-toolbar__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

body.rum-ops-light-shell .ct-ops-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--pres-line);
  background: #fff;
  color: var(--pres-muted);
}

body.rum-ops-light-shell .ct-ops-chip--muted {
  font-weight: 600;
}

body.rum-ops-light-shell .ct-proj-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .ct-proj-bar label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pres-muted);
  white-space: nowrap;
}

body.rum-ops-light-shell .ct-proj-bar select {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--pres-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--pres-text);
  background: #fff;
}

body.rum-ops-light-shell .ct-header,
body.rum-ops-light-shell .lw-header,
body.rum-ops-light-shell .ll-header,
body.rum-ops-light-shell .fc-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pres-line);
  position: relative;
}

body.rum-ops-light-shell .fc-header::after,
body.rum-ops-light-shell .ll-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pres-primary) 0%, #4fa3ff 48%, #f3d2b2 100%);
  opacity: 0.65;
  border-radius: 2px;
}

body.rum-ops-light-shell .ct-header > div,
body.rum-ops-light-shell .lw-header > div,
body.rum-ops-light-shell .ll-header > div,
body.rum-ops-light-shell .fc-header > div {
  flex: 1;
  min-width: 0;
}

body.rum-ops-light-shell .ct-header h1,
body.rum-ops-light-shell .lw-header h1,
body.rum-ops-light-shell .ll-header h1,
body.rum-ops-light-shell .fc-header h1,
body.rum-ops-light-shell .hse-hero h1 {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--pres-text);
  margin: 0;
}

body.rum-ops-light-shell .hse-hero p {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .hse-pill,
body.rum-ops-light-shell .rum-matrix-eyebrow {
  margin-bottom: 8px;
}

body.rum-ops-light-shell .ct-btn,
body.rum-ops-light-shell .lw-btn,
body.rum-ops-light-shell .ll-btn,
body.rum-ops-light-shell .fc-preset,
body.rum-ops-light-shell .hse-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, transform 0.12s, color 0.15s;
}

body.rum-ops-light-shell .ct-btn-primary,
body.rum-ops-light-shell .lw-btn-primary,
body.rum-ops-light-shell .ll-btn-primary {
  background: #f3d2b2;
  color: #7a431c;
  border-color: rgba(229, 146, 79, 0.58);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

body.rum-ops-light-shell .ct-btn-primary:hover,
body.rum-ops-light-shell .lw-btn-primary:hover,
body.rum-ops-light-shell .ll-btn-primary:hover {
  background: #eebf95;
  transform: translateY(-1px);
}

body.rum-ops-light-shell .ct-btn-ghost,
body.rum-ops-light-shell .lw-btn-ghost,
body.rum-ops-light-shell .ll-btn-ghost,
body.rum-ops-light-shell .hse-btn--ghost {
  background: #eef4fb;
  color: var(--pres-primary);
  border-color: rgba(42, 109, 176, 0.16);
}

body.rum-ops-light-shell .ct-btn-ghost:hover,
body.rum-ops-light-shell .lw-btn-ghost:hover,
body.rum-ops-light-shell .ll-btn-ghost:hover,
body.rum-ops-light-shell .hse-btn--ghost:hover {
  background: #dbeafe;
}

body.rum-ops-light-shell .hse-btn {
  background: #f3d2b2;
  color: #7a431c;
  border-color: rgba(229, 146, 79, 0.58);
}

body.rum-ops-light-shell .hse-btn:hover {
  background: #eebf95;
}

body.rum-ops-light-shell .ct-kpi,
body.rum-ops-light-shell .lw-kpi,
body.rum-ops-light-shell .ll-kpi,
body.rum-ops-light-shell .fc-kpi,
body.rum-ops-light-shell .hse-kpi {
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .ct-kpi__label,
body.rum-ops-light-shell .lw-kpi__label,
body.rum-ops-light-shell .ll-kpi__label,
body.rum-ops-light-shell .fc-kpi__label,
body.rum-ops-light-shell .hse-kpi span {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .ct-kpi__value,
body.rum-ops-light-shell .lw-kpi__value,
body.rum-ops-light-shell .ll-kpi__val,
body.rum-ops-light-shell .fc-kpi__value,
body.rum-ops-light-shell .hse-kpi strong {
  color: var(--pres-text);
}

body.rum-ops-light-shell .ct-kpi__sub,
body.rum-ops-light-shell .ll-kpi__sub,
body.rum-ops-light-shell .fc-kpi__sub {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .fc-kpi.good .fc-kpi__value,
body.rum-ops-light-shell .lw-kpi.ok .lw-kpi__value,
body.rum-ops-light-shell .ll-kpi.ok .ll-kpi__val { color: #16a34a; }

body.rum-ops-light-shell .fc-kpi.warn .fc-kpi__value,
body.rum-ops-light-shell .lw-kpi.warn .lw-kpi__value { color: #b45309; }

body.rum-ops-light-shell .fc-kpi.bad .fc-kpi__value,
body.rum-ops-light-shell .ll-kpi.danger .ll-kpi__val { color: #dc2626; }

body.rum-ops-light-shell .ct-contract-card {
  border: 1px solid var(--pres-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .ct-contract-header {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

body.rum-ops-light-shell .ct-contract-header:hover {
  background: #f1f5f9;
}

body.rum-ops-light-shell .ct-contract-name,
body.rum-ops-light-shell .ct-detail-value {
  color: var(--pres-text);
}

body.rum-ops-light-shell .ct-contract-num {
  color: var(--pres-primary);
}

body.rum-ops-light-shell .ct-contract-body {
  border-top: 1px solid var(--pres-line);
  background: var(--pres-surface);
}

body.rum-ops-light-shell .ct-detail-box {
  background: #f8fafc;
  border: 1px solid var(--pres-line);
}

body.rum-ops-light-shell .ct-detail-label {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .ct-detail-value.positive { color: #16a34a; }
body.rum-ops-light-shell .ct-detail-value.negative { color: #dc2626; }
body.rum-ops-light-shell .ct-detail-value.warn { color: #b45309; }

body.rum-ops-light-shell .ct-progress-bar {
  background: rgba(15, 23, 42, 0.08);
}

body.rum-ops-light-shell .ct-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--pres-primary);
}

body.rum-ops-light-shell .ct-val-table th,
body.rum-ops-light-shell .lw-table th,
body.rum-ops-light-shell .fc-scen-table th {
  background: #f8fafc;
  color: var(--pres-muted);
  border-bottom: 1px solid var(--pres-line);
}

body.rum-ops-light-shell .ct-val-table td,
body.rum-ops-light-shell .lw-table td,
body.rum-ops-light-shell .fc-scen-table td {
  color: var(--pres-text);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.rum-ops-light-shell .lw-table tr:hover td,
body.rum-ops-light-shell .ct-val-table tr:hover td {
  background: rgba(42, 109, 176, 0.04);
}

body.rum-ops-light-shell .lw-table-wrap,
body.rum-ops-light-shell .fc-chart-wrap {
  border-radius: 12px;
  border: 1px solid var(--pres-line);
  background: var(--pres-surface);
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .lw-table-wrap {
  overflow-x: auto;
}

body.rum-ops-light-shell .ct-tab,
body.rum-ops-light-shell .lw-tab {
  border: 1px solid var(--pres-line);
  color: var(--pres-muted);
  background: #f8fafc;
}

body.rum-ops-light-shell .ct-tab.active {
  background: #eef4fb;
  color: var(--pres-primary);
  border-color: rgba(42, 109, 176, 0.28);
}

body.rum-ops-light-shell .lw-tab.active {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}

body.rum-ops-light-shell .ct-modal-bg,
body.rum-ops-light-shell .lw-modal-bg,
body.rum-ops-light-shell .ll-modal-bg {
  background: rgba(15, 23, 42, 0.45);
}

body.rum-ops-light-shell .ct-modal,
body.rum-ops-light-shell .lw-modal,
body.rum-ops-light-shell .ll-modal {
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow-hover);
}

body.rum-ops-light-shell .ct-modal h2,
body.rum-ops-light-shell .lw-modal h2,
body.rum-ops-light-shell .ll-modal h2,
body.rum-ops-light-shell .fc-panel h2 {
  color: var(--pres-text);
}

body.rum-ops-light-shell .ct-field label,
body.rum-ops-light-shell .lw-field label,
body.rum-ops-light-shell .ll-field label,
body.rum-ops-light-shell .fc-slider-item label {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .ct-field input,
body.rum-ops-light-shell .ct-field select,
body.rum-ops-light-shell .ct-field textarea,
body.rum-ops-light-shell .lw-field input,
body.rum-ops-light-shell .lw-field select,
body.rum-ops-light-shell .lw-field textarea,
body.rum-ops-light-shell .ll-field input,
body.rum-ops-light-shell .ll-field select,
body.rum-ops-light-shell .ll-field textarea {
  border: 1px solid var(--pres-line);
  background: #fff;
  color: var(--pres-text);
}

body.rum-ops-light-shell .ct-modal-msg.ok,
body.rum-ops-light-shell .lw-msg.ok {
  display: block;
  background: #dcfce7;
  color: #15803d;
}

body.rum-ops-light-shell .ct-modal-msg.err,
body.rum-ops-light-shell .lw-msg.err {
  display: block;
  background: #fee2e2;
  color: #b91c1c;
}

body.rum-ops-light-shell .ct-empty,
body.rum-ops-light-shell .lw-empty,
body.rum-ops-light-shell .ll-empty {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .fc-panel,
body.rum-ops-light-shell .hse-panel {
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  box-shadow: var(--pres-shadow);
  color: var(--pres-text);
}

body.rum-ops-light-shell .fc-preset {
  background: #f8fafc;
  color: var(--pres-muted);
  border-color: var(--pres-line);
}

body.rum-ops-light-shell button.fc-preset {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Baloo 2", system-ui, sans-serif;
}

body.rum-ops-light-shell .fc-preset.is-active {
  transform: none;
}

body.rum-ops-light-shell .fc-preset.pessimistic {
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

body.rum-ops-light-shell .fc-preset.realistic {
  border-color: rgba(42, 109, 176, 0.35);
  color: var(--pres-primary);
}

body.rum-ops-light-shell .fc-preset.optimistic {
  border-color: rgba(22, 163, 74, 0.35);
  color: #15803d;
}

body.rum-ops-light-shell .fc-preset:hover {
  background: #eef4fb;
}

body.rum-ops-light-shell .fc-slider-val {
  color: var(--pres-text);
}

body.rum-ops-light-shell .fc-formula-box {
  background: #eef4fb;
  border: 1px solid rgba(42, 109, 176, 0.2);
  color: #1e3a5f;
}

body.rum-ops-light-shell .fc-formula-box code {
  background: rgba(255, 255, 255, 0.7);
}

body.rum-ops-light-shell .fc-scen-table tr:hover td {
  background: rgba(42, 109, 176, 0.04);
}

body.rum-ops-light-shell .fc-panel + .fc-panel {
  margin-top: 14px;
}

body.rum-ops-light-shell .scen-pessimistic td { color: #b91c1c; }
body.rum-ops-light-shell .scen-realistic td { color: var(--pres-primary); }
body.rum-ops-light-shell .scen-optimistic td { color: #15803d; }
body.rum-ops-light-shell .scen-current td { color: #b45309; }

body.rum-ops-light-shell .hse-tab {
  background: #eef4fb;
  color: var(--pres-primary);
  border-color: rgba(42, 109, 176, 0.16);
}

body.rum-ops-light-shell .hse-tab.is-active {
  background: #f3d2b2;
  color: #7a431c;
  border-color: rgba(229, 146, 79, 0.58);
}

body.rum-ops-light-shell .hse-back a {
  background: #f3d2b2;
  color: #7a431c;
  border-color: rgba(229, 146, 79, 0.58);
}

body.rum-ops-light-shell .lw-panel {
  background: var(--pres-surface);
  border: 1px solid var(--pres-line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--pres-shadow);
}

body.rum-ops-light-shell .lw-panel p {
  color: var(--pres-muted);
}

body.rum-ops-light-shell .alert-row td {
  background: #fffbeb !important;
  border-left: 3px solid #f59e0b;
}

