* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f4f4f5;
    color: #18181b;
    min-height: 100vh;
    padding: 24px;
}

.container{
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

header{
    background: #18181b;
    color: white;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.35rem;
    font-weight: 600;
}

#generate-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

#generate-btn:hover:not(:disabled) {
    background: #2563eb;
}

#generate-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

.status {
    padding: 12px 28px;
    font-size: 0.9rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    display: none;
}

.status.visible {
    display: block;
}

.status.error {
    background: #fef2f2;
    color: #b91c1c;
}

.status.success {
    background: #f0fdf4;
    color: #15803d;
}

#report {
    padding: 28px;
    margin: 0;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-x: auto;
    min-height: 300px;
}

.loading-text {
    color: #64748b;
    font-style: italic;
}
