/* Calculette HT / TTC / marge (quick-calculator.js) */
.qc-toggle{color:#2165b8;white-space:nowrap;min-height:40px}
.qc-toggle.qc-on{background:#2459df;color:#fff;border-radius:9px}
.qc-panel{position:fixed;top:68px;right:18px;z-index:900;width:370px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 84px);overflow:auto;background:#fff;color:#16203a;border:1px solid #e3e8f0;border-radius:14px;box-shadow:0 12px 34px rgba(20,30,60,.18);padding:14px 16px;font-size:14px;line-height:1.4}
.qc-panel[hidden]{display:none!important}
.qc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.qc-head strong{font-size:15px}
.qc-x{border:0;background:none;font-size:18px;color:#66738a;cursor:pointer;min-height:32px;padding:0 6px}
.qc-grp{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#66738a;margin:10px 0 4px;font-weight:700}
.qc-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0}
.qc-row label{color:#38445c;margin:0}
.qc-panel .qc-in{width:130px;border:1px solid #e3e8f0;border-radius:8px;padding:5px 8px;height:34px;min-height:34px;text-align:right;font-weight:600;font-size:14px;background:#fff;color:#16203a}
.qc-panel .qc-in:focus{outline:2px solid #2459df;border-color:#2459df}
.qc-panel .qc-big{font-size:20px;font-weight:800;color:#2459df;height:42px;border:2px solid #2459df}
.qc-mi{display:flex;gap:6px;align-items:center}.qc-panel .qc-mi .qc-in{width:84px}
.qc-seg{display:inline-flex;background:#f0f3f8;border-radius:8px;padding:2px}
.qc-seg button{border:0;background:none;padding:5px 10px;min-height:30px;font-size:12.5px;font-weight:700;color:#66738a;border-radius:6px;cursor:pointer;box-shadow:none}
.qc-seg button.on{background:#fff;color:#2459df}
.qc-panel select{border:1px solid #e3e8f0;border-radius:8px;padding:5px 8px;height:34px;background:#fff;color:#16203a;max-width:190px}
.qc-arrow{text-align:center;color:#b3bccb;font-size:12px;margin:2px 0}
.qc-res{margin-top:12px;border-radius:10px;padding:9px 11px;background:#e7f6ef;color:#14855f;font-size:13px}
.qc-res.qc-empty{background:#f4f6fa;color:#66738a}
.qc-res.qc-bad{background:#fdecec;color:#b42323}
.qc-res b{font-weight:800}
.qc-foot{display:flex;gap:8px;margin-top:12px}
.qc-foot button{flex:1;border:1px solid #e3e8f0;background:#fff;border-radius:9px;padding:8px;min-height:38px;font-weight:700;color:#38445c;cursor:pointer}
@media(max-width:700px){.qc-lbl{display:none}.qc-panel{top:auto;bottom:76px;right:16px;left:16px;width:auto;max-width:none}}
