body {
    font-family: system-ui, sans-serif;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.repo-link {
    font-size: 0.7em;
    font-weight: normal;
}

.repo-link a {
    color: inherit;
    text-decoration: underline;
}

.cards {
    display: grid;
    gap: 1rem;
}

.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
}

.row {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
}

.model-select {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

.model-label {
    font-size: .85rem;
    font-weight: 600;
    color: #444;
}

.model-btn {
    background: #f2f2f2;
    border-color: #d0d0d0;
    color: #2b2b2b;
}

.model-btn:hover:not(.active) {
    background: #ffd8dd;
    border-color: #e63746;
    color: #2b2b2b;
}

.model-btn.active {
    background: #e63746;
    color: #fff;
    border-color: #e63746;
}

pre {
    white-space: pre-wrap;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    max-height: 320px;
    overflow: auto;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    letter-spacing: .01em;
    font-size: 1rem;
    word-break: break-word;
    margin-top: 1rem;
}

.muted {
    color: #666;
    font-size: .9rem;
    padding-bottom: 1rem;
}

.hidden {
    display: none;
}

button {
    padding: .5rem .8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

input[type=file] {
    padding: .4rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab {
    padding: .4rem .7rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
}

.tab.active {
    background: #e63746; /* ZoomInfo primary red */
    color: #fff;
    border-color: #e63746;
}
