/* Editable Figure Studio — page-specific styles (extends site tokens from style.css) */

.studio-page {
    min-height: calc(100vh - 62px);
    background: var(--bg-primary, #eee9df);
    padding: 40px 20px 72px;
}

.studio-hero {
    max-width: 920px;
    margin: 0 auto 28px;
    text-align: center;
}

.studio-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-primary, #1d1c1a);
    margin: 0 0 14px;
    letter-spacing: 0.2px;
}

.studio-hero-title .brand-accent {
    color: var(--brand-ef-color, #8b5e3c);
}

.studio-hero-subtitle {
    margin: 0 auto 8px;
    max-width: 760px;
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-secondary, #6f6b65);
}

.studio-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.studio-workflow-tabs-wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto 22px;
}

.studio-workflow-tabs-below-nav {
    margin: 8px auto 20px;
}

.studio-workflow-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(104px, 1fr));
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(29, 28, 26, 0.1);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(29, 28, 26, 0.04);
}

.studio-workflow-tab {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 9px 24px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #6f6b65);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    text-align: center;
}

.studio-workflow-tab:hover {
    color: var(--text-primary, #1d1c1a);
}

.studio-workflow-tab.is-active {
    background: rgba(139, 94, 60, 0.18);
    color: var(--text-primary, #1d1c1a);
    box-shadow: inset 0 0 0 1px rgba(139, 94, 60, 0.28);
}

.studio-card {
    background: #fff;
    border: 1px solid rgba(29, 28, 26, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(29, 28, 26, 0.06);
    padding: 18px 18px 14px;
}

.studio-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px 20px;
    margin-bottom: 14px;
}

.studio-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    margin-bottom: 0;
}

.studio-credit-hint {
    margin: 0;
    flex: 0 0 auto;
    max-width: none;
    text-align: left;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #8a8175;
    white-space: nowrap;
}

.studio-toolbar-right .studio-credit-hint {
    margin-right: 2px;
}

.studio-mode-tab {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #6f6b65);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.studio-mode-tab:hover {
    background: rgba(29, 28, 26, 0.05);
    color: var(--text-primary, #1d1c1a);
}

.studio-mode-tab.is-active {
    background: rgba(139, 94, 60, 0.12);
    color: var(--text-primary, #1d1c1a);
    font-weight: 600;
}

.studio-hint {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary, #6f6b65);
    font-family: Inter, system-ui, sans-serif;
}

.studio-prompt {
    width: 100%;
    min-height: 120px;
    border: none;
    resize: vertical;
    outline: none;
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-primary, #1d1c1a);
    background: transparent;
    padding: 4px 2px 12px;
}

.studio-prompt::placeholder {
    color: #a8a49c;
}

.studio-attach-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(29, 28, 26, 0.04);
}

.studio-attach-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(29, 28, 26, 0.08);
}

.studio-attach-meta {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: var(--text-secondary, #6f6b65);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.studio-attach-clear {
    border: none;
    background: transparent;
    color: var(--text-secondary, #6f6b65);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 6px;
}

.studio-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid rgba(29, 28, 26, 0.06);
}

.studio-toolbar-left,
.studio-toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.studio-toolbar-right {
    gap: 14px;
}

.studio-icon-btn,
.studio-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #1d1c1a);
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.studio-icon-btn:hover,
.studio-select-btn:hover {
    background: rgba(29, 28, 26, 0.05);
}

.studio-icon-btn svg,
.studio-select-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.studio-select-btn.is-open {
    background: rgba(29, 28, 26, 0.06);
}

.studio-submit-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--accent-color, #2c2a27);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(44, 42, 39, 0.22);
    transition: transform 0.12s ease, opacity 0.12s ease;
}

.studio-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.studio-submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.studio-submit-btn svg {
    width: 18px;
    height: 18px;
}

.studio-popover {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    z-index: 40;
    background: #fff;
    border: 1px solid rgba(29, 28, 26, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(29, 28, 26, 0.12);
    padding: 10px;
    min-width: 200px;
}

.studio-popover-left {
    left: 0;
    right: auto;
}

.studio-model-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.studio-model-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #1d1c1a);
    cursor: pointer;
    white-space: nowrap;
}

.studio-model-option:hover {
    background: rgba(29, 28, 26, 0.05);
}

.studio-model-option.is-active {
    background: var(--accent-color, #2c2a27);
    color: #fff;
}

.studio-aspect-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(56px, 1fr));
    gap: 8px;
    min-width: 280px;
}

.studio-aspect-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 10px 6px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary, #1d1c1a);
    cursor: pointer;
}

.studio-aspect-option:hover {
    background: rgba(29, 28, 26, 0.05);
}

.studio-aspect-option.is-active {
    background: var(--accent-color, #2c2a27);
    color: #fff;
}

.studio-aspect-icon {
    width: 22px;
    height: 16px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    opacity: 0.85;
}

.studio-aspect-icon.r-auto {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border-style: dashed;
}

.studio-aspect-icon.r-21-9 { width: 28px; height: 12px; }
.studio-aspect-icon.r-16-9 { width: 26px; height: 14px; }
.studio-aspect-icon.r-3-2 { width: 24px; height: 16px; }
.studio-aspect-icon.r-4-3 { width: 22px; height: 16px; }
.studio-aspect-icon.r-5-4 { width: 20px; height: 16px; }
.studio-aspect-icon.r-1-1 { width: 16px; height: 16px; }
.studio-aspect-icon.r-4-5 { width: 16px; height: 20px; }
.studio-aspect-icon.r-3-4 { width: 16px; height: 22px; }
.studio-aspect-icon.r-2-3 { width: 16px; height: 24px; }
.studio-aspect-icon.r-9-16 { width: 14px; height: 26px; }

.studio-workspace {
    margin-top: 24px;
    background: #fff;
    border: 1px solid rgba(29, 28, 26, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(29, 28, 26, 0.06);
    padding: 16px 18px 18px;
}

.studio-workspace-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(29, 28, 26, 0.06);
}

.studio-workspace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.studio-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29, 28, 26, 0.12);
    background: #fff;
    border-radius: 10px;
    padding: 9px 14px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1d1c1a);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.studio-action-btn:hover:not(:disabled) {
    background: rgba(29, 28, 26, 0.04);
    border-color: rgba(29, 28, 26, 0.22);
}

.studio-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.studio-action-btn-primary {
    background: var(--accent-color, #2c2a27);
    border-color: var(--accent-color, #2c2a27);
    color: #fff;
}

.studio-action-btn-primary:hover:not(:disabled) {
    background: #1f1e1c;
    border-color: #1f1e1c;
}

.studio-workspace-body {
    min-height: 180px;
}

.studio-result-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(29, 28, 26, 0.03);
    border: 1px solid rgba(29, 28, 26, 0.06);
    text-align: center;
}

.studio-result-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.studio-empty-hint,
.studio-convert-status {
    text-align: center;
    padding: 48px 20px;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text-secondary, #6f6b65);
}

/* Convert: direct upload zone (no generated image) */
.studio-convert-upload {
    padding: 32px 20px;
}

.studio-convert-upload-inner {
    max-width: 520px;
    margin: 0 auto;
    border: 2px dashed rgba(139, 94, 60, 0.3);
    border-radius: 16px;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(139, 94, 60, 0.04);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.studio-convert-upload-inner:hover {
    background: rgba(139, 94, 60, 0.08);
    border-color: rgba(139, 94, 60, 0.52);
}

.studio-convert-upload-icon {
    width: 48px;
    height: 48px;
    color: rgba(139, 94, 60, 0.55);
    flex-shrink: 0;
}

.studio-convert-upload-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1d1c1a);
    font-family: Inter, system-ui, sans-serif;
}

.studio-convert-upload-hint {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary, #6f6b65);
    text-align: center;
    max-width: 380px;
    font-family: Inter, system-ui, sans-serif;
}

.studio-convert-upload-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(29, 28, 26, 0.38);
    font-family: Inter, system-ui, sans-serif;
}

.studio-convert-ready {
    padding: 20px 16px 28px;
    text-align: center;
}

.studio-convert-ready-hint {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-secondary, #6f6b65);
    font-family: Inter, system-ui, sans-serif;
}

/* Edit: empty / no SVG state */
.studio-edit-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 20px 48px;
    gap: 12px;
    font-family: Inter, system-ui, sans-serif;
}

.studio-edit-empty-icon {
    width: 52px;
    height: 52px;
    color: rgba(139, 94, 60, 0.45);
    margin-bottom: 4px;
}

.studio-edit-empty-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary, #1d1c1a);
}

.studio-edit-empty-hint {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, #6f6b65);
    max-width: 380px;
}

.studio-convert-status h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--text-primary, #1d1c1a);
}

.studio-convert-status p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

.studio-convert-wait-hint {
    margin: -8px 0 0 !important;
    font-size: 13px !important;
    color: var(--text-secondary, #6f6b65);
    opacity: 0.92;
}

.studio-convert-status.is-error h3 {
    color: var(--danger-color, #DC2626);
}

.studio-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    border: 3px solid rgba(29, 28, 26, 0.12);
    border-top-color: var(--accent-color, #2c2a27);
    border-radius: 50%;
    animation: studio-spin 0.8s linear infinite;
}

@keyframes studio-spin {
    to { transform: rotate(360deg); }
}

.studio-status {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-secondary, #6f6b65);
    font-family: Inter, system-ui, sans-serif;
}

.studio-status.is-error {
    color: var(--danger-color, #DC2626);
}

.studio-edit-body.is-loading .studio-editor-loading {
    opacity: 1;
}

.studio-editor-toolbar-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 2px 2px 0;
}

.studio-editor-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.studio-editor-title-mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(139, 94, 60, 0.16), rgba(139, 94, 60, 0.08));
    border: 1px solid rgba(139, 94, 60, 0.22);
    color: var(--brand-ef-color, #8b5e3c);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.studio-editor-title-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.studio-editor-title-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary, #1d1c1a);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-editor-title-sub {
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(111, 107, 101, 0.78);
}

.studio-editor-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.studio-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(139, 94, 60, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, #fffefb 0%, #f7f1e8 100%);
    color: var(--brand-ef-color, #8b5e3c);
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(29, 28, 26, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.studio-export-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.studio-export-btn:hover:not(:disabled) {
    border-color: rgba(139, 94, 60, 0.48);
    background: linear-gradient(180deg, #ffffff 0%, #f1e7da 100%);
    box-shadow: 0 4px 12px rgba(139, 94, 60, 0.12);
}

.studio-export-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.studio-fullscreen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(29, 28, 26, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary, #1d1c1a);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.studio-fullscreen-btn:hover {
    background: rgba(139, 94, 60, 0.08);
    border-color: rgba(139, 94, 60, 0.28);
    color: var(--brand-ef-color, #8b5e3c);
}

.studio-fullscreen-btn svg {
    width: 17px;
    height: 17px;
}

.studio-editor-frame-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: min(72vh, 760px);
    min-height: 480px;
    background: #f4f4f2;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(29, 28, 26, 0.06);
    padding: 12px 12px 0;
}

.studio-editor-frame-wrap .studio-editor-toolbar-mini {
    margin-bottom: 10px;
}

.studio-editor-frame {
    width: 100%;
    flex: 1;
    min-height: 0;
    height: auto;
    border: none;
    display: block;
    background: #f4f4f2;
    border-radius: 10px 10px 0 0;
}

/* Keep site navbar visible; expand editor below it */
body.studio-editor-is-fullscreen {
    overflow: hidden;
}

.studio-editor-frame-wrap.is-fullscreen {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 180;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border-width: 1px 0 0;
    padding: 14px 16px 0;
    background: var(--bg-primary, #eee9df);
    box-shadow: none;
}

.studio-editor-frame-wrap.is-fullscreen .studio-editor-frame {
    border-radius: 12px 12px 0 0;
    background: #f4f4f2;
}

@media (max-width: 640px) {
    .studio-editor-title-sub {
        display: none;
    }

    .studio-editor-title-text {
        font-size: 15px;
    }

    .studio-export-btn span {
        display: none;
    }

    .studio-export-btn {
        width: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 10px;
    }
}

.studio-editor-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 244, 242, 0.92);
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    color: var(--text-secondary, #6f6b65);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.studio-edit-body.is-loading .studio-editor-loading {
    opacity: 1;
}

.studio-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(29, 28, 26, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.studio-modal {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(29, 28, 26, 0.22);
    padding: 18px 18px 14px;
}

.studio-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.studio-modal-header h3 {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #1d1c1a);
}

.studio-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: var(--text-secondary, #6f6b65);
    cursor: pointer;
}

.studio-modal-hint {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary, #6f6b65);
    font-family: Inter, system-ui, sans-serif;
}

.studio-modal-prompt {
    min-height: 100px;
    border: 1px solid rgba(29, 28, 26, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(29, 28, 26, 0.02);
}

.studio-modal-toolbar {
    margin-top: 8px;
    border-top: none;
    padding-top: 0;
}

.studio-hidden-input {
    display: none;
}

.studio-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 1300;
    max-width: min(90vw, 420px);
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--accent-color, #2c2a27);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 12px 30px rgba(29, 28, 26, 0.2);
}

.studio-toast.is-error {
    background: var(--danger-color, #DC2626);
}

.studio-toast.is-success {
    background: var(--success-color, #059669);
}

@media (max-width: 640px) {
    .studio-page {
        padding: 24px 14px 56px;
    }

    .studio-card,
    .studio-workspace {
        padding: 14px;
        border-radius: 16px;
    }

    .studio-credit-hint {
        max-width: none;
        text-align: left;
        margin: 0;
        white-space: normal;
    }

    .studio-toolbar {
        flex-wrap: wrap;
    }

    .studio-toolbar-right {
        width: 100%;
        justify-content: flex-end;
        gap: 14px;
    }

    .studio-aspect-grid {
        grid-template-columns: repeat(3, minmax(56px, 1fr));
        min-width: 220px;
    }

    .studio-workspace-header {
        flex-direction: column;
        align-items: stretch;
    }

    .studio-workspace-actions {
        justify-content: stretch;
    }

    .studio-action-btn {
        flex: 1;
    }

    .studio-editor-frame-wrap {
        min-height: 420px;
        height: 60vh;
    }
}
