/* TaxGuru Presumptive Taxation Calculator — every rule is scoped under .tg-gstc */
.tg-gstc{--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-gstc *,.tg-gstc *::before,.tg-gstc *::after{box-sizing:inherit}
.tg-gstc [hidden]{display:none!important}
.tg-gstc p,.tg-gstc ul{margin:0 0 12px;text-align:left}
.tg-gstc__intro{color:var(--tg-muted);font-size:14px}
.tg-gstc__tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:2px solid var(--tg-line);margin:0 0 16px}
.tg-gstc__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-gstc__tabs button[aria-selected="true"]{color:var(--tg-accent);border-bottom-color:var(--tg-accent)}
.tg-gstc__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:0 0 14px}
.tg-gstc__row--4{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.tg-gstc__field{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;border:0;min-width:0}
.tg-gstc fieldset.tg-gstc__field label{font-size:14px;display:block}
.tg-gstc__label{font-size:13px;font-weight:600}
.tg-gstc small{color:var(--tg-muted);font-size:12px}
.tg-gstc input[type=text],.tg-gstc input[type=date],.tg-gstc select{width:100%;padding:8px 10px;border:1px solid var(--tg-line);border-radius:6px;font:inherit;background:#fff;color:inherit}
.tg-gstc__entry{border:1px solid var(--tg-line);border-radius:8px;padding:12px;margin:0 0 10px;background:var(--tg-soft)}
.tg-gstc__entryhead{display:flex;justify-content:space-between;margin:0 0 8px}
.tg-gstc__link{border:0;background:none;color:var(--tg-accent);cursor:pointer;font:inherit;padding:0}
.tg-gstc__check{display:block;margin:0 0 8px;font-size:14px}
.tg-gstc__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-gstc__btn--ghost{background:#fff;color:var(--tg-accent)}
.tg-gstc__err{color:var(--tg-err);font-weight:600}
.tg-gstc__result{border-top:1px solid var(--tg-line);padding-top:14px}
.tg-gstc__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:0 0 14px}
.tg-gstc__card{background:var(--tg-soft);border-radius:8px;padding:12px}
.tg-gstc__card span{display:block;font-size:12px;color:var(--tg-muted)}
.tg-gstc__card strong{font-size:20px}
.tg-gstc__card--total{background:var(--tg-accent);color:#fff}
.tg-gstc__card--total span{color:#dbe8f7}
.tg-gstc__scroll{overflow-x:auto;margin:0 0 12px}
.tg-gstc__table{width:100%;border-collapse:collapse;font-size:13px}
.tg-gstc__table th,.tg-gstc__table td{border:1px solid var(--tg-line);padding:6px 8px;text-align:right;white-space:nowrap}
.tg-gstc__table th{background:var(--tg-soft);text-align:center}
.tg-gstc__sum td{font-weight:600;background:var(--tg-soft)}
.tg-gstc__notes{padding-left:20px;font-size:14px}
.tg-gstc__notes li{margin:0 0 6px}
.tg-gstc__disclaimer{font-size:12px;color:var(--tg-muted);margin-top:16px!important}
.tg-gstc__table td:first-child{text-align:left;white-space:normal}
.tg-gstc__head,.tg-gstc__line{display:grid;grid-template-columns:28px 2fr .7fr 1.3fr 1fr 1.2fr .7fr 28px;gap:8px;align-items:center}
.tg-gstc__head{font-size:12px;font-weight:600;color:var(--tg-muted);margin:4px 0 6px}
.tg-gstc__head span:nth-child(2){visibility:hidden}
.tg-gstc.is-multi .tg-gstc__head span:nth-child(2){visibility:visible}
.tg-gstc__line{margin:0 0 8px}
.tg-gstc__line label{margin:0;display:flex;flex-direction:column;gap:4px;min-width:0}
.tg-gstc__line label:first-of-type{visibility:hidden}
.tg-gstc.is-multi .tg-gstc__line label:first-of-type{visibility:visible}
.tg-gstc__ml{display:none;font-size:12px;font-weight:600}
.tg-gstc__no{font-weight:600;color:var(--tg-muted);text-align:center}
.tg-gstc__del{border:0;background:none;color:var(--tg-muted);font-size:20px;cursor:pointer;padding:0}
.tg-gstc__tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.tg-gstc__tools .tg-gstc__check{margin:0}
.tg-gstc__l{text-align:left!important;white-space:normal!important}
.tg-gstc__words{font-size:14px}
.tg-gstc__check{display:block;font-size:14px}
@media (max-width:640px){
  .tg-gstc__head{display:none}
  .tg-gstc__line{grid-template-columns:1fr 1fr;border:1px solid var(--tg-line);border-radius:8px;padding:10px;background:var(--tg-soft);position:relative}
  .tg-gstc__line label:first-of-type{visibility:visible;grid-column:1/-1}
  .tg-gstc__ml{display:block}
  .tg-gstc__no{position:absolute;top:6px;left:10px;font-size:12px}
  .tg-gstc__del{position:absolute;top:2px;right:8px}
}
