/* Scoped GST-only controls; no changes to other business or financial calculators. */
#gse-biz-form > [hidden], #gse-fin-form > [hidden], #gse-biz-result[hidden], #gse-fin-result[hidden], .gse-gst-simple [hidden] {display:none!important}
.gse-gst-simple{border:1px solid #466482;background:#162d48;border-radius:13px;margin:20px 0;padding:20px;color:#f2f6ff;max-width:100%;box-sizing:border-box}
.gse-gst-simple *{box-sizing:border-box}
.gse-gst-simple h2{color:#ffc24f;font-size:1.28rem;margin:0 0 9px}
.gse-gst-intro,.gse-gst-footnote{color:#b7cbe2;font-size:.92rem;line-height:1.55;margin:0 0 17px}
.gse-gst-footnote{margin:18px 0 0}.gse-gst-footnote a{color:#ffd06a}
.gse-gst-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;row-gap:14px;margin:13px 0 18px;align-items:stretch}
.gse-gst-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600;font-size:.92rem;line-height:1.3}
.gse-gst-field>span{min-height:2.4em;display:flex;align-items:end}
.gse-gst-field>input,.gse-gst-field>select,.gse-gst-extra input[type=number]{width:100%;min-width:0;height:49px;border:1px solid #587796;border-radius:8px;background:#0c2037;color:#f7faff;padding:9px 12px;font:inherit;outline-offset:2px}
.gse-gst-field input:focus,.gse-gst-field select:focus,.gse-gst-extra input:focus{outline:2px solid #ffc24f}
.gse-gst-field input::placeholder{color:#9aafc7}
.gse-gst-simple .gse-gst-wide{grid-column:span 2}
.gse-gst-simple option{color:#f7faff;background:#0e2941}
.gse-gst-status,.gse-gst-rate-note{line-height:1.5;background:#1b3855;border-left:3px solid #829fbd;margin:12px 0 17px;padding:10px 12px;border-radius:4px;color:#dce9fa}
.gse-gst-rate-note{border-left-color:#f4ba56}
.gse-gst-search-options{grid-column:span 2;max-height:200px;overflow:auto;border:1px solid #6886a5;border-radius:8px;padding:5px;display:grid;gap:4px}
.gse-gst-search-options button{text-align:left;background:#203d5a;color:#fff;border:0;border-radius:5px;padding:9px 10px;cursor:pointer}
.gse-gst-search-options button:hover{background:#355b7e}
.gse-gst-extras{margin:19px 0 10px;border:1px solid #466482;border-radius:9px;padding:12px 15px;background:#1a314d}
.gse-gst-extras summary{cursor:pointer;font-weight:700;color:#f4f6ff;padding:5px 0}
.gse-gst-extra{display:grid;gap:8px;min-width:0}.gse-gst-extra>span{display:flex;align-items:center;gap:7px;line-height:1.4}
.gse-gst-extra input[type=checkbox]{width:17px;height:17px;accent-color:#ffc24f}
.gse-gst-extra input[type=number]:disabled{opacity:.45}
.gse-gst-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0 14px}
.gse-gst-buttons button{font-size:.94rem;font-weight:700;cursor:pointer;border:0;border-radius:9px;background:#ffc24f;color:#071c33;padding:12px 19px}
.gse-gst-buttons button+button{background:#324d6d;color:#fff}
.gse-gst-results{border:1px solid #4a6584;padding:13px;border-radius:9px;min-height:54px;overflow:auto;background:#122942}
.gse-gst-results table{width:100%;border-collapse:collapse}.gse-gst-results th,.gse-gst-results td{padding:10px 8px;text-align:left;border-bottom:1px solid #37516b;font-size:.93rem}
.gse-gst-results td{text-align:right;font-variant-numeric:tabular-nums}.gse-gst-result-note{color:#bfd1e3;line-height:1.5;margin:14px 6px 0}.gse-gst-error{color:#ffb2a5;margin:4px}
@media(max-width:650px){.gse-gst-simple{padding:12px}.gse-gst-fields{grid-template-columns:1fr}.gse-gst-simple .gse-gst-wide,.gse-gst-search-options{grid-column:auto}.gse-gst-field>span{min-height:0}}

/* Differentiate the inclusive/exclusive price converter from invoice-line entry. */
.gse-gst-price-only{border-color:#4e718a}
.gse-gst-price-only .gse-gst-core{border:1px solid #456483;border-radius:10px;padding:16px;background:#102b46;margin:18px 0}
.gse-gst-price-only .gse-gst-optional-classification{margin-top:14px}
.gse-gst-price-only .gse-gst-core .gse-gst-field>span{min-height:1.4em}
.gse-gst-invoice-line .gse-gst-extra-fields{margin-top:12px}

/* The GST Amount tool operates on one aggregate taxable amount, NOT an invoice line. */
.gse-gst-amount-only .gse-gst-core{border:1px solid #486c89;border-radius:10px;padding:16px;background:#102c47;margin:18px 0}
.gse-gst-amount-only .gse-gst-optional-classification{margin-top:14px}
.gse-gst-amount-only .gse-gst-core .gse-gst-field>span{min-height:1.6em}
.gse-gst-amount-only #gst-results th{font-weight:600}
