/* learning.css: How Jinn Learns (/how-it-works/learning), round four U8 (plan 2026-11-12-2225 R18, KTD12).
   Linked last in the page's own list by lib/site/pages/how-it-works-learning.ts, so it reaches this page and no other.
   Every rule is under an ln- class the page prints. The wheel is the shared loop that plays, dressed by its own sheet
   (css/pages/loop-live.css, linked before this one). No brown: navy, ink, paper and the amber accent. */

/* 1. the first screen is the shared open hero (sections.css, build seven V3); this sheet adds nothing to it. */

/* the Today and Coming words, in the halves drawing and on the two cards */
.ln-when { font-family: var(--ui); font-weight: 700; font-size: .82rem; letter-spacing: .02em; color: var(--fg); }

/* 3. the two halves, side by side: the fixes Jinn keeps (solid card), the results it will read (dashed, open). The head
   carries Drift, the page's crew member, captioned name first (build seven V3: moved here from the first screen). */
.ln-halves__top { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 232px); justify-content: space-between; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.ln-halves__head .lede { margin: 0; }
.ln-host { margin: 0; display: grid; justify-items: center; gap: 10px; }
.ln-host__uwee { width: min(100%, 160px); }
.ln-host__role { text-align: center; }
.ln-halves__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.ln-half { border-radius: var(--radius); padding: clamp(22px, 2.8vw, 36px); }
.ln-half > .label { margin: 0 0 8px; }
.ln-half h3 { margin-bottom: 16px; }
.ln-half--today { background: var(--card); border: 1.5px solid var(--rule); }
.ln-half--today > .ln-when::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
.ln-half--coming { border: 1.5px dashed var(--rule); }
.ln-half--coming p { margin: 0 0 12px; }
.ln-half__until { color: var(--muted); }

/* build seven V3: the halves, drawn (the diagram family's card, css/pages/hiw-diagrams.css, linked after this sheet).
   This sheet lays out only the page's own wrapper: the two halves down the card on a phone, side by side where the card
   is wide (the family card is the container). The family's marks are never restyled here. The results half is dashed
   and open, as the Coming card under it is. */
.hd.ln-figure { margin: 0 0 clamp(24px, 3vw, 40px); }
.ln-flows { display: grid; gap: 22px; }
.ln-flows__half { min-width: 0; }
.ln-flows__when { margin: 0 0 16px; }
.ln-flows__half[data-half="fixes"] > .ln-flows__when::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--amber); vertical-align: 1px; }
.ln-flows__half--coming { padding: 16px 18px 18px; border: 1.5px dashed var(--rule); border-radius: var(--radius-sm); }
.ln-flows__half--coming .hd-parts { margin-top: 0; }
/* the family's parts card with only named slots: no filled part above them, so no dividing line */
.ln-flows .hd-parts:has(> dl:empty) > .hd-parts__rest { margin-top: 0; padding-top: 0; border-top: 0; }
.ln-flows__then { margin: 14px 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
@container (min-width: 760px) {
  .ln-flows { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
}

.ln-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ln-fact { padding: 16px 0; border-top: 1.5px solid var(--rule); }
.ln-fact:first-child { border-top: 0; padding-top: 0; }
.ln-fact:last-child { padding-bottom: 0; }
.ln-fact h4 { font-size: 1.1rem; margin: 0 0 6px; }
.ln-fact p { margin: 0; }
.ln-fact__status { margin-top: 8px !important; font-family: var(--ui); font-size: .88rem; color: var(--muted); }
.ln-fact__status a { color: var(--fg); font-weight: 700; }
.ln-status::before { content: "\00B7"; margin: 0 .4em; }
.ln-fact__link { margin-top: 10px !important; }

.ln-signals { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ln-signals li { font-family: var(--ui); font-weight: 600; font-size: .92rem; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--rule); }

/* 4. what the page does not claim: on the same left edge as the halves above (Sarah 5729aVVq5f02); the measure is held
   on the lines, not on the wrap, so the wrap keeps the site's own width and gutter */
.ln-notyet__wrap > * { max-width: 760px; }
.ln-notyet p { margin: 0 0 12px; font-size: 1.08rem; }
.ln-notyet__pull { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.7rem) !important; line-height: 1.25; margin-top: 18px !important; }
.ln-notyet__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px !important; }

@media (max-width: 860px) {
  .ln-halves__top { grid-template-columns: minmax(0, 1fr); }
  .ln-host { grid-row: 1; grid-template-columns: 96px auto; justify-items: start; align-items: end; justify-self: start; }
  .ln-host__uwee { width: 96px; }
  .ln-host__role { text-align: left; }
  .ln-halves__grid { grid-template-columns: minmax(0, 1fr); }
}
