/* ===== Toolxora Letterhead Generator ===== */

/* Layout: the A4 sheet has a fixed width and grid items default to min-width:auto,
   which would squeeze the form column. min-width:0 keeps the .95fr / 1.05fr split. */
.txlh-tool .txbt-grid{grid-template-columns:.95fr 1.05fr;gap:24px;align-items:start}
.txlh-tool .txbt-panel,.txlh-tool .txbt-preview-panel{min-width:0}
.txlh-tool .txbt-preview-panel{overflow:hidden}
@media(max-width:1050px){.txlh-tool .txbt-grid{grid-template-columns:1fr}}

.txlh-sub-title{font-weight:800;font-size:15px;margin:4px 0 14px;color:var(--txbt-dark)}
.txlh-range{width:100%;accent-color:var(--txbt-primary)}
.txlh-logo-row{display:flex;align-items:center;gap:14px;margin:-6px 0 18px}
.txlh-logo-thumb{display:grid;place-items:center;width:64px;height:64px;border-radius:14px;border:1px solid var(--txbt-border);background:#f8fafc;overflow:hidden;flex:0 0 auto}
.txlh-logo-thumb img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.txlh-logo-thumb span{font:800 10px Inter,sans-serif;color:#94a3b8;letter-spacing:.08em}
.txlh-scheme-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.txlh-scheme{width:42px;height:42px;border-radius:13px;border:2px solid transparent;cursor:pointer;padding:0;background:linear-gradient(135deg,var(--s1),var(--s2));box-shadow:0 6px 16px rgba(15,23,42,.14);transition:.18s}
.txlh-scheme:hover{transform:translateY(-2px)}
.txlh-scheme.is-active{border-color:var(--txbt-dark);box-shadow:0 0 0 3px #fff,0 0 0 5px var(--s1)}
.txlh-privacy{margin:14px 0 0;color:var(--txbt-muted);font-size:13px;font-weight:600;text-align:center}
.txlh-paper-wrap{background:#eef2f7;border-radius:20px;padding:18px;min-width:0;overflow:hidden;display:flex;justify-content:center}
.txlh-paper{margin:0 auto;max-width:100%;box-shadow:0 22px 60px rgba(15,23,42,.16);border-radius:6px;overflow:hidden;background:#fff}
.txlh-paper:not([style*="width"]) .txlh-sheet{transform:scale(.42)}
.txlh-paper:not([style*="width"]){width:334px;height:472px}

/* ===== Template thumbnails ===== */
.txbt-template-thumb.ribbon{background:#fff;background-image:linear-gradient(215deg,#2563eb 0 12%,transparent 12% 20%,#7c3aed 20% 30%,transparent 30%)}
.txbt-template-thumb.wave{background:#fff;background-image:linear-gradient(160deg,#1e3a8a 0 18%,#38bdf8 18% 26%,transparent 26%)}
.txbt-template-thumb.bar{background:#fff;border-top:14px solid #1e293b}
.txbt-template-thumb.line{background:#fff;border-top:3px solid #ef4444;border-bottom:9px solid #1e3a8a}
.txbt-template-thumb.corner{background:linear-gradient(135deg,#2563eb 0 26%,#f8fafc 26%)}
.txbt-template-thumb.executive{background:#eef2ff;border-top:16px solid #1e3a8a}
.txbt-template-thumb.classic{background:#fff;border:1px solid #cbd5e1;border-top:3px double #0f172a}
.txbt-template-thumb.modern{background:linear-gradient(135deg,#eff6ff,#f8fafc);border-top:5px solid #2563eb}

/* ===== The A4 sheet ===== */
.txlh-sheet{position:relative;width:210mm;min-height:297mm;background:#fff;color:#0f172a;font-family:var(--lh-font,Inter),sans-serif;display:flex;flex-direction:column;overflow:hidden;transform-origin:top left}
.txlh-d1,.txlh-d2,.txlh-d3,.txlh-d4{display:none;position:absolute;pointer-events:none}
.txlh-head,.txlh-body,.txlh-foot{position:relative;z-index:2}

/* Centre watermark */
.txlh-watermark{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:0}
.txlh-watermark img{width:var(--lh-wm-size,100mm);max-width:66%;height:auto;opacity:var(--lh-wm-opacity,.08)}
.txlh-wm-text{font:900 var(--lh-wm-size,100mm)/1 Inter,sans-serif;color:var(--lh-primary);opacity:var(--lh-wm-opacity,.08);letter-spacing:.04em}

/* Header */
.txlh-head{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:22mm 18mm 0}
.txlh-brand{display:flex;align-items:center}
.txlh-brand img{display:block;width:var(--lh-logo,115px);height:auto;max-height:calc(var(--lh-logo,115px) * 1.15);object-fit:contain}
.txlh-monogram{display:grid;place-items:center;width:var(--lh-logo,115px);height:var(--lh-logo,115px);border-radius:16px;background:var(--lh-primary);color:#fff;font:800 calc(var(--lh-logo,115px) / 2.5) Inter,sans-serif}
.txlh-company h1{margin:0;font-size:27px;line-height:1.15;letter-spacing:-.02em;color:#0f172a}
.txlh-company p{margin:6px 0 0;font-size:12.5px;color:var(--lh-primary);font-weight:700;letter-spacing:.05em}
.txlh-contact{display:grid;gap:3px;text-align:right;font-size:11.5px;color:#64748b;line-height:1.55}

/* Body */
.txlh-body{flex:1;padding:14mm 18mm 0}
.txlh-meta{display:flex;justify-content:space-between;font-size:12px;color:#64748b;margin-bottom:16px}
.txlh-to{font-size:12.5px;line-height:1.6;color:#475569;margin-bottom:16px}
.txlh-to strong{display:block;color:var(--lh-primary);font-size:14px}
.txlh-subject{font-weight:800;font-size:14px;margin-bottom:14px;color:#0f172a}
.txlh-content p{font-size:13px;line-height:1.8;color:#334155;margin:0 0 12px;white-space:pre-wrap}
.txlh-sign{margin-top:26px;font-size:13px;color:#334155}
.txlh-sign strong{display:block;margin-top:24px;font-size:14.5px;color:var(--lh-primary)}
.txlh-sign span{display:block;font-size:12px;color:#64748b}
.txlh-blank{min-height:118mm}

/* Footer */
.txlh-foot{margin-top:auto;padding:8mm 18mm 9mm}
.txlh-foot-items{display:none;flex-wrap:wrap;gap:6px 22px;margin-bottom:6px}
.txlh-fi{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;color:#475569}
.txlh-fi i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--lh-accent);color:#fff;font:800 8.5px Inter,sans-serif;font-style:normal;flex:0 0 auto}
.txlh-foot-note{display:flex;justify-content:space-between;gap:16px;font-size:10.5px;color:#64748b;border-top:1px solid #e2e8f0;padding-top:7px}

/* ========== 1. RIBBON — angled corner ribbons ========== */
.txlh-sheet.t-ribbon .txlh-d1,.txlh-sheet.t-ribbon .txlh-d2,
.txlh-sheet.t-ribbon .txlh-d3,.txlh-sheet.t-ribbon .txlh-d4{display:block}
.txlh-sheet.t-ribbon .txlh-d1{top:-34mm;right:-6mm;width:26mm;height:104mm;background:var(--lh-primary);transform:rotate(38deg)}
.txlh-sheet.t-ribbon .txlh-d2{top:-40mm;right:14mm;width:13mm;height:104mm;background:var(--lh-accent);transform:rotate(38deg)}
.txlh-sheet.t-ribbon .txlh-d3{bottom:-34mm;right:-6mm;width:26mm;height:104mm;background:var(--lh-primary);transform:rotate(38deg)}
.txlh-sheet.t-ribbon .txlh-d4{bottom:-40mm;right:14mm;width:13mm;height:104mm;background:var(--lh-accent);transform:rotate(38deg)}
.txlh-sheet.t-ribbon .txlh-head{padding-top:20mm;padding-right:52mm}
.txlh-sheet.t-ribbon .txlh-contact{display:none}
.txlh-sheet.t-ribbon .txlh-foot{padding-right:46mm}
.txlh-sheet.t-ribbon .txlh-foot-items{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.txlh-sheet.t-ribbon .txlh-foot-note{justify-content:flex-end;border:0}

/* ========== 2. WAVE — sweeping diagonal bands ========== */
.txlh-sheet.t-wave .txlh-d1,.txlh-sheet.t-wave .txlh-d2,
.txlh-sheet.t-wave .txlh-d3,.txlh-sheet.t-wave .txlh-d4{display:block}
.txlh-sheet.t-wave .txlh-d1{top:-26mm;left:-20mm;width:150mm;height:34mm;background:var(--lh-primary);transform:rotate(-14deg)}
.txlh-sheet.t-wave .txlh-d2{top:-6mm;left:-24mm;width:120mm;height:12mm;background:var(--lh-accent);transform:rotate(-14deg)}
.txlh-sheet.t-wave .txlh-d3{bottom:-24mm;right:-24mm;width:150mm;height:34mm;background:var(--lh-primary);transform:rotate(-14deg)}
.txlh-sheet.t-wave .txlh-d4{bottom:-4mm;right:-28mm;width:120mm;height:12mm;background:var(--lh-accent);transform:rotate(-14deg)}
.txlh-sheet.t-wave .txlh-head{padding-top:30mm;grid-template-columns:1fr auto}
.txlh-sheet.t-wave .txlh-company{text-align:right}
.txlh-sheet.t-wave .txlh-contact{display:none}
.txlh-sheet.t-wave .txlh-foot{padding-bottom:24mm}
.txlh-sheet.t-wave .txlh-foot-items{display:flex}
.txlh-sheet.t-wave .txlh-foot-note{border-top:2px solid var(--lh-primary)}

/* ========== 3. HEADER BAR — dark bar with slashes ========== */
.txlh-sheet.t-bar .txlh-d1,.txlh-sheet.t-bar .txlh-d2,.txlh-sheet.t-bar .txlh-d3{display:block}
.txlh-sheet.t-bar .txlh-d1{top:0;left:0;right:0;height:27mm;background:var(--lh-primary)}
.txlh-sheet.t-bar .txlh-d2{top:0;left:0;width:62mm;height:27mm;background:repeating-linear-gradient(115deg,rgba(255,255,255,.85) 0 2.5mm,transparent 2.5mm 9mm)}
.txlh-sheet.t-bar .txlh-d3{bottom:0;right:0;width:78mm;height:22mm;background:var(--lh-primary);clip-path:polygon(28% 0,100% 0,100% 100%,0 100%)}
.txlh-sheet.t-bar .txlh-head{padding:0 18mm;min-height:27mm;grid-template-columns:auto 1fr;align-items:center}
.txlh-sheet.t-bar .txlh-company h1{color:#fff;font-size:23px}
.txlh-sheet.t-bar .txlh-company p{color:rgba(255,255,255,.85)}
.txlh-sheet.t-bar .txlh-monogram{background:rgba(255,255,255,.22)}
.txlh-sheet.t-bar .txlh-brand img{max-height:20mm}
.txlh-sheet.t-bar .txlh-contact{display:none}
.txlh-sheet.t-bar .txlh-body{padding-top:18mm}
.txlh-sheet.t-bar .txlh-foot{padding-bottom:26mm;padding-right:82mm}
.txlh-sheet.t-bar .txlh-foot-items{display:flex;flex-direction:column;gap:4px}
.txlh-sheet.t-bar .txlh-foot-note{border:0}

/* ========== 4. MINIMAL LINE — rule + soft shapes ========== */
.txlh-sheet.t-line .txlh-d1,.txlh-sheet.t-line .txlh-d2,.txlh-sheet.t-line .txlh-d3{display:block}
.txlh-sheet.t-line .txlh-d1{bottom:34mm;left:26mm;width:52mm;height:96mm;background:var(--lh-tint2);opacity:.55;transform:skewX(-16deg)}
.txlh-sheet.t-line .txlh-d2{bottom:34mm;left:78mm;width:62mm;height:96mm;background:#eef2f7;transform:skewX(-16deg)}
.txlh-sheet.t-line .txlh-d3{bottom:0;left:0;right:0;height:9mm;background:linear-gradient(90deg,var(--lh-primary) 0 62%,var(--lh-accent) 62%)}
.txlh-sheet.t-line .txlh-head{padding-top:18mm;padding-bottom:9px;border-bottom:2px solid var(--lh-accent);margin:0 18mm;padding-left:0;padding-right:0}
.txlh-sheet.t-line .txlh-company h1{font-size:24px}
.txlh-sheet.t-line .txlh-foot{padding-bottom:16mm}

/* ========== 5. CORNER — geometric blocks ========== */
.txlh-sheet.t-corner .txlh-d1,.txlh-sheet.t-corner .txlh-d2,
.txlh-sheet.t-corner .txlh-d3,.txlh-sheet.t-corner .txlh-d4{display:block}
.txlh-sheet.t-corner .txlh-d1{top:0;left:0;width:64mm;height:38mm;background:linear-gradient(135deg,var(--lh-primary),var(--lh-accent));border-bottom-right-radius:70px}
.txlh-sheet.t-corner .txlh-d2{top:0;left:66mm;width:16mm;height:9mm;background:var(--lh-accent);border-bottom-right-radius:12px}
.txlh-sheet.t-corner .txlh-d3{bottom:0;right:0;width:70mm;height:26mm;background:linear-gradient(135deg,var(--lh-accent),var(--lh-primary));border-top-left-radius:70px}
.txlh-sheet.t-corner .txlh-d4{bottom:28mm;right:0;width:22mm;height:8mm;background:var(--lh-primary);border-top-left-radius:12px}
.txlh-sheet.t-corner .txlh-head{padding-top:12mm;padding-left:72mm;grid-template-columns:1fr auto}
.txlh-sheet.t-corner .txlh-brand{position:absolute;top:9mm;left:12mm;z-index:3}
.txlh-sheet.t-corner .txlh-monogram{background:rgba(255,255,255,.24)}
.txlh-sheet.t-corner .txlh-foot{padding-right:76mm;padding-bottom:12mm}
.txlh-sheet.t-corner .txlh-foot-items{display:flex}

/* ========== 6. EXECUTIVE — solid header block ========== */
.txlh-sheet.t-executive .txlh-head{background:var(--lh-primary);padding:18mm 18mm 14mm;margin:0}
.txlh-sheet.t-executive .txlh-company h1,.txlh-sheet.t-executive .txlh-contact{color:#fff}
.txlh-sheet.t-executive .txlh-company p{color:rgba(255,255,255,.85)}
.txlh-sheet.t-executive .txlh-monogram{background:rgba(255,255,255,.2)}
.txlh-sheet.t-executive .txlh-foot{background:var(--lh-primary);padding-top:6mm}
.txlh-sheet.t-executive .txlh-foot-note{border-top:1px solid rgba(255,255,255,.28);color:rgba(255,255,255,.92)}
.txlh-sheet.t-executive .txlh-foot-items{display:flex}
.txlh-sheet.t-executive .txlh-fi{color:rgba(255,255,255,.92)}
.txlh-sheet.t-executive .txlh-fi i{background:rgba(255,255,255,.24)}

/* ========== 7. CLASSIC — centred serif ========== */
.txlh-sheet.t-classic{font-family:var(--lh-font,Georgia),serif}
.txlh-sheet.t-classic .txlh-head{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px;padding:22mm 18mm 12px;border-bottom:3px double var(--lh-primary);margin:0 18mm;padding-left:0;padding-right:0}
.txlh-sheet.t-classic .txlh-contact{text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px}
.txlh-sheet.t-classic .txlh-company h1{font-size:29px;letter-spacing:.06em;text-transform:uppercase}
.txlh-sheet.t-classic .txlh-foot-note{border-top:3px double var(--lh-primary);justify-content:center;text-align:center}

/* ========== 8. MODERN — clean gradient bar ========== */
.txlh-sheet.t-modern .txlh-d1{display:block;top:0;left:0;right:0;height:10px;background:linear-gradient(90deg,var(--lh-primary),var(--lh-accent))}
.txlh-sheet.t-modern .txlh-head{padding-top:20mm;padding-bottom:12px;border-bottom:1px solid #e2e8f0;margin:0 18mm;padding-left:0;padding-right:0}
.txlh-sheet.t-modern .txlh-foot-note{border-top:3px solid var(--lh-primary)}

/* Dark mode: the paper always stays white */
body.tx-dark-mode .txlh-paper,html[data-theme=dark] .txlh-paper{background:#fff}
body.tx-dark-mode .txlh-paper-wrap,html[data-theme=dark] .txlh-paper-wrap{background:#111827}
body.tx-dark-mode .txlh-sheet,html[data-theme=dark] .txlh-sheet{background:#fff!important;color:#0f172a!important}
body.tx-dark-mode .txlh-sheet .txlh-company h1,html[data-theme=dark] .txlh-sheet .txlh-company h1,
body.tx-dark-mode .txlh-sheet .txlh-subject,html[data-theme=dark] .txlh-sheet .txlh-subject{color:#0f172a!important}
body.tx-dark-mode .txlh-sheet.t-executive .txlh-company h1,html[data-theme=dark] .txlh-sheet.t-executive .txlh-company h1,
body.tx-dark-mode .txlh-sheet.t-executive .txlh-contact,html[data-theme=dark] .txlh-sheet.t-executive .txlh-contact,
body.tx-dark-mode .txlh-sheet.t-bar .txlh-company h1,html[data-theme=dark] .txlh-sheet.t-bar .txlh-company h1{color:#fff!important}
body.tx-dark-mode .txlh-sheet .txlh-content p,html[data-theme=dark] .txlh-sheet .txlh-content p{color:#334155!important}
body.tx-dark-mode .txlh-logo-thumb,html[data-theme=dark] .txlh-logo-thumb{background:#111827;border-color:#334155}

@media(max-width:1050px){.txlh-paper-wrap{padding:10px}}
@media print{
  .txlh-paper-wrap{background:#fff;padding:0;overflow:visible}
  .txlh-paper{box-shadow:none;border-radius:0}
  .txlh-sheet{width:210mm;min-height:297mm}
  .txlh-sheet,.txlh-d1,.txlh-d2,.txlh-d3,.txlh-d4,.txlh-watermark{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* Toolxora Documents v3.8 — premium Letterhead refinements */
.txlh-sheet .txlh-head:empty,.txlh-sheet .txlh-company:empty,.txlh-sheet .txlh-brand:empty,.txlh-sheet .txlh-contact:empty,.txlh-sheet .txlh-foot-note:empty{display:none!important}
.txlh-sheet .txlh-head{isolation:isolate}
.txlh-sheet .txlh-brand img{filter:drop-shadow(0 5px 14px rgba(15,23,42,.10))}
.txlh-sheet .txlh-company h1{letter-spacing:-.035em}
.txlh-sheet.t-modern .txlh-d1{height:4mm;background:linear-gradient(90deg,var(--lh-primary),var(--lh-accent),var(--lh-primary))}
.txlh-sheet.t-modern .txlh-head{background:linear-gradient(180deg,var(--lh-tint),rgba(255,255,255,0) 86%);padding-left:8mm;padding-right:8mm;border-bottom:2px solid var(--lh-primary)}
.txlh-sheet.t-modern .txlh-foot{background:linear-gradient(0deg,var(--lh-tint),#fff 80%)}
.txlh-sheet.t-executive .txlh-head{background:linear-gradient(120deg,var(--lh-primary),color-mix(in srgb,var(--lh-accent) 82%,#111827));box-shadow:inset 0 -1px rgba(255,255,255,.22)}
.txlh-sheet.t-executive .txlh-foot{background:linear-gradient(120deg,color-mix(in srgb,var(--lh-primary) 92%,#111827),var(--lh-primary))}
.txlh-sheet.t-classic .txlh-head{position:relative}
.txlh-sheet.t-classic .txlh-head:after{content:"";position:absolute;bottom:-8px;width:54px;height:3px;border-radius:99px;background:var(--lh-accent)}
.txlh-sheet.t-classic .txlh-company h1{font-weight:700}
.txlh-sheet.t-ribbon .txlh-d1,.txlh-sheet.t-ribbon .txlh-d3{background:linear-gradient(180deg,var(--lh-primary),color-mix(in srgb,var(--lh-primary) 78%,#111827))}
.txlh-sheet.t-ribbon .txlh-d2,.txlh-sheet.t-ribbon .txlh-d4{box-shadow:0 0 24px rgba(15,23,42,.12)}
.txlh-sheet.t-wave .txlh-d1,.txlh-sheet.t-wave .txlh-d3{background:linear-gradient(90deg,var(--lh-primary),var(--lh-accent))}
.txlh-sheet.t-wave .txlh-head{background:linear-gradient(180deg,var(--lh-tint),transparent 78%)}
.txlh-sheet.t-bar .txlh-d1{background:linear-gradient(90deg,color-mix(in srgb,var(--lh-primary) 82%,#111827),var(--lh-primary))}
.txlh-sheet.t-line .txlh-head{border-bottom-width:3px}
.txlh-sheet.t-line .txlh-d1,.txlh-sheet.t-line .txlh-d2{filter:drop-shadow(0 10px 18px rgba(15,23,42,.06))}
.txlh-sheet.t-corner .txlh-d1,.txlh-sheet.t-corner .txlh-d3{box-shadow:0 12px 30px rgba(15,23,42,.10)}
.txlh-tool .txbt-template-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.txlh-tool .txbt-template-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.10)}
.txlh-tool .txbt-template-card.active{box-shadow:0 0 0 3px color-mix(in srgb,var(--txbt-primary) 18%,transparent),0 14px 30px rgba(15,23,42,.10)}


/* =========================================================
   Toolxora Documents v3.9 — Luxury Letterhead Templates
   Corner, Geometric, Executive and Modern redesigned.
   ========================================================= */

/* Larger logo scale with safe aspect-ratio handling */
.txlh-brand img{
  width:var(--lh-logo,150px);
  max-width:72mm;
  max-height:38mm;
  object-fit:contain;
  object-position:center;
}
.txlh-monogram{
  width:var(--lh-logo,150px);
  height:var(--lh-logo,150px);
  max-width:38mm;
  max-height:38mm;
  font-size:clamp(24px,calc(var(--lh-logo,150px) / 2.7),64px);
}

/* Premium thumbnail previews */
.txbt-template-thumb.corner{
  background:
    linear-gradient(135deg,#111827 0 28%,transparent 28%),
    linear-gradient(315deg,#c9a227 0 22%,transparent 22%),
    #f8fafc;
  border:1px solid #d7c26b;
}
.txbt-template-thumb.geometric{
  background:
    linear-gradient(145deg,#0f172a 0 31%,transparent 31%),
    linear-gradient(35deg,#7c3aed 0 24%,transparent 24%),
    linear-gradient(215deg,#c4b5fd 0 20%,transparent 20%),
    #fff;
}
.txbt-template-thumb.executive{
  background:
    linear-gradient(90deg,#111827 0 72%,#c9a227 72% 75%,#f8fafc 75%);
  border-top:0;
}
.txbt-template-thumb.modern{
  background:
    linear-gradient(135deg,#eef2ff,#fff 62%),
    #fff;
  border:1px solid #dbeafe;
  box-shadow:inset 0 7px #4f46e5,inset 0 -3px #c4b5fd;
}

/* ---------- CORNER: luxury black/gold diagonal architecture ---------- */
.txlh-sheet.t-corner{
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98));
}
.txlh-sheet.t-corner .txlh-d1,
.txlh-sheet.t-corner .txlh-d2,
.txlh-sheet.t-corner .txlh-d3,
.txlh-sheet.t-corner .txlh-d4{display:block}
.txlh-sheet.t-corner .txlh-d1{
  top:0;left:0;width:78mm;height:52mm;
  background:linear-gradient(135deg,#111827 0 62%,var(--lh-primary) 62% 78%,transparent 78%);
  border-radius:0;
  box-shadow:none;
}
.txlh-sheet.t-corner .txlh-d2{
  top:0;left:0;width:91mm;height:59mm;
  background:linear-gradient(135deg,transparent 0 74%,var(--lh-accent) 74% 77%,transparent 77%);
  border-radius:0;
}
.txlh-sheet.t-corner .txlh-d3{
  bottom:0;right:0;width:86mm;height:40mm;
  background:linear-gradient(315deg,#111827 0 58%,var(--lh-primary) 58% 73%,transparent 73%);
  border-radius:0;
  box-shadow:none;
}
.txlh-sheet.t-corner .txlh-d4{
  bottom:0;right:0;width:102mm;height:48mm;
  background:linear-gradient(315deg,transparent 0 73%,var(--lh-accent) 73% 76%,transparent 76%);
  border-radius:0;
}
.txlh-sheet.t-corner .txlh-head{
  min-height:52mm;
  padding:11mm 18mm 8mm 86mm;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12mm;
  align-items:center;
}
.txlh-sheet.t-corner .txlh-brand{
  position:absolute;
  top:8mm;left:10mm;
  width:58mm;height:38mm;
  display:flex;align-items:center;justify-content:center;
}
.txlh-sheet.t-corner .txlh-brand img{max-width:55mm;max-height:36mm;filter:drop-shadow(0 8px 16px rgba(0,0,0,.22))}
.txlh-sheet.t-corner .txlh-monogram{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.38);color:#fff}
.txlh-sheet.t-corner .txlh-company h1{font-family:Georgia,serif;font-size:29px;font-weight:700;letter-spacing:.01em}
.txlh-sheet.t-corner .txlh-company p{color:var(--lh-accent);font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.txlh-sheet.t-corner .txlh-contact{padding-left:8mm;border-left:1px solid color-mix(in srgb,var(--lh-accent) 50%,#d1d5db)}
.txlh-sheet.t-corner .txlh-body{padding-top:12mm}
.txlh-sheet.t-corner .txlh-foot{padding-right:92mm;padding-bottom:13mm}
.txlh-sheet.t-corner .txlh-foot-note{border-top:1px solid color-mix(in srgb,var(--lh-accent) 55%,#d1d5db)}
.txlh-sheet.t-corner .txlh-foot-items{display:flex}

/* ---------- GEOMETRIC: layered editorial geometry ---------- */
.txlh-sheet.t-geometric .txlh-d1,
.txlh-sheet.t-geometric .txlh-d2,
.txlh-sheet.t-geometric .txlh-d3,
.txlh-sheet.t-geometric .txlh-d4{display:block}
.txlh-sheet.t-geometric .txlh-d1{
  top:-24mm;left:-18mm;width:132mm;height:78mm;
  background:linear-gradient(135deg,#0f172a,var(--lh-primary));
  transform:rotate(-8deg);
  clip-path:polygon(0 0,100% 0,86% 100%,0 76%);
}
.txlh-sheet.t-geometric .txlh-d2{
  top:-10mm;right:-24mm;width:92mm;height:66mm;
  background:linear-gradient(145deg,var(--lh-accent),color-mix(in srgb,var(--lh-accent) 45%,#fff));
  clip-path:polygon(28% 0,100% 0,100% 100%,0 70%);
  opacity:.88;
}
.txlh-sheet.t-geometric .txlh-d3{
  bottom:-18mm;left:-18mm;width:96mm;height:58mm;
  background:linear-gradient(35deg,var(--lh-primary),var(--lh-accent));
  clip-path:polygon(0 0,72% 22%,100% 100%,0 100%);
}
.txlh-sheet.t-geometric .txlh-d4{
  bottom:0;right:0;width:96mm;height:8mm;
  background:linear-gradient(90deg,var(--lh-accent),var(--lh-primary));
}
.txlh-sheet.t-geometric .txlh-head{
  min-height:48mm;
  padding:11mm 18mm 7mm;
  grid-template-columns:auto minmax(0,1fr) auto;
  color:#fff;
}
.txlh-sheet.t-geometric .txlh-brand{align-self:start}
.txlh-sheet.t-geometric .txlh-brand img{max-width:42mm;max-height:30mm;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28))}
.txlh-sheet.t-geometric .txlh-monogram{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.4)}
.txlh-sheet.t-geometric .txlh-company h1{color:#fff;font-size:28px}
.txlh-sheet.t-geometric .txlh-company p{color:rgba(255,255,255,.82);text-transform:uppercase;letter-spacing:.11em;font-size:10.5px}
.txlh-sheet.t-geometric .txlh-contact{color:#fff;background:rgba(15,23,42,.22);backdrop-filter:blur(4px);padding:4mm;border:1px solid rgba(255,255,255,.24);border-radius:3mm}
.txlh-sheet.t-geometric .txlh-body{padding-top:13mm}
.txlh-sheet.t-geometric .txlh-foot{padding-bottom:17mm}
.txlh-sheet.t-geometric .txlh-foot-items{display:flex}
.txlh-sheet.t-geometric .txlh-foot-note{border-top:2px solid var(--lh-accent)}

/* ---------- EXECUTIVE: boardroom navy/gold composition ---------- */
.txlh-sheet.t-executive{
  background:linear-gradient(90deg,#fff 0 96.5%,var(--lh-accent) 96.5% 100%);
}
.txlh-sheet.t-executive .txlh-head{
  position:relative;
  min-height:54mm;
  padding:13mm 18mm 11mm;
  background:
    linear-gradient(112deg,#0b1220 0 63%,color-mix(in srgb,var(--lh-primary) 86%,#111827) 63% 100%);
  border-bottom:2mm solid var(--lh-accent);
  box-shadow:none;
}
.txlh-sheet.t-executive .txlh-head:after{
  content:"";
  position:absolute;
  right:18mm;bottom:-2mm;
  width:44mm;height:2mm;
  background:#fff;
  opacity:.65;
}
.txlh-sheet.t-executive .txlh-brand img{max-width:48mm;max-height:31mm;filter:drop-shadow(0 8px 18px rgba(0,0,0,.32))}
.txlh-sheet.t-executive .txlh-company h1{font-family:Georgia,serif;font-size:30px;font-weight:700;letter-spacing:.025em}
.txlh-sheet.t-executive .txlh-company p{color:var(--lh-accent);letter-spacing:.13em;text-transform:uppercase;font-size:10.5px}
.txlh-sheet.t-executive .txlh-contact{padding-left:8mm;border-left:1px solid rgba(255,255,255,.25)}
.txlh-sheet.t-executive .txlh-body{padding-top:15mm;padding-right:23mm}
.txlh-sheet.t-executive .txlh-subject{font-family:Georgia,serif;font-size:16px;border-left:3px solid var(--lh-accent);padding-left:9px}
.txlh-sheet.t-executive .txlh-sign strong{color:#0f172a;font-family:Georgia,serif}
.txlh-sheet.t-executive .txlh-foot{
  background:#0b1220;
  padding:7mm 23mm 8mm 18mm;
  border-top:2px solid var(--lh-accent);
}
.txlh-sheet.t-executive .txlh-foot-note{border-top:0;color:rgba(255,255,255,.82)}
.txlh-sheet.t-executive .txlh-fi{color:rgba(255,255,255,.88)}
.txlh-sheet.t-executive .txlh-fi i{background:var(--lh-accent);color:#111827}

/* ---------- MODERN: floating translucent brand card ---------- */
.txlh-sheet.t-modern{
  background:
    radial-gradient(circle at 88% 9%,var(--lh-tint) 0 28mm,transparent 29mm),
    linear-gradient(180deg,#fff,#f8fafc 100%);
}
.txlh-sheet.t-modern .txlh-d1{
  top:0;left:0;width:100%;height:5mm;
  background:linear-gradient(90deg,var(--lh-primary),var(--lh-accent),#dbeafe);
}
.txlh-sheet.t-modern .txlh-d2{
  display:block;top:5mm;right:0;width:54mm;height:42mm;
  background:linear-gradient(145deg,var(--lh-tint2),transparent);
  clip-path:polygon(35% 0,100% 0,100% 100%,0 25%);
}
.txlh-sheet.t-modern .txlh-d3{
  display:block;bottom:0;left:0;width:62mm;height:14mm;
  background:linear-gradient(90deg,var(--lh-primary),var(--lh-accent));
  clip-path:polygon(0 0,78% 0,100% 100%,0 100%);
}
.txlh-sheet.t-modern .txlh-head{
  margin:12mm 16mm 0;
  padding:9mm 10mm;
  min-height:42mm;
  border:1px solid rgba(148,163,184,.35);
  border-left:4px solid var(--lh-primary);
  border-bottom:1px solid rgba(148,163,184,.35);
  border-radius:5mm;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  grid-template-columns:auto minmax(0,1fr) auto;
}
.txlh-sheet.t-modern .txlh-brand img{max-width:43mm;max-height:30mm}
.txlh-sheet.t-modern .txlh-monogram{border-radius:22px;background:linear-gradient(135deg,var(--lh-primary),var(--lh-accent));box-shadow:0 10px 22px color-mix(in srgb,var(--lh-primary) 28%,transparent)}
.txlh-sheet.t-modern .txlh-company h1{font-size:28px;font-weight:800}
.txlh-sheet.t-modern .txlh-company p{font-size:10.5px;text-transform:uppercase;letter-spacing:.12em}
.txlh-sheet.t-modern .txlh-contact{text-align:left;padding-left:7mm;border-left:1px solid #dbeafe}
.txlh-sheet.t-modern .txlh-body{padding-top:12mm}
.txlh-sheet.t-modern .txlh-subject{display:inline-block;background:var(--lh-tint);color:var(--lh-primary);padding:7px 12px;border-radius:999px}
.txlh-sheet.t-modern .txlh-foot{background:transparent;padding-bottom:13mm}
.txlh-sheet.t-modern .txlh-foot-note{border-top:1px solid #cbd5e1}
.txlh-sheet.t-modern .txlh-foot-items{display:flex}

/* Print-safe fallback for effects unsupported by some print engines */
@media print{
  .txlh-sheet.t-geometric .txlh-contact{backdrop-filter:none}
  .txlh-sheet.t-modern .txlh-head{background:#fff}
}

/* Mobile editor template cards stay compact with nine templates */
@media(max-width:700px){
  .txlh-tool .txbt-template-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* =========================================================
   Toolxora Documents v4.0 — Reference-led Letterhead Rebuild
   Corner and Geometric templates + global overlap protection.
   ========================================================= */

/* Global stress protection: long names, emails and addresses never overlay. */
.txlh-head>*{min-width:0}
.txlh-company,.txlh-contact,.txlh-fi,.txlh-foot-note>*{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.txlh-company h1{max-width:100%;overflow-wrap:anywhere}
.txlh-company p,.txlh-contact span{max-width:100%;overflow-wrap:anywhere}
.txlh-contact{max-width:62mm}
.txlh-foot-items{align-items:center}
.txlh-fi{max-width:100%;line-height:1.35}
.txlh-fi b{font:inherit;font-weight:600;overflow-wrap:anywhere}
.txlh-foot-note{align-items:flex-start;flex-wrap:wrap}
.txlh-content,.txlh-to,.txlh-subject,.txlh-sign{overflow-wrap:anywhere;word-break:break-word}

/* Updated thumbnails match actual outputs. */
.txbt-template-thumb.corner{
 background:
  linear-gradient(135deg,transparent 0 67%,#d4a72c 67% 70%,#071426 70% 100%),
  linear-gradient(315deg,#071426 0 25%,#d4a72c 25% 28%,transparent 28%),#fff;
 border:1px solid #d4a72c;
}
.txbt-template-thumb.geometric{
 background:
  linear-gradient(145deg,transparent 0 58%,#1d4ed8 58% 76%,#0b2d78 76%),
  linear-gradient(35deg,#0b2d78 0 20%,#2563eb 20% 34%,transparent 34%),#fff;
 border:1px solid #bfdbfe;
}

/* -------- CORNER — white field, navy top-right, framed navy/gold footer -------- */
.txlh-sheet.t-corner{
 background:#fff;
 border:0.35mm solid color-mix(in srgb,var(--lh-accent) 78%,#b98b20);
}
.txlh-sheet.t-corner .txlh-d1,
.txlh-sheet.t-corner .txlh-d2,
.txlh-sheet.t-corner .txlh-d3,
.txlh-sheet.t-corner .txlh-d4{display:block;z-index:0;border-radius:0;box-shadow:none}
.txlh-sheet.t-corner .txlh-d1{
 top:0;right:0;left:auto;width:94mm;height:86mm;
 background:linear-gradient(145deg,#071426,#0b1d35 76%,#102846);
 clip-path:polygon(34% 0,100% 0,100% 100%,78% 82%,63% 55%);
}
.txlh-sheet.t-corner .txlh-d2{
 top:0;right:0;left:auto;width:105mm;height:96mm;
 background:linear-gradient(145deg,transparent 0 67%,var(--lh-accent) 67% 69%,#f4d675 69% 70%,transparent 70%);
 clip-path:polygon(31% 0,100% 0,100% 100%,75% 84%,59% 56%);
}
.txlh-sheet.t-corner .txlh-d3{
 left:0;right:0;bottom:0;width:auto;height:39mm;
 background:linear-gradient(135deg,#071426,#0b1d35 64%,#102846);
 clip-path:polygon(0 22%,7% 0,69% 0,73% 13%,100% 13%,100% 100%,0 100%);
}
.txlh-sheet.t-corner .txlh-d4{
 left:0;right:0;bottom:38.5mm;width:auto;height:4mm;
 background:linear-gradient(90deg,var(--lh-accent),#f6d77b 38%,var(--lh-accent));
 clip-path:polygon(0 100%,7% 0,69% 0,73% 100%);
}
.txlh-sheet.t-corner .txlh-head{
 min-height:72mm;padding:13mm 15mm 8mm;
 grid-template-columns:auto minmax(0,1fr) 58mm;gap:7mm;align-items:start;
}
.txlh-sheet.t-corner .txlh-brand{position:static;width:auto;height:auto;align-self:start}
.txlh-sheet.t-corner .txlh-brand img{max-width:44mm;max-height:34mm;filter:drop-shadow(0 5px 10px rgba(15,23,42,.12))}
.txlh-sheet.t-corner .txlh-monogram{background:transparent;border:1.2mm solid var(--lh-accent);color:#9a6d0a;border-radius:3mm}
.txlh-sheet.t-corner .txlh-company{padding-top:5mm}
.txlh-sheet.t-corner .txlh-company h1{font-family:Georgia,serif;font-size:27px;letter-spacing:.035em;color:#0b1730}
.txlh-sheet.t-corner .txlh-company p{color:#9a6d0a;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase}
.txlh-sheet.t-corner .txlh-contact{
 color:#fff;text-align:left;padding:5mm 3mm 0 8mm;max-width:58mm;gap:2.2mm;font-size:10.2px;line-height:1.35;
}
.txlh-sheet.t-corner .txlh-contact span{position:relative;padding-left:5mm}
.txlh-sheet.t-corner .txlh-contact span:before{content:'•';position:absolute;left:0;color:var(--lh-accent);font-size:16px;line-height:10px}
.txlh-sheet.t-corner .txlh-body{padding:5mm 15mm 0;z-index:2}
.txlh-sheet.t-corner .txlh-meta{margin-top:0}
.txlh-sheet.t-corner .txlh-to strong,.txlh-sheet.t-corner .txlh-subject{color:#9a6d0a}
.txlh-sheet.t-corner .txlh-subject{border-left:2px solid var(--lh-accent);padding-left:8px}
.txlh-sheet.t-corner .txlh-sign strong{font-family:Georgia,serif;color:#0b1730}
.txlh-sheet.t-corner .txlh-foot{
 height:38mm;padding:8mm 13mm 5mm;margin-top:auto;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;
}
.txlh-sheet.t-corner .txlh-foot-items{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3mm;margin:0 0 3.8mm;
}
.txlh-sheet.t-corner .txlh-fi{color:#fff;font-size:8.8px;border-right:1px solid rgba(255,255,255,.24);padding-right:2.5mm}
.txlh-sheet.t-corner .txlh-fi:last-child{border-right:0}
.txlh-sheet.t-corner .txlh-fi i{background:transparent;border:1px solid var(--lh-accent);color:var(--lh-accent);width:7mm;height:7mm;font-size:8px}
.txlh-sheet.t-corner .txlh-foot-note{border-top:1px solid rgba(212,167,44,.75);padding-top:3mm;color:rgba(255,255,255,.88);font-size:8.8px;justify-content:center;text-align:center}

/* -------- GEOMETRIC — open white body, blue polygons, structured footer -------- */
.txlh-sheet.t-geometric{background:linear-gradient(180deg,#fff 0 94%,#f8fbff 100%)}
.txlh-sheet.t-geometric .txlh-d1,
.txlh-sheet.t-geometric .txlh-d2,
.txlh-sheet.t-geometric .txlh-d3,
.txlh-sheet.t-geometric .txlh-d4{display:block;z-index:0;border-radius:0;box-shadow:none}
.txlh-sheet.t-geometric .txlh-d1{
 top:0;right:0;left:auto;width:105mm;height:61mm;
 background:linear-gradient(145deg,#bfdbfe 0 20%,#2563eb 20% 55%,#0b2d78 55% 100%);
 clip-path:polygon(22% 0,100% 0,100% 70%,76% 56%,58% 82%,36% 52%);
 transform:none;
}
.txlh-sheet.t-geometric .txlh-d2{
 top:0;left:0;right:auto;width:92mm;height:48mm;
 background:linear-gradient(150deg,#f1f5f9,#dbeafe 58%,transparent 59%);
 clip-path:polygon(0 0,100% 0,74% 68%,35% 48%,0 76%);
 opacity:1;
}
.txlh-sheet.t-geometric .txlh-d3{
 bottom:0;left:0;width:82mm;height:31mm;
 background:linear-gradient(35deg,#0b2d78,#2563eb 72%,#60a5fa);
 clip-path:polygon(0 0,62% 0,100% 100%,0 100%);
}
.txlh-sheet.t-geometric .txlh-d4{
 bottom:0;right:0;width:145mm;height:10mm;
 background:linear-gradient(90deg,#0b2d78,#2563eb,#0b2d78);
 clip-path:none;
}
.txlh-sheet.t-geometric .txlh-head{
 min-height:63mm;padding:18mm 15mm 8mm;
 grid-template-columns:auto minmax(0,1fr) 55mm;gap:7mm;align-items:start;color:#0f172a;
}
.txlh-sheet.t-geometric .txlh-brand{align-self:start}
.txlh-sheet.t-geometric .txlh-brand img{max-width:44mm;max-height:34mm;filter:drop-shadow(0 5px 12px rgba(30,64,175,.15))}
.txlh-sheet.t-geometric .txlh-monogram{background:linear-gradient(135deg,#0b2d78,#2563eb);border:0;color:#fff;clip-path:polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0 50%)}
.txlh-sheet.t-geometric .txlh-company{padding-top:5mm}
.txlh-sheet.t-geometric .txlh-company h1{color:#0b1730;font-size:28px;font-weight:800;letter-spacing:.02em}
.txlh-sheet.t-geometric .txlh-company p{color:#1d4ed8;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase}
.txlh-sheet.t-geometric .txlh-contact{
 color:#0b2d78;background:rgba(255,255,255,.96);padding:4mm;border:0;border-radius:0;text-align:left;max-width:55mm;gap:2mm;font-size:9.6px;line-height:1.35;box-shadow:0 8px 24px rgba(30,64,175,.08)
}
.txlh-sheet.t-geometric .txlh-contact span{position:relative;padding-left:4.8mm}
.txlh-sheet.t-geometric .txlh-contact span:before{content:'●';position:absolute;left:0;color:#2563eb;font-size:7px;top:1px}
.txlh-sheet.t-geometric .txlh-body{padding:4mm 15mm 0;z-index:2}
.txlh-sheet.t-geometric .txlh-to strong,.txlh-sheet.t-geometric .txlh-subject{color:#1d4ed8}
.txlh-sheet.t-geometric .txlh-subject{border-bottom:1px solid #93c5fd;padding-bottom:7px}
.txlh-sheet.t-geometric .txlh-sign strong{color:#1d4ed8}
.txlh-sheet.t-geometric .txlh-foot{padding:4mm 12mm 12mm;margin-top:auto;min-height:29mm;display:flex;flex-direction:column;justify-content:flex-end}
.txlh-sheet.t-geometric .txlh-foot-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5mm;margin:0 0 4mm;background:#fff;border-top:1px solid #cbd5e1;padding-top:3mm}
.txlh-sheet.t-geometric .txlh-fi{font-size:8.2px;color:#334155;border-right:1px solid #cbd5e1;padding-right:2mm}
.txlh-sheet.t-geometric .txlh-fi:last-child{border-right:0}
.txlh-sheet.t-geometric .txlh-fi i{background:#1d4ed8;color:#fff;width:6.5mm;height:6.5mm;font-size:7.5px}
.txlh-sheet.t-geometric .txlh-foot-note{position:absolute;left:83mm;right:12mm;bottom:1.2mm;border:0;color:#fff;padding:0;font-size:8.4px;justify-content:center;text-align:center;z-index:3}

/* Print reproducibility: avoid non-deterministic filters and effects. */
@media print{
 .txlh-sheet{overflow:hidden!important}
 .txlh-sheet.t-corner .txlh-brand img,.txlh-sheet.t-geometric .txlh-brand img{filter:none}
 .txlh-sheet.t-geometric .txlh-contact{box-shadow:none;background:#fff}
}


/* Toolxora Documents v4.1.0 — verified header/footer alignment patch */
.txlh-sheet.t-corner .txlh-head .txlh-contact,
.txlh-sheet.t-geometric .txlh-head .txlh-contact{display:none!important}
.txlh-sheet.t-corner .txlh-head{grid-template-columns:auto minmax(0,1fr)!important;padding-right:18mm!important}
.txlh-sheet.t-geometric .txlh-head{grid-template-columns:auto minmax(0,1fr)!important;padding-right:18mm!important}

/* Keep contact on the right when company name and tagline are both empty */
.txlh-sheet.t-minimal.txlh-no-company .txlh-head,
.txlh-sheet.t-line.txlh-no-company .txlh-head,
.txlh-sheet.t-modern.txlh-no-company .txlh-head{grid-template-columns:auto minmax(0,1fr)!important}
.txlh-sheet.t-minimal.txlh-no-company .txlh-contact,
.txlh-sheet.t-line.txlh-no-company .txlh-contact,
.txlh-sheet.t-modern.txlh-no-company .txlh-contact{grid-column:2!important;justify-self:end!important;margin-left:auto!important;text-align:right!important;max-width:75mm!important}

/* Stable footer geometry */
.txlh-sheet.t-modern .txlh-foot,
.txlh-sheet.t-geometric .txlh-foot,
.txlh-sheet.t-corner .txlh-foot{position:absolute!important;left:0;right:0;bottom:0;z-index:8!important;width:100%;box-sizing:border-box;overflow:hidden}
.txlh-sheet.t-modern .txlh-foot-items,
.txlh-sheet.t-geometric .txlh-foot-items,
.txlh-sheet.t-corner .txlh-foot-items,
.txlh-sheet.t-modern .txlh-footer-grid,
.txlh-sheet.t-geometric .txlh-footer-grid,
.txlh-sheet.t-corner .txlh-footer-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3mm!important;align-items:start;width:100%;box-sizing:border-box;margin:0!important;padding:0!important}
.txlh-sheet.t-modern .txlh-fi,
.txlh-sheet.t-geometric .txlh-fi,
.txlh-sheet.t-corner .txlh-fi{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:1.8mm;align-items:start;min-width:0;margin:0!important;padding:0 2mm 0 0!important;line-height:1.25}
.txlh-sheet.t-modern .txlh-fi i,
.txlh-sheet.t-geometric .txlh-fi i,
.txlh-sheet.t-corner .txlh-fi i{width:6mm;height:6mm;min-width:6mm;min-height:6mm;display:grid;place-items:center;border-radius:50%;font-size:8px;line-height:1}
.txlh-sheet.t-modern .txlh-fi b,
.txlh-sheet.t-geometric .txlh-fi b,
.txlh-sheet.t-corner .txlh-fi b{display:block;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;font-size:8.5px;line-height:1.3;font-weight:500}
.txlh-sheet.t-modern .txlh-foot-note,
.txlh-sheet.t-geometric .txlh-foot-note,
.txlh-sheet.t-corner .txlh-foot-note,
.txlh-sheet.t-modern .txlh-registration-row,
.txlh-sheet.t-geometric .txlh-registration-row,
.txlh-sheet.t-corner .txlh-registration-row{display:flex!important;justify-content:center!important;gap:4mm;clear:both;width:100%;box-sizing:border-box;text-align:center;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;margin:3.5mm 0 0!important;padding:2.5mm 4mm 0!important;font-size:8.2px;line-height:1.25}
.txlh-sheet.t-modern .txlh-foot{min-height:30mm;padding:6mm 16mm 6mm!important;background:#fff;border-top:1px solid #cbd5e1}
.txlh-sheet.t-modern .txlh-foot-note{border-top:1px solid #e2e8f0;color:#64748b}
.txlh-sheet.t-geometric .txlh-foot{min-height:31mm;padding:4.5mm 12mm 11mm!important;background:#fff;border-top:1px solid #cbd5e1}
.txlh-sheet.t-geometric .txlh-foot-items{background:#fff;padding:2.8mm 3mm!important;position:relative;z-index:2}
.txlh-sheet.t-geometric .txlh-foot-note{position:absolute!important;left:82mm!important;right:12mm!important;bottom:1.5mm!important;width:auto!important;color:#fff!important;border:0!important;margin:0!important;padding:0!important;z-index:3}
.txlh-sheet.t-corner .txlh-foot{height:38mm!important;padding:7mm 13mm 5mm!important;background:transparent;color:#fff}
.txlh-sheet.t-corner .txlh-foot-note{color:rgba(255,255,255,.88)!important;border-top:1px solid rgba(212,167,44,.75)!important}
.txlh-sheet.t-modern .txlh-d3,.txlh-sheet.t-geometric .txlh-d3,.txlh-sheet.t-geometric .txlh-d4,.txlh-sheet.t-corner .txlh-d3,.txlh-sheet.t-corner .txlh-d4{z-index:0!important;pointer-events:none}
@media print{.txlh-sheet.t-modern .txlh-foot,.txlh-sheet.t-geometric .txlh-foot,.txlh-sheet.t-corner .txlh-foot{overflow:hidden!important}.txlh-sheet.t-modern .txlh-fi b,.txlh-sheet.t-geometric .txlh-fi b,.txlh-sheet.t-corner .txlh-fi b{font-size:8.2px!important}}
