/* Startiqo Phase 11: calculator estimate tools, quotation and estimate pages (uses the approved tokens: cream, midnight, gold, Outfit) */
.gx-est{margin-top:14px;padding:14px;border:1px dashed rgba(11,13,16,.18);border-radius:14px;background:rgba(245,196,0,.06)}
.gx-est-t{margin:0 0 8px;font-weight:700;font-size:.95rem}
.gx-est-b{display:flex;flex-wrap:wrap;gap:8px}
.gx-est-b .btn{flex:1 1 auto;white-space:normal}
.gx-form{display:grid;gap:10px;margin-top:12px}
.gx-form label{display:grid;gap:4px;font-size:.9rem;font-weight:600}
.gx-form input:not([type=checkbox]){width:100%;padding:10px 12px;border:1px solid rgba(11,13,16,.2);border-radius:10px;font:inherit;background:#fff}
.gx-form .gx-chk{display:flex;gap:8px;align-items:flex-start;font-weight:400;font-size:.82rem}
.gx-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px}
.gx-msg{margin:8px 0 0;min-height:1em}
/* printable estimate / quotation */
.gx-doc{max-width:900px;margin:0 auto;background:#fff;border-radius:22px;padding:clamp(18px,4vw,44px);box-shadow:0 10px 40px rgba(11,13,16,.06)}
.gx-doc-h{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:4px solid #F5C400;padding-bottom:18px;margin-bottom:20px}
.gx-doc-h .gx-brand{font-size:1.9rem;font-weight:800;letter-spacing:-.04em}
.gx-doc-h dl{margin:0;display:grid;grid-template-columns:auto auto;gap:2px 14px;font-size:.9rem}
.gx-doc-h dt{color:#5E5A52}.gx-doc-h dd{margin:0;font-weight:600}
.gx-doc h1{font-size:clamp(1.5rem,3.4vw,2.2rem);margin:0 0 6px}
.gx-doc h2{font-size:1.15rem;margin:26px 0 10px}
.gx-tbl{width:100%;border-collapse:collapse;font-size:.93rem}
.gx-tbl th,.gx-tbl td{padding:10px 8px;border-bottom:1px solid #eee5d3;text-align:left;vertical-align:top}
.gx-tbl th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#5E5A52}
.gx-tbl td.n,.gx-tbl th.n{text-align:right;white-space:nowrap}
.gx-tbl tfoot td{font-weight:700;border-bottom:0}
.gx-tbl .gx-sub{display:block;font-size:.8rem;color:#5E5A52;font-weight:400}
.gx-tot{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:16px}
.gx-tot div{background:#F6F3EC;border-radius:14px;padding:12px 14px}.gx-tot small{display:block;color:#5E5A52;font-size:.78rem}.gx-tot b{font-size:1.25rem}
.gx-tot .gold{background:linear-gradient(135deg,#EDA200,#F5C400 55%,#FFD84A)}
.gx-note{font-size:.85rem;color:#5E5A52}
.gx-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.gx-wrap{overflow-x:auto}
.gx-pill{display:inline-block;padding:4px 10px;border-radius:999px;background:#0B0D10;color:#fff;font-size:.75rem;font-weight:700}
.gx-pill.ok{background:#1F7A3D}.gx-pill.warn{background:#9E6B00}.gx-pill.bad{background:#9E2B1F}
/* phones: each fee row stacks (item on top, the three amounts below) instead of a squeezed four-column table */
@media (max-width:640px){
  .gx-tbl.gx-q thead{display:none}
  .gx-tbl.gx-q tr{display:grid;grid-template-columns:repeat(3,1fr);gap:2px 8px;padding:10px 0;border-bottom:1px solid #eee5d3}
  .gx-tbl.gx-q td{border:0;padding:2px 0}
  .gx-tbl.gx-q td:first-child{grid-column:1/-1}
  .gx-tbl.gx-q td.n{text-align:left}
  .gx-tbl.gx-q td.n::before{content:attr(data-l);display:block;font-size:.72rem;color:#5E5A52;font-weight:400}
}
/* the generic "Start filing" mobile bar does not belong on a quotation, estimate or payment page */
body:has(.gx-doc) #mbar, body:has([data-pay-req]) #mbar{display:none!important}
@media print{
  body{background:#fff!important}.gx-noprint,header,footer,nav,.cv-bar,.cv-consent,.top,.mm,.sq-wa-chip{display:none!important}
  .gx-doc{box-shadow:none;border-radius:0;padding:0;max-width:none}.auth-wrap,.wrap{padding:0!important;margin:0!important;max-width:none!important}
  a[href]:after{content:""}
}

/* GST-inclusive fees: the GST inside a fee is shown for information, not added again */
.gx-tbl tr.gx-inc td{color:#5E5A52;font-size:.85rem}
.gx-est-s{margin:-4px 0 10px;font-size:.8rem;color:#5E5A52}.gx-known{margin:0 0 4px}.gx-known b{word-break:break-all}
.so2-est-slot .gx-est{margin-top:18px;background:#FDFBF6}
