#fx-mllm-app .fx-mm-text{min-width:0}
#fx-mllm-app .fx-mm-files{display:grid;gap:10px;margin:14px 0}
#fx-mllm-app .fx-mm-files>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#fx-mllm-app .fx-mm-files button,#fx-mllm-app .fx-mm-image button,#fx-mllm-app .fx-mm-table-tools button{font:inherit}
#fx-mllm-app .fx-mm-file{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--fx-border,#d8dde5);border-radius:14px;background:var(--fx-surface,#fff)}
#fx-mllm-app .fx-mm-file-icon{display:grid;place-items:center;min-width:44px;height:44px;padding:0 8px;border-radius:10px;background:color-mix(in srgb,var(--fx-primary,#9f1d20) 10%,transparent);font-size:11px;font-weight:800}
#fx-mllm-app .fx-mm-file>div{display:grid;min-width:0;gap:2px}
#fx-mllm-app .fx-mm-file span,#fx-mllm-app .fx-mm-file small{overflow-wrap:anywhere;color:var(--fx-muted,#626b78)}
#fx-mllm-app .fx-mm-file nav,#fx-mllm-app .fx-mm-image nav{display:flex;flex-wrap:wrap;gap:6px}
#fx-mllm-app .fx-mm-file nav button,#fx-mllm-app .fx-mm-image nav button,#fx-mllm-app [data-artifacts-bundle]{min-height:36px;padding:7px 10px;border:1px solid var(--fx-border,#d8dde5);border-radius:9px;background:transparent;cursor:pointer}
#fx-mllm-app .fx-mm-image{margin:14px 0;overflow:hidden;border:1px solid var(--fx-border,#d8dde5);border-radius:16px;background:var(--fx-surface,#fff)}
#fx-mllm-app .fx-mm-image>a{display:block;background:#eef1f5}
#fx-mllm-app .fx-mm-image img{display:block;width:100%;max-height:min(68vh,720px);object-fit:contain}
#fx-mllm-app .fx-mm-image figcaption{display:grid;gap:8px;padding:14px}
#fx-mllm-app .fx-mm-image figcaption>span{color:var(--fx-muted,#626b78);font-size:.86rem}
#fx-mllm-app .fx-mm-sources{margin:14px 0;padding:10px 12px;border:1px solid var(--fx-border,#d8dde5);border-radius:12px}
#fx-mllm-app .fx-mm-sources li{margin:.5rem 0}
#fx-mllm-app .fx-mm-sources small{display:block;color:var(--fx-muted,#626b78)}
#fx-mllm-app .fx-mm-notice,#fx-mllm-app .fx-mm-error{margin:12px 0;padding:12px;border-radius:10px;background:#f5f7fa}
#fx-mllm-app .fx-mm-error{border-left:4px solid #b42318}
#fx-mllm-app .fx-mm-table-tools{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:8px 0}
#fx-mllm-app .fx-mm-table-tools label{display:grid;gap:4px;min-width:min(320px,70%);font-size:.82rem}
#fx-mllm-app .fx-mm-table-tools input{width:100%;min-height:38px}
#fx-mllm-app .fx-markdown th[role=button]{cursor:pointer}
@media(max-width:767px){#fx-mllm-app .fx-mm-file{grid-template-columns:auto minmax(0,1fr)}#fx-mllm-app .fx-mm-file nav{grid-column:1/-1}#fx-mllm-app .fx-mm-table-tools{align-items:stretch;flex-direction:column}#fx-mllm-app .fx-mm-table-tools label{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-mm-image img{scroll-behavior:auto}}
#fx-mllm-app .fx-artifact-version-list{display:grid;gap:10px;padding-left:0;list-style:none}.fx-artifact-version-item{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dfe3e8;border-radius:10px}.fx-artifact-version-item>div:first-child{display:grid;gap:4px}.fx-artifact-version-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
@media(max-width:600px){.fx-artifact-version-item{flex-direction:column}}

/* Painel central e retomável de pré-visualização de artefatos. */
#fx-mllm-app .fx-mm-title h2{margin:.2rem 0 .8rem;font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.2}
#fx-mllm-app .fx-mm-executive-summary{display:grid;gap:8px;margin:10px 0 18px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--fx-primary,#9f1d20) 24%,var(--fx-border,#d8dde5));border-radius:14px;background:color-mix(in srgb,var(--fx-primary,#9f1d20) 5%,var(--fx-surface,#fff))}
#fx-mllm-app .fx-mm-executive-summary>strong{font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--fx-muted,#626b78)}
#fx-mllm-app .fx-mm-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:14px 0}
#fx-mllm-app .fx-mm-gallery .fx-mm-image{margin:0}
#fx-mllm-app .fx-mm-editorial{margin:12px 0}
#fx-mllm-app .fx-mm-warning{padding:12px 14px;border-left:4px solid #b7791f;background:#fff8e6;border-radius:10px}
@media(max-width:767px){#fx-mllm-app .fx-mm-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}#fx-mllm-app .fx-mm-gallery>.fx-mm-image{min-width:min(86vw,360px);scroll-snap-align:start}}
