:root { color-scheme: light; --dark: #220a34; --purple: #3b1163; --gold: #f7b200; --ink: #1d1a22; --muted: #5a5266; --bg: #fbf9fd; --line: #e4dded; --danger: #9b0f2a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); }
main { max-width: 520px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 24px; color: var(--purple); margin: 0 0 8px; border-bottom: 3px solid var(--gold); padding-bottom: 8px; }
h2 { font-size: 18px; margin: 24px 0 8px; }
.note { color: var(--muted); font-size: 14px; }
label { display: block; margin: 14px 0 4px; font-weight: 600; }
input { width: 100%; min-height: 44px; font: inherit; padding: 8px 10px; border: 1px solid #bdb4cf; border-radius: 8px; background: #fff; }
button { min-height: 44px; margin-top: 14px; padding: 0 20px; font: inherit; font-weight: 600; color: var(--dark); background: var(--gold); border: 0; border-radius: 10px; cursor: pointer; }
button.link { min-height: 32px; margin: 0; padding: 0; background: none; color: var(--purple); text-decoration: underline; font-weight: 400; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mono { font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
pre.mono { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; white-space: pre-wrap; }
.message { min-height: 1.5em; color: var(--danger); font-weight: 600; }
ul { padding-left: 20px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* Telegram testers (ADM-T1) */
main.wide { max-width: 1000px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 16px; align-items: end; }
.grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.grid input { min-height: 44px; font: inherit; padding: 0 10px; border: 1px solid #8a8398; border-radius: 8px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ddd6e8; vertical-align: top; }
td.actions { display: flex; flex-wrap: wrap; gap: 6px; }
td.actions button, .code-box button { min-height: 44px; }
.code-box { border: 2px solid #3b1163; border-radius: 10px; padding: 12px 16px; background: #f7f1ff; margin: 12px 0; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 28px; letter-spacing: .12em; font-weight: 700; margin: 6px 0; }
