/* Print-faithful card replica (Fall 2026 deck). Shared by sample-cards.html and index.html.
   Geometry in cqi (1% of card width); palette sampled from the print PDF. Do not restyle without checking the deck.
   NOTE: .llc reset is (0,1,1) specificity; margin-bearing rules are double-classed (.llc .pf-title etc.) to beat it. */
  /* ============ THE CARD (print replica) ============ */
  .llc { position: relative; width: 100%; border-radius: 1.6cqi; overflow: hidden; background: #FCF8EF;
    box-shadow: 0 8px 28px rgba(11,39,66,0.16), 0 2px 6px rgba(11,39,66,0.06); }
  .llc, .llc p, .llc h3 { margin: 0; }
  /* the blanket reset above is (0,1,1) — margin-bearing card rules below are double-classed to beat it */
  .llc .pf-sub { margin-top: 0.85cqi; }
  .llc .pf-title { margin-top: 19cqi; }
  /* print fonts: Inter Tight (titles), Barlow SemiBold (wordmark), Times italic (exam tip) — embedded in the deck PDF */
  .llc .pb-subj { margin-bottom: 0.8cqi; }
  .llc .pb-intro { margin-bottom: 1.7cqi; }
  .llc .pb-see { margin-top: 1.6cqi; }
  .llc .rail-tip-h { margin-top: 1.5cqi; }
  .llc .rail-tip { margin-top: 0.9cqi; }
  .dots { display: inline-flex; gap: 0.65cqi; align-items: center; }
  .dots i { width: 1.05cqi; height: 1.05cqi; border-radius: 50%; border: 1px solid #C6C1B4; }
  .dots i.on { background: var(--dot); border-color: var(--dot); }

  /* ---- FRONT ---- */
  .llc-front { aspect-ratio: 10 / 7; }
  .pf-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 9.2cqi; background: var(--sec); }
  .pf-fall { position: absolute; left: 4.6cqi; bottom: 11cqi; transform: translateX(-50%) rotate(-90deg); transform-origin: center;
    font-family: var(--font-mono); font-size: 1.05cqi; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase;
    color: rgba(252,248,239,0.85); white-space: nowrap; }
  .pf-circle { position: absolute; left: 2.15cqi; top: 10.25cqi; width: 14.1cqi; height: 14.1cqi; border-radius: 50%;
    background: var(--sec); display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .pf-circle b { font-family: var(--font-mono); font-weight: 700; font-size: 3.7cqi; line-height: 1.1; color: #FCF8EF;
    border-bottom: 1px solid rgba(252,248,239,0.55); padding: 0 0.4cqi 0.25cqi; }
  .pf-circle i { font-style: normal; font-family: var(--font-mono); font-size: 1.35cqi; font-weight: 600;
    color: rgba(252,248,239,0.8); margin-top: 0.45cqi; }
  .pf-freq { position: absolute; top: 5.9cqi; right: 6.2cqi; display: flex; align-items: center; gap: 1.4cqi; }
  .pf-freq span { font-family: var(--font-mono); font-size: 1.1cqi; font-weight: 600; letter-spacing: 0.24em;
    text-transform: uppercase; color: #8A8B85; }
  .pf-body { position: absolute; left: 22.5cqi; right: 6.2cqi; top: 5.6cqi; }
  .pf-cat { font-size: 1.42cqi; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sec); padding-right: 24cqi; }
  .pf-sub { margin-top: 0.85cqi; font-size: 1.35cqi; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8E887B; }
  .pf-title { font-family: 'Inter Tight', var(--font-sans); font-weight: 800; font-size: 5.65cqi; line-height: 1.15;
    letter-spacing: -0.015em; color: #1F3450; max-width: 66cqi; text-wrap: balance; }
  .pf-footer { position: absolute; left: 13.6cqi; right: 6.5cqi; bottom: 5.2cqi;
    border-top: 1px solid rgba(31,52,80,0.16); padding-top: 2cqi;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 4cqi; }
  .pf-sys { display: block; white-space: nowrap; font-family: var(--font-mono); font-size: 1.25cqi; font-weight: 700; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--sec); margin-bottom: 0.7cqi; }
  .pf-logo { display: block; font-family: 'Inter Tight', var(--font-sans); font-size: 2.6cqi; font-weight: 800; letter-spacing: -0.005em;
    line-height: 1; text-transform: uppercase; }
  .pf-logo b { font-weight: 800; color: #1A2B3E; }
  .pf-logo i { font-style: normal; font-weight: 800; color: var(--sec); }
  .pf-ed { text-align: right; }
  .pf-ed b { display: block; font-family: 'Inter Tight', var(--font-sans); font-size: 2.15cqi; font-weight: 700; letter-spacing: -0.01em; color: #1F3450; }
  .pf-ed span { display: block; margin-top: 0.6cqi; font-family: var(--font-mono); font-size: 1.05cqi; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: #7C8A9C; white-space: nowrap; }

  /* ---- BACK ---- */
  .llc-back { aspect-ratio: 10 / 7; height: auto; display: flex; align-items: stretch; background: #FBF8F2; }
  .pb-bar { flex: none; width: 5.3cqi; background: var(--sec); position: relative; }
  .pb-bar span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(180deg);
    writing-mode: vertical-rl; font-size: 1.05cqi; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(252,248,239,0.9); white-space: nowrap; }
  .pb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 3.2cqi 0 0 1.9cqi; }
  .pb-head { border-bottom: 0.28cqi solid var(--sec); padding-bottom: 1.1cqi; padding-right: 2.6cqi; }
  .pb-subj { font-size: 1.2cqi; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sec); margin-bottom: 0.8cqi; }
  .pb-tr { display: flex; align-items: baseline; justify-content: space-between; gap: 3cqi; }
  .pb-tr h3 { font-family: 'Inter Tight', var(--font-sans); font-weight: 700; font-size: 2.55cqi; line-height: 1.12; letter-spacing: -0.01em; color: #1F3450; }
  .pb-num { font-family: var(--font-mono); font-size: 1.5cqi; font-weight: 600; color: #7C8A9C; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .pb-num b { font-weight: 700; color: var(--sec); }
  .pb-grid { display: grid; grid-template-columns: minmax(0,1fr) 26.5cqi; flex: 1; }
  .pb-body { padding: 1.5cqi 1.4cqi 3cqi 0; font-size: 1.52cqi; line-height: 1.46; color: #5D6068; }
  .pb-intro { color: #39424E; margin-bottom: 1.7cqi; }
  .pb-body .sec { margin-top: 1.45cqi; }
  .pb-body .sec:first-of-type { margin-top: 0; }
  .pb-body .sec b { font-weight: 700; color: #1F3450; }
  .pb-body .sub { position: relative; padding-left: 2.3cqi; margin-top: 0.55cqi; }
  .pb-body .sub::before { content: "\2014"; position: absolute; left: 0; color: #8B8E95; }
  .pb-body .sub.num::before { content: none; }
  .pb-body .sub .sn { position: absolute; left: 0; color: #5D6068; }
  .pb-body u { text-underline-offset: 0.35cqi; text-decoration-thickness: 1px; }
  .pb-body i { font-style: italic; }
  .pb-see { font-family: Arial, var(--font-sans); font-style: italic; font-size: 1.35cqi; color: #8E887B; }
  .pb-rail { display: flex; flex-direction: column; background: #F1EEEA; }
  .rail-cap { height: 3.3cqi; background: var(--sec); }
  .pb-rail > :not(.rail-cap) { margin-left: 1.65cqi; margin-right: 2.5cqi; }
  .rail-freq { display: flex; align-items: center; justify-content: space-between; gap: 1cqi; margin-top: 1.5cqi;
    border-bottom: 1px solid var(--sec); padding-bottom: 1.3cqi; }
  .rail-freq span { font-family: var(--font-mono); font-size: 1.05cqi; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: #7A8798; }
  .rail-tip-h { margin-top: 1.5cqi; font-size: 1.3cqi; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sec); }
  .rail-tip { margin-top: 0.9cqi; font-family: Arial, Helvetica, sans-serif; font-style: italic; font-size: 1.42cqi; line-height: 1.52; color: #2C3A4E; }
  .rail-notes { margin-top: 2.2cqi; display: flex; flex-direction: column; flex: 1; margin-bottom: 3cqi; }
  .rail-notes span { font-family: var(--font-mono); font-size: 1.05cqi; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: #A1A09B; margin-bottom: 0.6cqi; }
  .rail-notes i { display: block; height: 2.5cqi; border-bottom: 1px solid #D9D3C5; }

