/* T4 Educational category hub layer — the T4 block of the approved Phase 6.3 prototype (phase-6.3-responsive-prototypes, p63.css lines 262–299), copied unchanged, plus Batch B modules below. Loaded only by T4 pages. */
    /* ======================= T4 · EDUCATIONAL HUB ======================= */
    .ph--edu { background: var(--edu-tint, var(--t-sky)); padding-bottom: clamp(48px, 6vw, 80px); }
    .ph--edu .lead { color: #2E3A44; }
    .edu-hero { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: end; }
    @media (min-width: 900px) { .edu-hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
    .edu-glyph { justify-self: end; width: clamp(110px, 13vw, 170px); height: auto; opacity: .9; }
    @media (max-width: 899px) { .edu-glyph { display: none; } }
    .info-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--white); font: 800 .82rem var(--font-ui); box-shadow: var(--shadow-l); }
    .info-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
    .start-here { margin-top: -36px; position: relative; z-index: 2; }
    .start-here .box { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 24px 50px -30px rgba(14,26,36,.45); display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
    @media (min-width: 900px) { .start-here .box { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } }
    .start-here h2 { font: 800 1.35rem/1.1 var(--font-display); letter-spacing: -.02em; }
    .q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
    .q-list li { padding: 12px 0; border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
    .q-list li:last-child { border-bottom: 0; }
    .q-list li::before { content: "?"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--edu-tint, var(--t-sky)); font-weight: 800; font-size: .85rem; }
    .q-list a { font-weight: 800; }
    .chapters { list-style: none; margin: 0; padding: 0; counter-reset: c; }
    .chapter { counter-increment: c; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line-l); scroll-margin-top: calc(var(--header-h) + 20px); }
    @media (min-width: 900px) { .chapter { grid-template-columns: 120px minmax(0, 6fr) minmax(0, 4fr); } }
    .chapter::before { content: counter(c, decimal-leading-zero); font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-display); letter-spacing: -.05em; color: rgba(14,26,36,.18); }
    .chapter h2 { font: 800 clamp(1.4rem, 2.2vw, 1.9rem)/1.08 var(--font-display); letter-spacing: -.025em; margin-bottom: 10px; }
    .chapter p { color: #2B3741; max-width: var(--measure); }
    .chapter p + p { margin-top: 10px; }
    .chapter aside { align-self: start; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-l); font-size: .92rem; color: var(--ink-2); }
    .chapter aside strong { display: block; color: var(--ink); margin-bottom: 4px; }
    .terms-strip { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--line-l); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l); }
    @media (min-width: 760px) { .terms-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .terms-strip div { background: var(--white); padding: 18px 20px; }
    .terms-strip dt { font-weight: 800; }
    .terms-strip dd { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
    .bridge-box { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--deep); color: var(--on-dark); }
    @media (min-width: 800px) { .bridge-box { grid-template-columns: minmax(0, 1fr) auto; } }
    .bridge-box h2 { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.02em; }
    .bridge-box p { color: var(--on-dark-2); margin-top: 6px; max-width: 60ch; }
    .bridge-box a { color: var(--mint); font-weight: 800; }


    /* ===== Batch B additions for T4 hubs (new selectors only; no token or existing selector changed) ===== */
    .ph--edu .crumbs { margin-bottom: 18px; }
    .ph--edu h1 { margin-top: 14px; }
    .ph--edu .ph-meta { margin-top: 14px; }
    .ph--edu-white { box-shadow: inset 0 -1px 0 var(--line-l); }
    .ph--edu-white .info-badge { background: var(--t-mint); box-shadow: none; }
    .start-here .box > h2 { margin: 0; }
    .chapter > div > h3.t4-sub { font: 800 1.05rem var(--font-ui); margin: 18px 0 8px; }
    .t4-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #2B3741; max-width: var(--measure); }
    .t4-list li::marker { color: var(--emerald); }
    .chapter .fee-list, .chapter .factor-grid, .chapter .fine-grid, .chapter .steps-list, .chapter .checklist, .chapter .how-pair { margin-top: 16px; }
    .chapter .fine-grid { grid-template-columns: minmax(0, 1fr); }
    .chapter > div > * + p, .chapter > div > .compare-wrap + p { margin-top: 14px; }
    .chapter .factor-grid { grid-template-columns: minmax(0, 1fr); }
    @media (min-width: 760px) { .chapter .factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .chapter .compare-wrap { margin-top: 16px; }
    .chapter .checklist li > div { color: #2B3741; overflow-wrap: anywhere; }
    .chapter .checklist b { color: var(--ink); }
    /* Credit Building: reporting periods */
    .span-list { display: grid; gap: 10px; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-l); max-width: 760px; }
    .span-list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
    @media (min-width: 700px) { .span-list > div { grid-template-columns: 190px minmax(0, 1fr); column-gap: 16px; align-items: center; } .span-list > div > span:last-child { grid-column: 2; } }
    .span-list b { font-weight: 800; font-size: .95rem; }
    .span-list .bar { display: block; height: 10px; width: var(--span, 100%); border-radius: 99px; background: var(--ink); }
    .span-list .is-positive .bar { background: var(--emerald); background-image: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.45) 10px 14px); }
    .span-list > div > span:last-child { font-size: .9rem; color: var(--ink-2); }
    .tool-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin: 16px 0; }
    @media (min-width: 760px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .tool-grid article { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-l); border-top: 4px solid var(--edu-tint, var(--t-lilac)); }
    .tool-grid h3 { font: 800 1.1rem var(--font-ui); margin-bottom: 6px; }
    .tool-grid p { color: var(--ink-2); font-size: .95rem; }
    .tool-grid .tool-link { margin-top: 10px; font-weight: 700; color: var(--ink); }
    /* Pay Over Time: formats */
    .method-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
    @media (min-width: 760px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .method-grid article { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-l); display: grid; gap: 8px; align-content: start; }
    .method-grid h3 { font: 800 1.15rem/1.15 var(--font-display); letter-spacing: -.015em; }
    .method-grid p { color: var(--ink-2); font-size: .95rem; }
    .method-grid .watch { padding-top: 8px; border-top: 1px dashed var(--line-l); color: #2B3741; }
    .how-col .owed { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(14,26,36,.15); font-variant-numeric: tabular-nums; }
    /* Debt Help: related reading */
    .read-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
    .read-list li { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-l); }
    .read-list a { font-weight: 800; }
    .read-list span { color: var(--ink-2); font-size: .92rem; }
    /* Brands: role ledger and directory */
    .role-ledger { margin: 16px 0; display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
    @media (min-width: 760px) { .role-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .role-ledger > div { background: var(--white); padding: 16px 18px; }
    .role-ledger dt { font: 800 .78rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
    .role-ledger dd { margin: 6px 0 0; font-size: .93rem; color: var(--ink-2); }
    .brand-directory { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
    .brand-directory li { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-l); border-left: 4px solid var(--ink); }
    .brand-directory h3 { font: 800 1.2rem var(--font-display); letter-spacing: -.015em; margin-bottom: 6px; }
    .brand-directory p { color: var(--ink-2); }
    .brand-directory .dir-link { margin-top: 10px; font-weight: 700; color: var(--ink); }
    .chapter .indep { margin-top: 14px; font-size: .88rem; color: var(--ink-2); padding: 14px 16px; border-radius: var(--r-md); background: var(--white); max-width: var(--measure); }
    .t4-sources { margin-top: clamp(32px, 4vw, 48px); }
    /* Debt Help (D-10): the mobile menu shows a note instead of an application button */
    .mobile-nav .menu-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-md); border: 1px dashed var(--line-d); color: var(--on-dark-2); font-size: .9rem; }
    @media (max-width: 899px) { .start-here { margin-top: -28px; } }
