.gst-card { padding: 28px; }
.gst-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.gst-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }

.gst-mode-toggle { display: flex; gap: 0; border: 1px solid #e5e7eb; border-radius: 30px; padding: 4px; margin: 0 auto 24px; max-width: 360px; background: #f7f8fa; }
.gst-mode-btn { flex: 1; border: none; background: none; padding: 10px 16px; border-radius: 26px; font-weight: 700; font-size: .92em; color: #6b7280; cursor: pointer; transition: background .2s ease, color .2s ease; }
.gst-mode-btn.active { background: var(--site-dark); color: #fff; }
.gst-mode-btn:hover:not(.active) { color: var(--site-dark); }

.gst-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.gst-field-custom { grid-column: 1 / -1; }
.gst-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .92em; }
.gst-input-row { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; }
.gst-input-prefix { font-weight: 700; color: var(--site-dark); }
.gst-input-row input { border: none; outline: none; width: 100%; font-size: 1em; background: none; }
.gst-field select, .gst-field-custom input { border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; width: 100%; font-size: 1em; outline: none; box-sizing: border-box; }
.gst-field > input[type="number"] { border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; width: 100%; font-size: 1em; outline: none; box-sizing: border-box; }
.gst-input-row input[readonly], .gst-field > input[readonly] { background: #f7f8fa; color: var(--site-dark); font-weight: 700; }

.gst-adv-intro { color: #6b7280; font-size: .9em; margin: 0 0 18px; text-align: center; }

.gst-rate-row { display: flex; align-items: stretch; gap: 8px; }
.gst-rate-row select { flex: 1; min-width: 0; }
.gst-rate-row-input { flex: 1; min-width: 0; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: 1em; outline: none; box-sizing: border-box; }
.gst-supply-switch { display: flex; flex-shrink: 0; min-width: 148px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.gst-supply-btn { flex: 1; border: none; background: #f7f8fa; color: #6b7280; font-size: .72em; font-weight: 700; padding: 0 9px; cursor: pointer; white-space: nowrap; text-align: center; transition: background .2s ease, color .2s ease; }
.gst-supply-btn:not(:first-child) { border-left: 1px solid #ddd; }
.gst-supply-btn.active { background: var(--site-dark); color: #fff; }
.gst-supply-btn:hover:not(.active) { color: var(--site-dark); }

.gst-results { border-radius: 10px; border: 1px solid #eee; padding: 20px; background: #fafbfc; }
.gst-result-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid #eee; }
.gst-result-row:last-of-type { border-bottom: none; }
.gst-result-highlight .gst-r-value { color: var(--site-dark); font-size: 1.25em; font-weight: 800; }
.gst-r-label { font-size: .88em; color: #6b7280; font-weight: 600; }
.gst-r-value { font-size: 1.05em; font-weight: 700; color: #23272f; }

.gst-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ddd; }
.gst-split-item { text-align: center; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 12px; }
.gst-split-item .gst-r-label { display: block; margin-bottom: 6px; }
.gst-split-item .gst-r-value { font-size: 1.1em; color: var(--site-dark-2); }
.gst-split-item-full { grid-column: 1 / -1; }

@media (max-width: 600px) {
    .gst-inputs { grid-template-columns: 1fr; }
    .gst-mode-toggle { max-width: 100%; }
    .gst-rate-row { flex-wrap: wrap; }
    .gst-supply-switch { flex: 1; }
    .gst-supply-btn { flex: 1; padding: 8px 6px; }
}
