/* Original user-supplied Aideo prototype styles, isolated from the rest of the app. */
@scope (#studio-prototype-view) {

:scope{
  --ink:#0B0C0E; --text:#1A1C21; --sub:#3A3D44; --muted:#5A5F68; --faint:#6B7079;
  --line:#E4E4DF; --line2:#D9D9D3; --soft:#F4F4F1; --soft2:#FAFAF8;
  --accent:#5B4CFF; --lav:#ECE8FF; --lav2:#F1EFFF; --blue:#E3F1FB; --lime:#D4FF4A; --orange:#FF8A3D;
  color-scheme: light;
}
*{box-sizing:border-box}
:scope{margin:0;background:#fff;color:var(--text);font-family:Inter,'Noto Sans SC','PingFang SC',system-ui,sans-serif}
button,input,textarea{font-family:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.page{min-height:calc(100vh - 160px);display:flex;flex-direction:column}
.studio-welcome{position:relative}
.studio-recent-projects{position:absolute;top:56px;right:28px;height:34px;padding:0 4px;display:flex;align-items:center;z-index:1}
@media(max-width:640px){.studio-recent-projects{right:16px}}
.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px;border-bottom:1px solid #ECECE7}
.logo{width:32px;height:32px;border-radius:8px;background:var(--ink);color:#fff;border:0;font-weight:900;font-size:17px;display:flex;align-items:center;justify-content:center;padding:0}
.wrap{width:100%;margin:0 auto;padding:48px 24px}
h1{margin:0;color:var(--ink)}
.sub{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
.btn{height:44px;padding:0 18px;border-radius:10px;border:1px solid var(--line2);background:#fff;color:var(--text);font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-primary{border:0;background:var(--accent);color:#fff;font-weight:700;box-shadow:3px 3px 0 var(--ink)}
.btn-dark{border:0;background:var(--ink);color:#fff;font-weight:600}
.btn-sm{height:34px;padding:0 12px;font-size:13px;border-radius:8px}
.btn-sm.btn-primary{box-shadow:2px 2px 0 var(--ink)}
.ghost{border:0;background:transparent}
.link{background:none;border:0;color:var(--muted);font-size:14px;padding:12px 4px}
.chip{height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line2);background:#fff;color:var(--muted);font-size:13px}
.chip.on{border-color:var(--accent);background:var(--lav2);color:var(--ink)}
.pill{height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line2);background:#fff;color:var(--sub);font-size:13px;font-weight:500}
.pill.on{background:var(--ink);border-color:var(--ink);color:#fff}
.seg{display:flex;gap:4px;background:var(--soft2);border:1px solid var(--line);padding:4px;border-radius:10px}
.seg button{flex:1;height:34px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--sub);font-size:13px;font-weight:600;white-space:nowrap}
.seg button.on{background:var(--ink);color:#fff}
.field{display:flex;flex-direction:column;gap:8px}
.field label,.flabel{font-size:14px;font-weight:600;color:var(--ink)}
.input,.textarea{border-radius:10px;border:1px solid var(--line2);background:#fff;color:var(--ink);font-size:14px;padding:0 12px}
.input{height:44px}
.textarea{padding:12px;line-height:1.7;resize:vertical}
.card{background:#fff;border:1px solid var(--line);border-radius:16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.check{width:22px;height:22px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center}
.badge{flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800}
.scene{position:absolute;inset:0}
.scene .g{position:absolute;left:0;right:0;bottom:0;height:36%}
.scene .s{position:absolute;top:16%;width:22%;aspect-ratio:1;border-radius:50%}
.scene .p{position:absolute;left:50%;bottom:20%;transform:translateX(-50%);width:26%;height:38%;border-radius:60px 60px 8px 8px}
.hl{background:linear-gradient(transparent 58%,var(--lime) 58%,var(--lime) 92%,transparent 92%);padding:0 6px}
/* motion */
@keyframes fw-in{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
@keyframes fw-fade{from{opacity:0}to{opacity:1}}
@keyframes fw-pop{from{opacity:0;translate:0 -6px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
.enter{animation:fw-fade .3s ease-out both}
.enter .stagger>*{animation:fw-in .5s cubic-bezier(.2,.7,.2,1) both}
.enter .stagger>*:nth-child(2){animation-delay:.07s}
.enter .stagger>*:nth-child(3){animation-delay:.14s}
.enter .stagger>*:nth-child(4){animation-delay:.21s}
.enter .stagger>*:nth-child(n+5){animation-delay:.28s}
.fw-swap{animation:fw-in .4s cubic-bezier(.2,.7,.2,1) both}
.fw-pop{animation:fw-pop .2s ease-out both}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes marquee-r{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.mq{display:flex;gap:12px;width:max-content;animation:marquee 60s linear infinite}
.mq.r{animation:marquee-r 56s linear infinite}
.mq.fast{animation-duration:48s}
.mq-wrap:hover .mq{animation-play-state:paused}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.caret{display:inline-block;width:2px;height:1.1em;margin-left:2px;vertical-align:-3px;background:var(--accent);animation:blink 1s steps(1) infinite}
.hit:hover{outline:2px dashed rgba(255,255,255,.7);outline-offset:2px}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--ink);color:#fff;font-weight:600;font-size:14px;padding:12px 18px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.25);z-index:100}
@media (prefers-reduced-motion: reduce){.enter,.enter .stagger>*,.fw-swap,.fw-pop,.mq,.caret{animation:none!important}}

}
body[data-studio-prototype-active=true] #tab-container{background:#fff}
#tab-studio>#studio-left-column,#tab-studio>#studio-right-column{display:none!important}
#studio-prototype-shell{grid-column:1/-1;min-width:0;background:#fff}
#studio-prototype-view .studio-preview-notice{margin:12px 16px;padding:10px 14px;background:#f1efff;border:1px solid #ded8ff;border-radius:10px;font-size:12px;color:#5a5f68;line-height:1.6}
#studio-prototype-view .studio-real-video{max-width:100%;max-height:100%;border-radius:8px;background:#000}
#studio-function-dialog{padding:0;border:1px solid #d9d9d3;border-radius:20px;width:min(1000px,calc(100vw - 32px));max-height:90vh;color:#1a1c21;background:#fff;box-shadow:8px 8px 0 #0b0c0e}
#studio-function-dialog::backdrop{background:#0b0c0e66;backdrop-filter:blur(3px)}
#studio-function-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e4e4df;position:sticky;top:0;background:#fff;z-index:2}
#studio-function-title{font-size:18px;font-weight:800}#studio-function-close{padding:8px 14px;border:1px solid #d9d9d3;border-radius:10px;background:#fafaf8;font-size:14px}
#studio-function-body{padding:24px;overflow-y:auto;max-height:calc(90vh - 76px)}
#studio-function-body>.studio-function-choice{display:flex;flex-direction:column;gap:6px;width:100%;padding:16px 18px;text-align:left;margin-bottom:10px;border:1px solid #e4e4df;border-radius:14px;background:#fff;font-size:15px}
#studio-function-body>.studio-function-choice:hover{background:#f1efff;border-color:#5b4cff}#studio-function-body>.studio-function-choice span{font-size:12px;color:#5a5f68}
#studio-function-body .studio-function-note{padding:12px 16px;margin-bottom:16px;border:1px solid #ded8ff;background:#f1efff;border-radius:12px;font-size:13px;color:#5a5f68}
#studio-function-body>[id]{border:0!important;box-shadow:none!important;border-radius:12px!important;margin-bottom:20px}
#studio-function-body input:not([type=checkbox]):not([type=file]):not([type=range]),#studio-function-body textarea,#studio-function-body select{border-color:#d9d9d3;border-radius:10px;background:#fff;font-size:14px;color:#1a1c21}
#studio-function-body button{border-radius:10px}#studio-function-body button.bg-slate-900{background:#5b4cff;box-shadow:2px 2px 0 #0b0c0e}
@media(max-width:640px){#studio-function-body{padding:16px}#studio-function-dialog{width:calc(100vw - 16px);max-height:95vh}#studio-function-dialog>header{padding:14px 16px}}


/* The real image editor mounted into the 小红书图文 tab. */
#studio-prototype-view .studio-ie-slot{min-height:480px}

/* AI Director storyboard (studio-director.js), mounted into the 分镜 screen. */
#studio-prototype-view .sd{display:flex;flex-direction:column;gap:18px}
#studio-prototype-view .sd-empty{padding:56px 16px;text-align:center;color:var(--muted);font-size:15px}
#studio-prototype-view .sd-head{display:flex;flex-direction:column;gap:8px}
#studio-prototype-view .sd-head h1,#studio-prototype-view .sd-title{font-size:28px;font-weight:800;color:var(--ink);line-height:1.3}
#studio-prototype-view .sd-title{width:100%;border:0;border-bottom:1.5px dashed transparent;background:transparent;padding:0 0 2px;outline-offset:4px}
#studio-prototype-view .sd-title:hover,#studio-prototype-view .sd-title:focus{border-bottom-color:var(--line2)}
#studio-prototype-view .sd-meta{margin:0;display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
#studio-prototype-view .sd-meta b{color:var(--ink)}
#studio-prototype-view .sd-meta i{width:3px;height:3px;border-radius:50%;background:var(--line2);margin:0 4px}
#studio-prototype-view .sd-alert{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:10px;border:1px solid #F3C6A8;background:#FFF4EC;color:#8A3A0B;font-size:13px;line-height:1.6}
#studio-prototype-view .sd-modes{display:flex;flex-wrap:wrap;gap:10px}
#studio-prototype-view .sd-mode{flex:1 1 200px;text-align:left;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line2);background:#fff;display:flex;flex-direction:column;gap:4px}
#studio-prototype-view .sd-mode.on{border-color:var(--accent);background:var(--lav2)}
#studio-prototype-view .sd-mode b{font-size:14px;color:var(--ink)}
#studio-prototype-view .sd-mode span{font-size:12px;color:var(--muted)}
#studio-prototype-view .sd-note{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
#studio-prototype-view .sd-warn{margin:0;font-size:13px;line-height:1.6;color:#B4420F}
#studio-prototype-view .sd-bad{color:#B4420F}
#studio-prototype-view .sd-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
#studio-prototype-view .sd-main{display:flex;flex-direction:column;gap:12px;min-width:0}
#studio-prototype-view .sd-list,#studio-prototype-view .sd-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
#studio-prototype-view .sd-card{padding:16px;display:flex;flex-direction:column;gap:12px}
#studio-prototype-view .sd-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#studio-prototype-view .sd-num{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;font-weight:700;color:var(--ink)}
#studio-prototype-view .sd-engine{height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;white-space:nowrap}
#studio-prototype-view .sd-anim{background:var(--lav);color:#3A2FB8}
#studio-prototype-view .sd-real{background:var(--blue);color:#14506F}
#studio-prototype-view .sd-flag{font-size:12px;color:#B4420F}
#studio-prototype-view .sd-price{margin-left:auto;font-size:14px;font-weight:700;color:var(--ink)}
#studio-prototype-view .sd-tools{display:flex;gap:6px}
#studio-prototype-view .sd-tools-end{margin-left:auto}
#studio-prototype-view .sd-field{display:flex;flex-direction:column;gap:6px;min-width:0}
#studio-prototype-view .sd-field>span{font-size:13px;font-weight:600;color:var(--ink)}
#studio-prototype-view .sd-field .textarea,#studio-prototype-view .sd-field .input{width:100%}
#studio-prototype-view .sd-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}
#studio-prototype-view .sd-seconds{flex:0 0 110px}
#studio-prototype-view .sd-segs{display:flex;gap:2px;padding:3px;border:1px solid var(--line2);border-radius:10px;background:#fff}
#studio-prototype-view .sd-seg{height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--sub);font-size:13px;font-weight:600;white-space:nowrap}
#studio-prototype-view .sd-seg.on{background:var(--ink);color:#fff}
#studio-prototype-view .sd-reason{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
#studio-prototype-view .sd-card .link{padding:4px 0;font-size:13px;color:var(--accent)}
#studio-prototype-view .sd-replan{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#studio-prototype-view .sd-replan .input{flex:1 1 240px;height:36px}
#studio-prototype-view .sd-add{align-self:flex-start}
#studio-prototype-view .sd-cost{position:sticky;top:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
#studio-prototype-view .sd-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted)}
#studio-prototype-view .sd-total b{font-size:28px;font-weight:800;color:var(--ink)}
#studio-prototype-view .sd-unit{font-size:max(.62em,11px);font-weight:600;color:var(--muted)}
#studio-prototype-view .sd-facts{display:flex;align-items:baseline;gap:6px;font-size:13px;color:var(--muted)}
#studio-prototype-view .sd-facts b{color:var(--ink)}
#studio-prototype-view .sd-compare{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;background:var(--soft2);border:1px solid var(--line);font-size:13px;color:var(--muted)}
#studio-prototype-view .sd-compare div{display:flex;justify-content:space-between;gap:8px}
#studio-prototype-view .sd-compare b{color:var(--ink)}
#studio-prototype-view .sd-budget{display:flex;gap:6px;align-items:center}
#studio-prototype-view .sd-budget .input{flex:1 1 0;min-width:0;height:36px}
#studio-prototype-view .sd-cta{width:100%}
#studio-prototype-view .sd-cost .link{padding:4px 0;font-size:13px}
#studio-prototype-view .sd-stage{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:12px;background:var(--lav2);border:1px solid #DED8FF;font-size:14px;color:var(--ink)}
#studio-prototype-view .sd-stage span{font-size:13px;color:var(--sub);line-height:1.6;overflow-wrap:anywhere}
#studio-prototype-view .sd-stage-failed{background:#FFF4EC;border-color:#F3C6A8}
#studio-prototype-view .sd-step{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px}
#studio-prototype-view .sd-step{flex-wrap:wrap}
#studio-prototype-view .sd-revise{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:4px}
#studio-prototype-view .sd-revise .input{flex:1 1 260px;height:36px}
#studio-prototype-view .sd-revise .sd-note{flex:1 1 100%}
#studio-prototype-view .sd-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
#studio-prototype-view .sd-check input{width:18px;height:18px;accent-color:var(--accent)}
#studio-prototype-view .sd-tag{height:22px;padding:0 8px;border-radius:6px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;background:var(--soft);color:var(--muted)}
#studio-prototype-view .sd-tag-new{background:#FFF4EC;color:#B4420F}
#studio-prototype-view .sd-cost .btn{width:100%}
#studio-prototype-view .sd-budget .btn{width:auto}
#studio-prototype-view .sd-step-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sub)}
#studio-prototype-view .sd-state{flex:none;font-weight:600;color:var(--muted)}
#studio-prototype-view .sd-step-running .sd-state{color:var(--accent)}
#studio-prototype-view .sd-step-success .sd-state{color:#17794A}
#studio-prototype-view .sd-step-failed .sd-state{color:#B4420F}
#studio-prototype-view .sd-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
#studio-prototype-view .sd-result{padding:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
#studio-prototype-view .sd-result video{border-radius:10px;background:#000;max-width:100%}
#studio-prototype-view .sd-result .sd-wide{width:min(100%,560px)}
#studio-prototype-view .sd-result .sd-tall{width:min(100%,260px)}
#studio-prototype-view .sd-result-side{display:flex;flex-direction:column;gap:10px}
#studio-prototype-view .sd-result a.btn{text-decoration:none}
@media(max-width:860px){#studio-prototype-view .sd-body{grid-template-columns:minmax(0,1fr)}#studio-prototype-view .sd-cost{position:static}#studio-prototype-view .sd-tools{width:100%}}/* The submitted design embeds the entire studio in an 840px canvas. */
body[data-studio-prototype-active=true] #tab-container{background:#fbfbf8}
#studio-prototype-shell{position:relative;border:1px solid #e6e5e0;border-radius:22px;background:#fff;overflow:hidden}
#studio-prototype-view{height:840px;overflow:auto;container-type:inline-size}
#studio-prototype-view .page{min-height:840px}
#studio-prototype-view .studio-welcome .topbar{min-height:76px;padding:16px 28px}
#studio-prototype-view .studio-welcome main{padding:48px 24px 64px!important;justify-content:center!important}
#studio-prototype-view .studio-welcome .mq-wrap{margin-top:40px!important}
#studio-prototype-view .studio-recent-projects{position:static;height:auto}
#studio-prototype-view .studio-welcome .mq-wrap>div:first-child{flex-wrap:wrap}
#studio-prototype-view .studio-welcome h1{font-size:clamp(44px,8cqw,88px)!important}

/* Creation entry pages use the workspace scroll. The editing canvas keeps its own viewport. */
#studio-prototype-view:has(> .studio-entry-page) { height: auto; overflow: visible; }
#studio-prototype-view .studio-entry-page { min-height: min(700px, calc(100dvh - 130px)); }
#studio-prototype-view .studio-entry-content {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3cqw, 30px);
  max-width: 1080px;
  padding: clamp(18px, 4cqw, 42px) clamp(14px, 3cqw, 28px);
}
#studio-prototype-view .studio-upload-page .studio-entry-content { max-width: 880px; }
#studio-prototype-view .studio-entry-heading { display: grid; gap: 8px; }
#studio-prototype-view .studio-entry-heading h1 { color: #0b0b0f; font-size: clamp(25px, 5cqw, 40px); line-height: 1.16; font-weight: 900; letter-spacing: -.02em; }
#studio-prototype-view .studio-entry-centered { text-align: center; }
.studio-choice-grid, .studio-project-grid, .studio-style-grid { display: grid; gap: 14px; }
.studio-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.studio-project-grid { grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr)); }
.studio-style-grid { grid-template-columns: repeat(auto-fill, minmax(min(235px, 100%), 1fr)); }
.studio-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.6cqw, 23px);
  min-width: 0;
  min-height: 245px;
  padding: clamp(18px, 3cqw, 30px);
  border: 1px solid #bfcffa;
  border-radius: 20px;
  background: #edf3ff;
  color: #0b0b0f;
  text-align: start;
  transition: border-color .16s, box-shadow .16s;
}
.studio-choice-card[data-go="generate"] { background: #f1efff; border-color: #dcd8ff; }
.studio-choice-card:hover { border-color: #5b4bff; box-shadow: 0 8px 22px -16px #5b4bff88; }
.studio-choice-icon { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 14px; border: 1px solid #e6e5e0; background: #fff; color: #3b2fc9; }
.studio-choice-icon svg { width: 26px; height: 26px; }
.studio-choice-copy { display: grid; gap: 8px; }
.studio-choice-copy strong { font-size: clamp(19px, 3cqw, 24px); font-weight: 900; }
.studio-choice-copy > span { color: #52525b; font-size: 14px; line-height: 1.65; }
.studio-choice-action { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 14px; font-weight: 800; }
[data-go="generate"] > .studio-choice-action { color: #3b2fc9; }
.studio-recent-section { display: grid; gap: 12px; border-top: 1px solid #ecebe6; padding-top: 18px; }
.studio-recent-section > header, .studio-entry-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.studio-recent-section h2 { color: #0b0b0f; font-size: 17px; font-weight: 850; }
#studio-prototype-view .studio-project-card { display: grid; align-items: center; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; min-width: 0; padding: 12px; border-color: #e6e5e0; border-radius: 14px; text-align: start; }
#studio-prototype-view .studio-project-card:hover { border-color: #bfb7ff; }
.studio-project-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f1efff; color: #3b2fc9; }
.studio-project-copy { min-width: 0; }
.studio-project-copy strong, .studio-project-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-project-copy small { margin-top: 4px; color: #71717a; font-size: 12px; }
.studio-project-arrow { color: #3b2fc9; }
.studio-project-empty { padding: 15px; border-radius: 14px; background: #f7f7f3; color: #71717a; font-size: 13px; }
.studio-dropzone { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(22px, 5cqw, 46px) 14px; border: 2px dashed #ccc8de; border-radius: 18px; background: #faf9ff; text-align: center; }
.studio-dropzone.is-dragging, .studio-dropzone:focus-within { border-color: #5b4bff; background: #f1efff; }
.studio-upload-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 13px; border: 1px solid #e6e5e0; border-radius: 12px; }
.studio-upload-filename { overflow-wrap: anywhere; color: #0b0b0f; font-size: 14px; }
.studio-upload-status { flex: none; color: #52525b; font-size: 12px; font-weight: 700; }
.studio-upload-status[data-saved="true"] { color: #167541; }
.studio-upload-footer { padding-top: 16px; border-top: 1px solid #ecebe6; }
#studio-prototype-view .studio-prompt-card { display: grid; gap: 14px; padding: 16px; border-color: #dcd8ff; background: #f7f6ff; }
#studio-prototype-view .studio-prompt-card:focus-within { border-color: #5b4bff; }
#studio-prototype-view .studio-entry-page :is(button, a):focus-visible { outline: 2px solid #5b4bff; outline-offset: 3px; }
@container (max-width: 520px) {
  .studio-choice-grid { grid-template-columns: minmax(0,1fr); }
  .studio-choice-card { min-height: 0; }
  .studio-upload-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .studio-choice-card { transition: none; } }
