@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Onest:wght@400;500;600;700;800&display=swap');
:root{--ink:#18223b;--muted:#727b91;--muted2:#9fa8bb;--paper:#f7f8fc;--border:#e2e5ee;--primary:#6254e9;--purple:#7262ed;--blue:#5e82f8;--white:#fff;--shadow:0 12px 38px rgba(33,39,78,.05)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.55 'Onest','Manrope',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}[hidden]{display:none!important}.wrap{max-width:1260px;width:calc(100% - 72px);margin:0 auto}
.announcement{background:#201c40;color:#e9e6ff;text-align:center;min-height:32px;padding:4px 16px;font-size:12px;letter-spacing:.015em;display:flex;align-items:center;justify-content:center;gap:11px}.announcement .sparkle{color:#a28dff;font-size:18px}.announcement button{border:0;background:none;color:#c7baff;font-weight:700;font-size:12px;padding:0}.announcement button:hover{text-decoration:underline}.announcement button span{margin-left:3px}
.header{background:#fff;border-bottom:1px solid #edf0f6;position:sticky;top:0;z-index:30}.header-inner{height:81px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.logo-glyph{width:35px;height:36px;border-radius:11px;background:#6e60e9;display:grid;place-items:center;position:relative;box-shadow:0 4px 14px #6e60e943}.glyph-square{width:17px;height:19px;border:2px solid #fff;border-radius:4px;transform:rotate(-9deg)}.glyph-mark{color:#fff;font-size:13px;position:absolute;right:6px;top:7px}.logo-name{font-size:26px;letter-spacing:-.075em;line-height:1;font-weight:800}.logo-dot,.footer-logo span{color:#7563f3}.logo-tag{color:#8476dd;background:#f3f0ff;font-size:9px;border-radius:4px;padding:2px 5px;font-weight:800;letter-spacing:.08em;align-self:flex-start;margin:5px 0 0 3px}.nav{display:flex;align-items:center;gap:30px;margin-left:45px}.nav-link{font-size:13px;font-weight:650;color:#798096;transition:color .2s;white-space:nowrap}.nav-link.active,.nav-link:hover{color:#28254d}.header-actions{display:flex;gap:22px;align-items:center}.privacy-tip{font-size:12px;font-weight:600;color:#617083;white-space:nowrap}.online-dot{width:7px;height:7px;border-radius:50%;background:#39ba85;box-shadow:0 0 0 4px #dff8ec;display:inline-block;margin-right:9px}.header-button{border:1px solid #dcddee;border-radius:10px;padding:10px 14px;font-weight:750;white-space:nowrap;font-size:12px;transition:all .2s}.header-button:hover{border-color:#8678ee;background:#faf9ff;color:#5644dc}.header-button span{margin-left:10px;color:#7c70ef}.mobile-menu{display:none;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:19px;width:37px;height:37px}
.hero{position:relative;overflow:hidden;min-height:424px;display:grid;grid-template-columns:1fr 450px;gap:20px;padding-top:65px;padding-bottom:58px}.hero:before{content:'';position:absolute;width:540px;height:400px;top:-65px;right:-85px;z-index:-1;background:radial-gradient(ellipse at center,#e2e3ff 0%,#f0eefe 35%,#f7f8fc00 71%)}.hero-content{z-index:2;max-width:736px}.hero-eyebrow{display:flex;align-items:center;gap:11px;font-size:10.5px;letter-spacing:.16em;color:#6b5ddf;font-weight:850;margin:0 0 18px}.small-stars{background:#eeebff;color:#7b68eb;font-size:18px;display:grid;place-items:center;width:25px;height:25px;border-radius:7px}.hero-separator{color:#b9b9cb}.hero h1{font-size:clamp(40px,4.7vw,61px);line-height:1.13;letter-spacing:-.065em;font-weight:800;margin:0 0 21px;color:#1b1d39}.hero h1 span{color:#796af3;background:linear-gradient(105deg,#6959e7,#8d78fd);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.hero-description{font-size:14px;color:#737a91;line-height:1.83;max-width:615px;margin:0 0 26px}.hero-search{display:flex;align-items:center;max-width:650px;background:#fff;padding:8px 8px 8px 18px;border-radius:13px;border:1px solid #dcdfee;box-shadow:0 8px 25px rgba(47,49,103,.06);min-height:63px;gap:13px}.search-svg{color:#9499a9;width:21px;height:21px}.search-svg svg{width:21px;height:21px}.hero-search input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#222a40;font-size:13px}.hero-search input::placeholder{color:#9aa1b1}.hero-search kbd{color:#a6a8bc;border:1px solid #edeaf4;border-radius:4px;padding:0px 6px;font:11px/20px monospace}.hero-search button{background:#6c5eea;color:#fff;border:0;padding:12px 18px;border-radius:9px;font-size:12px;font-weight:800;transition:background .2s;white-space:nowrap}.hero-search button:hover{background:#5544dc}.hero-search button span{padding-left:10px}.hero-points{display:flex;flex-wrap:wrap;gap:28px;color:#7c8599;font-size:12px;font-weight:650;margin:18px 0 0 6px}.check-icon{width:16px;height:16px;display:inline-grid;place-items:center;margin-right:6px;background:#e7f8f2;color:#38a583;border-radius:50%;font-weight:900}
.hero-art{position:relative;min-height:355px}.art-glow{position:absolute;inset:15px 0;background:radial-gradient(ellipse,#d9d3fd 0%,#ecebfc 45%,#fafaff00 70%);filter:blur(9px)}.art-orbit{position:absolute;border:1px dashed #d6d3f5;border-radius:50%;transform:rotate(-18deg)}.orbit-one{width:390px;height:280px;top:30px;left:31px}.orbit-two{width:290px;height:360px;top:-20px;left:80px;transform:rotate(26deg)}.art-document{position:absolute;box-shadow:0 18px 50px #594bc025;border:1px solid #fff;background:#fff;border-radius:17px}.document-back{width:205px;height:270px;top:14px;left:146px;transform:rotate(13deg);padding:28px}.document-front{width:229px;height:303px;left:95px;top:42px;transform:rotate(-10deg);padding:25px}.document-dots{height:32px;width:32px;border:2px solid #b7b3f7;border-radius:8px;margin-bottom:22px}.doc-icon{width:53px;height:57px;border:1px solid #f0a4af;background:#ffedea;border-radius:10px;display:grid;place-items:center;color:#ec657b;font-weight:900;font-size:15px;margin-bottom:21px}.doc-line{height:7px;background:#e6e6f3;width:72%;border-radius:99px;margin-bottom:10px}.doc-line.long{width:94%}.doc-line.medium{width:81%}.doc-line.short{width:54%}.doc-preview{position:absolute;height:70px;width:166px;left:29px;bottom:20px;border-radius:9px;overflow:hidden;background:#eef1ff}.doc-preview-circle{position:absolute;width:27px;height:27px;border-radius:50%;top:11px;left:17px;background:#dadbfa}.doc-preview-hill{width:180px;height:105px;border-radius:60%;position:absolute;background:#c4c5ef;transform:rotate(-14deg);top:39px;left:25px}.floating-element{position:absolute;background:#fff;border:1px solid #eeecf9;border-radius:14px;box-shadow:0 12px 38px rgba(55,41,111,.14);display:flex;align-items:center;gap:10px;font-weight:850;z-index:1}.floating-image{left:27px;top:82px;transform:rotate(8deg);padding:8px 12px;font-size:12px}.floating-image span:first-child{width:37px;height:35px;border-radius:8px;background:#e6f5ec;color:#4ab880;font-size:23px;display:grid;place-items:center}.floating-success{right:3px;top:205px;padding:13px 17px;transform:rotate(7deg);gap:10px}.floating-success strong,.floating-success small{display:block}.floating-success small{font-size:10px;color:#8491a5;font-weight:500}.floating-tick{display:grid;place-items:center;width:33px;height:33px;background:#e3fae9;color:#25b873;border-radius:50%;font-weight:900}.floating-ai{right:34px;top:26px;background:#6f60ed;color:#fff;padding:10px 13px;transform:rotate(12deg);font-size:13px}.floating-ai span{font-size:19px}.art-spark{position:absolute;color:#a597eb}.art-spark-one{top:5px;left:66px;font-size:28px}.art-spark-two{bottom:21px;left:51px;font-size:22px}.art-spark-three{bottom:31px;right:27px;font-size:28px}
.content{padding:28px 0 75px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.section-overline{font-size:10px;letter-spacing:.17em;font-weight:850;color:#7467e1;margin-bottom:7px}.section-heading h2{font-size:31px;letter-spacing:-.045em;line-height:1.3;margin:0 0 7px;font-weight:800}.section-heading p{font-size:13px;color:#7b8294;margin:0}.catalog-counter{display:flex;align-items:center;gap:13px;padding:0 7px 0 20px}.catalog-counter>span{font-size:31px;letter-spacing:-.07em;font-weight:800;color:#7767ed}.catalog-counter small{line-height:1.35;color:#9094a6;font-size:11px}.filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:23px;flex-wrap:wrap}.category-chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #e1e5ee;background:#fff;color:#767d91;padding:10px 16px;border-radius:9px;font-weight:700;font-size:12px;transition:.15s}.chip:hover,.chip.selected{color:#fff;background:#28283d;border-color:#28283d}.chip span:not(.chip-star){font-size:10px;opacity:.6;margin-left:4px}.chip-star{color:#beadff}.tools-search{background:#fff;border:1px solid #e1e5ee;border-radius:10px;display:flex;align-items:center;padding:8px 13px;gap:8px;min-width:243px}.tools-search span{font-size:24px;color:#959cb0;line-height:1}.tools-search input{border:0;outline:0;min-width:0;flex:1;font-size:12px;color:var(--ink);background:transparent}.tools-search input::placeholder{color:#9da4b2}
.feature-banner{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:18px;border-radius:16px;padding:21px 27px;min-height:126px;margin-bottom:25px;background:linear-gradient(112deg,#29274a 0%,#4f3d92 70%,#6751b8 100%);color:#fff;position:relative;overflow:hidden}.feature-banner:after{content:'✳';position:absolute;right:130px;top:-95px;font-size:250px;line-height:1;color:#ffffff0d;pointer-events:none}.feature-icon{width:48px;height:48px;background:#ffffff21;border:1px solid #ffffff1c;border-radius:13px;display:grid;place-items:center;font-size:31px;color:#c2adff}.feature-label{font-weight:850;letter-spacing:.15em;font-size:9px;color:#c5b6ff}.feature-copy h3{font-size:18px;letter-spacing:-.035em;margin:3px 0 2px}.feature-copy p{font-size:12px;color:#d2ccef;margin:0;max-width:730px}.feature-banner button{background:#fff;border:0;border-radius:10px;color:#3e336b;font-size:12px;font-weight:800;padding:13px 16px;z-index:1;white-space:nowrap}.feature-banner button:hover{background:#f0edff}.feature-banner button span{margin-left:12px;color:#6351c3}
.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tool-card{background:#fff;min-height:132px;border:1px solid #e0e3ec;border-radius:15px;padding:23px 16px 21px 20px;display:flex;align-items:flex-start;gap:13px;position:relative;text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s;color:var(--ink);cursor:pointer;width:100%}.tool-card:hover{border-color:#b5acef;box-shadow:0 12px 33px #35336a0e;transform:translateY(-3px)}.tool-icon{border-radius:11px;width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;font-size:21px;font-weight:750}.tool-icon.purple,.tool-header-icon.purple{background:#f0e8f6;color:#b66dab}.tool-icon.blue,.tool-header-icon.blue{background:#e6edff;color:#5d83e2}.tool-icon.green,.tool-header-icon.green{background:#dff3e4;color:#59ad69}.tool-icon.coral,.tool-header-icon.coral{background:#ffede7;color:#ff8066}.tool-icon.amber,.tool-header-icon.amber{background:#fff2db;color:#c99445}.tool-icon.violet,.tool-header-icon.violet{background:#eeebff;color:#8068df}.tool-card-main{min-width:0;padding:1px 4px 0 0;display:flex;flex-direction:column;flex:1}.tool-card-title{font-size:13px;line-height:1.5;font-weight:800;letter-spacing:-.022em;margin-bottom:4px}.tool-card-desc{font-size:11px;line-height:1.58;color:#8b92a3;max-width:210px}.tool-card-arrow{color:#9ca1ae;font-size:17px;align-self:center;margin-left:auto;margin-top:20px}.tool-card:hover .tool-card-arrow{color:#7663ed;transform:translateX(2px)}.tool-card.soon{opacity:.6;cursor:default}.tool-card.soon:hover{transform:none;box-shadow:none;border-color:var(--border)}.soon-label{position:absolute;top:10px;right:12px;color:#8b90a1;font-size:9px;background:#f2f3f7;border-radius:4px;padding:2px 5px}.no-results{text-align:center;padding:65px 20px;background:#fff;border:1px solid var(--border);border-radius:15px}.no-results>span{font-size:54px;color:#a8adbd}.no-results h3{font-size:22px;margin:0}.no-results p{color:#7f8799}.no-results button{border:0;border-radius:9px;background:#eceafe;color:#6551d9;padding:10px 18px;font-weight:800}
.bottom-benefits{border-top:1px solid #e8e9f2;padding:36px 0 53px;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.benefit{display:flex;gap:15px}.benefit-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;font-size:23px;flex:0 0 45px}.benefit-icon.privacy{background:#e2f5eb;color:#35aa72}.benefit-icon.speed{background:#f0eaff;color:#8570e9}.benefit-icon.formats{background:#e7edff;color:#6c87dd}.benefit strong{font-size:12px}.benefit p{color:#8d94a5;font-size:11px;margin:4px 0 0;line-height:1.6;max-width:265px}
.footer{background:#fff;border-top:1px solid #ecedf4}.footer-grid{min-height:131px;padding:32px 0 25px;display:flex;justify-content:space-between;align-items:center}.footer-logo{font-size:23px;font-weight:800;letter-spacing:-.065em}.footer-grid p{font-size:12px;color:#858d9e;margin:3px 0 0}.footer-links{display:flex;gap:23px;color:#8b90a0;font-size:11px}.footer-links a:hover{color:#6f58dd}.footer-bottom{padding:14px 0 19px;display:flex;justify-content:space-between;border-top:1px solid #f0f1f6;color:#a2a5b3;font-size:10px}
.tool-page{padding:37px 0 85px}.breadcrumbs{display:flex;align-items:center;gap:13px;font-size:11px;color:#a0a6b7;margin-bottom:31px}.breadcrumbs a{color:#6b5ddd;font-weight:700}.breadcrumbs span:last-child{color:#565e75}.tool-header{display:flex;align-items:center;gap:20px;margin-bottom:26px}.tool-header-icon{display:grid;place-items:center;width:69px;height:69px;border-radius:18px;background:#e5eafc;font-size:35px;flex:0 0 69px}.tool-tag{color:#7764e5;letter-spacing:.1em;font-weight:850;font-size:10px}.tool-header h1{font-size:33px;letter-spacing:-.05em;margin:0 0 3px;line-height:1.3}.tool-header p{color:#7d8498;font-size:13px;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 299px;gap:24px}.workspace-main{padding:28px 34px 32px;border:1px solid #e5e6ee;border-radius:17px;background:#fff;min-height:530px}.panel-heading{display:flex;align-items:center;gap:13px;margin:0 0 19px}.panel-heading h2{font-size:17px;letter-spacing:-.025em;margin:0 0 3px}.panel-heading p{color:#8f96a5;font-size:11px;margin:0}.step-index{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#edeaff;color:#7666de;font-size:11px;font-weight:850}.dropzone{border:1.5px dashed #b6b5dd;border-radius:14px;background:#f9f9ff;min-height:250px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;transition:.2s;outline:0;cursor:pointer}.dropzone:hover,.dropzone.dragging,.dropzone:focus-visible{border-color:#6b5bd8;background:#f3f0ff}.dropzone-icon{color:#7666de;background:#ebe8fd;border-radius:16px;display:grid;place-items:center;width:65px;height:65px;margin-bottom:13px}.dropzone strong{font-size:14px;font-weight:800}.dropzone p{font-size:12px;color:#979cad;margin:3px 0 16px}.drop-buttons{display:flex;gap:9px}.drop-buttons button{padding:10px 17px;border-radius:9px;font-size:11px;font-weight:800}.select-files{border:1px solid #6d5deb;background:#6d5deb;color:#fff}.select-files:hover{background:#5442d4}.select-folder{color:#6257bb;background:#fff;border:1px solid #d8d4f2}.dropzone small{font-size:10px;color:#a2a6ba;margin-top:16px}.file-list-wrap{margin-top:19px}.list-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.list-top h3{font-size:12px;font-weight:800;margin:0}.list-top h3 span{color:#8274db}.list-top button{font-size:11px;color:#8971e0;border:0;background:transparent}.file-list{max-height:205px;overflow:auto;display:grid;gap:7px}.file-item{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f9faff;border:1px solid #edf0f7;border-radius:9px}.filetype{background:#eae9fc;color:#6b63ba;border-radius:6px;font-size:10px;font-weight:850;min-width:36px;text-align:center;padding:7px 4px}.file-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;font-size:11px;font-weight:700}.file-size{font-size:10px;color:#a4a9b8;white-space:nowrap}.file-remove{border:0;background:none;font-size:20px;color:#b5b6c4;padding:0 2px}.file-remove:hover{color:#c64f69}.options-heading{margin-top:29px}.options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field.wide{grid-column:1/-1}.field label{color:#535c72;font-size:11px;font-weight:800}.field label small{font-size:9px;color:#9da4b2;font-weight:500}.field input,.field select,.field textarea{border:1px solid #dce0ea;border-radius:9px;padding:11px 12px;background:#fff;color:#27304a;outline:0;width:100%;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9382f1;box-shadow:0 0 0 3px #ece8ff}.field select{min-height:42px}.field-note{font-size:10px;color:#9ba2b2;margin-top:2px}.action-area{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:26px}.primary-button{display:inline-flex;gap:22px;justify-content:space-between;align-items:center;background:#6a59e6;color:#fff;border:0;border-radius:10px;padding:14px 20px;font-size:12px;font-weight:850;box-shadow:0 5px 16px #6754d92c;transition:background .2s}.primary-button:hover{background:#5543d3}.primary-button:disabled{background:#b7b2db;cursor:wait}.primary-button .arrow{font-size:17px}.helper-caption{color:#9ca3b2;font-size:10px}.workspace-aside{display:flex;flex-direction:column;gap:17px}.aside-card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:26px 21px}.aside-eyebrow{font-size:9px;letter-spacing:.15em;color:#7a68ea;font-weight:850}.aside-card h3{margin:6px 0 23px;font-size:17px}.aside-steps{display:flex;flex-direction:column;gap:21px}.aside-steps>div{display:flex;gap:11px}.aside-steps i{font-style:normal;font-size:11px;font-weight:850;color:#7668e6;background:#eeebff;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:0 0 28px}.aside-steps strong{font-size:11px;display:block}.aside-steps small{color:#9da3b1;font-size:10px;display:block;margin-top:2px;line-height:1.5}.aside-security{display:flex;gap:14px;border-radius:14px;background:#e8f7ee;border:1px solid #d5ecdf;padding:19px}.aside-security>span{font-size:29px;color:#45af7d}.aside-security strong{font-size:12px}.aside-security p{font-size:11px;color:#64977a;line-height:1.6;margin:6px 0 0}.aside-note{font-size:11px;line-height:1.7;color:#a0a6b4;padding:5px 10px}.result-box{text-align:center;padding:90px 20px}.result-illustration{background:#e6f9ed;color:#34b67c;border-radius:50%;width:83px;height:83px;margin:0 auto 18px;display:grid;place-items:center;font-size:40px}.result-box h2{margin:0 0 8px;font-size:25px;letter-spacing:-.05em}.result-box p{color:#8790a4;margin-bottom:25px}.download-button{min-width:240px;margin:auto}.again-button{display:block;border:0;background:transparent;color:#7564df;font-weight:800;font-size:12px;margin:20px auto 0}.error-banner{display:flex;align-items:start;gap:11px;background:#fff1f1;border:1px solid #f8d2d6;border-radius:10px;padding:13px;margin-top:22px;color:#aa5260;font-size:12px}.error-banner>span{background:#ffd9db;color:#be6372;border-radius:50%;font-size:11px;width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;font-weight:900}.error-banner>div{flex:1}.error-banner>button{background:none;border:0;font-size:19px;color:#af6370}
.ai-topic{margin-bottom:18px}.ai-text-block{border:1px solid #dfe2ed;border-radius:11px;overflow:hidden}.ai-label-row{padding:11px 14px;background:#fbfbfe;border-bottom:1px solid #ebedf5;display:flex;justify-content:space-between;font-size:11px;color:#717a8c}.ai-label-row label{font-weight:850;color:#4c566d}.ai-text-block textarea{resize:vertical;min-height:235px;width:100%;border:0;outline:0;padding:15px;font-size:13px;line-height:1.75;color:#28314b}.ai-text-block textarea::placeholder{color:#afb3c3}.ai-result{border:1px solid #dbdaf3;background:#fdfcff;border-radius:12px;padding:15px 20px 22px;margin-top:25px}.ai-result-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #e9e6f7;padding-bottom:13px;margin-bottom:14px}.ai-result-heading h3{font-size:14px;margin:0;color:#4d3bb1}.ai-result-heading>div{display:flex;gap:8px}.ai-result-heading button{font-size:10px;font-weight:750;background:#fff;border:1px solid #dcd9f2;border-radius:7px;padding:7px 10px;color:#6756c9}.result-text{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.85;color:#404760;max-height:720px;overflow:auto}.toast{position:fixed;right:22px;bottom:24px;background:#23223b;color:#fff;border-radius:11px;padding:11px 18px;font-size:12px;font-weight:700;z-index:100;box-shadow:0 12px 40px #17162c30;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}
@media (max-width:1190px){.nav{margin-left:10px;gap:17px}.hero{grid-template-columns:1fr 360px}.hero-art{transform:scale(.86);transform-origin:center left}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-actions{gap:12px}.privacy-tip{display:none}}@media(max-width:960px){.wrap{width:calc(100% - 44px)}.header-inner{height:73px}.nav{display:none;position:absolute;top:73px;left:0;right:0;background:#fff;padding:14px 30px 20px;flex-direction:column;align-items:start;box-shadow:0 12px 22px #1c1f3410}.nav.open{display:flex}.mobile-menu{display:block}.hero{display:block;min-height:0;padding-top:58px}.hero-content{max-width:760px}.hero-art{display:none}.workspace{grid-template-columns:1fr}.workspace-aside{display:grid;grid-template-columns:1fr 1fr}.aside-note{display:none}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-banner{grid-template-columns:48px 1fr}.feature-banner button{grid-column:2;justify-self:start}}@media(max-width:720px){.announcement{font-size:10px;line-height:1.4;min-height:36px}.wrap{width:calc(100% - 32px)}.header-inner{height:66px}.nav{top:66px}.logo-name{font-size:22px}.logo-tag{display:none}.header-button{display:none}.hero{padding-top:44px;padding-bottom:32px}.hero-eyebrow{font-size:9px;letter-spacing:.09em}.hero h1{font-size:40px;letter-spacing:-.06em}.hero-description{font-size:13px}.hero-search{gap:8px;padding:7px 7px 7px 12px;min-height:54px}.hero-search button{padding:10px}.hero-search kbd{display:none}.hero-search input{font-size:11px}.hero-points{gap:12px;font-size:10px}.section-heading{align-items:start;margin-top:0}.section-heading h2{font-size:24px}.catalog-counter{display:none}.content{padding-top:12px}.filter-toolbar{gap:12px}.category-chips{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.chip{padding:8px 10px;font-size:11px;white-space:nowrap}.tools-search{width:100%}.feature-banner{padding:18px;gap:12px;min-height:0}.feature-icon{width:37px;height:37px;font-size:24px}.feature-copy h3{font-size:15px}.feature-copy p{font-size:11px}.feature-banner button{font-size:10px;padding:11px 12px}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card{padding:14px;min-height:148px;gap:7px;flex-wrap:wrap}.tool-card-main{width:calc(100% - 47px)}.tool-icon{width:33px;height:33px;flex-basis:33px;font-size:18px}.tool-card-arrow{position:absolute;bottom:9px;right:13px;font-size:14px}.tool-card-title{font-size:12px}.tool-card-desc{font-size:10px;line-height:1.5}.bottom-benefits{grid-template-columns:1fr;gap:18px}.footer-links span{display:none}.footer-grid{min-height:105px}.footer-bottom{gap:5px;font-size:9px}.footer-bottom span:last-child{display:none}.tool-page{padding:21px 0 54px}.breadcrumbs{margin-bottom:18px}.tool-header-icon{width:51px;height:51px;border-radius:12px;font-size:27px;flex-basis:51px}.tool-header h1{font-size:25px}.tool-header p{font-size:11px}.workspace-main{padding:20px 17px}.workspace-aside{grid-template-columns:1fr}.aside-card{display:none}.aside-security{padding:13px}.dropzone{min-height:235px;padding:17px}.options-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.helper-caption{display:none}.action-area .primary-button{width:100%}.ai-text-block textarea{min-height:200px}.ai-result-heading{align-items:flex-start;flex-direction:column}.ai-result-heading>div{width:100%}}
@media(max-width:390px){.tool-card{min-height:173px}.tool-card-main{width:100%;padding-right:5px}.hero h1{font-size:35px}.hero-points{gap:8px}}

/* Vector icon system — self-hosted Lucide outlines, never font glyphs */
.icon-vector,
.ui-icon,
.search-icon,
.chip-icon,
.no-results-icon,
.logo-vector,
.title-icon,
.result-success-icon {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  stroke: currentColor;
}
.tool-icon .icon-vector { width: 23px; height: 23px; stroke-width: 1.85; }
.tool-header-icon .title-icon { width: 35px; height: 35px; stroke-width: 1.8; }
.tool-card-arrow { display: inline-flex; align-items: center; justify-content: center; }
.tool-card-arrow .icon-vector { width: 17px; height: 17px; stroke-width: 1.65; }
.logo-glyph .logo-vector { width: 23px; height: 23px; color: #fff; stroke-width: 2; }
.floating-image .ui-icon { width: 20px; height: 20px; }
.floating-ai .ui-icon { width: 21px; height: 21px; stroke-width: 2; }
.floating-ai > span { font-size: 12px; }
.floating-tick .ui-icon { width: 20px; height: 20px; stroke-width: 2.6; }
.feature-icon .ui-icon { width: 29px; height: 29px; stroke-width: 1.8; }
.chip-star { display: inline-flex; align-items: center; margin-right: 4px; }
.chip-star .chip-icon { width: 14px; height: 14px; }
.tools-search .search-icon { width: 18px; height: 18px; }
.no-results .no-results-icon { width: 46px; height: 46px; color: #a8adbd; }
.benefit-icon .ui-icon { width: 24px; height: 24px; stroke-width: 1.8; }
.result-illustration .result-success-icon { width: 47px; height: 47px; stroke-width: 1.7; }
@media (max-width: 720px) {
 .tool-icon .icon-vector { width: 20px; height: 20px; }
 .tool-header-icon .title-icon { width: 28px; height: 28px; }
}
.conversion-note{grid-column:1/-1;color:#727c91;background:#f8f8ff;border:1px solid #e9e7f8;border-radius:9px;padding:11px 14px;font-size:11px;line-height:1.7;margin:0}.conversion-note strong{color:#4e4793}
/* Live file processing progress — real upload bytes and conversion page events. */
.processing-panel {
  margin-top: 23px;
  padding: 19px 20px 18px;
  border-radius: 15px;
  border: 1px solid #dddaf8;
  background: linear-gradient(145deg,#faf9ff 0%,#f5f3ff 100%);
  box-shadow: 0 5px 22px rgba(102,83,215,.065);
}
.processing-heading { display:flex; align-items:center; gap:12px; }
.processing-spinner {
  display:block; width:33px; height:33px; flex:0 0 33px; border-radius:50%;
  border:3px solid #e0dcfb; border-top-color:#6c59e8; animation: filelo-spin 1s linear infinite;
}
.processing-heading-text {display:flex; flex-direction:column;gap:2px;flex:1;min-width:0;}
.processing-heading-text strong {font-size:13px;line-height:1.4;color:#30275d;font-weight:800;}
.processing-heading-text span {font-size:10.5px;color:#807aa9;line-height:1.5;}
.processing-percent {font-size:24px;font-weight:850;letter-spacing:-.05em;color:#6956df;min-width:50px;text-align:right;}
.processing-track {height:12px;background:#e3dff8;border-radius:999px;overflow:hidden;margin-top:17px;position:relative;}
.processing-fill {height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#7866f1,#6552df);transition:width .4s ease;position:relative;min-width:0;}
.processing-fill:after {
 content:"";position:absolute;inset:0;
 background:linear-gradient(100deg,transparent 15%,#fff6 50%,transparent 85%);
 width:70%;transform:translateX(-150%);animation:filelo-sheen 1.9s linear infinite;
}
.processing-track.indeterminate .processing-fill {
 width:37%!important;animation:filelo-move 2s ease-in-out infinite;
}
.processing-meta {display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:#7e789d;font-size:10.5px;}
.processing-meta span:last-child {font-variant-numeric:tabular-nums;color:#6758a5;font-weight:700;white-space:nowrap;}
.processing-stages {display:flex;gap:0;align-items:stretch;margin-top:17px;padding-top:13px;border-top:1px solid #e5e1f5;}
.progress-stage {flex:1;position:relative;padding-left:12px;font-size:10px;font-weight:650;color:#a09caf;line-height:1.45;}
.progress-stage:before {content:"";display:block;position:absolute;left:0;top:5px;width:6px;height:6px;border-radius:50%;background:#c6c1dc;}
.progress-stage.active {color:#6857dd;font-weight:800;}
.progress-stage.active:before {background:#7564eb;box-shadow:0 0 0 4px #e7e2ff;}
.progress-stage.completed {color:#4c9a76;}
.progress-stage.completed:before {background:#4cb788;}
.processing-hint {font-size:10.5px;color:#8b86a5;margin:13px 0 0;line-height:1.55;}
.processing-panel.is-ready .processing-spinner{animation:none;border-color:#42b983;background:#42b983;}
.processing-panel.is-ready .processing-percent {color:#329e72;}
.processing-panel.is-ready .processing-fill {background:#40b786;}
.processing-panel.is-ready .processing-fill:after{display:none;}
@keyframes filelo-spin{to{transform:rotate(360deg)}}
@keyframes filelo-sheen{to{transform:translateX(260%)}}
@keyframes filelo-move{
  0%{transform:translateX(-105%)}50%{transform:translateX(120%)}100%{transform:translateX(290%)}
}
@media(max-width:720px){
  .processing-panel{padding:15px 13px;margin-top:17px;}
  .processing-percent{font-size:20px;}
  .progress-stage{font-size:9px;padding-left:9px;}
  .progress-stage:before{width:5px;height:5px;top:5px;}
}
@media(prefers-reduced-motion:reduce){
  .processing-spinner,.processing-track.indeterminate .processing-fill,.processing-fill:after{animation:none!important;}
}

/* Passive, read-only file-inspector UI. */
.security-drop{min-height:240px;border:1.5px dashed #bcb7e7;border-radius:15px;background:#fafaff;padding:25px 22px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;
 cursor:pointer;transition:background .2s,border-color .2s;outline:none}
.security-drop.dragging,.security-drop:hover,.security-drop:focus-visible{background:#f0edff;border-color:#7e6ad8}
.security-upload-icon{width:62px;height:62px;border-radius:17px;background:#e9e5ff;color:#6b59df;display:grid;place-items:center;margin-bottom:8px}
.security-upload-icon svg{width:29px;height:29px}
.security-drop strong{font-size:14px;line-height:1.45;color:#2b2948}
.security-drop p{font-size:11.5px;color:#8991a4;margin:0;line-height:1.7;max-width:510px}
.security-drop button{margin-top:8px;padding:11px 21px;border-radius:9px}
.security-drop small{margin-top:7px;color:#a0a4b6;font-size:10px}
.security-selected{display:flex;align-items:center;gap:12px;margin-top:17px;padding:13px;border:1px solid #e2e2f1;background:#fafaff;border-radius:11px}
.security-selected>span{background:#eae8fc;color:#675cce;width:37px;height:37px;display:grid;place-items:center;border-radius:9px;font-size:21px;flex:0 0 37px}
.security-selected>div{flex:1;min-width:0}
.security-selected strong{font-size:12px;word-break:break-word;display:block}
.security-selected small{font-size:10px;color:#9ca1b2}
.security-selected button{border:0;background:transparent;color:#abaac0;font-size:23px}
.security-toolbar{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:22px}
.security-toolbar>span{font-size:10.5px;color:#9b9bab}
.security-toolbar button:disabled{opacity:.55;cursor:wait}
.security-progress{border:1px solid #dedaf8;border-radius:14px;padding:18px;margin-top:22px;background:#f8f6ff}
.security-progress-head{display:flex;align-items:center;gap:13px}
.security-progress-head>div{flex:1;min-width:0}
.security-progress-head strong{font-size:13px;display:block;color:#393064}
.security-progress-head p{font-size:11px;margin:2px 0 0;color:#8680aa}
.security-progress-head b{font-size:17px;font-weight:800;color:#7463df}
.security-progress .processing-track{margin:15px 0 9px}
.security-progress small{font-size:10px;color:#9d97b6}
.security-report{margin-top:29px;padding-top:19px;border-top:1px solid #e8e8f3}
.security-result-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}
.security-overline{font-size:9px;color:#7668dd;font-weight:850;letter-spacing:.14em}
.security-result-top h2{font-size:20px;letter-spacing:-.025em;word-break:break-word;margin:3px 0}
.security-result-top p{margin:3px 0;font-size:12px;color:#85899d}
.security-verdict{font-size:10.5px;font-weight:800;padding:8px 12px;border-radius:99px;white-space:normal;text-align:center;min-width:128px;max-width:220px}
.security-verdict.danger{background:#fff0f1;color:#af3d50;border:1px solid #f1c4cd}
.security-verdict.review{background:#fff5e2;color:#9e6b29;border:1px solid #f0ddae}
.security-verdict.neutral{background:#f0eefb;color:#6e6599;border:1px solid #dedaf2}
.security-verdict.caution{background:#edf8ee;color:#397b55;border:1px solid #cce5d2}
.security-warning-list{display:grid;gap:8px;margin-bottom:19px}
.sec-warning{display:flex;gap:9px;flex-wrap:wrap;align-items:baseline;padding:9px 11px;border-radius:9px;border:1px solid #e6e5ef;font-size:11px}
.sec-warning strong{font-weight:800;white-space:nowrap}
.sec-warning small{font-size:10px;color:#888da0;overflow-wrap:anywhere;flex-basis:100%}
.sec-warning.danger{background:#fff4f5;color:#ae5162;border-color:#f5dadd}
.sec-warning.review{background:#fff8eb;color:#93713a;border-color:#eee1c4}
.sec-warning.neutral{background:#f6f6fd;color:#737792}
.security-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.security-detail-grid>div{min-width:0;border:1px solid #e8eaf3;border-radius:10px;padding:12px 14px;background:#fcfcff}
.security-detail-grid span{display:block;font-size:10px;color:#989caf;margin-bottom:6px}
.security-detail-grid strong{font-size:12px;line-height:1.45;color:#31384b;word-break:break-word}
.security-hash{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.security-hash span{flex-basis:100%;margin:0}
.security-hash code{font:10px/1.65 monospace;color:#77759b;overflow-wrap:anywhere;flex:1}
.security-hash button,.security-section-heading button{font-size:10px;font-weight:750;background:#fff;border:1px solid #dfe0ec;border-radius:7px;padding:7px 10px;color:#7160d8}
.security-av{padding:15px 17px;border-radius:12px;background:#f8f9fc;border:1px solid #e6e9f1;margin:18px 0}
.security-av-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}
.security-av-heading span{font-weight:850;color:#34354e}
.security-av-heading strong{color:#7566c3;font-size:11px}
.security-av p{font-size:11px;color:#7e8598;margin:7px 0 0;line-height:1.7}
.security-signature{border-left:2px solid #d76c78;color:#99415b;font-size:11px;padding:6px 9px;margin-top:8px;background:#fff7f8;overflow-wrap:anywhere}
.security-archive,.security-preview-section{margin:25px 0 0}
.security-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:12px}
.security-section-heading h3{font-size:16px;letter-spacing:-.025em;margin:0 0 3px}
.security-section-heading h3 span{font-size:12px;color:#9488c5}
.security-section-heading p{font-size:10.5px;color:#9a9eaf;margin:0}
.security-section-heading input{width:190px;min-width:0;border:1px solid #dddfe9;border-radius:8px;padding:8px 11px;font-size:11px;outline:0}
.security-file-table{border:1px solid #e5e7f0;border-radius:11px;overflow:auto;max-height:420px;background:#fff}
.sec-member{display:flex;align-items:center;gap:11px;border-bottom:1px solid #f0f1f6;padding:11px 12px;min-height:55px}
.sec-member:last-child{border-bottom:0}
.sec-member:hover{background:#fafafe}
.sec-member.is-risk{background:#fffbf4}
.sec-member-icon{width:29px;height:29px;border-radius:7px;background:#f0effb;color:#7b6dcc;flex:0 0 29px;display:grid;place-items:center;font-size:16px}
.sec-member-info{flex:1;min-width:0}
.sec-member-info strong{display:block;font-size:11.5px;color:#40465a;overflow-wrap:anywhere;font-weight:720}
.sec-member-info small{display:block;font-size:10px;color:#a0a2ad}
.sec-member-open{border:1px solid #d9d6f3;background:#f7f5ff;color:#6554cf;font-size:10px;font-weight:800;border-radius:7px;padding:7px 11px}
.sec-member-open:hover{background:#ebe7ff}
.sec-member-blocked{font-size:10px;color:#a0a6b0;white-space:nowrap}
.security-preview{min-height:105px;border:1px solid #e3e5f0;border-radius:12px;background:#fbfcff;padding:18px;overflow:auto;max-height:850px}
.security-preview p{color:#818b9b;font-size:12px;line-height:1.75;margin:0}
.security-preview-image{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:6px;box-shadow:0 5px 17px #25253715}
.security-preview-text{white-space:pre-wrap;word-break:break-word;color:#343b54;line-height:1.65;font-size:12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;margin:0}
.security-preview-text.hex{font-size:11px;white-space:pre;overflow:auto}
.security-note{font-size:10.5px;color:#9399aa;line-height:1.65;margin-top:9px}
.security-disclaimer{font-size:10.5px;color:#8c90a1;line-height:1.75;padding:13px 14px;background:#f8f8fd;border:1px solid #eaebf3;border-radius:9px;margin:23px 0}
.security-report .again-button{margin-left:0}
@media(max-width:720px){
 .security-result-top{align-items:start;flex-direction:column;gap:9px}
 .security-verdict{max-width:100%}
 .security-detail-grid{grid-template-columns:1fr}
 .security-hash{grid-column:auto}
 .security-section-heading{align-items:start;flex-direction:column}
 .security-section-heading input{width:100%}
 .security-toolbar .primary-button{width:100%}
 .sec-member{gap:7px;padding:10px 8px}
 .sec-member-icon{width:24px;height:24px;flex-basis:24px;font-size:13px}
 .sec-member-blocked{font-size:9px}
 .sec-member-open{font-size:9px;padding:6px 8px}
 .security-report h2{font-size:18px}
}

.repair-summary{
  max-width:560px;
  margin:13px auto 21px;
  text-align:left;
  background:#f7f6ff;
  border:1px solid #e2dff8;
  border-radius:12px;
  padding:15px 17px;
}
.repair-summary strong{display:block;color:#4c3d96;font-size:13px;line-height:1.5}
.repair-summary p{margin:6px 0 0;color:#777a91;font-size:11px;line-height:1.7}

/* PDF page editor */
.pdf-editor-workspace{min-width:0}
.pdf-editor-drop{min-height:255px}
.editor-privacy-note{color:#8b91a5;font-size:11px;margin:14px 0 0;line-height:1.7}
.pdf-editor-topbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:13px;padding:14px;border:1px solid #e7e8f1;background:#fbfbfe;border-radius:12px}
.pdf-editor-topbar button,.pdf-editor-topbar select{border:1px solid #dcdfee;background:#fff;color:#555c75;font-size:11px;font-weight:700;border-radius:8px;padding:8px 11px;cursor:pointer;min-height:34px}
.pdf-editor-topbar button:hover:not(:disabled){background:#f3f0ff;border-color:#a99df1;color:#6047db}
.pdf-editor-topbar button:disabled{opacity:.38;cursor:not-allowed}
.pdf-editor-page-controls{display:flex;align-items:center;gap:11px}
.pdf-editor-page-controls button{width:35px;font-size:21px;padding:0;line-height:30px}
.pdf-editor-page-controls strong{font-size:12px;min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
.pdf-editor-view-controls{display:flex;align-items:center;gap:7px}
.pdf-editor-view-controls label{font-size:11px;color:#8991a2}
.pdf-editor-topbar .pdf-editor-save{display:inline-flex;align-items:center;justify-content:center;background:#705fe7;color:#fff;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:800;min-height:35px}
.pdf-editor-topbar .pdf-editor-save:hover{background:#5745d6}
.pdf-editor-document-caption{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:13px 4px;color:#8a8fa1;font-size:11px}
.pdf-editor-document-caption span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750;color:#494967;max-width:65%}
.pdf-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:18px}
.pdf-editor-canvas-column{min-width:0}
.pdf-editor-modebar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 9px}
.pdf-editor-modebar button{border:1px solid #dfe1ed;background:#fff;color:#737d91;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:800}
.pdf-editor-modebar button.selected{background:#edeaff;color:#6552d7;border-color:#cdc6f7}
.pdf-editor-modebar span{font-size:10px;color:#9ba1b2;margin-left:auto}
.pdf-editor-stage{background:#f0f1f7;border:1px solid #e0e2ed;border-radius:13px;overflow:auto;max-height:76vh;min-height:360px;padding:24px;display:flex;align-items:flex-start;justify-content:center}
.pdf-editor-paper{position:relative;isolation:isolate;background:#fff;box-shadow:0 8px 25px #28294c2b;flex-shrink:0;max-width:100%;overflow:hidden}
.pdf-editor-paper img{display:block;width:100%;height:auto;user-select:none;pointer-events:none}
.pdf-editor-text-layer,.pdf-editor-drag-layer{position:absolute;inset:0}
.pdf-editor-text-layer{z-index:2;pointer-events:none}
.pdf-editor-hit{position:absolute;pointer-events:auto;cursor:text;border:1px solid transparent;padding:0;margin:0;background:transparent;border-radius:2px}
.pdf-editor-hit:hover,.pdf-editor-hit:focus-visible{background:#7d6af026;border-color:#8472f4;outline:0}
.pdf-editor-drag-layer{z-index:3;pointer-events:none;touch-action:none}
.pdf-editor-drag-layer.active{pointer-events:auto;cursor:crosshair}
.pdf-editor-selection{z-index:4;position:absolute;border:2px solid #7657e8;background:#9b83f725;pointer-events:none;box-shadow:0 0 0 1px #ffffff8a}
.pdf-editor-stage-note{font-size:11px;line-height:1.65;color:#9095a9;margin:10px 0 0}
.pdf-editor-controls{align-self:start;border:1px solid #e4e5ef;background:#fcfcff;border-radius:13px;padding:20px 17px;display:grid;gap:13px}
.pdf-editor-panel-title{font-size:16px;font-weight:800;color:#292948;letter-spacing:-.025em}
.pdf-editor-panel-desc{font-size:11px;color:#9598aa;line-height:1.7;margin:-5px 0 0}
.pdf-editor-selected-info{border-radius:10px;background:#f2f0ff;padding:12px;border:1px solid #e6e1fb}
.pdf-editor-selected-info span{display:block;font-size:10px;font-weight:700;color:#9487c1}
.pdf-editor-selected-info strong{display:block;font-size:12px;margin:3px 0;color:#5141af;word-break:break-word}
.pdf-editor-selected-info small{display:block;font-size:10px;color:#7e78a4;line-height:1.5}
.pdf-editor-controls .field{gap:5px}
.pdf-editor-controls .field textarea{min-height:91px;max-height:250px;resize:vertical;line-height:1.65}
.pdf-editor-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pdf-editor-control-grid .field input[type=color]{padding:3px 5px;height:42px;cursor:pointer}
.pdf-editor-control-grid select{font-size:11px;max-width:100%;height:43px;padding:9px 7px}
.pdf-editor-autofit{display:flex;gap:9px;align-items:flex-start;cursor:pointer;color:#73798e;font-size:11px;line-height:1.55}
.pdf-editor-autofit input{accent-color:#705fe7;flex-shrink:0;margin:2px 0 0}
.pdf-editor-controls .primary-button{width:100%;text-align:left}
.pdf-editor-controls .primary-button:disabled{background:#b9b3dc;box-shadow:none;cursor:not-allowed}
.pdf-editor-feedback{font-size:11px;line-height:1.65;margin:0}
.pdf-editor-feedback.error{color:#b34b62}
.pdf-editor-feedback.success{color:#2c976d}
.pdf-editor-feedback.info{color:#7262ba}
.pdf-editor-honesty{padding:11px 12px;background:#f6f5fb;border-radius:9px;font-size:10.5px;line-height:1.7;color:#8d8fa3;margin:0}
.pdf-editor-link{justify-self:start;border:0;background:transparent;color:#6956db;font-weight:750;font-size:11px;cursor:pointer;padding:3px 0}
.pdf-editor-link:hover{text-decoration:underline}
@media(max-width:1120px){.pdf-editor-layout{grid-template-columns:minmax(0,1fr)}.pdf-editor-controls{max-width:none;grid-template-columns:1fr 1fr;align-items:start}.pdf-editor-controls .pdf-editor-panel-title,.pdf-editor-controls .pdf-editor-panel-desc,.pdf-editor-controls .pdf-editor-selected-info,.pdf-editor-controls .pdf-editor-control-grid,.pdf-editor-controls .pdf-editor-honesty,.pdf-editor-controls .pdf-editor-link{grid-column:1/-1}.pdf-editor-controls .primary-button{align-self:end}}
@media(max-width:720px){.pdf-editor-stage{padding:12px;min-height:300px;max-height:65vh}.pdf-editor-layout{gap:12px}.pdf-editor-topbar{gap:9px;padding:10px}.pdf-editor-modebar span{display:none}.pdf-editor-topbar .pdf-editor-save{width:100%}.pdf-editor-controls{display:flex;flex-direction:column}.pdf-editor-controls>*{width:100%}.pdf-editor-control-grid{grid-template-columns:1fr 1fr}.pdf-editor-page-controls strong{font-size:11px}}

/* Make the visual editor full-width instead of squeezing it into file converter column. */
.tool-page.pdf-editor-route .workspace{grid-template-columns:minmax(0,1fr)}
.tool-page.pdf-editor-route .workspace-aside{display:none}
@media(min-width:1121px){.tool-page.pdf-editor-route .pdf-editor-layout{grid-template-columns:minmax(0,1fr) 305px}}

/* Shared local previews: all selected files, PDF pages, and image output. */
.fp-section,.fp-reorder-panel,.fp-output-section{
  margin-top:19px;padding:18px 19px;background:#fbfbff;
  border:1px solid #e1e2f0;border-radius:15px;text-align:left;
}
.fp-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:12px;}
.fp-heading h3{font-size:14px;line-height:1.35;letter-spacing:-.02em;margin:0;color:#30314a;font-weight:850;}
.fp-heading p{font-size:10.5px;color:#9699ac;margin:4px 0 0;line-height:1.65;}
.fp-heading>span{font-size:10.5px;font-weight:800;color:#7767d9;white-space:nowrap;}
.fp-file-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
  gap:10px;max-height:390px;overflow-y:auto;padding:2px 2px 5px;
}
.fp-file-card{
  display:flex;flex-direction:column;gap:7px;padding:9px;
  border:1px solid #e2e4ed;border-radius:11px;background:#fff;
  text-align:left;min-width:0;transition:border-color .18s,box-shadow .18s;cursor:pointer;
}
.fp-file-card:hover,.fp-file-card.selected{border-color:#a79ae8;box-shadow:0 3px 13px #7665d618;}
.fp-file-card.selected{background:#f7f5ff}
.fp-file-card.fp-loading{opacity:.6}
.fp-file-art{
  min-height:96px;height:115px;display:flex;align-items:center;justify-content:center;
  background:#f4f5fa;border-radius:8px;overflow:hidden;color:#9fa4b6;
  font-size:10px;text-align:center;
}
.fp-file-art img,.fp-file-art canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto;}
.fp-type-glyph{display:grid;place-items:center;width:50px;height:50px;border-radius:13px;background:#eae7fd;font-size:26px;color:#7764e7;}
.fp-file-card-desc{display:grid;gap:2px;min-width:0}
.fp-file-card-desc strong{font-weight:800;color:#373e57;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere;}
.fp-file-card-desc small{font-size:9.5px;color:#999eaf;line-height:1.5}
.fp-main{margin-top:12px;background:#fff;border:1px solid #e4e6ef;border-radius:11px;overflow:hidden;}
.fp-main-head{padding:10px 13px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #eceef5;}
.fp-main-head>strong{flex:1;font-size:11.5px;color:#42445d;overflow-wrap:anywhere;min-width:90px}
.fp-main-head>button,.fp-pager button,.fp-light-button{
 background:#fff;border:1px solid #dedfe9;color:#6e63ca;
 padding:6px 9px;border-radius:7px;font-size:10px;font-weight:760;cursor:pointer;
}
.fp-main-head>button:hover,.fp-pager button:hover,.fp-light-button:hover{background:#f0ecff}
.fp-pager{display:flex;align-items:center;gap:6px}
.fp-pager button{font-size:17px;padding:0;width:27px;height:27px}
.fp-pager button:disabled{opacity:.35;cursor:default}
.fp-pager span{min-width:48px;text-align:center;color:#7e8097;font-size:10px;font-variant-numeric:tabular-nums}
.fp-view{
  max-height:640px;overflow:auto;display:flex;align-items:flex-start;justify-content:center;
  padding:16px;background:#f4f5f9;min-height:135px;
}
.fp-view canvas,.fp-view .fp-big-image{
 max-width:100%;height:auto;object-fit:contain;display:block;
 box-shadow:0 5px 20px #2a2c3c18;background:#fff;
}
.fp-view .fp-big-image{max-height:590px}
.fp-view .fp-text-display{
 width:100%;max-height:550px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;
 font:11.5px/1.8 ui-monospace,Consolas,monospace;color:#414860;
 margin:0;background:#fff;border-radius:8px;padding:13px;text-align:left;
}
.fp-empty{font-size:11px;color:#8d93a5;line-height:1.5;padding:10px;margin:auto;text-align:center}
.fp-main-note{font-size:10px;color:#9ba0af;margin:0;padding:10px 13px;border-top:1px solid #eff0f5;line-height:1.6}
.fp-reorder-panel{padding:20px 18px;border-color:#dcd6f4;background:#faf8ff;}
.fp-reorder-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px;max-height:620px;overflow-y:auto;align-content:start;padding:4px;
}
.fp-reorder-card{
  background:#fff;border:1px solid #e0ddee;border-radius:12px;
  box-shadow:0 2px 8px #4235750a;display:flex;flex-direction:column;
  padding:10px;gap:8px;min-width:0;cursor:grab;
  transition:border-color .15s,transform .15s,box-shadow .15s;
}
.fp-reorder-card:active{cursor:grabbing}
.fp-reorder-card:hover{border-color:#9282e8;box-shadow:0 7px 15px #6d5ae719;}
.fp-reorder-card.dragging{opacity:.48}
.fp-reorder-card.drag-target{border-color:#7655e9;box-shadow:0 0 0 2px #a193f9;}
.fp-reorder-art{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:172px;background:#f1f1fa;
  border:1px solid #ebeaf6;border-radius:7px;overflow:hidden;font-size:10px;color:#9995b0;
}
.fp-reorder-art img,.fp-reorder-art canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;}
.fp-reorder-title{display:flex;align-items:baseline;justify-content:space-between;gap:6px;}
.fp-reorder-title strong{font-size:11px;color:#423a75}
.fp-reorder-title small{font-size:10px;color:#9699b1}
.fp-reorder-controls{display:flex;justify-content:space-between;align-items:center;gap:7px;}
.fp-reorder-controls .fp-arrow{
  flex:0 0 29px;border:1px solid #dcd9f0;border-radius:7px;
  font-size:15px;background:#f8f6ff;color:#7867dd;height:31px;cursor:pointer;
}
.fp-reorder-controls .fp-arrow:disabled{opacity:.35;cursor:default}
.fp-reorder-controls .fp-arrow:not(:disabled):hover{background:#e7e1ff}
.fp-reorder-controls .fp-position{
  flex:1;min-width:0;border:1px solid #ddddec;border-radius:7px;
  padding:5px 4px;height:31px;text-align:center;font-size:12px;font-weight:800;color:#4a416b;
}
.fp-reorder-message{color:#8176ba;font-size:10.5px;line-height:1.6;margin:11px 2px 0;}
.fp-reorder-message.fp-invalid{color:#ac5868}
.fp-output-section{margin:22px auto 23px;max-width:930px;background:#fdfdff;}
.fp-output-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:13px;max-height:720px;overflow-y:auto;padding:3px;
}
.fp-output-card{padding:13px;border:1px solid #e3e3ef;border-radius:12px;background:#fff;min-width:0;}
.fp-output-name{font-size:11px;color:#40435d;font-weight:850;margin-bottom:10px;overflow-wrap:anywhere}
.fp-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fp-compare-pane{text-align:center;min-width:0;display:flex;flex-direction:column;gap:4px;}
.fp-compare-pane>strong{font-size:10px;color:#7866d4}
.fp-compare-art{
  height:150px;background:#f4f5fa;border-radius:8px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.fp-compare-art img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.fp-compare-pane>small{font-size:9px;color:#8f96a6;overflow-wrap:anywhere;line-height:1.5;min-height:27px}
.fp-loading-note{font-size:10px;color:#a0a3b5}
@media(max-width:720px){
 .fp-section,.fp-reorder-panel,.fp-output-section{padding:13px 10px;border-radius:12px}
 .fp-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fp-file-art{height:100px;min-height:100px}
 .fp-reorder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .fp-reorder-art{height:135px}
 .fp-reorder-card{padding:7px}
 .fp-reorder-title{flex-direction:column;gap:2px}
 .fp-main-head{gap:6px}
 .fp-main-head>strong{flex-basis:100%}
 .fp-output-grid{grid-template-columns:1fr}
}

/* Native-looking recognizable document/file-format pictograms. MIT material
   icons + self-hosted original SVG badges for special extensions. */
.tool-icon.has-format-icon,.tool-header-icon.has-format-icon {
  background:transparent!important;
  border:none;
  box-shadow:none;
  color:inherit;
  padding:0;
}
.tool-icon.has-format-icon { flex:0 0 43px;width:43px;height:43px; }
.tool-header-icon.has-format-icon { width:69px;height:69px; }
.format-icon-single,.format-icon-pair {
  display:block;position:relative;width:100%;height:100%;isolation:isolate;
}
.format-icon-single{display:grid;place-items:center}
.format-svg { display:block;object-fit:contain;max-width:100%;max-height:100%; }
.format-icon-single .format-svg { width:38px;height:38px;filter:drop-shadow(0 2px 3px #161b3416); }
.format-icon-pair .format-svg {
  position:absolute;width:29px;height:29px;
  filter:drop-shadow(0 2px 3px #17183021);
  background:transparent;
}
.format-icon-pair .format-source { left:0;top:0;z-index:1 }
.format-icon-pair .format-target { right:0;bottom:0;z-index:3 }
.format-direction {
  display:grid;place-items:center;position:absolute;z-index:4;
  top:14px;left:15px;width:14px;height:14px;
  border-radius:50%;font:700 15px/1 Arial,sans-serif;
  color:#6655d7;background:#fff;box-shadow:0 1px 4px #312c5729;
}
.tool-header-icon .format-icon-single .format-svg {width:61px;height:61px}
.tool-header-icon .format-icon-pair .format-svg {width:49px;height:49px}
.tool-header-icon .format-icon-pair .format-source {top:0;left:0}
.tool-header-icon .format-icon-pair .format-target {bottom:0;right:0}
.tool-header-icon .format-direction {
  top:27px;left:28px;width:19px;height:19px;font-size:19px;
}
.file-item .filetype {
  flex:0 0 39px;min-width:39px;width:39px;height:39px;
  background:transparent;color:inherit;
  border-radius:0;padding:0;
  display:grid;place-items:center;
}
.filetype .format-svg { width:35px;height:35px; }
.format-select-with-icon {
  display:flex;align-items:center;gap:9px;
  border:1px solid #dce0ea;border-radius:10px;
  background:#fff;padding:3px 9px 3px 7px;
  transition:border-color .15s,box-shadow .15s;
  min-width:0;
}
.format-select-with-icon:focus-within {
  border-color:#9382f1;box-shadow:0 0 0 3px #ece8ff;
}
.format-choice-image {width:31px;height:31px;object-fit:contain;flex:0 0 31px;}
.format-select-control {display:block;flex:1;min-width:0;}
.format-select-control select {
  width:100%;min-width:0;border:0!important;outline:0;
  box-shadow:none!important;padding:9px 24px 9px 3px;
  color:#27304a;background:transparent;
}
.result-format-line {
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin:6px auto 24px;max-width:92%;
}
.result-format-line #resultFormatIcon {
  width:38px;height:38px;object-fit:contain;flex:0 0 38px;
}
.result-format-line #resultDetails {
  margin:0;min-width:0;overflow-wrap:anywhere;text-align:left;
  font-size:12px;line-height:1.55;
}
.download-button {
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
}
.download-inline-format {width:24px;height:24px;object-fit:contain;flex:0 0 24px;}
.download-button>span:last-child {margin-left:auto;}
.fp-file-name-row {display:flex;align-items:center;gap:7px;min-width:0;}
.fp-file-name-row .fp-file-name-icon {
  width:21px;height:21px;object-fit:contain;flex:0 0 21px;
}
.fp-file-name-row strong {min-width:0;overflow-wrap:anywhere;}
.fp-file-art .fp-art-format-icon {width:55px;height:55px;object-fit:contain;}
.fp-output-name {display:flex;align-items:center;gap:7px;min-width:0;}
.fp-output-name .fp-output-format-icon {
  width:23px;height:23px;object-fit:contain;flex:0 0 23px;
}
.fp-output-name span {min-width:0;overflow-wrap:anywhere;}
.fp-reorder-format-label {display:inline-flex;align-items:center;gap:4px;}
.fp-reorder-format-label img {width:15px;height:15px;object-fit:contain;}
#secFileIcon {background:transparent;}
#secFileIcon .security-selected-format {width:36px;height:36px;object-fit:contain;}
.sec-member-icon {background:transparent;}
.sec-member-icon .security-member-format {width:26px;height:26px;object-fit:contain;}
.pdf-editor-document-caption #pdfEditorFileName {
  display:inline-flex;align-items:center;gap:7px;
}
.pdf-editor-filename-icon {width:22px;height:22px;object-fit:contain;flex:0 0 22px;}
@media(max-width:720px){
  .tool-icon.has-format-icon{width:34px;height:34px;flex-basis:34px}
  .tool-icon .format-icon-single .format-svg{width:32px;height:32px}
  .tool-icon .format-icon-pair .format-svg{width:24px;height:24px}
  .tool-icon .format-direction{top:10px;left:12px;width:12px;height:12px;font-size:12px}
  .tool-header-icon .format-icon-single .format-svg{width:49px;height:49px}
  .tool-header-icon .format-icon-pair .format-svg{width:37px;height:37px}
  .tool-header-icon .format-direction{left:19px;top:19px;width:15px;height:15px;font-size:14px}
  .file-item .filetype{width:32px;height:34px;min-width:32px;flex-basis:32px}
  .filetype .format-svg{width:30px;height:30px}
  .result-format-line{max-width:100%;gap:7px}
}

/* Quick output-format palette (keeps the native <select> accessible). */
.format-tiles {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;min-width:0;margin-top:3px;
}
.format-tile {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;min-width:0;padding:8px 3px 7px;
  border-radius:9px;border:1px solid #e2e4ed;background:#fff;
  color:#6a7089;font-size:10px;font-weight:800;line-height:1.3;
  transition:background .14s,border-color .14s,box-shadow .14s;
}
.format-tile img{width:27px;height:27px;display:block;object-fit:contain}
.format-tile:hover{background:#f8f6ff;border-color:#c5bdf3}
.format-tile.selected {
  background:#f3f0ff;border-color:#8875e9;color:#5144aa;
  box-shadow:0 0 0 1px #9a8af033 inset;
}
.format-tile:focus-visible{outline:3px solid #c1b9fe;outline-offset:1px}
@media(max-width:720px){
  .format-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  .format-tile{padding:7px 2px;font-size:9px}
  .format-tile img{height:25px;width:25px}
}

/* Dedicated Word, Excel and PowerPoint filters use recognizable format icons. */
.category-chips .chip-office {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  white-space:nowrap;
}
.category-chips .chip-office img {
  width:19px;
  height:19px;
  flex:0 0 19px;
  object-fit:contain;
}
.category-chips .chip-office.selected {
  background:#29283d;
  border-color:#29283d;
}
.category-chips .chip-office:focus-visible {
  outline:2px solid #8374e9;
  outline-offset:2px;
}
@media(max-width:720px) {
  .category-chips {
    scrollbar-width:thin;
    scrollbar-color:#d3cdef transparent;
    scroll-padding-inline:8px;
  }
  .category-chips .chip-office {
    gap:5px;
  }
  .category-chips .chip-office img {
    width:16px;
    height:16px;
    flex-basis:16px;
  }
}

/* AI text length in A4 equivalents, optional exact character target. */
.ai-volume-field .ai-custom-length {
  margin-top:7px;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:11px 12px 12px;
  background:#f7f5ff;
  border:1px solid #e6e1fc;
  border-radius:10px;
}
.ai-volume-field .ai-custom-length[hidden] {display:none!important;}
.ai-volume-field .ai-custom-length label{color:#6555bc;font-size:10px}
.ai-volume-field .ai-custom-length input {
  height:41px;font-weight:780;font-size:15px;color:#463597;
  background:#fff;
}
.ai-length-hint {
  font-size:10.5px;
  line-height:1.6;
  color:#8589a1;
  padding:3px 2px 0;
}
.ai-volume-field select {line-height:1.5}
.ai-progress-panel {
  margin-top:22px;
  padding:19px 20px;
  border:1px solid #dfdcf7;
  background:linear-gradient(140deg,#faf9ff,#f7f6ff);
  border-radius:14px;
}
.ai-progress-heading{display:flex;gap:12px;align-items:center}
.ai-progress-heading>div{flex:1;min-width:0}
.ai-progress-heading strong{font-size:13px;color:#4d3d9e;display:block}
.ai-progress-heading p{font-size:11px;color:#8580a7;margin:4px 0 0;line-height:1.5}
.ai-progress-percent{font-size:21px;color:#6e5ae1;font-weight:850;min-width:49px;text-align:right}
.ai-progress-panel .processing-track{margin:14px 0 9px}
.ai-progress-count{font-size:11px;font-weight:750;color:#8175be}
.ai-cancel{
  margin-top:12px;border:0;background:transparent;
  color:#8776bb;font-size:10.5px;font-weight:800;padding:6px 0;
  cursor:pointer;
}
.ai-cancel:hover{text-decoration:underline;color:#6145bb}
.ai-result-stats{
  font-size:11.5px;line-height:1.6;font-weight:750;
  margin-bottom:12px;padding:10px 13px;background:#f2efff;
  color:#6754b0;border-radius:9px;
}
@media(max-width:720px){
  .ai-progress-panel{padding:15px}
  .ai-progress-percent{font-size:18px}
}

/* DeepSeek only, no confusing model picker. */
.ai-fixed-model{display:flex;align-items:center;gap:11px;padding:10px 12px;
 border-radius:10px;border:1px solid #dfddf7;background:#f7f5ff;min-height:43px;}
.ai-fixed-model>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;
 border-radius:9px;background:#e5dfff;color:#6d51d2;font-size:20px;}
.ai-fixed-model strong{font-size:12px;color:#3e3480;display:block;font-weight:850}
.ai-fixed-model small{font-size:10px;color:#8581ae;display:block;margin-top:2px}

.format-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#f6f6fb;
 border:1px solid #e9e8f2;padding:5px;border-radius:11px;margin-bottom:17px;}
.format-switch button{border:1px solid transparent;border-radius:8px;padding:11px 12px;
 color:#777b91;background:transparent;font-size:11.5px;font-weight:850;cursor:pointer;}
.format-switch button.selected{background:#fff;border-color:#dedaf4;
 color:#6254c4;box-shadow:0 3px 10px #4b427d16}
.format-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-height:220px;border:1.5px dashed #c6beeb;background:#faf9ff;
 border-radius:14px;padding:20px;text-align:center;gap:9px;cursor:pointer;}
.format-drop.dragging,.format-drop:hover{background:#f2efff;border-color:#8e7cdf;}
.format-drop img{width:54px;height:54px;object-fit:contain}
.format-drop strong{font-size:13.5px;font-weight:850;color:#292841}
.format-drop p{font-size:11px;color:#9599a9;max-width:370px;margin:0;line-height:1.55}
.format-drop .select-files{margin-top:6px;font-size:11px}
.format-selected{display:flex;align-items:center;gap:10px;margin-top:13px;
 background:#fafaff;border:1px solid #e6e5f1;border-radius:10px;padding:10px 11px;}
.format-selected img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.format-selected span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:11.5px;font-weight:770;color:#36394e}
.format-selected button{border:0;color:#b3a9ba;background:transparent;font-size:21px;cursor:pointer}
#formatPaste{min-height:260px;resize:vertical;font-size:12.5px;line-height:1.8;color:#364057}
.format-source-meta{text-align:right;color:#999aaa;font-size:10.5px;padding-top:5px}
.format-rules{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.format-rules>div{display:flex;align-items:center;gap:7px;padding:8px 10px;
 border:1px solid #e7e6f2;border-radius:8px;background:#fcfcff;
 font-size:10.5px;font-weight:720;color:#636b80}
.format-rule-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;
 color:#725dd4;background:#eeeaff;font-size:12px;font-weight:900;}
.format-guarantee{font-size:11px;color:#868c9d;line-height:1.7;
 border:1px solid #e2e6f2;background:#f8f9ff;border-radius:10px;padding:12px 14px;margin:15px 0}
.format-guarantee strong{color:#53469b}
.format-progress{border:1px solid #e1def8;background:#f8f6ff;
 border-radius:13px;padding:16px 18px;margin-top:20px}
.format-progress-head{display:flex;gap:12px;align-items:center}
.format-progress-head>div{flex:1;min-width:0}
.format-progress-head strong{font-size:12px;color:#4a3c98}
.format-progress-head p{margin:3px 0;font-size:10.5px;color:#827ca5;line-height:1.5}
.format-progress-head>span:last-child{font-size:18px;font-weight:850;color:#7059d7}
.format-progress .processing-track{margin-top:14px}
.format-result{margin-top:25px;border-top:1px solid #e6e5f2;padding-top:20px}
.format-result-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.format-result-head strong{font-size:16px;font-weight:850;color:#292942}
.format-result-head p{font-size:11px;color:#85899b;margin:4px 0;line-height:1.6}
.format-result-head .primary-button{font-size:11px;justify-content:center;min-width:145px;text-align:center}
.format-preview-head{display:flex;align-items:center;justify-content:space-between;
 gap:9px;font-size:12px;color:#4a4961;font-weight:850;margin:24px 0 10px}
.format-preview-head span{font-size:10px;color:#9592aa;font-weight:550}
.format-preview{background:#fff;border:1px solid #e3e5ee;
 border-radius:11px;max-height:620px;overflow-y:auto;padding:28px 26px;
 box-shadow:0 6px 22px #3f435010}
.format-preview>*{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 13px}
.format-preview h1{font-size:22px;line-height:1.4;margin:4px 0 20px;color:#28283b;text-align:center}
.format-preview h2{font-size:18px;line-height:1.5;margin:22px 0 9px;color:#34384e}
.format-preview h3{font-size:15px;line-height:1.5;margin:18px 0 8px;color:#333950}
.format-preview h4{font-size:13px;line-height:1.5;margin:14px 0 7px;color:#3d465b}
.format-preview p,.format-preview blockquote{font-size:12px;color:#40485e;line-height:1.85}
.format-preview .format-preview-lead{font-size:13px;color:#535e79;font-weight:550}
.format-preview blockquote{border-left:3px solid #ada5e7;padding:9px 13px;background:#faf9ff}
.format-preview .format-preview-table{font-size:10px;background:#f4f5fa;border-radius:4px;padding:5px}
.format-preview .format-preview-empty{min-height:5px;margin:0}
.format-preview-note{font-size:10px;color:#9ba0ad;line-height:1.7;margin-top:9px}
@media(max-width:720px){
 .format-drop{min-height:195px}
 .format-preview{padding:16px 13px}
 .format-result-head .primary-button{width:100%}
 .format-rules{gap:6px}
 .format-rules>div{padding:7px;font-size:10px}
}

/* Filelo audio/video converter */
.category-chips [data-category="audio"],.category-chips [data-category="video"]{
  display:inline-flex;align-items:center;gap:7px;
}
.category-chips [data-category="audio"] .chip-icon,
.category-chips [data-category="video"] .chip-icon{width:17px;height:17px;flex:0 0 17px}
.media-workspace{min-width:0}
.media-drop{
  display:flex;flex-direction:column;gap:9px;align-items:center;
  padding:25px 20px;min-height:226px;justify-content:center;
  border:1.5px dashed #b8b6e5;border-radius:14px;
  background:#faf9ff;text-align:center;cursor:pointer;
}
.media-drop:hover,.media-drop.dragging,.media-drop:focus-visible{
  border-color:#826fe8;background:#f1efff;
}
.media-drop-picture{width:62px;height:62px;border-radius:17px;background:#ebe8ff;
  display:grid;place-items:center;color:#705adf;margin-bottom:3px}
.media-drop-picture svg{width:33px;height:33px}
.media-drop strong{font-size:14px;color:#33324d;font-weight:850}
.media-drop p{color:#8d93ab;font-size:11.5px;margin:0;line-height:1.55}
.media-drop small{font-size:10px;color:#a4a2b7;margin-top:4px}
.media-drop .select-files{border-radius:9px;padding:11px 20px;font-size:11px;font-weight:850;margin-top:5px}
.media-selected-panel{margin-top:18px}
.media-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.media-panel-head strong{font-size:12px;color:#373a57}
.media-panel-head button{font-size:11px;color:#7f68ce;background:none;border:0;cursor:pointer}
.media-file-collection{display:grid;gap:9px;max-height:510px;overflow:auto}
.media-source-card{background:#fbfbff;border:1px solid #e7e8f3;
  border-radius:10px;padding:12px;min-width:0}
.media-source-head,.media-output-title{display:flex;align-items:center;gap:10px}
.media-source-head img,.media-output-title img{width:38px;height:38px;flex:0 0 38px;object-fit:contain}
.media-source-labels,.media-output-title>div{flex:1;min-width:0;display:grid;gap:4px}
.media-source-labels strong,.media-output-title strong{font-size:11.5px;color:#393b55;overflow-wrap:anywhere}
.media-source-labels small,.media-output-title small{font-size:10px;color:#a0a4b4}
.media-remove{border:0;background:transparent;color:#a2a2b5;font-size:23px;cursor:pointer;padding:2px 7px}
.media-source-card .media-player{margin-top:9px}
.media-player{display:block;width:100%;min-width:0;max-height:310px;
  background:#ecebf6;border-radius:7px}
audio.media-player{height:45px;max-height:45px}
.media-playback-unavailable{font-size:11px;color:#959aab;line-height:1.65;
  background:#f5f5fa;border-radius:8px;padding:12px;margin:8px 0 0}
.media-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.media-format-field{display:flex;align-items:center;gap:8px;border:1px solid #dfe0ed;
  border-radius:9px;padding:4px 8px;background:#fff}
.media-format-field img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.media-format-field select{min-width:0;flex:1;border:0!important;box-shadow:none!important;
  outline:0;padding:8px 5px!important}
.media-format-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(69px,1fr));
 gap:9px;margin-top:17px}
.media-format-tile{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:5px;padding:11px 5px;background:#fff;color:#626985;border:1px solid #e1e2ed;
 border-radius:10px;cursor:pointer;font-size:10px;font-weight:820}
.media-format-tile img{width:32px;height:32px;object-fit:contain}
.media-format-tile:hover{background:#f8f6ff;border-color:#c7bdf4}
.media-format-tile.selected{border-color:#8875de;color:#6652b7;background:#f3f0ff;
 box-shadow:0 0 0 1px #9987eb20}
.media-format-hint{font-size:10.5px;color:#9298ab;margin:12px 0 0;line-height:1.65}
.media-progress{border:1px solid #e0dff7;border-radius:13px;background:#f9f8ff;padding:17px;margin-top:22px}
.media-progress-header{display:flex;gap:13px;align-items:center}
.media-progress-header>div{flex:1;min-width:0}
.media-progress-header strong{font-size:13px;color:#4c4099}
.media-progress-header p{color:#8581a7;font-size:11px;line-height:1.55;margin:4px 0 0}
.media-progress-header>strong{font-size:19px;color:#6f5cdb}
.media-progress .processing-track{margin-top:14px}
.media-progress-footer{display:flex;justify-content:space-between;align-items:center;margin-top:9px}
.media-progress-footer span{font-size:10px;color:#9694ac}
.media-progress-footer button{background:none;border:0;color:#7d68c9;font-weight:750;font-size:10.5px;cursor:pointer}
.media-result{margin:26px 0 8px;border-top:1px solid #e9e8f1;padding-top:24px}
.media-result-heading{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap}
.media-result-heading>div{flex:1;min-width:190px}
.media-result-heading strong{font-size:17px;color:#2e3048}
.media-result-heading p{margin:6px 0;font-size:11px;color:#9299aa}
.media-result-heading .primary-button{font-size:11px;box-shadow:none;white-space:nowrap}
.media-output-collection{display:grid;gap:15px;margin-top:21px;max-height:780px;overflow:auto}
.media-output-card{border:1px solid #e2e4ef;border-radius:12px;padding:15px;background:#fdfdff}
.media-output-title{margin-bottom:13px}
.media-comparison{display:grid;grid-template-columns:1fr 1fr;gap:13px;align-items:start}
.media-pane{min-width:0;border:1px solid #eceef6;background:#f9f9ff;padding:10px;
 border-radius:10px;display:grid;gap:8px;overflow:hidden}
.media-pane-label{font-size:10px;font-weight:800;color:#7065b2;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.media-pane video{width:100%}
.media-output-meta,.media-result-note,.media-limit-note{color:#9398a9;font-size:10.5px;line-height:1.75}
.media-output-meta{margin:12px 2px 0}
.media-result-note{margin:16px 0 0}
.media-limit-note{padding:11px 13px;background:#f9f9fd;border:1px solid #ebecf3;
 border-radius:9px;margin:22px 0 0}
@media(max-width:720px){
  .media-drop{min-height:203px;padding:19px 12px}
  .media-options{grid-template-columns:1fr}
  .media-comparison{grid-template-columns:1fr}
  .media-format-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .media-result-heading .primary-button{width:100%;justify-content:center}
  .media-result-heading{align-items:stretch}
}

.media-gif-preview {display:block;width:100%;max-height:300px;object-fit:contain;
  border-radius:8px;background:#f1f2f7;}

/* Comfortable multi-line writing fields throughout Filelo. */
#aiWorkspace .ai-topic textarea,
#aiWorkspace #aiAudience,
#aiWorkspace #aiDetails,
#toolOptions textarea.long-text-input,
#pdfEditorNewText {
  display:block;
  width:100%;
  min-width:0;
  padding:13px 15px;
  font-size:13px;
  line-height:1.7;
  overflow-y:auto;
  resize:vertical;
  border:1px solid #dce0ea;
  border-radius:10px;
  background:#fff;
  color:#27304a;
  transition:border-color .15s,box-shadow .15s;
}
#aiWorkspace .ai-topic textarea{min-height:132px;}
#aiWorkspace #aiAudience{min-height:88px;}
#aiWorkspace #aiDetails{min-height:150px;}
#toolOptions textarea.long-text-input{min-height:88px;}
#pdfEditorNewText{min-height:140px;max-height:440px;}
#aiWorkspace .ai-topic textarea:focus,
#aiWorkspace #aiAudience:focus,
#aiWorkspace #aiDetails:focus,
#toolOptions textarea.long-text-input:focus,
#pdfEditorNewText:focus{
  border-color:#9382f1;
  box-shadow:0 0 0 3px #ece8ff;
  outline:0;
}
#aiWorkspace .ai-topic textarea::placeholder,
#aiWorkspace #aiAudience::placeholder,
#aiWorkspace #aiDetails::placeholder,
#toolOptions textarea.long-text-input::placeholder,
#pdfEditorNewText::placeholder{color:#a2a8b9;}
@media(max-width:720px){
  #aiWorkspace .ai-topic textarea{min-height:120px;}
  #aiWorkspace #aiDetails{min-height:130px;}
  #aiWorkspace #aiAudience{min-height:88px;}
  #toolOptions textarea.long-text-input{min-height:94px;}
  #pdfEditorNewText{min-height:135px;}
}

/* Interactive visual PDF tools: deletion, extraction, numbering, inserts, crop */
.pv-panel{margin-top:19px;padding:20px;background:#faf9ff;
 border:1px solid #e1ddf5;border-radius:15px;min-width:0}
.pv-panel[hidden],.pv-editor[hidden],.pv-topbar[hidden]{display:none!important}
.pv-heading{display:flex;align-items:start;justify-content:space-between;
 gap:12px;margin-bottom:14px}
.pv-heading h3{font-size:15px;line-height:1.4;color:#33304e;
 letter-spacing:-.02em;margin:0}
.pv-heading p{font-size:11px;color:#858baa;line-height:1.6;margin:5px 0 0}
.pv-topbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:13px}
.pv-topbar>strong{font-size:10.5px;color:#767a91;margin-left:auto}
.pv-topbar .fp-light-button{white-space:nowrap}
.pv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));
 gap:12px;max-height:620px;overflow-y:auto;padding:4px;align-content:start}
.pv-card{min-width:0;display:flex;flex-direction:column;background:#fff;
 border:1.5px solid #e2e1ec;border-radius:11px;padding:9px;
 transition:border-color .13s,box-shadow .13s}
.pv-card:hover{border-color:#b0a1ed}
.pv-card.pv-selected,.pv-card.pv-active{border-color:#8364dd;
 box-shadow:0 0 0 2px #ded8fd}
.pv-card.pv-danger{border-color:#e18d9c;box-shadow:0 0 0 2px #ffe5eb}
.pv-preview-button{display:flex;flex-direction:column;gap:9px;min-width:0;
 width:100%;border:0;background:transparent;cursor:pointer;padding:0;text-align:left}
.pv-page-art{position:relative;isolation:isolate;display:flex;
 align-items:center;justify-content:center;overflow:hidden;
 border:1px solid #efedf6;border-radius:7px;background:#f1f1f8;
 height:168px;width:100%}
.pv-page-image{display:flex;align-items:center;justify-content:center;
 overflow:hidden;width:100%;height:100%;font-size:11px;color:#a4a0b1}
.pv-thumb-image{display:block;max-width:100%;max-height:100%;object-fit:contain}
.pv-check{display:grid;place-items:center;position:absolute;z-index:5;
 top:8px;right:8px;width:24px;height:24px;border:1.3px solid #a9a8bb;
 border-radius:50%;background:#fff;color:#9fa1ad;font-size:16px;font-weight:850}
.pv-selected .pv-check{background:#775ade;border-color:#775ade;color:white}
.pv-danger .pv-check{background:#d85b70;border-color:#d85b70;color:white}
.pv-danger .pv-page-image{filter:grayscale(.75);opacity:.54}
.pv-danger .pv-page-art{background:#fff3f5}
.pv-card-title{display:flex;justify-content:space-between;
 align-items:baseline;gap:6px;min-width:0;width:100%}
.pv-card-title strong{font-size:11px;color:#373f55;white-space:nowrap}
.pv-card-title small{font-size:9.7px;color:#858aa0;text-align:right}
.pv-danger .pv-card-title small{color:#c25a6e;font-weight:800}
.pv-placeholder{display:flex;flex-direction:column;gap:7px;justify-content:center;
 align-items:center;text-align:center;padding:20px 8px;min-height:210px;
 border:2px dashed #866ce5;border-radius:12px;background:#f0edff;color:#6653be}
.pv-placeholder-icon{display:grid;place-items:center;width:43px;height:43px;
 border-radius:12px;background:#e0d9ff;font-size:28px;font-weight:600}
.pv-placeholder strong{font-size:12px}
.pv-placeholder small{font-size:9px;color:#8075af}
.pv-insert-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}
.pv-insert-btn{padding:7px 4px;font-size:10px;font-weight:800;white-space:nowrap;
 background:#fff;border:1px solid #dddbea;color:#7264a8;border-radius:7px;cursor:pointer}
.pv-insert-btn.selected{background:#eae5ff;border-color:#8872eb;color:#604cc4}
.pv-insert-btn:hover{background:#f4f0ff}
.pv-number{display:grid;place-items:center;position:absolute;z-index:5;min-width:21px;
 height:22px;padding:0 5px;border-radius:5px;border:1px solid #d8cef8;
 box-shadow:0 1px 6px #26203b30;background:#fff;color:#4c37b2;
 font-size:11px;font-weight:850;font-variant-numeric:tabular-nums;pointer-events:none}
.pv-thumb-crop{position:absolute;z-index:3;border:2px solid #6b54de;
 box-shadow:0 0 0 500px #1c1a3080;pointer-events:none}
.pv-controls{padding:15px 2px 0;display:grid;gap:10px}
.pv-controls:empty{display:none}
.pv-controls h4{color:#47405e;font-size:12px;margin:0}
.pv-control-note{font-size:10.5px;line-height:1.6;color:#8a8da6;margin:0}
.pv-positions{display:grid;grid-template-columns:repeat(3,46px);gap:6px;
 width:max-content;border:1px solid #e1dff0;padding:9px;border-radius:12px;background:#fff}
.pv-position{width:46px;height:38px;display:grid;place-items:center;
 border:1px solid #e5e3ef;background:#fafafe;border-radius:7px;
 color:#82799b;font-weight:800;font-size:12px;cursor:pointer}
.pv-position.selected{border-color:#7960dc;color:#664dc8;
 background:#eae5ff;box-shadow:0 0 0 1px #9786e47a}
.pv-position:hover{background:#f2efff}
.pv-numeral-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:11px;margin-top:3px}
.pv-numeral-field{display:grid;gap:6px;font-size:10.5px;font-weight:780;color:#626b82}
.pv-numeral-field input,.pv-margin-row input{
 width:100%;height:42px;border:1px solid #dddfeb;border-radius:8px;
 background:white;color:#3b3b59;padding:7px 9px;font-size:12px}
.pv-numeral-field input[type=color]{padding:4px 7px;cursor:pointer}
.pv-scope-toggle{display:flex;align-items:center;gap:8px;
 font-size:12px;color:#584d97;font-weight:820;cursor:pointer}
.pv-scope-toggle input{accent-color:#745ee2;width:17px;height:17px}
.pv-margin-row{display:flex;align-items:center;gap:12px;justify-content:space-between;
 flex-wrap:wrap;font-size:11px;color:#72778e}
.pv-margin-row input{width:100px}
.pv-status{font-size:11px;line-height:1.65;color:#7764bc;
 margin:15px 1px 0;font-weight:650}
.pv-status.pv-error{color:#b94b64}
.pv-editor{margin-top:20px;border-top:1px solid #e3dfef;padding-top:18px}
.pv-editor-header{display:flex;align-items:baseline;justify-content:space-between;
 gap:10px;flex-wrap:wrap;margin-bottom:12px}
.pv-editor-header strong{font-size:13px;color:#3d3d57}
.pv-editor-header span{font-size:10px;color:#9896ad}
.pv-crop-stage{display:flex;justify-content:center;align-items:flex-start;
 min-height:230px;max-height:690px;overflow:auto;
 border:1px solid #e4e5ef;border-radius:11px;padding:16px;
 background:#e9ebf1}
.pv-crop-paper{position:relative;isolation:isolate;flex:0 1 auto;
 width:100%;max-width:550px;overflow:hidden;background:white;
 box-shadow:0 5px 20px #1a1d3c28;touch-action:none}
.pv-crop-image{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
 color:#8f94a6;font-size:11px}
.pv-crop-canvas{display:block;width:100%;height:100%;object-fit:fill}
.pv-crop-dim{display:none}
.pv-crop-rect{position:absolute;z-index:3;border:2px solid #7561eb;
 box-shadow:0 0 0 1200px #201c3580;background:#796df008;pointer-events:none}
.pv-crop-touch{position:absolute;inset:0;z-index:4;cursor:crosshair;touch-action:none}
.pv-crop-hint{font-size:10.5px;color:#8f95a8;line-height:1.7;margin:10px 0 0}
@media(max-width:720px){
 .pv-panel{padding:14px 10px;border-radius:12px}
 .pv-heading h3{font-size:13px}
 .pv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .pv-card{padding:7px}
 .pv-page-art{height:135px}
 .pv-placeholder{min-height:170px}
 .pv-numeral-settings{grid-template-columns:1fr 1fr}
 .pv-crop-stage{padding:9px;max-height:540px}
 .pv-number{font-size:10px;height:19px}
}

/* Visual PDF Composer: pages from original PDF, imported Word and typed sheets. */
.pc-panel{margin:20px 0 10px;padding:20px;border-radius:16px;border:1px solid #e0dcf4;background:#faf9ff;min-width:0}
.pc-panel[hidden],.pc-editor[hidden],.pc-text-controls[hidden]{display:none!important}
.pc-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.pc-header h3{font-size:15px;color:#333047;font-weight:850;margin:0 0 6px}
.pc-header p{font-size:11px;line-height:1.6;color:#9095aa;margin:0}
.pc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:17px}
.pc-actions button,.pc-editor>button.pc-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;font-size:11px;font-weight:800;border-radius:9px;cursor:pointer;line-height:1.2}
.pc-primary{background:#6d56e2;color:#fff;border:1px solid #6d56e2}
.pc-primary:hover{background:#5942cf}
.pc-secondary{background:#fff;border:1px solid #d9d7e8;color:#5d51a4}
.pc-secondary:hover{border-color:#9488df;background:#f4f0ff}
.pc-actions img{width:23px;height:23px;object-fit:contain}
.pc-word-status{font-size:10.5px;color:#82849e;overflow-wrap:anywhere}
.pc-actions #pcRemoveWord{border:0;background:none;color:#ac5973;padding:6px;font-size:10px;font-weight:800;cursor:pointer}
.pc-actions button:disabled{opacity:.6;cursor:wait}
.pc-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);gap:19px;align-items:start}
.pc-document{min-width:0}
.pc-document-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pc-document-head strong{font-size:11px;font-weight:850;color:#474069}
.pc-document-head span{font-size:10px;color:#9796ad}
.pc-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));align-content:start;
 gap:11px;max-height:710px;overflow:auto;padding:3px}
.pc-card{display:flex;flex-direction:column;min-width:0;padding:8px;border:1.4px solid #e1dfea;
 border-radius:11px;background:#fff;transition:border-color .14s,box-shadow .14s;cursor:grab}
.pc-card:hover{border-color:#b5a6ec;box-shadow:0 3px 12px #39308312}
.pc-card.pc-current{border-color:#8168df;box-shadow:0 0 0 2px #e5defc}
.pc-card.pc-drag-target{border-color:#7156df;box-shadow:0 0 0 3px #beaff1}
.pc-card.pc-dragging{opacity:.55}
.pc-card-preview{display:flex;flex-direction:column;min-width:0;width:100%;padding:0;
 background:none;border:0;cursor:pointer;text-align:left}
.pc-card-picture{height:155px;width:100%;display:flex;align-items:center;justify-content:center;
 border:1px solid #eeedf3;border-radius:7px;background:#f1f1f7;
 overflow:hidden;font-size:10px;color:#8a91a5}
.pc-page-picture{display:block;max-width:100%;max-height:100%;object-fit:contain}
.pc-mini-paper{position:relative;isolation:isolate;width:fit-content;height:100%;max-width:100%;margin:auto;
 border:1px solid #dedee9;background:white;box-shadow:0 1px 5px #25244d19;overflow:hidden}
.pc-mini-text{position:absolute;white-space:pre-wrap;overflow:hidden;
 line-height:1.2;overflow-wrap:anywhere;max-height:80%}
.pc-card-detail{min-width:0;display:grid;gap:3px;margin-top:8px}
.pc-card-detail strong{font-size:10.5px;color:#3c4260;overflow-wrap:anywhere}
.pc-card-detail small{font-size:9.5px;color:#9a9faf}
.pc-move-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}
.pc-arrow{font-size:17px;color:#7864c6;background:#f6f4ff;border:1px solid #e3ddfa;
 border-radius:7px;cursor:pointer;height:30px}
.pc-arrow:hover{background:#e7e2ff}
.pc-arrow:disabled{opacity:.34;cursor:default}
.pc-editor{background:#fff;border:1px solid #e2e1ed;border-radius:12px;padding:15px;
 box-shadow:0 5px 18px #49446a12;position:sticky;top:15px;min-width:0}
.pc-editor-head{display:grid;gap:4px;margin-bottom:14px}
.pc-editor-head strong{color:#484160;font-size:13px}
.pc-editor-head span{color:#9399ac;font-size:10px;line-height:1.5}
.pc-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#5b627a;font-size:10.5px;font-weight:750}
.pc-field>input,.pc-field>select,.pc-field>textarea{display:block;width:100%;min-width:0;
 padding:8px 10px;border:1px solid #dedfed;background:#fff;color:#383f55;border-radius:8px;
 font-size:12px;line-height:1.55}
.pc-field textarea{min-height:110px;max-height:350px;resize:vertical}
.pc-field>input:focus,.pc-field>select:focus,.pc-field>textarea:focus{outline:0;
 border-color:#9583e4;box-shadow:0 0 0 3px #f0ecff}
.pc-style-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:9px;margin-top:10px}
.pc-inline-toolbar{display:flex;align-items:center;gap:6px;margin:12px 0 8px}
.pc-inline-toolbar>button{height:37px;min-width:38px;border:1px solid #dedfed;border-radius:8px;
 color:#7664ac;background:#fff;font-size:12px;cursor:pointer}
.pc-inline-toolbar>button.selected,.pc-inline-toolbar>button[aria-pressed=true]{background:#eee9ff;
 border-color:#8166db;color:#5e46c6}
.pc-inline-toolbar>label{display:flex;align-items:center;gap:5px;color:#6b6d80;font-size:10px;margin-left:auto}
.pc-inline-toolbar input[type=color]{width:33px;height:34px;border:1px solid #dfe0ef;border-radius:8px;padding:3px;cursor:pointer}
.pc-paper-stage{display:flex;align-items:start;justify-content:center;padding:11px;background:#edeef5;
 border:1px solid #e2e3f0;border-radius:9px;overflow:auto;max-height:490px;margin:10px 0 7px}
.pc-paper{display:block;position:relative;width:100%;aspect-ratio:595 / 842;max-width:320px;
 background:#fff;box-shadow:0 4px 16px #24284920;overflow:hidden;isolation:isolate}
.pc-text-layers{position:absolute;inset:0}
.pc-text-layer{position:absolute;border:1px dashed transparent;white-space:pre-wrap;
 overflow-wrap:anywhere;line-break:normal;max-height:90%;min-width:20px;cursor:move;touch-action:none;
 padding:2px;user-select:none}
.pc-text-layer.selected{border-color:#7457d9;background:#ede9ff35;box-shadow:0 0 0 1px #a393e870}
.pc-text-layer.pc-empty-text{color:#aaaabc!important;font-style:italic}
.pc-editor-note{font-size:10px;line-height:1.6;color:#9299ac;margin:9px 0 12px}
.pc-editor>button.pc-secondary{width:100%;margin-bottom:14px}
.pc-text-controls{border-top:1px solid #eeedf5;padding-top:13px;display:grid;gap:8px}
.pc-danger-link{font-size:10.5px;color:#b45b72;background:transparent;border:0;
 cursor:pointer;margin-top:10px;padding:7px 0;text-align:left;font-weight:750}
.pc-danger-link:hover{text-decoration:underline}
.pc-status{font-size:10.5px;color:#8174b7;line-height:1.6;margin:14px 0 0}
.pc-status.pc-error{color:#b14861;font-weight:800}
@media(max-width:1000px){.pc-workspace{grid-template-columns:1fr}.pc-editor{position:static}.pc-page-grid{max-height:580px}}
@media(max-width:720px){.pc-panel{padding:13px 10px}.pc-header h3{font-size:13px}
 .pc-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pc-card-picture{height:135px}
 .pc-word-status{width:100%}.pc-paper{max-width:350px}.pc-page-grid{max-height:580px}
 .pc-actions{gap:7px}.pc-actions button{padding:9px 10px;font-size:10.5px}
}

/* SEO-supporting *visible* content and real crawlable tool links. */
.seo-directory{margin-top:48px;margin-bottom:50px}
.seo-directory-heading{max-width:780px;margin-bottom:24px}
.seo-directory-heading>span{font-size:10px;font-weight:900;letter-spacing:.11em;color:#7368bd}
.seo-directory-heading h2{font-size:clamp(21px,2.2vw,29px);line-height:1.2;letter-spacing:-.025em;color:#23263d;margin:9px 0}
.seo-directory-heading p{font-size:12.5px;color:#868da4;line-height:1.75;margin:5px 0}
.seo-directory-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.seo-directory-group{border:1px solid #e3e5ee;background:#fff;border-radius:13px;padding:17px 18px;min-width:0}
.seo-directory-group h3{font-size:13px;color:#383956;margin:0 0 12px;line-height:1.4;font-weight:850}
.seo-directory-links{display:grid;gap:7px}
.seo-directory-link{font-size:11px;line-height:1.5;color:#716a9c;text-decoration:none;overflow-wrap:anywhere}
.seo-directory-link:hover{text-decoration:underline;color:#6251be}
.seo-tool-section{margin:32px 0 45px;padding:24px 26px;background:#fff;border:1px solid #e1e3eb;border-radius:16px}
.seo-tool-section h2{font-size:clamp(17px,1.8vw,22px);color:#33354c;font-weight:860;letter-spacing:-.02em;line-height:1.35;margin:0 0 12px}
.seo-tool-intro{font-size:12.5px;line-height:1.78;color:#636a80;margin:0 0 22px;max-width:850px}
.seo-tool-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.seo-tool-steps>div{display:flex;align-items:flex-start;gap:10px;background:#f8f8fd;border:1px solid #eeedf5;padding:15px 13px;border-radius:10px;min-width:0}
.seo-tool-steps>div>span{flex:0 0 25px;width:25px;height:25px;display:grid;place-items:center;background:#edeaff;color:#6a59c7;border-radius:50%;font-size:11px;font-weight:850}
.seo-tool-steps strong{font-size:11.5px;color:#343a56;line-height:1.45}
.seo-tool-steps p{font-size:11px;line-height:1.65;color:#838aa0;margin:5px 0 0}
.seo-tool-note{border-left:2px solid #bcb5ec;background:#f9f8ff;padding:11px 13px;font-size:11px;line-height:1.65;color:#74788d;margin:20px 0 0}
.seo-tool-note strong{color:#514b80}
.seo-tool-related{border-top:1px solid #eeedf5;margin-top:20px;padding-top:16px}
.seo-tool-related h3{font-size:12px;color:#414463;font-weight:850;margin:0 0 12px}
.seo-tool-related nav{display:flex;flex-wrap:wrap;gap:9px}
.seo-related-link{font-size:10.8px;line-height:1.5;color:#6858b8;border:1px solid #e2def4;border-radius:8px;padding:8px 10px;text-decoration:none;background:#faf9ff}
.seo-related-link:hover{background:#f0ecff;border-color:#a69be1}
@media(max-width:1000px){.seo-directory-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.seo-directory{margin-top:32px;margin-bottom:34px}.seo-directory-groups{grid-template-columns:1fr;gap:10px}
.seo-directory-group{padding:13px 15px}.seo-tool-section{padding:16px 13px;margin:22px 0 30px}
.seo-tool-steps{grid-template-columns:1fr;gap:8px}.seo-tool-steps>div{padding:11px}
.seo-tool-related nav{gap:7px}}

/* Feedback page: restrained Filelo card layout, accessible CAPTCHA and inputs. */
.contact-layout{
  min-height:calc(100vh - 240px);
  padding-top:58px;padding-bottom:78px;
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);
  align-items:start;column-gap:clamp(28px,5vw,80px);
}
.contact-header-actions{display:flex;gap:20px;align-items:center}
.contact-introduction{padding-top:22px}
.contact-eyebrow{
  font-size:10px;letter-spacing:.13em;color:#7666df;
  font-weight:850;display:flex;align-items:center;gap:9px;
}
.contact-eyebrow span{width:27px;height:27px;display:grid;place-items:center;
  background:#eeebff;border-radius:8px;font-size:17px}
.contact-introduction h1{font-size:clamp(37px,4.4vw,60px);
  letter-spacing:-.065em;line-height:1.15;margin:21px 0 20px;color:#22243d;}
.contact-introduction h1 span{color:#7665ed}
.contact-lead{font-size:14px;line-height:1.85;color:#7a8196;max-width:510px}
.contact-explanations{display:grid;gap:22px;margin-top:37px}
.contact-explanations>div{display:flex;align-items:flex-start;gap:14px}
.contact-explanation-icon{width:40px;height:40px;flex:0 0 40px;
 border:1px solid #e1ddfa;background:#eeebff;color:#7661dd;
 border-radius:11px;display:grid;place-items:center}
.contact-explanations strong{font-size:12px;font-weight:830;color:#373c56}
.contact-explanations p{margin:4px 0;font-size:11px;line-height:1.65;color:#9096aa}
.contact-card{background:#fff;border:1px solid #e2e4ed;
 border-radius:18px;padding:27px 31px 30px;box-shadow:0 10px 35px rgba(48,44,89,.045)}
.contact-card-heading{display:flex;gap:13px;align-items:center;
 padding-bottom:23px;border-bottom:1px solid #f0f0f6;margin-bottom:23px}
.contact-card-badge{display:grid;place-items:center;width:47px;height:47px;flex:0 0 47px;
 border-radius:12px;background:#ece9ff;color:#745eeb}
.contact-card-heading h2{font-size:17px;letter-spacing:-.02em;margin:0 0 3px}
.contact-card-heading p{font-size:11px;color:#9299a9;margin:0}
#contactForm{display:grid;gap:21px}
.contact-field{display:grid;gap:7px;position:relative;min-width:0}
.contact-field>label,.contact-captcha-head strong{
 color:#444d67;font-size:11.5px;font-weight:850}
.contact-field label>span,.contact-captcha-head strong>span{color:#8572ee}
.contact-field .contact-optional{font-size:10px;color:#9ca2b4;font-weight:500;margin-left:3px}
.contact-field>input,.contact-field>select,.contact-field>textarea,.contact-captcha-entry input{
 min-width:0;width:100%;border:1px solid #dce0eb;border-radius:10px;padding:12px 13px;
 background:#fff;color:#26314b;outline:0;font-size:12.5px;
}
.contact-field>select{min-height:47px;cursor:pointer}
.contact-field>textarea{min-height:177px;resize:vertical;
 line-height:1.75;max-height:600px;padding-bottom:30px}
.contact-field input::placeholder,.contact-field textarea::placeholder,.contact-captcha-entry input::placeholder{
 color:#abb1c1;font-size:11.5px}
.contact-field>input:focus,.contact-field>select:focus,.contact-field>textarea:focus,
.contact-captcha-entry input:focus{
 border-color:#9480ed;box-shadow:0 0 0 3px #efebff}
.contact-field>small{font-size:10px;color:#9a9fae;line-height:1.5}
.contact-counter{position:absolute;right:12px;bottom:12px;font-size:9px;color:#9ba1b0;
 background:#fff;border-radius:4px;padding-left:5px}
.contact-captcha{display:grid;gap:13px;padding:16px;border:1px solid #e8e7f3;
 border-radius:11px;background:#fbfaff}
.contact-captcha-head{display:flex;gap:8px;align-items:center;
 flex-wrap:wrap;justify-content:space-between}
.contact-captcha-action{border:0;background:transparent;color:#7966d6;
 font-size:10.5px;font-weight:750;padding:5px 1px;cursor:pointer}
.contact-captcha-action:hover{text-decoration:underline;color:#5d46c8}
.contact-captcha-action:disabled{opacity:.5;cursor:wait}
.contact-captcha-content{display:grid;grid-template-columns:228px minmax(0,1fr);
 gap:15px;align-items:center}
.contact-captcha-image{display:flex;justify-content:center;align-items:center;
 width:228px;min-height:76px;background:#fff;border-radius:8px;
 border:1px solid #e5e4ed;overflow:hidden;color:#a6a0b6;font-size:11px}
.contact-captcha-image img{display:block;width:228px;height:76px;object-fit:contain}
.contact-challenge-question{font-size:17px;color:#5a509d;line-height:1.5}
.contact-captcha-entry{display:grid;gap:6px}
.contact-captcha-entry label{font-size:10px;font-weight:750;color:#68708c}
.contact-captcha-entry input{height:45px;letter-spacing:.04em;font-weight:650}
.contact-accessible{justify-self:start;margin-top:-4px}
.contact-submit{border:0;border-radius:10px;background:#6a58e4;color:#fff;
 padding:15px 19px;min-height:51px;font-size:12.5px;font-weight:850;
 display:flex;justify-content:space-between;align-items:center;gap:16px;
 cursor:pointer;box-shadow:0 5px 17px #6756db27}
.contact-submit:hover{background:#5944d0}
.contact-submit:disabled{opacity:.55;cursor:wait}
.contact-submit>span:last-child{font-size:19px}
.contact-privacy{font-size:10.2px;line-height:1.7;color:#9da3b1;margin:-6px 0 0}
.contact-status{font-size:11.5px;color:#6b6996;line-height:1.6;margin:0}
.contact-status:empty{display:none}
.contact-status-error{color:#ab455a;background:#fff3f4;border:1px solid #f4d0d8;
 padding:10px 12px;border-radius:8px}
.contact-status-ok{color:#32875e;background:#edf9f2;border:1px solid #c8e7d5;
 padding:10px 12px;border-radius:8px}
.contact-honeypot{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;
 overflow:hidden;pointer-events:none;opacity:0}
.contact-success{text-align:center;padding:25px 10px}
.contact-success-icon{width:60px;height:60px;display:grid;place-items:center;
 border-radius:50%;background:#e8f7ee;color:#32a76d;font-size:30px;margin:0 auto 18px}
.contact-success h2{font-size:22px;color:#283047;margin:0 0 12px}
.contact-success p{color:#828da1;font-size:12px;line-height:1.75;max-width:390px;margin:0 auto 23px}
.contact-success button{width:100%}
.contact-shortcut{position:fixed;right:25px;bottom:24px;z-index:80;
 display:flex;align-items:center;gap:9px;color:#6852d9;background:#fff;
 border:1px solid #d8d2f8;border-radius:999px;
 padding:12px 15px;box-shadow:0 7px 24px #39306521;font-size:11px;font-weight:850}
.contact-shortcut:hover{background:#f4f0ff;border-color:#a9a0ee}
.contact-shortcut svg{width:19px;height:19px}
@media(max-width:1100px){
 .contact-layout{gap:28px}
 .contact-captcha-content{grid-template-columns:1fr}
 .contact-captcha-image{width:min(228px,100%)}
}
@media(max-width:850px){
 .contact-layout{grid-template-columns:1fr;max-width:740px;gap:28px;padding-top:32px}
 .contact-introduction{padding-top:0}
 .contact-explanations{grid-template-columns:repeat(3,1fr);gap:13px;margin-top:24px}
 .contact-explanations>div{gap:9px}
 .contact-explanation-icon{width:34px;height:34px;flex-basis:34px}
 .contact-lead{max-width:680px}
 .contact-captcha-content{grid-template-columns:228px 1fr}
}
@media(max-width:620px){
 .contact-layout{padding:24px 0 43px}
 .contact-introduction h1{font-size:36px;margin:15px 0}
 .contact-lead{font-size:12.5px}
 .contact-explanations{grid-template-columns:1fr;gap:12px}
 .contact-explanations>div{align-items:center}
 .contact-card{padding:19px 15px;border-radius:13px}
 .contact-card-heading h2{font-size:15px}
 .contact-captcha{padding:12px}
 .contact-captcha-content{grid-template-columns:1fr}
 .contact-captcha-image{width:228px;max-width:100%}
 .contact-captcha-image img{max-width:100%}
 .contact-shortcut{right:14px;bottom:14px;padding:13px}
 .contact-shortcut span{display:none}
 .footer-links{gap:14px;flex-wrap:wrap}
}
\n/* Catalog cards are real links so crawlers and visitors can follow them. */\n.tools-grid a.tool-card{text-decoration:none;color:var(--ink)}\n.tools-grid a.tool-card:focus-visible{outline:3px solid #a99bf3;outline-offset:3px}\n.tools-grid .tool-icon>img{max-width:100%;max-height:100%;object-fit:contain}\n
/* Yandex RTB: persistent side rails on desktop, inline below content on narrow screens. */
.ad-rails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1260px;width:calc(100% - 72px);margin:0 auto 28px}
.ad-rail{min-width:0}
.ad-rail>div{width:100%}
@media(min-width:1380px){
  body.has-side-ads{--ad-rail-width:clamp(154px,11.5vw,210px);padding-inline:calc(var(--ad-rail-width) + 14px)}
  .ad-rails{display:contents}
  .ad-rail{position:fixed;top:114px;z-index:2;width:var(--ad-rail-width)}
  .ad-rail-left{left:7px}
  .ad-rail-right{right:7px}
  body.has-side-ads .contact-shortcut{right:calc(var(--ad-rail-width) + 23px)}
  body.has-side-ads .hero{grid-template-columns:minmax(0,1fr) minmax(290px,38%);gap:15px}
  body.has-side-ads .hero-art{transform:scale(.88);transform-origin:center left}
}
@media(max-width:720px){
  .ad-rails{grid-template-columns:1fr;gap:12px;width:calc(100% - 32px);margin-bottom:22px}
}

/* Visual signature/stamp mode inside the PDF editor. */
.pdf-editor-stamp-panel{padding:14px 12px;display:grid;gap:11px;background:#f1f0fc;border:1px solid #ded9f6;border-radius:10px;min-width:0}
.pdf-editor-stamp-panel input{max-width:100%;font-size:11px}
.pdf-editor-stamp-panel img{max-height:120px;max-width:100%;width:max-content;object-fit:contain;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}
.pdf-editor-stamp-panel p,.pdf-editor-stamp-panel small{margin:0;color:#797a9b;font-size:11px;line-height:1.6}
#pdfEditorOpened.stamp-mode .pdf-editor-controls>.field,
#pdfEditorOpened.stamp-mode .pdf-editor-controls>.pdf-editor-control-grid,
#pdfEditorOpened.stamp-mode .pdf-editor-controls>.pdf-editor-autofit,
#pdfEditorOpened.stamp-mode #pdfEditorApply{display:none}

.media-trim-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;padding:15px;background:#f5f4ff;border:1px solid #e5e1fa;border-radius:12px}
.media-trim-fields .field input{border:1px solid #dddbea;border-radius:8px;padding:10px;width:100%;background:#fff}
.media-trim-fields p{grid-column:1/-1;font-size:11px;color:#807b9c;margin:0}
@media(max-width:520px){.media-trim-fields{grid-template-columns:1fr}}

/* Standalone document-personalization feature. */
.personalize-spotlight{
 display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);align-items:center;
 gap:24px;position:relative;overflow:hidden;padding:34px 40px;margin-top:37px;margin-bottom:45px;
 border:1px solid #ded9fa;border-radius:22px;
 background:linear-gradient(119deg,#f3f0ff 0%,#faf9ff 62%,#e9e5ff 100%);
}
.personalize-spotlight:before{
 content:"";position:absolute;inset:auto -120px -170px auto;width:390px;height:390px;
 background:radial-gradient(circle,#c9bcff75,transparent 68%);pointer-events:none;
}
.personalize-spotlight-copy{position:relative;z-index:1}
.personalize-spotlight-kicker{display:block;color:#7764d9;font-size:10px;letter-spacing:.13em;font-weight:850;margin-bottom:11px}
.personalize-spotlight h2{margin:0 0 14px;font-size:clamp(24px,3vw,34px);line-height:1.25;color:#292444;letter-spacing:-.055em}
.personalize-spotlight h2 span{color:#7561e8}
.personalize-spotlight p{max-width:690px;color:#626482;font-size:13px;line-height:1.8;margin:9px 0}
.personalize-spotlight p strong{color:#333055}
.personalize-spotlight-link{display:inline-flex;gap:28px;align-items:center;margin:16px 0 11px;background:#6d5ce7;color:#fff;padding:13px 20px;border-radius:11px;font-size:12px;font-weight:850;box-shadow:0 5px 18px #6254e92a}
.personalize-spotlight-link:hover{background:#5745d7}
.personalize-spotlight-copy>small{display:block;color:#8b88a7;font-size:10px;line-height:1.6}
.personalize-spotlight-art{height:245px;position:relative;display:flex;align-items:center;justify-content:center}
.personalize-demo-page{width:174px;height:224px;background:#fff;border:1px solid #e2dfef;border-radius:9px;
 box-shadow:0 17px 36px #37317418;padding:18px 17px;transform:rotate(-7deg);position:relative}
.personalize-demo-overline{font-size:8px;color:#a0a3b6;font-weight:800;letter-spacing:.08em}
.personalize-demo-line{height:7px;border-radius:6px;background:#eeedf6;margin-top:16px}
.personalize-demo-line.short{width:67%}
.personalize-demo-sign{width:125px;height:64px;position:absolute;bottom:27px;right:12px}
.personalize-demo-id{position:absolute;bottom:15px;right:22px;color:#8d86b3;font-size:7px;letter-spacing:.06em}
.personalize-demo-passport{position:absolute;bottom:9px;right:-2px;width:164px;min-height:85px;padding:16px 13px;border:1px solid #e4e1f5;border-radius:12px;background:#fff;
 box-shadow:0 12px 28px #5d50802c;transform:rotate(7deg);display:flex;flex-direction:column;gap:7px}
.personalize-demo-passport>span{color:#85809e;font-size:8px;font-weight:800}
.personalize-demo-passport strong{font-size:15px;color:#4c417a}
.personalize-demo-passport strong span{color:#31a87c}
.personalize-demo-passport small{color:#9c98ad;font-size:8px}
.tool-page.personalize-route .workspace{grid-template-columns:minmax(0,1fr)}
.tool-page.personalize-route .workspace-aside{display:none}
.tool-page.personalize-route .workspace-main{max-width:none}
.personalize-form{grid-column:1/-1;border:1px solid #e3dff9;border-radius:17px;background:#faf9ff;padding:20px;margin-top:10px}
.personalize-intro strong{font-size:15px;color:#39305f}
.personalize-intro p{font-size:12px;color:#81819c;line-height:1.65;margin:6px 0 18px}
.personalize-draw-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:20px;align-items:start}
.personalize-draw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
.personalize-draw-toolbar span{font-size:11px;font-weight:800;color:#51496c}
.personalize-draw-toolbar button{border:0;background:transparent;color:#7561dc;font-size:11px;font-weight:750;padding:5px}
.personalize-draw-toolbar button:hover{text-decoration:underline}
#personalizeCanvas{display:block;width:100%;height:auto;aspect-ratio:3 / 1;border:1.5px dashed #c3bce6;
 background:#fff;border-radius:12px;touch-action:none;cursor:crosshair;box-shadow:inset 0 1px 5px #5f50ab0b}
.personalize-status{font-size:11px;color:#7f8099;margin:8px 0 0;min-height:22px}
.personalize-page-preview{padding:10px;text-align:center;background:#f0eefe;border-radius:12px}
.personalize-preview-heading{font-size:10px;color:#746eaa;font-weight:800}
.personalize-paper{width:98px;height:138px;background:#fff;box-shadow:0 8px 20px #3d34631a;border:1px solid #dcd8ef;border-radius:3px;margin:8px auto;position:relative;padding:19px 11px}
.personalize-paper-line{display:block;height:3px;background:#d7d6e3;margin-bottom:9px;border-radius:2px}
.personalize-paper-line.short{width:60%}
.personalize-paper img{position:absolute;width:60px;max-height:34px;object-fit:contain;bottom:9px;right:6px}
.personalize-paper[data-placement="bottom-left"] img{right:auto;left:6px}
.personalize-paper[data-placement="top-right"] img{bottom:auto;top:9px}
.personalize-paper[data-placement="top-left"] img{bottom:auto;top:9px;left:6px;right:auto}
.personalize-paper[data-placement="center"] img{bottom:auto;right:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
.personalize-page-preview small{font-size:9.5px;line-height:1.5;color:#85809d}
.personalize-purpose{grid-column:1/-1;padding:16px 18px;background:#f3f5fc;border:1px solid #e5e7f5;border-radius:12px;color:#686c87}
.personalize-purpose>strong{font-size:13px;color:#3b3865}
.personalize-purpose p{font-size:11.5px;line-height:1.75;margin:8px 0}
.personalize-purpose p:last-child{margin-bottom:0}
.personalize-purpose p b{color:#49436e}
@media(max-width:790px){
 .personalize-spotlight{grid-template-columns:1fr;padding:26px;gap:16px}
 .personalize-spotlight-art{height:180px;overflow:hidden}
 .personalize-demo-page{width:155px;height:190px}
 .personalize-demo-passport{right:calc(50% - 156px)}
}
@media(max-width:580px){
 .personalize-draw-layout{grid-template-columns:1fr}
 .personalize-page-preview{display:none}
 .personalize-form{padding:12px}
 .personalize-spotlight{padding:23px 18px;border-radius:14px}
 .personalize-spotlight h2{font-size:25px}
}

.manual-redaction-link{display:inline-block;margin:8px 0 2px;font-size:12px;font-weight:800;color:#5a49d5;text-decoration:underline;text-underline-offset:3px}
.manual-redaction-link:hover{color:#3f31a7}
.pdf-editor-blackout{padding:11px 12px;background:#242436;color:#fff;border:1px solid #343446;border-radius:9px;font-weight:750;font-size:11px;cursor:pointer}
.pdf-editor-blackout:hover:not(:disabled){background:#11111e}
.pdf-editor-blackout:disabled{opacity:.45;cursor:not-allowed}

/* Personalized documents: top navigation and explicit visible/stealth modes. */
.category-chips .chip-personalization-link{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 white-space:nowrap;background:#eeebff;border:1px solid #cec6ff;
 color:#6655d4;font-size:11px;font-weight:800;min-height:41px;
 padding:9px 13px;border-radius:9px;transition:background .2s,border-color .2s;
}
.category-chips .chip-personalization-link:hover,
.category-chips .chip-personalization-link:focus-visible{
 background:#e1dcff;border-color:#a997ee;color:#4f3db8;outline:0;
}
.personalize-demo-sign{width:49px;height:20px;bottom:32px;right:16px}
.personalize-visible-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.personalize-visible-panel .personalize-form,
.personalize-visible-panel .personalize-purpose{grid-column:1/-1}
.personalize-visible-panel>.field{min-width:0}
.personalize-stealth-panel{grid-column:1/-1;padding:23px;border:1px solid #dad7f8;
 background:linear-gradient(135deg,#faf9ff,#f0edff);border-radius:16px}
.personalize-stealth-eyebrow{font-size:10px;color:#7966d6;font-weight:850;letter-spacing:.12em}
.personalize-stealth-panel h3{font-size:20px;line-height:1.3;letter-spacing:-.03em;color:#28274b;margin:9px 0 12px}
.personalize-stealth-panel p{font-size:12px;line-height:1.75;color:#696a84;margin:12px 0}
.personalize-stealth-panel p strong{color:#3f365f}
.personalize-glyph-demo{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0;
 padding:15px;border:1px solid #e5e0f4;border-radius:13px;background:#fff}
.personalize-glyph-demo>div{min-width:96px;min-height:103px;padding:8px 16px;display:flex;
 flex-direction:column;align-items:center;border:1px solid #ebebf1;border-radius:9px}
.personalize-glyph-demo span{font-size:10px;color:#9697ab;font-weight:800}
.personalize-glyph-demo b{font:700 64px/1.1 Georgia,serif;color:#38344f;margin:5px 0 0}
.personalize-glyph-demo .notched-glyph{position:relative}
.personalize-glyph-demo .notched-glyph:after{content:"";position:absolute;width:6px;height:6px;
 background:#fff;top:38px;left:17px}
.personalize-glyph-demo>small{flex:1;min-width:140px;font-size:11px;color:#9899aa;line-height:1.55}
@media(max-width:650px){
 .personalize-visible-panel{grid-template-columns:1fr}
 .personalize-stealth-panel{padding:15px}
 .personalize-stealth-panel h3{font-size:17px}
 .category-chips .chip-personalization-link{padding:8px 12px}
}

.header .nav .personalize-header-link{color:#6453cc;font-weight:800}
.header .nav .personalize-header-link:hover{color:#4c3bb3}
.contact-personalize-link{color:#6958ce;border-color:#d9d1f4}
.contact-header-actions{display:flex;align-items:center;gap:12px}
@media(min-width:1380px){
 body.has-side-ads .header .nav{gap:12px;margin-left:6px}
 body.has-side-ads .header .header-actions{gap:9px}
 body.has-side-ads .header .privacy-tip{display:none}
}
@media(max-width:1380px) and (min-width:960px){
 .header .nav{gap:13px;margin-left:8px}
 .header .nav .nav-link{font-size:12px}
}
@media(max-width:720px){
 .contact-personalize-link{display:inline-flex}
 .contact-header-actions{gap:5px}
 .contact-header-actions .header-button{font-size:10px;padding:8px}
}

/* Catalog: one horizontal row at every viewport width. At narrow widths,
   scroll the row instead of wrapping buttons onto a second line. */
.filter-toolbar{min-width:0;max-width:100%;flex-wrap:nowrap;gap:0}
.category-chips{
  display:flex;align-items:center;gap:5px;flex-wrap:nowrap;
  width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;scrollbar-color:#ddd8f3 transparent;
  scroll-padding-inline:10px;padding-bottom:5px;
}
.category-chips .chip,
.category-chips .chip-personalization-link{
  box-sizing:border-box;flex:0 0 auto;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;
  gap:5px;min-height:40px;padding:8px 8px;
  font-size:11px;line-height:1.35;
}
.category-chips .chip-office{gap:5px}
.category-chips .chip-office img{width:16px;height:16px;flex:0 0 16px}
.category-chips [data-category="audio"],
.category-chips [data-category="video"]{gap:5px}
.category-chips [data-category="audio"] .chip-icon,
.category-chips [data-category="video"] .chip-icon{width:15px;height:15px;flex:0 0 15px}
.category-chips .chip-personalization-link{gap:6px;color:#6453d0}
.category-chips .personalize-file-icon{display:block;width:16px;height:16px;flex:0 0 16px}
@media(max-width:1100px){
 .category-chips .chip,.category-chips .chip-personalization-link{padding:8px 10px}
}

/* Catalog categories span the same full width as the feature banner below. */
.content .filter-toolbar{width:100%;max-width:100%;margin-inline:0}
.content .category-chips{width:100%;max-width:100%;justify-content:space-between;gap:5px}
.content .category-chips > .chip{
  flex:1 1 auto;min-width:max-content;padding:8px 7px;
  white-space:nowrap;gap:6px;
}
.content .category-chips .chip-category-icon{display:block;width:16px;height:16px;flex:0 0 16px}
.content .category-chips .chip-star .chip-icon{width:16px;height:16px}
.content .category-chips .chip-office img{width:16px;height:16px;flex:0 0 16px}
.content .category-chips [data-category="audio"] .chip-icon,
.content .category-chips [data-category="video"] .chip-icon{width:16px;height:16px;flex:0 0 16px}
@media(max-width:1180px){
  .content .category-chips{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}
  .content .category-chips > .chip{flex:0 0 auto;padding:8px 11px}
}

/* A neutral status and file-by-file explanation when a size target is missed. */
.compression-fallback{
  max-width:735px;margin:22px auto 24px;padding:18px 0 14px;
  text-align:left;border-top:1px solid #dfe2ed;border-bottom:1px solid #dfe2ed;
}
.compression-fallback h3{font-size:17px;line-height:1.4;font-weight:800;margin:0 0 7px;color:#292944}
.compression-fallback>p{margin:0 0 12px;color:#696f84;font-size:12px;line-height:1.7}
.compression-fallback h4{font-size:12px;font-weight:800;margin:17px 0 5px;color:#353652}
.compression-fallback #compressionFallbackFiles>p{font-size:11px;line-height:1.6;color:#81879a;margin:0 0 12px}
.compression-fallback ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;max-height:340px;overflow:auto}
.compression-fallback li{padding:9px 11px;border:1px solid #e5e7ef;border-radius:9px;background:#fff;overflow-wrap:anywhere}
.compression-fallback li strong{display:block;font-size:12px;color:#34354e}
.compression-fallback li small{display:block;color:#7d8195;font-size:10px;line-height:1.5;margin-top:3px}
.compression-fallback .compression-fallback-note{margin:13px 0 0;font-size:11px;color:#737890}
@media(max-width:720px){.compression-fallback{padding-inline:0}.compression-fallback h3{font-size:15px}}

/* Visual extraction of a signature or seal from a PDF/Word/photo source. */
.pdf-stamp-source-upload{display:grid;gap:8px;padding:12px 11px;border:1px solid #dfdbf5;background:#f4f1ff;border-radius:11px}
.pdf-stamp-source-upload>strong{font-size:11px;line-height:1.55;color:#453a79}
.pdf-stamp-source-upload-button{padding:11px 9px;cursor:pointer;text-align:center;border-radius:9px;border:1px solid #b6aaf7;background:#fff;color:#604ece;font-size:11px;font-weight:800;line-height:1.5}
.pdf-stamp-source-upload-button:hover{background:#eae5ff}
.pdf-stamp-source-upload p{font-size:10.5px;color:#72708b;line-height:1.65;margin:0}
.pdf-stamp-source-upload small{font-size:9.5px;color:#8583a4}
.pdf-stamp-prepared{display:grid;gap:9px;border:1px solid #e5e4ee;border-radius:11px;padding:12px 10px}
.pdf-stamp-prepared>strong{font-size:11px;color:#41415e}
.pdf-stamp-prepared small{color:#8d8ca4;font-size:10px;line-height:1.55}
.pdf-stamp-prepared-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.pdf-stamp-prepared-list button{display:grid;gap:5px;min-width:0;align-items:center;justify-items:center;border-radius:9px;border:1px solid #e3e3ef;background:#fff;padding:7px;cursor:pointer}
.pdf-stamp-prepared-list button.selected{border-color:#7564e9;background:#f2efff;box-shadow:0 0 0 1px #8a7aff55}
.pdf-stamp-prepared-list button img{width:100%;height:63px;object-fit:contain}
.pdf-stamp-prepared-list button span{font-size:10px;line-height:1.4;color:#605c83}
.pdf-stamp-source-section{border:1px solid #e2ddf6;padding:16px;background:#faf9ff;border-radius:13px;margin-top:18px;min-width:0}
.pdf-stamp-source-header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px}
.pdf-stamp-source-header strong{font-size:14px;color:#333052}
.pdf-stamp-source-header p{font-size:10.5px;color:#81839c;line-height:1.55;margin:4px 0 0}
.pdf-stamp-source-header button{font-size:10px;padding:7px}
.pdf-stamp-source-topbar{display:flex;align-items:center;gap:8px;margin:7px 0 11px}
.pdf-stamp-source-topbar button{border:1px solid #dedceb;color:#6554c4;border-radius:8px;background:#fff;width:35px;height:30px;cursor:pointer;font-size:21px}
.pdf-stamp-source-topbar button:disabled{color:#b5b7c5;cursor:not-allowed}
.pdf-stamp-source-topbar strong{font-size:11px;color:#444366;min-width:50px;text-align:center}
.pdf-stamp-source-topbar span{font-size:10px;color:#88869d;margin-left:auto}
.pdf-stamp-source-stage{max-height:560px;overflow:auto;border:1px solid #e3e2ee;border-radius:11px;background:#eeeeF6;padding:15px;display:flex;align-items:flex-start;justify-content:center}
.pdf-stamp-source-paper{flex:0 0 auto;position:relative;background:#fff;box-shadow:0 7px 22px #2c2b4c25;max-width:100%}
.pdf-stamp-source-paper img{width:100%;height:auto;display:block;user-select:none;pointer-events:none}
.pdf-stamp-source-overlay{position:absolute;inset:0;cursor:crosshair;touch-action:none;z-index:3}
.pdf-stamp-source-selection{position:absolute;pointer-events:none;z-index:4;border:2px solid #6858e0;background:#8470ee26;box-shadow:0 0 0 1px #fff}
.pdf-stamp-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.pdf-stamp-source-options label{display:grid;gap:5px;font-size:10.5px;font-weight:750;color:#5c587c}
.pdf-stamp-source-options select{width:100%;min-width:0;background:#fff;border:1px solid #dcd7f1;padding:9px;border-radius:8px;font-size:11px;color:#48435e}
.pdf-stamp-source-options .primary-button{grid-column:1/-1;justify-self:start}
.pdf-stamp-source-feedback{font-size:11px;line-height:1.65;color:#615d84;margin:12px 0 2px}
.pdf-stamp-source-feedback.error{color:#bb425f}
.pdf-stamp-source-feedback.success{color:#23835b}
.pdf-stamp-source-note{font-size:10px;line-height:1.65;color:#8e8da4;margin:9px 0 0}
#pdfEditorStampPreview{max-width:100%;width:auto;height:auto;max-height:145px}
@media(max-width:620px){
 .pdf-stamp-source-section{padding:10px}
 .pdf-stamp-source-stage{padding:9px}
 .pdf-stamp-source-topbar{flex-wrap:wrap}
 .pdf-stamp-source-topbar span{width:100%;margin-left:0}
 .pdf-stamp-source-options{grid-template-columns:1fr}
}

#pdfStampPrepared[hidden],#pdfStampSourceSection[hidden],#pdfStampSourceReopen[hidden]{display:none!important}
#pdfStampSourceReopen{font-size:10px;line-height:1.45;border:1px solid #cfc6f1;color:#6652c8;background:#fff;cursor:pointer;padding:8px 10px;border-radius:8px}
#pdfStampSourceReopen:hover{background:#eeebff}

.pdf-stamp-prepared-download{font-size:11px;color:#6955ce;font-weight:800;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.pdf-stamp-prepared-download:hover{color:#4d399f}
#pdfEditorOpened.stamp-mode .pdf-editor-honesty{display:none}

/* Separate seal/signature extraction and freely movable PDF stamp layers. */
.pdf-stamp-source-kind-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
.pdf-stamp-source-kind-picker button{border:1px solid #dad7ee;border-radius:10px;background:#fff;color:#58546f;padding:10px;font-size:11px;font-weight:850;cursor:pointer}
.pdf-stamp-source-kind-picker button.selected{background:#ece8ff;border-color:#7d69df;color:#6250c7;box-shadow:0 0 0 1px #7d69df38}
.pdf-stamp-source-instruction{font-size:11px;line-height:1.65;color:#625d82;margin:11px 0}
.pdf-stamp-source-options{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.pdf-stamp-source-options .primary-button{grid-column:auto;width:auto}
.pdf-stamp-layers{position:absolute;inset:0;z-index:5;pointer-events:none}
.pdf-stamp-layers .pdf-stamp-layer{position:absolute;border:1.5px dashed #6d58d9;
 background:#eae6ff16;box-shadow:0 0 0 1px #ffffffa1;touch-action:none;
 pointer-events:none;user-select:none;outline:0}
.pdf-stamp-layers.active .pdf-stamp-layer{pointer-events:auto;cursor:move}
.pdf-stamp-layers.active .pdf-stamp-layer.selected{border:2px solid #6753d8;box-shadow:0 0 0 2px #ffffffa8}
.pdf-stamp-layer>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.pdf-stamp-layer-resize{display:none;position:absolute;width:17px;height:17px;
 bottom:-9px;right:-9px;background:#6754d8;border:2px solid #fff;border-radius:5px;box-shadow:0 2px 6px #25243b5a;touch-action:none}
.pdf-stamp-layers.active .pdf-stamp-layer-resize{display:block;cursor:nwse-resize}
.pdf-stamp-layer-remove{display:none;position:absolute;top:-14px;right:-12px;width:22px;height:22px;
 border-radius:50%;background:#fff;color:#bd5169;border:1px solid #edcbd1;cursor:pointer;
 font-size:17px;line-height:1;box-shadow:0 2px 7px #24243925}
.pdf-stamp-layers.active .pdf-stamp-layer-remove{display:grid;place-items:center}
.pdf-stamp-pending-panel{display:grid;gap:8px;padding:13px;background:#fff;border:1px solid #dad8ec;border-radius:12px}
.pdf-stamp-pending-panel>strong{font-size:12px;color:#3e3a5a}
.pdf-stamp-pending-panel>p{font-size:11px;color:#7b7695;line-height:1.6;margin:0}
.pdf-stamp-pending-list{display:grid;gap:6px;max-height:190px;overflow:auto}
.pdf-stamp-pending-item{display:flex;align-items:center;border:1px solid #e3e1ee;border-radius:9px;min-width:0;background:#fff}
.pdf-stamp-pending-item.selected{border-color:#b5a9f2;background:#faf9ff}
.pdf-stamp-pending-item-select{flex:1;min-width:0;border:0;background:transparent;text-align:left;color:#534983;font-size:10.5px;font-weight:800;padding:10px 8px;cursor:pointer;overflow-wrap:anywhere}
.pdf-stamp-pending-item-remove{border:0;border-left:1px solid #ebe7f3;padding:7px 12px;color:#bc5063;background:transparent;font-size:18px;cursor:pointer}
#pdfStampClearAll{padding:9px;background:#fff;border:1px solid #e6e0eb;border-radius:9px;font-size:10px;color:#907e9a;cursor:pointer}
#pdfStampLayerStatus{font-size:10px;line-height:1.6;color:#76728f}
#pdfStampLayerStatus.error{color:#b84459}
.pdf-editor-save.stamp-pending-download{opacity:.5;cursor:not-allowed}
@media(max-width:680px){
 .pdf-stamp-source-kind-picker{grid-template-columns:1fr}
 .pdf-stamp-source-options{grid-template-columns:1fr}
}

/* Precise source selection: zoom, pan and corner handles. */
.pdf-stamp-source-zoom,.pdf-stamp-cleanup-zoom{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:10px 0}
.pdf-stamp-source-zoom button,.pdf-stamp-cleanup-zoom button,
.pdf-editor-zoom-button{min-width:31px;height:31px;border:1px solid #dfd9f2;border-radius:8px;
 background:#fff;color:#5b4bbf;font-size:16px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.pdf-stamp-source-zoom select,.pdf-stamp-cleanup-zoom select{padding:7px 8px;border:1px solid #e1daef;
 border-radius:8px;background:#fff;color:#515176;font-size:11px;min-height:31px}
.pdf-stamp-source-zoom #pdfStampSourcePan,.pdf-stamp-cleanup-zoom #pdfStampCleanupPan{padding-inline:10px;font-size:10px}
.pdf-stamp-source-zoom button.selected,.pdf-stamp-cleanup-zoom button.selected{
 background:#eae4ff;color:#5a46c5;border-color:#9381e3}
.pdf-stamp-source-zoom small,.pdf-stamp-cleanup-zoom small{font-size:10px;color:#8b8aa3;line-height:1.5}
#pdfStampSourceStage{display:block;text-align:center;overflow:auto;max-height:67vh}
#pdfStampSourcePaper{max-width:none;display:block;margin:0 auto}
#pdfStampSourcePaper img{width:100%;height:100%;object-fit:fill}
#pdfStampSourceOverlay.pan-mode{cursor:grab}
#pdfStampSourceOverlay.pan-mode.dragging-pan{cursor:grabbing}
#pdfStampSourceSelection{pointer-events:none}
.pdf-stamp-source-corner{display:block;position:absolute;width:13px;height:13px;border:2px solid #fff;
 background:#6954e8;border-radius:3px;box-shadow:0 1px 4px #231d5399;pointer-events:none}
.pdf-stamp-source-corner.tl{top:-8px;left:-8px}
.pdf-stamp-source-corner.tr{top:-8px;right:-8px}
.pdf-stamp-source-corner.bl{bottom:-8px;left:-8px}
.pdf-stamp-source-corner.br{bottom:-8px;right:-8px}
/* PDF target zoom must not be silently constrained by the editor's old max-width. */
#pdfEditorStage{justify-content:flex-start}
#pdfEditorPaper{max-width:none;margin-inline:auto}
.pdf-editor-zoom-button{flex:0 0 auto}
.pdf-editor-view-controls select{width:auto;min-width:72px}
/* Manual PNG cleanup erases alpha; checkerboard only exists behind the transparent canvas. */
.pdf-stamp-clean-trigger{padding:9px 8px;border:1px solid #b6a5f1;border-radius:8px;
 background:#f8f6ff;color:#5b48bd;font-size:11px;font-weight:800;cursor:pointer}
.pdf-stamp-clean-trigger:disabled{opacity:.5;cursor:not-allowed}
.pdf-stamp-prepared-card{min-width:0;display:grid;gap:4px;border:1px solid #e3e3ef;border-radius:9px;padding:6px}
.pdf-stamp-prepared-card>button:first-child{border:0;padding:2px}
.pdf-stamp-prepared-card>button:first-child.selected{background:#f0edff}
.pdf-stamp-prepared-clean{border:1px solid #dbd5f2;border-radius:7px;background:#fff;
 color:#6554c5;font-size:10px;font-weight:780;padding:7px 4px;cursor:pointer}
.pdf-stamp-prepared-clean:hover{background:#f0ecff}
.pdf-stamp-cleanup-panel{margin-top:16px;padding:17px;border:1px solid #dedaf4;border-radius:12px;
 background:#faf9ff;min-width:0}
.pdf-stamp-cleanup-header{display:flex;justify-content:space-between;align-items:start;gap:13px;margin-bottom:12px}
.pdf-stamp-cleanup-header h3{font-size:15px;color:#373352;margin:0 0 4px}
.pdf-stamp-cleanup-header p{font-size:10.5px;color:#8c89a2;line-height:1.6;margin:0}
.pdf-stamp-cleanup-header button{font-size:11px;padding:8px}
.pdf-stamp-cleanup-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.pdf-stamp-cleanup-controls label{display:flex;align-items:center;gap:9px;
 font-size:11px;font-weight:800;color:#514876;min-width:210px}
.pdf-stamp-cleanup-controls input[type=range]{width:118px;accent-color:#705dd7}
.pdf-stamp-cleanup-controls label span{min-width:40px;font-size:10px;font-weight:700;color:#7a739a}
.pdf-stamp-cleanup-controls button{border:1px solid #e1ddef;border-radius:8px;background:#fff;
 color:#6259a5;font-size:10.5px;font-weight:800;padding:9px;cursor:pointer}
.pdf-stamp-cleanup-controls button:disabled{opacity:.45;cursor:default}
.pdf-stamp-cleanup-viewport{max-height:56vh;min-height:195px;max-width:100%;overflow:auto;
 display:flex;align-items:flex-start;justify-content:flex-start;padding:13px;
 background:#fff;border:1px solid #e1ddee;border-radius:10px;
 background-image:linear-gradient(45deg,#f0f0f7 25%,transparent 25%),
 linear-gradient(-45deg,#f0f0f7 25%,transparent 25%),
 linear-gradient(45deg,transparent 75%,#f0f0f7 75%),
 linear-gradient(-45deg,transparent 75%,#f0f0f7 75%);
 background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
#pdfStampCleanupCanvas{display:block;max-width:none;flex:none;margin:0 auto;
 cursor:crosshair;touch-action:none}
#pdfStampCleanupCanvas.pan-mode{cursor:grab}
.pdf-stamp-cleanup-feedback{font-size:11px;line-height:1.6;color:#66628a;margin:10px 0}
.pdf-stamp-cleanup-feedback.error{color:#b34860}
.pdf-stamp-cleanup-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.pdf-stamp-cleanup-actions .primary-button{font-size:11px}
@media(max-width:620px){
 .pdf-stamp-cleanup-panel{padding:11px}
 .pdf-stamp-source-zoom small,.pdf-stamp-cleanup-zoom small{width:100%}
 .pdf-stamp-cleanup-header h3{font-size:13px}
 .pdf-stamp-cleanup-actions .primary-button{width:100%}
 .pdf-stamp-cleanup-controls label{width:100%}
}

/* Signature tool needs no target-area selection before adding an element. */
#pdfEditorOpened.stamp-only #pdfEditorModeText,
#pdfEditorOpened.stamp-only #pdfEditorModeArea,
#pdfEditorOpened.stamp-only .pdf-editor-selected-info{display:none}
#pdfEditorOpened.stamp-only .pdf-editor-modebar span{color:#6d67a1}
.pdf-stamp-prepared-list .pdf-stamp-prepared-card>button:first-child.selected{
 background:#eeebff;border:1px solid #a699f2
}
.pdf-stamp-prepared-list .pdf-stamp-prepared-card>button:first-child{width:100%}

/* Eight clearly visible drag handles on stamp-source crop rectangle.
   The pointer overlay beneath calculates cursor and resize direction. */
.pdf-stamp-source-corner,.pdf-stamp-source-edge{
  width:16px;height:16px;display:block;position:absolute;
  border:2px solid #fff;background:#6751e6;border-radius:4px;
  box-shadow:0 1px 7px #27206099;pointer-events:none;
}
.pdf-stamp-source-corner.tl{top:-9px;left:-9px}
.pdf-stamp-source-corner.tr{top:-9px;right:-9px}
.pdf-stamp-source-corner.bl{bottom:-9px;left:-9px}
.pdf-stamp-source-corner.br{bottom:-9px;right:-9px}
.pdf-stamp-source-edge.top{top:-9px;left:50%;transform:translateX(-50%)}
.pdf-stamp-source-edge.bottom{bottom:-9px;left:50%;transform:translateX(-50%)}
.pdf-stamp-source-edge.left{left:-9px;top:50%;transform:translateY(-50%)}
.pdf-stamp-source-edge.right{right:-9px;top:50%;transform:translateY(-50%)}
#pdfStampSourceOverlay{touch-action:none}

/* Signature/seal tool: one prominent save-and-download action on the PDF canvas. */
#pdfStampMainSave{display:none;width:100%;min-height:62px;margin:16px 0 9px;
 border:0;border-radius:12px;background:linear-gradient(108deg,#6455e9,#6d4ede);
 color:#fff;font-weight:850;font-size:16px;letter-spacing:-.01em;
 box-shadow:0 6px 19px #6252e72e;cursor:pointer;align-items:center;justify-content:center}
#pdfEditorOpened.stamp-mode #pdfStampMainSave{display:flex}
#pdfEditorOpened.stamp-mode #pdfEditorDownload{display:none!important}
#pdfStampMainSave:hover:not(:disabled){background:linear-gradient(108deg,#5340d4,#6242cc)}
#pdfStampMainSave:disabled{opacity:.55;box-shadow:none;cursor:not-allowed}
.pdf-stamp-color-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.pdf-stamp-color-actions button{border:1px solid #d7d3e9;border-radius:9px;
 padding:9px 5px;font-size:11px;font-weight:800;cursor:pointer}
.pdf-stamp-color-blue{background:#eaf0ff;color:#244fb1}
.pdf-stamp-color-mono{background:#f5f5f8;color:#4b4e5e}
.pdf-stamp-color-actions button:hover:not(:disabled){filter:brightness(.96)}
.pdf-stamp-color-actions button.selected{border-color:#7061d8;box-shadow:inset 0 0 0 1px #7665d5}
.pdf-stamp-color-actions button:disabled{opacity:.55;cursor:wait}
#pdfStampColorActions[hidden]{display:none!important}

/* Upload a document into any text/AI tool. */
.ai-file-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;
 padding:14px 16px;margin:12px 0 18px;border:1px dashed #c5c0eb;
 border-radius:13px;background:#faf9ff;min-width:0}
.ai-file-upload.dragging{background:#f0edff;border-color:#7360d8}
.ai-file-upload.busy{opacity:.75}
.ai-file-description{display:flex;align-items:flex-start;gap:11px;flex:1 1 310px;min-width:0}
.ai-file-icon{width:24px;height:24px;flex:0 0 24px;color:#6754d7}
.ai-file-description strong{display:block;color:#363254;font-size:12px;font-weight:800}
.ai-file-description p{font-size:10.5px;color:#777894;line-height:1.65;margin:3px 0 0}
.ai-file-choose{font-size:11px;font-weight:850;color:#5c4cc2;background:#fff;
 border:1px solid #bdb2f1;border-radius:9px;cursor:pointer;padding:10px 13px}
.ai-file-choose:hover{background:#ede8ff}
.ai-file-choose:disabled{opacity:.5;cursor:wait}
.ai-file-status{flex:0 0 100%;font-size:11px;color:#377a62;line-height:1.55;overflow-wrap:anywhere}
.ai-file-status:empty{display:none}
.ai-file-status.error{color:#ae4660}
.ai-file-remove{border:0;background:transparent;color:#6c5cc7;
 font-size:10px;font-weight:750;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px}
#aiFileRemove[hidden]{display:none!important}
.ai-translate-fields{display:grid;gap:10px;align-content:start;border:1px solid #e2def5;
 padding:14px;border-radius:11px;background:#f9f8ff}
.ai-language-from{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#6860a5;font-size:11px}
.ai-language-from svg{width:18px;height:18px;flex:0 0 18px}
.ai-language-from strong{font-size:12px;color:#48406f}
.ai-language-from span{font-size:10px;color:#767695}
.ai-translate-fields>label{font-size:12px;font-weight:800;color:#443d73}
.ai-translate-fields select{font-size:13px;background:#fff;border:1px solid #b8adee;
 padding:12px;border-radius:8px;max-width:540px;width:100%;color:#352f56}
.ai-action-icon{width:18px;height:18px;flex:0 0 18px}
.format-rule-icon svg{width:18px;height:18px}
.pdf-stamp-download-fallback{display:none;text-align:center;color:#6252c7;
 font-size:11px;font-weight:750;margin:8px 0 12px;text-decoration:underline;text-underline-offset:3px}
#pdfEditorOpened.stamp-mode #pdfStampDownloadFallback:not([hidden]){display:block}
@media(max-width:630px){
 .ai-file-upload{padding:11px}
 .ai-file-description{flex-basis:100%}
 .ai-file-choose{width:100%}
 .ai-language-from{gap:6px}
 .ai-translate-fields{padding:11px}
}
