.tool-page[data-tool=txt-to-pdf]{--tool-content-width:1000px}.tool-page[data-tool=txt-to-pdf]>:is(.tool-intro,.tool-workspace,.tool-doc,.tool-details){width:calc(100% - 48px);max-width:1000px;margin-left:auto;margin-right:auto}.tpdf{padding:20px;background:#fff;border:1px solid #dce4f0;border-radius:14px;color:#334155;font-size:12px;--line:#dce4ef;--purple:#5145ed}.tpdf button,.tpdf input,.tpdf select,.tpdf textarea{font:inherit}.tpdf [hidden],.tpdf input[hidden]{display:none!important}.tpdf button{cursor:pointer;border:1px solid var(--line);border-radius:6px;background:white;color:#64748b;padding:7px 10px}.tpdf button:disabled{opacity:.4;cursor:not-allowed}.tpdf :is(button,a,input,select,textarea,[contenteditable]):focus-visible{outline:2px solid #8b7bff;outline-offset:2px}.tpdf-heading,.tpdf-heading b{display:flex;align-items:center}.tpdf-heading b{gap:7px;font-size:13px}.tpdf-heading b svg{color:#7868e8}.tpdf-heading>span{flex:1 1;color:#94a3b8}.tpdf-heading button{display:flex;align-items:center;gap:6px}.tpdf-source{padding:10px;background:#f8fafc;border:1px solid var(--line);border-radius:7px;margin-bottom:12px;font-size:11px}.tpdf-source label{gap:8px}.tpdf-source select{width:140px!important;margin:0!important}.tpdf-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;background:#f7f9fc;border:1px solid var(--line);border-radius:8px 8px 0 0;padding:9px}.tpdf-toolbar button{padding:5px 7px;min-width:26px;font-size:11px;border-color:transparent}.tpdf-toolbar button:hover,.tpdf-toolbar button[aria-pressed=true]{background:#eeebff;color:#5145ed}.tpdf-toolbar>select{width:auto!important;min-height:28px!important;margin:0!important;padding:4px!important;font-size:11px!important}.tpdf-toolbar>label{position:relative;display:grid;place-items:center;overflow:hidden;width:26px;height:26px;font-size:13px}.tpdf-toolbar input[type=color]{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.tpdf-editor{min-height:310px;overflow:auto;padding:22px;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;outline:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.tpdf-editor:empty:before{content:attr(data-placeholder);color:#a0aabb;pointer-events:none}.tpdf-editor img{max-width:100%;height:auto}.tpdf-editor p{margin:0 0 10px}.tpdf-editor h1{font-size:26px}.tpdf-editor h2{font-size:22px}.tpdf-editor h3{font-size:18px}.tpdf-editor table{width:100%;border-collapse:collapse}.tpdf-editor :is(td,th){border:1px solid #cbd5e1;padding:8px}.tpdf-editor th{background:#f1f5f9}.tpdf-editor ul{list-style:disc;padding-left:25px}.tpdf-editor ol{list-style:decimal;padding-left:25px}.tpdf-editor blockquote{border-left:3px solid #cbd5e1;margin:10px 0;padding-left:14px}.tpdf-editor pre{padding:12px;background:#f1f5f9;white-space:pre-wrap}.tpdf-editor [data-page-break]{border-top:1px dashed #a59aff;margin:18px 0}.tpdf-html{width:100%;min-height:310px;font-family:monospace!important;padding:16px;border:1px solid var(--line)}.tpdf-hint{font-size:10px;line-height:1.8;color:#8b9bb0;margin:10px 0}.tpdf-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.tpdf-settings section{border:1px solid var(--line);border-radius:9px;padding:15px;background:#fafbfe}.tpdf h3{color:#42516a}.tpdf label{display:block;color:#7b8ba3;font-size:11px;margin-bottom:12px}.tpdf :is(select,input:not([type=checkbox]):not([type=color])){box-sizing:border-box;display:block;width:100%;min-height:33px;border:1px solid #d4ddeb;border-radius:6px;padding:6px 9px;margin-top:6px;background:#fff;color:#334155}.tpdf input[type=checkbox]{accent-color:var(--purple)}.tpdf .tpdf-check{display:flex;align-items:center;gap:7px}.tpdf-segment{display:flex;gap:5px;margin:-5px 0 12px}.tpdf-segment button{flex:1 1}.tpdf-segment button[aria-pressed=true]{background:#f2efff;border-color:#9d8aff;color:#6754e5}.tpdf-margins{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tpdf-preview{margin-top:20px}.tpdf-preview h3{display:flex;justify-content:space-between;align-items:center}.tpdf-preview h3 span{font-size:10px;font-weight:400;color:#8c9bb0}.tpdf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#f1f4f9;padding:18px;border:1px solid var(--line);border-radius:9px;max-height:640px;overflow:auto}.tpdf-grid button{border:0;background:transparent;padding:0;cursor:zoom-in;min-width:0}.tpdf-grid img{display:block;width:100%;box-shadow:0 3px 8px #26334914}.tpdf-grid span{display:block;margin-top:8px;color:#92a1b6;font-size:10px}.tpdf-empty{display:grid;place-content:center;justify-items:center;min-height:180px;border:1px dashed var(--line);background:#fafbfe;border-radius:9px;color:#a4b0c1}.tpdf-error{background:#fff1f2;border:1px solid #fecdd3;padding:12px;border-radius:7px;color:#be123c}.tpdf-error,.tpdf-warning{font-size:11px;line-height:1.8}.tpdf-warning{padding:12px 25px;border:1px solid #fde68a;background:#fffbeb;color:#9a7429;border-radius:7px;list-style:disc}.tpdf-options{margin-top:18px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.tpdf-options summary{cursor:pointer;color:#75849c}.tpdf-options>div{padding:5px 15px 15px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.tpdf footer{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:22px}.tpdf .tpdf-primary{display:flex;justify-content:center;align-items:center;gap:7px;min-width:260px;border:0;border-radius:8px;padding:12px 20px;color:white;background:#5145ed;text-decoration:none;box-shadow:0 4px 10px #5145ed25}.tpdf footer p{color:#94a3b8;margin:0}.tpdf-result{display:flex;flex-direction:column;align-items:center;gap:15px;padding:30px}.tpdf-result>svg{color:#7565ef}.tpdf-result h3,.tpdf-result p{margin:0}.tpdf-result p{font-size:11px;color:#94a3b8}.tpdf-result>div{display:flex;gap:10px}.tpdf-modal{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#1e293bee;color:#fff}.tpdf-modal[open]{display:flex;flex-direction:column}.tpdf-modal::backdrop{background:#1e293b}.tpdf-modal>div{display:flex;justify-content:center;gap:12px;align-items:center;padding:14px}.tpdf-modal>div button{background:#ffffff15;color:#fff;border-color:#ffffff30}.tpdf-modal main{flex:1 1;overflow:auto;display:grid;justify-items:center;padding:20px;align-content:start}.tpdf-modal img{max-width:none;height:auto}.tpdf-link{display:flex;gap:8px;align-items:center;padding:10px;background:#f8fafc}.tpdf-link input{margin:0!important}.tpdf-link span{color:#dc2626;font-size:10px}@media(max-width:700px){.tool-page[data-tool=txt-to-pdf]>:is(.tool-intro,.tool-workspace,.tool-doc,.tool-details){width:calc(100% - 24px)}.tpdf{padding:14px}.tpdf-settings{grid-template-columns:1fr}.tpdf-heading{flex-wrap:wrap}.tpdf-heading>span{flex-basis:60%}.tpdf-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.tpdf-editor{padding:14px}.tpdf-options>div{grid-template-columns:1fr}.tpdf-source{flex-wrap:wrap;gap:8px}.tpdf .tpdf-primary{min-width:0;width:100%}}.tool-page[data-tool=txt-to-pdf]>.tpdf{padding:0;border:0;background:transparent;box-shadow:none}.tpdf-output-card,.tpdf-writing-card{padding:20px;background:#fff;border:1px solid #dce4f0;border-radius:15px;box-shadow:0 3px 7px #26334905}.tpdf-output-card{margin-top:20px}.tpdf-heading{margin-bottom:14px;gap:10px}.tpdf-heading b{font-size:12px;font-weight:500}.tpdf-heading b svg{width:13px;height:13px;color:#71829d}.tpdf-heading>span{font-size:10px;color:#8291aa}.tpdf-heading button{font-size:11px;padding:9px 13px;border-color:#cbd6e8;color:#263349}.tpdf-heading button svg{color:#7867f6}.tpdf-heading .tpdf-clear{border-color:transparent;color:#ed6d71}.tpdf-heading .tpdf-clear svg{color:inherit}.tpdf-toolbar{display:block;padding:6px 12px 4px;border-color:#cbd6e8;background:linear-gradient(#fff,#fbfcfe);border-radius:9px 9px 0 0;box-shadow:0 4px 8px #26334906;position:relative;z-index:1}.tpdf-toolbar-row{display:flex;align-items:center;gap:6px;min-height:32px;flex-wrap:wrap}.tpdf-toolbar-row:first-child{border-bottom:1px solid #e3e6eb;padding-bottom:3px;margin-bottom:3px}.tpdf-toolbar-group{display:flex;align-items:center;gap:3px;margin-right:8px}.tpdf-toolbar button{display:flex;align-items:center;justify-content:center;height:28px;min-width:28px;padding:5px;border:0;border-radius:4px;color:#263349;background:transparent;font-size:15px}.tpdf-toolbar button svg{flex:none}.tpdf-toolbar button:hover{background:#eef0f5}.tpdf-toolbar .tpdf-history button{color:#8f9bab}.tpdf-toolbar-row>select{width:130px!important;min-height:26px!important;height:26px;margin:0!important;padding:3px 7px!important;background:#f5f6f8;border:0;border-radius:3px;font-size:11px!important}.tpdf-toolbar-row>select+select{margin-right:15px!important}.tpdf-toolbar .tpdf-format-bold{font-weight:700}.tpdf-toolbar .tpdf-format-italic{font-style:italic;font-family:Georgia,serif}.tpdf-toolbar .tpdf-format-underline{text-decoration:underline}.tpdf-toolbar .tpdf-format-strikeThrough{text-decoration:line-through}.tpdf-color-tools label{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;width:34px;height:28px;margin:0;color:#263349;font-size:15px;cursor:pointer}.tpdf-color-tools label:after{content:"⌄";font-size:11px;color:#94a3b8}.tpdf-color-tools label>span{border-bottom:2px solid;line-height:17px}.tpdf-color-tools input[type=color]{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.tpdf-numbered-icon{font-size:10px;margin-right:-2px}.tpdf-editor{min-height:340px;max-height:650px;padding:17px;border-color:#cbd6e8;border-radius:0;background:#fff;font-size:14px}.tpdf-editor:empty:before{font-size:12px;color:#788394}.tpdf-editor-status{display:flex;justify-content:space-between;align-items:center;height:24px;padding:0 8px;border:1px solid #cbd6e8;border-top-color:#e1e5eb;border-radius:0 0 6px 6px;color:#8793a6;font-size:10px}.tpdf-writing-hint{font-size:10px;margin:12px 0 0;color:#8494ad}.tpdf-writing-hint>span{margin-left:6px;color:#8d80be}.tpdf-html{border-color:#cbd6e8;border-top:0;border-bottom:0;min-height:340px;display:block;resize:vertical}.tpdf-layout{display:grid;grid-template-columns:minmax(260px,36%) minmax(0,1fr);gap:14px;align-items:start}.tpdf-settings{display:block;margin:0;padding:16px;background:#f7f9fc;border:1px solid #dce4f0;border-radius:10px;box-shadow:0 2px 3px #26334904}.tpdf-settings section{padding:0;border:0;border-radius:0;background:transparent}.tpdf-settings section+section{margin-top:17px;border-top:1px solid #dce4ef;padding-top:17px}.tpdf h3{display:flex;gap:7px;align-items:center;color:#334155;font-size:12px;font-weight:600;margin:0 0 15px}.tpdf h3 svg,.tpdf-type-icon{color:#71829e}.tpdf-type-icon{font-weight:400;font-size:15px;line-height:14px}.tpdf-settings label{font-size:10px;line-height:1.6;margin-bottom:13px;color:#71829d}.tpdf-settings :is(input:not([type=checkbox]),select){min-height:37px;margin-top:6px;padding:8px 10px;border-color:#cbd6e8;font-size:11px;border-radius:7px}.tpdf-settings section>:last-child{margin-bottom:0}.tpdf-segment{padding:3px;gap:4px;border:1px solid #cbd6e8;border-radius:7px;background:#fff;margin-top:-6px}.tpdf-segment button{border:0;background:transparent;border-radius:5px;padding:6px;color:#7b889d;font-size:11px}.tpdf-segment button[aria-pressed=true]{background:#f0efff;color:#7360ff}.tpdf-settings .tpdf-hint{font-size:10px;line-height:1.7;margin-top:-4px;margin-bottom:13px}.tpdf-text-defaults{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tpdf-align{margin-bottom:12px}.tpdf-align button{display:flex;justify-content:center;align-items:center}.tpdf-settings .tpdf-check{color:#334155;font-size:11px;margin-bottom:0}.tpdf-check input{width:14px;height:14px;margin:0}.tpdf-preview{margin:0;padding:16px 14px 14px;border:1px solid #dce4f0;border-radius:10px;background:#f7f9fc;box-shadow:0 2px 3px #26334904;min-width:0}.tpdf-preview h3{margin-bottom:16px}.tpdf-preview h3 .tpdf-preview-title{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:600;color:#334155}.tpdf-empty{min-height:240px;border:1px solid #dce4f0;background:#fff;border-radius:8px;color:#b3bbc8;gap:10px}.tpdf-empty>svg{width:23px;height:23px}.tpdf-empty p{color:#8392aa;font-size:11px}.tpdf-preview>.tpdf-hint{font-size:10px;margin:11px 0 0;min-height:14px}.tpdf-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:720px;padding:12px;background:#eef2f8;border-color:#dce4f0;gap:12px}.tpdf-grid:has(>button:only-child){grid-template-columns:minmax(0,1fr)}.tpdf-grid:has(>button:only-child) img{max-height:580px;width:auto;max-width:100%;margin:auto}.tpdf-options{margin-top:12px;background:#f7f9fc;border-radius:9px}.tpdf-options summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:12px 15px;color:#54647d;font-size:11px}.tpdf-options summary::-webkit-details-marker{display:none}.tpdf-options summary>span{display:flex;align-items:center;gap:9px;font-weight:500}.tpdf-options summary>svg{transition:transform .15s}.tpdf-options[open] summary>svg{transform:rotate(180deg)}.tpdf footer{margin-top:20px;gap:12px}.tpdf footer .tpdf-primary{min-width:350px;padding:13px 25px;font-size:13px;border-radius:10px}.tpdf footer .tpdf-primary:disabled{opacity:1;color:#fff;background:#a59af2;box-shadow:0 4px 10px #9f90e92b}.tpdf footer p{display:flex;align-items:center;gap:6px;font-size:10px;color:#8190a9}.tpdf footer p svg{color:#71829e}@media(max-width:800px){.tpdf-toolbar-row>select{width:105px!important}.tpdf-toolbar-row{gap:4px}.tpdf-toolbar-group{margin-right:3px}.tpdf-layout{grid-template-columns:minmax(230px,38%) minmax(0,1fr)}.tpdf-settings{padding:13px}.tpdf-grid{grid-template-columns:1fr}.tpdf-editor{min-height:310px}}@media(max-width:620px){.tpdf-output-card,.tpdf-writing-card{padding:14px;border-radius:12px}.tpdf-output-card{margin-top:14px}.tpdf-layout{grid-template-columns:minmax(0,1fr)}.tpdf-settings{padding:15px}.tpdf-toolbar{padding:5px 7px}.tpdf-toolbar-row>select{width:95px!important}.tpdf-toolbar-row>select+select{margin-right:0!important}.tpdf-toolbar-row{gap:3px}.tpdf-toolbar-group{margin-right:2px}.tpdf-toolbar button{min-width:26px;width:26px}.tpdf-heading{gap:8px}.tpdf-heading>span{flex-basis:auto;font-size:9px}.tpdf-heading button{font-size:10px;padding:7px}.tpdf-editor{min-height:300px;padding:13px}.tpdf-text-defaults{gap:10px}.tpdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tpdf-empty{min-height:210px}.tpdf footer .tpdf-primary{min-width:0;width:100%}.tpdf footer p{font-size:9px}.tpdf-writing-hint{line-height:1.8}}.tpdf{color:#263449}.tpdf-heading>span{color:#596b83}.tpdf-heading .tpdf-clear{color:#d84650}.tpdf-heading .tpdf-clear:disabled{opacity:.65}.tpdf label,.tpdf-settings label{color:#4b607c}.tpdf-hint,.tpdf-preview>.tpdf-hint,.tpdf-settings .tpdf-hint,.tpdf-writing-hint{color:#60748e}.tpdf-writing-hint>span{color:#6b579b}.tpdf-editor:empty:before{color:#657184}.tpdf-editor-status{color:#61728a}.tpdf h3,.tpdf-heading b,.tpdf-preview h3 .tpdf-preview-title{color:#25344b}.tpdf-preview h3 span{color:#60748e}.tpdf-empty p{color:#5b6e88}.tpdf footer p{color:#586d88}.tpdf-segment button{color:#52647e}.tpdf-segment button[aria-pressed=true]{color:#5944dc}.tpdf-grid span,.tpdf-result p{color:#586c87}.tpdf-options{background:#fff;border-color:#d7e2f0;border-radius:10px;overflow:hidden}.tpdf-options summary{background:#f0f4f9;padding:13px 16px;color:#26364e;font-size:12px}.tpdf-options summary>span{gap:10px;font-weight:600}.tpdf-options summary svg{color:#637893}.tpdf-options[open] summary{border-bottom:1px solid #dce4ef}.tpdf-options>.tpdf-option-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px;padding:18px 16px 17px}.tpdf-option-fields>label{min-width:0;margin:0;font-size:11px;line-height:1.6;color:#4c627e;letter-spacing:.02em}.tpdf-option-fields :is(input,select){height:38px;min-height:38px;margin-top:7px;border-color:#c7d5e9;border-radius:7px;padding:8px 11px;color:#25344a;font-size:12px;background:#fff;letter-spacing:normal}.tpdf-option-fields small{display:block;margin-top:7px;color:#617794;font-weight:400;line-height:1.6;letter-spacing:normal}.tpdf-filename{display:flex;align-items:stretch;min-width:0;margin-top:7px;border:1px solid #c7d5e9;border-radius:7px;overflow:hidden;background:#fff}.tpdf .tpdf-filename>input{flex:1 1;min-width:0;width:0;height:36px;min-height:36px;border:0;border-radius:0;margin:0;padding:8px 11px;box-shadow:none}.tpdf-filename>span{display:flex;align-items:center;padding:0 13px;border-left:1px solid #c7d5e9;background:#f7f9fc;color:#536c8e;font-size:12px;font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:normal}.tpdf-filename:focus-within{outline:2px solid #8b7bff;outline-offset:2px}.tpdf .tpdf-filename>input:focus-visible{outline:none}@media(max-width:620px){.tpdf-options>.tpdf-option-fields{grid-template-columns:1fr;gap:16px;padding:15px}.tpdf-option-fields small{font-size:10px}}.tpdf-heading{gap:12px;margin-bottom:16px}.tpdf-heading .tpdf-counts{display:flex;align-items:center;gap:10px;flex:1 1;color:#657994;font-size:11px;letter-spacing:.01em}.tpdf-counts>span{white-space:nowrap}.tpdf-counts strong{color:#6250f5;font-weight:600;letter-spacing:.04em}.tpdf-counts i{font-style:normal;color:#667b97}.tpdf-heading>.tpdf-clear{color:#e52d38}.tpdf-heading>.tpdf-clear:disabled{color:#e56c76}.tpdf-source{justify-content:space-between;gap:18px;margin:16px 0 0;padding:13px 15px;border:1px solid #e0e7f2;border-radius:11px;background:#f7f9fc}.tpdf-source,.tpdf-source-info{display:flex;align-items:center}.tpdf-source-info{gap:10px;min-width:0;color:#667c99;font-size:12px}.tpdf-source-info>svg{flex:none;color:#6653f2}.tpdf-source-info strong{color:#28364d;font-size:12px;font-weight:600;overflow-wrap:anywhere}.tpdf-source-info>span{white-space:nowrap}.tpdf-source label{display:flex;align-items:center;flex:none;gap:10px;margin:0;font-size:12px;font-weight:600;color:#627691}.tpdf-source label>select{width:185px!important;height:37px;min-height:37px;margin:0!important;padding:7px 12px;border-radius:8px;color:#263449;font-weight:400}.tpdf-option-fields select:focus-visible,.tpdf-settings select:focus-visible,.tpdf-source select:focus-visible{outline:1px solid #7962ff;outline-offset:0;box-shadow:0 0 0 4px #e4dfff}.tpdf-input-error{margin:12px 0 0;color:#e52b35;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.tpdf-settings .tpdf-check{font-weight:600;color:#27364c;font-size:12px;gap:9px}.tpdf-check input{width:16px;height:16px;accent-color:#7462f5;flex:none}.tpdf-page-number-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:16px}.tpdf-page-number-fields>label{min-width:0;margin-bottom:0;font-size:11px;font-weight:500}.tpdf-page-number-fields select{font-weight:400}.tpdf-options>.tpdf-option-fields{column-gap:24px;row-gap:20px;padding:19px 17px 18px}.tpdf-option-fields>label{font-weight:500}.tpdf-option-fields :is(input,select){font-weight:400}.tpdf-option-fields small{margin-top:8px;font-size:11px;color:#657b99}.tpdf-options summary>span>svg{width:17px;height:17px}@media(max-width:620px){.tpdf-heading .tpdf-counts{gap:6px;font-size:10px;flex:auto}.tpdf-heading b{font-size:11px}.tpdf-source{align-items:flex-start;flex-direction:column;padding:12px;gap:12px}.tpdf-source label{width:100%;justify-content:space-between}.tpdf-source label>select{width:min(220px,75%)!important}.tpdf-source-info{font-size:11px;gap:8px}.tpdf-options>.tpdf-option-fields{padding:15px;gap:17px}}.tpdf .tpdf-option-fields .tpdf-filename>input{border:0;border-radius:0;margin:0;box-shadow:none;height:36px;min-height:36px;background:transparent}.tpdf .tpdf-editor,.tpdf .tpdf-html{height:340px;min-height:340px;max-height:340px;overflow-y:auto;overflow-x:auto;resize:none;scrollbar-gutter:stable;box-sizing:border-box;overscroll-behavior:contain}.tpdf .tpdf-grid,.tpdf .tpdf-grid:has(>button:only-child){display:grid;grid-template-columns:repeat(auto-fill,80px);justify-content:start;align-content:start;gap:20px 22px;min-height:240px;max-height:480px;padding:18px 20px;background:#fff;border:1px solid #dce4ef;border-radius:9px;overflow:auto}.tpdf .tpdf-grid>button{width:80px;align-self:start;border:0;background:transparent;padding:0}.tpdf .tpdf-grid img,.tpdf .tpdf-grid:has(>button:only-child) img{display:block;width:80px;max-width:80px;height:110px;max-height:110px;object-fit:contain;background:#fff;border:1px solid #e9edf4;border-radius:9px;box-shadow:0 2px 5px #26334908;margin:0}.tpdf .tpdf-grid span{margin-top:8px;font-size:11px;font-weight:400;color:#8290a7}.tpdf-grid button:hover img{border-color:#a79af8;box-shadow:0 3px 9px #6654e51c}.tpdf-preview h3>span:last-child{color:#6451ec}.tpdf .tpdf-modal{background:#1b2339ed;overflow:hidden;padding:0}.tpdf-modal .tpdf-modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:9px 14px;background:#10182ced;border-bottom:1px solid #ffffff0e;min-height:54px;box-sizing:border-box}.tpdf-modal-info{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#f1f5f9;font-size:12px}.tpdf-modal-info strong{font-weight:600}.tpdf-modal-info>span{font-size:11px;color:#a4adbf}.tpdf-modal .tpdf-modal-tools{display:flex;align-items:center;gap:4px}.tpdf-modal .tpdf-modal-tools button{position:relative;display:flex;align-items:center;justify-content:center;gap:0;background:#ffffff10;border:1px solid #ffffff12;border-radius:8px;height:34px;min-width:34px;color:#edf0f7;font-size:12px;padding:7px 9px}.tpdf-modal-tools button>span{position:absolute;left:12px;top:6px;font-size:9px;font-weight:700}.tpdf-modal .tpdf-modal-tools button:last-child{margin-left:8px}.tpdf-modal button:disabled{opacity:.25}.tpdf-modal .tpdf-modal-stage{display:flex;align-items:flex-start;justify-content:flex-start;padding:16px 48px;flex:1 1;min-height:0;overflow:auto;box-sizing:border-box;overscroll-behavior:contain}.tpdf-modal-stage canvas{display:block;flex:none;margin:0 auto;background:white;border-radius:2px;box-shadow:0 3px 20px #0002}.tpdf-modal .tpdf-modal-next,.tpdf-modal .tpdf-modal-prev{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff15;border-radius:50%;background:#10182caa;color:#f1f5f9;font-size:29px;line-height:1;padding:0;box-shadow:0 2px 5px #0002}.tpdf-modal-prev{left:12px}.tpdf-modal-next{right:12px}.tpdf-modal-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:13px;color:#e2e8f0;text-align:center;max-width:80%;line-height:1.8}@media(max-width:620px){.tpdf .tpdf-editor,.tpdf .tpdf-html{height:300px;min-height:300px;max-height:300px}.tpdf .tpdf-grid,.tpdf .tpdf-grid:has(>button:only-child){gap:16px;min-height:210px;padding:14px}.tpdf-modal-info{gap:3px;font-size:11px}.tpdf-modal-info>span{font-size:9px;flex-basis:100%}.tpdf-modal .tpdf-modal-toolbar{gap:6px;padding:8px}.tpdf-modal .tpdf-modal-tools button{height:31px;min-width:30px;padding:6px}.tpdf-modal .tpdf-modal-tools button:last-child{margin-left:3px}.tpdf-modal .tpdf-modal-stage{padding:16px 36px}.tpdf-modal .tpdf-modal-next,.tpdf-modal .tpdf-modal-prev{width:29px;height:29px;font-size:24px}.tpdf-modal-prev{left:5px}.tpdf-modal-next{right:5px}}body:has(.tpdf-modal[open]){overflow:hidden}.tpdf .tpdf-editor:focus-visible,.tpdf .tpdf-html:focus-visible{position:relative;z-index:2;outline:2px solid #8b7bff;outline-offset:-2px}.tpdf .tpdf-result{display:flex;flex-direction:column;align-items:center;gap:0;padding:36px 24px 34px;border:1px solid #dce4f0;border-radius:16px;background:#fff;box-shadow:0 3px 7px #26334905;text-align:center}.tpdf-result .tpdf-success-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#eaf5f0;margin-bottom:18px}.tpdf-success-mark>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#079b72;color:#fff}.tpdf-success-mark svg{stroke-width:3}.tpdf .tpdf-result h3{display:block;margin:0 0 21px;color:#142035;font-size:21px;font-weight:650;line-height:1.5}.tpdf-result>.tpdf-result-file{display:flex;align-items:center;gap:15px;max-width:100%;padding:14px 19px;border:1px solid #dce5f2;border-radius:13px;background:#f7f9fc;text-align:left}.tpdf-result-file>div:last-child{min-width:0}.tpdf-result-file strong{display:block;color:#1c293e;font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.tpdf .tpdf-result-file p{margin:2px 0 0;color:#637997;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.tpdf-pdf-icon{position:relative;flex:none;width:27px;height:35px;color:#ed2831;display:grid;place-items:start center}.tpdf-pdf-icon>b{position:absolute;bottom:0;right:-4px;font-size:9px;line-height:1;background:#f7f9fc;letter-spacing:-.02em;font-weight:800}.tpdf-result>.tpdf-result-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:25px}.tpdf .tpdf-result-actions .tpdf-primary{display:flex;gap:10px;min-width:176px;padding:16px 24px;border-radius:13px;font-size:17px;font-weight:600;box-shadow:0 9px 22px #5145ed28}.tpdf-result-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:47px;padding:12px 18px;font-size:15px;font-weight:500;border-radius:10px}.tpdf-result-actions .tpdf-result-back{color:#1e2d43;border:1px solid #cbd7eb;background:#fff}.tpdf-result-back svg{transform:rotate(180deg);color:#7662ff}.tpdf-result-actions .tpdf-result-reset{border-color:transparent;color:#607591;background:transparent;padding-left:15px;padding-right:15px}.tpdf-result-reset svg{transform:scaleX(-1)}.tpdf .tpdf-result-notice{display:flex;align-items:center;justify-content:center;gap:8px;margin:15px 0 0;font-size:12px;line-height:1.8;color:#647a98}.tpdf-result-notice svg{flex:none;color:#647a98}@media(max-width:620px){.tpdf .tpdf-result{padding:28px 16px;border-radius:12px}.tpdf .tpdf-result h3{font-size:19px}.tpdf-result>.tpdf-result-file{padding:12px;gap:12px}.tpdf-result-file strong{font-size:14px}.tpdf .tpdf-result-file p{font-size:11px}.tpdf-result>.tpdf-result-actions{gap:8px;width:100%;margin-top:22px}.tpdf .tpdf-result-actions .tpdf-primary{width:100%;font-size:15px;min-width:0;padding:13px 20px}.tpdf-result-actions button{font-size:13px;padding:10px 14px;min-height:42px}.tpdf .tpdf-result-notice{font-size:10px;align-items:flex-start}}.tpdf .tpdf-result{height:328px;min-height:328px;box-sizing:border-box;justify-content:center;padding:20px 24px}.tpdf-result .tpdf-success-mark{width:46px;height:46px;margin-bottom:10px}.tpdf-success-mark>span{width:25px;height:25px}.tpdf-success-mark svg{width:18px;height:18px}.tpdf .tpdf-result h3{font-size:17px;margin:0 0 14px}.tpdf-result>.tpdf-result-file{padding:10px 15px;border-radius:10px;gap:12px}.tpdf-result-file strong{font-size:13px}.tpdf .tpdf-result-file p{font-size:11px;margin-top:2px}.tpdf-pdf-icon{width:24px;height:30px}.tpdf-pdf-icon>svg{width:25px;height:25px}.tpdf-pdf-icon>b{font-size:8px}.tpdf-result>.tpdf-result-actions{margin-top:18px;gap:9px}.tpdf .tpdf-result-actions .tpdf-primary{min-width:150px;padding:11px 20px;border-radius:9px;font-size:14px;gap:8px}.tpdf-result-actions button{min-height:39px;padding:9px 13px;font-size:12px;gap:8px;border-radius:8px}.tpdf-result-actions svg{width:16px;height:16px}.tpdf .tpdf-result-notice{font-size:10px;margin-top:12px;gap:6px}.tpdf-result-notice svg{width:12px;height:12px}@media(max-width:620px){.tpdf .tpdf-result{padding:16px 12px}.tpdf-result>.tpdf-result-actions{gap:7px;flex-wrap:nowrap}.tpdf .tpdf-result-actions .tpdf-primary{min-width:0;width:auto;padding:10px 12px;font-size:12px}.tpdf-result-actions button{font-size:11px;padding:8px;gap:5px;min-height:36px}.tpdf-result-actions .tpdf-result-reset{padding:8px}.tpdf .tpdf-result-file p{font-size:10px}.tpdf .tpdf-result-notice{font-size:9px}}.tool-page[data-tool=txt-to-pdf]>.tool-intro{padding-left:0;padding-right:0}.tpdf-doc ul{margin:10px 0 0;padding-left:18px;list-style:disc;color:#52657f;font-size:12px;line-height:1.85}.tpdf-doc li{padding-left:2px;margin:4px 0;overflow-wrap:anywhere}.tpdf-doc .tool-doc-features p+ul{margin-top:9px}.tpdf-doc-audience{margin-top:20px}.tpdf-doc-audience h3{margin:0 0 9px;color:#273449;font-size:14px;font-weight:600;line-height:1.6;text-align:left}.tpdf-doc-audience ul{font-size:13px;color:#485a72}.tpdf-doc-tag{display:inline-block;margin-bottom:10px;padding:3px 9px;border-radius:5px;background:#eaf7ef;color:#278453;font-size:10px;font-weight:600}.tpdf-doc-tag-warning{background:#fff5e6;color:#a67428}.tpdf-doc-comparison article:first-child{background:#fbfefc}.tpdf-doc-comparison article:last-child{background:#fffdf8}@media(max-width:700px){.tpdf-doc-audience ul{font-size:12px}.tpdf-doc ul{font-size:11px}}