/* t8-f5 (round F5, Nov 26, 2026): investor-guides hub + 16 investor guides. Linked only from those 17 pages.
   Uses /assets/t8-f3-components.b4d67193e8.css read-only. All F5 classes start with t8f5-. No network, no storage. */

/* ---------- shared: callouts ---------- */
#main .t8f5-warn { position: relative; margin: var(--s6, 2rem) 0 !important; padding: 20px 22px 20px 64px; border: 1px solid #5A2A26; border-left: 4px solid var(--t8-bad, #FF8A80); border-radius: 6px; background: var(--t8-bad-bg, #2A1414); }
#main .t8f5-warn::before { content: ""; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; background: var(--t8-bad, #FF8A80); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.5 20h19z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3 2.5 20h19z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
#main .t8f5-warn > :first-child { margin-top: 0 !important; }
#main .t8f5-warn > :last-child { margin-bottom: 0 !important; }
#main .t8f5-warn > h2 { margin-top: 0 !important; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
#main .t8f5-warn ul { margin-top: 12px !important; }
#main .t8f5-warn li + li { margin-top: 10px; }
#main .t8f5-note { margin: var(--s5, 1.5rem) 0 !important; padding: 18px 22px; border: 1px solid var(--line-strong, #3D414A); border-left: 4px solid var(--gold, #C9A24A); border-radius: 6px; background: var(--t8-warm, #1A1916); }
#main .t8f5-note > :first-child { margin-top: 0 !important; }
#main .t8f5-note > :last-child { margin-bottom: 0 !important; }
@media (max-width: 600px) { #main .t8f5-warn { padding: 56px 16px 16px 16px; } #main .t8f5-warn::before { left: 16px; top: 16px; } }

/* ---------- shared: FAQ wrapper ---------- */
#main .t8f5-faq { margin-top: 8px !important; }
#main .t8f5-faq details.t8-faq .t8-faq-a { padding: 0 0 20px; }
#main .t8f5-faq details.t8-faq .t8-faq-a > p { margin: 0; }

/* ---------- shared: "On this page" fold hidden while the rail shows the same list ---------- */
html.t8f5-rail #main .guide .t8-ptoc { display: none !important; }

/* ---------- shared: two cards side by side (examples, tax cards) ---------- */
#main .t8f5-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: var(--s5, 1.5rem) 0 !important; list-style: none !important; padding: 0 !important; }
#main .t8f5-pair > li, #main .t8f5-pair > div { margin: 0 !important; padding: 20px; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main .t8f5-pair > li::before, #main .t8f5-pair > li::marker { content: none !important; }
#main .t8f5-pair .t8-ico { display: block; width: 32px; height: 32px; color: var(--gold, #C9A24A); margin-bottom: 10px; }
#main .t8f5-pair p { margin: 0 !important; }
#main .t8f5-pair p + p, #main .t8f5-pair .t8-example + p { margin-top: 10px !important; }
#main .t8f5-pair .t8-example { margin: 12px 0 0 !important; }
@media (max-width: 700px) { #main .t8f5-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- checklist card with a print button ---------- */
#main .t8f5-check { margin: var(--s6, 2rem) 0 !important; padding: 24px; border: 1px solid var(--t8-gold-a40, rgba(201,162,74,.42)); border-radius: 10px; background: var(--t8-warm, #1A1916); }
#main .t8f5-check > h2 { margin-top: 0 !important; }
#main .t8f5-check ul { list-style: none !important; padding-left: 0 !important; margin: 16px 0 0 !important; display: block !important; }
#main .t8f5-check ul > li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--line, #2A2D34); margin: 0 !important; }
#main .t8f5-check ul > li:first-child { border-top: 0; }
#main .t8f5-check ul > li::marker { content: none; }
#main .t8f5-check ul > li::before { content: "" !important; display: block !important; position: absolute; left: 4px; top: 12px; width: 20px; height: 20px; border: 2px solid var(--gold, #C9A24A); border-radius: 4px; background: none !important; }
#main .t8f5-check .t8f5-check__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
#main .t8f5-check .t8f5-check__bar p { margin: 0 !important; flex: 1 1 260px; }
#main .t8f5-print { min-height: 48px; background: var(--gold, #C9A24A) !important; color: var(--navy, #0D0E11) !important; border: 1px solid var(--gold, #C9A24A) !important; display: inline-flex; align-items: center; gap: .5em; }
#main .t8f5-print::before { content: ""; display: inline-block; width: 1em; height: 1.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M4 1h8l5 5v15H4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M7 11h7M7 15h7' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M4 1h8l5 5v15H4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M7 11h7M7 15h7' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }
#main .t8f5-print[hidden] { display: none !important; }

/* ---------- numbered warning cards (red flags) ---------- */
#main ol.t8f5-wcards { list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; display: block !important; columns: 2; column-gap: 16px; counter-reset: t8f5w; }
#main ol.t8f5-wcards > li { counter-increment: t8f5w; position: relative; margin: 0 0 16px !important; break-inside: avoid; display: block; padding: 56px 20px 20px; border: 1px solid #4A2A26; border-top: 3px solid var(--t8-bad, #FF8A80); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main ol.t8f5-wcards > li::marker { content: none; }
#main ol.t8f5-wcards > li::before { content: counter(t8f5w) !important; display: grid !important; place-items: center; position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--t8-bad-bg, #2A1414); border: 1px solid var(--t8-bad, #FF8A80); color: var(--t8-bad, #FF8A80); font: 700 .9375rem/1 var(--font-body, system-ui, sans-serif); }
#main ol.t8f5-wcards > li > p { margin: 0 !important; }
#main ol.t8f5-wcards > li > p.t8f5-wcards__h { font-weight: 600; font-size: 1.125rem; line-height: 1.35; margin-bottom: 8px !important; color: var(--text, #F3EFE6); }
#main ol.t8f5-wcards > li > p.t8f5-wcards__c { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--line, #2A2D34); }
#main ol.t8f5-wcards > li > p.t8f5-wcards__c em { font-style: normal; font-weight: 600; color: var(--gold, #C9A24A); }
@media (max-width: 700px) { #main ol.t8f5-wcards { columns: 1; } }

/* ---------- link / agency cards ---------- */
#main .t8f5-lcards { list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; display: grid !important; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; }
#main .t8f5-lcards > li { margin: 0 !important; padding: 20px; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); display: flex; flex-direction: column; gap: 10px; }
#main .t8f5-lcards > li::before, #main .t8f5-lcards > li::marker { content: none !important; display: none !important; }
#main .t8f5-lcards .t8-ico { width: 32px; height: 32px; color: var(--gold, #C9A24A); }
#main .t8f5-lcards p { margin: 0 !important; }
@media (max-width: 700px) { #main .t8f5-lcards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- before / after (2021 change) ---------- */
#main .t8f5-ba { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: var(--s5, 1.5rem) 0 !important; }
#main .t8f5-ba__c { padding: 20px; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main .t8f5-ba__c--new { border-color: var(--t8-gold-a40, rgba(201,162,74,.42)); background: var(--t8-warm, #1A1916); }
#main .t8f5-ba__k { margin: 0 0 8px !important; font-family: var(--font-display, Georgia, serif); font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: var(--text, #F3EFE6); }
#main .t8f5-ba__c p { margin: 0 !important; }
#main .t8f5-ba__c ul { margin: 0 !important; }
#main .t8f5-ba__c ul > li + li { margin-top: 8px; }
#main .t8f5-ba__arrow { display: grid; place-items: center; color: var(--gold, #C9A24A); }
#main .t8f5-ba__arrow svg { width: 28px; height: 28px; }
#main .t8f5-ba__arrow { height: 40px; } #main .t8f5-ba__arrow svg { transform: rotate(90deg); }

/* ---------- stat callout and stat tiles ---------- */
#main .t8f5-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; align-items: center; margin: var(--s5, 1.5rem) 0 !important; padding: 24px; border: 1px solid var(--t8-gold-a40, rgba(201,162,74,.42)); border-radius: 10px; background: var(--t8-warm, #1A1916); }
#main .t8f5-stat__n { margin: 0 !important; font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; color: var(--gold-bright, #E3C77E); font-variant-numeric: tabular-nums; white-space: nowrap; }
#main .t8f5-stat__t { margin: 0 !important; }
@media (max-width: 600px) { #main .t8f5-stat { grid-template-columns: minmax(0, 1fr); } }
#main .t8f5-tiles { list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#main .t8f5-tiles > li { margin: 0 !important; padding: 16px; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main .t8f5-tiles > li::before, #main .t8f5-tiles > li::marker { content: none !important; display: none !important; }
#main .t8f5-tiles__n { display: block; font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); line-height: 1.15; color: var(--gold-bright, #E3C77E); font-variant-numeric: tabular-nums; }
#main .t8f5-tiles__l { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.35; color: var(--text-2, #DCD7CC); }


/* ---------- HTML/CSS bar chart (U.S. production) ---------- */
#main .t8f5-chart { margin: var(--s6, 2rem) 0 !important; padding: 24px; border: 1px solid var(--line-strong, #3D414A); border-radius: 10px; background: var(--t8-warm-2, #15151A); }
#main .t8f5-chart > h3 { margin: 0 0 18px !important; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
#main .t8f5-bars { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; gap: 14px; }
#main .t8f5-bars > li { margin: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
#main .t8f5-bars > li::before, #main .t8f5-bars > li::marker { content: none !important; display: none !important; }
#main .t8f5-bars__l { display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; line-height: 1.3; }
#main .t8f5-bars__l b { font-weight: 600; color: var(--text, #F3EFE6); }
#main .t8f5-bars__l span { color: var(--text-2, #DCD7CC); font-variant-numeric: tabular-nums; white-space: nowrap; }
#main .t8f5-bars__t { height: 22px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
#main .t8f5-bars__f { display: block; height: 100%; width: var(--v); border-radius: 4px; background: var(--gold, #C9A24A); }
#main .t8f5-bars__f--grey { background: #8A8F99; }
#main .t8f5-chart figcaption { margin-top: 16px !important; }
#main .t8f5-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 220px; margin: 0 !important; padding: 0 !important; list-style: none !important; border-bottom: 1px solid var(--line-strong, #3D414A); }
#main .t8f5-cols > li { margin: 0 !important; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; text-align: center; }
#main .t8f5-cols > li::before, #main .t8f5-cols > li::marker { content: none !important; display: none !important; }
#main .t8f5-cols__v { font-size: .875rem; line-height: 1.2; color: var(--text-2, #DCD7CC); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
#main .t8f5-cols__b { display: block; height: var(--h); min-height: 4px; border-radius: 4px 4px 0 0; background: var(--gold, #C9A24A); }
#main .t8f5-cols__b--est { background: repeating-linear-gradient(135deg, var(--gold, #C9A24A) 0 6px, var(--gold-dim, #8C7130) 6px 10px); }
#main .t8f5-cols-x { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0 !important; padding: 0 !important; list-style: none !important; text-align: center; font-size: .875rem; line-height: 1.25; color: var(--text-3, #BDB8AD); }
#main .t8f5-cols-x > li { margin: 0 !important; }
#main .t8f5-cols-x > li::before, #main .t8f5-cols-x > li::marker { content: none !important; display: none !important; }
@media (max-width: 480px) { #main .t8f5-chart { padding: 16px; } #main .t8f5-cols { gap: 6px; height: 180px; } #main .t8f5-cols-x { gap: 6px; } #main .t8f5-cols__v, #main .t8f5-cols-x { font-size: .8125rem; } }

/* ---------- grouped timeline: ten steps inside the seven stages ---------- */
#main ol.t8f5-tl { list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; display: block !important; }
#main ol.t8f5-tl > li { position: relative; margin: 0 !important; padding: 0 0 8px 56px; }
#main ol.t8f5-tl > li::marker { content: none; }
#main ol.t8f5-tl > li::before { content: "" !important; display: block !important; position: absolute; left: 19px; top: 8px; bottom: -8px; width: 2px; background: var(--gold-dim, #8C7130); }
#main ol.t8f5-tl > li:last-child::before { bottom: 24px; }
#main .t8f5-tl__stage { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 12px !important; padding-top: 4px; font-weight: 700; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold, #C9A24A); }
#main .t8f5-tl__n { position: absolute; left: -56px; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold, #C9A24A); color: #0D0E11; font: 700 1.0625rem/1 var(--font-body, system-ui, sans-serif); letter-spacing: 0; box-shadow: 0 0 0 4px var(--navy, #0D0E11); }
#main .t8f5-tl__step { margin: 0 0 16px !important; padding: 18px 20px; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main .t8f5-tl__step > h3 { margin-top: 0 !important; }
#main .t8f5-tl__step > :last-child { margin-bottom: 0 !important; }
#main .t8f5-tl__step .table-wrap { margin-top: 16px; }
@media (max-width: 600px) { #main ol.t8f5-tl > li { padding-left: 44px; } #main ol.t8f5-tl > li::before { left: 15px; } #main .t8f5-tl__n { left: -44px; width: 32px; height: 32px; font-size: .9375rem; } #main .t8f5-tl__step { padding: 16px; } }

/* ---------- research guide: steps 2 to 9 ---------- */
#main ol.t8f5-rsteps { list-style: none !important; padding: 0 !important; margin: var(--s6, 2rem) 0 !important; display: block !important; }
#main ol.t8f5-rsteps > li { position: relative; margin: 0 !important; padding: 0 0 28px 60px; }
#main ol.t8f5-rsteps > li::marker { content: none; }
#main ol.t8f5-rsteps > li::before { content: "" !important; display: block !important; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; background: var(--gold-dim, #8C7130); }
#main ol.t8f5-rsteps > li:last-child::before { display: none !important; }
#main ol.t8f5-rsteps > li:last-child { padding-bottom: 0; }
#main .t8f5-rsteps__n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold, #C9A24A); color: #0D0E11; font: 700 1.0625rem/1 var(--font-body, system-ui, sans-serif); }
#main ol.t8f5-rsteps > li > h2 { margin-top: 0 !important; padding-top: 2px; }
#main ol.t8f5-rsteps details.t8f5-more { margin-top: 12px !important; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
#main ol.t8f5-rsteps details.t8f5-more > summary { cursor: pointer; list-style: none; padding: 12px 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--gold, #C9A24A); }
#main ol.t8f5-rsteps details.t8f5-more > summary::-webkit-details-marker { display: none; }
#main ol.t8f5-rsteps details.t8f5-more > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
#main ol.t8f5-rsteps details.t8f5-more[open] > summary::after { content: "\2212"; }
#main ol.t8f5-rsteps details.t8f5-more > .t8f5-more__b { padding: 0 16px 16px; }
#main ol.t8f5-rsteps details.t8f5-more > .t8f5-more__b > :first-child { margin-top: 0 !important; }
#main ol.t8f5-rsteps details.t8f5-more > .t8f5-more__b > :last-child { margin-bottom: 0 !important; }
@media (max-width: 600px) { #main ol.t8f5-rsteps > li { padding-left: 48px; } #main .t8f5-rsteps__n { width: 34px; height: 34px; font-size: .9375rem; } #main ol.t8f5-rsteps > li::before { left: 16px; top: 38px; } }

/* ---------- resources / reserves diagram ---------- */
#main figure.t8f5-ladder { margin: var(--s6, 2rem) 0 !important; padding: 20px; border: 1px solid var(--line-strong, #3D414A); border-radius: 10px; background: var(--t8-warm-2, #15151A); }
#main figure.t8f5-ladder svg { display: block; width: 100%; height: auto; }
#main figure.t8f5-ladder .t8f5-ladder__n { display: none; }
@media (max-width: 599px) { #main figure.t8f5-ladder { padding: 12px; } #main figure.t8f5-ladder .t8f5-ladder__w { display: none; } #main figure.t8f5-ladder .t8f5-ladder__n { display: block; } }

/* ---------- glossary guide ---------- */
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dt { margin: var(--s6, 2rem) 0 var(--s2, .5rem); padding-left: .875rem; border-left: 3px solid transparent; font-family: var(--font-display, Georgia, serif); font-size: 1.3125rem; line-height: 1.25; color: var(--text, #F3EFE6); scroll-margin-top: calc(var(--header-h, 64px) + 24px); }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi:first-child > dt { margin-top: var(--s4, 1rem); }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd { margin: 0; padding-left: .875rem; border-left: 3px solid transparent; color: var(--text-2, #DCD7CC); font-size: 1.0625rem; line-height: 1.6; }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd p { margin: 0 0 .5rem; }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd .t8-gl-more { margin: 0; font-size: .9375rem; color: var(--text-3, #BDB8AD); }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd .t8-gl-more a { display: inline-flex; align-items: center; min-height: 44px; }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dt:target, html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dt:target + dd { border-left-color: var(--gold, #C9A24A); background: linear-gradient(90deg, rgba(201,162,74,.10), transparent 75%); }
@media print { html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dt, html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd { border: 0; background: none; color: #000; } html body dl.t8-gl.t8f5-gl2 > .t8f5-gi { break-inside: avoid; } }
@media (min-width: 1100px) {
  #main .t8f5-gljump > .t8-gl-jumplabel, #main .t8f5-gljump > ul.t8-gl-jump { display: none !important; }
  #main dl.t8f5-gl2 { display: block !important; columns: 2; column-gap: 32px; }
  #main dl.t8f5-gl2 > .t8f5-gi { display: block; break-inside: avoid; padding: 4px 0 16px; border-top: 1px solid var(--line, #2A2D34); }
  html body #main dl.t8-gl.t8f5-gl2 > .t8f5-gi > dt { margin-top: 12px; }
  #main dl.t8f5-gl2 > .t8f5-gi > dd { margin-bottom: 0 !important; }
}
@media (max-width: 699px) {
  html body #main nav.t8f5-gljump > ul.t8-gl-jump { position: sticky; top: 0; z-index: 5; display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 8px; overflow-x: auto; margin: 0 -16px !important; padding: 10px 16px !important; background: var(--navy, #0D0E11); border-bottom: 1px solid var(--line-strong, #3D414A); scrollbar-width: none; }
  #main .t8f5-gljump > ul.t8-gl-jump::-webkit-scrollbar { display: none; }
  html body #main nav.t8f5-gljump > ul.t8-gl-jump > li { flex: none; margin: 0 !important; width: auto !important; }
  #main .t8f5-gljump > ul.t8-gl-jump > li > a { white-space: nowrap; }
  #main .t8f5-gljump { display: contents; }
}

/* ---------- hub ---------- */
#investor-guide-index .t8f5-hubhead { margin-bottom: 0 !important; }
#investor-guide-index .t8f5-hubhead .lede { margin-top: 8px; }
html body #ig-glossary .t8-gl-body { max-width: none; }
#ig-glossary .t8f5-terms { list-style: none !important; padding: 0 !important; margin: var(--s6, 2rem) 0 0 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#ig-glossary .t8f5-terms > li { margin: 0 !important; padding: 22px; border: 1px solid var(--line-strong, #3D414A); border-top: 3px solid var(--gold, #C9A24A); border-radius: 8px; background: var(--t8-warm-2, #15151A); display: flex; flex-direction: column; }
#ig-glossary .t8f5-terms > li::before, #ig-glossary .t8f5-terms > li::marker { content: none !important; display: none !important; }
#ig-glossary .t8f5-terms h3 { margin: 0 0 10px !important; font-size: 1.375rem; line-height: 1.25; }
#ig-glossary .t8f5-terms p { margin: 0 !important; font-size: 1.0625rem; line-height: 1.55; color: var(--text-2, #DCD7CC); }
#ig-glossary .t8f5-allterms { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-top: 24px; }
#ig-glossary .t8f5-allterms .t8-gl-src { flex: 1 1 420px; margin: 0 !important; max-width: none; }
#ig-glossary .t8f5-allterms .btn { min-height: 48px; }
#ig-glossary .t8-gl-src { margin-top: 20px; }
@media (max-width: 1199px) { #ig-glossary .t8f5-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { #ig-glossary .t8f5-terms { grid-template-columns: minmax(0, 1fr); } }
#investor-guide-index section.t8f5-cta > .wrap.split { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 20px; max-width: 760px; }
#investor-guide-index section.t8f5-cta > .wrap.split > * { width: auto !important; max-width: 100% !important; align-self: center !important; margin-inline: auto !important; text-align: center; }
#investor-guide-index section.t8f5-cta > .wrap.split > .cluster { justify-content: center !important; }
#investor-guide-index section.t8f5-cta .stack > * { margin-inline: auto; text-align: center; }

/* ---------- print: only the chosen block (checklists) ---------- */
@media print {
  html.t8f5-ps .t8f5-phide, html.t8f5-ps body #main :not(#t8f5-x):not(#t8f5-y).t8f5-phide.t8f5-phide { display: none !important; }
  html.t8f5-ps .t8f5-check { border: 0 !important; padding: 0 !important; background: none !important; color: #000 !important; }
  html.t8f5-ps .t8f5-check * { color: #000 !important; }
  html.t8f5-ps .t8f5-check ul > li { padding-top: 6px; padding-bottom: 6px; border-color: #999 !important; }
  html.t8f5-ps .t8f5-check ul > li::before { border-color: #000 !important; top: 7px; width: 14px; height: 14px; }
  html.t8f5-ps .t8f5-check .t8f5-check__bar { display: none !important; }
  .t8f5-print { display: none !important; }
  #main .t8f5-warn, #main .t8f5-note, #main .t8f5-chart, #main ol.t8f5-wcards > li, #main .t8f5-pair > li, #main .t8f5-lcards > li, #main .t8f5-tl__step, #main .t8f5-ba__c, #main .t8f5-stat, #main figure.t8f5-ladder { background: none !important; break-inside: avoid; }
}

/* ---------- self-directed IRA guide (lean) seen from the owner side: no links to investor pages (F5-12) ---------- */
html.t8-from-own .t8f5-nocoown { display: none !important; }
html.t8-from-own [data-guide] .t8-next, html.t8-from-own #main .guide .t8-next, html.t8-from-own #main .guide .guide-next { display: none !important; }
@media (max-width: 699px) { html body #main nav.t8f5-gljump > ul.t8-gl-jump > li > a[aria-current] { border-color: var(--gold, #C9A24A) !important; color: var(--gold-bright, #E3C77E) !important; } }

/* ---------- round H5 (fix plan 3) ---------- */
/* H5-01: research steps and checklist headings at the prose h2 size (same as "Common questions") */
html body #main .guide ol.t8f5-rsteps > li > h2, html body #main .guide .t8f5-check > h2 { font-size: var(--fs-lg) !important; line-height: 1.12; letter-spacing: -.005em; }
html body #main ol.t8f5-rsteps .t8-example__label { text-transform: none; letter-spacing: 0; font-size: 1rem; line-height: 1.4; }
/* H5-03: callout headings rank below the section headings (24 px) */
html body #main .guide :is(.t8f5-warn, .t8f5-note) > :is(h2, h3) { font-size: 1.5rem !important; line-height: 1.25; letter-spacing: 0; }
/* H5-02: space inside the F5 components */
html body #main :is(.t8f5-warn, .t8f5-note, .t8f5-tl__step, .t8f5-ba__c, ol.t8f5-rsteps > li, .t8f5-more__b, .t8f5-check) > :is(h2, h3) { margin-bottom: .5rem !important; }
html body #main :is(.t8f5-warn, .t8f5-note, .t8f5-tl__step, .t8f5-ba__c, ol.t8f5-rsteps > li, .t8f5-more__b, .t8f5-check) > :is(p, ul, ol, div, details, figure, table) + :is(p, ul, ol, div, details, figure, table) { margin-top: .75rem !important; }
html body #main :is(.t8f5-warn, .t8f5-note, .t8f5-tl__step, .t8f5-ba__c, ol.t8f5-rsteps > li, .t8f5-more__b, .t8f5-check) > :is(h2, h3) + * { margin-top: 0 !important; }
html body #main .t8f5-ba__c > p.t8f5-ba__k { margin-bottom: .5rem !important; }
html body #main .t8f5-ba__c > p.t8f5-ba__k + * { margin-top: 0 !important; }
/* H5-04: claim-to-mine. Study-level table sits under the step 5 card (full width of the track); seven-stages table folds on phones */
#main .t8f5-tl__after { margin: 0 0 16px !important; }
#main .t8f5-tl__after > .table-wrap, #main .t8f5-tl__after > details.t8f5-mfold { margin: 0 !important; }
#main .t8f5-tl__after > p.fine { margin: 10px 0 0 !important; }
#main details.t8f5-mfold { margin: var(--s4, 1rem) 0 0 !important; }
#main details.t8f5-mfold > summary { display: none; }
@media (max-width: 600px) {
  #main details.t8f5-mfold { border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm-2, #15151A); }
  #main .prose > details.t8f5-mfold { margin-bottom: 24px !important; }
  #main details.t8f5-mfold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; font-weight: 600; color: var(--gold, #C9A24A); }
  #main details.t8f5-mfold > summary::-webkit-details-marker { display: none; }
  #main details.t8f5-mfold > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
  #main details.t8f5-mfold[open] > summary::after { content: "\2212"; }
  #main details.t8f5-mfold > .table-wrap { margin: 0 !important; padding: 0 12px 12px; }
}
@media print { #main details.t8f5-mfold > summary { display: none !important; } }
/* H5-07: red-flag cards in a grid, read across (1-2 / 3-4 ...), both columns end together */
#main ol.t8f5-wcards { columns: auto !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
#main ol.t8f5-wcards > li { margin: 0 !important; }
@media (max-width: 700px) { #main ol.t8f5-wcards { grid-template-columns: minmax(0, 1fr); } }
/* H5-10 / B20: print-only source line under the printable checklists */
#main .t8f5-check > p.t8f5-pfoot { display: none !important; }
@media print { #main .t8f5-check > p.t8f5-pfoot { display: block !important; margin: 10pt 0 0 !important; padding-top: 6pt; border-top: 1px solid #999; font-size: 9pt !important; color: #000 !important; } }
/* H5-08: resources vs reserves. Existing text set as cards (resource classes, reserve classes, issuer stages) */
#main ul.t8f5-cards { list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; display: grid !important; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; }
#main ul.t8f5-cards > li { margin: 0 !important; padding: 20px; border: 1px solid var(--line-strong, #3D414A); border-top: 3px solid var(--gold, #C9A24A); border-radius: 8px; background: var(--t8-warm-2, #15151A); display: flex; flex-direction: column; gap: 12px; }
#main ul.t8f5-cards > li::before, #main ul.t8f5-cards > li::marker { content: none !important; display: none !important; }
#main ul.t8f5-cards > li.t8f5-cards__c--dash { border-style: dashed; border-top-style: dashed; }
#main ul.t8f5-cards > li > p { margin: 0 !important; font-size: 1.0625rem; line-height: 1.55; color: var(--text-2, #DCD7CC); }
#main ul.t8f5-cards > li > p > strong:first-child { display: block; margin-bottom: 4px; font-family: var(--font-display, Georgia, serif); font-size: 1.25rem; line-height: 1.25; color: var(--text, #F3EFE6); }
#main ul.t8f5-cards--stage > li > p > strong:first-child { display: inline; margin: 0; font-family: inherit; font-size: inherit; }
#main ul.t8f5-cards--stage > li > p strong { color: var(--text, #F3EFE6); }
#main .t8f5-conf { display: flex; gap: 6px; }
#main .t8f5-conf > i { display: block; width: 28px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
#main .t8f5-conf > i.on { background: var(--gold, #C9A24A); }
#main .t8f5-cards__k { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold, #C9A24A); color: #0D0E11; font: 700 .9375rem/1 var(--font-body, system-ui, sans-serif); }
@media (max-width: 899px) { #main ul.t8f5-cards { grid-template-columns: minmax(0, 1fr); } }
#main ol.t8f5-qsteps .t8-steps__d { color: var(--text-2, #DCD7CC); }
@media print { #main ul.t8f5-cards > li { background: none !important; break-inside: avoid; } }
#main ul.t8f5-cards--rows > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 20px; align-items: start; }
#main ul.t8f5-cards--rows > li > .t8f5-conf { padding-top: 10px; }
@media (max-width: 600px) { #main ul.t8f5-cards--rows > li { grid-template-columns: minmax(0, 1fr); row-gap: 12px; } #main ul.t8f5-cards--rows > li > .t8f5-conf { padding-top: 0; } }
/* the six questions stay a vertical track at every width (long text) */
html body #main ol.t8f5-qsteps { grid-auto-flow: row !important; grid-auto-columns: auto !important; }
html body #main ol.t8f5-qsteps .t8-steps__i { grid-template-columns: 40px minmax(0, 1fr) !important; justify-items: stretch !important; text-align: left !important; row-gap: 0 !important; padding: 0 0 20px !important; }
html body #main ol.t8f5-qsteps > li:last-child .t8-steps__i { padding-bottom: 0 !important; }
html body #main ol.t8f5-qsteps .t8-steps__n { grid-row: 1 / span 2 !important; }
html body #main ol.t8f5-qsteps .t8-steps__t { padding-top: 9px !important; font-size: 1.0625rem !important; }
html body #main ol.t8f5-qsteps .t8-steps__d { grid-column: 2 !important; }
html body #main ol.t8f5-qsteps > li:not(:last-child)::after { left: 19px !important; right: auto !important; top: 40px !important; bottom: 0 !important; width: 2px !important; height: auto !important; }
/* H5-09: hub on phones. Compact guide rows (96 px thumbnail left, label / title / time right) */
@media (max-width: 600px) {
  html body #investor-guide-index .guide-index.t8b-thumbs { gap: 12px !important; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile { display: grid !important; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; padding: 12px !important; min-height: 0 !important; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > img.t8b-thumb { grid-column: 1; grid-row: 1 / span 3; width: 96px !important; height: 96px !important; max-width: none !important; aspect-ratio: 1 / 1 !important; object-fit: cover; margin: 0 !important; border-radius: 6px; align-self: start; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > :not(img) { grid-column: 2; margin: 0 !important; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > .guide-q { font-size: 1.0625rem !important; line-height: 1.3 !important; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > .meta { align-self: end; }
}
/* glossary cards: term + first sentence, rest in a fold */
#ig-glossary .t8f5-terms details.t8f5-tmore { margin-top: 10px; }
#ig-glossary .t8f5-terms details.t8f5-tmore > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--gold, #C9A24A); }
#ig-glossary .t8f5-terms details.t8f5-tmore > summary::-webkit-details-marker { display: none; }
#ig-glossary .t8f5-terms details.t8f5-tmore > summary::after { content: "+"; font-size: 1.25rem; line-height: 1; }
#ig-glossary .t8f5-terms details.t8f5-tmore[open] > summary::after { content: "\2212"; }
#ig-glossary .t8f5-terms details.t8f5-tmore > p { margin-top: 4px !important; }
#ig-glossary .t8f5-anchor { display: block; height: 0; }
@media print { #ig-glossary .t8f5-terms details.t8f5-tmore > summary { display: none; } }
@media (max-width: 600px) { html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > .eyebrow { display: none !important; } html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile { grid-template-rows: auto 1fr; min-height: 120px !important; } html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > img.t8b-thumb { grid-row: 1 / span 2; } }
/* glossary cards: open on wider screens (heading only, not a control); closed term rows on phones */
#ig-glossary .t8f5-terms details.t8f5-pfold > summary { list-style: none; display: block; }
#ig-glossary .t8f5-terms details.t8f5-pfold > summary::-webkit-details-marker { display: none; }
@media (min-width: 601px) { #ig-glossary .t8f5-terms details.t8f5-pfold > summary { pointer-events: none; cursor: default; } }
@media (max-width: 600px) {
  #ig-glossary .t8f5-terms { gap: 10px !important; margin-top: var(--s5, 1.5rem) !important; }
  #ig-glossary .t8f5-terms > li { padding: 0 !important; }
  #ig-glossary .t8f5-terms details.t8f5-pfold > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; }
  #ig-glossary .t8f5-terms details.t8f5-pfold > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--gold, #C9A24A); }
  #ig-glossary .t8f5-terms details.t8f5-pfold[open] > summary::after { content: "\2212"; }
  #ig-glossary .t8f5-terms details.t8f5-pfold > summary h3 { margin: 0 !important; font-size: 1.1875rem !important; }
  #ig-glossary .t8f5-terms details.t8f5-pfold > :not(summary) { margin-left: 16px !important; margin-right: 16px !important; }
  #ig-glossary .t8f5-terms details.t8f5-pfold[open] > :last-child { margin-bottom: 16px !important; }
}
@media (min-width: 601px) { #ig-glossary .t8f5-terms details.t8f5-tmore > summary { display: none; } #ig-glossary .t8f5-terms details.t8f5-tmore { margin-top: 0; } #ig-glossary .t8f5-terms details.t8f5-tmore > p { margin-top: .75rem !important; } }
/* H5-09 / W6-16: glossary "More:" lines wrap as running text (no orphaned label) */
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd .t8-gl-more a { display: inline !important; min-height: 0 !important; padding-block: 10px; line-height: 1.6; }
html body dl.t8-gl.t8f5-gl2 > .t8f5-gi > dd .t8-gl-more { line-height: 1.6; }
@media (max-width: 699px) { html body #main nav.t8f5-gljump > ul.t8-gl-jump { margin: 0 !important; padding: 10px 0 !important; } }
/* G8: example tables stay inside their box on phones */
@media (max-width: 600px) { html body #main .t8-example table.t8-example__tbl { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; table-layout: fixed; } html body #main .t8-example table.t8-example__tbl th { width: 38%; } html body #main .t8-example table.t8-example__tbl :is(th, td) { overflow-wrap: anywhere; white-space: normal !important; } }
/* (coordinator note) one card per row: in two columns the cards' text lengths differ by up to 225 px per row (G1/G3);
   one column reads 1, 2, 3 ... and nothing ends unevenly. Number sits in the left margin of each card. */
#main ol.t8f5-wcards { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
#main ol.t8f5-wcards > li { padding: 20px 24px 20px 72px !important; }
#main ol.t8f5-wcards > li::before { left: 22px !important; top: 20px !important; }
@media (max-width: 600px) { #main ol.t8f5-wcards > li { padding: 56px 18px 18px !important; } #main ol.t8f5-wcards > li::before { left: 18px !important; top: 16px !important; } }
#main ul.t8f5-cards--stage.t8f5-cards--rows > li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 16px 20px; }
@media (max-width: 600px) { #main ul.t8f5-cards--stage.t8f5-cards--rows > li { grid-template-columns: 32px minmax(0, 1fr); align-items: start; } }
#ig-glossary .t8f5-terms .t8f5-th { display: block; margin: 0 0 10px; font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: 1.375rem; line-height: 1.25; color: var(--text, #F3EFE6); }
@media (max-width: 600px) { #ig-glossary .t8f5-terms details.t8f5-pfold > summary .t8f5-th { margin: 0; font-size: 1.1875rem; } }
/* research step 1: the filings table fits its fold without sideways scrolling */
@media (min-width: 601px) { html body #main .t8f5-more__b .table-wrap > table { min-width: 0 !important; width: 100% !important; } }

/* ================= round J5 (fix plan 4, Nov 26) ================= */
/* J5-01: stocks guide comparison table fits without sideways scroll at >= 601 (fixed layout, 18% label column, wrapping headers) */
@media (min-width: 601px) {
  html body #main .table-wrap > table.t8f5-cmp { table-layout: fixed !important; width: 100% !important; min-width: 0 !important; }
  html body #main table.t8f5-cmp :is(th, td):first-child { width: 18%; }
  html body #main table.t8f5-cmp thead th { letter-spacing: .04em !important; white-space: normal !important; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  html body #main table.t8f5-cmp td { overflow-wrap: normal; word-break: normal; hyphens: manual; }
}
/* J5-02: example tables on phones: label cells wrap at spaces only, value cells stay on one line */
@media (max-width: 600px) {
  html body #main #guide-how-to-research-a-mining-company .t8-example table.t8-example__tbl { table-layout: auto !important; }
  html body #main #guide-how-to-research-a-mining-company .t8-example table.t8-example__tbl th { width: auto !important; overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important; white-space: normal !important; }
  html body #main #guide-how-to-research-a-mining-company .t8-example table.t8-example__tbl td { width: 1% !important; white-space: nowrap !important; overflow-wrap: normal !important; word-break: normal !important; }
}
/* J5-03: eight-questions printout fits one page; footer date never wraps alone */
@media print {
  html[data-t8-checklist] .t8-pk-scope .answer { padding: .5rem !important; margin: 4pt 0 6pt !important; }
  html[data-t8-checklist] .t8-pk-scope .t8-updated { margin: 0 0 4pt !important; }
  html[data-t8-checklist] .t8-pk-foot p { font-size: 9pt !important; white-space: nowrap !important; }
  html[data-t8-checklist="/guides/investing-in-a-junior-gold-company"] .t8-pk-scope ol.t8-pk-list > li { padding-top: 1.5pt !important; padding-bottom: 1.5pt !important; }
  html[data-t8-checklist="/guides/investing-in-a-junior-gold-company"] body .t8-pk-scope:not(#t8-x):not(#t8f5-y), html[data-t8-checklist="/guides/investing-in-a-junior-gold-company"] body .t8-pk-scope :is(p, li, span, strong, a):not(#t8-x):not(#t8f5-y) { font-size: 10.5pt !important; line-height: 1.38 !important; }
  html[data-t8-checklist="/guides/investing-in-a-junior-gold-company"] .t8-pk-scope .prose > p.fine { font-size: 9pt !important; margin-top: 6pt !important; }
}
/* J5-04: glossary groups. Open (summary hidden) at >= 601 and in print; closed folds titled "group (N terms)" on phones */
#main details.t8f5-glgrp > summary { list-style: none; }
#main details.t8f5-glgrp > summary::-webkit-details-marker { display: none; }
@media (min-width: 601px) { #main details.t8f5-glgrp > summary { display: none !important; } }
@media print { #main details.t8f5-glgrp > summary { display: none !important; } }
@media screen and (max-width: 600px) {
  html body #main .prose > h2.t8f5-glh { position: static !important; top: auto !important; width: 1px !important; height: 1px !important; margin: 0 0 -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0 !important; scroll-margin-top: 72px; }
  #main details.t8f5-glgrp { margin: 0 !important; border-top: 1px solid var(--line-strong, #3D414A); }
  #main details.t8f5-glgrp:last-of-type { border-bottom: 1px solid var(--line-strong, #3D414A); }
  #main .prose > h2.t8f5-glh:first-of-type + details.t8f5-glgrp { margin-top: var(--s5, 1.5rem) !important; }
  #main details.t8f5-glgrp > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 0; font-family: var(--font-display, Georgia, serif); font-size: 1.3125rem; line-height: 1.25; color: var(--text, #F3EFE6); }
  #main details.t8f5-glgrp > summary .t8f5-gln { font-family: var(--font-body, sans-serif); font-size: .9375rem; color: var(--text-3, #BDB8AD); white-space: nowrap; margin-left: auto; }
  #main details.t8f5-glgrp > summary::after { content: "+"; flex: none; width: 24px; text-align: center; font-family: var(--font-body, sans-serif); font-size: 1.5rem; line-height: 1; color: var(--gold, #C9A24A); }
  #main details.t8f5-glgrp[open] > summary::after { content: "\2212"; }
  #main details.t8f5-glgrp > summary:focus-visible { outline: 2px solid var(--gold, #C9A24A); outline-offset: 2px; }
  #main details.t8f5-glgrp[open] { padding-bottom: var(--s5, 1.5rem); }
  #main details.t8f5-glgrp > p { margin-top: 0 !important; }
}
/* J5-05: plain-text runs set as existing-text components */
#main .t8f5-ba.t8f5-ba--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: .5rem !important; }
#main .t8f5-ba--2 .t8f5-ba__k { display: block; margin: 0 0 6px; font-family: var(--font-display, Georgia, serif); font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: var(--gold-bright, #E3C77E); }
#main .t8f5-ba--2 .t8f5-ba__c > p { font-size: 1.0625rem; line-height: 1.55; color: var(--text, #F3EFE6); }
#main p.t8f5-ba__lead { margin-bottom: 0 !important; font-weight: 600; color: var(--text, #F3EFE6); }
@media (max-width: 600px) { #main .t8f5-ba.t8f5-ba--2 { grid-template-columns: minmax(0, 1fr); } }
#main ul.t8f5-cards > li.t8f5-cards__wide { grid-column: 1 / -1; }
#main .t8f5-note > p.t8f5-note__t { margin: 0 0 .5rem !important; font-family: var(--font-display, Georgia, serif); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--text, #F3EFE6); }
/* AISC margin table: compact 3-column table on phones, the full table in a fold */
#main .t8f5-ph { display: none; }
@media screen and (max-width: 600px) {
  #main .table-wrap.t8f5-ph { display: block; margin: var(--s4, 1rem) 0 !important; overflow: visible; }
  #main table.t8f5-mcompact { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9375rem; }
  #main table.t8f5-mcompact th, #main table.t8f5-mcompact td { padding: 10px 6px; border-bottom: 1px solid var(--line, #2A2D34); text-align: right; vertical-align: top; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  #main table.t8f5-mcompact :is(th, td):first-child { width: 50%; text-align: left; padding-left: 0; }
  #main table.t8f5-mcompact th { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--text-3, #BDB8AD); }
  #main table.t8f5-mcompact td { white-space: nowrap; font-variant-numeric: tabular-nums; }
  #main table.t8f5-mcompact td:first-child { white-space: normal; }
}
@media print { #main .t8f5-ph { display: none !important; } }
#main ol.t8f5-qs .t8-steps__t { font-weight: 400; font-size: 1.0625rem; line-height: 1.5; padding-top: 8px; color: var(--text-2, #DCD7CC); }
#main ol.t8f5-qs .t8-steps__t strong { font-weight: 600; color: var(--text, #F3EFE6); }
/* U.S. production: USGS limits as an icon list; U.S. total and world rank stay real tables on phones */
#main ul.t8f5-icl > li > p > strong:first-child { display: block; margin-bottom: 4px; font-family: var(--font-display, Georgia, serif); font-size: 1.25rem; line-height: 1.25; font-weight: 600; color: var(--text, #F3EFE6); }
#main ul.t8f5-icl > li > p { font-size: 1.0625rem; line-height: 1.55; color: var(--text-2, #DCD7CC); }
@media (max-width: 600px) {
  html body #main table.t8f5-ctab { width: 100% !important; min-width: 0 !important; table-layout: auto; font-size: .9375rem; }
  html body #main table.t8f5-ctab :is(th, td) { padding: 8px 6px !important; white-space: normal; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  html body #main table.t8f5-ctab :is(th, td):first-child { padding-left: 0 !important; }
  html body #main table.t8f5-ctab th { font-size: .8125rem; letter-spacing: .02em; }
}
/* Retirement: routes table with a fixed 16% route column */
@media (min-width: 601px) {
  html body #main .table-wrap > table.t8f5-routes { table-layout: fixed !important; width: 100% !important; min-width: 0 !important; }
  html body #main table.t8f5-routes :is(th, td):first-child { width: 16%; }
  html body #main table.t8f5-routes :is(th, td) { overflow-wrap: normal; word-break: normal; hyphens: manual; }
}
/* J5-06: hub. Hero right column "Start here" (the four group names, linking to their headings) */
#main .t8f5-start ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#main .t8f5-start li { margin: 0 !important; padding: 0 !important; }
#main .t8f5-start li::before, #main .t8f5-start li::marker { content: none !important; display: none !important; }
#main .t8f5-start a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line, #2A2D34); color: var(--text, #F3EFE6); text-decoration: none; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
#main .t8f5-start li:last-child a { border-bottom: 0; }
#main .t8f5-start a::after { content: "\2192"; flex: none; color: var(--gold, #C9A24A); font-weight: 400; transition: transform .15s ease; }
#main .t8f5-start a:hover { color: var(--gold-bright, #E3C77E); }
#main .t8f5-start a:hover::after { transform: translateX(3px); }
#main .t8f5-start a:focus-visible { outline: 2px solid var(--gold, #C9A24A); outline-offset: 2px; }
#main .t8f5-start > .eyebrow { margin: 0 0 6px !important; }
@media (min-width: 1024px) {
  html body #main .t8f5-hubhero__row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 56px; align-items: center; }
  html body #main .t8f5-hubhero__row > .t8f5-start { margin: 0 !important; padding: 20px 24px 8px; border: 1px solid var(--line-strong, #3D414A); border-top: 3px solid var(--gold, #C9A24A); border-radius: 8px; background: rgba(21, 21, 26, .88); }
}
@media (max-width: 1023px) {
  #main .t8f5-hubhero .t8f5-start { margin-top: var(--s5, 1.5rem) !important; }
  #main .t8f5-hubhero .t8f5-start ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  #main .t8f5-start li:nth-last-child(2) a { border-bottom: 0; }
}
@media (max-width: 600px) { #main .t8f5-hubhero .t8f5-start { display: none !important; } }
@media print { #main .t8f5-start { display: none !important; } }
/* tile eyebrow = "Format · N min" (B8); it carries the reading time, so it shows on phones too */
#investor-guide-index .guide-tile > .eyebrow.t8f5-fmt { letter-spacing: .06em !important; }
/* K5-09: 13 px at every width */
html body #investor-guide-index .guide-tile > .eyebrow.t8f5-fmt { font-size: 13px !important; }
@media (max-width: 600px) {
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > .eyebrow.t8f5-fmt { display: block !important; grid-row: 1; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile { grid-template-rows: auto 1fr !important; }
  html body #investor-guide-index .guide-index.t8b-thumbs > a.guide-tile > .guide-q { grid-row: 2; align-self: start; }
}
/* darker thumbnails: lighter crop of the same image where one exists */
#investor-guide-index a.guide-tile[href$="/mineral-resources-vs-reserves"] > img.t8b-thumb { object-position: 50% 0%; }
#investor-guide-index a.guide-tile[href$="/mining-stock-red-flags"] > img.t8b-thumb { object-position: 50% 72%; }
#investor-guide-index a.guide-tile[href$="/investing-in-a-junior-gold-company"] > img.t8b-thumb { object-position: 50% 75%; }
/* glossary: S-K 1300 as a full-width lead card, then 3 + 2 (2 + 2 + 1 wide below 1200) */
@media (min-width: 601px) {
  html body #ig-glossary ul.t8f5-terms > li:first-child { grid-column: 1 / -1; }
  html body #ig-glossary ul.t8f5-terms > li:first-child details.t8f5-pfold { column-count: 2; column-gap: 40px; }
  html body #ig-glossary ul.t8f5-terms > li:first-child details.t8f5-pfold > summary { column-span: all; }
  html body #ig-glossary ul.t8f5-terms > li:first-child details.t8f5-tmore { break-before: column; }
  html body #ig-glossary ul.t8f5-terms > li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  html body #ig-glossary ul.t8f5-terms { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  html body #ig-glossary ul.t8f5-terms > li:nth-child(n+2):nth-child(-n+4) { grid-column: span 2; }
  html body #ig-glossary ul.t8f5-terms > li:nth-child(n+5) { grid-column: span 3; }
}
@media (min-width: 601px) {
  html body #ig-glossary ul.t8f5-terms > li:first-child details.t8f5-tmore, html body #ig-glossary ul.t8f5-terms > li:first-child details.t8f5-tmore > p { margin-top: 0 !important; }
}
@media (min-width: 601px) and (max-width: 1199px) {
  html body #ig-glossary ul.t8f5-terms > li:last-child details.t8f5-pfold { column-count: 2; column-gap: 40px; }
  html body #ig-glossary ul.t8f5-terms > li:last-child details.t8f5-pfold > summary { column-span: all; }
  html body #ig-glossary ul.t8f5-terms > li:last-child details.t8f5-tmore { break-before: column; }
  html body #ig-glossary ul.t8f5-terms > li:last-child details.t8f5-tmore, html body #ig-glossary ul.t8f5-terms > li:last-child details.t8f5-tmore > p { margin-top: 0 !important; }
  html body #ig-glossary ul.t8f5-terms > li:last-child p { max-width: none !important; }
}
#main .t8f5-hubhero__main > h1 { margin-top: 12px !important; }
#main .t8f5-hubhero__main > .lede { margin-top: 16px !important; }
#main .t8f5-hubhero__main > .t8-ig-note { margin-top: 24px !important; }
#main .t8f5-hubhero__row { margin-top: 14px; }
/* J5-05 print: the retirement cards, case note and routes table print as compact as the plain text they replace */
@media print {
  html body #main ul.t8f5-cards.t8f5-cards--exc { display: block !important; margin: 4pt 0 !important; padding-left: 1.2em !important; list-style: disc !important; }
  html body #main ul.t8f5-cards.t8f5-cards--exc > li { display: list-item !important; padding: 0 !important; border: 0 !important; margin: 0 0 3pt !important; }
  html body #main .t8f5-note.t8f5-case { padding: 4pt 0 4pt 8pt !important; border: 0 !important; border-left: 2pt solid #999 !important; margin: 6pt 0 !important; }
  html body #main .t8f5-note.t8f5-case > p.t8f5-note__t { font-size: 11pt !important; margin: 0 0 2pt !important; }
  html body #main .table-wrap > table.t8f5-routes { table-layout: auto !important; }
}
/* J1 hand-off L6/OR1: the glossary's three-part eyebrow fits one line on phones (no line ending on "·") */
@media (max-width: 600px) { html body #guide-gold-investing-glossary header.stack > p.eyebrow { font-size: 16px !important; letter-spacing: .04em !important; } }
/* U.S. production: the by-state and share tables stay real (compact) tables on phones too */
@media (max-width: 600px) {
  html body #main table.t8f5-ctab--5 { font-size: .8125rem !important; table-layout: fixed !important; }
  html body #main table.t8f5-ctab--5 :is(th, td) { padding: 8px 4px !important; vertical-align: top; }
  html body #main table.t8f5-ctab--5 :is(th, td):first-child { width: 24%; }
  html body #main table.t8f5-ctab--5 th { font-size: .75rem !important; letter-spacing: .01em !important; }
  html body #main table.t8f5-ctab--5 td .fine { font-size: .75rem !important; line-height: 1.3; display: inline-block; margin-top: 2px; }
}
@media (max-width: 600px) {
  html body #main table.t8f5-ctab--5.t8f1-stack { display: table !important; width: 100% !important; border-collapse: collapse !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack thead { display: table-header-group !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack tbody { display: table-row-group !important; width: auto !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack tr { display: table-row !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack :is(th, td) { display: table-cell !important; width: auto !important; padding: 8px 4px !important; border: 0 !important; border-bottom: 1px solid var(--line, #2A2D34) !important; text-align: left !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack :is(th, td):first-child { width: 24% !important; padding-left: 0 !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack :is(th, td)[data-label]::before { content: none !important; display: none !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack caption { display: table-caption; }
}
@media (max-width: 600px) {
  html body #main table.t8f5-ctab--5.t8f1-stack td { font-size: .8125rem !important; line-height: 1.35 !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack td strong { font-size: .875rem; }
  html body #main table.t8f5-ctab--5.t8f1-stack td .fine { font-size: .6875rem !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack :is(th, td):first-child { width: 22% !important; }
}
@media (max-width: 600px) {
  html body #main table.t8f5-ctab--5.t8f1-stack td .fine { font-size: .75rem !important; white-space: normal; }
  html body #main table.t8f5-ctab--5.t8f1-stack td:last-child { white-space: normal !important; }
  html body #main table.t8f5-ctab--5.t8f1-stack :is(th, td):first-child { width: 21% !important; }
}

/* ================= round K5 (fix plan 5, Nov 27) ================= */
/* K5-02: glossary "All 86 terms, A to Z" row styled as a group row (+ marker, group padding); one jump control on phones */
html body #main details.t8-gl-az:not(#t8-k5) { margin: var(--s4, 1rem) 0 0 !important; padding: 0 !important; border-top: 1px solid var(--line-strong, #3D414A); border-bottom: 1px solid var(--line-strong, #3D414A); }
html body #main details.t8-gl-az:not(#t8-k5) > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 0 !important; margin: 0 !important; background: none !important; border: 0 !important; font-family: var(--font-display, Georgia, serif); font-size: 1.3125rem; line-height: 1.25; color: var(--text, #F3EFE6); }
html body #main details.t8-gl-az:not(#t8-k5) > summary::-webkit-details-marker { display: none; }
html body #main details.t8-gl-az:not(#t8-k5) > summary::before { content: none !important; }
html body #main details.t8-gl-az:not(#t8-k5) > summary::after { content: "+" !important; flex: none; width: 24px; text-align: center; font-family: var(--font-body, sans-serif); font-size: 1.5rem; line-height: 1; color: var(--gold, #C9A24A); }
html body #main details.t8-gl-az[open]:not(#t8-k5) > summary::after { content: "\2212" !important; }
html body #main details.t8-gl-az:not(#t8-k5) > summary:focus-visible { outline: 2px solid var(--gold, #C9A24A); outline-offset: 2px; }
html body #main details.t8-gl-az:not(#t8-k5) > ul.t8-gl-jump { display: block !important; columns: 2; column-gap: 24px; margin: 0 0 var(--s5, 1.5rem) !important; padding: 0 !important; list-style: none !important; position: static !important; overflow: visible !important; background: none !important; border: 0 !important; }
html body #main details.t8-gl-az:not(#t8-k5) > ul.t8-gl-jump > li { break-inside: avoid; margin: 0 0 6px !important; padding: 0 !important; line-height: 1.35; width: auto !important; }
html body #main details.t8-gl-az:not(#t8-k5) > ul.t8-gl-jump > li::before { content: none !important; }
html body #main details.t8-gl-az:not(#t8-k5) > ul.t8-gl-jump > li > a { display: inline-block; padding: 4px 0; border: 0; background: none; color: var(--gold, #C9A24A); text-underline-offset: 2px; white-space: normal; }
@media (max-width: 600px) {
  html body #main details.t8-gl-az:not(#t8-k5) { margin-top: var(--s5, 1.5rem) !important; border-bottom: 0; }
  html body #main details.t8-gl-az:not(#t8-k5) > ul.t8-gl-jump { columns: 1; }
  html body #main .prose > h2.t8f5-glh:first-of-type + details.t8f5-glgrp { margin-top: 0 !important; }
  /* one jump control: the sticky chip strip; the prose "Jump to a section" fold is hidden on this page */
  html body #guide-gold-investing-glossary nav.t8-toc.t8-ptoc { display: none !important; }
}
@media (max-width: 699px) {
  html body #guide-gold-investing-glossary nav.t8f5-gljump > ul.t8-gl-jump { background: var(--t8-warm, #1A1916) !important; }
}
html body #guide-gold-investing-glossary nav.t8f5-gljump > ul.t8-gl-jump > li > a { text-decoration: none !important; }
@media (min-width: 601px) { html body #main details.t8-gl-az:not(#t8-k5) { margin-bottom: var(--s6, 2rem) !important; } }
/* K5-03: compact phone tables. Cells clear the table border (>= 8 px), 13 px headers, 12 px ounces line */
@media (max-width: 600px) {
  html body #main table.data:not(.data--cards):not(#t8-k5) :is(th, td), html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td), html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):first-child { padding: .5rem .6rem !important; }
  html body #main table.data:not(.data--cards):not(#t8-k5) th, html body #main table.data.t8f5-ctab--5:not(#t8-k5) th { font-size: 13px !important; letter-spacing: .01em !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) td .fine { font-size: 12px !important; }
}
/* K5-04: claim-to-mine. Step cards: lead sentences, the rest in "More on this step" (open, no marker, >= 601; closed fold on phones).
   Phones: timeline indent 0 with the stage badge above each card; "How long it takes" as a 2-column table, source under each figure */
#main ol.t8f5-tl details.t8f5-smore > summary { display: none; }
#main ol.t8f5-tl details.t8f5-smore > .t8f5-more__b > p { margin: .75rem 0 0 !important; }
@media print { #main ol.t8f5-tl details.t8f5-smore > summary { display: none !important; } }
@media (max-width: 600px) {
  html body #main ol.t8f5-tl > li { padding-left: 0 !important; }
  html body #main ol.t8f5-tl > li::before { display: none !important; }
  html body #main ol.t8f5-tl .t8f5-tl__stage { padding-top: 0; min-height: 32px; }
  html body #main ol.t8f5-tl .t8f5-tl__n { position: static; flex: none; }
  html body #main ol.t8f5-tl .t8f5-tl__step, html body #main ol.t8f5-tl .t8f5-tl__after { margin-left: -8px !important; margin-right: -8px !important; }
  html body #main ol.t8f5-tl .t8f5-tl__step { padding: 16px 12px !important; }
  html body #main ol.t8f5-tl > li + li { margin-top: 12px !important; }
  #main ol.t8f5-tl details.t8f5-smore { margin-top: 12px !important; border: 1px solid var(--line-strong, #3D414A); border-radius: 8px; background: var(--t8-warm, #1A1916); }
  #main ol.t8f5-tl details.t8f5-smore > summary { cursor: pointer; list-style: none; padding: 10px 14px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--gold, #C9A24A); }
  #main ol.t8f5-tl details.t8f5-smore > summary::-webkit-details-marker { display: none; }
  #main ol.t8f5-tl details.t8f5-smore > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
  #main ol.t8f5-tl details.t8f5-smore[open] > summary::after { content: "\2212"; }
  #main ol.t8f5-tl details.t8f5-smore > summary:focus-visible { outline: 2px solid var(--gold, #C9A24A); outline-offset: 2px; }
  #main ol.t8f5-tl details.t8f5-smore > .t8f5-more__b { padding: 0 14px 14px; }
  #main ol.t8f5-tl details.t8f5-smore > .t8f5-more__b > p:first-child { margin-top: 0 !important; }
  /* "How long it takes": Measure | figure, with the source as small text under the figure */
  html body #guide-how-a-gold-claim-becomes-a-mine #how-long ~ .table-wrap:first-of-type table.data { display: table !important; width: 100% !important; border-collapse: collapse !important; }
}
@media (max-width: 600px) {
  html body #main table.data.t8f5-hlong:not(#t8-k5) { display: block !important; width: 100% !important; min-width: 0 !important; border: 1px solid var(--line-strong, #3D414A) !important; border-radius: 8px; overflow: hidden; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) thead { display: block !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; background: var(--t8-warm-2, #15151A); }
  html body #main table.data.t8f5-hlong:not(#t8-k5) tbody { display: block !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) tr { display: grid !important; grid-template-columns: 42% minmax(0, 1fr); column-gap: 12px; margin: 0 !important; padding: 10px 12px !important; border: 0 !important; border-radius: 0 !important; background: none !important; border-bottom: 1px solid var(--line, #2A2D34) !important; width: auto !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) tbody tr:last-child { border-bottom: 0 !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) :is(th, td) { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; text-align: left !important; white-space: normal !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) th { font-size: 13px !important; letter-spacing: .04em !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) th:nth-child(3) { display: none !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) td[data-label]::before { content: none !important; display: none !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) td:first-child { grid-row: 1 / span 2; font-size: .9375rem; line-height: 1.35; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) td:nth-child(2) { grid-column: 2; font-size: .9375rem; line-height: 1.4; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) td:nth-child(3) { grid-column: 2; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--text-3, #BDB8AD); }
}
@media (max-width: 600px) {
  html body #main table.data.t8f5-hlong:not(#t8-k5) th { background: none !important; color: var(--text-3, #BDB8AD) !important; }
  html body #main table.data.t8f5-hlong:not(#t8-k5) thead tr { border-bottom: 1px solid var(--line-strong, #3D414A) !important; }
  html body #main ol.t8f5-tl > li + li { margin-top: 4px !important; }
}
@media (max-width: 600px) {
  html body #main ol.t8f5-tl > li + li { margin-top: 0 !important; }
  html body #main ol.t8f5-tl .t8f5-tl__stage { margin-bottom: 8px !important; }
  html body #main ol.t8f5-tl .t8f5-tl__step { margin-bottom: 12px !important; }
  html body #main ol.t8f5-tl > li { padding-bottom: 8px !important; }
}
@media (max-width: 600px) { html body #main ol.t8f5-tl .t8f5-tl__after > p.fine { padding-inline: 8px; } }
/* K5-05: S-K 1300 "25 sections" on phones: one card per row ("Sections 1–2" badge, the "covers" text, then "What to look for:"); column labels not repeated */
.t8f5-ph { display: none; }
@media (max-width: 600px) {
  html body #main table.data.t8f5-secs:not(#t8-k5) { display: block !important; border: 0 !important; background: none !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) thead { display: none !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) tbody { display: grid !important; gap: 10px; }
  html body #main table.data.t8f5-secs:not(#t8-k5) tr { display: block !important; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--line-strong, #3D414A) !important; border-radius: 8px !important; background: var(--t8-warm-2, #15151A) !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td { display: block !important; padding: 0 !important; border: 0 !important; width: auto !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td[data-label]::before { content: none !important; display: none !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:first-child > strong { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: rgba(201, 162, 74, .16); border: 1px solid var(--gold-dim, #8C7130); color: var(--gold-bright, #E3C77E); font-size: .875rem; letter-spacing: .02em; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(2) { color: var(--text, #F3EFE6); font-size: 1rem; line-height: 1.45; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(3) { margin-top: 6px; color: var(--text-2, #DCD7CC); font-size: .9375rem; line-height: 1.45; }
  html body #main table.data.t8f5-secs:not(#t8-k5) .t8f5-ph { display: inline; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(3) > strong.t8f5-ph { color: var(--text, #F3EFE6); }
}
@media (max-width: 600px) {
  html body #main table.data.t8f5-secs:not(#t8-k5) tbody { gap: 8px; }
  html body #main table.data.t8f5-secs:not(#t8-k5) tr { padding: 12px 14px !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:first-child, html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(2) { display: inline !important; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:first-child > strong { margin: 0 6px 0 0; padding: 1px 9px; font-size: .8125rem; vertical-align: 1px; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(3) { margin-top: 4px; font-size: .875rem; line-height: 1.4; }
  html body #main table.data.t8f5-secs:not(#t8-k5) td:nth-child(2) { line-height: 1.5; }
}
/* K5-06: junior guide. The eight questions as the numbered-badge step list of the resources guide (screen only; print keeps the one-page checklist) */
@media screen {
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) { display: block !important; list-style: none !important; padding: 0 !important; margin: var(--s5, 1.5rem) 0 !important; counter-reset: k5q; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li { display: block !important; position: relative; margin: 0 !important; padding: 0 0 20px 56px !important; counter-increment: k5q; color: var(--text-2, #DCD7CC); }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li::marker { content: none; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li::before { content: counter(k5q) !important; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold, #C9A24A); color: #0D0E11; font: 700 1.0625rem/1 var(--font-body, system-ui, sans-serif); }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--gold-dim, #8C7130); }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li:last-child { padding-bottom: 0 !important; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li > strong:first-child { display: block; padding-top: 9px; margin-bottom: 4px; font-size: 1.0625rem; line-height: 1.35; color: var(--text, #F3EFE6); }
}
@media screen and (max-width: 600px) {
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li { padding-left: 48px !important; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li::before { width: 34px; height: 34px; font-size: .9375rem; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li:not(:last-child)::after { left: 16px; top: 38px; }
  html body #guide-juniors ol.t8-pk-list:not(#t8-k5) > li > strong:first-child { padding-top: 6px; }
}
/* K5-08: rail button on one line (B39 shorter labels + 15 px, tighter side padding; 1024–1199 rail is 236 px) */
html body #main aside.t8-gside .guide-next a.btn:not(#t8-k5) { font-size: 15px !important; padding-inline: 1rem !important; }
@media (max-width: 1199px) { html body #main aside.t8-gside .guide-next a.btn:not(#t8-k5) { padding-inline: 10px !important; letter-spacing: 0 !important; } }
/* K5-10: retirement routes table. Route column 18%, hyphens manual, the other cells 14 px */
@media (min-width: 601px) {
  html body #main table.t8f5-routes:not(#t8-k5) :is(th, td):first-child { width: 18% !important; hyphens: manual; }
  html body #main table.t8f5-routes:not(#t8-k5) td:not(:first-child) { font-size: 14px !important; line-height: 1.45 !important; }
}
@media (min-width: 601px) {
  html body #main table.t8f5-routes:not(#t8-k5) :is(th, td) { padding: 14px 10px !important; }
  html body #main table.t8f5-routes:not(#t8-k5) :is(th, td):first-child { padding-left: 16px !important; }
  html body #main table.t8f5-routes:not(#t8-k5) :is(th, td):last-child { padding-right: 16px !important; width: 26%; }
  html body #main table.t8f5-routes:not(#t8-k5) th { font-size: 13px !important; letter-spacing: .04em !important; }
}
/* K5-11: IRA guide crumb. Capital and first-visit shells: Home / Guides for investors; owner (company) shell: Home only, and no phone back link to the investor hub */
html.t8-from-own #main .breadcrumb .t8-bc-back[href="/investor-guides"] { display: none !important; }
/* K5-12: print footers (date never wraps, 9 pt) and the junior page's letterhead on the retirement and research checklist printouts */
.t8f5-plh { display: none; }
.t8f5-pdate { white-space: nowrap; }
@media print {
  #main .t8f5-check > p.t8f5-pfoot, html[data-t8-checklist] .t8-pk-foot p { font-size: 9pt !important; }
  .t8f5-pdate { white-space: nowrap !important; }
  html.t8f5-ps #main .t8f5-check > .t8f5-plh { display: flex !important; align-items: center; gap: 10pt; margin: 0 0 10pt !important; padding: 0 0 6pt !important; border-bottom: 1.5pt solid #000 !important; break-inside: avoid; }
  html.t8f5-ps #main .t8f5-plh__logo { width: 20pt !important; height: auto !important; display: block !important; }
  html.t8f5-ps #main .t8f5-plh p { margin: 0 !important; color: #000 !important; }
  html.t8f5-ps #main .t8f5-plh__b { font: 600 10pt/1.2 "Instrument Sans", Carlito, sans-serif !important; letter-spacing: .06em; text-transform: uppercase; }
  html.t8f5-ps #main .t8f5-plh__t { font: 600 17pt/1.2 Newsreader, Caladea, Georgia, serif !important; margin-top: 2pt !important; }
}
@media print { html body #main .t8f5-check > p.t8f5-pfoot { max-width: none !important; } }
@media (max-width: 600px) {
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(1) { width: 21% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(2), html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(3) { width: 17% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(4) { width: 27% !important; }
}
@media (max-width: 600px) {
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):first-child { width: 26% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(2), html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(3) { width: 15% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(4) { width: 25% !important; }
}
@media (max-width: 360px) {
  html body #main table.data:not(.data--cards):not(#t8-k5) :is(th, td), html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td), html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):first-child { padding: .5rem .3rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) td { font-size: 12px !important; }
}
@media (max-width: 600px) {
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td) { padding-left: .3rem !important; padding-right: .3rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):first-child { padding-left: .6rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):last-child { padding-right: .6rem !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(1) { width: 25% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(2), html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(3) { width: 16% !important; }
  html body #main table.data.t8f5-share.t8f1-stack:not(#t8-k5) :is(th, td):nth-child(4) { width: 24% !important; }
}
@media (max-width: 360px) {
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td) { padding-left: .2rem !important; padding-right: .2rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):first-child { padding-left: .5rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) :is(th, td):last-child { padding-right: .5rem !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) td strong { font-size: 12px !important; }
  html body #main table.data.t8f5-ctab--5.t8f1-stack:not(#t8-k5) th { font-size: 12px !important; }
}
/* K5-02 follow-up: K1-16 hides the glossary's jump nav at 1024–1199 (the rail lists the groups); keep the "All 86 terms, A to Z" row there (its label and chip strip stay hidden) */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  html body #main #guide-gold-investing-glossary .guide-wrap .prose > nav.t8f5-gljump:not(#t8-k5) { display: block !important; }
  html body #main #guide-gold-investing-glossary .prose > nav.t8f5-gljump:not(#t8-k5) > :is(.t8-gl-jumplabel, ul.t8-gl-jump) { display: none !important; }
}

/* K6-09 IRA private-shares guide: in the owner/company view (arrived from the owner side) body links to investor guides show as plain text */
html:not(.t8-from-own) .t8f5-coown{display:none!important}
/* L1 V5-10: on phones the outer cells of every data table keep at least .5rem between text and the table edge (inner cells have no side borders: adjacent texts stay >= 9.6 px apart) */
@media (max-width:600px){
  html body #main table.data:not(.data--cards):not(#t8-l1) :is(th,td):first-child{padding-left:.5rem!important}
  html body #main table.data:not(.data--cards):not(#t8-l1) :is(th,td):last-child{padding-right:.5rem!important}
}
