:root {
    color-scheme: light dark;
    --fundo: #f7f7f5;
    --texto: #1f1f1f;
    --borda: #ddd;
    --destaque: #2a6f4b;
}

@media (prefers-color-scheme: dark) {
    :root {
        --fundo: #1a1a1a;
        --texto: #eee;
        --borda: #3a3a3a;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font-family: system-ui, sans-serif;
}

.cabecalho {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--borda);
}

.marca {
    font-weight: 700;
    font-size: 1.1rem;
}

.conteudo {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cartao {
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.formulario label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.formulario input,
.formulario textarea {
    padding: 0.5rem;
    border: 1px solid var(--borda);
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
}

button {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: var(--destaque);
    color: white;
    cursor: pointer;
    font: inherit;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
}

.tabela th,
.tabela td {
    text-align: left;
    padding: 0.5rem;
    border-bottom: 1px solid var(--borda);
}

.vazio {
    color: color-mix(in srgb, var(--texto) 60%, transparent);
    font-size: 0.9rem;
}

.erro {
    color: #c0392b;
    font-size: 0.9rem;
}

.ponto-configurado {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--destaque);
}
