.studio-page {
    --studio-ink: #172033;
    --studio-muted: #6f7785;
    --studio-line: #dfe3e8;
    --studio-bg: #eef0f2;
    --studio-panel: #fff;
    --studio-accent: #b94733;
    margin-top: 130px; min-height: calc(100vh - 130px); color: var(--studio-ink); background: var(--studio-bg);
    font-family: Pretendard, "Noto Sans KR", sans-serif;
}
.studio-page *, .studio-page *::before, .studio-page *::after { box-sizing: border-box; }
.studio-page button, .studio-page input, .studio-page textarea, .studio-page select { font: inherit; }
.studio-page [hidden] { display: none !important; }
.studio-page button, .studio-page a { color: inherit; }
.studio-page button { cursor: pointer; }
.studio-page :focus-visible { outline: 3px solid rgba(95, 68, 232, .28); outline-offset: 2px; }
.studio-page select:disabled, .studio-page input:disabled + i { opacity: .55; cursor: not-allowed; }
.studio-topbar { position: relative; inset: auto; z-index: 20; width: auto; height: auto; min-height: 64px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: #fff; border-bottom: 1px solid var(--studio-line); }
.studio-topbar__brand { min-height: 44px; width: max-content; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; }
.studio-topbar__brand > span { width: 24px; height: 18px; border: 2px solid var(--studio-ink); position: relative; }
.studio-topbar__brand > span::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 8px; height: 8px; background: var(--studio-accent); }
.studio-topbar nav { display: flex; gap: 4px; }
.studio-topbar nav a, .studio-topbar__exit { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 760; }
.studio-topbar nav a[aria-current="page"] { color: #fff; background: var(--studio-ink); }
.studio-topbar__exit { justify-self: end; padding-inline: 3px; border-bottom: 2px solid var(--studio-ink); }
.studio-topbar__account { justify-self: end; display: flex; align-items: center; gap: 14px; }
.studio-topbar__account > a:first-child:not(.studio-topbar__exit) { min-height: 44px; padding: 0 4px 0 12px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--studio-line); text-decoration: none; }
.studio-topbar__account > a:first-child span { color: var(--studio-muted); font-size: 10px; }
.studio-topbar__account > a:first-child strong { font-size: 13px; }
.studio-topbar__account > a:first-child b { min-height: 32px; padding: 0 10px; display: inline-flex; align-items: center; background: #fff0ec; color: #9f3422; font-size: 11px; }
.studio-layout { min-height: calc(100vh - 194px); padding: 16px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 16px; }
.studio-panel, .studio-workspace, .flow-library, .flow-canvas, .compare-controls, .compare-workspace { background: var(--studio-panel); border: 1px solid var(--studio-line); }
.studio-panel { padding: 24px; align-self: start; }
.studio-panel__title, .studio-workspace__head, .flow-canvas__head, .compare-workspace__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.studio-panel__title p, .studio-workspace__head p, .flow-canvas__head p, .compare-workspace__head p { margin: 0 0 5px; color: var(--studio-muted); font-size: 11px; }
.studio-panel__title h1, .studio-workspace__head h2, .flow-canvas__head h2, .compare-workspace__head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.studio-reset, .studio-workspace__head button, .flow-canvas__head button, .compare-workspace__head a { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--studio-muted); font-size: 12px; text-decoration: none; display: inline-flex; align-items: center; }
.studio-field { min-width: 0; margin: 25px 0 0; padding: 0; border: 0; }
.studio-field legend, .studio-prompt > span, .studio-option-field > span { margin-bottom: 9px; display: block; color: var(--studio-ink); font-size: 13px; font-weight: 800; }
.studio-option-field { min-width: 0; margin: 0; display: block; color: var(--studio-muted); font-size: 12px; }
.studio-option-field select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--studio-line); border-radius: 0; color: var(--studio-ink); background: #fff; font-size: 12px; }
.studio-version-field { margin-top: 20px; }
.studio-model-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.studio-model-tabs label, .studio-segments label { margin: 0; cursor: pointer; }
.studio-model-tabs input, .studio-segments input { position: absolute; opacity: 0; pointer-events: none; }
.studio-model-tabs label > span { min-height: 67px; padding: 11px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--studio-line); background: #fafafa; }
.studio-model-tabs b { font-size: 13px; }
.studio-model-tabs small { max-width: 100%; color: var(--studio-muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-model-tabs input:checked + span { color: var(--studio-accent); border-color: var(--studio-accent); background: #f4f1ff; box-shadow: inset 0 -3px 0 var(--studio-accent); }
.studio-model-tabs input:focus-visible + span, .studio-segments input:focus-visible + span { outline: 3px solid rgba(95, 68, 232, .32); outline-offset: 2px; }
.studio-segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); border: 1px solid var(--studio-line); }
.studio-segments span { min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--studio-muted); font-size: 12px; font-weight: 720; }
.studio-segments input:checked + span { color: #fff; background: var(--studio-ink); }
.studio-upload-fields { margin-top: 12px; }
.studio-file-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.studio-file { min-width: 0; min-height: 92px; margin: 0; position: relative; display: flex; align-items: center; justify-content: center; border: 1px dashed #abb2bd; background: #fafbfc; text-align: center; cursor: pointer; }
.studio-file--wide { width: 100%; }
.studio-file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.studio-file:focus-within { outline: 3px solid rgba(95, 68, 232, .32); outline-offset: 2px; }
.studio-file span, .studio-file b, .studio-file small { display: block; }
.studio-file span::before { content: "+"; display: block; margin-bottom: 5px; color: var(--studio-accent); font-size: 20px; }
.studio-file b { font-size: 12px; }
.studio-file small { margin-top: 3px; color: var(--studio-muted); font-size: 9px; }
.studio-file.has-file { border-style: solid; border-color: var(--studio-accent); background: #f4f1ff; }
.studio-prompt { min-width: 0; margin: 24px 0 0; display: block; position: relative; }
.studio-prompt > span b { color: var(--studio-accent); }
.studio-prompt textarea { width: 100%; min-height: 140px; padding: 14px; resize: vertical; border: 1px solid var(--studio-line); border-radius: 0; color: var(--studio-ink); background: #fbfbfc; font-size: 13px; line-height: 1.65; }
.studio-prompt > small { position: absolute; right: 10px; bottom: 8px; color: var(--studio-muted); font-size: 9px; }
.studio-settings { margin-top: 20px; }
.studio-setting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.studio-settings .studio-option-field > span { margin-bottom: 5px; color: var(--studio-muted); font-size: 12px; font-weight: 650; }
.studio-settings .studio-audio { min-height: 58px; margin-top: 12px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--studio-line); background: #fbfbfc; cursor: pointer; }
.studio-audio > span, .studio-audio > span b, .studio-audio > span small { display: block; }
.studio-audio > span b { color: var(--studio-ink); font-size: 12px; }
.studio-audio > span small { margin-top: 3px; color: var(--studio-muted); font-size: 10px; line-height: 1.4; }
.studio-audio input { position: absolute; opacity: 0; }
.studio-audio i { flex: 0 0 auto; width: 44px; height: 24px; border-radius: 20px; background: #b9bec7; position: relative; }
.studio-audio i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.studio-audio input:checked + i { background: var(--studio-accent); }
.studio-audio input:checked + i::after { transform: translateX(20px); }
.studio-audio input:focus-visible + i { outline: 3px solid rgba(95, 68, 232, .32); outline-offset: 3px; }
.studio-submit-bar { margin: 24px -24px -24px; padding: 14px 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; align-items: center; border-top: 1px solid var(--studio-line); }
.studio-submit-bar small, .studio-submit-bar strong { display: block; }
.studio-submit-bar small { color: var(--studio-muted); font-size: 9px; }
.studio-submit-bar strong { margin-top: 3px; font-size: 18px; letter-spacing: -.035em; }
.studio-submit-bar button, .studio-primary { min-height: 48px; border: 0; color: #fff !important; background: var(--studio-accent); font-size: 13px; font-weight: 800; }
.studio-submit-bar button:disabled, .studio-primary:disabled { opacity: .48; cursor: wait; }
.studio-workspace { min-width: 0; padding: 24px; }
.studio-workspace__head { padding-bottom: 18px; border-bottom: 1px solid var(--studio-line); }
.studio-storage-note { min-height: 34px; display: inline-flex; align-items: center; gap: 8px; color: #267054; font-size: 11px; font-weight: 750; }
.studio-storage-note i { width: 9px; height: 9px; border-radius: 50%; background: #38a477; box-shadow: 0 0 0 4px #e3f4ed; }
.studio-stage { min-height: 640px; padding: 20px 0; }
.studio-history-more { width: 100%; min-height: 46px; border: 1px solid var(--studio-line); background: #f7f8fa; color: var(--studio-ink); font-size: 12px; font-weight: 750; }
.studio-empty { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--studio-muted); text-align: center; }
.studio-empty__play { width: 64px; height: 42px; margin-bottom: 20px; position: relative; border: 2px solid #b6bcc4; }
.studio-empty__play::after { content: ""; position: absolute; left: 26px; top: 12px; border-left: 13px solid #b6bcc4; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.studio-empty h3 { margin: 0 0 10px; color: var(--studio-ink); font-size: 20px; }
.studio-empty p { margin: 0; font-size: 12px; line-height: 1.7; }
.studio-result-card { display: grid; grid-template-columns: minmax(260px, .95fr) minmax(240px, 1.05fr); min-height: 285px; margin-bottom: 12px; border: 1px solid var(--studio-line); overflow: hidden; }
.studio-result-card__media { min-height: 260px; background: #111; display: flex; align-items: center; justify-content: center; position: relative; }
.studio-result-card__media img, .studio-result-card__media video { width: 100%; height: 100%; object-fit: cover; }
.studio-result-card__media span { color: #fff; font-size: 13px; }
.studio-result-card__body { padding: 24px; display: flex; flex-direction: column; }
.studio-result-card__body small { color: var(--studio-muted); font-size: 10px; }
.studio-result-card__body h3 { margin: 10px 0; font-size: 19px; }
.studio-result-card__body p { margin: 0; color: var(--studio-muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.studio-result-card__body a { min-height: 44px; margin-top: auto; display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; text-decoration: underline; }
.studio-status { width: max-content; min-height: 28px; margin-top: 16px; padding: 0 9px; display: inline-flex; align-items: center; background: #eef0f2; font-size: 10px; font-weight: 800; }
.studio-status.is-working { color: #4f35dc; background: #f0edff; }
.studio-status.is-complete { color: #057250; background: #e7f6f0; }
.studio-status.is-error { color: #a12c2c; background: #fdecec; }

.studio-tool-shell { min-height: calc(100vh - 194px); padding: 16px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; }
.flow-library, .compare-controls { padding: 26px 22px; align-self: stretch; }
.flow-library > p, .compare-controls > p { margin: 0; color: var(--studio-muted); font-size: 11px; }
.flow-library h1, .compare-controls h1 { margin: 6px 0 25px; font-size: 28px; line-height: 1.15; letter-spacing: -.045em; }
.flow-template-list { display: grid; gap: 6px; }
.flow-template-list > button { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--studio-line); background: #fafafa; text-align: left; font-size: 12px; font-weight: 750; }
.flow-template-list > button.is-active { color: var(--studio-accent); border-color: var(--studio-accent); background: #f4f1ff; }
.flow-library__tip { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--studio-line); }
.flow-library__tip b, .flow-library__tip span { display: block; }
.flow-library__tip b { font-size: 12px; }
.flow-library__tip span { margin-top: 7px; color: var(--studio-muted); font-size: 12px; line-height: 1.6; }
.flow-canvas, .compare-workspace { min-width: 0; padding: 24px; }
.flow-canvas__head, .compare-workspace__head { min-height: 56px; padding-bottom: 18px; border-bottom: 1px solid var(--studio-line); }
.flow-canvas__head > div:last-child { display: flex; gap: 7px; }
.flow-canvas__head .studio-primary { padding: 0 18px; }
.flow-canvas__head button.studio-primary { color: #fff; background: var(--studio-accent); }
.flow-track { min-height: 640px; padding: 24px 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(190px, auto); gap: 12px; align-items: stretch; overflow: visible; }
.flow-node { min-width: 0; min-height: 285px; padding: 20px; border: 1px solid var(--studio-line); background: #fbfbfc; box-shadow: 0 12px 30px rgba(31, 39, 55, .06); display: flex; flex-direction: column; }
.flow-node--input { grid-column: 1 / 7; grid-row: 1 / 3; }
.flow-node--direction { grid-column: 7 / 10; grid-row: 1; }
.flow-node--model { grid-column: 10 / 13; grid-row: 1; }
.flow-node--output { grid-column: 7 / 13; grid-row: 2; min-height: 190px; }
.flow-node > span { color: var(--studio-accent); font-size: 10px; font-weight: 800; }
.flow-node h3 { margin: 8px 0 20px; font-size: 16px; }
.flow-node textarea { width: 100%; min-height: 210px; padding: 12px; resize: vertical; border: 1px solid var(--studio-line); background: #fff; font-size: 13px; line-height: 1.65; }
.flow-node > small { display: block; margin-top: 7px; color: var(--studio-muted); font-size: 11px; }
.flow-node > label:not(.flow-field):not(.flow-final-prompt) { min-height: 44px; margin: 0; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--studio-line); color: var(--studio-muted); font-size: 12px; }
.flow-node input { width: 18px; height: 18px; accent-color: var(--studio-accent); }
.flow-node select { width: 100%; min-height: 44px; padding: 0 9px; border: 1px solid var(--studio-line); background: #fff; font-size: 12px; }
[data-flow-duration-help] { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.flow-field { min-width: 0; margin: 0 0 12px; display: block; color: var(--studio-muted); font-size: 12px; }
.flow-field > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.flow-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.flow-node .flow-node__duration { margin-top: auto; justify-content: space-between; }
.flow-node__duration select { width: 76px; }
.flow-node--output { background: var(--studio-ink); color: #fff; }
.flow-node--output strong { display: block; margin-top: auto; color: #ab9bff; font-size: 27px; letter-spacing: -.05em; overflow-wrap: anywhere; }
.flow-node--output small { color: #b8bdc8; }
.flow-node--output p { margin: 18px 0 0; color: #d5d8df; font-size: 12px; line-height: 1.55; }
.flow-node--output p.is-error { color: #ffaaa3; }
.flow-connector { display: none; }
.flow-ai-actions { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.flow-ai-actions button { min-height: 46px; padding: 0 10px; border: 1px solid var(--studio-accent); color: var(--studio-accent); background: #fff; font-size: 12px; font-weight: 800; }
.flow-ai-actions button:last-child { color: #fff; background: var(--studio-accent); }
.flow-ai-actions button:disabled { opacity: .55; cursor: wait; }
.flow-ai-note, .flow-source-status { margin: 8px 0 0; color: var(--studio-muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.flow-source-status.is-error { color: #ad2929; font-weight: 750; }
.flow-final-prompt { margin-top: 18px; display: block; }
.flow-final-prompt > span { margin-bottom: 7px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 800; }
.flow-final-prompt > span b { color: var(--studio-muted); font-size: 10px; font-weight: 600; }
.flow-final-prompt textarea { min-height: 135px; }
.flow-final-prompt > small { margin-top: 6px; display: block; color: var(--studio-muted); font-size: 10px; text-align: right; }
.flow-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.flow-source-grid .studio-file { min-height: 104px; }
.flow-motion-title { margin-top: 20px !important; padding-top: 16px; border-top: 1px solid var(--studio-line); }
.flow-result { min-height: 260px; border-top: 1px solid var(--studio-line); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--studio-muted); text-align: center; }
.flow-result > span { width: 42px; height: 42px; border: 2px solid #bbc0c8; transform: rotate(45deg); margin-bottom: 18px; }
.flow-result h3 { margin: 0 0 7px; color: var(--studio-ink); font-size: 16px; }
.flow-result p { margin: 0; font-size: 12px; }
.flow-result video { width: min(780px, 100%); max-height: 520px; background: #111; }

.studio-tool-shell--compare { grid-template-columns: 310px minmax(0, 1fr); }
.compare-controls .studio-prompt { margin-top: 0; }
.compare-controls .studio-prompt textarea { min-height: 180px; }
.compare-duration { margin-top: 20px; display: block; font-size: 12px; font-weight: 800; }
.compare-duration select { width: 100%; height: 46px; margin-top: 8px; padding: 0 10px; border: 1px solid var(--studio-line); background: #fff; }
.compare-total { margin-top: 22px; padding: 18px 0; border-top: 1px solid var(--studio-line); border-bottom: 1px solid var(--studio-line); }
.compare-total small, .compare-total strong { display: block; }
.compare-total small { color: var(--studio-muted); font-size: 10px; }
.compare-total strong { margin-top: 7px; font-size: 25px; }
.compare-run { width: 100%; margin-top: 18px; }
.compare-warning { color: var(--studio-muted); font-size: 12px; line-height: 1.5; }
.compare-workspace__head a { color: var(--studio-accent); font-weight: 800; }
.compare-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.compare-grid > article { min-width: 0; position: relative; border: 1px solid var(--studio-line); background: #fff; overflow: hidden; }
.compare-card-media { min-height: 210px; position: relative; overflow: hidden; background: #eef0f2; }
.compare-card-media > img { width: 100%; height: 210px; object-fit: cover; display: block; }
.compare-card-body { min-width: 0; padding: 18px; }
.compare-card-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.compare-card-options .studio-option-field > span { margin-bottom: 6px; color: var(--studio-muted); }
.compare-card-price { min-width: 0; }
.compare-grid h3 { margin: 0; font-size: 21px; }
.compare-grid p { min-height: 44px; margin: 8px 0 18px; color: var(--studio-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.compare-grid strong, .compare-grid small { display: block; }
.compare-grid strong { font-size: 21px; }
.compare-grid small { margin-top: 3px; color: var(--studio-muted); font-size: 11px; }
.compare-check { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 7px; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--studio-accent); }
.compare-card-result { min-height: 100px; padding: 15px; border-top: 1px solid var(--studio-line); background: #f7f8fa; display: flex; align-items: center; justify-content: center; color: var(--studio-muted); font-size: 12px; text-align: center; }
.compare-card-result video { width: 100%; max-height: 260px; background: #111; }

@media (max-width: 1100px) {
    .studio-layout { grid-template-columns: 380px minmax(0, 1fr); }
    .studio-result-card { grid-template-columns: 1fr; }
    .studio-result-card__media { min-height: 230px; }
    .studio-tool-shell, .studio-tool-shell--compare { grid-template-columns: 1fr; }
    .flow-template-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .flow-library__tip { display: none; }
    .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .studio-page { margin-top: 100px; min-height: calc(100vh - 100px); }
    .studio-topbar { padding: 8px 14px; grid-template-columns: 1fr auto; gap: 6px; }
    .studio-topbar nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--studio-line); }
    .studio-topbar__account { grid-column: 2; grid-row: 1; gap: 8px; }
    .studio-topbar__exit { font-size: 12px; }
    .studio-layout, .studio-tool-shell, .studio-tool-shell--compare { grid-template-columns: 1fr; min-height: 0; }
    .studio-panel, .flow-library, .compare-controls { position: static; }
    .studio-stage { min-height: 420px; }
    .studio-empty { min-height: 360px; }
    .flow-template-list > button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
    .flow-track { min-height: 330px; padding: 24px 0; grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
    .flow-node { min-height: 0; }
    .flow-node--input, .flow-node--direction, .flow-node--model, .flow-node--output { grid-column: 1; grid-row: auto; }
    .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .compare-card-result { min-height: 84px; }
}
@media (max-width: 520px) {
    .studio-layout, .studio-tool-shell, .studio-tool-shell--compare { padding: 8px; gap: 8px; }
    .studio-panel, .studio-workspace, .flow-library, .flow-canvas, .compare-controls, .compare-workspace { padding: 18px 14px; }
    .studio-model-tabs label > span { min-height: 62px; padding-inline: 4px; }
    .studio-model-tabs small { display: none; }
    .studio-setting-grid { gap: 10px 8px; }
    .studio-submit-bar { margin: 20px -14px -18px; padding: 12px 14px; }
    .studio-workspace__head { align-items: flex-start; }
    .studio-topbar__account > a:first-child:not(.studio-topbar__exit) span,
    .studio-topbar__account > a:first-child:not(.studio-topbar__exit) strong { display: none; }
    .studio-topbar__account > a:first-child:not(.studio-topbar__exit) { padding-left: 4px; }
    .studio-result-card__body { min-height: 230px; padding: 18px; }
    .flow-template-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow-canvas__head { align-items: flex-start; flex-direction: column; }
    .flow-canvas__head > div:last-child { width: 100%; }
    .flow-canvas__head button { flex: 1; justify-content: center; }
    .flow-ai-actions { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .compare-card-media > img { height: 180px; }
    .compare-card-body { padding: 16px 12px; }
    .compare-grid p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .studio-page *, .studio-page *::before, .studio-page *::after { transition: none !important; }
}
