/* Storyfellow — Export utility page. Same canvas as Collaborate. */

#screen-export {
    padding: var(--st-page-pad-y) var(--st-page-pad-x) 0;
    align-items: stretch;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
}

#screen-export > .brand-bar {
    flex: 0 0 auto;
    width: 100%;
}

#screen-export > .export-layout {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    overflow: visible;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    padding: 56px 0 64px;
    text-align: left;
    animation: st-fade-in var(--st-duration-slow) var(--st-ease) both;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    #screen-export > .export-layout {
        max-width: var(--st-desktop-canvas);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #screen-export .export-copy,
    #screen-export .export-note {
        max-width: none;
    }
}

.export-header {
    margin: 0 0 32px;
}

.export-title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.15rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--st-ink);
}

.export-lead {
    margin: 0 0 8px;
    font-size: var(--st-size-lead, 1.125rem);
    line-height: 1.55;
    color: var(--st-ink);
}

.export-copy,
.export-note {
    margin: 0;
    max-width: 32em;
    font-size: var(--st-size-body, 1rem);
    line-height: 1.55;
    color: var(--st-text);
}

.export-note {
    margin-top: 12px;
}

.export-status {
    margin: 0 0 24px;
    color: var(--st-text);
}

.export-status.is-error {
    color: var(--st-ink);
}

.export-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.export-section {
    margin: 0;
}

.export-label {
    display: block;
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.export-submit {
    margin-top: 8px;
    align-self: flex-start;
}

.export-submit:disabled,
.export-done:disabled {
    opacity: 0.45;
    cursor: default;
}

.export-footer {
    margin-top: 24px;
}
