.studio-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.studio { max-width: 920px; padding-block: 2.6rem; }
.studio h1 { font-size: clamp(2.7rem, 6vw, 5.25rem); }
#studio-status { color: var(--muted); }
#login { display: grid; gap: .6rem; max-width: 360px; }
#login button { justify-self: start; }
.editor-row { margin: 1.2rem 0; padding: 1rem; min-width: 0; border: 1px solid var(--line); border-radius: 26px; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 1.35rem; background: var(--white); }
.editor-row legend { max-width: 95%; padding: 0 .45rem; font-weight: 700; overflow-wrap: anywhere; }
.image-field, .row-fields { min-width: 0; }
.preview { width: 100%; max-height: 250px; aspect-ratio: 1/1; object-fit: cover; border-radius: 19px; margin-bottom: .65rem; }
.row-fields { display: grid; gap: .55rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.visibility { display: inline-flex; align-items: center; gap: .5rem; }
.visibility input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); }
.field-label { color: var(--ink); font-weight: 700; }
.studio .row-fields label { margin: 0; }
.studio .row-fields input, .studio .row-fields select, .studio .row-fields textarea { margin-top: .3rem; }
.remove { background: none; border: 0; color: var(--ink); text-decoration: underline; }
.studio-actions { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: .5rem; padding-block: .8rem; background: var(--page); border-top: 1px solid var(--line); }
@media (max-width: 630px) { .editor-row { grid-template-columns: 1fr; } }
