:root{--tpdf-blue:#4f46e5;--tpdf-violet:#7c3aed;--tpdf-border:#dbe3f0;--tpdf-text:#172033;--tpdf-muted:#667085;--tpdf-soft:#f7f8fc}
.tpdf-shell{max-width:1500px;margin:0 auto;padding:22px 22px 56px}
.tpdf-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 16px}
.tpdf-kicker{font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#635bff;margin-bottom:6px}
.tpdf-hero h1{font-size:clamp(1.7rem,3vw,2.65rem);line-height:1.08;margin:0 0 8px;color:var(--tpdf-text)}
.tpdf-hero p{max-width:840px;margin:0;color:var(--tpdf-muted);line-height:1.65}
.tpdf-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.tpdf-badge{border:1px solid #d8e0ee;background:#fff;border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:700;color:#475467;white-space:nowrap}
.tpdf-app{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}
.tpdf-editor-card,.tpdf-panel,.tpdf-seo-card{background:#fff;border:1px solid var(--tpdf-border);border-radius:18px;box-shadow:0 12px 36px rgba(15,23,42,.055)}
.tpdf-editor-card{overflow:hidden}
.tpdf-topline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 12px;border-bottom:1px solid var(--tpdf-border);background:#fbfcff}
.tpdf-doc-title{flex:1;min-width:200px;border:1px solid #d7dfec;border-radius:9px;background:#fff;padding:9px 11px;font-weight:700;color:var(--tpdf-text)}
.tpdf-status{font-size:.78rem;color:#667085;margin-left:auto}
.tpdf-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px 10px;border-bottom:1px solid var(--tpdf-border);background:#fff;position:sticky;top:0;z-index:10}
.tpdf-tool,.tpdf-toolbar select,.tpdf-toolbar input[type=color]{height:36px;border:1px solid #d5ddeb;background:#fff;border-radius:8px;color:#344054;cursor:pointer;padding:0 10px;font:inherit;font-size:.86rem}
.tpdf-tool:hover,.tpdf-tool:focus-visible{border-color:#7c73ff;background:#f5f3ff}
.tpdf-tool strong{font-size:1rem}.tpdf-tool.is-active{background:#eef2ff;border-color:#818cf8;color:#4338ca}
.tpdf-divider{width:1px;background:#e5e7eb;margin:4px 2px}
.tpdf-color{width:38px!important;padding:3px!important}
.tpdf-stage{background:#edf1f7;padding:22px;min-height:700px;overflow:auto}
.tpdf-page{margin:0 auto;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.13);width:min(100%,794px);min-height:1123px;padding:76px 72px;box-sizing:border-box;color:#111827;transition:.18s ease}
.tpdf-page[data-size="letter"]{width:min(100%,816px);min-height:1056px}.tpdf-page[data-size="legal"]{width:min(100%,816px);min-height:1344px}
.tpdf-page.landscape{width:min(100%,1123px);min-height:794px}.tpdf-page.landscape[data-size="letter"]{width:min(100%,1056px);min-height:816px}.tpdf-page.landscape[data-size="legal"]{width:min(100%,1344px);min-height:816px}
.tpdf-page.margin-narrow{padding:38px}.tpdf-page.margin-wide{padding:92px}
.tpdf-editor{min-height:920px;outline:none;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.tpdf-page.landscape .tpdf-editor{min-height:620px}.tpdf-page[data-size="legal"] .tpdf-editor{min-height:1130px}
.tpdf-editor:empty:before{content:attr(data-placeholder);color:#98a2b3;pointer-events:none}
.tpdf-editor h1{font-size:2em;margin:.65em 0 .35em}.tpdf-editor h2{font-size:1.55em;margin:.7em 0 .35em}.tpdf-editor h3{font-size:1.25em;margin:.7em 0 .35em}.tpdf-editor p{margin:.55em 0}.tpdf-editor blockquote{border-left:4px solid #818cf8;padding:8px 14px;margin:14px 0;background:#f8f8ff;color:#475467}.tpdf-editor img{max-width:100%;height:auto;border-radius:6px}.tpdf-editor table{border-collapse:collapse;width:100%;margin:14px 0}.tpdf-editor td,.tpdf-editor th{border:1px solid #cbd5e1;padding:8px}.tpdf-editor hr{border:0;border-top:1px solid #cbd5e1;margin:20px 0}
.tpdf-wordbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 12px;border-top:1px solid var(--tpdf-border);background:#fbfcff;color:#667085;font-size:.8rem}.tpdf-wordbar strong{color:#344054}
.tpdf-side{display:grid;gap:12px;position:sticky;top:14px}
.tpdf-panel{padding:15px}.tpdf-panel h2,.tpdf-panel h3{font-size:1rem;margin:0 0 12px;color:#1f2937}.tpdf-panel label{display:block;font-size:.78rem;font-weight:700;color:#475467;margin:10px 0 5px}.tpdf-panel select,.tpdf-panel input[type=text],.tpdf-panel input[type=number]{width:100%;height:38px;border:1px solid #d7dfec;border-radius:8px;padding:0 10px;background:#fff;color:#344054}
.tpdf-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tpdf-check{display:flex;gap:8px;align-items:center;font-size:.83rem;color:#475467;margin:10px 0}.tpdf-check input{width:17px;height:17px}
.tpdf-primary,.tpdf-secondary,.tpdf-success{width:100%;min-height:43px;border:0;border-radius:10px;font-weight:800;cursor:pointer;padding:10px 12px;margin-top:8px}.tpdf-primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.tpdf-success{background:#059669;color:#fff}.tpdf-secondary{background:#f3f4f6;color:#344054;border:1px solid #d7dfec}.tpdf-primary:hover,.tpdf-success:hover{filter:brightness(.96)}
.tpdf-export-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tpdf-export-grid button{margin:0}.tpdf-help{font-size:.76rem;color:#667085;line-height:1.5;margin:8px 0 0}
.tpdf-drop{border:1px dashed #aeb9cc;background:#fafbff;border-radius:10px;padding:11px;text-align:center;font-size:.8rem;color:#667085;margin-top:10px}.tpdf-drop.drag{border-color:#635bff;background:#f2f0ff}
.tpdf-seo{max-width:1160px;margin:30px auto 0;display:grid;gap:14px}.tpdf-seo-card{padding:22px}.tpdf-seo-card h2{font-size:1.45rem;margin:0 0 10px}.tpdf-seo-card h3{font-size:1.05rem;margin:18px 0 7px}.tpdf-seo-card p,.tpdf-seo-card li{color:#475467;line-height:1.75}.tpdf-seo-card a{color:#4f46e5;font-weight:700}.tpdf-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tpdf-feature{border:1px solid #e0e6f0;border-radius:12px;padding:14px;background:#fcfdff}.tpdf-feature strong{display:block;color:#1f2937;margin-bottom:5px}.tpdf-feature span{font-size:.84rem;color:#667085;line-height:1.5}.tpdf-table{width:100%;border-collapse:collapse;margin:12px 0}.tpdf-table th,.tpdf-table td{border-bottom:1px solid #e5e7eb;text-align:left;padding:10px 8px;vertical-align:top}.tpdf-table th{color:#344054}.tpdf-faq details{border-top:1px solid #e5e7eb;padding:12px 0}.tpdf-faq summary{font-weight:800;cursor:pointer;color:#1f2937}.tpdf-faq p{margin:8px 0 0}
.tpdf-loading{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:9999;display:none;align-items:center;justify-content:center}.tpdf-loading.show{display:flex}.tpdf-loading>div{background:#fff;padding:18px 22px;border-radius:14px;font-weight:800;color:#344054;box-shadow:0 20px 60px rgba(0,0,0,.25)}
@media(max-width:1080px){.tpdf-app{grid-template-columns:1fr}.tpdf-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.tpdf-feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.tpdf-shell{padding:14px 10px 40px}.tpdf-hero{display:block}.tpdf-badges{justify-content:flex-start;margin-top:10px}.tpdf-stage{padding:8px}.tpdf-page,.tpdf-page[data-size="letter"],.tpdf-page[data-size="legal"],.tpdf-page.landscape{width:100%;min-height:720px;padding:38px 24px}.tpdf-editor{min-height:640px}.tpdf-toolbar{position:static}.tpdf-divider{display:none}.tpdf-side{grid-template-columns:1fr}.tpdf-feature-grid{grid-template-columns:1fr}.tpdf-export-grid{grid-template-columns:1fr 1fr}.tpdf-tool{padding:0 9px}.tpdf-toolbar select{max-width:130px}.tpdf-hero h1{font-size:1.8rem}}
@media print{body *{visibility:hidden!important}.tpdf-page,.tpdf-page *{visibility:visible!important}.tpdf-stage{position:absolute;left:0;top:0;padding:0!important;background:#fff!important}.tpdf-page{box-shadow:none!important;margin:0!important;width:100%!important;min-height:auto!important}.left-column,.app-topbar,.global-footer,.tpdf-side,.tpdf-toolbar,.tpdf-topline,.tpdf-wordbar,.tpdf-hero,.tpdf-seo{display:none!important}}

body.tpdf-focus .tpdf-side{display:none} body.tpdf-focus .tpdf-app{grid-template-columns:1fr} body.tpdf-focus .tpdf-hero{display:none}
