.cg-consol-note{margin:0 0 10px;padding:8px 10px;border-radius:8px;border:1px solid rgba(250,204,21,.45);background:rgba(250,204,21,.08);font-size:.85rem}
.cg-consol-note.error{border-color:rgba(239,68,68,.5);background:rgba(239,68,68,.08)}
.cg-consol-scroll{overflow-x:auto}
.cg-consol-table{width:100%;border-collapse:collapse;font-size:.88rem}
.cg-consol-table th,.cg-consol-table td{padding:7px 8px;text-align:right;border-bottom:1px solid rgba(148,163,184,.25);white-space:nowrap}
.cg-consol-table th:first-child,.cg-consol-table td:first-child{text-align:left;white-space:normal}
.cg-consol-table button{background:none;border:0;padding:0;color:inherit;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;text-align:left}
.cg-consol-table .posture-good{color:#22c55e}.cg-consol-table .posture-watch{color:#ca8a04}.cg-consol-table .posture-risk{color:#ef4444}
.cg-consol-total td{font-weight:700;border-top:2px solid rgba(148,163,184,.5)}

/* Riesgos y Escenarios consolidado: vista para Junta Directiva y comités (reutiliza exec-* de cg-shell.css) */
.cg-risk-consolidated { width: 100%; max-width: none; align-self: stretch; justify-self: stretch; }
.cg-risk-consolidated .risk-filter-disclosure, .cg-risk-consolidated #rvNew, .cg-risk-consolidated #rvScopeNote, .cg-risk-consolidated #rvKpis:empty, .cg-risk-consolidated #rvAppetiteEditor:empty { display: none; }
.cg-rc { display: grid; gap: 18px; width: 100%; min-width: 0; }
.cg-rc-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.cg-rc-tabs, .cg-rc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-rc-tab { border: 1px solid #dbeafe; background: #fff; color: #1e3a8a; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 13px; transition: background .2s, color .2s, box-shadow .2s; }
.cg-rc-tab:hover { box-shadow: 0 8px 20px #1e40af1f; }
.cg-rc-tab.on { background: linear-gradient(135deg, #2563eb, #7c3aed); border-color: transparent; color: #fff; box-shadow: 0 10px 24px #2563eb40; }
.cg-rc-note { padding: 10px 14px; border-radius: 14px; border: 1px solid #dbeafe; background: #f8fbff; font-size: 13px; }
.cg-rc-note.error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.cg-rc-body { display: grid; gap: 18px; min-width: 0; }
.cg-rc-hero { margin: 0; }
.cg-rc-kpis { margin: 0; }
.cg-rc-kpis .exec-kpi { min-height: 150px; }
.cg-rc-kpis .exec-kpi .v { display: block; }
.exec-kpi-meter i, .cg-rc-bar i { width: var(--w, 0%); animation: cgRcGrow .9s cubic-bezier(.2, .7, .2, 1) both; }
.cg-rc-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.cg-rc-method.primary { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb55 inset, 0 14px 34px #2563eb1f; }
.cg-rc-method span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cg-rc-method em { font-style: normal; text-transform: none; letter-spacing: 0; padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-size: 11px; }
.cg-rc-method strong { display: block; margin-top: 6px; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1; color: #0f172a; }
.cg-rc-method p { margin: 8px 0 0; color: #475569; font-size: 13px; }
.cg-rc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.cg-rc-panel { min-width: 0; }
.cg-rc-insights { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.cg-rc-insight { display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid #dbeafe; background: #f8fbff; }
.cg-rc-insight > i { width: 12px; height: 12px; margin-top: 4px; border-radius: 999px; background: #3b82f6; box-shadow: 0 0 14px currentColor; color: #3b82f6; }
.cg-rc-insight.bad { background: #fef2f2; border-color: #fecaca; } .cg-rc-insight.bad > i { background: #ef4444; color: #ef4444; }
.cg-rc-insight.warn { background: #fffbeb; border-color: #fde68a; } .cg-rc-insight.warn > i { background: #f59e0b; color: #f59e0b; }
.cg-rc-insight.ok { background: #f0fdf4; border-color: #bbf7d0; } .cg-rc-insight.ok > i { background: #22c55e; color: #22c55e; }
.cg-rc-insight b { display: block; color: #0f172a; font-size: 14px; }
.cg-rc-insight p { margin: 4px 0 0; color: #475569; font-size: 13px; line-height: 1.5; }
.cg-rc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #475569; }
.cg-rc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.cg-rc i.ok, .cg-rc-pill.ok { background: #22c55e; } .cg-rc i.warn, .cg-rc-pill.warn { background: #f59e0b; } .cg-rc i.bad, .cg-rc-pill.bad { background: #ef4444; }
.cg-rc-org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 14px; }
.cg-rc-org { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px; border: 1px solid #dbeafe; border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 14px 34px #0f172a0d; transition: transform .2s, box-shadow .2s; }
.cg-rc-org:hover { transform: translateY(-3px); box-shadow: 0 22px 44px #1e40af22; }
.cg-rc-org::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: #94a3b8; }
.cg-rc-org.ok::before { background: linear-gradient(90deg, #22c55e, #38bdf8); } .cg-rc-org.warn::before { background: linear-gradient(90deg, #f59e0b, #facc15); } .cg-rc-org.bad::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.cg-rc-org header { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.cg-rc-org h4 { margin: 0; font-size: 15px; color: #0f172a; overflow-wrap: anywhere; }
.cg-rc-org-main { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.cg-rc-ring { --p: 0; --c: #22c55e; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #fff 0 59%, transparent 60%), conic-gradient(from 0deg, var(--c) calc(var(--p) * 1%), #e2e8f0 0); box-shadow: 0 10px 24px #0f172a14; animation: cgRcSpin .9s ease both; }
.cg-rc-ring b { font-size: 24px; letter-spacing: -.04em; color: #0f172a; line-height: 1; }
.cg-rc-ring small { font-size: 10px; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cg-rc-org dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.cg-rc-org dt { font-size: 10px; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cg-rc-org dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.cg-rc-org footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #475569; }
.cg-rc-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #e2e8f0; }
.cg-rc-bar i { display: block; height: 100%; flex: 0 0 var(--w); }
.cg-rc-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.cg-rc-pill.muted { background: #94a3b8; }
.cg-rc-scroll { overflow-x: auto; margin-top: 12px; }
.cg-rc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cg-rc-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.cg-rc-table th, .cg-rc-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.cg-rc-table tbody tr:hover { background: #f1f5ff; }
.cg-rc-table td.n { text-align: right; font-variant-numeric: tabular-nums; }
.cg-rc-table.matrix td, .cg-rc-table.matrix th:not(:first-child) { text-align: center; }
.cg-rc-table.matrix td { font-weight: 800; font-size: 15px; }
.cg-rc-heat.l-0 { background: #f1f5f9; }
.cg-rc-heat.b-high.l-1, .cg-rc-heat.b-medium_high.l-1 { background: rgba(239, 68, 68, .16); } .cg-rc-heat.b-high.l-2, .cg-rc-heat.b-medium_high.l-2 { background: rgba(239, 68, 68, .3); } .cg-rc-heat.b-high.l-3, .cg-rc-heat.b-medium_high.l-3 { background: rgba(239, 68, 68, .5); } .cg-rc-heat.b-high.l-4, .cg-rc-heat.b-medium_high.l-4 { background: rgba(239, 68, 68, .72); color: #fff; }
.cg-rc-heat.b-medium.l-1 { background: rgba(245, 158, 11, .16); } .cg-rc-heat.b-medium.l-2 { background: rgba(245, 158, 11, .3); } .cg-rc-heat.b-medium.l-3 { background: rgba(245, 158, 11, .5); } .cg-rc-heat.b-medium.l-4 { background: rgba(245, 158, 11, .72); }
.cg-rc-heat.b-medium_low.l-1, .cg-rc-heat.b-low.l-1 { background: rgba(34, 197, 94, .16); } .cg-rc-heat.b-medium_low.l-2, .cg-rc-heat.b-low.l-2 { background: rgba(34, 197, 94, .3); } .cg-rc-heat.b-medium_low.l-3, .cg-rc-heat.b-low.l-3 { background: rgba(34, 197, 94, .5); } .cg-rc-heat.b-medium_low.l-4, .cg-rc-heat.b-low.l-4 { background: rgba(34, 197, 94, .72); }
.cg-rc-in { animation: cgRcIn .55s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cgRcIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cgRcGrow { from { width: 0; flex-basis: 0; } }
@keyframes cgRcSpin { from { opacity: 0; transform: scale(.85) rotate(-40deg); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .cg-rc-split { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cg-rc-methods { grid-template-columns: 1fr; } .cg-rc-org-grid { grid-template-columns: 1fr; } .cg-rc-org-main { grid-template-columns: 96px 1fr; } .cg-rc-ring { width: 96px; height: 96px; } }
@media (prefers-reduced-motion: reduce) { .cg-rc-in, .cg-rc-ring, .exec-kpi-meter i, .cg-rc-bar i { animation: none; } }
@media print {
  body.cg-printing-rc .side, body.cg-printing-rc #sideNav, body.cg-printing-rc .top, body.cg-printing-rc .cg-rc-head, body.cg-printing-rc .organization-switcher, body.cg-printing-rc .toolbar, body.cg-printing-rc [data-rc-open] { display: none !important; }
  body.cg-printing-rc .main { margin: 0 !important; width: 100% !important; padding: 0 !important; }
  body.cg-printing-rc .cg-rc-in { animation: none; }
  body.cg-printing-rc .cg-rc-org, body.cg-printing-rc .exec-kpi, body.cg-printing-rc .cg-rc-insight { break-inside: avoid; }
  body.cg-printing-rc * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.cg-rc-insight p b, .cg-rc-method p b, .cg-rc-note b { display: inline; font-size: inherit; color: #0f172a; }
.cg-rc-hero h2 { font-size: clamp(26px, 3vw, 40px); max-width: 760px; }
.cg-rc-hero .exec-title-kicker strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cg-rc i.neutral { background: #94a3b8; }
.cg-rc-bar i.warn, .cg-rc-bar i.ok, .cg-rc-bar i.bad { background-clip: border-box; }
.cg-rc-bars { display: grid; gap: 12px; margin-top: 14px; }
.cg-rc-barrow { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 64px; gap: 12px; align-items: center; font-size: 13px; }
.cg-rc-barrow .name { font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.cg-rc-barrow .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.cg-rc-barrow .cg-rc-bar { height: 12px; }
@media (max-width: 640px) { .cg-rc-barrow { grid-template-columns: 1fr 56px; } .cg-rc-barrow .name { grid-column: 1 / -1; } }
/* exec-panel no trae relleno propio: se lo damos al contenido de las vistas consolidadas */
.cg-rc-panel { padding-bottom: 18px; }
.cg-rc-panel > .cg-rc-bars, .cg-rc-panel > .cg-rc-org-grid, .cg-rc-panel > .cg-rc-scroll, .cg-rc-panel > .cg-rc-insights, .cg-rc-panel > p { margin-left: 18px; margin-right: 18px; }
.cg-rc-org.rollup { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb55 inset, 0 14px 34px #2563eb1f; }
.cg-rc-rollup { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; color: #1d4ed8; letter-spacing: .02em; }
.cg-rc-cell-note { display: block; margin-top: 4px; font-size: 11px; color: #64748b; font-weight: 700; }
.cg-rc-pill.neutral { background: #94a3b8; }
.cg-rc-table.matrix td .cg-rc-pill { font-size: 11px; }
/* Normas en alcance dentro de las tarjetas de organización */
.cg-rc-chips-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cg-rc-chips-head b { color: #0f172a; }
.cg-rc-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cg-rc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; border: 1px solid #dbeafe; background: #f8fbff; font-size: 11px; color: #1e293b; }
.cg-rc-chip b { font-weight: 800; }
.cg-rc-chip span { padding: 1px 7px; border-radius: 999px; background: #e2e8f0; font-weight: 800; font-variant-numeric: tabular-nums; }
.cg-rc-chip em { font-style: normal; font-weight: 800; }
.cg-rc-chip.ok { border-color: #bbf7d0; background: #f0fdf4; } .cg-rc-chip.warn { border-color: #fde68a; background: #fffbeb; } .cg-rc-chip.bad { border-color: #fecaca; background: #fef2f2; color: #b91c1c; } .cg-rc-chip.neutral { border-color: #e2e8f0; background: #f8fafc; color: #64748b; }
.cg-rc-chips-empty { margin: 0; font-size: 12px; color: #64748b; }
.cg-rc-chip-inline { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px; border-radius: 999px; background: #eff6ff; color: #1e3a8a; font-size: 11px; font-weight: 800; white-space: nowrap; }
.cg-rc-chip-inline small { margin-left: 4px; color: #475569; font-weight: 800; }
.cg-rc-table .cg-rc-rollup { margin-top: 2px; }

/* ===== Pestañas ricas: ranking, mapa de calor, tarjetas priorizadas ===== */
.cg-rc-lb-list { display: grid; gap: 14px; margin: 16px 18px 0; }
.cg-rc-lb { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(280px, 2.4fr) minmax(200px, 1.2fr); gap: 14px 22px; align-items: center; padding: 18px 20px 14px; border: 1px solid #dbeafe; border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 14px 34px #0f172a0d; transition: transform .2s, box-shadow .2s; }
.cg-rc-lb:hover { transform: translateY(-2px); box-shadow: 0 22px 44px #1e40af22; }
.cg-rc-lb::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: #94a3b8; }
.cg-rc-lb.ok::before { background: linear-gradient(180deg, #22c55e, #38bdf8); } .cg-rc-lb.warn::before { background: linear-gradient(180deg, #f59e0b, #facc15); } .cg-rc-lb.bad::before { background: linear-gradient(180deg, #ef4444, #f97316); }
.cg-rc-lb.rollup { border-color: #2563eb; box-shadow: 0 0 0 1px #2563eb55 inset, 0 14px 34px #2563eb1f; }
.cg-rc-lb-id { display: flex; gap: 12px; align-items: flex-start; }
.cg-rc-lb-id h4 { margin: 0 0 4px; font-size: 15px; color: #0f172a; overflow-wrap: anywhere; }
.cg-rc-lb-id > div { display: grid; gap: 6px; justify-items: start; }
.cg-rc-lb-rank { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1e3a8a, #7c3aed); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 8px 18px #2563eb40; }
.cg-rc-lb-main { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.cg-rc-lb-big { display: grid; gap: 2px; }
.cg-rc-lb-big b { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.05em; line-height: 1; color: #0f172a; }
.cg-rc-lb-big.bad b { color: #dc2626; } .cg-rc-lb-big.warn b { color: #b45309; } .cg-rc-lb-big.ok b { color: #15803d; }
.cg-rc-lb-big small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; font-weight: 800; }
.cg-rc-lb-bars { display: grid; gap: 8px; min-width: 0; }
.cg-rc-lb-bars .cg-rc-bar { height: 14px; }
.cg-rc-lb-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 11px; color: #475569; }
.cg-rc-lb-legend i, .cg-rc-limits i, .cg-rc-table th i, .cg-rc-distlegend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.cg-rc-levelbar, .cg-rc-distbar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: #e2e8f0; }
.cg-rc-levelbar i, .cg-rc-distbar i { flex: 0 0 var(--w); height: 100%; animation: cgRcGrow .9s cubic-bezier(.2, .7, .2, 1) both; }
.cg-rc-distbar { height: 22px; margin: 16px 18px 0; border-radius: 12px; }
.cg-rc-distlegend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 18px 0; padding: 0; font-size: 13px; color: #334155; }
.cg-rc-distlegend li { display: inline-flex; align-items: center; gap: 6px; } .cg-rc-distlegend b { color: #0f172a; } .cg-rc-distlegend em { font-style: normal; color: #64748b; font-size: 12px; }
.cg-rc-lb-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.cg-rc-lb-stats li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 12px; background: #f1f5f9; }
.cg-rc-lb-stats span { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; font-weight: 800; }
.cg-rc-lb-stats b { font-size: 17px; color: #0f172a; font-variant-numeric: tabular-nums; }
.cg-rc-lb-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed #dbeafe; }
.cg-rc-lb > .cg-rc-chips-head, .cg-rc-lb > .cg-rc-chips, .cg-rc-lb > .cg-rc-chips-empty { grid-column: 1 / -1; }
.cg-rc-limits { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #1e293b; }
.cg-rc-limits i { margin-left: 8px; } .cg-rc-limits small { margin-left: 8px; color: #64748b; font-weight: 700; }
.cg-rc-dual { display: grid; grid-template-columns: 150px 1fr 56px; gap: 8px; align-items: center; font-size: 11px; color: #475569; }
.cg-rc-dual .cg-rc-bar { height: 8px; } .cg-rc-dual b { text-align: right; color: #0f172a; }
.cg-rc-bars-tight { margin: 8px 0 0; gap: 8px; }
.cg-rc-bars-tight .cg-rc-barrow { grid-template-columns: minmax(90px, 150px) 1fr 86px; font-size: 12px; }
.cg-rc-bars-tight .val small { color: #64748b; font-weight: 700; }
/* Mapa de calor con celdas tipo ficha */
.cg-rc-table.matrix { border-collapse: separate; border-spacing: 6px; }
.cg-rc-table.matrix th, .cg-rc-table.matrix td { border-bottom: 0; }
.cg-rc-table.matrix thead th i { display: inline-block; }
.cg-rc-table.matrix th[scope=row] { text-align: left; font-size: 13px; text-transform: none; letter-spacing: 0; color: #0f172a; min-width: 160px; }
.cg-rc-table.matrix td.cg-rc-heat { border-radius: 14px; min-width: 96px; height: 62px; transition: transform .15s; }
.cg-rc-table.matrix td.cg-rc-heat:hover { transform: scale(1.05); box-shadow: 0 10px 22px #0f172a26; }
.cg-rc-heat b { display: block; font-size: 20px; line-height: 1.1; } .cg-rc-heat small { display: block; font-size: 11px; font-weight: 700; color: #475569; }
.cg-rc-heat.l-4 small { color: #fff; }
.cg-rc-table.matrix tr.total th, .cg-rc-table.matrix tr.total td { border-top: 2px solid #cbd5e1; border-radius: 0; background: transparent; }
/* Tarjetas priorizadas (principales riesgos / brechas) */
.cg-rc-toplist { display: grid; gap: 12px; margin: 16px 18px 0; }
.cg-rc-topcard { position: relative; display: grid; grid-template-columns: 30px 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid #dbeafe; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 10px 26px #0f172a0d; transition: transform .2s, box-shadow .2s; }
.cg-rc-topcard:hover { transform: translateX(3px); box-shadow: 0 18px 36px #1e40af1f; }
.cg-rc-topcard.bad { border-left: 5px solid #ef4444; } .cg-rc-topcard.warn { border-left: 5px solid #f59e0b; } .cg-rc-topcard.ok { border-left: 5px solid #22c55e; }
.cg-rc-score { --c: #64748b; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle, #fff 0 62%, transparent 63%), conic-gradient(var(--c) 0 100%); box-shadow: 0 10px 24px #0f172a1a; text-align: center; align-content: center; }
.cg-rc-score b { font-size: 24px; line-height: 1; color: #0f172a; letter-spacing: -.04em; } .cg-rc-score small { font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; font-weight: 800; }
.cg-rc-topbody { min-width: 0; display: grid; gap: 6px; }
.cg-rc-topbody h4 { margin: 0; font-size: 14px; color: #0f172a; overflow-wrap: anywhere; }
.cg-rc-topbody p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; }
.cg-rc-topside { display: grid; gap: 6px; justify-items: end; }
.cg-rc-meter { position: relative; height: 10px; border-radius: 999px; background: #e2e8f0; }
.cg-rc-meter .fill { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; animation: cgRcGrow .9s cubic-bezier(.2, .7, .2, 1) both; }
.cg-rc-meter u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #0f172a; border-radius: 2px; opacity: .55; }
.cg-rc-meter-scale { display: flex; justify-content: space-between; font-size: 10px !important; color: #64748b; font-weight: 700; }
@media (max-width: 1100px) { .cg-rc-lb { grid-template-columns: 1fr; } .cg-rc-lb-main { grid-template-columns: 100px 1fr; } }
@media (max-width: 760px) { .cg-rc-topcard { grid-template-columns: 30px 64px 1fr; } .cg-rc-topside { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; } .cg-rc-score { width: 62px; height: 62px; } .cg-rc-dual { grid-template-columns: 1fr 50px; } .cg-rc-dual span { grid-column: 1 / -1; } .cg-rc-lb-list, .cg-rc-toplist { margin-left: 12px; margin-right: 12px; } }
@media print { body.cg-printing-rc .cg-rc-lb, body.cg-printing-rc .cg-rc-topcard { break-inside: avoid; } }
/* SoA: filas de estado por norma */
.cg-rc-statusrows .cg-rc-barrow { grid-template-columns: minmax(0, 1fr) 36px; } .cg-rc-statusrows .val { text-align: right; }
.cg-rc-statusrows .val small { color: #64748b; font-weight: 700; }
.cg-rc-topbody .cg-rc-dual { grid-template-columns: 200px 1fr 36px; }
@media (max-width: 760px) { .cg-rc-topbody .cg-rc-dual { grid-template-columns: 1fr 36px; } }
