.article-page {
  --ink: #0f2638;
  --muted: #485c69;
  --blue: #006b91;
  --line: #d5dde3;
  background: white;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
}
.article-page .site-header { max-width: 1280px; margin-inline: auto; padding: 8px 24px; gap: 16px; min-height: 72px; box-shadow: none; }
.article-page .site-nav { position: static; display: flex; width: auto; padding: 0; border: 0; background: transparent; box-shadow: none; flex-wrap: wrap; justify-content: center; }
.article-page .site-nav a[aria-current='page'] { color: var(--blue); background: #edf4f6; text-decoration: underline; text-underline-offset: 6px; }
.article-page .article-languages { flex-shrink: 0; }
.article-page .site-nav a { min-height: 44px; display: flex; align-items: center; white-space: nowrap; }
.article-page .article-return-bar { position: sticky; top: var(--article-header-offset, 76px); z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px max(24px, calc((100% - 820px) / 2)); border-block: 1px solid var(--line); background: white; font-size: 14px; }
.article-page .article-back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; }
.article-page .article-return-bar > span { color: var(--muted); }
.article-page .article-bottom-return { display: inline-flex; align-items: center; min-height: 48px; margin-top: 32px; padding: 10px 18px; border: 1px solid var(--blue); color: var(--blue); font-weight: 700; }
.article-page .article-cover { margin: 28px 0 36px; }
.article-page .article-cover img { display: block; width: auto; height: auto; max-width: 100%; max-height: 360px; margin-inline: auto; object-fit: contain; }
.article-page .article-cover-scene { padding: 20px; background: #f3f6f8; }
.article-page .article-cover-product { padding: 20px; border-block: 1px solid var(--line); }
.article-page .brand-mark { width: 44px; height: 44px; }
.article-page .article-main { width: min(820px, calc(100% - 48px)); padding-block: 48px 80px; }
.article-page .article-document { padding: 0; border: 0; box-shadow: none; }
.article-page .article-document h1 { font-size: 36px; line-height: 1.4; text-wrap: balance; overflow-wrap: break-word; line-break: strict; }
.article-page .article-document h2 { font-size: 26px; scroll-margin-top: calc(var(--article-header-offset, 76px) + 84px); }
.article-page .article-document p, .article-page .article-document li { font-size: 17px; line-height: 1.8; line-break: strict; overflow-wrap: break-word; }
.article-page a { text-underline-offset: 4px; }
.article-page :is(main a, footer a):hover { text-decoration: underline; }
.article-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.article-page .skip-link { position: fixed; z-index: 60; top: 8px; left: 8px; transform: translateY(-160%); padding: 12px; background: var(--ink); color: white; }
.article-page .skip-link:focus { transform: translateY(0); }
.article-page .breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.article-page .reading-note { padding: 12px 16px; border-inline-start: 3px solid var(--blue); background: #f3f6f8; font-size: 14px; margin-block: 24px; }
.article-page .article-summary { margin-block: 28px; padding-block: 16px; border-block: 1px solid var(--line); }
.article-page .article-summary h2 { margin: 0; padding: 0; border: 0; font-size: 20px; }
.article-page .formula { padding: 20px; background: #f3f6f8; font-family: Consolas, monospace; color: var(--ink); font-size: 18px; overflow-wrap: break-word; }
.article-page .worked-example { display: grid; gap: 0; margin-block: 20px; }
.article-page .worked-example div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.article-page .worked-example dt { font-weight: 700; }
.article-page .worked-example dd { margin: 0; }
.article-page .article-toc { display: grid; gap: 8px; margin-block: 28px 40px; }
.article-page .article-toc a { padding-block: 4px; color: var(--blue); }
.article-page .technical-figure { margin: 28px 0; padding: 24px; border: 1px solid var(--line); background: #f6f9fa; }
.article-page .technical-figure h3 { margin: 0 0 24px; font-size: 19px; line-height: 1.5; }
.article-page .sampling-dimensions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.article-page .sampling-field { display: grid; grid-template-columns: repeat(10, 1fr); max-width: 500px; margin-inline: auto; border: 1px solid #698490; }
.article-page .sampling-field span { aspect-ratio: 1; border: 1px solid #b5c9d1; background: white; }
.article-page .sampling-field .sample-cell { background: #006b91; }
.article-page .diagram-key { font-variant-numeric: tabular-nums; }
.article-page .optics-flow { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; }
.article-page .optics-flow::before { content: ""; position: absolute; inset-inline: 10%; top: 50%; border-top: 1px dashed #698490; }
.article-page .optic-node { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 14px; min-width: 0; }
.article-page .optic-node strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.article-page .optic-shape { width: 100%; max-width: 170px; height: 100px; background: #e2eceb; border: 2px solid #387a69; }
.article-page .optic-1 .optic-shape { width: 35px; height: 100px; border-radius: 50%; border-color: #006b91; background: #e1eff5; }
.article-page .optic-2 .optic-shape { width: 56px; height: 46px; background: #0f2638; border-color: #0f2638; }
.article-page .diagram-flow { display: flex; align-items: stretch; list-style: none; padding: 0; margin: 0 0 16px; gap: 24px; }
.article-page .technical-figure .diagram-node { position: relative; flex: 1; min-width: 0; display: grid; place-items: center; padding: 12px; border: 1px solid #b3c7d0; background: white; text-align: center; font-size: 14px; line-height: 1.6; overflow-wrap: break-word; line-break: strict; }
.article-page .diagram-node + .diagram-node::before { position: absolute; left: -23px; content: "→"; color: #006b91; font-size: 18px; }
.article-page .lighting-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-page .lighting-panel { min-width: 0; text-align: center; font-size: 14px; }
.article-page .lighting-scene { position: relative; height: 140px; margin-block: 12px; }
.article-page .schematic-board { position: absolute; left: 10%; right: 10%; bottom: 35px; height: 12px; background: #387a69; display: flex; align-items: end; justify-content: space-around; }
.article-page .schematic-component { display: block; width: 18%; height: 24px; margin-bottom: 12px; border: 1px solid #0f2638; background: #637785; }
.article-page .schematic-light { position: absolute; left: 15%; right: 15%; bottom: 10px; height: 10px; border: 2px solid #006b91; background: #dceef5; }
.article-page .lighting-1 .schematic-light { left: 0; right: auto; bottom: 65px; width: 30px; transform: rotate(-30deg); }
.article-page .lighting-2 .schematic-light { inset: 15px 10% auto; height: 55px; border-radius: 60px 60px 0 0; border-bottom: 0; background: transparent; }
.article-page .article-table-scroll { overflow-x: auto; margin-block: 24px; }
.article-page table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.article-page caption { text-align: start; font-weight: 700; padding-bottom: 12px; }
.article-page :is(th, td) { padding: 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-page thead { background: #edf3f6; color: var(--ink); }
.article-page .article-references a { display: block; padding-block: 8px; color: var(--blue); overflow-wrap: anywhere; }
.article-page figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.article-page .related-articles { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-page .related-articles a { display: block; padding-block: 10px; color: var(--blue); }
.article-page .site-footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding: 28px max(24px, calc((100% - 1240px) / 2)); background: #f3f6f8; color: var(--ink); }
.article-page .site-footer nav { display: flex; gap: 24px; }
.article-page .site-footer a { color: var(--blue); }
@media (max-width: 960px) {
  .article-page .site-header { display: flex; position: sticky; min-height: 68px; padding: 8px 18px; gap: 8px; }
  .article-page .site-nav { position: absolute; top: 100%; right: 20px; left: auto; display: none; justify-content: stretch; width: min(360px, calc(100% - 40px)); max-height: calc(100dvh - 88px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); background: white; box-shadow: 0 12px 30px rgba(15, 38, 56, 0.1); font-size: 14px; }
  .article-page .site-nav.is-open { display: grid; }
  .article-page .site-nav a { padding: 10px 13px; }
}
@media (max-width: 640px) {
  .article-page .site-header { padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
  .article-page .brand { gap: 6px; }
  .article-page .brand-mark { width: 38px; height: 38px; }
  .article-page .brand strong { font-size: 16px; }
  .article-page .language-switch button { min-width: 44px; min-height: 44px; }
  .article-page .article-return-bar { padding: 4px 20px; }
  .article-page .article-return-bar > span { display: none; }
  .article-page .article-cover { padding: 10px; margin-block: 24px 28px; }
  .article-page .article-main { width: calc(100% - 40px); padding-block: 24px 48px; }
  .article-page .article-document h1 { font-size: 28px; line-height: 1.45; }
  .article-page .article-document h2 { font-size: 22px; line-height: 1.5; text-wrap: balance; }
  .article-page .breadcrumb { margin-bottom: 20px; }
  .article-page .breadcrumb [aria-current], .article-page .breadcrumb > span:has(+ [aria-current]) { display: none; }
  .article-page .article-document ul, .article-page .article-document ol { padding-inline-start: 22px; }
  .article-page .article-document li + li { margin-top: 8px; }
  .article-page .formula { padding: 14px; }
  .article-page .worked-example div { grid-template-columns: 1fr; gap: 4px; }
  .article-page .article-action { padding: 18px; }
  .article-page .technical-figure { padding: 18px 14px; }
  .article-page .diagram-flow { flex-direction: column; gap: 24px; }
  .article-page .diagram-node { min-height: 48px; }
  .article-page .diagram-node + .diagram-node::before { left: auto; top: -27px; transform: rotate(90deg); }
  .article-page .optics-flow { gap: 12px; }
  .article-page .optic-node { font-size: 12px; }
  .article-page .optic-node strong { font-size: 17px; }
  .article-page .optic-shape { height: 80px; }
  .article-page .lighting-comparison { grid-template-columns: 1fr; gap: 28px; }
  .article-page .lighting-panel { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}
@media (max-width: 360px) {
  .article-page .site-header { gap: 4px; }
  .article-page .brand { gap: 4px; }
  .article-page .brand-mark { width: 28px; height: 28px; }
  .article-page .brand strong { font-size: 12px; }
  .article-page .brand small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .article-page * { scroll-behavior: auto !important; transition: none !important; } }
