/* Independent Studio rows: creation/editor, then gallery/sizes. */
.tv-mini-layout { grid-template-areas:'create preview' 'gallery sizes'; }
.tv-mini-create-panel { grid-area:create; min-width:0; }
.tv-mini-layout>.tv-mini-preview { grid-area:preview; margin:0; min-width:0; }
.tv-mini-gallery-panel { grid-area:gallery; min-width:0; margin:0; padding:24px; border:1px solid #ded8eb; border-radius:20px; background:#fff; box-shadow:0 8px 28px #44317a08; }
.tv-mini-layout>.tv-mini-product-options { grid-area:sizes; min-width:0; }
.tv-mini-gallery-panel .tv-mini-gallery-heading h3 { margin:0; color:#746080; font-size:13px; font-weight:500; }
.tv-mini-gallery-panel [data-mini-gallery] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tv-mini-gallery-panel [data-mini-gallery-use] { background:#f3eff8; border-color:#e4dbef; border-radius:12px; }
.tv-mini-gallery-panel [data-mini-gallery-use]:is(:hover,[aria-pressed=true]) { border-color:#9c76d3; box-shadow:0 0 0 2px #e9dafb; }
.tv-mini-gallery-panel [data-mini-gallery] img { height:76px; }
@media(min-width:761px) {
  .tv-mini-create-panel,.tv-mini-layout>.tv-mini-preview { align-self:stretch; }
  .tv-mini-create-panel { display:flex; flex-direction:column; }
  .tv-mini-create-panel>[data-mini-panel=ai] { display:flex; flex:1; flex-direction:column; }
  .tv-mini-create-panel .tv-mini-create { margin-top:auto; }
  .tv-mini-create-panel .tv-mini-ideas { margin-bottom:14px; }
}
@media(max-width:760px) {
  .tv-mini-layout { grid-template-areas:'create' 'preview' 'gallery' 'sizes'; }
  .tv-mini-gallery-panel { padding:21px 18px; }
}
