/* Meta del mes y meta de hoy (19-nov-2026, EmbudoMeta.planHtml). La usan la portada, Mi Radiografía, la ficha del asesor y la
   pantalla completa de Objetivos. Archivo aparte de embudo-meta.css porque la portada no carga ese (trae reglas que la cambiarían).
   Solo tokens de bc-dark.css / bc-theme.css (--bc-tx*, --bc-g, --bc-yw, --bc-bd): igual en claro y en oscuro. Sin rojo ni sombras. */
.plan { display: grid; gap: 12px; min-width: 0; font-variant-numeric: tabular-nums; color: var(--bc-tx); }
.plan p, .plan h3 { margin: 0; }
.plan-mes { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.plan-meta { font-size: 15.5px; color: var(--bc-tx); text-wrap: pretty; }
.plan-meta b, .plan-llevas b { font-weight: 700; color: var(--bc-tx); }
.plan-llevas { font-size: 14px; color: var(--bc-tx2); }
/* 24-nov («Rango primero»): el rango del mes primero; debajo y chico, lo más esperado; y lo armado para el mes siguiente */
.plan-proy { display: grid; gap: 3px; min-width: 0; }
.plan-proy-r { font-size: 14px; color: var(--bc-tx); text-wrap: pretty; }
.plan-proy-r b { font-weight: 700; color: var(--bc-tx); white-space: nowrap; }
.plan-proy-esp { font-size: 12.5px; color: var(--bc-tx2); }
.plan-proy-sig { font-size: 13px; color: var(--bc-tx2); text-wrap: pretty; }
.plan-aviso { font-size: 13.5px; font-weight: 600; color: var(--bc-yw); }

/* Qué tan bien te conoce el sistema (24-nov-2026, plan 2026-11-24-estimacion-ventas): nivel en una barra y, por mes, lo estimado (gris)
   contra lo real (verde) en escala común. Verde ≥ 0,67 · ámbar 0,34 a 0,66 · gris menos o sin meses. */
.plan-apr { display: grid; gap: 6px; min-width: 0; }
.plan-apr-t { font-size: 13px; font-weight: 600; color: var(--bc-tx2); text-wrap: pretty; }
.plan-apr-nivel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.plan-apr-barra { flex: 1 1 120px; max-width: 220px; height: 8px; border-radius: 4px; background: var(--bc-sf2); overflow: hidden; }
.plan-apr-barra i { display: block; height: 100%; border-radius: 4px; background: var(--bc-tx3); }
.plan-apr-nivel[data-nivel="alto"] i { background: var(--bc-g); }
.plan-apr-nivel[data-nivel="medio"] i { background: var(--bc-yw); }
.plan-apr-txt { flex: 1 1 auto; font-size: 13.5px; font-weight: 600; color: var(--bc-tx); text-wrap: pretty; }
.plan-apr-nivel[data-nivel="nuevo"] .plan-apr-txt { font-weight: 400; color: var(--bc-tx2); }
.plan-apr-ley { display: flex; gap: 14px; font-size: 12px; color: var(--bc-tx3); }
.plan-apr-ley span { display: inline-flex; align-items: center; gap: 5px; }
.plan-apr-ley span::before { content: ''; width: 12px; height: 6px; border-radius: 3px; }
.plan-apr-ley .is-est::before, .plan-apr-bs .is-est { background: var(--bc-tx3); opacity: .6; }
.plan-apr-ley .is-real::before, .plan-apr-bs .is-real { background: var(--bc-g); }
.plan-apr-meses { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 440px; }
.plan-apr-mes { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; align-items: center; gap: 0 10px; }
.plan-apr-m { font-size: 12.5px; color: var(--bc-tx2); white-space: nowrap; }
.plan-apr-m b { color: var(--bc-g); font-weight: 700; }
.plan-apr-bs, .plan-apr-vs { display: grid; grid-template-rows: 15px 15px; align-items: center; min-width: 0; }
.plan-apr-bs i { display: block; height: 6px; border-radius: 3px; }
.plan-apr-vs { justify-items: end; min-width: 3.6em; }
.plan-apr-v { font-size: 12px; line-height: 15px; color: var(--bc-tx3); }
.plan-apr-v.is-real { font-weight: 600; color: var(--bc-tx); }
.plan-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.plan-hoy { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--bc-bd); border-radius: 12px; min-width: 0; }
.plan-hoy-t { font-size: 14.5px; font-weight: 700; color: var(--bc-tx); text-wrap: pretty; }
.plan-pasos { list-style: none; margin: 0; padding: 0; display: grid; }
.plan-paso { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; padding: 7px 0; border-top: 1px solid var(--bc-bd); }
.plan-paso:first-child { border-top: 0; padding-top: 2px; }
.plan-frase { font-size: 15px; color: var(--bc-tx); overflow-wrap: anywhere; }
.plan-frase b { font-size: 18px; font-weight: 700; }
.plan-ll { font-size: 13px; color: var(--bc-tx2); white-space: nowrap; text-align: right; }
.plan-paso.is-ok .plan-ll { color: var(--bc-g); font-weight: 600; }
.plan-paso.is-bajo .plan-frase b { color: var(--bc-yw); }
.plan-ritmo { grid-column: 1 / -1; font-size: 12.5px; color: var(--bc-yw); }
.plan-paso.is-pausa .plan-frase { grid-column: 1 / -1; font-size: 14px; color: var(--bc-tx2); text-wrap: pretty; overflow-wrap: normal; }   /* 23-nov: botón de pedir en pausa */
.plan-nota { font-size: 12.5px; color: var(--bc-tx3); }

.plan-total { font-size: 13.5px; color: var(--bc-tx2); overflow-wrap: anywhere; }
.plan-btns { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.plan-tg { min-height: 36px; padding: 4px 12px; border-radius: 8px; border: 1px solid var(--bc-bd); background: transparent; color: var(--bc-g);
  font: inherit; font-size: 13px; cursor: pointer; }
.plan-tg:hover, .plan-tg[aria-expanded="true"] { border-color: var(--bc-g); }
.plan-tg:focus-visible { outline: 2px solid var(--bc-g); outline-offset: 2px; }
.plan-det { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13px; color: var(--bc-tx2); text-wrap: pretty; }
.plan-det[hidden] { display: none; }
.plan-poco { color: var(--bc-tx3); }

@media (max-width: 600px) {
  .plan-hoy { padding: 10px 12px; }
  .plan-tg { min-height: 44px; }
}

/* 24-nov: nota corta bajo «Qué tan bien te conoce el sistema» */
.plan-apr-nota { margin: 2px 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--bc-tx3, #6b7280); }
