#builder-app #art-style-studio{width:min(920px,calc(100vw - 16px));height:min(850px,calc(100dvh - 16px));font-family:inherit}
#builder-app #art-style-studio .studio-header{display:flex;justify-content:space-between;align-items:start;padding:16px 20px}
#builder-app #art-style-studio #art-style-progress{font-size:12px;color:var(--muted)}
#builder-app #art-style-context{color:var(--gold);font-size:14px}
#art-style-studio .art-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
#art-style-studio .art-style-grid.themes{grid-template-columns:repeat(3,minmax(0,1fr))}
#builder-app #art-style-studio .art-style-card{padding:0;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--soft);color:var(--text);text-align:left;display:flex;flex-direction:column;position:relative}
#art-style-studio .art-style-card img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top}
#art-style-studio .themes .art-style-card img{aspect-ratio:169/136}
#art-style-studio .art-style-card span{padding:8px 10px;font-size:14px;line-height:1.4;min-height:44px;box-sizing:border-box}
#art-style-studio .art-style-card[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
#art-style-studio .art-style-card[aria-pressed=true]:after{content:'✓';position:absolute;right:8px;top:8px;border-radius:50%;background:var(--gold);color:var(--accent-ink,#241b13);width:22px;height:22px;text-align:center;line-height:22px}
#art-style-studio .art-style-grid.wide{grid-template-columns:repeat(2,minmax(0,1fr))}
#art-style-studio .wide .art-style-card img{aspect-ratio:16/9;object-fit:contain}
#art-style-studio .art-extra{padding:12px;background:var(--soft);border-radius:10px;margin:10px 0}
#art-style-studio .art-extra summary{min-height:36px;font-size:14px;line-height:1.4;cursor:pointer}
#art-style-studio textarea,#art-style-studio select{width:100%;box-sizing:border-box;font-size:16px;margin-top:8px}
#art-style-studio .art-style-actions{display:flex;justify-content:space-between;gap:12px;width:100%}
#builder-app #art-style-studio .gallery-footer{padding:12px 20px;gap:8px}
#art-style-studio dt{font-size:12px;color:var(--muted);margin-top:16px}#art-style-studio dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}
@media(max-width:700px){#art-style-studio .art-style-grid,#art-style-studio .art-style-grid.themes{grid-template-columns:repeat(2,minmax(0,1fr))}#art-style-studio .art-style-grid.wide{grid-template-columns:1fr}}
#builder-app #art-style-studio .art-style-actions #art-style-next{margin-left:auto}
#builder-app #art-style-studio .studio-header .gallery-dismiss img{width:24px;height:24px}

#art-style-studio .themes [data-choice="science-fiction"] img{object-fit:contain;background:var(--soft)}
#art-style-studio .themes [data-choice="surreal"] img{object-position:center 30%}
#art-style-studio .fantasy .art-style-card img{aspect-ratio:169/142;object-fit:cover;object-position:center}
#art-style-studio .portrait .art-style-card img{aspect-ratio:4/5;object-fit:contain;background:var(--soft)}
#art-style-studio .art-style-card span{min-height:56px}
#art-style-studio .themes .art-style-card img{aspect-ratio:169/142}
#art-style-studio .themes .art-style-card span{min-height:32px;padding:5px 10px}
#art-style-studio .themes [data-choice="lifestyles"] img{object-position:center 12.2%}
#art-style-studio .themes [data-choice="historical"] img{object-position:center 16%}
#art-style-studio .themes [data-choice="horror"] img{object-position:center 6.8%}
#art-style-studio .themes [data-choice="surreal"] img{object-position:center 29.3%}
#builder-app #art-style-studio .art-style-actions button{min-height:48px;min-width:126px;border-radius:10px}

#art-style-studio .art-core-choices{padding:12px;background:var(--soft);border:1px solid var(--border);border-radius:10px;margin-bottom:12px}#art-style-studio .art-core-choices dt:first-child{margin-top:0}
/* Shared card-caption rhythm; labels grow naturally when text is enlarged. */
#art-style-studio .art-style-card span,
#art-style-studio .themes .art-style-card span{display:flex;align-items:center;flex:1;min-height:calc(2.8em + 16px);padding:8px 10px;font-family:inherit;font-size:14px;font-weight:650;line-height:1.4;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal}
#art-style-studio .themes [data-choice="science-fiction"] img{object-position:center}
