/* IFNOne — PDF suite tools */
.xcard{background:#fff;border:1px solid #e3e8f1;border-radius:16px;padding:18px;margin-bottom:16px;box-shadow:0 4px 14px rgba(30,43,60,.05)}
.xcard .form-label{font-weight:600;color:#36415a;margin-bottom:4px}
.thumbs .th{cursor:pointer;transition:border-color .15s}.thumbs .th canvas{transition:transform .25s}
.thumbs .th.sel{border-color:#1a8754;box-shadow:0 0 0 3px rgba(26,135,84,.18)}
.thumbs .th.sel::before{content:'✓';position:absolute;top:4px;right:6px;background:#1a8754;color:#fff;border-radius:50%;width:22px;height:22px;font-size:13px;display:flex;align-items:center;justify-content:center;z-index:1}
.posgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:420px}
.posbtn{margin:0}.posbtn input{position:absolute;opacity:0}.posbtn span{display:block;text-align:center;border:1px solid #d5dbe7;border-radius:10px;padding:8px 4px;font-size:13px;cursor:pointer;background:#fff}
.posbtn input:checked+span{border-color:var(--orange,#F28C28);background:#fff4e8;color:#b45a00;font-weight:600}
.posbtn input:focus-visible+span{outline:2px solid var(--orange,#F28C28);outline-offset:2px}
.xprev{max-width:100%;max-height:460px;border:1px solid #e3e8f1;border-radius:6px;box-shadow:0 8px 24px rgba(30,43,60,.12);margin:4px auto 0}
.cropwrap{display:flex;justify-content:center;background:#eef1f7;border-radius:14px;padding:14px}
.cropstage{position:relative;display:inline-block;max-width:100%;touch-action:none;user-select:none}
.cropstage canvas{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;box-shadow:0 6px 20px rgba(30,43,60,.15)}
.cropbox{position:absolute;border:2px solid var(--orange,#F28C28);box-shadow:0 0 0 9999px rgba(30,43,60,.45);cursor:move;touch-action:none}
.cropbox span{position:absolute;width:22px;height:22px;background:#fff;border:3px solid var(--orange,#F28C28);border-radius:50%;touch-action:none}
.cropbox [data-h=nw]{left:-12px;top:-12px;cursor:nwse-resize}.cropbox [data-h=ne]{right:-12px;top:-12px;cursor:nesw-resize}
.cropbox [data-h=sw]{left:-12px;bottom:-12px;cursor:nesw-resize}.cropbox [data-h=se]{right:-12px;bottom:-12px;cursor:nwse-resize}
.redpages{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:18px;background:#eef1f7;border-radius:14px;padding:14px}
.redpg{position:relative;background:#fff;box-shadow:0 4px 14px rgba(30,43,60,.12);cursor:crosshair;touch-action:none;user-select:none}
.redpg canvas{width:100%;height:100%;display:block}
.rbox{position:absolute;background:#000;outline:2px dashed #ff5252;outline-offset:1px;cursor:pointer}
.cmp-page{background:#fff;border:1px solid #e3e8f1;border-radius:12px;margin-bottom:14px;overflow:hidden}
.cmp-h{background:#f4f6fb;padding:8px 12px;font-weight:600;font-size:14px;display:flex;gap:8px;align-items:center}
.cmp-cols{display:grid;grid-template-columns:1fr 1fr}.cmp-cols>div{padding:12px;font-size:14px;line-height:1.7;word-break:break-word}.cmp-cols>div+div{border-left:1px solid #e3e8f1}
mark.del{background:#ffd7d7;color:#a40000;text-decoration:line-through;padding:0 2px}mark.ins{background:#d4f5dd;color:#0a6b2c;padding:0 2px}
.btn-navy{background:var(--navy,#1E2B3C);color:#fff}.btn-navy:hover{color:#fff;opacity:.92}
.xdocprev{background:#fff;border:1px solid #e3e8f1;border-radius:12px;padding:20px;max-height:460px;overflow:auto;margin-bottom:8px}
.slideprev{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:8px}
.slideprev canvas{width:100%;height:auto;border-radius:6px;box-shadow:0 3px 10px rgba(30,43,60,.15);background:#fff}
.htmlframe{width:1024px;max-width:100%;height:600px;border:1px solid #e3e8f1;border-radius:10px;background:#fff;margin-top:12px}
@media(max-width:575px){.xcard{padding:14px}.cmp-cols{grid-template-columns:1fr}.cmp-cols>div+div{border-left:0;border-top:1px solid #e3e8f1}.posgrid{max-width:none}}
/* utility suite */
.calc-res{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.cr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:4px 0 16px}
.cr-item{background:#f6f8fc;border:1px solid #e3e8f1;border-radius:12px;padding:10px 14px;min-width:130px}
.cr-item span{display:block;font-size:12px;color:#5b6478}.cr-item b{font-size:17px;color:#1E2B3C}
.cr-item.big{background:#1E2B3C;border-color:#1E2B3C}.cr-item.big span{color:#c9d5f2}.cr-item.big b{color:#fff;font-size:21px}
.emi-bar{height:12px;border-radius:8px;background:#F28C28;overflow:hidden;margin:4px 0}.emi-bar span{display:block;height:100%;background:#1E2B3C}
.qr-out{max-width:min(100%,360px);height:auto;border:1px solid #e3e8f1;border-radius:12px;margin-top:4px}
.tt-stats{display:flex;flex-wrap:wrap;gap:8px 20px;margin:14px 0 10px;font-size:14px}.tt-stats b{color:#1E2B3C;font-size:18px}
.tt-text{background:#f6f8fc;border:1px solid #e3e8f1;border-radius:12px;padding:14px 16px;font-size:18px;line-height:1.9;margin-bottom:10px;user-select:none;font-family:"Noto Sans Devanagari",Poppins,sans-serif}
.tt-text .ok{color:#1a8754}.tt-text .bad{color:#fff;background:#d32f2f;border-radius:3px}.tt-text .cur{border-bottom:3px solid #F28C28}
.tt-in{font-size:17px;font-family:"Noto Sans Devanagari",Poppins,sans-serif}
.res-img{max-width:240px;max-height:240px;border:1px solid #e3e8f1;border-radius:8px;background:#fff}
.dm{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:20px;align-items:start}
.dm-prev{position:sticky;top:84px}.a4wrap{width:100%;overflow:hidden}
.a4{width:794px;min-height:1123px;background:#fff;padding:64px 70px;box-shadow:0 8px 28px rgba(30,43,60,.16);transform-origin:top left;box-sizing:border-box}
.cm-prev{width:100%;height:auto;max-height:70vh;object-fit:contain;background:repeating-conic-gradient(#eef0f5 0 25%,#fff 0 50%) 0 0/18px 18px;border-radius:12px;box-shadow:0 8px 24px rgba(30,43,60,.14)}
@media(max-width:991px){.dm{grid-template-columns:1fr}.dm-prev{position:static;order:-1}}
.dm-prev,.dm-form{min-width:0}.a4wrap{position:relative;min-height:200px}.a4wrap .a4{position:absolute;left:0;top:0}
.calc-res>.cr-grid,.calc-res>.emi-bar,.calc-res>div{flex:1 1 100%}
.calc-res>.cr-item{flex:1 1 140px}
/* social media resizer */
.sr-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.sr-srcbox{position:relative;display:inline-block;max-width:100%;cursor:crosshair;touch-action:none;border-radius:10px;overflow:hidden;background:#eef1f7}
.sr-srcbox img{display:block;max-width:100%;max-height:300px}
.sr-dot{position:absolute;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #F28C28,0 2px 8px rgba(0,0,0,.4);background:rgba(242,140,40,.35);pointer-events:none}
.sr-fit{display:grid;gap:8px}.sr-fit label{margin:0}.sr-fit input{position:absolute;opacity:0}
.sr-fit span{display:block;border:1px solid #d5dbe7;border-radius:10px;padding:9px 12px;cursor:pointer;font-size:14px}
.sr-fit input:checked+span{border-color:#F28C28;background:#fff4e8;font-weight:600}.sr-fit input:focus-visible+span{outline:2px solid #F28C28}
.sr-plats{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.sr-plat{flex:0 0 auto;border:1px solid #d5dbe7;background:#fff;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600;color:#36415a;white-space:nowrap}
.sr-plat.on{background:#1E2B3C;border-color:#1E2B3C;color:#fff}
.sr-cnt:not(:empty){margin-left:6px;background:#F28C28;color:#fff;border-radius:999px;padding:0 7px;font-size:12px}
.sr-modes{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:12px}
.sr-mode{display:flex;align-items:center;gap:12px;border:1px solid #e3e8f1;border-radius:12px;padding:10px 12px;cursor:pointer;margin:0;background:#fff}
.sr-mode input{position:absolute;opacity:0}.sr-mode.on{border-color:#1a8754;background:#f0faf4;box-shadow:0 0 0 2px rgba(26,135,84,.15)}
.sr-mode:has(input:focus-visible){outline:2px solid #F28C28}
.sr-ratio{display:inline-block;border:2px solid #9aa3b5;border-radius:3px;flex:0 0 auto}.sr-mode.on .sr-ratio{border-color:#1a8754;background:#d4f5dd}
.sr-mode span{display:flex;flex-direction:column;line-height:1.3}.sr-mode b{font-size:14px;font-weight:600}.sr-mode small{color:#6b7280}
.sr-out{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.sr-card{background:#fff;border:1px solid #e3e8f1;border-radius:14px;padding:10px;margin:0;display:flex;flex-direction:column;gap:8px}
.sr-thumb{display:flex;align-items:center;justify-content:center;height:220px;background:repeating-conic-gradient(#eef0f5 0 25%,#fff 0 50%) 0 0/16px 16px;border-radius:8px;overflow:hidden}
.sr-thumb img{max-width:100%;max-height:100%;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.sr-card figcaption{font-size:13px}
@media(max-width:767px){.sr-top{grid-template-columns:1fr}.sr-modes{grid-template-columns:1fr 1fr}.sr-out{grid-template-columns:1fr 1fr}.sr-thumb{height:150px}}
@media(max-width:400px){.sr-modes{grid-template-columns:1fr}}
.sr-plat{display:inline-flex;align-items:center;gap:7px}.sr-ico{color:var(--pc);font-size:17px;line-height:1}
.sr-plat.on{background:var(--pc);border-color:var(--pc)}.sr-plat.on .sr-ico{color:#fff}
.sr-plat[style*="#F7C600"].on{color:#1d2433}.sr-plat[style*="#F7C600"].on .sr-ico{color:#1d2433}
.sr-card figcaption .sr-ico{font-size:15px;margin-right:4px;vertical-align:-2px}
/* background remover */
.rb{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:start}
.rb-tabs{display:inline-flex;background:#eef1f7;border-radius:999px;padding:3px;margin-bottom:8px}.rb-tabs button{border:0;background:none;padding:5px 14px;border-radius:999px;font-size:13px;font-weight:600;color:#5b6478}.rb-tabs button.on{background:#fff;color:#1E2B3C;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.rb-canvas{position:relative;background:repeating-conic-gradient(#e6e9f0 0 25%,#fff 0 50%) 0 0/18px 18px;border-radius:12px;overflow:hidden;line-height:0;touch-action:none}
.rb-canvas canvas{width:100%;height:auto;max-height:70vh;object-fit:contain}
.rb-cursor{position:absolute;border:2px solid #F28C28;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 0 1px #fff}
.seg3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.seg3 label{margin:0}.seg3 input{position:absolute;opacity:0}.seg3 span{display:block;text-align:center;border:1px solid #d5dbe7;border-radius:10px;padding:7px 4px;font-size:12.5px;cursor:pointer;line-height:1.3}
.seg3 input:checked+span{border-color:#F28C28;background:#fff4e8;font-weight:600}.seg3 input:focus-visible+span{outline:2px solid #F28C28}
.bgsw{width:38px;height:34px;border-radius:8px;border:2px solid #d5dbe7;color:#fff;font-size:14px}.bgsw.on{border-color:#F28C28;box-shadow:0 0 0 2px rgba(242,140,40,.3)}
.dotc{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid #999;margin-right:5px;vertical-align:-1px}
@media(max-width:991px){.rb{grid-template-columns:1fr}}
/* QR studio */
.qrs{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:start}.qrs-sticky{position:sticky;top:84px}
.qr-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.qr-type{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid #e3e8f1;background:#fff;border-radius:12px;padding:10px 6px;font-size:12.5px;font-weight:600;color:#36415a;line-height:1.25;text-align:center}
.qr-type i{font-size:20px;color:#F28C28}.qr-type.on{border-color:#1E2B3C;background:#1E2B3C;color:#fff}.qr-type.on i{color:#fff}
.qr-presets{display:flex;flex-wrap:wrap;gap:8px}.qr-pre{display:inline-flex;align-items:center;gap:6px;border:1px solid #d5dbe7;background:#fff;border-radius:999px;padding:5px 12px 5px 6px;font-size:13px}
.qr-pre i{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%);border:1px solid #ccd}
.qr-stage{display:flex;justify-content:center;background:repeating-conic-gradient(#eef0f5 0 25%,#fff 0 50%) 0 0/16px 16px;border-radius:12px;padding:16px}
.qr-stage canvas{width:100%;max-width:340px;height:auto}
@media(max-width:991px){.qrs{grid-template-columns:1fr}.qrs-right{order:-1}.qrs-sticky{position:static}.qr-stage canvas{max-width:260px}}
/* doc maker design picker */
.dt-pick{display:flex;flex-wrap:wrap;gap:8px}.dt-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid #d5dbe7;background:#fff;border-radius:10px;padding:6px 10px;font-size:12.5px;font-weight:600;color:#36415a}
.dt-btn.on{border-color:#F28C28;background:#fff4e8;color:#b45a00}
.dt-ico{display:inline-block;width:18px;height:24px;background:#fff;border:1px solid #b9c1d0;border-radius:2px;position:relative}
.dt-ico-classic{outline:2px double #1E2B3C;outline-offset:-4px}.dt-ico-band{border-top:5px solid #1E2B3C}.dt-ico-side{border-left:4px solid #1E2B3C}
.dt-ico-elegant{border-color:#c9a227;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 3px #c9a227}.dt-ico-corporate::after{content:'';position:absolute;left:2px;right:6px;top:5px;height:2px;background:#1E2B3C}.dt-ico-frame{border:3px solid #1E2B3C}
.cropstage{overflow:hidden;border-radius:4px}
/* crop dim lighter */
.cropbox{box-shadow:0 0 0 9999px rgba(30,43,60,.28)}
/* ===== calculators ===== */
.calc-ui{--cc:#1E2B3C}
.calc-ui .xcard{border-radius:20px;padding:22px;box-shadow:0 10px 30px rgba(30,43,60,.07)}
.calc-head{display:flex;align-items:center;gap:14px;margin:-4px 0 16px;padding-bottom:14px;border-bottom:1px dashed #e3e8f1}
.calc-head b{display:block;font-size:18px;color:#1E2B3C}.calc-head small{color:#6b7385;font-size:12.5px}
.calc-ico{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;background:linear-gradient(135deg,var(--cc),color-mix(in srgb,var(--cc) 55%,#F28C28));box-shadow:0 8px 18px color-mix(in srgb,var(--cc) 35%,transparent)}
.calc-ui .form-control,.calc-ui .form-select{border-radius:12px;padding:.6rem .85rem;border-color:#d9dfea;font-weight:500}
.calc-ui .form-control:focus,.calc-ui .form-select:focus{border-color:var(--cc);box-shadow:0 0 0 .2rem color-mix(in srgb,var(--cc) 15%,transparent)}
.calc-ui .form-label{font-weight:600;color:#36415a}
.calc-ui .cr-grid{gap:12px}
.calc-ui .cr-item{border-radius:16px;background:#f7f9fc;border:1px solid #e6ebf3;padding:12px 16px;transition:transform .15s}
.calc-ui .cr-item b{font-size:19px;color:#1E2B3C;letter-spacing:.2px}
.calc-ui .cr-item.big{background:linear-gradient(135deg,var(--cc),color-mix(in srgb,var(--cc) 70%,#000));border:0;box-shadow:0 10px 22px color-mix(in srgb,var(--cc) 30%,transparent)}
.calc-ui .cr-item.big b{font-size:24px;color:#fff}.calc-ui .cr-item.big span{color:rgba(255,255,255,.8)}
.calc-ui .calc-res{gap:12px}
.calc-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0 4px}
.calc-actions .btn{border-radius:999px;padding:6px 14px}
.emi-donut-wrap{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:6px 0 10px}
.emi-donut{--p:70;width:132px;height:132px;border-radius:50%;background:conic-gradient(var(--cc) calc(var(--p)*1%),#F28C28 0);display:grid;place-items:center}
.emi-donut span{width:92px;height:92px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.emi-donut b{font-size:20px;color:#1E2B3C}.emi-donut small{font-size:11px;color:#6b7385}
.emi-legend div{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:14px}.emi-legend i{width:12px;height:12px;border-radius:3px;display:inline-block}.emi-legend b{margin-left:4px}
.calc-ui table{font-size:14px}.calc-ui thead th{background:#f4f6fb;color:#36415a;font-weight:600}
@media print{body *{visibility:hidden}.calc-ui,.calc-ui *{visibility:visible}.calc-ui{position:absolute;left:0;top:0;width:100%}.calc-actions,.calc-ui .form-control,.calc-ui .form-select{display:none!important}}
/* ===== typing test ===== */
.tt-top{padding:14px 16px}.tt-opts{display:flex;flex-wrap:wrap;gap:10px}
.tt-seg{display:inline-flex;background:#eef1f7;border-radius:12px;padding:3px;gap:2px;flex-wrap:wrap}
.tt-seg button{border:0;background:none;border-radius:9px;padding:7px 12px;font-size:13.5px;font-weight:600;color:#5b6478}
.tt-seg button.on{background:#fff;color:#1E2B3C;box-shadow:0 2px 6px rgba(30,43,60,.12)}
.tt-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0 8px}
.tt-stat{background:#fff;border:1px solid #e6ebf3;border-radius:16px;padding:12px 8px;text-align:center;position:relative;box-shadow:0 4px 14px rgba(30,43,60,.05)}
.tt-stat b{display:block;font-size:24px;color:#1E2B3C;line-height:1.1}.tt-stat span{font-size:12px;color:#6b7385}
.tt-time svg{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);opacity:.18;transform:rotate(-90deg)}
.tt-time circle{fill:none;stroke-width:3}.tt-time .bg{stroke:#cfd6e4}.tt-time .fg{stroke:#F28C28;stroke-dasharray:97.4;stroke-dashoffset:0;transition:stroke-dashoffset .25s linear}.tt-time .fg.low{stroke:#d32f2f}
.tt-time{background:linear-gradient(135deg,#fff7ee,#fff)}
.tt-prog{height:6px;background:#eef1f7;border-radius:6px;overflow:hidden;margin-bottom:12px}.tt-prog span{display:block;height:100%;width:0;background:linear-gradient(90deg,#F28C28,#1a8754);transition:width .2s}
.tt-board{padding:0;overflow:hidden}
.tt-text{padding:18px 20px;font-size:20px;line-height:2.05;max-height:220px;overflow-y:auto;color:#9aa3b5;user-select:none;font-family:Poppins,"Noto Sans Devanagari",sans-serif;scroll-behavior:smooth}
.tt-text.hi{font-family:"Noto Sans Devanagari",Hind,sans-serif;font-size:21px}
.tt-text .w{border-radius:5px;padding:1px 0}.tt-text .w.ok{color:#1a8754}.tt-text .w.bad{color:#d32f2f;text-decoration:underline wavy #d32f2f 1px;text-underline-offset:5px}
.tt-text .w.cur{background:#fff1e0;color:#1E2B3C;box-shadow:0 0 0 3px #fff1e0}.tt-text .cok{color:#1a8754}.tt-text .cbad{color:#fff;background:#d32f2f;border-radius:3px}
.tt-in{display:block;width:100%;border:0;border-top:2px solid #eef1f7;padding:16px 20px;font-size:19px;resize:none;outline:none;background:#fbfcfe;font-family:Poppins,"Noto Sans Devanagari",sans-serif}
.tt-in.hi{font-family:"Noto Sans Devanagari",Hind,sans-serif}.tt-in:focus{background:#fff;border-top-color:#F28C28}
.tt-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #eef1f7;background:#fff}
.tt-result{text-align:center;margin-top:16px;padding:24px}.tt-badge{font-size:44px;line-height:1}.tt-result h3{font-size:20px;color:#1E2B3C;margin:8px 0 16px}
.tt-verdict{background:#fff7ee;border:1px solid #fde0bd;color:#8a4b00;border-radius:12px;padding:10px 14px;font-size:14px;margin-top:6px}.tt-verdict.ok{background:#ecf8f1;border-color:#bfe8cf;color:#146c43}
@media(max-width:767px){.tt-stats{grid-template-columns:repeat(3,1fr)}.tt-stats .tt-stat:nth-child(4),.tt-stats .tt-stat:nth-child(5){grid-column:span 1}.tt-text{font-size:17px;padding:14px;max-height:180px}.tt-in{font-size:17px;padding:12px 14px}.tt-stat b{font-size:20px}.tt-seg button{padding:6px 9px;font-size:12.5px}}
@media(max-width:400px){.tt-stats{grid-template-columns:repeat(2,1fr)}.tt-stats .tt-stat:first-child{grid-column:span 2}}
/* ===== v2.23 new utilities ===== */
.cc-row{display:grid;grid-template-columns:72px 18px 1fr 110px;align-items:center;gap:8px;margin-bottom:8px}
.cc-d{font-weight:700;text-align:center;border-radius:8px;padding:8px 4px;font-size:15px}.cc-d.n{background:#ecf8f1;color:#146c43;border:1px solid #bfe8cf}.cc-d.c{background:#fff7ee;color:#8a4b00;border:1px solid #fde0bd;border-radius:999px}
.cc-x{color:#9aa3b5;text-align:center}.cc-t{text-align:right;font-weight:600;color:#1E2B3C}.cc-in{text-align:center;font-weight:600}
.cc-words{margin-top:10px;background:#f7f9fc;border:1px dashed #d9dfea;border-radius:12px;padding:10px 14px;font-size:14px;color:#36415a}
.hz-drop{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px dashed #cfd6e4;border-radius:16px;padding:26px 14px;cursor:pointer;text-align:center;background:#fbfcfe;transition:border-color .15s}
.hz-drop:hover,.hz-drop:focus-within{border-color:var(--orange,#F28C28)}.hz-drop>i{font-size:34px;color:var(--orange,#F28C28)}.hz-drop small{color:#6b7385}
.hz-row{display:grid;grid-template-columns:80px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #eef1f7}.hz-row:last-child{border:0}.hz-row span{font-weight:600;font-size:13px;color:#36415a}
.hz-row code{word-break:break-all;font-size:12.5px;color:#1E2B3C;background:#f7f9fc;padding:6px 8px;border-radius:6px}.hz-row.ok code{background:#ecf8f1;color:#146c43}
.yt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.yt-card{padding:10px;margin:0}.yt-card img{width:100%;border-radius:10px;aspect-ratio:16/9;object-fit:cover;background:#eef1f7}
.yt-card figcaption{display:flex;flex-direction:column;gap:6px;margin-top:8px}.yt-card.na img{opacity:.35}
.wp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.wp-item{background:#fff;border:1px solid #e6ebf3;border-radius:14px;padding:8px;text-align:center}
.wp-item canvas{max-width:100%;max-height:200px;border-radius:6px;box-shadow:0 2px 8px rgba(30,43,60,.12)}.wp-act{display:flex;justify-content:center;gap:4px;margin-top:6px}
.q-sw{width:42px;height:42px;border-radius:12px;border:3px solid #fff;box-shadow:0 0 0 1px #d9dfea;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:#eef1f7;color:#5b6478}
.q-sw.on{box-shadow:0 0 0 3px var(--orange,#F28C28)}.q-cv{width:100%;max-width:520px;height:auto;border-radius:14px;box-shadow:0 10px 30px rgba(30,43,60,.15);display:block;margin:0 auto}
.wa-pv{border:1px solid #e6ebf3;border-radius:10px;padding:12px;min-height:210px;max-height:320px;overflow:auto;font-size:14px;background:#fff}.wa-pv p{margin:0 0 6px}
.seo-cnt{font-weight:600;color:#6b7385}.seo-cnt.near{color:#b7791f}.seo-cnt.over{color:#d32f2f}
.serp{font-family:Arial,sans-serif;max-width:600px}.serp-u{display:flex;align-items:center;gap:10px;margin-bottom:4px}.serp-u b{display:block;font-size:14px;color:#202124;font-weight:400}.serp-u small{font-size:12px;color:#4d5156}
.serp-fav{width:28px;height:28px;border-radius:50%;background:#f1f3f4;display:flex;align-items:center;justify-content:center;font-size:13px;color:#5f6368;flex:none}
.serp-t{color:#1a0dab;font-size:20px;line-height:1.3;margin-bottom:3px}.serp-d{color:#4d5156;font-size:14px;line-height:1.58}.serp.mob .serp-t{font-size:18px}.serp.mob{max-width:360px}
@media(max-width:575px){.cc-row{grid-template-columns:62px 14px 1fr 88px}.hz-row{grid-template-columns:1fr auto}.hz-row code{grid-column:1/-1;grid-row:2}}
/* card auto crop */
.ac-wrap{max-height:70vh;overflow:auto;background:#eef1f7;border-radius:12px;padding:10px;text-align:center}
.ac-page{position:relative;display:inline-block;max-width:100%;touch-action:none;box-shadow:0 2px 10px rgba(30,43,60,.15)}.ac-page canvas{display:block;max-width:100%;height:auto}
.ac-box{position:absolute;border:2px solid #F28C28;background:rgba(242,140,40,.08);cursor:move;touch-action:none}
.ac-lb{position:absolute;left:-2px;top:-24px;background:#F28C28;color:#fff;font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px 6px 0 0;white-space:nowrap}
.ac-x{position:absolute;right:-12px;top:-12px;width:24px;height:24px;border-radius:50%;border:0;background:#d32f2f;color:#fff;font-weight:700;line-height:1;padding:0}
.ac-h{position:absolute;right:-9px;bottom:-9px;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #F28C28;cursor:nwse-resize}
.ac-prev{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.ac-prev figure{margin:0;text-align:center;flex:1 1 150px;max-width:260px}.ac-prev img{width:100%;border-radius:8px;box-shadow:0 3px 12px rgba(30,43,60,.18)}.ac-prev figcaption{font-size:12.5px;margin-top:4px;color:#5b6478}
/* ---- premium document makers (docMaker) ---- */
.dm{gap:24px}
.dm-form{position:relative;border:0!important;border-radius:20px!important;box-shadow:0 1px 2px rgba(30,43,60,.06),0 12px 32px -12px rgba(30,43,60,.18)!important;overflow:hidden}
.dm-form::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#1E2B3C,#5b3cc4 45%,#F28C28)}
.dm-form .form-control,.dm-form .form-select{border-radius:12px;border-color:#dfe4ee;background-color:#fbfcfe}
.dm-form .form-control:focus,.dm-form .form-select:focus{background:#fff;border-color:#F28C28;box-shadow:0 0 0 .2rem rgba(242,140,40,.14)}
.dm-style{background:linear-gradient(135deg,#fff7ee,#f4f0ff);border-radius:14px;padding:12px}
.dm-prev{background:radial-gradient(circle at 20% 15%,rgba(242,140,40,.18),transparent 45%),radial-gradient(circle at 85% 80%,rgba(91,60,196,.22),transparent 50%),linear-gradient(160deg,#1E2B3C,#1b2f6b);border-radius:24px;padding:16px;box-shadow:0 20px 40px -18px rgba(30,43,60,.55)}
.dm-prev .a4{box-shadow:0 18px 40px rgba(0,0,0,.35)}
.dm-form .btn-ifn,.dm .btn-ifn{background:linear-gradient(135deg,#F28C28,#e2552c);border:0;box-shadow:0 8px 18px -6px rgba(226,85,44,.55)}
/* screenshot editor */
.se-bar{display:flex;gap:6px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}
.se-t{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:64px;border:0;border-radius:12px;padding:8px 6px;background:#f2f4f9;color:#36415a;font-size:11.5px;font-weight:600}
.se-t i{font-size:18px}.se-t.on{background:linear-gradient(135deg,#F28C28,#e2552c);color:#fff;box-shadow:0 6px 14px -4px rgba(226,85,44,.5)}
.se-opts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:linear-gradient(135deg,#fff7ee,#f4f0ff);border-radius:14px;padding:8px 10px;margin:6px 0 10px}
.se-o{display:flex;align-items:center;gap:6px;margin:0}.se-o input[type=range]{width:90px}.se-o input[type=color]{width:34px;height:34px;border:0;border-radius:50%;padding:0;background:none}
.se-sw{display:flex;gap:4px}.se-sw button{width:24px;height:24px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cfd5e2}
.se-stage{position:relative;background:repeating-conic-gradient(#e9edf4 0 25%,#f7f9fc 0 50%) 0 0/22px 22px;border-radius:14px;padding:10px;text-align:center}
#seCv{max-width:100%;max-height:72vh;height:auto;display:inline-block;touch-action:none;box-shadow:0 10px 30px rgba(30,43,60,.25);border-radius:4px;cursor:crosshair}
.se-ok{position:absolute;top:16px;right:16px}
/* invoice layout picker */
.inv-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}
.inv-lb{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px solid #e3e8f2;background:#fff;border-radius:12px;padding:8px 6px;font-size:12px;font-weight:600;color:#36415a;line-height:1.25;text-align:center}
.inv-lb.on{border-color:#F28C28;box-shadow:0 6px 14px -6px rgba(242,140,40,.5)}
.il{display:block;width:44px;height:56px;border:1.5px solid #9aa3b5;border-radius:3px;background:#fff;position:relative}
.il::before,.il::after{content:"";position:absolute;left:5px;right:5px}
.il-gst::before{top:5px;height:8px;border:1px solid #1E2B3C}.il-gst::after{top:17px;bottom:6px;background:repeating-linear-gradient(#cfd6e4 0 1px,transparent 1px 6px);border:1px solid #1E2B3C}
.il-classic::before{top:4px;height:7px;background:#1E2B3C}.il-classic::after{top:15px;bottom:5px;border:1px solid #333;background:linear-gradient(90deg,transparent 30%,#333 30% calc(30% + 1px),transparent 0)}
.il-modern::before{top:6px;height:4px;width:18px;background:#111}.il-modern::after{top:18px;bottom:8px;background:repeating-linear-gradient(#e3e8f2 0 1px,transparent 1px 7px)}
.il-thermal{width:26px;border-style:dashed}.il-thermal::before{top:5px;height:3px;background:#111;left:4px;right:4px}.il-thermal::after{top:12px;bottom:5px;left:4px;right:4px;background:repeating-linear-gradient(#b8c0cf 0 1px,transparent 1px 4px)}
.il-simple::before{top:5px;height:5px;background:#F28C28}.il-simple::after{top:16px;height:6px;background:#1E2B3C}
.a4wrap .a4.inv-thermal{box-shadow:0 10px 30px rgba(0,0,0,.35)}
.inv-it{border:1px solid #e3e8f2;border-radius:10px;padding:6px;margin-top:6px;background:#fbfcfe}
