:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Microsoft JhengHei",sans-serif;color:#191c20;background:#fff;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.container{max-width:1100px;margin:auto;padding:0 28px}.site-header{height:76px;border-bottom:1px solid #f0f0ef;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:30;backdrop-filter:blur(14px)}.nav-inner{display:flex;align-items:center;justify-content:space-between;height:100%}.brand{font-size:24px;letter-spacing:-1.35px;font-weight:750;display:flex;align-items:center;gap:9px}.brand-icon{display:grid;place-items:center;width:30px;height:30px;background:#1c1d1f;color:white;border-radius:9px;font-weight:700;font-size:21px}.brand-icon span{color:#9ca2ab}.brand-sub{font-size:12px;letter-spacing:-.2px;font-weight:500;margin-left:3px;color:#9298a1}.desktop-nav{display:flex;gap:37px;color:#575d63;font-size:13px}.desktop-nav a:hover{color:#111}.header-tag{font-size:12px;border:1px solid #e7e7e7;border-radius:99px;padding:9px 15px;color:#666}.hero{padding-top:106px;padding-bottom:109px;text-align:center}.eyebrow{color:#575e63;font-size:12px;letter-spacing:.08em;display:inline-flex;align-items:center;gap:8px;border:1px solid #e7e9eb;border-radius:99px;padding:9px 15px}.signal{width:7px;height:7px;border-radius:50%;background:#4bac72}.hero h1{margin:25px 0 19px;font-size:clamp(54px,7vw,84px);letter-spacing:-.078em;line-height:1.09;font-weight:700}.hero h1 span{color:#858a93}.hero>p{max-width:600px;margin:0 auto;color:#727982;font-size:16px;line-height:1.9}.hero-actions{display:flex;justify-content:center;gap:15px;margin:30px 0 31px}.button{display:inline-flex;justify-content:center;align-items:center;gap:21px;border:1px solid transparent;border-radius:11px;padding:15px 24px;font-weight:600;font-size:14px;transition:transform .16s,background .16s}.button:hover:not(:disabled){transform:translateY(-1px)}.button-dark{background:#1f2227;color:white}.button-dark:disabled{background:#c2c5c8;cursor:not-allowed}.button-text{background:white;color:#30363b}.button-outline{background:#fff;border:1px solid #d9dce0;color:#30363b}.hero-points{display:flex;gap:24px;justify-content:center;color:#8a9097;font-size:12px}.tool-section{background:#fafafa;border-top:1px solid #f1f1f1;border-bottom:1px solid #eee;padding:81px 0 93px;scroll-margin-top:76px}.section-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-kicker{display:block;font-size:10px;letter-spacing:.19em;color:#9197a0;font-weight:700;margin-bottom:16px}.section-top h2,.steps h2,.faq-grid h2,.workspace h2{font-size:clamp(26px,3.2vw,39px);margin:0;letter-spacing:-.055em;line-height:1.2}.section-top p{font-size:13px;color:#9399a0;margin-bottom:7px}.filters{display:flex;gap:8px;margin-bottom:22px;overflow:auto;padding:2px 0 3px}.filter{white-space:nowrap;border:1px solid #e7e8e9;border-radius:999px;background:white;padding:10px 16px;color:#6f7680;font-size:12px}.filter.selected{background:#22252a;color:white;border-color:#22252a}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tool-card{text-align:left;border:1px solid #e9e9e9;border-radius:16px;background:#fff;padding:23px;min-height:170px;transition:box-shadow .2s,transform .2s,border-color .2s}.tool-card:hover{box-shadow:0 13px 35px #1218260d;transform:translateY(-3px);border-color:#d1d5da}.tool-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#f4f5f7;font-size:21px;color:#4c5662;margin-bottom:19px}.tool-name{display:flex;justify-content:space-between;gap:10px;font-size:15px;font-weight:650;margin-bottom:7px}.tool-name span{color:#a3a7ac;font-size:19px;font-weight:400}.tool-desc{font-size:12px;color:#9297a0;line-height:1.65}.workspace-wrap{padding-top:49px;padding-bottom:55px;scroll-margin-top:76px}.workspace{border:1px solid #e4e7ea;border-radius:20px;padding:33px;box-shadow:0 14px 50px #1019270d}.workspace-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px}.workspace-head .section-kicker{margin-top:20px}.workspace-head p{color:#858c94;font-size:13px;line-height:1.6}.back-btn{background:transparent;border:0;padding:0;color:#71777e;font-size:12px}.close-btn{align-self:start;background:#f4f5f6;border:0;width:34px;height:34px;border-radius:50%;font-size:21px;color:#777}.dropzone{border:1.5px dashed #cfd4da;border-radius:15px;background:#fbfcfd;min-height:245px;padding:30px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;outline:0;cursor:pointer;text-align:center}.dropzone:hover,.dropzone:focus,.dropzone.dragging{border-color:#43474d;background:#f7f8f9}.upload-icon{width:48px;height:48px;border:1px solid #e8eaec;border-radius:14px;display:grid;place-items:center;background:white;color:#555;font-size:28px;margin-bottom:8px}.dropzone strong{font-size:15px}.dropzone span{font-size:12px;color:#8c949d}.dropzone small{font-size:11px;color:#aab0b8;margin-top:9px}.file-list{margin:17px 0;display:grid;gap:8px}.file-item{padding:12px 15px;border:1px solid #edf0f1;border-radius:9px;display:flex;justify-content:space-between;gap:12px;font-size:12px}.file-item b{font-weight:500;word-break:break-all}.file-item span{color:#858c94;white-space:nowrap}.options-area{margin:16px 0}.options-area label{display:block;font-size:12px;color:#606771;font-weight:600;margin:12px 0 7px}.options-area input,.options-area select{width:100%;border:1px solid #d7dce1;border-radius:10px;padding:13px 14px;font:inherit;font-size:13px;background:white;color:#20252b}.option-hint{font-size:12px;color:#9297a1;margin:8px 0}.feedback{padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.5;margin:17px 0;background:#eef5ef;color:#266b3a}.feedback.error{background:#fff0ee;color:#a32f21}.workspace-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.steps{padding-top:92px;padding-bottom:102px}.steps h2{margin-bottom:42px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}.step-grid>div{border-top:1px solid #e5e8eb;padding-top:19px}.step-grid span{color:#aeb4ba;font-size:12px}.step-grid h3{font-size:18px;margin:18px 0 10px;letter-spacing:-.035em}.step-grid p{font-size:13px;color:#8a9199;line-height:1.7}.faq-section{background:#f8f9fa;padding:87px 0}.faq-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:45px}.faq-list details{border-bottom:1px solid #e2e5e8;padding:15px 0}.faq-list summary{cursor:pointer;list-style:none;font-size:14px;font-weight:600;padding:8px 24px 8px 0;position:relative}.faq-list summary::after{content:'+';position:absolute;right:0;color:#8e959c;font-size:19px;top:5px}.faq-list details[open] summary::after{content:'−'}.faq-list p{font-size:13px;color:#818790;line-height:1.8;margin:8px 0 12px}footer{padding:48px 0;border-top:1px solid #eee}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand{font-size:19px;font-weight:800;letter-spacing:-1px}.footer-brand span{font-size:11px;color:#979ca1;font-weight:500;margin-left:4px;letter-spacing:0}.footer-row small{font-size:11px;color:#9aa1a9}.footer-links{display:flex;gap:26px;font-size:12px;color:#777}.simple-page{max-width:760px;padding-top:75px;padding-bottom:100px}.simple-page h1{font-size:40px;letter-spacing:-.05em}.simple-page p,.simple-page li{color:#626a72;line-height:1.9;font-size:14px}.simple-page a{text-decoration:underline;overflow-wrap:anywhere}.simple-page code{overflow-wrap:anywhere;word-break:break-all}.simple-page h2{margin-top:34px;font-size:20px}@media(max-width:780px){.desktop-nav{display:none}.header-tag{display:none}.container{padding-left:20px;padding-right:20px}.hero{padding-top:72px;padding-bottom:73px}.hero h1{font-size:clamp(48px,10vw,70px)}.hero>p{font-size:14px}.hero-points{flex-wrap:wrap;gap:12px}.section-top{display:block}.section-top p{margin-top:13px}.tool-grid{grid-template-columns:repeat(2,1fr)}.faq-grid{grid-template-columns:1fr;gap:30px}.step-grid{gap:20px}.footer-row{flex-wrap:wrap}}@media(max-width:530px){.tool-grid{grid-template-columns:1fr}.tool-card{min-height:145px}.hero-actions{gap:4px;flex-wrap:wrap}.hero-points span{font-size:11px}.workspace{padding:19px}.workspace-actions{flex-direction:column}.workspace-actions button{width:100%}.step-grid{grid-template-columns:1fr}.footer-links{order:3;width:100%}.steps{padding-top:68px;padding-bottom:70px}}

/* v1.7: multi-file ordering, accessible buttons and spreadsheet selection */
.file-item{align-items:center}.file-detail{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.file-detail b{overflow-wrap:anywhere}.file-detail span{font-size:11px}.file-actions{display:flex;gap:5px;align-items:center;flex-shrink:0}.file-action{width:31px;height:31px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#38404b;font-size:16px;line-height:1}.file-action:hover:not(:disabled){background:#f1f3f5;border-color:#aab4bf}.file-action:focus-visible{outline:2px solid #343a44;outline-offset:2px}.file-action:disabled{opacity:.28;cursor:not-allowed}.options-area select:disabled{color:#91969c;background:#f5f6f8}@media(max-width:530px){.file-item{padding:10px}.file-actions{gap:3px}.file-action{width:29px;height:29px}}

/* v1.9: bounded PDF thumbnails and honest conversion progress. */
.preview-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}
.button-small{font-size:12px;padding:10px 14px;gap:7px;border-radius:10px}
.button-small:disabled{opacity:.45;cursor:not-allowed;transform:none}
.preview-note{font-size:11px;color:#828994;line-height:1.5}
.preview-gallery{margin-top:16px;border:1px solid #e6e8eb;border-radius:12px;background:#fafbfc;padding:15px}
.preview-gallery[hidden]{display:none}
.preview-summary{font-size:12px;color:#59616b;margin:0 0 12px;line-height:1.5}
.preview-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:10px}
.preview-page{display:flex;align-items:center;flex-direction:column;gap:7px;border:1px solid #e0e4e8;border-radius:10px;padding:10px 6px;background:white;color:#58626e;font-size:11px;min-height:138px}
.preview-page img{display:block;width:100%;height:105px;object-fit:contain;background:#f5f6f7}
.preview-page.is-selected{border-color:#3a414b;outline:1px solid #3a414b;color:#1b2027}
.preview-page:focus-visible{outline:2px solid #26323c;outline-offset:3px}
.sheet-summary{margin:10px 0;font-size:12px;line-height:1.7;color:#737b85}
.progress-panel{border:1px solid #e5e9ec;border-radius:10px;padding:13px 15px;margin:16px 0;background:#fff}
.progress-panel[hidden]{display:none}
.progress-label{font-size:12px;color:#505962;margin-bottom:10px}
.progress-track{height:7px;border-radius:100px;overflow:hidden;background:#eef1f3}
.progress-fill{height:100%;width:35%;border-radius:100px;background:#404750;transition:width .2s}
@media(prefers-reduced-motion:no-preference){.progress-track.progress-indeterminate .progress-fill{animation:leonixPulse 1.8s ease-in-out infinite alternate}}
@keyframes leonixPulse{from{transform:translateX(-70%)}to{transform:translateX(220%)}}
@media(max-width:530px){.preview-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v1.11: page organizer; native drag-drop + keyboard-accessible arrows. */
.organizer-list{display:grid;gap:8px;max-height:580px;overflow:auto;margin-top:12px;padding:2px 5px 2px 0}
.organizer-item{display:flex;align-items:center;gap:12px;border:1px solid #e1e5e9;background:#fff;border-radius:10px;padding:8px 10px;cursor:grab}
.organizer-item:focus-within{border-color:#747d88}
.organizer-thumb{flex-shrink:0;width:44px;height:55px;border-radius:5px;background:#f3f5f7;display:flex;align-items:center;justify-content:center;color:#636d78;font-size:12px;overflow:hidden}
.organizer-thumb img{width:100%;height:100%;object-fit:contain}
.organizer-title{flex:1;min-width:0;font-size:12px;font-weight:600}
#organizerReset{margin-top:5px}
.workspace-actions button[hidden]{display:none}
@media(max-width:530px){.organizer-item{gap:7px}.organizer-thumb{width:35px;height:46px}.organizer-item .file-action{width:26px;height:29px}}

/* v1.10: one in-memory output can be downloaded again; never persisted. */
.result-panel{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dce6df;background:#f8fbf9;border-radius:12px;margin:14px 0}
.result-panel[hidden]{display:none}
.result-detail{display:flex;flex-direction:column;gap:5px;min-width:0}
.result-detail strong{font-size:13px;overflow-wrap:anywhere;font-weight:650}
.result-detail span{font-size:11px;color:#6d7771}
@media(max-width:530px){.result-panel{align-items:stretch;flex-direction:column}.result-panel button{width:100%}}

/* v1.12 batch file statuses: local-only filenames, never file contents. */
.batch-summary{margin:14px 0;padding:14px 16px;background:#f8f9fc;border:1px solid #e6e9ee;border-radius:12px}
.batch-summary[hidden]{display:none}
.batch-summary>strong{font-size:13px;font-weight:650}
.batch-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;max-height:280px;overflow:auto}
.batch-item{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px;padding:7px 9px;border-radius:7px;background:white;border:1px solid #edf0f3}
.batch-name{min-width:0;overflow-wrap:anywhere}
.batch-status{text-align:right;flex-shrink:0;max-width:60%;overflow-wrap:anywhere;color:#596577}
.batch-status[data-state="success"]{color:#167249}
.batch-status[data-state="failed"]{color:#a73535}
.batch-status[data-state="running"]{color:#245fac}
@media(max-width:530px){.batch-item{flex-direction:column;align-items:stretch}.batch-status{max-width:100%;text-align:left}}

/* v1.17: touch-accessible upload queue and explicit in-memory result cleanup. */
.upload-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding:12px 14px;border:1px solid #e6e9ec;border-radius:12px;background:#fafbfc}
.upload-toolbar[hidden],.upload-toolbar-actions button[hidden]{display:none}
.file-summary{font-size:12px;font-weight:600;color:#4c5661;margin:0;line-height:1.55}
.upload-toolbar-actions,.result-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.upload-toolbar-actions button,.result-actions button{min-height:44px}
.dropzone.is-busy{cursor:not-allowed;opacity:.7}
.dropzone:focus-visible,.button:focus-visible,.back-btn:focus-visible,.close-btn:focus-visible{outline:2px solid #334454;outline-offset:3px}
.close-btn{min-width:44px;min-height:44px}
.file-action{min-width:40px;min-height:40px;width:40px;height:40px}
@media(max-width:530px){
  .dropzone{min-height:172px;padding:24px 15px;gap:8px}
  .upload-toolbar{align-items:stretch;flex-direction:column}
  .upload-toolbar-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .upload-toolbar-actions button{width:100%;padding:10px 8px;font-size:12px}
  .result-actions{display:grid;grid-template-columns:1fr 1fr}
  .result-actions button{width:100%;padding:10px 8px}
  .file-item{flex-wrap:wrap;gap:10px}
  .file-actions{margin-left:auto}
  .file-action{min-width:44px;min-height:44px;width:44px;height:44px}
  .organizer-item .file-action{min-width:40px;min-height:44px;width:40px;height:44px}
}

/* v1.22: visually match disabled controls to the locked conversion state. */
.tool-card:disabled,.filter:disabled{cursor:not-allowed;opacity:.54;transform:none}
.result-actions button:disabled{cursor:not-allowed;opacity:.45}

/* v1.23: explicit, accessible opt-in for flattening AcroForm before page copying. */
.options-area .form-flatten-option{display:flex;align-items:flex-start;gap:11px;font-size:13px;line-height:1.6;color:#343b43;cursor:pointer;padding:12px 13px;border:1px solid #e3e6ea;border-radius:10px;background:#fbfcfd}
.options-area .form-flatten-option input{width:19px;height:19px;margin:1px 0 0;flex:0 0 19px;accent-color:#303e4d}
.options-area .form-flatten-option input:focus-visible{outline:2px solid #26323c;outline-offset:3px}
.options-area .form-flatten-option:has(input:checked){border-color:#bac9d3;background:#f2f6f9}

/* MALYOR Brand Kit v1: text-only wordmark + frozen M icon. Scoped to File Tools. */
.malyor-wordmark{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:20px;font-weight:760;line-height:1.02;letter-spacing:.025em;color:#1d1d1f;white-space:nowrap}
.malyor-wordmark--footer{font-size:19px;font-weight:770}
.brand-mark{display:block;width:30px;height:30px;flex:none}
@media(max-width:600px){.malyor-wordmark{font-size:19px}}

/* MALYOR language switch: accessible two-choice control, no external resources. */
.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #e2e5e8;border-radius:11px;background:#fafafa;flex-shrink:0}
.language-switch button{border:0;border-radius:8px;background:transparent;color:#646b73;padding:8px 11px;min-height:36px;min-width:43px;font-size:12px;font-weight:650;line-height:1}
.language-switch button.is-active,.language-switch button[aria-pressed="true"]{background:#202329;color:white}
.language-switch button:focus-visible{outline:2px solid #244c80;outline-offset:3px}
@media(max-width:530px){.language-switch button{padding:7px 9px}.nav-inner{gap:10px}}
