/* Bloques de la página del plan mensual (1-oct-2026): cotizador, gráfico de multas,
   ejemplo de reporte y comparación con un abogado en planilla. Clases con prefijo pb-
   y selectores :root body para ganar a los estilos propios de la página.
   Colores del sitio: navy #0a1628 a #1e3a6e, recuadros claros #f5f9ff. */
:root {
  --pb-navy: #1e3a6e;
  --pb-blue: #2b5ea7;
  --pb-ink: #0f1f3a;
  --pb-text2: #475569;
  --pb-muted: #64748b;
  --pb-line: #e2e8f0;
  --pb-soft: #eaf1fb;
  --pb-softer: #f5f9ff;
  --pb-soft-line: #c9daf2;
  --pb-red: #b42318;
  --pb-red-soft: #fdecec;
  --pb-green: #0b7a3e;
  --pb-wa: #0f7a40;
  --pb-shadow: 0 1px 2px rgba(15, 40, 71, .06), 0 12px 32px rgba(15, 40, 71, .08);
  --pb-shadow-lg: 0 2px 6px rgba(9, 25, 54, .12), 0 28px 64px rgba(9, 25, 54, .22);
}
:root body .pb-alt { background: var(--pb-softer); }
:root body .pb-sub { color: var(--pb-text2); font-size: 17px; line-height: 1.6; margin: 0 0 18px; max-width: 46rem; }
:root body .pb-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:root body .pb-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
:root body .pb-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--pb-text2); }
:root body .pb-checks .pb-ico { width: 18px; height: 18px; margin-top: 3px; color: var(--pb-blue); stroke-width: 2.6; }
:root body .pb-src { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--pb-muted); text-align: left; }
:root body .pb-btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px; border-radius: 999px; background: var(--pb-wa); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 8px 22px rgba(15, 122, 64, .28); transition: transform .15s ease, background-color .15s ease; }
:root body .pb-btn-wa:hover { background: #0c6a37; transform: translateY(-1px); }
:root body .pb-btn-wa svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Cotizador */
:root body .pb-quiz { display: grid; gap: 26px; }
:root body .pb-quiz-card { display: grid; gap: 20px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--pb-soft-line); box-shadow: var(--pb-shadow); }
:root body .pb-quiz-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
:root body .pb-quiz-card legend, :root body .pb-q-lbl { display: block; margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; color: var(--pb-ink); }
:root body .pb-quiz-card legend small { font-weight: 500; color: var(--pb-muted); }
:root body .pb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:root body .pb-chip { position: relative; display: inline-flex; margin: 0; }
:root body .pb-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
:root body .pb-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--pb-soft-line); background: #fff; color: var(--pb-navy); font-size: 14px; font-weight: 600; line-height: 1.25; transition: background-color .15s, border-color .15s, color .15s; }
:root body .pb-chip:hover span { border-color: var(--pb-navy); }
:root body .pb-chip input:checked + span { background: var(--pb-navy); border-color: var(--pb-navy); color: #fff; }
:root body .pb-chip input:focus-visible + span { outline: 3px solid #d4a853; outline-offset: 2px; }
:root body .pb-field { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--pb-soft-line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--pb-ink); box-sizing: border-box; }
:root body .pb-field:focus { outline: none; border-color: var(--pb-navy); box-shadow: 0 0 0 3px rgba(43, 94, 167, .18); }
:root body .pb-q-res { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--pb-softer); border: 1px solid var(--pb-soft); font-size: 15px; color: var(--pb-text2); text-align: left; }
:root body .pb-q-res b { color: var(--pb-navy); }
:root body .pb-q-res span { color: var(--pb-muted); }
:root body .pb-quiz-card .pb-btn-wa { width: 100%; box-sizing: border-box; }

/* Riesgo y gráfico de multas */
:root body .pb-risk-grid { display: grid; gap: 22px; }
:root body .pb-risks { display: grid; gap: 14px; }
:root body .pb-risk { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pb-line); }
:root body .pb-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--pb-red-soft); color: var(--pb-red); }
:root body .pb-risk h3 { margin: 0; font-family: var(--font-main, 'Inter', sans-serif); font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--pb-ink); }
:root body .pb-risk p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--pb-text2); text-align: left; }
:root body .pb-chart { margin: 0; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); }
:root body .pb-chart-t { display: block; font-family: var(--font-display, 'Fraunces', Georgia, serif); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--pb-navy); }
:root body .pb-chart-s { display: block; margin-top: 4px; font-size: 13px; color: var(--pb-muted); }
:root body .pb-bars { display: grid; gap: 16px; margin-top: 18px; }
:root body .pb-bar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; color: var(--pb-text2); }
:root body .pb-bar-top b { white-space: nowrap; color: var(--pb-ink); font-variant-numeric: tabular-nums; }
:root body .pb-bar-top b small { font-size: 12px; font-weight: 600; color: var(--pb-muted); }
:root body .pb-bar { height: 12px; margin-top: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
:root body .pb-bar i { display: block; width: var(--w); min-width: 6px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e58a5c, var(--pb-red)); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
:root.pb-js body .pb-bars:not(.pb-in) .pb-bar i { transform: scaleX(0); }
:root body .pb-bar-row.pb-us .pb-bar-top, :root body .pb-bar-row.pb-us .pb-bar-top b { color: var(--pb-navy); font-weight: 700; }
:root body .pb-bar-row.pb-us .pb-bar i { background: linear-gradient(90deg, #5a8fdc, var(--pb-navy)); }
:root body .pb-chart-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--pb-softer); border: 1px solid var(--pb-soft); font-size: 14px; line-height: 1.6; color: var(--pb-text2); text-align: left; }
:root body .pb-chart-note b { color: var(--pb-navy); }
:root body .pb-honest { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--pb-soft-line); font-size: 15px; line-height: 1.6; color: var(--pb-text2); text-align: left; }
:root body .pb-honest .pb-ico { margin-top: 2px; color: var(--pb-navy); }

/* Ejemplo de reporte mensual */
:root body .pb-report-wrap { display: grid; gap: 30px; align-items: center; }
:root body .pb-report { width: 100%; max-width: 520px; justify-self: center; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--pb-soft-line); box-shadow: var(--pb-shadow-lg); font-size: 14px; line-height: 1.5; }
:root body .pb-report-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px; background: linear-gradient(135deg, #0f2847, #1e3a6e); color: #fff; }
:root body .pb-report-h b { display: block; font-size: 15px; }
:root body .pb-report-h span { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .78); }
:root body .pb-report-h em { padding: 3px 10px; border-radius: 999px; background: #f1d38f; color: #3d2e0a; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
:root body .pb-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--pb-line); }
:root body .pb-kpis > div { display: grid; gap: 4px; align-content: start; padding: 14px 12px; }
:root body .pb-kpis > div + div { border-left: 1px solid var(--pb-line); }
:root body .pb-kpis .pb-k { font-size: 12px; color: var(--pb-muted); }
:root body .pb-kpis b { font-size: 22px; line-height: 1.1; color: var(--pb-navy); font-variant-numeric: tabular-nums; }
:root body .pb-kpis b small { font-size: 13px; font-weight: 600; color: var(--pb-muted); }
:root body .pb-meter { display: block; height: 6px; margin-top: 2px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
:root body .pb-meter i { display: block; width: 69%; height: 100%; border-radius: inherit; background: var(--pb-blue); }
:root body .pb-rep-sec { padding: 14px 18px; border-bottom: 1px solid var(--pb-line); }
:root body .pb-rep-sec ul { list-style: none; margin: 0; padding: 0; }
:root body .pb-rep-lbl { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pb-muted); }
:root body .pb-rep-sec li { display: flex; align-items: flex-start; gap: 9px; color: var(--pb-text2); }
:root body .pb-rep-sec li + li { margin-top: 7px; }
:root body .pb-rep-sec em { font-style: normal; color: var(--pb-muted); }
:root body .pb-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; flex-shrink: 0; }
:root body .pb-dot.pb-amber { background: #e3a008; }
:root body .pb-dot.pb-green { background: #16a34a; }
:root body .pb-dates b { min-width: 52px; color: var(--pb-navy); }
:root body .pb-rep-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 18px; background: var(--pb-softer); font-size: 13.5px; color: var(--pb-text2); }
:root body .pb-lvl { padding: 1px 10px; border-radius: 999px; background: #fff4d6; color: #8a5a00; font-weight: 700; }

/* Comparación con abogado en planilla */
:root body .pb-cmp-ctrl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pb-soft-line); }
:root body .pb-cmp-ctrl label { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--pb-ink); }
:root body .pb-money { display: flex; align-items: center; overflow: hidden; border: 1.5px solid var(--pb-soft-line); border-radius: 12px; background: #fff; }
:root body .pb-money:focus-within { border-color: var(--pb-navy); box-shadow: 0 0 0 3px rgba(43, 94, 167, .18); }
:root body .pb-money span { padding-left: 12px; font-weight: 700; color: var(--pb-muted); }
:root body .pb-money input { width: 110px; min-height: 44px; padding: 0 12px 0 6px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--pb-ink); }
:root body .pb-money input:focus { outline: none; }
:root body .pb-cmp { display: grid; gap: 14px; margin-top: 16px; }
:root body .pb-cmp-col { display: grid; gap: 12px; align-content: start; padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--pb-line); }
:root body .pb-cmp-col.pb-us { border: 2px solid var(--pb-navy); box-shadow: var(--pb-shadow); }
:root body .pb-cmp-col h3 { margin: 0; font-family: var(--font-main, 'Inter', sans-serif); font-size: 16px; font-weight: 800; letter-spacing: 0; color: var(--pb-ink); }
:root body .pb-cmp-cost { margin: 0; font-family: var(--font-display, 'Fraunces', Georgia, serif); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--pb-navy); }
:root body .pb-cmp-cost small { display: block; margin-top: 4px; font-family: var(--font-main, 'Inter', sans-serif); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--pb-muted); }
:root body .pb-pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
:root body .pb-pros li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.5; color: var(--pb-text2); }
:root body .pb-pros .pb-ico { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.6; }
:root body .pb-pros .pb-y { color: var(--pb-green); }
:root body .pb-pros .pb-n { color: var(--pb-red); }

@media (min-width: 900px) {
  :root body .pb-cmp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  :root body .pb-quiz { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
}
@media (min-width: 1000px) {
  :root body .pb-risk-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  :root body .pb-report-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  :root body .pb-bar i, :root body .pb-btn-wa { transition: none; }
}
