/* Round 1 draft, 1 Dec: white surfaces, Newsreader reading/UI, the same ink and hairlines.
   The serif files are copied from craftworlds-blogpost/app/fonts, not substituted by a web font. */
/* Type, 2 Dec (owner: "make sure font is standardised ... CraftWorlds as a text is a weird arial font in Logs"): the
   wordmark is set as on the home page and the report (Newsreader 400, -0.01em; app/globals.css .brand, SiteFooter), and
   the page's last sans text, the back link, takes the serif like every other control here. Newsreader has no arrows, so
   ← and → come from Aktiv, the site's sans, as faces of the serif's family (same descriptors as its upright faces),
   not from whatever system font has them (Lucida Grande). Times read in the serif everywhere (.entry .when did, the
   related entries' .t did not); raw tool calls and record references stay monospaced, on the report's mono stack. */
@font-face { font-family: Newsreader; src: url('/round1/logs/fonts/aktiv.woff2') format('woff2'); font-style: normal; font-weight: 400; unicode-range: U+2190-2193; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/round1/logs/fonts/aktiv.woff2') format('woff2'); font-style: normal; font-weight: 500 700; unicode-range: U+2190-2193; font-display: swap; }
:root { --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
:root { --gutter: clamp(24px,6vw,40px); --ctl: 40px; --reading: clamp(545px,36vw + 150px,760px); --content: min(940px,calc(var(--reading) + 100px)); }
body { padding-inline: var(--gutter); font-size: 16px; }
.skip { position: fixed; top: -100px; left: 24px; z-index: 60; background: white; padding: 12px; }
.skip:focus { top: 12px; }
.bar-in { max-width: 1120px; justify-content: space-between; min-height: 80px; }
.back-report { font: 14px var(--sans); color: var(--muted); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.wordmark { font: 400 20px var(--serif); letter-spacing: -.01em; }
.foot-brand { font-weight: 400; }
.moment .t { font-family: var(--sans); }
.top,.tabs,.subtabs,.wrap,.foot-in { max-width: var(--content); }
.top { padding-top: clamp(40px,6vw,80px); }
.eyebrow { font-size: 14px; gap: 8px; }
.badge { border-radius: 3px; font-weight: 400; }
h1.title { font-size: clamp(32px,4vw,44px); font-weight: 500; letter-spacing: -.025em; margin: 18px 0 20px; }
.lede { max-width: 38em; font-size: clamp(18px,1rem + .2vw,19px); line-height: 1.65; letter-spacing: .01em; }
.facts { gap: 6px 18px; font-size: 14px; margin-top: 22px; }
.facts span + span:last-child { display: none; }
.tabs { margin-top: 36px; gap: 24px; overflow: visible; align-items: center; }
.tab { font-size: 16px; padding: 14px 0; }
.tab[aria-pressed=true] { color: var(--fg); border-bottom-color: var(--fg); }
.about-tab { margin-left: auto; font-size: 14px; }
.subtabs { display: flex; gap: 24px; margin: 0 auto; padding-top: 8px; }
.subtabs .tab { font-size: 15px; padding: 10px 0; border-bottom-width: 1px; }
.wrap { display: block; padding-top: 24px; }
main { gap: 22px; }
.note { font-size: 16px; line-height: 1.55; }
.search input { border-radius: 4px; height: 46px; font-size: 16px; }
.btn { font-size: 15px; border-radius: 4px; }
.btn.sm { font-size: 14px; }
.btn.primary { background: white; color: var(--fg); border-color: var(--fg); }
.seg { border-radius: 6px; background: white; padding: 4px; flex-wrap: wrap; }
.seg button { border-radius: 3px; min-height: 32px; font-size: 14px; }
.seg button[aria-pressed=true] { color: var(--fg); background: white; box-shadow: inset 0 0 0 1px rgba(29,27,24,.16); }
.chip,.moment { border-radius: 4px; font-size: 15px; }
.chip[aria-pressed=true],.moment[aria-pressed=true] { color: var(--fg); background: white; border-color: var(--fg); }
.cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pick { padding: 22px; border-radius: 4px; gap: 10px; }
.pick h3 { font-size: 22px; font-weight: 500; }
.pick p { font-size: 17px; line-height: 1.55; }
.pick .meta,.tag { font-size: 13px; }
.entry { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: white; }
.entry:first-child { border-top: 1px solid var(--line); }
.entry > summary { padding: 22px 28px 22px 0; grid-template-columns: 128px minmax(0,1fr); column-gap: 24px; position: relative; }
.entry > summary::after { content: '+'; position: absolute; right: 2px; top: 22px; color: var(--muted); font: 20px var(--serif); }
.entry[open] > summary::after { content: '−'; }
.entry .when { font: 13px/1.6 var(--sans); color: var(--muted); }
.entry .tp { font-size: 14px; gap: 4px 10px; }
.entry .who { font-weight: 500; }
.entry .line { font-size: clamp(18px,1rem + .2vw,19px); line-height: 1.65; letter-spacing: .01em; }
.entry .ttags { font-size: 13px; }
.body { padding: 0 0 28px 152px; gap: 22px; }
.w .tx { font-size: clamp(18px,1rem + .2vw,19px); line-height: 1.65; letter-spacing: .01em; }
.wk { font-size: 14px; font-weight: 400; margin-bottom: 4px; }
.w.memory .tx,.w.notebook .tx,.w.account .tx { font-size: 17px; background: white; }
.source-details > summary,.context-details > summary,.content-filters > summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 8px 0; }
.source-details[open] > summary { margin-bottom: 10px; }
.source-details { display: block; }
.head-card { padding: 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.head-card h2 { font-size: 28px; }
.head-card p { font-size: 18px; line-height: 1.6; }
.context-details .moments { margin-top: 12px; }
.about { padding: 0; border: 0; max-width: var(--reading); gap: 22px; }
.about p { font-size: 18px; line-height: 1.65; }
.about h3 { font-size: 22px; font-weight: 500; margin-top: 22px; }
.filters-btn { display: inline-flex; }
.rail { position: fixed; z-index: 30; inset: 0 0 0 auto; width: min(460px,100%); max-height: none; background: white; padding: 0 24px; display: flex; flex-direction: column; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; transform: translateX(105%); visibility: hidden; transition: transform .18s ease, visibility 0s linear .18s; }
.rail.open { transform: none; visibility: visible; transition: transform .18s ease; }
.rail-body { overflow: auto; flex: 1; padding-bottom: 20px; }
.rail-h { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.drawer-head b { font-size: 22px; font-weight: 500; }
.drawer-foot { display: flex; gap: 12px; padding: 16px 0 max(16px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot .primary { flex: 1; justify-content: center; }
.scrim.open { display: block; position: fixed; inset: 0; z-index: 29; background: rgb(0 0 0 / .2); }
.applied { flex-wrap: wrap; overflow: visible; mask-image: none; -webkit-mask-image: none; padding: 0; }
.facet > summary { font-size: 16px; font-weight: 500; padding: 18px 0; }
.foot { margin-top: 80px; }
@media(max-width:640px) {
  .bar-in { min-height: 64px; }
  .wordmark { font-size: 16px; }
  .brand { gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .tabs { gap: 18px; flex-wrap: wrap; }
  .about-tab { flex-basis: 100%; text-align: left; margin: -8px 0 0; border-bottom: 0; padding: 6px 0 12px; }
  .cards { grid-template-columns: minmax(0,1fr); }
  .entry > summary { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 20px 24px 20px 0; }
  .entry .when,.entry .tp,.entry .line,.entry .ttags,.entry .hit { grid-column: 1; }
  .body { padding: 0 0 24px; }
  .head-card { padding: 12px 0 24px; }
  .rhead .seg { margin-left: auto; }
  .rhead .grow { display: none; }
  .count { font-size: 14px; }
  .foot-in { padding-top: 24px; }
}
@media(prefers-reduced-motion:reduce) { .rail,.rail.open { transition: none; } }
.entries { border: 0; border-radius: 0; }
.entry .source-details > summary { display: list-item; list-style: disclosure-closed inside; padding: 8px 0; }
.entry .source-details[open] > summary { list-style-type: disclosure-open; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 16px; }
.select-field { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; flex: 1; min-width: 120px; color: var(--muted); font-size: 14px; }
.select-field select { font: 16px var(--sans); color: var(--fg); background: white; border: 1px solid var(--line); border-radius: 4px; min-height: 42px; padding: 6px 10px; max-width: 100%; width: 100%; min-width: 0; }
.rail { height: 100dvh; align-self: stretch; }
.rail-body { min-height: 0; }
.drawer-head,.drawer-foot { flex-shrink: 0; }
.expand-entries { margin-left: 12px; }
