/* PetAi Studio panel — the controls that appear when a Studio video model is picked. */
.studiorow{display:none;gap:8px;align-items:flex-end;padding:8px 10px;margin-top:6px;
  flex-wrap:wrap;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.studiorow.on{display:flex}
.studiorow label.sf{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--muted)}
.studiorow label.sf > select,.studiorow label.sf > input{height:30px;font-size:12.5px}
.studiorow label.sf > input[type=number]{width:74px}
.studiorow label.sf[hidden]{display:none}            /* display:flex above would beat the hidden attribute */
.studiorow .sf.wide input{width:220px}
.studiorow .sf.wide{min-width:220px}
.studiorow .sflags{display:flex;gap:10px;align-items:center;font-size:11.5px;color:var(--muted)}
.studiorow .sflags label{display:flex;gap:4px;align-items:center;cursor:pointer}
.studio-head{display:flex;width:100%;gap:8px;align-items:center;justify-content:space-between}
.studio-title{font-size:12px;font-weight:600;letter-spacing:.02em}
.studio-hw{font-size:11.5px;color:var(--muted);text-align:right;flex:1;min-width:180px}
.studio-hw b{color:var(--ink);font-weight:600}
.studio-hw.warn b{color:#c86a00}
.studio-note{width:100%;font-size:11.5px;color:var(--muted);margin-top:-2px}

/* The "no GPU" state is not a footnote: it decides whether the output can match
   the prompt at all, so it gets a banner and a button rather than grey text. */
.studio-alert{width:100%;display:flex;gap:10px;align-items:flex-start;
  padding:9px 11px;border-radius:8px;font-size:12.5px;line-height:1.45;
  border:1px solid #e0a23c;background:rgba(224,162,60,.10);color:var(--ink)}
.studio-alert.ok{border-color:#3fa66a;background:rgba(63,166,106,.10)}
/* Low-VRAM mode is real GPU rendering with caveats: amber, not green, so the
   slowness and the possible procedural fallback are read before the first run. */
.studio-alert.exp{border-color:#e0a23c;background:rgba(224,162,60,.10)}
/* The official Wan2.1 checkout fields (only while the wan-cli renderer is picked). */
.studio-wan{width:100%;display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;padding:6px 8px;
  border:1px dashed var(--line);border-radius:8px}
.studio-wan[hidden]{display:none}
.studio-wan .sf.wide input{width:260px}
.studio-alert .sa-body{flex:1}
.studio-alert b{font-weight:600}
.studio-alert .sa-why{color:var(--muted);display:block;margin-top:3px}
.studio-install{white-space:nowrap}
.studio-log{width:100%;max-height:150px;overflow:auto;margin-top:6px;padding:8px 10px;
  border:1px solid var(--line);border-radius:8px;background:rgba(127,127,127,.07);
  font:11.5px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap}

/* Shown above a generated video whose renderer could not draw the subject. */
.media-warn{margin:0 0 8px;padding:9px 11px;border-radius:8px;font-size:12.5px;
  line-height:1.5;border:1px solid #d9534f;background:rgba(217,83,79,.10);color:var(--ink)}
.media-warn b{font-weight:600}
