/* Digest: an editorial, reading-first look. Newsreader for what people write, Inter for the interface. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/newsreader-latin.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/newsreader-italic-latin.woff2) format("woff2"); }

:root {
  --bg: #ffffff; --panel: #ffffff; --text: #1a1a1a; --muted: #5f5f5f; --line: #e3e3e3; --rule: #1a1a1a;
  --accent: #1d4ed8; --accent-soft: #eef2ff; --bsky: #0a6fe0; --masto: #5b5bd6; --x: #1a1a1a;
  --like: #c2185b; --repost: #15803d; --danger: #b91c1c; --ok: #15803d; --warn: #92400e;
  --ink: #1a1a1a; --on-ink: #ffffff;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212; --panel: #121212; --text: #ececec; --muted: #a3a3a3; --line: #2e2e2e; --rule: #ececec;
    --accent: #93b4ff; --accent-soft: #1b2440; --bsky: #6aa8ff; --masto: #a5a5ff; --x: #ececec;
    --like: #ff7aa8; --repost: #5fd08a; --danger: #ff8a8a; --ok: #5fd08a; --warn: #f0b46a;
    --ink: #ececec; --on-ink: #121212; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; }
code, pre, .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
pre { background: var(--accent-soft); padding: 12px; border-radius: var(--radius); overflow-x: auto; }
.muted { color: var(--muted); }
.icon { width: 18px; height: 18px; flex: none; }
.icon.sm { width: 14px; height: 14px; vertical-align: -2px; }

/* layout: a masthead with the sections across the top; on a phone the sections move to a bar at the bottom */
.masthead { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--rule); }
.masthead-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-item { position: relative; color: var(--muted); font-weight: 500; white-space: nowrap; padding: 6px 0; }
.nav-item:hover { color: var(--text); text-decoration: none; }
.nav-item.active { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.nav-item.write { order: 9; margin-left: auto; background: var(--ink); color: var(--on-ink); padding: 9px 18px;
  border-radius: var(--radius); font-weight: 600; box-shadow: none; }
.nav-item.write:hover { opacity: .88; }
.dot { color: var(--accent); font-weight: 700; margin-left: 4px; font-size: .9em; }
.layout { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: flex; gap: 64px; align-items: flex-start; }
.main { flex: 1; min-width: 0; max-width: 680px; padding: 20px 0 96px; }
.main.wide { max-width: 860px; }
.aside { width: 300px; flex: none; position: sticky; top: 64px; padding-top: 28px; display: flex; flex-direction: column; gap: 28px; }
.aside h2 { font-size: 1.35rem; }
.aside p { margin: 0 0 8px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.aside-label { font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border-top: 1px solid var(--rule); padding-top: 12px; margin: 0 0 10px; }
.aside-accounts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.aside-accounts li { display: flex; justify-content: space-between; gap: 12px; }
.aside-accounts li span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1000px) { .aside { display: none; } .layout { gap: 0; } }
@media (max-width: 760px) {
  .masthead { position: static; border-bottom: 0; }
  .masthead-inner { height: auto; padding: calc(14px + env(safe-area-inset-top)) 16px 0; }
  .brand { font-size: 1.4rem; }
  .nav { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; gap: 0; background: var(--bg);
    border-top: 1px solid var(--rule); padding: 0 4px env(safe-area-inset-bottom); }
  .nav-item { flex: 1; text-align: center; padding: 18px 0; font-size: .85rem; }
  .nav-item.active { box-shadow: none; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
  .nav-item.write { order: 0; margin: 0; background: none; color: var(--text); padding: 18px 0; }
  .nav-item.write.active { color: var(--accent); }
  .dot { position: absolute; top: 10px; margin-left: 2px; }
  .layout { padding: 0 16px; }
  .main { padding: 4px 0 96px; }
}

/* controls */
button, .button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); padding: 8px 14px; border-radius: var(--radius); font: inherit; font-weight: 500; cursor: pointer; }
button:hover, .button:hover { border-color: var(--text); text-decoration: none; }
.primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-weight: 600; }
.primary:hover { opacity: .88; border-color: var(--ink); }
.small { padding: 5px 10px; font-size: .85rem; }
.danger { color: var(--danger); }
input, textarea, select { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 11px; width: 100%; }
input[type=checkbox] { width: auto; accent-color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
textarea.code { font-size: .85rem; line-height: 1.5; tab-size: 4; }
label { display: block; font-weight: 500; }
label > input, label > textarea { margin-top: 4px; font-weight: 400; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; }
.panel { border-top: 1px solid var(--rule); padding: 14px 0 22px; margin: 18px 0 0; }
.panel > h3:first-child, .panel > h2:first-child { font: 600 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px; }
.panel.narrow { max-width: 380px; margin: 15vh auto; border-top: 0; }
.panel.narrow > h1:first-child, .panel.narrow > h2:first-child { font: 600 2rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.page-title { margin: 18px 0 8px; font-size: 2.1rem; }
.error, .result.warn { background: #fdecea; color: #8a1c1c; border-radius: var(--radius); padding: 10px 12px; margin: 10px 0; }
.result.ok { background: #e7f6ee; color: #11573a; border-radius: var(--radius); padding: 10px 12px; margin: 10px 0; }
@media (prefers-color-scheme: dark) {
  .error, .result.warn { background: #3a1c1c; color: #ffb4b4; }
  .result.ok { background: #143325; color: #a6e9c5; }
}
.result ul { margin: 6px 0 0; padding-left: 18px; }
.error-inline { color: var(--danger); padding: 0 12px; }
.empty, .end { text-align: center; color: var(--muted); padding: 32px 8px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

/* tabs: words with an underline under the one you're on */
.tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 64px; z-index: 5;
  background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .tabs { top: 0; gap: 20px; } }
.tab { white-space: nowrap; padding: 12px 0 10px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center;
  border-bottom: 2px solid transparent; }
.tab:hover { text-decoration: none; color: var(--text); }
.tab.active { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.more-tab { color: var(--accent); }

/* networks are named in words, with a small dot in the network's colour */
.badge { font-size: .8rem; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.badge-bluesky::before { background: var(--bsky); } .badge-mastodon::before { background: var(--masto); }
.badge-x::before { background: var(--x); }
.avatar { border-radius: 50%; object-fit: cover; background: var(--line); flex: none; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600; color: var(--muted); }
.avatar-md { width: 40px; height: 40px; } .avatar-sm { width: 32px; height: 32px; }
.avatar-xs { width: 20px; height: 20px; font-size: .7rem; } .avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; }
.chip { display: inline-flex; gap: 8px; align-items: center; color: var(--text); }

/* posts: no boxes, just a rule between them */
.post { padding: 20px 0 6px; border-bottom: 1px solid var(--line); }
.post.focus { padding-left: 14px; padding-right: 14px; background: var(--accent-soft); border-radius: var(--radius); border-bottom: 0; }
.post > header { display: flex; gap: 10px; align-items: center; }
.who { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.who .name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.byline { color: var(--muted); font-size: .85rem; display: flex; white-space: pre; min-width: 0; }
.byline > * { flex: none; }
.byline > .handle { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.byline .badge { font-size: inherit; }
.byline .badge::before { display: none; }
.handle { color: var(--muted); }
.meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .85rem; }
.time { color: var(--muted); }
.context { color: var(--muted); font-size: .85rem; margin: 0 0 8px; }
.text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 6px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.text .mention, .text .tag { font-weight: 500; }
.cw { cursor: pointer; color: var(--warn); font-weight: 600; margin: 10px 0; }
.media { display: grid; gap: 3px; margin: 10px 0; overflow: hidden; }
.media-2, .media-4 { grid-template-columns: 1fr 1fr; } .media-3 { grid-template-columns: 2fr 1fr; }
.media-3 .media-item:first-child { grid-row: span 2; }
.media-item, .media-item img { display: block; width: 100%; }
.media-item img, video.media-item { max-height: 520px; object-fit: cover; background: var(--line); height: 100%; }
.media-2 img, .media-3 img, .media-4 img { aspect-ratio: 4/3; }
.card { display: block; border: 1px solid var(--line); overflow: hidden; margin: 10px 0; color: var(--text); }
.card:hover { text-decoration: none; border-color: var(--text); }
.card img { width: 100%; max-height: 260px; object-fit: cover; display: block; background: var(--line); }
.card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.card-body small { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.card-body strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.card-body p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.quote { display: block; border-left: 0; border: 1px solid var(--line); padding: 10px 12px; margin: 10px 0; color: var(--text); }
.quote:hover { text-decoration: none; border-color: var(--text); }
.quote .text { font-size: 1.05rem; }
.quote-head { display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.quote-head small { color: var(--muted); }
.actions { display: flex; gap: 22px; margin-top: 2px; }
.act { background: none; border: 0; color: var(--muted); padding: 8px 0; display: inline-flex; gap: 6px; align-items: center;
  font-size: .85rem; border-radius: 0; }
.act:hover { color: var(--text); background: none; text-decoration: none; }
.act.on-like { color: var(--like); } .act.on-like svg { fill: var(--like); }
.act.on-repost { color: var(--repost); }
.why { position: relative; }
.why-btn { list-style: none; cursor: pointer; display: inline-flex; color: var(--muted); }
.why-btn::-webkit-details-marker { display: none; }
.why-box { position: absolute; right: 0; top: 24px; z-index: 6; background: var(--panel); border: 1px solid var(--rule);
  padding: 10px 12px; min-width: 210px; color: var(--text); }
.why-box ul { list-style: none; margin: 6px 0 0; padding: 0; }
.why-box li { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.more { display: flex; gap: 8px; justify-content: center; align-items: center; color: var(--muted); padding: 24px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--text); border-radius: 50%;
  display: inline-block; animation: spin .8s linear infinite; }
.htmx-indicator { display: none; } .htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.reply-btn { margin: 0 0 12px; }
.ancestors .post { opacity: .92; }

/* compose: a quiet page to write on, mentions explained as footnotes underneath */
.compose textarea[name=text] { font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; border: 0; padding: 4px 0;
  min-height: 9rem; resize: vertical; background: transparent; }
.compose textarea[name=text]:focus { outline: 0; }
.acct-list { display: flex; flex-wrap: wrap; gap: 4px 22px; border-top: 1px solid var(--rule); padding-top: 8px; }
.acct-option { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.acct-option .avatar { display: none; }
.acct-option .counter { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; font-weight: 400; }
.acct-option .counter.over { color: var(--danger); font-weight: 600; }
.overrides summary, .compose-extras summary { cursor: pointer; color: var(--text); text-decoration: underline;
  text-decoration-color: var(--line); text-underline-offset: 3px; }
.overrides label { margin-top: 8px; }
.compose .images label, .compose .row label { font-size: .9rem; }
.mention-menu { position: absolute; z-index: 30; list-style: none; margin: 0; padding: 4px; max-height: 300px;
  overflow-y: auto; background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.mention-menu li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; cursor: pointer; }
.mention-menu li.active, .mention-menu li:hover { background: var(--accent-soft); }
.mention-menu .avatar { width: 28px; height: 28px; }
.mention-menu .who { display: flex; flex-direction: column; min-width: 0; }
.mention-menu .handles { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mention-menu .badge { margin-right: 6px; }
.mention-menu .linked { color: var(--ok); font-weight: 600; }
.mention-preview { margin-top: 18px; }
.mention-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: fn; }
.mention-rows > li { counter-increment: fn; position: relative; padding-left: 24px; }
.mention-rows > li::before { content: counter(fn); position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 600; font-size: .8rem; }
.mention-rows > li.unknown::before { color: var(--warn); }
.mention-rows ul { list-style: none; padding: 2px 0 4px; margin: 0; }
.mention-rows li li { overflow-wrap: anywhere; color: var(--muted); }
.mention-rows li li code { font-size: .85rem; color: var(--text); background: none; }
.mention-rows .how-plain, .mention-rows .how-name, .mention-rows .how-bridged { color: var(--warn); }
.images input[type=file] { padding: 8px; }
#alt-fields input { margin-top: 6px; }

/* notifications */
.notif { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notif-body { min-width: 0; flex: 1; }
.notif-meta { margin-left: 6px; color: var(--muted); }
.notif-meta .badge { margin-right: 4px; }
.notif-text { display: block; color: var(--muted); margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--serif); font-size: 1.05rem; }

/* profile, feeds, settings */
.profile-head { display: flex; gap: 14px; align-items: center; }
.bio { white-space: pre-wrap; font-family: var(--serif); font-size: 1.1rem; }
.feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sources code { background: var(--accent-soft); padding: 1px 6px; border-radius: var(--radius); margin-right: 4px; }
.native-feeds { padding-left: 18px; } .native-feeds code { font-size: .75rem; }
.acct-rows { list-style: none; padding: 0; margin: 0; }
.acct-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 60px; }
.acct-row .chip strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.acct-row form { margin-left: auto; }
.connect { align-items: flex-end; margin-top: 12px; }
.row.connect > label:not(.grow) { display: block; flex: 1 1 220px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; }
.checks label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.spend { height: 6px; background: var(--line); margin: 6px 0 12px; }
.spend > span { display: block; height: 6px; background: var(--warn); max-width: 100%; }
.preview { margin-top: 16px; }
.handle-chip { display: inline-flex; gap: 4px; align-items: center; }
.people-panel form.inline { display: inline; }
.people-panel .link-form, .people-panel details { margin-top: 8px; }
.link-form select { width: auto; }
.people-panel summary, .person summary { cursor: pointer; color: var(--accent); }
.person-form { margin-top: 8px; }
.row > label:not(.grow) { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; }
.feed-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feed-title h3 { margin: 0; }
.feed-actions { flex-wrap: wrap; gap: 6px; }
.feed-actions form { margin: 0; }
.hidden-feed { opacity: .6; }
.feed-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 4px; }
.feed-about { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.feed-desc { margin: 0; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
.feed-nets { display: flex; gap: 10px; }
.reference { margin-top: 16px; } .reference h3 { font-size: .95rem; margin: 12px 0 4px; }
.reference ul { padding-left: 18px; } .reference li { margin: 2px 0; font-size: .9rem; }
.feed-bar .row { flex-wrap: nowrap; gap: 6px; }

/* arrange tabs: a numbered list you drag by the handle; each row lifts with a rule under it while it moves */
.arrange-list { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--rule); counter-reset: tab; }
.arrange-item { counter-increment: tab; display: flex; align-items: center; gap: 6px; min-height: 64px;
  border-bottom: 1px solid var(--line); background: var(--bg); position: relative; }
.arrange-item::before { content: counter(tab); width: 22px; flex: none; text-align: right; color: var(--muted);
  font: 500 .8rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.arrange-item.off .arrange-name { opacity: .5; }
.grip { border: 0; background: none; padding: 0; width: 44px; height: 44px; justify-content: center; color: var(--muted);
  cursor: grab; touch-action: none; flex: none; }
.grip:hover { color: var(--text); }
.grip .icon { width: 22px; height: 22px; fill: currentColor; }
.arrange-label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; font-weight: 400; }
.arrange-label input { width: 18px; height: 18px; flex: none; margin: 0; }
.arrange-name { display: flex; flex-direction: column; min-width: 0; }
.arrange-name strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.arrange-name small { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .82rem; }
.arrange-name small .badge { font-size: inherit; }
.nudges { display: flex; flex: none; }
.nudge { border: 0; background: none; color: var(--muted); width: 40px; height: 44px; justify-content: center; padding: 0; font-size: 1.05rem; }
.nudge:hover { color: var(--text); }
.arrange-list.sorting { user-select: none; -webkit-user-select: none; }
.arrange-list.sorting .grip { cursor: grabbing; }
.arrange-item.dragging { z-index: 2; border-top: 1px solid var(--rule); border-bottom-color: var(--rule);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.arrange-item.moved { animation: moved 1s ease-out; }
@keyframes moved { from { background: var(--accent-soft); } to { background: var(--bg); } }
.arrange-foot { margin-top: 20px; }
@media (max-width: 760px) { .nudges { display: none; } }

/* pull to refresh: a quiet line that opens above the timeline as you pull */
html.pull-page, html.pull-page body { overscroll-behavior-y: contain; }
.ptr { height: 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; color: var(--muted);
  transition: height .2s ease; }
.ptr.pulling { transition: none; }
.ptr-inner { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; font: italic 1rem/1 var(--serif); }
.ptr-arrow { display: inline-flex; transition: transform .15s ease; }
.ptr.ready .ptr-arrow { transform: rotate(180deg); color: var(--accent); }
.ptr.ready .ptr-label { color: var(--text); }
.ptr .spinner { display: none; }
.ptr.refreshing .spinner { display: inline-block; }
.ptr.refreshing .ptr-arrow { display: none; }

/* community feeds: browse, add, share and the anonymous stats question */
.tabs.feeds-subnav { position: static; border-bottom: 1px solid var(--line); margin-top: 8px; }
.kicker { margin: 18px 0 0; font: 600 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker + .page-title { margin-top: 4px; }
.lede { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; max-width: 620px; }
.ok-text { color: var(--ok); font-weight: 600; } .warn-text { color: var(--warn); font-weight: 600; }
.no-text { color: var(--danger); font-weight: 600; } .accent-text { color: var(--accent); font-weight: 600; }
a.plain { color: var(--text); } a.plain:hover { text-decoration: none; } a.plain h3 { margin: 0; }
.community-list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--rule); }
.community-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.community-about { flex: 1; min-width: 0; }
.community-about .feed-desc { margin: 4px 0 6px; }
.community-about .badge { margin-left: 4px; }
.community-action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.added { color: var(--ok); font-weight: 600; }
.notice-card { border: 1px solid var(--line); background: var(--accent-soft); border-radius: var(--radius); padding: 12px 14px; margin: 16px 0 0; }
.notice-card p { margin: 0 0 4px; }
.notice-card.warn { background: none; border-color: var(--warn); }
.read-rows { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.read-rows code { font-size: .78rem; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.mini-stats > div { display: flex; flex-direction: column; }
.mini-stats strong { font: 500 1.5rem/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.sheet-actions { margin-top: 18px; }
fieldset.choices { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
fieldset.choices legend { padding: 0; margin-bottom: 8px; }
label.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; font-weight: 400; min-height: 44px; }
label.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
label.choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
label.choice span { display: flex; flex-direction: column; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: .9rem; margin: 12px 0; }
.two-col ul { margin: 4px 0 0; padding-left: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.submission .status { font-size: .82rem; }
.submission blockquote { margin: 8px 0; padding-left: 12px; border-left: 2px solid var(--line); font-family: var(--serif);
  font-style: italic; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 10px 0; }
.steps li { position: relative; padding: 0 0 12px 24px; display: flex; flex-direction: column; }
.steps li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  box-sizing: border-box; border: 2px solid var(--line); background: var(--bg); }
.steps li::after { content: ""; position: absolute; left: 5px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.done::before { background: var(--text); border-color: var(--text); }
.steps li.done::after { background: var(--text); }
.steps li.now::before { border-color: var(--warn); }
.steps li.todo strong { color: var(--muted); }
