:root { --ink: #181614; --paper: #FAF8F5; --tint: #F1EDE6; --line: #DDD6CC; --quiet: #6B645C; --accent: #C2410C; }
@media (prefers-color-scheme: dark) { :root { --ink: #FAF8F5; --paper: #181614; --tint: #24211E; --line: #3A3531; --quiet: #B5ADA3; --accent: #EA6A2E; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 Archivo, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 320px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); margin: 0 0 8px; }
.quiet { color: var(--quiet); }
.small { font-size: 14px; }
.card { border: 1px solid var(--line); background: var(--tint); padding: 16px; margin: 0 0 16px; }
.tag { display: inline-block; border: 1px solid var(--accent); color: var(--accent); font-size: 12px; letter-spacing: .04em; padding: 2px 8px; margin: 0 8px 8px 0; }
.tag.plain { border-color: var(--line); color: var(--quiet); }
.caption { white-space: pre-wrap; }
.plan { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.plan-heading { font-weight: 600; margin: 12px 0 4px; }
.plan-item { margin: 0 0 4px; }
.platform { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.comment { border-top: 1px solid var(--line); padding: 10px 0; }
label { display: block; font-size: 14px; color: var(--quiet); margin: 0 0 4px; }
input, textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; border-radius: 0; margin: 0 0 12px; }
textarea { min-height: 96px; resize: vertical; }
button { min-height: 52px; width: 100%; padding: 12px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; border-radius: 0; cursor: pointer; margin: 0 0 8px; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.link { border-color: transparent; min-height: 44px; color: var(--quiet); }
button:disabled { opacity: .5; cursor: default; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.bar > div { max-width: 640px; margin: 0 auto; }
.error { border: 1px solid var(--accent); padding: 12px; margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* The dashboard and report pages: wider, with tables that scroll sideways on a phone. */
main.wide { max-width: 960px; padding-bottom: 48px; }
.figure { font-size: 30px; line-height: 1.15; font-weight: 600; margin: 0 0 4px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--line); font-weight: 400; }
thead th { border-top: 0; color: var(--quiet); font-size: 13px; }
a { color: var(--ink); }
a.action { display: inline-block; min-height: 44px; padding: 10px 0; font-weight: 600; }
iframe.report { display: block; width: 100%; height: 80vh; min-height: 480px; border: 1px solid var(--line); background: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A post's pictures and videos: one, or a strip of slides that snaps, with steps under it. */
.media { margin: 0 -16px 12px; }
.media-frame { position: relative; background: var(--paper); min-height: 120px; display: flex; align-items: center; justify-content: center; }
.media-frame img, .media-frame video { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: var(--paper); }
.media-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; color: var(--quiet); font-size: 14px; }
.media-note { padding: 24px 16px; text-align: center; color: var(--quiet); font-size: 15px; }
.media-note p { margin: 0; }
.media figcaption { padding: 8px 16px 0; }
.carousel .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .strip::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel .steps { display: flex; align-items: center; gap: 8px; padding: 8px 16px 0; }
.carousel .where { flex: 1; text-align: center; margin: 0; font-size: 15px; font-weight: 600; }
button.step { width: auto; min-width: 44px; min-height: 44px; margin: 0; padding: 8px 12px; font-size: 15px; }
@media (min-width: 680px) { .media { margin: 0 0 12px; } }
