dialog.project-cover-dialog{width:min(1040px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border-radius:16px;background:#18191f;border:1px solid #ffffff24;color:#f4f3f7}
.project-cover-dialog #modal-form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);min-height:0}.project-cover-dialog .dialog-header{padding:24px 26px 16px;border:0;flex:none}.project-cover-dialog .dialog-header h2{font-size:26px;line-height:1.3;font-weight:650}.project-cover-dialog .dialog-body{padding:0 26px 24px;overflow:auto;min-height:0;flex:1}.project-cover-dialog button,.project-cover-dialog input{font-size:14px}.project-cover-dialog button{min-height:44px}.project-cover-dialog .form-error{display:none}
.project-cover-editor{font-size:14px;line-height:1.6}.cover-project-version{margin:0 0 20px;color:#b0b1bd;font-size:14px}.cover-chooser-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:24px}.cover-live-preview{padding:18px;border:1px solid #ffffff24;border-radius:12px;align-self:start}.project-cover-editor h3{font-size:18px;line-height:1.4;font-weight:600;margin:0 0 8px}.cover-live-preview>p{color:#b0b1bd;font-size:13px;margin:0 0 14px}.cover-preview-stage{display:grid;place-items:center;height:360px;border-radius:10px;overflow:hidden;background:#0c0c10}.cover-preview-stage img{width:100%;height:100%;object-fit:contain}.cover-preview-stage>p{padding:24px;text-align:center;color:#b0b1bd}.cover-live-preview .cover-preview-caption{margin:12px 0 0;color:#f4f3f7;font-size:14px}
.cover-auto{display:flex;align-items:center;gap:12px;min-height:64px;border:1px solid #ffffff24;border-radius:10px;padding:12px 14px;cursor:pointer}.cover-auto strong{display:block;font-size:14px}.cover-auto small{display:block;color:#b0b1bd;font-size:12px;margin-top:2px}.cover-auto input{width:20px;height:20px;accent-color:#ff16b1;flex:none}.cover-auto.selected{border-color:#ff16b1}.cover-search-row{display:flex;gap:10px;margin:16px 0 12px;align-items:center}.cover-search{flex:1;min-width:0}.cover-search input{width:100%;min-height:44px;border-radius:9px;background:#101116;border:1px solid #ffffff24;color:#f4f3f7;padding:10px 12px}.cover-search-row>button{padding:9px 12px;white-space:nowrap;font-size:12px}
.cover-image-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:380px;overflow:auto;padding:3px}.cover-image-choice{display:block;position:relative;min-width:0;border:1px solid #ffffff24;border-radius:10px;overflow:hidden;background:#0c0c10;cursor:pointer}.cover-image-choice img{width:100%;height:112px;object-fit:contain;display:block}.cover-image-choice>span{display:block;padding:8px 10px;color:#f4f3f7;font-size:12px;line-height:18px;overflow-wrap:anywhere}.cover-image-choice input{position:absolute;top:9px;left:9px;width:20px;height:20px;accent-color:#ff16b1;z-index:1}.cover-image-choice i{position:absolute;right:8px;top:8px;width:22px;height:22px;border-radius:50%;background:#ff16b1;color:#160410;font-style:normal;display:none;place-items:center}.cover-image-choice.selected{border:2px solid #ff16b1}.cover-image-choice.selected i{display:grid}.cover-image-choice:focus-within,.cover-auto:focus-within{outline:2px solid #ff76d1;outline-offset:2px}.cover-image-choice.image-failed img,.cover-preview-stage.image-failed img{visibility:hidden}.cover-choice-empty{padding:20px 10px;text-align:center;color:#b0b1bd}.cover-image-feedback{font-size:13px;color:#ffb7de}
.cover-upload{margin-top:18px;padding-top:18px;border-top:1px solid #ffffff24}.cover-upload h3{font-size:16px}.cover-upload p{margin:5px 0;color:#b0b1bd;font-size:12px}.cover-upload>div{display:flex;gap:10px;margin-top:12px}.cover-file-pick{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;flex:1;min-height:44px;font-size:14px;cursor:pointer;border-style:dashed;overflow:hidden}.cover-file-pick svg{width:20px;height:20px}.cover-file-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.cover-file-pick:focus-within{outline:2px solid #ff76d1;outline-offset:2px}.cover-file-pick.disabled{opacity:.5;cursor:default}.cover-upload>div>button{flex:1;padding:8px;font-size:12px}.cover-upload [data-cover-file-name]{overflow-wrap:anywhere;color:#f4f3f7;margin-top:10px}.cover-notice{color:#b0b1bd;font-size:13px}.cover-error{padding:12px;border:1px solid #ff76d150;border-radius:9px;color:#ffc5e5;background:#ff16b10b;font-size:14px}.cover-save-footer{position:relative;flex:none;background:#18191f;padding:16px 26px;border-top:1px solid #ffffff24;display:flex;align-items:center;justify-content:space-between;gap:16px}.cover-save-footer>p{font-size:13px;color:#b0b1bd;margin:0}.cover-save-footer>div{display:flex;gap:10px}.cover-save-footer button{min-width:100px;font-size:14px}
.project-cover-edit{position:absolute;z-index:2;top:16px;right:16px;display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid #ffffff4a;border-radius:9px;background:#101116e8;color:#f4f3f7;font-size:12px;cursor:pointer}.project-cover-edit svg{width:16px;height:16px}.project-card{position:relative}.project-cover-edit:hover{border-color:#ff76d1}.project-cover-edit:focus-visible{outline:2px solid #ff76d1;outline-offset:2px}
.studio-collections-active .topbar>.workspace-capacity{margin-left:auto}.project-card .project-info h3{font-size:17px;line-height:24px}.project-card .project-info p,.project-card .project-info .project-preset{font-size:13px;line-height:20px}.project-card .project-saved-meta small{font-size:12px;line-height:18px}.project-card .project-quick-preview{font-size:13px}.project-cover-status{font-size:11px}.project-preview-dialog .project-preview-actions{position:sticky;bottom:-24px;background:#18191f;padding-block:16px;margin-bottom:-24px;z-index:1}.project-preview-dialog .sequence-stage{max-height:34dvh}
@media(max-width:760px){dialog.project-cover-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.project-cover-dialog #modal-form{max-height:calc(100dvh - 26px)}.project-cover-dialog .dialog-header{padding:18px 16px 12px}.project-cover-dialog .dialog-header h2{font-size:22px}.project-cover-dialog .dialog-body{padding:0 16px 20px}.cover-project-version{margin-bottom:14px}.cover-chooser-layout{grid-template-columns:1fr;gap:16px}.cover-live-preview{padding:12px}.cover-live-preview h3{font-size:16px}.cover-live-preview>p{font-size:12px}.cover-preview-stage{height:180px}.cover-live-preview .cover-preview-caption{font-size:13px;margin-top:8px}.cover-image-choices{max-height:none}.cover-image-choice img{height:100px}.cover-search-row{flex-wrap:wrap}.cover-search{min-width:150px}.cover-search-row>button{flex:1}.cover-save-footer{padding:12px 16px;display:block}.cover-save-footer>p{font-size:12px;margin:0 0 8px}.cover-save-footer>div{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.cover-save-footer button{min-width:0}.project-cover-edit{top:10px;right:10px;padding:6px;min-width:44px}.project-cover-edit span{display:none}.project-card .project-info h3{font-size:16px;line-height:22px}.project-card .project-info p,.project-card .project-info .project-preset{font-size:12px;line-height:18px}.project-card .project-saved-meta small{font-size:11px;line-height:17px}.project-card .project-quick-preview{font-size:12px}.project-cover-status{font-size:10px}.project-preview-dialog .project-preview-actions{bottom:-16px;margin-bottom:-16px;padding-block:12px}}

dialog.project-preview-dialog #modal-form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);min-height:0}dialog.project-preview-dialog .dialog-body{flex:1;min-height:0;overflow:auto;max-height:none}dialog.project-preview-dialog .project-preview-actions{position:static;flex:none;margin:0;padding:16px 24px;border-top:1px solid #ffffff24}.project-preview-dialog .dialog-header{flex:none}@media(max-width:760px){dialog.project-preview-dialog #modal-form{max-height:calc(100dvh - 26px)}dialog.project-preview-dialog .project-preview-actions{padding:12px 16px}}

.project-cover-dialog button,.project-cover-dialog .cover-file-pick{border-radius:9px}.cover-image-choice i{left:8px;right:auto;pointer-events:none}.cover-image-choice i svg{width:15px;height:15px}.cover-image-choice input:checked{opacity:0}

.cover-preview-stage{position:relative;display:flex;align-items:center;justify-content:center}.cover-preview-stage img{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}

.studio-collections-active .topbar:has(.topbar-right)>.workspace-capacity{margin-left:0}
