/* GENERATED by scripts/build-templates.js – do not edit by hand */
#inv.executive{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}#inv.executive .hd{border-bottom:1px solid var(--s)}#inv.executive .hd b:first-child{text-transform:uppercase;letter-spacing:.12em}#inv.executive h2{color:var(--s);font-weight:600;letter-spacing:.2em;font-size:1.3rem}#inv.executive th{background:var(--s);color:#fff}#inv.executive .bal{background:var(--s)}
#inv.ledger{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}#inv.ledger tbody tr:nth-child(even) td{background:var(--tint)}#inv.ledger th{background:var(--p);color:#fff}#inv.ledger .hd{border-bottom-width:2px}#inv.ledger .tot .gt{border-top:3px double var(--s)}
#inv.studio{border-left:10px solid var(--p);padding-left:22px}#inv.studio .hd{border-bottom:0;padding-bottom:6px}#inv.studio h2{font-weight:800;font-size:2rem}#inv.studio th{background:transparent;border-bottom:2px solid var(--p)}#inv.studio td{border-bottom:1px dashed var(--line)}#inv.studio .bal{border-radius:999px;padding:10px 18px!important}
#inv.gradient-pro .hd{background:linear-gradient(120deg,var(--p),#7C3AED);color:#fff;border:0;border-radius:16px;padding:20px}#inv.gradient-pro h2{color:#fff}#inv.gradient-pro th{background:var(--tint);border-radius:6px}#inv.gradient-pro .bal{background:linear-gradient(120deg,var(--p),#7C3AED);border-radius:14px}
#inv.midnight .hd{background:#0F172A;color:#fff;border:0;border-radius:12px 12px 0 0;padding:18px}#inv.midnight h2{color:#fff}#inv.midnight .meta{background:var(--tint);padding:12px;border-radius:0 0 12px 12px;margin-top:-14px}#inv.midnight th{background:#0F172A;color:#fff}#inv.midnight .bal{background:#0F172A}
#inv.swiss{font-family:Helvetica,Arial,sans-serif}#inv.swiss .hd{border-bottom:6px solid var(--s)}#inv.swiss h2{font-weight:900;font-size:2.2rem;letter-spacing:-.02em;color:var(--s)}#inv.swiss th{background:#fff;color:var(--s);border-bottom:2px solid var(--s);text-transform:uppercase}#inv.swiss td{border-bottom:1px solid var(--s)}#inv.swiss .bal{background:var(--p);border-radius:0}
#inv.typewriter{font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.84rem}#inv.typewriter .hd{border-bottom:2px dashed var(--s)}#inv.typewriter h2{color:var(--s);font-weight:700}#inv.typewriter th{background:#fff;color:var(--s);border-bottom:2px dashed var(--s)}#inv.typewriter td{border-bottom:1px dashed var(--line)}#inv.typewriter .bal{background:#fff;color:var(--s);border:2px dashed var(--s);border-radius:0}
#inv.legal-serif{font-family:Georgia,'Times New Roman',serif}#inv.legal-serif .hd{flex-direction:column;align-items:center;text-align:center;border-bottom:1px solid var(--s);border-top:4px double var(--s);padding:14px 0}#inv.legal-serif .hd>div{text-align:center!important}#inv.legal-serif h2{font-weight:400;letter-spacing:.3em;color:var(--s)}#inv.legal-serif th{background:#fff;color:var(--s);border-bottom:1px solid var(--s);border-top:1px solid var(--s)}#inv.legal-serif .bal{background:#fff;color:var(--s);border-top:1px solid var(--s);border-bottom:3px double var(--s);border-radius:0}
#inv.boardroom .hd,#inv.boardroom .meta>div,#inv.boardroom table,#inv.boardroom .tot,#inv.boardroom .nt{border:1px solid var(--line);border-radius:10px;padding:12px}#inv.boardroom .hd{border-bottom:3px solid var(--p)}#inv.boardroom table{padding:0;overflow:hidden}#inv.boardroom th{background:var(--p);color:#fff}#inv.boardroom .meta{gap:10px}#inv.boardroom .tot{margin-top:12px}
#inv.accent-rows tbody td:first-child{border-left:4px solid var(--p)}#inv.accent-rows th{background:#fff;color:var(--mut);text-transform:uppercase;letter-spacing:.08em}#inv.accent-rows .hd{border-bottom:0}#inv.accent-rows h2{color:var(--s)}#inv.accent-rows .bal{background:var(--tint);color:var(--p);border-left:6px solid var(--p);border-radius:0 10px 10px 0}
#inv.pastel{background:linear-gradient(#fff,var(--tint))}#inv.pastel .hd{background:#fff;border:0;border-radius:18px;padding:16px;box-shadow:0 2px 10px rgba(15,23,42,.06)}#inv.pastel th{background:#fff;border-radius:8px;color:var(--p)}#inv.pastel td{border-bottom:1px solid #fff}#inv.pastel .bal{border-radius:18px;background:var(--p)}
#inv.retro-frame{border:3px double var(--s);padding:30px;font-family:Georgia,'Times New Roman',serif}#inv.retro-frame .hd{border-bottom:2px solid var(--s)}#inv.retro-frame h2{color:var(--s);letter-spacing:.18em}#inv.retro-frame th{background:var(--s);color:#fff}#inv.retro-frame .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
#inv.blueprint{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:22px 22px;font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.84rem}#inv.blueprint .hd,#inv.blueprint table,#inv.blueprint .tot{background:#fff}#inv.blueprint .hd{border:2px solid var(--p);padding:12px;border-radius:0}#inv.blueprint th{background:var(--p);color:#fff;border-radius:0}#inv.blueprint td{background:#fff}#inv.blueprint .bal{border-radius:0}
#inv.freelancer .hd{border-bottom:0}#inv.freelancer h2{font-weight:300;font-size:2.1rem;letter-spacing:0}#inv.freelancer th{background:transparent;color:var(--p);border-bottom:2px solid var(--p);text-transform:uppercase;font-size:.7rem;letter-spacing:.1em}#inv.freelancer td{padding:12px 8px}#inv.freelancer .bal{border-radius:12px}
#inv.medical .hd{border-bottom:1px solid var(--line)}#inv.medical h2{font-weight:500;color:var(--p)}#inv.medical th{background:var(--tint);color:var(--s)}#inv.medical td{border-bottom:1px solid var(--line)}#inv.medical .bal{background:var(--tint);color:var(--s);border:1px solid var(--p)}
#inv.construction .hd{background:var(--p);color:#fff;border:0;padding:16px;border-radius:0}#inv.construction h2{color:#fff;text-transform:uppercase;font-weight:900}#inv.construction th{background:var(--s);color:#fff;text-transform:uppercase;border-radius:0}#inv.construction td{border-bottom:2px solid var(--line);font-weight:600}#inv.construction .bal{border-radius:0;text-transform:uppercase}
#inv.bistro{font-family:Georgia,'Times New Roman',serif;background:#FFFBF5}#inv.bistro .hd{border-bottom:1px solid var(--p);text-align:center;flex-direction:column;align-items:center}#inv.bistro .hd>div{text-align:center!important}#inv.bistro h2{color:var(--p);font-weight:400;font-style:italic;letter-spacing:.06em}#inv.bistro th{background:transparent;color:var(--p);border-bottom:1px solid var(--p);font-style:italic}#inv.bistro td{border-bottom:1px dotted var(--mut)}#inv.bistro .bal{background:transparent;color:var(--p);border:1px solid var(--p);border-radius:0}
#inv.startup .hd{border:0;padding-bottom:6px}#inv.startup h2{background:var(--p);color:#fff;padding:2px 16px;border-radius:999px;font-size:1.2rem;display:inline-block}#inv.startup th{background:var(--tint);border-radius:999px;padding:6px 12px}#inv.startup td{border-bottom:1px solid var(--line)}#inv.startup .bal{border-radius:999px;padding:12px 20px!important}#inv.startup .gt{border-top:0}
#inv.luxury{font-family:Georgia,'Times New Roman',serif;background:#FFFEFB}#inv.luxury .hd{border-bottom:1px solid #B8923B}#inv.luxury h2{color:#7C5E1E;font-weight:300;letter-spacing:.4em;font-size:1.3rem}#inv.luxury th{background:transparent;color:#7C5E1E;border-top:1px solid #B8923B;border-bottom:1px solid #B8923B;letter-spacing:.14em;text-transform:uppercase}#inv.luxury td{border-bottom:1px solid #E8DCC0}#inv.luxury .bal{background:#fff;color:#7C5E1E;border:1px solid #B8923B;border-radius:0;letter-spacing:.1em}
#inv.eco .hd{background:var(--tint);border:0;border-radius:20px 20px 4px 20px;padding:16px}#inv.eco th{background:transparent;color:var(--p);border-bottom:2px solid var(--p)}#inv.eco td{border-bottom:1px solid var(--line)}#inv.eco .bal{border-radius:20px 4px 20px 4px}
#inv.receipt-roll{max-width:380px;margin:0 auto;font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.8rem}#inv.receipt-roll .hd{flex-direction:column;align-items:center;text-align:center;border-bottom:2px dashed var(--s)}#inv.receipt-roll .hd>div{text-align:center!important}#inv.receipt-roll .meta{grid-template-columns:1fr}#inv.receipt-roll .meta>div{text-align:left!important}#inv.receipt-roll table{min-width:0}#inv.receipt-roll th{background:#fff;color:var(--s);border-bottom:2px dashed var(--s)}#inv.receipt-roll td{border-bottom:1px dashed var(--line);padding:5px 4px}#inv.receipt-roll .tot{max-width:none}#inv.receipt-roll .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
#inv.ruled table{border:1px solid var(--s)}#inv.ruled th,#inv.ruled td{border:1px solid var(--s)}#inv.ruled th{background:var(--tint);color:var(--s)}#inv.ruled .hd{border-bottom:2px solid var(--s)}#inv.ruled h2{color:var(--s)}#inv.ruled .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
#inv.poster .hd{border-bottom:0;flex-direction:column-reverse;gap:6px}#inv.poster .hd>div:last-child{text-align:left!important}#inv.poster h2{font-size:3.2rem;font-weight:900;line-height:1;letter-spacing:-.03em}#inv.poster th{background:var(--s);color:#fff;border-radius:0}#inv.poster .bal{font-size:1.2rem;border-radius:0;padding:14px!important}
#inv.duotone .hd{background:linear-gradient(90deg,var(--p) 55%,var(--s) 55%);color:#fff;border:0;padding:16px;border-radius:10px}#inv.duotone h2{color:#fff}#inv.duotone th{background:var(--tint);color:var(--s)}#inv.duotone .bal{background:var(--s)}
#inv.outline .hd{border-bottom:2px solid var(--p)}#inv.outline th{background:#fff;color:var(--p);border:1px solid var(--p)}#inv.outline td{border-bottom:1px solid var(--line)}#inv.outline .bal{background:#fff;color:var(--p);border:2px solid var(--p)}
#inv.ribbon .hd{border-bottom:2px solid var(--p)}#inv.ribbon h2{background:var(--p);color:#fff;padding:4px 18px 4px 14px;clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%);display:inline-block;font-size:1.3rem}#inv.ribbon th{background:var(--tint)}#inv.ribbon .bal{border-radius:6px}
#inv.top-stripe{border-top:10px solid var(--p);border-radius:0 0 var(--r) var(--r)}#inv.top-stripe .hd{border-bottom:1px solid var(--line)}#inv.top-stripe h2{color:var(--s)}#inv.top-stripe th{background:#fff;border-bottom:2px solid var(--p);color:var(--s)}#inv.top-stripe .bal{background:var(--s)}
#inv.paper{background:#FFFBEB;box-shadow:0 8px 24px rgba(120,53,15,.15);border-color:#F3E3B5;font-family:Georgia,'Times New Roman',serif}#inv.paper .hd{border-bottom:2px solid var(--p)}#inv.paper th{background:#FEF3C7;color:#78350F}#inv.paper td{border-bottom:1px solid #F3E3B5}#inv.paper .bal{background:#78350F}
#inv.mono-print *{color:#000!important}#inv.mono-print .hd{border-bottom:2px solid #000}#inv.mono-print h2{color:#000}#inv.mono-print th{background:#fff;border-bottom:2px solid #000}#inv.mono-print td{border-bottom:1px solid #999}#inv.mono-print .bal{background:#fff;border:2px solid #000;border-radius:0}#inv.mono-print .meta small{color:#444!important}
#inv.ink-saver{font-size:.82rem}#inv.ink-saver .hd{border-bottom:1px solid var(--mut);padding-bottom:8px;margin-bottom:8px}#inv.ink-saver h2{font-size:1.3rem;color:var(--s)}#inv.ink-saver th{background:#fff;color:var(--s);border-bottom:1px solid var(--s);padding:5px 6px}#inv.ink-saver td{padding:5px 6px}#inv.ink-saver .bal{background:#fff;color:var(--s);border:1px solid var(--s);border-radius:4px;padding:6px 10px!important}
#inv.consultant h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:.14em;color:var(--s)}#inv.consultant .hd{border-bottom:1px solid var(--line)}#inv.consultant th{background:#fff;color:var(--mut);border-bottom:1px solid var(--line);font-weight:600}#inv.consultant td{padding:12px 8px}#inv.consultant .bal{background:var(--tint);color:var(--s);border-radius:6px}
/* previews */
.tpv{border:1px solid var(--line);border-radius:var(--r);padding:24px;background:#fff;font-size:.9rem;overflow-x:auto}
.tpv .hd{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:3px solid var(--p);padding-bottom:14px;margin-bottom:14px}
.tpv h2{color:var(--p);margin:0;font-size:1.7rem;letter-spacing:.04em}
.tpv img{max-height:56px;max-width:140px;display:block;margin-bottom:6px}
.tpv .pre{white-space:pre-line}
.tpv .meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.tpv .meta small{color:var(--mut);text-transform:uppercase;font-size:.7rem;letter-spacing:.06em;display:block}
.tpv table{width:100%;border-collapse:collapse;min-width:380px}
.tpv th{background:var(--tint);color:var(--p);text-align:left;padding:8px;font-size:.78rem}
.tpv td{padding:8px;border-bottom:1px solid var(--line)}
.tpv .r{text-align:right}
.tpv .tot{margin:12px 0 0 auto;max-width:280px}
.tpv .tot div{display:flex;justify-content:space-between;padding:3px 0}
.tpv .gt{font-weight:800;font-size:1.05rem;border-top:2px solid var(--s);margin-top:4px;padding-top:6px!important}
.tpv .bal{background:var(--p);color:#fff;border-radius:10px;padding:10px!important;margin-top:8px;font-weight:800;font-size:1.1rem}
.tpv .nt{margin-top:16px;color:#334155}
.tpv .rcp{font-size:.92rem}.tpv .rhd{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:12px;border-bottom:3px double var(--p)}.tpv .rhd img{max-height:56px;display:block;margin-bottom:6px}.tpv .rhd h2{margin:0;letter-spacing:.14em;color:var(--p);font-size:1.5rem}
.tpv .rhero{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;padding:16px 18px;border-radius:14px;background:#ecfdf3;border:1px solid #bbf7d0;border-left:8px solid #16a34a;color:#14532d}.tpv .rhero small{display:block;text-transform:uppercase;letter-spacing:.1em;font-weight:700;font-size:.7rem}.tpv .ramt{font-size:2.1rem;font-weight:800;line-height:1.15}.tpv .rw{font-size:.8rem;opacity:.85}
.tpv .rbadge{font-weight:800;border:2px solid currentColor;border-radius:999px;padding:5px 14px;letter-spacing:.06em;font-size:.85rem}.tpv .rbadge.part{color:#b45309;background:#fffbeb}.tpv .rhero:has(.part){background:#fffbeb;border-color:#fde68a;border-left-color:#d97706;color:#78350f}
.tpv .rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:14px}.tpv .rgrid small,.tpv .rsec{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:700;color:#64748b}.tpv .rgrid b{display:block}
.tpv .rsec{margin:6px 0 4px}.tpv .rtb{width:100%;border-collapse:collapse}.tpv .rtb td{padding:8px 4px;border-bottom:1px dashed #cbd5e1;vertical-align:top}.tpv .rtb td small{display:block;color:#64748b}.tpv .rtb .r{text-align:right;white-space:nowrap}
.tpv .rrec{display:flex;justify-content:space-between;background:#16a34a;color:#fff;border-radius:10px;padding:10px!important;margin-top:8px;font-weight:800;font-size:1.05rem}.tpv .rbl{display:flex;justify-content:space-between;padding:8px 10px!important;font-weight:700;color:#b45309}
.tpv .rsig{display:flex;gap:28px;margin-top:26px}.tpv .rsig>div{flex:1;border-top:1px solid #94a3b8;padding-top:4px;display:flex;flex-direction:column;min-height:50px}.tpv .rsig span{display:block;order:-1;min-height:40px}.tpv .rsig small{color:#64748b}
.tpv .rth{text-align:center;font-weight:700;margin:18px 0 2px}.tpv .rfn{text-align:center;color:#64748b;font-size:.75rem;margin:0}
.tpv{pointer-events:none;overflow:hidden;position:relative;background:#fff;font-size:.9rem}.tpv .hd{border-bottom:3px solid var(--p)}
.tpv.executive{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.tpv.executive .hd{border-bottom:1px solid var(--s)}.tpv.executive .hd b:first-child{text-transform:uppercase;letter-spacing:.12em}.tpv.executive h2{color:var(--s);font-weight:600;letter-spacing:.2em;font-size:1.3rem}.tpv.executive th{background:var(--s);color:#fff}.tpv.executive .bal{background:var(--s)}
.tpv.ledger{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}.tpv.ledger tbody tr:nth-child(even) td{background:var(--tint)}.tpv.ledger th{background:var(--p);color:#fff}.tpv.ledger .hd{border-bottom-width:2px}.tpv.ledger .tot .gt{border-top:3px double var(--s)}
.tpv.studio{border-left:10px solid var(--p);padding-left:22px}.tpv.studio .hd{border-bottom:0;padding-bottom:6px}.tpv.studio h2{font-weight:800;font-size:2rem}.tpv.studio th{background:transparent;border-bottom:2px solid var(--p)}.tpv.studio td{border-bottom:1px dashed var(--line)}.tpv.studio .bal{border-radius:999px;padding:10px 18px!important}
.tpv.gradient-pro .hd{background:linear-gradient(120deg,var(--p),#7C3AED);color:#fff;border:0;border-radius:16px;padding:20px}.tpv.gradient-pro h2{color:#fff}.tpv.gradient-pro th{background:var(--tint);border-radius:6px}.tpv.gradient-pro .bal{background:linear-gradient(120deg,var(--p),#7C3AED);border-radius:14px}
.tpv.midnight .hd{background:#0F172A;color:#fff;border:0;border-radius:12px 12px 0 0;padding:18px}.tpv.midnight h2{color:#fff}.tpv.midnight .meta{background:var(--tint);padding:12px;border-radius:0 0 12px 12px;margin-top:-14px}.tpv.midnight th{background:#0F172A;color:#fff}.tpv.midnight .bal{background:#0F172A}
.tpv.swiss{font-family:Helvetica,Arial,sans-serif}.tpv.swiss .hd{border-bottom:6px solid var(--s)}.tpv.swiss h2{font-weight:900;font-size:2.2rem;letter-spacing:-.02em;color:var(--s)}.tpv.swiss th{background:#fff;color:var(--s);border-bottom:2px solid var(--s);text-transform:uppercase}.tpv.swiss td{border-bottom:1px solid var(--s)}.tpv.swiss .bal{background:var(--p);border-radius:0}
.tpv.typewriter{font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.84rem}.tpv.typewriter .hd{border-bottom:2px dashed var(--s)}.tpv.typewriter h2{color:var(--s);font-weight:700}.tpv.typewriter th{background:#fff;color:var(--s);border-bottom:2px dashed var(--s)}.tpv.typewriter td{border-bottom:1px dashed var(--line)}.tpv.typewriter .bal{background:#fff;color:var(--s);border:2px dashed var(--s);border-radius:0}
.tpv.legal-serif{font-family:Georgia,'Times New Roman',serif}.tpv.legal-serif .hd{flex-direction:column;align-items:center;text-align:center;border-bottom:1px solid var(--s);border-top:4px double var(--s);padding:14px 0}.tpv.legal-serif .hd>div{text-align:center!important}.tpv.legal-serif h2{font-weight:400;letter-spacing:.3em;color:var(--s)}.tpv.legal-serif th{background:#fff;color:var(--s);border-bottom:1px solid var(--s);border-top:1px solid var(--s)}.tpv.legal-serif .bal{background:#fff;color:var(--s);border-top:1px solid var(--s);border-bottom:3px double var(--s);border-radius:0}
.tpv.boardroom .hd,.tpv.boardroom .meta>div,.tpv.boardroom table,.tpv.boardroom .tot,.tpv.boardroom .nt{border:1px solid var(--line);border-radius:10px;padding:12px}.tpv.boardroom .hd{border-bottom:3px solid var(--p)}.tpv.boardroom table{padding:0;overflow:hidden}.tpv.boardroom th{background:var(--p);color:#fff}.tpv.boardroom .meta{gap:10px}.tpv.boardroom .tot{margin-top:12px}
.tpv.accent-rows tbody td:first-child{border-left:4px solid var(--p)}.tpv.accent-rows th{background:#fff;color:var(--mut);text-transform:uppercase;letter-spacing:.08em}.tpv.accent-rows .hd{border-bottom:0}.tpv.accent-rows h2{color:var(--s)}.tpv.accent-rows .bal{background:var(--tint);color:var(--p);border-left:6px solid var(--p);border-radius:0 10px 10px 0}
.tpv.pastel{background:linear-gradient(#fff,var(--tint))}.tpv.pastel .hd{background:#fff;border:0;border-radius:18px;padding:16px;box-shadow:0 2px 10px rgba(15,23,42,.06)}.tpv.pastel th{background:#fff;border-radius:8px;color:var(--p)}.tpv.pastel td{border-bottom:1px solid #fff}.tpv.pastel .bal{border-radius:18px;background:var(--p)}
.tpv.retro-frame{border:3px double var(--s);padding:30px;font-family:Georgia,'Times New Roman',serif}.tpv.retro-frame .hd{border-bottom:2px solid var(--s)}.tpv.retro-frame h2{color:var(--s);letter-spacing:.18em}.tpv.retro-frame th{background:var(--s);color:#fff}.tpv.retro-frame .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
.tpv.blueprint{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:22px 22px;font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.84rem}.tpv.blueprint .hd,.tpv.blueprint table,.tpv.blueprint .tot{background:#fff}.tpv.blueprint .hd{border:2px solid var(--p);padding:12px;border-radius:0}.tpv.blueprint th{background:var(--p);color:#fff;border-radius:0}.tpv.blueprint td{background:#fff}.tpv.blueprint .bal{border-radius:0}
.tpv.freelancer .hd{border-bottom:0}.tpv.freelancer h2{font-weight:300;font-size:2.1rem;letter-spacing:0}.tpv.freelancer th{background:transparent;color:var(--p);border-bottom:2px solid var(--p);text-transform:uppercase;font-size:.7rem;letter-spacing:.1em}.tpv.freelancer td{padding:12px 8px}.tpv.freelancer .bal{border-radius:12px}
.tpv.medical .hd{border-bottom:1px solid var(--line)}.tpv.medical h2{font-weight:500;color:var(--p)}.tpv.medical th{background:var(--tint);color:var(--s)}.tpv.medical td{border-bottom:1px solid var(--line)}.tpv.medical .bal{background:var(--tint);color:var(--s);border:1px solid var(--p)}
.tpv.construction .hd{background:var(--p);color:#fff;border:0;padding:16px;border-radius:0}.tpv.construction h2{color:#fff;text-transform:uppercase;font-weight:900}.tpv.construction th{background:var(--s);color:#fff;text-transform:uppercase;border-radius:0}.tpv.construction td{border-bottom:2px solid var(--line);font-weight:600}.tpv.construction .bal{border-radius:0;text-transform:uppercase}
.tpv.bistro{font-family:Georgia,'Times New Roman',serif;background:#FFFBF5}.tpv.bistro .hd{border-bottom:1px solid var(--p);text-align:center;flex-direction:column;align-items:center}.tpv.bistro .hd>div{text-align:center!important}.tpv.bistro h2{color:var(--p);font-weight:400;font-style:italic;letter-spacing:.06em}.tpv.bistro th{background:transparent;color:var(--p);border-bottom:1px solid var(--p);font-style:italic}.tpv.bistro td{border-bottom:1px dotted var(--mut)}.tpv.bistro .bal{background:transparent;color:var(--p);border:1px solid var(--p);border-radius:0}
.tpv.startup .hd{border:0;padding-bottom:6px}.tpv.startup h2{background:var(--p);color:#fff;padding:2px 16px;border-radius:999px;font-size:1.2rem;display:inline-block}.tpv.startup th{background:var(--tint);border-radius:999px;padding:6px 12px}.tpv.startup td{border-bottom:1px solid var(--line)}.tpv.startup .bal{border-radius:999px;padding:12px 20px!important}.tpv.startup .gt{border-top:0}
.tpv.luxury{font-family:Georgia,'Times New Roman',serif;background:#FFFEFB}.tpv.luxury .hd{border-bottom:1px solid #B8923B}.tpv.luxury h2{color:#7C5E1E;font-weight:300;letter-spacing:.4em;font-size:1.3rem}.tpv.luxury th{background:transparent;color:#7C5E1E;border-top:1px solid #B8923B;border-bottom:1px solid #B8923B;letter-spacing:.14em;text-transform:uppercase}.tpv.luxury td{border-bottom:1px solid #E8DCC0}.tpv.luxury .bal{background:#fff;color:#7C5E1E;border:1px solid #B8923B;border-radius:0;letter-spacing:.1em}
.tpv.eco .hd{background:var(--tint);border:0;border-radius:20px 20px 4px 20px;padding:16px}.tpv.eco th{background:transparent;color:var(--p);border-bottom:2px solid var(--p)}.tpv.eco td{border-bottom:1px solid var(--line)}.tpv.eco .bal{border-radius:20px 4px 20px 4px}
.tpv.receipt-roll{max-width:380px;margin:0 auto;font-family:ui-monospace,'SF Mono',Menlo,Consolas,'Courier New',monospace;font-size:.8rem}.tpv.receipt-roll .hd{flex-direction:column;align-items:center;text-align:center;border-bottom:2px dashed var(--s)}.tpv.receipt-roll .hd>div{text-align:center!important}.tpv.receipt-roll .meta{grid-template-columns:1fr}.tpv.receipt-roll .meta>div{text-align:left!important}.tpv.receipt-roll table{min-width:0}.tpv.receipt-roll th{background:#fff;color:var(--s);border-bottom:2px dashed var(--s)}.tpv.receipt-roll td{border-bottom:1px dashed var(--line);padding:5px 4px}.tpv.receipt-roll .tot{max-width:none}.tpv.receipt-roll .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
.tpv.ruled table{border:1px solid var(--s)}.tpv.ruled th,.tpv.ruled td{border:1px solid var(--s)}.tpv.ruled th{background:var(--tint);color:var(--s)}.tpv.ruled .hd{border-bottom:2px solid var(--s)}.tpv.ruled h2{color:var(--s)}.tpv.ruled .bal{background:#fff;color:var(--s);border:2px solid var(--s);border-radius:0}
.tpv.poster .hd{border-bottom:0;flex-direction:column-reverse;gap:6px}.tpv.poster .hd>div:last-child{text-align:left!important}.tpv.poster h2{font-size:3.2rem;font-weight:900;line-height:1;letter-spacing:-.03em}.tpv.poster th{background:var(--s);color:#fff;border-radius:0}.tpv.poster .bal{font-size:1.2rem;border-radius:0;padding:14px!important}
.tpv.duotone .hd{background:linear-gradient(90deg,var(--p) 55%,var(--s) 55%);color:#fff;border:0;padding:16px;border-radius:10px}.tpv.duotone h2{color:#fff}.tpv.duotone th{background:var(--tint);color:var(--s)}.tpv.duotone .bal{background:var(--s)}
.tpv.outline .hd{border-bottom:2px solid var(--p)}.tpv.outline th{background:#fff;color:var(--p);border:1px solid var(--p)}.tpv.outline td{border-bottom:1px solid var(--line)}.tpv.outline .bal{background:#fff;color:var(--p);border:2px solid var(--p)}
.tpv.ribbon .hd{border-bottom:2px solid var(--p)}.tpv.ribbon h2{background:var(--p);color:#fff;padding:4px 18px 4px 14px;clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%);display:inline-block;font-size:1.3rem}.tpv.ribbon th{background:var(--tint)}.tpv.ribbon .bal{border-radius:6px}
.tpv.top-stripe{border-top:10px solid var(--p);border-radius:0 0 var(--r) var(--r)}.tpv.top-stripe .hd{border-bottom:1px solid var(--line)}.tpv.top-stripe h2{color:var(--s)}.tpv.top-stripe th{background:#fff;border-bottom:2px solid var(--p);color:var(--s)}.tpv.top-stripe .bal{background:var(--s)}
.tpv.paper{background:#FFFBEB;box-shadow:0 8px 24px rgba(120,53,15,.15);border-color:#F3E3B5;font-family:Georgia,'Times New Roman',serif}.tpv.paper .hd{border-bottom:2px solid var(--p)}.tpv.paper th{background:#FEF3C7;color:#78350F}.tpv.paper td{border-bottom:1px solid #F3E3B5}.tpv.paper .bal{background:#78350F}
.tpv.mono-print *{color:#000!important}.tpv.mono-print .hd{border-bottom:2px solid #000}.tpv.mono-print h2{color:#000}.tpv.mono-print th{background:#fff;border-bottom:2px solid #000}.tpv.mono-print td{border-bottom:1px solid #999}.tpv.mono-print .bal{background:#fff;border:2px solid #000;border-radius:0}.tpv.mono-print .meta small{color:#444!important}
.tpv.ink-saver{font-size:.82rem}.tpv.ink-saver .hd{border-bottom:1px solid var(--mut);padding-bottom:8px;margin-bottom:8px}.tpv.ink-saver h2{font-size:1.3rem;color:var(--s)}.tpv.ink-saver th{background:#fff;color:var(--s);border-bottom:1px solid var(--s);padding:5px 6px}.tpv.ink-saver td{padding:5px 6px}.tpv.ink-saver .bal{background:#fff;color:var(--s);border:1px solid var(--s);border-radius:4px;padding:6px 10px!important}
.tpv.consultant h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:.14em;color:var(--s)}.tpv.consultant .hd{border-bottom:1px solid var(--line)}.tpv.consultant th{background:#fff;color:var(--mut);border-bottom:1px solid var(--line);font-weight:600}.tpv.consultant td{padding:12px 8px}.tpv.consultant .bal{background:var(--tint);color:var(--s);border-radius:6px}
.tpf{aspect-ratio:4/3.1;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:12px;position:relative}.tpf .tpv{width:560px;transform:scale(var(--k,.46));transform-origin:0 0;margin:0;border-radius:0;color:#0F172A;--s:#0F172A;--mut:#64748B;--line:#E2E8F0;--tint:#EFF6FF;--r:0}
.tpf:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 70%,rgba(255,255,255,.9))}
.tpc{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.tpc button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;font-weight:700;cursor:pointer;font-size:.85rem;min-height:36px}.tpc button.on{background:var(--p);color:#fff;border-color:var(--p)}
.tpg{display:grid;gap:18px;grid-template-columns:minmax(0,1fr)}@media(min-width:640px){.tpg{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:980px){.tpg{grid-template-columns:repeat(3,minmax(0,1fr))}}.tpg>.card{min-width:0}.lay.tl>*{min-width:0}
.tpg .card{padding:14px}.tpg .card[hidden]{display:none}.tpg h3{margin:4px 0}.tpt{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:var(--tint);color:var(--p);border-radius:99px;padding:2px 10px;margin-left:6px;vertical-align:middle}
[data-theme=dark] .tpc button{background:#101A2E;color:#E2E8F0;border-color:#243049}[data-theme=dark] .tpc button.on{background:var(--p);color:#fff}[data-theme=dark] .tpf{border-color:#243049}
@media print{.tpc{display:none}}
