.tf-toolbox{--tf-navy:#102b5c;--tf-blue:#1769d2;--tf-teal:#08a88e;max-width:1000px;margin:22px auto;padding:clamp(16px,3vw,26px);background:#fff;border:1px solid #e4eaf2;border-radius:20px;box-shadow:0 12px 34px rgba(16,43,92,.07);color:#17243b;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.tf-toolbox *{box-sizing:border-box}.tf-toolbox-head{margin-bottom:20px}.tf-toolbox-kicker{font-size:10px;font-weight:800;letter-spacing:1.3px;color:var(--tf-teal)}.tf-toolbox-head h2{margin:7px 0;color:var(--tf-navy);font-size:clamp(22px,4vw,30px);line-height:1.2}.tf-toolbox-head p{margin:0;color:#68758a;font-size:14px;line-height:1.6}.tf-field{display:block;margin:13px 0}.tf-field>span{display:block;font-size:13px;font-weight:700;margin-bottom:7px;color:#34445c}.tf-field input,.tf-field textarea,.tf-field select{display:block;width:100%;max-width:100%;padding:12px 13px;border:1px solid #dce4ee;border-radius:11px;background:#fbfdff;color:#17243b;font:inherit;font-size:14px}.tf-action,.tf-download{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;background:var(--tf-blue);color:#fff!important;padding:12px 18px;font-weight:750;font-size:14px;text-decoration:none;cursor:pointer;margin:7px 8px 5px 0}.tf-action:disabled{opacity:.6;cursor:wait}.tf-action-secondary{background:#eaf2fc;color:var(--tf-navy)!important;border:1px solid #d6e3f4}.tf-file-list,.tf-tool-status{margin:12px 0;color:#087e6e;font-size:13px;line-height:1.6}.tf-output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.tf-output-grid figure{margin:0;border:1px solid #e4eaf2;border-radius:12px;padding:8px}.tf-output-grid img{width:100%;height:auto;display:block}.tf-output-grid a{display:block;margin-top:7px;color:var(--tf-blue);font-size:12px;font-weight:700}
.tf-resume-app{color:#182a43}.tf-resume-progress{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 18px;padding:11px 13px;border-radius:12px;background:#f1f7fc;color:#61718a;font-size:11px;font-weight:700}.tf-resume-progress span:first-child,.tf-resume-progress span:nth-of-type(2){display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#0ba58f;color:#fff}.tf-resume-progress i{height:1px;min-width:12px;flex:1;background:#d4e1ed}.tf-resume-section{padding:16px;margin:0 0 14px;border:1px solid #e7edf4;border-radius:15px;background:#fbfdff}.tf-resume-section h3,.tf-result-heading h3{font-size:17px;color:var(--tf-navy);margin:0 0 7px}.tf-resume-hint{font-size:12px;line-height:1.5;color:#738096;margin:0 0 12px}.tf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.tf-wide{grid-column:1/-1}.tf-field{display:block;margin:11px 0}.tf-field>span{display:block;font-size:12px;font-weight:750;margin-bottom:6px;color:#34445c}.tf-field input,.tf-field textarea,.tf-field select{display:block;width:100%;padding:12px;border:1px solid #dce4ee;border-radius:11px;background:#fff;color:#17243b;font:inherit;font-size:14px}.tf-photo-upload{display:flex;align-items:center;gap:12px;padding:12px;border:1px dashed #9cb8d5;border-radius:12px;background:#fff;cursor:pointer}.tf-photo-upload>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.tf-photo-upload small{font-size:11px;color:#7b8798}.tf-photo-upload input{max-width:160px;margin-left:auto;font-size:11px}.tf-photo-placeholder{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf5f5;color:#079a88;font-size:24px}.tf-photo-note{font-size:11px;color:#77849a;margin-top:6px}.tf-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tf-template-choice{display:flex;min-width:0;flex-direction:column;align-items:stretch;text-align:left;padding:7px;border:1px solid #dfe7ef;border-radius:12px;background:#fff;color:#253751;cursor:pointer}.tf-template-choice.is-selected{border:2px solid #08a88e;padding:6px;box-shadow:0 0 0 3px #08a88e18}.tf-template-choice strong{font-size:11px;margin:6px 2px 1px}.tf-template-choice small{font-size:9px;color:#7a8798;margin:0 2px 3px}.tf-template-thumb{height:94px;padding:12px 8px;background:#fff;border:1px solid #e2e7ee;display:flex;flex-direction:column;gap:8px;overflow:hidden}.tf-template-thumb b{font-size:9px;color:#18345b}.tf-template-thumb i{height:4px;width:85%;background:#e4eaf1;border-radius:5px}.tf-thumb-modern{border-top:9px solid #1769d2}.tf-thumb-minimal{border-top:4px solid #08a88e}.tf-thumb-photo{background:linear-gradient(90deg,#eaf1f8 0 34%,#fff 34%)}.tf-thumb-photo b,.tf-thumb-sidebar b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#dce8f5;color:#1769d2}.tf-thumb-sidebar{background:linear-gradient(90deg,#102b5c 0 34%,#fff 34%)}.tf-thumb-sidebar b{background:#fff}.tf-thumb-sidebar i{margin-left:36%;width:58%}.tf-thumb-elegant{border-top:3px double #b99b60}.tf-resume-actions{display:flex;flex-wrap:wrap;gap:8px}.tf-resume-result{margin-top:22px}.tf-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.tf-result-heading p{margin:0;font-size:12px;color:#78869a}.tf-edit-details{border:1px solid #d8e3ef;background:#fff;border-radius:9px;padding:9px 12px;color:#1769d2;font-weight:700}.tf-resume-preview-wrap{max-width:760px;margin:0 auto 14px;background:#edf2f7;padding:12px;border-radius:12px;overflow:auto}.tf-resume-preview{width:100%;min-height:780px;padding:38px 34px;background:#fff;border:1px solid #dce4ee;box-shadow:0 8px 24px rgba(16,43,92,.08);color:#263449;font-family:Arial,sans-serif;overflow-wrap:anywhere}.tf-cv-header{display:flex;align-items:center;gap:20px;border-bottom:2px solid #08a88e;padding-bottom:17px}.tf-cv-header h1{font-size:28px;line-height:1.15;margin:0 0 5px;color:#102b5c}.tf-cv-header h2{font-size:14px;color:#08a88e;margin:0 0 9px}.tf-cv-contact{display:flex;gap:5px 12px;flex-wrap:wrap;margin:0;font-size:10px;color:#68758a}.tf-cv-photo{width:92px;height:112px;object-fit:cover;border-radius:9px;flex:none}.tf-resume-preview section{margin-top:22px}.tf-resume-preview section h3{font-size:11px;letter-spacing:1px;color:#1769d2;border-bottom:1px solid #dce4ee;padding-bottom:6px;margin:0 0 8px}.tf-resume-preview section p{font-size:11px;line-height:1.65;white-space:pre-line;margin:0;color:#35445a}.tf-resume-preview.modern{border-top:10px solid #1769d2}.tf-resume-preview.modern .tf-cv-header{border-color:#1769d2}.tf-resume-preview.minimal{border-top:4px solid #08a88e}.tf-resume-preview.minimal .tf-cv-header{border:0}.tf-resume-preview.photo .tf-cv-header{background:#102b5c;margin:-38px -34px 0;padding:28px 34px;color:#fff}.tf-resume-preview.photo .tf-cv-header h1,.tf-resume-preview.photo .tf-cv-header h2,.tf-resume-preview.photo .tf-cv-contact{color:#fff}.tf-resume-preview.photo .tf-cv-photo{border:3px solid #fff;border-radius:50%;width:100px;height:100px}.tf-resume-preview.sidebar{padding-left:0}.tf-resume-preview.sidebar .tf-cv-header{background:#102b5c;padding:26px;color:#fff}.tf-resume-preview.sidebar .tf-cv-header h1,.tf-resume-preview.sidebar .tf-cv-header h2,.tf-resume-preview.sidebar .tf-cv-contact{color:#fff}.tf-resume-preview.sidebar section{margin-left:26px;margin-right:26px}.tf-resume-preview.elegant .tf-cv-header{border-bottom:3px double #b99b60}.tf-resume-preview.elegant .tf-cv-header h1{font-family:Georgia,serif;color:#725b32}.tf-resume-download-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.tf-share-help{text-align:center;margin-top:7px}
@media(max-width:720px){.tf-form-grid{grid-template-columns:1fr}.tf-wide{grid-column:auto}.tf-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tf-resume-preview-wrap{padding:6px}.tf-resume-preview{min-height:600px;padding:24px 18px}.tf-resume-preview.photo .tf-cv-header{margin:-24px -18px 0;padding:20px 18px}.tf-resume-preview.sidebar .tf-cv-header{padding:20px}.tf-resume-preview.sidebar section{margin-left:18px;margin-right:18px}.tf-cv-header h1{font-size:23px}.tf-cv-photo{width:76px;height:92px}.tf-result-heading{align-items:flex-start}.tf-resume-progress{font-size:10px}}
@media print{body *{visibility:hidden!important}.tf-resume-preview,.tf-resume-preview *{visibility:visible!important}.tf-resume-preview{position:absolute;left:0;top:0;width:100%;min-height:0;border:0;box-shadow:none;padding:12mm}.tf-resume-preview-wrap{position:static!important;background:#fff;padding:0;overflow:visible}.tf-resume-preview.photo .tf-cv-header{margin:-12mm -12mm 0;padding:12mm}.tf-resume-preview.sidebar .tf-cv-header{padding:12mm}.tf-resume-preview.sidebar section{margin-left:0;margin-right:0}.tf-resume-app,.tf-toolbox{border:0;box-shadow:none;padding:0;margin:0}.tf-toolbox-head,.tf-resume-form,.tf-resume-progress,.tf-result-heading,.tf-resume-download-actions,.tf-share-help,.tf-tool-status{display:none!important}@page{size:A4;margin:10mm}}

/* Merge PDF v1.0.3 */
.tf-merge-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:145px;padding:18px;border:2px dashed #9bb7d5;border-radius:16px;background:#f5f9ff;text-align:center;cursor:pointer;color:#18365f}
.tf-merge-dropzone:focus-within,.tf-merge-dropzone:hover{border-color:#08a88e;background:#f0fbf8}
.tf-merge-upload-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e1f5f0;color:#078d7c;font-size:28px;line-height:1}
.tf-merge-dropzone strong{font-size:15px}
.tf-merge-dropzone small{font-size:11px;color:#75849a}
.tf-merge-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.tf-merge-summary{margin:14px 0 8px;font-size:12px;font-weight:700;color:#42536b}
.tf-merge-list{display:flex;flex-direction:column;gap:9px;margin:12px 0}
.tf-merge-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #e0e8f1;border-radius:13px;background:#fff}
.tf-merge-file-icon{display:grid;place-items:center;width:38px;height:42px;border-radius:9px;background:#fff0f0;color:#d34b4b;font-size:11px;font-weight:900}
.tf-merge-file-meta{min-width:0}
.tf-merge-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;color:#273b57}
.tf-merge-file-detail{display:block;margin-top:3px;font-size:10px;color:#7b8798}
.tf-merge-file-controls{display:flex;align-items:center;gap:4px}
.tf-merge-file-controls button{width:29px;height:29px;border:1px solid #dce5ef;border-radius:8px;background:#f8fbff;color:#23436d;font-weight:800;cursor:pointer;padding:0}
.tf-merge-file-controls button:disabled{opacity:.35;cursor:default}
.tf-merge-file-controls .tf-merge-remove{color:#c23d46}
.tf-merge-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tf-merge-actions .tf-action{margin:0}
.tf-merge-actions .tf-action:disabled{opacity:.45}
.tf-merge-progress{height:7px;overflow:hidden;border-radius:10px;background:#e8eef5;margin:12px 0}
.tf-merge-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#08a88e,#1769d2);transition:width .2s}
@media(max-width:480px){.tf-merge-item{grid-template-columns:34px minmax(0,1fr) auto;gap:7px;padding:8px}.tf-merge-file-icon{width:32px;height:38px}.tf-merge-file-controls{gap:3px}.tf-merge-file-controls button{width:27px;height:27px}}

/* Ensure hidden download links stay hidden until a file is successfully generated. */
.tf-toolbox .tf-download[hidden],
.tf-toolbox [hidden] { display: none !important; }
.tf-merge-dropzone.is-dragover { border-color: #08a88e; background: #eafaf5; }

/* Merge result actions */
.tf-toolbox .tf-merge-result-actions[hidden]{display:none!important}
.tf-merge-result-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.tf-merge-result-actions .tf-download,.tf-merge-result-actions .tf-action{margin:0;min-height:46px}
.tf-merge-result-actions .tf-download{display:inline-flex}
@media(max-width:480px){.tf-merge-result-actions{display:grid;grid-template-columns:1fr}.tf-merge-result-actions .tf-download,.tf-merge-result-actions .tf-action{width:100%}}

/* Split PDF v1.0.6 */
.tf-split-file-info{margin:14px 0;padding:12px 14px;border:1px solid #dce8f2;border-radius:12px;background:#f7faff;color:#334a67;font-size:13px;font-weight:700}
.tf-split-range-field{margin-top:16px}
.tf-split-range-field small{display:block;margin-top:6px;color:#77869a;font-size:11px}
.tf-split-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}
.tf-split-presets button{border:1px solid #dbe5ef;border-radius:9px;padding:9px 12px;background:#f7faff;color:#29496e;font-size:12px;font-weight:700}
.tf-split-presets button:disabled{opacity:.4}
.tf-split-submit:disabled{opacity:.45}
.tf-split-result[hidden]{display:none!important}
