:root { --ink: #1d2433; --muted: #5b6475; --line: #dde1e8; --accent: #2f5bea; --bg: #f7f8fa; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, sans-serif; color: var(--ink); background: var(--bg); }
.bar { display: flex; align-items: center; gap: 1.5rem; padding: .75rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
.bar nav { display: flex; gap: 1rem; flex: 1; }
.brand { font-weight: 600; color: var(--ink); text-decoration: none; }
.logout { display: flex; align-items: center; gap: .75rem; margin: 0; }
.who { color: var(--muted); }
main { max-width: 960px; margin: 2rem auto; padding: 0 1.25rem; }
a { color: var(--accent); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
button { font: inherit; padding: .4rem .9rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 4px; cursor: pointer; }
.messages { list-style: none; padding: 0; }
.messages li { padding: .5rem .75rem; border-radius: 4px; background: #e8f0fe; margin-bottom: .5rem; }
.messages li.error { background: #fde8e8; }
.login { max-width: 420px; margin: 4rem auto; text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.filters p { margin: 0; }
code { font-size: 13px; word-break: break-word; }
.stage { display: inline-block; font-size: 12px; padding: .1rem .5rem; border-radius: 999px; background: #eef1f6; color: var(--muted); vertical-align: middle; }
.stage-active { background: #e3f4e8; color: #1d6b35; }
.stage-paused, .stage-lost { background: #fdf0e3; color: #8a4b0f; }
.pre { white-space: pre-wrap; }
.update { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: .5rem .75rem; margin-bottom: .5rem; }
.meta { color: var(--muted); font-size: 13px; margin: 0; }
form.inline { display: inline; }
button.link { background: none; border: none; color: var(--accent); padding: 0; text-decoration: underline; }
.timeline { font-size: 13px; color: var(--muted); }
.expired { color: var(--muted); text-decoration: line-through; }
.danger { background: #b42318; border-color: #b42318; }
