/* Creative management uses the same shell as the saved workspace and asset library. */
.studio-collections-active{background:#0c0c10;color:#f4f3f7;--text:#f4f3f7;--surface:#18191f;--surface-raised:#202128;--input-bg:#15161c;--muted:#a5a6b1;--border:#ffffff14;--border-strong:#454650;--accent:#ff16b1;--accent-text:#ff76d1}
.studio-collections-active .sidebar{width:242px;padding:24px 12px 20px;background:#101116}.studio-collections-active .sidebar .brand{margin:0 16px 28px}.studio-collections-active .brand-word{font-size:42px;letter-spacing:-3px}.studio-collections-active .brand-word>span{font-size:13px;letter-spacing:3px;margin-left:10px}.studio-collections-active .sidebar>.new-project{min-height:46px;margin:0 5px 16px}.studio-collections-active .sidebar>nav>.nav-item{min-height:46px;padding:11px 18px;font-size:14px;gap:14px;border-radius:8px}.studio-collections-active .sidebar>.recent{margin-top:20px}.studio-collections-active #main{margin-left:242px;min-width:0;background:#0c0c10}.studio-collections-active .topbar{min-height:76px;padding:12px 32px;border-bottom:1px solid #ffffff14;gap:14px}.studio-collections-active .topbar-right{margin-left:auto;color:#a5a6b1;font-size:12px}.studio-collections-active .topbar>.workspace-capacity{position:relative;margin:0;flex:0 0 auto}.studio-collections-active .capacity-panel summary{min-height:44px;font-size:12px}.studio-collections-active .capacity-detail{position:absolute;right:0;top:100%;width:min(440px,calc(100vw - 32px));z-index:20;background:#18191f;border:1px solid #454650;border-radius:10px}
.project-management{padding:32px 32px 48px;max-width:1600px;margin:auto}.project-management>.section-heading{align-items:flex-start;gap:24px;margin:0 0 28px}.project-management h1{font-size:32px;line-height:1.4;letter-spacing:-.035em;margin:0 0 10px}.project-management>.section-heading p{font-size:14px;line-height:1.8;color:#a5a6b1;margin:0}.project-entry{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.project-entry>a,.project-tools>summary{min-height:46px;padding:10px 16px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;white-space:nowrap}.project-tools{position:relative}.project-tools>summary{cursor:pointer;border:1px solid #454650;background:#18191f;color:#e8e8ef;list-style:none}.project-tools>summary::-webkit-details-marker{display:none}.project-tools>summary svg{width:16px;height:16px}.project-tools[open]>summary svg{transform:rotate(180deg)}.project-tools-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:25;display:grid;gap:6px;padding:10px;min-width:220px;max-width:calc(100vw - 32px);background:#18191f;border:1px solid #454650;border-radius:12px;box-shadow:0 16px 40px #0007}.project-tools-menu button{min-height:44px;width:100%;justify-content:flex-start;font-size:13px;border-radius:7px}.project-tools summary:focus-visible{outline:2px solid #ff76d1;outline-offset:4px}
.project-browser-tools{display:grid;grid-template-columns:minmax(200px,1.7fr) minmax(130px,1fr) minmax(130px,1fr) auto;align-items:end;gap:14px;margin:0 0 18px}.project-browser-tools .search-field{margin:0;max-width:none;min-width:0;min-height:46px;border-radius:10px;background:#15161c}.project-browser-tools .search-field input{min-width:0;font-size:14px}.project-browser-tools label:not(.search-field){display:grid;gap:7px;min-width:0;color:#b6b7c0;font-size:12px}.project-browser-tools select{width:100%;min-height:46px;border:1px solid #454650;border-radius:10px;padding:10px 30px 10px 12px;background:#15161c;color:#f4f3f7;font:inherit;font-size:14px}.project-browser-tools input{min-height:44px}.project-browser-tools button{min-height:46px;font-size:13px;border-radius:10px}.project-result-summary{color:#a5a6b1;font-size:12px;line-height:1.7;margin:18px 0}.project-management .project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
/* A style thumbnail is revealed only after the server confirms no saved-media cover. */
.project-card{display:flex;flex-direction:column;min-width:0;background:#18191f;border:1px solid #ffffff14;border-radius:14px;padding:8px;overflow:hidden}.project-card>a{display:block;flex:1;min-width:0;color:inherit;text-decoration:none}.project-card .project-art{height:auto;aspect-ratio:4/3;position:relative;overflow:hidden;border-radius:9px;background:#14151b;isolation:isolate}.project-card .project-art::after,.project-card .project-art.has-cover::after{content:'';position:absolute;inset:0;border:1px solid #ffffff0b;border-radius:inherit;pointer-events:none;background:none}.project-cover-image,.project-style-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}.project-art.has-cover .project-cover-image{opacity:1}.project-art[data-cover-state=none]:not(.style-preview-failed) .project-style-preview{opacity:1}.project-empty-icon{position:absolute;inset:0;display:grid;place-items:center;color:#999baa}.project-empty-icon svg{width:46px;height:46px;stroke-width:1.3}.project-art.has-cover .project-empty-icon,.project-art[data-cover-state=none]:has(.project-style-preview):not(.style-preview-failed) .project-empty-icon{display:none}.project-art .project-mode{position:absolute;top:9px;left:9px;z-index:1;background:#111217e8;color:#f4f3f7;border:1px solid #ffffff22;border-radius:5px;padding:4px 7px;font-size:10px;line-height:1.4}.project-art .project-arrow{position:absolute;right:9px;bottom:9px;z-index:1;width:26px;height:26px;display:grid;place-items:center;border-radius:6px;background:#111217e8;color:#e6e6ef}.project-art .project-arrow svg{width:15px;height:15px}.project-cover-status{position:absolute;left:9px;bottom:10px;z-index:1;font-size:10px;line-height:1.5;max-width:calc(100% - 48px);color:#e0e0e9;background:#111217e8;border-radius:5px;padding:3px 6px}.project-art[data-cover-state=failed] .project-cover-status,.style-preview-failed .project-cover-status{color:#f3bbd7}.project-card .project-info{padding:14px 4px}.project-card .project-info h3{font-size:16px;line-height:1.5;font-weight:600;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;margin:0 0 8px}.project-card .project-info .project-preset{display:block;color:#b6b6c4;font-size:12px;line-height:1.6;margin:0 0 6px;overflow-wrap:anywhere}.project-card .project-info p{font-size:12px;color:#b6b6c4;line-height:1.7;margin:8px 0}.project-card .project-info p span{padding:0 3px}.project-saved-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.project-card .project-saved-meta small{display:block;font-size:11px;line-height:1.7;color:#999baa;margin:0}.project-card .project-quick-preview{display:flex;gap:7px;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0;background:#202128;border:1px solid #454650;border-radius:7px;color:#eeeef5;font:inherit;font-size:12px;cursor:pointer;padding:9px 8px;white-space:normal}.project-quick-preview svg{width:15px;height:15px;flex:0 0 auto}.project-card:hover{border-color:#ff76d155}.project-card .project-quick-preview:hover{border-color:#ff76d1;color:#ff9add}.project-cover-feedback{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#b6b6c4;margin:0 0 14px}.project-cover-feedback[hidden]{display:none}.project-cover-feedback button{min-height:44px;font-size:12px}
.project-pager{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:28px}.project-pager[hidden]{display:none}.project-pager button{min-height:44px;font-size:13px}.project-pager span{color:#a5a6b1;font-size:13px}.project-empty-actions{justify-content:center;margin:20px auto;min-height:44px}.project-empty-actions>*{min-height:44px;font-size:14px}
dialog.project-preview-dialog{width:min(1040px,calc(100vw - 48px));max-width:none;border:1px solid #454650;border-radius:16px;background:#18191f;color:#f4f3f7}dialog.project-preview-dialog .dialog-header{padding:20px 24px;border-bottom:1px solid #ffffff14}dialog.project-preview-dialog .dialog-header h2{font-size:22px;line-height:1.4}dialog.project-preview-dialog .dialog-body{padding:22px 24px}.project-preview-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.project-preview-summary span{padding:5px 9px;border:1px solid #454650;border-radius:6px;font-size:12px;color:#b6b6c4}.project-preview-brief{font-size:14px;color:#b6b6c4;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 20px}.project-preview-dialog .sequence-stage{max-height:380px;min-height:180px;background:#111217}.project-preview-dialog .sequence-stage img{object-fit:contain}.project-preview-dialog .sequence-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.project-preview-dialog .sequence-controls button{min-height:44px;padding:9px 12px;font-size:13px}.project-preview-dialog .sequence-version,.project-preview-dialog .sequence-description,.project-preview-dialog .sequence-dialogue,.project-preview-dialog .sequence-status{font-size:12px;line-height:1.7}.project-preview-dialog [data-sequence-name]{font-size:16px;line-height:1.5}.project-playback-help{border-top:1px solid #ffffff14;margin-top:14px}.project-playback-help summary{font-size:12px;color:#b6b6c4;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px}.project-playback-help summary:before{content:'+';font-size:17px}.project-playback-help[open] summary:before{content:'−'}.project-playback-help .fine-print{font-size:12px;line-height:1.9;margin:0 0 12px}.project-preview-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #ffffff14;padding-top:18px;margin-top:18px}.project-preview-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:9px;background:#ff16b1;color:#130710;text-decoration:none;font-size:14px;font-weight:600}.project-preview-actions p{font-size:12px;color:#a5a6b1;margin:0}.project-preview-empty{border:1px dashed #454650;border-radius:12px;padding:28px 20px;text-align:center}.project-preview-empty h3{font-size:18px;margin:0 0 12px}.project-preview-empty p{font-size:14px;color:#a5a6b1;line-height:1.8}
@media(max-width:1399px) and (min-width:1101px){.project-management .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){.studio-collections-active .sidebar{width:200px}.studio-collections-active #main{margin-left:200px}.project-management{padding-inline:24px}.project-management .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-management>.section-heading{flex-wrap:wrap}.project-browser-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.project-browser-tools .search-field{grid-column:1/-1}.project-browser-tools>button{grid-column:1/-1}}
@media(max-width:760px){.studio-collections-active .sidebar{inset:auto 0 0;width:100%;height:calc(66px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);border-right:0;display:block}.studio-collections-active .sidebar .brand,.studio-collections-active .sidebar .new-project,.studio-collections-active .sidebar .recent,.studio-collections-active .sidebar .sidebar-bottom{display:none}.studio-collections-active .sidebar>nav{display:flex;justify-content:space-around}.studio-collections-active .sidebar>nav>.nav-item{width:auto;min-width:52px;padding:6px;font-size:10px;gap:4px;flex-direction:column}.studio-collections-active #main{margin-left:0;padding-bottom:88px}.studio-collections-active .topbar{min-height:60px;padding:8px 16px;font-size:13px;gap:8px}.studio-collections-active .topbar-right{display:none}.studio-collections-active .topbar>.workspace-capacity{margin-left:auto}.studio-collections-active .mobile-member-bar{display:none}.project-management{padding:24px 16px 36px}.project-management>.section-heading{flex-direction:column;gap:16px;margin-bottom:22px}.project-management h1{font-size:26px}.project-management>.section-heading p{font-size:13px}.project-entry{width:100%}.project-entry>a,.project-tools>summary{font-size:12px;padding:10px 13px;min-height:44px}.project-browser-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-browser-tools .search-field{grid-column:1/-1}.project-browser-tools button{grid-column:1/-1}.project-management .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-card{padding:6px;border-radius:11px}.project-card .project-info{padding:12px 3px}.project-card .project-info h3{font-size:14px}.project-card .project-info .project-preset,.project-card .project-info p{font-size:11px}.project-card .project-saved-meta small{font-size:10px}.project-card .project-quick-preview{font-size:11px;padding:8px 4px;gap:4px}.project-quick-preview svg{width:13px;height:13px}.project-cover-status{font-size:9px;left:5px;bottom:6px;padding:3px 4px}.project-art .project-mode{font-size:9px;left:5px;top:5px}.project-art .project-arrow{width:20px;height:20px;right:5px;bottom:5px}.project-pager{gap:12px}dialog.project-preview-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}dialog.project-preview-dialog .dialog-header{padding:14px 16px}dialog.project-preview-dialog .dialog-header h2{font-size:19px}dialog.project-preview-dialog .dialog-body{padding:16px}.project-preview-summary{gap:6px}.project-preview-summary span{font-size:11px;padding:5px 7px}.project-preview-brief{font-size:13px}.project-preview-dialog .sequence-stage{max-height:280px;min-height:150px}.project-preview-dialog .sequence-controls button{font-size:12px;padding:9px 10px}.project-preview-actions a{width:100%}.project-preview-actions p{font-size:11px}}
@media(max-width:369px){.project-management .project-grid{grid-template-columns:1fr}.project-tools-menu{min-width:210px}}
@media(prefers-reduced-motion:reduce){.project-art .project-arrow{transition:none}}
