/* AutoCute upload feedback, scoped to avoid changing other workflow pages. */
#cQueue .cup { width:100%; min-width:0; box-sizing:border-box; padding:20px; border:1px solid #bedfca; border-radius:16px; background:#f7fcf8; color:#244a38; scroll-margin-top:20px; margin-bottom:24px; }
.cup-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.cup-head > div { min-width:0; }
.cup-head strong { font-size:17px; }
.cup-head p { margin:5px 0 12px; font-size:13px; overflow-wrap:anywhere; }
.cup-head > b { font-size:28px; line-height:1.2; color:#087f43; font-variant-numeric:tabular-nums; }
.cup-bar, .cup-file-bar { overflow:hidden; background:#dcece2; border-radius:8px; height:9px; }
.cup-bar i, .cup-file-bar i { display:block; height:100%; width:0; background:#169855; border-radius:inherit; transition:width .18s ease; }
.cup-summary { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px 14px; margin-top:9px; font-size:12px; }
.cup-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:13px 0; margin:13px 0 0; border-top:1px solid #dcece2; }
.cup-stats dt { font-size:12px; color:#567261; }
.cup-stats dd { margin:3px 0 0; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.cup-files { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.cup-files li { min-width:0; padding:10px 12px; border:1px solid #deebe3; border-radius:9px; background:#fff; }
.cup-files li[data-status="uploading"] { border-color:#36a96c; background:#effaf3; }
.cup-files li[data-status="retrying"] { border-color:#cf9a34; background:#fff9ec; }
.cup-file-head { display:flex; justify-content:space-between; gap:10px; font-size:13px; }
.cup-file-head span { min-width:0; overflow-wrap:anywhere; }
.cup-file-head b { flex-shrink:0; font-size:11px; font-weight:600; }
.cup-file-bar { margin-top:7px; height:4px; }
.cup-files small { display:block; margin-top:4px; color:#597363; font-size:11px; font-variant-numeric:tabular-nums; }
.cup-note, .cup-resume { font-size:12px; line-height:1.6; margin:12px 0 0; }
.cup-resume { margin:0 0 12px; color:#076d37; }
.cup[data-stage="retrying"], .cup[data-stage="error"] { border-color:#d9ac5c!important; }
.cup[data-stage="error"] .cup-head > b { color:#a94e20; }
.cup[data-stage="validating"] .cup-bar i { background:repeating-linear-gradient(110deg,#169855 0 12px,#67bb8a 12px 24px); }
@media(max-width:600px) {
  #cQueue .cup { padding:14px; margin-bottom:calc(90px + env(safe-area-inset-bottom,0px)); scroll-margin-top:12px; }
  .cup-head strong { font-size:15px; }
  .cup-head > b { font-size:25px; }
  .cup-stats { gap:8px; }
  .cup-stats dd { font-size:12px; }
  .cup-stats dt { font-size:11px; }
  .cup-files li { padding:9px; }
}
@media(prefers-reduced-motion:reduce) { .cup-bar i, .cup-file-bar i { transition:none; } }
