/* Task-first polish. Shared by the authored English and Chinese tool pages. */
.workspace-nav{gap:24px;margin-top:18px}
.nav-label{margin-left:10px;color:#69758a;font-size:11px;letter-spacing:.035em}
.nav-tools{padding:3px;background:transparent;border-color:transparent;box-shadow:none}
.workspace-link{min-height:42px;border-radius:8px;color:#536078}
.workspace-link.active,.workspace-link[aria-current=page]{background:#fff;border-color:#dce3f2;box-shadow:0 2px 5px #25395708;color:var(--accent)}
.workbench-head{padding:28px 0 24px}
.workbench-title{min-width:0}
.workbench-title h1{font-size:32px;line-height:1.25;letter-spacing:-.035em;text-wrap:balance}
.workbench-title p{max-width:660px;font-size:14px;line-height:1.65}
.batch-panel{border-color:#dfe5ee;border-radius:16px;box-shadow:0 4px 20px #25395704}
.batch-panel:not(.has-files) .upload-scene{min-height:340px;padding:32px 24px}
.batch-panel:not(.has-files) .batch-dropzone{width:min(480px,100%);min-height:264px;padding:28px;border:1px solid #fff;border-radius:14px;box-shadow:0 8px 28px #25395712}
.batch-panel:not(.has-files) .batch-dropzone::before{inset:8px;border-color:#d2dbea;border-radius:8px}
.batch-panel:not(.has-files) .batch-dropzone h2{font-size:24px;line-height:1.3;text-wrap:balance}
.batch-upload-copy p{font-size:13px;line-height:1.6}
.batch-panel:not(.has-files) .batch-dropzone .primary-button{min-height:48px;font-size:14px;padding:12px 28px;margin-top:20px;border-radius:9px}
.batch-sample-button{min-height:40px;font-size:12px;font-weight:500;margin-top:4px}
.batch-panel.has-files .upload-scene{min-height:0;padding:16px 24px;background-image:none;background-color:#f8fafd;border-bottom:1px solid var(--line)}
.batch-panel.has-files .batch-dropzone{min-height:72px;padding:8px 0;background:transparent;border:0;border-radius:0;box-shadow:none;gap:16px}
.batch-panel.has-files .batch-dropzone::before{display:none}
.batch-panel.has-files .upload-icon{width:40px;height:40px;border-radius:10px;background:#fff}
.batch-panel.has-files .batch-dropzone h2{font-size:16px}
.batch-panel.has-files .batch-upload-copy p{margin:4px 0;font-size:12px}
.batch-panel.has-files .batch-limit{display:none}
.batch-panel.has-files .batch-dropzone .primary-button{min-height:42px;min-width:112px;font-size:13px;white-space:normal;line-height:1.4}
.batch-settings{padding-inline:24px}
.batch-table-head,.batch-file{grid-template-columns:minmax(120px,1.8fr) 78px minmax(100px,1fr) 84px 96px 56px 32px;gap:12px}
.batch-table-head{font-size:11px}
.batch-file{min-height:76px;padding:16px 8px}
.batch-file-name{font-size:13px}
.batch-file-name button{min-height:36px}
.batch-original-size,.batch-output-size{font-size:12px}
.batch-output-size{font-weight:600;color:var(--ink)}
.batch-download{width:auto;min-width:88px;min-height:40px;padding:8px 12px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;justify-self:stretch;border-radius:8px}
.batch-remove{width:32px;min-height:40px}
.batch-file.is-complete .batch-status-meter{background:transparent;justify-items:start;height:auto;min-height:32px;overflow:visible}
.batch-file.is-complete .batch-meter-fill{display:none}
.batch-file.is-complete .batch-meter-label{font-size:12px;white-space:normal;line-height:1.5;color:#435c8b}
.batch-file.is-complete .batch-meter-label::before{content:'✓';margin-right:6px}
.batch-file-note{font-size:12px;line-height:1.65}
/* One completed image has one primary download. Multi-image queues keep per-file downloads. */
.batch-file:only-child.is-complete .batch-download{display:none}
.batch-panel:has(.batch-file:only-child.is-complete) .batch-progress-panel{display:none}
@media(min-width:761px){
 .batch-panel:has(.batch-file:only-child.is-complete) .batch-table-head,
 .batch-panel:has(.batch-file:only-child.is-complete) .batch-file{grid-template-columns:minmax(120px,1.8fr) 78px minmax(100px,1fr) 84px 56px 32px}
 .batch-panel:has(.batch-file:only-child.is-complete) .batch-table-head>:nth-child(5){display:none}
}
.batch-results-footer{padding:20px;background:#f4f7fd;border:1px solid #e2e8f4;border-radius:12px;gap:12px 24px}
.batch-summary{font-size:14px;line-height:1.7;flex:1 1 340px;overflow-wrap:anywhere}
.batch-results-footer .download-button{min-height:48px;padding:12px 24px;font-size:14px;border-radius:9px;white-space:normal;line-height:1.5}
.batch-download-hint{flex-basis:100%;font-size:12px;line-height:1.65}
.batch-transfer{padding-bottom:16px;gap:10px}
.batch-transfer label{font-size:12px}
.batch-transfer select,.batch-transfer button{min-height:40px;font-size:12px}
.batch-target-control{max-width:640px;margin:24px auto;padding:0 8px}
.batch-target-control>.field-label{font-size:13px}
.target-shortcuts{gap:8px;flex-wrap:wrap}
.target-shortcuts button{min-height:36px;font-size:12px;padding:8px 12px}
.batch-advanced{font-size:12px}
.batch-enhance-entry{padding:16px 24px;background:#fff;gap:12px}
.batch-enhance-entry button{min-height:40px;white-space:normal;line-height:1.5}
.batch-enhance-entry>div>span:not(.premium-mini-tag){font-size:12px}
.task-seo{margin-top:48px;gap:48px}
.task-seo li,.task-seo p{font-size:14px;line-height:1.8}
.task-faq summary{font-size:14px}
.task-seo .task-limit{font-size:12px}
.measured-story{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center;margin:48px 0 0;padding:32px;border:1px solid var(--line);border-radius:16px;background:#fff}
.measured-story[hidden]{display:none}
.measured-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.measured-photos figure{margin:0;min-width:0}
.measured-photos img{display:block;aspect-ratio:3/2;width:100%;height:auto;object-fit:cover;border-radius:8px}
.measured-photos figcaption{margin-top:10px;font-size:12px;line-height:1.6;color:var(--muted)}
.measured-photos strong{display:block;color:var(--ink);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.measured-copy{min-width:0}
.measured-copy .eyebrow{font-size:11px;color:var(--muted);letter-spacing:.06em}
.measured-copy h2{margin:12px 0;font-size:26px;line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
.measured-copy>p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}
.measured-copy .measured-note{font-size:11px;line-height:1.75;margin:16px 0;color:#66738a}
.measured-links{display:flex;gap:12px 20px;flex-wrap:wrap;margin-top:16px}
.measured-links a{font-size:13px;min-height:36px;display:inline-flex;align-items:center;color:var(--accent);text-underline-offset:4px}
.measured-links a:hover{text-decoration:underline}
@media(min-width:761px) and (max-width:1050px){
 .batch-table-head,.batch-file{grid-template-columns:minmax(90px,1.5fr) 64px minmax(72px,1fr) 68px 88px 48px 28px;gap:8px}
 .batch-settings{padding-inline:16px}
 .measured-story{gap:24px;padding:24px}
}
@media(max-width:799px){
 .workspace-nav{gap:10px;margin-top:8px;padding-bottom:6px}
 .nav-label{display:none}
 .nav-tools{padding:2px;border:0;background:transparent}
 .workspace-link,.nav-group:nth-child(2) .workspace-link{min-height:44px;padding:10px 12px;font-size:12px}
 .mobile-nav-hint{font-size:11px;margin-top:2px}
 .workbench-head{padding:22px 0 18px}
 .workbench-title h1{font-size:28px}
 .workbench-title p{font-size:13px;line-height:1.6;margin-top:8px}
}
@media(max-width:760px){
 .batch-panel:not(.has-files) .upload-scene{min-height:284px;padding:20px 16px}
 .batch-panel:not(.has-files) .batch-dropzone{min-height:244px;padding:24px 16px;border-radius:12px}
 .batch-panel:not(.has-files) .batch-dropzone h2{font-size:20px}
 .batch-panel:not(.has-files) .batch-upload-copy p{font-size:12px}
 .batch-panel:not(.has-files) .batch-limit{font-size:11px;line-height:1.6;gap:4px 8px}
 .batch-panel.has-files .upload-scene{padding:12px 16px}
 .batch-panel.has-files .batch-dropzone{grid-template-columns:minmax(0,1fr) auto;padding:0;gap:12px;min-height:64px}
 .batch-panel.has-files .batch-upload-copy p{font-size:11px;max-width:210px}
 .batch-panel.has-files .batch-dropzone .primary-button{min-width:100px;padding:10px 12px;font-size:12px}
 .batch-settings{padding:16px 16px 0}
 .batch-list-head{gap:8px;flex-wrap:wrap}
 .queue-controls{gap:8px}
 .queue-controls .text-button{min-height:40px;font-size:12px}
 .batch-table-head{display:none}
 .batch-file{grid-template-columns:minmax(0,1fr) 96px 32px;gap:10px 8px;padding:16px 0}
 .batch-file-name{grid-column:1/3;grid-row:1;font-size:13px}
 .batch-remove{grid-column:3;grid-row:1;width:32px;min-height:40px}
 .batch-original-size{grid-column:1;grid-row:2;text-align:left;font-size:12px}
 .batch-output-size{grid-column:2/4;grid-row:2;text-align:right;font-size:12px}
 .batch-saving{grid-column:2/4;grid-row:3;text-align:right;font-size:12px;align-self:center}
 .batch-status-meter{grid-column:1;grid-row:3;min-height:32px;width:100%}
 .batch-meter-label{font-size:11px;white-space:normal;text-align:left}
 .batch-download{grid-column:1/4;grid-row:4;justify-self:stretch;min-width:0;min-height:44px;font-size:13px;padding:10px 16px}
 .batch-file-note{grid-column:1/4;grid-row:auto}
 .batch-results-footer{padding:16px;margin:12px 0 20px;gap:12px}
 .batch-summary{flex-basis:100%;font-size:13px}
 .batch-results-footer .download-button{width:100%;min-height:48px}
 .batch-download-hint{font-size:11px}
 .batch-target-control{padding:0;margin:20px 0}
 .batch-enhance-entry{padding:14px 16px}
 .batch-transfer{display:flex;flex-wrap:wrap}
 .batch-transfer label{flex-basis:100%}
 .batch-transfer select{flex:1;min-width:0}
 .task-seo{margin-top:32px;gap:24px}
 .task-seo li,.task-seo p,.task-faq summary{font-size:13px}
 .measured-story{grid-template-columns:1fr;gap:24px;margin-top:32px;padding:20px}
 .measured-copy{grid-row:1}
 .measured-copy h2{font-size:24px}
 .measured-copy>p{font-size:13px}
 .measured-links{gap:8px 16px}
 .measured-photos{gap:12px}
}
@media(max-width:380px){
 .workbench-title h1{font-size:24px}
 .batch-panel.has-files .batch-dropzone{grid-template-columns:1fr;gap:8px}
 .batch-panel.has-files .batch-dropzone .primary-button{width:100%}
 .batch-panel.has-files .batch-upload-copy p{max-width:none}
 .batch-file{grid-template-columns:minmax(0,1fr) 82px 32px}
 .batch-original-size,.batch-output-size{font-size:11px}
 .measured-story{padding:16px}
}
@media(prefers-reduced-motion:reduce){
 .batch-meter-fill{transition:none;animation:none}
}
