.tc-public-page{padding:46px 0 72px;background:linear-gradient(180deg,#fffaf3 0,#fff 38%,#fff 100%);min-height:55vh}
.tc-public-shell{max-width:1080px}
.tc-public-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 16px}
.tc-download-pdf{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #d8b68e;border-radius:12px;background:#fff;color:#70451f;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(69,45,22,.07);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.tc-download-pdf:hover{transform:translateY(-1px);border-color:#ba8249;background:#fffaf3;box-shadow:0 11px 26px rgba(69,45,22,.11)}
.tc-download-pdf:focus-visible{outline:3px solid rgba(164,105,47,.22);outline-offset:3px}
.tc-download-pdf:disabled{cursor:wait;opacity:.72;transform:none}
.tc-download-pdf-icon{display:inline-flex;width:19px;height:19px}
.tc-download-pdf-icon svg{width:100%;height:100%}
.tc-download-pdf.is-downloading .tc-download-pdf-icon{animation:tcPdfPulse .9s ease-in-out infinite alternate}
.tc-download-status{color:#766658;font-size:12px;font-weight:600}
.tc-public-card{overflow:hidden;border:1px solid #eadfce;border-radius:24px;background:#fff;box-shadow:0 22px 58px rgba(69,45,22,.08)}
.tc-public-header{display:flex;align-items:center;gap:22px;padding:30px 38px 26px;border-bottom:1px solid #eee2d2;background:linear-gradient(180deg,#fffaf3 0,#fff7ec 100%)}
.tc-public-brandmark{width:86px;height:86px;display:grid;place-items:center;flex:0 0 86px;border:1px solid #eadfce;border-radius:24px;background:#fff;box-shadow:0 12px 28px rgba(69,45,22,.07)}
.tc-public-brandmark img{display:block;max-width:72%;max-height:72%;object-fit:contain}
.tc-public-heading-copy{min-width:0}
.tc-public-heading-copy>span{display:block;margin-bottom:8px;color:#a4692f;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.tc-public-heading-copy h1{margin:0;color:#251a12;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(34px,5vw,58px);font-weight:700;line-height:1.04;white-space:pre-wrap;overflow-wrap:anywhere}
.tc-public-content{padding:34px 38px;color:#392f27;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;font-weight:500;line-height:1.78;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.tc-public-footer{padding:21px 38px;border-top:1px solid #eee2d2;background:#fffdf9;color:#67584a;font-size:13.5px;font-weight:600;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}

/*
 * PDF export is a server-rendered duplicate of the visible card. It carries the
 * same classes/styles and is only exposed while html2pdf measures/captures it.
 */
.tc-pdf-sheet{display:none;width:180mm;min-height:1px;padding:0;box-sizing:border-box;background:#fff;color:#2f261f;font-family:Inter,"Segoe UI",Arial,sans-serif;overflow:visible}
.tc-pdf-sheet *{box-sizing:border-box}
.tc-pdf-sheet.tc-pdf-export-active{display:block;position:absolute;left:-10000px;top:0;z-index:2147483647;visibility:visible;opacity:1;pointer-events:none}
.tc-pdf-sheet .tc-public-card--pdf{display:block;width:100%;max-width:100%;height:auto;margin:0;overflow:visible;background:#fff}
.tc-pdf-sheet .tc-public-header{break-inside:avoid;page-break-inside:avoid}
.tc-pdf-sheet .tc-public-footer{break-inside:avoid;page-break-inside:avoid}
.tc-pdf-sheet .tc-public-content{display:block;visibility:visible;opacity:1;min-width:0;max-width:100%;min-height:1px;white-space:pre-wrap;color:#392f27;overflow-wrap:anywhere;word-break:break-word}.tc-pdf-sheet .tc-public-heading-copy,.tc-pdf-sheet .tc-public-footer{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}

@keyframes tcPdfPulse{from{opacity:.45;transform:translateY(-1px)}to{opacity:1;transform:translateY(1px)}}

@media(max-width:768px){
.tc-public-page{padding:26px 0 50px}.tc-public-actions{margin-bottom:12px}.tc-download-pdf{min-height:42px;padding:9px 14px}.tc-download-status{display:none}.tc-public-card{border-radius:18px}.tc-public-header{align-items:flex-start;padding:24px 22px 20px;gap:16px}.tc-public-brandmark{width:68px;height:68px;flex-basis:68px;border-radius:18px}.tc-public-content{padding:25px 22px;font-size:14px;line-height:1.72}.tc-public-footer{padding:20px 22px}
/* Keep the export card desktop/A4 sized even when the download is started on mobile. */
.tc-pdf-sheet .tc-public-card{border-radius:24px}.tc-pdf-sheet .tc-public-header{align-items:center;padding:30px 30px 26px;gap:22px}.tc-pdf-sheet .tc-public-brandmark{width:86px;height:86px;flex-basis:86px;border-radius:24px}.tc-pdf-sheet .tc-public-content{padding:34px 30px;font-size:15px;line-height:1.78}.tc-pdf-sheet .tc-public-footer{padding:21px 30px}
}
@media(max-width:420px){
.tc-public-page{padding-top:18px}.tc-public-actions{justify-content:stretch}.tc-download-pdf{width:100%}.tc-public-card{border-radius:14px}.tc-public-header{padding:20px 17px 17px;gap:14px}.tc-public-brandmark{width:58px;height:58px;flex-basis:58px;border-radius:16px}.tc-public-content{padding:21px 17px;line-height:1.68}.tc-public-footer{padding:17px}
.tc-pdf-sheet .tc-public-card{border-radius:24px}.tc-pdf-sheet .tc-public-header{align-items:center;padding:30px 30px 26px;gap:22px}.tc-pdf-sheet .tc-public-brandmark{width:86px;height:86px;flex-basis:86px;border-radius:24px}.tc-pdf-sheet .tc-public-content{padding:34px 30px;font-size:15px;line-height:1.78}.tc-pdf-sheet .tc-public-footer{padding:21px 30px}
}

@media print{
.tc-public-actions{display:none!important}.tc-public-page{padding:0;background:#fff}.tc-public-shell{max-width:none}.tc-public-card{border:0;border-radius:0;box-shadow:none}
body.tc-pdf-print-fallback>*:not(.tc-pdf-sheet){display:none!important}
body.tc-pdf-print-fallback .tc-pdf-sheet{display:block!important;position:static!important;width:100%!important;min-height:0!important;height:auto!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:0!important;background:#fff!important}
body.tc-pdf-print-fallback .tc-pdf-sheet .tc-public-card--pdf{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
}
