.studio-file-preview-image-reader{align-self:stretch;place-items:center;min-width:0;min-height:0;padding:12px;display:grid;overflow:auto}.studio-file-preview-image-reader img{object-fit:contain;max-width:100%;max-height:calc(92vh - 100px)}.studio-file-preview-text-reader{min-width:0;min-height:0;color:var(--studio-color-text-primary);white-space:pre-wrap;overflow-wrap:anywhere;place-self:stretch stretch;margin:0;padding:16px;font:.8125rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.studio-file-preview-workbook-reader{grid-template-rows:auto minmax(0,1fr) auto;place-self:stretch stretch;min-width:0;min-height:0;padding:12px;display:grid;overflow:auto}.studio-file-preview-workbook-reader>label{color:var(--studio-color-text-secondary);align-items:center;gap:8px;margin:0 0 8px;display:flex}.studio-file-preview-workbook-reader table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.8125rem}.studio-file-preview-workbook-reader th,.studio-file-preview-workbook-reader td{border:1px solid var(--studio-color-border-subtle);text-align:left;overflow-wrap:anywhere;max-width:24rem;padding:6px 8px}.studio-file-preview-workbook-reader th{z-index:1;background:var(--studio-color-background-elevated);position:sticky;top:0}.studio-file-preview-workbook-reader>p{color:var(--studio-color-text-secondary);margin:8px 0 0;font-size:.75rem}.studio-file-preview-native-reader{max-width:40rem;color:var(--studio-color-text-secondary);text-align:center;align-self:center;padding:24px}.studio-file-preview-media{place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:auto}.studio-file-preview-media>video,.studio-file-preview-media>img{object-fit:contain;max-width:100%;max-height:100%}.studio-file-preview-media>audio{width:min(100%,40rem)}.studio-file-preview-media .studio-pdf-preview{width:100%;height:100%}.studio-file-preview-dialog-backdrop{z-index:1200;background:var(--studio-color-overlay,color-mix(in srgb, var(--studio-color-text-primary) 42%, transparent));place-items:center;padding:20px;display:grid;position:fixed;inset:0}.studio-file-preview-dialog{border:1px solid var(--studio-color-border-subtle);background:var(--studio-color-background-elevated);width:min(1100px,96vw);height:min(900px,92dvh);max-height:calc(100dvh - 40px);box-shadow:var(--studio-shadow-overlay,0 18px 60px color-mix(in srgb,var(--studio-color-text-primary) 24%,transparent));border-radius:12px;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.studio-file-preview-dialog>header{border-bottom:1px solid var(--studio-color-border-subtle);justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 14px;display:flex}.studio-file-preview-dialog>header>strong{color:var(--studio-color-text-primary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-file-preview-dialog-actions{flex:none;align-items:center;gap:6px;display:flex}.studio-file-preview-dialog-actions>a{border:1px solid var(--studio-color-border-subtle);border-radius:var(--studio-radius-control,8px);background:var(--studio-color-background-elevated);min-height:30px;color:var(--studio-color-text-primary);font:inherit;cursor:pointer;justify-content:center;align-items:center;padding:4px 9px;font-size:.75rem;text-decoration:none;display:inline-flex}.studio-file-preview-dialog-content{background:var(--studio-color-background-subtle,var(--studio-color-background));grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;min-width:0;min-height:0;display:grid;overflow:auto}.studio-file-preview-dialog-content .studio-file-preview-image-reader{box-sizing:border-box;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);width:100%;height:100%}.studio-file-preview-dialog-content :is(img,video){object-fit:contain;max-width:100%;max-height:100%;display:block}.studio-file-preview-dialog-content .studio-file-preview-image-reader img{width:100%;height:100%}.studio-file-preview-dialog-content iframe{background:var(--studio-color-background-elevated);border:0;width:100%;min-height:min(78vh,760px)}.studio-file-preview-dialog-content>p{color:var(--studio-color-text-secondary);margin:20px}@media (max-width:760px){.studio-file-preview-dialog-backdrop{padding:8px}.studio-file-preview-dialog{width:100%;height:min(900px,94dvh);max-height:calc(100dvh - 16px)}.studio-file-preview-dialog>header{flex-direction:column;align-items:flex-start}.studio-file-preview-dialog-actions{justify-content:flex-end;width:100%}}
