:root { color-scheme: light dark; --paper: #f5f5ee; --ink: #222a24; --muted: #566458; --line: #c8d0c1; --accent: #245638; --card: #fffef8; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, sans-serif; }
header { display: flex; align-items: center; gap: 24px; padding: 20px max(24px, calc((100vw - 1080px)/2)); border-bottom: 1px solid var(--line); }
header form { margin-left: auto; }
.brand { font-weight: 850; letter-spacing: .15em; text-decoration: none; }
main { max-width: 1080px; margin: 48px auto; padding: 0 24px 64px; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.035em; margin: 12px 0 24px; }
h2 { margin-top: 40px; font-size: 1.35rem; } h3 { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
p { max-width: 78ch; } .eyebrow { font-size: .75rem; font-weight: 750; letter-spacing: .14em; color: var(--muted); }
.intro { max-width: 660px; margin: 12vh auto; }.muted { color: var(--muted); }
button, .button, input[type=submit] { display: inline-block; padding: 11px 18px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 5px; cursor: pointer; font: inherit; font-weight: 650; text-decoration: none; }
.secondary { color: var(--accent); background: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #8b732a; outline-offset: 3px; }
.heading, .panel-row, .actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.actions { justify-content: flex-start; flex-wrap: wrap; }
.heading { margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.stats article, .panel-row { padding: 22px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; }.stats span, .stats strong { display: block; }.stats span { color: var(--muted); }.stats strong { font-size: 1.4rem; margin-top: 8px; }
.panel-row { margin-bottom: 12px; }.panel-row p { margin: 6px 0 0; }.badge { border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; font-size: .85rem; }
.notice { border: 1px solid var(--line); padding: 16px; background: var(--card); }.alert { border-color: #ab4b29; }
label { display: block; font-weight: 650; margin-top: 18px; }input:not([type=checkbox]):not([type=submit]), textarea, select { width: 100%; max-width: 720px; display: block; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: var(--ink); padding: 10px; font: inherit; }
input[type=submit] { margin-top: 24px; }input[type=checkbox] { width: 19px; height: 19px; flex-shrink: 0; }.check { display: flex; gap: 10px; font-weight: 400; max-width: 70ch; }fieldset { border: 1px solid var(--line); margin: 24px 0; padding: 20px; }legend { font-weight: 700; }
.discord-preview { max-width: 560px; padding: 20px 24px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.discord-preview h3 { font-size: 1.1rem; line-height: 1.3; }
.discord-preview p { margin: 10px 0; white-space: pre-wrap; }
.discord-preview ul { list-style: none; padding: 0; margin: 16px 0; }
.discord-preview li + li { margin-top: 4px; }
.discord-preview li span { margin-right: 4px; }
.discord-preview .discord-preview-hint { margin-bottom: 0; font-size: .8rem; color: var(--muted); }
.activity-intro { margin-top: -8px; }
.activity-filter { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 20px 0 24px; }
.activity-filter label { margin: 0 0 6px; font-size: .85rem; }
.activity-filter > div { flex: 0 1 280px; }
.activity-filter input[type=submit] { margin: 0; }
.activity-filter > a { padding: 11px 0; }
.activity-table { table-layout: fixed; }
.activity-table th:nth-child(1) { width: 25%; }
.activity-table th:nth-child(2) { width: 30%; }
.activity-table th:nth-child(3) { width: 27%; }
.activity-table th:nth-child(4) { width: 18%; }
.activity-table td { padding-top: 16px; padding-bottom: 16px; overflow-wrap: anywhere; }
.activity-table strong { font-weight: 650; }
.activity-secondary, .activity-id { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: 3px; }
.activity-id { font-size: .72rem; user-select: all; }
.activity-table time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.activity-result { color: var(--accent); font-weight: 650; }
.activity-result--attention { color: #9a3717; }
.activity-empty { padding: 24px 0; border-block: 1px solid var(--line); color: var(--muted); }
.activity-pagination { display: flex; gap: 24px; justify-content: flex-end; margin-top: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
::selection { background: var(--accent); color: var(--paper); }
input, textarea { caret-color: var(--accent); }
input::placeholder { color: var(--muted); opacity: 1; }
.table-wrap { scrollbar-color: var(--muted) var(--paper); }
button:hover, .button:hover, input[type=submit]:hover { filter: brightness(.9); }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; font-size: .9rem; }td, th { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }th { color: var(--muted); }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; }.heading { align-items: flex-start; flex-direction: column; }header { gap: 12px; padding: 16px; }header span { display: none; }main { margin-top: 24px; } }
@media (max-width: 680px) {
  .activity-filter > div { flex-basis: 100%; }
  .activity-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .activity-table, .activity-table tbody, .activity-table tr, .activity-table td { display: block; width: 100%; }
  .activity-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .activity-table td { position: relative; padding: 6px 0 6px 108px; min-height: 34px; border: 0; }
  .activity-table td::before { content: attr(data-label); position: absolute; left: 0; width: 96px; color: var(--muted); font-size: .8rem; }
  .discord-preview { padding: 16px; }
}
@media (prefers-color-scheme: dark) { :root { --paper: #181d19; --ink: #e4e9df; --muted: #a1af9e; --line: #3a493b; --accent: #91c4a0; --card: #202821; }button, .button, input[type=submit] { color: #13281b; }.secondary { color: var(--accent); } }
@media (prefers-color-scheme: dark) { .activity-result--attention { color: #efad8d; } }
