.materials-workbench .ms-prompt-replacement{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 0;color:#536779;font-size:12px;line-height:1.6}
.materials-workbench .ms-prompt-replacement button{border:1px solid #dce3e7;border-radius:4px;background:#fff;color:#006bff;padding:6px 10px;font:inherit;cursor:pointer}
#posterExportProgress{display:block;margin-top:10px;font-size:13px;line-height:1.7;color:#536779}
#posterExportProgress[hidden]{display:none}
#btnDownload[aria-busy=true],#btnCopyImage[aria-busy=true]{opacity:.65;cursor:wait}
@media(max-width:700px){.materials-workbench .ms-prompt-replacement button{min-height:44px}}
/* Keep history actions readable when the result column becomes narrow. */
html body .materials-workbench :is(#aiStudio,#portraitStudio) .ai-hist-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
html body .materials-workbench .ai-hist-acts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
html body .materials-workbench .ai-hist-acts button{min-width:0!important;width:100%;font-size:12px!important;line-height:1.5!important;white-space:nowrap!important;padding:7px 5px!important;min-height:34px}
html body .materials-workbench .ai-hist-acts>[data-act=delete-image]{grid-column:1/-1}
@media(max-width:700px){html body .materials-workbench .ai-hist-acts button{min-height:44px}}
