dialog.image-prompt-dialog { width:min(920px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); padding:0; overflow:hidden; }
.image-prompt-dialog .studio-dialog-head { margin:0; padding:20px 22px 14px; border-bottom:1px solid var(--studio-line); }
.image-prompt-dialog h2 { font-size:20px; }
#imagePromptForm { display:flex; flex-direction:column; max-height:calc(100dvh - 145px); }
.image-prompt-body { min-height:0; overflow:auto; padding:18px 22px; display:grid; gap:10px; }
.image-prompt-intro { display:flex; align-items:center; gap:16px; }
#imagePromptPreview { width:120px; height:80px; object-fit:contain; flex:none; border:1px solid var(--studio-line); border-radius:8px; background:var(--studio-bg); }
#imagePromptPreview[hidden], #imagePromptViewField[hidden], #imagePromptSceneHelp[hidden] { display:none; }
.image-prompt-body p { margin:0; color:var(--studio-muted); font-size:12px; line-height:1.65; }
.image-prompt-body textarea { width:100%; min-width:0; padding:12px; border:1px solid var(--studio-line-strong); border-radius:8px; background:var(--studio-field); color:var(--studio-text); font:inherit; font-size:13px; line-height:1.7; resize:vertical; }
#editableImagePrompt { min-height:180px; height:27dvh; max-height:45dvh; }
#imageAdditionalRequirements { min-height:82px; max-height:25dvh; }
.image-prompt-label { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; }
.image-prompt-label button { min-height:36px; padding:0 10px; font-size:12px; }
.image-prompt-body label { font-size:13px; font-weight:650; }
.image-prompt-body select { min-height:40px; margin-left:8px; padding:6px 28px 6px 10px; color:var(--studio-text); background:var(--studio-field); border:1px solid var(--studio-line-strong); border-radius:6px; }
.image-prompt-dialog :focus-visible { outline:2px solid var(--studio-accent); outline-offset:3px; }
.image-prompt-dialog .dialog-actions { flex-wrap:wrap; padding:14px 22px; background:var(--studio-surface); }
.image-prompt-dialog .dialog-actions button { min-height:44px; padding:0 14px; }
#imagePromptStatus { margin:0; min-height:22px; line-height:1.6; }
#imagePromptDependency:empty { display:none; }
#imagePromptDependency { color:#ffb6a6; }
@media(max-width:600px) {
  .image-prompt-dialog .studio-dialog-head,.image-prompt-body { padding:14px; }
  .image-prompt-dialog .dialog-actions { padding:12px 14px; gap:8px; }
  .image-prompt-dialog .dialog-actions .primary { flex:1 0 100%; }
  #imagePromptForm { max-height:calc(100dvh - 150px); }
  #imagePromptPreview { width:90px; height:60px; }
}

.review-thumbnail{float:left;margin:8px 12px 8px 0;padding:0;border:1px solid #555;border-radius:10px;overflow:hidden;max-width:112px}.review-thumbnail img{display:block;width:100%;max-height:112px;object-fit:contain}.character-profile{display:flex;flex-wrap:wrap;gap:12px;border:1px solid #6e6251;border-radius:10px;margin:12px 0;padding:12px}.character-profile label{display:grid;gap:6px;min-width:110px}.character-profile p{flex-basis:100%}[aria-invalid="true"]{border-color:#ed8790!important;outline:1px solid #ed8790}.image-version-strip{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}.image-version-strip>div{display:grid;gap:4px;width:100px;font-size:12px}.image-version-strip img{width:88px;height:74px;object-fit:contain}.image-version-strip button{font-size:12px}.image-versions{margin-top:12px}.asset-space{width:100%;min-height:80px}
