.studio-dialog-scroll{display:contents}.studio-provider-current{display:none}@media (width<=640px),(pointer:coarse) and (height<=500px){.studio-workspace-dialog{min-width:0;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));flex-direction:column;gap:16px;display:flex;overflow:hidden}.studio-workspace-dialog>*{min-width:0;max-width:100%}.studio-workspace-dialog .studio-dialog-header{overflow-wrap:anywhere;flex:none;min-width:0;padding-right:44px}.studio-workspace-dialog .studio-dialog-close{z-index:2;width:44px;height:44px;min-height:44px}.studio-workspace-dialog .studio-dialog-scroll{overscroll-behavior:contain;overflow-wrap:anywhere;flex:auto;min-width:0;min-height:0;display:block;overflow:auto}.studio-dialog-scroll>*{min-width:0;max-width:100%}.studio-dialog-scroll :is(input,select){width:100%;min-width:0;max-width:100%;font-size:16px}.studio-dialog-scroll button{white-space:normal;overflow-wrap:anywhere;flex-shrink:1;min-width:0;max-width:100%;height:auto;min-height:44px}.studio-dialog-scroll :is(button:not(.studio-work-thumbnail),a){line-height:1.45}.studio-dialog-scroll button:not(.studio-work-thumbnail){padding-top:9px;padding-bottom:9px}.studio-dialog-scroll .studio-work-card{grid-template-columns:64px minmax(0,1fr);gap:4px 12px;min-width:0;display:grid}.studio-work-card :is(.studio-work-card-row,.studio-work-card-content){display:contents}.studio-work-card .studio-work-thumbnail{grid-area:1/1/span 2;align-self:start;width:64px;height:64px;min-height:64px}.studio-work-card :is(.studio-work-card-name,.studio-work-card-meta){grid-column:2;min-width:0}.studio-work-card .studio-work-card-name{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;align-self:end;overflow:visible}.studio-work-card .studio-work-card-meta{align-self:start;margin-top:0}.studio-work-card :is(.studio-work-card-actions,.studio-work-card-error,.studio-work-preview){grid-column:1/-1;min-width:0}.studio-work-card .studio-work-card-actions{gap:8px;margin-top:8px}.studio-work-card .studio-work-card-error{flex-wrap:wrap}.studio-work-card-error>span{overflow-wrap:anywhere;flex:10rem;min-width:0}.studio-work-card .studio-work-preview{min-height:0;padding:12px}.studio-work-preview>img{max-width:100%;max-height:min(50dvh,320px)}.studio-dialog-scroll .studio-project-row{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px 12px;min-width:0;display:grid}.studio-project-row>.studio-project-actions{grid-column:2;min-width:0}.studio-project-row .studio-project-name{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;overflow:visible}.studio-ai-provider{min-width:0;max-width:100%}.studio-ai-provider .studio-provider-current{overflow-wrap:anywhere;display:block}.studio-dialog-notice{margin-top:16px}.studio-confirm-dialog{min-width:0;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));flex-direction:column;display:flex;overflow:hidden}.studio-confirm-dialog>[data-slot=dialog-header]{overscroll-behavior:contain;overflow-wrap:anywhere;min-width:0;min-height:0;overflow:auto}.studio-confirm-dialog>[data-slot=dialog-footer]{flex:none;min-width:0}.studio-confirm-dialog [data-slot=dialog-footer] button{white-space:normal;overflow-wrap:anywhere;max-width:100%;height:auto;min-height:44px;padding-top:9px;padding-bottom:9px}}
