/*
  Screen 06 — Weekly Intelligence Brief.
  Layout traces to SCREEN_06_WEEKLY_INTELLIGENCE_BRIEF.md and its Visual
  Concept (both already Design-Review-refined: Opening Orientation reads
  as a short connected passage rather than one rigid sentence; Portfolio
  Shape carries no interpretive-tier label, matching Market Context's own
  unlabelled precedent; the ledger is chronological, most-recent-first,
  citing the same convention as Decision Log).

  DELIBERATELY ACCENT-FREE — the second consecutive screen in this series
  to carry zero accent appearances, for the same reason as Screen 05:
  nothing on this page is "the present moment" the way a timeline's
  current entry is. No rule in this file may reference the accent colour
  tokens. Fewer expandable regions than any prior screen, no timeline, no
  evidence stack — every fact here is already past tense, a compressed,
  already-resolved pointer to somewhere deeper.
*/

.page-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-7) var(--space-6) var(--space-9);
}

.scope-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--colour-text-faint);
  margin-bottom: var(--space-6);
}

/* ---------- Opening Orientation — a short connected passage, not a single rigid sentence ---------- */

.orientation-block { padding-bottom: var(--space-7); }

.orientation-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  line-height: var(--leading-loose);
  max-width: 38rem;
}

/* ---------- Since You Were Last Told — a past-tense ledger, two lines per entry ---------- */

.ledger-list { display: flex; flex-direction: column; }

.ledger-entry {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--colour-hairline);
}
.ledger-entry:last-child { border-bottom: none; }

.ledger-entry__fact {
  font-family: var(--font-serif);
  font-size: var(--size-body);
  line-height: var(--leading-normal);
  color: var(--colour-text);
  max-width: 38rem;
}

.ledger-entry__meta {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--colour-text-faint);
}

/* ---------- Worth Knowing — one flowing sentence per entry, visibly quieter than the ledger ---------- */

.worth-list { display: flex; flex-direction: column; }

.worth-entry {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--colour-hairline);
}
.worth-entry:last-child { border-bottom: none; }

.worth-entry__text {
  font-family: var(--font-serif);
  font-size: var(--size-body);
  line-height: var(--leading-normal);
  color: var(--colour-text-muted);
  max-width: 38rem;
}

.worth-entry__link {
  margin-left: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.worth-collapsed {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--size-small);
  color: var(--colour-text-faint);
}

/* ---------- Portfolio Shape — no label device, unlabelled like Market Context ---------- */

.pattern-text {
  font-family: var(--font-serif);
  font-size: var(--size-body);
  line-height: var(--leading-loose);
  max-width: 38rem;
}

/* ---------- Nothing Requiring You ---------- */

.calm-text {
  font-family: var(--font-serif);
  font-size: var(--size-body);
  line-height: var(--leading-loose);
  max-width: 38rem;
}

/* ---------- Since Last Briefing, In Numbers ---------- */

.numbers-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: var(--leading-loose);
  color: var(--colour-text-muted);
  max-width: 38rem;
}

/* ---------- Close ---------- */

.closing-statement { padding-top: var(--space-7); }
.closing-statement__line {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: var(--leading-loose);
  max-width: 36rem;
}
.closing-statement__link {
  display: inline-block;
  margin-top: var(--space-4);
}

/* ---------- Prototype-only demo state switcher (shared pattern) ---------- */

body { padding-bottom: 3.75rem; }

.demo-controls {
  position: fixed;
  left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--colour-base-raised);
  border-top: 1px dashed var(--colour-hairline-strong);
  padding: var(--space-2) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0.7;
  transition: opacity var(--duration-quick) ease;
}
.demo-controls:hover, .demo-controls:focus-within { opacity: 1; }

.demo-controls__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: #d98a4f;
  white-space: nowrap;
}
.demo-controls__row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.demo-controls button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--colour-hairline-strong);
  color: var(--colour-text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
}
.demo-controls button[aria-pressed="true"] {
  background: var(--colour-text);
  color: var(--colour-base);
  border-color: var(--colour-text);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .page-shell { padding: var(--space-6) var(--space-5) var(--space-8); }
}

@media (max-width: 720px) {
  .page-shell { padding: var(--space-5) var(--space-4) var(--space-8); }
  .orientation-text { max-width: 100%; }
  .demo-controls { justify-content: center; }
  body { padding-bottom: 4.75rem; }
}
