/* GST Calculator — tool-specific styles. Most styling comes from toolkit.css.
   All selectors scoped under #trp-tool-root / prefixed .trp-gst- so nothing
   collides with Astra / Elementor / other tools. Uses shared tokens. */

#trp-tool-root .trp-gst-modes{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:18px;}
@media(min-width:560px){#trp-tool-root .trp-gst-modes{grid-template-columns:repeat(3,1fr);}}
#trp-tool-root .trp-gst-mode{width:100%;}
#trp-tool-root .trp-gst-mode.is-active{
  background:var(--trp-accent);color:var(--trp-on-accent);border-color:var(--trp-accent);
}
#trp-tool-root .trp-gst-mode.is-active:hover{background:var(--trp-accent-hov);}

#trp-tool-root .trp-gst-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-bottom:14px;}
@media(min-width:520px){#trp-tool-root .trp-gst-grid{grid-template-columns:1fr 1fr;}}

#trp-tool-root .trp-gst-rate,
#trp-tool-root .trp-gst-cur{appearance:auto;min-height:46px;cursor:pointer;}
#trp-tool-root .trp-gst-actions{margin-top:16px;}

#trp-tool-root .trp-gst-error{
  margin:14px 0 0;padding:11px 14px;border-radius:var(--trp-r-md);
  background:var(--trp-error-bg);color:var(--trp-error);font-size:14px;font-weight:500;
}

#trp-tool-root .trp-gst-result{margin-top:16px;}
#trp-tool-root .trp-gst-headline{
  font-family:var(--trp-font-head);font-weight:800;font-size:clamp(22px,5vw,32px);
  line-height:1.15;color:var(--trp-accent);text-align:center;word-break:break-word;letter-spacing:-.01em;
  background:var(--trp-surface-2);border:1px solid var(--trp-border);border-radius:var(--trp-r-lg);padding:20px;
}
#trp-tool-root .trp-gst-headline:empty{display:none;}
#trp-tool-root .trp-gst-stats{margin-top:14px;}
#trp-tool-root .trp-gst-stats .trpk-stats{grid-template-columns:1fr 1fr;}
@media(min-width:680px){#trp-tool-root .trp-gst-stats .trpk-stats{grid-template-columns:repeat(3,1fr);}}
#trp-tool-root .trp-gst-stats .trpk-stat__val{font-size:19px;word-break:break-word;}
#trp-tool-root .trp-gst-note{font-size:12px;color:var(--trp-muted);margin-top:12px;line-height:1.5;text-align:center;}

/* formula list in the content section (outside the widget root) */
.trp-gst-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.trp-gst-list li{
  background:var(--trp-surface);border:1px solid var(--trp-border);
  border-radius:var(--trp-r-md);padding:11px 14px;font-size:14px;color:var(--trp-ink-2);
}
.trp-gst-list li strong{color:var(--trp-ink);}
.trp-gst-list code{font-family:var(--trp-font-mono);font-size:.9em;background:var(--trp-accent-soft);color:var(--trp-ink);padding:1px 6px;border-radius:5px;}
