:root {
  color-scheme: light dark;
  --bg: #fbfbfd; --surface: #fff; --text: #1d1d1f; --muted: #6e6e73; --line: #e3e3e8;
  --accent: #5856d6; --on-accent: #fff; --code: #f4f4f7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618; --surface: #1f1f22; --text: #f5f5f7; --muted: #a1a1a6; --line: #333337;
    --accent: #8583ff; --on-accent: #111; --code: #1b1b1e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
}
main { position: relative; max-width: 720px; margin: 0 auto; padding: 56px 16px 80px; }
.source { position: absolute; top: 58px; right: 16px; color: var(--muted); font-size: 14px; text-decoration: none; }
.source:hover { color: var(--text); }
h1 { margin: 0; padding-right: 64px; font-size: 30px; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
h2 { margin: 40px 0 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
a { color: inherit; }
.lead { margin: 8px 0 0; color: var(--muted); }
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 14px; text-decoration: none; }
.back:hover { color: var(--text); }
input {
  width: 100%; margin-top: 28px; padding: 11px 14px; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
input:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list a:hover strong { color: var(--accent); }
.list strong { font-weight: 600; }
.list span { display: block; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
button, .button {
  padding: 9px 15px; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; text-decoration: none;
}
button:hover, .button:hover { border-color: var(--muted); }
.primary, .primary:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.files { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.files a { color: var(--muted); }
.files a:hover { color: var(--text); }
pre {
  margin: 0; padding: 16px; overflow-x: auto; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere; background: var(--code); border: 1px solid var(--line); border-radius: 10px;
}
.empty { margin-top: 24px; color: var(--muted); }
