import { escapeHtml } from "../../html.ts"; export const PAGE_CSS = `body{font-family:system-ui,sans-serif;max-width:640px;margin:2rem auto;padding:0 1rem;color:#1b2430} button{background:#183e78;color:#fff;border:0;border-radius:6px;padding:.6rem 1.2rem;font-size:1rem;cursor:pointer} fieldset{margin:1rem 0;border:1px solid #ccd3de;border-radius:6px}h1{font-size:1.4rem}.err{color:#b00020}`; /** Страница кандидата: вся логика во внешнем скрипте (CSP без inline). Токен — из пути. */ export function renderTestPage(token: string): string { return `