/* Tokens from DESIGN.md */
:root {
  --ink: #16181D;
  --paper: #FFFFFF;
  --graphite: #6B6F76;
  --rule: #E3E4E6;
  --highlighter: #FFE14D;
  --correction: #C62F1E;
  --radius: 6px;
  --font: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #F2F2F3; --paper: #16181D; --graphite: #A3A7AE; --rule: #33363D; --correction: #FF7A66; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px; }

.column { max-width: 680px; padding: 0 16px; }
.top { max-width: 680px; padding: 16px 16px 8px; }
.wordmark { font-weight: 700; font-size: 22px; text-decoration: none; display: inline-block; min-height: 44px; line-height: 44px; }
.mark { background: var(--highlighter); color: #16181D; padding: 0 2px; }
nav { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 4px; }
nav a { display: inline-block; min-height: 44px; line-height: 44px; text-decoration: none; color: var(--graphite); }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

main { padding-top: 8px; padding-bottom: 32px; }
h1 { font-size: 28px; line-height: 1.2; margin: 16px 0 8px; font-weight: 700; }
h2 { font-size: 20px; margin: 28px 0 8px; font-weight: 700; }
p { margin: 0 0 16px; }
.quiet { color: var(--graphite); }
.small { font-size: 15px; }
.changed, .cancelled { color: var(--correction); font-weight: 600; }
.hl { background: var(--highlighter); color: #16181D; }
time, .when { font-family: var(--mono); font-size: 15px; color: var(--graphite); }

form { margin: 0 0 16px; }
label { display: block; font-weight: 600; margin: 0 0 6px; }
input[type="email"], input[type="text"], input[type="time"], select {
  width: 100%; max-width: 420px; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--graphite); border-radius: var(--radius);
}
.button, button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px;
  font: inherit; font-weight: 600; color: var(--paper); background: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--radius); cursor: pointer; text-decoration: none;
}
.button.secondary, button.secondary { background: transparent; color: var(--ink); }
button.link { background: none; border: 0; color: inherit; padding: 0 4px; min-height: 44px; font-weight: 400; text-decoration: underline; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.notice { padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 0 16px; }
.error { color: var(--correction); }

/* Lists and rows, not cards */
ul.rows { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--rule); }
ul.rows > li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.row .name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; margin: 0; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); }
.star { min-width: 44px; }
.item-line { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 12px; }

blockquote { margin: 12px 0; padding: 0 0 0 12px; border-left: 2px solid var(--rule); }
blockquote .who { display: block; color: var(--graphite); font-size: 15px; }
blockquote img { max-width: 100%; height: auto; display: block; margin-top: 8px; }

.copy { display: flex; gap: 8px; flex-wrap: wrap; }
.copy input { flex: 1; min-width: 200px; font-family: var(--mono); font-size: 14px; }

.foot { color: var(--graphite); font-size: 15px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--rule); max-width: 680px; margin-left: 16px; padding-left: 0; }
