
:root { --bg: #fafaf7; --fg: #1d1d1b; --muted: #66665f; --card: #ffffff; --line: #e3e2dc;
  --accent: #1f6f4a; --raw: #8a4b3a; --code: #f1f0ea; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #161615; --fg: #ecebe6; --muted: #a3a29b; --card: #1f1f1d; --line: #34332f; --accent: #6fcf9c; --raw: #e0a08d; --code: #262624; } }
:root[data-theme="dark"] { --bg: #161615; --fg: #ecebe6; --muted: #a3a29b; --card: #1f1f1d; --line: #34332f; --accent: #6fcf9c; --raw: #e0a08d; --code: #262624; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
main { max-width: 980px; margin: 0 auto; padding: 32px 16px 56px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 1.2rem; margin: 40px 0 12px; }
.caption { color: var(--muted); font-size: .9rem; margin: 0 0 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
ul { padding-left: 1.2em; margin: 0; } li { margin: 4px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat b { display: block; font-size: 1.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .88rem; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--muted); font-weight: 600; }
th[scope=row] { white-space: nowrap; }
td.raw { color: var(--raw); }
.ts { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
p .ts { display: inline; }
.transcript p { margin: 0 0 10px; }
.note { color: var(--muted); font-size: .9rem; }
code { background: var(--code); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-top: 1px solid var(--line); padding: 8px 0; }
  th, td { border: 0; padding: 4px 0; }
  th[scope=row] .ts { display: inline; margin-left: 6px; }
  td.raw::before { content: "Raw: "; font-weight: 600; }
  td:not(.raw)::before { content: "Clean: "; font-weight: 600; color: var(--accent); }
}

.flat{margin:0}
