/* Scoped editorial layout: only the refreshed knowledge guides opt in. */
.lh-guide-page {
  --guide-ink: #193547;
  --guide-body: #384b57;
  --guide-accent: #17695f;
  --guide-line: #dbe5e6;
  --guide-soft: #f2f7f6;
}
@media (min-width: 992px) {
  /* Keep anchor targets clear while the fixed header changes size. */
  .header-fixed .lh-guide-page .header-v8.header-sticky .blog-topbar,
  .header-fixed .lh-guide-page .header-v8.header-sticky .navbar-brand,
  .header-fixed .lh-guide-page .header-v8.header-sticky .navbar-nav > li > a {
    -webkit-transition-property: color, background-color, border-color;
    transition-property: color, background-color, border-color;
  }
}
.lh-guide-page .breadcrumbs { padding: 22px 0; background: #edf3f3; border-bottom: 1px solid var(--guide-line); }
.lh-guide-page .breadcrumbs h1,
.lh-guide-page .breadcrumbs h1 strong { color: var(--guide-ink); font-size: 15px; font-weight: 600; line-height: 1.7; }
.lh-guide-page .breadcrumbs .breadcrumb { padding-top: 3px; }
.lh-guide-page .breadcrumbs .breadcrumb li,
.lh-guide-page .breadcrumbs .breadcrumb a { color: #50636d; }
.lh-guide-page .bg-color-light { background: #fff; }
.lh-guide-page .content-sm { padding-top: 0; padding-bottom: 56px; }
.lh-guide-page .news-v3-in { padding: 0; }
.lh-guide {
  color: var(--guide-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  overflow-wrap: anywhere;
}
.lh-guide .lh-guide-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--guide-line); }
.lh-guide .lh-guide-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--guide-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.lh-guide .lh-guide-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--guide-accent); flex: 0 0 auto; }
.lh-guide .lh-guide-hero h2,
.lh-guide .lh-guide-hero h2 strong { max-width: 1040px; margin: 0 0 22px; color: var(--guide-ink); font-family: inherit; font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.4; text-align: left; letter-spacing: -.02em; }
.lh-guide .lh-guide-update { max-width: 950px; margin: 0 0 20px; padding-left: 14px; border-left: 2px solid #aacac3; color: #586c76; font-size: 14px; line-height: 1.8; }
.lh-guide .lh-guide-update strong { font-weight: 400; }
.lh-guide .lh-guide-lead { max-width: 960px; margin: 0; color: #344f5f; font-size: 20px; line-height: 1.9; }
.lh-guide .lh-guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 52px; align-items: start; padding-top: 40px; }
.lh-guide .lh-guide-toc { position: sticky; top: 144px; min-width: 0; padding: 20px 16px; border: 1px solid var(--guide-line); border-radius: 8px; background: var(--guide-soft); }
.lh-guide .lh-guide-toc summary { position: relative; padding: 0 25px 0 8px; color: var(--guide-ink); cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.lh-guide .lh-guide-toc summary::-webkit-details-marker { display: none; }
.lh-guide .lh-guide-toc summary::after { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; content: ""; border-right: 2px solid var(--guide-accent); border-bottom: 2px solid var(--guide-accent); transform: rotate(45deg); }
.lh-guide .lh-guide-toc details[open] > summary::after { top: 9px; transform: rotate(225deg); }
.lh-guide .lh-guide-toc ul,
.lh-guide .lh-guide-toc ol { max-height: calc(100vh - 250px); margin: 16px -4px 0 0; padding: 0 4px 0 0; overflow-y: auto; list-style: none; counter-reset: guide-toc; scrollbar-width: thin; }
.lh-guide .lh-guide-toc li { margin: 0; padding: 0; counter-increment: guide-toc; }
.lh-guide .lh-guide-toc a { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 6px; padding: 10px 8px; border-radius: 4px; color: #415b66; font-size: 14px; line-height: 1.6; text-decoration: none; }
.lh-guide .lh-guide-toc a::before { content: counter(guide-toc, decimal-leading-zero); color: #688a83; font-size: 12px; font-variant-numeric: tabular-nums; }
.lh-guide .lh-guide-toc a:hover,
.lh-guide .lh-guide-toc a[aria-current="location"] { color: #105347; background: #e0eeea; }
.lh-guide .lh-guide-content { min-width: 0; }
.lh-guide .lh-guide-content > section { margin: 0 0 38px; padding: 0 0 32px; border-bottom: 1px solid var(--guide-line); }
.lh-guide .lh-guide-content h3 { margin: 0 0 20px; color: var(--guide-ink); font-family: inherit; font-size: 25px; font-weight: 650; line-height: 1.5; letter-spacing: -.015em; }
.lh-guide .lh-guide-content h4 { margin: 28px 0 12px; color: var(--guide-ink); font-size: 20px; font-weight: 650; line-height: 1.6; }
.lh-guide .lh-guide-content p,
.lh-guide .lh-guide-content li { color: var(--guide-body); font-size: 18px; line-height: 1.95; }
.lh-guide p,
.lh-guide li { text-align: start; word-break: normal; letter-spacing: normal; }
.lh-guide .lh-guide-content p { margin: 0 0 18px; }
.lh-guide .lh-guide-content li { margin-bottom: 12px; padding-left: 5px; }
.lh-guide .lh-guide-content li > p { margin-bottom: 10px; }
.lh-guide .lh-guide-content ul,
.lh-guide .lh-guide-content ol { margin: 0 0 24px; padding-left: 24px; }
.lh-guide .lh-guide-content li::marker { color: var(--guide-accent); }
.lh-guide .lh-guide-content a { color: #11685e; text-decoration: underline; text-decoration-color: #a7c8c1; text-underline-offset: 3px; }
.lh-guide a:focus-visible,
.lh-guide summary:focus-visible { outline: 3px solid #287f97; outline-offset: 3px; border-radius: 3px; }
.lh-guide [id] { scroll-margin-top: 160px; }
.lh-guide .lh-guide-citations { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.lh-guide .lh-guide-citations a { display: inline-block; padding: 2px 8px; border: 1px solid var(--guide-line); border-radius: 4px; background: #f7faf9; font-size: 13px; line-height: 1.6; text-decoration: none; }
.lh-guide .lh-guide-checklist { padding: 28px !important; border: 1px solid #ccdfd9 !important; border-radius: 8px; background: #f3f8f5; }
.lh-guide .lh-guide-checklist > ol { margin-bottom: 0; padding: 0; list-style: none; counter-reset: guide-check; }
.lh-guide .lh-guide-checklist > ol > li { position: relative; margin: 0; padding: 14px 0 14px 38px; border-bottom: 1px solid #dce9e1; counter-increment: guide-check; font-size: 17px; line-height: 1.8; }
.lh-guide .lh-guide-checklist > ol > li:last-child { border-bottom: 0; }
.lh-guide .lh-guide-checklist > ol > li::before { position: absolute; top: 16px; left: 0; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #c6dcd3; border-radius: 50%; content: counter(guide-check); color: #216352; background: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.lh-guide .lh-guide-checklist > ol > li > p { margin: 0; font-size: inherit; line-height: inherit; }
.lh-guide .lh-guide-content blockquote { margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--guide-accent); background: #eaf3ef; }
.lh-guide .lh-guide-content blockquote p:last-child { margin-bottom: 0; }
.lh-guide .lh-guide-references h3 { font-size: 23px; }
.lh-guide .lh-guide-references p,
.lh-guide .lh-guide-references li { font-size: 15px; line-height: 1.85; }
.lh-guide .lh-guide-references li { margin: 0; padding: 12px 0 12px 5px; border-bottom: 1px solid #eaf0ef; }
.lh-guide .lh-guide-references li:last-child { border-bottom: 0; }
.lh-guide .lh-guide-back { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--guide-accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.lh-guide .lh-guide-back::after { content: "↑"; }
@media (min-width: 1200px) {
  .lh-guide-page > .bg-color-light > .container { width: 1180px; }
}
@media (max-width: 991px) {
  .lh-guide-page .breadcrumbs h1 { float: none !important; }
  .lh-guide-page .breadcrumbs .breadcrumb { float: none !important; text-align: left; }
  .lh-guide .lh-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
  .lh-guide .lh-guide-toc { position: static; padding: 18px; }
  .lh-guide [id] { scroll-margin-top: 176px; }
  .lh-guide .lh-guide-toc ul,
  .lh-guide .lh-guide-toc ol { max-height: none; overflow: visible; }
  .lh-guide .lh-guide-toc a { padding-top: 12px; padding-bottom: 12px; font-size: 16px; }
}
@media (max-width: 600px) {
  .lh-guide-page .container { padding-right: 22px; padding-left: 22px; }
  .lh-guide-page .breadcrumbs { padding: 16px 0; }
  .lh-guide-page .breadcrumbs .breadcrumb { display: none; }
  .lh-guide .lh-guide-hero { padding: 30px 0 28px; }
  .lh-guide .lh-guide-hero h2,
  .lh-guide .lh-guide-hero h2 strong { margin-bottom: 18px; font-size: 29px; line-height: 1.5; }
  .lh-guide .lh-guide-lead { font-size: 18px; line-height: 1.85; }
  .lh-guide .lh-guide-update { font-size: 13px; }
  .lh-guide .lh-guide-content h3 { font-size: 23px; }
  .lh-guide .lh-guide-content p,
  .lh-guide .lh-guide-content li { font-size: 17px; line-height: 1.9; }
  .lh-guide .lh-guide-content > section { margin-bottom: 30px; padding-bottom: 24px; }
  .lh-guide .lh-guide-checklist { padding: 22px 18px !important; }
  .lh-guide .lh-guide-checklist > ol > li { padding-left: 34px; font-size: 16px; }
  .lh-guide .lh-guide-references p,
  .lh-guide .lh-guide-references li { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lh-guide .lh-guide-toc a { transition: background-color .15s, color .15s; }
}
@media print {
  .lh-guide-page .header-v8,
  .lh-guide-page .breadcrumbs,
  .lh-guide .lh-guide-toc,
  .lh-guide .lh-guide-back { display: none !important; }
  .lh-guide .lh-guide-layout { display: block; }
  .lh-guide .lh-guide-hero { padding-top: 0; }
  .lh-guide .lh-guide-content p,
  .lh-guide .lh-guide-content li { font-size: 11pt; }
  .lh-guide .lh-guide-content h3 { break-after: avoid; }
}
