/* The signer's page (record 0094): plain, readable on a phone, light and dark. */
:root {
    color-scheme: light dark;
    --ink: #1b1f24;
    --paper: #ffffff;
    --muted: #57606a;
    --yes: #1a7f37;
    --no: #b42318;
    --line: #d0d7de;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e6edf3;
        --paper: #0d1117;
        --muted: #9198a1;
        --yes: #3fb950;
        --no: #f85149;
        --line: #30363d;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
}

main {
    max-width: 34rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

h1 {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

h2 {
    font-size: 1.1rem;
}

section {
    border-top: 1px solid var(--line);
    padding-top: 0.5rem;
}

button {
    font: inherit;
    font-size: 1.05rem;
    padding: 0.75rem 1.25rem;
    min-height: 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    background: var(--ink);
    color: var(--paper);
}

button:disabled {
    opacity: 0.5;
}

.answer {
    font-weight: 600;
    min-height: 3rem;
}

.answer[data-tone="yes"] {
    color: var(--yes);
}

.answer[data-tone="no"] {
    color: var(--no);
}

.answer[data-tone="wait"] {
    color: var(--muted);
}
