/* ================= Free Tools v2: document makers & calculators ================= */
.fd-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:22px;align-items:start}
.fd-form .field{margin-bottom:10px}
.fd-sec{border:1px solid var(--line);border-radius:12px;padding:0 14px;margin-bottom:12px;background:#fff}
.fd-sec[open]{padding-bottom:12px}
.fd-sec>summary{cursor:pointer;font-weight:600;padding:12px 0;list-style:none;display:flex;gap:8px;align-items:center}
.fd-sec>summary::-webkit-details-marker{display:none}
.fd-sec>summary::after{content:"\25BE";margin-left:auto;color:var(--muted)}
.fd-sec>summary i{color:var(--c,var(--green))}
.fd-side{position:sticky;top:84px}
.fd-stage{background:#e5e9e7;border-radius:12px;padding:12px;overflow:hidden;max-height:76vh;overflow-y:auto}
.fd-scale{transform-origin:0 0}
.fd-actions{margin-top:12px}
.fd-rep{border:1px dashed #cfd8d3;border-radius:10px;padding:10px;margin-bottom:10px;position:relative;background:#fafcfb}
.fd-rep .form-row{margin:0}
.fd-rep .field{margin-bottom:6px}
.fd-rep .ft-x{top:6px;right:6px}
.fd-items-head,.fd-item{display:grid;grid-template-columns:minmax(0,3fr) 70px 100px 70px 32px;gap:6px;align-items:center}
.fd-items-head{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}
.fd-item{margin-bottom:6px}
.fd-item .input{padding:8px 10px}
.fd-photo-crop{height:240px;margin-top:8px}
.fd-cards{background:#e5e9e7;border-radius:12px;padding:14px;display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.fd-cardwrap{text-align:center}
.fd-cardwrap small{display:block;font-weight:700;color:var(--muted);margin-bottom:6px;letter-spacing:.5px}
.fd-cardwrap .fd-scale{display:inline-block}

/* ---------- shared document base (sizes in mm so print / PDF match) ---------- */
.fd-doc{background:#fff;color:#1f2937;font-family:'Poppins',Arial,sans-serif;box-sizing:border-box;position:relative;line-height:1.45;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.fd-doc *{box-sizing:border-box}
.fd-a4{width:210mm;min-height:297mm;font-size:var(--fs,10.5pt)}
.fd-doc h1,.fd-doc h2,.fd-doc h3,.fd-doc p{margin:0}
.fd-muted{color:#6b7280}
.fd-pagebreak-gap{display:block}

/* ---------- resume ---------- */
.fd-resume{--ac:#1e3a8a;padding:0}
.fd-resume .rs-name{font-size:2.3em;font-weight:700;line-height:1.1;letter-spacing:-.3px}
.fd-resume .rs-title{font-size:1.15em;font-weight:500;margin-top:2mm}
.fd-resume .rs-h{font-size:1.05em;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--ac);border-bottom:.5mm solid var(--ac);padding-bottom:1.2mm;margin:6mm 0 3mm}
.fd-resume .rs-item{margin-bottom:3.5mm}
.fd-resume .rs-item b{font-weight:600}
.fd-resume .rs-meta{color:#6b7280;font-size:.92em}
.fd-resume .rs-desc{margin-top:1mm;white-space:pre-line}
.fd-resume .rs-photo{width:34mm;height:40mm;object-fit:cover;border-radius:2mm;display:block}
.fd-resume .rs-chips{display:flex;flex-wrap:wrap;gap:2mm}
.fd-resume .rs-chips span{border:.3mm solid currentColor;border-radius:5mm;padding:.6mm 3mm;font-size:.9em}
.fd-resume .rs-contact div{margin-bottom:1.6mm;word-break:break-word}
.fd-resume .rs-decl{margin-top:8mm}
.fd-resume .rs-sig{display:flex;justify-content:space-between;margin-top:10mm}
/* modern: sidebar via background so it continues on every page */
.fd-resume.tpl-modern{display:flex}
.tpl-modern .rs-sidebg{position:absolute;left:0;top:0;bottom:0;width:68mm;background:var(--ac)}
.tpl-modern .rs-side{width:68mm;flex:none;color:#fff;padding:14mm 8mm;position:relative}
.tpl-modern .rs-main{position:relative}
.tpl-modern .rs-side .rs-h{color:#fff;border-color:rgba(255,255,255,.55)}
.tpl-modern .rs-side .rs-photo{width:44mm;height:52mm;margin:0 auto 6mm;border:1mm solid rgba(255,255,255,.85)}
.tpl-modern .rs-main{flex:1;padding:14mm 12mm 12mm}
.tpl-modern .rs-name{color:var(--ac)}
/* classic */
.fd-resume.tpl-classic{padding:15mm 16mm}
.tpl-classic .rs-head{display:flex;gap:8mm;align-items:center;border-bottom:1mm solid var(--ac);padding-bottom:5mm}
.tpl-classic .rs-head>div{flex:1}
.tpl-classic .rs-name{color:var(--ac)}
.tpl-classic .rs-contact{display:flex;flex-wrap:wrap;gap:1mm 6mm;margin-top:3mm;font-size:.92em}
.tpl-classic .rs-contact div{margin:0}
.tpl-classic .rs-h{border-bottom-width:.3mm}
/* minimal */
.fd-resume.tpl-minimal{padding:16mm 18mm}
.tpl-minimal .rs-head{display:flex;gap:7mm;align-items:flex-start}
.tpl-minimal .rs-head>div{flex:1}
.tpl-minimal .rs-name{font-weight:600}
.tpl-minimal .rs-title{color:var(--ac)}
.tpl-minimal .rs-contact{display:flex;flex-wrap:wrap;gap:1mm 5mm;margin-top:3mm;color:#4b5563;font-size:.92em}
.tpl-minimal .rs-h{border:0;color:#111827;font-size:.95em;letter-spacing:2px;position:relative;padding-left:5mm}
.tpl-minimal .rs-h::before{content:"";position:absolute;left:0;top:.6mm;width:2.2mm;height:2.2mm;border-radius:50%;background:var(--ac)}
.tpl-minimal .rs-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10mm}

/* ---------- invoice ---------- */
.fd-invoice{--ac:#047857;padding:14mm 14mm 12mm;font-size:9.5pt}
.fd-invoice .iv-top{display:flex;justify-content:space-between;gap:8mm;border-bottom:1mm solid var(--ac);padding-bottom:5mm}
.fd-invoice .iv-biz{display:flex;gap:4mm;align-items:flex-start}
.fd-invoice .iv-logo{max-width:28mm;max-height:22mm;object-fit:contain}
.fd-invoice .iv-bname{font-size:1.6em;font-weight:700;color:var(--ac);line-height:1.15}
.fd-invoice .iv-title{text-align:right}
.fd-invoice .iv-title h1{font-size:1.7em;letter-spacing:1px;color:#111827}
.fd-invoice .iv-meta{margin-top:2mm;font-size:.95em}
.fd-invoice .iv-meta b{display:inline-block;min-width:22mm;color:#6b7280;font-weight:500}
.fd-invoice .iv-parties{display:flex;gap:8mm;margin:6mm 0}
.fd-invoice .iv-parties>div{flex:1;background:#f6f8f7;border-radius:2mm;padding:3.5mm 4mm}
.fd-invoice .iv-lbl{font-size:.8em;text-transform:uppercase;letter-spacing:1px;color:var(--ac);font-weight:700;margin-bottom:1mm}
.fd-invoice .iv-row{display:grid;grid-template-columns:8mm minmax(0,1fr) 16mm 22mm 14mm 26mm;gap:2mm;padding:2.2mm 2mm;border-bottom:.3mm solid #e5e7eb;align-items:start}
.fd-invoice .iv-row>span:nth-child(n+3){text-align:right}
.fd-invoice .iv-head{background:var(--ac);color:#fff;font-weight:600;border:0;border-radius:1.5mm}
.fd-invoice .iv-bottom{display:flex;gap:8mm;margin-top:5mm;align-items:flex-start}
.fd-invoice .iv-bottom>div:first-child{flex:1}
.fd-invoice .iv-totals{width:72mm}
.fd-invoice .iv-totals div{display:flex;justify-content:space-between;padding:1.4mm 0}
.fd-invoice .iv-grand{border-top:.5mm solid var(--ac);margin-top:1mm;padding-top:2mm!important;font-size:1.25em;font-weight:700;color:var(--ac)}
.fd-invoice .iv-words{margin-top:3mm;font-style:italic}
.fd-invoice .iv-sign{margin-top:14mm;text-align:right}
.fd-invoice .iv-sign span{display:inline-block;border-top:.3mm solid #111;padding-top:1.5mm;min-width:50mm;text-align:center}
.fd-invoice .iv-note{white-space:pre-line;margin-top:3mm}

/* ---------- letterhead (fixed single A4 page) ---------- */
.fd-letter{--c1:#9d174d;--c2:#f59e0b;height:297mm;display:flex;flex-direction:column;font-size:10.5pt}
.fd-letter .lh-head{padding:12mm 16mm 6mm;display:flex;gap:6mm;align-items:center;border-bottom:1.2mm solid var(--c1);position:relative}
.fd-letter .lh-head::after{content:"";position:absolute;left:0;right:0;bottom:-2.6mm;height:.8mm;background:var(--c2)}
.fd-letter .lh-logo{max-width:30mm;max-height:24mm;object-fit:contain}
.fd-letter .lh-name{font-size:2em;font-weight:700;color:var(--c1);line-height:1.1}
.fd-letter .lh-tag{color:#6b7280;margin-top:1mm}
.fd-letter .lh-head>div:not(.lh-contact){flex:1;min-width:0}
.fd-letter .lh-contact{margin-left:auto;text-align:right;font-size:.88em;line-height:1.6;flex:none;max-width:85mm}
.fd-letter .lh-contact div{white-space:nowrap}
.fd-letter .lh-contact div:first-child{white-space:normal}
.fd-letter .lh-contact i{color:var(--c1);width:4mm}
.fd-letter.tpl-center .lh-head{flex-direction:column;text-align:center;gap:2mm}
.fd-letter.tpl-center .lh-contact{margin:2mm 0 0;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:0 5mm}
.fd-letter.tpl-band .lh-head{background:var(--c1);color:#fff;border-bottom:0}
.fd-letter.tpl-band .lh-name,.fd-letter.tpl-band .lh-contact i{color:#fff}
.fd-letter.tpl-band .lh-tag{color:rgba(255,255,255,.85)}
.fd-letter.tpl-band .lh-logo{background:#fff;border-radius:2mm;padding:1.5mm}
.fd-letter .lh-body{flex:1;padding:12mm 18mm 8mm;white-space:pre-line}
.fd-letter .lh-refdate{display:flex;justify-content:space-between;margin-bottom:8mm;white-space:normal}
.fd-letter .lh-foot{background:var(--c1);color:#fff;text-align:center;font-size:.82em;padding:3mm 12mm;border-top:.8mm solid var(--c2)}

/* ---------- ID card (CR80) ---------- */
.fd-card{--c1:#7c2d12;--c2:#f59e0b;width:54mm;height:85.6mm;border-radius:3mm;overflow:hidden;background:#fff;color:#111827;font-family:'Poppins',Arial,sans-serif;position:relative;box-shadow:0 2px 10px rgba(0,0,0,.18);display:flex;flex-direction:column;font-size:7pt;line-height:1.3;text-align:center}
.fd-card.land{width:85.6mm;height:54mm}
.fd-card .ic-head{background:var(--c1);color:#fff;padding:2.4mm 2.5mm 2mm;display:flex;align-items:center;gap:2mm;justify-content:center;border-bottom:1mm solid var(--c2)}
.fd-card .ic-logo{max-height:9mm;max-width:12mm;object-fit:contain;background:#fff;border-radius:1mm;padding:.5mm}
.fd-card .ic-org{font-weight:700;font-size:1.25em;line-height:1.15}
.fd-card .ic-tag{font-size:.78em;opacity:.9}
.fd-card .ic-body{flex:1;display:flex;flex-direction:column;align-items:center;padding:2.5mm 3mm 2mm;gap:1mm}
.fd-card .ic-photo{width:22mm;height:26mm;object-fit:cover;border:.6mm solid var(--c2);border-radius:1.5mm;background:#f3f4f6}
.fd-card .ic-name{font-size:1.45em;font-weight:700;color:var(--c1);margin-top:1mm;line-height:1.15}
.fd-card .ic-desig{font-weight:600;color:#4b5563}
.fd-card .ic-rows{width:100%;text-align:left;margin-top:1mm}
.fd-card .ic-rows div{display:flex;gap:1.5mm;padding:.35mm 0}
.fd-card .ic-rows b{min-width:15mm;color:#6b7280;font-weight:600}
.fd-card .ic-foot{background:var(--c1);height:3mm}
.fd-card.land .ic-body{flex-direction:row;align-items:flex-start;text-align:left;gap:3mm}
.fd-card.land .ic-photo{width:21mm;height:25mm;flex:none}
.fd-card.land .ic-info{flex:1;min-width:0}
.fd-card.land .ic-name{margin-top:0}
.fd-card .ic-back{padding:4mm 3.5mm;text-align:left;flex:1;display:flex;flex-direction:column;gap:1.2mm}
.fd-card .ic-back .ic-rows{margin:0}
.fd-card .ic-terms{font-size:.82em;color:#4b5563;border-top:.3mm dashed #d1d5db;padding-top:1.2mm}
.fd-card .ic-signbox{margin-top:auto;text-align:right}
.fd-card .ic-signbox img{max-height:8mm;max-width:24mm;object-fit:contain;display:inline-block}
.fd-card .ic-signbox small{display:block;border-top:.3mm solid #374151;padding-top:.5mm;font-size:.8em}

/* ---------- small tools ---------- */
.fd-ipgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fd-ipbox{border:1px solid var(--line);border-radius:14px;padding:16px;background:linear-gradient(160deg,#fff,#f0f9ff);display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fd-ipbox small{color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px;font-size:11.5px}
.fd-ipbox b{font-size:20px;word-break:break-all;font-family:ui-monospace,Consolas,monospace;color:#0c4a6e}
.fd-icons figure img{image-rendering:auto;object-fit:contain}
.fd-calcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.fd-calc{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff}
.fd-calc h3{font-size:14.5px;margin:0 0 10px}
.fd-cin{display:flex;gap:8px;align-items:center}
.fd-cin .input{flex:1;min-width:0}
.fd-cin span{font-size:12.5px;color:var(--muted);white-space:nowrap}
.fd-cout{margin-top:10px;background:#f4fbf7;border:1px solid #c7e5d6;border-radius:10px;padding:10px 12px;font-weight:600;display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:44px}
.fd-cout .ft-ib{flex:none}
.fd-agegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px}
.fd-agegrid div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center}
.fd-agegrid b{display:block;font-size:22px;color:var(--c)}
.fd-agegrid span{font-size:12px;color:var(--muted)}
.fd-emi{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.fd-emi div{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
.fd-emi div:first-child{grid-column:1/-1;background:linear-gradient(135deg,#ecfdf5,#eff6ff)}
.fd-emi span{font-size:12px;color:var(--muted);display:block}
.fd-emi b{font-size:20px}
.fd-emi div:first-child b{font-size:28px;color:var(--c)}
.fd-bar{display:flex;height:14px;border-radius:8px;overflow:hidden;margin-bottom:10px;background:#e5e7eb}
.fd-bar i{display:block;height:100%}
.fd-sched{max-height:520px;overflow:auto}
.fd-sched .t td,.fd-sched .t th{white-space:nowrap;text-align:right}
.fd-sched .t td:first-child,.fd-sched .t th:first-child{text-align:left}

/* ================= v3 tools ================= */
/* QR designer */
.qd-wrap{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);gap:20px;align-items:start}
.qd-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.qd-tab{display:flex;gap:6px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 10px;font:600 12.5px var(--font);cursor:pointer;color:#374151}
.qd-tab.on{background:var(--c);border-color:var(--c);color:#fff}
.qd-pane{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fff}
.qd-pane .form-row{gap:10px}
.qd-color{display:flex;gap:6px}
.qd-color input[type=color]{width:46px;height:42px;border:1px solid var(--line);border-radius:8px;padding:2px;background:#fff;flex:none}
.qd-color .input{min-width:0}
.qd-crop{height:260px;margin-top:10px}
.qd-stagecol{position:sticky;top:84px}
.qd-stage{background:repeating-conic-gradient(#e5e7eb 0 25%,#f8fafc 0 50%) 50%/22px 22px;border-radius:14px;padding:12px;min-height:320px;max-height:78vh;overflow:auto;display:flex;justify-content:center;align-items:flex-start}
.qd-stage canvas{display:block;max-width:none;box-shadow:0 8px 28px rgba(0,0,0,.16);border-radius:6px;touch-action:none;cursor:grab}
.qd-stage img{max-width:100%;background:#fff;border-radius:6px}
.qd-toolbar{margin-bottom:8px}
.qd-tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.qd-tpl{border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px;cursor:pointer;font:600 12px var(--font);color:#374151;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center}
.qd-tpl:hover{border-color:var(--c);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.qd-tpl span{width:100%;height:70px;border-radius:8px;display:grid;place-items:center}
.qd-tpl i{width:34px;height:34px;border-radius:6px;border:3px solid}
.qd-text{border:1px dashed #cfd8d3;border-radius:10px;padding:10px;margin-bottom:10px;background:#fafcfb}
.qd-text .form-row{gap:8px;margin:0}
/* ID cards (employee / student) */
.fd-idx{background-repeat:repeat}
.fd-idx.bd-thin{border:.35mm solid var(--c1)}
.fd-idx.bd-thick{border:1.2mm solid var(--c1)}
.fd-idx .ic-foot{height:auto;min-height:3mm;color:#fff;font-size:.8em;font-weight:600;letter-spacing:.5px;padding:.4mm 2mm;display:flex;align-items:center;justify-content:center}
.fd-idx.tpl-curve .ic-head{border-radius:0 0 45% 45% / 0 0 22% 22%;padding-bottom:4mm;border-bottom:0}
.fd-idx.tpl-curve .ic-foot{border-radius:45% 45% 0 0 / 60% 60% 0 0;min-height:4mm}
.fd-idx.tpl-band .ic-head{background:linear-gradient(90deg,var(--c1) 0,var(--c1) 70%,var(--c2) 70%,var(--c2) 100%);border-bottom:0}
.fd-idx.tpl-band .ic-photo{border-radius:50%;border-width:.8mm}
.fd-idx.tpl-band .ic-foot{background:var(--c2);color:#111827}
.fd-idx .ic-backtop{display:flex;gap:2mm;align-items:flex-start}
.fd-idx .ic-backtop .ic-rows{flex:1}
.fd-idx .ic-qr{width:15mm;height:15mm;flex:none;border:.3mm solid #e5e7eb;border-radius:1mm;background:#fff}
.fd-idx .ic-orgaddr{font-size:.85em;color:#374151}
.fd-sheetbox{margin-top:14px;box-shadow:none;border:1px solid var(--line)}
.fd-sheetbox h3{margin:0 0 4px;font-size:15px}
/* visiting cards */
.fd-vc{--c1:#be123c;--c2:#1f2937;--bg:#fff;position:relative;overflow:hidden;background:var(--bg);color:var(--c2);font-family:'Poppins',Arial,sans-serif;font-size:7.2pt;line-height:1.35;border-radius:2mm;box-shadow:0 2px 10px rgba(0,0,0,.18);padding:4.5mm 5mm;display:flex;flex-direction:column}
.fd-vc.bd-thin{outline:.3mm solid var(--c1);outline-offset:-1.6mm}
.fd-vc .vc-deco{position:absolute;pointer-events:none}
.fd-vc .vc-top{display:flex;gap:2.5mm;align-items:center;position:relative}
.fd-vc .vc-logo{max-height:10mm;max-width:16mm}
.fd-vc .vc-logo.big{max-height:16mm;max-width:40mm}
.fd-vc .vc-biz{font-size:1.45em;font-weight:700;color:var(--c1);line-height:1.15}
.fd-vc .vc-tag{font-size:.85em;opacity:.8}
.fd-vc .vc-person{margin-top:auto;position:relative}
.fd-vc .vc-name{font-size:1.35em;font-weight:700}
.fd-vc .vc-desig{font-size:.9em;color:var(--c1);font-weight:600}
.fd-vc .vc-lines{margin-top:1.6mm;position:relative}
.fd-vc .vc-lines div{display:flex;gap:1.5mm;align-items:baseline}
.fd-vc .vc-lines i{font-style:normal;color:var(--c1);width:3mm;flex:none;text-align:center}
.fd-vc .vc-back{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1.6mm;padding-right:0}
.fd-vc .vc-services{font-size:.95em;font-weight:500}
.fd-vc .vc-qr{position:absolute;right:4mm;bottom:4mm;width:15mm;height:15mm;background:#fff;padding:.6mm;border-radius:1mm}
.fd-vc.vc-classic .vc-deco{left:0;top:0;bottom:0;width:2.2mm;background:var(--c1)}
.fd-vc.vc-split{padding-right:44%}
.fd-vc.vc-split .vc-deco{right:0;top:0;bottom:0;width:42%;background:var(--c1)}
.fd-vc.vc-split .vc-lines{position:absolute;right:3mm;top:0;bottom:0;width:calc(42% - 5mm);margin:0;display:flex;flex-direction:column;justify-content:center;gap:.8mm;color:#fff;font-size:.88em;word-break:break-word}
.fd-vc.vc-split .vc-lines i{color:#fff}
.fd-vc.vc-split .vc-back{position:absolute;left:4mm;top:4mm;bottom:4mm;width:calc(58% - 8mm)}
.fd-vc.vc-split .vc-qr{right:auto;left:calc(79% - 7.5mm);top:50%;bottom:auto;margin-top:-7.5mm}
.fd-vc.vc-minimal{text-align:center;align-items:center;justify-content:center}
.fd-vc.vc-minimal .vc-top{flex-direction:column}
.fd-vc.vc-minimal .vc-person{margin-top:2mm}
.fd-vc.vc-minimal .vc-lines div{justify-content:center}
.fd-vc.vc-band .vc-deco{left:0;right:0;top:0;height:11mm;background:var(--c1)}
.fd-vc.vc-band .vc-biz,.fd-vc.vc-band .vc-tag{color:#fff}
.fd-vc.vc-gold{--bg:#0b0b0b!important;background:#0b0b0b;color:#e5e7eb}
.fd-vc.vc-gold .vc-biz,.fd-vc.vc-gold .vc-desig,.fd-vc.vc-gold .vc-lines i{color:#d4a017}
.fd-vc.vc-gold .vc-deco{inset:1.6mm;border:.35mm solid #d4a017;border-radius:1.4mm}
.fd-vc.vc-gradient{background:linear-gradient(135deg,var(--c1),var(--c2));color:#fff}
.fd-vc.vc-gradient .vc-biz,.fd-vc.vc-gradient .vc-desig,.fd-vc.vc-gradient .vc-lines i{color:#fff}
/* quotation */
.fd-q-head,.fd-q-item{grid-template-columns:minmax(0,3fr) 64px 90px 64px 64px 32px}
.fd-quote .qt-row{grid-template-columns:8mm minmax(0,1fr) 14mm 22mm 13mm 13mm 26mm}
/* stamp */
.fd-stampbox{background:repeating-conic-gradient(#e5e7eb 0 25%,#fff 0 50%) 50%/18px 18px;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;justify-content:center}
.fd-stampbox canvas{max-width:100%;height:auto}
/* hindi typing */
.fd-hi-bar{align-items:center}
.fd-hi-wrap{position:relative}
.fd-hi{min-height:340px!important;font-family:'Noto Sans Devanagari','Poppins',sans-serif!important;font-size:18px!important;line-height:1.8}
.fd-sugg{position:absolute;left:12px;bottom:12px;display:flex;gap:6px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:5;max-width:calc(100% - 24px)}
.fd-sugg button{border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:6px 10px;font:500 17px 'Noto Sans Devanagari','Poppins',sans-serif;cursor:pointer;display:flex;gap:6px;align-items:center}
.fd-sugg button small{font:600 10px var(--font);color:#9ca3af}
.fd-sugg button.on{background:var(--c);border-color:var(--c);color:#fff}
.fd-sugg button.on small{color:#fff}
.fd-sugg button.en{font-family:var(--font);font-size:14px;color:#6b7280}
/* hash */
.fd-hash{display:flex;gap:8px;align-items:center;background:#f8faf9;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.fd-hash code{flex:1;word-break:break-all;font-size:14px;color:#0f172a}

@media (max-width:1100px){.fd-two{grid-template-columns:1fr}.fd-side{position:static}.qd-wrap{grid-template-columns:1fr}.qd-stagecol{position:static;order:-1}}
@media (max-width:760px){
  .fd-ipgrid,.fd-emi{grid-template-columns:1fr}
  .fd-items-head{display:none}
  .fd-item{grid-template-columns:1fr 1fr 1fr 32px}
  .fd-item>:first-child{grid-column:1/-1}
  .fd-calcs{grid-template-columns:1fr}
  .fd-cin{flex-wrap:wrap}
  .fd-q-item{grid-template-columns:1fr 1fr 1fr 1fr 32px}
  .qd-tab span{display:none}
  .qd-stage{max-height:60vh}
}
