/* QTech Quotation Helper — production styles (ported 1:1 from Claude Design prototype) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.qth *{box-sizing:border-box}
/* Color hardening: the host theme styles bare <button>/<h1>/<label>/<input> elements
   (e.g. GeneratePress `button{color:var(--base-3)}`, `h1{color:var(--contrast)}`).
   The wizard's cards are <button>s, so set every text color explicitly here — never
   rely on inheritance — or theme rules win and text goes invisible on the white cards. */
.qth .qt,.qth .st,.qth .ft,.qth .bigt,.qth .tvl,.qth .lab,.qth .numval,.qth .optlabel,.qth .brandname,.qth .revv{color:var(--ink)}
.qth .bigcard,.qth .tvcard,.qth .revrow,.qth .opt,.qth .numbtn{color:var(--ink)}
.qth .inp{color:var(--ink)}
.qth .qh,.qth .bigd,.qth .numunit,.qth .revk,.qth .sp,.qth .brandsub{color:var(--muted)}
.qth{--red:#E11B22;--red-d:#B5141A;--ink:#171A20;--muted:#6B7280;--line:#E7E9EE;--surface:#F4F5F7;--green:#159A5B;background:var(--surface);font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;display:flex;justify-content:center}
.qth .shell{width:100%;max-width:560px;display:flex;flex-direction:column;min-height:640px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 1px 3px rgba(23,26,32,.06),0 8px 30px rgba(23,26,32,.06)}
.qth .top{padding:18px 22px 0;background:#fff;z-index:5}
.qth .brandrow{display:flex;align-items:center;gap:9px;margin-bottom:16px}
.qth .qth-logo{height:32px;width:auto;display:block}
.qth .qmark{width:30px;height:30px;border-radius:8px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;letter-spacing:-1px}
.qth .brandname{font-weight:800;font-size:17px;letter-spacing:-.3px}
.qth .brandname b{color:var(--red)}
.qth .brandsub{margin-left:auto;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}
.qth .track{height:5px;border-radius:99px;background:var(--surface);overflow:hidden}
.qth .fill{height:100%;background:var(--red);border-radius:99px;transition:width .45s cubic-bezier(.4,0,.2,1)}
.qth .meta{display:flex;justify-content:space-between;align-items:center;margin-top:9px;padding-bottom:16px;font-size:12px;font-weight:600;color:var(--muted)}
.qth .body{flex:1;display:flex;flex-direction:column;padding:8px 22px 26px;overflow-y:auto}
.qth .kicker{display:inline-flex;align-items:center;gap:7px;color:var(--red);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-bottom:14px}
.qth .kicker .ic{width:16px;height:16px;display:flex}
.qth .kicker .ic svg{width:16px;height:16px}
.qth .qt{font-size:25px;font-weight:800;line-height:1.18;letter-spacing:-.5px;text-wrap:pretty;margin:0 0 8px}
.qth .qh{font-size:14.5px;line-height:1.5;color:var(--muted);margin:0 0 22px;text-wrap:pretty}
.qth .opts{display:flex;flex-direction:column;gap:11px}
.qth .opt{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:13px;padding:16px 16px;font:inherit;font-size:15.5px;font-weight:600;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.qth .opt:hover{border-color:#c9ccd4}
.qth .opt.sel{border-color:var(--red);background:#FEF3F3}
.qth .optdot{width:22px;height:22px;border-radius:99px;border:2px solid #cdd1d9;flex:none;position:relative;transition:.15s}
.qth .opt.sel .optdot{border-color:var(--red);background:var(--red)}
.qth .opt.sel .optdot:after{content:"";position:absolute;left:6px;top:6px;width:6px;height:6px;border-radius:99px;background:#fff}
.qth .optlabel{flex:1}
.qth .recbadge{font-size:10.5px;font-weight:700;color:var(--red);background:#FEE7E7;padding:4px 8px;border-radius:99px;text-transform:uppercase;letter-spacing:.4px}
.qth .bigs{display:flex;flex-direction:column;gap:12px}
.qth .bigcard{display:flex;align-items:center;gap:15px;width:100%;text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:15px;padding:17px 17px;font:inherit;cursor:pointer;transition:border-color .15s,background .15s}
.qth .bigcard:hover{border-color:#c9ccd4}
.qth .bigcard.sel{border-color:var(--red);background:#FEF3F3}
.qth .bigic{width:48px;height:48px;border-radius:12px;background:var(--surface);color:var(--red);display:flex;align-items:center;justify-content:center;flex:none;transition:.15s}
.qth .bigcard.sel .bigic{background:var(--red);color:#fff}
.qth .bigic svg{width:25px;height:25px}
.qth .bigtxt{flex:1;display:flex;flex-direction:column;gap:3px}
.qth .bigt{font-size:16px;font-weight:700;letter-spacing:-.2px}
.qth .bigd{font-size:13px;color:var(--muted);line-height:1.4}
.qth .fields{display:flex;flex-direction:column;gap:16px}
.qth .field{display:flex;flex-direction:column;gap:7px}
.qth .lab{font-size:13px;font-weight:700}
.qth .lab span{color:var(--muted);font-weight:500}
.qth .inp{width:100%;font:inherit;font-size:15.5px;padding:14px 15px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);transition:border-color .15s}
.qth .inp:focus{outline:none;border-color:var(--red)}
.qth .inp.bad{border-color:var(--red);background:#FEF6F6}
.qth .err{font-size:12.5px;color:var(--red);font-weight:600}
.qth .numwrap{display:flex;flex-direction:column;align-items:center;gap:14px;padding:14px 0}
.qth .numrow{display:flex;align-items:center;gap:22px}
.qth .numbtn{width:58px;height:58px;border-radius:16px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:28px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.15s;line-height:1}
.qth .numbtn:hover{border-color:var(--red);color:var(--red)}
.qth .numval{font-size:58px;font-weight:800;min-width:96px;text-align:center;letter-spacing:-2px;font-variant-numeric:tabular-nums}
.qth .numunit{font-size:14px;font-weight:600;color:var(--muted)}
.qth .tvgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qth .tvcard{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:13px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:20px 12px 16px;cursor:pointer;transition:border-color .15s,background .15s;min-height:138px}
.qth .tvcard:hover{border-color:#c9ccd4}
.qth .tvcard.sel{border-color:var(--red);background:#FEF3F3}
.qth .scr{border:2.5px solid #cfd3db;border-radius:5px;background:linear-gradient(135deg,#eef0f4,#dfe2e9);transition:.15s}
.qth .tvcard.sel .scr{border-color:var(--red)}
.qth .s43{width:54px;height:34px}.qth .s50{width:66px;height:41px}.qth .s55{width:78px;height:48px}
.qth .sown{width:64px;height:42px;border-style:dashed;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:22px}
.qth .tvl{font-size:14.5px;font-weight:700}
.qth .foot{display:flex;gap:11px;padding:16px 22px;border-top:1px solid var(--line);background:#fff}
.qth .btn{font:inherit;font-weight:700;font-size:15.5px;border-radius:12px;padding:15px 20px;cursor:pointer;border:1.5px solid transparent;transition:.15s}
.qth .btn-p{flex:1;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px}
.qth .btn-p:hover{background:var(--red-d)}
.qth .btn-p:disabled{background:#E5B5B7;cursor:not-allowed}
.qth .btn-g{background:#fff;border-color:var(--line);color:var(--ink);min-width:96px}
.qth .btn-g:hover{border-color:#c9ccd4}
.qth .btn-p .ic svg{width:18px;height:18px}
.qth .rev{display:flex;flex-direction:column;gap:1px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.qth .revsec{background:var(--surface);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:11px 16px}
.qth .revrow{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:none;width:100%;text-align:left;font:inherit;cursor:pointer;transition:background .12s}
.qth .revrow:hover{background:#FAFAFB}
.qth .revk{font-size:13px;color:var(--muted);font-weight:600;flex:none;width:42%}
.qth .revv{font-size:14.5px;font-weight:700;flex:1;color:var(--ink)}
.qth .revedit{font-size:11px;font-weight:700;color:var(--red);opacity:0;transition:.12s}
.qth .revrow:hover .revedit{opacity:1}
.qth .revnote{font-size:13px;color:var(--muted);line-height:1.5;margin:16px 2px 0;text-wrap:pretty}
.qth .success{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 26px;gap:8px}
.qth .tick{width:78px;height:78px;border-radius:99px;background:#E7F6EE;color:var(--green);display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.qth .tick svg{width:40px;height:40px;stroke-width:2.4}
.qth .st{font-size:26px;font-weight:800;letter-spacing:-.5px}
.qth .sp{font-size:15px;color:var(--muted);line-height:1.55;max-width:380px;text-wrap:pretty}
.qth .scard{margin-top:22px;width:100%;max-width:400px;background:var(--surface);border-radius:14px;padding:16px 18px;text-align:left;display:flex;flex-direction:column;gap:10px}
.qth .scl{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}
.qth .scrow{display:flex;justify-content:space-between;gap:12px;font-size:13.5px}
.qth .scrow span:first-child{color:var(--muted);font-weight:500}
.qth .scrow span:last-child{font-weight:700;text-align:right}
.qth .callbox{margin-top:20px;font-size:13.5px;color:var(--muted)}
.qth .callbox b{color:var(--ink)}
.qth .again{margin-top:22px;background:#fff;border:1.5px solid var(--line);color:var(--ink);border-radius:12px;padding:13px 22px;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.qth .again:hover{border-color:var(--red);color:var(--red)}
.qth .banner{background:#FEF3F3;border:1px solid #F5C9CB;color:var(--red-d);font-size:13px;font-weight:600;border-radius:10px;padding:11px 14px;margin-bottom:16px}
/* design-first journey flow */
.qth .flow{display:flex;flex-direction:column}
.qth .fstep{display:flex;gap:14px}
.qth .fcol{display:flex;flex-direction:column;align-items:center}
.qth .fnode{width:42px;height:42px;border-radius:99px;background:#FEF3F3;color:var(--red);border:1.5px solid #F5C9CB;display:flex;align-items:center;justify-content:center;flex:none}
.qth .fnode svg{width:21px;height:21px}
.qth .fline{width:2px;flex:1;min-height:14px;background:var(--line);margin:5px 0}
.qth .fbody{flex:1;padding-bottom:24px;padding-top:9px}
.qth .fstep:last-child .fbody{padding-bottom:0}
.qth .ft{font-size:15.5px;font-weight:700;letter-spacing:-.2px}
.qth .fd{font-size:13.5px;color:var(--muted);line-height:1.45;margin-top:3px;text-wrap:pretty}
/* honeypot */
.qth .qth-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* If a page already shows a wizard in its body (contact page, industry pages), hide the
   site-wide footer instance on that page so the wizard isn't shown twice. */
body:has(.qth-mount:not([data-source="footer"])) .qth-mount[data-source="footer"]{display:none}
body.page-id-101 .qth-mount[data-source="footer"]{display:none} /* fallback for browsers without :has() */

/* ---- modal mode: trigger button + popup overlay ---- */
.qth-trigger-wrap{display:flex;justify-content:center;margin:20px 0}
.qth-trigger{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:700;font-size:16px;line-height:1;color:#fff;background:#E11B22;border:none;border-radius:12px;padding:16px 28px;cursor:pointer;display:inline-flex;align-items:center;gap:10px;box-shadow:0 8px 22px rgba(225,27,34,.30);transition:background .15s,transform .08s,box-shadow .15s}
.qth-trigger:hover{background:#B5141A;box-shadow:0 10px 26px rgba(225,27,34,.36)}
.qth-trigger:active{transform:translateY(1px)}
.qth-trigger svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qth-modal-overlay{position:fixed;inset:0;z-index:100000;background:rgba(15,18,24,.55);backdrop-filter:saturate(120%) blur(2px);display:none;align-items:flex-start;justify-content:center;padding:24px 14px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.qth-modal-overlay.qth-open{display:flex}
.qth-modal{position:relative;width:100%;max-width:560px;margin:auto}
.qth-close{position:absolute;top:-13px;right:-7px;z-index:3;width:40px;height:40px;border-radius:99px;background:#fff;border:1px solid #E7E9EE;color:#171A20;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.qth-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.qth-close:hover{color:#E11B22;border-color:#E11B22}
.qth.qth-in-modal{background:transparent;display:block;min-height:0}
.qth.qth-in-modal .shell{min-height:0;max-height:88vh;box-shadow:0 16px 50px rgba(0,0,0,.3)}
