:root {
  --bg: #fdfdfc;
  --fg: #1c1c1a;
  --muted: #6b6b66;
  --line: #e4e3df;
  --accent: #1d5fd1;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161615; --fg: #e9e8e4; --muted: #9a9993; --line: #2e2e2b; --accent: #7aa7ff; }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 16px 3rem;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
header {
  display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
header > a { font-weight: 700; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
header span, footer, .source { color: var(--muted); font-size: .9rem; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 2rem 0 1rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .25rem; }
h4 { font-size: 1rem; margin: 1.25rem 0 .25rem; }
h3 a, h4 a { color: var(--fg); text-decoration-color: var(--line); }
h3 a:hover, h4 a:hover { color: var(--accent); }
h3 + p, h4 + p { margin-top: .25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 1rem; }
hr + p { color: var(--muted); font-size: .9rem; }
.item-source { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
blockquote { margin: .75rem 0; padding: .1rem 0 .1rem 1rem; border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
blockquote p { margin: 0; }
.archive ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* An issue: one line per item, opening to its summary; product sections folded. */
.note, .count { color: var(--muted); font-size: .9rem; font-weight: 400; }
.line { margin: 0; padding: .6rem 0; line-height: 1.5; }
.line summary, .vendor > summary { cursor: pointer; }
.line summary::marker { color: var(--muted); }
.line strong { font-weight: 650; }
.line .src, .line .src a { color: var(--muted); font-size: .85rem; }
.line .src a { white-space: nowrap; }
.line .more { padding: .1rem 0 .4rem 1rem; border-left: 3px solid var(--line); margin: .6rem 0 .25rem; line-height: 1.6; }
.line .more > :first-child { margin-top: .25rem; }
.minor .line, .vendor .line { font-size: .93rem; padding: .5rem 0; }
.vendor { border: 1px solid var(--line); border-radius: 6px; padding: .6rem .9rem; margin: .75rem 0; }
.vendor > summary { font-weight: 700; }
/* A quote lifted out of its item, to break up the list. */
.pull { margin: .6rem 0 1rem; color: var(--fg); padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--accent); font-size: 1.1rem; line-height: 1.45; }
.pull cite { display: block; margin-top: .35rem; font-size: .85rem; font-style: normal; }
.pull cite a { color: var(--muted); }
/* The picture at the top of a section. */
.picture { margin: 1rem 0 .75rem; }
.picture img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 35%; border-radius: 8px; }
.picture .credit, .picture .credit a { color: var(--muted); font-size: .75rem; font-weight: 400; }
.picture .credit { display: block; }
.picture figcaption { margin-top: .4rem; font-size: .95rem; font-weight: 600; }
