:root {
    --surface: #f8fafc;
    --card-border: #e2e8f0;
}

body {
    background: var(--surface);
}

.stat-card {
    border: 1px solid var(--card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.card {
    border: 1px solid var(--card-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card-header {
    background: #fff;
    font-weight: 600;
}

.preview-frame {
    width: 100%;
    min-height: 500px;
    border: 1px solid var(--card-border);
    border-radius: 0.375rem;
    background: #fff;
}

.group-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #fff;
}

.html-editor {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    min-height: 320px;
}

.table td, .table th {
    vertical-align: middle;
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--card-border);
}

.letter-spacing {
    letter-spacing: 0.35em;
}
