:root{--zpt-blue:#2367e8;--zpt-blue-dark:#164fbe;--zpt-ink:#17233a;--zpt-muted:#68758a;--zpt-soft:#f3f7fc;--zpt-line:#dce5f0;--zpt-card:#fff;--zpt-green:#168a62;--zpt-shadow:0 0 0 1px rgba(10,35,75,.06),0 1px 2px -1px rgba(10,35,75,.06),0 12px 36px rgba(34,76,130,.08)}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body.zmt-pdf-tools-page{background:#edf3f9}
body.zmt-pdf-tools-page>main.container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.zmt-pdf-tools-page .content-wrap,body.zmt-pdf-tools-page .content-layout,body.zmt-pdf-tools-page .wp-posts-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
body.zmt-pdf-tools-page .page-article{overflow:visible!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
.zpt-app,.zpt-app *{box-sizing:border-box}
.zpt-app{width:100%;min-height:calc(100vh - 86px);padding:30px clamp(24px,3.2vw,64px) 36px;color:var(--zpt-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:radial-gradient(circle at 8% 2%,rgba(48,121,247,.1),transparent 24rem),linear-gradient(180deg,#f7faff 0,#eef4fa 52%,#eaf1f8 100%)}
.zpt-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:clamp(28px,5vw,84px);max-width:1800px;min-height:224px;margin:0 auto 24px;padding:clamp(28px,3.5vw,54px);overflow:hidden;color:#fff;background:radial-gradient(circle at 78% 12%,rgba(119,170,255,.34),transparent 18rem),linear-gradient(125deg,#102b54 0%,#174fa8 58%,#2874e7 100%);border-radius:30px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 5px rgba(10,35,75,.12),0 22px 54px rgba(23,73,148,.2)}.zpt-header:before,.zpt-header:after{position:absolute;content:"";pointer-events:none;border:1px solid rgba(255,255,255,.13);border-radius:50%}.zpt-header:before{right:-90px;bottom:-210px;width:440px;height:440px}.zpt-header:after{right:210px;top:-160px;width:320px;height:320px}.zpt-header-copy,.zpt-privacy-panel{position:relative;z-index:1}.zpt-header-copy{max-width:780px}.zpt-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;color:#d8e7ff;font-size:13px;font-weight:800;letter-spacing:.1em}.zpt-eyebrow i{width:8px;height:8px;background:#71e0bc;border-radius:50%;box-shadow:0 0 0 5px rgba(113,224,188,.14)}
.zpt-brand{display:flex;align-items:center;gap:18px}.zpt-mark{position:relative;display:grid;place-items:center;flex:0 0 auto;width:62px;height:70px;color:#fff;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.1));border-radius:18px;box-shadow:0 0 0 1px rgba(255,255,255,.2),0 14px 30px rgba(4,29,72,.2);backdrop-filter:blur(10px)}.zpt-mark:after{position:absolute;right:0;top:0;width:18px;height:18px;content:"";background:#92bdff;border-radius:0 18px 0 9px}.zpt-mark i{position:absolute;inset:11px;border:1px solid rgba(255,255,255,.3);border-radius:9px}.zpt-mark b{position:relative;font-size:15px;letter-spacing:.08em}.zpt-brand h1{margin:0;color:#fff;font-size:clamp(30px,2.6vw,44px);line-height:1.08;letter-spacing:-.04em;text-wrap:balance}.zpt-brand p{max-width:650px;margin:9px 0 0;color:rgba(235,243,255,.82);font-size:15px;line-height:1.75;text-wrap:pretty}.zpt-header-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.zpt-header-points span{min-height:30px;padding:6px 11px;color:#eaf3ff;background:rgba(255,255,255,.1);border-radius:999px;box-shadow:0 0 0 1px rgba(255,255,255,.12);font-size:12px;font-weight:700}
.zpt-privacy-panel{flex:0 1 380px;min-width:320px;padding:20px;background:rgba(7,31,70,.28);border-radius:22px;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 18px 40px rgba(3,25,62,.18);backdrop-filter:blur(14px)}.zpt-privacy{display:flex;align-items:center;gap:12px}.zpt-privacy>span{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;color:#0a6d50;background:#dff8ee;border-radius:13px;font-weight:900}.zpt-privacy strong,.zpt-privacy small{display:block}.zpt-privacy strong{color:#fff;font-size:15px}.zpt-privacy small{margin-top:3px;color:rgba(230,240,255,.72);font-size:12px}.zpt-privacy-panel>p{margin:15px 0;color:rgba(235,243,255,.78);font-size:13px;line-height:1.65;text-wrap:pretty}.zpt-local-route{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:13px;border-top:1px solid rgba(255,255,255,.13);color:#fff;font-size:12px;font-weight:750}.zpt-local-route i{color:#83b6ff;font-size:17px;font-style:normal}
.zpt-tools{display:grid;grid-template-columns:repeat(10,minmax(118px,1fr));gap:10px;max-width:1800px;margin:0 auto 18px;padding:10px;background:rgba(255,255,255,.65);border-radius:22px;box-shadow:var(--zpt-shadow);overflow-x:auto}.zpt-tool{position:relative;min-height:112px;padding:12px 10px;color:var(--zpt-muted);background:transparent;border:0;border-radius:14px;cursor:pointer;text-align:center;transition-property:color,background-color,box-shadow,scale;transition-duration:160ms;transition-timing-function:ease-out}.zpt-tool:active{scale:.96}.zpt-tool:hover{color:var(--zpt-ink);background:rgba(234,241,251,.72)}.zpt-tool.is-active{color:var(--zpt-blue-dark);background:#fff;box-shadow:0 0 0 1px rgba(35,103,232,.08),0 8px 24px rgba(35,103,232,.12)}.zpt-tool>span{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 7px;color:var(--zpt-blue-dark);background:#eaf1ff;border-radius:11px;font-size:15px;font-weight:900}.zpt-tool.is-active>span{color:#fff;background:var(--zpt-blue)}.zpt-tool strong,.zpt-tool small{display:block;white-space:nowrap}.zpt-tool strong{font-size:14px}.zpt-tool small{margin-top:3px;font-size:12px;font-weight:400}
.zpt-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.65fr);gap:18px;max-width:1800px;margin:0 auto}.zpt-file-column,.zpt-control-column{min-width:0;padding:24px;background:rgba(255,255,255,.9);border-radius:24px;box-shadow:var(--zpt-shadow)}.zpt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.zpt-section-heading>div{display:flex;align-items:center;gap:10px}.zpt-section-heading span{display:grid;place-items:center;width:34px;height:34px;color:var(--zpt-blue);background:#edf3ff;border-radius:10px;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.zpt-section-heading h2{margin:0;font-size:20px;letter-spacing:-.02em;text-wrap:balance}.zpt-section-heading>small{color:var(--zpt-muted);font-size:13px;text-align:right}
.zpt-drop{display:grid;place-items:center;min-height:280px;padding:34px;text-align:center;background:linear-gradient(180deg,#f8fbff,#f1f6fd);border:2px dashed #b9cbe2;border-radius:18px;cursor:pointer;transition-property:border-color,background-color,transform;transition-duration:160ms;transition-timing-function:ease-out}.zpt-drop:hover,.zpt-drop.is-dragging{background:#edf4ff;border-color:var(--zpt-blue);transform:translateY(-1px)}.zpt-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.zpt-upload-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:14px;color:var(--zpt-blue);background:#fff;border-radius:18px;box-shadow:0 0 0 1px rgba(35,103,232,.08),0 10px 24px rgba(35,103,232,.12);font-size:30px;font-weight:300}.zpt-drop>strong{font-size:20px}.zpt-drop>small{margin-top:7px;color:var(--zpt-muted);font-size:14px}.zpt-drop>b{min-height:42px;margin-top:18px;padding:11px 18px;color:#fff;background:var(--zpt-blue);border-radius:12px;font-size:14px}
.zpt-files{display:grid;gap:9px;margin-top:14px}.zpt-empty-files{display:none}.zpt-file{display:grid;grid-template-columns:44px minmax(0,1fr) auto 40px;gap:11px;align-items:center;min-height:64px;padding:9px 10px;background:#f8fafd;border-radius:14px;box-shadow:0 0 0 1px rgba(16,42,77,.05)}.zpt-file-badge{display:grid;place-items:center;width:42px;height:42px;color:#d6473f;background:#fff0ef;border-radius:11px;font-size:11px;font-weight:900}.zpt-file>div:nth-child(2){min-width:0}.zpt-file strong,.zpt-file small{display:block}.zpt-file strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.zpt-file small{margin-top:3px;color:var(--zpt-muted);font-size:12px;font-variant-numeric:tabular-nums}.zpt-file-order{display:flex;gap:3px}.zpt-file-order button,.zpt-file-remove{display:grid;place-items:center;min-width:40px;min-height:40px;padding:0;border:0;border-radius:10px;cursor:pointer}.zpt-file-order button{color:var(--zpt-muted);background:#edf2f8}.zpt-file-order button:disabled{opacity:.3;cursor:default}.zpt-file-remove{color:#bf5149;background:#fff0ef;font-size:20px}.zpt-file-order button:active,.zpt-file-remove:active{scale:.96}
.zpt-control-column{display:flex;flex-direction:column}.zpt-options{display:grid;gap:16px;min-height:260px;padding:18px;background:#f6f9fd;border-radius:18px}.zpt-options label{display:grid;gap:7px;color:var(--zpt-ink);font-size:14px;font-weight:700}.zpt-options input,.zpt-options select{width:100%;min-height:46px;padding:0 13px;color:var(--zpt-ink);background:#fff;border:1px solid #cbd7e6;border-radius:11px;font:inherit;font-weight:500;outline:none}.zpt-options input:focus,.zpt-options select:focus{border-color:var(--zpt-blue);box-shadow:0 0 0 3px rgba(35,103,232,.13)}.zpt-options input[type=range]{min-height:40px;padding:0}.zpt-options small{color:var(--zpt-muted);font-size:12px;font-weight:400}.zpt-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.zpt-option-note,.zpt-warning{display:flex;flex-direction:column;justify-content:center;min-height:96px;padding:16px;border-radius:13px}.zpt-option-note{color:#275394;background:#eaf2ff}.zpt-warning{color:#88521b;background:#fff3df}.zpt-option-note strong,.zpt-warning strong{font-size:14px}.zpt-option-note span,.zpt-warning span{margin-top:5px;font-size:13px;line-height:1.55;text-wrap:pretty}.zpt-option-lead{margin:0;color:var(--zpt-muted);font-size:14px}
.zpt-options:has(.zpt-option-panel){min-height:0;padding:0;background:transparent}.zpt-option-panel{display:grid;gap:18px;padding:20px;background:linear-gradient(180deg,#f7faff,#f2f7fd);border-radius:22px;box-shadow:0 0 0 1px rgba(17,54,103,.055),0 8px 22px rgba(34,76,130,.055);animation:zpt-panel-in 260ms cubic-bezier(.2,0,0,1) both}.zpt-option-intro{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid #e2eaf4}.zpt-option-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;color:var(--zpt-blue-dark);background:#e5efff;border-radius:13px;font-size:18px;font-weight:900}.zpt-option-intro strong{display:block;font-size:15px}.zpt-option-intro p{margin:4px 0 0;color:var(--zpt-muted);font-size:12px;line-height:1.55;text-wrap:pretty}.zpt-compact-fields{align-items:start}.zpt-compact-fields label{align-content:start}.zpt-compact-fields label>span,.zpt-password-field>span{display:flex;align-items:center;justify-content:space-between;min-height:22px}.zpt-compact-fields em{color:var(--zpt-muted);font-size:11px;font-style:normal;font-weight:500}.zpt-option-panel input,.zpt-option-panel select{min-height:54px;border-color:#c8d5e6;border-radius:13px;box-shadow:0 1px 2px rgba(18,45,82,.03)}.zpt-field-help{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;color:#536784;background:#eaf2ff;border-radius:12px}.zpt-field-help>span{display:grid;place-items:center;flex:0 0 auto;width:20px;height:20px;color:#fff;background:#6e9fe9;border-radius:50%;font-size:11px;font-weight:900}.zpt-field-help p{margin:0;font-size:12px;line-height:1.55;text-wrap:pretty}.zpt-decrypt-panel{gap:17px}.zpt-input-wrap{position:relative}.zpt-input-wrap input{padding-right:70px}.zpt-input-wrap button{position:absolute;right:7px;top:7px;min-width:52px;min-height:40px;padding:0 9px;color:var(--zpt-blue-dark);background:#edf4ff;border:0;border-radius:9px;cursor:pointer;font-size:12px;font-weight:800;transition-property:background-color,scale;transition-duration:150ms;transition-timing-function:ease-out}.zpt-input-wrap button:hover{background:#e0ecff}.zpt-input-wrap button:active{scale:.96}.zpt-safe-help{color:#39705e;background:#eaf8f3}.zpt-safe-help>span{background:#4aa986}
.zpt-run{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;margin-top:16px;padding:0 18px;color:#fff;background:linear-gradient(135deg,var(--zpt-blue),var(--zpt-blue-dark));border:0;border-radius:14px;box-shadow:0 12px 25px rgba(35,103,232,.23);cursor:pointer;font-size:16px;font-weight:800;transition-property:scale,filter,box-shadow;transition-duration:150ms;transition-timing-function:ease-out}.zpt-run b{margin-left:2px;font-size:20px}.zpt-run:hover{filter:brightness(1.04);box-shadow:0 14px 30px rgba(35,103,232,.3)}.zpt-run:active{scale:.96}.zpt-run:disabled{box-shadow:none;cursor:not-allowed;filter:grayscale(.6);opacity:.48}.zpt-status{min-height:58px;margin-top:12px;padding:13px 14px;color:var(--zpt-muted);background:#f6f8fb;border-radius:12px;font-size:13px;line-height:1.55;text-wrap:pretty}.zpt-status[data-state=success]{color:#116f4e;background:#e9f8f2}.zpt-status[data-state=error]{color:#aa3d35;background:#fff0ef}.zpt-status[data-state=working]{display:grid;grid-template-columns:22px 1fr auto;gap:9px;align-items:center;color:#24569e;background:#edf4ff}.zpt-status strong,.zpt-status small{font-size:13px}.zpt-status small{font-variant-numeric:tabular-nums}.zpt-spinner{width:20px;height:20px;border:2px solid #bfd2f1;border-top-color:var(--zpt-blue);border-radius:50%;animation:zpt-spin .75s linear infinite}.zpt-app.is-busy .zpt-drop,.zpt-app.is-busy .zpt-tools{pointer-events:none;opacity:.7}
.zpt-footer{display:flex;justify-content:center;gap:clamp(24px,5vw,80px);max-width:1800px;margin:18px auto 0;padding:14px 20px;color:var(--zpt-muted);font-size:13px}.zpt-footer b{color:var(--zpt-ink)}
@keyframes zpt-spin{to{transform:rotate(360deg)}}
@keyframes zpt-panel-in{from{opacity:0;transform:translateY(8px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(max-width:1280px){.zpt-tools{grid-template-columns:repeat(5,minmax(130px,1fr))}.zpt-workspace{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}}
@media(max-width:900px){.zpt-app{padding:22px 16px 30px}.zpt-header{align-items:flex-start;min-height:0}.zpt-privacy-panel{min-width:280px}.zpt-tools{grid-template-columns:repeat(5,minmax(120px,1fr))}.zpt-workspace{grid-template-columns:1fr}.zpt-drop{min-height:230px}.zpt-footer{flex-wrap:wrap;gap:10px 28px}}
@media(max-width:700px){.zpt-header{display:grid;gap:24px;padding:25px 21px;border-radius:24px}.zpt-privacy-panel{width:100%;min-width:0}.zpt-brand{align-items:flex-start}.zpt-mark{width:54px;height:62px}.zpt-header-points{margin-top:17px}}
@media(max-width:600px){.zpt-brand h1{font-size:28px}.zpt-brand p{font-size:13px}.zpt-eyebrow{margin-bottom:14px}.zpt-tools{display:flex;padding:8px;border-radius:18px}.zpt-tool{flex:0 0 116px;min-height:104px}.zpt-file-column,.zpt-control-column{padding:17px;border-radius:19px}.zpt-section-heading{align-items:flex-start}.zpt-section-heading>small{max-width:150px}.zpt-drop{min-height:210px;padding:24px 15px}.zpt-grid-2{grid-template-columns:1fr}.zpt-option-panel{padding:16px;border-radius:18px}.zpt-footer{justify-content:flex-start}.zpt-file{grid-template-columns:42px minmax(0,1fr) 40px}.zpt-file-order{grid-column:2;justify-content:flex-start}.zpt-file-remove{grid-column:3;grid-row:1}}
@media(prefers-reduced-motion:reduce){.zpt-app *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Desktop document workspace: shared palette with PDF → Markdown.
   Existing mobile rules and all processing scripts remain unchanged. */
@media (min-width:901px) {
 body.zmt-pdf-tools-page { background:#f5f5f1; }
 .zmt-pdf-tools-page .zpt-app {
  --zpt-blue:#974e3d; --zpt-blue-dark:#804131; --zpt-ink:#292e2b;
  --zpt-muted:#677067; --zpt-soft:#f5f6f1; --zpt-line:#dfe3dc;
  --zpt-card:#fffefa; --zpt-green:#36684d;
  --zpt-shadow:0 2px 5px rgba(31,42,32,.025),0 12px 32px rgba(31,42,32,.04);
  padding:30px clamp(18px,3vw,48px) 36px; background:#f5f5f1;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px; line-height:1.6; -webkit-font-smoothing:antialiased;
 }
 .zpt-app .zpt-header {
  max-width:1360px; min-height:0; margin-bottom:24px; padding:0;
  gap:40px; overflow:visible; color:var(--zpt-ink); background:transparent;
  border-radius:0; box-shadow:none;
 }
 .zpt-app .zpt-header:before,.zpt-app .zpt-header:after { content:none; }
 .zpt-app .zpt-header-copy { flex:1; max-width:none; min-width:0; }
 .zpt-app .zpt-eyebrow { margin-bottom:13px; color:var(--zpt-muted); font-size:12px; font-weight:500; letter-spacing:.04em; }
 .zpt-app .zpt-eyebrow i { width:6px; height:6px; background:#76856b; box-shadow:none; }
 .zpt-app .zpt-brand { gap:0; }
 .zpt-app .zpt-mark { display:none; }
 .zmt-pdf-tools-page .zpt-app .zpt-brand h1 { margin:0; color:var(--zpt-ink); font-family:inherit; font-size:32px!important; font-weight:700; line-height:1.25; letter-spacing:-.035em; }
 .zpt-app .zpt-brand p { max-width:none; margin:10px 0 0; color:var(--zpt-muted); font-size:14px; line-height:1.7; }
 .zpt-app .zpt-header-points { margin-top:14px; gap:8px; }
 .zpt-app .zpt-header-points span { min-height:24px; padding:2px 8px; color:#5c6859; background:#ecefe8; border:1px solid #e1e5db; border-radius:5px; box-shadow:none; font-size:11px; font-weight:500; }
 .zpt-app .zpt-privacy-panel { flex:0 0 340px; min-width:0; padding:17px 19px; background:#edf1e8; border:1px solid #dde4d6; border-radius:11px; box-shadow:none; backdrop-filter:none; }
 .zpt-app .zpt-privacy { gap:10px; }
 .zpt-app .zpt-privacy>span { width:30px; height:30px; color:#45613a; background:#e0e8d8; border:1px solid #d4dfca; border-radius:7px; font-weight:600; }
 .zpt-app .zpt-privacy strong { color:#3d5035; font-size:13px; font-weight:600; }
 .zpt-app .zpt-privacy small { margin-top:1px; color:#5e7055; font-size:11px; }
 .zpt-app .zpt-privacy-panel>p { margin:11px 0; color:#61705a; font-size:11px; line-height:1.7; }
 .zpt-app .zpt-local-route { padding-top:10px; border-color:#d7dfd0; color:#52634a; font-size:11px; font-weight:500; }
 .zpt-app .zpt-local-route i { color:#829078; font-size:14px; }
 .zpt-app .zpt-tools { grid-template-columns:repeat(10,minmax(0,1fr)); gap:4px; max-width:1360px; margin-bottom:18px; padding:7px; background:#fffefa; border:1px solid var(--zpt-line); border-radius:12px; box-shadow:0 2px 5px rgba(31,42,32,.02); overflow:visible; }
 .zpt-app .zpt-tool { min-width:0; min-height:92px; padding:10px 5px; border:1px solid transparent; border-radius:7px; color:var(--zpt-muted); background:transparent; box-shadow:none; transition-property:background-color,border-color,color,scale; }
 .zpt-app .zpt-tool:hover { color:#34462f; background:#f2f4ee; }
 .zpt-app .zpt-tool.is-active { color:#354d2b; background:#e9eee3; border-color:#d8e0d0; box-shadow:none; }
 .zpt-app .zpt-tool>span { width:26px; height:26px; margin:0 auto 6px; color:#738068; background:#f1f3ec; border:1px solid #e5e9df; border-radius:6px; font-size:13px; font-weight:600; }
 .zpt-app .zpt-tool.is-active>span { color:#fffefa; background:#5c7050; border-color:#5c7050; }
 .zpt-app .zpt-tool strong { color:inherit; font-family:inherit; font-size:13px; font-weight:600; line-height:1.5; }
 .zpt-app .zpt-tool small { margin-top:3px; font-size:10px; line-height:1.6; }
 .zpt-app .zpt-workspace { grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr); gap:0; max-width:1360px; border:1px solid var(--zpt-line); border-radius:16px; background:var(--zpt-card); box-shadow:var(--zpt-shadow); overflow:hidden; }
 .zpt-app .zpt-file-column,.zpt-app .zpt-control-column { padding:24px; background:var(--zpt-card); border-radius:0; box-shadow:none; }
 .zpt-app .zpt-file-column { border-right:1px solid var(--zpt-line); }
 .zpt-app .zpt-section-heading { gap:16px; margin-bottom:20px; }
 .zpt-app .zpt-section-heading>div { gap:9px; flex:none; }
 .zpt-app .zpt-section-heading span { width:25px; height:25px; color:#64725d; background:#edf0e8; border:1px solid #e0e5d9; border-radius:6px; font-size:10px; font-weight:600; }
 .zmt-pdf-tools-page .zpt-app .zpt-section-heading h2 { margin:0; color:var(--zpt-ink); font-family:inherit; font-size:16px; line-height:1.4; font-weight:650; letter-spacing:0; }
 .zpt-app .zpt-section-heading>small { color:var(--zpt-muted); font-size:11px; line-height:1.7; }
 .zpt-app .zpt-drop { display:flex; flex-direction:column; justify-content:center; min-height:266px; padding:28px 20px; border:1px dashed #bcc5b7; border-radius:11px; background:#f5f6f1; font-weight:400; transition-property:border-color,background-color; }
 .zpt-app .zpt-drop:hover,.zpt-app .zpt-drop.is-dragging { border-color:#697e5d; background:#edf1e8; transform:none; }
 .zpt-app .zpt-upload-icon { width:32px; height:32px; margin-bottom:14px; color:#748267; background:transparent; border-radius:0; box-shadow:none; font-size:30px; line-height:1; font-weight:300; }
 .zpt-app .zpt-drop>strong { color:var(--zpt-ink); font-size:16px; font-weight:600; }
 .zpt-app .zpt-drop>small { margin-top:6px; color:var(--zpt-muted); font-size:12px; }
 .zpt-app .zpt-drop>b { display:inline-flex; align-items:center; justify-content:center; min-height:42px; margin-top:19px; padding:0 19px; color:#fff; background:#974e3d; border:1px solid #974e3d; border-radius:8px; box-shadow:0 2px 4px rgba(77,40,30,.08); font-size:13px; font-weight:600; transition:background-color .16s ease,border-color .16s ease; }
 .zpt-app .zpt-drop:hover>b { background:#804131; border-color:#804131; }
 .zpt-app .zpt-files { gap:8px; margin-top:14px; }
 .zpt-app .zpt-file { background:#f5f6f1; border:1px solid #e3e7dc; border-radius:8px; box-shadow:none; }
 .zpt-app .zpt-file-badge { color:#7d5848; background:#eee7df; border:1px solid #e4d9cd; border-radius:6px; font-weight:600; }
 .zpt-app .zpt-file strong { color:var(--zpt-ink); font-size:13px; font-weight:600; }
 .zpt-app .zpt-file-order button { background:#e9eee2; color:#53634b; border-radius:6px; }
 .zpt-app .zpt-file-remove { background:#f8eee7; color:#974e3d; border-radius:6px; }
 .zpt-app .zpt-options { min-height:212px; padding:17px; gap:16px; background:#f5f6f1; border:1px solid #e6e9df; border-radius:10px; }
 .zpt-app .zpt-options label { color:#465040; font-size:12px; font-weight:550; }
 .zpt-app .zpt-options input,.zpt-app .zpt-options select { min-width:0; min-height:42px; padding:0 11px; background:#fffefa; border-color:#cfd6c7; border-radius:7px; color:var(--zpt-ink); font-size:13px; box-shadow:0 1px 2px rgba(31,42,32,.02); accent-color:#5c7050; }
 .zpt-app .zpt-options input::placeholder { color:#858e80; opacity:1; }
 .zpt-app .zpt-options input:focus,.zpt-app .zpt-options select:focus { border-color:#768b67; box-shadow:0 0 0 3px rgba(105,126,93,.13); }
 .zpt-app .zpt-options input[type=range] { padding:0; box-shadow:none; }
 .zpt-app .zpt-options small { font-size:11px; }
 .zpt-app .zpt-grid-2 { gap:14px 12px; }
 .zpt-app .zpt-option-note,.zpt-app .zpt-warning { min-height:96px; padding:15px; border-radius:7px; }
 .zpt-app .zpt-option-note { color:#506248; background:#eaf0e3; }
 .zpt-app .zpt-warning { color:#80561e; background:#f7efdf; }
 .zpt-app .zpt-option-note strong,.zpt-app .zpt-warning strong { font-size:13px; font-weight:600; }
 .zpt-app .zpt-option-note span,.zpt-app .zpt-warning span { font-size:12px; line-height:1.75; }
 .zpt-app .zpt-option-lead { color:var(--zpt-muted); font-size:12px; }
 .zpt-app .zpt-options:has(.zpt-option-panel) { min-height:0; padding:0; border:0; background:transparent; }
 .zpt-app .zpt-option-panel { padding:17px; gap:17px; background:#f5f6f1; border:1px solid #e6e9df; border-radius:10px; box-shadow:none; animation:none; }
 .zpt-app .zpt-option-intro { gap:10px; padding-bottom:14px; border-color:#dfe4d7; }
 .zpt-app .zpt-option-icon { width:32px; height:32px; color:#5b7050; background:#e5ebdd; border:1px solid #dbe3d2; border-radius:7px; font-size:15px; font-weight:600; }
 .zpt-app .zpt-option-intro strong { color:#3e4b37; font-size:13px; font-weight:600; }
 .zpt-app .zpt-option-intro p { color:var(--zpt-muted); font-size:11px; line-height:1.7; }
 .zpt-app .zpt-field-help { gap:8px; padding:10px; color:#5d6b54; background:#eaf0e3; border-radius:6px; }
 .zpt-app .zpt-field-help>span { width:17px; height:17px; color:#fffefa; background:#7b8d6f; font-size:10px; font-weight:600; }
 .zpt-app .zpt-field-help p { font-size:11px; line-height:1.7; }
 .zpt-app .zpt-safe-help { color:#45613a; background:#eaf0e3; }
 .zpt-app .zpt-safe-help>span { background:#6f8661; }
 .zpt-app .zpt-input-wrap input { padding-right:65px; }
 .zpt-app .zpt-input-wrap button { top:5px; right:5px; min-height:32px; min-width:50px; color:#52664a; background:#eaf0e3; border-radius:5px; font-size:11px; font-weight:600; }
 .zpt-app .zpt-input-wrap button:hover { background:#dfe8d5; }
 .zpt-app .zpt-run { min-height:44px; margin-top:16px; background:#974e3d; border:1px solid #974e3d; border-radius:8px; box-shadow:0 2px 4px rgba(77,40,30,.08); font-size:13px; font-weight:600; transition-property:background-color,border-color,scale; }
 .zpt-app .zpt-run b { font-size:17px; font-weight:400; }
 .zpt-app .zpt-run:hover { background:#804131; border-color:#804131; filter:none; box-shadow:0 2px 4px rgba(77,40,30,.08); }
 .zpt-app .zpt-run:disabled { background:#e7e9e1; border-color:#dfe3d7; color:#7c8576; opacity:1; filter:none; box-shadow:none; }
 .zpt-app .zpt-status { min-height:50px; margin-top:12px; padding:11px 12px; color:var(--zpt-muted); background:#f3f4ee; border:1px solid #e6e9df; border-radius:7px; font-size:11px; line-height:1.75; }
 .zpt-app .zpt-status[data-state=success] { color:#45613a; background:#eef5e9; border-color:#d6e6d0; }
 .zpt-app .zpt-status[data-state=error] { color:#913e32; background:#fff2ee; border-color:#ecd3ca; }
 .zpt-app .zpt-status[data-state=working] { color:#4f6444; background:#f0f4eb; border-color:#dce5d6; }
 .zpt-app .zpt-status strong,.zpt-app .zpt-status small { font-size:11px; }
 .zpt-app .zpt-spinner { width:18px; height:18px; border-color:#d5decd; border-top-color:#5b7050; }
 .zpt-app .zpt-footer { max-width:1360px; margin:18px auto 0; padding:0 8px; gap:36px; color:var(--zpt-muted); font-size:11px; }
 .zpt-app .zpt-footer b { margin-right:5px; color:#53634b; font-weight:550; }
 .zpt-app button:focus-visible,.zpt-app .zpt-drop:focus-within { outline:2px solid #8b5b48!important; outline-offset:3px; }
}
@media (min-width:901px) and (max-width:1339px) {
 .zpt-app .zpt-tools { grid-template-columns:repeat(5,minmax(0,1fr)); }
 .zpt-app .zpt-tool { min-height:80px; }
 .zpt-app .zpt-tool>span { width:23px; height:23px; margin-bottom:4px; }
 .zpt-app .zpt-header { gap:24px; }
 .zpt-app .zpt-privacy-panel { flex-basis:300px; }
 .zpt-app .zpt-file-column,.zpt-app .zpt-control-column { padding:20px; }
 .zpt-app .zpt-workspace { grid-template-columns:minmax(0,1fr) 380px; }
 .zpt-app .zpt-section-heading { flex-wrap:wrap; gap:7px; }
 .zpt-app .zpt-section-heading>small { text-align:left; }
}

/* Keep the existing guide available without covering desktop PDF controls. */
@media (min-width:901px) {
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher {
  width:44px!important; min-width:44px!important; height:44px!important; min-height:44px!important;
  right:16px; bottom:16px; padding:0!important; display:flex!important;
  align-items:center; justify-content:center; background:#fffefa!important;
  border:1px solid #dfe3dc!important; border-radius:10px!important;
  box-shadow:0 2px 8px rgba(31,42,32,.08)!important;
 }
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-character,
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-kicker,
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy>small,
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-arrow { display:none!important; }
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy {
  position:static!important; display:block!important; width:auto!important;
  min-width:0!important; height:auto!important; margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
 }
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy:before,
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy:after { content:none!important; }
 body.zmt-pdf-tools-page .guide-shell[data-guide-shadow-mount] .guide-shell__launcher-copy>strong {
  color:#53634b!important; font-family:inherit!important; font-size:11px!important;
  line-height:1.4!important; letter-spacing:0!important;
 }
}
