/* PV LAB / Upscaler editorial workspace V5. Presentation only.
   Keep image upload, paid quotes, model dispatch and before/after flow unchanged.
   The Video / Image / Retouch / Assets workspaces are deliberately untouched. */
#app .pv-upscale-workspace-intro,
#app .pv-upscale-source-control,
#app .pv-upscale-example-note{display:none}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active){
  --pv-upscale-sidebar:344px;
  --pv-upscale-gap:12px;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(300px,var(--pv-upscale-sidebar)) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  gap:var(--pv-upscale-gap)!important;
  align-items:start!important;
  max-width:1740px!important;
  min-height:0!important;
  margin:12px auto 12px!important;
  padding:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  grid-column:1!important;
  grid-row:1!important;
  order:0!important;
  position:relative!important;
  top:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:640px!important;
  height:auto!important;
  align-self:stretch!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #343943!important;
  border-radius:13px!important;
  background:linear-gradient(160deg,#15191f 0%,#12161b 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  overflow:visible!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:min-content;
  align-items:start!important;
  align-content:start!important;
  flex:1 0 auto!important;
  gap:19px 11px!important;
  width:100%!important;
  max-height:none!important;
  min-height:0!important;
  margin:0!important;
  padding:22px 18px 12px!important;
  overflow:visible!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
  grid-column:1/-1;
  display:flex;flex-direction:column;gap:6px;
  margin:0 0 4px;padding:0 0 19px;
  border-bottom:1px solid #2d3239;
  font-family:'DM Sans',Arial,sans-serif;
}
#app.upscale-studio-active .pv-upscale-workspace-intro .pv-upscale-kicker{
  color:#979da6;font-size:9px;font-weight:700;line-height:1.5;
  text-transform:uppercase;letter-spacing:.145em;
}
#app.upscale-studio-active .pv-upscale-workspace-intro h2{
  margin:0;color:#f3f3f0;
  font:600 27px/1.1 'DM Sans',Arial,sans-serif;letter-spacing:-.045em;
}
#app.upscale-studio-active .pv-upscale-workspace-intro p{
  margin:3px 0 0;color:#9ea5ae;
  font:400 11px/1.55 'DM Sans',Arial,sans-serif;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-display{
  display:flex!important;
  grid-column:1/-1!important;
  order:0!important;
  min-width:0;
  gap:8px;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
  grid-column:1/-1;
  display:flex!important;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
#app.upscale-studio-active .pv-upscale-source-control>.pv-upscale-field-label{
  color:#b8bdc6;font:600 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.01em;
}
#app.upscale-studio-active #pv-upscale-source-upload{
  box-sizing:border-box;
  display:flex;align-items:center;justify-content:flex-start;gap:13px;
  width:100%;min-height:106px;padding:16px;
  border:1px dashed #505863;border-radius:10px;
  background:radial-gradient(circle at 80% 20%,#232832 0%,#1c2129 60%,#1b2027 100%);
  color:#f4f5f5;
  text-align:left;font-family:'DM Sans',Arial,sans-serif;
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
#app.upscale-studio-active #pv-upscale-source-upload:hover{
  border-color:#89929e;background:#292f39;
}
#app.upscale-studio-active #pv-upscale-source-upload:focus-visible{
  outline:2px solid #ecedef;outline-offset:3px;
}
#app.upscale-studio-active #pv-upscale-source-upload .pv-upscale-source-icon{
  display:grid;place-items:center;flex:none;
  width:43px;height:43px;border:1px solid #5d6672;border-radius:10px;
  background:#252b34;color:#e2e8ef;
}
#app.upscale-studio-active #pv-upscale-source-upload svg{
  display:block;width:23px;height:23px;fill:none;stroke:currentColor;
  stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;
}
#app.upscale-studio-active #pv-upscale-source-upload .pv-upscale-source-copy{
  display:flex;flex-direction:column;gap:6px;min-width:0;
}
#app.upscale-studio-active #pv-upscale-source-upload strong{
  font-size:13px;line-height:1.25;font-weight:650;letter-spacing:-.015em;
}
#app.upscale-studio-active #pv-upscale-source-upload small{
  font-size:10px;line-height:1.4;font-weight:450;color:#9da6b1;
}
#app.upscale-studio-active #pv-upscale-source-state{
  min-height:15px;margin:0;color:#878f9b;
  font:450 10px/1.45 'DM Sans',Arial,sans-serif;
  overflow-wrap:anywhere;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid{
  order:0!important;
  grid-column:1!important;
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  gap:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid>label:not([hidden]){
  box-sizing:border-box;display:flex;flex-direction:column;flex:1 1 auto;min-width:0;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control{
  order:0!important;
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#upscale-info{
  order:1!important;
  grid-column:1/-1!important;
  width:100%!important;
  min-height:32px!important;
  padding:1px 0 0!important;
  margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-info summary{
  justify-content:flex-start!important;
  margin:0!important;
  padding:8px 0!important;
  width:max-content!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body .label{
  margin:0 0 7px!important;
  font:600 10px/1.4 'DM Sans',Arial,sans-serif!important;
  color:#aab2bc!important;letter-spacing:.025em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body select,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body .upscale-model-readout{
  box-sizing:border-box;
  height:44px!important;min-height:44px!important;
  border:1px solid #404651!important;border-radius:9px!important;
  background:#212630!important;
  color:#f0f1f4;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body .upscale-model-readout{
  gap:8px;padding:0 12px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-brand{font-size:12px}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-id{font-size:10px}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-menu{
  top:calc(100% + 5px)!important;
  min-width:0!important;max-width:100%!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-end;
  flex-wrap:nowrap!important;
  gap:9px!important;
  width:100%!important;
  margin:auto 0 0!important;
  padding:17px 18px 18px!important;
  border-top:1px solid #303741!important;
  border-radius:0 0 13px 13px!important;
  background:#151a21!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
  order:0!important;
  display:block;
  box-sizing:border-box;
  grid-column:auto!important;
  flex:none!important;
  width:100%!important;
  min-height:47px!important;height:47px!important;max-height:47px!important;
  border-radius:9px!important;font-size:13px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate:disabled{
  background:#3b414a!important;border-color:#484e57!important;
  color:#9fa7b1!important;opacity:1!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #upscale-notice-slot{
  order:2!important;
  grid-column:auto!important;
  width:100%!important;
}
#upscale-queue-block[hidden]{display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-queue-block{
  order:-1;flex:none;width:100%;min-width:0;
}
#upscale-queue-reason{margin:0 0 8px;color:#d5b99f;font-size:12px;line-height:1.5}
#upscale-review-queue{min-height:36px;padding:7px 12px;font-size:12px}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #upscale-price,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #save{grid-column:auto!important;max-width:100%}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.stage{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column!important;
  grid-column:2!important;
  grid-row:1!important;
  order:0!important;
  position:relative!important;
  top:auto!important;
  align-self:start!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  border:1px solid #303741!important;
  border-radius:13px!important;
  background:#0e1218!important;
  overflow:visible!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .stagehead{
  box-sizing:border-box;height:42px!important;min-height:42px!important;
  flex:0 0 42px!important;
  padding:0 16px!important;
  border-bottom:1px solid #262e38!important;
  background:#12161c!important;
  border-radius:12px 12px 0 0;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .stagehead .eyebrow{
  color:#adb5bf!important;font-size:11px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
  box-sizing:border-box;
  width:100%;height:clamp(540px,calc(100dvh - 188px),820px)!important;
  min-height:540px!important;
  border:0!important;border-radius:0 0 12px 12px!important;
  background:radial-gradient(ellipse 70% 80% at 50% 45%,#192028 0%,#0f131a 76%)!important;
  box-shadow:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas:hover{
  border:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.drag{
  outline:2px dashed #d3dce7;outline-offset:-8px;
  background:#19212a!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty{
  box-sizing:border-box;
  display:flex;justify-content:center;
  min-height:0!important;height:100%;
  padding:24px 22px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty::before{
  content:"";display:block!important;
  box-sizing:border-box;
  flex:none;
  width:min(430px,72%)!important;
  height:clamp(190px,30dvh,265px)!important;
  min-height:0;
  margin:0 0 25px!important;
  border:1px solid rgba(212,220,230,.18)!important;
  border-radius:10px!important;
  background:none!important;
  box-shadow:0 10px 50px rgba(0,0,0,.28);
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .upscale-empty-kicker{
  margin:0 0 10px!important;
  color:#9fa8b4!important;
  font-size:9px!important;
  letter-spacing:.17em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-title{
  font-size:32px!important;letter-spacing:-.047em!important;
  margin:0 0 9px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-description{
  max-width:320px!important;line-height:1.55!important;
  color:#acb4bd!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #canvas-import{
  min-height:43px!important;padding:10px 22px!important;
  border:1px solid #f0f0ec!important;border-radius:8px!important;
  background:#f0f0ed!important;color:#17191a!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #canvas-import:hover{
  background:#fff!important;border-color:#fff!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .upscale-drop-hint{
  margin-top:11px!important;color:#7d8590!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .pv-upscale-example-note{
  display:block;
  margin:8px 0 0;color:#727b87;
  font:400 9px/1.5 'DM Sans',Arial,sans-serif;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive{
  box-sizing:border-box;
  width:calc(100% - var(--pv-upscale-sidebar) - var(--pv-upscale-gap));
  max-width:none!important;
  margin:14px 0 40px auto!important;
  padding:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive .archivehead{
  padding:3px 2px 9px;
  border-bottom:1px solid #262c35;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive .archivehead h2{
  font-size:17px!important;font-weight:640;letter-spacing:-.025em;
}
@media(min-width:1051px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
    position:sticky!important;top:84px!important;
  }
}
@media(max-width:1050px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active){
    --pv-upscale-sidebar:300px;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
    grid-template-columns:minmax(270px,var(--pv-upscale-sidebar)) minmax(0,1fr)!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
    height:clamp(500px,calc(100dvh - 196px),780px)!important;
    min-height:500px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
    padding:20px 15px 12px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
    padding:15px!important;
  }
}
@media(max-width:780px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    margin:10px auto 14px!important;
    width:100%!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.stage{
    order:0!important;width:100%!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
    order:1!important;width:100%!important;
    min-height:0!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
    gap:15px 10px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
    height:clamp(390px,55dvh,590px)!important;
    min-height:390px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty::before{
    width:min(310px,77%)!important;
    height:clamp(140px,22dvh,205px)!important;
    margin-bottom:14px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-title{
    font-size:27px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive{
    width:100%!important;margin:14px auto 36px!important;
  }
}
@media(max-width:420px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
    height:420px!important;min-height:420px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty{
    padding:14px 12px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty::before{
    height:148px!important;width:min(264px,80%)!important;margin-bottom:13px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-title{
    font-size:25px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-description{
    font-size:11px!important;line-height:1.4!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .empty-actions{
    margin-top:12px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas .pv-upscale-example-note{
    font-size:8px;
  }
}
@media(prefers-reduced-motion:reduce){
  #app.upscale-studio-active #pv-upscale-source-upload{transition:none}
}

/* Hide Video-only pills that can otherwise bleed into Upscaler after switching tools.
   The actual Upscale engine picker, scale, format and paid action remain untouched. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-video-model-pill,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-video-audio-pill,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-video-output-toggle,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #video-utilities{
  display:none!important;
}


/* PV LAB Upscaler V7. Empty-state styling only, preserving all real provider and result UI. */
#app .pv-upscale-empty-drop{display:none}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty{
  box-sizing:border-box!important;display:block!important;position:relative!important;
  width:100%;height:100%;min-height:0!important;margin:0!important;padding:0!important;
  background:#0c1015!important;overflow:hidden!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty[hidden]{display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty::before{content:none!important;display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.upscale-empty-kicker,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>#empty-title,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>#empty-description,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.empty-actions,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.upscale-drop-hint,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.pv-upscale-example-note{display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.pv-upscale-empty-drop{
  display:block!important;position:absolute;inset:0;box-sizing:border-box;
  width:100%;height:100%;background:#0b0e13;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
  position:absolute;inset:25px 23px;box-sizing:border-box;display:flex;
  flex-direction:column;align-items:center;justify-content:center;
  min-width:0;padding:35px 24px 106px;overflow:hidden;
  border:1px dashed rgba(180,192,207,.37);border-radius:14px;
  background:#0a0e13;color:#f3f3f4;cursor:pointer;isolation:isolate;
  transition:border-color .18s ease;font-family:'DM Sans',Arial,sans-serif;
}
#app.upscale-studio-active .pv-upscale-dropzone::before{
  content:"";position:absolute;inset:-12px;z-index:-2;pointer-events:none;
  background:url('./visuals/reptare-detail.webp') 65% 48%/cover no-repeat;
  filter:grayscale(1) brightness(.38) contrast(1.25) blur(1.6px);
  opacity:.92;transform:scale(1.04);
}
#app.upscale-studio-active .pv-upscale-dropzone::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 62% 60% at 49% 46%,rgba(3,6,10,.78),rgba(4,7,11,.46) 60%,transparent),
             linear-gradient(90deg,rgba(4,7,11,.63),rgba(7,10,14,.35) 58%,rgba(4,7,11,.18)),
             linear-gradient(0deg,rgba(5,8,12,.73),transparent 33%);
}
#app.upscale-studio-active .pv-upscale-dropzone:hover,
#app.upscale-studio-active #upscale-canvas.drag .pv-upscale-dropzone{border-color:rgba(225,232,239,.72)}
#app.upscale-studio-active .pv-upscale-empty-center{
  position:relative;z-index:2;display:flex;flex-direction:column;
  align-items:center;justify-content:center;flex:none;
  max-width:100%;text-align:center;pointer-events:none;transform:translateY(-12px);
}
#app.upscale-studio-active .pv-upscale-empty-icon{
  display:grid;place-items:center;width:82px;height:82px;margin:0 0 18px;
  color:#f4f5f5;filter:drop-shadow(0 2px 9px rgba(0,0,0,.5));
}
#app.upscale-studio-active .pv-upscale-empty-icon svg{width:74px;height:74px}
#app.upscale-studio-active .pv-upscale-empty-center h2{
  margin:0 0 15px!important;color:#f7f7f7!important;
  font:650 clamp(37px,3.8vw,60px)/1.05 'DM Sans',Arial,sans-serif!important;
  letter-spacing:-.057em!important;
}
#app.upscale-studio-active .pv-upscale-empty-center p{
  max-width:405px;margin:0 0 28px!important;color:#c7cbd1!important;
  font:400 clamp(13px,1.12vw,17px)/1.55 'DM Sans',Arial,sans-serif!important;
}
#app.upscale-studio-active .pv-upscale-empty-center p span{display:block}
#app.upscale-studio-active #pv-upscale-hero-upload{
  pointer-events:auto;display:flex;align-items:center;justify-content:center;
  min-width:216px;min-height:51px;gap:11px;margin:0 0 18px!important;padding:12px 19px!important;
  border:1px solid #e8e9ea!important;border-radius:9px!important;
  color:#111317!important;background:#fbfbfb!important;
  box-shadow:0 3px 15px rgba(0,0,0,.24);
  font:650 15px/1.3 'DM Sans',Arial,sans-serif!important;letter-spacing:-.01em;
  cursor:pointer;transition:background .15s ease,transform .15s ease;
}
#app.upscale-studio-active #pv-upscale-hero-upload:hover{background:#e5e8eb!important;transform:translateY(-1px)}
#app.upscale-studio-active #pv-upscale-hero-upload:focus-visible{outline:2px solid #fff;outline-offset:4px}
#app.upscale-studio-active #pv-upscale-hero-upload svg{width:19px;height:19px;display:block}
#app.upscale-studio-active .pv-upscale-drop-hint{
  color:#989fa8;font:400 13px/1.5 'DM Sans',Arial,sans-serif;
}
#app.upscale-studio-active .pv-upscale-benefits{
  position:absolute;z-index:2;bottom:47px;left:50%;transform:translateX(-50%);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(485px,78%);margin:0;padding:27px 0 0;
  border-top:1px solid rgba(200,211,224,.15);cursor:default;
}
#app.upscale-studio-active .pv-upscale-benefit{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:65px;gap:10px;padding:0 10px;color:#f5f6f7;
  font:600 12px/1.35 'DM Sans',Arial,sans-serif;text-align:center;
}
#app.upscale-studio-active .pv-upscale-benefit+.pv-upscale-benefit{border-left:1px solid rgba(200,211,224,.10)}
#app.upscale-studio-active .pv-upscale-benefit svg{width:23px;height:23px;flex:none}
@media(max-width:1050px){
  #app.upscale-studio-active .pv-upscale-dropzone{inset:19px 16px;padding-bottom:93px}
  #app.upscale-studio-active .pv-upscale-empty-center h2{font-size:clamp(34px,4.7vw,51px)!important}
  #app.upscale-studio-active .pv-upscale-empty-center p{max-width:310px;font-size:13px!important}
  #app.upscale-studio-active .pv-upscale-benefits{bottom:33px;width:min(415px,87%)}
  #app.upscale-studio-active .pv-upscale-benefit{font-size:11px;gap:7px}
}
@media(max-width:780px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
    inset:13px 12px;padding:25px 16px 19px;
  }
  #app.upscale-studio-active .pv-upscale-empty-center{transform:none}
  #app.upscale-studio-active .pv-upscale-empty-icon{width:62px;height:62px;margin-bottom:13px}
  #app.upscale-studio-active .pv-upscale-empty-icon svg{width:58px;height:58px}
  #app.upscale-studio-active .pv-upscale-empty-center h2{font-size:clamp(29px,7.4vw,39px)!important;margin-bottom:12px!important}
  #app.upscale-studio-active .pv-upscale-empty-center p{max-width:305px;margin-bottom:20px!important;font-size:12px!important}
  #app.upscale-studio-active #pv-upscale-hero-upload{min-width:190px;min-height:46px;margin-bottom:12px!important;font-size:13px!important}
  #app.upscale-studio-active .pv-upscale-drop-hint{font-size:11px}
  #app.upscale-studio-active .pv-upscale-benefits{display:none}
}
@media(max-width:360px){
  #app.upscale-studio-active .pv-upscale-dropzone{inset:11px 10px}
  #app.upscale-studio-active .pv-upscale-empty-center p{font-size:11px!important;max-width:255px}
}
@media(prefers-reduced-motion:reduce){
  #app.upscale-studio-active .pv-upscale-dropzone,
  #app.upscale-studio-active #pv-upscale-hero-upload{transition:none}
}

/* The approved mockup uses a quiet disclosure, not a filled pill. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-info>summary{
  width:max-content!important;min-height:22px!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;
  color:#a4acb6!important;
  font:500 11px/1.5 'DM Sans',Arial,sans-serif!important;
  letter-spacing:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-info>summary:hover{
  color:#e9ecef!important;
}

/* Upscaler V8 / Inspector refinement: only the left controls. The photographic
   stage and upload-first dropzone remain visually and functionally unchanged. */
#app .pv-upscale-output-heading{display:none}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
  border:1px solid #2e333a!important;
  border-radius:11px!important;
  background:#111419!important;
  box-shadow:0 10px 35px rgba(0,0,0,.10)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  flex:0 0 auto!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px 12px!important;
  padding:23px 21px 9px!important;
  align-content:start!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
  order:-4!important;grid-column:1/-1!important;
  display:flex!important;flex-direction:column!important;
  gap:5px!important;margin:0 0 8px!important;
  padding:0 0 22px!important;
  border-bottom:1px solid #2c3239!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro .pv-upscale-kicker{
  color:#858e9b!important;
  font:650 9px/1.4 'DM Sans',Arial,sans-serif!important;
  letter-spacing:.15em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
  color:#f1f2f3!important;
  font:610 23px/1.17 'DM Sans',Arial,sans-serif!important;
  letter-spacing:-.044em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro p{
  margin:1px 0 0!important;color:#919aa4!important;
  font:400 11px/1.6 'DM Sans',Arial,sans-serif!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-display{
  order:-3!important;
  grid-column:1/-1!important;
  gap:8px!important;
  margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-display>.label{
  color:#aab1bb!important;
  font:600 10px/1.4 'DM Sans',Arial,sans-serif!important;
  letter-spacing:.035em!important;
  margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-readout{
  border:1px solid #353c45!important;border-radius:8px!important;
  background:#1b2027!important;height:47px!important;
  padding:0 13px!important;
  transition:border-color .14s ease,background .14s ease;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-readout:hover{
  border-color:#626b77!important;background:#20262d!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-brand{
  color:#f1f3f4!important;font-size:12px!important;font-weight:600!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-id{
  color:#a7afb9!important;font-size:10px!important;font-weight:500!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-output-heading{
  display:flex!important;order:-2!important;grid-column:1/-1!important;
  align-items:center;gap:12px;
  margin:9px 0 0!important;padding:11px 0 0!important;
  border-top:1px solid rgba(212,220,230,.10)!important;
  color:#89929e!important;
  font:700 9px/1.4 'DM Sans',Arial,sans-serif!important;
  letter-spacing:.13em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid{
  order:-1!important;grid-column:1!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control{
  order:-1!important;grid-column:2!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid select,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control select{
  border:1px solid #353c45!important;border-radius:8px!important;
  background:#1b2027!important;height:45px!important;
  color:#f1f2f4!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
  order:0!important;grid-column:1/-1!important;
  display:none!important;
  gap:7px!important;
  margin:5px 0 0!important;padding:0!important;
  min-width:0;
}
#app.upscale-studio-active.pv-upscale-source-ready:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
  display:flex!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-source-control>.pv-upscale-field-label{
  color:#89929e!important;
  font:650 9px/1.4 'DM Sans',Arial,sans-serif!important;
  letter-spacing:.075em!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload{
  border:1px solid #353c45!important;border-radius:8px!important;
  background:#181d23!important;
  min-height:54px!important;max-height:62px;
  padding:9px 12px!important;gap:10px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload:hover{
  border-color:#687483!important;background:#1e242b!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload .pv-upscale-source-icon{
  width:29px!important;height:29px!important;border-color:#4a535f!important;
  border-radius:6px!important;background:#222a32!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload svg{
  width:16px!important;height:16px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload strong{
  color:#ebedef!important;font-size:11px!important;font-weight:600!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload small{
  color:#858f9b!important;font-size:10px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-state{
  margin:0!important;padding:0!important;
  min-height:0!important;color:#87919d!important;
  font:400 10px/1.4 'DM Sans',Arial,sans-serif!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#upscale-info{
  order:1!important;grid-column:1/-1!important;
  min-height:20px!important;
  margin:6px 0 0!important;padding:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-info>summary{
  color:#a7b0bb!important;font-size:11px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  flex:0 0 auto!important;
  margin:0!important;padding:15px 21px 18px!important;
  border-top:1px solid #2c3239!important;
  border-radius:0 0 11px 11px!important;
  background:#12161c!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
  min-height:46px!important;height:46px!important;
  border-radius:8px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate:not(:disabled){
  background:#ebedf0!important;color:#17191d!important;
  border-color:#ebedf0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate:disabled{
  background:#292f37!important;border:1px solid #333b45!important;
  color:#77808c!important;
}
@media(max-width:780px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
    padding:17px 16px 8px!important;gap:12px 10px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
    padding-bottom:14px!important;margin-bottom:1px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{font-size:20px!important}
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
    padding:12px 16px 14px!important;
  }
}

/* Upscaler V8: let the real result gallery peek into the first desktop viewport.
   We shorten only the tall photograph stage, never fabricate history thumbnails
   or change the original upload, quote, source preview and result controls. */
@media(min-width:781px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
    height:clamp(540px,calc(100dvh - 325px),700px)!important;
    min-height:540px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive{
    margin-top:7px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon{
    width:70px;height:70px;margin-bottom:10px;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon svg{
    width:64px;height:64px;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
    transform:translateY(-17px);
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-benefits{
    bottom:26px;
  }
}
@media(min-width:781px) and (max-height:745px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-benefits{
    display:none;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
    padding-bottom:36px;
  }
}

/* V9: Restore the user-approved full settings deck, without affecting the drop area. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  min-height:640px!important;align-self:stretch!important;
  background:linear-gradient(160deg,#15191f 0%,#12161b 100%)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  flex:1 0 auto!important;gap:19px 11px!important;padding:22px 18px 12px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
  order:-4!important;gap:6px!important;margin:0 0 4px!important;padding:0 0 19px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
  font-size:27px!important;line-height:1.1!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro p{
  font-size:11px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-output-heading{display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
  order:-2!important;grid-column:1/-1!important;display:flex!important;gap:8px!important;margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload{
  min-height:106px!important;max-height:none!important;padding:16px!important;gap:13px!important;
  border:1px dashed #505863!important;border-radius:10px!important;
  background:radial-gradient(circle at 80% 20%,#232832 0%,#1c2129 60%,#1b2027 100%)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload .pv-upscale-source-icon{
  width:43px!important;height:43px!important;border-radius:10px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload svg{
  width:23px!important;height:23px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload strong{font-size:13px!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control{order:-1!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  margin:auto 0 0!important;padding:17px 18px 18px!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{min-height:0!important}
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{gap:15px 10px!important;padding:20px 15px 12px!important}
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{padding:15px!important}
}

/* V10: User-approved full-screen reference. Only Upscaler empty-state and deck.
   The underlying upload, model, credits, generated preview, and gallery remain unchanged. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
   grid-template-columns:minmax(300px,344px) minmax(0,1fr)!important;
   gap:12px!important;margin:12px auto 15px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
   min-height:690px!important;align-self:stretch!important;
   border:1px solid #353a44!important;border-radius:13px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
   height:clamp(650px,calc(100dvh - 195px),850px)!important;
   min-height:650px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.archive{
   margin-top:18px!important;
 }
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.pv-upscale-empty-drop{
 background:#0a0d11!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
 inset:0!important;
 padding:25px 20px!important;
 border:none!important;border-radius:0!important;
 background:#0b0e12!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::before{
 background:url('./visuals/reptare-detail.webp') 50% 47%/cover no-repeat!important;
 filter:grayscale(1) brightness(.64) contrast(1.18) blur(1.2px)!important;
 opacity:.97!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::after{
 background:radial-gradient(ellipse 53% 66% at 50% 48%,rgba(7,9,12,.58) 0%,rgba(8,11,15,.69) 68%,rgba(7,10,14,.15) 100%),
 linear-gradient(90deg,rgba(4,7,10,.32),transparent 50%,rgba(4,7,10,.20))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
 position:relative!important;z-index:2!important;
 width:min(610px,76%)!important;
 padding:48px 38px 35px!important;
 border:1px dashed rgba(196,205,215,.58)!important;
 border-radius:16px!important;
 background:linear-gradient(145deg,rgba(15,19,24,.94),rgba(18,22,27,.86))!important;
 box-shadow:0 22px 75px rgba(0,0,0,.36)!important;
 transform:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon{
 width:74px!important;height:74px!important;margin-bottom:15px!important;
 background:#22272e!important;border-radius:50%!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon svg{width:47px!important;height:47px!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center h2{
 font-size:clamp(35px,3.1vw,47px)!important;margin-bottom:16px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center p{
 max-width:400px!important;margin-bottom:30px!important;font-size:15px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-hero-upload{
 min-width:240px!important;height:52px!important;border-radius:10px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-drop-hint{
 margin-top:2px!important;color:#929aa5!important;font-size:12px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-benefits{
 display:none!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
  height:420px!important;min-height:420px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
  width:min(330px,calc(100% - 38px))!important;
  padding:26px 15px!important;
  border-radius:12px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center h2{
  font-size:32px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center p{
  font-size:12px!important;margin-bottom:19px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-hero-upload{
  min-width:185px!important;height:44px!important;
 }
}


/* V11 / approved option 1: editorial chrome/wool, compact settings,
   transparent rectangular source frame. Scoped to Upscaler only. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
  grid-template-columns:minmax(300px,370px) minmax(0,1fr)!important;gap:0!important;
  max-width:100%!important;margin:0 auto 12px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  border:0!important;border-right:1px solid rgba(255,255,255,.12)!important;
  border-radius:0!important;background:#0d0e10!important;box-shadow:none!important;
  min-height:clamp(660px,calc(100dvh - 100px),900px)!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.stage{
  border:0!important;border-radius:0!important;background:#111!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
  min-height:660px!important;height:clamp(660px,calc(100dvh - 100px),900px)!important;
 }
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
 padding:26px 24px 12px!important;gap:14px 12px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
 padding:0 0 19px!important;margin:0 0 3px!important;gap:8px!important;
 border-color:rgba(255,255,255,.11)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro .pv-upscale-kicker{
 font:550 10px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.18em!important;
 color:#d1d0ce!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
 font:400 clamp(37px,3.35vw,54px)/1.07 'DM Sans',Arial,sans-serif!important;
 letter-spacing:-.058em!important;color:#f7f6f4!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro p{
 font:400 13px/1.5 'DM Sans',Arial,sans-serif!important;
 color:#969390!important;max-width:295px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-display{order:-3!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .upscale-model-readout,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body select{
 background:#151515!important;border:1px solid rgba(255,255,255,.14)!important;
 color:#efedeb!important;border-radius:6px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
 display:none!important;
}
#app.upscale-studio-active.pv-upscale-source-ready:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
 display:flex!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
 background:#0d0e10!important;border-color:rgba(255,255,255,.12)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas>#empty>.pv-upscale-empty-drop{
 background:#101011!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
 position:absolute!important;inset:0!important;border:none!important;
 border-radius:0!important;background:#0c0d0e!important;isolation:isolate!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::before{
 background:url('./visuals/upscaler-chrome-wool-option-1.jpg') center 48%/cover no-repeat!important;
 filter:grayscale(1) brightness(.83) contrast(1.04)!important;
 opacity:1!important;transform:scale(1.015)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::after{
 background:linear-gradient(90deg,rgba(3,3,4,.53),rgba(3,3,4,.20) 52%,rgba(3,3,4,.41)),
 linear-gradient(0deg,rgba(3,3,4,.49),transparent 30%,rgba(3,3,4,.32))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
 position:relative!important;width:min(91%,1060px)!important;
 min-height: min(76%,660px)!important;max-width:none!important;
 padding:60px 25px!important;
 border:1px solid rgba(232,226,219,.28)!important;border-radius:7px!important;
 background:rgba(0,0,0,.035)!important;box-shadow:none!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 transform:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon{
 width:84px!important;height:84px!important;margin:0 0 18px!important;
 border:1px solid rgba(255,255,255,.48)!important;border-radius:12px!important;
 background:rgba(0,0,0,.22)!important;filter:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon svg{
 width:52px!important;height:52px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center h2{
 font:400 clamp(29px,2.7vw,39px)/1.17 'DM Sans',Arial,sans-serif!important;
 letter-spacing:-.05em!important;margin:0 0 12px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center p{
 font:400 clamp(12px,1.1vw,15px)/1.5 'DM Sans',Arial,sans-serif!important;
 margin:0 0 22px!important;color:#dedbd7!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-hero-upload{
 min-width:168px!important;min-height:43px!important;height:43px!important;
 background:#f6f3ee!important;color:#1a1918!important;
 border-radius:24px!important;font:600 12px/1.2 'DM Sans',Arial,sans-serif!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-drop-hint{
 letter-spacing:.12em!important;text-transform:uppercase!important;
 font-size:10px!important;color:#c9c4bf!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
 background:#0d0e10!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
 font-size:34px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas{
 height:450px!important;min-height:450px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
 width:calc(100% - 24px)!important;min-height:350px!important;
 padding:24px 13px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center h2{
 font-size:29px!important;
 }
}


/* V12: bring real page into visual parity with approved option 1.
   CSS only, scoped to empty Upscaler. Never alter processing/results. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
   grid-template-columns:minmax(350px,26%) minmax(0,1fr)!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
   border-right:1px solid rgba(230,223,212,.13)!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
   padding:40px 36px 18px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
   padding-bottom:28px!important;margin-bottom:8px!important;gap:12px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
   font-size:clamp(48px,4.1vw,70px)!important;
   letter-spacing:-.065em!important;font-weight:380!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro p{
   font-size:clamp(16px,1.45vw,23px)!important;line-height:1.35!important;
   max-width:330px!important;color:#97928e!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .stagehead:has(+ #upscale-canvas #empty:not([hidden])){
   display:none!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas:has(#empty:not([hidden])){
   height:clamp(690px,calc(100dvh - 77px),1050px)!important;
   min-height:690px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
   min-height:clamp(690px,calc(100dvh - 77px),1050px)!important;
 }
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::before{
 filter:brightness(.82) contrast(1.12) saturate(.79)!important;
 opacity:1!important;
 transform:scale(1.015)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::after{
 background:linear-gradient(90deg,rgba(6,5,5,.43),rgba(4,4,5,.10) 51%,rgba(8,6,5,.36)),
 linear-gradient(0deg,rgba(4,3,3,.26),transparent 34%,rgba(5,4,4,.13))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
 width:min(87%,1080px)!important;min-height:82%!important;
 border:1px solid rgba(246,238,226,.46)!important;border-radius:7px!important;
 background:rgba(0,0,0,.025)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon{
 background:rgba(4,4,5,.38)!important;
 width:93px!important;height:93px!important;border-radius:13px!important;
 border-color:rgba(252,248,242,.60)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon svg{
 width:52px!important;height:52px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center h2{
 font-weight:400!important;letter-spacing:-.044em!important;
 font-size:clamp(31px,2.6vw,44px)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center p{
 font-size:clamp(13px,1.1vw,16px)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #pv-upscale-hero-upload{
 min-height:40px!important;height:40px!important;margin-bottom:15px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-drop-hint{
 font-size:10px!important;letter-spacing:.12em!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone::before{
  filter:brightness(.75) contrast(1.1) saturate(.8)!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
  min-height:350px!important;width:calc(100% - 26px)!important;
 }
}


/* V13: final empty-state polish from the user's second reference image.
   The real Upload image action and all existing model/credit controls remain active. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::before{
  filter:brightness(.57) contrast(1.19) saturate(.83)!important;
  background-position:center 53%!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::after{
  background:
   radial-gradient(ellipse 42% 42% at 49% 51%,rgba(4,3,4,.46),rgba(3,3,4,.12) 80%,transparent),
   linear-gradient(90deg,rgba(5,4,5,.55),rgba(6,4,5,.24) 56%,rgba(6,4,5,.33)),
   linear-gradient(0deg,rgba(4,3,4,.43),transparent 42%,rgba(4,3,4,.22))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center{
  border-color:rgba(238,233,230,.59)!important;
  background:transparent!important;
  padding:42px 22px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
  width:95px!important;height:95px!important;
  background:rgba(6,5,6,.64)!important;
  border:1px solid rgba(249,246,244,.64)!important;
  border-radius:13px!important;
  margin:0 0 20px!important;
  display:grid!important;place-items:center!important;
  color:#faf8f6!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon svg{
  display:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::before{
  content:"+";display:block;color:#f9f6f3;
  font:200 57px/.95 'DM Sans',Arial,sans-serif;
  transform:translateY(-3px);
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center h2{
  font:400 clamp(32px,2.62vw,45px)/1.15 'DM Sans',Arial,sans-serif!important;
  letter-spacing:-.046em!important;
  color:#faf8f6!important;
  margin-bottom:12px!important;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center p{
  color:#e6e0da!important;
  font:400 clamp(13px,1.08vw,16px)/1.48 'DM Sans',Arial,sans-serif!important;
  text-shadow:0 1px 10px rgba(0,0,0,.45);
  margin-bottom:16px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-drop-hint{
  color:#d3cbc6!important;letter-spacing:.18em!important;
  font-size:10px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty #pv-upscale-hero-upload{
  box-shadow:0 2px 14px rgba(0,0,0,.24)!important;
  border-radius:999px!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
  width:72px!important;height:72px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::before{
  font-size:45px;
 }
}


/* V14: reference-image visual match, empty upscale state only.
   Keep real model selector, upload, credit pricing, and all job flows untouched. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::before{
  filter:brightness(.68) contrast(1.34) sepia(.18) saturate(1.24)!important;
  background-position:center 51%!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::after{
  background:
    radial-gradient(ellipse 42% 50% at 51% 53%,rgba(4,3,4,.42) 0%,rgba(6,4,5,.05) 78%,transparent),
    linear-gradient(90deg,rgba(4,3,4,.57) 0%,rgba(8,5,5,.16) 43%,rgba(5,3,4,.23) 100%),
    linear-gradient(0deg,rgba(5,3,4,.28),transparent 35%,rgba(4,3,3,.12))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center{
  width:min(91%,1100px)!important;
  min-height:81%!important;
  border:1px solid rgba(248,242,237,.67)!important;
  background:transparent!important;
  border-radius:7px!important;
  box-shadow:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
  position:relative!important;
  width:95px!important;height:95px!important;
  border:1px solid rgba(245,240,236,.7)!important;
  border-radius:13px!important;
  background:rgba(4,4,5,.66)!important;
  box-shadow:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::before,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::after{
  content:""!important;display:block!important;position:absolute!important;
  left:50%!important;top:50%!important;
  background:#f6f1eb!important;border-radius:0!important;
  transform:translate(-50%,-50%)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::before{
  width:29px!important;height:1px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon::after{
  width:1px!important;height:29px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center h2{
  font-family:'DM Sans',Arial,sans-serif!important;
  font-weight:350!important;font-size:clamp(32px,2.6vw,43px)!important;
  line-height:1.18!important;letter-spacing:-.055em!important;
  text-shadow:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center p{
  font-weight:350!important;color:#e4ded9!important;text-shadow:none!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro h2{
  font-weight:350!important;letter-spacing:-.067em!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
  width:72px!important;height:72px!important;
 }
}


/* Approved primary action: retain its states and handlers, show only Upscaler. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
  font-size:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate::after{
  content:"Upscale";
  font:500 13px/1.2 'DM Sans',Arial,sans-serif;
  letter-spacing:-.015em;
}


/* V16: match the reference's floating Upscaler button, left-aligned and detached. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  position:relative!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  position:absolute!important;left:34px!important;bottom:35px!important;
  width:calc(100% - 68px)!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;z-index:5!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
  width:100%!important;min-height:50px!important;height:50px!important;
  border-radius:9px!important;
  background:linear-gradient(110deg,#343436,#3d3c3e)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  box-shadow:0 8px 25px rgba(0,0,0,.22)!important;
  color:#b6b3b5!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate:not(:disabled){
  background:#f2efeb!important;color:#151515!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  padding-bottom:120px!important;
 }
}


/* V17: fix V16 sidebar displacement. Keep action anchored in visible panel. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
  align-items:stretch!important;grid-template-rows:auto!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  position:relative!important;top:0!important;bottom:auto!important;
  margin:0!important;transform:none!important;
  align-self:stretch!important;justify-self:stretch!important;
  min-height:0!important;height:clamp(650px,calc(100dvh - 125px),960px)!important;
  overflow:visible!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  padding-bottom:102px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  position:absolute!important;left:34px!important;right:34px!important;
  bottom:26px!important;top:auto!important;
  width:auto!important;min-height:0!important;height:auto!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
  display:block!important;width:100%!important;
  height:50px!important;min-height:50px!important;
  border-radius:9px!important;background:#39393b!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:none!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate::after{
  font:400 14px/1.2 'DM Sans',Arial,sans-serif!important;
  letter-spacing:-.02em!important;
 }
}


/* V20: restrained final polish. Upscaler only, preserve active controls. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
   bottom:46px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate:disabled{
   background:#414043!important;
   border:1px solid rgba(255,255,255,.12)!important;
   color:#bcb7b9!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
   padding-bottom:124px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
   margin-bottom:14px!important;
 }
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::before{
 filter:brightness(.64) contrast(1.24) sepia(.13) saturate(1.13)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::after{
 background:
  radial-gradient(ellipse 37% 46% at 51% 51%,rgba(3,3,4,.36),rgba(5,4,5,.07) 83%,transparent),
  linear-gradient(90deg,rgba(4,3,4,.48),rgba(6,4,5,.17) 53%,rgba(5,3,4,.28)),
  linear-gradient(0deg,rgba(4,3,4,.29),transparent 37%,rgba(4,3,4,.18))!important;
}


/* V21: final approved visual mockup refinement, Upscaler presentation only. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  padding-top:35px!important;gap:18px 12px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
  margin-bottom:10px!important;padding-bottom:23px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  bottom:40px!important;
 }
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::before{
 filter:brightness(.62) contrast(1.17) sepia(.11) saturate(1.08)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-dropzone::after{
 background:
  radial-gradient(ellipse 36% 42% at 51% 51%,rgba(4,3,4,.36),rgba(5,4,5,.05) 83%,transparent),
  linear-gradient(90deg,rgba(4,3,4,.45),rgba(6,4,5,.14) 53%,rgba(5,3,4,.29)),
  linear-gradient(0deg,rgba(4,3,4,.31),transparent 39%,rgba(4,3,4,.23))!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
 margin-bottom:23px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center h2{
 margin-bottom:17px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center p{
 margin-bottom:21px!important;
}
@media(max-width:780px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-icon{
  margin-bottom:14px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-center h2{
  margin-bottom:11px!important;
 }
}


/* V22: declutter Upscaler inspector. Hide technical disclosure, not model or pricing logic.
   Keep paid action floating at the approved image-2 bottom position. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-info{
  display:none!important;
}
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
  position:relative!important;top:0!important;align-self:stretch!important;
  margin:0!important;overflow:hidden!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
  position:absolute!important;left:34px!important;right:34px!important;
  bottom:40px!important;top:auto!important;width:auto!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
  padding-bottom:105px!important;
 }
}


/* V23: put Upscale directly under the two selector rows, as referenced.
   The advanced disclosure stays hidden; processing and billing are untouched. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
   display:flex!important;flex-direction:column!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
   flex:0 0 auto!important;padding-bottom:8px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
   position:relative!important;left:auto!important;right:auto!important;
   top:auto!important;bottom:auto!important;
   width:calc(100% - 68px)!important;min-height:0!important;
   margin:8px 34px 0!important;padding:0!important;
   background:transparent!important;border:0!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #generate{
   width:100%!important;
 }
}

/* V24: match the vertical rhythm between Model, Enlargement and Upscale. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
   margin-top:20px!important;
 }
}

/* V25: restrained photographic drag-over affordance. No upload logic changes. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-dropzone{
 transition:background-color .18s ease!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-center{
 transition:border-color .18s ease,box-shadow .18s ease!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-empty-icon{
 transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.pv-upscale-drag-hover .pv-upscale-empty-center{
 border-color:rgba(255,255,255,.94)!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 0 35px rgba(255,255,255,.09)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.pv-upscale-drag-hover .pv-upscale-empty-icon{
 border-color:#fff!important;background:rgba(255,255,255,.13)!important;
 box-shadow:0 0 24px rgba(255,255,255,.22)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.pv-upscale-drag-hover .pv-upscale-empty-icon::before,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.pv-upscale-drag-hover .pv-upscale-empty-icon::after{
 background:#fff!important;
}
@media(prefers-reduced-motion:reduce){
 #app.upscale-studio-active .pv-upscale-empty-center,
 #app.upscale-studio-active .pv-upscale-empty-icon{transition:none!important}
}


/* V26: use the existing verified lab.js drop state on #upscale-canvas.
   The existing handler adds .drag on dragenter/dragover and removes on drop/leave. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.drag #empty .pv-upscale-empty-center{
 border-color:rgba(255,255,255,.98)!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.19),0 0 35px rgba(255,255,255,.10)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.drag #empty .pv-upscale-empty-icon{
 border-color:#fff!important;background:rgba(255,255,255,.15)!important;
 box-shadow:0 0 24px rgba(255,255,255,.24)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.drag #empty .pv-upscale-empty-icon::before,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas.drag #empty .pv-upscale-empty-icon::after{
 background:#fff!important;
}


/* V27: one flush, edge-to-edge Upscaler workspace. In the empty editor the
   photograph and controls terminate at precisely the same baseline. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
  box-sizing:border-box!important;
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:calc(100vw - 12px)!important;
  max-width:none!important;
  grid-template-columns:minmax(330px,26%) minmax(0,1fr)!important;
  gap:0!important;
  margin:0 0 0!important;
  padding:0!important;
  align-items:stretch!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls,
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.stage{
  align-self:stretch!important;
  margin:0!important;
  min-width:0!important;
  border-radius:0!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace:has(#upscale-canvas #empty:not([hidden]))>.controls{
  height:clamp(680px,calc(100dvh - 104px),980px)!important;
  min-height:680px!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas:has(#empty:not([hidden])){
  box-sizing:border-box!important;
  height:clamp(680px,calc(100dvh - 104px),980px)!important;
  min-height:680px!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty,
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas #empty .pv-upscale-empty-drop{
  inset:0!important;
  height:100%!important;
  width:100%!important;
  overflow:hidden!important;
 }
}


/* V28: fix the actual outer page gutters and synchronize editor heights.
   The previous workspace-only width could not override #main.wrap padding. */
@media(min-width:781px){
 body:has(#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)) #main.wrap{
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;
  padding-left:0!important;padding-right:0!important;
  margin-left:0!important;margin-right:0!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active){
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace{
  left:auto!important;transform:none!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  grid-template-columns:minmax(330px,26%) minmax(0,1fr)!important;
  gap:0!important;align-items:stretch!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace:has(#upscale-canvas #empty:not([hidden])){
  height:clamp(680px,calc(100dvh - 104px),980px)!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace:has(#upscale-canvas #empty:not([hidden]))>.controls,
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace:has(#upscale-canvas #empty:not([hidden]))>.stage{
  height:100%!important;max-height:100%!important;
  min-height:0!important;margin:0!important;
  overflow:hidden!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace:has(#upscale-canvas #empty:not([hidden]))>.stage{
  display:block!important;
 }
 #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas:has(#empty:not([hidden])){
  height:100%!important;min-height:0!important;max-height:100%!important;
  margin:0!important;padding:0!important;
 }
}

/* Editorial model cards, approved Upscaler mockup (23 Oct 2026).
   Only the model picker and settings within the LEFT inspector change.
   Keep the original photographic stage, provider controls and History intact. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-display{
  order:-3!important;display:flex!important;flex-direction:column!important;
  gap:9px!important;min-width:0!important;margin:0!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-heading{
  display:flex;align-items:center;justify-content:space-between;min-height:18px;
}
#app.upscale-studio-active .pv-upscale-model-live{
  position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-menu{
  box-sizing:border-box!important;position:static!important;inset:auto!important;
  z-index:auto!important;display:flex;flex-direction:column;gap:6px!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
#app.upscale-studio-active #upscale-model-menu[hidden],
#app.upscale-studio-active #upscale-precision-options[hidden]{display:none!important}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card{
  box-sizing:border-box;display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;
  align-items:center;column-gap:10px!important;width:100%!important;
  min-height:57px!important;margin:0!important;padding:8px 10px!important;
  border:1px solid #393b40!important;border-radius:9px!important;
  background:linear-gradient(140deg,#1e2024,#17181b)!important;
  color:#f0efed!important;text-align:left!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card:hover:not(:disabled){
  border-color:#6b6b6c!important;background:#25272b!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card[aria-checked="true"]{
  border-color:#85817c!important;background:linear-gradient(145deg,#252529,#1b1c20)!important;
  box-shadow:inset 0 0 0 1px rgba(224,219,210,.07)!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-art{
  box-sizing:border-box!important;display:block!important;position:relative;overflow:hidden;flex:none!important;
  width:36px!important;height:36px!important;border-radius:7px;border:1px solid #53545a;
  background:#25272a;isolation:isolate;
}
#app.upscale-studio-active .pv-upscale-model-art::before,
#app.upscale-studio-active .pv-upscale-model-art::after{content:"";position:absolute;pointer-events:none}
/* Exact three miniature monochrome artworks from the approved Upscaler mockup.
   More-specific rules override the default dark square in .pv-upscale-model-art,
   which previously hid the old photographic backgrounds. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-art-bytedance{
  background:#25272a url('./visuals/upscaler-model-bytedance.webp') center/cover no-repeat!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-art-precision{
  background:#25272a url('./visuals/upscaler-model-precision.webp') center/cover no-repeat!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-art-wonder{
  background:#25272a url('./visuals/upscaler-model-wonder.webp') center/cover no-repeat!important;
}
#app.upscale-studio-active .pv-upscale-model-art::after{
  inset:0;border-radius:inherit;
  background:linear-gradient(145deg,rgba(255,255,255,.30),transparent 45%,rgba(0,0,0,.26));
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-copy{
  display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;
  gap:4px!important;min-width:0;overflow:hidden;
}
#app.upscale-studio-active .pv-upscale-model-card .pv-upscale-model-copy strong{
  color:#f2f0ed;font:600 12px/1.2 'DM Sans',Arial,sans-serif!important;white-space:nowrap;
}
#app.upscale-studio-active .pv-upscale-model-card .pv-upscale-model-copy small{
  font:400 10px/1.3 'DM Sans',Arial,sans-serif!important;
  color:#a4a3a3;white-space:normal;
}
#app.upscale-studio-active .pv-upscale-model-card .upscale-model-selected{
  justify-self:end;color:#f5f2ec;font-size:15px;line-height:1;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-precision-card{
  display:flex;flex-direction:column;overflow:hidden;
  border:1px solid #3a3c40;border-radius:9px;background:#1c1e22;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-precision-card:has(>#upscale-precision-trigger[aria-checked="true"]){
  border-color:#92908c;box-shadow:inset 0 0 0 1px rgba(232,228,219,.06),0 0 12px rgba(236,233,226,.035);
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-precision-card>.pv-upscale-model-card{
  border:0!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;
}
#app.upscale-studio-active .pv-upscale-precision-chevron{
  justify-self:end;width:15px;height:15px;color:#b8b6b3;transition:transform .14s ease;
}
#app.upscale-studio-active #upscale-precision-trigger[aria-expanded="true"] .pv-upscale-precision-chevron{transform:rotate(180deg)}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-precision-options{
  box-sizing:border-box;display:flex;flex-direction:column;gap:7px;
  padding:1px 10px 11px 10px;
}
#app.upscale-studio-active .pv-upscale-version-label{
  font:450 10px/1.3 'DM Sans',Arial,sans-serif;color:#b9b8b6;
}
#app.upscale-studio-active .pv-upscale-version-pills{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:7px;
}
#app.upscale-studio-active .pv-upscale-version-pill{
  box-sizing:border-box;min-width:0;min-height:38px;
  padding:8px 6px;margin:0;border:1px solid #46474d;border-radius:18px;
  background:#202126;color:#cdccca;font:500 10px/1.25 'DM Sans',Arial,sans-serif;
  text-align:center;cursor:pointer;transition:border-color .14s ease,background .14s ease;
}
#app.upscale-studio-active .pv-upscale-version-pill:hover:not(:disabled){background:#2b2d30;border-color:#858585}
#app.upscale-studio-active .pv-upscale-version-pill[aria-checked="true"]{
  border-color:#e8e5df;background:#343439;color:#fff;
  box-shadow:inset 0 0 0 1px rgba(239,236,228,.13),0 0 9px rgba(244,240,233,.10);
}
#app.upscale-studio-active #upscale-model-menu button:disabled{opacity:.55;cursor:default}
#app.upscale-studio-active #upscale-model-menu button:focus-visible{
  outline:2px solid #f3f0e8;outline-offset:2px;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-output-heading{
  display:none!important;
}
@media(min-width:781px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
    row-gap:11px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid,
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control{
    grid-column:1/-1!important;display:flex!important;
    align-items:center!important;justify-content:space-between!important;
    gap:12px!important;min-width:0!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid>label:not([hidden]){
    flex:1 1 auto;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid .label,
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control>.label{
    flex:0 0 104px;margin:0!important;color:#d1cecb!important;font-size:11px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>#format-control>select,
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .controls-body>.parameter-grid select{
    flex:1 1 auto;max-width:70%!important;min-width:0!important;
    height:41px!important;min-height:41px!important;
    border-radius:7px!important;
  }
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
    margin-top:13px!important;
  }
}
@media(max-width:780px){
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card{
    min-height:56px!important;
  }
  #app.upscale-studio-active .pv-upscale-version-pill{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 #app.upscale-studio-active .pv-upscale-model-card,
 #app.upscale-studio-active .pv-upscale-version-pill,
 #app.upscale-studio-active .pv-upscale-precision-chevron{transition:none!important}
}

/* Loaded-photo inspector: the additional model cards must never put the Upscale
   action on top of the Enlargement / Image format settings. This does not
   modify the photographic stage or the upload/generation logic. */
@media(min-width:781px){
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
   row-gap:8px!important;padding-top:18px!important;
 }
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active) .pv-upscale-workspace-intro{
   margin:0!important;padding-bottom:13px!important;gap:5px!important;
 }
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active) .controls-body>.pv-upscale-source-control{
   gap:4px!important;
 }
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload{
   min-height:61px!important;max-height:61px!important;padding:8px 11px!important;gap:9px!important;
 }
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active) #pv-upscale-source-upload .pv-upscale-source-icon{
   width:35px!important;height:35px!important;
 }
 #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
   margin-top:11px!important;
 }
}

/* PR #486: loaded-photo controls must size from their content.
   This is scoped ONLY to Upscaler with a visible source. The empty approved
   hero, model-card design, source image, navigation and pricing are untouched.
   The older fixed-height sidebar put its action above the format selector. */
@media(min-width:781px){
  #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active)>.workspace>.controls{
    height:auto!important;
    min-height:clamp(680px,calc(100dvh - 104px),980px)!important;
    max-height:none!important;
    overflow:visible!important;
    justify-content:flex-start!important;
  }
  #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.controls-body{
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:0!important;
  }
  #app.upscale-studio-active:not(.video-upscale-active):not(.assets-active):not(.fashion-studio-active)>.workspace>.controls>.generate-zone{
    box-sizing:border-box!important;
    position:relative!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    width:calc(100% - 68px)!important;
    min-height:0!important;height:auto!important;
    flex:0 0 auto!important;
    margin:16px 34px 24px!important;
    padding:0!important;
    z-index:1!important;
  }
  /* The approved empty drop area is kept unchanged. A real loaded photo
     uses that same photographic viewport instead of shrinking on upload. */
  #app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-canvas:has(#preview:not([hidden])){
    box-sizing:border-box!important;
    height:clamp(320px,calc(100dvh - 285px),620px)!important;
    min-height:320px!important;
    max-height:620px!important;
  }
}

/* Hide the redundant optional price-check row in Image Upscaler.
   The main Upscale action retains the existing quote and billing flow. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #upscale-price,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls:has(#upscale-info[open]) #upscale-price:not([hidden]){
  /* Quote validation can open the hidden technical disclosure. Its legacy
     selector must not restore this optional row and its 260px flex basis. */
  display:none!important;
  flex:0 0 auto!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls #save,
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active)>.workspace>.controls:has(#upscale-info[open]) #save:not(:disabled){
  /* Image Upscaler has one primary action; do not revive the legacy draft action. */
  display:none!important;
  flex:0 0 auto!important;
  min-height:40px!important;
  height:40px!important;
  max-height:40px!important;
  border-radius:8px!important;
  margin:0!important;
  padding:8px 10px!important;
}

/* Approved compact model polish. No new controls, no sidebar or photo changes. */
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) #upscale-model-menu{
  gap:7px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card{
  grid-template-columns:38px minmax(0,1fr) 16px!important;
  min-height:60px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card>.pv-upscale-model-art{
  width:38px!important;height:38px!important;filter:brightness(1.06) contrast(1.03);
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card .pv-upscale-model-copy strong{
  font-size:12.5px!important;
}
#app.upscale-studio-active:not(.assets-active):not(.fashion-studio-active) .pv-upscale-model-card .pv-upscale-model-copy small{
  font-size:10.5px!important;
}
