:root {
  --bg: #0f1420; --card: #171e2e; --line: #26304a; --text: #e8ecf5; --muted: #8b96b0;
  --accent: #f5b83d; --accent-text: #1a1300;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand span { color: var(--accent); }
.tag { color: var(--muted); font-size: 13px; }
.layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px;
  max-width: 1100px; margin: 32px auto; padding: 0 16px; }
@media (max-width: 800px) { .layout { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-width: 0; }
h1 { margin: 0 0 4px; font-size: 24px; }
h2 { margin: 0 0 4px; font-size: 16px; }
.muted { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
input, select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 15px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
label.check { display: flex; gap: 8px; align-items: center; }
label.check input { width: auto; margin: 0; }
button { width: 100%; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer;
  color: var(--accent-text); background: var(--accent); border: 0; border-radius: 8px; }
button.ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.row { display: flex; gap: 10px; }
.note { margin: 20px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.events ol { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow: auto; }
.events li { border-top: 1px solid var(--line); padding: 10px 0; }
.events .head { font-size: 13px; font-weight: 600; }
.events pre { margin: 6px 0 0; font-size: 11px; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
