/* Article-only styles. Shared brand styles and language behaviour stay in place. */
.guide-page { --guide-accent:#087d82; --guide-soft:#e7f6f1; }
.guide-page .header { min-height:88px; height:auto; padding-block:18px; }
.guide-page .nav { flex-wrap:wrap; gap:18px; }
.guide-page .nav a:not(.cta) { display:inline-flex; }
.guide-page a { text-underline-offset:.2em; }
.guide-page .eyebrow { color:var(--guide-accent); }
.guide-page .languageOption.active { background:#087d82; color:#fff; }
.guide-page :focus-visible { outline:3px solid var(--guide-accent); outline-offset:4px; }
.guide-skip { position:absolute; top:8px; left:16px; z-index:10; padding:12px 18px; border-radius:12px; background:var(--ink); color:var(--white); transform:translateY(-180%); }
.guide-skip:focus { transform:translateY(0); }
.guide-page .crumbs { padding-top:16px; }
.guide-page .crumbs ol { display:flex; flex-wrap:wrap; gap:6px 10px; padding:0; margin:0; list-style:none; }
.guide-page .crumbs li+li::before { content:"/"; margin-right:10px; color:var(--muted); }
.guide-hero { padding:44px 0 54px; max-width:910px; }
.guide-hero h1 { font-size:clamp(34px,4.5vw,62px); line-height:1.08; letter-spacing:-.045em; margin:18px 0 26px; text-wrap:balance; overflow-wrap:break-word; }
.guide-byline { display:flex; align-items:center; gap:12px; margin:0; color:var(--muted); font-size:14px; }
.guide-byline::before { content:"Q"; display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border-radius:50%; background:var(--lime); color:#062b35; font-weight:800; }
.guide-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:36px; align-items:start; padding-block:48px 72px; }
.guide-aside { position:sticky; top:22px; min-width:0; }
.guide-toc { border:1px solid var(--line); background:var(--white); border-radius:20px; padding:20px; }
.guide-toc summary { cursor:pointer; font-size:15px; font-weight:800; }
.guide-toc nav { max-height:calc(100dvh - 140px); overflow:auto; margin-top:16px; }
.guide-toc ol { list-style:none; padding:0; margin:0; counter-reset:sections; }
.guide-toc li { counter-increment:sections; margin:0 0 6px; }
.guide-toc a { display:flex; gap:10px; padding:7px 4px; border-radius:6px; font-size:13px; line-height:1.5; text-decoration:none; color:var(--muted); }
.guide-toc a::before { content:counter(sections,decimal-leading-zero); color:var(--guide-accent); font-size:11px; font-weight:800; padding-top:2px; }
.guide-toc a:hover { color:var(--ink); background:var(--guide-soft); }
.guide-copy { min-width:0; border:1px solid var(--line); border-radius:26px; padding:40px; background:var(--white); box-shadow:0 18px 50px #0a334005; }
.guide-copy p,.guide-copy li { font-size:18px; line-height:1.85; color:#385861; }
.guide-copy p { margin:0 0 22px; }
.guide-copy > p:first-child { font-size:20px; color:var(--ink); }
.guide-copy h2 { margin:54px 0 22px; padding-top:28px; border-top:1px solid var(--line); font-size:clamp(26px,3vw,35px); line-height:1.2; letter-spacing:-.035em; }
.guide-copy h3 { margin:32px 0 16px; font-size:22px; line-height:1.35; letter-spacing:-.02em; }
.guide-copy :is(h2,h3) { scroll-margin-top:26px; overflow-wrap:break-word; }
.guide-copy :is(h2,h3):target { text-decoration:underline; text-decoration-color:var(--green); text-underline-offset:.22em; }
.guide-copy a { color:var(--guide-accent); overflow-wrap:anywhere; }
.guide-copy a:hover { text-decoration-thickness:2px; }
.guide-copy strong { color:var(--ink); font-weight:750; }
.guide-copy ul,.guide-copy ol { margin:0 0 26px; padding-left:24px; }
.guide-copy li { padding-left:4px; margin-bottom:12px; }
.guide-copy li::marker { color:var(--guide-accent); font-weight:700; }
.guide-copy blockquote { margin:28px 0; padding:22px 24px; background:var(--guide-soft); border-left:4px solid var(--green); border-radius:0 16px 16px 0; }
.guide-copy blockquote p { margin:0; color:var(--ink); }
.guide-copy > p:has(>strong:only-child) { background:var(--guide-soft); padding:20px 24px; border:1px solid var(--line); border-radius:16px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.guide-copy code { font-size:.9em; overflow-wrap:anywhere; }
.guide-table { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; margin:28px 0; border:1px solid var(--line); border-radius:16px; }
.guide-table table { width:100%; border-collapse:collapse; font-size:15px; line-height:1.6; font-variant-numeric:tabular-nums; }
.guide-table th,.guide-table td { padding:16px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); min-width:105px; }
.guide-table th { background:var(--guide-soft); font-weight:750; }
.guide-table td { color:#385861; }
.guide-table tr:last-child td { border-bottom:0; }
.guide-table tbody tr:has(strong) { background:var(--guide-soft); }
.guide-table [style*="right"] { white-space:nowrap; }
.guide-page .footer-links { flex-wrap:wrap; }
.guide-page .footer-links a { padding-block:5px; }
@media (max-width:1000px) {
  .guide-layout { grid-template-columns:200px minmax(0,1fr); gap:24px; }
  .guide-copy { padding:28px; }
}
@media (max-width:850px) {
  .guide-layout { grid-template-columns:minmax(0,1fr); padding-top:28px; }
  .guide-aside { position:static; }
  .guide-toc nav { max-height:none; }
  .guide-toc ol { columns:2; column-gap:24px; }
  .guide-toc li { break-inside:avoid; }
  .guide-hero { padding:36px 0 42px; }
}
@media (max-width:560px) {
  .guide-page .header { flex-wrap:wrap; gap:14px; }
  .guide-page .brand { font-size:20px; }
  .guide-page .brand img { width:34px; height:34px; }
  .guide-page .nav { width:100%; justify-content:space-between; gap:6px; font-size:12px; }
  .guide-page .nav .cta { padding:9px 12px; }
  .guide-page .languageSwitch { margin-left:0; }
  .guide-page .crumbs { font-size:12px; }
  .guide-hero h1 { font-size:clamp(32px,8vw,42px); }
  .guide-byline { font-size:13px; }
  .guide-layout { gap:20px; padding-bottom:40px; }
  .guide-toc { padding:18px; border-radius:16px; }
  .guide-toc ol { columns:1; }
  .guide-copy { padding:22px 18px; border-radius:18px; }
  .guide-copy p,.guide-copy li { font-size:16px; line-height:1.8; }
  .guide-copy > p:first-child { font-size:18px; }
  .guide-copy h2 { margin-top:38px; padding-top:24px; }
  .guide-copy h3 { font-size:20px; }
  .guide-copy blockquote,.guide-copy > p:has(>strong:only-child) { padding:18px; }
  .guide-table th,.guide-table td { padding:12px; }
}
@media (prefers-color-scheme:dark) {
  .guide-page { --ink:#e0f1f2; --paper:#0d1e24; --white:#142a31; --muted:#adc2c8; --line:#324e56; --guide-accent:#6cdbd5; --guide-soft:#1a393d; }
  .guide-page .top { background:radial-gradient(circle at 78% 18%,#1d4540 0,transparent 40%),linear-gradient(135deg,#122a30,#102128); }
  .guide-page .top .header .languageSwitch { color:var(--ink); }
  .guide-page .nav .cta { color:#062b35; background:#dff56a; }
  .guide-copy p,.guide-copy li,.guide-table td { color:#c3d8dc; }
  .guide-copy blockquote p,.guide-copy > p:first-child { color:var(--ink); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
