/* P8: one shared reference presentation. The supplied desktop wireframe informs
   composition; responsive layouts and exact tokens below are project choices. */
:root { scroll-behavior: auto; }
.sj-reference {
  --sj-ink: #102f43; --sj-text: #294658; --sj-muted: #506578;
  --sj-teal: #07546a; --sj-deep: #063346; --sj-green: #007a4d;
  --sj-ice: #eef7fa; --sj-line: #d4e5ec; --sj-paper: #fff;
  --sj-focus: #007f86; --sj-radius: 16px; --sj-width: 1180px;
  margin: 0; background: var(--sj-paper); color: var(--sj-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.sj-reference *, .sj-reference *::before, .sj-reference *::after { box-sizing: border-box; }
.sj-reference :where(main,section,article,aside,div,nav,header,footer) { min-width: 0; }
.sj-reference [hidden] { display: none !important; }
.sj-reference :where(h1,h2,h3,h4,p,li,a,button,summary,th,td) { overflow-wrap: anywhere; }
.sj-reference :where(h1,h2,h3,h4) {
  font-family: inherit; font-weight: 750; color: var(--sj-ink); line-height: 1.22;
  letter-spacing: -.025em; max-width: 100%; white-space: normal;
  word-break: normal; hyphens: auto; text-wrap: balance; text-shadow: none;
  -webkit-text-fill-color: currentColor;
}
.sj-reference h1 { font-size: clamp(2.1rem, 4.3vw, 3.75rem); }
.sj-reference h2 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); }
.sj-reference h3 { font-size: 1.2rem; }
/* The legacy bundle assigns page-specific font families and very tight tracking. */
.sj-reference :is(h1,h2,h3,h4) { font-family: inherit !important; font-weight: 750 !important; letter-spacing: -.025em !important; }
.sj-reference img { max-width: 100%; }
.sj-reference :where(a,button,summary,[tabindex="0"]):focus-visible {
  outline: 3px solid var(--sj-focus); outline-offset: 4px;
}
.sj-reference a { color: var(--sj-teal); text-underline-offset: .2em; }
.sj-reference :where(main,[id]) { scroll-margin-top: 24px; }
.sj-reference main { min-width: 0; }
.sj-reference .sj-skip-link { position: absolute; z-index: 100; top: 8px; left: 16px; transform: translateY(-180%); padding: 12px 18px; background: #fff; border: 2px solid var(--sj-teal); border-radius: 8px; }
.sj-reference .sj-skip-link:focus { transform: none; }
.sj-header { background: #fff; border-bottom: 1px solid var(--sj-line); position: relative; z-index: 20; }
.sj-header-inner { max-width: var(--sj-width); min-height: 96px; margin: auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sj-brand { display: inline-flex; flex: 0 1 200px; min-width: 0; align-items: center; text-decoration: none; }
.sj-brand img { display: block; width: 200px; height: auto; }
.sj-header-actions, .sj-nav { display: flex; align-items: center; gap: 24px; min-width: 0; }
.sj-nav a { font-size: .9rem; font-weight: 650; text-decoration: none; padding: 10px 0; }
.sj-menu-toggle, .sj-menu-close { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--sj-teal); border-radius: 8px; background: #fff; color: var(--sj-teal); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.sj-menu-toggle[aria-expanded="true"] { background: var(--sj-ice); }
.sj-reference .sj-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 8px; font-size: .95rem; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center; box-shadow: 0 4px 10px #07546a12; }
.sj-reference .sj-button--primary { background: var(--sj-teal); color: #fff; }
.sj-reference .sj-button--primary:hover { background: var(--sj-deep); }
.sj-reference .sj-button--light { background: #fff; color: var(--sj-teal); border-color: #fff; }
.sj-header .sj-header-cta { white-space: nowrap; padding-inline: 16px; }
.sj-cta-mobile { display: none; }
.sj-mega { max-width: var(--sj-width); margin: 0 auto; padding: 28px 24px; border-top: 1px solid var(--sj-line); background: #fff; }
.sj-mega-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sj-mega-heading h2 { margin: 4px 0 0; font-size: 1.6rem; }
.sj-mega-groups { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.sj-mega-group h3 { margin: 12px 0 10px; font-size: 1.05rem; }
.sj-mega .sj-mega-group h3 { hyphens: none; overflow-wrap: normal; }
.sj-mega-group p { font-size: .85rem; line-height: 1.6; margin: 0 0 14px; color: var(--sj-muted); }
.sj-mega-group ul, .sj-topic-card ul { padding: 0; margin: 0; list-style: none; }
.sj-mega-group li + li { border-top: 1px solid var(--sj-line); }
.sj-mega-group a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; line-height: 1.5; font-size: .9rem; }
.sj-mega-bottom { border-top: 1px solid var(--sj-line); margin-top: 24px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px 28px; font-size: .9rem; }
.sj-reference .sj-eyebrow { color: var(--sj-teal); font-size: .8rem; font-weight: 750; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 12px; }
.sj-check { display: inline-flex; flex: 0 0 21px; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 50%; background: var(--sj-green); color: #fff; font-size: 13px; font-weight: 800; line-height: 1; }
.sj-group-number, .sj-step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sj-teal); color: #fff; font-size: .9rem; font-weight: 700; }
.sj-hero { max-width: var(--sj-width); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; align-items: center; background: linear-gradient(115deg,#fff 35%,#eef7fa); }
.sj-hero h1 { margin: 0 0 20px; max-width: 650px; }
.sj-home h1 { hyphens: none; }
.sj-hero .sj-lead { font-size: 1.16rem; line-height: 1.65; max-width: 600px; }
.sj-hero-copy > .sj-eyebrow { display: flex; align-items: center; gap: 8px; }
.sj-hero-visual { align-self: stretch; margin: 0; position: relative; min-height: 460px; border-radius: var(--sj-radius); overflow: hidden; background: var(--sj-ice); }
.sj-hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; position: absolute; inset: 0; }
.sj-hero-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: #fffffff2; border: 1px solid #fff; border-radius: 10px; box-shadow: 0 8px 30px #102f4315; font-size: .9rem; }
.sj-hero-caption strong { display: block; line-height: 1.5; margin-top: 4px; }
.sj-check-list { padding: 0; margin: 24px 0; list-style: none; }
.sj-check-list > li { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; }
.sj-check-list .sj-check { margin-top: 4px; }
.sj-check-list p { margin: 4px 0 0; }
.sj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.sj-reference .sj-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; line-height: 1.5; }
.sj-reference .sj-hero-note { font-size: .85rem; color: var(--sj-muted); margin-top: 16px; }
.sj-benefit-strip { max-width: calc(var(--sj-width) - 48px); margin: 0 auto 64px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 22px 24px; border: 1px solid var(--sj-line); border-radius: 12px; box-shadow: 0 6px 20px #102f4309; }
.sj-benefit-strip > div { display: flex; align-items: flex-start; gap: 12px; padding: 4px 20px; }
.sj-benefit-strip > div + div { border-left: 1px solid var(--sj-line); }
.sj-benefit-strip p { margin: 0; font-size: .85rem; line-height: 1.5; }
.sj-benefit-strip strong, .sj-benefit-strip p > span { display: block; }
.sj-benefit-strip .sj-check { margin-top: 2px; }
.sj-reference .sj-section { max-width: calc(var(--sj-width) - 48px); margin: 64px auto; }
.sj-section-heading { max-width: 820px; margin: 0 0 28px; }
.sj-section-heading h2 { margin: 8px 0 16px; }
.sj-section-heading p { margin-bottom: 0; }
.sj-section-heading--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sj-section-heading--row > div { max-width: 760px; }
.sj-choice-band, .sj-steps-band { padding: 36px; background: var(--sj-ice); border: 1px solid var(--sj-line); border-radius: var(--sj-radius); }
.sj-choice-band { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; align-items: center; }
.sj-choice-band h2 { margin: 8px 0 20px; }
.sj-choice-band .sj-check-list { margin: 0; }
.sj-topic-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sj-topic-card, .sj-guide-card { padding: 28px; background: #fff; border: 1px solid var(--sj-line); border-radius: 12px; box-shadow: 0 5px 18px #102f4307; }
.sj-topic-card h3 { margin: 18px 0 12px; font-size: 1.4rem; }
.sj-topic-card > p { font-size: .95rem; }
.sj-topic-card a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .95rem; line-height: 1.5; }
.sj-topic-card:nth-child(5) { background: #f6fafb; }
.sj-section-link { margin: 24px 0 0; }
.sj-steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.sj-steps li { margin: 0; position: relative; }
.sj-steps h3 { margin: 18px 0 10px; }
.sj-steps p { margin: 0; font-size: .95rem; }
.sj-guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sj-guide-card { display: flex; flex-direction: column; align-items: flex-start; }
.sj-reference .sj-card-topic { color: var(--sj-teal); font-size: .8rem; line-height: 1.5; font-weight: 700; margin: 0 0 16px; }
.sj-guide-card h3 { font-size: 1.3rem; margin: 0 0 14px; }
.sj-guide-card h3 a { color: var(--sj-ink); text-decoration: none; }
.sj-guide-card > p:not(.sj-card-topic) { margin: 0 0 24px; font-size: .95rem; }
.sj-guide-card > .sj-text-link { margin-top: auto; }
.sj-reference .sj-advisor-section { background: var(--sj-ice); border-block: 1px solid var(--sj-line); margin: 64px 0; padding: 48px 0; }
.sj-reference .sj-advisor-section .advisor-wrap { margin-block: 0; }
.sj-method-band { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; padding: 40px; border-radius: var(--sj-radius); background: var(--sj-teal); color: #fff; }
.sj-reference .sj-method-band :where(h2,h3,p,a,.sj-eyebrow) { color: #fff; }
.sj-method-band h2 { margin: 8px 0 20px; }
.sj-method-cards { display: grid; gap: 16px; }
.sj-method-cards article { padding: 24px; border: 1px solid #ffffff45; border-radius: 12px; }
.sj-method-cards h3 { margin: 0 0 12px; }
.sj-method-cards p { font-size: .95rem; margin: 0 0 16px; }
.sj-method-cards a { display: block; margin-top: 10px; }
.sj-reference .sj-method-band .sj-button--light { color: var(--sj-teal); }
.sj-faq-list { display: grid; gap: 12px; }
.sj-faq-list details { border: 1px solid var(--sj-line); border-radius: 10px; padding: 0 24px; background: #fff; }
.sj-faq-list summary { cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--sj-ink); line-height: 1.5; }
.sj-faq-list details p { margin: 0 0 22px; max-width: 850px; }
.sj-final-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center; background: var(--sj-deep); color: #fff; border-radius: var(--sj-radius); padding: 36px; }
.sj-reference .sj-final-cta :where(h2,p,a,.sj-eyebrow) { color: #fff; }
.sj-final-cta h2 { margin: 8px 0 14px; }
.sj-final-cta p:last-child { margin-bottom: 0; }
.sj-final-cta .sj-actions { flex-direction: column; align-items: flex-start; margin: 0; }
.sj-reference .sj-final-cta .sj-button--primary { background: var(--sj-green); color: #fff; }
.sj-footer { background: var(--sj-deep); color: #e0edf2; margin-top: 64px; }
.sj-footer-main { max-width: var(--sj-width); margin: auto; padding: 48px 24px; display: grid; grid-template-columns: 1.4fr repeat(5,minmax(0,1fr)); gap: 28px; }
.sj-footer-brand .sj-brand { background: #fff; border-radius: 8px; padding: 8px; width: 190px; }
.sj-footer-brand p { font-size: .9rem; margin: 20px 0; }
.sj-reference .sj-footer a { color: #e0edf2; font-size: .85rem; display: block; margin: 12px 0; }
.sj-reference .sj-footer h2 { color: #fff; font-size: .95rem; line-height: 1.45; letter-spacing: 0; margin: 8px 0 20px; text-wrap: wrap; }
.sj-footer-bottom { max-width: calc(var(--sj-width) - 48px); margin: auto; padding: 22px 0; border-top: 1px solid #ffffff40; display: flex; justify-content: space-between; gap: 20px; font-size: .8rem; }
/* Existing catalog pages: keep all content and cards while sharing the visual system. */
.sj-reference :is(.section,.topic-hero-inner,.directory-hero-inner,.article-hero,.legal-hero,.legal-document-grid,.editorial-hero,.editorial-page-hero) { width: auto; max-width: var(--sj-width); margin-inline: auto; padding-inline: 24px; }
.sj-reference .section { margin-block: 64px; }
.sj-reference :is(.topic-hero,.directory-hero,.legal-header,.article-shell) { background: #fff; color: var(--sj-text); min-height: 0; overflow: visible; }
.sj-reference :is(.topic-hero,.directory-hero,.legal-header) { padding-block: 48px; background: var(--sj-ice); border-bottom: 1px solid var(--sj-line); }
.sj-reference :is(.topic-hero-overlay,.topic-hero-grid,.directory-hero-overlay,.directory-hero-grid,.article-shell-background,.legal-header-shade,.legal-grid,.legal-orb) { display: none; }
.sj-reference :is(.topic-hero-inner,.directory-hero-inner,.legal-hero,.editorial-hero) { padding-block: 0; min-height: 0; }
.sj-reference :is(.topic-hero-inner,.directory-hero-inner,.legal-hero-grid,.article-hero) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; align-items: center; direction: ltr; }
.sj-reference .topic-hero-inner { display: block; }
.sj-reference :is(.topic-hero-image,.directory-hero-image) { display: none; }
.sj-reference .topic-hero-inner > h1 { max-width: 1020px; }
.sj-reference .topic-hero-inner > p { max-width: 850px; }
.sj-reference .topic-hero-inner > .eyebrow { display: block; margin-top: 28px; }
.sj-reference :is(.topic-hero,.directory-hero,.article-hero,.legal-hero,.editorial-hero) :is(h1,h2) { max-width: 100%; color: var(--sj-ink); margin: 16px 0 24px; font-size: clamp(2rem,4.2vw,3.3rem); line-height: 1.18; }
.sj-reference :is(.topic-hero,.directory-hero,.article-hero,.legal-hero,.editorial-hero) :is(h1,h2) em { color: var(--sj-teal); font-style: normal; }
.sj-reference :is(.topic-hero,.directory-hero,.article-hero,.legal-hero,.editorial-hero) :is(p,.breadcrumb,.legal-breadcrumb) { color: var(--sj-text); }
.sj-reference :is(.topic-hero,.directory-hero,.article-hero,.legal-hero,.editorial-hero) p { font-size: 1.05rem; max-width: 800px; line-height: 1.7; }
.sj-reference :is(.topic-eyebrow,.eyebrow,.section-eyebrow,.section-kicker,.legal-eyebrow,.guide-eyebrow,.article-eyebrow,.editorial-eyebrow,.hero-eyebrow) { color: var(--sj-teal); font-size: .85rem; line-height: 1.6; letter-spacing: .06em; }
.sj-reference :is(.topic-hero-actions,.directory-hero-actions,.hero-actions) { display: flex; flex-wrap: wrap; gap: 12px; }
.sj-reference :is(.topic-hero-proof,.directory-hero-facts) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 28px auto 0; width: auto; padding: 0; }
.sj-reference .directory-hero > .directory-hero-facts { position: relative; inset: auto; transform: none; width: auto; max-width: calc(var(--sj-width) - 48px); height: auto; min-height: 0; margin: 28px auto 0; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; border: 0; grid-template-columns: repeat(4,minmax(0,1fr)); }
.sj-reference .directory-hero-facts :is(p,strong) { color: var(--sj-text); }
.sj-reference .directory-hero-facts > div > span { color: var(--sj-teal); }
.sj-reference :is(.topic-hero-proof,.directory-hero-facts) > * { padding: 18px; min-height: 0; color: var(--sj-text); background: #fff; border: 1px solid var(--sj-line); border-radius: 10px; }
.sj-reference .directory-hero-cockpit { width: auto; min-height: 0; padding: 28px; background: #fff; border: 1px solid var(--sj-line); border-radius: var(--sj-radius); color: var(--sj-ink); }
.sj-reference .directory-hero-cockpit :is(p,span,strong) { color: var(--sj-text); }
.sj-reference .directory-hero-cockpit :is(b,i) { color: var(--sj-teal); }
.sj-reference :is(.directory-grid,.topic-guide-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.sj-reference :is(.directory-grid,.topic-guide-grid) > article { min-width: 0; padding: 26px; border: 1px solid var(--sj-line); border-radius: 12px; background: #fff; box-shadow: 0 4px 18px #102f4306; }
.sj-reference :is(.directory-grid,.topic-guide-grid) :is(h2,h3) { font-size: 1.3rem; line-height: 1.4; color: var(--sj-ink); }
.sj-reference :is(.directory-grid,.topic-guide-grid) p { font-size: .95rem; color: var(--sj-text); }
.sj-reference :is(.directory-grid,.topic-guide-grid) a { color: var(--sj-teal); }
.sj-reference .topic-guide-grid > article { display: flex; flex-direction: column; min-height: 0; }
.sj-reference .topic-guide-grid > article > div { flex: 1; }
.sj-reference .topic-guide-grid > article > a { position: static; inset: auto; align-self: flex-start; margin-top: 22px; letter-spacing: 0; text-transform: none; }
.sj-reference .directory-grid > article { display: flex; flex-direction: column; min-height: 0; gap: 18px; }
.sj-reference .directory-grid > article > div { flex: 1; }
.sj-reference :is(.topic-principles,.directory-cockpit-grid,.decision-grid,.criteria-grid,.problem-grid,.solution-grid,.editorial-integrity-grid,.editorial-matrix-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sj-reference :is(.section-heading,.dossier-heading,.guide-section-heading,.editorial-depth-heading,.editorial-integrity-heading) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; align-items: start; direction: ltr; }
.sj-reference :is(.section-heading,.dossier-heading,.guide-section-heading,.editorial-depth-heading,.editorial-integrity-heading) > * { grid-column: auto; max-width: 100%; }
.sj-reference :is(.section-heading,.dossier-heading,.guide-section-heading,.editorial-depth-heading,.editorial-integrity-heading) h2 { font-size: clamp(1.65rem,2.7vw,2.4rem); line-height: 1.3; margin: 0; }
.sj-reference :is(.topic-sources,.evidence-sources,.faq-section,.compatibility-section) { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 40px; align-items: start; }
.sj-reference :is(.topic-sources,.evidence-sources,.faq-section,.compatibility-section) > * { min-width: 0; }
.sj-reference :is(.topic-sources,.evidence-sources,.faq-section,.compatibility-section) h2 { font-size: clamp(1.65rem,2.7vw,2.4rem); margin-top: 0; }
.sj-reference .article-hero { padding-block: 48px; min-height: 0; }
.sj-reference .article-hero-copy { padding: 0; min-width: 0; }
.sj-reference .article-hero-visual { min-height: 360px; border-radius: var(--sj-radius); overflow: hidden; }
.sj-reference .article-shell .article-hero { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); direction: ltr; gap: 40px; }
.sj-reference .article-shell .article-hero-copy { grid-column: 1; grid-row: 1; order: 0; padding: 0; width: auto; margin: 0; }
.sj-reference .article-shell .article-hero-visual { grid-column: 2; grid-row: 1; order: 0; margin: 0; width: auto; align-self: center; }
.sj-reference .article-shell :is(.article-hero,.article-hero-copy)::before,
.sj-reference .article-shell :is(.article-hero,.article-hero-copy)::after { content: none; }
.sj-reference .article-kicker { color: var(--sj-teal); background: var(--sj-ice); border: 1px solid var(--sj-line); padding: 12px 16px; font-size: .8rem; }
.sj-reference .article-kicker b { display: none; }
.sj-reference .article-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.sj-reference :is(.article-shell,.guide-content-shell) { width: auto; max-width: 100%; }
.sj-reference :is(.guide-visual-stage,.editorial-scenario-track,.editorial-depth-stage) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.sj-reference :is(.guide-visual-copy,.guide-visual-canvas,.dossier-stage,.editorial-scenario,.editorial-verdict) { min-width: 0; max-width: 100%; }
.sj-reference :is(.guide-trust-ribbon,.conversion-checkpoint,.topic-cta,.directory-cta,.guide-closing-cta,.solution-section) { color: var(--sj-text); background: var(--sj-ice); border-color: var(--sj-line); border-radius: var(--sj-radius); }
.sj-reference :is(.guide-trust-ribbon,.conversion-checkpoint,.topic-cta,.directory-cta,.guide-closing-cta,.solution-section) :is(h2,h3,p,strong,span) { color: var(--sj-ink); }
.sj-reference :is(.button-primary,.primary-button,.article-hero-cta,.legal-primary-cta,.conversion-checkpoint__cta) { background: var(--sj-teal); color: #fff; border: 1px solid var(--sj-teal); border-radius: 8px; min-height: 46px; padding: 12px 18px; white-space: normal; line-height: 1.5; }
.sj-reference main .button { background: var(--sj-teal); color: #fff; border: 1px solid var(--sj-teal); border-radius: 8px; min-height: 46px; padding: 12px 18px; white-space: normal; line-height: 1.5; font-size: .95rem; text-transform: none; }
/* Bound legacy CTA colors despite the old bundle's page-variant selectors. */
.sj-reference main :is(.button,.primary-cta,.legal-hero-cta) { background: var(--sj-teal) !important; color: #fff !important; border-color: var(--sj-teal) !important; }
.sj-reference :is(.editorial-photo-story__grid,.photo-story-grid) { gap: 18px; }
.sj-reference .editorial-photo-story img { border-radius: 12px; }
.sj-reference :is(.legal-header-image,.legal-status-card) { max-width: 100%; }
.sj-reference .legal-header-image { opacity: .08; transform: none; left: 0; width: 100%; max-width: 100%; }
.sj-reference .legal-status-card { background: #fff; color: var(--sj-text); border: 1px solid var(--sj-line); border-radius: 12px; }
.sj-reference .legal-status-card :is(p,strong,span,small) { color: var(--sj-text); }
.sj-reference .legal-hero .legal-status-card :is(p,strong,span,small,dt,dd) { color: var(--sj-text); }
.sj-reference .legal-header .legal-status-card > div { color: var(--sj-muted); }
.sj-reference .legal-header .legal-status-card dl :is(dt,dd) { color: var(--sj-text); }
.sj-reference .legal-hero :is(.legal-eyebrow,.legal-kicker) { color: var(--sj-teal); }
.sj-reference .legal-kicker i { color: var(--sj-teal); background: var(--sj-ice); border-color: var(--sj-line); }
.sj-reference .legal-document-grid { display: grid; grid-template-columns: minmax(0,250px) minmax(0,1fr); gap: 40px; margin-block: 48px; }
.sj-reference .legal-document { width: auto; min-width: 0; padding: 32px; border: 1px solid var(--sj-line); border-radius: var(--sj-radius); background: #fff; }
.sj-reference .legal-section { display: block; padding: 28px 0; }
.sj-reference .legal-section-heading { display: block; width: auto; margin-bottom: 18px; }
.sj-reference .legal-section-heading h2 { max-width: 100%; font-size: 1.6rem; }
.sj-reference .legal-section-copy { width: auto; min-width: 0; }
.sj-reference :is(.legal-breadcrumb,.breadcrumb) { display: flex; flex-wrap: wrap; white-space: normal; gap: 8px; overflow: visible; }
/* Retain the light-theme safeguards for the archived non-curated components. */
.sj-reference .guide-dossier .dossier-stage { color: var(--sj-ink); }
.sj-reference .guide-dossier .dossier-signals article { color: var(--sj-ink); background: #fff; }
.sj-reference .guide-dossier .dossier-signals small { color: var(--sj-muted); overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.sj-reference .guide-dossier .dossier-signals h3 { color: var(--sj-ink); }
.sj-reference .guide-dossier .dossier-signals p { color: var(--sj-text); }
.sj-reference .guide-dossier .dossier-stage > aside > div > span { color: var(--sj-teal); background: #fff; border-color: var(--sj-line); }
.sj-reference .guide-dossier .dossier-stage > aside > p { color: var(--sj-text); }
.sj-reference .guide-dossier :is(.dossier-signals article > span,.dossier-stage > aside > span,.dossier-stage > aside > a) { color: var(--sj-teal); }
.sj-reference .guide-dossier .dossier-footnote > span { color: var(--sj-teal); }
.sj-reference .guide-dossier :is(.dossier-footnote,.dossier-footnote p,.dossier-heading > p) { color: var(--sj-muted); }
.sj-reference .editorial-depth[data-editorial-variant] .editorial-verdict { background: #fff; color: var(--sj-text); }
.sj-reference .editorial-depth[data-editorial-variant] .editorial-verdict h3 { color: var(--sj-ink); }
.sj-reference .editorial-depth[data-editorial-variant] .editorial-verdict p { color: var(--sj-text); }
.sj-reference .editorial-depth[data-editorial-variant] .editorial-verdict > div > :is(span,strong) { color: var(--sj-teal); }
.sj-reference .editorial-depth .editorial-matrix { grid-template-columns: minmax(0,1fr); gap: 24px; margin: 28px 0 0; padding: 32px; transform: none; }
.sj-reference .editorial-depth .editorial-matrix-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.sj-reference .editorial-depth .editorial-matrix-grid > article { min-height: 0; padding: 24px; }
.sj-reference .editorial-depth .editorial-matrix-grid > article:first-child { grid-column: auto; }
.sj-reference :is(.editorial-matrix-grid,.editorial-matrix-heading) p { color: var(--sj-text); font-size: .95rem; line-height: 1.7; }
.sj-reference .conversion-checkpoint { grid-template-columns: minmax(0,1fr) minmax(310px,.68fr); }
.sj-reference :is(.conversion-checkpoint__copy,.conversion-checkpoint__action) { grid-column: auto; min-width: 0; }
.sj-reference .conversion-checkpoint__action small { color: var(--sj-muted); }
.sj-reference .legal-shell--impressum-clean .legal-document-grid { grid-template-columns: minmax(0,1fr); }
.sj-reference .legal-contact-card a { color: #9ee8ff; text-decoration: underline; }
.sj-reference :is(.legal-contact-card,.cookie-status) p { color: #e2eff5; }
.sj-reference :is(.legal-contact-card,.cookie-status) strong { color: #fff; }
@media (max-width: 1040px) {
  .sj-reference .conversion-checkpoint { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .sj-reference .editorial-depth .editorial-matrix { padding: 24px 20px; }
  .sj-reference .editorial-depth .editorial-matrix-grid { grid-template-columns: minmax(0,1fr); }
  .sj-reference .editorial-depth .editorial-matrix-grid > article { padding: 20px 0; }
}
/* Existing finder logic and data stay unchanged; only shared presentation. */
.sj-reference .advisor-wrap { width: auto; max-width: var(--sj-width); margin: 64px auto; padding-inline: 24px; }
.sj-reference .advisor { background: #fff; color: var(--sj-text); border: 1px solid var(--sj-line); border-radius: var(--sj-radius); box-shadow: 0 8px 30px #102f4309; overflow: visible; padding: 32px; }
.sj-reference .advisor-question-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); gap: 32px; }
.sj-reference .advisor-question-copy h3, .sj-reference .advisor-result h3 { color: var(--sj-ink); font-size: clamp(1.65rem,2.7vw,2.3rem); margin: 16px 0; line-height: 1.3; }
.sj-reference .advisor-question-visual { min-height: 220px; border-radius: 12px; overflow: hidden; }
.sj-reference .advisor-question-visual img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.sj-reference .advisor .answer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.sj-reference .advisor [data-advisor-option] { color: var(--sj-ink); background: #fff; border: 1px solid #7697a6; border-radius: 10px; padding: 20px; min-height: 64px; text-align: left; white-space: normal; }
.sj-reference .advisor [data-advisor-option] :is(strong,span,p) { color: inherit; }
.sj-reference .advisor [data-advisor-option]:hover { background: var(--sj-ice); border-color: var(--sj-teal); }
.sj-reference .advisor [data-advisor-option]:focus-visible { outline: 3px solid var(--sj-focus); outline-offset: 3px; }
.sj-reference .advisor .answer-grid > button { display: grid; grid-template-columns: 28px minmax(0,1fr) 16px; align-items: start; gap: 12px; }
.sj-reference .advisor .answer-option-media { display: none; }
.sj-reference .advisor .answer-option-index { position: static; grid-column: 1; grid-row: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--sj-ice); color: var(--sj-teal); font-size: .85rem; }
.sj-reference .advisor .answer-option-copy { grid-column: 2; grid-row: 1; }
.sj-reference .advisor .answer-option-copy strong { display: block; font-size: 1rem; line-height: 1.5; }
.sj-reference .advisor .answer-option-copy small { display: block; margin-top: 6px; color: var(--sj-muted); font-size: .85rem; line-height: 1.6; }
.sj-reference .advisor .answer-option-arrow { grid-column: 3; grid-row: 1; }
.sj-reference .advisor-progress { background: #dcebf0; }
.sj-reference .advisor-progress > span { background: var(--sj-teal); }
.sj-reference .advisor-result { background: #fff; color: var(--sj-text); }
.sj-reference .advisor-result :is(p,strong,span,h4) { color: var(--sj-text); }
.sj-reference .advisor-result .button, .sj-reference .advisor-result-cta { background: var(--sj-teal); color: #fff; border-radius: 8px; padding: 14px 20px; }
.sj-reference .advisor-back { background: #fff; color: var(--sj-teal); border: 1px solid var(--sj-teal); border-radius: 8px; padding: 10px 16px; min-height: 44px; }
/* The archived premium selectors are more specific than the general finder rules. */
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-grid > button { grid-template-columns: 28px minmax(0,1fr) 16px; align-items: start; gap: 12px; min-height: 0; padding: 20px; background: #fff; border-color: #7697a6; box-shadow: none; overflow: visible; transform: none; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-grid > button:focus-visible { outline: 3px solid var(--sj-focus); outline-offset: 3px; border-color: var(--sj-teal); transform: none; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-grid > button:hover { background: var(--sj-ice); border-color: var(--sj-teal); transform: none; box-shadow: none; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-copy strong { color: var(--sj-ink); font-size: 1rem; line-height: 1.5; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-copy small { color: var(--sj-muted); font-size: .85rem; line-height: 1.6; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-index { width: 28px; height: 28px; }
.sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-arrow { width: 16px; height: auto; border: 0; background: none; font-size: 1rem; }
.sj-reference .advisor-wrap .advisor.advisor--premium .advisor-question-heading h3 { font-size: clamp(1.65rem,2.7vw,2.3rem); line-height: 1.3; }
.sj-reference .advisor-wrap .advisor.advisor--premium .advisor-question-heading > div > p { color: var(--sj-muted); font-size: .95rem; line-height: 1.7; }
.sj-reference .advisor-wrap .advisor.advisor--premium :is(.fit-score,.result-offer) { color: var(--sj-text); background: var(--sj-ice); border: 1px solid var(--sj-line); }
.sj-reference .advisor-wrap .advisor.advisor--premium :is(.fit-score,.result-offer,.result-detail-grid,.result-consideration) small { color: var(--sj-muted); }
.sj-reference .advisor-wrap .advisor.advisor--premium :is(.fit-score,.result-offer) :is(p,strong) { color: var(--sj-ink); font-family: inherit; }
.sj-reference .advisor-wrap .advisor.advisor--premium .result-offer .button span { color: inherit; }
@media (max-width: 700px) {
  .sj-reference .advisor-wrap .advisor.advisor--premium .answer-grid { grid-template-columns: minmax(0,1fr); }
  .sj-reference .advisor-wrap .advisor.advisor--premium .answer-grid > button { padding: 16px; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-copy { grid-column: 1/-1; grid-row: 2; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .answer-option-arrow { grid-column: 3; grid-row: 1; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .advisor-result--detailed { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .result-summary { display: block; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .fit-score--qualitative { width: 100%; margin-top: 20px; padding: 14px; min-height: 0; display: block; text-align: left; }
  .sj-reference .advisor-wrap .advisor.advisor--premium .fit-score--qualitative :is(strong,small) { display: block; text-align: left; white-space: normal; overflow-wrap: anywhere; }
}
/* The 15 complete C1 articles: a quiet reading frame, real contents and sources. */
.sj-reference .c1-main { background: #fff; color: var(--sj-text); }
.sj-reference .c1-guide { max-width: 1060px; margin: 0 auto; padding: 32px 28px 64px; }
.sj-reference .c1-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; line-height: 1.6; margin: 0 0 28px; }
.sj-reference .c1-guide a { color: var(--sj-teal); text-decoration: underline; text-underline-offset: .17em; overflow-wrap: anywhere; }
.sj-reference .c1-intro { background: var(--sj-ice); border: 1px solid var(--sj-line); border-radius: var(--sj-radius); padding: 32px; }
.sj-reference .c1-preview { color: var(--sj-muted); font-size: .85rem; font-weight: 650; margin: 0 0 16px; }
.sj-reference .c1-guide h1 { font-size: clamp(2rem,4vw,3.15rem); line-height: 1.2; margin: 0 0 22px; max-width: 940px; }
.sj-reference .c1-lead { font-size: 1.2rem; line-height: 1.7; margin: 0 0 24px; }
.sj-reference .c1-byline { font-size: .85rem; color: var(--sj-muted); line-height: 1.7; margin: 0; }
.sj-reference .sj-article-toc { max-width: 900px; margin: 32px auto 40px; padding: 24px 28px; background: #f7fbfc; border: 1px solid var(--sj-line); border-radius: 12px; }
.sj-article-toc > p { margin: 0 0 12px; color: var(--sj-ink); }
.sj-article-toc ol { margin: 0; padding-left: 22px; }
.sj-article-toc li { margin: 8px 0; font-size: .95rem; }
.sj-reference .c1-guide .article-content { max-width: 900px; margin: auto; padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; font-size: 18px; line-height: 1.8; }
.sj-reference .c1-guide .article-content > section { margin: 0 0 40px; padding: 0; }
.sj-reference .c1-guide .article-content h2, .sj-reference .c1-sources h2 { font-size: clamp(1.65rem,2.6vw,2.1rem); line-height: 1.3; margin: 40px 0 20px; }
.sj-reference .c1-guide .article-content h3 { font-size: 1.3rem; line-height: 1.4; margin: 28px 0 16px; }
.sj-reference .c1-guide p { margin-bottom: 18px; }
.sj-reference .c1-guide .c1-byline { margin-bottom: 0; }
.sj-reference .c1-guide ul, .sj-reference .c1-guide ol { padding-left: 26px; margin-block: 16px 24px; }
.sj-reference .c1-guide li { margin-block: 8px; }
.sj-reference .c1-table-scroll { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid #b4cdd8; border-radius: 8px; }
.sj-reference .c1-guide table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; line-height: 1.65; text-align: left; }
.sj-reference .c1-guide caption { padding: 15px 16px; text-align: left; font-size: 17px; font-weight: 700; color: var(--sj-ink); background: var(--sj-ice); }
.sj-reference .c1-guide :is(th,td) { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--sj-line); min-width: 130px; }
.sj-reference .c1-guide th { font-weight: 700; background: var(--sj-ice); color: var(--sj-ink); }
.sj-reference .c1-guide tbody th { background: #f5fafb; }
.sj-reference .c1-guide tr:last-child :is(td,th) { border-bottom: 0; }
.sj-reference .c1-guide :is(blockquote,aside) { margin: 24px 0; padding: 20px 24px; background: var(--sj-ice); border-left: 4px solid var(--sj-teal); }
.sj-reference .c1-sources { max-width: 900px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--sj-line); font-size: 16px; line-height: 1.8; }
.sj-reference .c1-sources li { margin-bottom: 22px; }
.sj-reference .c1-sources small { display: block; color: var(--sj-muted); font-size: 14px; }
/* The working consent dialog is retained; tokens align it with the reference. */
.sj-reference .privacy-access { border-color: var(--sj-line); color: var(--sj-ink); }
.sj-reference .privacy-panel { border-radius: var(--sj-radius); border-color: var(--sj-line); color: var(--sj-ink); }
.sj-reference .privacy-panel p { color: var(--sj-muted); }
.sj-reference .privacy-panel button { background: var(--sj-teal); border-color: var(--sj-teal); }
.sj-reference .privacy-panel button[data-consent="accept"], .sj-reference .privacy-panel button[data-consent-close] { background: #fff; color: var(--sj-teal); }
.sj-reference .privacy-reopen { border-color: var(--sj-teal); color: var(--sj-teal); }
@media (max-width: 1120px) {
  .sj-header-inner { gap: 18px; }
  .sj-header-actions { gap: 16px; }
  .sj-nav { gap: 16px; }
  .sj-mega-groups { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sj-footer-main { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .sj-benefit-strip > div { padding-inline: 12px; }
}
@media (max-width: 900px) {
  .sj-nav { display: none; }
  .sj-hero { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 36px; }
  .sj-hero-visual { min-height: 460px; }
  .sj-topic-groups, .sj-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sj-benefit-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sj-benefit-strip > div { padding: 12px; }
  .sj-benefit-strip > div:nth-child(3) { border-left: 0; }
  .sj-choice-band, .sj-method-band { gap: 28px; padding: 28px; }
  .sj-reference :is(.directory-grid,.topic-guide-grid,.topic-principles,.directory-cockpit-grid,.decision-grid,.criteria-grid,.problem-grid,.solution-grid,.editorial-integrity-grid,.editorial-matrix-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sj-reference .legal-document-grid { grid-template-columns: 1fr; }
  .sj-reference .legal-sidebar { position: static; }
}
@media (max-width: 700px) {
  .sj-header-inner { min-height: 76px; padding: 10px 16px; gap: 10px; }
  .sj-header .sj-brand { flex-basis: auto; width: clamp(106px,35vw,154px); }
  .sj-header-actions { gap: 8px; }
  .sj-menu-toggle { padding: 10px; min-width: 44px; }
  .sj-menu-toggle > span { display: none; }
  .sj-cta-desktop { display: none; }
  .sj-cta-mobile { display: inline; }
  .sj-header .sj-header-cta { min-height: 44px; font-size: .8rem; padding: 10px; gap: 6px; }
  .sj-header-cta > span[aria-hidden] { display: none; }
  .sj-mega { padding: 20px 16px; }
  .sj-mega-heading { display: block; }
  .sj-mega-heading h2 { font-size: 1.4rem; }
  .sj-menu-close { margin-top: 16px; }
  .sj-mega-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .sj-mega-bottom { display: grid; gap: 12px; }
  .sj-hero { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
  .sj-hero h1 { font-size: clamp(2rem,7.4vw,2.8rem); }
  .sj-hero .sj-lead { font-size: 1.05rem; }
  .sj-hero-visual { min-height: 300px; }
  .sj-hero-caption { left: 12px; right: 12px; bottom: 12px; font-size: .85rem; padding: 12px; }
  .sj-benefit-strip { margin: 0 20px 40px; padding: 12px; }
  .sj-benefit-strip > div { padding: 12px 8px; gap: 8px; }
  .sj-benefit-strip p { font-size: .8rem; }
  .sj-reference .sj-section { margin: 40px 20px; max-width: none; }
  .sj-section-heading--row, .sj-choice-band, .sj-method-band, .sj-final-cta { display: block; }
  .sj-section-heading--row > a { margin-top: 16px; }
  .sj-choice-band, .sj-steps-band, .sj-method-band, .sj-final-cta { padding: 24px; }
  .sj-choice-band > .sj-check-list { margin-top: 28px; }
  .sj-topic-groups, .sj-guide-grid, .sj-steps { grid-template-columns: 1fr; gap: 16px; }
  .sj-topic-card, .sj-guide-card { padding: 24px; }
  .sj-steps li + li { padding-top: 24px; border-top: 1px solid var(--sj-line); }
  .sj-method-cards { margin-top: 28px; }
  .sj-method-cards article { padding: 20px; }
  .sj-faq-list details { padding-inline: 18px; }
  .sj-final-cta .sj-actions { margin-top: 24px; }
  .sj-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 32px 20px; gap: 28px 20px; }
  .sj-footer-brand { grid-column: 1/-1; }
  .sj-footer-bottom { margin-inline: 20px; display: grid; gap: 10px; }
  .sj-reference :is(.section,.topic-hero-inner,.directory-hero-inner,.article-hero,.legal-hero,.legal-document-grid,.editorial-hero,.editorial-page-hero) { padding-inline: 20px; }
  .sj-reference .section { margin-block: 40px; }
  .sj-reference :is(.topic-hero,.directory-hero,.legal-header) { padding-block: 28px; }
  .sj-reference :is(.topic-hero-inner,.directory-hero-inner,.legal-hero-grid,.article-hero,.section-heading,.dossier-heading,.guide-section-heading,.editorial-depth-heading,.editorial-integrity-heading,.topic-sources,.evidence-sources,.faq-section,.compatibility-section,.guide-visual-stage,.editorial-scenario-track,.editorial-depth-stage) { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .sj-reference :is(.topic-hero,.directory-hero,.article-hero,.legal-hero,.editorial-hero) :is(h1,h2) { font-size: clamp(2rem,8vw,2.7rem); }
  .sj-reference :is(.directory-grid,.topic-guide-grid,.topic-principles,.directory-cockpit-grid,.decision-grid,.criteria-grid,.problem-grid,.solution-grid,.editorial-integrity-grid,.editorial-matrix-grid) { grid-template-columns: minmax(0,1fr); }
  .sj-reference :is(.topic-hero-proof,.directory-hero-facts) { grid-template-columns: minmax(0,1fr); margin-top: 24px; }
  .sj-reference .directory-hero > .directory-hero-facts { grid-template-columns: minmax(0,1fr); margin-inline: 20px; }
  .sj-reference .article-hero { padding-block: 28px; }
  .sj-reference .article-shell .article-hero { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .sj-reference .article-shell .article-hero-copy { grid-column: 1; grid-row: 1; }
  .sj-reference .article-shell .article-hero-visual { grid-column: 1; grid-row: 2; }
  .sj-reference .article-hero-visual { min-height: 280px; }
  .sj-reference .legal-document-grid { margin-block: 28px; gap: 24px; }
  .sj-reference .legal-document { padding: 20px; }
  .sj-reference .legal-section { padding-block: 24px; }
  .sj-reference .legal-section-heading h2 { font-size: 1.5rem; }
  .sj-reference .advisor-wrap { padding-inline: 20px; margin-block: 40px; }
  .sj-reference .advisor { padding: 22px; }
  .sj-reference .advisor-question-stage { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .sj-reference .advisor .answer-grid { grid-template-columns: minmax(0,1fr); }
  .sj-reference .advisor [data-advisor-option] { padding: 16px; }
  .sj-reference .advisor-question-visual { min-height: 160px; }
  .sj-reference .advisor-question-visual img { max-height: 220px; }
  .sj-reference .sj-advisor-section { margin-block: 40px; padding-block: 28px; }
  .sj-reference .c1-guide { padding: 24px 20px 40px; }
  .sj-reference .c1-intro { padding: 24px 20px; }
  .sj-reference .c1-guide h1 { font-size: 2rem; }
  .sj-reference .c1-lead { font-size: 1.1rem; }
  .sj-reference .sj-article-toc { padding: 20px; }
  .sj-reference .c1-guide .article-content { font-size: 17px; line-height: 1.8; }
  .sj-reference .c1-table-scroll::before { content: "Tabelle bei Bedarf seitlich scrollen"; display: block; position: sticky; left: 0; width: 100%; padding: 8px 12px; font-size: 13px; color: var(--sj-muted); background: #f5fafb; }
  .sj-reference .c1-guide :is(th,td) { padding: 12px; }
}
@media (max-width: 400px) {
  .sj-footer-main { grid-template-columns: minmax(0,1fr); }
  .sj-header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .sj-header .sj-brand { width: 180px; max-width: 100%; }
  .sj-header-actions { display: contents; }
  .sj-header .sj-menu-toggle { grid-column: 2; grid-row: 1; }
  .sj-header .sj-header-cta { grid-column: 1/-1; grid-row: 2; }
  .sj-header .sj-cta-desktop { display: inline; }
  .sj-header .sj-cta-mobile { display: none; }
  .sj-mega-groups { grid-template-columns: minmax(0,1fr); }
  .sj-benefit-strip { grid-template-columns: 1fr; }
  .sj-benefit-strip > div + div { border-left: 0; border-top: 1px solid var(--sj-line); }
  .sj-reference .sj-section, .sj-benefit-strip { margin-inline: 16px; }
  .sj-choice-band, .sj-steps-band, .sj-method-band, .sj-final-cta { padding: 22px; }
  .sj-reference .c1-guide { padding-inline: 16px; }
  .sj-reference .c1-intro { padding-inline: 18px; }
  .sj-reference .c1-guide h1 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sj-reference *, .sj-reference *::before, .sj-reference *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Complete navigation, 30 October 2026: visible topic entrances and native disclosures. */
.sj-header--complete { z-index: 60; box-shadow: 0 3px 18px #102f4306; }
.sj-header--complete .sj-header-inner { display: flex; min-height: 92px; gap: 28px; }
.sj-header--complete .sj-brand { flex: 0 0 218px; }
.sj-header--complete .sj-brand img { width: 218px; }
.sj-header-promise { margin: 0 auto 0 0; color: var(--sj-muted); font-size: .82rem; line-height: 1.5; }
.sj-header-promise > span { color: var(--sj-teal); font-size: 1.4rem; vertical-align: middle; padding-right: 6px; }
.sj-header--complete .sj-header-actions { display: flex; gap: 24px; }
.sj-header-editorial { font-size: .83rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sj-nav-shell { background: #f7fafb; border-top: 1px solid #e5eef2; }
.sj-navigation-inner { position: relative; max-width: var(--sj-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; gap: 5px; }
.sj-all-guides, .sj-nav-dropdown > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 12px 13px; color: var(--sj-ink); font-size: .84rem; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; cursor: pointer; border-bottom: 3px solid transparent; }
.sj-header--complete .sj-all-guides { margin-right: 10px; color: var(--sj-teal); }
.sj-all-guides > span { font-size: 1.15rem; }
.sj-nav-dropdown { flex: 1 1 auto; }
.sj-nav-dropdown > summary { height: 100%; list-style: none; }
.sj-nav-dropdown > summary::-webkit-details-marker { display: none; }
.sj-nav-dropdown > summary svg { flex: 0 0 14px; color: #6c8d9a; transition: transform .16s ease; }
.sj-nav-dropdown[open] > summary, .sj-nav-dropdown > summary:hover, .sj-all-guides:hover { background: #eaf3f6; color: var(--sj-teal); border-bottom-color: var(--sj-teal); }
.sj-nav-dropdown[open] > summary svg { transform: rotate(180deg); }
.sj-nav-panel { position: absolute; top: 100%; left: 24px; right: 24px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,2fr); background: #fff; border: 1px solid var(--sj-line); border-top: 3px solid var(--sj-teal); border-radius: 0 0 18px 18px; box-shadow: 0 22px 44px #06334624; max-height: min(640px,calc(100dvh - 160px)); overflow-y: auto; overscroll-behavior: contain; }
.sj-nav-panel-intro { padding: 30px; background: linear-gradient(140deg,#edf6f8,#f8fbfc); border-right: 1px solid var(--sj-line); }
.sj-nav-symbol { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid #c7dfe7; border-radius: 14px; background: #fff; color: var(--sj-teal); }
.sj-nav-panel-intro .sj-eyebrow { margin-bottom: 8px; font-size: .67rem; }
.sj-header--complete .sj-nav-panel h2 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 14px; hyphens: none; }
.sj-nav-panel-intro > p:not(.sj-eyebrow) { font-size: .84rem; line-height: 1.65; color: var(--sj-muted); margin: 0 0 22px; }
.sj-nav-panel-check { display: inline-flex; align-items: center; gap: 12px; font-size: .81rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.sj-nav-panel-content { padding: 24px 30px 20px; }
.sj-nav-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.sj-nav-panel-heading > p { font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--sj-muted); margin: 0; }
.sj-nav-dismiss { padding: 6px 0 6px 12px; border: 0; background: transparent; color: var(--sj-muted); font: inherit; font-size: .75rem; cursor: pointer; min-height: 38px; }
.sj-nav-dismiss > span { margin-left: 5px; font-size: 1.2rem; }
.sj-nav-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.sj-nav-cards li { margin: 0; min-width: 0; }
.sj-nav-cards a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 92px; height: 100%; padding: 17px; background: #f4f8fa; border: 1px solid #e6eef2; border-radius: 11px; text-decoration: none; transition: background .15s,border-color .15s; }
.sj-nav-cards a:hover { background: #eaf4f6; border-color: #91bdc9; }
.sj-nav-cards a[aria-current="page"] { border-color: var(--sj-teal); background: #eaf4f6; }
.sj-nav-dropdown.has-current-page > summary { color: var(--sj-teal); border-bottom-color: var(--sj-teal); }
.sj-nav-cards strong { display: block; color: var(--sj-ink); font-size: .9rem; font-weight: 700; line-height: 1.4; }
.sj-nav-cards small { display: block; margin-top: 5px; font-size: .74rem; line-height: 1.45; color: var(--sj-muted); }
.sj-nav-card-arrow { flex: 0 0 27px; display: grid; place-items: center; height: 27px; border-radius: 50%; background: #fff; color: var(--sj-teal); }
.sj-nav-panel-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sj-line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; font-size: .73rem; }
.sj-nav-panel-footer a { font-weight: 700; text-decoration: none; }
.sj-nav-panel-footer > span { color: var(--sj-muted); }
.sj-mobile-toggle, .sj-mobile-quicklinks { display: none; }
@media (min-width: 1061px) and (max-width: 1180px) {
  .sj-header-promise { max-width: 190px; }
  .sj-navigation-inner { gap: 0; padding-inline: 18px; }
  .sj-all-guides, .sj-nav-dropdown > summary { padding-inline: 10px; font-size: .8rem; gap: 7px; }
}
/* Compact premium dropdown: deliberately quieter than the full-width mega menu. */
@media (min-width: 1061px) {
  .sj-header--complete .sj-nav-panel {
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    z-index: 12;
    width: min(892px, calc(100vw - 48px));
    grid-template-columns: 242px minmax(0, 1fr);
    max-height: min(480px, calc(100dvh - 178px));
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #cddfe3;
    border-radius: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
    box-shadow: 0 20px 52px rgba(8, 54, 66, .16), 0 3px 10px rgba(8, 54, 66, .06);
    transform: translateX(-50%);
  }
  .sj-nav-dropdown[open] > .sj-nav-panel { animation: sj-nav-panel-in .18s ease-out both; }
  .sj-header--complete .sj-nav-panel-intro {
    padding: 22px 20px 20px;
    border-right: 1px solid #dce8eb;
    background: linear-gradient(145deg, #eef7f8 0%, #f8fbfc 72%);
  }
  .sj-header--complete .sj-nav-symbol {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 5px 16px rgba(8, 54, 66, .06);
  }
  .sj-header--complete .sj-nav-symbol svg { width: 24px; height: 24px; }
  .sj-header--complete .sj-nav-panel-intro .sj-eyebrow {
    margin-bottom: 5px;
    font-size: 13px;
    letter-spacing: .07em;
  }
  .sj-header--complete .sj-nav-panel h2 {
    margin-bottom: 8px;
    font-size: 1.16rem;
    line-height: 1.28;
  }
  .sj-header--complete .sj-nav-panel-intro > p:not(.sj-eyebrow) {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
  }
  .sj-header--complete .sj-nav-panel-check {
    gap: 8px;
    min-height: 39px;
    padding: 9px 11px;
    border: 1px solid #c7dde2;
    border-radius: 9px;
    background: rgba(255, 255, 255, .82);
    font-size: 13px;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
  }
  .sj-header--complete .sj-nav-panel-check:hover {
    border-color: #83b8c1;
    background: #fff;
    transform: translateY(-1px);
  }
  .sj-header--complete .sj-nav-panel-content { padding: 18px 20px 16px; }
  .sj-header--complete .sj-nav-panel-heading { margin-bottom: 11px; }
  .sj-header--complete .sj-nav-panel-heading > p,
  .sj-header--complete .sj-nav-dismiss { font-size: 13px; }
  .sj-header--complete .sj-nav-dismiss { min-height: 32px; padding-block: 3px; }
  .sj-header--complete .sj-nav-cards { gap: 8px; }
  .sj-header--complete .sj-nav-cards a {
    min-height: 68px;
    padding: 11px 12px;
    gap: 10px;
    border-color: #e2ecee;
    border-radius: 9px;
    background: #f7fafb;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  }
  .sj-header--complete .sj-nav-cards a:hover {
    border-color: #a7cbd1;
    background: #eef7f8;
    box-shadow: 0 4px 12px rgba(8, 54, 66, .05);
    transform: translateY(-1px);
  }
  .sj-header--complete .sj-nav-cards strong { font-size: 13.5px; line-height: 1.35; }
  .sj-header--complete .sj-nav-cards small { margin-top: 3px; font-size: 13px; line-height: 1.35; }
  .sj-header--complete .sj-nav-card-arrow {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 13px;
    box-shadow: 0 0 0 1px #dce8eb;
  }
  .sj-header--complete .sj-nav-panel-footer {
    margin-top: 13px;
    padding-top: 11px;
    gap: 8px 18px;
    font-size: 13px;
  }
  .sj-header--complete .sj-nav-panel a:focus-visible,
  .sj-header--complete .sj-nav-dismiss:focus-visible {
    outline: 3px solid rgba(11, 82, 96, .25);
    outline-offset: 2px;
  }
}
@keyframes sj-nav-panel-in {
  from { opacity: 0; transform: translate(-50%, -5px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 1060px) {
  .sj-header--complete .sj-header-inner { min-height: 82px; padding: 12px 24px; }
  .sj-header-promise, .sj-header-editorial { display: none; }
  .sj-header--complete .sj-header-actions { gap: 14px; }
  .sj-header--complete .sj-mobile-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 48px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--sj-line); border-radius: 9px; background: #fff; color: var(--sj-teal); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
  .sj-header--complete[data-nav-ready] .sj-nav-shell:not(.is-open) { display: none; }
  .sj-nav-shell { padding: 10px 24px 20px; }
  .sj-navigation-inner { padding: 0; display: block; }
  .sj-header--complete .sj-all-guides { justify-content: flex-start; margin: 0 0 4px; padding: 14px 16px; min-height: 52px; background: #e7f1f5; border: 0; border-radius: 9px; }
  .sj-nav-dropdown { border-bottom: 1px solid var(--sj-line); }
  .sj-nav-dropdown > summary { min-height: 55px; padding: 15px 8px; border-bottom: 0; font-size: .93rem; white-space: normal; }
  .sj-nav-dropdown[open] > summary { background: transparent; }
  .sj-nav-panel { position: static; grid-template-columns: minmax(0,1fr); max-height: none; overflow: visible; border: 0; border-radius: 12px; box-shadow: none; margin: 0 0 16px; }
  .sj-nav-panel-intro { padding: 19px 20px 16px; border: 1px solid var(--sj-line); border-radius: 12px 12px 0 0; }
  .sj-nav-symbol { display: none; }
  .sj-header--complete .sj-nav-panel h2 { font-size: 1.3rem; margin-bottom: 8px; }
  .sj-nav-panel-intro > p:not(.sj-eyebrow) { margin-bottom: 12px; }
  .sj-nav-panel-content { padding: 18px 0 0; }
  .sj-nav-panel-heading { display: none; }
  .sj-nav-panel-footer { padding-bottom: 8px; }
  .sj-mobile-quicklinks { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; font-size: .82rem; }
  .sj-mobile-quicklinks a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; }
}
@media (max-width: 600px) {
  .sj-header--complete .sj-cta-desktop { display: none; }
  .sj-header--complete .sj-cta-mobile { display: inline; }
  .sj-header--complete .sj-header-inner { padding: 10px 16px; min-height: 76px; gap: 10px; }
  .sj-header--complete .sj-brand { flex: 0 1 165px; width: 165px; }
  .sj-header--complete .sj-brand img { width: 165px; }
  .sj-header--complete .sj-header-actions { gap: 8px; }
  .sj-header--complete .sj-header-cta { min-height: 44px; font-size: .76rem; padding: 10px 12px; }
  .sj-header--complete .sj-mobile-toggle:not([hidden]) { min-width: 44px; min-height: 44px; padding: 9px; }
  .sj-mobile-toggle > span { display: none; }
  .sj-nav-shell { padding-inline: 16px; }
  .sj-nav-cards { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .sj-nav-cards a { min-height: 77px; padding: 14px 16px; }
  .sj-mobile-quicklinks { display: grid; gap: 2px; }
}
@media (max-width: 360px) {
  .sj-header--complete .sj-brand { flex-basis: 137px; width: 137px; }
  .sj-header--complete .sj-brand img { width: 137px; }
  .sj-header--complete .sj-header-cta { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .sj-nav-dropdown > summary svg, .sj-nav-cards a, .sj-nav-panel-check { transition: none; }
  .sj-nav-dropdown[open] > .sj-nav-panel { animation: none; }
}
