@import url('/assets/sc-creator-tokens.css');

/* Studio components. Opt-in .sc-studio only.
 * Phase 3 aliases the shared public palette while retaining editor geometry.
 * Bricolage Grotesque and its existing weights/loading are retained.
 */
.sc-studio {
  --st-paper: var(--creator-paper); --st-ink: var(--creator-ink); --st-muted: var(--creator-muted); --st-line: var(--creator-line);
  --st-lavender: var(--creator-lavender); --st-yellow: var(--creator-yellow); --st-mint: var(--creator-mint); --st-coral: var(--creator-coral);
  --st-sky: var(--creator-sky); --st-white: var(--creator-white); --st-shadow: 4px 4px 0 var(--st-line);
  margin: 0; color: var(--st-ink); background: var(--st-paper);
  font: 400 15px/1.5 'Bricolage Grotesque', system-ui, sans-serif;
}
.sc-studio *, .sc-studio *::before, .sc-studio *::after { box-sizing: border-box; }
.sc-studio [hidden] { display: none !important; }
.sc-studio a { color: inherit; text-underline-offset: 4px; }
.sc-studio button, .sc-studio input, .sc-studio select { font: inherit; color: inherit; }
.sc-studio button, .sc-studio select, .sc-studio input[type='range'], .sc-studio input[type='checkbox'] { cursor: pointer; }
.sc-studio button { touch-action: manipulation; }
.sc-studio :focus-visible { outline: 3px solid #65409d; outline-offset: 4px; }
.sc-studio button:disabled { cursor: not-allowed; opacity: .5; }
.sc-studio .st-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sc-studio .st-skip { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--st-yellow); padding: 12px; }
.sc-studio .st-skip:focus { top: 10px; }
.sc-studio .st-header { min-height: 80px; border-bottom: 2px solid var(--st-line); display: flex; align-items: center; justify-content: space-between; padding: 16px max(24px, calc((100% - 1400px) / 2)); gap: 20px; background: var(--st-white); }
.sc-studio .st-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 25px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.sc-studio .st-brand img { border-radius: 7px; }
.sc-studio .st-brand-caption { display: block; font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-top: 5px; }
.sc-studio .st-back { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--st-ink); padding: 8px 0; white-space: nowrap; }
.sc-studio main, .sc-studio .st-footer { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.sc-studio .st-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0 24px; }
.sc-studio .st-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .13em; margin: 0 0 12px; }
.sc-studio .st-dot { display: inline-block; width: 7px; height: 7px; background: var(--st-ink); border-radius: 50%; flex-shrink: 0; }
.sc-studio h1 { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -1.8px; margin: 0 0 12px; font-weight: 800; }
.sc-studio h1 span { background: var(--st-lavender); padding: 0 7px 3px; box-decoration-break: clone; }
.sc-studio .st-tagline { font-size: 17px; margin: 0 0 4px; font-weight: 600; }
.sc-studio .st-intro-note { margin: 0; color: var(--st-muted); font-size: 14px; }
.sc-studio .st-local { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 2px solid var(--st-line); box-shadow: 3px 3px 0 var(--st-line); background: var(--st-mint); transform: rotate(1deg); flex-shrink: 0; }
.sc-studio .st-local > span { font-size: 45px; line-height: 1; }
.sc-studio .st-local strong { font-size: 14px; }
.sc-studio .st-local p { font-size: 12px; margin: 4px 0 0; }
.sc-studio .st-share { position: fixed; top: 50%; right: clamp(16px, calc((100vw - 1700px) / 2 + 16px), 160px); z-index: 30; transform: translateY(-50%); }
.sc-studio .st-share-toggle { display: none; }
.sc-studio .st-share-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.sc-studio .st-share-actions a, .sc-studio .st-share-actions button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid #e7e3ed; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px #211b2d1a, 0 1px 2px #211b2d12; color: var(--st-ink); font: inherit; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
.sc-studio .st-share-actions a svg, .sc-studio .st-share-actions button svg, .sc-studio .st-share-toggle-icon svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.sc-studio .st-share-actions .st-share-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sc-studio .st-share-actions a:hover, .sc-studio .st-share-actions button:hover { transform: translateX(-2px); box-shadow: 0 4px 11px #211b2d24; background: #faf8fd; }
.sc-studio .st-share-actions [data-st-network='bluesky'] { color: #1185fe; }
.sc-studio .st-share-actions [data-st-network='x'] { color: #111; }
.sc-studio .st-share-actions [data-st-network='linkedin'] { color: #0a66c2; }
.sc-studio .st-share-actions [data-st-network='facebook'] { color: #0866ff; }
.sc-studio .st-share-actions [data-st-network='pinterest'] { color: #e60023; }
.sc-studio .st-share-actions [data-st-copy] { color: #66518d; }
.sc-studio .st-share-actions [data-tooltip]::after { position: absolute; right: calc(100% + 10px); top: 50%; z-index: 32; padding: 6px 9px; border: 1px solid #e7e0f1; border-radius: 7px; background: #fff; box-shadow: 0 3px 12px #211b2d1c; color: #322a3d; content: attr(data-tooltip); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(3px, -50%); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; pointer-events: none; }
.sc-studio .st-share-actions [data-tooltip]:hover::after, .sc-studio .st-share-actions [data-tooltip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.sc-studio .st-share-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sc-studio .st-share-status:empty { display: none; }
.sc-studio .st-share[data-mode='rail'] .st-share-native { display: none !important; }
.sc-studio .st-share[data-footer-visible] { visibility: hidden; pointer-events: none; }
@media (min-width: 1200px) and (min-height: 561px) {
  .sc-studio main, .sc-studio .st-footer { width: min(1400px, calc(100% - 132px)); }
}
@media (max-width: 1199px), (max-height: 560px) {
  .sc-studio .st-share { position: relative; top: auto; right: auto; z-index: 5; width: max-content; max-width: 100%; margin: 0 0 16px; transform: none; }
  .sc-studio .st-share-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 13px; border: 1px solid #e7e0f1; border-radius: 999px; background: #fff; box-shadow: 0 2px 7px #211b2d14; color: #51436d; font-size: 13px; font-weight: 650; cursor: pointer; }
  .sc-studio .st-share-toggle[hidden] { display: none !important; }
  .sc-studio .st-share-toggle-icon { display: inline-flex; }
  .sc-studio .st-share-toggle-icon svg { width: 17px; height: 17px; }
  .sc-studio .st-share-actions:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; width: min(360px, calc(100vw - 36px)); margin-top: 9px; padding: 10px; border: 1px solid #e7e0f1; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #211b2d16; }
  .sc-studio .st-share-actions a, .sc-studio .st-share-actions button { justify-content: flex-start; gap: 8px; flex-basis: auto; width: 100%; min-width: 0; height: auto; min-height: 42px; padding: 8px 9px; border-radius: 9px; box-shadow: none; color: #453b54; font-size: 12px; font-weight: 600; }
  .sc-studio .st-share-actions a svg, .sc-studio .st-share-actions button svg { flex: 0 0 19px; width: 19px; height: 19px; }
  .sc-studio .st-share-actions .st-share-name { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: hidden; clip-path: none; text-overflow: ellipsis; white-space: nowrap; }
  .sc-studio .st-share-actions [data-st-network='bluesky'] { color: #1185fe; }
  .sc-studio .st-share-actions [data-st-network='x'] { color: #111; }
  .sc-studio .st-share-actions [data-st-network='linkedin'] { color: #0a66c2; }
  .sc-studio .st-share-actions [data-st-network='facebook'] { color: #0866ff; }
  .sc-studio .st-share-actions [data-st-network='pinterest'] { color: #e60023; }
  .sc-studio .st-share-actions [data-st-copy] { color: #66518d; }
  .sc-studio .st-share-actions [data-st-native]:not([hidden]) { display: inline-flex; }
  .sc-studio .st-share-actions [data-tooltip]::after { content: none; }
  .sc-studio .st-share-status:not(:empty) { position: static; display: block; width: auto; height: auto; padding: 2px 4px 0; margin: 0; overflow-wrap: anywhere; clip-path: none; color: var(--st-muted); font-size: 12px; white-space: normal; }
}
.sc-studio .st-workspace { background: var(--st-white); border: 2px solid var(--st-line); border-radius: 12px; box-shadow: 6px 6px 0 var(--st-line); overflow: clip; }
.sc-studio .st-workspace-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 24px; border-bottom: 2px solid var(--st-line); background: var(--st-lavender); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.sc-studio .st-workspace-bar > span:first-child { display: flex; align-items: center; gap: 9px; }
.sc-studio .st-small { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.sc-studio .st-editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.sc-studio .st-preview-panel { padding: 22px 26px; min-width: 0; }
.sc-studio .st-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.sc-studio h2 { font-size: 16px; letter-spacing: -.3px; margin: 0; font-weight: 700; }
.sc-studio .st-badge { font-size: 10px; padding: 4px 9px; border: 1px solid var(--st-line); border-radius: 5px; background: var(--st-yellow); }
.sc-studio .st-stage { height: 420px; padding: 22px; border: 1px solid #d1cdc7; border-radius: 7px; display: flex; align-items: center; justify-content: center; background-color: #efede7; background-image: radial-gradient(#c9c5bf .8px, transparent .8px); background-size: 14px 14px; }
.sc-studio .st-stage.is-dragover { outline: 3px dashed #65409d; outline-offset: -8px; background-color: #e8def8; }
.sc-studio .st-empty { text-align: center; }
.sc-studio .st-empty-art { display: flex; align-items: center; justify-content: center; height: 88px; margin: 0 0 20px; }
.sc-studio .st-empty-art span { width: 74px; height: 84px; border: 2px solid var(--st-ink); border-radius: 7px; background: var(--st-lavender); display: grid; place-items: center; font-size: 39px; box-shadow: 3px 3px 0 var(--st-line); transform: rotate(-12deg); }
.sc-studio .st-empty-art span:nth-child(2) { background: var(--st-yellow); transform: rotate(8deg) translateY(-7px); margin-left: -14px; }
.sc-studio .st-empty-art span:nth-child(3) { background: var(--st-sky); transform: rotate(18deg); margin-left: -12px; }
.sc-studio h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -.7px; }
.sc-studio .st-empty p { color: var(--st-muted); margin: 0 0 20px; }
.sc-studio .st-empty .st-small { margin: 15px 0 0; }
.sc-studio .st-button { min-height: 46px; padding: 10px 20px; border: 2px solid var(--st-line); border-radius: 6px; font-weight: 700; background: var(--st-white); box-shadow: 3px 3px 0 var(--st-line); transition: transform .12s, box-shadow .12s; }
.sc-studio .st-button:not(:disabled):hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--st-line); }
.sc-studio .st-button:not(:disabled):active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--st-line); }
.sc-studio .st-primary { background: var(--st-lavender); }
.sc-studio #st-canvas { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 12px #24232824; touch-action: none; cursor: grab; background-color: white; background-image: conic-gradient(#e1dfdf 25%, transparent 0 50%, #e1dfdf 0 75%, transparent 0); background-size: 16px 16px; }
.sc-studio #st-canvas:active { cursor: grabbing; }
.sc-studio .st-preview-caption { display: flex; justify-content: space-between; gap: 12px; color: var(--st-muted); font-size: 12px; margin: 12px 0 22px; }
.sc-studio .st-assets-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.sc-studio #st-count { color: var(--st-muted); margin-left: 6px; }
.sc-studio .st-text-button { border: 0; background: transparent; padding: 8px 0; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; font-weight: 600; }
.sc-studio .st-assets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 6px 0; }
.sc-studio .st-asset { display: flex; min-width: 0; gap: 9px; text-align: left; align-items: center; border: 1px solid #bdb8b1; background: var(--st-paper); padding: 8px; border-radius: 5px; min-height: 62px; }
.sc-studio .st-asset[aria-pressed='true'] { border: 2px solid var(--st-line); background: #eae0fb; padding: 7px; }
.sc-studio .st-asset canvas { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.sc-studio .st-asset span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.sc-studio .st-source { font-size: 11px; color: var(--st-muted); margin: 12px 0 0; overflow-wrap: anywhere; }
.sc-studio .st-remove { display: block; color: #8b2820; }
.sc-studio .st-controls { border-left: 2px solid var(--st-line); background: #fdfcf8; min-width: 0; }
.sc-studio fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sc-studio fieldset:disabled { opacity: .55; }
.sc-studio .st-control-section { padding: 15px 20px; border-bottom: 1px solid #cfcac2; }
.sc-studio .st-control-section:last-child { border-bottom: 0; }
.sc-studio .st-control-section h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sc-studio .st-step { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--st-line); border-radius: 5px; font-size: 12px; }
.sc-studio .st-lavender { background: var(--st-lavender); }.sc-studio .st-yellow { background: var(--st-yellow); }.sc-studio .st-mint { background: var(--st-mint); }
.sc-studio .st-presets { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.sc-studio .st-preset { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 9px 2px; min-height: 62px; border: 1px solid #a9a3ab; border-radius: 5px; background: var(--st-white); font-size: 9px; }
.sc-studio .st-preset[aria-pressed='true'] { border: 2px solid var(--st-line); padding: 8px 1px; background: var(--st-lavender); }
.sc-studio .st-preset-shape { width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 1px; }
.sc-studio .st-preset[data-preset='portrait'] .st-preset-shape { width: 15px; height: 19px; }
.sc-studio .st-preset[data-preset='landscape'] .st-preset-shape { width: 23px; height: 13px; }
.sc-studio .st-preset[data-preset='story'] .st-preset-shape { width: 12px; height: 21px; }
.sc-studio .st-help { font-size: 11px; color: var(--st-muted); margin: 9px 0 0; line-height: 1.5; }
.sc-studio .st-dimensions { display: grid; grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr); gap: 9px; align-items: end; margin: 13px 0 9px; }
.sc-studio .st-dimensions > span { padding-bottom: 12px; color: var(--st-muted); }
.sc-studio .st-dimensions label { font-size: 12px; font-weight: 600; }
.sc-studio .st-dimensions label span { float: right; color: var(--st-muted); font-size: 10px; font-weight: 400; }
.sc-studio input[type='number'], .sc-studio select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid var(--st-line); border-radius: 5px; background: var(--st-white); margin-top: 5px; font-size: 13px; }
.sc-studio input[aria-invalid='true'] { border: 2px solid #9c2a20; }
.sc-studio .st-check { display: flex; align-items: center; gap: 6px; font-size: 11px; min-height: 32px; }
.sc-studio input[type='checkbox'] { accent-color: #65409d; width: 16px; height: 16px; }
.sc-studio .st-slider-label { display: flex; justify-content: space-between; font-size: 12px; margin-top: 12px; font-weight: 500; }
.sc-studio output { font-variant-numeric: tabular-nums; color: var(--st-muted); font-size: 11px; }
.sc-studio input[type='range'] { width: 100%; height: 24px; margin: 2px 0 0; accent-color: #65409d; }
.sc-studio .st-format-label { font-size: 12px; }
.sc-studio .st-background { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin-top: 8px; }
.sc-studio input[type='color'] { width: 42px; height: 30px; background: var(--st-white); border: 1px solid var(--st-line); padding: 3px; border-radius: 4px; }
.sc-studio .st-position-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc-studio .st-export { padding: 14px 16px; background: #eee6fa; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 16px; border: 1px solid var(--st-line); border-radius: 7px; margin: 0 0 18px; }
.sc-studio .st-export > p:first-child { font-size: 13px; font-weight: 600; margin: 0; }
.sc-studio #st-export { display: flex; align-items: center; justify-content: space-between; gap: 30px; grid-row: span 2; }
.sc-studio .st-export .st-help { margin: 0; }
.sc-studio .st-message { background: #fbe2d9; border: 2px solid #9c2a20; padding: 12px 18px; border-radius: 6px; margin: 20px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.sc-studio .st-status { font-size: 12px; color: var(--st-muted); margin: 18px 0; min-height: 18px; }
.sc-studio .st-footnotes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; font-size: 12px; color: var(--st-muted); border-top: 1px solid #d1cdc7; padding: 6px 0 20px; }
.sc-studio .st-footnotes strong { color: var(--st-ink); }
.sc-studio .st-footer { padding: 22px 0; border-top: 2px solid var(--st-line); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.sc-studio .st-footer span span { color: #65409d; padding: 0 5px; }
@media (min-width: 1100px) { .sc-studio .st-stage { height: clamp(300px, 42vh, 420px); } }
@media (max-width: 850px) {
  .sc-studio main, .sc-studio .st-footer { width: calc(100% - 36px); }
  .sc-studio .st-local { display: none; }
  .sc-studio .st-editor { grid-template-columns: minmax(0,1fr) 300px; }
  .sc-studio .st-preview-panel { padding: 18px; }
  .sc-studio .st-stage { height: 340px; padding: 14px; }
  .sc-studio .st-empty h3 { font-size: 18px; }
  .sc-studio .st-empty-art span { width: 50px; height: 64px; }
  .sc-studio .st-assets { grid-template-columns: 1fr 1fr; }
  .sc-studio .st-preview-caption > .st-small { display: none; }
}
@media (max-width: 650px) {
  .sc-studio .st-header { min-height: 76px; padding: 14px 18px; }
  .sc-studio .st-brand { font-size: 22px; gap: 8px; }.sc-studio .st-brand-caption { font-size: 9px; }
  .sc-studio .st-intro { padding: 26px 0 24px; }.sc-studio h1 { font-size: clamp(28px,7.6vw,44px); letter-spacing: -1px; }
  .sc-studio .st-eyebrow { font-size: 9px; letter-spacing: .08em; }
  .sc-studio .st-tagline { font-size: 14px; }.sc-studio .st-intro-note { font-size: 12px; }
  .sc-studio .st-share { align-items: flex-start; gap: 7px; padding-bottom: 16px; }
  .sc-studio .st-share-actions { gap: 6px; }
  .sc-studio .st-share-actions a, .sc-studio .st-share-actions button { min-height: 40px; padding-inline: 9px; font-size: 11px; }
  .sc-studio .st-workspace-bar { padding: 11px 15px; font-size: 10px; }
  .sc-studio .st-workspace-bar > .st-small { display: none; }
  .sc-studio .st-editor { display: block; }
  .sc-studio .st-preview-panel { display: contents; }
  .sc-studio .st-panel-heading { margin: 18px 14px; }
  .sc-studio .st-stage { height: 310px; margin: 0 14px; }
  .sc-studio .st-stage.has-image { position: sticky; top: 8px; z-index: 2; height: clamp(180px, 28dvh, 240px); box-shadow: 0 3px 0 #29262e33; }
  .sc-studio .st-preview-caption { margin: 12px 14px 18px; }
  .sc-studio .st-assets-heading { margin: 0 14px; }
  .sc-studio .st-assets { margin: 6px 14px; }
  .sc-studio .st-source { margin: 12px 14px 18px; }
  .sc-studio .st-empty-art { height: 64px; margin-bottom: 14px; }.sc-studio .st-empty h3 { font-size: 18px; }
  .sc-studio .st-empty p { font-size: 13px; margin-bottom: 15px; }
  .sc-studio .st-controls { border-left: 0; border-top: 2px solid var(--st-line); }
  .sc-studio .st-control-section { padding: 18px; }.sc-studio .st-preset { font-size: 11px; }
  .sc-studio .st-export { padding: 12px; margin: 0 14px 18px; grid-template-columns: 1fr; gap: 10px; }.sc-studio #st-export { grid-row: auto; width: 100%; }.sc-studio .st-footnotes { grid-template-columns: 1fr; gap: 0; }
  .sc-studio .st-footer { font-size: 11px; }.sc-studio .st-back { font-size: 12px; }
  .sc-studio .st-help { font-size: 12px; }.sc-studio .st-check { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sc-studio *, .sc-studio *::before, .sc-studio *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Creator Content Studio page refinements. Keep these overrides isolated
   from the Artist Portfolio Studio, which shares the base components. */
.sc-creator-studio .st-intro { padding: 24px 0 18px; }
.sc-creator-studio .st-intro h1 { margin-bottom: 0; }
.sc-creator-studio .st-eyebrow { margin-bottom: 8px; }
.sc-creator-studio .st-local { max-width: 340px; padding: 12px 16px; transform: none; }
.sc-creator-studio .st-local > span { font-size: 30px; }
.sc-creator-studio .st-local p { max-width: 30ch; line-height: 1.4; }
.sc-creator-studio .st-editor { align-items: start; background: var(--st-paper); }
.sc-creator-studio .st-preview-panel { align-self: start; background: var(--st-white); padding: 20px 24px; }
.sc-creator-studio .st-controls { align-self: start; }
.sc-creator-studio fieldset:disabled { opacity: .74; }
.sc-creator-studio .st-control-section { padding-block: 12px; }
.sc-creator-studio .st-control-section h2 { margin-bottom: 8px; }
.sc-creator-studio .st-help { margin-top: 6px; }
.sc-creator-studio .st-empty h3 { max-width: 28ch; margin-inline: auto; }
.sc-creator-studio .st-empty > p:not(.st-small) { max-width: 34ch; margin-inline: auto; line-height: 1.45; }
.sc-creator-studio #st-browse { min-height: 50px; }
.sc-creator-studio #st-assets:empty { display: none; }
.sc-creator-studio .st-assets-heading:has(+ #st-file + #st-assets:empty) { display: none; }
.sc-creator-studio #st-assets:empty + .st-source { display: none; }
.sc-creator-studio .st-status:empty { display: none; }
.sc-studio .st-bottom-info { margin: 12px 0 16px; }
.sc-studio .st-disclosure { margin: 0; overflow: hidden; border: 1px solid #d8c9f3; border-radius: 8px; background: #f4effd; box-shadow: 2px 2px 0 rgb(41 38 46 / 12%); }
.sc-studio .st-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; width: 100%; padding: 9px 13px; color: var(--st-ink); font-size: 13px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.sc-studio .st-disclosure summary::-webkit-details-marker { display: none; }
.sc-studio .st-disclosure summary:hover { background: #eee6fb; }
.sc-studio .st-disclosure summary:focus-visible { position: relative; z-index: 1; outline: 3px solid #65409d; outline-offset: -3px; border-radius: 7px; }
.sc-studio .st-disclosure-label { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.sc-studio .st-disclosure-info { flex: none; width: 18px; height: 18px; stroke: #65409d; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sc-studio .st-disclosure-chevron { flex: none; width: 8px; height: 8px; margin: -4px 3px 0 0; border-right: 2px solid #65409d; border-bottom: 2px solid #65409d; transform: rotate(45deg); transition: transform .16s ease, margin .16s ease; }
.sc-studio .st-disclosure[open] .st-disclosure-chevron { margin-top: 4px; transform: rotate(225deg); }
.sc-studio .st-disclosure[open] summary { border-bottom: 1px solid #ded2f1; }
.sc-studio .st-disclosure .st-footnotes { grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 10px 13px 13px; border: 0; }
.sc-studio .st-disclosure .st-footnotes > p { margin: 0; line-height: 1.55; }
.sc-studio .st-bottom-tools-link { margin: 9px 0 0; font-size: 13px; line-height: 1.45; }
.sc-studio .st-bottom-tools-link a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #52327f; font-weight: 600; text-decoration: underline; text-decoration-color: #b8a4dc; text-underline-offset: 3px; }
.sc-studio .st-bottom-tools-link a:hover { color: #392057; text-decoration-color: currentColor; }
.sc-studio .st-bottom-tools-link a:focus-visible { outline: 3px solid #65409d; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 850px) {
  .sc-creator-studio .st-intro { display: grid; grid-template-columns: 1fr; gap: 12px; padding-block: 22px 18px; }
  .sc-creator-studio .st-local { display: flex; width: 100%; max-width: none; }
}
@media (max-width: 650px) {
  .sc-creator-studio .st-intro { padding-block: 20px 16px; }
  .sc-creator-studio .st-local { gap: 10px; padding: 9px 12px; box-shadow: 2px 2px 0 var(--st-line); }
  .sc-creator-studio .st-local > span { font-size: 24px; }
  .sc-creator-studio .st-local p { font-size: 12px; }
  .sc-creator-studio .st-preview-panel { padding: 0; }
  .sc-creator-studio .st-control-section { padding: 16px; }
  .sc-studio .st-bottom-info { margin: 9px 0 12px; }
  .sc-studio .st-disclosure summary { padding: 9px 11px; }
  .sc-studio .st-disclosure .st-footnotes { grid-template-columns: 1fr; gap: 8px; padding: 8px 11px 11px; }
}
