.sw-submit {
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
    min-height: 100vh;
    background: var(--aloha-surface, #fff);
}

.sw-submit__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.sw-submit__back {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;
}

.sw-submit__header h1 {
    margin: 0;
    font-size: 1.25rem;
}

.sw-submit__header p {
    margin: 0.15rem 0 0;
    color: var(--aloha-muted, #64748b);
    font-size: 0.88rem;
}

.sw-submit__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sw-submit__tab {
    border: 1px solid var(--aloha-border, #e2e8f0);
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem;
    font-weight: 600;
    cursor: pointer;
}

.sw-submit__tab.is-active {
    background: var(--aloha-red, #e30613);
    border-color: var(--aloha-red, #e30613);
    color: #fff;
}

.sw-submit__mode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sw-mode-btn {
    border: 1px solid var(--aloha-border, #e2e8f0);
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.sw-mode-btn.is-active {
    border-color: rgba(227, 6, 19, 0.35);
    background: rgba(227, 6, 19, 0.06);
    color: var(--aloha-red, #e30613);
}

.sw-editor__canvas-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    aspect-ratio: 1;
    margin-bottom: 0.85rem;
}

.sw-editor__canvas-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.sw-editor__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.sw-editor__placeholder i {
    font-size: 2rem;
}

.sw-editor__tools {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.sw-tool-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--aloha-muted, #64748b);
}

.sw-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sw-filter {
    border: 1px solid var(--aloha-border, #e2e8f0);
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    cursor: pointer;
}

.sw-filter.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.sw-text-preview {
    min-height: 280px;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.sw-text-preview__input {
    width: 100%;
    min-height: 180px;
    border: none;
    background: transparent;
    resize: none;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    outline: none;
}

.sw-text-preview__input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.sw-bg-picker {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sw-bg {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
}

.sw-bg.is-active {
    border-color: #111827;
    box-shadow: 0 0 0 2px #fff inset;
}

.sw-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 220px;
    border: 2px dashed var(--aloha-border, #cbd5e1);
    border-radius: 16px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.sw-upload-zone i {
    font-size: 2rem;
    color: var(--aloha-red, #e30613);
}

#swVideoPreview {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.sw-submit__fields {
    display: grid;
    gap: 0.85rem;
}

.sw-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.sw-gdpr {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.45;
}

.sw-gdpr input {
    margin-top: 0.2rem;
}

.sw-submit__panel[hidden] {
    display: none !important;
}

.sw-preview-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--aloha-border, #e2e8f0);
    background: #fff;
}

.sw-preview-hint {
    text-align: center;
    color: var(--aloha-muted, #64748b);
    font-size: 0.88rem;
}

.sw-submit__alert {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.sw-submit__alert.is-success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.sw-submit__alert.is-error {
    background: rgba(227, 6, 19, 0.1);
    color: #991b1b;
}

.sw-submit__progress {
    margin: 1rem 0;
}

.sw-submit__progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.sw-submit__progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--aloha-red, #e30613);
    transition: width 0.2s;
}

.sw-submit__actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.sw-btn--primary {
    background: var(--aloha-red, #e30613);
    color: #fff;
}

.sw-btn--ghost {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
}

.sw-btn--sm {
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
}

body.sw-submit-page .site-header,
body.sw-submit-page .site-footer,
body.sw-submit-page .sticky-event-link {
    display: none;
}

body.sw-submit-page {
    padding-bottom: 0;
}

body:has(.sw-submit) .site-header,
body:has(.sw-submit) .site-footer,
body:has(.sw-submit) .sticky-event-link {
    display: none;
}
