/* SPDX-License-Identifier: AGPL-3.0-or-later */

.gen-root {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.gen-stats {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.gen-stats h2 {
    color: var(--accent-strong);
    font-size: 14px;
    margin: 0 0 12px;
}

.gen-stats .row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid var(--bg-elevated);
    font-size: 12px;
}
.gen-stats .row:last-child { border-bottom: none; }
.gen-stats .row .lbl { color: var(--text-muted); }
.gen-stats .row .val { color: var(--text); font-weight: 600; }

.gen-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.gen-actions .btn-build {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.gen-actions .btn-build:hover { background: var(--accent-strong); }
.gen-actions .btn-build:disabled { opacity: 0.5; cursor: not-allowed; }

.gen-output {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 20px;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    max-height: 300px;
    overflow: auto;
    white-space: pre;
    color: var(--text);
}
