.task-status-board,.task-status-detail{margin:20px 0;padding:0;color:var(--workbench-text,#1f2329);font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.task-status-board>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.task-status-board>header h2{margin:0;font-size:16px;line-height:1.65}
.task-status-stage-list>h4{margin:16px 0 8px;font-size:14px}
.task-status-board>summary,.task-status-detail summary{cursor:pointer;font-weight:600;padding:10px 0}
.task-status-board>summary:focus-visible,.task-status-detail summary:focus-visible{outline:2px solid #3370ff;outline-offset:3px}
.task-status-type{padding:18px 0;border-bottom:1px solid #edf0f3}
.task-status-type>header,.task-status-detail>header,.task-status-stages li>header{display:flex;gap:16px;align-items:baseline;justify-content:space-between}
.task-status-type h3,.task-status-detail h3{font-size:15px;margin:0;font-weight:600}
.task-status-type p,.task-status-detail p{margin:6px 0}
.task-status-muted,.task-status-type small,.task-status-stages small{color:#646a73;font-size:12px}
.task-status-label{font-size:12px;flex-shrink:0;color:#646a73}
.task-status-label.ready,.task-status-label.completed,.task-status-availability.ready>strong{color:#16804a}
.task-status-label.failed,.task-status-label.unavailable{color:#c93434}
.task-status-label.blocked,.task-status-label.unconfigured,.task-status-availability.blocked>strong{color:#a76100}
.task-status-label.running{color:#245bdb}
.task-status-read-error{color:#a76100;background:#fff8e8;padding:10px 12px;border-radius:6px}
.task-status-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:14px 0}
.task-status-facts dt{color:#646a73;font-size:12px}.task-status-facts dd{margin:2px 0}
.task-status-checks{margin:14px 0}.task-status-checks>div{display:grid;grid-template-columns:minmax(100px,28%) 1fr;gap:12px;padding:9px 0}.task-status-checks dt{font-weight:500}.task-status-checks dd{margin:0}.task-status-checks p{color:#646a73}
.task-status-stages{padding-left:22px;margin:6px 0}.task-status-stages li{padding:9px 0 12px 4px}.task-status-stages strong{font-weight:500}.task-status-stages p{color:#646a73}
.task-status-availability{margin:16px 0;padding:12px 0}.task-status-availability strong{font-weight:600}

/* New progress, evidence and actions share the message viewport's scroll. */
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息:has(>.IM任务消息组>.task-process-view),
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .IM任务消息组:has(>.task-process-view){display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .IM任务消息组:has(>.task-process-view)>.task-process-view{display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}

/* Column sizing and independent scrolling stay in task-home-connected.css. */

/* Task progress stays compact without constraining receipt or record height. */
.task-process-view{--task-process-accent:#3370ff;--task-process-tint:#f2f6ff;container-name:task-process;container-type:inline-size;min-width:0;color:#1f2329;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.task-process-view:is([data-state="completed"],[data-state="local_completed"]){--task-process-accent:#16804a;--task-process-tint:#f2faf5}
.task-process-view:is([data-state="partial"],[data-state="partial_completed"],[data-state="partial_success"],[data-state="blocked"]){--task-process-accent:#a76100;--task-process-tint:#fff8ed}
.task-process-view:is([data-state="failed"],[data-state="interrupted"]){--task-process-accent:#c93434;--task-process-tint:#fff3f2}
.task-process-view:is([data-state="waiting"],[data-state="queued"],[data-state="pending"],[data-state="cancelled"]){--task-process-accent:#646a73;--task-process-tint:#f5f6f7}
body[data-current-page="im"] .任务执行进度.task-process-view>header{gap:12px;align-items:flex-start;margin-bottom:18px}
body[data-current-page="im"] .任务执行进度.task-process-view>header>div{min-width:0}
body[data-current-page="im"] .任务执行进度.task-process-view>header h2{margin:3px 0 0;font-size:17px;line-height:1.5;font-weight:600}
.task-process-view .task-process-heading{margin:0;color:#646a73;font-size:12px;line-height:1.5}
body[data-current-page="im"] .task-process-view .任务状态标记{padding:3px 8px;border-radius:4px;background:var(--task-process-tint);color:var(--task-process-accent);line-height:20px;font-size:12px;font-weight:500}
.task-process-view .任务进度主体{min-width:0;max-height:none;overflow:visible}
.task-process-view .task-process-summary{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px;font-size:13px}
.task-process-view .task-process-summary strong{font-size:16px;font-weight:600;color:#1f2329}
.task-process-view .task-process-summary :is(small,span){font-size:12px;color:#646a73}
.task-process-view .task-process-summary>b{font-size:13px;font-weight:500;color:var(--task-process-accent);font-variant-numeric:tabular-nums}
body[data-current-page="im"] .task-process-view .任务完成数量{margin:0!important;padding:0;border:0;border-radius:0;font-size:13px;line-height:1.65;color:#646a73}
body[data-current-page="im"] .task-process-view .任务完成数量 strong{margin:0 3px;font-size:16px;font-weight:600;color:#1f2329}
.task-process-view .task-process-summary>.task-process-percent{font-size:13px;font-weight:500;color:var(--task-process-accent);font-variant-numeric:tabular-nums}
body[data-current-page="im"] .task-process-view .任务执行进度轨{height:4px;margin:8px 0 16px;border-radius:2px;background:#edf0f5}
body[data-current-page="im"] .task-process-view .任务执行进度轨 i{border-radius:2px;background:var(--task-process-accent)}
.task-process-view .task-process-metrics{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:8px 0;padding:0;border:0}
.task-process-view .task-process-metrics>div{display:flex;align-items:baseline;gap:7px;min-width:0}
.task-process-view .task-process-metrics>div:has([data-task-elapsed])>small{display:none}
.task-process-view .task-process-metrics :is(small,dt){margin:0;color:#646a73;font-size:12px}
.task-process-view .task-process-metrics :is(strong,dd){margin:0;color:#344054;font-size:12px;line-height:1.6;font-weight:500}
.task-process-view .task-process-current{margin:14px 0;padding:10px 12px;background:var(--task-process-tint);border-radius:4px;color:#344054;font-size:13px;line-height:1.65}
.task-process-view .task-process-current strong{color:var(--task-process-accent);font-weight:500}
.task-process-view .task-process-current>span{margin-right:10px;color:#646a73;font-size:12px}
.task-process-view .task-process-current p{margin:4px 0 0;color:#646a73;font-size:12px}
.task-process-view .task-process-stages>h3{margin:18px 0 6px;font-size:13px;line-height:1.65;font-weight:500;color:#344054}
.task-process-view .task-process-empty{margin:10px 0;color:#8f959e;font-size:12px;line-height:1.65}
.task-process-view .task-process-list{list-style:none!important;margin:12px 0!important;padding:0!important}
.task-process-view .task-process-list>li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:baseline;gap:3px 10px;margin:0;padding:10px 0;border-bottom:1px solid #f0f1f3;min-width:0}
.task-process-view .task-process-list>li:last-child{border-bottom:0}
.task-process-view .task-process-item-index{grid-column:1;align-self:start;color:#8f959e;font-size:12px;font-variant-numeric:tabular-nums;line-height:22px;text-align:center}
.task-process-view .task-process-item-name{grid-column:2;min-width:0;color:#344054;font-size:13px;font-weight:500}
.task-process-view .task-process-item-state{grid-column:3;color:#8f959e;font-size:12px;white-space:nowrap}
.task-process-view .task-process-item-detail{grid-column:2/-1;min-width:0;margin:0;color:#646a73;font-size:12px;line-height:1.65;white-space:pre-wrap}
.task-process-view .task-process-list>li[data-state="completed"] .task-process-item-state{color:#16804a}
.task-process-view .task-process-list>li[data-state="running"] :is(.task-process-item-name,.task-process-item-state){color:#245bdb}
.task-process-view .task-process-list>li:is([data-state="failed"],[data-state="interrupted"]) .task-process-item-state{color:#c93434}
.task-process-view .task-process-list>li:is([data-state="blocked"],[data-state="partial"]) .task-process-item-state{color:#a76100}
.task-process-view[data-task-kind="image_optimization"] .task-process-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:8px}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li{grid-template-columns:18px minmax(0,1fr);align-content:start;gap:2px 8px;padding:9px 10px;border:1px solid #edf0f3;border-radius:4px;background:#fafbfc}
.task-process-view[data-task-kind="image_optimization"] .task-process-item-state{grid-column:2;white-space:normal}
.task-process-view[data-task-kind="image_optimization"] .task-process-item-index{align-self:start;font-size:12px;line-height:21px}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li[data-state="completed"]{background:#f7fbf8;border-color:#e3efe6}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li[data-state="completed"] .task-process-item-index{color:#16804a}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li[data-state="running"]{background:#f5f8ff;border-color:#cbdcff}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li:is([data-state="failed"],[data-state="interrupted"]){background:#fff7f6;border-color:#f1d9d7}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li:is([data-state="failed"],[data-state="interrupted"]) .task-process-item-index{color:#c93434}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li[data-state="blocked"]{background:#fffbf4;border-color:#f0e3cb}
.task-process-view .task-process-notice,.task-process-details .task-process-notice{margin:12px 0;padding:9px 12px;background:#fff8ed;color:#a76100;border-radius:4px;font-size:12px;line-height:1.7}
.task-process-view:is([data-state="failed"],[data-state="interrupted"]) .task-process-notice{background:#fff3f2;color:#c93434}
body[data-current-page="im"] .task-process-view .任务执行错误{margin:12px 0;padding:10px 12px;border:0;border-radius:4px;background:#fff3f2;color:#c93434;font-size:13px}
body[data-current-page="im"] .task-process-view .任务结果提示{margin-top:14px;font-size:13px}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage{container:task-storage/inline-size;margin-top:12px;min-width:0;max-height:none;overflow:visible}
body[data-current-page="im"] .task-home-storage .image-opt-storage-receipt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 24px;box-sizing:border-box;padding:12px 0}
body[data-current-page="im"] .task-home-storage-header{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-width:0}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage h3{margin:0;font-size:14px;line-height:22px}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-row{flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;min-height:0;margin:0;padding:0;border:0;gap:4px;font-size:13px;line-height:22px}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-row strong{min-width:0;font-size:14px;line-height:22px;text-align:left;overflow-wrap:anywhere}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-actions{justify-content:flex-end;flex-wrap:wrap;min-width:0;margin:0;gap:8px 16px;font-size:13px;line-height:22px}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-actions a{padding:0;border:0;border-radius:0;white-space:normal;line-height:22px;overflow-wrap:anywhere}
body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-error{grid-column:1/-1;min-width:0;margin:0;font-size:13px;line-height:22px;overflow-wrap:anywhere}
@container task-storage (max-width:560px){
  body[data-current-page="im"] .task-home-storage .image-opt-storage-receipt{grid-template-columns:minmax(0,1fr)}
  body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-actions{justify-content:flex-start}
}
.task-process-view[data-task-kind="image_optimization"]>.任务进度主体:has(>.task-home-storage)>.task-process-receipt{display:none}

/* The main view is a short summary; complete evidence lives in the task sheet. */
.任务执行进度.task-process-view.task-process-compact,
.任务执行进度.task-process-view.task-process-compact>header,
.任务执行进度.task-process-view.task-process-compact>.任务进度主体,
.任务执行进度.task-process-view.task-process-compact :is(.task-process-summary,.任务完成数量),
html:root body[data-lg-navigation-ready][data-current-page][data-mobile-view] #IM页面 .任务执行进度.task-process-view.task-process-compact{background:transparent!important;border:0!important;box-shadow:none!important}
.task-process-view.task-process-compact .task-process-current{margin:12px 0;padding:9px 12px}
.task-process-view.task-process-compact .task-process-receipt{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.task-process-view.task-process-compact .task-process-receipt p{margin:0;color:#8f959e;font-size:12px}
.task-process-storage-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px;margin:12px 0 0;color:#646a73;font-size:12px;line-height:1.6}
.task-process-storage-summary>strong{color:#344054;font-weight:500}
.task-process-concurrent{margin:16px 0 8px}
.task-process-concurrent>h3{margin:0 0 6px;color:#646a73;font-size:12px;font-weight:500;line-height:1.6}
.task-process-concurrent-list{list-style:none!important;margin:0!important;padding:0!important;max-height:288px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.task-process-concurrent-item{--concurrent-state-color:#8f959e;display:grid;grid-template-columns:80px 76px minmax(0,1fr) 72px;align-items:center;gap:8px;min-height:44px;margin:0;padding:5px 0;border-bottom:1px solid #edf0f3;font-size:13px;line-height:1.6}
.task-process-concurrent-item:last-child{border-bottom:0}
.task-process-concurrent-item[data-state="completed"]{--concurrent-state-color:#16804a}
.task-process-concurrent-item[data-state="running"]{--concurrent-state-color:#245bdb}
.task-process-concurrent-item:is([data-state="failed"],[data-state="interrupted"]){--concurrent-state-color:#c93434}
.task-process-concurrent-item[data-state="blocked"]{--concurrent-state-color:#a76100}
.task-process-concurrent-name{grid-column:1;min-width:0;color:#344054;font-size:13px;font-weight:500}
.task-process-concurrent-state{grid-column:2;display:inline-flex;align-items:center;gap:6px;color:var(--concurrent-state-color);font-size:12px;white-space:nowrap}
.task-process-concurrent-state::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.task-process-concurrent-item[data-state="completed"] .task-process-concurrent-state::before{content:"✓";width:auto;height:auto;background:none;font-size:12px;line-height:1}
.task-process-concurrent-step{grid-column:3;min-width:0;color:#8f959e;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.task-process-concurrent-item>.task-process-open{grid-column:4;justify-self:end;min-height:32px;margin:0;padding:4px 0;border:0;background:transparent;font-size:12px;line-height:20px}
.task-process-concurrent-item>.task-process-open:hover{background:transparent;text-decoration:underline}
.task-process-item-details>h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 14px;color:#344054;font-size:15px;font-weight:500;line-height:1.6}
.task-process-item-details .task-status-facts{padding-top:0;border-top:0}
.image-opt-card-status{--image-card-status-color:#646a73;display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin:10px 0 7px;color:var(--image-card-status-color);font-size:12px;line-height:1.6}
.image-opt-card-status[data-state="completed"]{--image-card-status-color:#16804a}
.image-opt-card-status[data-state="running"]{--image-card-status-color:#245bdb}
.image-opt-card-status:is([data-state="failed"],[data-state="interrupted"]){--image-card-status-color:#c93434}
.image-opt-card-status[data-state="blocked"]{--image-card-status-color:#a76100}
.image-opt-card-state{display:inline-flex;align-items:center;gap:5px;font-weight:500}
.image-opt-card-state::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.image-opt-card-status[data-state="completed"] .image-opt-card-state::before{content:"✓";width:auto;height:auto;border-radius:0;background:none;font-size:12px;line-height:1}
.image-opt-card-phase{color:#646a73}
.image-opt-card-status>progress{flex:1 1 70px;max-width:140px;width:auto;height:4px;margin:0;border:0;border-radius:2px;overflow:hidden;background:#edf0f5;accent-color:var(--image-card-status-color)}
.image-opt-card-status>progress::-webkit-progress-bar{background:#edf0f5;border-radius:2px}
.image-opt-card-status>progress::-webkit-progress-value{background:var(--image-card-status-color);border-radius:2px}
.image-opt-card-status>progress::-moz-progress-bar{background:var(--image-card-status-color);border-radius:2px}
.image-opt-card-percent{font-variant-numeric:tabular-nums;color:var(--image-card-status-color)}
.image-opt-card-placeholder{display:grid;place-items:center;min-height:160px;padding:20px;border-radius:6px;background:#f6f7f9;color:#8f959e;font-size:13px;line-height:1.65;text-align:center;box-sizing:border-box}
/* The middle column owns progress; the matching image stays in the preview. */
.task-image-progress{min-width:0;margin-top:16px}
.task-image-progress>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;min-width:0;max-width:100%;margin-bottom:10px}
.task-image-progress>header>h3{margin:0;font-size:14px;font-weight:500;color:#344054}
.task-image-batch-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;max-width:100%}
.task-image-batch-tabs>button{min-height:32px;margin:0;padding:4px 9px;border:0;border-radius:0;background:transparent;color:#646a73;font:inherit;font-size:12px;line-height:22px;white-space:nowrap;cursor:pointer}
.task-image-batch-tabs>button[aria-pressed="true"]{color:#245bdb;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.task-image-batch-tabs>button:hover{color:#245bdb}
.task-image-batch-progress[hidden],[data-task-image-preview-batch][hidden],[data-task-image-summary-batch][hidden]{display:none!important}
.task-image-progress-list{list-style:none!important;margin:0!important;padding:0!important;max-height:420px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.task-image-progress-row{display:block;width:100%;max-width:100%;min-height:52px;margin:0 0 7px;padding:10px 13px;border:0;border-radius:10px;background:transparent;box-shadow:none;box-sizing:border-box}
.task-unit-progress-summary{display:grid;grid-template-columns:minmax(56px,.55fr) minmax(0,1fr) auto;align-items:center;align-content:start;gap:4px 10px;min-width:0}
.task-image-progress-row:last-child{margin-bottom:0}
.task-image-progress-row:hover{background:transparent}
.task-image-progress-name{grid-column:1;min-width:0;color:#344054;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.task-unit-progress-summary>.image-opt-card-status{grid-column:2;min-width:0;margin:0;font-size:12px}
.task-unit-progress-summary>.task-process-open{grid-column:3;grid-row:1;margin:0;padding:4px 0;min-height:32px;border:0;background:transparent;font-size:12px;line-height:22px}
.task-unit-progress-summary>.task-process-open:hover{background:transparent;color:#1d4ed8;text-decoration:none}
.task-unit-progress-summary>.image-opt-card-activity{grid-column:1/-1;margin:0}
.task-unit-progress-summary>.image-opt-card-error{grid-column:1/-1;margin:3px 0 0;color:#c93434;font-size:12px;line-height:1.6}
.task-process-entry>.task-image-progress{flex-basis:100%}
/* A unit name selects its matching result; progress remains beside that identity. */
.task-unit-progress .task-unit-progress-summary{grid-template-columns:minmax(80px,.85fr) minmax(0,1fr) auto}
.task-unit-preview-select{display:block;min-width:0;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#344054;font:inherit;font-size:13px;font-weight:500;line-height:1.6;text-align:left;white-space:normal;cursor:pointer;overflow-wrap:anywhere}
.task-unit-progress-summary>button.task-unit-preview-select,
.task-unit-progress-summary>button.task-unit-preview-select:is(:hover,:active,:focus,:focus-visible,[aria-pressed]){background:transparent!important;box-shadow:none!important}
.task-unit-preview-select:is(:hover,:focus-visible,[aria-pressed="true"]){color:#245bdb}
.task-unit-progress .task-unit-current{grid-column:1/-1;min-width:0;margin:0;color:#646a73;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.task-image-progress-row[data-preview-selected="true"] .task-unit-preview-select{color:#245bdb;text-decoration:none}
.task-unit-preview-select:focus-visible{outline:2px solid #3370ff;outline-offset:3px}
.task-unit-follow{min-height:32px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#646a73;font:inherit;font-size:12px;line-height:22px;white-space:nowrap;cursor:pointer}
.task-unit-follow:is(:hover,[aria-pressed="true"]){color:#245bdb}
.task-unit-preview-context{margin:0 0 10px;color:#646a73;font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
.task-unit-preview-modes{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin:0 0 12px}
.task-unit-preview-modes>button{min-height:32px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#646a73;font:inherit;font-size:12px;line-height:22px;white-space:nowrap;cursor:pointer}
.task-unit-preview-modes>button:hover{color:#245bdb}
.task-unit-preview-modes>button[aria-pressed="true"]{color:#245bdb;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
@media(pointer:coarse){.task-unit-follow,.task-unit-preview-modes>button{min-height:44px}}

@media(max-width:600px){.task-unit-progress .task-unit-progress-summary{grid-template-columns:minmax(72px,.85fr) minmax(0,1fr) auto;column-gap:8px}}
@media(pointer:coarse){.task-unit-preview-select{min-height:44px}}

/* Preview content stays readable without disclosure controls. */
.image-opt-original-note{margin:0 0 12px}
.image-opt-copy-title,.image-opt-detail-title{margin:0 0 8px;font-size:13px;line-height:1.65;font-weight:500}
.任务结构预览 .task-structure-node{padding:9px 0 9px 12px;border-left:1px solid #dce1e8}
.任务结构预览 .task-structure-node-title{margin:0;font:inherit;cursor:default}

/* Match the existing selected task rail without changing the three sibling columns. */
@media(min-width:761px){
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面{--task-progress-connection-gutter:26px;--task-progress-rail:#fff;--task-progress-selected:#eef0f3}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress{container-type:inline-size;container-name:task-progress-items}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list{width:calc(100% + var(--task-progress-connection-gutter));max-width:none;margin-right:calc(-1 * var(--task-progress-connection-gutter))!important;padding:12px 0!important;box-sizing:border-box;background:var(--task-progress-rail);border-radius:10px 0 0 10px;scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#cdd3dc var(--task-progress-selected)}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list::-webkit-scrollbar{width:6px}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list::-webkit-scrollbar-track{background:var(--task-progress-selected)}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list::-webkit-scrollbar-thumb{background:#cdd3dc;border-radius:3px}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row{position:relative;padding-right:calc(13px + var(--task-progress-connection-gutter));border-radius:10px 0 0 10px}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row[data-preview-selected="true"]{background:var(--task-progress-selected)}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row[data-preview-selected="true"]::before,
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row[data-preview-selected="true"]::after{content:"";position:absolute;right:0;width:12px;height:12px;pointer-events:none;z-index:1}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row[data-preview-selected="true"]::before{bottom:100%;background:radial-gradient(circle at 0 0,transparent 12px,var(--task-progress-selected) 12.5px)}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-row[data-preview-selected="true"]::after{top:100%;background:radial-gradient(circle at 0 100%,transparent 12px,var(--task-progress-selected) 12.5px)}
html:root body[data-lg-navigation-ready][data-current-page="im"][data-workbench="xhs"] #应用 #IM页面:has(.task-image-batch-progress:not([hidden]) .task-image-progress-row[data-preview-selected="true"])>#IM任务面板{background:var(--task-progress-selected)!important;border-left-color:var(--task-progress-selected)!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面:has(.task-image-batch-progress:not([hidden]) .task-image-progress-row[data-preview-selected="true"]) #IM右侧内容预览{background:var(--task-progress-selected)!important}
}
@media(min-width:761px) and (max-width:1180px){body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面{--task-progress-connection-gutter:20px}}

/* Image progress reads left to right; only a right-hand selection meets the preview edge. */
@media(min-width:761px){
@container task-progress-items (min-width:640px){
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list:has(>.task-image-progress-row:nth-child(2)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list:has(>.task-image-progress-row:nth-child(2))>.task-image-progress-row{margin:0}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list:has(>.task-image-progress-row:nth-child(2))>.task-image-progress-row:nth-child(odd){padding-right:13px;border-radius:10px}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list:has(>.task-image-progress-row:nth-child(2))>.task-image-progress-row:nth-child(odd)[data-preview-selected="true"]::before,
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 .task-image-progress-list:has(>.task-image-progress-row:nth-child(2))>.task-image-progress-row:nth-child(odd)[data-preview-selected="true"]::after{content:none}
}
}

.image-opt-result-track.image-opt-task-grid,
html:root body[data-lg-navigation-ready][data-current-page][data-mobile-view] #IM页面 .image-opt-result-track.image-opt-task-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:100%;overflow:visible!important;scroll-snap-type:none!important}
.image-opt-result-track.image-opt-task-grid:has(>article:only-child),
html:root body[data-lg-navigation-ready][data-current-page][data-mobile-view] #IM页面 .image-opt-result-track.image-opt-task-grid:has(>article:only-child){grid-template-columns:minmax(0,1fr)}
.image-opt-result-track.image-opt-task-grid>article,
html:root body[data-mobile-view][data-current-page] #IM页面 .image-opt-result-track.image-opt-task-grid>article{display:flex;flex-direction:column;flex:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;scroll-snap-align:none!important}
.image-opt-batch:has(.image-opt-task-grid),#IM右侧内容预览 .image-opt-batch:has(.image-opt-task-grid){margin:0;padding:0;border:0;border-radius:0;background:transparent}
.image-opt-result-track.image-opt-task-grid .image-opt-output{display:block;flex:none;margin:0 0 8px;border-radius:4px;background:#f6f7f9;overflow:hidden}
.image-opt-result-track.image-opt-task-grid .image-opt-output img{display:block;width:100%;height:160px;max-height:none;object-fit:contain;border-radius:4px}
.image-opt-task-grid .image-opt-card-placeholder{height:160px;min-height:160px;gap:5px;align-content:center;margin-bottom:8px;font-size:12px}
.image-opt-task-grid .image-opt-card-status{margin:2px 0 5px}
.image-opt-result-track.image-opt-task-grid>article>h3{order:-1;margin:0 0 9px!important;font-size:13px!important;font-weight:500!important;line-height:1.6!important;color:#344054;overflow-wrap:anywhere}
.image-opt-task-grid .task-process-open{align-self:flex-start;margin-top:9px;font-size:12px}
.image-opt-task-grid .task-process-entry{margin-top:4px;padding-top:0;border:0}
.image-opt-task-grid .task-process-entry>span{display:none}
.image-opt-task-grid>article>p{margin:7px 0 0;font-size:12px;line-height:1.6;color:#646a73}
.image-opt-task-grid>article>.image-opt-card-error{color:#c93434}
.image-opt-card-activity{--image-activity-row-height:24px;display:flex;align-items:center;gap:8px;min-width:0;margin:1px 0;color:#646a73;font-size:12px;line-height:var(--image-activity-row-height)}
.image-opt-card-activity>span{flex:none;color:#8f959e}
.image-opt-card-activity-window{min-width:0;flex:1;height:var(--image-activity-row-height);overflow:hidden}
.image-opt-card-activity-row{height:var(--image-activity-row-height);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.image-opt-card-activity[data-activity-running="true"] .image-opt-card-activity-track{animation-duration:var(--image-activity-duration);animation-delay:var(--image-activity-delay,0s);animation-timing-function:ease-in-out;animation-iteration-count:infinite}
.image-opt-card-activity[data-activity-running="true"][data-activity-count="2"] .image-opt-card-activity-track{animation-name:image-opt-activity-two}
.image-opt-card-activity[data-activity-running="true"][data-activity-count="3"] .image-opt-card-activity-track{animation-name:image-opt-activity-three}
:is(.image-opt-result-card,.task-image-progress-row):is(:hover,:focus-within) .image-opt-card-activity-track{animation-play-state:paused}
@keyframes image-opt-activity-two{0%,44%{transform:translateY(0)}50%,94%{transform:translateY(calc(-1 * var(--image-activity-row-height)))}100%{transform:translateY(calc(-2 * var(--image-activity-row-height)))}}
@keyframes image-opt-activity-three{0%,28%{transform:translateY(0)}33.333%,61%{transform:translateY(calc(-1 * var(--image-activity-row-height)))}66.666%,94%{transform:translateY(calc(-2 * var(--image-activity-row-height)))}100%{transform:translateY(calc(-3 * var(--image-activity-row-height)))}}
@media(prefers-reduced-motion:reduce){.image-opt-card-activity .image-opt-card-activity-track{animation:none!important;transform:none!important}}
@media(max-width:600px){.image-opt-result-track.image-opt-task-grid,
html:root body[data-lg-navigation-ready][data-current-page][data-mobile-view] #IM页面 .image-opt-result-track.image-opt-task-grid{grid-template-columns:minmax(0,1fr)}
.image-opt-result-track.image-opt-task-grid .image-opt-output img{height:180px}}
@media(pointer:coarse){.task-image-batch-tabs>button,.task-unit-progress-summary>.task-process-open{min-height:44px}}
.task-process-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:12px;padding:12px 0 0;border-top:1px solid #edf0f3}
.task-process-entry>span{color:#8f959e;font-size:12px;line-height:1.6}
.task-process-entry>:is([data-task-readback-notice],.task-status-availability,.task-process-notice){flex-basis:100%;margin:0 0 4px}
.task-process-entry>[data-task-readback-notice]:empty{display:none}
.task-process-open{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;margin:0;padding:5px 12px;border:1px solid #d9e4ff;border-radius:4px;background:#f5f8ff;color:#245bdb;font:inherit;font-size:13px;line-height:20px;white-space:nowrap;cursor:pointer}
.task-process-open:hover{background:#eaf1ff;border-color:#bdd0ff}
.task-process-open:focus-visible{outline:2px solid #3370ff;outline-offset:3px}
.task-process-layer{--workbench-layer-width:760px;color:#1f2329;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.task-process-layer[data-workbench-layer]{display:flex!important;flex-direction:column;padding:0!important;overflow:hidden!important}
.task-process-layer-header{display:flex;align-items:flex-start;justify-content:space-between;flex:none;gap:16px;margin:0;padding:24px 28px 18px;background:#fff}
.task-process-layer-header>div{min-width:0}
.task-process-layer-header h2{margin:0;font-size:18px;line-height:1.5;font-weight:600}
.task-process-layer-header p{margin:5px 0 0;color:#646a73;font-size:12px;line-height:1.6}
.task-process-layer-header>button{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:4px;background:#f5f6f7;color:#646a73;font:inherit;font-size:22px;line-height:1;cursor:pointer}
.task-process-layer-header>button:hover{background:#eff0f2;color:#1f2329}
.task-process-layer-body{flex:1;min-width:0;min-height:0;padding:0 28px 28px;overflow:auto;overscroll-behavior:contain}
.task-process-layer-body>:is(.task-process-details,.task-process-item-details,.task-process-image-details){margin-top:0}
.task-process-image-details>h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:15px;font-weight:500}
.task-process-image-details .task-status-facts{gap:10px 18px;font-size:12px}
.task-process-image-details .task-status-facts dt{color:#8f959e;font-size:12px}
.task-process-image-details .task-status-facts dd{color:#646a73;overflow-wrap:anywhere}
.task-process-image-records{margin-top:18px}
.task-process-image-records>h3{font-size:13px;font-weight:500}
.task-process-image-records .task-status-stages{list-style:none;margin:8px 0 0;padding:0}
.task-process-image-records .task-status-stages>li{padding:10px 0;border-bottom:1px solid #edf0f3;font-size:13px}
.task-process-image-records .task-status-stages>li:last-child{border-bottom:0}
.task-process-image-records .task-status-stages small{color:#8f959e;font-size:12px}
.task-process-layer-body .task-process-stages>h3{margin-top:8px}
.task-process-layer-body .task-process-records{margin-top:20px}
.task-process-layer-body .task-process-records>h3{color:#344054;font-size:13px}
@media(max-width:600px){
  .task-process-concurrent-item{grid-template-columns:64px 62px minmax(0,1fr) 58px;gap:6px}
  .task-process-concurrent-name{font-size:12px}
  .task-process-layer-header{padding:20px 20px 14px}
  .task-process-layer-body{padding:0 20px 20px}
  .task-process-layer-header h2{font-size:17px}
}
@media(pointer:coarse){.task-process-open,.task-process-concurrent-item>.task-process-open{min-height:44px}.task-process-layer-header>button{width:44px;height:44px}}
.task-status-detail.task-process-details{margin:16px 0 0;font-size:13px;line-height:1.65}
.task-process-details>[data-task-readback-notice]>.task-status-muted{margin:0 0 8px;font-size:11px;color:#8f959e}
.task-process-details .task-status-read-error{margin:0 0 10px;padding:9px 12px;border-radius:4px;font-size:12px;line-height:1.7}
.task-process-details .task-status-availability{margin:10px 0;padding:9px 12px;border-radius:4px;background:#f5f6f7;font-size:12px}
.task-process-details .task-status-availability.blocked{background:#fff8ed}
.task-process-details .task-status-availability.ready{background:#f2faf5}
.task-process-details .task-status-availability strong{font-size:12px;font-weight:500}
.task-process-details .task-status-availability p{margin:3px 0 0;color:#646a73}
.task-process-details .task-process-records{border-top:1px solid #edf0f3}
.task-process-details .task-process-records>h3{margin:0;padding:10px 0;color:#646a73;font-size:12px;font-weight:500;line-height:1.6}
.task-process-details .task-process-records>h3>span{margin-left:8px;color:#8f959e;font-weight:400}
.task-process-details .task-status-facts{gap:10px 18px;margin:10px 0 16px;font-size:12px}
.task-process-details .task-status-facts dt{font-size:11px;color:#8f959e}
.task-process-details .task-status-facts dd{margin-top:3px;color:#646a73}
.task-process-details .task-status-stages{margin:6px 0;padding-left:18px}
.task-process-details .task-status-stages li{padding:6px 0 9px 3px;font-size:12px}
.task-process-details .task-status-stages li>header{gap:10px;line-height:1.6}
.task-process-details .task-status-stages li p{margin:3px 0;color:#646a73;font-size:12px;line-height:1.65}
.task-process-details .task-process-record-stages>h3{margin:0;padding:8px 0;font-size:12px;font-weight:500;line-height:1.6;color:#646a73}

/* Independent images/articles use units; ordered work uses one connected path. */
.task-process-view .task-process-list>li{--step-color:#8f959e;--step-tint:#f2f3f5;--step-line:#e4e7ec}
.task-process-view .task-process-list>li[data-state="completed"]{--step-color:#16804a;--step-tint:#edf8f1;--step-line:#a9d7ba}
.task-process-view .task-process-list>li[data-state="running"]{--step-color:#3370ff;--step-tint:#eaf1ff}
.task-process-view .task-process-list>li:is([data-state="failed"],[data-state="interrupted"]){--step-color:#c93434;--step-tint:#fff0ee}
.task-process-view .task-process-list>li[data-state="blocked"]{--step-color:#a76100;--step-tint:#fff7e8}
.task-process-view .task-process-item-index{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--step-tint);color:var(--step-color);font-size:12px;line-height:1;font-weight:500}
.task-process-view .task-process-list>li[data-state="running"] .task-process-item-index{box-shadow:0 0 0 2px #dce8ff}
.task-process-view[data-task-kind="image_optimization"] .task-process-list>li{grid-template-columns:24px minmax(0,1fr);column-gap:10px}
.task-process-view[data-task-kind="image_optimization"] .task-process-item-index{grid-row:1/3;line-height:1}
.task-process-view[data-task-kind="xhs_generation"] .task-process-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}
.task-process-view[data-task-kind="xhs_generation"] .task-process-list>li{grid-template-columns:24px minmax(0,1fr) auto;gap:4px 10px;align-content:start;padding:12px;border:1px solid #e7ebf1;border-radius:6px;background:#fafbfc}
.task-process-view[data-task-kind="xhs_generation"] .task-process-list>li[data-state="running"]{background:#f5f8ff;border-color:#cbdcff}
.task-process-view[data-task-kind="xhs_generation"] .task-process-list>li:is([data-state="failed"],[data-state="interrupted"]){background:#fff7f6;border-color:#f1d9d7}
.task-process-view[data-task-kind="xhs_generation"] .task-process-item-name{line-height:24px}
.task-process-view[data-task-kind="xhs_generation"] .task-process-item-state{line-height:24px}
.task-process-view .task-process-item-progress{grid-column:2/-1;display:block;height:4px;margin-top:5px;border:0;border-radius:2px;background:#e9edf3;overflow:hidden}
.task-process-view .task-process-item-progress>i{display:block;height:100%;border-radius:inherit;background:var(--step-color)}
/* Batch stage records are independent observations, not a serial path. */
.task-process-details .task-status-stages{list-style:none;padding:0;margin:8px 0 14px}
.task-process-details .task-status-stages>li{padding:9px 0;border-bottom:1px solid #edf0f3;min-height:0}
.task-process-details .task-status-stages>li:last-child{border-bottom:0}
.task-process-details .task-status-facts{padding-top:12px;border-top:1px solid #edf0f3}
.task-process-details .task-status-facts dd{font-size:12px;color:#8f959e}
/* Keep the template dashboard's page evidence at the same task-view scale. */
.template-dashboard.task-process-template{padding:0;max-width:none;margin:0;color:#1f2329;font-size:13px}
.task-process-template>header{gap:12px;margin-bottom:18px}
.task-process-template>header h2{font-size:17px;line-height:1.5;margin:3px 0 0}
.task-process-template>header p{font-size:12px;line-height:1.6;margin:4px 0 0}
.task-process-template .template-summary{padding:14px;border:0;border-radius:4px;background:var(--task-process-tint,#f5f8ff)}
.task-process-template .template-summary-top{gap:16px}
.task-process-template .template-ring{width:76px;height:76px;padding:6px;box-shadow:none;background:conic-gradient(var(--task-process-accent,#3370ff) var(--template-angle),#e3e8f0 0)}
.task-process-template .template-ring>div{gap:4px;background:var(--task-process-tint,#f5f8ff)}
.task-process-template .template-ring strong{font-size:22px;line-height:1.1;font-weight:600}
.task-process-template .template-ring small{font-size:12px}
.task-process-template .template-ring span{font-size:10px}
.task-process-template .template-current h3{font-size:15px;line-height:1.55;font-weight:500;color:var(--task-process-accent,#245bdb)}
.task-process-template .template-current p{font-size:12px;line-height:1.6;margin:5px 0 0}
.task-process-template .template-segments{margin-top:14px!important;gap:3px}
.task-process-template .template-segments li{font-size:10px}
.task-process-template .template-segments li>i{height:5px;line-height:5px;font-size:0;margin-bottom:5px;border-radius:2px}
.task-process-template .template-metrics{gap:0;margin:14px 0 18px;border-block:1px solid #edf0f3}
.task-process-template .template-metric{padding:10px 8px;border:0;border-radius:0;background:transparent}
.task-process-template .template-metric>span{font-size:11px;gap:5px}
.task-process-template .template-metric strong{font-size:16px;font-weight:600;margin-top:4px}
.task-process-template .template-metric strong small{font-size:11px}
.task-process-template .template-page-section h3{font-size:13px;line-height:1.6;margin-bottom:9px;font-weight:500}
.task-process-template .template-page-grid{gap:8px}
.task-process-template .template-page-grid>li{padding:10px;border-radius:4px;gap:8px}
.task-process-template .template-page-grid strong{font-size:12px;line-height:1.5;margin-bottom:4px}
.task-process-template .template-page-grid div>span{font-size:11px;line-height:1.6;gap:5px}
.task-process-template .template-page-symbol{display:none}
.task-process-template .template-delivery-status{margin-top:12px;font-size:12px;line-height:1.7}

@media(max-width:600px){
  .task-process-view .task-process-metrics{gap:6px 14px}
  .task-process-view .task-process-list>li{grid-template-columns:16px minmax(0,1fr) auto;gap:3px 8px;padding:9px 0}
  .task-process-view .task-process-summary{flex-wrap:wrap;gap:4px 12px}
  .task-process-view .task-process-summary strong{font-size:15px}
  body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-row{align-items:flex-start}
  body[data-current-page="im"] :is(.task-process-view,.IM任务消息组) .task-home-storage-row>span{flex-shrink:0}
  .task-process-details .task-status-facts{grid-template-columns:1fr}
  .task-process-template .template-summary{padding:12px}
  .task-process-template .template-summary-top{gap:12px;align-items:flex-start}
  .task-process-template .template-ring{width:64px;height:64px;padding:5px}
  .task-process-template .template-ring strong{font-size:19px}
  .task-process-template .template-current h3{font-size:14px}
  .task-process-template .template-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html:root body[data-lg-navigation-ready][data-current-page][data-mobile-view] #IM页面 .任务执行进度.task-process-view>header h2{font-size:17px!important;line-height:25px!important}
}
@media(max-width:600px){.task-status-facts{grid-template-columns:1fr}.task-status-checks>div{grid-template-columns:1fr;gap:2px}.task-status-type>header,.task-status-stages li>header{gap:8px}}

/* Group the selected task into overview, batch progress and storage panels. */
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区:has(>#IM任务消息>.IM任务消息组.已选中>.task-process-view){background:#f4f6f8!important;padding:18px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>:is(.task-process-view,.task-process-details,.task-home-storage){box-sizing:border-box;min-width:0;margin:0!important;padding:20px 22px!important;border:1px solid #e2e7ee!important;border-radius:12px;background:#fff!important;box-shadow:none!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>:is(.task-process-details,.task-home-storage){margin-top:16px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>.task-process-details{--task-progress-connection-gutter:0px;--task-progress-rail:transparent}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>.task-process-details>.task-image-progress{margin-top:0}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>.task-process-details>.task-image-progress>header>h3{font-weight:600}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>.task-home-storage{margin-bottom:16px!important}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>.task-home-storage>.image-opt-storage-receipt{padding:0}
body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中:has(>.task-process-view)>.任务停止删除操作{background:transparent}
@media(max-width:760px){
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区:has(>#IM任务消息>.IM任务消息组.已选中>.task-process-view){padding:12px!important}
  body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM任务消息>.IM任务消息组.已选中>:is(.task-process-view,.task-process-details,.task-home-storage){padding:16px!important;border-radius:10px}
}

/* Selected task actions float independently of the progress and storage scroll. */
@layer mobile-task {
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 >.IM窗口:has(#IM消息区[data-task-detail-layout]){display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]{position:relative!important;display:block!important;flex:1 1 0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#f4f6f8!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.task-detail-scroll{box-sizing:border-box;display:block;height:100%;min-height:0;overflow:auto;padding:18px 18px calc(var(--task-detail-actions-height,70px) + var(--task-detail-actions-bottom,16px) + 18px);scroll-padding-bottom:calc(var(--task-detail-actions-height,70px) + var(--task-detail-actions-bottom,16px) + 18px)}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] #IM任务消息,html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .IM任务消息组.已选中{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作{position:absolute!important;inset:auto 18px var(--task-detail-actions-bottom,16px)!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;min-height:0!important;max-height:45%!important;overflow:auto!important;margin:0!important;padding:14px 18px!important;border:1px solid #dce3ec!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 28px rgba(31,41,55,.12),0 2px 6px rgba(31,41,55,.06)!important;z-index:10!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作 .任务操作状态{font-size:13px!important;line-height:22px!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作 button{height:auto!important;min-height:36px!important;max-width:100%;white-space:normal;line-height:22px!important;padding:6px 16px!important;overflow-wrap:anywhere}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-process-view:has(>.任务进度主体:empty)>header{margin-bottom:0!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-process-view>.任务进度主体:empty{display:none}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-image-progress>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-image-progress>header>.task-image-batch-tabs{grid-column:1/-1}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-process-details .task-process-summary{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:13px;line-height:22px;color:#646a73}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-process-details .任务完成数量{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:13px!important;line-height:22px!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout] .task-process-details .任务完成数量 strong{font-size:16px!important;font-weight:600;color:#1f2329}
@media(max-width:760px){
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]{--task-detail-actions-bottom:calc(12px + env(safe-area-inset-bottom))}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.task-detail-scroll{padding:12px 12px calc(var(--task-detail-actions-height,100px) + var(--task-detail-actions-bottom) + 16px)}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作{left:12px!important;right:12px!important;padding:12px 16px!important}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作 .任务操作状态{flex:1 0 100%;margin:0}
html:root body[data-current-page="im"][data-workbench="xhs"] #应用 #IM页面 #IM消息区[data-task-detail-layout]>.任务停止删除操作 button{min-height:44px!important;font-size:14px!important}
}
}
