﻿/* Image tools migrated to the video workbench surface. Upload behavior and
 * feature-specific layouts remain owned by their existing controls. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel {
    --free-panel-surface: rgba(255, 255, 255, .68);
    --free-panel-line: rgba(203, 214, 231, .82);
    --free-control-surface: #f8fafc;
    --free-control-line: #dce5f1;
    --free-control-ink: #38465d;
    --free-control-muted: #7d8799;
    --free-upload-hover-surface: #eef5ff;
    --free-upload-action-surface: #ffffff;
    --free-upload-action-line: #dbe2ec;
    --free-upload-action-ink: #303846;
    isolation: isolate;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel::after {
    inset: 0 auto 0 0 !important;
    width: var(--workbench-settings-rail-width) !important;
    box-sizing: border-box !important;
    border: 1px solid var(--free-panel-line) !important;
    border-radius: 18px !important;
    background: var(--free-panel-surface) !important;
    z-index: -1 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .task-heading {
    padding: 22px 22px 20px !important;
    margin: 0 !important;
    background: transparent !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .task-heading h2 {
    color: var(--free-control-ink) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .task-heading::after {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    margin-top: 16px;
    background: var(--free-control-line);
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .feature-clear-settings-button {
    height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid var(--free-control-line) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--free-control-muted) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .settings-column {
    padding-bottom: 18px !important;
    background: transparent !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .settings-scroll-area {
    width: 100% !important;
    padding-right: 0 !important;
    scrollbar-width: thin !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #product-upload:not(:hover):not(:focus-within) {
    background: var(--free-control-surface) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #extra-prompt-label {
    color: var(--free-control-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #extra-prompt {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 12px !important;
    background: var(--free-control-surface) !important;
    color: var(--free-control-ink) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #extra-prompt:focus {
    border-color: #5578e6 !important;
    outline: 2px solid rgba(85,120,230,.12) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel .settings-bottom-area {
    border-top: 1px solid var(--free-control-line) !important;
    padding-top: 16px !important;
    background: transparent !important;
  }
  /* The summary owns the border; legacy details wrappers must not paint a
   * second outline with a different radius or color. */
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(#inline-model-section, #free-bottom-ratio-section, .print-count-select, .print-resolution-select) {
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(#inline-model-section > summary, .mobile-free-ratio-toggle, .print-count-select > summary, .print-resolution-select > summary) {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 12px !important;
    background: var(--free-control-surface) !important;
    color: var(--free-control-ink) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(#inline-model-section > summary, .mobile-free-ratio-toggle, .print-count-select > summary, .print-resolution-select > summary) :is(svg, strong) {
    color: var(--free-control-muted) !important;
    background: transparent !important;
    font-weight: 400 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(#inline-model-section[open] > summary, .mobile-free-ratio-toggle[aria-expanded="true"], .print-count-select[open] > summary, .print-resolution-select[open] > summary) {
    border-color: #aabfff !important;
    background: #eef3ff !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #generate {
    border: 0 !important;
    border-radius: 12px !important;
    background: #5578e6 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: 650 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #generate:disabled {
    background: #dbe1f2 !important;
    opacity: 1 !important;
  }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel {
    --free-panel-surface: rgba(27,32,42,.78);
    --free-panel-line: rgba(65,75,92,.88);
    --free-control-surface: #262c38;
    --free-control-line: #414b5c;
    --free-control-ink: #e1e7f1;
    --free-control-muted: #a0aec3;
    --free-upload-hover-surface: #2d3748;
    --free-upload-action-surface: #2b3341;
    --free-upload-action-line: #4a566a;
    --free-upload-action-ink: #e1e7f1;
  }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel #generate:disabled {
    background: #36435f !important;
  }
}
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(.inline-model-options, #free-generate-option-grid, .print-compact-menu) {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 12px !important;
    background: var(--free-control-surface) !important;
    color: var(--free-control-ink) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(.inline-model-option, [data-free-ratio], .print-compact-menu button) {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 9px !important;
    background: var(--free-control-surface) !important;
    color: var(--free-control-ink) !important;
    font-weight: 500 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(.inline-model-option, [data-free-ratio], .print-compact-menu button):is(.selected, [aria-pressed="true"]) {
    border-color: #5578e6 !important;
    background: #eef3ff !important;
    color: #3f63cf !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(#prompt-optimize-button, #video-material-mention-button) {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 999px !important;
    background: var(--free-control-surface) !important;
    color: #5578e6 !important;
    font-weight: 400 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature] #task-panel #prompt-optimize-button {
    color: #9aa0aa !important;
    font-weight: 500 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="free-generate"], [data-active-feature="image-to-psd"], [data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], :is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="free-match"], [data-active-feature="buyer-show"], [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"])) #task-panel :is(.mobile-free-ratio-toggle, .print-count-select > summary, .print-resolution-select > summary) > span {
    color: var(--free-control-ink) !important;
  }
}

@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #settings-card { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #settings-title { color: var(--free-control-ink) !important; font-size: 16px !important; font-weight: 600 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload { border: 1px dashed var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; box-shadow: none !important; color: var(--free-control-ink) !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-icon { background: #eef3ff !important; color: #5578e6 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button:hover { border-color: #aabfff !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button.selected { border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important; box-shadow: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-text strong { color: inherit !important; font-size: 14px !important; font-weight: 500 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-text small { color: var(--free-control-muted) !important; font-size: 12px !important; font-weight: 400 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button.selected .outpaint-preset-text strong { color: #3f63cf !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button.selected .ratio-icon { color: #5578e6 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .ratio-icon::before { background: transparent !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button.selected .ratio-icon::before { background: transparent !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel :is(.print-count-select, .print-resolution-select) > summary > span { background: transparent !important; color: var(--free-control-ink) !important; }
}

@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .outpaint-preset-grid .choice-button { transform: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .ratio-icon { background: transparent !important; }
}

/* Match the approved folder upload design while retaining the single-image picker. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:not(.is-filled) { display: grid !important; align-content: center !important; justify-items: center !important; min-height: 170px !important; padding: 20px 16px 46px !important; gap: 10px !important; box-sizing: border-box !important; transition: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-icon { display: block !important; width: 52px !important; height: 52px !important; border-radius: 0 !important; background: url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; box-shadow: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-icon > * { display: none !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-copy { display: grid !important; gap: 6px !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-title { font-size: 14px !important; font-weight: 500 !important; color: var(--free-control-ink) !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-note { font-size: 12px !important; font-weight: 400 !important; color: var(--free-control-muted) !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(:hover, :focus-within) { border-color: #4388ff !important; background: #eef5ff !important; }
}

@layer desktop-fixed-rails {
body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload .free-upload-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
}
body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload .free-upload-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex: 0 1 115px !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--free-upload-action-line, #dbe2ec) !important;
  border-radius: 9px !important;
  background: var(--free-upload-action-surface, #fff) !important;
  color: var(--free-upload-action-ink, #303846) !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px #1d35570a !important;
  transition: none !important;
}
body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload .free-upload-actions button:is(:hover, :focus-visible) {
  background: #2678ff !important;
  border-color: #2678ff !important;
  color: #fff !important;
}
body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload:not(.is-filled) .free-upload-actions {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  width: calc(100% - 32px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload:not(.is-filled):is(:hover, :focus-within) .free-upload-actions {
  opacity: 1 !important;
  pointer-events: auto !important;
}

html:not([data-mobile-workbench="true"]) body:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #product-upload:not(.is-filled):is(:hover, :focus-within) #upload-note { visibility: hidden !important; }
}

/* Shared multi-image uploaders: centered empty state, fixed filled height and animated thumbnail row. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled {
    position: relative !important;
    height: 256px !important;
    min-height: 256px !important;
    max-height: 256px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled .upload-icon { position: absolute !important; left: 18px !important; top: 20px !important; margin: 0 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled .upload-copy { position: absolute !important; left: 82px !important; top: 20px !important; text-align: left !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled #upload-note { visibility: visible !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card #detail-upload-strip.hd-upload-strip { position: absolute !important; left: 16px !important; right: 16px !important; top: 88px !important; height: 116px !important; min-height: 0 !important; max-height: none !important; width: auto !important; box-sizing: border-box !important; margin: 0 !important; }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card .free-upload-actions { position: absolute !important; left: 16px !important; right: 16px !important; bottom: 14px !important; margin: 0 !important; transform: none !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload :is(#upload-thumb,#upload-instant-status,#upload-stack) { display: none !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload #detail-upload-strip.hd-upload-strip:not([hidden]) { display: flex !important; align-items: flex-start !important; flex-wrap: nowrap !important; gap: var(--hd-thumb-gap, 10px) !important; overflow-x: auto !important; overflow-y: hidden !important; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 0 !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-card { position: relative !important; display: block !important; --hd-card-height: min(var(--hd-thumb-height, 100px), calc(var(--hd-thumb-max-width, 200px) / var(--hd-image-ratio, .76))); --hd-card-width: calc(var(--hd-card-height) * var(--hd-image-ratio, .76)); flex: 0 0 var(--hd-card-width) !important; width: var(--hd-card-width) !important; height: var(--hd-card-height) !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; box-shadow: none !important; overflow: hidden; box-sizing: border-box; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-preview { display: block !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 5px !important; background: transparent !important; box-shadow: none !important; cursor: zoom-in; opacity: 1 !important; transform: none !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-preview:disabled { cursor: default; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-preview img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important; border-radius: 5px !important; margin: 0 !important; transform: none !important; background: transparent !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-delete { position: absolute !important; top: 4px !important; right: 4px !important; display: grid !important; place-items: center !important; width: 20px !important; min-width: 20px !important; height: 20px !important; min-height: 20px !important; padding: 0 !important; border: 1px solid white !important; border-radius: 50% !important; background: #475569 !important; color: white !important; box-shadow: none !important; transform: none !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-delete svg { width: 12px !important; height: 12px !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-delete:is(:hover,:focus-visible) { background: #e54864 !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-status { position: absolute; bottom: 8px; left: 2px; right: 2px; padding: 3px 0; border-radius: 4px; background: #263348e8; color: white; text-align: center; font-size: 12px; font-weight: 400; pointer-events: none; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-card[data-status="done"] .hd-upload-status { display: none; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-card[data-status="pending"] .hd-upload-status::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 3px; vertical-align: -1px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: uploadInstantSpin .72s linear infinite; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-card[data-status="error"] .hd-upload-status { bottom: 33px; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-retry:not([hidden]) { position: absolute !important; bottom: 5px !important; left: 4px !important; right: 4px !important; width: calc(100% - 8px) !important; max-width: 56px !important; margin: 0 auto !important; height: 24px !important; min-height: 24px !important; padding: 0 !important; border: 1px solid var(--free-control-line) !important; border-radius: 5px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; font-size: 12px !important; font-weight: 400 !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-retry[hidden] { display: none !important; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload :is(.hd-upload-preview,.hd-upload-retry):focus-visible { outline: 2px solid #4388ff !important; outline-offset: -2px; }
  html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card[data-hd-upload-pending="true"] .free-upload-actions { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: none !important; }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card { background: #252a35 !important; border-color: #46516a !important; }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card:is(:hover,:focus-within) { background: #303f60 !important; border-color: #7798f2 !important; }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-card { background: transparent !important; border: 0 !important; }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-retry:not([hidden]) { background: #252a35 !important; color: #e6eaf2 !important; border-color: #46516a !important; }
  @media (hover: hover) and (pointer: fine) {
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled { --hd-thumb-max-width: 280px; --hd-thumb-height: 140px; --hd-thumb-gap: 14px; }
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled .hd-upload-card { transition: width 260ms cubic-bezier(.22,.61,.36,1), flex-basis 260ms cubic-bezier(.22,.61,.36,1), height 260ms cubic-bezier(.22,.61,.36,1) !important; }
    html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled #detail-upload-strip.hd-upload-strip { height: 156px !important; transition: gap 260ms cubic-bezier(.22,.61,.36,1), height 260ms cubic-bezier(.22,.61,.36,1) !important; }
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled:not([data-hd-upload-pending="true"]):not([data-hd-upload-rest]):is(:hover,:focus-visible,:has(:focus-visible)) { --hd-thumb-max-width: 200px; --hd-thumb-height: 100px; --hd-thumb-gap: 10px; }
    html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled:not([data-hd-upload-pending="true"]):not([data-hd-upload-rest]):is(:hover,:focus-visible,:has(:focus-visible)) #detail-upload-strip.hd-upload-strip { height: 116px !important; }
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled .free-upload-actions { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity 100ms ease, visibility 0s linear 100ms !important; }
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled:not([data-hd-upload-pending="true"]):not([data-hd-upload-rest]):is(:hover,:focus-visible,:has(:focus-visible)) .free-upload-actions { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transition: opacity 160ms ease 260ms, visibility 0s linear 260ms !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-mobile-workbench="true"]) body:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .hd-upload-status::before { animation: none !important; }
    html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="hd-upscale"], [data-active-feature="watermark-remove"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload.upload-card.is-filled :is(.free-upload-actions,#detail-upload-strip.hd-upload-strip,.hd-upload-card) { transition: none !important; }
  }
}

/* Shared single-image filled state: keep the 176px card, animate only its contents.
   Touch/mobile layouts keep their existing always-available upload actions. */
@layer desktop-fixed-rails {
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload[data-stable-single-upload]:is(.is-filled,.is-uploading) {
    background: #252a35 !important;
    border-color: #46516a !important;
  }
  html[data-theme="dark"] body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload[data-stable-single-upload]:is(.is-filled,.is-uploading):is(:hover,:focus-within) {
    background: #303f60 !important;
    border-color: #7798f2 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) #upload-thumb {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 80px !important;
    max-height: 80px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: transparent !important;
    box-shadow: none !important;
    transform-origin: top right !important;
    transform: scale(1.85) !important;
    transition: transform 260ms cubic-bezier(.22, .61, .36, 1) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .upload-copy {
    max-width: calc(100% - 270px) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.upload-card:is(.is-filled,.is-uploading) .free-upload-actions {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 180ms ease, transform 260ms ease, visibility 0s linear 260ms !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-filled:not(.is-uploading):not([data-single-upload-rest]):is(:hover, :focus-visible, :has(:focus-visible)) #upload-thumb {
    transform: scale(1) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.upload-card.is-filled:not(.is-uploading):not([data-single-upload-rest]):is(:hover, :focus-visible, :has(:focus-visible)) .free-upload-actions {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition-delay: 0s !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-uploading[data-stable-single-upload] #upload-thumb {
    display: block !important;
    visibility: visible !important;
    transition: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload[data-stable-single-upload]:is(.is-uploading,[data-single-upload-rest]) .free-upload-actions {
    transition: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload[data-stable-single-upload] #upload-instant-status:not([hidden]) {
    display: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-uploading[data-stable-single-upload] #upload-note::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: -2px;
    border: 1.5px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: uploadInstantSpin .72s linear infinite;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel:has(#product-upload.is-uploading[data-stable-single-upload]) #upload-clear-x {
    visibility: hidden !important;
  }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-uploading[data-stable-single-upload] #upload-note::before { animation: none !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-filled:not(.is-uploading) :is(#upload-thumb, .free-upload-actions) {
      transition: none !important;
    }
  }
}
}

/* Single-image upload geometry is identical while reading and after completion. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload { position: relative !important; height: 176px !important; min-height: 176px !important; max-height: 176px !important; box-sizing: border-box !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .free-upload-actions { position: absolute !important; bottom: 16px !important; left: 16px !important; width: calc(100% - 32px) !important; height: 38px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .free-upload-actions { opacity: 1 !important; pointer-events: auto !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .upload-icon { position: absolute !important; left: 18px !important; top: 30px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .upload-copy { position: absolute !important; left: 82px !important; top: 30px !important; width: calc(100% - 224px) !important; text-align: left !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload:is(.is-filled,.is-uploading) #upload-note { visibility: visible !important; min-height: 18px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-thumb { position: absolute !important; right: 42px !important; top: 16px !important; width: 80px !important; height: 80px !important; margin: 0 !important; object-fit: contain !important; border-radius: 10px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-uploading #upload-thumb { visibility: hidden !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-instant-status:not([hidden]) { display: block !important; position: absolute !important; right: 42px !important; top: 16px !important; width: 80px !important; height: 80px !important; margin: 0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-instant-thumb { display: block !important; width: 80px !important; height: 80px !important; margin: 0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-instant-thumb img { width: 80px !important; height: 80px !important; object-fit: contain !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload .upload-instant-copy { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .upload-column { position: relative !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #upload-clear-x:not([hidden]) { display: grid !important; place-items: center !important; position: absolute !important; top: 10px !important; right: 56px !important; width: 24px !important; height: 24px !important; padding: 0 !important; border: 1px solid white !important; border-radius: 50% !important; background: #475569 !important; color: white !important; z-index: 10 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #upload-clear-x svg { width: 14px !important; height: 14px !important; }
}

@layer desktop-fixed-rails { html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload { transform: none !important; } }

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-thumb { left: auto !important; bottom: auto !important; transform: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #upload-clear-x:not([hidden]) { min-width: 24px !important; min-height: 24px !important; transform: none !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel .single-upload-preview-strip { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload.is-filled #upload-thumb { display: block !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #upload-clear-x:not([hidden]) { right: 42px !important; }
}

/* The instant preview is visual in outpaint, not an offscreen status region. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outpaint"], [data-active-feature="local-edit"], [data-active-feature="background-remove"], [data-active-feature="view-change"], [data-active-feature="text-edit"], [data-active-feature="reverse-prompt"], [data-active-feature="colors"], [data-active-feature="pose-change"], [data-active-feature="buyer-show"]:not([data-buyer-show-slots="true"]), [data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"]) #task-panel #product-upload #upload-instant-status:not([hidden]) { clip: auto !important; clip-path: none !important; overflow: visible !important; visibility: visible !important; opacity: 1 !important; z-index: 3 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; box-shadow: none !important; color: var(--free-control-ink) !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar button { border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; font-weight: 400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar button:hover:not(:disabled) { border-color: #aabfff !important; background: #eef3ff !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar :is(output,kbd) { color: var(--free-control-muted) !important; font-weight: 400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar input[type="range"] { accent-color: #5578e6 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="local-edit"] #task-panel .local-edit-toolbar button:disabled { opacity: .45 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#product-upload,.wm-source-upload,.wm-logo-upload) { border: 1px dashed var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#product-upload,.wm-source-upload) .upload-icon { display: block !important; width: 52px !important; height: 52px !important; border-radius: 0 !important; background: url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#product-upload,.wm-source-upload) .upload-icon > * { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:not(.is-filled):not(.is-uploading) { min-height: 176px !important; display: grid !important; justify-items: center !important; align-content: center !important; gap: 10px !important; padding: 20px 16px 46px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel .wm-source-upload:not(.wm-has-images) { min-height: 176px !important; justify-content: center !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#product-upload,.wm-source-upload) .upload-copy { display: grid !important; gap: 6px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#upload-title,.wm-source-upload .upload-copy strong) { font-size: 14px !important; font-weight: 500 !important; color: var(--free-control-ink) !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#upload-note,.wm-source-upload .upload-copy small) { font-size: 12px !important; font-weight: 400 !important; color: var(--free-control-muted) !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#watermark-mode-switch .wm-mode-tab,#watermark-workspace .choice-button) { border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#watermark-mode-switch .wm-mode-tab,#watermark-workspace .choice-button).selected { border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace :is(.settings-card,.print-extract-setting-card,.extra-prompt-box) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace :is(textarea,input[type="text"]) { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace input[type="range"] { accent-color: #5578e6 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace [data-wm-export] { border: 0 !important; border-radius: 12px !important; background: #5578e6 !important; color: white !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace [data-wm-export]:disabled { background: #dbe1f2 !important; opacity: 1 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #watermark-workspace .choice-button strong { color: inherit !important; font-weight: 500 !important; }
}

@layer desktop-fixed-rails {
body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload .free-upload-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
}
body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload .free-upload-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex: 0 1 115px !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--free-upload-action-line, #dbe2ec) !important;
  border-radius: 9px !important;
  background: var(--free-upload-action-surface, #fff) !important;
  color: var(--free-upload-action-ink, #303846) !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px #1d35570a !important;
  transition: none !important;
}
body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload .free-upload-actions button:is(:hover, :focus-visible) {
  background: #2678ff !important;
  border-color: #2678ff !important;
  color: #fff !important;
}
body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload:not(.is-filled) .free-upload-actions {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  width: calc(100% - 32px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload:not(.is-filled):is(:hover, :focus-within) .free-upload-actions {
  opacity: 1 !important;
  pointer-events: auto !important;
}

html:not([data-mobile-workbench="true"]) body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #product-upload:not(.is-filled):is(:hover, :focus-within) #upload-note { visibility: hidden !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #watermark-workspace .wm-source-actions { display: flex !important; justify-content: center !important; gap: 10px !important; }
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #watermark-workspace .wm-source-actions button { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; height: 38px !important; flex: 1 !important; padding: 0 8px !important; border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; font-size: 14px !important; font-weight: 400 !important; }
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #watermark-workspace .swatch-button { border-color: var(--free-control-line) !important; background: var(--free-control-surface) !important; }
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #watermark-workspace .swatch-button.selected { border-color: #5578e6 !important; background: #eef3ff !important; }
}

/* Keep upload hover feedback consistent in both watermark modes. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="watermark-remove"], [data-active-feature="hd-upscale"], [data-active-feature="print-extract"], [data-active-feature="wrinkle"], [data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#product-upload,.wm-source-upload):is(:hover,:focus-within) { background: var(--free-upload-hover-surface, #eef5ff) !important; border-color: #4388ff !important; box-shadow: none !important; transform: none !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel :is(.view-preset-button,.view-reset-button) { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; transform: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel .view-preset-button.selected { border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel .view-preset-button strong { color: inherit !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel .view-preset-button small { color: var(--free-control-muted) !important; font-weight: 400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel input[type="range"] { accent-color: #5578e6 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel .view-angle-controls { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="view-change"] #task-panel .view-angle-row :is(span,output) { color: var(--free-control-ink) !important; font-weight: 400 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel :is(.text-edit-recognize-button,.text-edit-delete-all-button,.reverse-prompt-copy-button,.print-extract-mode-grid .choice-button,.swatch-button,.image-to-psd-resolution-grid button) { border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel :is(.print-extract-mode-grid .choice-button,.swatch-button,.image-to-psd-resolution-grid button).selected { border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel :is(#reverse-prompt-result,.text-edit-row input,.text-edit-row textarea) { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card { height: 176px !important; border: 1px dashed var(--free-control-line) !important; border-radius: 12px !important; background: var(--free-control-surface) !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card:is(:hover,:focus-within) { border-color: #4388ff !important; background: #eef5ff !important; transform: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card .upload-icon { width: 52px !important; height: 52px !important; background: url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; border-radius: 0 !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card .upload-icon > * { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-settings-card { border: 0 !important; background: transparent !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card .upload-copy strong { font-size: 14px !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="text-edit"],[data-active-feature="reverse-prompt"],[data-active-feature="print-extract"],[data-active-feature="colors"],[data-active-feature="image-to-psd"]) #task-panel .image-to-psd-upload-card .upload-copy small { font-size: 12px !important; font-weight: 400 !important; }
}

@layer desktop-fixed-rails {
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section { position: relative !important; }
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-card { padding-bottom: 58px !important; }
html body[data-active-feature="image-to-psd"] #task-panel .psd-source-actions { display: flex !important; position: absolute !important; bottom: 16px !important; left: 16px !important; right: 16px !important; gap: 10px !important; }
html body[data-active-feature="image-to-psd"] #task-panel .psd-source-actions button { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; flex: 1 !important; height: 38px !important; border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; font-size: 14px !important; font-weight: 400 !important; }
}

@layer desktop-fixed-rails {
html body[data-active-feature="print-extract"] #task-panel .print-extract-setting-card { border: 1px solid var(--free-control-line) !important; border-radius: 12px !important; background: transparent !important; box-shadow: none !important; }
html body[data-active-feature="print-extract"] #task-panel .print-extract-section-head strong { color: var(--free-control-ink) !important; font-weight: 500 !important; }
html body[data-active-feature="print-extract"] #task-panel .print-extract-mode-grid .choice-button :is(strong,small) { color: inherit !important; font-weight: 500 !important; }
html body[data-active-feature="print-extract"] #task-panel .print-extract-mode-grid .choice-button svg { background: transparent !important; color: #5578e6 !important; }
html body[data-active-feature="colors"] #task-panel :is(input[type="number"],input[type="text"],.inline-color-eyedropper) { border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; }
/* The prefix and hex value share one field; the nested input has no frame. */
html body[data-active-feature="colors"] #task-panel .inline-color-hex-field {
  border: 1px solid var(--free-control-line) !important;
  border-radius: 9px !important;
  background: var(--free-control-surface) !important;
}
html body[data-active-feature="colors"] #task-panel .inline-color-hex-field input[type="text"] {
  flex: 1 1 0 !important;
  width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
html body[data-active-feature="colors"] #task-panel .inline-color-hex-field:focus-within {
  border-color: var(--purple, #7056ee) !important;
  box-shadow: 0 0 0 2px rgba(109, 85, 238, .14) !important;
}
}

@layer desktop-fixed-rails {
html body:is([data-active-feature="watermark-remove"],[data-active-feature="image-to-psd"]) #task-panel :is(.psd-source-actions,.wm-source-actions) button { background: var(--free-upload-action-surface, #fff) !important; color: var(--free-upload-action-ink, #303846) !important; border-color: var(--free-upload-action-line, #dbe2ec) !important; }
html body:is([data-active-feature="watermark-remove"],[data-active-feature="image-to-psd"]) #task-panel :is(.psd-source-actions,.wm-source-actions) button:is(:hover,:focus-visible) { background: #2678ff !important; border-color: #2678ff !important; color: #fff !important; }
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section:not(.has-source) .psd-source-actions,
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:not(.wm-has-images):not(.wm-loading) .wm-source-actions { opacity: 0 !important; pointer-events: none !important; }
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section:is(:hover,:focus-within) .psd-source-actions,
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:is(:hover,:focus-within) .wm-source-actions { opacity: 1 !important; pointer-events: auto !important; }
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-thumb { position: absolute !important; right: 42px !important; top: 16px !important; width: 80px !important; height: 80px !important; object-fit: contain !important; }
html body[data-active-feature="image-to-psd"] #task-panel .psd-source-delete { position: absolute !important; top: 8px !important; right: 34px !important; width: 24px !important; height: 24px !important; border: 1px solid white !important; border-radius: 50% !important; background: #475569 !important; color: white !important; z-index: 3 !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload { position: relative !important; height: 260px !important; min-height: 260px !important; max-height: 260px !important; box-sizing: border-box !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-upload-trigger { position: absolute !important; top: 16px !important; left: 16px !important; right: 16px !important; width: auto !important; height: 60px !important; min-height: 60px !important; flex-direction: row !important; justify-content: flex-start !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload .wm-images { position: absolute !important; top: 88px !important; left: 16px !important; right: 16px !important; width: auto !important; height: 108px !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-actions { position: absolute !important; bottom: 16px !important; left: 16px !important; right: 16px !important; height: 38px !important; }
/* Empty add-watermark uploads use the same centered 176px card as removal.
   Populated/loading cards retain their reserved thumbnail and action rows. */
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:not(.wm-has-images):not(.wm-loading) { height: 176px !important; min-height: 176px !important; max-height: 176px !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:not(.wm-has-images):not(.wm-loading) .wm-upload-trigger { inset: 20px 16px 46px !important; height: auto !important; min-height: 0 !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 10px !important; }
html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:not(.wm-has-images):not(.wm-loading) .upload-copy { text-align: center !important; }
html body[data-active-feature="watermark-remove"] #task-panel #watermark-workspace .view-angle-controls { border: 1px solid var(--free-control-line) !important; background: var(--free-control-surface) !important; border-radius: 12px !important; }
html body[data-active-feature="watermark-remove"] #task-panel #watermark-workspace .view-angle-row span { color: var(--free-control-ink) !important; font-weight: 400 !important; }
}
.wm-pending-card { position: relative; display: inline-block; flex: 0 0 76px; height: 100px; border-radius: 10px; overflow: hidden; }
.wm-pending-card img { width: 100%; height: 100%; object-fit: contain; }
.source-loading-indicator,.wm-pending-card::after { content: ""; position: absolute; width: 24px; height: 24px; border: 2px solid #dce5f1; border-top-color: #5578e6; border-radius: 50%; animation: uploadInstantSpin .72s linear infinite; }
.source-loading-indicator { top: 42px; right: 68px; z-index: 4; }
.wm-pending-card::after { left: 24px; top: 36px; }
@media (hover: none) { html body #task-panel :is(.psd-source-actions,.wm-source-actions) { opacity: 1 !important; pointer-events: auto !important; } }

@layer desktop-fixed-rails { html body[data-active-feature="watermark-remove"] #task-panel .wm-source-upload:not(.wm-has-images):not(.wm-loading):is(:hover,:focus-within) .wm-source-actions { opacity: 1 !important; pointer-events: auto !important; } }

@layer desktop-fixed-rails { html body #task-panel :is(.psd-source-actions,.wm-source-actions) button { transition: none !important; } }

@layer desktop-fixed-rails { html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-thumb { transform: none !important; margin: 0 !important; left: auto !important; bottom: auto !important; } html body[data-active-feature="watermark-remove"] #task-panel .wm-pending-card img { display: block !important; visibility: visible !important; width: 76px !important; height: 100px !important; object-fit: contain !important; } }

@layer desktop-fixed-rails {
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section:not(.has-source):not(.single-material-upload) .image-to-psd-upload-card {
  display: flex !important; flex-direction: column !important; align-items: center !important;
  justify-content: center !important; text-align: center !important; gap: 8px !important;
}
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section:not(.has-source):not(.single-material-upload) .upload-copy {
  align-items: center !important; text-align: center !important; margin: 0 !important;
}
/* The shared single-material shell keeps the legacy PSD picker only as its
   canonical file/preview source. It must never paint beside the shared shell. */
html body[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section.single-material-upload > .image-to-psd-upload-card.single-material-original {
  display: none !important;
}
html[data-theme="dark"] body[data-active-feature="watermark-remove"] #task-panel #watermark-workspace .wm-field-label {
  color: var(--free-control-ink) !important;
}
html[data-theme="dark"] body.feature-focus-mode.workstation-feature-mode[data-active-feature="watermark-remove"] #task-panel #watermark-workspace .choice-button.selected {
  background: #303f60 !important; border-color: #7798f2 !important; color: #dbe7ff !important;
}
html[data-theme="dark"] body[data-active-feature="watermark-remove"] #task-panel #watermark-workspace .wm-image .choice-button span {
  background: #262c38 !important; color: #e1e7f1 !important;
}
}

/* The PSD upload is inside the scroll area; avoid an empty scrollbar gutter shifting it left. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="image-to-psd"] #task-panel #settings-card {
  width: 100% !important; max-width: none !important; box-sizing: border-box !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="image-to-psd"] #task-panel .image-to-psd-upload-section {
  margin-inline: 1px !important;
}
}

@layer desktop-fixed-rails { html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="image-to-psd"] #task-panel .settings-scroll-area { scrollbar-gutter: auto !important; } }

/* Fashion tools use the shared multi-image uploader and retain their own settings. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-title,#extra-prompt-label,.background-preset-divider) {
  color: var(--free-control-ink) !important; font-weight: 500 !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(#settings-card,.extra-prompt-box) {
  border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-button,.background-mode-tabs button,.model-bg-grid button,.background-official-material-button,.background-upload-button,.background-pose-panel) {
  border: 1px solid var(--free-control-line) !important; border-radius: 10px !important;
  background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; background-image: none !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-button,.background-mode-tabs button,.model-bg-grid button,.background-official-material-button,.background-upload-button):hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: #aabfff !important; background: #eef3ff !important; color: #3f63cf !important; transform: none !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-button,.background-mode-tabs button,.model-bg-grid button).selected {
  border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel :is(.model-bg-grid button strong,.background-official-material-copy strong,.background-upload-button strong,.background-pose-toggle) {
  color: inherit !important; font-weight: 500 !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel [data-model-background-picker] {
  border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .background-upload-button {
  min-height: 92px !important; height: 92px !important; border-style: dashed !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .background-upload-button .upload-icon {
  background: url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important;
  width: 40px !important; height: 40px !important; box-shadow: none !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .background-upload-button .upload-icon > * { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .model-bg-grid button[aria-disabled="true"] { opacity: .45 !important; cursor: not-allowed !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-button,.background-mode-tabs button,.model-bg-grid button):is(.selected,:hover) {
  background: #303f60 !important; border-color: #7798f2 !important; color: #dbe7ff !important;
}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:is(:hover,:focus-within) {
  background: #303f60 !important; border-color: #7798f2 !important;
}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="wrinkle"] #task-panel .task-heading::after { content: "" !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:is(.is-filled,.is-uploading) {
  position: relative !important; height: 260px !important; min-height: 260px !important; max-height: 260px !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .upload-icon {
  position: absolute !important; left: 16px !important; top: 16px !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:is(.is-filled,.is-uploading) .upload-copy {
  position: absolute !important; left: 82px !important; top: 20px !important; text-align: left !important; width: auto !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .free-upload-actions {
  position: absolute !important; bottom: 16px !important; left: 16px !important; width: calc(100% - 32px) !important; height: 38px !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload:is(.is-filled,.is-uploading) #detail-upload-strip:not(.hd-upload-strip) {
  position: absolute !important; top: 88px !important; left: 12px !important; width: calc(100% - 24px) !important; height: 116px !important;
  margin: 0 !important; padding: 8px 4px !important; box-sizing: border-box !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel #product-upload .upload-stack-delete {
  background: #475569 !important; color: #fff !important; border: 1px solid #fff !important; width: 24px !important; height: 24px !important;
}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel :is(.wrinkle-strength-button,.model-bg-grid button)::before { content: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel .free-upload-actions button span { color: inherit !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel .free-upload-actions button {
  background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; border-color: var(--free-control-line) !important;
}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="wrinkle"],[data-active-feature="background"], [data-active-feature="flat-lay"], [data-active-feature="try-on"], [data-active-feature="clothes-on-model"], [data-active-feature="outfit-recommend"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"]) #task-panel .free-upload-actions button:is(:hover,:focus-visible) {
  background: #2678ff !important; border-color: #2678ff !important; color: white !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .background-official-material-icon {
  background: var(--free-control-surface) !important; color: #5578e6 !important; box-shadow: none !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="background"] #task-panel .background-official-material-copy small {
  color: var(--free-control-muted) !important; font-weight: 400 !important;
}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-grid button,.flat-lay-white-background-button,.choice-button,.secondary-reference-upload,.background-official-material-button) { border: 1px solid var(--free-control-line) !important; border-radius: 10px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; background-image: none !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-grid button,.flat-lay-white-background-button,.choice-button,.secondary-reference-upload,.background-official-material-button):hover:not(:disabled):not([aria-disabled="true"]) { border-color: #aabfff !important; background: #eef3ff !important; color: #3f63cf !important; transform: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-grid button,.flat-lay-white-background-button,.choice-button,.secondary-reference-upload,.background-official-material-button).selected { border-color: #5578e6 !important; background: #eef3ff !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-card,.flat-lay-background-card,.clothes-on-model-panel,.try-on-model-panel) { border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-card h3,.flat-lay-background-card h3,.clothes-on-model-panel .setting-label,.buyer-filter-block > span) { color: var(--free-control-ink) !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .choice-button::before { content: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.choice-button,.flat-lay-product-type-grid button,.secondary-reference-upload,.background-official-material-button) :is(strong,span) { color: inherit !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.secondary-reference-upload,.background-official-material-button) small { color: var(--free-control-muted) !important; font-weight: 400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .secondary-reference-upload { border-style: dashed !important; min-height: 124px !important; height: 124px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .flat-lay-background-upload-button { min-height: 92px !important; height: 92px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .secondary-reference-upload .upload-icon { background: url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; width: 40px !important; height: 40px !important; box-shadow: none !important; border-radius: 0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .secondary-reference-upload .upload-icon > * { display: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .background-official-material-icon { background: var(--free-control-surface) !important; color: #5578e6 !important; box-shadow: none !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.flat-lay-product-type-grid button,.flat-lay-white-background-button,.choice-button,.secondary-reference-upload,.background-official-material-button):is(.selected,:hover:not(:disabled)) { background: #303f60 !important; border-color: #7798f2 !important; color: #dbe7ff !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="flat-lay"] #task-panel :is(#flat-lay-product-type-title,.print-extract-section-head strong) { color: var(--free-control-ink) !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="flat-lay"] #task-panel .flat-lay-white-background-copy strong { color: inherit !important; font-weight: 500 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="clothes-on-model"] #task-panel .buyer-filter-block { padding: 0 !important; border: 0 !important; background: transparent !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="flat-lay"],[data-active-feature="try-on"],[data-active-feature="clothes-on-model"],[data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .secondary-reference-clear-x { background: #475569 !important; color: #fff !important; border: 1px solid #fff !important; width: 24px !important; height: 24px !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.outfit-recommend-section,.pose-reference-options-frame) { border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.outfit-recommend-section-head strong,.outfit-recommend-section-head,.pose-selection-summary,#extra-prompt-label) { color: var(--free-control-ink) !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.choice-button,.pose-type-button,.pose-reference-card) { border: 1px solid var(--free-control-line) !important; border-radius: 10px !important; background: var(--free-control-surface) !important; color: var(--free-control-ink) !important; box-shadow: none !important; font-weight: 500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.choice-button,.pose-type-button,.pose-reference-card):hover:not(:disabled) { background: #eef3ff !important; border-color: #aabfff !important; color: #3f63cf !important; transform: none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.choice-button,.pose-type-button,.pose-reference-card).selected { background: #eef3ff !important; border-color: #5578e6 !important; color: #3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .pose-selection-summary { background: var(--free-control-surface) !important; border: 1px solid var(--free-control-line) !important; border-radius: 9px !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel :is(.choice-button,.pose-type-button,.pose-reference-card):is(.selected,:hover) {background:#303f60 !important;border-color:#7798f2 !important;color:#dbe7ff !important;}
/* Keep the compact footer geometry identical across themes. */
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="outfit-recommend"],[data-active-feature="pose-change"],[data-active-feature="free-match"]) #task-panel .generate-count-section { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
}

/* Match the model reference card to the background reference card. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="clothes-on-model"], [data-active-feature="free-match"]) #task-panel [data-clothes-model-upload] {
  height: 92px !important;
  min-height: 92px !important;
  grid-template-columns: 40px minmax(0, 1fr) minmax(82px, 118px) !important;
  justify-content: normal !important;
  text-align: left !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="clothes-on-model"], [data-active-feature="free-match"]) #task-panel [data-clothes-model-upload] .upload-icon {
  width: 40px !important;
  min-width: 40px !important;
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="clothes-on-model"], [data-active-feature="free-match"]) #task-panel [data-clothes-model-upload] .upload-copy {
  text-align: left !important;
  justify-items: start !important;
}
}

/* Free match keeps its five fixed, individually labelled positions. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload { position:relative !important; display:grid !important; grid-template-columns:42px minmax(0,1fr) !important; grid-template-rows:48px 144px 38px !important; min-height:286px !important; height:286px !important; padding:14px !important; gap:14px 12px !important; border:1px dashed var(--free-control-line) !important; border-radius:12px !important; background:var(--free-control-surface) !important; box-shadow:none !important; overflow:visible !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload:is(:hover,:focus-within,.is-dragover) { background:#eef3ff !important; border-color:#aabfff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload > .upload-icon { background:url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; width:42px !important; height:42px !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload > .upload-icon > * { display:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .upload-copy strong { color:var(--free-control-ink) !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .upload-copy small { color:var(--free-control-muted) !important; font-weight:400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload #detail-upload-strip { grid-row:2 !important; grid-column:1 / -1 !important; position:relative !important; display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:8px !important; height:144px !important; margin:0 !important; padding:0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot { grid-template-rows:112px 32px !important; gap:0 !important; height:144px !important; min-height:144px !important; border-radius:10px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot-frame { position:relative !important; height:112px !important; aspect-ratio:auto !important; border:1px dashed var(--free-control-line) !important; border-bottom:0 !important; border-radius:10px 10px 0 0 !important; background:var(--free-control-surface) !important; overflow:hidden !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot.is-filled .detail-upload-slot-frame { border-style:solid !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot-frame img { width:100% !important; height:100% !important; object-fit:contain !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-match-category-trigger { border:1px solid var(--free-control-line) !important; border-radius:0 0 10px 10px !important; background:var(--free-control-surface) !important; color:var(--free-control-ink) !important; box-shadow:none !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot:is(:hover,:focus-within) :is(.detail-upload-slot-frame,.free-match-category-trigger) { border-color:#aabfff !important; background:#eef3ff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-match-category-menu { background:var(--free-control-surface) !important; border:1px solid var(--free-control-line) !important; border-radius:10px !important; z-index:40 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-match-category-option { color:var(--free-control-ink) !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-match-category-option:is(:hover,.is-selected) { color:#3f63cf !important; background:#eef3ff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-delete { opacity:1 !important; visibility:visible !important; transform:none !important; right:3px !important; top:3px !important; width:22px !important; height:22px !important; background:#475569 !important; color:#fff !important; border:1px solid #fff !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-delete svg { width:14px !important; height:14px !important; color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-upload-actions { position:relative !important; grid-column:1 / -1 !important; grid-row:3 !important; display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:10px !important; width:100% !important; height:38px !important; margin:0 !important; opacity:1 !important; visibility:visible !important; transform:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-upload-actions button { display:flex !important; align-items:center !important; justify-content:center !important; gap:6px !important; min-width:0 !important; height:38px !important; padding:0 8px !important; border:1px solid var(--free-control-line) !important; border-radius:10px !important; background:var(--free-control-surface) !important; color:var(--free-control-ink) !important; font-size:14px !important; font-weight:500 !important; box-shadow:none !important; cursor:pointer !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-upload-actions button:is(:hover,:focus-visible) { background:#2678ff !important; border-color:#2678ff !important; color:#fff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-upload-actions button span { color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-upload-actions svg { width:16px !important; height:16px !important; flex-shrink:0 !important; color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .free-match-upload-status { position:absolute !important; bottom:0 !important; left:0 !important; right:0 !important; padding:5px 0 !important; background:rgba(30,41,59,.76) !important; color:#fff !important; text-align:center !important; font-size:12px !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload #upload-instant-status { display:none !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload:is(:hover,:focus-within,.is-dragover), html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload .detail-upload-slot:is(:hover,:focus-within) :is(.detail-upload-slot-frame,.free-match-category-trigger) { background:#303f60 !important;border-color:#7798f2 !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-match"] #task-panel #product-upload { transform:none !important; }
}

/* Buyer-show shares the video panel across all eight industries. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .upload-column { border:0 !important; border-radius:0 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #settings-card { border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; padding:0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #settings-title { display:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.generate-count-section,.generation-resolution-section) { padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.pet-fashion-setting-group,.pet-buyer-show-mode-grid,.fashion-buyer-show-person-settings > .buyer-filter-block) { background:transparent !important; background-image:none !important; box-shadow:none !important; border:0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.pet-fashion-setting-label,.buyer-filter-title,.buyer-filter-block > span) { color:var(--free-control-ink) !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.choice-button,.pet-buyer-show-category-select > summary,.detail-reference-button) { border:1px solid var(--free-control-line) !important; border-radius:10px !important; background:var(--free-control-surface) !important; background-image:none !important; color:var(--free-control-ink) !important; box-shadow:none !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.choice-button,.pet-buyer-show-category-select > summary,.detail-reference-button):hover:not(:disabled) { border-color:#aabfff !important; background:#eef3ff !important; color:#3f63cf !important; transform:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .choice-button.selected { border-color:#5578e6 !important; background:#eef3ff !important; color:#3f63cf !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .choice-button::before { content:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.choice-button,.pet-buyer-show-category-select > summary) :is(strong,span) { color:inherit !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.choice-button,.pet-buyer-show-category-select > summary) small { color:var(--free-control-muted) !important; font-weight:400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.pet-buyer-show-option-icon,.fashion-buyer-show-appearance-icon) { background:transparent !important; color:#5578e6 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .pet-buyer-show-category-select { border:0 !important; border-radius:10px !important; background:transparent !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .detail-reference-card { background:transparent !important; border:0 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .detail-reference-button { min-height:72px !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #product-upload .free-upload-actions button span { color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload { position:relative !important; display:grid !important; grid-template-columns:42px minmax(0,1fr) !important; grid-template-rows:42px 116px 38px !important; min-height:252px !important; height:252px !important; padding:14px !important; gap:12px !important; border:1px dashed var(--free-control-line) !important; border-radius:12px !important; background:var(--free-control-surface) !important; box-shadow:none !important; text-align:left !important; transform:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload:is(:hover,:focus-within,.is-dragover) { background:#eef3ff !important; border-color:#aabfff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload > .upload-icon { grid-column:1 !important; grid-row:1 !important; width:42px !important; height:42px !important; background:url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important; border-radius:0 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload > .upload-icon > * { display:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .upload-copy { grid-column:2 !important; grid-row:1 !important; text-align:left !important; justify-items:start !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .upload-copy strong { color:var(--free-control-ink) !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .upload-copy small { color:var(--free-control-muted) !important; font-weight:400 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload :is(#upload-thumb, #upload-clear-x, #upload-instant-status) { display:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload #detail-upload-strip { position:relative !important; display:grid !important; grid-column:1 / -1 !important; grid-row:2 !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:10px !important; width:100% !important; height:116px !important; margin:0 !important; padding:0 !important; overflow:visible !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-slot { display:grid !important; grid-template-rows:88px 20px !important; gap:6px !important; position:relative !important; width:100% !important; height:116px !important; min-height:116px !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-slot-frame { display:grid !important; place-items:center !important; position:relative !important; width:100% !important; height:88px !important; aspect-ratio:auto !important; border:1px dashed var(--free-control-line) !important; border-radius:10px !important; background:var(--free-control-surface) !important; overflow:hidden !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-slot small { display:block !important; color:var(--free-control-muted) !important; font-size:12px !important; font-weight:400 !important; text-align:center !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-slot-frame img { width:100% !important; height:100% !important; object-fit:contain !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-slot:hover .detail-upload-slot-frame { border-color:#aabfff !important; background:#eef3ff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-delete { opacity:1 !important; visibility:visible !important; transform:none !important; right:3px !important; top:3px !important; width:22px !important; height:22px !important; border:1px solid #fff !important; background:#475569 !important; color:#fff !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .detail-upload-delete svg { width:14px !important; height:14px !important; color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions { position:relative !important; display:grid !important; grid-column:1 / -1 !important; grid-row:3 !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:10px !important; width:100% !important; height:38px !important; margin:0 !important; opacity:1 !important; visibility:visible !important; transform:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-match-upload-status { position:absolute !important; bottom:0 !important; left:0 !important; right:0 !important; padding:4px !important; background:rgba(30,41,59,.76) !important; color:#fff !important; text-align:center !important; font-size:12px !important; font-weight:500 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #product-upload .free-upload-actions button { display:flex !important; align-items:center !important; justify-content:center !important; gap:6px !important; min-width:0 !important; height:38px !important; padding:0 8px !important; border:1px solid var(--free-control-line) !important; border-radius:10px !important; background:var(--free-control-surface) !important; color:var(--free-control-ink) !important; font-size:14px !important; font-weight:500 !important; box-shadow:none !important; cursor:pointer !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #product-upload .free-upload-actions button:is(:hover,:focus-visible) { background:#2678ff !important; border-color:#2678ff !important; color:#fff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #product-upload .free-upload-actions svg { width:16px !important; height:16px !important; flex-shrink:0 !important; color:inherit !important; }
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel :is(.choice-button,.pet-buyer-show-category-select > summary,.detail-reference-button):is(.selected,:hover:not(:disabled)) { background:#303f60 !important; border-color:#7798f2 !important; color:#dbe7ff !important; }
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel #settings-card > .settings-head {display:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .pet-buyer-show-category-summary-icon {background:transparent !important;color:#5578e6 !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] .pet-buyer-show-category-menu {background:#f8fafc !important;border:1px solid #dce5f1 !important;border-radius:10px !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] .pet-buyer-show-category-choice {background:#f8fafc !important;border:1px solid #dce5f1 !important;border-radius:9px !important;color:#38465d !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] .pet-buyer-show-category-choice:is(:hover,.selected) {background:#eef3ff !important;border-color:#5578e6 !important;color:#3f63cf !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] :is(.pet-buyer-show-category-menu,.pet-buyer-show-category-choice) {background:#262c38 !important;border-color:#414b5c !important;color:#e1e7f1 !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] .pet-buyer-show-category-choice:is(:hover,.selected) {background:#303f60 !important;border-color:#7798f2 !important;color:#dbe7ff !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload:is(:hover,:focus-within,.is-dragover) {background:#303f60 !important;border-color:#7798f2 !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="buyer-show"][data-buyer-show-slots="true"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .upload-copy {justify-self:start !important;justify-content:start !important;text-align:left !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .detail-reference-button > svg {background:url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important;width:32px !important;height:32px !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="buyer-show"] #task-panel .detail-reference-button > svg > * {visibility:hidden !important;}
}

/* Product-main controls share the upload rail edges. Keep the thin scrollbar
 * in the outer gutter, and retain the compact row for paired reference cards. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .settings-scroll-area {
    width: calc(100% + 6px) !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .pet-product-main-content-settings .detail-model-reference .detail-reference-button,
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel .pet-detail-content-settings-actions .detail-reference-card .detail-reference-button {
    height: 68px !important;
    min-height: 68px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .product-main-preserve-original-background-switch {
    margin-right: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-materials {
    border: 1px solid var(--free-control-line) !important;
    border-radius: 12px !important;
    background: var(--free-panel-surface) !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-head > span {
    color: var(--free-control-ink) !important;
    font-weight: 500 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-head > small {
    color: var(--free-control-muted) !important;
    font-weight: 400 !important;
  }
}

/* Slot guidance overlays the thumbnails without changing the upload layout. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot-frame[draggable="true"] {
    cursor: grab !important;
    user-select: none;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot-frame:focus-visible {
    outline: 2px solid #5578e6 !important;
    outline-offset: 2px;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot.is-slot-drag-source .detail-upload-slot-frame {
    opacity: .45;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot.is-slot-drop-target .detail-upload-slot-frame {
    border: 2px solid #5578e6 !important;
    background: #eef3ff !important;
    box-shadow: inset 0 0 0 2px rgba(85,120,230,.12) !important;
  }
  html[data-theme="dark"]:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot.is-slot-drop-target .detail-upload-slot-frame {
    border-color: #7798f2 !important;
    background: #303f60 !important;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-slot.is-slot-drop-target::after {
    content: attr(data-upload-slot-drop-label);
    position: absolute;
    inset: 30px 4px auto;
    z-index: 4;
    padding: 4px 2px;
    border-radius: 6px;
    background: #5578e6;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-drag-hint {
    position: absolute;
    top: 62px;
    left: 4px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    padding: 6px 9px;
    border-radius: 8px;
    background: #5578e6;
    color: #fff;
    box-shadow: 0 3px 10px rgba(63,99,207,.24);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
    animation: product-upload-slot-hint-float 1.4s ease-in-out 2,
      product-upload-slot-hint-fade 0.2s ease 5s forwards;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-drag-hint::before {
    content: "";
    position: absolute;
    left: 16px;
    top: -4px;
    width: 8px;
    height: 8px;
    background: inherit;
    transform: rotate(45deg);
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-drag-hint.is-last-slot {
    left: auto;
    right: 4px;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-drag-hint.is-last-slot::before {
    left: auto;
    right: 16px;
  }
  html:not([data-mobile-workbench="true"]) #product-upload .detail-upload-drag-hint > svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: inherit !important;
  }
  html:not([data-mobile-workbench="true"]) body[data-active-feature="free-match"] #product-upload .detail-upload-drag-hint {
    top: 82px;
  }
  #product-upload.is-slot-dragging .detail-upload-drag-hint { visibility: hidden; }
}
/* The recommendation badge is a grid item; a z-index would let it escape
 * the unstacked style card and paint over settings popovers. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) #task-panel .detail-style-recommend-badge {
    z-index: auto !important;
  }
}

@keyframes product-upload-slot-hint-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes product-upload-slot-hint-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #product-upload .detail-upload-drag-hint { animation: none !important; }
}

/* Remaining industry panels share the approved controls and source actions. */
@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .upload-column { border:0 !important; border-radius:0 !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #settings-card { border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; padding:0 !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #settings-title { display:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel :is(.generate-count-section,.generation-resolution-section) { padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions button span { color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions button { display:flex !important; align-items:center !important; justify-content:center !important; gap:6px !important; min-width:0 !important; height:38px !important; padding:0 8px !important; border:1px solid var(--free-control-line) !important; border-radius:10px !important; background:var(--free-control-surface) !important; color:var(--free-control-ink) !important; font-size:14px !important; font-weight:500 !important; box-shadow:none !important; cursor:pointer !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions button:is(:hover,:focus-visible) { background:#2678ff !important; border-color:#2678ff !important; color:#fff !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions svg { width:16px !important; height:16px !important; flex-shrink:0 !important; color:inherit !important; }
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel #settings-card > .settings-head {display:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-button > svg {background:url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important;width:32px !important;height:32px !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"], [data-active-feature="xiaohongshu"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="poster-design"], [data-active-feature="buyer-try-on"], [data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-button > svg > * {visibility:hidden !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .task-heading::after {content:"" !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(#settings-card,.extra-prompt-box,.pet-fashion-setting-group,.buyer-tryon-config,.detail-reference-card) {border:0 !important;background:transparent !important;box-shadow:none !important;padding:0 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.buyer-filter-title,.experience-label,.pet-fashion-setting-label,.set-model-role-field small,.detail-style-preset-head,.buyer-tryon-shop-field > span,.buyer-tryon-product-type-row > span,.experience-field > span) {color:var(--free-control-ink) !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch) {border:1px solid var(--free-control-line) !important;border-radius:10px !important;background:var(--free-control-surface) !important;background-image:none !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:500 !important;transform:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch):hover:not(:disabled):not([aria-disabled="true"]) {border-color:#aabfff !important;background:#eef3ff !important;color:#3f63cf !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch):is(.selected,.is-selected,[aria-pressed="true"],[aria-checked="true"]) {border-color:#5578e6 !important;background:#eef3ff !important;color:#3f63cf !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch) :is(strong,span) {color:inherit !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch) small {color:var(--free-control-muted) !important;font-weight:400 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.count-option)::before {content:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #settings-card details {border:0 !important;background:transparent !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #settings-card details > summary {border:1px solid var(--free-control-line) !important;border-radius:10px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #settings-card details > summary :is(strong,span) {color:inherit !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(input[type="text"],input[type="number"],select) {border:1px solid var(--free-control-line) !important;border-radius:9px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:400 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .detail-reference-button:not([data-detail-style-upload]) {min-height:92px !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .secondary-reference-upload {height:124px !important;min-height:124px !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .secondary-reference-upload .upload-icon {width:40px !important;height:40px !important;background:url("/images/site-assets/free-upload-folder.png") center/contain no-repeat !important;border-radius:0 !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .secondary-reference-upload .upload-icon > * {display:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .background-official-material-icon {background:transparent !important;color:#5578e6 !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .detail-style-recommend-badge {font-size:12px !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions button {background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;border-color:var(--free-control-line) !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #product-upload .free-upload-actions button:is(:hover,:focus-visible) {background:#2678ff !important;border-color:#2678ff !important;color:#fff !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #product-upload:is(:hover,:focus-within,.is-dragover) {background:#303f60 !important;border-color:#7798f2 !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.choice-button,.set-model-role-button,.set-model-style-button,.count-option,.detail-style-preset-button,.detail-reference-button,.background-official-material-button,.secondary-reference-upload,[data-buyer-tryon-product-type],[data-buyer-tryon-max-option],[data-buyer-tryon-shop-setting],[data-pet-product-scene-plan-mode],[data-beauty-product-scene-plan-mode],[data-food-product-scene-plan-mode],[data-home-product-scene-plan-mode],[data-detail-select-option],.detail-preserve-original-background-switch,.product-main-preserve-original-background-switch,.pet-product-main-copy-switch):is(.selected,.is-selected,[aria-pressed="true"],[aria-checked="true"],:hover:not(:disabled):not([aria-disabled="true"])) {background:#303f60 !important;border-color:#7798f2 !important;color:#dbe7ff !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) details > summary {border:1px solid var(--free-control-line) !important;border-radius:10px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) details > summary :is(span,strong) {color:inherit !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-select-menu,.detail-product-type-options,.detail-count-menu,.pet-product-scene-plan-card,.buyer-tryon-shop-summary,.buyer-tryon-fixed-note,#detail-page-module-picker) {border:1px solid var(--free-control-line) !important;border-radius:12px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-select-menu,.detail-product-type-options,.detail-count-menu) button {border:1px solid var(--free-control-line) !important;border-radius:9px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-select-menu,.detail-product-type-options,.detail-count-menu) button:is(.selected,:hover) {background:#eef3ff !important;border-color:#5578e6 !important;color:#3f63cf !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(#set-generate-mode-block,.set-generate-mode-block,.buyer-tryon-product-type-row,.pet-product-scene-plan-tabs) {border:0 !important;background:transparent !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-content-settings-title,.detail-reference-head,.detail-page-module-picker-head,.pet-product-main-section-title,.set-generate-mode-label,.set-generate-mode-block > strong,.pet-product-scene-plan-heading strong) {color:var(--free-control-ink) !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-module-card,.detail-module-option) {border:1px solid var(--free-control-line) !important;border-radius:10px !important;background:var(--free-control-surface) !important;color:var(--free-control-ink) !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-module-card,.detail-module-option):is(.is-selected,:hover) {background:#eef3ff !important;border-color:#5578e6 !important;color:#3f63cf !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-module-card,.detail-module-option) strong {color:inherit !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-module-card,.detail-module-option) small {color:var(--free-control-muted) !important;font-weight:400 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .pet-detail-product-type-icon {background:transparent !important;color:#5578e6 !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .pet-product-scene-plan-summary {background:transparent !important;border:0 !important;color:var(--free-control-muted) !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-select-menu,.detail-product-type-options,.detail-count-menu) button:is(.selected,:hover), html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.detail-page-module-card,.detail-module-option):is(.is-selected,:hover) {background:#303f60 !important;border-color:#7798f2 !important;color:#dbe7ff !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) button:not(:where(#generate,#prompt-optimize-button,#video-material-mention-button,.free-prompt-speech-button,.mobile-free-ratio-toggle,[data-free-upload-source],[data-upload-stack-delete],.upload-clear-x,.secondary-reference-clear-x,.detail-reference-clear)) {border:1px solid var(--free-control-line) !important;border-radius:10px !important;background:var(--free-control-surface) !important;background-image:none !important;color:var(--free-control-ink) !important;box-shadow:none !important;font-weight:500 !important;transform:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) button:not(:where(#generate,#prompt-optimize-button,#video-material-mention-button,.free-prompt-speech-button,.mobile-free-ratio-toggle,[data-free-upload-source],[data-upload-stack-delete],.upload-clear-x,.secondary-reference-clear-x,.detail-reference-clear)):is(.selected,.is-selected,.is-active,[aria-pressed="true"],[aria-checked="true"],:hover:not(:disabled):not([aria-disabled="true"])) {background:#eef3ff !important;border-color:#5578e6 !important;color:#3f63cf !important;}
html[data-theme="dark"]:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) button:not(:where(#generate,#prompt-optimize-button,#video-material-mention-button,.free-prompt-speech-button,.mobile-free-ratio-toggle,[data-free-upload-source],[data-upload-stack-delete],.upload-clear-x,.secondary-reference-clear-x,.detail-reference-clear)):is(.selected,.is-selected,.is-active,[aria-pressed="true"],[aria-checked="true"],:hover:not(:disabled):not([aria-disabled="true"])) {background:#303f60 !important;border-color:#7798f2 !important;color:#dbe7ff !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.upload-column,.settings-column) button:not(:where(#generate,#prompt-optimize-button,#video-material-mention-button,.free-prompt-speech-button,.mobile-free-ratio-toggle,[data-free-upload-source],[data-upload-stack-delete],.upload-clear-x,.secondary-reference-clear-x,.detail-reference-clear)) :is(strong,span):not(:where(.count-discount-badge,.detail-style-recommend-badge,.detail-style-cross-border-badge)) {color:inherit !important;font-weight:500 !important;}

@layer desktop-fixed-rails {
  @media (min-width: 981px) and (max-height: 800px) {
    html:not([data-mobile-workbench="true"])
      body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-generate"]
      #task-panel .settings-column {
      grid-template-rows: max-content max-content !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
    }

    html:not([data-mobile-workbench="true"])
      body.feature-focus-mode.workstation-feature-mode[data-active-feature="free-generate"]
      #task-panel .settings-scroll-area {
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
    }
  }
}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.set-pose-block,.set-product-pose-block,.set-product-pose-settings) {background:transparent !important;border:0 !important;box-shadow:none !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .pet-detail-product-type-copy em {font-weight:500 !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel :is(.set-mode-label,.detail-page-module-head,.detail-page-module-head strong) {color:var(--free-control-ink) !important;font-weight:500 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .pet-detail-product-name-control {border:1px solid var(--free-control-line) !important;background:var(--free-control-surface) !important;border-radius:9px !important;box-shadow:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel #pet-detail-product-name-input {border:0 !important;background:transparent !important;box-shadow:none !important;outline:none !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .pet-detail-product-name-control:focus-within {border-color:#5578e6 !important;outline:2px solid rgba(85,120,230,.12) !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel button[role="switch"] [class$="-track"] {background:#ccd5e5 !important;border-color:#ccd5e5 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel button[role="switch"][aria-checked="true"] [class$="-track"] {background:#5578e6 !important;border-color:#5578e6 !important;}
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel button[role="switch"] [class$="-thumb"] {background:#fff !important;box-shadow:none !important;}
}

@layer desktop-fixed-rails {
html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="set-generate"],[data-active-feature="xiaohongshu"],[data-active-feature="pet-product-scene"],[data-active-feature="beauty-product-scene"],[data-active-feature="food-product-scene"],[data-active-feature="home-product-scene"],[data-active-feature="poster-design"],[data-active-feature="buyer-try-on"],[data-active-feature="detail-page"],[data-active-feature="pet-product-main-image"]) #task-panel .upload-card-wrap {border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;}
}

/* Desktop settings section headings share one type scale across features.
 * Target semantic headings, leaving page titles, choices and helper text alone. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:not(.video-workspace-mode)[data-active-feature] #task-panel :is(
    #settings-title,
    #extra-prompt-label,
    .experience-label,
    .experience-field > span,
    .buyer-filter-title,
    .set-mode-label,
    .set-generate-mode-label,
    .set-generate-mode-block > strong,
    .pet-product-main-section-title,
    .pet-fashion-setting-label,
    .pet-product-scene-plan-heading > div:first-child > strong,
    .detail-content-settings-title,
    .detail-reference-head > span:first-child,
    .detail-style-preset-head > span:first-child,
    .detail-page-module-head > span:first-child,
    .detail-product-type-row > span:first-child,
    .print-extract-section-head > strong,
    .poster-design-section-head > strong,
    .outfit-recommend-section-head > strong,
    .live-sticker-section-head > strong,
    .image-to-psd-section-head > strong,
    .flat-lay-product-type-card > strong,
    .wrinkle-strength-title,
    .background-preset-divider,
    .view-angle-row > span,
    .text-edit-head > span > strong,
    .buyer-tryon-shop-field > span,
    .buyer-tryon-product-type-row > span,
    .buyer-tryon-max-field > span,
    .free-page-prompt > span,
    .free-page-setting-row > span,
    .video-reference-url-box > span,
    .inline-color-settings-title > span:first-child,
    .wm-field-label
  ) {
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  html:not([data-mobile-workbench="true"]) body.video-workspace-mode :is(
    .video-free-settings-panel .video-free-card-head > h2,
    .video-free-settings-panel .video-smart-field > span:first-child,
    .video-free-settings-panel .video-smart-field > label > span:first-child,
    .video-analysis-source h2,
    .media-download-field-head > h2,
    .speech-synthesis-composer h2
  ) {
    font-size: 14px !important;
    font-weight: 600 !important;
  }
}

/* Product-main vertical rhythm follows detail-page groups. Keep inline geometry intact. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .upload-column {
    padding-bottom: 14px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel :is(.settings-column, .settings-scroll-area) {
    padding-top: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .pet-product-main-content-settings {
    padding-top: 12px !important;
    padding-bottom: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .pet-product-main-settings-layout {
    row-gap: 12px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel .pet-product-main-copy-host > .extra-prompt-box {
    row-gap: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel #extra-prompt-label {
    min-height: 0 !important;
    margin-bottom: 10px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="pet-product-main-image"] #task-panel #pet-main-reference-materials {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    row-gap: 10px !important;
  }
}

/* Detail-page settings use the shared editor scrollport above the fixed footer. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel .upload-column {
    padding-bottom: 14px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel .settings-column {
    padding-top: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel .settings-scroll-area {
    display: grid !important;
    align-content: start !important;
    padding-top: 0 !important;
    width: calc(100% + 6px) !important;
    scrollbar-gutter: stable !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel #detail-settings-scroll-content {
    display: grid;
    align-self: start;
    min-width: 0;
    row-gap: 0;
  }
  /* The legacy detail editor was hidden with its parent; keep it hidden when
   * reusing that parent for the current controls. */
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel .settings-scroll-area > :is(#settings-card, .extra-prompt-box) {
    display: none !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode[data-active-feature="detail-page"] #task-panel #detail-settings-scroll-content > #detail-page-basic-selects {
    margin-top: 0 !important;
  }
}

@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body[data-active-feature="detail-page"] #detail-settings-scroll-content [data-detail-scroll-menu="true"] {
    position: fixed !important;
    inset: auto !important;
    left: var(--detail-scroll-menu-left) !important;
    top: var(--detail-scroll-menu-top) !important;
    width: var(--detail-scroll-menu-width) !important;
    max-height: var(--detail-scroll-menu-height) !important;
    margin: 0 !important;
    overflow: auto !important;
    z-index: 2200 !important;
  }
}

/* Main-image and detail editors share one scrollport between the fixed header and footer. */
@layer desktop-fixed-rails {
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel {
    grid-template-rows: auto 0 minmax(0, 1fr) 126px !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .settings-column {
    grid-row: 2 / 5 !important;
    padding-top: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .settings-scroll-area {
    display: grid !important;
    align-content: start !important;
    row-gap: 0 !important;
    padding-top: 0 !important;
  }
  html:not([data-mobile-workbench="true"]) body.feature-focus-mode.workstation-feature-mode:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"]) #task-panel .settings-scroll-area > .upload-column {
    grid-row: auto !important;
    grid-column: auto !important;
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
}
