/* Product interaction and layout corrections, loaded after product styles. */
body[data-preserved-product="commerce-cross-border-ecommerce"] > .cross-border-workspace {
  width: min(1380px, calc(100% - 60px)); max-width: 1380px; margin: 28px auto 100px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start;
}
body[data-preserved-product="commerce-cross-border-ecommerce"] .cross-border-workspace > .panel { width:100%; min-width:0; margin:0; }
body[data-preserved-product="commerce-cross-border-ecommerce"] .cross-border-workspace > aside { width:100%; min-width:0; margin:0; position:static; }
body[data-preserved-product="market-event-plan"] .panels .section {
  background:#fff; border:1px solid #e8e2dd; border-radius:24px; padding:24px; margin-bottom:20px;
}
body[data-preserved-product="market-event-plan"] .scard { background:#fff; border:1px solid #e8e2dd; border-radius:24px; padding:20px; }
body[data-preserved-product]:is([data-preserved-product="product-feature-extract"],[data-preserved-product="video-script-review"],[data-preserved-product="video-short-script"],[data-preserved-product="video-corporate-storyboard"],[data-preserved-product="video-douyin-live-plan"],[data-preserved-product="market-event-plan"]) :is(.pp-step,.video-step,.panels .section) {
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body[data-preserved-product]:is([data-preserved-product="product-feature-extract"],[data-preserved-product="video-script-review"],[data-preserved-product="video-short-script"],[data-preserved-product="video-corporate-storyboard"],[data-preserved-product="video-douyin-live-plan"],[data-preserved-product="market-event-plan"]) :is(.pp-step,.video-step,.panels .section):hover {
    transform:translateY(-3px) !important; box-shadow:0 12px 28px #3c302714 !important;
    border-color:color-mix(in srgb,var(--workspace-category-color,#3b82fd) 35%,#e8e2dd);
  }
}
@media (max-width:900px) {
  body[data-preserved-product="commerce-cross-border-ecommerce"] > .cross-border-workspace {
    width:calc(100% - 30px); grid-template-columns:minmax(0,1fr);
  }
}

/* Office product step cards share the same hover motion as other product cards. */
body[data-preserved-product]:is([data-preserved-product="office-meeting-minutes"],[data-preserved-product="office-weekly-report"],[data-preserved-product="office-file-extract"],[data-preserved-product="office-email-write"],[data-preserved-product="office-notice-write"],[data-preserved-product="office-ppt-outline"],[data-preserved-product="office-okr-breakdown"]) .card.step-card {
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body[data-preserved-product]:is([data-preserved-product="office-meeting-minutes"],[data-preserved-product="office-weekly-report"],[data-preserved-product="office-file-extract"],[data-preserved-product="office-email-write"],[data-preserved-product="office-notice-write"],[data-preserved-product="office-ppt-outline"],[data-preserved-product="office-okr-breakdown"]) .card.step-card:hover {
    transform:translateY(-3px) !important;
    box-shadow:0 12px 28px #3c302714 !important;
    border-color:color-mix(in srgb,var(--workspace-category-color,#3b82fd) 35%,#e8e2dd);
  }
}
body[data-preserved-product]:is([data-preserved-product="office-meeting-minutes"],[data-preserved-product="office-notice-write"]) .upload-icon,
body[data-preserved-product]:is([data-preserved-product="office-meeting-minutes"],[data-preserved-product="office-notice-write"]) .upload-icon svg {
  color:var(--workspace-category-color,#3b82fd) !important;
}
