/* Shared interface only: each format keeps its original artwork and export dimensions. */
.guided-studio #main {width:min(100%,1400px);max-width:none;padding:0 clamp(12px,3vw,44px) 12px}
.workspace-toolbar {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e4e4e1}
.workspace-nav,.workspace-actions {display:flex;gap:8px;align-items:center}
.workspace-nav {min-width:0;gap:16px}
.workspace-nav>.backlink {padding:8px 12px 8px 0;flex:none;font-size:.875rem;border-right:1px solid #dededa}
.workspace-title {min-width:0}
.workspace-title span {font:400 1rem/1.2 var(--studio-title)}
.workspace-title h1 {margin:1px 0 0;font:700 1.25rem/1.3 var(--studio-text);letter-spacing:-.04em}
.workspace-actions :is(.pill,.btn),.workspace-modes .pill {min-height:42px;margin:0;padding:7px 13px;font-size:.875rem;line-height:1.2;white-space:nowrap}
.workspace-context {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:7px 0}
.workspace-context .pills {display:flex;gap:6px;flex-wrap:wrap;margin:0}
.workspace-context .pills:has(>.pill:only-child) {display:none}
.workspace-context .pills>.pill {min-height:38px;margin:0;padding:6px 12px}
.workspace-modes {display:none}
.guided-studio .workgrid {box-sizing:border-box;margin:0;gap:0}
.guided-studio .workgrid>.editor,.guided-studio .workgrid>.previewbox {border:0;box-shadow:none;min-width:0}
.guided-studio .workgrid>.editor {scroll-margin:8px}
.guided-studio .workgrid>.previewbox {background:#f6f6f3;padding:14px clamp(12px,3vw,36px)}
.guided-studio .previewbox .live-art {box-sizing:border-box;padding:7px;flex:1;min-height:0;height:auto;max-width:510px}
.guided-studio .previewbox[data-workspace-kind="invite"] .live-art {
 width:min(100%,340px);background:#fff;border:5px solid #252523;border-radius:18px;
 box-shadow:0 9px 24px #16181312;
}
.guided-studio .previewbox .live-art canvas {height:100%;max-width:none}
.guided-studio .editor :is(.step-panel h2,.step-panel legend) {font-family:var(--studio-text)}
.guided-studio .editor .step-panel h2 {line-height:1.27;letter-spacing:-.035em}
.guided-studio .editor .step-hint {font-size:.93rem;line-height:1.5}
.guided-studio .editor .step-nav button {min-width:0;min-height:49px;background:#fff;color:#191919;border-color:#dededa}
.guided-studio .editor .step-nav button[aria-current="step"] {background:#eeefec!important;color:#191919!important;border-color:#dededa!important;box-shadow:inset 0 -2px #262623}
.guided-studio .editor .step-nav button span {white-space:normal;overflow-wrap:anywhere}
.workspace-catalog-nav {margin-bottom:18px;font-family:"SUIT",system-ui,sans-serif}
.guided-studio .studio-page-buttons {border-bottom:1px solid #e4e4e1;padding-bottom:8px}
@media(min-width:821px) {
 body.guided-studio {height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
 .guided-studio #header {width:100%;margin:0;min-height:54px;padding:10px clamp(12px,3vw,44px)}
 .guided-studio #main {height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
 .guided-studio #foot {display:none}
 .guided-studio .workgrid {min-height:0;grid-template-columns:minmax(0, .96fr) minmax(0,1fr);align-items:stretch;border:1px solid #e4e4e1}
 .guided-studio .workgrid>.previewbox {grid-column:1;grid-row:1;position:relative;top:auto;align-self:stretch;min-height:0;overflow:hidden}
 .guided-studio .workgrid>.editor {grid-column:2;grid-row:1;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-left:1px solid #e4e4e1;min-height:0;padding:16px clamp(14px,3vw,42px) 32px}
 .guided-studio .workgrid[data-workspace-view="preview"] {grid-template-columns:minmax(0,1fr)}
}
.guided-studio .workgrid[data-workspace-view="preview"]>.editor {display:none}
@media(max-width:820px) {
 .workspace-toolbar {gap:8px;padding:8px 0}
 .workspace-nav {gap:7px}
 .workspace-nav>.backlink {padding-right:7px}
 .workspace-title span {font-size:.875rem}
 .workspace-title h1 {font-size:1.03rem}
 .workspace-actions {gap:4px}
 .workspace-actions :is(.pill,.btn) {padding:6px 8px}
 .workspace-desktop-preview {display:none}
 .workspace-controls {position:sticky;top:0;z-index:8;background:#fff}
 .workspace-context {flex-wrap:wrap;gap:6px;padding:4px 0}
 .workspace-modes {display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
 .workspace-modes [aria-pressed="true"] {background:#111;color:#fff;border-color:#111}
 .guided-studio .workgrid {display:block}
 .guided-studio .workgrid>.editor {width:100%;padding:10px 2px 20px}
 .guided-studio .workgrid>.previewbox {position:relative;top:auto;width:100%;height:clamp(350px,72dvh,680px);padding:10px 12px;gap:6px}
 .guided-studio .workgrid[data-workspace-view="edit"]>.previewbox {display:none}
 .guided-studio .workgrid>.editor,.guided-studio .type-options {scroll-margin-top:158px}
}
.guest-presentation-settings {border-top:1px solid #dededa;padding:10px 0}
.guest-presentation-settings>summary {cursor:pointer;min-height:42px;align-content:center}
.guest-presentation-settings output {font-weight:700}
.guest-section-order {list-style:none;padding:0}
.guest-section-order li {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:4px 0}
.guest-section-order .pill {min-height:38px;margin:0;padding:6px 10px}
.guest-section-order button:disabled {opacity:.45}
.guesttext p {font-size:var(--guest-font-size,16px);line-height:var(--guest-leading,inherit)}
.connected-guest p {font-size:var(--guest-font-size,inherit);line-height:var(--guest-leading,inherit)}
.guest-gallery-note {white-space:pre-line;overflow-wrap:anywhere}
.guesttext .guest-countdown {font-size:.88rem;font-weight:700;letter-spacing:.025em;margin:14px auto}
.guesttext .guest-countdown.capsule {border:1px solid currentColor;border-radius:999px;width:fit-content;padding:4px 14px}
