/* Controles aritméticos locales; sin sobrescribir el diseño de la web. */
.civi-tax-math-shell{margin:22px 0;padding:clamp(14px,3vw,28px);color:#eefaff;background:linear-gradient(125deg,#0b2447,#111839);border:1px solid #47c8ee;border-radius:18px}
.civi-tax-math-shell .civi-tool{margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.civi-tax-math-shell h2{font-size:clamp(21px,4vw,29px)}
.civi-tax-math-shell .civi-lead{font-size:15px;line-height:1.6;color:#e1efff}
.civi-tax-math-shell .civi-tax-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0}
.civi-tax-math-shell .civi-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#efffff;font-size:14px}
.civi-tax-math-shell .civi-field input,.civi-tax-math-shell .civi-field select,.civi-tax-math-shell .civi-month-row input{min-height:43px;width:100%;padding:9px;color:#fff;background:#112f4e;border:1px solid #669fbd;border-radius:8px;font:inherit}
.civi-tax-math-shell .civi-field input:focus-visible,.civi-tax-math-shell select:focus-visible,.civi-tax-math-shell button:focus-visible{outline:3px solid #ffe478;outline-offset:3px}
.civi-tax-math-shell .civi-month-ledger{grid-column:1/-1;display:grid;gap:8px}
.civi-tax-math-shell .civi-month-row{display:grid;grid-template-columns:85px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center}
.civi-tax-math-shell .civi-month-title{font-size:13px}
.civi-tax-math-shell .civi-caption{font-size:13px;color:#bddff2;line-height:1.5}
.civi-tax-math-shell .civi-button{display:inline-block;min-height:45px;margin:8px 6px 8px 0;padding:11px 17px;color:#08203f;background:#3ae1fa;border:1px solid #79f6ff;border-radius:10px;font:800 15px system-ui;cursor:pointer}
.civi-tax-math-shell .civi-privacy{border-left:3px solid #50dbfa;background:#0c3556;padding:12px;margin-top:18px;line-height:1.5}
.civi-tax-math-shell .civi-summary{display:grid;grid-template-columns:1fr auto;gap:8px}
.civi-tax-math-shell .civi-summary dt,.civi-tax-math-shell .civi-summary dd{margin:0;border-bottom:1px solid #395e7e;padding:8px 0}
.civi-tax-math-shell .civi-summary dd{text-align:right;font-weight:750}
.civi-tax-math-shell [hidden]{display:none!important}
@media(max-width:680px){.civi-tax-math-shell .civi-tax-fields{grid-template-columns:minmax(0,1fr)}.civi-tax-math-shell .civi-month-row{grid-template-columns:65px minmax(0,1fr) minmax(0,1fr);gap:5px}}
@media print{.civi-tax-math-shell{display:none!important}}
