.nj-app{font-family:Arial,sans-serif;background:#f3f5f8;padding:18px;color:#20252b}.nj-head{background:#fff;padding:18px;border-radius:12px;margin-bottom:16px}.nj-head h2{margin:0;color:#1261a0}.nj-head p{margin:5px 0 0;color:#66717d}.nj-layout{display:grid;grid-template-columns:390px 1fr;gap:18px;align-items:start}.nj-form{max-height:calc(100vh - 130px);overflow:auto}.nj-box{background:#fff;padding:15px;margin-bottom:12px;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.05)}.nj-box h3{font-size:15px;margin:0 0 10px;color:#1261a0}.nj-box input,.nj-box textarea,.nj-box select{width:100%;padding:9px;border:1px solid #d6dce2;border-radius:7px;margin:5px 0;font:inherit;box-sizing:border-box}.nj-box textarea{min-height:75px}.nj-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.nj-templates{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:330px;overflow:auto}.nj-template{padding:8px;border:1px solid #dce2e8;border-radius:7px;background:#f7f8fa;font-size:11px;cursor:pointer}.nj-template.active{background:#1261a0;color:#fff}.nj-add{background:#eef6ff;color:#1261a0;border:0;padding:9px;border-radius:7px;cursor:pointer}.nj-remove{background:#fff0f0;color:#b42318;border:0;padding:6px 9px;border-radius:6px}.nj-dynamic{border:1px solid #e5e9ed;padding:8px;border-radius:8px;margin-bottom:8px}.nj-save,.nj-print{border:0;padding:10px 13px;border-radius:7px;color:#fff;cursor:pointer;margin:4px 3px 0 0}.nj-save{background:#1261a0}.nj-print{background:#20252b}.nj-consent{font-size:12px;color:#555;display:block}.nj-consent input{width:auto!important}.nj-preview-wrap{overflow:auto}.nj-preview-label{background:#fff;padding:10px;border-radius:8px;margin-bottom:10px;color:#66717d;font-size:12px}.nj-paper{width:794px;min-height:1123px;background:#fff;margin:auto;padding:50px;box-sizing:border-box;box-shadow:0 3px 20px rgba(0,0,0,.12)}.nj-name{font-size:32px;font-weight:800;color:#1261a0}.nj-title{font-size:15px;margin-top:4px}.nj-contact{font-size:11px;color:#66717d;margin-top:9px}.nj-sec{margin-top:20px}.nj-sec h2{font-size:13px;text-transform:uppercase;letter-spacing:1px;border-bottom:2px solid #1261a0;padding-bottom:5px}.nj-sec p{font-size:11px;line-height:1.55}.nj-item{margin-bottom:10px;font-size:11px}.nj-item b{display:inline-block}.nj-item span{float:right;color:#68727d}.nj-item small{display:block;color:#5e6872;margin-top:3px}.nj-item p{margin:4px 0}.nj-skills{display:flex;flex-wrap:wrap;gap:5px}.nj-skill{background:#edf2f7;padding:4px 7px;border-radius:4px;font-size:10px}.t2{border-left:65px solid #182b3a}.t3{font-family:Georgia,serif}.t3 .nj-name{color:#7b4d27}.t4 .nj-name{color:#087f5b}.t5 .nj-name{color:#111}.t6 .nj-name{color:#6938ef}.t7 .nj-name{color:#c2410c}.t8 .nj-name{color:#0f766e}.t9 .nj-name{color:#111}.t10 .nj-name{color:#334155}.t11 .nj-name{color:#123b63}.t12 .nj-name{color:#4b5563}.t13 .nj-name{color:#2f5d50}.t14 .nj-name{color:#087f5b}.t15 .nj-name{color:#1d4ed8}.t16 .nj-name{color:#1e40af}.t17 .nj-name{color:#0f766e}.t18 .nj-name{color:#2563eb}.t19 .nj-name{color:#111827}.t20 .nj-name{color:#334155}.t21 .nj-name{color:#b45309}.t22 .nj-name{color:#374151}.t23 .nj-name{color:#be123c}.t24 .nj-name{color:#166534}.t25 .nj-name{color:#4338ca}.t26 .nj-name{color:#0369a1}.t27 .nj-name{color:#0f766e}.t28 .nj-name{color:#7c3aed}.t29 .nj-name{color:#b91c1c}.t30 .nj-name{color:#475569}.t31 .nj-name{color:#7c3aed}.t32 .nj-name{color:#111827}.t33 .nj-name{color:#b91c1c}.t34 .nj-name{color:#a16207}.t35 .nj-name{color:#1d4ed8}.t36 .nj-name{color:#15803d}.t37 .nj-name{color:#111827}.t38 .nj-name{color:#0f766e}.t39 .nj-name{color:#1e3a8a}.t40 .nj-name{color:#334155}@media(max-width:950px){.nj-layout{grid-template-columns:1fr}.nj-form{max-height:none}.nj-paper{margin-left:0}}@media print{body{background:#fff}.nj-head,.nj-form,.nj-preview-label{display:none!important}.nj-app{padding:0}.nj-preview-wrap{overflow:visible}.nj-paper{box-shadow:none;margin:0}}
/* A4 print/PDF fix */
@page{
  size:A4 portrait;
  margin:0;
}
@media print{
  html,body{
    width:210mm !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    overflow:visible !important;
  }
  body *{
    visibility:hidden !important;
  }
  #nj-resume-app,
  #nj-resume-app .nj-preview-wrap,
  #nj-resume-app .nj-paper,
  #nj-resume-app .nj-paper *{
    visibility:visible !important;
  }
  #nj-resume-app{
    display:block !important;
    width:210mm !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
  }
  #nj-resume-app .nj-layout{
    display:block !important;
    width:210mm !important;
    margin:0 !important;
    padding:0 !important;
  }
  #nj-resume-app .nj-preview-wrap{
    display:block !important;
    width:210mm !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:#fff !important;
  }
  #nj-resume-app .nj-paper{
    display:block !important;
    width:210mm !important;
    min-width:210mm !important;
    max-width:210mm !important;
    min-height:297mm !important;
    height:auto !important;
    margin:0 !important;
    padding:15mm !important;
    box-sizing:border-box !important;
    box-shadow:none !important;
    border:0 !important;
    overflow:visible !important;
    transform:none !important;
    page-break-after:auto !important;
    break-after:auto !important;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }
  #nj-resume-app .nj-sec{
    break-inside:avoid;
    page-break-inside:avoid;
  }
  #nj-resume-app .nj-item{
    break-inside:avoid;
    page-break-inside:avoid;
  }
  #nj-resume-app .nj-head,
  #nj-resume-app .nj-form,
  #nj-resume-app .nj-preview-label{
    display:none !important;
  }
}

/* 40 structurally different resume designs */
.nj-paper{font-family:Arial,sans-serif;color:#222}.nj-paper .nj-name{color:#165fa8}
.layout-classic{border-bottom:4px solid #165fa8;padding-bottom:14px}
.layout-centered{text-align:center;border-bottom:1px solid #aaa;padding-bottom:18px}.layout-centered .nj-contact{text-align:center}
.layout-serif{font-family:Georgia,serif;border-bottom:2px solid #7b4d27;padding-bottom:14px}.layout-serif .nj-name{color:#7b4d27}
.layout-greenbar{border-left:9px solid #0f766e;padding-left:15px}.layout-greenbar .nj-name{color:#0f766e}
.layout-sidebar{display:grid;grid-template-columns:210px 1fr;gap:28px;margin:-50px;padding:50px;min-height:1023px}.layout-sidebar>aside{background:#eef4fa;margin:-50px 0 -50px -50px;padding:50px 24px}.layout-sidebar.reverse{grid-template-columns:1fr 210px}.layout-sidebar.reverse>aside{margin:-50px -50px -50px 0}.layout-sidebar.dark>aside{background:#182b3a;color:#fff}.layout-sidebar.dark .nj-name{color:#fff}.layout-sidebar.accent>aside{background:#e7f6f3}.layout-sidebar.accent .nj-name{color:#0f766e}
.layout-ats .nj-sec h2{border-bottom:1px solid #222;color:#222}.layout-ats.boxed .nj-sec{border:1px solid #ddd;padding:8px 12px}
.layout-corporate .corporate-head{background:#123b63;color:#fff;padding:24px;margin:-50px -50px 20px}.corporate-head .nj-name{color:#fff}.corporate-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.layout-elegant{font-family:Georgia,serif}.elegant-head{border-bottom:1px solid #b8a58b;padding-bottom:18px}.elegant-head .nj-name{color:#72543a}
.layout-teacher .teacher-head{background:#087f5b;color:#fff;padding:24px;margin:-50px -50px 20px}.teacher-head .nj-name{color:#fff}.layout-teacher.modern .hero{border-radius:12px;background:#e9f8f2;padding:25px}.layout-teacher.modern .hero .nj-name{color:#087f5b}
.layout-government .gov-head{border-top:8px solid #1d4ed8;border-bottom:2px solid #1d4ed8;padding:20px 0}.layout-government .nj-name{color:#1d4ed8}
.layout-banking .bank-head{background:#eef5ff;border-left:8px solid #1e40af;padding:20px}.layout-banking .nj-name{color:#1e40af}
.layout-tech .tech-head{background:#0f172a;color:#fff;padding:24px;margin:-50px -50px 20px}.tech-head .nj-name{color:#38bdf8}.layout-code{font-family:Consolas,monospace}.code-head{background:#111827;color:#fff;padding:22px;margin:-50px -50px 20px}.code-head .nj-name{color:#22c55e}
.layout-fresher .fresher-head{border-bottom:6px solid #2563eb;padding-bottom:16px}.layout-fresher .nj-name{color:#2563eb}.layout-student .student-head{text-align:center;background:#f1f5f9;padding:22px}.student-head .nj-name{color:#334155}
.layout-split .split-top{background:#1e293b;color:#fff;padding:25px;margin:-50px -50px 25px}.split-top .nj-name{color:#fff}.split-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:25px}.layout-split.cards .split-grid>div{border:1px solid #ddd;padding:12px}.layout-modern .modern-head{border-bottom:5px solid #4338ca;padding-bottom:15px}.layout-modern .nj-name{color:#4338ca}.layout-modern.circles .nj-skill{border-radius:20px;background:#ede9fe;color:#5b21b6}
.layout-timeline .timeline-head{padding-bottom:14px;border-bottom:3px solid #4338ca}.layout-timeline .nj-item{border-left:3px solid #4338ca;padding-left:12px;margin-left:7px}.layout-timeline.blue .timeline-head{border-color:#0369a1}.layout-timeline.blue .nj-item{border-color:#0369a1}
.layout-cards .card-head{background:#f8fafc;padding:22px;border:1px solid #e2e8f0}.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.card-grid .nj-sec{border:1px solid #e2e8f0;padding:10px;margin:0}.layout-cards.purple .card-head{background:#f5f3ff}.layout-cards.purple .nj-name{color:#7c3aed}
.layout-executive .exec-head{border-bottom:7px solid #111;padding-bottom:15px}.layout-executive .nj-name{color:#111}.exec-body{padding-top:2px}.layout-executive.gold .exec-head{border-color:#a16207}.layout-executive.gold .nj-name{color:#a16207}
.layout-creative .creative-head{background:#f5f3ff;border-radius:18px;padding:24px}.layout-creative .nj-name{color:#7c3aed}.creative-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.creative-grid .nj-sec{border-radius:10px;background:#fafafa;padding:10px;margin:0}.layout-creative.red .creative-head{background:#fff1f2}.layout-creative.red .nj-name{color:#be123c}
.layout-ribbon .ribbon{background:#b91c1c;color:#fff;padding:25px;margin:-50px -50px 22px;border-bottom-right-radius:35px}.ribbon .nj-name{color:#fff}.layout-ribbon.gold .ribbon{background:#a16207}
.layout-blueblock .blueblock-head{background:#1d4ed8;color:#fff;padding:28px;margin:-50px -50px 20px}.blueblock-head .nj-name{color:#fff}.layout-greenblock .greenblock-head{background:#15803d;color:#fff;padding:28px;margin:-50px -50px 20px}.greenblock-head .nj-name{color:#fff}
.layout-darkexec{background:#111827;color:#fff;margin:-50px;padding:50px;min-height:1023px}.dark-head{padding-bottom:20px;border-bottom:1px solid #64748b}.dark-head .nj-name{color:#fff}.dark-body{padding-top:2px}.dark-body .nj-sec h2{border-color:#94a3b8}.layout-clean-side{display:grid;grid-template-columns:190px 1fr;gap:25px;margin:-50px;padding:50px}.layout-clean-side aside{border-right:2px solid #0f766e;padding-right:18px}.layout-clean-side .nj-name{color:#0f766e}
.layout-academic{font-family:Georgia,serif}.academic-head{text-align:center;border-bottom:3px double #1e3a8a;padding-bottom:15px}.academic-head .nj-name{color:#1e3a8a}.layout-international .intl-head{background:#334155;color:#fff;padding:25px;margin:-50px -50px 20px}.intl-head .nj-name{color:#fff}.intl-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:25px}.intl-grid aside{background:#f1f5f9;padding:12px}.intl-grid aside .nj-sec:first-child{margin-top:0}
@media(max-width:700px){.corporate-grid,.two-col,.split-grid,.card-grid,.creative-grid,.intl-grid,.layout-sidebar,.layout-sidebar.reverse,.layout-clean-side{grid-template-columns:1fr}.layout-sidebar,.layout-sidebar.reverse,.layout-clean-side{margin:0;padding:0}.layout-sidebar>aside,.layout-sidebar.reverse>aside{margin:0;padding:18px}.nj-paper{width:794px}.nj-paper{overflow:hidden}}

/* V3.4 visual template engine marker */
.nj-v34 .nj-paper.template-1 .nj-name{font-weight:800}
.nj-v34 .nj-paper.template-2 .nj-name{font-size:36px;letter-spacing:1px}
.nj-v34 .nj-paper.template-5{padding:50px}
.nj-v34 .nj-paper.template-7 .nj-sec h2{color:#fff;background:#263b4f;padding:6px}
.nj-v34 .nj-paper.template-9{font-family:Arial,sans-serif}
.nj-v34 .nj-paper.template-18{font-family:Consolas,monospace}
.nj-v34 .nj-paper.template-25 .nj-sec h2{letter-spacing:2px}
.nj-v34 .nj-paper.template-31 .nj-sec{border-radius:12px}
.nj-v34 .nj-paper.template-37{font-family:Arial,sans-serif}

/* =========================================================
   V3.5 — ISOLATED A4 PRINT ENGINE
   Only #nj-print-root is printed.
   ========================================================= */
#nj-print-root{display:none}
@page{size:A4 portrait;margin:0}
@media print{
  html,body{
    width:210mm!important;
    min-width:210mm!important;
    max-width:210mm!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    overflow:visible!important;
  }

  /* Hide the complete live website while printing. */
  body > *:not(#nj-print-root){
    display:none!important;
  }

  #nj-print-root{
    display:block!important;
    position:static!important;
    width:210mm!important;
    min-width:210mm!important;
    max-width:210mm!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }

  #nj-print-root .nj-print-paper{
    display:block!important;
    position:relative!important;
    width:210mm!important;
    min-width:210mm!important;
    max-width:210mm!important;
    min-height:297mm!important;
    height:auto!important;
    margin:0!important;
    padding:13mm 14mm!important;
    box-sizing:border-box!important;
    background:#fff!important;
    color:#222!important;
    box-shadow:none!important;
    border:0!important;
    overflow:visible!important;
    transform:none!important;
    zoom:1!important;
    font-size:inherit!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }

  #nj-print-root .nj-sec{
    margin-top:13px!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  #nj-print-root .nj-sec h2{
    margin:0 0 5px!important;
    font-size:12px!important;
  }
  #nj-print-root .nj-sec p{
    font-size:10px!important;
    line-height:1.35!important;
    margin:3px 0!important;
  }
  #nj-print-root .nj-item{
    margin-bottom:7px!important;
    font-size:10px!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  #nj-print-root .nj-item small{
    font-size:9px!important;
  }
  #nj-print-root .nj-item p{
    font-size:9.5px!important;
    line-height:1.3!important;
  }
  #nj-print-root .nj-name{
    font-size:28px!important;
    line-height:1.1!important;
  }
  #nj-print-root .nj-title{
    font-size:12px!important;
    margin-top:3px!important;
  }
  #nj-print-root .nj-contact{
    font-size:9px!important;
    margin-top:6px!important;
  }
  #nj-print-root .nj-skill{
    font-size:9px!important;
    padding:3px 5px!important;
  }

  /* Prevent the common template background tricks from pushing the paper. */
  #nj-print-root .layout-sidebar,
  #nj-print-root .layout-clean-side{
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }
  #nj-print-root .layout-sidebar>aside,
  #nj-print-root .layout-sidebar.reverse>aside{
    margin:0!important;
    padding:15px!important;
  }
  #nj-print-root .layout-darkexec{
    min-height:0!important;
    margin:0!important;
    padding:25px!important;
  }
  #nj-print-root .layout-corporate .corporate-head,
  #nj-print-root .layout-tech .tech-head,
  #nj-print-root .layout-code .code-head,
  #nj-print-root .layout-teacher .teacher-head,
  #nj-print-root .layout-blueblock .blueblock-head,
  #nj-print-root .layout-greenblock .greenblock-head,
  #nj-print-root .layout-international .intl-head,
  #nj-print-root .layout-ribbon .ribbon{
    margin:-13mm -14mm 12px!important;
    padding:15px 14mm!important;
  }
  #nj-print-root .nj-sec,
  #nj-print-root .nj-item{
    orphans:2;
    widows:2;
  }
}

.nj-declaration{margin-top:24px;border-top:1px solid #777;padding-top:10px;break-inside:avoid;page-break-inside:avoid}
.nj-declaration h2{font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:0 0 6px}
.nj-signature-row{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-top:18px;font-size:10px}
.nj-signature{text-align:center;min-width:120px}
.nj-signature span{display:block;font-family:"Brush Script MT",cursive;font-size:18px;min-height:22px}
.nj-signature small{display:block;border-top:1px solid #333;padding-top:3px}
@media print{
 #nj-print-root .nj-declaration{margin-top:16px!important;padding-top:8px!important}
 #nj-print-root .nj-declaration p{font-size:9.5px!important;line-height:1.3!important}
 #nj-print-root .nj-signature-row{margin-top:12px!important;font-size:9px!important}
 #nj-print-root .nj-signature span{font-size:16px!important}
}

.nj-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 22px;font-size:10.5px}
.nj-profile-grid>div{display:grid;grid-template-columns:105px 1fr;gap:5px;padding-bottom:4px}
.nj-profile-grid b{font-weight:700;color:#4b5563}
.nj-profile-grid span{word-break:break-word}
@media print{
 #nj-print-root .nj-profile-grid{font-size:9px!important;gap:5px 16px!important}
 #nj-print-root .nj-profile-grid>div{grid-template-columns:90px 1fr!important;padding-bottom:3px!important}
}
@media(max-width:700px){.nj-profile-grid{grid-template-columns:1fr}}

/* V3.8 form-first layout */
.nj-final-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.nj-template-final{margin-top:14px!important}
.nj-template-note{font-size:12px;color:#66717d;margin:0 0 10px}
.nj-web{font-size:9px;color:#1261a0;margin-top:3px}
.nj-resume-photo{width:76px;height:76px;border-radius:50%;object-fit:cover;float:right;margin-left:14px;border:3px solid #e5e7eb}
@media print{
 #nj-print-root .nj-resume-photo{width:62px!important;height:62px!important}
}

/* =========================================================
   V3.9 — FORM FIRST, FULL WIDTH, PREVIEW BELOW
   ========================================================= */
.nj-v34 .nj-layout{
  display:block!important;
  width:100%!important;
  max-width:1400px!important;
  margin:0 auto!important;
}
.nj-v34 .nj-form{
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:visible!important;
}
.nj-v34 .nj-preview-wrap{
  width:100%!important;
  max-width:none!important;
  margin-top:24px!important;
  overflow:visible!important;
}
.nj-v34 .nj-form .nj-box{
  width:100%!important;
  box-sizing:border-box!important;
}
.nj-v34 .nj-form .nj-row{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.nj-v34 .nj-form .nj-dynamic .nj-row{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.nj-v34 .nj-paper{
  margin:0 auto!important;
}
.nj-v34 .nj-final-actions{
  background:#fff;
  border-radius:10px;
  padding:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}
.nj-v34 .nj-template-final{
  width:100%!important;
  box-sizing:border-box!important;
}
.nj-v34 .nj-template-final .nj-templates{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  max-height:520px!important;
  overflow:auto!important;
}
.nj-v34 .nj-template{
  min-height:42px!important;
  font-size:12px!important;
}
@media(max-width:800px){
  .nj-v34 .nj-form .nj-row,
  .nj-v34 .nj-form .nj-dynamic .nj-row{
    grid-template-columns:1fr!important;
  }
  .nj-v34 .nj-template-final .nj-templates{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(min-width:1200px){
  .nj-v34 .nj-form .nj-box{
    padding:18px!important;
  }
  .nj-v34 .nj-form .nj-box input,
  .nj-v34 .nj-form .nj-box textarea,
  .nj-v34 .nj-form .nj-box select{
    font-size:14px!important;
  }
}

/* V4.0 — complete live preview, no clipping */
.nj-v34 .nj-preview-wrap{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.nj-v34 .nj-paper{
  height:auto!important;
  min-height:1123px!important;
  max-height:none!important;
  overflow:visible!important;
  contain:none!important;
}
.nj-v34 #nj_preview{
  display:block!important;
  visibility:visible!important;
}
@media(min-width:901px){
  .nj-v34 .nj-paper{
    max-width:794px!important;
  }
}

/* V4.1 — template chooser LEFT of live preview */
.nj-v34 .nj-preview-area{
  display:grid!important;
  grid-template-columns:280px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
  margin-top:24px!important;
}
.nj-v34 .nj-template-panel{
  background:#fff;
  border-radius:12px;
  padding:14px;
  box-shadow:0 3px 14px rgba(0,0,0,.06);
  position:sticky;
  top:15px;
  max-height:calc(100vh - 30px);
  overflow:auto;
}
.nj-v34 .nj-template-panel-head h3{
  margin:0 0 4px;
  color:#1261a0;
  font-size:15px;
}
.nj-v34 .nj-template-panel-head p{
  margin:0 0 12px;
  color:#66717d;
  font-size:11px;
  line-height:1.4;
}
.nj-v34 .nj-template-panel .nj-templates{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  max-height:none!important;
  overflow:visible!important;
}
.nj-v34 .nj-template-panel .nj-template{
  text-align:left!important;
  min-height:40px!important;
  padding:9px 10px!important;
  font-size:11px!important;
  border-radius:7px!important;
  background:#f7f9fb!important;
}
.nj-v34 .nj-template-panel .nj-template.active{
  background:#1261a0!important;
  color:#fff!important;
  border-color:#1261a0!important;
  font-weight:700!important;
}
.nj-v34 .nj-preview-area .nj-preview-wrap{
  width:100%!important;
  margin-top:0!important;
}
@media(max-width:900px){
  .nj-v34 .nj-preview-area{
    grid-template-columns:1fr!important;
  }
  .nj-v34 .nj-template-panel{
    position:static;
    max-height:420px;
  }
  .nj-v34 .nj-template-panel .nj-templates{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .nj-v34 .nj-template-panel .nj-template{
    text-align:center!important;
  }
}

#nj_declaration_example{font-weight:600;background:#f8fbff}.nj-v34 .nj-preview-wrap,.nj-v34 #nj_preview{visibility:visible!important;opacity:1!important}

.nj-jpg{background:#fff!important;color:#b42318!important;border:1px solid #b42318!important}
.nj-jpg:hover{background:#b42318!important;color:#fff!important}
.nj-final-actions button{min-height:40px;padding:9px 14px;border-radius:7px;cursor:pointer}

.nj-word{background:#fff!important;color:#185abd!important;border:1px solid #185abd!important}
.nj-word:hover{background:#185abd!important;color:#fff!important}
.nj-final-actions{display:flex;gap:8px;flex-wrap:wrap}
