/* ═══════════════════════════════════════════════════════════
   LEGAL VISUALS — Biblioteca de componentes visuais reusáveis
   para páginas de calculadoras e simuladores jurídicos.
   Última atualização. 16/Abr/2026
   ═══════════════════════════════════════════════════════════ */

/* ── Variáveis base (aproveita do style.css, mas garante defaults) ── */
:root {
    --lv-green: #137333;
    --lv-green-light: #e6f4ea;
    --lv-red: #c5221f;
    --lv-red-light: #fef2f2;
    --lv-orange: #b06000;
    --lv-orange-light: #fff4e5;
    --lv-blue: #0369a1;
    --lv-blue-light: #e0f2fe;
    --lv-gray: #64748b;
    --lv-gray-light: #f1f5f9;
    --lv-border: #d0d5da;
    --lv-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --lv-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.dark-mode {
    --lv-green-light: rgba(52, 199, 89, 0.12);
    --lv-red-light: rgba(255, 59, 48, 0.12);
    --lv-orange-light: rgba(255, 159, 10, 0.12);
    --lv-blue-light: rgba(10, 132, 255, 0.12);
    --lv-gray-light: rgba(255, 255, 255, 0.04);
    --lv-border: rgba(255, 255, 255, 0.12);
    --lv-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --lv-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   1. TIMELINE D+2 (DJEN, DEJT, DJE)
   Uso. visualizar disponibilização → publicação → início
   ═══════════════════════════════════════════════════════════ */

.lv-timeline-d2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 28px 0;
    padding: 24px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

body.dark-mode .lv-timeline-d2 {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, var(--content-bg, #1c1c1e) 100%);
}

.lv-timeline-d2__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.lv-timeline-d2__circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--lv-shadow);
    margin-bottom: 10px;
}

.lv-timeline-d2__circle--d0 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.lv-timeline-d2__circle--d1 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.lv-timeline-d2__circle--d2 { background: linear-gradient(135deg, #34c759, #137333); }

.lv-timeline-d2__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--secondary-color, #64748b);
    margin-bottom: 4px;
}

.lv-timeline-d2__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 6px;
}

.lv-timeline-d2__desc {
    font-size: 0.78rem;
    color: var(--secondary-color, #64748b);
    max-width: 160px;
    line-height: 1.4;
}

.lv-timeline-d2__connector {
    flex: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #94a3b8, #fbbf24, #34c759);
    width: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .lv-timeline-d2 { flex-direction: column; gap: 20px; }
    .lv-timeline-d2__connector { width: 2px; height: 20px; margin: 0; }
}

/* ═══════════════════════════════════════════════════════════
   2. CONTRASTE SIDE-BY-SIDE
   Uso. comparar dois regimes (dias úteis vs corridos, adm vs jud)
   ═══════════════════════════════════════════════════════════ */

.lv-contrast {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0;
}

.lv-contrast__card {
    padding: 24px;
    border-radius: 14px;
    border: 2px solid;
    box-shadow: var(--lv-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lv-contrast__card--green {
    background: linear-gradient(135deg, var(--lv-green-light), #fff);
    border-color: var(--lv-green);
}

.lv-contrast__card--red {
    background: linear-gradient(135deg, var(--lv-red-light), #fff);
    border-color: var(--lv-red);
}

.lv-contrast__card--blue {
    background: linear-gradient(135deg, var(--lv-blue-light), #fff);
    border-color: var(--lv-blue);
}

.lv-contrast__card--orange {
    background: linear-gradient(135deg, var(--lv-orange-light), #fff);
    border-color: var(--lv-orange);
}

body.dark-mode .lv-contrast__card--green,
body.dark-mode .lv-contrast__card--red,
body.dark-mode .lv-contrast__card--blue,
body.dark-mode .lv-contrast__card--orange {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), var(--content-bg, #1c1c1e));
}

.lv-contrast__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.lv-contrast__card--green .lv-contrast__label { color: var(--lv-green); }
.lv-contrast__card--red .lv-contrast__label { color: var(--lv-red); }
.lv-contrast__card--blue .lv-contrast__label { color: var(--lv-blue); }
.lv-contrast__card--orange .lv-contrast__label { color: var(--lv-orange); }

.lv-contrast__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    letter-spacing: -0.01em;
}

.lv-contrast__number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 4px 0;
}

.lv-contrast__card--green .lv-contrast__number { color: var(--lv-green); }
.lv-contrast__card--red .lv-contrast__number { color: var(--lv-red); }
.lv-contrast__card--blue .lv-contrast__number { color: var(--lv-blue); }
.lv-contrast__card--orange .lv-contrast__number { color: var(--lv-orange); }

.lv-contrast__desc {
    font-size: 0.88rem;
    color: var(--text-color, #1d1d1f);
    line-height: 1.5;
}

.lv-contrast__footer {
    font-size: 0.78rem;
    color: var(--secondary-color, #64748b);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

body.dark-mode .lv-contrast__footer {
    border-top-color: rgba(255,255,255,0.06);
}

@media (max-width: 640px) {
    .lv-contrast { grid-template-columns: 1fr; gap: 14px; }
    .lv-contrast__number { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════
   3. CRONÔMETRO VISUAL (Suspensão vs Interrupção)
   ═══════════════════════════════════════════════════════════ */

.lv-cronometro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 28px 0;
}

.lv-cronometro__card {
    padding: 28px 32px;
    border-radius: 16px;
    border: 1px solid var(--lv-border);
    background: var(--content-bg, #fff);
    box-shadow: var(--lv-shadow);
}

.lv-cronometro__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.lv-cronometro__subtitle {
    font-size: 0.85rem;
    color: var(--secondary-color, #64748b);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.lv-cronometro__scenario {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    background: var(--lv-gray-light);
    color: var(--secondary-color, #64748b);
}

.lv-cronometro__bar {
    position: relative;
    width: 100%;
    height: 32px;
    background: var(--lv-gray-light);
    border-radius: 999px;
    margin: 12px 0;
    overflow: hidden;
}

.lv-cronometro__filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.lv-cronometro__filled--paused {
    width: 33%;
    background: linear-gradient(90deg, #fbbf24, #d97706);
    position: relative;
}
.lv-cronometro__filled--paused::after {
    content: "⏸️";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: var(--lv-shadow);
}

.lv-cronometro__filled--resumed {
    width: 66%;
    background: linear-gradient(90deg, #fbbf24 50%, #137333 50%);
}

.lv-cronometro__filled--zero {
    width: 0%;
    background: linear-gradient(90deg, #c5221f, #991b1b);
}

.lv-cronometro__filled--restart {
    width: 20%;
    background: linear-gradient(90deg, #34c759, #137333);
}

.lv-cronometro__highlight {
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
}

/* ═══════════════════════════════════════════════════════════
   4. COUNTER CARDS (números grandes de destaque)
   ═══════════════════════════════════════════════════════════ */

.lv-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.lv-counter-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lv-counter-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lv-shadow-lg);
}

.lv-counter-card__number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 6px 0;
    background: linear-gradient(135deg, #0071e3, #0050b3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lv-counter-card__unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lv-counter-card__label {
    font-size: 0.82rem;
    color: var(--text-color, #1d1d1f);
    margin-top: 10px;
    line-height: 1.4;
}

.lv-counter-card__icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

/* Variante com cor alternativa */
.lv-counter-card--green .lv-counter-card__number {
    background: linear-gradient(135deg, #34c759, #137333);
    -webkit-background-clip: text;
    background-clip: text;
}

.lv-counter-card--red .lv-counter-card__number {
    background: linear-gradient(135deg, #ef4444, #991b1b);
    -webkit-background-clip: text;
    background-clip: text;
}

.lv-counter-card--orange .lv-counter-card__number {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   5. DECISION TREE / FLUXOGRAMA
   ═══════════════════════════════════════════════════════════ */

.lv-decision {
    margin: 28px 0;
    padding: 24px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

.lv-decision__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 18px;
    text-align: center;
}

.lv-decision__node {
    padding: 14px 18px;
    background: var(--lv-blue-light);
    border: 2px solid var(--lv-blue);
    border-radius: 10px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    max-width: 420px;
    margin: 0 auto;
    color: var(--text-color, #1d1d1f);
}

.lv-decision__branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    position: relative;
}

.lv-decision__branches::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 25%;
    right: 25%;
    height: 14px;
    border-left: 2px solid var(--lv-border);
    border-right: 2px solid var(--lv-border);
    border-top: 2px solid var(--lv-border);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.lv-decision__branch {
    text-align: center;
}

.lv-decision__branch-label {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.lv-decision__branch--yes .lv-decision__branch-label {
    background: var(--lv-green-light);
    color: var(--lv-green);
}

.lv-decision__branch--no .lv-decision__branch-label {
    background: var(--lv-red-light);
    color: var(--lv-red);
}

.lv-decision__branch-content {
    padding: 12px 16px;
    background: var(--lv-gray-light);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-color, #1d1d1f);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .lv-decision__branches { grid-template-columns: 1fr; }
    .lv-decision__branches::before { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   6. BARRA DE ESCALA TEMPORAL
   Uso. comparar prazos com barras proporcionais
   ═══════════════════════════════════════════════════════════ */

.lv-scale {
    margin: 28px 0;
    padding: 20px 24px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

.lv-scale__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 14px;
}

.lv-scale__row {
    display: grid;
    grid-template-columns: 180px 1fr 120px;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.lv-scale__label {
    font-weight: 600;
    color: var(--text-color, #1d1d1f);
}

.lv-scale__track {
    position: relative;
    width: 100%;
    height: 22px;
    background: var(--lv-gray-light);
    border-radius: 999px;
    overflow: hidden;
}

.lv-scale__bar {
    height: 100%;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    transition: width 0.6s ease-out;
}

.lv-scale__bar--sm { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.lv-scale__bar--md { background: linear-gradient(90deg, #34c759, #137333); }
.lv-scale__bar--lg { background: linear-gradient(90deg, #fbbf24, #d97706); }
.lv-scale__bar--xl { background: linear-gradient(90deg, #f87171, #b91c1c); }

.lv-scale__value {
    font-weight: 700;
    color: var(--secondary-color, #64748b);
    text-align: right;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .lv-scale__row { grid-template-columns: 110px 1fr 95px; font-size: 0.72rem; gap: 8px; }
    .lv-scale__label { font-size: 0.76rem; }
    .lv-scale__value--outside { font-size: 0.78rem; }
    .lv-scale__value--infinito { font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════════════════════
   7. GRID DE CARDS DE ÁREAS (para simulador)
   ═══════════════════════════════════════════════════════════ */

.lv-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.lv-area-card {
    padding: 20px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-left: 4px solid;
    border-radius: 12px;
    box-shadow: var(--lv-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.lv-area-card:hover {
    transform: translateX(2px);
    box-shadow: var(--lv-shadow-lg);
    text-decoration: none;
}

.lv-area-card__icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: block;
}

.lv-area-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 6px;
}

.lv-area-card__desc {
    font-size: 0.82rem;
    color: var(--secondary-color, #64748b);
    line-height: 1.5;
}

.lv-area-card--civil { border-left-color: #0369a1; }
.lv-area-card--penal { border-left-color: #c5221f; }
.lv-area-card--trabalhista { border-left-color: #d97706; }
.lv-area-card--tributario { border-left-color: #137333; }
.lv-area-card--consumidor { border-left-color: #7c3aed; }
.lv-area-card--previdenciario { border-left-color: #0891b2; }
.lv-area-card--seguro { border-left-color: #be185d; }

/* ═══════════════════════════════════════════════════════════
   8. TIMELINE HISTÓRICA VERTICAL
   Uso. evolução legal (ex. FGTS)
   ═══════════════════════════════════════════════════════════ */

.lv-timeline-hist {
    margin: 28px 0;
    padding: 24px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

.lv-timeline-hist__item {
    display: grid;
    grid-template-columns: 100px 20px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: flex-start;
}

body.dark-mode .lv-timeline-hist__item {
    border-bottom-color: rgba(255,255,255,0.05);
}

.lv-timeline-hist__item:last-child { border-bottom: none; }

.lv-timeline-hist__year {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--lv-blue);
    text-align: right;
    padding-top: 4px;
}

.lv-timeline-hist__marker {
    position: relative;
    padding-top: 10px;
}
.lv-timeline-hist__marker::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--content-bg, #fff);
    border: 3px solid var(--lv-blue);
    z-index: 2;
}
.lv-timeline-hist__marker::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--lv-border);
}
.lv-timeline-hist__item:last-child .lv-timeline-hist__marker::after { display: none; }

.lv-timeline-hist__content {
    padding-top: 2px;
}

.lv-timeline-hist__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 4px;
}

.lv-timeline-hist__desc {
    font-size: 0.85rem;
    color: var(--secondary-color, #64748b);
    line-height: 1.5;
}

/* Marcador destacado (tipo "leading case") */
.lv-timeline-hist__item--highlight .lv-timeline-hist__marker::before {
    width: 18px;
    height: 18px;
    border-color: var(--lv-red);
    box-shadow: 0 0 0 4px var(--lv-red-light);
}
.lv-timeline-hist__item--highlight .lv-timeline-hist__year {
    color: var(--lv-red);
}

@media (max-width: 640px) {
    .lv-timeline-hist__item { grid-template-columns: 70px 16px 1fr; gap: 10px; }
    .lv-timeline-hist__year { font-size: 0.92rem; }
}

/* ═══════════════════════════════════════════════════════════
   9. STATUS BADGES GRID (já usado nos artigos de blog)
   Mantido aqui para consistência quando migrar para calculadoras
   ═══════════════════════════════════════════════════════════ */

.lv-status-sim,
.lv-status-nao,
.lv-status-define {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lv-status-sim { background: var(--lv-green-light); color: var(--lv-green); }
.lv-status-nao { background: var(--lv-red-light); color: var(--lv-red); }
.lv-status-define { background: var(--lv-blue-light); color: var(--lv-blue); }

/* ═══════════════════════════════════════════════════════════
   10. FLUXOGRAMA PROCESSUAL (steps numerados)
   ═══════════════════════════════════════════════════════════ */

.lv-steps {
    margin: 28px 0;
    counter-reset: lv-steps-counter;
}

.lv-steps__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    margin-bottom: 18px;
    counter-increment: lv-steps-counter;
    align-items: flex-start;
}

.lv-steps__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #0050b3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: var(--lv-shadow);
    position: relative;
}

.lv-steps__number::before {
    content: counter(lv-steps-counter);
}

.lv-steps__item:not(:last-child) .lv-steps__number::after {
    content: "";
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 2px);
    background: linear-gradient(180deg, var(--lv-border), transparent);
}

.lv-steps__content {
    padding: 6px 0;
}

.lv-steps__title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 4px;
}

.lv-steps__desc {
    font-size: 0.88rem;
    color: var(--secondary-color, #64748b);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   11. WHAT-IS (bloco "O que é a Calculadora X?")
   Uso. bloco de apresentacao antes do Como usar
   ═══════════════════════════════════════════════════════════ */

.lv-what-is {
    margin: 28px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(59,130,246,0.02));
    border: 1px solid var(--lv-blue-light);
    border-left: 4px solid var(--lv-blue);
    border-radius: 14px;
    position: relative;
}

body.dark-mode .lv-what-is {
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
    border-left-color: var(--lv-blue);
}

.lv-what-is__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.lv-what-is__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--lv-shadow);
    flex-shrink: 0;
}

.lv-what-is__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    letter-spacing: -0.01em;
    margin: 0;
}

.lv-what-is__lead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 14px;
}

.lv-what-is__lead strong {
    color: var(--lv-blue);
    font-weight: 700;
}

.lv-what-is__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--lv-border);
}

.lv-what-is__fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--secondary-color, #64748b);
}

.lv-what-is__fact-icon {
    color: var(--lv-green);
    font-size: 0.92rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.lv-what-is__fact strong {
    color: var(--text-color, #1d1d1f);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

@media (max-width: 640px) {
    .lv-what-is { padding: 20px; }
    .lv-what-is__title { font-size: 1.02rem; }
    .lv-what-is__facts { grid-template-columns: 1fr; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   12. CRONÔMETRO — legendas na barra (suspensão/interrupção)
   Uso. mostrar visualmente pausa vs zerar
   ═══════════════════════════════════════════════════════════ */

.lv-cronometro__bar {
    position: relative;
}

.lv-cronometro__bar-legend {
    display: flex;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color, #64748b);
    letter-spacing: 0.1px;
    gap: 0;
    width: 100%;
    position: relative;
}

.lv-cronometro__bar-legend span {
    padding: 6px 8px;
    text-align: center;
    line-height: 1.3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    box-sizing: border-box;
}

.lv-cronometro__bar-legend span::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: currentColor;
    opacity: 0.4;
}

.lv-cronometro__bar-legend .is-before { color: var(--lv-blue); }
.lv-cronometro__bar-legend .is-event { color: var(--lv-orange); font-weight: 800; }
.lv-cronometro__bar-legend .is-after { color: var(--lv-green); }
.lv-cronometro__bar-legend .is-reset { color: var(--lv-red); font-weight: 800; }

.lv-cronometro__bar-legend .is-before { color: var(--lv-blue); background: var(--lv-blue-light); }
.lv-cronometro__bar-legend .is-event { color: var(--lv-orange); background: var(--lv-orange-light); font-weight: 800; }
.lv-cronometro__bar-legend .is-after { color: var(--lv-green); background: var(--lv-green-light); }
.lv-cronometro__bar-legend .is-reset { color: var(--lv-red); background: var(--lv-red-light); font-weight: 800; }

.lv-cronometro__marker {
    position: absolute;
    top: -6px;
    width: 3px;
    height: 44px;
    background: var(--text-color, #1d1d1f);
    z-index: 2;
}

.lv-cronometro__marker::after {
    content: attr(data-label);
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color, #1d1d1f);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.lv-cronometro__segments {
    display: flex;
    width: 100%;
    height: 60px;
    background: var(--lv-gray-light);
    border-radius: 14px;
    overflow: hidden;
    margin: 18px 0 10px;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.lv-cronometro__segment {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    letter-spacing: 0.2px;
    border-right: 2px solid rgba(255,255,255,0.6);
    padding: 0 6px;
    text-align: center;
    line-height: 1.15;
    overflow: hidden;
}

.lv-cronometro__segment:last-child { border-right: none; }

.lv-cronometro__segment br { display: none; }

.lv-cronometro__segment small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.92;
    margin-top: 4px;
    letter-spacing: 0;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    padding-top: 2px;
    border-top: 1px solid rgba(255,255,255,0.35);
    width: 80%;
}

.lv-cronometro__segment--before { background: linear-gradient(90deg, #60a5fa, #2563eb); }
.lv-cronometro__segment--pause { background: repeating-linear-gradient(45deg, #fbbf24, #fbbf24 8px, #f59e0b 8px, #f59e0b 16px); }
.lv-cronometro__segment--after { background: linear-gradient(90deg, #34c759, #137333); }
.lv-cronometro__segment--reset { background: linear-gradient(90deg, #c5221f, #991b1b); }
.lv-cronometro__segment--new { background: linear-gradient(90deg, #34c759, #0f766e); }

.lv-cronometro__formula-wrapper {
    margin-top: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(59,130,246,0.05), rgba(59,130,246,0.02));
    border: 1px dashed var(--lv-blue);
    border-radius: 12px;
}

body.dark-mode .lv-cronometro__formula-wrapper {
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
}

.lv-cronometro__formula-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--lv-blue);
    margin-bottom: 10px;
    display: block;
}

.lv-cronometro__formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-color, #1d1d1f);
    font-weight: 600;
    line-height: 1.5;
}

.lv-cronometro__formula-item {
    padding: 6px 12px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 8px;
    box-shadow: var(--lv-shadow);
}

.lv-cronometro__formula-item--before { border-left: 3px solid var(--lv-blue); }
.lv-cronometro__formula-item--after { border-left: 3px solid var(--lv-green); }
.lv-cronometro__formula-item--reset { border-left: 3px solid var(--lv-red); text-decoration: line-through; opacity: 0.7; }
.lv-cronometro__formula-item--new { border-left: 3px solid var(--lv-green); }
.lv-cronometro__formula-item--total { background: var(--lv-blue); color: #fff; border-color: var(--lv-blue); font-weight: 800; }

.lv-cronometro__formula-op {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary-color, #64748b);
}

.lv-cronometro__caption {
    font-size: 0.88rem;
    color: var(--secondary-color, #64748b);
    line-height: 1.55;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--lv-border);
}

@media (max-width: 640px) {
    .lv-cronometro__card { padding: 20px 18px; }
    .lv-cronometro__segment { font-size: 0.68rem; padding: 0 4px; }
    .lv-cronometro__bar-legend { font-size: 0.66rem; gap: 4px; }
    .lv-cronometro__formula { font-size: 0.82rem; gap: 6px; }
    .lv-cronometro__formula-item { padding: 4px 9px; }
}

/* ═══════════════════════════════════════════════════════════
   13. TIMELINE-D2 ENRIQUECIDA (metadata + fluxo)
   ═══════════════════════════════════════════════════════════ */

.lv-timeline-d2 {
    padding: 28px 20px 20px;
    position: relative;
}

.lv-timeline-d2__meta {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--lv-gray-light);
    color: var(--secondary-color, #64748b);
}

.lv-timeline-d2__connector {
    position: relative;
    background: linear-gradient(90deg, var(--lv-border), var(--lv-blue), var(--lv-border));
    height: 3px;
}

.lv-timeline-d2__connector::after {
    content: "▶";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lv-blue);
    font-size: 0.68rem;
    background: var(--content-bg, #fff);
    padding: 0 2px;
}

body.dark-mode .lv-timeline-d2__connector::after {
    background: var(--content-bg, #1f1f20);
}

.lv-timeline-d2__extra {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--lv-blue-light);
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-color, #1d1d1f);
    border-left: 3px solid var(--lv-blue);
}

body.dark-mode .lv-timeline-d2__extra {
    background: rgba(59,130,246,0.12);
}

.lv-timeline-d2__extra strong { color: var(--lv-blue); }

/* ═══════════════════════════════════════════════════════════
   14. CONTRASTE REFORMADO — contexto proeminente, número acessorio
   ═══════════════════════════════════════════════════════════ */

.lv-contrast--v2 .lv-contrast__card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lv-contrast--v2 .lv-contrast__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--lv-border);
}

.lv-contrast--v2 .lv-contrast__scope {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 999px;
}

.lv-contrast--v2 .lv-contrast__card--green .lv-contrast__scope { background: var(--lv-green-light); color: var(--lv-green); }
.lv-contrast--v2 .lv-contrast__card--red .lv-contrast__scope { background: var(--lv-red-light); color: var(--lv-red); }
.lv-contrast--v2 .lv-contrast__card--blue .lv-contrast__scope { background: var(--lv-blue-light); color: var(--lv-blue); }
.lv-contrast--v2 .lv-contrast__card--orange .lv-contrast__scope { background: var(--lv-orange-light); color: var(--lv-orange); }

.lv-contrast--v2 .lv-contrast__article {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color, #64748b);
}

.lv-contrast--v2 .lv-contrast__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-color, #1d1d1f);
    margin: 0;
}

.lv-contrast--v2 .lv-contrast__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.lv-contrast--v2 .lv-contrast__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    background: var(--lv-gray-light);
    border-radius: 10px;
    min-width: 86px;
}

.lv-contrast--v2 .lv-contrast__metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.lv-contrast--v2 .lv-contrast__card--green .lv-contrast__metric-value { color: var(--lv-green); }
.lv-contrast--v2 .lv-contrast__card--red .lv-contrast__metric-value { color: var(--lv-red); }
.lv-contrast--v2 .lv-contrast__card--blue .lv-contrast__metric-value { color: var(--lv-blue); }
.lv-contrast--v2 .lv-contrast__card--orange .lv-contrast__metric-value { color: var(--lv-orange); }

.lv-contrast--v2 .lv-contrast__metric-unit {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color, #64748b);
    margin-top: 2px;
}

.lv-contrast--v2 .lv-contrast__desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-color, #1d1d1f);
    margin: 0;
}

.lv-contrast--v2 .lv-contrast__examples {
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--content-bg, #fff);
    border: 1px dashed var(--lv-border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--secondary-color, #64748b);
    line-height: 1.5;
}

.lv-contrast--v2 .lv-contrast__examples strong {
    color: var(--text-color, #1d1d1f);
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 640px) {
    .lv-contrast--v2 .lv-contrast__body { grid-template-columns: 1fr; }
    .lv-contrast--v2 .lv-contrast__metric { flex-direction: row; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   15. ESCALA FIX (valor fora da barra + imprescritivel)
   ═══════════════════════════════════════════════════════════ */

.lv-scale__bar--v2 {
    justify-content: flex-start;
    padding: 0;
    color: transparent;
}

.lv-scale__bar--infinito {
    background: repeating-linear-gradient(135deg, #be185d, #be185d 10px, #831843 10px, #831843 20px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.lv-scale__bar--infinito::after {
    content: "∞";
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.lv-scale__value--outside {
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    font-size: 0.88rem;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
    padding-left: 4px;
}

.lv-scale__value--infinito {
    color: #be185d;
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
   16. STEPS REFORMADOS (Como usar mais visual)
   ═══════════════════════════════════════════════════════════ */

.lv-steps--v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.lv-steps--v2 .lv-steps__card {
    padding: 20px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lv-steps--v2 .lv-steps__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lv-shadow-lg);
}

.lv-steps--v2 .lv-steps__card::before {
    content: attr(data-step);
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--lv-blue-light);
    letter-spacing: -0.05em;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

body.dark-mode .lv-steps--v2 .lv-steps__card::before {
    color: rgba(59,130,246,0.14);
}

.lv-steps--v2 .lv-steps__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.lv-steps--v2 .lv-steps__card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
}

.lv-steps--v2 .lv-steps__card-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--secondary-color, #64748b);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   17. COBERTURA (tribunais sem impressao restritiva)
   ═══════════════════════════════════════════════════════════ */

.lv-cobertura {
    margin: 28px 0;
    padding: 24px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

.lv-cobertura__lead {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color, #1d1d1f);
    margin: 0 0 18px;
    padding: 12px 14px;
    background: var(--lv-green-light);
    border-left: 3px solid var(--lv-green);
    border-radius: 8px;
}

body.dark-mode .lv-cobertura__lead {
    background: rgba(34,197,94,0.12);
}

.lv-cobertura__lead strong { color: var(--lv-green); }

.lv-cobertura__title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color, #64748b);
    margin-bottom: 10px;
}

.lv-cobertura__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.lv-cobertura__chip {
    padding: 6px 12px;
    background: var(--lv-blue-light);
    color: var(--lv-blue);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid transparent;
}

.lv-cobertura__chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--lv-shadow);
    text-decoration: none;
    border-color: var(--lv-blue);
}

.lv-cobertura__chip--more {
    background: var(--lv-gray-light);
    color: var(--secondary-color, #64748b);
    font-style: italic;
}

.lv-cobertura__note {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--secondary-color, #64748b);
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--lv-border);
}

.lv-cobertura__note strong { color: var(--text-color, #1d1d1f); }

/* ═══════════════════════════════════════════════════════════
   18. HISTORICO TABELADO (FGTS, Leading cases)
   ═══════════════════════════════════════════════════════════ */

.lv-historico {
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--lv-border);
    border-radius: 14px;
    box-shadow: var(--lv-shadow);
}

.lv-historico__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--content-bg, #fff);
    font-size: 0.88rem;
}

.lv-historico__table thead {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

body.dark-mode .lv-historico__table thead {
    background: linear-gradient(135deg, #1f1f20, #2a2a2c);
}

.lv-historico__table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--secondary-color, #64748b);
    border-bottom: 2px solid var(--lv-border);
}

.lv-historico__table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--lv-border);
    vertical-align: top;
    line-height: 1.55;
}

.lv-historico__table tr:last-child td { border-bottom: none; }

.lv-historico__table tr:hover td {
    background: var(--lv-blue-light);
}

body.dark-mode .lv-historico__table tr:hover td {
    background: rgba(59,130,246,0.08);
}

.lv-historico__period {
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    white-space: nowrap;
}

.lv-historico__rule {
    font-weight: 700;
    color: var(--lv-blue);
}

.lv-historico__rule--highlight {
    color: var(--lv-red);
}

.lv-historico__source {
    font-size: 0.78rem;
    color: var(--secondary-color, #64748b);
    font-style: italic;
}

.lv-historico__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.lv-historico__badge--leading {
    background: var(--lv-red-light);
    color: var(--lv-red);
}

.lv-historico__badge--lei {
    background: var(--lv-blue-light);
    color: var(--lv-blue);
}

.lv-historico__badge--sumula {
    background: var(--lv-orange-light);
    color: var(--lv-orange);
}

@media (max-width: 640px) {
    .lv-historico__table th,
    .lv-historico__table td { padding: 10px 12px; font-size: 0.82rem; }
}

/* ═══════════════════════════════════════════════════════════
   19. HELP PANEL (Como usar esta calculadora - shell)
   Uso. painel de ajuda inline abaixo da calculadora
   ═══════════════════════════════════════════════════════════ */

.lv-help-panel {
    margin: 32px 0 24px;
    padding: 28px 32px;
    background: var(--content-bg, #fff);
    border: 1px solid var(--lv-border);
    border-radius: 18px;
    box-shadow: var(--lv-shadow);
}

.lv-help-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--lv-border);
    margin-bottom: 22px;
}

.lv-help-panel__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--lv-shadow);
    flex-shrink: 0;
}

.lv-help-panel__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.lv-help-panel__subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--secondary-color, #64748b);
    margin: 0;
}

.lv-help-panel__steps-grid {
    margin: 0 0 22px;
}

.lv-help-panel__note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-top: 18px;
    background: var(--lv-blue-light);
    border-left: 3px solid var(--lv-blue);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
}

body.dark-mode .lv-help-panel__note {
    background: rgba(59,130,246,0.12);
}

.lv-help-panel__note i {
    color: var(--lv-blue);
    font-size: 1.05rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.lv-help-panel__note p { margin: 0; color: var(--text-color, #1d1d1f); }

.lv-help-panel__guide {
    margin-top: 22px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251,146,60,0.06), rgba(251,146,60,0.02));
    border: 1px dashed var(--lv-orange);
    border-radius: 12px;
}

body.dark-mode .lv-help-panel__guide {
    background: linear-gradient(135deg, rgba(251,146,60,0.14), rgba(251,146,60,0.04));
}

.lv-help-panel__guide-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--lv-orange);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lv-help-panel__guide-desc {
    font-size: 0.88rem;
    color: var(--secondary-color, #64748b);
    margin: 0 0 14px;
    line-height: 1.5;
}

.lv-help-panel__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 18px;
}

.lv-help-panel__guide-list li {
    font-size: 0.88rem;
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
    color: var(--text-color, #1d1d1f);
}

.lv-help-panel__guide-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lv-orange);
    font-weight: 800;
}

.lv-help-panel__guide-list strong {
    color: var(--lv-orange);
    font-weight: 700;
}

.lv-help-panel__guide-ref {
    font-size: 0.8rem;
    color: var(--secondary-color, #64748b);
    font-style: italic;
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed var(--lv-border);
}

@media (max-width: 640px) {
    .lv-help-panel { padding: 22px 20px; }
    .lv-help-panel__header { gap: 12px; }
    .lv-help-panel__icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .lv-help-panel__title { font-size: 1.08rem; }
    .lv-help-panel__guide { padding: 16px 18px; }
    .lv-help-panel__guide-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   21. RELATED TOOLS TITLE (quando o grid tem titulo proprio)
   ═══════════════════════════════════════════════════════════ */

.related-tools-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-color, #1d1d1f);
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    text-align: center;
}

.related-tools-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--secondary-color, #64748b);
    text-align: center;
    margin: 0 0 22px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   20. CITATION BOX (jurisprudencia citada)
   ═══════════════════════════════════════════════════════════ */

.citation-box {
    margin: 22px 0;
    padding: 18px 22px 16px 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #334155;
    border-radius: 4px;
    position: relative;
    quotes: none;
    box-shadow: none;
}

body.dark-mode .citation-box {
    background: rgba(148,163,184,0.06);
    border-color: rgba(148,163,184,0.18);
    border-left-color: #94a3b8;
}

.citation-box::before {
    content: none;
}

.citation-box .citation-title {
    display: inline-block;
    padding: 3px 8px;
    background: #1e293b;
    color: #f8fafc;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: 'SF Mono', 'Roboto Mono', Consolas, 'Courier New', monospace;
    margin: 0 0 10px;
}

body.dark-mode .citation-box .citation-title {
    background: #cbd5e1;
    color: #0f172a;
}

.citation-box p:not(.citation-title) {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-color, #1d1d1f);
    font-style: normal;
    margin: 0 0 12px;
}

.citation-box cite {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-color, #475569);
    font-style: normal;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

body.dark-mode .citation-box cite {
    border-top-color: rgba(148,163,184,0.18);
    color: #94a3b8;
}

.citation-box cite a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 600;
}

body.dark-mode .citation-box cite a {
    color: #7dd3fc;
}

.citation-box cite a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .citation-box { padding: 14px 16px 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   UTILS — Modo print
   ═══════════════════════════════════════════════════════════ */

@media print {
    .lv-timeline-d2, .lv-contrast, .lv-cronometro, .lv-counters,
    .lv-decision, .lv-scale, .lv-area-grid, .lv-timeline-hist, .lv-steps,
    .lv-what-is, .lv-cobertura, .lv-historico, .lv-steps--v2 {
        break-inside: avoid;
        box-shadow: none;
    }
}
