body:not(.debug-admin) .debug-only,body:not(.debug-admin) .exact-prompt,body:not(.debug-admin) #archive-prompt,body:not(.debug-admin) #diagnostic-panel,body:not(.debug-admin) label:has(#workflow-diagnostics),body:not(.debug-admin) label[for=identity-strength],body:not(.debug-admin) #identity-strength,body:not(.debug-admin) #job-details { display:none !important; }
.source-heading,#upload-label,.image-stage figcaption,.tool-group-title,#edit-count { display:none; }
.workspace-heading { justify-content:flex-end; }
.comparison-modes [data-view=all],.canvas-tools [data-action=layout],.canvas-tools [data-action=pan],.canvas-tools [data-action=zoom-in],.canvas-tools [data-action=zoom-out],.canvas-tools [data-action=fit] { display:none; }
.comparison-modes:not(:has(button:not(:disabled))) { display:none; }
.view-modes:not(:has([data-view=final]:not(:disabled))) { display:none; }
.view-modes,.comparison-modes { border:0; padding-right:0; }
.image-version-actions #use-current-image:disabled { display:none; }
#workspace-tools:not(:has([data-view=final]:not(:disabled))) #use-current-image { display:none; }
.edit-mode-controls:not(:has([data-edit-mode=colorize]:not([hidden]))) { display:none !important; }
.mask-dock-bar { overflow-y:auto; scrollbar-width:thin; }
.compare-toolbar { gap:6px; }
.inspector-footer { flex-shrink:0; padding:12px; }
.inspector-footer #generate { min-height:54px; width:100%; font-size:17px; font-weight:700; box-shadow:0 3px 14px #e8bb7520; }
#selected-edits { gap:5px; margin:0 0 8px; max-height:66px; }
#selected-edits:empty { display:none; }
#selected-edits button { min-height:26px; padding:3px 8px; font-size:11px; border-radius:20px; font-weight:400; }
.job-status p[hidden] { display:none; }
.retouch-mode-controls p,.retouch-strength-controls p,.reference-description p { font-size:12px; line-height:1.45; margin:6px 0 10px; }
.retouch-mode-controls { padding:10px; }
.retouch-panel h2 { display:none; }
.edit-mode-switch button { min-height:40px; padding:8px 12px; }
.language-menu .menu-content { width:190px; }
#language-current,#language-alternative { display:inline-flex; align-items:center; gap:7px; }
#language-current img,#language-alternative img { border-radius:2px; object-fit:cover; }

.account-bar { gap:10px; padding:6px 18px; font-size:12px; }
.account-bar button { min-height:32px; padding:5px 10px; font-size:12px; }
#guest-bar > small { display:none; }
#guest-bar > span { flex:1; }
#account-storage { font-size:11px; }
#account-gpu { color:var(--muted); }
.account-bar #account-error { margin:0; }
.account-identity strong { max-width:170px; white-space:nowrap; }
@media(min-width:1000px) {
  .studio { height:var(--studio-height,calc(100dvh - 150px)); min-height:0; padding:10px 14px; box-sizing:border-box; }
  .workspace,.inspector { height:100%; min-height:0; }
  .workspace { padding:12px; grid-template-rows:auto auto minmax(80px,1fr) auto auto; overflow:hidden; }
  .studio .workspace:has(#crop-tools:not([hidden])) { grid-template-rows:auto minmax(80px,1fr) auto; }
  .workspace .drop-surface { min-height:80px; }
  .inspector-scroll { min-height:0; overflow:auto; padding:12px; }
  .studio #selected-edits { max-height:58px; }
  .prompt-editor textarea { min-height:58px; }
  .studio:has(#diagnostic-panel:not([hidden])) { overflow:auto; }
  .studio:has(#diagnostic-panel:not([hidden])) .workspace,.studio:has(#diagnostic-panel:not([hidden])) .inspector { min-height:420px; }
}
@media(max-width:650px) {
  .account-bar { padding:8px 12px; gap:8px; }
  #account-storage,#account-gpu,#account-rate { display:none; }
  .inspector-footer { position:sticky; bottom:0; z-index:5; }
}
