/* main.css — frozen legacy stylesheet.
 *
 * Everything the auth/join pages needed (form.auth, .message, and the old
 * admin component classes) was deleted when those pages moved to the mk-*
 * standard. What remains is the page skeleton for the two templates that
 * are still deliberately legacy — the projector views (view-task,
 * view-training) — plus the handful of selectors mk-* pages still lean on.
 * Do not add to this file: new UI belongs in ui.css. */

:root {
    --fg: #1a1a1a;
    --bg: #ffffff;
    --accent: #2456a4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.5;
}

/* Legacy page skeleton; pages migrated to the mk-* standard opt out
   via body.mk-page and use .mk-container instead. */
body:not(.mk-page) main {
    max-width: 60rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

body:not(.mk-page) h1 {
    color: var(--accent);
}

.rendered {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.75rem;
    background: #fafafa;
}

#statement-body {
    width: 100%;
    font-family: ui-monospace, monospace;
    font-size: 0.9rem;
    padding: 0.5rem;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.verdict {
    margin-top: 1rem;
}

/* Projector mode (Spec §11): large-format viewing for the classroom
   screen; layouts must not contradict the future synchronous mode. */
.projector {
    font-size: 1.8rem;
    max-width: 56rem;
    margin: 0 auto;
    padding: 1rem;
}

.projector .rendered {
    background: #fff;
    border: none;
    font-size: inherit;
}

.projector .katex {
    font-size: 1.15em;
}

.projector-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.projector-nav button {
    font-size: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}
