:root{--blue:#1F4E79;--blue2:#173c5e;--light:#eef4f8;--line:#d9e2ea;--text:#1d2a35;--muted:#617181;--danger:#b42318;--white:#fff;--shadow:0 8px 24px rgba(31,78,121,.08)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:#f5f7f9}.topbar{height:72px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:5;box-shadow:0 4px 12px rgba(0,0,0,.15)}.brand{display:flex;align-items:center;gap:12px}.mark{font-size:28px}.brand strong{display:block;letter-spacing:.08em}.brand small{display:block;opacity:.8;margin-top:2px}.top-actions{display:flex;gap:10px}button{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:11px 16px;font-weight:700;cursor:pointer}button:hover{filter:brightness(.96)}button.ghost{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28)}.container{max-width:1280px;margin:0 auto;padding:28px}.hero{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px}.eyebrow{color:var(--blue);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.09em;margin:0 0 8px}.hero h1{margin:0;font-size:32px;color:var(--blue2)}.hero p{margin:8px 0 0;color:var(--muted)}.status{background:#e8f5ec;color:#27623b;padding:10px 14px;border-radius:999px;font-size:13px}.status span{display:inline-block;width:8px;height:8px;background:#35a854;border-radius:50%;margin-right:5px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:18px;box-shadow:var(--shadow)}.section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.section-title>span{display:grid;place-items:center;background:var(--blue);color:#fff;width:32px;height:32px;border-radius:7px;font-weight:800}.section-title h2{margin:1px 0 3px;font-size:19px;color:var(--blue2)}.section-title p{margin:0;color:var(--muted);font-size:13px}.grid{display:grid;gap:14px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.five{grid-template-columns:repeat(5,1fr)}label{font-size:12px;font-weight:700;color:#445362}input,select{width:100%;margin-top:6px;border:1px solid #cbd6df;border-radius:7px;padding:10px 11px;background:#fff;font:inherit;color:var(--text)}input:focus{outline:2px solid rgba(31,78,121,.18);border-color:var(--blue)}.choice-block{margin-top:18px;background:var(--light);border-radius:10px;padding:14px}.choice-label{font-size:13px;font-weight:800;color:var(--blue2);margin-bottom:10px}.radio-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.radio-grid label{background:#fff;border:1px solid #d6e1e9;border-radius:8px;padding:10px;display:flex;align-items:center;gap:7px;font-size:12px}.radio-grid input{width:auto;margin:0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;margin-bottom:12px}table{border-collapse:collapse;width:100%;min-width:720px}th{background:var(--blue);color:#fff;text-align:left;font-size:12px;padding:11px}td{padding:8px;border-bottom:1px solid #e7edf2;font-size:13px}tbody tr:last-child td{border-bottom:0}td input{margin:0}.remove{background:#fff;color:var(--danger);font-size:20px;padding:4px 10px;border:1px solid #f2c6c2}.secondary{background:#e7eef4;color:var(--blue);border:1px solid #c7d6e2}.calculate-area{text-align:right;margin-top:18px}.calculate{font-size:14px;padding:14px 24px}.result-card h3{color:var(--blue2);font-size:15px;margin:22px 0 8px}.result-table th{text-align:right}.result-table th:nth-child(1),.result-table th:nth-child(2),.result-table th:nth-child(3){text-align:left}.result-table td{text-align:right;white-space:nowrap}.result-table td:nth-child(1),.result-table td:nth-child(2),.result-table td:nth-child(3){text-align:left}.summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:18px}.summary-grid>div{border:1px solid var(--line);background:#fafcfd;border-radius:9px;padding:14px}.summary-grid span{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;font-weight:800}.summary-grid strong{display:block;margin-top:6px;font-size:17px;color:var(--blue2)}.summary-grid .grand{background:var(--blue);border-color:var(--blue)}.summary-grid .grand span,.summary-grid .grand strong{color:#fff}.methodology{margin-top:16px;padding:13px;background:#f3f6f8;border-left:4px solid var(--blue);font-size:12px;line-height:1.55}.print-header{display:none}.empty{color:var(--muted);text-align:center;padding:18px!important}
@media(max-width:1000px){.grid.four,.grid.five{grid-template-columns:repeat(2,1fr)}.radio-grid{grid-template-columns:repeat(3,1fr)}.summary-grid{grid-template-columns:repeat(2,1fr)}.hero{align-items:flex-start;gap:20px}.status{white-space:nowrap}}@media(max-width:640px){.container{padding:14px}.topbar{padding:0 14px}.top-actions .ghost{display:none}.hero{display:block}.status{display:inline-block;margin-top:14px}.grid.four,.grid.five,.radio-grid,.summary-grid{grid-template-columns:1fr}.card{padding:16px}}
@media print{body{background:#fff}.topbar,.hero,.card:not(.result-card),.calculate-area{display:none!important}.container{max-width:none;padding:0}.result-card{display:block!important;border:0;box-shadow:none;padding:0}.section-title{display:none}.print-header{display:block;text-align:center;margin-bottom:22px}.print-header h1{font-size:20px;color:#111;margin:0 0 10px}.print-header p{margin:3px 0;font-size:12px}.table-wrap{overflow:visible;border-color:#777}.result-table{min-width:0}.result-table th{background:#e7e7e7!important;color:#111!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.summary-grid{grid-template-columns:repeat(5,1fr)}.summary-grid .grand{background:#ddd!important;border-color:#999}.summary-grid .grand span,.summary-grid .grand strong{color:#111}.methodology{border-left-color:#555}}

/* v1.1 — topo fiel à Memória Discriminada de Débito */
.sheet-title{background:#275680;color:#fff;text-align:center;font-size:24px;font-weight:900;letter-spacing:.02em;padding:7px 14px;margin:8px 0 58px}
.sheet-box{background:#fff;border:2px solid #111;border-radius:9px;padding:13px 18px;margin-bottom:24px;box-shadow:none}
.sheet-box h2{margin:0 0 12px;color:#1F4E79;font-size:15px;font-weight:900;letter-spacing:.01em}
.sheet-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:0;margin:5px 0;min-height:25px}
.sheet-row>label,.sheet-observation>label{color:#000;font-size:14px;font-weight:900;margin:0}
.sheet-row>input,.process-inline input,.sheet-observation textarea{margin:0;border:0;border-radius:0;padding:2px 4px;background:transparent;color:#000;font-size:14px;font-weight:500;outline:none;box-shadow:none}
.sheet-row>input:focus,.process-inline input:focus,.sheet-observation textarea:focus{outline:1px solid #aebdcc;background:#f8fbff}
.process-inline{display:grid;grid-template-columns:minmax(250px,.72fr) 18px minmax(260px,1fr);align-items:center;min-width:0}
.process-inline input:first-child{font-weight:900}
.correction-table-row{grid-template-columns:250px minmax(300px,1fr);margin-top:9px}
.correction-table-row select{margin:0;border:1px solid #aebdcc;border-radius:0;padding:6px 9px;background:#fff;color:#000;font-size:14px}
.correction-combination-control{margin:6px 0 2px 250px;font-size:13px}
.correction-combination-toggle{display:inline-flex;align-items:center;gap:7px;font-weight:800;cursor:pointer}
.correction-combination-toggle input{margin:0}
.debt-checks{display:flex;flex-direction:column;justify-content:center;gap:6px;align-self:stretch}
.expense-form label.debt-noupdate-field{display:flex;align-items:center;gap:7px;font-weight:700;color:#445362;cursor:pointer;align-self:start;padding-bottom:0;line-height:1}
.debt-noupdate-field input{width:17px;height:17px;margin:0;accent-color:var(--blue);cursor:pointer;flex:0 0 auto}
.debt-noupdate-field span{display:inline-block;transform:translateY(2.5px)}
.debt-interest-mode-field{align-self:center}
.expense-form select:disabled{opacity:.55;cursor:not-allowed}
.correction-combination-fields{margin-top:8px;padding:10px 12px;border:1px solid #d3dce5;background:#f8fbff;display:grid;grid-template-columns:minmax(240px,1fr) 220px;gap:8px 12px}
.correction-combination-fields[hidden]{display:none}
.correction-combination-fields label{display:grid;gap:4px;font-weight:800}
.correction-combination-fields select,.correction-combination-fields input{border:1px solid #aebdcc;background:#fff;padding:6px 8px;font:inherit}
.correction-combination-fields p{grid-column:1/-1;margin:0;color:#3d4a57;font-size:12px;line-height:1.4}
.process-separator{text-align:center;font-weight:900;color:#000}
.sheet-two-columns{display:grid;grid-template-columns:.86fr 1.14fr;gap:96px;margin-bottom:24px}
.sheet-two-columns .sheet-box{margin:0;min-height:190px}
.value-box .sheet-row{grid-template-columns:190px 150px}
.sheet-money{text-align:right;font-weight:900!important;border-bottom:1px solid #111!important}
.emphasized-row label,.emphasized-row input{font-weight:900!important}
.sheet-observation{margin-top:5px}
.sheet-observation textarea{display:block;width:100%;resize:vertical;padding:5px 4px;font-size:12px}
.dates-box .sheet-row{grid-template-columns:minmax(190px,1fr) 145px}
.date-row input{text-align:right;font-variant-numeric:tabular-nums}
.interest-box{padding-top:11px;padding-bottom:12px}
.interest-box h2{margin-bottom:10px}
.sheet-radio-grid{display:grid;grid-template-columns:repeat(6,minmax(95px,1fr));align-items:center;gap:12px}
.sheet-radio-grid label{display:flex;align-items:center;gap:9px;color:#111;font-size:14px;font-weight:400;cursor:pointer}
.sheet-radio-grid input{width:15px;height:15px;margin:0;accent-color:#111}
@media(max-width:950px){.sheet-two-columns{grid-template-columns:1fr;gap:18px}.sheet-radio-grid{grid-template-columns:repeat(3,1fr)}.process-inline{grid-template-columns:1fr}.process-separator{display:none}.sheet-row{grid-template-columns:1fr}.sheet-row>label{margin-bottom:4px}.value-box .sheet-row,.dates-box .sheet-row{grid-template-columns:1fr 170px}.correction-table-row{grid-template-columns:1fr}.correction-combination-control{margin-left:0}.correction-combination-fields{grid-template-columns:1fr}}
@media(max-width:620px){.sheet-title{font-size:18px;margin-bottom:25px}.sheet-radio-grid{grid-template-columns:repeat(2,1fr)}.value-box .sheet-row,.dates-box .sheet-row{grid-template-columns:1fr}.sheet-money,.date-row input{text-align:left}}
@media print{.sheet-title,.sheet-box,.sheet-two-columns{display:none!important}}

/* v1.2 — valor da causa automático e metodologia integral */
#valorCausaAtualizado[readonly]{background:#f8fafc;color:#111827;font-weight:800;cursor:default}
.methodology p{margin:0 0 18px;line-height:1.55}
.methodology p:last-child{margin-bottom:0;color:#1F4E79}


/* v1.3 — ajustes visuais e cadastro de custas em janela */
.process-inline{grid-template-columns:minmax(250px,.72fr) minmax(260px,1fr);column-gap:14px}
.value-box .sheet-row{grid-template-columns:190px 150px}
.value-box{max-width:485px}
.sheet-observation textarea{max-width:360px;min-height:54px}
.cost-card{padding:20px}
.cost-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}
.cost-court-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px;font-size:13px;font-weight:600;color:var(--blue2)}
.cost-court-control select{max-width:280px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#1e293b}
.cost-court-control small{flex-basis:100%;font-size:11px;font-weight:400;color:var(--muted)}
.cost-card-head h2{margin:0;color:var(--blue2);font-size:18px}.cost-card-head p{margin:5px 0 0;color:var(--muted);font-size:12px}
.cost-new{background:var(--blue);padding:12px 18px;white-space:nowrap}
.cost-legends{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.cost-legend{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;border:1px solid}.cost-legend.reimbursement{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.cost-legend.treasury{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.cost-legend.informative{background:#f8fafc;color:#475569;border-color:#cbd5e1}
.cost-table-wrap{margin:0}.cost-table{min-width:1240px}.cost-table th{white-space:nowrap}.cost-table td{vertical-align:middle}.cost-table .num{text-align:right;white-space:nowrap}.cost-table .empty{height:80px}.cost-destination{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;white-space:nowrap}.cost-destination.reimbursement{background:#dcfce7;color:#166534}.cost-destination.treasury{background:#dbeafe;color:#1d4ed8}.cost-destination.informative{background:#e2e8f0;color:#475569}.cost-actions{display:flex;gap:5px}.cost-action{padding:6px 9px;border:1px solid #cbd6df;background:#fff;color:var(--blue);font-size:11px}.cost-action.delete{color:var(--danger);border-color:#fecaca}
.cost-result-table{min-width:1120px}.cost-interest-help{margin:0;color:#64748b;font-size:11px;line-height:1.45}
.expense-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.62);z-index:100;align-items:center;justify-content:center;padding:20px}.expense-modal.show{display:flex}.expense-dialog{width:min(760px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.35)}.expense-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}.expense-head h2{margin:0;color:var(--blue);font-size:21px}.expense-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.expense-close{width:38px;height:38px;padding:0;border-radius:11px;background:#f1f5f9;color:#334155;font-size:21px}.expense-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 22px 20px}.expense-form label{display:block;font-size:12px;font-weight:800;color:#64748b}.expense-form input,.expense-form select{height:46px;margin-top:6px;border-radius:12px}.expense-form .span-two{grid-column:1/-1}.expense-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}.expense-save{height:44px}.expense-cancel{height:44px;background:#fff;color:#334155;border:1px solid #cbd6df}
.expense-form label[hidden]{display:none!important}

/* Aviso pontual da diligência do oficial, sem interferir no motor de cálculo. */
.official-fee-notice{display:none;position:fixed;inset:0;z-index:10002;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}
.official-fee-notice.show{display:flex}
.official-fee-notice-card{width:min(520px,100%);max-height:90vh;overflow:auto;padding:26px;border:1px solid #fbbf24;border-top:5px solid #d97706;border-radius:18px;background:#fffbeb;box-shadow:0 24px 70px rgba(15,23,42,.32);text-align:center;color:#78350f}
.official-fee-notice-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:50%;background:#fef3c7;color:#92400e;font-size:25px;font-weight:800}
.official-fee-notice-card h2{margin:0 0 12px;color:#78350f;font-size:19px}
.official-fee-notice-card p{margin:0 0 12px;font-size:14px;line-height:1.55}
.official-fee-notice-card button{min-width:140px;margin-top:9px;background:#1f4e79}
@media print{.official-fee-notice{display:none!important}}

/* v1.10.29 — identificação visual da tabela aplicada na memória discriminada */
.op-correction-table-line > b{color:#000}
#opCorrectionTable{color:#477FF3}
#opCorrectionTable{font-weight:400}

@media(max-width:760px){.cost-card-head{flex-direction:column}.expense-form{grid-template-columns:1fr}.expense-form .span-two{grid-column:auto}.expense-actions{grid-template-columns:1fr}.value-box{max-width:none}.sheet-observation textarea{max-width:none}}
@media print{.expense-modal{display:none!important}}

/* v1.4 — refinamentos do valor da causa e parcelas */
.value-box .money-row{
  grid-template-columns:190px 122px;
  width:340px;
  max-width:100%;
}
.value-box .sheet-money{
  width:122px;
  min-width:122px;
}
.value-box .emphasized-row{
  position:relative;
  padding-bottom:5px;
  margin-bottom:4px;
}
.value-box .emphasized-row::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:340px;
  max-width:100%;
  border-bottom:1px solid #111;
}
.value-box .emphasized-row .sheet-money{
  border-bottom:0!important;
}
.debt-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.debt-card-head .section-title{
  margin-bottom:0;
}
.debt-card-head .cost-new{
  flex:0 0 auto;
}
.debt-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}
.debt-sort-control{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#315a78;white-space:nowrap}
.debt-sort-control select{min-width:205px;padding:9px 30px 9px 10px;border:1px solid #c9d6e2;border-radius:8px;background:#fff;color:#18364d;font:inherit;font-weight:600}
.debt-head-actions .secondary{padding:12px 16px;white-space:nowrap}
@media(max-width:760px){
  .debt-card-head{flex-direction:column}
  .debt-head-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .value-box .money-row,.value-box .emphasized-row::after{width:100%}
}

/* v1.10.39 — geração automática de parcelas mensais. */
.installment-dialog{width:min(720px,96vw)}
.installment-preview{border:1px solid #bfdbfe;background:#f4f8ff;border-radius:12px;padding:13px 14px;color:#35526d;font-size:12px;line-height:1.45}
.installment-preview strong{color:var(--blue)}
.installment-preview small{display:block;margin-top:4px;color:#64748b}
.installment-preview.warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.installment-preview.warning strong{color:#9a3412}
@media print{#generateDebtsModal{display:none!important}}

/* v1.4.1 — retirar sublinhado do valor original */
#valorCausaOriginal.sheet-money{border-bottom:0!important}


/* v1.5 — cadastro de parcelas e demonstrativo explicativo */
.debt-entry-table{min-width:760px}.debt-entry-table th:last-child{width:150px}.debt-entry-table td{vertical-align:middle}.debt-entry-table .num{text-align:right;white-space:nowrap}.debt-row-abatimento{background:#eaf3ff}.debt-row-abatimento td{color:#0057ff}.debt-row-abatimento .num,.debt-row-abatimento .live-total strong{color:#0057ff}.abatimento-tag{display:block;margin-top:2px;color:#0057ff;font-weight:800;text-transform:uppercase;font-size:10px;letter-spacing:.04em}
.debt-entry-table .deflation-value,.result-table .deflation-value{background:#fffbeb;color:#b45309;font-weight:800;box-shadow:inset 3px 0 0 #f59e0b}.deflation-label{display:block;margin-top:3px;color:#b45309!important;font-size:9px!important;font-weight:800;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}
.deflation-choice-dialog{width:min(610px,96vw);overflow:hidden}.deflation-choice-head{background:#fffbeb;border-bottom-color:#fde68a}.deflation-choice-head h2{color:#92400e}.deflation-choice-head p{color:#78350f}.deflation-choice-body{padding:20px 22px 22px;color:#475569;font-size:13px;line-height:1.5}.deflation-choice-body>p{margin:0 0 18px}.deflation-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.deflation-integral{min-height:54px;background:#fff;color:#475569;border:1px solid #cbd5e1}.deflation-recommended{min-height:54px;background:#d97706;color:#fff;border:1px solid #b45309;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.deflation-recommended span{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.09em;color:#fef3c7}.deflation-recommended:focus{outline:3px solid rgba(245,158,11,.28);outline-offset:2px}@media(max-width:560px){.deflation-choice-actions{grid-template-columns:1fr}.deflation-recommended{grid-row:1}}
.nominal-protection-method{padding:9px 11px!important;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:6px;background:#fffbeb;color:#78350f}.nominal-protection-method strong{color:#92400e}.op-method .nominal-protection-method{-webkit-print-color-adjust:exact;print-color-adjust:exact}
.debt-dialog{width:min(680px,96vw)}.debt-explanation{border:1px solid #bfdbfe;background:#f4f8ff;border-radius:12px;padding:12px;color:#35526d;font-size:12px;line-height:1.5}.debt-explanation strong{color:var(--blue)}
.calculation-guide{margin:0 0 10px;padding:10px 12px;border:1px solid #c9d8e7;border-radius:10px;background:#f8fbff;color:#475569;font-size:12px;line-height:1.45}.calculation-guide strong{color:var(--blue)}
.debt-result-table{min-width:1120px}.debt-result-table td:nth-child(n+4),.debt-result-table th:nth-child(n+4){text-align:right}.debt-result-table td:last-child{background:#f3f8fd;color:var(--blue2)}
.summary-grid.detailed-summary{grid-template-columns:repeat(4,1fr)}.detailed-summary .grand{grid-column:span 2}
@media(max-width:900px){.summary-grid.detailed-summary{grid-template-columns:repeat(2,1fr)}.detailed-summary .grand{grid-column:span 2}}
@media(max-width:620px){.summary-grid.detailed-summary{grid-template-columns:1fr}.detailed-summary .grand{grid-column:auto}}
@media print{.calculation-guide{border-color:#999;background:#fff}.debt-result-table{font-size:10px}}


/* v1.6 — atualização amigável dos índices */
.indices-dialog{width:min(920px,97vw)}
.indices-form{padding-bottom:10px}
.indices-form[hidden]{display:none!important}
.central-index-status{display:flex;justify-content:space-between;gap:16px;margin:14px 22px 0;padding:11px 13px;border:1px solid #b8c9dc;border-radius:9px;background:#f3f7fb;color:#173f68;font-size:13px}
.central-index-status.is-current{border-color:#8fc5a1;background:#effaf3;color:#175b31}
.central-index-status.is-offline{border-color:#e1b45d;background:#fff8e8;color:#7a4b00}
.central-index-status.is-error{border-color:#dc9b9b;background:#fff2f2;color:#8b2424}
.central-index-version{color:inherit;font-size:12px;text-align:right}
.index-help{border:1px solid #bfdbfe;background:#f4f8ff;border-radius:12px;padding:11px 12px;color:#35526d;font-size:12px;line-height:1.5}
.indices-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:#475569}
.indices-tools strong{color:var(--blue)}
.indices-tool-buttons{display:flex;gap:8px;flex-wrap:wrap}
.indices-table-wrap{margin:16px 22px 22px;max-height:330px;overflow:auto}
.indices-table thead th{position:sticky;top:0;z-index:4;background:var(--blue);box-shadow:0 1px 0 rgba(255,255,255,.18),0 2px 4px rgba(15,23,42,.16)}
.indices-table{min-width:900px}
.indices-table td:last-child{white-space:nowrap}
.indices-table td:nth-child(2),.indices-table td:nth-child(3),.indices-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:700px){.indices-tools,.central-index-status{align-items:flex-start;flex-direction:column}.central-index-version{text-align:left}.top-actions{gap:5px}.top-actions button{padding:9px 10px;font-size:11px}}
@media print{#indicesModal{display:none!important}}


/* v1.7 — cálculos editáveis: salvar, salvar como, abrir, exportar e importar */
.calculation-actions{flex-wrap:wrap;justify-content:flex-end}
.calculation-actions .ghost{padding:10px 12px}
.save-calculation-dialog{width:min(650px,96vw)}
.save-calculation-note{border:1px solid #bfdbfe;background:#f4f8ff;border-radius:12px;padding:12px;color:#35526d;font-size:12px;line-height:1.5}
.open-calculation-dialog{width:min(920px,97vw)}
.saved-calculations-toolbar{padding:12px 22px;border-bottom:1px solid var(--line);color:#64748b;font-size:13px}
.saved-calculations-list{padding:14px 22px 22px;display:grid;gap:10px;max-height:62vh;overflow:auto}
.saved-calculation-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dbe3ea;border-radius:14px;padding:14px;background:#fff}
.saved-calculation-main{display:grid;gap:4px;min-width:0}.saved-calculation-main strong{color:var(--blue);font-size:15px}.saved-calculation-main span{font-size:12px;color:#334155}.saved-calculation-main small{font-size:11px;color:#64748b}
.saved-calculation-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.saved-empty{padding:34px;text-align:center;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b}
@media(max-width:1050px){.topbar{align-items:flex-start}.calculation-actions{max-width:720px}}
@media(max-width:700px){.saved-calculation-item{align-items:flex-start;flex-direction:column}.saved-calculation-actions{justify-content:flex-start}.calculation-actions{justify-content:flex-start}}
@media print{#saveCalculationModal,#openCalculationModal{display:none!important}}

/* v1.8 — formulário oficial de impressão baseado na Memória Discriminada */
.cost-table tbody tr.cost-row-treasury td,.result-table tbody tr.cost-row-treasury td{background:#dbe7f4}
.cost-table tbody tr.cost-row-reimbursement td,.result-table tbody tr.cost-row-reimbursement td{background:#e4f1d8}
.cost-table tbody tr.cost-row-informative td,.result-table tbody tr.cost-row-informative td{background:#eef0f2}
.official-print{display:none}
@page{size:A4 portrait;margin:10mm 10mm 9mm}
@media print{
  body>*:not(.official-print){display:none!important}
  .official-print{display:block!important;width:100%;font-family:Arial,Helvetica,sans-serif;color:#111;font-size:8.5pt;line-height:1.18;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .op-title{background:#315a84;color:#fff;font-weight:800;text-align:center;font-size:14pt;letter-spacing:.01em;padding:5px 0;margin-bottom:9mm}
  .op-box{border:1px solid #111;border-radius:5px;padding:7px 10px;margin-bottom:4mm;page-break-inside:avoid}
  .op-heading{color:#315a84;font-weight:800;font-size:8.6pt;margin-bottom:6px}
  .op-process div:not(.op-heading){margin:5px 0}.op-process b{display:inline-block;min-width:65px}
  #opCredor{font-weight:800}
  .op-two{display:grid;grid-template-columns:44% 46%;justify-content:space-between;gap:10%;margin-bottom:4mm}.op-two .op-box{margin:0;min-height:34mm}
  .op-pair{display:flex;justify-content:space-between;gap:10px;margin:5px 0}.op-pair strong{min-width:85px;text-align:right}.op-under{border-bottom:1px solid #111;padding-bottom:2px}.op-note{margin-top:5px;min-height:11mm}
  .op-interest{padding-top:6px;padding-bottom:8px}.op-radio-row{display:flex;justify-content:space-between;gap:10px;white-space:nowrap}.op-radio{font-size:10pt}
  .op-costs{padding:0;overflow:hidden;margin-bottom:4mm}.op-cost-head{display:flex;align-items:center;gap:8px;padding:5px 10px 3px}.op-cost-head .op-heading{margin:0;white-space:nowrap}.op-legends{display:flex;gap:7px;flex:1}.op-legends span{border:1px solid #a8b0b8;border-radius:3px;padding:2px 10px;text-align:center;font-size:5.8pt;font-weight:800}.op-legends .treasury{background:#dbe7f4}.op-legends .reimbursement{background:#e4f1d8}.op-legends .informative{background:#eef0f2}
  .op-costs table{min-width:0;width:100%;border-collapse:collapse;table-layout:fixed}.op-costs th{border:0;padding:3px 4px;background:#e8edf2;color:#163c63;font-size:5.8pt;line-height:1.15}.op-costs td{border:0;padding:4px 5px;font-size:6.8pt}.op-costs td:nth-child(1),.op-costs th:nth-child(1){width:4%;text-align:center}.op-costs td:nth-child(2),.op-costs th:nth-child(2){width:29%}.op-costs td:nth-child(2) small{display:block;color:#52606d;font-size:5.5pt;margin-top:1px}.op-costs td:nth-child(3),.op-costs th:nth-child(3){width:10%;text-align:center}.op-costs td:nth-child(n+4),.op-costs th:nth-child(n+4){text-align:right}.op-costs td:nth-child(4),.op-costs th:nth-child(4){width:11%}.op-costs td:nth-child(5),.op-costs th:nth-child(5){width:11%}.op-costs td:nth-child(6),.op-costs th:nth-child(6){width:10%}.op-costs td:nth-child(7),.op-costs th:nth-child(7){width:12%}.op-costs td:nth-child(8),.op-costs th:nth-child(8){width:13%}.op-costs tr.treasury td{background:#dbe7f4}.op-costs tr.reimbursement td{background:#e4f1d8}.op-costs tr.informative td{background:#eef0f2}
  .op-debt-table{width:100%;min-width:0;border-collapse:collapse;margin-top:2mm}.op-debt-table th{background:#315a84!important;color:#fff!important;text-align:center;font-size:6.4pt;padding:5px 3px;line-height:1.25}.op-debt-table th:nth-child(1){width:5%}.op-debt-table th:nth-child(2){width:31%}.op-debt-table th:nth-child(3){width:11%}.op-debt-table th:nth-child(4),.op-debt-table th:nth-child(5){width:12%}.op-debt-table th:nth-child(6){width:18%}.op-debt-table th:nth-child(7){width:11%}.op-debt-table td{font-size:7.2pt;padding:4px 4px;border:0;text-align:right;vertical-align:top}.op-debt-table td:nth-child(1){text-align:center;padding-left:1px;padding-right:1px}.op-debt-table td:nth-child(2),.op-debt-table td:nth-child(3){text-align:left}.op-debt-table td:nth-child(2){padding-left:2px}.op-debt-table .op-category td{background:#d7d7d7!important;text-align:center!important;font-weight:800;padding:2px}.op-debt-table td span{display:inline-block}.op-interest-value{white-space:nowrap;text-align:right!important}.op-interest-percent{margin-right:8px}.op-interest-money{min-width:42px;text-align:right}
  .op-summary-wrap{display:flex;justify-content:flex-end;margin-top:7mm;min-height:0}.op-summary{width:34%;font-size:7.5pt}.op-summary-title{text-align:center;color:#315a84;font-weight:800;border-top:1px solid #111;border-bottom:1px solid #111;background:#e7e7e7;padding:3px}.op-summary>div:not(.op-summary-title){display:flex;justify-content:space-between;gap:8px;padding:3px 2px}.op-summary>div:nth-child(even){background:#f0f0f0}.op-summary .strong{font-weight:800}.op-summary .reimbursement{background:#e4f1d8!important}.op-summary .treasury{background:#dbe7f4!important}.op-summary .op-total{font-weight:900;font-size:8.6pt;border-top:1px solid #111;border-bottom:1px solid #111;background:#fff!important}.op-summary p{font-size:8pt;margin:7mm 0 0 2px}
  .op-method{margin-top:5mm;border-bottom:1px solid #777;background:#f3f3f3;padding-bottom:5px;page-break-inside:avoid;break-inside:avoid}.op-method-title{background:#050505;color:#fff;font-weight:800;font-size:8.5pt;padding:3px 2px;margin-bottom:4px}.op-method p{margin:2px 5px;font-size:7.1pt;line-height:1.18}.op-method .op-sign{color:#315a84;font-style:italic;margin-top:4px}
  .op-empty{text-align:center!important;color:#666;padding:8px!important}
}

/* Identidade PontesCalc e abertura simplificada */
.topbar{height:86px}
.brand{gap:14px;flex:0 0 auto}
.brand .mark{display:grid;place-items:center;width:54px;height:54px;border:1px solid #4da3ef;border-radius:11px;background:linear-gradient(145deg,#0c4b87,#173f70);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 3px 9px rgba(0,0,0,.14);color:#fff;font-size:25px;font-weight:900;line-height:1;letter-spacing:-.04em}
.brand-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.12}
.brand-copy strong{font-size:20px;letter-spacing:0;text-transform:none}
.brand-copy small{font-size:11px;font-weight:700;opacity:.88;margin-top:4px}
.brand-copy small+small{font-size:10px;font-weight:500;opacity:.78;margin-top:3px}
.hero{align-items:center;margin-bottom:28px}
.hero h1{font-size:32px}
.hero p{font-size:15px;color:#64748b;margin-top:8px;font-style:italic}
@media(max-width:1050px){.topbar{height:auto;min-height:86px;padding-top:12px;padding-bottom:12px;gap:16px}.brand{margin-top:0}}
@media(max-width:640px){.brand .mark{width:46px;height:46px;font-size:21px}.brand-copy strong{font-size:18px}.hero{margin-bottom:20px}}

/* v1.8.1 — lógica do resumo */
.treasury-display { background:#dbe5f1; }
.treasury-display small { font-weight:400; }
.op-summary .treasury small { font-size:8px; font-weight:400; }
.op-total-note { font-size:8px; line-height:1.2; padding:4px 2px 0; color:#444; border-top:0 !important; }


/* v1.8.3 — alinhamento do demonstrativo e acréscimos legais */
.additions-box{margin-bottom:18px}
.additions-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.additions-heading .section-title{flex:1}
.additions-toggle{display:flex;align-items:center;gap:9px;width:fit-content;max-width:100%;box-sizing:border-box;margin-top:5px;padding:10px 14px;border:1px solid #e7bf65;border-radius:8px;background:#fff3cd;color:#674800;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
.additions-toggle:hover{background:#ffe9a8}
.additions-toggle:focus-within{outline:2px solid #1f4e79;outline-offset:3px}
.additions-toggle input{width:17px;height:17px;margin:0;accent-color:var(--blue);cursor:pointer}
.additions-help{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.45}
.additions-grid{display:grid;gap:9px}
.addition-row{display:grid;grid-template-columns:minmax(260px,1fr) 140px 150px;align-items:center;gap:10px}
.addition-row label{font-size:12px;color:#334155}
.addition-row select,.addition-row input{margin-top:0}
.generic-addition-description{display:grid;grid-template-columns:minmax(245px,auto) minmax(180px,1fr);align-items:center;gap:10px}
.generic-addition-description input{width:100%}
@media(max-width:720px){.additions-heading{display:block}.additions-toggle{margin:0 0 14px 42px}.addition-row{grid-template-columns:1fr}.addition-row select,.addition-row input{width:100%}.generic-addition-description{grid-template-columns:1fr}}

@media print{
  /* Dados processuais: rótulos mantidos e conteúdos deslocados discretamente à direita. */
  .op-process b{min-width:78px}

  /* Colunas alinhadas por eixos verticais; a última permanece na extremidade direita. */
  .op-debt-table{table-layout:fixed}
  .op-debt-table th:nth-child(1){width:5%}
  .op-debt-table th:nth-child(2){width:30%}
  .op-debt-table th:nth-child(3){width:11%}
  .op-debt-table th:nth-child(4){width:12%}
  .op-debt-table th:nth-child(5){width:12%}
  .op-debt-table th:nth-child(6){width:19%}
  .op-debt-table th:nth-child(7){width:11%;text-align:right;padding-right:4px}
  .op-debt-table td:nth-child(1){text-align:center}
  .op-debt-table td:nth-child(2){text-align:left}
  .op-debt-table td:nth-child(3){text-align:center}
  .op-debt-table td:nth-child(4),
  .op-debt-table td:nth-child(5),
  .op-debt-table td:nth-child(6),
  .op-debt-table td:nth-child(7){text-align:right}

  /* Resumo: tipografia uniforme; somente o total recebe destaque maior. */
  .op-summary{font-size:7.5pt;line-height:1.2}
  .op-summary>div:not(.op-summary-title):not(.op-total-note),
  .op-summary>div:not(.op-summary-title):not(.op-total-note)>span{font-size:7.5pt;line-height:1.2}
  .op-summary-title{font-size:8.5pt}
  .op-summary .op-total,.op-summary .op-total>span{font-size:8.6pt}
  .op-summary .treasury small{font-size:6.5pt}
}

/* v1.8.4 — centralização visual das colunas no demonstrativo impresso */
@media print{
  /* Mantém histórico à esquerda e centraliza os demais conteúdos sob os respectivos cabeçalhos. */
  .op-debt-table th:nth-child(7){text-align:center;padding-right:3px}
  .op-debt-table td:nth-child(3),
  .op-debt-table td:nth-child(4),
  .op-debt-table td:nth-child(5),
  .op-debt-table td:nth-child(7){text-align:center}

  /* Juros: percentual e valor ocupam eixos próprios e igualmente distribuídos dentro da coluna. */
  .op-debt-table td.op-interest-value{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:start;
    column-gap:2px;
    text-align:center!important;
  }
  .op-interest-percent,
  .op-interest-money{
    display:block!important;
    margin:0;
    min-width:0;
    text-align:center!important;
  }
}

/* v1.8.5 — sequência das etapas e acréscimos condicionais */
.cost-card-head .section-title{margin-bottom:0}
.additions-box .section-title{margin-bottom:14px}
.conditional-addition[hidden]{display:none!important}


/* v1.8.6 — numeração uniforme das seções */
.sheet-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.sheet-heading h2{margin:0}
.step-badge{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:7px;background:var(--blue);color:#fff;font-family:inherit;font-size:14px;font-weight:700;line-height:1;letter-spacing:0;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"tnum" 1;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}
.numbered-sheet-box>.sheet-heading+*{margin-top:0}
.interest-box .sheet-heading{margin-bottom:10px}
.interest-box .sheet-heading h2{margin-bottom:0}
@media(max-width:620px){.step-badge{width:30px;height:30px;flex-basis:30px}}


/* v1.8.7 — simplificação das custas e padronização do resumo impresso */
@media print{
  .op-legends{justify-content:flex-end}
  .op-legends span{flex:1;max-width:165px}
  .op-summary{font-size:7.5pt;line-height:1.22}
  .op-summary>div:not(.op-summary-title):not(.op-total-note),
  .op-summary>div:not(.op-summary-title):not(.op-total-note)>span,
  .op-summary>div:not(.op-summary-title):not(.op-total-note)>strong{font-size:7.5pt!important;line-height:1.22}
  .op-summary .op-total,.op-summary .op-total>span{font-size:8.6pt!important}
  .op-total-note{display:block!important;text-align:justify;text-justify:inter-word;font-size:7pt!important;line-height:1.3!important;padding:5px 2px 0!important;color:#333;hyphens:auto}
}


/* v1.8.8 — refinamento profissional das custas e despesas */
/* Legendas integradas: deixam de parecer botões/etiquetas soltas. */
.cost-legends{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin:0 0 12px;
  border:1px solid #d5dee6;
  border-radius:8px;
  overflow:hidden;
  background:#f8fafc;
}
.cost-legend{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border:0;
  border-radius:0;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.cost-legend + .cost-legend{border-left:1px solid #d5dee6}
.cost-legend::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:2px;
  margin-right:7px;
  background:currentColor;
  opacity:.72;
}
.cost-legend.reimbursement{
  background:#f7f9fb;
  color:#3c556d;
}
.cost-legend.treasury{
  background:#eef3f7;
  color:#274d70;
}

/* Cores de apoio mais sóbrias e menos saturadas. */
.cost-destination.reimbursement{background:#edf1f4;color:#465d70;border:1px solid #d8e0e6}
.cost-destination.treasury{background:#e8eef4;color:#274d70;border:1px solid #cedae5}
.cost-table tbody tr.cost-row-reimbursement td,
.result-table tbody tr.cost-row-reimbursement td{background:#f7f9fa}
.cost-table tbody tr.cost-row-treasury td,
.result-table tbody tr.cost-row-treasury td{background:#eef3f7}
.treasury-display{background:#eef3f7}
.treasury-display small{font-size:.82em;font-weight:500;text-transform:none;color:#5c6f80}

@media(max-width:700px){
  .cost-legends{grid-template-columns:1fr}
  .cost-legend + .cost-legend{border-left:0;border-top:1px solid #d5dee6}
}

@media print{
  /* Cabeçalhos de grupo integrados ao quadro de custas. */
  .op-cost-head{align-items:stretch;gap:10px;padding:5px 10px 4px}
  .op-cost-head .op-heading{align-self:center}
  .op-legends{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    border:1px solid #c5cdd4;
    border-radius:2px;
    overflow:hidden;
    background:#f5f6f7;
  }
  .op-legends span{
    display:flex;
    align-items:center;
    justify-content:center;
    max-width:none;
    padding:3px 7px;
    border:0;
    border-radius:0;
    background:#f5f6f7!important;
    color:#263746;
    font-size:5.7pt;
    font-weight:800;
    line-height:1.12;
    letter-spacing:.01em;
  }
  .op-legends span + span{border-left:1px solid #c5cdd4}
  .op-legends .treasury{background:#eaf0f5!important;color:#274d70}
  .op-legends .reimbursement{background:#f6f7f8!important;color:#435565}

  /* Linhas com contraste baixo, mantendo a distinção sem poluir o documento. */
  .op-costs tr.treasury td{background:#eef3f7!important}
  .op-costs tr.reimbursement td{background:#f8f9fa!important}
  .op-summary .reimbursement{background:#f8f9fa!important}
  .op-summary .treasury{background:#eef3f7!important}
  .op-summary .treasury small{
    display:block;
    font-size:6.2pt!important;
    line-height:1.05;
    font-weight:500;
    color:#4f6171;
  }
}


/* v1.8.9 — refinamento do demonstrativo oficial conforme revisão visual */
@page{
  size:A4 portrait;
  /* Margem direita maior para assinatura digital e protocolo. */
  margin:9mm 18mm 9mm 8mm;
}

@media print{
  /* Moldura geral com respiro antes das bordas físicas da página. */
  .official-print{
    width:100%;
    border:1px solid #315a84;
    padding:4mm 4mm 3.5mm;
  }

  /* Título sem faixa/grifo, alinhado à esquerda. */
  .op-title{
    background:transparent!important;
    color:#315a84!important;
    text-align:left;
    font-size:14pt;
    padding:0;
    margin:0 0 5mm;
  }

  /* Todos os quadros passam a respeitar integralmente a largura útil. */
  .op-box,
  .op-process,
  .op-interest,
  .op-costs,
  .op-debt-table,
  .op-method{
    width:100%;
    max-width:none;
  }
  .op-two{
    width:100%;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:5mm;
  }

  /* Data-base da atualização: destaque discreto e inequívoco. */
  .op-two .op-box:last-child .op-pair:last-child{
    margin:6px -4px -1px;
    padding:4px 5px;
    border:1px solid #7298bc;
    background:#eaf2f9!important;
    color:#1f4e79;
    font-weight:800;
  }

  /* Moldura completa da tabela e redistribuição das colunas.
     A ampliação do Histórico desloca Data e valores para a direita. */
  .op-debt-table{
    table-layout:fixed;
    border:1px solid #315a84;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
  }
  .op-debt-table th:nth-child(1){width:5%}
  .op-debt-table th:nth-child(2){width:36%}
  .op-debt-table th:nth-child(3){width:9%}
  .op-debt-table th:nth-child(4){width:10%}
  .op-debt-table th:nth-child(5){width:10%}
  .op-debt-table th:nth-child(6){width:20%}
  .op-debt-table th:nth-child(7){width:10%}
  .op-debt-table tbody tr:not(:last-child) td{border-bottom:1px solid #d5dee6}

  /* Resumo integrado ao documento: sem moldura externa. */
  .op-summary{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  .op-summary-title{
    border-left:0!important;
    border-right:0!important;
  }

  /* A linha de local e data foi removida do HTML; proteção adicional. */
  #opPlaceDate{display:none!important}
}


/* v1.9.0 — ajustes finais do demonstrativo oficial */
@page{
  size:A4 portrait;
  /* Menor margem inferior para melhor aproveitamento da página. */
  margin:9mm 18mm 4mm 8mm;
}

@media print{
  .official-print{padding-bottom:2mm}

  /* Mantém o realce azul, mas imprime todo o conteúdo da data-base em preto. */
  .op-two .op-box:last-child .op-pair:last-child,
  .op-two .op-box:last-child .op-pair:last-child b,
  .op-two .op-box:last-child .op-pair:last-child span{
    color:#111!important;
  }

  /* Contraste reforçado para distinguir imediatamente a destinação das custas. */
  .op-legends .treasury,
  .op-costs tr.treasury td,
  .op-summary .treasury{
    background:#d6e4f0!important;
  }
  .op-legends .reimbursement,
  .op-costs tr.reimbursement td,
  .op-summary .reimbursement{
    background:#e3e6e8!important;
  }
  .op-summary .treasury{
    border-bottom:1px solid #7692aa;
  }
}


/* v1.9.1 — refinamentos visuais do demonstrativo oficial */
@media print{
  /* Conteúdo da observação mais compacto, preservando o rótulo em destaque. */
  .op-note > span{
    font-size:6.7pt;
    line-height:1.14;
  }

  /* Amplia o espaço entre o resumo e a metodologia, deslocando todo o bloco para baixo. */
  .op-method{
    margin-top:13mm;
    border-bottom:0!important;
  }
}


/* v1.9.2 — ajustes finos solicitados na revisão final */
@page{
  size:A4 portrait;
  margin:9mm 18mm 3mm 8mm;
}

@media print{
  /* Parâmetros temporais: manter apenas o grifado azul, sem riscos laterais. */
  .op-two .op-box:last-child .op-pair:last-child{
    margin:6px 0 0;
    padding:4px 5px;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:#eaf2f9!important;
    color:#111!important;
    font-weight:800;
    border-radius:2px;
  }
  .op-two .op-box:last-child .op-pair:last-child b,
  .op-two .op-box:last-child .op-pair:last-child span{
    color:#111!important;
  }

  /* Cabeçalhos das custas: somente o grifado sobre os nomes, sem bloco nem moldura. */
  .op-cost-head{
    align-items:center;
    gap:10px;
    padding:5px 10px 3px;
  }
  .op-legends{
    display:flex;
    justify-content:flex-end;
    gap:6px;
    flex:1;
    border:0!important;
    background:transparent!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  .op-legends span{
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:auto!important;
    max-width:none!important;
    padding:2px 5px 1px;
    border:0!important;
    border-radius:0!important;
    font-size:5.7pt;
    font-weight:800;
    line-height:1.12;
    letter-spacing:.01em;
  }
  .op-legends span + span{border-left:0!important}
  .op-legends .treasury{background:#d6e4f0!important;color:#274d70!important}
  .op-legends .reimbursement{background:#e3e6e8!important;color:#435565!important}

  /* Tabela da indenização/condenação: moldura preta com cantos arredondados. */
  .op-debt-table{
    border:1px solid #111!important;
    border-radius:5px;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
  }
  .op-debt-table thead tr:first-child th:first-child{border-top-left-radius:4px}
  .op-debt-table thead tr:first-child th:last-child{border-top-right-radius:4px}
  .op-debt-table tbody tr:last-child td:first-child{border-bottom-left-radius:4px}
  .op-debt-table tbody tr:last-child td:last-child{border-bottom-right-radius:4px}
  .op-debt-table tbody tr:not(:last-child) td{border-bottom:1px solid #d5dee6}

  /* Resumo: SUB TOTAL sem grifo. */
  .op-summary .op-subtotal-row,
  .op-summary .op-subtotal-row span{
    background:transparent!important;
  }

  /* Mais respiro entre o resumo e a metodologia, aproximando o bloco final da base. */
  .op-summary-wrap{margin-top:8mm}
  .official-print{padding-bottom:1mm}
  .op-method{margin-top:15mm}
}


/* v1.9.3 — acabamento final: alinhamentos, moldura externa e margens */
@page{
  size:A4 portrait;
  /* Redistribui melhor o respiro superior e aproveita o espaço livre inferior. */
  margin:10mm 18mm 3mm 8mm;
}

@media print{
  /* Remove a moldura externa do demonstrativo. */
  .official-print{
    border:0!important;
    padding:1.5mm 0 0.5mm!important;
  }

  /* Título com respiro superior mais equilibrado, sem exagero. */
  .op-title{
    margin:0 0 4.5mm!important;
  }

  /* Parâmetros temporais: correção do alinhamento da última linha. */
  .op-two .op-box:last-child .op-pair:last-child{
    margin:5px 0 0!important;
    padding:0 2px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:#eaf2f9!important;
    color:#111!important;
    font-weight:800;
    border-radius:2px;
    align-items:baseline;
  }
  .op-two .op-box:last-child .op-pair:last-child b,
  .op-two .op-box:last-child .op-pair:last-child span{
    color:#111!important;
    line-height:1.18;
  }

  /* Aproveita melhor a página, descendo levemente o bloco final. */
  .op-summary-wrap{margin-top:8.5mm!important}
  .op-method{margin-top:15.5mm!important}
}


/* v1.9.4 — equilíbrio das margens e posicionamento vertical */
@page{
  size:A4 portrait;
  /* Mais respiro no topo e à esquerda; margem inferior reduzida. */
  margin:14mm 14mm 2mm 14mm;
}

@media print{
  /* Centraliza visualmente o demonstrativo na largura útil da página. */
  .official-print{
    width:100%;
    border:0!important;
    padding:0!important;
  }

  /* Mantém o título afastado da borda superior sem criar vazio excessivo. */
  .op-title{
    margin:0 0 4.5mm!important;
  }

  /* O posicionamento final da metodologia é controlado pelo espaço flexível
     definido no bloco de impressão do documento. */
}

/* v1.9.5 — preservação das quebras de linha no campo Observação */
@media print{
  .op-note > span{
    white-space:pre-line;
  }
}


/* v1.9.6 — observação abaixo do rótulo e metodologia mais baixa */
@media print{
  /* Faz o conteúdo da observação começar todo abaixo do rótulo. */
  .op-note b{
    display:block;
    margin-bottom:2px;
  }
  .op-note > span{
    display:block;
    white-space:pre-line;
  }

}


/* v1.9.7 — ajuste final de posicionamento global para protocolo TJSP */
@page{
  size:A4 portrait;
  /* Desce levemente o conjunto e desloca o início um pouco à esquerda, preservando a faixa da assinatura digital. */
  margin:17mm 14mm 2mm 11mm;
}

@media print{
  /* Mantém o demonstrativo inteiro um pouco mais abaixo e com melhor aproveitamento horizontal à esquerda. */
  .official-print{
    width:100%;
    border:0!important;
    padding:0!important;
  }

}

/* v1.9.8 — fluxo final do cálculo e resumo enxuto na tela inicial */
.additions-calculate-area{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.screen-calculation-details,
.screen-methodology{
  display:none !important;
}
.result-card .detailed-summary{
  margin-top:14px;
}


/* v1.9.9 — impressão vinculada ao resultado calculado */
.result-heading-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.result-heading-row .section-title{
  margin-bottom:18px;
}
.result-print-btn{
  flex:0 0 auto;
  margin-top:1px;
  padding:11px 18px;
  white-space:nowrap;
}
@media (max-width:700px){
  .result-heading-row{align-items:stretch;flex-direction:column}
  .result-print-btn{align-self:flex-end;margin-top:-8px}
}
@media print{
  .result-print-btn{display:none!important}
}

/* v1.10 — rastreabilidade dos cálculos e retificação segura dos índices */
.result-heading-actions{display:flex;align-items:flex-end;gap:12px;margin-left:auto}
.calculation-metadata{max-width:520px;text-align:right;color:#64748b;font-size:11px;line-height:1.35}
@media(max-width:760px){.result-heading-row{align-items:flex-start;flex-direction:column}.result-heading-actions{width:100%;align-items:flex-start;justify-content:space-between}.calculation-metadata{text-align:left}}
@media print{.calculation-metadata{display:none!important}}


/* v1.10.2 — alinhamento integral da tabela de índices */
.indices-table{width:100%;table-layout:fixed}
.indices-table .indices-col-competencia{width:18%}
.indices-table .indices-col-tjsp{width:16%}
.indices-table .indices-col-tjmg{width:16%}
.indices-table .indices-col-legal{width:20%}
.indices-table .indices-col-acoes{width:30%}
.indices-table th:nth-child(1),.indices-table td:nth-child(1){text-align:left}
.indices-table th:nth-child(2),.indices-table td:nth-child(2),
.indices-table th:nth-child(3),.indices-table td:nth-child(3),
.indices-table th:nth-child(4),.indices-table td:nth-child(4){text-align:right}
.indices-table th:nth-child(5),.indices-table td:nth-child(5){text-align:center}

/* v1.10.4 — alinhamento óptico exato do cabeçalho e dos dados */
.indices-table th,
.indices-table td{padding-left:10px;padding-right:10px}
.indices-table th:nth-child(1),.indices-table td:nth-child(1){text-align:left}
.indices-table th:nth-child(2),.indices-table td:nth-child(2),
.indices-table th:nth-child(3),.indices-table td:nth-child(3),
.indices-table th:nth-child(4),.indices-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
.indices-table th:nth-child(5),.indices-table td:nth-child(5){text-align:center}

/* v1.10.4 — alinhamento visual da tabela de índices:
   títulos e valores numéricos compartilham o mesmo eixo central. */
.indices-table th:nth-child(2),
.indices-table td:nth-child(2),
.indices-table th:nth-child(3),
.indices-table td:nth-child(3),
.indices-table th:nth-child(4),
.indices-table td:nth-child(4){
  text-align:center;
  font-variant-numeric:tabular-nums;
}

/* v1.10.14 — coluna Origem removida; Ações ocupa a quinta coluna. */
.indices-table th:nth-child(5),
.indices-table td:nth-child(5){
  text-align:center;
}

/* v1.10.15 — fatores históricos do TJMG visíveis na tabela de índices. */
.indices-table .indices-col-tjmg{width:19%}
.indices-table .indices-col-legal{width:19%}
.indices-table .indices-col-acoes{width:28%}

.cause-calculation-status[hidden]{display:none!important}

/* v1.10.18 — destaque imediato do tribunal selecionado. */
#correctionTable{color:#006DFF;font-weight:400}
#correctionTable option{color:#006DFF;font-weight:400}


.indices-range-note{display:inline-block;margin-top:4px;color:#64748b}
.indices-filters{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;gap:12px;align-items:end;padding:14px 22px 0}
.indices-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#475569}
.indices-filters input,.indices-filters select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;color:#1e293b;font:inherit}
.indices-count{align-self:center;justify-self:end;color:#64748b;font-size:12px;white-space:nowrap}
.indices-empty{text-align:center!important;color:#64748b;padding:24px!important}
@media(max-width:700px){.indices-filters{grid-template-columns:1fr}.indices-count{justify-self:start}.indices-table-wrap{max-height:360px}}


/* v1.10.9 — alinhamento óptico das tabelas de custas e parcelas */
.cost-table,
.debt-entry-table{table-layout:fixed}

/* Custas e despesas: cabeçalho e conteúdo compartilham as mesmas larguras. */
.cost-table .cost-col-num{width:4%}
.cost-table .cost-col-date{width:8%}
.cost-table .cost-col-type{width:18%}
.cost-table .cost-col-destination{width:15%}
.cost-table .cost-col-guide{width:9%}
.cost-table .cost-col-original{width:9%}
.cost-table .cost-col-update{width:8%}
.cost-table .cost-col-interest{width:11%}
.cost-table .cost-col-total{width:8%}
.cost-table .cost-col-actions{width:10%}
.cost-table th,
.cost-table td{padding-left:10px;padding-right:10px}
.cost-table th:nth-child(1),
.cost-table td:nth-child(1),
.cost-table th:nth-child(2),
.cost-table td:nth-child(2){text-align:center}
.cost-table th:nth-child(3),
.cost-table td:nth-child(3){text-align:left}
.cost-table th:nth-child(4),
.cost-table td:nth-child(4),
.cost-table th:nth-child(5),
.cost-table td:nth-child(5),
.cost-table th:nth-child(7),
.cost-table td:nth-child(7),
.cost-table th:nth-child(8),
.cost-table td:nth-child(8){text-align:center}
.cost-table th:nth-child(6),
.cost-table td:nth-child(6),
.cost-table th:nth-child(9),
.cost-table td:nth-child(9){text-align:right;font-variant-numeric:tabular-nums}
.cost-table th:nth-child(10),
.cost-table td:nth-child(10){text-align:center}
.cost-table td:nth-child(5),
.cost-table td:nth-child(7){white-space:nowrap}
.cost-table .cost-actions{justify-content:center}

/* Parcelas: data centralizada e valor original alinhado à direita. */
.debt-entry-table .debt-col-num{width:5%}
.debt-entry-table .debt-col-history{width:39%}
.debt-entry-table .debt-col-date{width:13%}
.debt-entry-table .debt-col-original{width:12%}
.debt-entry-table .debt-col-interest{width:19%}
.debt-entry-table .debt-col-actions{width:12%}
.debt-entry-table th,
.debt-entry-table td{padding-left:10px;padding-right:10px}
.debt-entry-table th:nth-child(1),
.debt-entry-table td:nth-child(1),
.debt-entry-table th:nth-child(3),
.debt-entry-table td:nth-child(3),
.debt-entry-table th:nth-child(5),
.debt-entry-table td:nth-child(5){text-align:center}
.debt-entry-table th:nth-child(2),
.debt-entry-table td:nth-child(2){text-align:left}
.debt-entry-table th:nth-child(4),
.debt-entry-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}
.debt-entry-table th:nth-child(6),
.debt-entry-table td:nth-child(6){text-align:center}
.debt-entry-table .cost-actions{justify-content:center}
.op-debt-table td:nth-child(2) small{display:block;color:#52606d;font-size:5.5pt;margin-top:1px}

/* v1.10.31 — cores aplicadas somente aos rótulos da coluna Destino. */
.cost-destination.reimbursement{background:#eaf3fb;color:#1F4E79;border-color:#bfd4e6}
.cost-destination.treasury{background:#fff3df;color:#8a4b08;border-color:#efcf98}
.cost-table tbody tr.cost-row-reimbursement td,
.result-table tbody tr.cost-row-reimbursement td{background:#fff}
.cost-table tbody tr.cost-row-treasury td,
.result-table tbody tr.cost-row-treasury td{background:#fff}

@media print{
  /* v1.10.32 — respiro entre o débito principal e as custas subsequentes. */
  .op-debt-table{margin-bottom:4mm}
  .op-cost-head{padding-bottom:4px}
  .op-cost-group+.op-cost-group{margin-top:5px}
  .op-cost-group-title{padding:3px 7px;font-size:6.2pt;font-weight:900;letter-spacing:.015em}
  .op-cost-group-title small{font-size:5.6pt;font-weight:700}
  .op-cost-group.reimbursement .op-cost-group-title{background:#dcebf7!important;color:#1F4E79!important}
  .op-cost-group.treasury .op-cost-group-title{background:#f7dfb5!important;color:#714006!important}
  .op-costs tr.reimbursement td{background:#f4f8fc!important}
  .op-costs tr.treasury td{background:#fff8ec!important}
}

/* v1.10.21 — coluna Total centralizada sobre os respectivos valores */
.cost-table th:nth-child(9),
.cost-table td:nth-child(9){
  text-align:center;
  font-variant-numeric:tabular-nums;
}

/* v1.10.23 — prévia financeira dos lançamentos na tela de cadastro */
.cost-table{min-width:1120px}
.cost-table .cost-col-num{width:4%}
.cost-table .cost-col-date{width:8%}
.cost-table .cost-col-type{width:19%}
.cost-table .cost-col-destination{width:14%}
.cost-table .cost-col-original{width:10%}
.cost-table .cost-col-updated{width:10%}
.cost-table .cost-col-interest{width:13%}
.cost-table .cost-col-total{width:11%}
.cost-table .cost-col-actions{width:11%}
.cost-table th:nth-child(1),.cost-table td:nth-child(1),
.cost-table th:nth-child(3),.cost-table td:nth-child(3),
.cost-table th:nth-child(4),.cost-table td:nth-child(4),
.cost-table th:nth-child(7),.cost-table td:nth-child(7),
.cost-table th:nth-child(9),.cost-table td:nth-child(9){text-align:center}
.cost-table th:nth-child(2),.cost-table td:nth-child(2){text-align:left}
.cost-table th:nth-child(5),.cost-table td:nth-child(5),
.cost-table th:nth-child(6),.cost-table td:nth-child(6),
.cost-table th:nth-child(8),.cost-table td:nth-child(8){text-align:right;font-variant-numeric:tabular-nums}
.cost-table td:nth-child(2)>small{display:block;margin-top:2px;color:#52606d;line-height:1.25}

.debt-entry-table{min-width:1080px}
.debt-entry-table .debt-col-num{width:4%}
.debt-entry-table .debt-col-history{width:24%}
.debt-entry-table .debt-col-date{width:10%}
.debt-entry-table .debt-col-original{width:11%}
.debt-entry-table .debt-col-updated{width:11%}
.debt-entry-table .debt-col-interest{width:15%}
.debt-entry-table .debt-col-total{width:12%}
.debt-entry-table .debt-col-actions{width:13%}
.debt-entry-table th:last-child{width:13%!important}
.debt-entry-table th:nth-child(1),.debt-entry-table td:nth-child(1),
.debt-entry-table th:nth-child(3),.debt-entry-table td:nth-child(3),
.debt-entry-table th:nth-child(6),.debt-entry-table td:nth-child(6),
.debt-entry-table th:nth-child(8),.debt-entry-table td:nth-child(8){text-align:center}
.debt-entry-table th:nth-child(2),.debt-entry-table td:nth-child(2){text-align:left}
.debt-entry-table th:nth-child(4),.debt-entry-table td:nth-child(4),
.debt-entry-table th:nth-child(5),.debt-entry-table td:nth-child(5),
.debt-entry-table th:nth-child(7),.debt-entry-table td:nth-child(7){text-align:right;font-variant-numeric:tabular-nums}

.live-interest{font-variant-numeric:tabular-nums;line-height:1.25}
.live-interest strong,.live-interest small{display:block;white-space:nowrap}
.live-interest small{margin-top:2px;color:#52606d;font-size:10px}
.live-total{white-space:nowrap}


/* v1.10.11 — bloco de referências com títulos em versalete azul */
.references-box .sheet-heading h2,
.references-box .references-label{
  color:var(--blue);
  font-weight:800;
  font-variant:small-caps;
  font-variant-caps:small-caps;
  letter-spacing:.03em;
}

@media print{
  .op-references-box .op-heading,
  .op-references-box .op-reference-label{
    color:#315a84!important;
    font-weight:800;
    font-variant:small-caps;
    font-variant-caps:small-caps;
    letter-spacing:.04em;
  }
}

/* v1.10.38 — metodologia oficial da Taxa Legal e cabeçalho impresso em oito colunas. */
@media print{
  .op-debt-table{table-layout:fixed}
  .op-debt-table thead th{vertical-align:middle;text-align:center;padding:4px 3px}
  .op-debt-table thead tr:first-child th{border-bottom:1px solid rgba(255,255,255,.42)}
  .op-debt-table .op-debt-subhead th{font-size:5.7pt;line-height:1.05;padding-top:3px;padding-bottom:3px}
  .op-debt-table .op-debt-col-num{width:4%}
  .op-debt-table .op-debt-col-history{width:28%}
  .op-debt-table .op-debt-col-date{width:12%}
  .op-debt-table .op-debt-col-original{width:11%}
  .op-debt-table .op-debt-col-updated{width:11%}
  .op-debt-table .op-debt-col-rate{width:12%}
  .op-debt-table .op-debt-col-interest{width:10%}
  .op-debt-table .op-debt-col-total{width:12%}
  .op-debt-table td:nth-child(1){text-align:center}
  .op-debt-table td:nth-child(2){text-align:left}
  .op-debt-table td:nth-child(3){text-align:center}
  .op-debt-table td:nth-child(n+4){text-align:right}
  .op-debt-table tbody td{vertical-align:middle;padding-top:4px;padding-bottom:4px;border-bottom:1px solid #d4dde5}
  .op-debt-table tbody tr:last-child td{border-bottom:0}
  .op-debt-table td:nth-child(2) small{display:block;color:#52606d;font-size:5.5pt;margin-top:1px}
}

/* v1.10.41 — mantém o quadro Resumo inteiro na mesma página do PDF. */
@media print{
  .op-summary-wrap{
    display:block;
    break-inside:avoid;
    page-break-inside:avoid;
    -webkit-column-break-inside:avoid;
  }
  .op-summary{
    margin-left:auto;
    break-inside:avoid;
    page-break-inside:avoid;
    -webkit-column-break-inside:avoid;
  }
}

/* v1.10.42 — padroniza os títulos dos quadros 1, 2 e 3 com os quadros seguintes. */
.numbered-sheet-box .sheet-heading h2{
  margin:1px 0 3px;
  color:var(--blue2);
  font-size:19px;
  font-weight:700;
  font-variant:normal;
  font-variant-caps:normal;
  letter-spacing:normal;
  line-height:normal;
}

/* v1.10.43 — suaviza e uniformiza os rótulos internos dos quadros 1, 2 e 3. */
.numbered-sheet-box .sheet-row>label,
.numbered-sheet-box .sheet-observation>label{
  color:#263746;
  font-weight:600;
  font-variant:normal;
  font-variant-caps:normal;
  letter-spacing:normal;
  text-transform:none;
}

/* v1.10.44 — reduz o peso visual do número do processo e dos valores da causa. */
#processo,
#valorCausaOriginal,
#valorCausaAtualizado{
  color:#66727D!important;
  font-weight:500!important;
}
#processo::placeholder,
#valorCausaOriginal::placeholder,
#valorCausaAtualizado::placeholder{
  color:#66727D;
  font-weight:500;
  opacity:1;
}

/* v14.5.0 — acesso visual e identidade PontesCalc. */
.interest-config-box{margin-bottom:24px}.interest-config-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(220px,.55fr);gap:16px;align-items:end}.interest-config-grid label{display:block}.successive-interest-fields{grid-column:1/-1;display:grid;grid-template-columns:minmax(160px,1.05fr) minmax(145px,.92fr) minmax(230px,1.45fr) minmax(165px,1fr) minmax(160px,1.05fr) minmax(145px,.92fr);gap:14px;padding:18px;border:1px solid #cbd9e6;border-radius:12px;background:#f7fafc;align-items:end}.successive-interest-fields[hidden],.interest-config-grid>[hidden]{display:none!important}.interest-config-help{margin:14px 0 0;padding:12px 14px;border-left:4px solid #1F4E79;border-radius:4px;background:#eef5fb;color:#425b72;font-size:12px;line-height:1.55}.successive-counting-field{min-width:0}.successive-counting-label{display:block;margin-bottom:7px;font-size:13px;font-weight:600;color:#586A80}.interest-auto-mode{min-height:42px;display:flex;align-items:center;padding:9px 12px;border:1px solid #b9cbe0;border-radius:8px;background:#edf5fb;color:#315a84;font-size:12px;font-weight:650;line-height:1.3}.interest-auto-mode[hidden],.interest-counting-segmented[hidden]{display:none!important}.interest-counting-segmented.compact label{padding-left:9px;padding-right:9px;font-size:12px}.compact-auto{min-height:40px}
@media(max-width:1280px){.successive-interest-fields{grid-template-columns:repeat(2,minmax(220px,1fr))}}
@media(max-width:650px){.interest-config-grid,.successive-interest-fields{grid-template-columns:1fr}}
.logout-button{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.42)!important}.logout-button span{font-size:17px;line-height:1}.logout-button:hover{background:rgba(255,255,255,.18)!important}
@media(max-width:640px){.top-actions .logout-button{display:inline-flex;padding:9px 12px}}
.access-screen{position:fixed;inset:0;z-index:20000;display:grid;grid-template-columns:minmax(0,1.76fr) minmax(420px,1fr);min-height:100vh;background:#fff;opacity:1;transition:opacity .44s cubic-bezier(.22,.8,.25,1),visibility .44s ease}
.access-screen[hidden]{display:none!important}.access-screen.leaving{opacity:0;visibility:hidden}.access-screen.leaving .access-showcase{transform:translate3d(-18px,0,0);filter:saturate(.92)}.access-screen.leaving .access-panel{transform:translate3d(22px,0,0);opacity:.72}.access-showcase,.access-panel{transition:transform .44s cubic-bezier(.22,.8,.25,1),opacity .44s ease,filter .44s ease}
.access-showcase{position:relative;display:grid;place-items:center;overflow:hidden;padding:60px;background:radial-gradient(circle at 78% 22%,rgba(24,119,225,.32),transparent 33%),radial-gradient(circle at 16% 72%,rgba(14,65,139,.34),transparent 36%),linear-gradient(145deg,#031738 0%,#06285a 50%,#061c46 100%);color:#fff}
.access-network{position:absolute;inset:0;opacity:.48;background-image:linear-gradient(rgba(38,143,241,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(38,143,241,.18) 1px,transparent 1px),radial-gradient(circle at 20% 60%,#39a7ff 0 2px,transparent 3px),radial-gradient(circle at 54% 35%,#39a7ff 0 3px,transparent 4px),radial-gradient(circle at 78% 53%,#39a7ff 0 2px,transparent 3px);background-size:72px 72px,72px 72px,100% 100%,100% 100%,100% 100%;transform:perspective(600px) rotateX(62deg) scale(1.6);transform-origin:center 90%;mask-image:linear-gradient(to bottom,transparent 8%,#000 44%,#000)}
.access-formulas{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;user-select:none}
.access-formula{position:absolute;display:block;opacity:0;color:#8bd5ff;font-family:"Cambria Math","Times New Roman",serif;font-size:clamp(14px,1.35vw,23px);font-style:italic;font-weight:400;letter-spacing:.015em;line-height:1.2;white-space:nowrap;text-shadow:0 0 14px rgba(71,181,255,.4);will-change:opacity,transform;animation:formulaDrift var(--formula-duration,15s) ease-in-out infinite;animation-delay:var(--formula-delay,0s)}
.access-formula sub{font-size:.62em}
.formula-1{top:10%;left:7%;--formula-duration:16s;--formula-delay:-2s}
.formula-2{top:21%;right:13%;--formula-duration:13s;--formula-delay:-8s}
.formula-3{top:33%;left:4%;--formula-duration:17s;--formula-delay:-11s}
.formula-4{top:34%;right:8%;--formula-duration:14s;--formula-delay:-3s}
.formula-5{bottom:23%;left:8%;--formula-duration:15s;--formula-delay:-7s}
.formula-6{bottom:10%;left:20%;--formula-duration:18s;--formula-delay:-13s}
.formula-7{bottom:13%;right:20%;--formula-duration:14s;--formula-delay:-5s}
.formula-8{top:58%;right:7%;--formula-duration:17s;--formula-delay:-10s}
.formula-9{top:17%;left:39%;--formula-duration:18s;--formula-delay:-15s}
.formula-10{bottom:35%;left:34%;--formula-duration:16s;--formula-delay:-1s}
@keyframes formulaDrift{
  0%,12%{opacity:0;transform:translate3d(0,14px,0) scale(.97)}
  25%{opacity:.16}
  42%,61%{opacity:.42;transform:translate3d(10px,0,0) scale(1)}
  76%{opacity:.18}
  88%,100%{opacity:0;transform:translate3d(18px,-12px,0) scale(1.02)}
}
.access-showcase-content{position:relative;z-index:1;width:min(730px,100%);text-align:center}.access-showcase-content>p{margin:30px 0 20px;font-size:clamp(20px,2vw,29px);font-weight:350;letter-spacing:.01em}.access-showcase-content>small{display:block;margin-top:22px;font-size:16px;color:#d4e4f6}.access-showcase-content>small strong{color:#4ab0ff}.access-accent{display:block;width:76px;height:3px;margin:0 auto;background:#34a9ff;border-radius:99px}
.pontes-wordmark{position:relative;display:inline-flex;align-items:baseline;isolation:isolate;font-family:"Segoe UI",Arial,sans-serif;font-size:clamp(46px,6.1vw,104px);font-weight:300;letter-spacing:-.075em;line-height:.9;white-space:nowrap}.pontes-wordmark span:last-of-type{margin-left:.03em}.pontes-wordmark::after{content:"";position:absolute;right:.02em;bottom:-.08em;width:30%;height:.025em;background:currentColor;border-radius:99px}.pontes-wordmark-light{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.25)}.pontes-wordmark-blue{color:#0d4d8c;font-size:35px}.wordmark-node{position:absolute;width:.16em;height:.16em;border-radius:50%;background:#56b8fa;box-shadow:0 0 0 .025em rgba(255,255,255,.65)}.node-one{left:4%;bottom:-.11em}.node-two{left:44%;top:-.08em}.node-three{left:73%;bottom:-.11em}
.access-panel{display:grid;place-items:center;padding:48px 60px;background:linear-gradient(160deg,#fff,#f7f9fc)}.access-card{width:min(450px,100%)}.access-mini-brand{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:48px}.access-pc{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:linear-gradient(145deg,#0d5ca6,#083b77);color:#fff;font-size:27px;font-weight:900;letter-spacing:-.08em;box-shadow:0 11px 24px rgba(15,80,144,.18)}
.access-card h1{margin:0;text-align:center;color:#0c264d;font-size:38px;letter-spacing:-.025em}.access-card>p:not(.access-dev-note){margin:12px 0 42px;text-align:center;color:#5a6880;font-size:17px}.access-card>label{display:block;margin:0 0 9px;color:#243854;font-size:14px;font-weight:650}.access-input{display:flex;align-items:center;height:58px;margin-bottom:26px;border:1px solid #c9d2df;border-radius:10px;background:#fff;box-shadow:0 2px 5px rgba(15,23,42,.04)}.access-input:focus-within{border-color:#238be1;box-shadow:0 0 0 3px rgba(35,139,225,.12)}.access-input>span{width:54px;text-align:center;color:#168de2;font-size:20px}.access-input input{height:100%;margin:0;padding:0;border:0;background:transparent;outline:0;font-size:16px}.access-input input:focus{border:0;outline:0}.access-input button{width:50px;height:100%;padding:0;background:transparent;color:#79869a;font-size:20px}
.access-enter{width:100%;height:60px;margin-top:4px;border-radius:10px;background:linear-gradient(90deg,#0d4d8c,#07569d);font-size:15px;letter-spacing:.015em;box-shadow:0 9px 20px rgba(8,73,137,.16)}.access-dev-note{margin:13px 0 0!important;text-align:center;color:#77869a;font-size:11px;line-height:1.45}.access-protection{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:50px;padding-top:28px;border-top:1px solid #d9e0e8;color:#7a8799;font-size:14px}.access-protection>span:first-child{color:#7bb9e9;font-size:23px}
@media(max-width:980px){.access-screen{grid-template-columns:1fr}.access-showcase{min-height:38vh;padding:38px 24px}.access-showcase-content>p{margin:20px 0 14px}.access-panel{padding:38px 24px}.access-mini-brand{margin-bottom:28px}.access-card>p:not(.access-dev-note){margin-bottom:28px}}
@media(max-width:560px){.access-showcase{min-height:31vh}.access-showcase-content>small{font-size:13px}.access-mini-brand .pontes-wordmark{display:none}.access-card h1{font-size:32px}.access-input{height:52px;margin-bottom:20px}.access-enter{height:54px}.access-protection{margin-top:30px}.access-pc{width:62px;height:62px}}
@media(max-width:980px){.access-formula{font-size:13px}.access-formula:nth-child(n+7){display:none}.formula-1{top:8%}.formula-3{top:30%}.formula-5{bottom:12%}.formula-6{bottom:5%}}
@media(prefers-reduced-motion:reduce){.access-formula{animation:none;opacity:.11;transform:none}.access-formula:nth-child(even){display:none}}
@media print{.access-screen{display:none!important}}

/* v14.6.8 — nitidez tipográfica em telas, campos e janelas de edição. */
body{
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}

/* Evita que campos aninhados herdem o negrito dos respectivos rótulos. */
input,
select,
textarea{
  font-weight:500;
  letter-spacing:normal;
}

/* Mantém os rótulos legíveis sem perder a hierarquia visual. */
label,
.indices-filters label{
  font-weight:600;
}

.expense-form label{
  font-weight:600;
}

.expense-form input,
.expense-form select,
.indices-filters input,
.indices-filters select{
  font-weight:500;
}

/* Valores da causa e demais valores destacados permanecem firmes, sem peso excessivo. */
.sheet-money,
.emphasized-row label,
.emphasized-row input{
  font-weight:700!important;
}

#processo,
#valorCausaOriginal,
#valorCausaAtualizado{
  font-weight:500!important;
}

/* Textos muito pequenos recebem peso moderado para evitar aparência compactada. */
.summary-grid span,
.cost-legend,
.cost-destination,
.saved-current-badge{
  font-weight:700;
}

/* v14.6.9 — rótulos de formulário com leitura mais imediata e hierarquia uniforme. */
.expense-form label,
.indices-filters label,
.addition-row label,
.interest-config-grid>label,
.successive-interest-fields label{
  font-size:13px;
  font-weight:600;
  color:#586A80;
}

/* Preserva os campos leves e impede que herdem o peso dos rótulos maiores. */
.expense-form input,
.expense-form select,
.indices-filters input,
.indices-filters select,
.addition-row input,
.addition-row select,
.interest-config-grid input,
.interest-config-grid select,
.successive-interest-fields input,
.successive-interest-fields select{
  font-size:13px;
  font-weight:500;
  color:var(--text);
}

/* v14.6.10 — aviso contextual da atualização do valor da causa. */
.references-box{
  max-width:none;
}
.sheet-two-columns{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:32px;
}
.value-box .emphasized-row{
  grid-template-columns:190px 122px minmax(190px,1fr);
  column-gap:12px;
  width:100%;
  align-items:center;
}
.cause-calculation-status{
  grid-column:3;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin:0;
  padding:10px 12px;
  border:1px solid #e7a19b;
  border-left:4px solid #b42318;
  border-radius:7px;
  background:#fff4f2;
  color:#7a271a;
  box-shadow:0 2px 6px rgba(180,35,24,.06);
}
.cause-status-icon{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  margin-top:1px;
  border-radius:50%;
  background:#b42318;
  color:#fff;
  font-size:15px;
  font-weight:800;
  line-height:1;
}
.cause-status-copy strong{
  display:block;
  margin:0 0 4px;
  color:#8f1d14;
  font-size:11px;
  font-weight:800;
  letter-spacing:.035em;
  line-height:1.25;
  text-align:left;
  text-transform:uppercase;
}
.cause-status-copy p{
  margin:0;
  color:#7a271a;
  font-size:11px;
  font-weight:600;
  line-height:1.45;
  text-align:justify;
  text-align-last:left;
  hyphens:auto;
}
@media(max-width:1100px){
  .sheet-two-columns{grid-template-columns:1fr;gap:18px}
  .value-box .emphasized-row{grid-template-columns:190px 122px minmax(220px,1fr)}
}
@media(max-width:700px){
  .value-box .emphasized-row{grid-template-columns:1fr 122px}
  .cause-calculation-status{grid-column:1/-1;margin-top:8px}
}

/* Textos auxiliares continuam subordinados, mas com contraste confortável. */
.expense-head p,
.installment-preview,
.debt-explanation,
.index-help,
.save-calculation-note,
.interest-config-help{
  color:#52677B;
}


/* v14.6.12 — forma de cálculo dos juros: pro rata die ou mês civil. */
.interest-counting-field{display:flex;flex-direction:column;gap:7px;min-width:230px}
.interest-counting-label{font-weight:600;color:#263746;font-size:13px}
.interest-counting-segmented{display:grid;grid-template-columns:1fr 1fr;border:1px solid #b9c9d8;border-radius:8px;overflow:hidden;background:#fff;min-height:42px}
.interest-counting-segmented input{position:absolute;opacity:0;pointer-events:none}
.interest-counting-segmented label{display:flex;align-items:center;justify-content:center;margin:0;padding:9px 12px;cursor:pointer;font-size:13px;font-weight:600;color:#52697d;background:#fff;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.interest-counting-segmented label+input+label{border-left:1px solid #b9c9d8}
.interest-counting-segmented input:checked+label{background:#1F4E79;color:#fff;box-shadow:inset 0 0 0 1px #1F4E79}
.interest-counting-segmented input:focus-visible+label{outline:2px solid #2b78bd;outline-offset:-2px}
@media(max-width:650px){.interest-counting-field{min-width:0}}


/* v14.6.13 — padroniza a tipografia dos numerais dos quadros para evitar distorção visual. */
.section-title>span{font-family:inherit;font-size:14px;font-weight:700;line-height:1;letter-spacing:0;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"tnum" 1;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}


/* v14.6.14 — refinamento da barra superior e hierarquia dos comandos. */
.calculation-actions.toolbar-refined{align-items:center;gap:14px;flex-wrap:nowrap}
.toolbar-cluster{display:flex;align-items:center;gap:6px;position:relative}
.calculation-actions.toolbar-refined .ghost{padding:8px 11px;min-height:36px;border-radius:7px;font-size:13px;font-weight:600;background:rgba(255,255,255,.105);border-color:rgba(255,255,255,.22);box-shadow:none;white-space:nowrap;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.calculation-actions.toolbar-refined .ghost:hover{filter:none;background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.34)}
.calculation-actions.toolbar-refined #saveCalcBtn{font-weight:700;background:rgba(255,255,255,.19);border-color:rgba(255,255,255,.38);border-radius:7px 0 0 7px;padding-right:12px}
.browser-save-group{gap:0}
.calculation-actions.toolbar-refined .save-menu-toggle{width:32px;padding:0;justify-content:center;border-left:0;border-radius:0 7px 7px 0;font-size:12px}
.save-dropdown-menu{display:none;position:absolute;right:0;top:calc(100% + 7px);z-index:30;min-width:150px;padding:5px;background:#fff;border:1px solid #d7e0e8;border-radius:8px;box-shadow:0 10px 26px rgba(15,23,42,.18)}
.save-dropdown-menu.show{display:block}
.save-dropdown-menu button{width:100%;padding:9px 11px;border-radius:6px;background:#fff;color:#263746;text-align:left;font-size:13px;font-weight:600;white-space:nowrap}
.save-dropdown-menu button:hover{filter:none;background:#eef4f9;color:#1f4e79}
@media(max-width:1180px){.calculation-actions.toolbar-refined{gap:8px;flex-wrap:wrap}.toolbar-cluster{gap:4px}.calculation-actions.toolbar-refined .ghost{padding:8px 9px;font-size:12px}}


/* v14.6.15 — transições mais presentes na abertura, inspiradas em interfaces Cloudflare. */
.access-enter{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.access-enter:hover{transform:translateY(-1px);box-shadow:0 13px 26px rgba(8,73,137,.22);filter:brightness(1.035)}
.access-enter:active{transform:translateY(1px) scale(.995)}

/* v14.6.18 — alinhamento uniforme dos valores no quadro Referências. */
.references-box #valorCausaOriginal,
.references-box #valorCausaAtualizado{
  display:block;
  width:122px!important;
  min-width:122px!important;
  max-width:122px!important;
  justify-self:start;
  margin:0!important;
  padding:2px 4px!important;
  text-align:right!important;
  font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1,"tnum" 1;
}

/* v14.6.19 — alinha horizontalmente os dois valores da causa. */
.references-box .emphasized-row{
  column-gap:0;
}
.references-box .cause-calculation-status{
  margin-left:12px;
}
@media(max-width:700px){
  .references-box .cause-calculation-status{
    margin-left:0;
  }
}

/* Correção definitiva: os dois campos compartilham exatamente a mesma coluna. */
.references-box .money-row{
  grid-template-columns:190px 122px minmax(0,1fr)!important;
  column-gap:0!important;
  width:100%!important;
}
.references-box .money-row > .sheet-money{
  grid-column:2!important;
  justify-self:start!important;
}
.references-box .cause-calculation-status{
  grid-column:3!important;
  margin-left:12px;
}
@media(max-width:700px){
  .references-box .money-row{
    grid-template-columns:minmax(0,1fr) 122px!important;
  }
  .references-box .money-row > .sheet-money{
    grid-column:2!important;
  }
  .references-box .cause-calculation-status{
    grid-column:1/-1!important;
    margin-left:0;
  }
}


/* v14.6.21 - Assistente de Criterios e Legislacao */
.legal-info-button{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;margin-left:6px;border:1px solid #94a3b8;border-radius:50%;background:#fff;color:var(--blue);font:700 12px/1 Georgia,serif;cursor:pointer;vertical-align:middle;padding:0}
.legal-info-button:hover{background:#eff6ff;border-color:var(--blue)}
.heading-info-button{margin-left:8px;flex:0 0 auto}
.legal-criteria-dialog{width:min(920px,96vw);max-height:90vh;display:flex;flex-direction:column}
.legal-criteria-body{padding:18px 22px 8px;overflow:auto;background:#f8fafc}
.legal-principle-note{display:flex;gap:12px;align-items:flex-start;border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;padding:13px 15px;margin-bottom:14px;color:#1e3a5f}
.legal-principle-note strong{white-space:nowrap;color:var(--blue)}
.legal-criteria-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;margin-bottom:12px;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.legal-criteria-card.legal-highlight{outline:2px solid #93c5fd;box-shadow:0 0 0 4px rgba(147,197,253,.18)}
.legal-card-tag{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--blue);background:#eff6ff;border-radius:999px;padding:4px 8px;margin-bottom:7px}
.legal-criteria-card h3,.legal-sources h3{margin:0 0 8px;color:#0f2747;font-size:16px}
.legal-criteria-card p{margin:7px 0;color:#475569;font-size:13px;line-height:1.55;text-align:justify}
.legal-card-warning{border-left:3px solid #d97706;padding-left:10px}
.legal-sources{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;margin:4px 0 12px}
.legal-sources a{display:flex;justify-content:space-between;gap:16px;text-decoration:none;padding:10px 0;border-top:1px solid #e2e8f0;color:#334155;font-size:12px}
.legal-sources a:first-of-type{border-top:0}
.legal-sources a strong{color:var(--blue)}
.legal-sources a:hover strong{text-decoration:underline}
.legal-criteria-footer{display:flex;justify-content:flex-end;padding:12px 22px 16px;border-top:1px solid var(--line);background:#fff}
.legislation-context-alert{margin-top:10px;border-radius:10px;padding:11px 13px;font-size:12px;line-height:1.45;border:1px solid #fbbf24;background:#fffbeb;color:#78350f}
.legislation-context-alert.info{border-color:#93c5fd;background:#eff6ff;color:#1e3a5f}
.legislation-context-alert strong{display:block;margin-bottom:2px}
@media(max-width:700px){.legal-principle-note{flex-direction:column;gap:4px}.legal-sources a{flex-direction:column;gap:2px}}
@media print{#legalCriteriaModal,.legal-info-button,.legislation-context-alert{display:none!important}}


.quick-guide-body{scroll-behavior:smooth}
.quick-timeline,.quick-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.quick-timeline>div,.quick-compare>div{display:flex;flex-direction:column;gap:5px;border:1px solid #dbeafe;background:#f8fbff;border-radius:10px;padding:12px}
.quick-timeline strong,.quick-compare strong{color:#0f2747;font-size:13px}
.quick-timeline span,.quick-compare span{color:#64748b;font-size:12px;line-height:1.45}
.quick-steps{margin:8px 0 2px;padding-left:22px;color:#475569;font-size:13px;line-height:1.65}
.quick-steps li{padding-left:4px;margin:3px 0}
.quick-faq p{border-left:3px solid #93c5fd;padding:8px 10px;margin:8px 0;background:#f8fafc;border-radius:0 8px 8px 0}
.quick-key{display:flex;gap:12px;align-items:flex-start;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:12px;padding:14px 16px;margin:4px 0 12px;color:#315b43;font-size:13px;line-height:1.55}
.quick-key strong{white-space:nowrap;color:#166534}
@media(max-width:700px){.quick-timeline,.quick-compare{grid-template-columns:1fr}.quick-key{flex-direction:column;gap:5px}}


/* v14.6.24 — juros por regime e metodologia impressa justificada. */
.op-method p:not(.op-sign){
  text-align:justify;
  text-align-last:left;
  text-justify:inter-word;
  hyphens:none;
}

/* v14.6.32 — metodologia enxuta e integralmente justificada. */
.methodology p:not(.op-sign),
.screen-methodology p:not(.op-sign){
  text-align:justify;
  text-align-last:left;
  text-justify:inter-word;
}
@media print{
  .op-method p:not(.op-sign){
    text-align:justify!important;
    text-align-last:left!important;
    text-justify:inter-word;
    hyphens:none;
    letter-spacing:-.006em;
  }
}

/* v14.6.24 — dois regimes: seis campos distribuídos em toda a largura; orientação redundante removida. */

/* v14.6.27 - refinamento visual: opcao de combinacao em uma unica linha */
.correction-combination-toggle{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;width:auto}
.correction-combination-toggle input[type="checkbox"]{width:auto;flex:0 0 auto;margin:0}
.correction-combination-toggle span{display:inline;white-space:nowrap}


/* v14.6.34 — impressão opcional do demonstrativo de Índices e Fontes no mesmo PDF */
.print-options-dialog{width:min(620px,96vw)}
.print-options-form{display:block}
.print-option-check{display:flex!important;align-items:flex-start;gap:12px;padding:15px 16px;margin-bottom:16px;border:1px solid #cbd6df;border-radius:12px;background:#f8fafc;cursor:pointer;color:#1f2937!important}
.print-option-check input{width:18px;height:18px;min-width:18px;margin:2px 0 0;accent-color:#1F4E79}
.print-option-check span{display:block}.print-option-check strong{display:block;font-size:13px;color:#1F4E79}.print-option-check small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#64748b;font-weight:500}
.combined-indices-print{display:none}
@media print{
  body>*:not(.official-print):not(.combined-indices-print){display:none!important}
  body.print-with-indices .combined-indices-print{display:flex!important;flex-direction:column;min-height:271mm;page-break-before:always;break-before:page;margin:0;padding:3mm 4mm 0;color:#1e293b;font:11px Arial,sans-serif;line-height:1.42;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .combined-indices-print h1{margin:0;color:#1F4E79;font-size:18.5px;letter-spacing:.15px;text-align:center}
  .combined-indices-print h2{margin:15px 0 7px;color:#1F4E79;font-size:12.8px;border-bottom:2px solid #1F4E79;padding-bottom:4px}
  .combined-indices-print .subtitle{text-align:center;color:#64748b;margin:2px 0 12px}
  .combined-indices-print .identification{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:2px;background:#f8fafc}
  .combined-indices-print .meta{display:flex;justify-content:space-between;gap:18px;margin:9px 0 1px;color:#475569}
  .combined-indices-print .method-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;padding:10px 12px;border-left:4px solid #1F4E79;background:#f8fafc}
  .combined-indices-print .method-grid p{margin:0}.combined-indices-print .method-grid .span{grid-column:1/-1}
  .combined-indices-print table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;page-break-inside:avoid}
  .combined-indices-print tr{page-break-inside:avoid}.combined-indices-print th,.combined-indices-print td{border:1px solid #94a3b8;padding:7px 8px;text-align:left;vertical-align:top;font-size:inherit}
  .combined-indices-print th{background:#eaf2f8!important;color:#1F4E79!important;font-size:10px}
  .combined-indices-print .interest-table col:nth-child(1){width:26%}.combined-indices-print .interest-table col:nth-child(2){width:18%}.combined-indices-print .interest-table col:nth-child(3){width:16%}.combined-indices-print .interest-table col:nth-child(4){width:40%}
  .combined-indices-print .method{padding:10px 12px;border-left:4px solid #1F4E79;background:#f8fafc}.combined-indices-print .sources{margin:0;padding:9px 12px 9px 29px;border-left:4px solid #1F4E79;background:#f8fafc}.combined-indices-print .sources li{margin:4px 0;overflow-wrap:anywhere}
  .combined-indices-print .footer{margin-top:auto;padding-top:8px;border-top:1px solid #94a3b8;text-align:center;color:#64748b;font-size:8.5px}
.combined-indices-print.dense{font-size:10px;line-height:1.34}.combined-indices-print.dense h1{font-size:17.5px}.combined-indices-print.dense h2{margin:11px 0 5px;padding-bottom:3px}.combined-indices-print.dense .subtitle{margin-bottom:9px}.combined-indices-print.dense .identification{gap:3px 14px;padding:7px 9px}.combined-indices-print.dense .meta{margin:6px 0 1px}.combined-indices-print.dense .method-grid,.combined-indices-print.dense .method{padding:7px 9px}.combined-indices-print.dense th,.combined-indices-print.dense td{padding:5px 6px}.combined-indices-print.dense .sources{padding:6px 9px 6px 25px}.combined-indices-print.dense .sources li{margin:2px 0}.combined-indices-print.dense .footer{padding-top:6px}
}

/* v14.6.59 — tela inicial objetiva e manutenção de índices em Configurações */
.settings-menu-wrap{position:relative;display:flex}
.settings-menu-wrap>#settingsBtn{display:inline-flex;align-items:center;gap:7px}
.settings-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:40;width:320px;padding:8px;border:1px solid #c7d5e3;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(15,42,67,.22);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.settings-menu.show{opacity:1;visibility:visible;transform:translateY(0)}
.settings-menu::before{content:"";position:absolute;right:20px;top:-6px;width:10px;height:10px;background:#fff;border-left:1px solid #c7d5e3;border-top:1px solid #c7d5e3;transform:rotate(45deg)}
.settings-menu button{position:relative;z-index:1;display:flex;align-items:flex-start;gap:12px;width:100%;padding:13px;border-radius:9px;background:#fff;color:#294861;text-align:left}
.settings-menu button:hover{background:#eef5fa;filter:none}
.settings-menu button>span:first-child{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;background:#e6f0f7;color:#1F4E79;font-size:18px;font-weight:900}
.settings-menu strong,.settings-menu small{display:block}.settings-menu strong{font-size:13px}.settings-menu small{margin-top:4px;color:#667b8e;font-size:11px;line-height:1.35;font-weight:500}
@media(min-width:921px){.pontes-home-inner{width:min(780px,100%)}.pontes-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pontes-home-card,.pontes-home-card:nth-child(4){grid-column:auto;min-height:150px}}
@media(max-width:640px){.settings-menu-wrap{display:inline-flex}.top-actions .settings-menu-wrap>#settingsBtn{display:inline-flex}.settings-menu{position:fixed;top:68px;right:12px;left:12px;width:auto}.calculation-actions.home-mode .settings-menu-wrap{display:inline-flex!important}}

/* Cadastro individual com teste de 48 horas. */
#registerFields[hidden]{display:none!important}
#registerFields>label{display:block;margin:0 0 9px;color:#243854;font-size:14px;font-weight:650}
.access-mode{display:block;width:100%;margin-top:18px;padding:12px;background:#edf4fb;color:#1f4e79;border:1px solid #c9dbea;border-radius:10px;font-size:14px;font-weight:650}
.access-mode:focus-visible{outline:3px solid #238be1;outline-offset:3px}
.access-mode:disabled{opacity:.6;cursor:wait}
.access-panel{overflow:auto}
/* v14.7.8 - demonstrativo judicial: somente apresentacao de impressao */
@page{size:A4 portrait;margin:15mm 25mm 10mm 25mm}
@media print{
 .official-print{font-family:Arial,Helvetica,sans-serif!important;font-size:8pt!important;line-height:1.28!important;color:#203044!important}
 .official-print .op-title{background:#1f4e79!important;color:#fff!important;font-size:13pt!important;font-weight:650!important;margin-bottom:3mm!important;padding:7px 4px!important}
 .official-print .op-box,.official-print .op-method{border:1px solid #b8cfe3!important;border-radius:5px!important;background:#fff!important;padding:8px 10px!important;margin:0 0 3mm!important}
 .official-print .op-heading,.official-print .op-method-title{font-size:8.7pt!important;font-weight:600!important;color:#1f4e79!important;background:transparent!important;border:0!important;padding:0!important;margin:0 0 6px!important}
 .official-print .op-process div:not(.op-heading){margin:3px 0!important}
 .official-print .op-dates .op-date-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
 .official-print .op-dates .op-pair{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:4px!important;background:#eef5fa!important;border-radius:4px!important;min-height:13mm!important;padding:4px 2px!important;margin:0!important}
 .official-print .op-dates .op-pair b{font-size:6.6pt!important;font-weight:400!important}.official-print .op-dates .op-pair span{font-weight:600!important;font-size:8pt!important}
 .official-print .op-dates .op-pair:last-child{background:#dcecf9!important;color:#1f4e79!important}
 .official-print .op-top-panels{display:grid!important;grid-template-columns:45% minmax(0,55%)!important;gap:3mm!important;margin-bottom:3mm!important;align-items:stretch!important}
 .official-print .op-cause-panel,.official-print .op-summary-wrap{min-width:0!important}
 .official-print .op-references-box{height:100%!important;min-height:30mm!important}.official-print .op-references-box .op-pair{font-size:7pt!important;gap:4px!important}.official-print .op-references-box .op-pair strong{min-width:0!important}
 body.print-hide-cause .official-print .op-cause-panel{display:none!important}
 body.print-hide-cause .official-print .op-top-panels{grid-template-columns:1fr!important}
 .official-print .op-summary-wrap{display:block!important;margin:0!important;min-height:0!important}
 .official-print .op-summary{width:100%!important;border:1px solid #b8cfe3!important;border-radius:5px!important;padding:7px!important;background:#f4f9fd!important;font-size:7.5pt!important}
 .official-print .op-summary-title{border:0!important;background:transparent!important;text-align:left!important;color:#1f4e79!important;font-size:8.7pt!important;font-weight:600!important}
 .official-print .op-summary>div:not(.op-summary-title){padding:3px 4px!important;background:transparent!important;gap:4px!important}
 .official-print .op-summary .op-total{background:#1f4e79!important;color:white!important;border:0!important;border-radius:4px!important;padding:7px 6px!important;font-size:9pt!important;font-weight:700!important}
 .official-print .op-summary .op-total span:last-child{white-space:nowrap!important}
 .official-print .op-debt-table{border:1px solid #b8cfe3!important;border-radius:4px!important;margin:0 0 3mm!important}
 .official-print .op-debt-table th{background:#dcebf7!important;color:#1f4e79!important;font-weight:600!important;font-size:6pt!important}
 .official-print .op-debt-table td{border-bottom:1px solid #e2eaf2!important}
 .official-print .op-costs{padding:7px!important;overflow:visible!important}
 .official-print .op-costs th{background:#e7f2fa!important;font-weight:600!important}.official-print .op-cost-group-title{background:#dcebf7!important;color:#1f4e79!important}
 .official-print .op-method{margin-top:3mm!important;page-break-inside:avoid!important}
 .official-print .op-method p{font-size:7pt!important;line-height:1.3!important;margin:4px 0!important}
}

/* PontesCalc 14.7.9: ponte luminosa na tela de acesso (apenas visual). */
.access-screen{grid-template-columns:minmax(390px, .95fr) minmax(0,1.45fr)}
.access-panel{grid-column:1;grid-row:1}
.access-showcase{grid-column:2;grid-row:1;isolation:isolate;background:radial-gradient(ellipse at 50% 48%,#123967 0%,#071e41 55%,#04132d 100%)}
.access-network{opacity:.13}
.access-formulas{display:none!important}
.bridge-art{position:absolute;z-index:0;left:4%;right:4%;top:18%;width:92%;pointer-events:none;opacity:.95}
.bridge-art svg{display:block;width:100%;height:auto;overflow:visible}
.bridge-lines{stroke-dasharray:1800;stroke-dashoffset:1800;animation:bridgeReveal 3.6s ease-out forwards;filter:drop-shadow(0 0 5px rgba(231,190,109,.2))}
.access-showcase-content{align-self:end;margin-bottom:clamp(65px,12vh,140px)}
.access-showcase-content>p{color:#e9d8b2;font-weight:400;font-size:clamp(17px,1.65vw,24px)}
.access-accent{background:#caa467;height:2px}
.access-showcase-content>small strong{color:#e7c889}
@keyframes bridgeReveal{to{stroke-dashoffset:0}}
@media(max-width:980px){.access-screen{grid-template-columns:1fr}.access-panel{grid-column:1;grid-row:2}.access-showcase{grid-column:1;grid-row:1;min-height:34vh}.bridge-art{top:1%;width:60%;left:20%;right:20%}.access-showcase-content{align-self:end;margin-bottom:0}.access-showcase-content>p{margin:8px 0}.access-showcase-content>small{margin-top:9px}}
@media(max-width:560px){.bridge-art{width:84%;left:8%;top:2%}.access-showcase{min-height:32vh}.access-showcase-content>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.bridge-lines{animation:none;stroke-dashoffset:0}.bridge-light{display:none}}
@media print{.bridge-art{display:none!important}}
/* 14.7.10: resumo compacto sempre a direita, mesmo sem valor da causa. */
@media print {
 .official-print .op-top-panels,
 body.print-hide-cause .official-print .op-top-panels {
   display:grid!important;
   grid-template-columns:minmax(0,45%) minmax(0,55%)!important;
   gap:3mm!important;
   align-items:start!important;
 }
 body.print-hide-cause .official-print .op-cause-panel {visibility:hidden!important;display:block!important;}
 .official-print .op-summary-wrap {grid-column:2!important;min-width:0!important;display:block!important;margin:0!important;}
 .official-print .op-summary {box-sizing:border-box!important;width:100%!important;max-width:100%!important;}
 .official-print .op-summary .op-total,
 .official-print .op-summary .op-total span,
 .official-print .op-summary .op-total span:last-child {
   color:#fff!important;background:#1f4e79!important;
   opacity:1!important;text-shadow:none!important;
 }
 .official-print .op-summary .op-total {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:5px!important;}
 .official-print .op-summary .op-total span:first-child {font-size:8pt!important;white-space:normal!important;}
 .official-print .op-summary .op-total span:last-child {font-size:8pt!important;font-weight:700!important;white-space:nowrap!important;}
}

/* 14.7.11: identidade discreta, painel de login a direita */
.access-screen{grid-template-columns:minmax(0,1.25fr) minmax(420px,1fr)!important}
.access-showcase{position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 40%,#10457e 0%,#082953 48%,#04152f 100%)!important}
.access-network,.access-formulas,.bridge-art{display:none!important}
.pontes-lightwaves{position:absolute;inset:0;pointer-events:none;opacity:.9}
.pontes-lightwaves svg{width:100%;height:100%}
.access-showcase-content{position:relative;z-index:2}
.access-panel{background:#fff!important}
.access-mini-brand[hidden]{display:none!important}
@media(max-width:800px){.access-screen{grid-template-columns:1fr!important}.access-showcase{min-height:230px}.pontes-lightwaves{opacity:.55}}
@media(prefers-reduced-motion:reduce){.pontes-lightwaves animateMotion{display:none}}

/* 14.7.13: correcao do layout aprovado - identidade esquerda, login direita */
@media (min-width:801px) {
  .access-screen {grid-template-columns:minmax(0,1.15fr) minmax(390px,1fr)!important;height:100dvh;min-height:0!important;overflow:hidden!important;}
  .access-showcase {grid-column:1!important;grid-row:1!important;min-height:0!important;overflow:hidden!important;}
  .access-panel {grid-column:2!important;grid-row:1!important;min-height:0!important;overflow-y:auto!important;}
  .access-card {max-height:100%;}
}
.access-showcase-content {z-index:3!important;align-self:center!important;margin-bottom:0!important;transform:translateY(-18%)!important;}
.pontes-lightwaves {z-index:1!important;opacity:.78!important;}
.pontes-lightwaves svg {display:block;}
@media (max-width:800px) {
  .access-screen {grid-template-columns:1fr!important;}
  .access-showcase {grid-column:1!important;grid-row:1!important;}
  .access-panel {grid-column:1!important;grid-row:2!important;}
  .access-showcase-content {transform:none!important;}
}
@media(prefers-reduced-motion:reduce){.pontes-lightwaves animateMotion{display:none!important}}

/* 14.7.14 - Arte original aprovada, com pontos de luz discretos */
@media(min-width:801px){
 .access-screen{grid-template-columns:55% 45%!important;height:100dvh!important;overflow:hidden!important}
 .access-showcase{grid-column:1!important;grid-row:1!important;min-height:0!important;padding:0!important;background:#041b3c url("pontescalc-login-arte.png") center center/cover no-repeat!important}
 .access-panel{grid-column:2!important;grid-row:1!important;min-height:0!important;overflow-y:auto!important;padding:24px clamp(25px,4vw,70px)!important}
 .access-card{width:min(450px,100%)!important}
}
.access-showcase-content{display:none!important}
.pc-art-particles{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;align-items:center;justify-content:center}
.pc-art-particles svg{display:block;width:100%;height:100%;object-fit:contain}
.access-network,.access-formulas,.bridge-art,.pontes-lightwaves{display:none!important}
.access-showcase{background:#041b3c url("pontescalc-login-arte.png") center center/cover no-repeat!important}
@media(max-width:800px){.access-screen{height:100dvh;overflow-y:auto!important}.access-showcase{min-height:230px!important;padding:0!important;background-size:cover!important}.access-panel{padding:26px 20px!important}.pc-art-particles{display:none}}
@media(prefers-reduced-motion:reduce){.pc-art-particles{display:none!important}}

/* 14.7.15 - Um unico ponto dourado, 15s, sobre a arte aprovada */
.pc-art-particles{z-index:2!important;overflow:hidden!important}
.pc-art-particles svg{width:100%;height:100%;display:block}
@media(prefers-reduced-motion:reduce){.pc-single-light{display:none!important}}

/* v14.7.19: distinguir recuperação de senha e criação de conta. */
#forgotPasswordBtn{background:#fff8ed;color:#855018;border-color:#e8cda7}
#forgotPasswordBtn:hover{background:#fff0d6;border-color:#c6954d}
#accessModeBtn{background:#edf7f2;color:#226349;border-color:#b4d8c6}
#accessModeBtn:hover{background:#dcefe4;border-color:#6ea88c}
.pc-license-footer{display:none!important}
@media print{
 body:not(.pontescalc-access-granted)>*:not(.access-screen){display:none!important}
 body.pontescalc-access-granted>.pc-license-footer{display:block!important;position:fixed;left:0;right:0;bottom:0;text-align:center;font:8px Arial,sans-serif;color:#52677b;background:white;z-index:100001;overflow-wrap:anywhere}
}

@media print{body.pc-print-locked>*{display:none!important}}

/* Aviso de cópia externa dos cálculos. */
.calculation-backup-notice{margin:14px 22px 0;padding:12px 14px;background:#fff8ed;border:1px solid #e8cda7;border-left:4px solid #c6954d;border-radius:9px;color:#66431e;font-size:13px;line-height:1.5}
.calculation-backup-notice>strong{display:block;color:#855018}
.calculation-backup-notice p{margin:6px 0 0}
@media(max-width:600px){.calculation-backup-notice{margin:12px 14px 0;padding:10px 12px;font-size:12px}}

/* v14.7.22 — metodologia na base da folha, respeitando o fluxo do relatório. */
@media print {
  html, body { height:auto!important; min-height:0!important; }
  .official-print {
    display:flex!important;
    flex-direction:column;
    /* A4: 297 mm menos 15 mm no topo, 10 mm na base e folga de 2 mm. */
    min-height:270mm!important;
    /* Reserva interna para a licença fixa sem cobrir a borda da metodologia. */
    padding:0 0 4mm!important;
  }
  .official-print > * { flex-shrink:0; }
  .official-print .op-method {
    margin: auto 0 0!important;
    break-before:auto!important;
    break-inside:avoid!important;
    page-break-before:auto!important;
    page-break-inside:avoid!important;
  }
}

/* 14.7.28: destaques mais leves no resumo e na faixa dos débitos. */
@media print {
 .official-print .op-summary > .strong:not(.treasury),
 .official-print .op-summary > .strong:not(.treasury) > span,
 .official-print .op-debt-table .op-category > td {
  font-weight:500!important;
 }
}

/* 14.7.31: reducao discreta somente nos titulos e no credito destacados. */
@media print {
 .official-print .op-title {font-size:11.7pt!important;}
 .official-print .op-process > .op-heading,
 .official-print .op-dates > .op-heading {font-size:8pt!important;}
 .official-print .op-summary .op-total,
 .official-print .op-summary .op-total > span:first-child,
 .official-print .op-summary .op-total > span:last-child {font-size:7.6pt!important;}
}

/* 14.7.32: respiro apos o fundamento do Tema 1.368/STJ. */
@media print {
 .official-print .op-interest-continuation {display:block;margin-top:4px;}
}

/* 14.7.33: continuacao em paragrafo proprio, igual aos demais. */
@media print {
 .official-print #opInterestContinuation:not([hidden]) {display:block!important;margin:4px 0!important;}
 .official-print #opInterestContinuation[hidden] {display:none!important;}
}

/* 14.7.34: etiquetas discretas para identificar os tres quadros. */
@media print {
 .official-print .op-process > .op-heading,
 .official-print .op-dates > .op-heading,
 .official-print .op-references-box > .op-heading {
  font-size:6pt!important;
  font-weight:600!important;
  line-height:1.2!important;
 }
}

/* 14.7.35: identificacao do quadro de custas no mesmo padrao discreto. */
@media print {
 .official-print .op-cost-head > .op-heading {
  font-size:6pt!important;
  font-weight:600!important;
  line-height:1.2!important;
 }
}

/* 14.7.36: mesma margem interna dos demais quadros, sem recuo duplicado. */
@media print {
 .official-print .op-costs {padding:8px 10px!important;}
 .official-print .op-cost-head {padding:0!important;}
 .official-print .op-cost-head > .op-heading {margin:0 0 6px!important;}
}

/* 14.7.37: eixo esquerdo comum ao conteudo dos quadros e tabelas. */
@media print {
 .official-print .op-cost-group-title {padding-left:0!important;}
 .official-print .op-costs th:first-child,
 .official-print .op-costs td:first-child:not([colspan]) {
  padding-left:0!important;
  text-align:left!important;
 }
 .official-print .op-debt-table thead > tr:first-child > th:first-child,
 .official-print .op-debt-table tbody > tr > td:first-child:not([colspan]) {
  padding-left:10px!important;
  text-align:left!important;
 }
}

/* 14.7.38: fundos das custas avancam 3px, sem deslocar textos ou colunas. */
@media print {
 .official-print .op-cost-group-title,
 .official-print .op-costs th:first-child,
 .official-print .op-costs th:last-child,
 .official-print .op-costs td:first-child,
 .official-print .op-costs td:last-child {position:relative;isolation:isolate;}
 .official-print .op-cost-group-title::before,
 .official-print .op-costs th:first-child::before,
 .official-print .op-costs th:last-child::after,
 .official-print .op-costs td:first-child::before,
 .official-print .op-costs td:last-child::after {
  content:"";position:absolute;top:0;bottom:0;width:3px;
  background:inherit;pointer-events:none;
 }
 .official-print .op-cost-group-title::before {left:-3px;right:-3px;width:auto;z-index:-1;}
 .official-print .op-costs th:first-child::before,
 .official-print .op-costs td:first-child::before {left:-3px;}
 .official-print .op-costs th:last-child::after,
 .official-print .op-costs td:last-child::after {right:-3px;}
}

/* 14.7.39: mais folga colorida somente a esquerda das custas. */
@media print {
 .official-print .op-cost-group-title::before {left:-7px;}
 .official-print .op-costs th:first-child::before,
 .official-print .op-costs td:first-child::before {left:-7px;width:7px;}
}

/* 14.7.40: tres ajustes pontuais no demonstrativo. */
@media print {
 .official-print #opSumTreasuryRow,
 .official-print #opSumTreasuryRow > span {font-weight:500!important;}
 .official-print .op-summary-title,
 .official-print .op-method-title {
  font-size:6pt!important;
  font-weight:600!important;
  line-height:1.2!important;
 }
}

/* 14.7.44: custas ao Estado abaixo do credito, em bloco separado. */
@media print {
 #officialPrint #opSumTreasuryRow:not([hidden]) {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:8px!important;
  row-gap:2px!important;
  margin-top:5px!important;
  padding-top:6px!important;
  border-top:1px solid #b8cfe3!important;
 }
 #officialPrint #opSumTreasuryRow,
 #officialPrint #opSumTreasuryRow > span {font-weight:400!important;}
 #officialPrint #opSumTreasuryRow > .op-treasury-label {grid-column:1 / -1;grid-row:1;}
 #officialPrint #opSumTreasuryRow > .op-treasury-note {
  grid-column:1;grid-row:2;
  font-size:6.5pt!important;line-height:1.2!important;
  font-weight:400!important;color:#52606d;
 }
 #officialPrint #opSumTreasury {
  grid-column:2;grid-row:2;
  text-align:right;align-self:baseline;white-space:nowrap;
 }
}

/* 14.7.45: fundo ambar muito suave apenas nas custas ao Estado do resumo. */
@media print {
 #officialPrint #opSumTreasuryRow {background:#fffaf2!important;}
}

/* 14.7.46: destaque leve apenas no reembolso do resumo. */
@media print {
 #officialPrint #opSumReimbursementRow,
 #officialPrint #opSumReimbursementRow > span {font-weight:600!important;}
}

/* 14.7.47: resumo consolidado e base antes dos acrescimos. */
@media print {
 #officialPrint #opAdditionsBaseRow {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:8px!important;row-gap:2px!important;
  margin-top:4px!important;padding-top:5px!important;
  border-top:1px solid #b8cfe3!important;
 }
 #officialPrint #opAdditionsBaseRow > .op-base-title {
  grid-column:1 / -1;grid-row:1;font-weight:600!important;
 }
 #officialPrint #opAdditionsBaseRow > .op-base-note {
  grid-column:1;grid-row:2;
  font-size:6pt!important;line-height:1.2!important;
  color:#52606d;font-weight:400!important;
 }
 #officialPrint #opSumSubtotal {
  grid-column:2;grid-row:2;text-align:right;
  align-self:baseline;white-space:nowrap;font-weight:600!important;
 }
}

/* 14.7.52: alinhamento e parágrafos no demonstrativo dos índices e fontes. */
@media print{
.combined-indices-print .identification-field{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:7px;align-items:start}.combined-indices-print .identification-field strong{white-space:nowrap}.combined-indices-print .identification-field span{min-width:0;overflow-wrap:anywhere}.combined-indices-print .correction-table-name{font-size:9px;white-space:nowrap}.combined-indices-print .method p{margin:0 0 6px}.combined-indices-print .method p:last-child{margin-bottom:0}
}

/* 14.7.54: período à direita e textos justificados no relatório de fontes. */
@media print{
.combined-indices-print .method-grid .period-considered{padding-left:0;text-align:right;justify-self:end;white-space:nowrap}
.combined-indices-print .method p,.combined-indices-print .sources li{text-align:justify;text-justify:inter-word}
}

/* 14.7.55: emissão no eixo interno e espaço entre autoria e licença. */
@media print{
.combined-indices-print .meta{padding:0 12px}
.combined-indices-print.dense .meta{padding:0 9px}
.combined-indices-print .footer{padding-bottom:8mm;break-inside:avoid}
}

/* 14.7.56: impressão conjunta apresenta a metodologia apenas no relatório de fontes. */
@media print{
body.print-with-indices #officialPrint .op-method > :not(.op-sign){display:none!important}
body.print-with-indices #officialPrint .op-method{border:0!important;background:transparent!important;padding:0 10px!important;box-shadow:none!important}
}

/* 14.7.59: eixo direito comum na impressao conjunta */
@media print {
 .combined-indices-print{--pc-right-axis:12px;min-width:0}
 .combined-indices-print .meta{padding-right:var(--pc-right-axis)!important}
 .combined-indices-print .method-grid{padding-right:var(--pc-right-axis)!important;min-width:0}
 .combined-indices-print .method{padding-right:var(--pc-right-axis)!important;min-width:0}
 .combined-indices-print .sources{padding-right:var(--pc-right-axis)!important;min-width:0}
 .combined-indices-print .interest-table{width:calc(100% - var(--pc-right-axis))!important}
 .combined-indices-print .interest-table th:last-child,.combined-indices-print .interest-table td:last-child{padding-right:0!important}
 .combined-indices-print .method p,.combined-indices-print .sources li{text-align:justify!important;text-align-last:left!important;overflow-wrap:anywhere}
}

/* Alinha somente o rótulo ao título do quadro 4. */
.interest-criterion-caption{margin-left:42px;position:relative;top:-16px}
@media(max-width:620px){.interest-criterion-caption{margin-left:40px}}

/* Aviso de acesso encerrado: maior contraste e orientação em duas linhas. */
#accessMessage.access-expired-notice{
  box-sizing:border-box;
  width:100%;
  padding:14px 16px;
  border:1px solid #e5c76b;
  border-radius:9px;
  background:#fff8df;
  color:#493b18;
  font-size:15px;
  line-height:1.55;
  text-align:center;
  overflow-wrap:anywhere;
}
#accessMessage.access-expired-notice>strong{display:block;margin-bottom:4px;font-size:16px;font-weight:700;color:#493b18}
#accessMessage.access-expired-notice>span{display:block}
#accessMessage.access-expired-notice strong{font-weight:700}

/* Metodologia: faixa azul suave restrita ao titulo, com reproducao na impressao. */
@media print {
 .official-print .op-method-title {
  background:#edf3f8!important;
  color:#1f4e79!important;
  margin:-8px -10px 6px!important;
  padding:5px 10px!important;
  border-radius:4px 4px 0 0;
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact;
 }
}
/* 14.7.61: referencias compactas e maior area util para o resumo. */
@media print {
 .official-print .op-top-panels,
 body.print-hide-cause .official-print .op-top-panels {
  grid-template-columns:minmax(0,38fr) minmax(0,62fr)!important;
  gap:4mm!important;
  align-items:start!important;
 }
 .official-print .op-references-box {
  height:auto!important;
  min-height:0!important;
  border:0!important;
  border-top:1px solid #d2dfeb!important;
  border-radius:0!important;
  padding:8px 0!important;
  margin:0!important;
 }
 .official-print .op-references-box .op-pair {
  display:block!important;
  margin:7px 0 0!important;
 }
 .official-print .op-references-box .op-pair b {
  display:block;
  font-weight:400!important;
  color:#52606d;
 }
 .official-print .op-references-box .op-pair strong {
  display:block;
  margin-top:2px;
  text-align:left!important;
  font-size:8pt!important;
  font-weight:600!important;
  white-space:nowrap;
 }
 .official-print .op-references-box .op-under {border:0!important;padding:0!important;}
 .official-print .op-box,
 .official-print .op-method,
 .official-print .op-debt-table,
 .official-print .op-summary {border-color:#d2dfeb!important;}
 .official-print .op-references-box {border-width:1px 0 0!important;}
 .official-print .op-summary {background:#fff!important;padding:9px!important;}
 .official-print .op-summary-title {padding:0 4px 5px!important;}
 .official-print .op-summary .op-total {
  background:#1f4e79!important;
  padding:6px!important;
  margin-top:5px;
  border-radius:3px!important;
 }
 .official-print .op-summary .op-total > span {background:transparent!important;}
 .official-print #opSumReimbursementRow,
 .official-print #opSumReimbursementRow > span {font-weight:400!important;}
 .official-print #opSumTreasuryRow {background:#fff!important;border-top-color:#d2dfeb!important;}
 .official-print .op-dates .op-pair {background:#f5f8fb!important;}
 .official-print .op-dates .op-pair:last-child {background:#edf3f8!important;}
}
@media print {
 #officialPrint .op-summary .op-total {
  background:#1f4e79!important;
  padding:6px!important;
 }
 #officialPrint .op-summary .op-total > span {
  color:#fff!important;
  background:transparent!important;
 }
 #officialPrint #opSumReimbursementRow,
 #officialPrint #opSumReimbursementRow > span {font-weight:400!important;}
 #officialPrint #opSumTreasuryRow {background:#fff!important;border-top-color:#d2dfeb!important;}
}

/* 14.7.62: referencia compacta e observacao independente do valor da causa. */
@media print {
 #officialPrint .op-references-box {
  background:#f3f6f9!important;
  border:0!important;
  border-radius:4px!important;
  padding:9px 10px!important;
  height:auto!important;
  min-height:0!important;
 }
 #officialPrint .op-references-box .op-pair strong {font-weight:500!important;}
 #officialPrint .op-observation:not([hidden]) {
  display:block!important;
  margin:0 0 3mm;
  padding:7px 10px;
  border-left:2px solid #d2dfeb;
  break-inside:avoid;
  page-break-inside:avoid;
 }
 #officialPrint .op-observation[hidden] {display:none!important;}
 #officialPrint .op-observation .op-heading {
  margin:0 0 4px!important;
  font-size:6pt!important;
  font-weight:600!important;
 }
 #officialPrint #opObservation {
  margin:0;
  font-size:7.5pt;
  line-height:1.35;
  color:#203044;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  text-align:justify;
 }
}

/* 14.7.63: observacoes sob a referencia, com base alinhada ao resumo. */
@media print {
 #officialPrint .op-top-panels {
  align-items:stretch!important;
  break-inside:avoid;
  page-break-inside:avoid;
 }
 #officialPrint .op-cause-panel {
  display:flex!important;
  flex-direction:column;
  gap:8px;
  min-width:0;
 }
 #officialPrint .op-references-box {flex:0 0 auto;}
 #officialPrint .op-cause-panel .op-observation:not([hidden]) {
  flex:1 0 auto;
  display:block!important;
  background:#f3f6f9!important;
  border:0!important;
  border-radius:4px!important;
  margin:0!important;
  padding:9px 10px!important;
 }
 #officialPrint .op-observation .op-heading {margin:0 0 6px!important;}
 #officialPrint #opObservation {
  font-size:7pt!important;
  line-height:1.35;
  font-weight:400!important;
  text-align:left;
 }
 #officialPrint .op-summary {height:100%;}
 body.print-hide-cause #officialPrint .op-cause-panel .op-observation {display:none!important;}
}

/* 14.7.64: total exequendo abaixo das custas estaduais, com subtitulo. */
@media print {
 #officialPrint #opExecutionTotalRow:not([hidden]) {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:8px!important;row-gap:2px!important;
  margin-top:5px!important;padding:6px 4px!important;
  border-top:1px solid #b8cfe3!important;
  background:#edf3f8!important;border-radius:3px;
 }
 #officialPrint #opExecutionTotalRow > .op-base-title {
  grid-column:1 / -1;grid-row:1;font-weight:600!important;
 }
 #officialPrint #opExecutionTotalRow > .op-base-note {
  grid-column:1;grid-row:2;
  font-size:6pt!important;line-height:1.2!important;
  color:#52606d;font-weight:400!important;
 }
 #officialPrint #opSumExecutionTotal {
  grid-column:2;grid-row:2;text-align:right;
  align-self:baseline;white-space:nowrap;font-weight:600!important;
 }
 #officialPrint #opExecutionTotalRow[hidden] {display:none!important;}
}

/* 14.7.65: limites dos textos livres, sem ampliar o resumo. */
.print-field-hint {display:block;margin-top:5px;font-size:11px;line-height:1.35;color:#52606d;font-weight:400;}
.print-field-hint.limit-error {color:#a32620;font-weight:600;}
[aria-invalid="true"] {outline:1px solid #a32620!important;}
@media print {
 #officialPrint .op-cause-panel {contain:size;min-height:0!important;}
 #officialPrint .op-cause-panel .op-observation:not([hidden]) {flex:1 1 0!important;min-height:0!important;}
 #officialPrint #opObservation {white-space:pre-wrap;overflow-wrap:anywhere;margin:0!important;}
 #officialPrint #opSumOtherAdditionRow > span:first-child {flex:1 1 auto;min-width:0;white-space:nowrap;}
 #officialPrint #opSumOtherAddition {flex:0 0 auto;white-space:nowrap;}
}
.generic-addition-description .print-field-hint {grid-column:2;margin-top:0;}
@media(max-width:720px){.generic-addition-description .print-field-hint {grid-column:1;}}

/* 14.7.66: somente o conteudo do resumo determina a altura desta faixa. */
@media print {
 #officialPrint .op-top-panels {position:relative!important;align-items:start!important;}
 #officialPrint .op-summary-wrap {grid-column:2!important;align-self:start!important;}
 #officialPrint .op-summary {height:auto!important;}
 #officialPrint .op-cause-panel {
  position:absolute!important;left:0!important;top:0!important;bottom:0!important;
  width:calc((100% - 4mm) * 0.38)!important;
  height:auto!important;contain:none!important;
  min-height:0!important;max-height:100%!important;
 }
 #officialPrint .op-cause-panel .op-observation:not([hidden]) {
  flex:1 1 0!important;min-height:0!important;
 }
}

/* 14.7.67: aviso compacto dentro do campo de descricao. */
.addition-description-input {position:relative;min-width:0;width:100%;margin-top:6px;}
.generic-addition-description .addition-description-input input {margin-top:0!important;padding-right:119px!important;}
.generic-addition-description .addition-description-input .print-field-hint {
 position:absolute;right:10px;top:50%;transform:translateY(-50%);
 margin:0;white-space:nowrap;font-size:10px;line-height:1.2;
 pointer-events:none;background:transparent;
}

/* 14.7.68: observacao com a mesma altura da referencia, independente do resumo.
   A segunda celula nao recebe altura do texto: somente a referencia dimensiona
   as duas linhas iguais. O conteudo excedente e validado antes da impressao. */
@media print {
 #officialPrint .op-top-panels {align-items:start!important;}
 #officialPrint .op-cause-panel {
  position:static!important;inset:auto!important;width:auto!important;
  height:auto!important;max-height:none!important;contain:none!important;
  display:grid!important;grid-template-rows:auto;gap:8px;
  align-self:start!important;min-height:0!important;
 }
 #officialPrint .op-cause-panel:has(.op-observation:not([hidden])) {
  grid-template-rows:repeat(2,minmax(0,1fr));
 }
 #officialPrint .op-observation-slot {position:relative;min-height:0;min-width:0;}
 #officialPrint .op-observation-slot:has(.op-observation[hidden]) {display:none!important;}
 #officialPrint .op-cause-panel .op-observation:not([hidden]) {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;min-height:0!important;
  box-sizing:border-box!important;
 }
 #officialPrint .op-summary {height:auto!important;}
}

/* 14.7.69: quadros compactos de altura fixa para pequenas observacoes. */
@media print {
 #officialPrint .op-cause-panel {
  display:flex!important;flex-direction:column!important;gap:8px!important;
  height:auto!important;max-height:none!important;align-self:start!important;
 }
 #officialPrint .op-cause-panel .op-references-box,
 #officialPrint .op-cause-panel .op-observation-slot {
  flex:0 0 30mm!important;height:30mm!important;min-height:30mm!important;max-height:30mm!important;
  box-sizing:border-box!important;
 }
 #officialPrint .op-observation-slot:has(.op-observation[hidden]) {display:none!important;}
 #officialPrint .op-cause-panel .op-observation:not([hidden]) {
  height:30mm!important;max-height:30mm!important;box-sizing:border-box!important;
 }
}

/* 14.7.71: espaco para o contador com aviso de limite atingido. */
.generic-addition-description .addition-description-input input {padding-right:136px!important;}

/* Indicação apenas na tela e comunicação com os usuários. */
.references-box .money-row{grid-template-columns:300px 122px minmax(0,1fr)!important}
.cause-screen-hint{color:#64748b;font-size:10px;font-weight:400;white-space:nowrap}
.cause-hint-row .cause-calculation-status{grid-row:2}
.support-dialog{width:min(720px,calc(100% - 28px));max-height:88vh;padding:0;border:1px solid #ccd8e5;border-radius:12px;color:#334155;box-shadow:0 20px 70px #0f172a55}
.support-dialog::backdrop{background:#0f172a88}.support-head{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:#1f4e79;color:white}.support-head h2{margin:0;font-size:21px}.support-body{padding:20px}.support-dialog label{display:block;margin:12px 0 5px;font-weight:600}.support-dialog input,.support-dialog textarea{display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid #bccddd;border-radius:6px;font:inherit}.support-dialog textarea{resize:vertical}.support-dialog button{padding:8px 12px;border:1px solid #bccddd;border-radius:6px;background:#f3f7fb;color:#1f4e79;cursor:pointer}.support-dialog button[type=submit]{display:block;margin-top:12px;background:#1f4e79;color:white}.support-dialog small{color:#64748b}.support-head button{background:transparent;color:white;border-color:#ffffff66}.support-history{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.support-item{display:block;width:100%;text-align:left;margin-bottom:8px;overflow-wrap:anywhere}.support-item small{display:block;margin-top:4px}#supportDetail p{white-space:pre-wrap;overflow-wrap:anywhere}#supportDetail h4{margin-bottom:6px}#supportStatus{white-space:pre-wrap}.support-notice{position:static;display:block;width:max-content;max-width:100%;margin:16px auto 0;padding:13px 18px;border:1px solid #f0d99a;border-left:4px solid #d5a43a;border-radius:10px;background:#fff9e9;color:#795419;box-shadow:0 3px 12px #7954190d;cursor:pointer;text-align:center;line-height:1.5}
body:not(.pontescalc-access-granted) .support-notice{display:none}
@media(max-width:700px){.references-box .money-row{grid-template-columns:minmax(0,1fr) 122px!important}.cause-hint-row .cause-calculation-status{grid-row:2}}
@media print{.cause-screen-hint,#supportBtn,#supportNotice,#supportDialog,#supportAdminBtn{display:none!important}}

/* Atendimento: leitura direta, histórico e nova solicitação em telas distintas. */
.support-dialog [hidden]{display:none!important}
.support-navigation{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.support-navigation button[aria-pressed="true"]{background:#1f4e79;color:white;border-color:#1f4e79}
.support-item.unread{border-left:4px solid #1f4e79;background:#edf5fc}
#supportDetail{padding:16px 18px;background:#f7fafd;border:1px solid #d7e3ee;border-radius:8px}
#supportDetail h3{margin-top:0;color:#1f4e79;font-size:18px;overflow-wrap:anywhere}
#supportDetail h3:focus{outline:none}
#supportDetail h4{color:#1f4e79;font-size:14px}
#supportDetail p{font-size:14px;line-height:1.65}
.support-mail-status{margin-top:18px;border-top:1px solid #d7e3ee;padding-top:12px;color:#64748b;font-size:12px!important}

.support-notice:focus-visible{outline:3px solid #b8841e;outline-offset:3px}

.support-notice[hidden]{display:none!important}

.support-dialog .support-delete{display:block;margin-top:18px;border-color:#edc4bf;background:#fff5f3;color:#a33226}

/* Marco inicial coletivo dos juros - versao 14.7.80 */
.global-interest-start{margin-top:14px;padding:14px 16px;border:1px solid #d8e3ed;border-radius:10px;background:#f8fbfe;display:flex;flex-wrap:wrap;align-items:end;gap:10px 16px}
.global-interest-start>strong{width:100%;color:#233a51;font-size:14px}
.global-interest-start>label{display:flex;flex-direction:column;gap:5px;font-size:12px;flex:1 1 210px}
.global-interest-start select,.global-interest-start input{width:100%;min-height:38px}
.global-interest-start>small{width:100%;color:#657487;line-height:1.45}
.global-interest-start [hidden]{display:none!important}

/* Auditoria dos fatores — impressão e tela, sem interferir nos quadros existentes */
.correction-audit{margin:7px 5px 9px;padding:7px 9px;border-left:3px solid #1f4e79;background:#f5f8fc;color:#1f2937;font-size:7pt;line-height:1.4;overflow-wrap:anywhere}
.correction-audit-title{font-weight:700;color:#1f4e79;margin-bottom:5px;font-size:7.1pt}
.op-method .correction-audit p{font-size:6.8pt;line-height:1.35;margin:4px 0;text-align:justify}
.op-method .correction-audit .correction-audit-note{color:#526477;font-size:6.4pt}
@media print{.correction-audit{break-inside:auto;page-break-inside:auto;-webkit-print-color-adjust:exact;print-color-adjust:exact}.op-method:has(.correction-audit:not([hidden])){break-inside:auto;page-break-inside:auto}}

/* 14.7.86 - tipografia equilibrada apenas na combinacao de indices */
.correction-combination-fields label{font-weight:600}
.correction-combination-fields select,.correction-combination-fields input{font-weight:400}
.correction-combination-toggle{font-weight:600}

/* 14.7.88 - coluna IPCA na tabela administrativa */
.indices-table .indices-col-competencia{width:15%}
.indices-table .indices-col-tjsp{width:15%}
.indices-table .indices-col-tjmg{width:16%}
.indices-table .indices-col-legal{width:17%}
.indices-table col:nth-child(5){width:17%}
.indices-table .indices-col-acoes{width:20%}

/* Comparacao educativa art. 406 - ambiente TESTE */
.art406-choice{margin:16px 0;padding:17px 18px;border:1px solid #b9d3e8;border-radius:12px;background:#f6faff;color:#25445f;line-height:1.5}
.art406-choice[hidden]{display:none!important}.art406-choice>strong{font-size:14px}.art406-choice p{font-size:12px;margin:8px 0 12px}.art406-beta{font-size:10px;color:#946200;background:#fff0c7;padding:3px 6px;border-radius:5px;margin-left:6px}.art406-option{display:flex!important;gap:10px;align-items:flex-start!important;background:#fff;border:1px solid #d5e3ed;border-radius:9px;padding:11px 12px;margin:8px 0;cursor:pointer}.art406-option input{width:17px;height:17px;margin-top:2px;flex:none;accent-color:#1f4e79}.art406-option span{display:block}.art406-option b{font-size:12px;display:block}.art406-option small{display:block;font-size:11px;color:#546b7f;margin-top:4px}.art406-choice details{font-size:12px;margin:12px 0}.art406-choice summary{cursor:pointer;font-weight:700}.art406-choice a{display:inline-block;font-size:12px;font-weight:700;color:#1f4e79;margin:6px 0}.art406-choice>small{display:block;font-size:11px;color:#637a8c}

/* 14.7.96 TESTE — somente apresentação do relatório auxiliar.
   Sem alteração nas fórmulas, autenticação ou base de índices. */
@media print {
 body.print-with-indices .combined-indices-print {
   box-sizing:border-box!important;
   min-height:0!important;
   height:auto!important;
   padding:1.5mm 3mm 0!important;
   font-size:9px!important;
   line-height:1.20!important;
   break-before:page!important;
   page-break-before:always!important;
 }
 .combined-indices-print h1{font-size:15px!important}
 .combined-indices-print h2{font-size:10.5px!important;margin:6px 0 3px!important;padding-bottom:2px!important}
 .combined-indices-print .subtitle{margin-bottom:5px!important}
 .combined-indices-print .identification{padding:5px 7px!important;gap:2px 8px!important}
 .combined-indices-print .meta{margin:4px 0 0!important}
 .combined-indices-print .method-grid,.combined-indices-print .method{padding:5px 7px!important}
 .combined-indices-print .method p{margin:0 0 3px!important}
 .combined-indices-print .interest-table th,.combined-indices-print .interest-table td,
 .combined-indices-print .reconcile-table th,.combined-indices-print .reconcile-table td{padding:3px 4px!important;font-size:8.3px!important;line-height:1.18!important}
 .combined-indices-print .sources{padding:4px 8px 4px 23px!important;font-size:8px!important;line-height:1.18!important}
 .combined-indices-print .sources li{margin:2px 0!important;overflow-wrap:normal!important;text-align:left!important}
 .combined-indices-print .sources a{color:#1f4e79;text-decoration:underline}
 .combined-indices-print .footer{margin-top:6px!important;padding:3px 0 0!important;font-size:7.7px!important;break-inside:avoid!important}
 .combined-indices-print .audit-explain,.combined-indices-print .reconcile-note{margin:2px 0 4px!important;font-size:8.4px!important;line-height:1.2!important}
 .combined-indices-print .reconcile-table{width:100%;border-collapse:collapse;table-layout:fixed}
 .combined-indices-print .reconcile-table th{background:#eaf2f8!important;color:#1f4e79!important}
 .combined-indices-print .reconcile-table th,.combined-indices-print .reconcile-table td{border:1px solid #94a3b8}
 .combined-indices-print .sources,.combined-indices-print .footer{position:relative;z-index:2;background:#f8fafc}
}

/* 14.7.98: auditoria longa e comparativo em paginas sucessivas */
@media print{
 .combined-indices-print table{break-inside:auto!important;page-break-inside:auto!important}
 .combined-indices-print thead{display:table-header-group!important}
 .combined-indices-print tr{break-inside:avoid!important;page-break-inside:avoid!important}
 .combined-indices-print .comparison-table{width:100%;table-layout:fixed;border-collapse:collapse}
 .combined-indices-print .comparison-table th,.combined-indices-print .comparison-table td{font-size:8.2px;padding:3px 4px;border:1px solid #94a3b8}
 .combined-indices-print .comparison-total{background:#eaf2f8}
 .combined-indices-print .comparison-section{break-before:auto}
}
#printCompareMethodsWrap[hidden]{display:none!important}

/* v14.7.101 — alerta contextual na escolha do art. 406 (somente interface) */
.art406-legal-alert{background:#fff8e9;border:1px solid #e8c888;border-left:4px solid #d58b17;border-radius:8px;padding:11px 13px;margin:12px 0;color:#704c16}
.art406-legal-alert strong{display:block;font-size:12px;color:#80520e}
.art406-legal-alert p{margin:5px 0 0;font-size:12px;line-height:1.5;color:#704c16}
@media print{.art406-legal-alert{display:none!important}}

/* Art. 406 - confirmacao do Metodo B (apenas interface) */
.art406-confirm-overlay[hidden],.art406-confirmed[hidden]{display:none!important}
.art406-confirm-overlay{position:fixed;inset:0;background:rgba(20,28,42,.52);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}
.art406-confirm-dialog{width:min(100%,500px);background:#fff;border:1px solid #dfb869;border-left:5px solid #cf8615;border-radius:12px;box-shadow:0 18px 55px rgba(0,0,0,.24);padding:23px;color:#3f3424;line-height:1.55}
.art406-confirm-dialog h3{font-size:17px;color:#81500c;margin:0 0 13px}
.art406-confirm-dialog p{font-size:13px;margin:10px 0}
.art406-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
.art406-confirm-actions button{border:1px solid #d1a45b;border-radius:7px;padding:9px 15px;cursor:pointer;font-weight:600;background:white;color:#6f4a14}
#art406ConfirmAccept{background:#aa6811;color:white;border-color:#aa6811}
.art406-confirmed{margin:10px 0;color:#236344;font-size:12px;font-weight:600}
@media print{.art406-confirm-overlay,.art406-confirmed{display:none!important}}

/* v14.7.113: opcoes de detalhamento e tipografia mais leve */
.print-option-check strong{font-weight:600!important}
.print-option-check small{font-weight:400!important}
.print-option-check[hidden],.print-individual-picker[hidden]{display:none!important}
.print-individual-picker{margin:-7px 0 15px;padding:12px 15px;border:1px solid #d5e0e9;border-radius:10px;background:#fff}
.print-picker-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;font-weight:600;color:#24496f;margin-bottom:8px}
.print-picker-head label{font-weight:400;display:flex;align-items:center;gap:6px}
.print-debt-list{max-height:150px;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}
.print-debt-list label{font-size:11px;display:flex;align-items:center;gap:6px;font-weight:400;overflow-wrap:anywhere}
.print-debt-list input{accent-color:#1F4E79}
@media(max-width:480px){.print-debt-list{grid-template-columns:1fr}}
.combined-indices-print .individual-interest-table{font-size:9px;table-layout:fixed}
.combined-indices-print .individual-interest-table th,.combined-indices-print .individual-interest-table td{padding:4px 5px;text-align:right}
.combined-indices-print .individual-interest-table th:first-child,.combined-indices-print .individual-interest-table td:first-child{text-align:left}
.combined-indices-print .individual-interest-block{break-inside:avoid;page-break-inside:avoid;margin:8px 0 13px}

/* v14.7.114: selecao de parcelas compacta e legivel */
.print-individual-picker{padding:13px 15px;margin:-6px 0 15px}
.print-picker-head{margin-bottom:11px}
.print-picker-head label{cursor:pointer}
.print-picker-head input[type="checkbox"],
.print-debt-list input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;
  width:16px!important;height:16px!important;min-width:16px!important;
  max-width:16px!important;max-height:16px!important;
  margin:0!important;padding:0!important;flex:0 0 16px!important;
  transform:none!important;box-shadow:none!important;accent-color:#1F4E79;
}
.print-debt-list{max-height:144px;overflow-y:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 15px;padding:2px 8px 2px 0;align-content:start}
.print-debt-list label{display:flex;align-items:center;gap:9px;min-width:0;line-height:1.35;font-size:12px;cursor:pointer;overflow-wrap:normal}
.print-debt-list label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
@media(max-width:480px){.print-debt-list{grid-template-columns:minmax(0,1fr)}}

/* v14.7.115: hierarquia visual e seletores circulares para parcelas */
#printIndividualAuditOption{margin-left:14px!important;margin-right:0!important;width:calc(100% - 14px)!important;background:#f9fbfd!important}
.print-individual-picker{margin:-7px 0 16px 28px!important;width:calc(100% - 28px)!important;box-sizing:border-box;padding:13px 15px!important}
.print-debt-list input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;
  border:1.5px solid #8498ae!important;border-radius:50%!important;
  width:16px!important;height:16px!important;min-width:16px!important;
  background:#fff!important;display:inline-grid!important;place-content:center!important;
  cursor:pointer!important;position:relative!important;flex:0 0 16px!important;
}
.print-debt-list input[type="checkbox"]:checked{border-color:#1F4E79!important;background:#1F4E79!important}
.print-debt-list input[type="checkbox"]:checked::after{content:"";width:5px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.print-debt-list input[type="checkbox"]:focus-visible{outline:2px solid #5b8fc4!important;outline-offset:2px!important}
@media(max-width:480px){#printIndividualAuditOption{margin-left:8px!important;width:calc(100% - 8px)!important}.print-individual-picker{margin-left:14px!important;width:calc(100% - 14px)!important}}

/* v14.7.117: opcao subordinada com recuo maior e checkbox circular */
#printIndividualAuditOption{
  margin-left:32px!important;
  width:calc(100% - 32px)!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
#printIndividualAuditOption > input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:18px!important;height:18px!important;min-width:18px!important;
  flex:0 0 18px!important;
  border:1.5px solid #8195aa!important;
  border-radius:50%!important;
  background:#fff!important;
  display:inline-grid!important;
  place-content:center!important;
  margin:2px 0 0!important;
  cursor:pointer!important;
}
#printIndividualAuditOption > input[type="checkbox"]:checked{
  border-color:#1F4E79!important;
  background:#1F4E79!important;
}
#printIndividualAuditOption > input[type="checkbox"]:checked::after{
  content:"";
  width:5px;height:9px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:translateY(-1px) rotate(45deg);
}
#printIndividualAuditOption > input[type="checkbox"]:focus-visible{
  outline:2px solid #5b8fc4!important;
  outline-offset:2px!important;
}
.print-individual-picker{
  margin-left:46px!important;
  width:calc(100% - 46px)!important;
}
@media(max-width:480px){
  #printIndividualAuditOption{margin-left:20px!important;width:calc(100% - 20px)!important}
  .print-individual-picker{margin-left:30px!important;width:calc(100% - 30px)!important}
}
