/* Mind Club app. Tokens and font faces copied from the mindclub-landing
   plugin 1.14.3 (mindclub.css, fonts.css). Fonts are self-hosted under the
   brand's licences, which cover all Mind Club applications (Punit, 10.24.2026):
   Mafra Display Bold and Adobe Caslon Pro Regular via MyFonts (Webfont Build
   ID 4100713), Apercu Regular, Medium and Mono via Colophon Foundry.
   The MyFonts page-view counter below is a licence requirement; keep it. */
@import url("https://hello.myfonts.net/count/3e9269");

@font-face {
  font-family: "MC Mafra";
  src: url("/fonts/mafra-display-bold.woff2") format("woff2"), url("/fonts/mafra-display-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MC Caslon";
  src: url("/fonts/caslon-pro-regular.woff2") format("woff2"), url("/fonts/caslon-pro-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MC Apercu";
  src: url("/fonts/apercu-regular-pro.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MC Apercu";
  src: url("/fonts/apercu-medium-pro.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MC Apercu Mono";
  src: url("/fonts/apercu-mono-regular-pro.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --mc-black: #000000;
  --mc-white: #FFFFFF;
  --mc-paper: #F8F8F8;
  --mc-grey1: #BFBFBF;
  --mc-grey2: #808080;
  --mc-grey3: #474747;
  --mc-red: #EA1C26;
  --mc-blue: #0056ED;
  --mc-yellow: #FFCE00;
  --mc-orange: #F57C00;

  --mc-display: "MC Mafra", "Didot", "Bodoni 72", Georgia, serif;
  --mc-serif: "MC Caslon", "Adobe Caslon Pro", Georgia, serif;
  --mc-sans: "MC Apercu", "Helvetica Neue", Arial, sans-serif;
  --mc-mono: "MC Apercu Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mc-paper);
  color: var(--mc-black);
  font-family: var(--mc-sans);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--mc-blue); text-underline-offset: 0.15em; }
a:hover { color: var(--mc-black); }
code { font-family: var(--mc-mono); font-size: 0.875em; overflow-wrap: anywhere; }

:focus-visible {
  outline: 3px solid var(--mc-black);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--mc-yellow);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--mc-black); color: var(--mc-white); padding: 10px 14px;
}
.skip:focus { top: 8px; }

/* ------------------------------------------------------------ dev banner */
.dev-banner {
  background: repeating-linear-gradient(-45deg, var(--mc-yellow), var(--mc-yellow) 12px, #FFE15C 12px, #FFE15C 24px);
  border-bottom: 2px solid var(--mc-black);
  padding: 8px var(--gutter);
  font-size: 0.9375rem;
}
.dev-banner a { color: var(--mc-black); font-weight: 600; }
.dev-tag {
  display: inline-block; margin-right: 6px; padding: 2px 6px;
  background: var(--mc-black); color: var(--mc-yellow);
  font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ------------------------------------------------------------ text size
   The reader's choice scales every rem in the app (rail, Aa control). */
html.ts-0 { font-size: 87.5%; }
html.ts-1 { font-size: 93.75%; }
html.ts-2 { font-size: 100%; }
html.ts-3 { font-size: 106.25%; }
html.ts-4 { font-size: 112.5%; }
html.ts-5 { font-size: 125%; }
html.ts-6 { font-size: 137.5%; }

/* ------------------------------------------------------------ shell */
.app { display: flex; align-items: flex-start; min-height: 100vh; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.lockup { display: inline-flex; line-height: 0; }
.lockup img { width: 140px; height: auto; }
.nav-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }
.icon-outline { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--mc-black); cursor: pointer; text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.icon-btn:hover { background: #EDEDED; color: var(--mc-black); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.icon-btn[aria-pressed="true"] { color: var(--mc-black); }

/* The top bar: menu, wordmark, search and account. On wide screens the rail
   carries the wordmark and the bar is just the tools. */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 6px max(8px, calc(var(--gutter) - 10px));
  background: rgba(248, 248, 248, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--mc-grey1);
}
.topbar-tools { margin-left: auto; display: flex; gap: 2px; }

/* ------------------------------------------------------------ the rail */
.rail {
  position: sticky; top: 0; flex: none;
  width: 288px; height: 100vh; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  background: var(--mc-white); border-right: 1px solid var(--mc-grey1);
  padding: 14px 12px 16px;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 12px; }
.rail-close { display: none; }
.rail-nav ul, .rail-list { list-style: none; margin: 0; padding: 0; }
.rail a { color: var(--mc-black); text-decoration: none; }
.rail-nav a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px;
  border-radius: 10px; font-weight: 500;
  transition: background-color 0.15s ease;
}
.rail-nav a:hover, .rail-list a:hover, .rail-brief summary:hover { background: #F1F1F1; }
.rail-nav a[aria-current="page"] { background: var(--mc-black); color: var(--mc-white); }
.rail-count {
  margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 11px;
  background: #EDEDED; color: var(--mc-black); font-size: 0.75rem; text-align: center; line-height: 22px;
}
.rail-nav a[aria-current="page"] .rail-count { background: var(--mc-white); }
.rail-section { margin-top: 18px; }
.rail-h {
  margin: 0 10px 6px; font-family: var(--mc-mono); font-weight: 400; font-size: 0.6875rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mc-grey3);
}
.rail-note { margin: 4px 10px; font-size: 0.875rem; color: var(--mc-grey3); }
.rail-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--mc-black); flex: none; }
.rail-brief summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px;
  border-radius: 10px; cursor: pointer; list-style: none; font-weight: 600;
}
.rail-brief summary::-webkit-details-marker { display: none; }
.rail-brief summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.2s ease;
}
.rail-brief[open] summary::after { transform: rotate(45deg); }
.rail-brief[open] .rail-list { animation: rail-open 0.22s ease; }
/* No fade: text never sits at partial opacity, so contrast holds mid-animation. */
@keyframes rail-open { from { transform: translateY(-4px); } to { transform: none; } }
.rail-brief .rail-list { margin: 2px 0 8px 21px; border-left: 1px solid var(--mc-grey1); padding-left: 6px; }
.rail-list a {
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px;
  border-radius: 8px; font-size: 0.9375rem; line-height: 1.3;
}
.rail-list a[aria-current="page"] { background: var(--mc-black); color: var(--mc-white); }
.rail-plain a { gap: 10px; }
.rail-marks a { display: block; }
.rail-label {
  margin: 10px 10px 2px; font-family: var(--mc-mono); font-size: 0.625rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mc-grey3);
}
.rail-icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.rail-sub { color: var(--mc-grey3); }
.rail-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--mc-grey1); display: grid; gap: 6px; }
.text-size { display: flex; align-items: center; gap: 0; padding: 0 0 0 10px; margin: 0; }
.text-size-label { font-size: 0.875rem; margin-right: auto; white-space: nowrap; }
.text-size-value { min-width: 3.6em; text-align: center; font-family: var(--mc-mono); font-size: 0.75rem; }
.rail-account { display: flex; align-items: center; gap: 4px; min-width: 0; }
.rail-signout span { white-space: nowrap; }
.rail-account a, .rail-signout {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px;
  font: inherit; font-weight: 500; color: var(--mc-black); background: transparent; border: 0; cursor: pointer;
}
.rail-account a { flex: 1; min-width: 0; }
.rail-account a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-account form { margin: 0; }
.rail-account a:hover, .rail-signout:hover { background: #F1F1F1; }
.rail-account a[aria-current="page"] { background: var(--mc-black); color: var(--mc-white); }

.rail-scrim { display: none; }

/* Wide screens: the rail is always there. */
@media (min-width: 1024px) {
  .rail-open, .topbar-lockup { display: none; }
  .topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; position: static; }
  .tabbar { display: none; }
}

/* Phones and tablets: the rail slides in from the left. It opens with
   JavaScript, or with #rail in the address when JavaScript is off. */
@media (max-width: 1023px) {
  .rail {
    position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; height: auto;
    width: min(320px, 86vw);
    transform: translateX(-102%); visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.28s;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
    padding-top: max(14px, env(safe-area-inset-top));
  }
  .rail:target, body.rail-is-open .rail { transform: none; visibility: visible; transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .rail-close { display: inline-flex; }
  .rail-scrim {
    display: block; position: fixed; inset: 0; z-index: 30;
    background: rgba(0, 0, 0, 0.32); opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
  }
  .rail:target ~ .rail-scrim, body.rail-is-open .rail-scrim { opacity: 1; pointer-events: auto; }
  body.rail-is-open { overflow: hidden; }
}

/* Phones: a floating tab bar, as in the best reading apps. */
.tabbar {
  position: fixed; z-index: 25; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 30px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
.tabbar ul { list-style: none; margin: 0; padding: 4px; display: flex; }
.tabbar li { flex: 1; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; border-radius: 24px; color: var(--mc-black); text-decoration: none; font-size: 0.75rem; font-weight: 500;
  transition: background-color 0.2s ease;
}
.tabbar a[aria-current="page"] { background: #ECECEC; color: var(--mc-red); }
.tabbar a[aria-current="page"] span { color: var(--mc-black); font-weight: 700; }
@media (max-width: 1023px) { body.shell { padding-bottom: 96px; } }

/* ------------------------------------------------------------ main */
main { display: block; width: 100%; max-width: var(--measure); margin: 0 auto; padding: 16px var(--gutter) 48px; flex: 1; }
main:focus { outline: none; }
section { margin-top: 36px; }
.page-title, .display {
  font-family: var(--mc-display); font-weight: 700; line-height: 1.1;
  font-size: clamp(2rem, 5vw, 3rem); margin: 8px 0 12px;
}
.display { font-size: clamp(2.25rem, 7vw, 4rem); }
.section-title {
  font-family: var(--mc-mono); font-weight: 400; font-size: 0.8125rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-top: 2px solid var(--mc-black); padding-top: 10px; margin: 0 0 16px;
}
.lede { font-family: var(--mc-serif); font-size: clamp(1.1875rem, 2.1vw, 1.4375rem); line-height: 1.4; max-width: 36em; }
.hint { color: var(--mc-grey3); font-size: 0.9375rem; max-width: 42em; }
.meta-line { margin: 4px 0; }
.empty-line { color: var(--mc-grey3); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.crumbs { font-size: 0.9375rem; margin-bottom: 12px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 10px 16px;
  background: var(--mc-black); color: var(--mc-white);
  border: 2px solid var(--mc-black); border-radius: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--mc-blue); border-color: var(--mc-blue); color: var(--mc-white); }
/* An external link styled as a button keeps its "opens in a new tab" note,
   on its own line in smaller type. */
.btn.ext { flex-direction: column; align-items: flex-start; gap: 0; }
.btn .ext-note { font-weight: 400; font-size: 0.75rem; }
.btn-quiet { background: var(--mc-white); color: var(--mc-black); }
.btn-quiet:hover { background: var(--mc-yellow); border-color: var(--mc-black); color: var(--mc-black); }
.ext-note { font-size: 0.875em; }

/* ------------------------------------------------------------ brief plates */
.plate { padding: 14px 16px 16px; border: 1px solid var(--mc-black); }
/* The kicker is set at large-text size (19px bold): white on the brand red is
   4.49:1, which passes WCAG AA only for large text. */
.plate-kicker {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px;
  font-family: var(--mc-sans); font-size: 1.1875rem; font-weight: 700; letter-spacing: 0.02em;
}
.plate-name { font-family: var(--mc-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; margin: 0; }
h1.plate-name { font-size: clamp(1.875rem, 5vw, 2.75rem); }
.plate a { color: inherit; }
.tone-red { background: var(--mc-red); color: var(--mc-white); }
.tone-black { background: var(--mc-black); color: var(--mc-white); }
.tone-grey { background: var(--mc-grey1); color: var(--mc-black); }
.tone-orange { background: var(--mc-orange); color: var(--mc-black); }
.band {
  display: inline-block; margin: 12px 0 0;
  font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--mc-black);
}

.brief-list, .brief-homes, .link-list, .issue-list, .saved-list, .result-list, .add-list, .feature-list, .fixture-list { padding: 0; }
.brief-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; }
.brief-list li p { margin: 10px 0 0; }
.brief-homes { list-style: none; margin: 0; display: grid; gap: 28px; }
.brief-home { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 719px) { .brief-home { grid-template-columns: 1fr; gap: 10px; } }
.brief-home-body p:first-child { margin-top: 0; }

/* ------------------------------------------------------------ chips */
.chip {
  display: inline-block; padding: 1px 8px; border: 1px solid var(--mc-black);
  background: var(--mc-white); font-size: 0.875rem;
}
.chip-label { font-weight: 700; }
.chip-member { border-width: 2px; }
.chip-none { border-style: dashed; }

/* ------------------------------------------------------------ edition cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.edition-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start;
  background: var(--mc-white); border: 1px solid var(--mc-grey1); padding: 14px;
}
.edition-missing { grid-template-columns: 1fr; }
.cover { width: 96px; height: auto; aspect-ratio: 612 / 792; object-fit: cover; object-position: top; border: 1px solid var(--mc-black); }
.cover-none { display: block; }
.card-body p { margin: 0; }
.card-brief { font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.edition-meta { margin: 4px 0; font-weight: 600; }
.ed-num { font-family: var(--mc-mono); font-weight: 400; letter-spacing: 0.04em; }
.card-title { font-family: var(--mc-serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.3; margin: 6px 0 0; }
.card-title a { color: var(--mc-black); }
.card-title a:hover { color: var(--mc-blue); }
/* Wide screens: four cards across, so each card stacks cover over text. */
@media (min-width: 900px) {
  .grid-cards .edition-card, .saved-list .edition-card { grid-template-columns: 1fr; gap: 12px; }
  .grid-cards .cover, .saved-list .cover { width: 100%; height: 190px; aspect-ratio: auto; }
}
.latest-tag {
  display: inline-block; margin-top: 8px !important; padding: 1px 6px;
  border: 1px solid var(--mc-black); font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
}

.issue-list { list-style: none; margin: 0; border-top: 1px solid var(--mc-grey1); }
.issue-list li { border-bottom: 1px solid var(--mc-grey1); }
.issue-list a {
  display: grid; grid-template-columns: 7.5rem 8.5rem 1fr; gap: 12px; align-items: baseline;
  padding: 12px 4px; min-height: 44px; color: var(--mc-black); text-decoration: none;
}
.issue-list a:hover .issue-title { text-decoration: underline; color: var(--mc-blue); }
.issue-title { font-family: var(--mc-serif); font-size: 1.0625rem; }
@media (max-width: 599px) { .issue-list a { grid-template-columns: auto 1fr; } .issue-title { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ walls and notices */
.wall { background: var(--mc-white); border: 2px solid var(--mc-black); padding: 18px 20px; max-width: 44rem; }
.wall-title { font-weight: 700; font-size: 1.125rem; margin-top: 0; }
.notice { border-left: 4px solid var(--mc-black); background: var(--mc-white); padding: 10px 14px; }
.notice-error { border-left-width: 8px; }
.empty { max-width: 44rem; }

/* ------------------------------------------------------------ reader */
.reader { max-width: 52rem; }
.reader-head { border-bottom: 2px solid var(--mc-black); padding-bottom: 16px; }
.reader-brief { font-family: var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; margin: 0; }
.reader-date { font-size: 1.125rem; font-weight: 700; margin: 14px 0 4px; }
.reader-title { font-family: var(--mc-display); font-weight: 700; font-size: clamp(1.875rem, 5vw, 3rem); line-height: 1.1; margin: 4px 0 10px; }
.edition-id { color: var(--mc-grey3); font-size: 0.875rem; margin: 0; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.reader-actions form { margin: 0; }
.save-note { margin: 0; }
.link-list { list-style: none; margin: 0; }
.link-list li { margin: 8px 0; }

/* ------------------------------------------------------------ library */
.saved-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0; }
.saved form { margin-top: 8px; }
.saved-missing, .saved-ended { background: var(--mc-white); border: 1px dashed var(--mc-black); padding: 14px; }
.saved-missing p, .saved-ended p { margin: 4px 0; }

/* ------------------------------------------------------------ explore */
.companions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.companion { background: var(--mc-white); border: 1px solid var(--mc-black); padding: 18px; }
.companion .card-title { font-family: var(--mc-display); font-weight: 700; font-size: 1.5rem; margin: 0 0 6px; }
.feature-list { margin: 10px 0 10px 1.2em; }
.link-row { display: flex; flex-direction: column; gap: 8px; }

/* ------------------------------------------------------------ search */
.search-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-row input, .search-row select {
  min-height: 44px; padding: 8px 12px; font: inherit;
  border: 2px solid var(--mc-black); border-radius: 0; background: var(--mc-white); color: var(--mc-black);
}
.search-row input { flex: 1 1 16rem; }
.result-list { list-style: none; display: grid; gap: 12px; margin: 0; }

/* ------------------------------------------------------------ account */
.access-table { border-collapse: collapse; width: 100%; max-width: 52rem; background: var(--mc-white); }
.access-table th, .access-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mc-grey1); vertical-align: top; }
.access-table thead th { font-family: var(--mc-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid var(--mc-black); }
@media (max-width: 599px) {
  .access-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .access-table tr { display: block; border-bottom: 1px solid var(--mc-grey1); padding: 8px 0; }
  .access-table th, .access-table td { display: block; border: 0; padding: 2px 12px; }
}
.account-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.account-facts dt { font-weight: 700; }
.account-facts dd { margin: 0; }
.signin-steps { padding-left: 1.4em; margin: 0 0 12px; max-width: 42em; }
.signin-steps li { margin: 6px 0; }
.fixture-box { background: var(--mc-white); border: 2px dashed var(--mc-black); padding: 16px; max-width: 44rem; }
.fixture-list { list-style: none; display: grid; gap: 8px; margin: 0; }
.fixture-list form { margin: 0; }
.add-list { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; }

/* ------------------------------------------------------------ footer */
.site-footer {
  width: 100%; max-width: var(--measure); margin: 0 auto; padding: 24px var(--gutter) 40px;
  border-top: 1px solid var(--mc-grey1); color: var(--mc-grey3); font-size: 0.875rem;
}

/* ------------------------------------------------------------ continue reading */
.resume { display: flex; flex-direction: column; }
.resume .edition-card { flex: 1; }
.resume-line { margin: 6px 0 0; font-weight: 600; }

/* ------------------------------------------------------------ in-app reader */
body.reading { background: #E4E4E4; padding-bottom: 0; }
.reader-bar {
  position: sticky; top: 0; z-index: 6;
  display: flex; align-items: center; gap: 8px;
  padding: 6px max(8px, calc(var(--gutter) - 10px)); min-height: 56px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--mc-grey1);
}
.reader-bar .icon-btn { border: 1px solid var(--mc-grey1); background: var(--mc-white); }
.reader-bar .icon-btn:hover { background: #F1F1F1; }
.reader-bar-title { flex: 1; min-width: 0; }
.reader-bar-title h1 { margin: 0; font-family: var(--mc-serif); font-weight: 400; font-size: 1.0625rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-bar-title p { margin: 0; font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mc-grey3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reader-bar-tools { display: flex; align-items: center; gap: 6px; }
@media (max-width: 599px) {
  .reader-bar { flex-wrap: wrap; gap: 6px; }
  .reader-bar-title { order: 3; flex-basis: 100%; padding: 0 4px 4px; }
  .reader-bar-tools { margin-left: auto; }
}
/* Section chips: the edition's own headings, following the reader's scroll. */
.reader-chips {
  position: sticky; top: 56px; z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mc-grey1);
}
@media (max-width: 599px) { .reader-chips { top: 104px; } }
.reader-chips ul {
  list-style: none; margin: 0; padding: 8px var(--gutter); display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth;
}
.reader-chips ul::-webkit-scrollbar { display: none; }
.reader-chips li { scroll-snap-align: start; flex: none; }
.reader-pill {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 6;
  transform: translateX(-50%); margin: 0; max-width: calc(100vw - 32px);
  padding: 8px 16px; border-radius: 22px;
  background: rgba(0, 0, 0, 0.82); color: var(--mc-white);
  font-family: var(--mc-mono); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
/* The surface scrolls sideways on its own when a zoomed page is wider than
   the screen, so the bar and chips stay put and no edge is ever cut off. */
.reader-surface { max-width: none; padding: 16px 8px 96px; overflow-x: auto; overscroll-behavior-x: contain; }
.reader-status { max-width: 40rem; margin: 24px auto; }
.reader-status[hidden] { display: none; }
.pdf-pages { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; outline: none; width: max-content; min-width: 100%; }
.pdf-page { position: relative; flex: none; margin: 0 auto; background: var(--mc-white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.pdf-page canvas { display: block; width: 100%; height: 100%; }

/* PDF.js text layer (from pdfjs-dist 4.10.38 pdf_viewer.css, Apache-2.0):
   invisible, selectable text over each page, for screen readers and copying. */
.textLayer { position: absolute; text-align: initial; inset: 0; overflow: clip; opacity: 1; line-height: 1; -webkit-text-size-adjust: none; text-size-adjust: none; forced-color-adjust: none; transform-origin: 0 0; caret-color: CanvasText; z-index: 0; }
.textLayer :is(span, br) { color: transparent; position: absolute; white-space: pre; cursor: text; transform-origin: 0% 0%; }
.textLayer > :not(.markedContent), .textLayer .markedContent span:not(.markedContent) { z-index: 1; }
.textLayer span.markedContent { top: 0; height: 0; }
.textLayer ::selection { background: rgba(0, 86, 237, 0.25); }
.textLayer br::selection { background: transparent; }
.textLayer .endOfContent { display: block; position: absolute; inset: 100% 0 0; z-index: 0; cursor: default; user-select: none; }


/* ------------------------------------------------------------ covers */
.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
@media (min-width: 720px) { .cover-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.cover-grid-lead { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 720px) { .cover-grid-lead { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.cover-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cover-link { display: block; line-height: 0; border-radius: 3px; }
.cover-card .cover, .hero-cover .cover, .row-cover .cover {
  width: 100%; height: auto; aspect-ratio: 612 / 792; object-fit: cover; object-position: top;
  border: 0; border-radius: 3px; background: #E9E9E9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 22px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
.cover-link:hover .cover, .hero-cover:hover .cover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 16px 30px rgba(0, 0, 0, 0.16); }
.cover-card-body p { margin: 0; }
.cover-card .card-title { font-size: 1.0625rem; margin-top: 4px; }
.cover-card .edition-meta { font-size: 0.875rem; }
.resume-line { margin-top: 6px !important; font-weight: 600; font-size: 0.9375rem; }

.brief-hero, .edition-hero {
  display: grid; grid-template-columns: minmax(150px, 280px) 1fr; gap: 28px; align-items: start; margin-top: 8px;
}
@media (max-width: 719px) { .brief-hero, .edition-hero { grid-template-columns: 1fr; gap: 18px; } .hero-cover { max-width: 240px; } }
.hero-cover { display: block; line-height: 0; }
.cover-hero { view-transition-name: cover; }
.hero-body .plate { margin-bottom: 4px; }
.hero-latest { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--mc-black); }
.hero-title { font-family: var(--mc-serif); font-weight: 400; font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.2; margin: 6px 0 14px; }
.hero-title a { color: var(--mc-black); text-decoration: none; }
.hero-title a:hover { color: var(--mc-blue); text-decoration: underline; }
.actions form { margin: 0; }
.month { font-family: var(--mc-display); font-weight: 700; font-size: 1.375rem; margin: 26px 0 14px; }

/* Shelves on Browse by cover: one swipeable row per brief. */
.shelf { margin-top: 30px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-top: 2px solid var(--mc-black); padding-top: 10px; }
.shelf-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mc-display); font-size: 1.5rem; }
.shelf-title a { color: var(--mc-black); text-decoration: none; }
.shelf-title a:hover { text-decoration: underline; }
.shelf-row {
  list-style: none; margin: 14px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: thin;
}
@media (min-width: 720px) { .shelf-row { grid-auto-columns: 170px; } }
.shelf-row > li { scroll-snap-align: start; }
.shelf-foot { font-size: 0.9375rem; margin: 4px 0 0; }

/* ------------------------------------------------------------ table of contents */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mc-grey1); counter-reset: none; }
.toc-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--mc-grey1); }
.toc-link {
  flex: 1; min-width: 0; display: grid; grid-template-columns: 3.2em 1fr auto; gap: 12px; align-items: baseline;
  padding: 12px 6px; min-height: 48px; color: var(--mc-black); text-decoration: none; border-radius: 6px;
  transition: background-color 0.15s ease;
}
.toc-link:hover { background: var(--mc-white); }
.toc-link:hover .toc-title { color: var(--mc-blue); text-decoration: underline; }
.toc-num { font-family: var(--mc-mono); font-size: 0.8125rem; color: var(--mc-grey3); }
.toc-title { font-family: var(--mc-serif); font-size: 1.125rem; line-height: 1.3; }
.toc-page { font-family: var(--mc-mono); font-size: 0.8125rem; color: var(--mc-grey3); white-space: nowrap; }
.bookmark-form { margin: 0; }
.bookmark-form .btn { gap: 8px; }
.bookmark-form .nav-icon { width: 20px; height: 20px; }
.bookmark-compact .icon-btn[aria-pressed="true"] { color: var(--mc-red); }
.bookmark-form button[aria-pressed="true"] .nav-icon { animation: pop 0.25s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

/* ------------------------------------------------------------ rows and chips */
.row-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--mc-grey1); }
.row-cover { flex: none; width: 56px; line-height: 0; }
.row-body { flex: 1; min-width: 0; }
.row-body p { margin: 0; }
.row-title { font-family: var(--mc-serif); font-size: 1.125rem; line-height: 1.3; margin: 2px 0 !important; }
.row-title a { color: var(--mc-black); }
.row-title a:hover { color: var(--mc-blue); }
.row-meta { color: var(--mc-grey3); font-size: 0.875rem; }
.chip-row { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row-tight { margin-top: 8px; gap: 6px; }
.chip-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
  border: 1px solid var(--mc-grey1); border-radius: 18px; background: var(--mc-white);
  color: var(--mc-black); text-decoration: none; font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip-row-tight .chip-link { min-height: 30px; padding: 4px 10px; font-size: 0.8125rem; }
.chip-link:hover { border-color: var(--mc-black); color: var(--mc-black); }
.chip-link[aria-current="page"], .chip-link[aria-current="location"] { background: var(--mc-black); border-color: var(--mc-black); color: var(--mc-white); }

/* ------------------------------------------------------------ today */
.today-head { margin-bottom: 4px; }
.today-head .page-title { margin-bottom: 4px; }
.today-sub { margin: 0; color: var(--mc-grey3); font-family: var(--mc-serif); font-size: 1.1875rem; }
.end-state { margin: 40px 0 0; padding: 18px 0; border-top: 1px solid var(--mc-grey1); text-align: center; font-family: var(--mc-serif); font-size: 1.125rem; }


/* ------------------------------------------------------------ the opening
   As on punitdhillon.com/mindclub (plugin 1.14.3): blue field, reverse badge,
   "Read less." typed and corrected to "Scroll less.", then the app. */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--mc-blue); color: var(--mc-white); text-align: center;
  padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom));
  /* Without JavaScript it simply fades after a moment. */
  animation: intro-leave 0.35s ease 1.8s forwards;
}
.intro.is-scripted { animation: none; }
.intro.is-leaving { animation: intro-leave 0.35s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes intro-leave { to { opacity: 0; transform: translateY(-4%); visibility: hidden; } }
.intro-inner { display: flex; flex-direction: column; align-items: center; }
.intro-badge { width: min(440px, 76vw); height: auto; margin-bottom: clamp(28px, 5vw, 52px); animation: intro-badge 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes intro-badge { from { opacity: 0; transform: scale(0.94); } }
.intro-kicker {
  margin: 0 0 18px; color: var(--mc-yellow);
  font-family: var(--mc-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.intro-kicker .intro-h1 { margin: 0; font-family: var(--mc-display); font-weight: 700; font-size: clamp(44px, 9vw, 96px); line-height: 1; }
.intro-type { display: inline-block; text-align: left; white-space: pre; min-height: 1em; }
.intro-l2 { display: block; }
.intro-caret { display: none; width: 0.06em; height: 0.82em; background: currentColor; margin-left: 0.03em; vertical-align: -0.04em; }
.intro-typing .intro-caret { display: inline-block; animation: intro-blink 1s step-end infinite; }
@keyframes intro-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
body.intro-lock { overflow: hidden; }
/* During the page change into the opening, the rail and tab bar must stay
   under the blue screen, not ride above it as their own layers. */
.has-intro .rail, .has-intro .tabbar { view-transition-name: none; }
@media (prefers-reduced-motion: reduce) {
  .intro, .intro.is-leaving { animation: none; }
  .intro-caret { display: none !important; }
}


/* ------------------------------------------------------------ launch screen
   Matches the phone's launch image exactly (scripts/make-splash.js): the
   badge stays put, a spinner appears under it, then the app is revealed. */
.launch {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  background: var(--mc-blue);
  /* Without JavaScript it lifts on its own. */
  animation: intro-leave 0.3s ease 1.6s forwards;
}
.launch.is-scripted { animation: none; }
.launch.is-leaving { animation: launch-leave 0.35s ease forwards; }
@keyframes launch-leave { to { opacity: 0; visibility: hidden; } }
.launch-badge { width: min(300px, 64vw); height: auto; display: block; }
/* The badge never moves (it matches the phone's launch image); the line and
   the spinner appear beneath it. */
.launch-line {
  position: absolute; left: 0; right: 0; margin: 0; text-align: center;
  top: calc(50% + min(300px, 64vw) * 245 / 880 + 34px);
  color: var(--mc-white); font-family: var(--mc-display); font-weight: 700;
  font-size: min(11vw, 52px); line-height: 1.02;
  opacity: 0; transform: translateY(6px);
  animation: launch-line 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}
@keyframes launch-line { to { opacity: 1; transform: none; } }
.launch-spinner {
  position: absolute; left: 50%; top: calc(50% + min(300px, 64vw) * 245 / 880 + 34px + min(11vw, 52px) * 2.04 + 40px);
  width: 28px; height: 28px; margin-left: -14px;
  opacity: 0; animation: launch-fade 0.3s ease 0.25s forwards;
}
.launch-spinner i {
  position: absolute; left: 12.5px; top: 0; width: 3px; height: 8px; border-radius: 2px;
  background: var(--mc-white); transform-origin: 1.5px 14px;
  animation: launch-tick 0.8s linear infinite;
}
.launch-spinner i:nth-child(1) { transform: rotate(0deg); animation-delay: -0.7s; }
.launch-spinner i:nth-child(2) { transform: rotate(45deg); animation-delay: -0.6s; }
.launch-spinner i:nth-child(3) { transform: rotate(90deg); animation-delay: -0.5s; }
.launch-spinner i:nth-child(4) { transform: rotate(135deg); animation-delay: -0.4s; }
.launch-spinner i:nth-child(5) { transform: rotate(180deg); animation-delay: -0.3s; }
.launch-spinner i:nth-child(6) { transform: rotate(225deg); animation-delay: -0.2s; }
.launch-spinner i:nth-child(7) { transform: rotate(270deg); animation-delay: -0.1s; }
.launch-spinner i:nth-child(8) { transform: rotate(315deg); animation-delay: 0s; }
@keyframes launch-tick { from { opacity: 1; } to { opacity: 0.25; } }
@keyframes launch-fade { to { opacity: 1; } }
.has-launch .rail, .has-launch .tabbar { view-transition-name: none; }
@media (prefers-reduced-motion: reduce) {
  .launch-line { animation: none; opacity: 1; transform: none; }
  .launch-spinner i { animation: none; opacity: 0.8; }
  .launch-spinner { animation: none; opacity: 1; }
}

/* ------------------------------------------------------------ preview gate */
body.gate {
  min-height: 100vh; margin: 0; display: flex; align-items: center; justify-content: center;
  background: var(--mc-blue); color: var(--mc-white); text-align: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}
.gate-card { display: flex; flex-direction: column; align-items: center; width: min(420px, 100%); padding: 0; }
.gate-card .intro-badge { width: min(300px, 70vw); margin-bottom: 28px; }
.gate-title { font-family: var(--mc-display); font-size: clamp(1.75rem, 6vw, 2.25rem); line-height: 1.1; margin: 0 0 18px; }
.gate form { display: grid; gap: 12px; width: 100%; }
.gate input[type="password"] {
  min-height: 52px; padding: 10px 14px; font: inherit; font-size: 1.125rem;
  border: 2px solid var(--mc-white); border-radius: 0; background: var(--mc-white); color: var(--mc-black);
}
.gate-btn { min-height: 52px; background: var(--mc-black); border-color: var(--mc-black); }
.gate-btn:hover { background: var(--mc-white); color: var(--mc-black); border-color: var(--mc-white); }
.gate-error { background: var(--mc-white); color: var(--mc-black); padding: 10px 14px; border-left: 6px solid var(--mc-yellow); text-align: left; width: 100%; }
.gate-note { font-size: 0.9375rem; opacity: 0.9; }
.gate :focus-visible { outline-color: var(--mc-yellow); box-shadow: none; }


/* ------------------------------------------------------------ on-screen reading
   The edition's own text from its structured document. Body in Caslon at a
   comfortable measure; labels as small printed chips, neutral, never recolored
   by meaning; tables scroll sideways inside themselves on phones. */
.reading { max-width: 46rem; }
.reading-head { border-bottom: 2px solid var(--mc-black); padding-bottom: 14px; margin-bottom: 22px; }
.reading-head .card-brief a { color: inherit; }
.reading-title { font-family: var(--mc-display); font-weight: 700; font-size: clamp(1.75rem, 4.6vw, 2.75rem); line-height: 1.08; margin: 6px 0 10px; }
.reading-meta { margin: 4px 0 10px; color: var(--mc-grey3); font-size: 0.9375rem; }
.reading .actions { margin: 14px 0 0; }
.reading .actions .btn { gap: 8px; }
.ed-p { font-family: var(--mc-serif); font-size: 1.1875rem; line-height: 1.6; margin: 0 0 14px; }
.ed-lede { font-size: 1.3125rem; line-height: 1.5; }
.ed-dek { font-size: 1.25rem; color: var(--mc-grey3); }
.ed-legend, .ed-sig { font-family: var(--mc-sans); font-size: 0.9375rem; color: var(--mc-grey3); }
.ed-question { font-weight: 600; }
.ed-h { font-family: var(--mc-sans); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.01em; margin: 26px 0 8px; }
.mono { font-family: var(--mc-mono); font-size: 0.9em; }
.ed-list { font-family: var(--mc-serif); font-size: 1.125rem; line-height: 1.55; padding-left: 1.4em; margin: 0 0 16px; }
.ed-list li { margin: 6px 0; }
.ed-list[data-marker="lower-alpha"] { list-style-type: lower-alpha; }
.ed-list[data-marker="upper-alpha"] { list-style-type: upper-alpha; }
.ed-list[data-marker="lower-roman"] { list-style-type: lower-roman; }
.swatch { display: inline-block; width: 0.9em; height: 0.9em; margin-right: 6px; vertical-align: -0.1em; border: 1px solid var(--mc-black); }
.ext-inline { text-decoration-thickness: 1px; }
.ext-inline::after { content: "\2197"; font-size: 0.75em; margin-left: 2px; text-decoration: none; display: inline-block; }

.ev-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ev-chip {
  display: inline-block; padding: 1px 6px 0; margin: 0 2px; vertical-align: 0.1em;
  border: 1px solid var(--mc-black); background: var(--mc-white);
  font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; white-space: nowrap;
}
.ev-row .ev-chip { margin: 0; }
.ev-chip[data-kind="verdict"] { border-width: 2px; font-weight: 700; }

.ed-table { margin: 0 0 20px; }
.ed-table figcaption { font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.table-scroll { overflow-x: auto; border-top: 2px solid var(--mc-black); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: -3px; }
.ed-table table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--mc-white); font-size: 0.9375rem; }
.ed-table th { text-align: left; font-family: var(--mc-mono); font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--mc-black); white-space: nowrap; }
.ed-table td { padding: 10px; border-bottom: 1px solid var(--mc-grey1); vertical-align: top; line-height: 1.45; }
.ed-table tr:target td { background: #FFF6CC; }
.ed-notes { font-size: 0.875rem; color: var(--mc-grey3); margin: 6px 0 0; }

.ed-callout { margin: 18px 0; padding: 14px 16px 4px; background: var(--mc-white); border-left: 4px solid var(--mc-black); }
.ed-callout[data-kind="red-team"] { border-left-color: var(--mc-red); background: #FDF1F1; }
.ed-callout-title { margin: 0 0 8px; font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ed-callout .ed-p { font-size: 1.0625rem; }

.ed-figure { margin: 0 0 20px; }
.ed-figure img { display: block; max-width: 100%; height: auto; border: 1px solid var(--mc-grey1); }
.ed-figure figcaption { font-size: 0.875rem; color: var(--mc-grey3); margin-top: 6px; }
.ed-sources { font-size: 0.875rem; color: var(--mc-grey3); margin: 8px 0 14px; }
.ed-sources-title { font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ed-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 10px; margin: 0 0 22px; }
.ed-stat { background: var(--mc-white); border: 1px solid var(--mc-grey1); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ed-stat dt { order: 3; font-size: 0.8125rem; color: var(--mc-grey3); }
.ed-stat dd { margin: 0; }
.ed-stat-kicker { order: 1; font-family: var(--mc-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ed-stat-value { order: 2; font-family: var(--mc-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
.ed-row { display: grid; gap: 10px; margin: 0 0 18px; background: var(--mc-white); border: 1px solid var(--mc-grey1); padding: 14px; }
.ed-row dt { font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-grey3); }
.ed-row dd { margin: 2px 0 0; font-family: var(--mc-serif); font-size: 1.0625rem; }
.ed-cites { list-style: none; margin: 6px 0 12px; padding: 0; font-size: 0.875rem; display: grid; gap: 4px; }

.entry { padding: 18px 0 8px; border-top: 1px solid var(--mc-grey1); scroll-margin-top: 80px; }
.entry:target { background: linear-gradient(90deg, #FFF6CC, transparent 70%); }
.entry-kicker { margin: 0 0 6px; font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.entry-num { font-weight: 700; }
.entry-title { font-family: var(--mc-display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.625rem); line-height: 1.15; margin: 4px 0 12px; }
.entry-title a { color: var(--mc-black); text-decoration: none; }
.entry-title a:hover { text-decoration: underline; color: var(--mc-blue); }
.entry-actions { display: flex; justify-content: flex-end; margin-top: -4px; }
.row-entries { margin: 0 0 20px; font-size: 0.9375rem; }
.row-entries summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.row-entries ul { margin: 4px 0 0; padding-left: 1.2em; }
.row-entries li { margin: 6px 0; }
.tag-row { margin-top: 10px; }
.section-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 14px; border-top: 2px solid var(--mc-black); }
.section-nav a { display: flex; flex-direction: column; max-width: 48%; text-decoration: none; color: var(--mc-black); font-family: var(--mc-serif); font-size: 1.0625rem; }
.section-nav a span { font-family: var(--mc-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-grey3); }
.section-nav-next { margin-left: auto; text-align: right; }
.toc-count { display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: #EDEDED; font-family: var(--mc-sans); font-size: 0.75rem; text-align: center; vertical-align: 0.15em; }
.across { margin-top: 34px; max-width: 46rem; }
.across-head { display: flex; gap: 14px; align-items: center; border-top: 2px solid var(--mc-black); padding-top: 12px; margin-bottom: 14px; }
.across-head .row-cover { width: 48px; }
.across-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mc-display); font-size: 1.375rem; }

/* ------------------------------------------------------------ motion */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
.rail { view-transition-name: rail; }
.tabbar { view-transition-name: tabbar; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}

/* Reading time, worked out from the on-screen text */
.read-time { margin: 2px 0; color: var(--mc-grey3); font-size: 0.875rem; }
.actions .read-time { display: inline-block; margin-left: 8px; vertical-align: middle; }

/* ---------------------------------------------------------------- Your Intelligence Brief
   A finite list on paper: hairlines, not cards; the edition's own short line
   in Caslon; brief, date and labels on every item. */
.eyebrow { margin: 0; font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-grey3); }
.brief-head { display: grid; gap: 10px; margin-bottom: 8px; }
.brief-head .page-title { margin: 0; }
.brief-head .lede { margin: 0; }
.brief-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.brief-count { margin: 0; font-weight: 600; }
.brief-presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.brief-head .hint { margin: 0; }
.inline-form { display: contents; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--mc-grey1); border-radius: 999px; background: var(--mc-white); }
.seg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 64px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--mc-black); font: 500 0.9375rem/1 var(--mc-sans); text-decoration: none; cursor: pointer; }
.seg-btn[aria-pressed="true"], .seg-btn[aria-current="true"] { background: var(--mc-black); color: var(--mc-white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--mc-grey1); border-radius: 999px; background: var(--mc-white); color: var(--mc-black); font: 500 0.9375rem/1 var(--mc-sans); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--mc-blue); color: var(--mc-blue); box-shadow: inset 0 0 0 1px var(--mc-blue); }
.brief-list { border-top: 1px solid var(--mc-grey1); }
.brief-card { padding: 18px 0; border-bottom: 1px solid var(--mc-grey1); }
.brief-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 0.875rem; color: var(--mc-grey3); }
.brief-title { margin: 8px 0 6px; font: 400 clamp(1.25rem, 2.4vw, 1.5rem)/1.25 var(--mc-serif); text-wrap: balance; }
.brief-title a { color: inherit; text-decoration: none; }
.brief-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brief-line { margin: 0; max-width: 38em; font: 400 1.0625rem/1.55 var(--mc-serif); }
.brief-why { margin: 8px 0 0; font-size: 0.875rem; color: var(--mc-grey3); }
.brief-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 8px 0 0; font-size: 0.875rem; color: var(--mc-grey3); }
.brief-pick { margin-top: 16px; padding: 16px 18px; border: 0; border-radius: 6px; background: #FFF4E5; }
.brief-pick .eyebrow { margin-top: 8px; color: #6B3B00; }
.brief-missing { margin-top: 14px; }
.brief-end { margin-top: 24px; padding: 20px; border: 1.5px solid var(--mc-black); border-radius: 6px; }
.brief-end-title { margin: 0 0 6px; font: 400 1.5rem/1.2 var(--mc-serif); }
.brief-end p { margin: 0 0 12px; }
.brief-plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .brief-plates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plate { display: grid; gap: 4px; min-height: 84px; padding: 12px; border-radius: 6px; text-decoration: none; font-size: 0.8125rem; }
.plate b { font: 700 0.9375rem/1.15 var(--mc-display); letter-spacing: 0.02em; text-transform: uppercase; }
.plate.tone-red { background: #CC1520; }

/* Adjust */
.adjust { display: grid; gap: 24px; }
@media (min-width: 900px) { .adjust { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: start; } .adjust-preview { position: sticky; top: 72px; } }
.adjust-form fieldset { margin: 0 0 18px; padding: 0; border: 0; display: grid; gap: 8px; }
.adjust-form legend { margin-bottom: 8px; font-family: var(--mc-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-grey3); }
.opt { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 12px; border: 1px solid var(--mc-grey1); border-radius: 8px; background: var(--mc-white); cursor: pointer; }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--mc-blue); flex: none; }
.opt span { display: grid; gap: 2px; }
.opt small { color: var(--mc-grey3); font-size: 0.875rem; }
.opt b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-inline { align-items: center; }
.adjust-form fieldset[disabled] .hint { margin: 0; }
.adjust-preview { padding: 16px; border: 1px solid var(--mc-grey1); border-radius: 8px; background: var(--mc-white); }
.adjust-preview .section-title { margin-top: 0; }
.mini-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mini-list li { display: flex; gap: 8px; align-items: baseline; font: 400 0.9375rem/1.35 var(--mc-serif); }
.mini-list .m { margin-left: auto; white-space: nowrap; font: 500 0.75rem/1 var(--mc-sans); color: var(--mc-grey3); }

/* Story depth */
.depth { display: grid; gap: 4px; margin: 12px 0 0; }
.depth .hint { margin: 0; }
.glance-line { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--mc-black); background: var(--mc-white); }
.glance-line p:first-child { margin: 0; font: 400 1.25rem/1.55 var(--mc-serif); }
.glance-line .hint { margin: 8px 0 0; }
.study-more { margin-top: 28px; }

/* Focus mode: the text alone */
.focus-mode .topbar, .focus-mode .tabbar, .focus-mode #rail, .focus-mode .crumbs, .focus-mode .flight-banner { display: none !important; }

/* The brief is one reading column (an older .brief-list rule lays out brief tiles). */
.brief .brief-list { display: block; columns: auto; grid-template-columns: none; padding: 0; margin: 0; }
.brief { max-width: 46rem; }

/* ---------------------------------------------------------------- Evidence panel
   Without JavaScript: a section after the story. With it: a side panel on
   wide screens, a bottom sheet on phones. The story never moves. */
.evidence { margin-top: 28px; padding: 18px; border: 1px solid var(--mc-grey1); border-radius: 8px; background: var(--mc-white); }
.evidence-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.evidence-head .section-title { margin: 0; }
.ev-part { padding: 12px 0; border-top: 1px solid var(--mc-grey1); }
.ev-part:first-of-type { border-top: 0; }
.ev-k { margin: 0 0 8px; font: 500 0.75rem/1.3 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-grey3); }
.ev-defs { margin: 0; display: grid; gap: 6px; }
.ev-defs div { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: baseline; padding: 6px 8px; border-radius: 6px; }
.ev-defs div.is-current { background: #E6F0FF; }
.ev-defs dd { margin: 0; font-family: var(--mc-serif); }
.evidence .ed-p, .evidence p { font-size: 1rem; }
button.ev-chip { cursor: pointer; font: inherit; }
button.ev-chip:hover { background: #E6F0FF; }
.ev-from { background: rgba(0, 86, 237, 0.07); box-shadow: 0 0 0 6px rgba(0, 86, 237, 0.07); border-radius: 2px; }
.js-evidence .evidence { position: fixed; z-index: 60; margin: 0; overflow: auto; visibility: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  left: 0; right: 0; bottom: 0; max-height: 78vh; border-radius: 14px 14px 0 0; transform: translateY(100%);
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 900px) {
  .js-evidence .evidence { left: auto; top: 0; width: min(420px, 40vw); max-height: none; border-radius: 0; transform: translateX(100%); }
}
@media (prefers-reduced-motion: no-preference) { .js-evidence .evidence { transition: transform 0.22s ease, visibility 0.22s; } }

/* ---------------------------------------------------------------- Full Context */
.ctx { max-width: 46rem; }
.ctx-head { display: grid; gap: 8px; margin-bottom: 8px; }
.ctx-head .page-title { margin: 0; }
.ctx-head .hint { margin: 0; }
.ctx-part { padding: 18px 0; border-top: 1px solid var(--mc-grey1); }
.ctx-kind { display: inline-block; margin: 0 0 8px; padding: 4px 6px; border-radius: 2px; font: 500 0.6875rem/1 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; background: #EFEFEF; color: #333; }
.ctx-kind[data-kind="new"] { background: #E6F0FF; color: #003A9E; }
.ctx-kind[data-kind="evidence"] { background: #EAF5EC; color: #145A26; }
.ctx-kind[data-kind="against"] { background: #FFE9EA; color: #A50E16; }
.ctx-kind[data-kind="open"] { background: #FFF6CC; color: #5C4700; }
.ctx-latest-title { margin: 0 0 6px; font: 400 clamp(1.5rem, 3vw, 2rem)/1.15 var(--mc-serif); }
.ctx-latest-title a, .ctx-title a { color: inherit; text-decoration: none; }
.ctx-latest-title a:hover, .ctx-title a:hover { text-decoration: underline; }
.ctx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ctx-item { padding-left: 14px; border-left: 2px solid var(--mc-grey1); }
.ctx-title { margin: 4px 0; font: 400 1.1875rem/1.3 var(--mc-serif); }
.ctx-locked .hint { margin: 4px 0 0; }
.ctx-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.ctx-link { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.ctx-index { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; max-width: 46rem; }
.ctx-index-link { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--mc-grey1); border-radius: 8px; background: var(--mc-white); text-decoration: none; color: var(--mc-black); }
.ctx-index-link b { font: 400 1.375rem/1.2 var(--mc-serif); }
.ctx-index-link span { color: var(--mc-grey3); font-size: 0.875rem; }

/* ---------------------------------------------------------------- Public calls and corrections */
.calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 46rem; }
.call { padding: 14px 16px; border: 1px solid var(--mc-grey1); border-radius: 8px; background: var(--mc-white); }
.call-text { margin: 6px 0 10px; font: 400 1.125rem/1.35 var(--mc-serif); }
.call-figures { display: flex; flex-wrap: wrap; gap: 8px; }
.call-figures > div { display: grid; gap: 2px; min-width: 110px; padding: 8px 10px; border-radius: 6px; background: var(--mc-paper); }
.call-figures .k { font: 500 0.6875rem/1.2 var(--mc-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mc-grey3); }
.call-figures .v { font: 400 1.5rem/1.1 var(--mc-serif); }
.call-figures .v.miss { color: #B3121A; }
.call-flag { margin: 8px 0 0; color: #B3121A; font-weight: 500; }
.call-status { margin: 8px 0 0; font-size: 0.875rem; color: var(--mc-grey3); }
.call-history summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-size: 0.9375rem; }
.call-history ol { margin: 0; padding-left: 20px; font-size: 0.9375rem; }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 0.875rem; }
.call form { margin-top: 8px; }
.correction { margin: 0 0 18px; padding: 14px 16px; border: 1.5px solid #B3121A; border-radius: 6px; background: #FFF5F5; max-width: 46rem; }
.correction-k { margin: 0 0 6px; font: 500 0.75rem/1.2 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #B3121A; }
.correction-row p { margin: 4px 0; }
.update { padding: 16px 0; border-top: 1px solid var(--mc-grey1); max-width: 46rem; }
.text-hits { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; max-width: 46rem; }
.text-hit-title { margin: 4px 0; font: 400 1.125rem/1.3 var(--mc-serif); }
.text-hit-snippet { margin: 0; color: var(--mc-grey3); font-size: 0.9375rem; }
.text-hits mark { background: #FFF1B8; color: inherit; padding: 0 1px; }

.js-evidence.evidence-open .evidence { visibility: visible; transform: none; }

/* The original PDF: one step away, never a reading control. */
.original-link { margin: 18px 0 0; font-size: 0.875rem; }
.original-link a { color: var(--mc-grey3); }
.original-pdf { margin-top: 28px; }
.original-pdf p { margin: 0; color: var(--mc-grey3); }
.reader-onscreen { margin-left: 4px; }

/* ---------------------------------------------------------------- the iPhone app */
/* The app's web view can't save files, so PDF downloads stay on the web; the
   PDF still opens in the app's reader. */
.is-native a[download], .is-native .download-or { display: none; }

/* ================================================================ covers v2 house layer
   "The cover, opened" (PDX-ART concepts, approved by Punit 10.31.2026,
   SOP-002 class B). The app speaks the covers v2 grammar: square corners,
   black rules and hairlines, Apercu Mono caps for labels at the 14px screen
   floor, PD squares, the black band. No pills, no shadows. */

/* Labels: the brand's 14px screen floor, mono caps tracked. */
.rail-h, .rail-label, .eyebrow, .card-brief, .band, .entry-kicker, .reader-brief, .toc-num, .toc-page,
.ed-table figcaption, .ed-callout-title, .ed-sources-title, .ed-stat-kicker, .ed-row dt,
.section-nav a span, .ev-chip, .ev-k, .brief-meta { font-size: 0.875rem; }
.ed-table th { font-size: 0.8125rem; }

/* Square everything that was rounded. */
.icon-btn, .rail-dot, .cover-link, .cover, .toc-link, .toc-count, .chip-link, .brief-pick, .reader-pill { border-radius: 0; }

/* One button system: black for the main action, a black outline for the
   rest, mono caps for toggles. */
.seg { padding: 0; gap: 0; border: 1px solid var(--mc-black); border-radius: 0; }
.seg-btn {
  min-height: 44px; min-width: 0; padding: 0 14px; border-radius: 0;
  font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.seg-btn + .seg-btn, .seg > form + form .seg-btn { border-left: 1px solid var(--mc-black); }
.chip {
  min-height: 44px; border: 1px solid var(--mc-black); border-radius: 0;
  font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.chip[aria-pressed="true"] { border-color: var(--mc-black); background: var(--mc-black); color: var(--mc-white); box-shadow: none; }
.chip-link { border-color: var(--mc-black); }
.tool-btn { gap: 8px; }
.tool-icon { flex: none; }

/* The tab bar: full width, a hairline on top, a square mark on the current tab. */
.tabbar {
  left: 0; right: 0; bottom: 0; border: 0; border-top: 1px solid var(--mc-black); border-radius: 0;
  background: var(--mc-white); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar ul { padding: 0; }
.tabbar a { border-radius: 0; min-height: 56px; font-size: 0.875rem; font-weight: 400; color: var(--mc-grey3); }
.tabbar a[aria-current="page"] { background: none; color: var(--mc-black); box-shadow: inset 0 3px 0 var(--mc-black); }
.tabbar a[aria-current="page"] span { color: var(--mc-black); font-weight: 500; }
@media (max-width: 1023px) { body.shell { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* The black band, as on the covers and the front door. */
.band-bar {
  display: flex; align-items: center; justify-content: center; margin: 18px 0 0; min-height: 44px; padding: 0 12px;
  background: var(--mc-black); color: var(--mc-white); border: 0; letter-spacing: 0.3em; text-align: center;
}

/* Your Intelligence Brief */
.brief-head .eyebrow { padding-bottom: 8px; border-bottom: 1px solid var(--mc-black); color: var(--mc-black); letter-spacing: 0.14em; }
.brief-progress { display: flex; align-items: center; gap: 14px; }
.squares { display: inline-flex; gap: 8px; }
.sq-module { display: grid; grid-template-columns: repeat(2, 14px); gap: 3px; align-content: start; }
.sq { width: 14px; height: 14px; box-sizing: border-box; border: 1px solid var(--mc-black); }
.sq.sq-on { background: var(--mc-black); }
.brief-count { font: 400 0.875rem/1.3 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.brief .brief-list { border-top: 0; }
.brief-card { --tone: var(--mc-black); border-top: 4px solid var(--tone); border-bottom: 0; padding: 16px 0 20px; }
.brief-card[data-brief="biotech"] { --tone: var(--mc-red); }
.brief-card[data-brief="ai"] { --tone: var(--mc-black); }
.brief-card[data-brief="worldview"] { --tone: var(--mc-grey1); }
.brief-card[data-brief="life"] { --tone: var(--mc-orange); }
.brief-card .rail-dot { display: none; }
.brief-meta { font-family: var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.brief-title { font-weight: 600; }
.brief-card.is-read .brief-title a { color: var(--mc-grey3); }
.brief-pick { background: var(--mc-white); border-top: 4px solid var(--mc-orange); }

/* Reading: the text comes first; the tools sit in a reading bar. */
.reading-head { margin-bottom: 18px; }
.reading-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.reading-bar .depth { margin: 0; }
.reading-tools { margin: 0; gap: 8px; }
.reading-meta { font-size: 0.875rem; }
@media (max-width: 1023px) {
  body:has([data-reading-bar]) .tabbar { display: none; }
  .reading-bar {
    position: fixed; z-index: 26; left: 0; right: 0; bottom: 0; margin: 0; flex-wrap: nowrap; justify-content: space-between;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom)); background: var(--mc-white); border-top: 1px solid var(--mc-black);
  }
  .reading-bar .depth .hint { display: none; }
  .reading-bar .seg-btn { padding: 0 9px; letter-spacing: 0.08em; }
  .reading-tools { flex-wrap: nowrap; gap: 0; margin-left: auto; }
  .reading-tools .tool-btn { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--mc-black); }
  .reading-tools .tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .focus-mode .reading-bar { display: flex !important; }
}

/* The evidence sheet: square, a black rule on top, no shadow. */
.evidence { border-radius: 0; border-color: var(--mc-black); }
.js-evidence .evidence { border-radius: 0; box-shadow: none; border: 0; border-top: 2px solid var(--mc-black); }
@media (min-width: 900px) { .js-evidence .evidence { border-top: 0; border-left: 2px solid var(--mc-black); } }

/* The edition page: cover and title side by side on a phone, one black action. */
.edition .reader-date { font: 400 0.875rem/1.5 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.edition .reader-title { font-family: var(--mc-serif); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.12; }
.edition-hero { row-gap: 16px; }
.edition-hero > .hero-cover { grid-row: span 3; }
.edition-hero > .reader-actions, .edition-hero > .hint { grid-column: 2; margin: 0; }
@media (max-width: 719px) {
  .edition-hero { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
  .edition-hero > .hero-cover { max-width: 140px; grid-row: auto; }
  .edition-hero .band { letter-spacing: 0.08em; }
  .edition-hero .reader-title { font-size: 1.375rem; }
  .edition-hero > .reader-actions, .edition-hero > .hint { grid-column: 1 / -1; }
}
.reader-actions > .btn:first-child { flex: 1 1 260px; }
.toc-num { color: var(--mc-black); }
.brief-budget { display: flex; align-items: center; gap: 12px; }
.brief-adjust { display: inline-flex; align-items: center; min-height: 44px; color: var(--mc-black); font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.brief .brief-list { margin-top: 18px; }
.brief-card .brief-meta { row-gap: 8px; }
.btn-sub { font-weight: 400; }
@media (max-width: 719px) {
  .edition-hero { grid-template-columns: 116px minmax(0, 1fr); }
  .edition-hero > .hero-cover { max-width: 116px; }
  .edition-hero .band { letter-spacing: 0; white-space: nowrap; }
  .edition-hero .reader-date { letter-spacing: 0.04em; }
  .btn-sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; }
  .reader-actions > .btn:first-child { min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
}
@media (max-width: 719px) {
  .reader-actions > .btn:first-child { max-width: 100%; overflow: hidden; }
  .btn-sub { max-width: 100%; }
  .edition-hero .reader-date { letter-spacing: 0; }
}
.reader-actions > .btn:has(.btn-sub) { flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; max-width: 100%; overflow: hidden; }
.btn-sub { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; }

/* ---------------------------------------------------------------- Mind Club Next, as designed (11.15.2026)
   The 10.25 proposal's layout in the covers v2 grammar: presets on Today, a
   side pane on wide screens for the brief's settings and for a story's
   evidence, the PDF page one tap away. Square corners, Black outlines. */
.link-btn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--mc-blue); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.brief-foot { align-items: center; }
.brief-foot a { color: inherit; }
.brief-set-aside { margin: 0; padding: 8px 0; border-top: 1px solid var(--mc-grey1); }
.brief-presets { margin-top: 2px; }
.chip-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--mc-black); border-radius: 0; background: var(--mc-white); color: var(--mc-black); font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--mc-black); color: var(--mc-white); }
.chip-btn:focus-visible { outline: 3px solid var(--mc-blue); outline-offset: 2px; }
.brief-end, .plate { border-radius: 0; }
.brief-side { display: none; }
.side-box { padding: 16px; border: 1px solid var(--mc-black); background: var(--mc-white); }
.side-box + .side-box { margin-top: 16px; }
.side-plain { border: 0; border-top: 1px solid var(--mc-black); background: none; padding: 12px 0 0; }
.side-k { margin: 0 0 10px; font: 400 0.875rem/1.3 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.side-box p { margin: 0 0 10px; font-size: 0.9375rem; }
.side-box p:last-child { margin-bottom: 0; }
@media (min-width: 1280px) {
  .brief-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(240px, 300px); gap: 40px; align-items: start; }
  .brief-side { display: block; position: sticky; top: 24px; }
  /* A story and its evidence, side by side; the evidence stays open. */
  .reading-entry:has(> .evidence) { max-width: none; display: grid; grid-template-columns: minmax(0, 46rem) minmax(280px, 340px); column-gap: 40px; align-items: start; }
  .reading-entry:has(> .evidence) > * { grid-column: 1; }
  .reading-entry > .evidence { grid-column: 2; grid-row: 1 / span 40; align-self: start; }
  .js-evidence .reading-entry > .evidence { position: sticky; top: 24px; left: auto; right: auto; bottom: auto; width: auto; max-height: calc(100vh - 48px); margin: 0; visibility: visible; transform: none; box-shadow: none; border: 1px solid var(--mc-black); border-radius: 0; }
  .js-evidence .reading-entry > .evidence .evidence-close { display: none; }
}

/* ---------------------------------------------------------------- Calm reading (11.15.2026)
   Punit: "we need calm this down for the reader". The Mind Club Next reading
   feel inside the covers v2 standard: Caslon regular for headlines (Mafra
   stays for brand moments: plates, shelves, the opening), hairlines between
   stories with the brief's color as a small square, smaller labels inside
   the text, Claim Check and Sources folded under one line at Read. Square
   corners, mono labels and the band stay. */
.page-title, .reading-title, .reader-title { font-family: var(--mc-serif); font-weight: 400; letter-spacing: -0.005em; }
.page-title { font-size: clamp(2rem, 4.4vw, 2.75rem); line-height: 1.12; }
.reading-title { font-size: clamp(1.75rem, 3.8vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
.reader-title { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; }
.brief-title { font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.4375rem); }
.brief-card { border-top: 1px solid var(--mc-grey1); padding: 18px 0 18px; }
.brief-list > .brief-card:first-child { border-top: 0; }
.brief-card .rail-dot { display: inline-block; width: 9px; height: 9px; margin-right: 2px; }
.brief-meta { letter-spacing: 0.06em; }
.brief-meta .ev-chip { padding: 2px 5px; font-size: 0.75rem; }
.brief-head { gap: 12px; }
.brief-head .eyebrow { border-bottom-color: var(--mc-grey1); }
.band-bar { margin: 6px 0 4px; }
.hero-quiet { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--mc-black); }
.hero-quiet .display { font-size: clamp(1.75rem, 4vw, 2.25rem); }
/* Labels inside the text sit at label size, not text size. */
.story-text .ev-chip, .story-text button.ev-chip, .reading-head .ev-chip, .reading-head button.ev-chip { font: 400 0.75rem/1 var(--mc-mono); letter-spacing: 0.08em; padding: 3px 5px; vertical-align: 0.15em; }
.story-text h2, .story-text h3 { font-size: 0.8125rem; font-family: var(--mc-mono); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-grey3); margin: 26px 0 8px; }
.reading-head { padding-bottom: 14px; border-bottom: 1px solid var(--mc-grey1); }
.fold { margin-top: 18px; border-top: 1px solid var(--mc-grey1); border-bottom: 1px solid var(--mc-grey1); }
.fold + .fold { margin-top: 0; border-top: 0; }
.fold summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; font-weight: 500; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; margin-left: auto; font: 400 1.25rem/1 var(--mc-mono); }
.fold[open] summary::after { content: "−"; }
.fold-sub { font: 400 0.75rem/1 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-grey3); }
.fold-body { padding: 0 0 14px; }
.fold-body > :first-child { margin-top: 0; }
/* The rail: four places, then quieter links. */
.rail-plain a { font-size: 0.9375rem; }
.reading-tools .tool-btn { font-weight: 400; border-width: 1px; min-height: 44px; padding: 0 12px; }
.evidence-head .section-title { border-top: 0; padding-top: 0; }
.evidence .ev-part:first-of-type { padding-top: 4px; }

/* ---------------------------------------------------------------- Typeset labels (PDX-ART, 11.16.2026)
   Punit: "the square text boxes are very off putting and the text isn't
   even aligned." Labels are set as type, not boxes: Apercu Mono caps at
   the 14px label floor on the text's own baseline, grey, separated by middots in a
   meta line. The desk priority is the one label in Black. In running text
   a label sits after its sentence like a footnote mark; tapped, it opens
   the evidence. A Claim Check verdict keeps weight, and a miss is Science
   Red. Tags read as a quiet line of links. Nothing is boxed. */
.ev-chip, button.ev-chip,
.story-text .ev-chip, .story-text button.ev-chip,
.reading-head .ev-chip, .reading-head button.ev-chip,
.brief-meta .ev-chip, .ev-row .ev-chip {
  display: inline; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-family: var(--mc-mono); font-weight: 400; font-size: 0.875rem; line-height: inherit; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mc-grey3); vertical-align: baseline; white-space: nowrap;
}
.ev-chip[data-kind="priority"] { color: var(--mc-black); font-weight: 500; }
.ev-chip[data-kind="verdict"] { color: var(--mc-black); font-weight: 500; border: 0; }
.ev-chip[data-class="miss"] { color: var(--mc-red); }
/* In a meta line: middots between labels, all on one baseline. */
.brief-meta { align-items: baseline; }
.brief-meta .ev-chip::before, .ev-row .ev-chip + .ev-chip::before { content: "·"; margin: 0 8px 0 0; color: var(--mc-grey3); font-weight: 400; }
.ev-row { display: block; margin: 0 0 10px; }
/* In running text: after the sentence, like a footnote mark. */
.story-text .ev-chip, .evidence .ev-chip, .ed-callout .ev-chip { margin-left: 0.4em; }
button.ev-chip { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; min-height: 24px; }
button.ev-chip:hover, button.ev-chip:focus-visible { color: var(--mc-black); background: none; }
/* Tags: a quiet line of links. */
.tag-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; margin: 18px 0 0; }
.tag-row::before { content: "Tags"; margin-right: 10px; font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mc-grey3); }
.tag-row li + li::before { content: "·"; margin: 0 8px; color: var(--mc-grey3); }
.tag-row .chip-link, .chip-row-tight.tag-row .chip-link { display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: none; color: var(--mc-grey3); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }
.tag-row .chip-link:hover { color: var(--mc-black); }

/* ---------------------------------------------------------------- The week's square (11.16.2026)
   One quadrant per brief, in the launch film's order and inks: Biotech red,
   AI black, Worldview grey, Life orange. Filled from this device only. New
   quadrants fill one at a time; a closed square gathers once. */
.wsq { margin: 14px 0 6px; padding: 16px; border: 1px solid var(--mc-black); background: var(--mc-white); display: flex; gap: 16px; align-items: flex-start; }
.wsq-mark { display: grid; grid-template-columns: repeat(2, 53px); grid-auto-rows: 53px; gap: 6px; width: 112px; height: 112px; flex: none; transition: gap 120ms linear; }
.wsq-mark.is-closed { gap: 0; }
.wsq-q { box-sizing: border-box; border: 1px solid var(--mc-black); background: var(--mc-white); }
.wsq-q.is-on[data-wsq="biotech"] { background: var(--mc-red); }
.wsq-q.is-on[data-wsq="ai"] { background: var(--mc-black); }
.wsq-q.is-on[data-wsq="worldview"] { background: var(--mc-grey1); }
.wsq-q.is-on[data-wsq="life"] { background: var(--mc-orange); }
.wsq-body { min-width: 0; flex: 1; }
.wsq-k { margin: 0; font: 400 0.875rem/1.3 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.wsq-line { margin: 6px 0 8px; font: 400 1.25rem/1.2 var(--mc-serif); }
.wsq-list { list-style: none; margin: 0 0 8px; padding: 0; }
.wsq-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-top: 1px solid var(--mc-grey1); }
.wsq-list a { color: var(--mc-black); min-height: 44px; display: inline-flex; align-items: center; }
.wsq-state { font: 400 0.875rem/1 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mc-grey3); }
.wsq-list li.is-on .wsq-state { color: var(--mc-black); }
.wsq .hint { margin: 0; }
.wsq.is-closed .wsq-list { display: none; }
.wsq-weeks { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--mc-black); }
.wsq-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* The 16px minimum (PD Brand): 7px quadrants and a 2px gap; closed, no gap. */
.wsq-mini { display: grid; grid-template-columns: repeat(2, 7px); grid-auto-rows: 7px; gap: 2px; width: 16px; height: 16px; }
.wsq-mini.is-closed { grid-template-columns: repeat(2, 8px); grid-auto-rows: 8px; gap: 0; }
@media (max-width: 479px) { .wsq { gap: 12px; } }
@media (prefers-reduced-motion: no-preference) {
  /* A new quadrant takes its fill as a step on its beat (app.js). */
  .wsq-q.is-new { transition: background-color 60ms steps(1, end); }
  .wsq-q.is-new.is-waiting { background: var(--mc-white) !important; transition: none; }
}

/* ---------------------------------------------------------------- Your call (11.16.2026) */
.record { max-width: 46rem; }
.record-line { font: 400 0.875rem/1.4 var(--mc-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.call, .call-figures > div { border-radius: 0; }
.call-mine { background: var(--mc-black) !important; color: var(--mc-white); }
.call-mine .k { color: var(--mc-white); }
.call-bar { display: block; width: 56px; height: 1.5rem; background: var(--mc-black); }
.call-score { margin: 10px 0 0; }
.pick { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mc-black); }
.pick-k { margin: 0 0 8px; font: 400 0.875rem/1.3 var(--mc-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pick-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.pick-btn { min-height: 48px; padding: 0; border: 1px solid var(--mc-black); border-radius: 0; background: var(--mc-white); color: var(--mc-black); font: 400 1rem/1 var(--mc-mono); cursor: pointer; }
.pick-btn[aria-pressed="true"] { background: var(--mc-black); color: var(--mc-white); }
.pick-btn:focus-visible { outline: 3px solid var(--mc-blue); outline-offset: 2px; }
.pick .hint { margin: 8px 0 0; }
/* Recognitions (PD Brand marks, 11.15.2026): the 40px mark, then its name
   and line. Clear space half the mark's width. */
.recogs { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.recog { display: flex; gap: 20px; align-items: flex-start; }
.recog .mark { flex: none; display: block; }
.recog-24 { gap: 8px; align-items: center; }
.recog-text { margin: 0; }
.recog-name { display: block; font: 500 0.875rem/1.3 var(--mc-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.recog-24 .recog-name { display: inline; margin-right: 6px; }
.mark rect { transform-box: fill-box; }

/* "a miss" in Black, Apercu Medium (PD Brand, 11.15.2026: #B3121A is not in the palette). */
.call-figures .v.miss { color: var(--mc-black); font-family: var(--mc-sans); font-weight: 500; }
.call-flag { color: var(--mc-black); font-family: var(--mc-sans); font-weight: 500; }
