.ai-ppt-page {
    min-height: 100%;
    padding: 36px 40px;
    background: var(--bg-main);
    color: var(--text-primary);
}

.ai-ppt-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ai-ppt-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.ai-ppt-kicker {
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ai-ppt-header h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.ai-ppt-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.ai-ppt-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.ai-ppt-panel,
.ai-ppt-preview {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
}

.ai-ppt-label {
    display: block;
    margin: 0 0 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}

.ai-ppt-input,
.ai-ppt-textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-panel-light);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 14px;
    outline: none;
    margin-bottom: 16px;
}

.ai-ppt-textarea {
    height: 122px;
    resize: vertical;
    line-height: 1.6;
}

.ai-ppt-input:focus,
.ai-ppt-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(52,199,89,.12);
}

.ai-ppt-primary {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--accent-green);
    color: #06140a;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
}

.ai-ppt-primary:disabled {
    opacity: .6;
    cursor: wait;
}

.ai-ppt-preview {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(52,199,89,.08), transparent 38%),
        var(--bg-panel);
}

.ai-ppt-status {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
}

.ai-ppt-result {
    width: min(520px, 100%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-main);
}

.ai-ppt-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52,199,89,.14);
    color: var(--accent-green);
    font-size: 15px;
    font-weight: 900;
}

.ai-ppt-result-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 10px;
}

.ai-ppt-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--accent-green);
    color: #06140a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .ai-ppt-page {
        padding: 20px 16px 32px;
    }
    .ai-ppt-header {
        flex-direction: column;
    }
    .ai-ppt-layout {
        grid-template-columns: 1fr;
    }
    .ai-ppt-preview {
        min-height: 260px;
    }
}
