:root{--tk-bg:#f5f7fb;--tk-primary:#175cd3}body{background:var(--tk-bg);color:#162033}.hero{background:radial-gradient(circle at top,#e8f1ff,transparent 60%)}.search-form{min-width:min(420px,45vw)}.tool-card{border:1px solid #e7eaf0;border-radius:18px;transition:.2s;background:#fff}.tool-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(20,45,90,.08)}.tool-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eaf2ff;color:#175cd3;font-weight:800}.tool-workspace{border:0;border-radius:20px}.metric{background:#fff;border:1px solid #e8eaf0;border-radius:16px;padding:18px;text-align:center}.metric span{display:block;font-size:1.6rem;font-weight:700}.metric small{color:#667085}.qr-box{min-height:260px;display:grid;place-items:center;background:#fff;border:1px dashed #cbd5e1;border-radius:16px}.document-sheet{background:#fff;min-height:900px;padding:55px;box-shadow:0 8px 30px rgba(0,0,0,.08);border-radius:6px}.dash-card{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px;text-decoration:none;font-weight:700}.admin-shell{min-height:100vh}.admin-sidebar{width:240px;background:#101828;min-height:100vh}.admin-sidebar a{display:block;color:#d0d5dd;text-decoration:none;padding:10px 8px;border-radius:8px}.admin-sidebar a:hover{background:#1d2939;color:#fff}.article-content{font-size:1.08rem;line-height:1.8}.content-section{line-height:1.75}.content-section h2{font-size:1.4rem;margin-top:2rem}@media(max-width:991px){.search-form{min-width:100%}.admin-sidebar{width:180px}}@media(max-width:600px){.document-sheet{padding:25px;min-height:auto}.admin-sidebar{display:none}}@media print{.no-print,nav,footer{display:none!important}body{background:#fff}.document-sheet{box-shadow:none;padding:0;min-height:0}}

/* Document Builder v1.1 */
.generator-hero{background:linear-gradient(180deg,#f8fbff 0%,#f5f7fb 100%)}
.generator-chip{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border:1px solid #dbe5f2;border-radius:999px;background:#fff;color:#344054;font-size:.82rem;font-weight:700}
.generator-card{border-radius:22px!important;overflow:hidden}.generator-card .form-control,.generator-card .form-select,.generator-card .input-group-text{min-height:46px;border-color:#d7dde7;border-radius:10px}.generator-card textarea.form-control{min-height:auto}.generator-card .form-control:focus,.generator-card .form-select:focus{border-color:#84adff;box-shadow:0 0 0 .2rem rgba(23,92,211,.1)}
.generator-section-title{display:flex;align-items:flex-start;gap:14px}.generator-section-title>span{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#175cd3;color:#fff;font-weight:800}.generator-section-title h2{font-weight:800}
.template-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.template-option{position:relative;border:1px solid #e0e5ee;border-radius:14px;padding:11px;background:#fff;cursor:pointer;transition:.18s}.template-option:hover{border-color:#9ebcf3;transform:translateY(-1px)}.template-option input{position:absolute;opacity:0;pointer-events:none}.template-option:has(input:checked){border-color:#175cd3;box-shadow:0 0 0 3px rgba(23,92,211,.09);background:#f8fbff}.template-option:has(input:checked)::after{content:'✓';position:absolute;right:8px;top:8px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#175cd3;color:#fff;font-size:.72rem;font-weight:800}.template-option strong{display:block;font-size:.87rem;margin-top:9px}.template-option small{display:block;color:#667085;font-size:.72rem;line-height:1.35;margin-top:3px}
.template-preview{height:92px;border:1px solid #e7eaf0;border-radius:7px;background:#fff;display:block;padding:14px 12px;position:relative;overflow:hidden}.template-preview i,.template-preview b,.template-preview em{display:block;height:5px;background:#d6dce7;border-radius:99px;margin-bottom:7px}.template-preview i{width:48%}.template-preview b{width:86%}.template-preview em{width:70%;font-style:normal}.template-mini-formal{border-top:4px solid #1d2939}.template-mini-modern{border-left:8px solid #175cd3;background:linear-gradient(90deg,#f4f8ff,#fff 45%)}.template-mini-professional{border-top:8px solid #175cd3}.template-mini-classic{font-family:Georgia,serif}.template-mini-simple{border-color:#eef1f5;box-shadow:none}
.form-block{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid #eef1f5}.form-block:last-of-type{border-bottom:0;margin-bottom:0}.form-block-title{font-size:.94rem;text-transform:uppercase;letter-spacing:.055em;color:#475467;font-weight:800;margin-bottom:16px}
.permission-switch{display:flex;gap:12px;flex-wrap:wrap}.permission-switch label{cursor:pointer}.permission-switch input{position:absolute;opacity:0}.permission-switch span{display:block;border:1px solid #d8dee8;border-radius:12px;padding:12px 18px;background:#fff;font-weight:700}.permission-switch input:checked+span{border-color:#175cd3;background:#eef4ff;color:#1849a9;box-shadow:0 0 0 3px rgba(23,92,211,.08)}
.generator-checklist{list-style:none;padding:0;margin:18px 0 0}.generator-checklist li{position:relative;padding:8px 0 8px 28px;color:#475467;font-size:.92rem}.generator-checklist li::before{content:'✓';position:absolute;left:0;top:7px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:#027a48;font-size:.7rem;font-weight:900}.generator-tip{background:linear-gradient(135deg,#fff8e7,#fffdf7);border:1px solid #fde7aa!important;color:#7a4a00}
.invoice-items{display:grid;gap:10px}.invoice-item-row{display:grid;grid-template-columns:minmax(180px,1.8fr) 90px 150px 150px 34px;gap:10px;align-items:end;padding:14px;border:1px solid #e6eaf0;border-radius:14px;background:#fbfcfe}.invoice-item-row .form-label{font-size:.78rem}.remove-invoice-item{text-decoration:none!important;font-size:1.4rem;line-height:1;padding:10px 4px}.line-total{display:flex;align-items:center;white-space:nowrap}
.preview-workspace{background:#eef2f7;min-height:calc(100vh - 70px);padding-bottom:40px}.preview-toolbar{background:#fff;border:1px solid #dde3eb;border-radius:16px;padding:16px 18px;box-shadow:0 8px 24px rgba(16,24,40,.06);display:flex;justify-content:space-between;align-items:center;gap:20px}.document-stage{overflow:auto;padding:6px 4px 24px}.document-sheet{position:relative;width:210mm;min-height:297mm;margin:0 auto;padding:22mm 20mm;background:#fff;box-shadow:0 18px 45px rgba(16,24,40,.14);border-radius:2px;color:#111827;font-family:Arial,Helvetica,sans-serif;font-size:11.3pt;line-height:1.65;overflow:hidden}.document-sheet .document-accent{display:none}.document-template-classic{font-family:Georgia,'Times New Roman',serif}.document-template-simple{padding:20mm;box-shadow:0 14px 35px rgba(16,24,40,.08)}.document-template-professional .document-accent{display:block;position:absolute;left:0;right:0;top:0;height:7mm;background:#175cd3}.document-template-modern .document-accent{display:block;position:absolute;left:0;top:0;bottom:0;width:5mm;background:#175cd3}.document-template-formal .letter-heading-line{background:#111827}.document-template-modern .letter-heading-line,.document-template-professional .letter-heading-line{background:#175cd3}.doc-small{font-size:9.5pt}.doc-muted{color:#667085}.document-brand{font-size:17pt;font-weight:800;letter-spacing:-.02em}.invoice-header{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-bottom:15mm}.invoice-title-block{text-align:right}.invoice-title{font-size:30pt;letter-spacing:.08em;font-weight:800;line-height:1}.invoice-number{margin-top:8px;color:#667085;font-weight:700}.invoice-meta-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;padding:7mm 0;border-top:1px solid #dfe4ec;border-bottom:1px solid #dfe4ec;margin-bottom:9mm}.invoice-meta-grid>div>span{display:block;font-size:8.5pt;letter-spacing:.08em;font-weight:800;color:#667085;margin-bottom:6px}.invoice-meta-grid p{margin:2px 0;color:#667085;font-size:9.5pt}.meta-row{display:flex;justify-content:flex-end;gap:18px;margin-bottom:5px}.meta-row span{color:#667085}.invoice-table-wrap{margin:0 -1px}.invoice-table{width:100%;border-collapse:collapse;font-size:10pt}.invoice-table th{background:#f3f6fa;padding:10px 11px;border-bottom:2px solid #d7dee8;color:#344054;font-size:8.5pt;letter-spacing:.05em;text-transform:uppercase}.invoice-table td{padding:12px 11px;border-bottom:1px solid #e9edf2;vertical-align:top}.invoice-bottom-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;margin-top:10mm}.payment-box,.doc-note{border:1px solid #e0e5ec;border-radius:9px;padding:12px 14px;margin-bottom:12px}.payment-box span{display:block;font-size:8pt;color:#667085;font-weight:800;letter-spacing:.07em;margin-bottom:4px}.doc-note p{margin:4px 0 0;color:#667085;font-size:9.5pt}.invoice-summary>div{display:flex;justify-content:space-between;gap:20px;padding:5px 0}.invoice-total{margin-top:5px;padding:12px 0!important;border-top:2px solid #111827;font-size:14pt}.invoice-footer{margin-top:18mm;padding-top:6mm;border-top:1px solid #e1e5eb;text-align:center;color:#667085;font-size:9pt}
.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:8mm;border-bottom:2px solid #111827}.receipt-head h2{font-size:25pt;letter-spacing:.09em;margin:2px 0 0}.receipt-label{font-size:8.5pt;font-weight:800;letter-spacing:.14em;color:#667085}.receipt-number{text-align:right}.receipt-number span{display:block;color:#667085;font-size:8.5pt}.receipt-number strong{font-size:12pt}.receipt-body{padding:13mm 0}.receipt-field{display:grid;grid-template-columns:48mm 1fr;gap:8mm;padding:6mm 0;border-bottom:1px solid #e3e7ed}.receipt-field>span{color:#667085}.receipt-amount{font-size:17pt}.receipt-spell{margin:7mm 0;background:#f6f8fb;border-left:4px solid #175cd3;padding:4mm 5mm;font-style:italic}.receipt-signature,.letter-signature{display:grid;grid-template-columns:1fr 60mm;gap:20mm;margin-top:15mm}.signature-box{text-align:center}.signature-space{height:26mm;display:flex;align-items:center;justify-content:center;color:#98a2b3;font-size:8pt}.signature-box strong{display:block;text-decoration:underline}.signature-box small{display:block;color:#667085;margin-top:2px}
.letter-date{text-align:right;margin-bottom:7mm}.letter-heading{text-align:center;margin-bottom:11mm}.letter-heading h2{font-family:Arial,Helvetica,sans-serif;font-size:16pt;line-height:1.35;letter-spacing:.035em;margin:0;font-weight:800}.letter-heading h2 span{font-size:13pt}.letter-heading-line{width:50mm;height:2px;margin:3mm auto 0}.letter-recipient{margin-bottom:8mm;line-height:1.5}.letter-recipient strong{display:block}.letter-body p{text-align:justify;margin:0 0 5.5mm}.identity-table{margin:3mm 0 7mm 7mm;display:grid;gap:2mm}.identity-table>div{display:grid;grid-template-columns:45mm 5mm 1fr;align-items:start}.identity-table span{color:#344054}.identity-table b{font-weight:400}.identity-table strong{font-weight:600}.power-special{text-align:center;font-weight:800;letter-spacing:.16em;text-decoration:underline;margin:8mm 0 5mm}.power-signatures{display:grid;grid-template-columns:1fr 1fr;gap:25mm;margin-top:16mm}.power-letter{margin-top:8mm}.preview-help{background:#fff;border:1px solid #dfe5ed;border-radius:14px;padding:16px 18px}.preview-help div{display:flex;gap:14px;align-items:flex-start}.preview-help span{color:#667085}
.document-template-modern .invoice-title,.document-template-modern .document-brand,.document-template-modern .letter-heading h2,.document-template-modern .receipt-head h2,.document-template-professional .invoice-title,.document-template-professional .document-brand{color:#175cd3}.document-template-classic .invoice-title,.document-template-classic .document-brand,.document-template-classic .letter-heading h2,.document-template-classic .receipt-head h2{font-family:Georgia,'Times New Roman',serif}.document-template-simple .document-accent,.document-template-simple .letter-heading-line{display:none}.document-template-simple .invoice-table th{background:#fff;border-top:1px solid #111;border-bottom:1px solid #111}
@media(max-width:1100px){.template-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-item-row{grid-template-columns:minmax(180px,1fr) 80px 130px}.invoice-line-total{display:none}.remove-invoice-item{grid-column:4;grid-row:1}}
@media(max-width:767px){.template-picker{display:flex;overflow-x:auto;padding-bottom:5px}.template-option{min-width:150px}.preview-toolbar{align-items:flex-start;flex-direction:column}.document-stage{margin-left:-12px;margin-right:-12px}.document-sheet{width:210mm;transform-origin:top left}.invoice-item-row{grid-template-columns:1fr 90px}.invoice-item-main{grid-column:1/-1}.remove-invoice-item{grid-column:auto;grid-row:auto;align-self:center}.invoice-bottom-grid,.invoice-meta-grid{grid-template-columns:1fr}.meta-row{justify-content:flex-start}.receipt-field{grid-template-columns:1fr;gap:3px}}
@media print{body{background:#fff!important}.preview-workspace{background:#fff!important;padding:0}.preview-workspace>.container{max-width:none!important;padding:0!important}.document-stage{padding:0;overflow:visible}.document-sheet{width:210mm;min-height:297mm;box-shadow:none!important;margin:0;padding:20mm;border-radius:0}.document-template-professional .document-accent{position:fixed}.preview-help{display:none!important}@page{size:A4;margin:0}}

/* Document Templates v1.1.4 — visibly distinct layouts */
.document-sheet{transition:padding .18s ease,box-shadow .18s ease}

/* Picker thumbnails */
.template-preview::before,.template-preview::after{content:"";position:absolute;pointer-events:none}
.template-mini-formal{border:1px solid #d9dee7;border-top:5px solid #101828;background:#fff}
.template-mini-formal::after{left:28%;right:28%;top:26px;height:2px;background:#101828;box-shadow:0 6px 0 #101828}
.template-mini-classic{font-family:Georgia,'Times New Roman',serif;border:3px double #7a6a55;background:#fffdf8;padding-top:18px}
.template-mini-classic::before{inset:7px;border:1px solid #c7b99f;border-radius:2px}
.template-mini-professional{border:1px solid #b9cbea;background:linear-gradient(#123b73 0 28px,#fff 28px)}
.template-mini-professional i{margin-top:24px}.template-mini-professional::after{right:10px;top:9px;width:34px;height:5px;background:rgba(255,255,255,.8);border-radius:99px}
.template-mini-modern{border:1px solid #cad9f2;border-left:9px solid #175cd3;background:linear-gradient(135deg,#eff5ff,#fff 65%)}
.template-mini-modern::after{right:8px;top:8px;width:18px;height:18px;border-radius:50%;background:#dce9ff}
.template-mini-simple{border:0;background:#fff;box-shadow:inset 0 0 0 1px #f0f2f5;padding-top:20px}
.template-mini-simple i,.template-mini-simple b,.template-mini-simple em{height:3px;background:#cfd5df;margin-bottom:9px}

/* FORMAL — official, centered, monochrome */
.document-template-formal{font-family:Arial,Helvetica,sans-serif;padding:22mm 20mm;color:#111827}
.document-template-formal .letter-heading{text-align:center;margin-bottom:11mm}
.document-template-formal .letter-heading h2{font-size:16pt;letter-spacing:.035em;color:#111827}
.document-template-formal .letter-heading-line{display:block;width:50mm;height:2px;background:#111827;margin:3mm auto 0}
.document-template-formal .letter-recipient{border:0;background:transparent;padding:0}
.document-template-formal .identity-table>div{border:0;background:transparent;padding:0}

/* CLASSIC — serif, framed paper, double rules */
.document-template-classic{font-family:'Times New Roman',Times,serif;font-size:12pt;line-height:1.72;padding:20mm 23mm;background:#fffdf9;color:#1e1a17}
.document-template-classic::after{content:"";position:absolute;inset:9mm;border:3px double #756b5d;pointer-events:none;z-index:0}
.document-template-classic> *{position:relative;z-index:1}
.document-template-classic .letter-date{font-style:italic;margin-bottom:8mm}
.document-template-classic .letter-heading{margin-bottom:12mm}
.document-template-classic .letter-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:18pt;font-weight:700;letter-spacing:.09em;color:#2a241e;font-variant:small-caps}
.document-template-classic .letter-heading h2 span{font-size:13pt;letter-spacing:.08em}
.document-template-classic .letter-heading-line{display:block;width:72mm;height:1px;background:#2a241e;margin:3mm auto 0;box-shadow:0 3px 0 #2a241e}
.document-template-classic .letter-recipient{margin-left:4mm}
.document-template-classic .letter-body p{line-height:1.78}
.document-template-classic .identity-table{margin-left:9mm}
.document-template-classic .identity-table span{font-style:italic;color:#4b433b}
.document-template-classic .identity-table strong{font-weight:400}
.document-template-classic .signature-box strong{text-decoration:none;border-bottom:1px solid #2a241e;display:inline-block;min-width:42mm;padding-bottom:1px}
.document-template-classic .invoice-header,.document-template-classic .receipt-head{border-top:3px double #756b5d;border-bottom:3px double #756b5d;padding:7mm 0;margin-bottom:10mm}
.document-template-classic .invoice-title,.document-template-classic .document-brand,.document-template-classic .receipt-head h2{font-family:Georgia,'Times New Roman',serif;color:#2a241e}
.document-template-classic .invoice-table th{background:#eee8de;border-color:#756b5d;color:#2a241e}
.document-template-classic .receipt-spell{background:#f4eee4;border-left-color:#756b5d}

/* PROFESSIONAL — strong navy header and structured information blocks */
.document-template-professional{padding:18mm 18mm 20mm;font-family:Arial,Helvetica,sans-serif;color:#162033}
.document-template-professional .document-accent{display:block;position:absolute;left:0;right:0;top:0;height:9mm;background:#123b73}
.document-template-professional .letter-date{margin-top:3mm;color:#475467}
.document-template-professional .letter-heading{background:#123b73;color:#fff;text-align:left;margin:0 -7mm 10mm;padding:7mm 8mm;border-radius:2mm}
.document-template-professional .letter-heading h2{color:#fff;font-size:17pt;letter-spacing:.03em}
.document-template-professional .letter-heading h2 span{color:#dce9ff}
.document-template-professional .letter-heading-line{display:none}
.document-template-professional .letter-recipient{background:#f2f6fb;border-left:4px solid #123b73;padding:5mm 6mm;margin-bottom:9mm;border-radius:0 2mm 2mm 0}
.document-template-professional .identity-table{margin-left:0;gap:1.5mm}
.document-template-professional .identity-table>div{grid-template-columns:43mm 4mm 1fr;background:#f8fafc;border:1px solid #e1e8f0;padding:2.4mm 3mm;border-radius:1.5mm}
.document-template-professional .identity-table span{color:#123b73;font-weight:700}
.document-template-professional .letter-signature .signature-box{border-top:2px solid #123b73;padding-top:3mm}
.document-template-professional .invoice-header{background:#123b73;color:#fff;margin:-6mm -6mm 12mm;padding:9mm 7mm;border-radius:2mm}
.document-template-professional .invoice-header .doc-muted,.document-template-professional .invoice-number{color:#dce9ff}
.document-template-professional .invoice-title,.document-template-professional .document-brand{color:#fff}
.document-template-professional .invoice-table th{background:#123b73;color:#fff;border-bottom-color:#123b73}
.document-template-professional .invoice-total{background:#eef4ff;border-top:0;padding:10px 12px!important;border-radius:6px;color:#123b73}
.document-template-professional .receipt-head{background:#123b73;color:#fff;margin:-6mm -6mm 0;padding:8mm 7mm;border:0;border-radius:2mm}
.document-template-professional .receipt-head h2,.document-template-professional .receipt-label,.document-template-professional .receipt-number span{color:#fff}
.document-template-professional .receipt-spell{background:#eef4ff;border-left-color:#123b73}
.document-template-professional .power-special{background:#123b73;color:#fff;text-decoration:none;padding:2.5mm;border-radius:1.5mm}

/* MODERN — blue rail, asymmetric left alignment, soft cards */
.document-template-modern{padding:18mm 18mm 20mm 24mm;font-family:'Segoe UI',Arial,Helvetica,sans-serif;color:#1d2939}
.document-template-modern .document-accent{display:block;position:absolute;left:0;top:0;bottom:0;width:6mm;background:linear-gradient(180deg,#175cd3,#4f8df5)}
.document-template-modern .letter-date{text-align:left;color:#667085;font-size:10pt;margin-bottom:5mm}
.document-template-modern .letter-heading{text-align:left;margin-bottom:8mm;padding-bottom:5mm;border-bottom:1px solid #d8e5fa}
.document-template-modern .letter-heading h2{font-size:20pt;line-height:1.18;color:#175cd3;letter-spacing:-.01em}
.document-template-modern .letter-heading h2 span{font-size:11pt;letter-spacing:.12em;color:#475467}
.document-template-modern .letter-heading-line{display:block;width:24mm;height:4px;margin:4mm 0 0;background:#175cd3;border-radius:99px}
.document-template-modern .letter-recipient{background:#f5f8ff;border-radius:3mm;padding:5mm 6mm;margin-bottom:8mm}
.document-template-modern .identity-table{margin-left:0;grid-template-columns:1fr 1fr;gap:3mm}
.document-template-modern .identity-table>div{display:block;background:#fff;border:1px solid #dfe9f8;border-radius:2mm;padding:3mm 4mm}
.document-template-modern .identity-table span{display:block;font-size:8pt;text-transform:uppercase;letter-spacing:.06em;color:#175cd3;font-weight:800;margin-bottom:1mm}
.document-template-modern .identity-table b{display:none}
.document-template-modern .identity-table strong{display:block;font-weight:600}
.document-template-modern .letter-signature{grid-template-columns:1fr 52mm}
.document-template-modern .invoice-header{align-items:center;border-bottom:4px solid #175cd3;padding-bottom:7mm;margin-bottom:9mm}
.document-template-modern .invoice-title{font-size:34pt;color:#175cd3;letter-spacing:-.02em}
.document-template-modern .invoice-meta-grid{border:0;gap:12px}
.document-template-modern .invoice-meta-grid>div{background:#f5f8ff;border-radius:3mm;padding:5mm}
.document-template-modern .invoice-table th{background:#eaf2ff;color:#175cd3;border-bottom-color:#b9d2ff}
.document-template-modern .receipt-head{border-bottom:4px solid #175cd3}
.document-template-modern .receipt-head h2{color:#175cd3;font-size:30pt;letter-spacing:-.02em}
.document-template-modern .receipt-field{background:#f8fbff;border:1px solid #e2ebfa;border-radius:2mm;padding:4mm 5mm;margin-bottom:3mm}
.document-template-modern .receipt-spell{border-radius:0 2mm 2mm 0}
.document-template-modern .power-special{text-align:left;text-decoration:none;color:#175cd3;border-left:5px solid #175cd3;padding-left:4mm}

/* SIMPLE — minimal, compact, left-aligned, ink-friendly */
.document-template-simple{padding:18mm 19mm;font-family:Arial,Helvetica,sans-serif;font-size:10.7pt;line-height:1.55;box-shadow:0 12px 28px rgba(16,24,40,.07)}
.document-template-simple .document-accent{display:none}
.document-template-simple .letter-date{text-align:left;font-size:9.5pt;color:#667085;margin-bottom:5mm}
.document-template-simple .letter-heading{text-align:left;margin-bottom:7mm}
.document-template-simple .letter-heading h2{font-size:14pt;line-height:1.3;letter-spacing:0}
.document-template-simple .letter-heading h2 span{font-size:10.5pt;font-weight:600}
.document-template-simple .letter-heading-line{display:none}
.document-template-simple .letter-recipient{padding-bottom:5mm;border-bottom:1px solid #d0d5dd;margin-bottom:6mm}
.document-template-simple .letter-body p{margin-bottom:4mm;text-align:left}
.document-template-simple .identity-table{margin:2mm 0 5mm;gap:1mm}
.document-template-simple .identity-table>div{grid-template-columns:38mm 4mm 1fr}
.document-template-simple .identity-table span{color:#667085}
.document-template-simple .letter-signature,.document-template-simple .receipt-signature{margin-top:10mm;grid-template-columns:1fr 50mm}
.document-template-simple .signature-space{height:20mm}
.document-template-simple .invoice-header{margin-bottom:8mm;border-bottom:1px solid #111827;padding-bottom:5mm}
.document-template-simple .invoice-title{font-size:21pt;letter-spacing:0}
.document-template-simple .invoice-meta-grid{padding:4mm 0;margin-bottom:6mm}
.document-template-simple .invoice-table th{background:#fff;border-top:1px solid #111827;border-bottom:1px solid #111827;color:#111827}
.document-template-simple .invoice-table td{padding:8px 9px}
.document-template-simple .receipt-head{padding-bottom:4mm;border-bottom:1px solid #111827}
.document-template-simple .receipt-head h2{font-size:20pt;letter-spacing:0}
.document-template-simple .receipt-body{padding:7mm 0}
.document-template-simple .receipt-field{padding:3.5mm 0}
.document-template-simple .receipt-spell{background:transparent;border:0;border-top:1px dashed #98a2b3;border-bottom:1px dashed #98a2b3;padding:3mm 0}
.document-template-simple .power-special{text-align:left;text-decoration:none;letter-spacing:.08em;border-bottom:1px solid #111827;padding-bottom:1mm}

@media print{
  .document-template-classic{background:#fff!important}
  .document-template-classic::after{display:block!important}
  .document-template-professional .letter-heading,.document-template-professional .invoice-header,.document-template-professional .receipt-head,.document-template-professional .power-special,.document-template-professional .document-accent{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .document-template-modern .document-accent,.document-template-modern .letter-recipient,.document-template-modern .identity-table>div,.document-template-modern .invoice-meta-grid>div{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
