/* Project library, focused workspaces, and guided creation. */
@layer workspace {
#projects .library-summary{display:flex;gap:8px;border-bottom:1px solid var(--ui-line);padding-bottom:14px;margin-bottom:20px}
#projects .library-summary>button{min-height:44px;padding:8px 14px;flex-direction:row;gap:8px;background:transparent;border-radius:99px}
#projects .library-summary>button[aria-pressed=true]{background:var(--ui-accent-soft);color:var(--ui-accent)}
#projects .library-summary .summary-icon{display:none}#projects .library-summary strong{font-size:13px}#projects .library-summary small{font-size:13px}
#projects .library-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-items:stretch;gap:24px}
#projects .project-tile{display:flex;flex-direction:column;align-self:stretch;min-height:456px;padding:10px;border:0;background:var(--ui-surface);border-radius:16px;overflow:hidden}
#projects .project-tile .library-card-image{position:relative;display:block;width:100%;height:194px;border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:16px;padding:0;overflow:hidden}
#projects .project-tile .library-card-placeholder{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:64px;height:64px;color:var(--ui-accent);background:none;stroke-width:1}
#projects .project-tile[data-color='1'] .library-card-image{background:var(--ui-info-soft)}
#projects .project-tile[data-color='2'] .library-card-image{background:var(--ui-action-soft)}
#projects .project-tile[data-color='3'] .library-card-image{background:var(--ui-success-soft)}
#projects .project-tile .library-card-body{min-width:0;flex:1;padding:6px 8px 8px;display:grid;grid-template-rows:auto minmax(54px,1fr) minmax(44px,auto) auto;gap:10px}
#projects .project-tile .library-card-image{flex:none}
#projects .project-tile .project-tile-delete{align-self:end;width:100%}
.project-tile-meta,.project-tile-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--ui-muted)}
.project-tile-status{display:inline-flex;gap:6px;align-items:center;font-size:12px;color:var(--ui-success)}
.project-tile-status::before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}
.project-tile-status.review,.project-tile-status.pending{color:var(--ui-warning)}.project-tile-status.failed{color:var(--ui-danger)}
#projects .project-tile h3{margin:0;min-height:52px}#projects .project-tile .card-title-action{font-size:16px;line-height:1.7}
.project-tile-open{position:absolute;bottom:10px;left:10px;display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:99px;background:var(--ui-surface);color:var(--ui-text);font-size:12px}
.project-tile-open svg{width:16px;height:16px}.project-tile-footer{padding-top:4px}
.project-tile .library-cover-state{font-size:12px;color:var(--ui-warning)}
/* A travelling light follows the whole card while the project is being made. */
#projects .project-tile[data-building="true"]{isolation:isolate;overflow:visible}
#projects .project-tile[data-building="true"] .project-tile-footer{min-width:0}
#projects .project-tile[data-building="true"] .project-created-at{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#projects .project-tile[data-building="true"] .library-card-image{border-color:transparent;background:radial-gradient(ellipse at 50% 38%,var(--ui-accent-soft),transparent 72%),var(--ui-raised)}
#projects .project-tile :is(.library-card-image,.card-title-action):disabled{cursor:default;opacity:1}
.project-building-frame{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none}
.project-building-frame rect{width:calc(100% - 4px);height:calc(100% - 4px);vector-effect:non-scaling-stroke}
.project-building-edge{stroke:var(--ui-accent);stroke-width:1;opacity:.25}
.project-building-trail{stroke:var(--ui-accent);stroke-width:2;stroke-linecap:round;stroke-dasharray:24 76;filter:drop-shadow(0 0 4px var(--ui-accent));animation:project-border-travel 6s linear infinite}
.project-building-trail-secondary{stroke:var(--ui-info);stroke-dasharray:12 88;animation-delay:-3s;filter:drop-shadow(0 0 4px var(--ui-info))}
#projects .project-tile[data-building="true"] .library-card-placeholder{visibility:hidden}
#projects .project-tile[data-building="true"] .library-cover{opacity:.24}
.project-building-visual{position:absolute;inset:0;z-index:1;display:grid;place-items:center;pointer-events:none;color:var(--ui-accent)}
.project-building-light{position:absolute;width:144px;height:144px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--ui-accent) 20%,transparent),transparent 68%);animation:project-light-breathe 3.6s ease-in-out infinite}
.project-building-icon{width:60px;height:60px;margin-top:-18px;filter:drop-shadow(0 4px 12px color-mix(in srgb,var(--ui-accent) 32%,transparent));animation:project-icon-float 3.6s ease-in-out infinite}
.project-building-spark{position:absolute;top:calc(50% - 45px);left:calc(50% + 32px);width:18px;height:18px;color:var(--ui-info);animation:project-spark-glint 3.6s ease-in-out infinite}
.project-building-wave{position:absolute;top:calc(50% + 35px);display:flex;align-items:center;justify-content:center;gap:4px;height:18px;color:var(--ui-accent)}
.project-building-wave i{display:block;width:3px;height:16px;border-radius:3px;background:currentColor;transform:scaleY(.3);animation:project-wave-beat 1.2s ease-in-out infinite alternate}
.project-building-wave i:nth-child(2n){height:12px;animation-delay:-.6s;color:var(--ui-info)}
.project-building-wave i:nth-child(3n){animation-delay:-.3s}
.project-building-wave i:nth-child(4){height:20px;animation-delay:-.9s}
#projects .project-tile[data-building="true"] .project-tile-open{z-index:2}
#projects .project-tile[data-building="true"] .project-tile-status{color:var(--ui-accent)}
#projects .project-tile[data-building="true"] .library-card-image:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
#projects[data-motion="paused"] .project-tile[data-building="true"] *,
#projects .project-tile[data-motion="paused"] *{animation-play-state:paused}
@keyframes project-border-travel{to{stroke-dashoffset:-100}}
@keyframes project-icon-float{0%,100%{transform:translateY(3px) rotate(-5deg)}50%{transform:translateY(-5px) rotate(5deg)}}
@keyframes project-light-breathe{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}
@keyframes project-spark-glint{0%,100%{opacity:.5;transform:scale(.75) rotate(-12deg)}50%{opacity:1;transform:scale(1.1) rotate(12deg)}}
@keyframes project-wave-beat{to{transform:scaleY(1)}}
@media(max-width:760px){
  #projects .project-tile{min-height:0}
  #projects .project-tile .library-card-body{padding-inline:2px}
  #projects .project-tile[data-building="true"] .project-building-icon{width:50px;height:50px;margin-top:-24px}
  #projects .project-tile[data-building="true"] .project-building-wave{top:calc(50% + 20px);height:14px}
  #projects .project-tile[data-building="true"] .project-building-wave i{height:12px}
  #projects .project-tile[data-building="true"] .project-building-wave i:nth-child(4){height:16px}
}
@media(prefers-reduced-motion:reduce){
  #projects .project-tile[data-building="true"] :is(.project-building-trail,.project-building-light,.project-building-icon,.project-building-spark,.project-building-wave i){animation:none}
  #projects .project-tile[data-building="true"] .project-building-trail{stroke-dasharray:none;opacity:.5}
  #projects .project-tile[data-building="true"] .project-building-trail-secondary{display:none}
  #projects .project-tile[data-building="true"] .project-building-wave i{transform:scaleY(.65)}
}
.library-controlbar{display:flex!important}.library-search{min-width:180px}.library-select select{max-width:170px}
/* One workspace instead of a stack of action cards. */
.media-dialog.project-workspace{width:min(1180px,calc(100vw - 48px));height:min(800px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:20px}
.project-workspace #mediaContent{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}
.project-workspace .media-close{top:20px;left:20px;background:var(--ui-raised)}
.project-workspace-header{padding:28px 32px 24px;border-bottom:1px solid var(--ui-line);flex:none}
.project-workspace-header h2{font-size:22px;margin:10px 0 6px;max-width:780px;padding-inline-end:60px;line-height:1.6}
.project-workspace-header p{margin:0;font-size:12px}
.project-workspace-layout{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:0;flex:1}
.project-workspace .media-section-nav{display:flex;flex-direction:column;gap:6px;padding:20px 14px;margin:0;border:0;border-inline-end:1px solid var(--ui-line);background:var(--ui-sidebar);overflow:auto}
.project-workspace .media-section-nav button{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:48px;padding:12px;text-align:start;border:0;background:transparent;border-radius:10px}
.project-workspace .media-section-nav button[aria-selected=true]{background:var(--ui-accent-soft);color:var(--ui-accent)}
.project-workspace .media-section-nav button{white-space:nowrap}.project-workspace .media-section-nav strong{font-size:13px}.project-workspace .media-section-nav svg{width:20px;height:20px}
.project-workspace .media-workspace{min-width:0;overflow:auto;padding:28px;display:block}
.project-workspace .media-workspace-panel{padding:0;border:0;background:none;min-height:0}
.project-workspace .media-panel-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.project-workspace .media-panel-actions :is(button,a){display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;border:1px solid var(--ui-line);background:var(--ui-raised);border-radius:10px;flex:none;font-size:13px}
.project-workspace .media-panel-actions small{display:none}.project-workspace .media-panel-actions strong{font-size:13px}
.project-workspace .media-panel-actions [data-action=download-audio]{background:var(--ui-action);color:var(--ui-action-on);border:0}
.project-workspace .media-player{padding:24px;border-radius:16px;background:var(--ui-raised);border:0}
.project-workspace .media-cover-workspace{display:flex;flex-direction:column;gap:16px}.project-workspace .media-cover-stage{height:310px;min-height:0;background:var(--ui-bg);border-radius:12px;overflow:hidden}
.project-workspace .media-cover-preview-button{height:100%;width:100%;padding:0;border:0;position:relative;background:transparent}
.project-workspace .media-cover{width:100%;height:100%;object-fit:contain}.project-workspace .media-cover-preview-button>span{position:absolute;bottom:12px;left:12px;background:var(--ui-surface);padding:6px 12px;border-radius:99px;font-size:12px}
.project-workspace .media-cover-controls{display:flex;flex-wrap:wrap;gap:8px}.project-workspace .media-cover-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;padding:10px 16px;font-size:13px;white-space:nowrap;min-height:44px}
.project-workspace .media-cover-controls svg{width:18px;height:18px;flex:none}
.project-workspace .media-cover-primary{border-color:var(--ui-accent);color:var(--ui-accent);background:transparent}
.cover-build-indicator{display:none;width:14px;height:14px;flex:none;border:2px solid var(--ui-accent-soft);border-top-color:var(--ui-accent);border-radius:50%;vertical-align:middle;margin-inline-end:6px}
[data-cover-busy="true"] .cover-build-indicator{display:inline-block;animation:cover-build-spin .9s linear infinite}
@keyframes cover-build-spin{to{transform:rotate(360deg)}}
.media-cover-progress{margin:0;padding:12px 14px;border-radius:10px;background:var(--ui-accent-soft);color:var(--ui-accent);font-size:13px;line-height:1.9}
.media-cover-progress[data-state=pending]::before{content:"";display:inline-block;width:8px;height:8px;margin-inline-end:8px;border-radius:50%;background:currentColor;animation:studio-pulse .8s ease-in-out infinite alternate}
@media(prefers-reduced-motion:reduce){[data-cover-busy="true"] .cover-build-indicator,.media-cover-progress[data-state=pending]::before{animation:none}}
.media-cover-progress[data-state=error]{background:var(--ui-danger-soft);color:var(--ui-danger)}
.media-cover-progress[data-state=success]{background:var(--ui-success-soft);color:var(--ui-success)}
.project-workspace .media-cover-version footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.project-workspace .media-cover-version footer button{white-space:nowrap;font-size:12px;min-height:44px}
.artwork-submit-status{padding:0 32px;font-size:13px;line-height:1.9;color:var(--ui-accent)}
.artwork-submit-status:empty{display:none}
.project-workspace .media-cover-history{margin-top:24px}.project-workspace .media-cover-history header>span{display:none}
.project-manage .library-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0;padding:20px;background:var(--ui-raised);border-radius:12px}
.project-danger-zone{margin-top:32px;padding-top:24px;border-top:1px solid var(--ui-line);display:flex;align-items:center;gap:20px;justify-content:space-between}.project-danger-zone p{font-size:13px;margin:8px 0}
.project-review-callout{padding:24px;background:var(--ui-accent-soft);border-radius:14px;margin-bottom:20px}
/* Artwork composer: model, compatible style, then details and submission. */
dialog.artwork-workspace{width:min(1020px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;overflow:auto}
.artwork-workspace form{display:block;padding:0}.artwork-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:28px 32px 20px}
.artwork-header span{font-size:12px;color:var(--ui-accent)}.artwork-header h2{font-size:23px;margin:6px 0 0}.artwork-header button{width:44px;flex:none;padding:10px}
.artwork-steps{display:flex;list-style:none;gap:24px;margin:0;padding:0 32px 20px;border-bottom:1px solid var(--ui-line);font-size:13px;color:var(--ui-muted)}
.artwork-steps [aria-current]{color:var(--ui-accent)}
.artwork-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;padding:28px 32px}.artwork-body main{min-width:0;padding:0;overflow:visible}
.artwork-workspace .cover-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:380px;overflow:auto;padding:4px}
.artwork-workspace .cover-style-card{display:flex;flex-direction:column;position:relative;padding:8px;gap:6px;min-width:0;text-align:start;border:2px solid transparent;background:var(--ui-raised);border-radius:12px;cursor:pointer}
.artwork-workspace .cover-style-card:has(input:checked){border-color:var(--ui-accent);background:var(--ui-accent-soft)}
.artwork-workspace .cover-style-card:focus-within{outline:2px solid var(--ui-accent);outline-offset:3px}
.artwork-workspace .cover-style-card input{position:absolute;top:12px;left:12px;width:18px;height:18px;opacity:1;z-index:2}
.artwork-workspace .cover-style-image{height:104px;width:100%;display:grid;place-items:center;font-size:28px}.artwork-workspace .cover-style-card strong{font-size:13px}.artwork-workspace .cover-style-card small{display:none}
.artwork-workspace .cover-style-filters{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:16px}.artwork-workspace .cover-style-filters button{min-height:40px;padding:8px 12px;border-radius:99px;font-size:12px}
.artwork-selection{padding:20px;background:var(--ui-raised);border-radius:16px;align-self:start;display:flex;flex-direction:column;gap:8px}.artwork-selection [data-artwork-preview]{display:grid;place-items:center;aspect-ratio:1;background:var(--ui-bg);border-radius:10px;margin-bottom:12px;overflow:hidden}.artwork-selection svg{width:58px;height:58px;color:var(--ui-accent)}.artwork-selection img{width:100%;height:100%;object-fit:cover}.artwork-selection p{font-size:12px;margin:0}.artwork-count{font-size:12px;margin:16px 0 0}
.artwork-prompt{display:grid;gap:12px}.artwork-prompt small,.artwork-prompt>span{font-size:12px;color:var(--ui-muted);font-weight:400}.artwork-prompt textarea{width:100%;min-height:150px}
.artwork-quality{margin-top:24px;border:1px solid var(--ui-line);border-radius:12px;padding:16px}.artwork-quality summary{display:flex;justify-content:space-between;gap:12px;font-size:13px;min-height:32px;align-items:center}.artwork-quality summary span{color:var(--ui-accent)}.artwork-quality p{font-size:12px;margin-top:16px}.artwork-workspace .cover-model-list{display:grid;grid-template-columns:1fr;gap:10px}.artwork-safe-note{font-size:13px;margin:24px 0 0}
.artwork-workspace .artwork-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;padding:18px 32px;border-top:1px solid var(--ui-line);background:var(--ui-surface);gap:20px;z-index:3}.artwork-footer>div{display:flex;align-items:center;gap:12px}.artwork-footer>div:first-child{display:grid;gap:0}.artwork-footer strong{font-size:16px}.artwork-footer button{padding:10px 20px;min-height:46px;white-space:nowrap;flex-shrink:0}.artwork-workspace [role=alert]{padding:0 32px;margin:0}
/* Form journeys with named, navigable steps. */
#create .creation-studio-aside .wizard-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:none;margin:18px 0 0;height:auto}
#create .wizard-progress-item{display:flex;align-items:center;gap:8px;width:100%;height:auto;min-height:52px;padding:10px;background:var(--ui-raised);border:0;border-radius:10px;color:var(--ui-muted);text-align:start}
#create .wizard-progress-item.active{background:var(--ui-accent-soft);color:var(--ui-accent)}
#create .wizard-progress-item i{font-style:normal;font-size:12px;display:block}#create .wizard-progress-item strong{display:block;font-size:12px}#create .wizard-progress-item small{display:none}
#create .wizard-current{display:none}#create .creation-studio-aside{padding-bottom:16px}#create .creation-studio-aside h2{font-size:23px}
#create .wizard-step-body{padding-top:12px;display:grid;gap:20px}#create .wizard-step-body>label{margin:0;font-size:14px}#create .wizard-step-body textarea{min-height:160px;font-size:16px}
.wizard-optional{border:1px solid var(--ui-line);border-radius:12px;padding:16px}.wizard-optional summary{font-size:13px;min-height:32px;display:flex;align-items:center;cursor:pointer}.wizard-optional[open]>:not(summary){margin-top:16px}
.wizard-review-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--ui-line)}
.wizard-review-summary .wizard-edit{font-size:12px;min-height:36px;padding:4px 10px;flex:none;color:var(--ui-accent);background:transparent}
@media(max-width:760px){
#projects .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}#projects .project-tile .library-card-image{height:150px}.project-tile-meta{align-items:flex-start;flex-direction:column;gap:4px}#projects .project-tile h3{min-height:52px}#projects .project-tile .card-title-action{font-size:14px}.project-tile-footer{font-size:11px;flex-wrap:wrap;gap:2px}.project-tile-open{font-size:11px;padding:6px 9px;bottom:8px;left:8px}.project-tile-open svg{display:none}
.media-dialog.project-workspace{width:100%;height:100dvh;max-height:100dvh;max-width:100%;inset:0;border:0;border-radius:0;margin:0}.project-workspace-header{padding:22px 20px 16px}.project-workspace-header h2{font-size:18px;max-width:none;padding-inline-end:46px}.project-workspace .media-close{top:16px;left:16px}.project-workspace-layout{display:flex;flex-direction:column}.project-workspace .media-section-nav{flex-direction:row;padding:10px 12px;gap:4px;border:0;border-bottom:1px solid var(--ui-line);flex:none;overflow:auto}.project-workspace .media-section-nav button{flex:none;gap:6px;padding:10px;min-height:44px}.project-workspace .media-section-nav svg{display:none}.project-workspace .media-section-nav strong{font-size:12px}.project-workspace .media-workspace{padding:20px;flex:1}.project-workspace .media-player{padding:16px}.project-workspace .media-panel-actions{display:grid;grid-template-columns:1fr 1fr}.project-workspace .media-panel-actions :is(button,a){padding:10px;font-size:12px}.project-workspace .media-panel-actions svg{display:none}.project-workspace .media-cover-stage{height:260px}.project-workspace .media-cover-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-workspace .media-cover-controls button{width:100%;padding:10px;font-size:13px;min-width:0}.project-workspace .media-cover-controls :is([data-cover-create],[data-cover-activate-selected]){grid-column:1/-1}.project-workspace .media-cover-version footer button{width:100%}.project-danger-zone{align-items:flex-start;flex-direction:column}
dialog.artwork-workspace{inset:0;margin:0;width:100%;max-width:100%;max-height:100dvh;height:100dvh;border-radius:0;border:0}.artwork-header{padding:22px 20px 16px}.artwork-header h2{font-size:20px}.artwork-steps{padding:0 20px 16px;gap:20px}.artwork-body{display:flex;flex-direction:column-reverse;padding:20px;gap:20px}.artwork-selection{display:grid;grid-template-columns:60px 1fr;padding:12px;width:100%;gap:2px 12px}.artwork-selection [data-artwork-preview]{grid-row:1/4;width:60px;margin:0}.artwork-selection svg{width:28px;height:28px}.artwork-selection p{font-size:11px}.artwork-workspace .artwork-footer{display:grid;grid-template-columns:1fr;padding:14px 20px;gap:12px}.artwork-footer>div:first-child{display:flex;align-items:center;justify-content:space-between;width:100%}.artwork-footer>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.artwork-footer>div:last-child button{width:100%;min-width:0}.artwork-footer [data-cover-back][hidden]~[data-cover-next]{grid-column:1/-1}.artwork-submit-status{padding-inline:20px}.artwork-footer button{padding:10px 12px}.artwork-workspace .cover-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.artwork-workspace [role=alert]{padding-inline:20px}
#create .wizard-progress-item{min-height:50px;padding:8px;gap:4px}#create .wizard-progress-item i{display:none}#create .wizard-progress-item strong{font-size:11px}
}
}
@layer workspace {.project-workspace .media-panel-actions :is(button,a){width:auto}.project-workspace .media-panel-actions{flex-direction:row}.project-tile .library-cover{object-fit:cover}#projects .library-summary>button>span{display:flex;align-items:center;gap:8px}#projects .library-summary>button{height:44px}#create .wizard-progress-item.done{background:var(--ui-raised);color:var(--ui-success)}}

@layer workspace {
#create .wizard-progress-item>span{display:block;min-width:0}
#create .wizard-progress-item::before,#create .wizard-progress-item::after{content:none}
#create .wizard-original-heading{display:none}
#create .creation-wizard-step>header{display:flex;flex-direction:column;padding:22px 0 4px}
#create .creation-wizard-step>header>span{display:none}
#create .creation-wizard-step>header h3{font-size:18px;line-height:1.7}
#create .creation-wizard-step>header p{line-height:1.9;font-size:13px}
#create .podly-select-native{visibility:hidden}
#create .studio-panel{scroll-padding-top:64px}
@media(max-width:760px){
#create.active[data-mode]:not([data-mode=choose]){padding:0;overflow:hidden}
#create[data-mode]:not([data-mode=choose])>.studio-panel:not([hidden]){height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:20px}
#create .creation-studio-aside{padding-top:10px}
}
}

@layer workspace {
#create .cover-picker{padding:0;margin:0;border:0;background:none}
.cover-options{border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);padding:18px}
.cover-options>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;cursor:pointer}
.cover-options>summary>span{display:grid;gap:6px}.cover-options summary small{font-size:12px;color:var(--ui-muted)}
.cover-options[open]>summary{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--ui-line)}
.cover-options .cover-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:300px;overflow:auto}
.cover-options .cover-style-card{min-width:0;padding:10px;border:1px solid var(--ui-line);border-radius:12px;position:relative}
.cover-options .cover-style-card:has(input:checked){border-color:var(--ui-accent);background:var(--ui-accent-soft)}
.cover-options .cover-style-card input{position:absolute;top:8px;left:8px;width:18px;height:18px;opacity:1}
.cover-options .cover-style-image{height:90px}.cover-options .cover-style-card small{display:none}
.cover-advanced{margin-top:20px;border-top:1px solid var(--ui-line);padding-top:16px}.cover-advanced>summary{min-height:44px;display:flex;align-items:center;font-size:13px;cursor:pointer}
.cover-options .cover-model-list{grid-template-columns:1fr}.cover-options .cover-price{font-size:12px;margin:16px 0 0}
@media(max-width:760px){.cover-options .cover-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-options{padding:14px}}
}

@layer workspace { .cover-style-card::after,.cover-model-option::after{content:none} @media(max-width:760px){#create .studio-segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#create .wizard-progress-item strong{font-size:12px}} }

.artwork-body:has(>.artwork-selection[hidden]){grid-template-columns:minmax(0,1fr)}

@layer workspace { @media(max-width:400px){.project-workspace .media-panel-actions{grid-template-columns:minmax(0,1fr)}#projects .library-summary{flex-wrap:wrap}#projects .library-summary>button{flex:1 0 auto;white-space:nowrap}} }

#projects .project-tile-footer{flex-wrap:wrap}
#projects .project-created-at{min-width:0;line-height:1.8;font-variant-numeric:tabular-nums}
