/* LIDE Calc — tela de atualização monetária (12/10/2026). Fluxo inspirado no JurisCalc/TJDFT (Dados do cálculo ›
   Demonstrativo, seções com faixa colorida), na identidade do LIDE: verde/azul, superfícies claras, cantos arredondados. */
.lc { max-width: none; width: 100%; }
.lc-intro { color: var(--text-soft); font-size: 0.93rem; margin: 0 0 1.1rem; max-width: 820px; }
.lc-abas { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.lc-aba { background: none; border: 0; border-bottom: 3px solid transparent; padding: 0.55rem 1.1rem 0.6rem; text-align: left; cursor: pointer; color: var(--text-muted); font-family: var(--display); display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: -1px; border-radius: 10px 10px 0 0; }
.lc-aba span { font-weight: 700; font-size: 0.98rem; }
.lc-aba small { font-size: 0.74rem; }
.lc-aba:hover { color: var(--teal-dark); background: var(--grad-soft); }
.lc-aba.ativo { color: var(--teal-dark); border-bottom-color: var(--teal); }
.lc-aba:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; }

.lc-grid { display: block; }
.lc-form { min-width: 0; }
.lc-sec { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem 1.4rem 0.6rem 1.6rem; margin-bottom: 1rem; overflow: hidden; }
.lc-sec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--teal); }
.lc-sec--1::before { background: #3a9bc4; } .lc-sec--2::before { background: #2d7d77; } .lc-sec--3::before { background: #6bbf6f; }
.lc-sec--4::before { background: #e0a85e; } .lc-sec--5::before { background: #4cae8f; } .lc-sec--6::before { background: #5aa9d6; }
.lc-sec--7::before { background: #93a6a0; } .lc-sec--8::before { background: #8ed08a; }
.lc-sec h2 { font-family: var(--display); font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; color: var(--text); }
.lc-sec h2 .opt { font-weight: 500; font-size: 0.8rem; color: var(--text-muted); }
.lc-num-sec { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; }
.lc-cont { font-size: 0.75rem; background: var(--grad-soft); color: var(--teal-dark); border-radius: 100px; padding: 0.1rem 0.55rem; }
.lc-cont:empty { display: none; }
.lc-campos { display: grid; gap: 0 1rem; }
.lc-campos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lc-campos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lc-campos > *, .lc-add > * { min-width: 0; }
.lc .field { margin-bottom: 0.9rem; }
.lc .field label { font-size: 0.8rem; }
.lc .input, .lc .select { padding: 0.65rem 0.8rem; font-size: 0.92rem; }
.lc-moeda { position: relative; display: block; }
.lc-moeda-rs { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; font-weight: 700; pointer-events: none; }
.lc .lc-moeda .input { padding-left: 2.4rem; text-align: right; font-variant-numeric: tabular-nums; }
.lc-ajuda { display: block; color: var(--text-muted); font-size: 0.78rem; margin: 0.25rem 0 0.8rem; }
.lc .field .lc-ajuda { margin-bottom: 0; }
.lc-add { display: grid; grid-template-columns: 200px 200px minmax(0, 1fr) auto; gap: 0 0.75rem; align-items: end; }
.lc-add--pct { grid-template-columns: 120px minmax(0, 1fr) auto; }
.lc-add--hf { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.8rem; }
.lc-add--hf .lc-add-desc { grid-column: span 2; }
.lc-add-btn { margin-bottom: 0.9rem; white-space: nowrap; }
.lc-lista { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: 0.4rem; }
.lc-lista li { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2, #f8fbfa); font-size: 0.88rem; flex-wrap: wrap; }
.lc-lista li.lc-vazio { color: var(--text-muted); justify-content: center; border-style: dashed; background: transparent; }
.lc-li-n { width: 22px; height: 22px; border-radius: 6px; background: var(--grad-soft); color: var(--teal-dark); font-weight: 700; font-size: 0.74rem; display: inline-flex; align-items: center; justify-content: center; }
.lc-li-v { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.lc-li-d { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.lc-li-t { color: var(--text-soft); flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.lc-li-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-dark); background: var(--grad-soft); border-radius: 100px; padding: 0.15rem 0.55rem; }
.lc-x { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-soft); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.lc-x:hover { color: var(--danger); border-color: var(--danger); }
.lc-lista li.lc-li-valor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; }
.lc-li-info { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; min-width: 0; }
.lc-li-acoes { display: flex; gap: 0.4rem; align-items: center; }
.lc-li-acoes .lc-x { margin-left: 0; display: inline-grid; place-items: center; }
.lc-x.lc-ed { color: var(--teal-dark); }
.lc-x.lc-ed:hover { color: var(--teal-dark); border-color: var(--teal); background: var(--grad-soft); }
.lc-lista li.lc-li-ativo { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 168, 160, 0.15); background: var(--grad-soft); }
.lc-v-edit-acoes { display: flex; gap: 0.5rem; }
.lc-v-edit-acoes[hidden], .lc .lc-add-btn[hidden] { display: none !important; }
.lc-v-edit-acoes .lc-add-btn { display: inline-flex; align-items: center; gap: 0.45rem; }
.lc .lc-btn-cancelar { background: #dc3545; border-color: #dc3545; color: #fff; }
.lc .lc-btn-cancelar:hover { background: #c82333; border-color: #c82333; color: #fff; }
.lc-sec.lc-editando .lc-add .input { border-color: var(--teal); }
@media (max-width: 760px) {
  .lc-li-acoes { flex-direction: column; }
  .lc-v-edit-acoes { grid-column: 1 / -1; }
  .lc-v-edit-acoes .lc-add-btn { flex: 1; justify-content: center; }
}
.lc-radios { border: 0; padding: 0; margin: 0 0 0.9rem; display: grid; gap: 0.45rem; }
.lc-radios legend { font-family: var(--display); font-weight: 600; font-size: 0.8rem; margin-bottom: 0.45rem; }
.lc-radios label { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); cursor: pointer; }
.lc-radios input { margin-top: 0.2rem; accent-color: var(--teal); }
.lc-mais { margin: 0.2rem 0 0.9rem; }
.lc-mais summary { cursor: pointer; color: var(--teal-dark); font-weight: 700; font-size: 0.88rem; }
.lc-523 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 0.6rem 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.lc-opc { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.85rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); min-height: 52px; transition: border-color .15s, background .15s; }
.lc-opc:hover { border-color: var(--teal); }
.lc-opc:has(input:checked) { border-color: var(--teal); background: var(--grad-soft); }
.lc-opc input { width: 20px; height: 20px; accent-color: var(--teal); flex-shrink: 0; margin: 0; }
.lc-opc-txt { display: grid; line-height: 1.2; }
.lc-opc-txt b { font-family: var(--display); font-size: 0.95rem; color: var(--text); }
.lc-opc-txt small { font-size: 0.75rem; color: var(--text-muted); }
.lc-opc-pct { display: flex; align-items: center; gap: 0.35rem; color: var(--text-soft); font-weight: 700; }
.lc .lc-pct-curto { width: 76px; text-align: right; }
.lc .lc-pct-curto:disabled { background: var(--bg-alt); color: var(--text-muted); }
.lc-h2-sub { display: block; font-family: var(--body); font-weight: 600; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }
/* seção 5: multas e honorários em cartões */
.lc-enc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-bottom: 0.9rem; }
.lc-enc-card { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 0.9rem 1rem 0.2rem; container-type: inline-size; transition: border-color .15s, box-shadow .15s; }
.lc-enc-card:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 168, 160, 0.15); }
.lc-enc-top, .lc-enc-hf > summary { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.lc-enc-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal-dark); font-family: var(--display); font-weight: 800; font-size: 0.9rem; }
.lc-enc-tit { display: grid; line-height: 1.25; min-width: 0; }
.lc-enc-tit b { font-family: var(--display); font-size: 0.98rem; color: var(--text); }
.lc-enc-tit small { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.lc-enc-campos { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 0 0.7rem; align-items: end; }
.lc-enc-campos > * { min-width: 0; }
@container (max-width: 520px) {
  .lc-enc-campos { grid-template-columns: 96px minmax(0, 1fr); }
  .lc-enc-campos .lc-add-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
.lc .lc-data { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.lc .lc-data.lc-data-erro { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.lc-sufixo { position: relative; display: block; }
.lc-sufixo > span { position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 700; pointer-events: none; }
.lc .lc-sufixo .input { padding-right: 2rem; text-align: right; font-variant-numeric: tabular-nums; }
.lc-enc-hf { margin: 0 0 0.9rem; padding-bottom: 0; }
.lc-enc-hf > summary { list-style: none; cursor: pointer; margin: 0; padding-bottom: 0.9rem; color: inherit; font-size: inherit; }
.lc-enc-hf > summary::-webkit-details-marker { display: none; }
.lc-enc-seta { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark); transform: rotate(45deg); transition: transform .2s; flex-shrink: 0; }
.lc-enc-hf[open] > summary .lc-enc-seta { transform: rotate(-135deg); }
.lc-enc-hf[open] > summary { border-bottom: 1px dashed var(--border); margin-bottom: 0.2rem; }
.lc-enc-hf:hover { border-color: var(--teal); }
.lc-enc-hf .lc-add--hf { margin-top: 0.8rem; }
.lc-enc-hf .lc-enc-campos { margin-top: 0.8rem; }
.lc-enc--um { grid-template-columns: 1fr; }
.lc-gerador { margin-top: 0.9rem; }
.lc-add--ger .lc-add-desc { grid-column: span 2; }
.lc-add--ger [hidden] { display: none; }
.lc-lista-topo { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin: 0.6rem 0 0.2rem; font-size: 0.86rem; color: var(--text-soft); }
.lc-lista-topo[hidden] { display: none; }
.lc-lista-topo .btn { padding: 0.35rem 0.8rem; font-size: 0.82rem; }
.lc-calcular { position: sticky; bottom: 0.75rem; z-index: 5; padding-top: 0.25rem; }
.lc-calcular .btn-full { box-shadow: var(--shadow-lg); }
.lc-ind { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; font-size: 0.82rem; color: var(--text-soft); background: var(--grad-soft); border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; margin-bottom: 0.9rem; }
.lc-ind[hidden] { display: none; }
.lc-ind--warn { background: rgba(224,168,94,0.14); }
.lc-ind--err { background: rgba(217,122,108,0.12); color: #b35546; }
.lc-ind-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.lc-ind--warn .lc-ind-dot { background: var(--warn); }
.lc-ind--err .lc-ind-dot { background: var(--danger); }
.lc-ind-dot--wait { background: var(--info); animation: lcPulse 1s ease-in-out infinite; }
@keyframes lcPulse { 50% { opacity: 0.3; } }
.lc-ind-aviso { flex-basis: 100%; color: #8a5a18; font-weight: 600; }
.lc-link { background: none; border: 0; color: var(--teal-dark); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; font-size: inherit; }

.lc-recentes { position: relative; }
.lc-recentes > summary { list-style: none; cursor: pointer; }
.lc-recentes > summary::-webkit-details-marker { display: none; }
.lc-recentes-painel { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 30; width: min(340px, 86vw); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.7rem; }
.lc-salvos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; max-height: 340px; overflow: auto; }
.lc-salvos button { width: 100%; text-align: left; background: var(--surface-2, #f8fbfa); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.55rem 0.7rem; cursor: pointer; display: grid; gap: 0.1rem; font-family: var(--body); }
.lc-salvos button:hover { border-color: var(--teal); }
.lc-salvos strong { font-size: 0.82rem; color: var(--text); overflow-wrap: anywhere; }
.lc-salvos span { font-size: 0.8rem; color: var(--teal-dark); font-weight: 700; }
.lc-salvos small { font-size: 0.72rem; color: var(--text-muted); }
.lc-salvos .lc-vazio { font-size: 0.8rem; color: var(--text-muted); }

/* demonstrativo */
.lc-demo-acoes { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; margin-bottom: 1rem; }
.lc-demo-vazio { text-align: center; padding: 3rem 1rem; color: var(--text-muted); border: 1.5px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.lc-demo { display: grid; gap: 1rem; }
.lc-d-proc { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.3rem; }
.lc-d-proc > div { display: grid; gap: 0.15rem; min-width: 0; overflow-wrap: anywhere; }
.lc-d-proc strong { font-family: var(--display); font-size: 1.15rem; color: var(--teal-dark); }
.lc-d-k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }
.lc-d-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lc-d-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem 1.1rem; border-left: 5px solid var(--green); }
.lc-d-card--a { border-left-color: var(--blue); } .lc-d-card--b { border-left-color: var(--warn); } .lc-d-card--c { border-left-color: var(--green); }
.lc-d-card h4 { font-family: var(--display); font-size: 0.98rem; margin: 0 0 0.4rem; color: var(--text); }
.lc-d-card p { font-size: 0.84rem; color: var(--text-soft); margin: 0 0 0.3rem; }
.lc-d-sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); min-width: 0; }
.lc-d-sec h3 { font-family: var(--display); font-size: 1.05rem; text-align: center; margin: 0.2rem 0 0.9rem; }
.lc-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lc .alert[hidden] { display: none !important; }
.lc-tbl { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.lc-tbl th { font-family: var(--display); font-size: 0.74rem; font-weight: 700; color: var(--text); text-align: left; padding: 0.55rem 0.5rem; border-bottom: 2px solid var(--border-strong); vertical-align: bottom; }
.lc-tbl td { padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--border); color: var(--text-soft); vertical-align: middle; }
.lc-tbl tbody tr:nth-child(odd) td { background: rgba(234,242,239,0.45); }
.lc-tbl tfoot td { font-weight: 700; color: var(--text); border-top: 2px solid var(--border-strong); border-bottom: 0; }
.lc-tbl .lc-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-tbl small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.lc-td-desc { max-width: 180px; overflow-wrap: anywhere; }
.lc-td-ind span { display: block; border: 1px solid var(--border); border-radius: 8px; padding: 0.2rem 0.45rem; margin: 0.15rem 0; font-size: 0.72rem; background: var(--surface); }
.lc-ref { color: var(--teal-dark); font-weight: 700; font-size: 0.78rem; }
.lc-agr dl { margin: 0; display: grid; }
.lc-agr dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--border); }
.lc-agr dt { color: var(--text-soft); }
.lc-agr dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.lc-agr .lc-agr-total { background: var(--grad-soft); border-radius: var(--radius-sm); border-bottom: 0; margin: 0.3rem 0; }
.lc-agr .lc-agr-total dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.lc-agr .lc-agr-total dd { font-family: var(--display); font-size: 1.35rem; color: var(--teal-dark); }
.lc-agr .lc-agr-saldo dd { color: var(--teal-dark); font-size: 1.1rem; }
.lc-obs { font-size: 0.8rem; color: #8a5a18; margin: 0.6rem 0 0; }
.lc-memo summary { cursor: pointer; font-family: var(--display); font-weight: 700; }
.lc-memo-item h4 { font-size: 0.86rem; margin: 0.9rem 0 0.4rem; color: var(--text); }
.lc-memo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.25rem 0.8rem; font-size: 0.76rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.lc-rodape { font-size: 0.76rem; color: var(--text-muted); margin: 0.2rem 0 0; }

@media (max-width: 760px) {
  .lc-campos--4, .lc-campos--3 { grid-template-columns: 1fr 1fr; }
  .lc-add, .lc-add--pct, .lc-add--hf { grid-template-columns: 1fr 1fr; }
  .lc-add .lc-add-desc, .lc-add--hf .lc-add-desc { grid-column: 1 / -1; }
  .lc-add-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .lc-523 { grid-template-columns: minmax(0, 1fr) auto; }
  .lc-enc { grid-template-columns: 1fr; gap: 0.7rem; }
  .lc-enc-card { padding: 0.8rem 0.85rem 0.1rem; }
  .lc-d-proc, .lc-d-cards { grid-template-columns: 1fr; }
  .lc-recentes-painel { right: auto; left: 0; }
  .lc-sec { padding: 1.1rem 1rem 0.5rem 1.25rem; }
  .lc-demo-acoes { justify-content: stretch; }
  .lc-demo-acoes .btn { flex: 1 1 45%; justify-content: center; }
  .lc-agr .lc-agr-total dd { font-size: 1.15rem; }
  /* tabelas do demonstrativo viram fichas: cada linha um bloco, cada coluna "rótulo  valor" */
  .lc-tbl thead { display: none; }
  .lc-tbl, .lc-tbl tbody, .lc-tbl tfoot, .lc-tbl tr { display: block; width: 100%; }
  .lc-tbl tr { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.35rem 0.75rem; margin-bottom: 0.6rem; background: var(--surface); }
  .lc-tbl tbody tr:nth-child(odd) td { background: transparent; }
  .lc-tbl td { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.4rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--border); text-align: right; }
  .lc-tbl td:last-child { border-bottom: 0; }
  .lc-tbl td[data-r]::before { content: attr(data-r); color: var(--text-muted); font-size: 0.74rem; font-weight: 700; text-align: left; flex-shrink: 0; max-width: 45%; margin-right: auto; }
  .lc-tbl td.lc-td-tit::before { content: none; }
  .lc-tbl .lc-num { white-space: normal; }
  .lc-tbl td small { display: inline; margin-left: 0.3rem; }
  .lc-tbl .lc-td-desc { max-width: none; }
  .lc-tbl .lc-td-ind { flex-wrap: wrap; justify-content: flex-end; }
  .lc-tbl .lc-td-ind span { display: inline-block; margin: 0.1rem 0 0.1rem 0.3rem; }
  .lc-tbl .lc-td-tit { display: block; text-align: left; font-weight: 700; color: var(--text); }
  .lc-tbl .lc-td-tit small { display: block; margin: 0.15rem 0 0; }
  .lc-tbl .lc-vazia { display: none; }
  .lc-tbl .lc-td-total { font-size: 0.95rem; color: var(--text); }
  .lc-tbl tfoot tr { background: var(--grad-soft); border-color: var(--border-strong); }
  .lc-tbl tfoot td { border-top: 0; }
}
@media (max-width: 420px) {
  .lc-campos--4, .lc-campos--3 { grid-template-columns: 1fr; }
  .lc-abas .lc-aba { flex: 1; padding: 0.5rem 0.6rem; }
}

/* 13/10/2026: tabela com data do ajuizamento, aviso de juros do regime, revisional */
.lc-campos--tab { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.lc-campos--tab.lc-uma { grid-template-columns: 1fr; }
.lc-span-2 { grid-column: span 2; }
.lc-check-campo { display: flex; align-items: flex-end; }
.rv-tarifas { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); }
.rv-tarifas[hidden], .rv-teto-info[hidden], #rv-sec-criterios[hidden], #rv-patamar-campo[hidden] { display: none; }
.rv-sub { font-family: var(--display); font-size: 0.95rem; font-weight: 700; margin: 0 0 0.7rem; color: var(--text); }
.rv-tar-ex { margin-top: 0.4rem; font-size: 0.82rem; }
.rv-teto-info { margin: 0.5rem 0 0; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm); background: rgba(224,168,94,0.14); font-size: 0.84rem; color: var(--text-soft); }
.lc-check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--text-soft); cursor: pointer; padding: 0.55rem 0; line-height: 1.25; }
.lc-check input { width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; margin: 0; }
.lc-juros-regime { background: var(--grad-soft); color: var(--text-soft); border: 0; font-size: 0.86rem; margin: 0.2rem 0 0.6rem; }
.lc-btn-limpar { color: #b35546; }
.rv-rel { margin-top: 1rem; }
.rv-veredito { border-radius: var(--radius); padding: 0.95rem 1.2rem; border: 1px solid var(--border); background: var(--surface); display: grid; gap: 0.25rem; border-left: 6px solid var(--success); }
.rv-veredito b { font-family: var(--display); font-size: 1.05rem; color: var(--text); }
.rv-veredito span { color: var(--text-soft); font-size: 0.88rem; }
.rv-veredito--alto { border-left-color: var(--danger); }
.rv-veredito--neutro { border-left-color: var(--warn); }
.rv-num { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.rv-num > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 0.95rem; display: grid; gap: 0.15rem; min-width: 0; }
.rv-num .rv-k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.rv-num .rv-v { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.rv-num small { color: var(--text-muted); font-size: 0.76rem; }
.rv-barra { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #e3f3ea, #fbe9e4); margin: 0.6rem 0 0.2rem; }
.rv-barra i { position: absolute; top: -4px; width: 4px; height: 20px; border-radius: 2px; background: var(--text); transform: translateX(-2px); }
.rv-barra i.rv-m { background: var(--teal); } .rv-barra i.rv-p { background: var(--warn); } .rv-barra i.rv-c { background: var(--danger); }
.rv-legenda { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.78rem; color: var(--text-soft); }
.rv-legenda span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 0.35rem; vertical-align: middle; background: currentColor; }
.rv-legenda .rv-m { color: var(--teal); } .rv-legenda .rv-p { color: var(--warn); } .rv-legenda .rv-c { color: var(--danger); }
tr.rv-eu td { background: rgba(217,122,108,0.12) !important; }
@media (max-width: 900px) { .rv-num { grid-template-columns: 1fr 1fr; } .lc-campos--tab { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .rv-num { grid-template-columns: 1fr; } .lc-span-2 { grid-column: auto; } }

/* impressão / PDF: só o demonstrativo */
@media print {
  body.lc-imprimindo * { visibility: hidden !important; }
  body.lc-imprimindo #lc-painel-demo, body.lc-imprimindo #lc-painel-demo * { visibility: visible !important; }
  body.lc-imprimindo #lc-painel-demo { position: absolute; left: 0; top: 0; width: 100%; }
  body.lc-imprimindo .lc-demo-acoes, body.lc-imprimindo #lc-demo-msg { display: none !important; }
  body.lc-imprimindo .lc-d-sec, body.lc-imprimindo .lc-d-card, body.lc-imprimindo .lc-d-proc { box-shadow: none; break-inside: avoid; }
  body.lc-imprimindo .lc-tbl { font-size: 8.5pt; }
  body.lc-imprimindo .lc-tbl-wrap { overflow: visible; }
  body.lc-imprimindo .lc-memo { display: block; }
  body.lc-imprimindo .lc-memo[open] summary { margin-bottom: 0.5rem; }
}
.lc .lc-radios[hidden], .lc .lc-radios label[hidden], .lc .lc-campos[hidden], .lc .field[hidden], .lc .lc-sec[hidden], .lc .alert[hidden] { display: none !important; }

/* Revisional: botão de analisar fixo (o relatório vem logo abaixo) e barra de ações do relatório (13/10/2026) */
.lc .rv-calcular { position: static; padding-top: 0.5rem; margin-bottom: 1.75rem; }
.lc .btn[hidden] { display: none !important; }
.rv-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.95rem 1.2rem; box-shadow: var(--shadow-sm); margin: 0 0 1rem; }
.rv-toolbar[hidden] { display: none; }
.rv-toolbar-tit { display: grid; gap: 0.15rem; min-width: 0; }
.rv-toolbar-tit b { font-family: var(--display); font-size: 1.05rem; color: var(--text); }
.rv-toolbar-tit small { font-size: 0.78rem; color: var(--text-muted); }
.rv-toolbar-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
#rv-res-msg { margin: 0 0 1rem; }
#rv-relatorio { display: grid; gap: 1rem; margin-top: 0; }
#rv-relatorio[hidden] { display: none; }
#rv-relatorio > * { margin: 0; }
@media (max-width: 700px) {
  .rv-toolbar { padding: 0.9rem; }
  .rv-toolbar-btns { width: 100%; display: grid; grid-template-columns: 1fr; }
  .rv-toolbar-btns .btn { width: 100%; justify-content: center; }
}
/* Fazenda Pública: natureza, ente e EC 136/2025 (13/10/2026) */
.lc .lc-faz { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem 1rem; margin-top: 0.85rem; align-items: end; }
.lc .lc-faz[hidden], .lc #lc-523-faz[hidden] { display: none !important; }
.lc .lc-faz-ec136 { align-self: end; }
.lc .lc-opc.lc-desab { opacity: 0.5; }
.lc .field label.lc-check { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.84rem; font-weight: 500; }

/* Revisional: extrato do INSS (HISCON), lista de empréstimos e abas do lote (13/10/2026) */
#rv-sec-hiscon[hidden], #rv-sec-lista[hidden], .rv-abas-lote[hidden], .rv-lote-res[hidden] { display: none; }
.rv-drop { display: grid; justify-items: center; gap: 0.3rem; text-align: center; padding: 1.4rem 1rem; border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.rv-drop:hover, .rv-drop.rv-sobre { border-color: var(--teal); background: var(--grad-soft); }
.rv-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rv-drop-ico { color: var(--teal-dark); }
.rv-drop b { font-family: var(--display); font-size: 0.95rem; color: var(--text); }
.rv-drop small { color: var(--text-muted); font-size: 0.78rem; max-width: 46ch; }
.rv-drop.rv-lido { border-style: solid; border-color: var(--teal); }
.rv-lista-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; font-size: 0.84rem; color: var(--text-soft); }
.rv-lista-sel .btn { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.rv-tbl-hiscon td:first-child, .rv-tbl-hiscon th:first-child { width: 2.2rem; text-align: center; }
.rv-tbl-hiscon input { width: 18px; height: 18px; accent-color: var(--teal); }
.rv-tbl-hiscon tr.rv-sel td { background: var(--grad-soft); }
.rv-tbl-hiscon small { display: block; color: var(--text-muted); font-size: 0.72rem; }
.lc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#rv-prosseguir { margin-top: 0.8rem; }
.rv-abas-lote { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; margin: -0.2rem 0 0.9rem; border-bottom: 1px solid var(--border); }
.rv-abas-lote button { flex-shrink: 0; border: 1.5px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-sm); padding: 0.4rem 0.75rem; font-size: 0.8rem; cursor: pointer; display: grid; text-align: left; line-height: 1.2; color: var(--text-soft); }
.rv-abas-lote button b { font-family: var(--display); color: var(--text); font-size: 0.84rem; }
.rv-abas-lote button[aria-selected="true"] { border-color: var(--teal); background: var(--grad-soft); }
.rv-lote-res { margin-bottom: 1rem; }
.rv-apta { color: #b35546; font-weight: 700; } .rv-inapta { color: var(--text-muted); font-weight: 700; }
.rv-lote-res tr.rv-atual td { background: var(--grad-soft); }
.rv-atu .lc-campos { margin-bottom: 0.2rem; }
.rv-atu #rv-atu-btn { margin: 0.4rem 0 0.8rem; }
.rv-atu [hidden] { display: none; }
.rv-atu-tot { display: grid; gap: 0; margin: 0 0 0.6rem; }
.rv-atu-tot > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.2rem; border-bottom: 1px solid var(--border); }
.rv-atu-tot dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
#rv-sec-rmc[hidden], #rv-sec-rmc [hidden], #rv-carencia-campo[hidden] { display: none; }
.rv-r-desc { min-height: 7.5rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.86rem; resize: vertical; }
.rv-r-saque { align-items: end; }
.rv-lista-sel[hidden] { display: none; }
#rv-sec-hiscre[hidden], #rv-hiscre-res[hidden] { display: none; }
#rv-hiscre-res { margin-top: 0.9rem; }
#rv-hiscre-res .btn { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
#rv-hiscre-res tr[data-rub] td { transition: background-color 0.35s ease; }
#rv-hiscre-res tr.rv-rub-sel td { background: #e7f6ec; }
#rv-hiscre-res tr.rv-rub-sel .btn { background: #1f9d55; border-color: #1f9d55; color: #fff; transition: background-color 0.35s ease, color 0.35s ease; }
#rv-hiscre-res .rv-rub-acao { white-space: nowrap; }
.rv-rub-ok { display: block; margin-top: 0.3rem; font-size: 0.72rem; font-weight: 600; color: #1f7a45; white-space: normal; max-width: 15rem; font-weight: 600; }
.rv-rub-ok[hidden] { display: none; }
#rv-hiscre-res tr.rv-rub-anim td { animation: rv-rub-pulso 0.9s ease-out; }
#rv-hiscre-res tr.rv-rub-anim .rv-rub-ok { animation: rv-rub-entra 0.45s ease-out; }
@keyframes rv-rub-pulso { 0% { background: #b9eacb; } 100% { background: #e7f6ec; } }
@keyframes rv-rub-entra { 0% { opacity: 0; transform: translateY(-4px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #rv-hiscre-res tr.rv-rub-anim td, #rv-hiscre-res tr.rv-rub-anim .rv-rub-ok { animation: none; } }

.rv-desc-origem { display: inline-block; margin-left: 0.35rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: #e7f6ec; color: #1f7a45; font-size: 0.72rem; font-weight: 600; animation: rv-rub-entra 0.45s ease-out; }
.rv-desc-origem[hidden] { display: none; }
textarea.rv-desc-sel { border-color: #1f9d55; box-shadow: 0 0 0 2px rgba(31, 157, 85, 0.15); transition: border-color 0.35s ease, box-shadow 0.35s ease; }
textarea.rv-desc-sel.rv-rub-anim { animation: rv-desc-pulso 0.9s ease-out; }
@keyframes rv-desc-pulso { 0% { background: #e7f6ec; } 100% { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .rv-desc-origem, textarea.rv-desc-sel.rv-rub-anim { animation: none; } }

/* barra de progresso da análise da Revisional (13/10/2026) */
.rv-prog { margin-top: 0.7rem; }
.rv-prog[hidden] { display: none; }
.rv-prog-linha { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--ink-2, #3e4f4c); margin-bottom: 0.35rem; }
.rv-prog-pc { font-weight: 700; color: var(--teal-dark, #2d7d77); font-variant-numeric: tabular-nums; }
.rv-prog-barra { position: relative; height: 10px; border-radius: 999px; background: #e3efec; overflow: hidden; }
.rv-prog-barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 3%; border-radius: 999px; background: linear-gradient(90deg, #6bbf6f, #3fa8a0, #3a8fc2); transition: width 0.45s ease; overflow: hidden; }
.rv-prog-barra i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: translateX(-100%); animation: rv-prog-brilho 1.2s linear infinite; }
.rv-prog.rv-prog-ok .rv-prog-barra i { background: #1f9d55; }
.rv-prog.rv-prog-ok .rv-prog-barra i::after { animation: none; }
.rv-prog.rv-prog-ok .rv-prog-txt { color: #1f7a45; font-weight: 600; }
@keyframes rv-prog-brilho { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .rv-prog-barra i { transition: none; } .rv-prog-barra i::after { animation: none; } }
/* salvar em PDF, no fim do relatório (13/10/2026) */
.rv-salvar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem 1.25rem; flex-wrap: wrap; margin-top: 1rem; padding: 0.95rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.rv-salvar[hidden] { display: none; }
.rv-salvar-txt { display: grid; gap: 0.15rem; }
.rv-salvar-txt b { font-family: var(--display); font-size: 1.05rem; color: var(--text); }
.rv-salvar-txt small { color: var(--text-muted, #7b8a87); font-size: 0.78rem; }
@media (max-width: 640px) { .rv-salvar .btn { width: 100%; justify-content: center; } }
#rv-pdf-msg { margin-top: 0.6rem; }
.rv-salvar-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rv-salvar-btns .btn[hidden] { display: none; }
@media (max-width: 640px) { .rv-salvar-btns { width: 100%; display: grid; grid-template-columns: 1fr; } }
/* composição do valor financiado (13/10/2026) */
.rv-composicao { margin-bottom: 0.4rem; }
#rv-valor.rv-auto { background: var(--grad-soft, #eef7f5); font-weight: 700; }
.rv-valor-auto { display: block; margin-top: 0.25rem; font-size: 0.72rem; color: var(--teal-dark, #2d7d77); }
.rv-valor-auto[hidden] { display: none; }
/* anexo lido: nome pequeno com X (13/10/2026) */
.rv-anexo { display: inline-flex; align-items: center; gap: 0.4rem; max-width: 100%; margin-top: 0.55rem; padding: 0.22rem 0.3rem 0.22rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--grad-soft, #eef7f5); color: var(--text-soft, #3e4f4c); font-size: 0.74rem; line-height: 1.2; }
.rv-anexo[hidden] { display: none; }
.rv-anexo svg { flex-shrink: 0; color: var(--teal-dark, #2d7d77); }
.rv-anexo-nome { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28rem; }
.rv-anexo-tam { color: var(--text-muted, #7b8a87); white-space: nowrap; }
.rv-anexo-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 0.1rem; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted, #7b8a87); font-size: 1rem; line-height: 1; cursor: pointer; }
.rv-anexo-x:hover, .rv-anexo-x:focus-visible { background: rgba(217, 122, 108, 0.15); color: #b4533f; outline: none; }

/* ---- Extratos bancários → cobranças indevidas (13/10/2026): balão ao lado de "3 Valores", mesma altura ---- */
.lc-form { container-type: inline-size; container-name: lcform; }
.lc-par-ext { display: block; }
.lc-sec--ext::before { background: var(--grad); }
.lc-sec--ext { display: flex; flex-direction: column; padding-bottom: 1rem; }
.lc-sec--ext h2 .opt { margin-left: auto; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lc-num-ext svg { display: block; }
.lc-ext-topo { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 0.7rem; align-items: stretch; }
.lc-ext-drop { position: relative; display: grid; justify-items: center; align-content: center; gap: 0.35rem; text-align: center; padding: 1.1rem 0.8rem; min-height: 150px;
  border: 2px dashed rgba(63, 168, 160, 0.45); border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(135deg, rgba(107, 191, 111, 0.10), rgba(58, 155, 196, 0.10)); transition: border-color .15s, background .15s, transform .15s; }
.lc-ext-drop:hover, .lc-ext-drop.lc-ext-sobre { border-color: var(--teal); background: var(--grad-soft); }
.lc-ext-drop.lc-ext-sobre { transform: scale(1.01); }
.lc-ext-drop:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; }
.lc-ext-drop-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(58, 155, 196, 0.25); }
.lc-ext-drop b { font-family: var(--display); font-size: 0.95rem; color: var(--text); }
.lc-ext-drop small { color: var(--text-muted); font-size: 0.74rem; max-width: 34ch; }
.lc-ext-sel { display: inline-block; padding: 0.42rem 1rem; border-radius: 100px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.82rem; box-shadow: 0 3px 10px rgba(58, 155, 196, 0.25); }
.lc-ext-presc { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.8rem 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface-2, #f8fbfa); }
.lc-ext-presc label { font-family: var(--display); font-weight: 700; font-size: 0.86rem; color: var(--text); }
.lc-ext-presc label span { color: var(--teal-dark); }
.lc-ext-presc .input { width: 100%; font-variant-numeric: tabular-nums; }
.lc-ext-presc-info { font-size: 0.74rem; font-weight: 700; color: var(--teal-dark); line-height: 1.3; }
.lc-ext-presc-info.lc-ext-presc-erro { color: var(--danger, #c0392b); }
.lc-ext-presc-dica { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }
/* anos de prescrição editáveis dentro do rótulo "(5 anos)" */
.lc-ext-presc label { white-space: nowrap; }
.lc-ext-presc .lc-ext-anos { width: 1.7em; padding: 0 0.1em; border: 1px solid var(--border); border-radius: 6px; font: inherit; color: var(--teal-dark); text-align: center; background: var(--surface, #fff); -moz-appearance: textfield; }
.lc-ext-presc .lc-ext-anos::-webkit-inner-spin-button, .lc-ext-presc .lc-ext-anos::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lc-ext-presc .lc-ext-anos:focus { outline: 2px solid var(--teal, #2bb3a0); outline-offset: 1px; }
/* balões de devolução (em dobro / simples antes de 30/03/2021): pequenos, proporcionais ao balão do extrato */
.lc-ext-dev { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.55rem; }
.lc-ext-chip { padding: 0.22rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface, #fff); color: var(--text-muted); font-size: 0.7rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lc-ext-chip:hover { border-color: var(--teal, #2bb3a0); color: var(--teal-dark); }
.lc-ext-chip--on { background: #1f9d8b; border-color: #1f9d8b; color: #fff; }
.lc-ext-chip--on:hover { color: #fff; }
/* o atributo hidden vale sobre o display das classes (antes a barra "Lendo os extratos" aparecia ao abrir a página e ficava depois do X) */
.lc-sec--ext [hidden] { display: none !important; }
.lc-ext-prog { margin-top: 0.7rem; padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); display: grid; gap: 0.3rem; }
.lc-ext-prog-l1 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; }
.lc-ext-prog-ok { width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; font-size: 0.7rem; color: #fff; background: var(--grad); }
.lc-ext-prog--ok .lc-ext-prog-ok { display: inline-grid; }
.lc-ext-prog-pc { margin-left: auto; font-weight: 700; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.lc-ext-prog-nome { color: var(--text-muted); font-size: 0.74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-ext-prog-trilho { height: 6px; border-radius: 100px; background: var(--border); overflow: hidden; }
.lc-ext-prog-trilho span { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--grad); transition: width .25s; }
.lc-ext-prog small:last-child { color: var(--text-soft); font-size: 0.76rem; }
.lc-ext-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.lc-ext-pills:empty { display: none; }
.lc-ext-pill { display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; padding: 0.22rem 0.3rem 0.22rem 0.6rem; border-radius: 100px; background: var(--grad-soft); color: var(--teal-dark); font-size: 0.76rem; }
.lc-ext-pill--aviso { background: rgba(224, 168, 94, 0.16); color: #9a6418; }
.lc-ext-pill-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }
.lc-ext-pill-x { width: 20px; height: 20px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 0.95rem; line-height: 1; }
.lc-ext-pill-x:hover { background: rgba(0, 0, 0, 0.08); }
#lc-ext-msg { margin: 0.6rem 0 0; }
.lc-ext-res { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; margin-top: 0.8rem; }
.lc-ext-res[hidden] { display: none; }
.lc-ext-res-topo { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; margin-bottom: 0.5rem; }
.lc-ext-res-topo > b { font-family: var(--display); font-size: 0.92rem; }
.lc-ext-cont { font-size: 0.74rem; color: var(--text-muted); }
.lc-ext-todas { margin-left: auto; display: flex; gap: 0.3rem; }
.lc-ext-todas button { border: 1px solid var(--border-strong); background: var(--surface); color: var(--teal-dark); border-radius: 100px; padding: 0.15rem 0.6rem; font-size: 0.72rem; font-weight: 700; cursor: pointer; }
.lc-ext-todas button:hover { border-color: var(--teal); background: var(--grad-soft); }
.lc-ext-lista { list-style: none; margin: 0; padding: 0 0.15rem 0 0; display: grid; gap: 0.4rem; align-content: start; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.lc-ext-item label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.lc-ext-item label:hover { border-color: var(--teal); }
.lc-ext-item.lc-ext-on label { border-color: var(--teal); background: var(--grad-soft); }
.lc-ext-item input { width: 17px; height: 17px; accent-color: var(--teal-dark); }
.lc-ext-txt { display: grid; min-width: 0; }
.lc-ext-txt b { font-size: 0.82rem; color: var(--text); overflow-wrap: anywhere; }
.lc-ext-txt small, .lc-ext-soma small { font-size: 0.7rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-ext-soma { display: grid; justify-items: end; text-align: right; }
.lc-ext-soma small { text-transform: uppercase; letter-spacing: 0.05em; }
.lc-ext-soma b { font-size: 0.86rem; color: var(--teal-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-ext-vazio { color: var(--text-muted); text-align: center; padding: 0.8rem; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); font-size: 0.84rem; }
.lc-ext-nota { margin: 0.5rem 0 0; font-size: 0.74rem; }
.lc-ext-nota:empty { display: none; }
.lc-ext-prosseguir { margin-top: 0.7rem; width: 100%; justify-content: center; }
.lc-ext-prosseguir:disabled { opacity: 0.55; cursor: not-allowed; }
/* Lado a lado quando o formulário é largo: os dois cartões ficam SEMPRE com a mesma altura (a linha da grade estica o
   mais baixo); a lista de cobranças tem teto e rola por dentro, para o balão não crescer sem fim. Em telas menores,
   um embaixo do outro, com altura natural. */
.lc-ext-lista { max-height: 340px; }
@container lcform (min-width: 1180px) {
  .lc-par-ext { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 34%, 470px); column-gap: 1rem; align-items: stretch; }
  .lc-par-ext > .lc-sec { margin-bottom: 1rem; }
}
@container lcform (min-width: 1180px) and (max-width: 1420px) {
  .lc-par-ext .lc-sec--3 .lc-add { grid-template-columns: 165px 140px minmax(0, 1fr) auto; }
}
@media (max-width: 520px) {
  .lc-ext-topo { grid-template-columns: 1fr; }
}
.lc-g-dev { margin: 0.15rem 0 0.45rem; }
.lc-dica { position: absolute; z-index: 31; left: calc(100% + 0.5rem); width: min(26rem, 90vw); padding: 0.55rem 0.7rem; border-radius: 8px; background: #1e3a46; color: #fff; font-size: 0.74rem; line-height: 1.4; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.lc-dica p { margin: 0; }
.lc-dica p + p { margin-top: 0.4rem; }
.lc-sel13 { position: relative; }
.lc-sel13 > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lc-sel13-btn { width: 100%; text-align: left; cursor: pointer; }
.lc-sel13:focus-within .lc-sel13-btn { outline: 2px solid #1f9d8b; outline-offset: 1px; }
.lc-sel13-lista { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 2px); margin: 0; padding: 0.25rem 0; list-style: none; background: #fff; border: 1px solid #c9d8d6; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.lc-sel13-lista li { padding: 0.45rem 0.8rem; cursor: pointer; }
.lc-sel13-lista li:hover { background: #e6f4f2; }
.lc-sel13-lista li.lc-sel13-on { font-weight: 600; }
@media (max-width: 760px) { .lc-dica { left: 0; } }
.lc-sel13::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #2b3a40; border-bottom: 2px solid #2b3a40; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lc .lc-sel13-btn { padding-right: 2.2rem; }
