/* TaxGuru Presumptive Taxation Calculator — every rule is scoped under .tg-pres */
.tg-pres{--tg-accent:#0b5cab;--tg-line:#d9dee5;--tg-soft:#f5f7fa;--tg-text:#1d2733;--tg-muted:#5b6673;--tg-err:#b42318;
  box-sizing:border-box;max-width:860px;margin:24px 0;padding:20px;border:1px solid var(--tg-line);border-radius:10px;background:#fff;color:var(--tg-text);font-family:Poppins,system-ui,Arial,sans-serif;font-size:15px;line-height:1.45;text-align:left}
.tg-pres *,.tg-pres *::before,.tg-pres *::after{box-sizing:inherit}
.tg-pres [hidden]{display:none!important}
.tg-pres p,.tg-pres ul{margin:0 0 12px;text-align:left}
.tg-pres__intro{color:var(--tg-muted);font-size:14px}
.tg-pres__tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:2px solid var(--tg-line);margin:0 0 16px}
.tg-pres__tabs button{border:0;background:none;padding:10px 14px;font:inherit;font-weight:600;color:var(--tg-muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px}
.tg-pres__tabs button[aria-selected="true"]{color:var(--tg-accent);border-bottom-color:var(--tg-accent)}
.tg-pres__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:0 0 14px}
.tg-pres__row--4{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.tg-pres__field{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;border:0;min-width:0}
.tg-pres fieldset.tg-pres__field label{font-size:14px;display:block}
.tg-pres__label{font-size:13px;font-weight:600}
.tg-pres small{color:var(--tg-muted);font-size:12px}
.tg-pres input[type=text],.tg-pres input[type=date],.tg-pres select{width:100%;padding:8px 10px;border:1px solid var(--tg-line);border-radius:6px;font:inherit;background:#fff;color:inherit}
.tg-pres__entry{border:1px solid var(--tg-line);border-radius:8px;padding:12px;margin:0 0 10px;background:var(--tg-soft)}
.tg-pres__entryhead{display:flex;justify-content:space-between;margin:0 0 8px}
.tg-pres__link{border:0;background:none;color:var(--tg-accent);cursor:pointer;font:inherit;padding:0}
.tg-pres__check{display:block;margin:0 0 8px;font-size:14px}
.tg-pres__btn{background:var(--tg-accent);color:#fff;border:1px solid var(--tg-accent);border-radius:6px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer}
.tg-pres__btn--ghost{background:#fff;color:var(--tg-accent)}
.tg-pres__err{color:var(--tg-err);font-weight:600}
.tg-pres__result{border-top:1px solid var(--tg-line);padding-top:14px}
.tg-pres__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:0 0 14px}
.tg-pres__card{background:var(--tg-soft);border-radius:8px;padding:12px}
.tg-pres__card span{display:block;font-size:12px;color:var(--tg-muted)}
.tg-pres__card strong{font-size:20px}
.tg-pres__card--total{background:var(--tg-accent);color:#fff}
.tg-pres__card--total span{color:#dbe8f7}
.tg-pres__scroll{overflow-x:auto;margin:0 0 12px}
.tg-pres__table{width:100%;border-collapse:collapse;font-size:13px}
.tg-pres__table th,.tg-pres__table td{border:1px solid var(--tg-line);padding:6px 8px;text-align:right;white-space:nowrap}
.tg-pres__table th{background:var(--tg-soft);text-align:center}
.tg-pres__sum td{font-weight:600;background:var(--tg-soft)}
.tg-pres__notes{padding-left:20px;font-size:14px}
.tg-pres__notes li{margin:0 0 6px}
.tg-pres__disclaimer{font-size:12px;color:var(--tg-muted);margin-top:16px!important}
.tg-pres__vehicle{border:1px solid var(--tg-line);border-radius:8px;padding:12px;margin:0 0 10px;background:var(--tg-soft)}
.tg-pres__vhead{display:flex;justify-content:space-between;margin:0 0 8px}
.tg-pres__verdict{font-weight:700;padding:10px 12px;border-radius:6px}
.tg-pres__verdict.is-ok{background:#e7f6ee;color:#12703f}
.tg-pres__verdict.is-no{background:#fdecea;color:#b42318}
.tg-pres__table td:first-child{text-align:left;white-space:normal}
