.nv-studio { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 24px; padding: 24px; align-items: start; }
.nv-controls { display: grid; gap: 20px; }
.nv-step { display: grid; gap: 10px; }
.nv-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nv-step-title { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display, inherit); font-size: 16px; font-weight: 700; color: #f8f5ff; }
.nv-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #ff2e93; color: #ffffff; font-size: 12.5px; font-weight: 800; }
.nv-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nv-style-card { position: relative; padding: 0; border: 2px solid rgba(255,255,255,0.14); border-radius: 12px; background: #0c0a14; overflow: hidden; cursor: pointer; text-align: left; transition: border-color 0.15s ease, transform 0.12s ease; }
.nv-style-card:hover { border-color: rgba(255, 46, 147, 0.65); transform: translateY(-1px); }
.nv-style-card[aria-pressed="true"] { border-color: #ff2e93; box-shadow: 0 0 0 2px rgba(255, 46, 147, 0.3); }
.nv-style-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%; display: block; }
.nv-style-check { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 999px; background: #ff2e93; color: #fff; font-size: 12px; font-weight: 800; display: none; place-items: center; }
.nv-style-card[aria-pressed="true"] .nv-style-check { display: grid; }
.nv-style-name { display: block; padding: 8px 10px; font-size: 13px; font-weight: 700; color: #f8f5ff; line-height: 1.25; }
.nv-textarea { width: 100%; min-height: 82px; padding: 11px 13px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.16); background: #08070d; color: #f8f5ff; font: 400 14.5px/1.5 inherit; resize: vertical; }
.nv-textarea:focus { border-color: #22e5d6; outline: none; }
.nv-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.nv-chip { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: #181426; color: #cbc4dc; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.nv-chip:hover { border-color: #22e5d6; color: #f8f5ff; }
.nv-chip[aria-pressed="true"] { background: rgba(34, 229, 214, 0.16); border-color: #22e5d6; color: #22e5d6; }
.nv-ratio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nv-ratio-btn { display: grid; justify-items: center; gap: 5px; padding: 10px 6px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.14); background: #08070d; color: #cbc4dc; cursor: pointer; font: inherit; }
.nv-ratio-btn:hover { border-color: rgba(255, 46, 147, 0.65); color: #f8f5ff; }
.nv-ratio-btn[aria-pressed="true"] { border-color: #ff2e93; background: rgba(255, 46, 147, 0.14); color: #ffffff; }
.nv-ratio-box { display: block; border: 2px solid currentColor; border-radius: 3px; }
.nv-ratio-btn b { font-size: 12.5px; }
.nv-ratio-btn small { font-size: 12px; color: #9a90b0; }
.nv-cta-wrap { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.09); }
.nv-cta-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #cbc4dc; }
.nv-status { margin: 0; font-size: 13.5px; font-weight: 600; color: #22e5d6; }
.nv-status.is-err { color: #fca5a5; }
.nv-actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Right Stage */
.nv-stage-col { display: grid; gap: 16px; }
.nv-stage { background: #08070d; border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.nv-stage-frame { position: relative; border-radius: 12px; overflow: hidden; background: #040308; min-height: 280px; display: grid; place-items: center; }
.nv-stage-frame img { width: 100%; max-height: 460px; object-fit: contain; display: block; border-radius: 10px; }
.nv-stage-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(8, 7, 13, 0.84); border: 1px solid rgba(255,255,255,0.2); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #f8f5ff; }
.nv-stage-ratio { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(200, 20, 107, 0.94); font-size: 12px; font-weight: 800; color: #ffffff; }
.nv-stage-progress { padding: 32px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; color: #cbc4dc; }
.nv-spinner { width: 32px; height: 32px; border: 3px solid rgba(255, 46, 147, 0.25); border-top-color: #ff2e93; border-radius: 50%; animation: nvSpin 0.8s linear infinite; }
@keyframes nvSpin { to { transform: rotate(360deg); } }
.nv-stage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #9a90b0; }

.nv-prompt-panel { background: #0c0a14; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.nv-prompt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nv-prompt-title { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #22e5d6; }
.nv-plat-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-plat-btn { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: #181426; color: #cbc4dc; font-size: 12px; font-weight: 600; cursor: pointer; }
.nv-plat-btn[aria-pressed="true"] { background: #22e5d6; color: #08070d; border-color: #22e5d6; font-weight: 700; }
.nv-prompt-pre { margin: 0; padding: 12px; border-radius: 10px; background: #07060b; border: 1px solid rgba(255,255,255,0.08); color: #e2dcf0; font-size: 13px; line-height: 1.55; white-space: pre-wrap; max-height: 150px; overflow-y: auto; }

@media (max-width: 900px) {
  .nv-studio { grid-template-columns: 1fr; padding: 18px; }
}
@media (max-width: 520px) {
  .nv-ratio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}