:root {
  font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
  color: #30443a;
  background: #f6f7f1;
  font-synthesis: none;
  --green: #305f50;
  --ink: #30443a;
  --muted: #68796e;
  --line: #dae1d4;
  --paper: #fffef9;
  --soft: #e9eee2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #235b48;
}
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #729a87;
  outline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
a,
button,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  background: var(--green);
  color: white;
  padding: 14px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.reading-header {
  min-height: 82px;
  padding: 16px 4vw;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.reading-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-size: 18px;
}
.reading-brand > span {
  font-size: 33px;
  color: var(--green);
}
.reading-brand strong span {
  font-weight: 400;
}
.reading-header nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
}
.reading-header nav a {
  text-decoration: none;
  padding: 8px 0;
}
.reading-header nav a[aria-current] {
  color: var(--green);
  border-bottom: 1px solid var(--green);
}
.back-to-map {
  border: 1px solid #adbea9;
  border-radius: 4px;
  padding: 11px 15px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.not-found {
  padding-top: 12vh;
  padding-bottom: 12vh;
}
.not-found h1 {
  font-family: Georgia, "Microsoft JhengHei", "Yu Gothic", serif;
  font-size: clamp(30px, 5vw, 52px);
  margin: 20px 0;
}
.not-found p {
  max-width: 640px;
  line-height: 1.9;
}
.not-found > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.reading-language select {
  padding: 10px 8px;
  border: 1px solid #adbea9;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  font-size: 12px;
  min-width: 108px;
  cursor: pointer;
}
.language-fallback {
  flex-basis: 100%;
}
.reading-shell {
  max-width: 1260px;
  padding: 32px 44px 0;
  margin: auto;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 38px;
}
.breadcrumbs a {
  text-decoration: none;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px;
  gap: 60px;
  align-items: center;
  margin-bottom: 34px;
}
.small-kicker,
.section-number {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--green);
  font-weight: 600;
}
.article-hero h1 {
  font-family: "Georgia", "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.3px;
  margin: 17px 0 19px;
  max-width: 850px;
}
.article-intro {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  max-width: 800px;
  margin-bottom: 21px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 10px;
  color: var(--muted);
}
.hero-mark {
  border: 1px solid #b9cbb4;
  width: 145px;
  height: 170px;
  border-radius: 80px 80px 8px 8px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-mark > span {
  font-size: 48px;
  font-weight: 300;
  color: #6e8c63;
}
.hero-mark small {
  text-align: center;
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.8;
  color: #74916c;
}
.article-cover {
  margin: 0 0 42px;
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e4edeb;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.image-open {
  display: block;
  cursor: zoom-in;
}
.article-cover figcaption {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  padding: 11px 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.article-cover figcaption a {
  white-space: nowrap;
  color: var(--green);
}
html:lang(en) .article-hero h1,
html:lang(en) .article-body h2,
html:lang(en) .article-body h3 {
  letter-spacing: 0;
}
@media (max-width: 1040px) {
  .reading-header > nav {
    order: 3;
    margin-left: 0;
    flex-basis: 100%;
  }
  .reading-language {
    margin-left: auto;
  }
}
@media (max-width: 480px) {
  .reading-header .back-to-map {
    display: none;
  }
  .reading-language select {
    font-size: 11px;
    padding: 9px 6px;
  }
  .reading-header > nav {
    column-gap: 18px;
  }
}
.reading-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 780px);
  gap: 62px;
}
.article-toc {
  align-self: start;
  position: sticky;
  top: 32px;
  padding-top: 9px;
}
.article-toc nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.article-toc nav strong {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 0 0 13px;
}
.article-toc a {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 0;
  display: flex;
  gap: 11px;
}
.article-toc a:hover {
  color: var(--green);
}
.article-toc a span {
  font-size: 9px;
  font-family: monospace;
  opacity: 0.65;
  padding-top: 2px;
}
.article-toc a.toc-map {
  padding: 14px 0 0 18px;
  color: var(--green);
  margin-top: 14px;
}
.article-body {
  min-width: 0;
}
.article-body section {
  margin-bottom: 52px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  scroll-margin-top: 26px;
}
.article-body section:first-child {
  border-top: 0;
  padding-top: 5px;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.4px;
  margin: 12px 0 20px;
}
.article-body h3 {
  font-size: 17px;
  line-height: 1.6;
  margin: 29px 0 12px;
  font-weight: 600;
}
.article-body p,
.article-body li {
  font-size: 14px;
  line-height: 2.05;
  color: #516358;
  letter-spacing: 0.1px;
}
.article-body p {
  margin-bottom: 18px;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin: 20px 0;
}
.article-body li {
  padding-left: 4px;
  margin: 10px 0;
}
.steps li::marker {
  color: var(--green);
  font-weight: 600;
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--green);
  color: white !important;
  border-radius: 4px;
  text-decoration: none;
  padding: 13px 19px;
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0;
}
.action:hover {
  background: #224d3e;
}
.text-link {
  font-size: 13px;
  font-weight: 500;
}
.callout {
  border-left: 3px solid #789872;
  background: var(--soft);
  padding: 19px 23px;
  margin: 25px 0;
}
.callout > strong {
  font-size: 14px;
  line-height: 1.8;
}
.callout p {
  font-size: 13px;
  margin: 7px 0 0;
}
.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 540px;
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
}
caption {
  text-align: left;
  padding: 14px 16px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
th,
td {
  padding: 12px 15px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
thead {
  background: #edf1e7;
}
th {
  font-weight: 600;
  color: var(--ink);
}
td {
  color: #516358;
}
th:first-child {
  width: 22%;
}
code {
  font-size: 12px;
  font-family: Consolas, monospace;
  background: #e9eee5;
  padding: 2px 4px;
  border-radius: 3px;
}
pre {
  overflow: auto;
  padding: 19px 22px;
  background: #edf1e7;
  border: 1px solid var(--line);
  border-radius: 4px;
  line-height: 1.9;
  margin: 24px 0;
}
pre code {
  padding: 0;
  background: none;
  white-space: pre;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 27px 0;
}
.comparison > div {
  padding: 18px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
}
.sample {
  display: block;
  height: 38px;
  width: 100%;
  border-radius: 3px;
  margin-bottom: 13px;
}
.sample.solid {
  background: #6da78d;
}
.sample.striped {
  background: repeating-linear-gradient(
    135deg,
    #6da78d 0,
    #6da78d 8px,
    #b6a0c4 8px,
    #b6a0c4 13px
  );
}
.sample.shaded {
  background: linear-gradient(90deg, #f0f3eb, #498dcc);
}
.comparison strong {
  font-size: 12px;
}
.comparison p {
  font-size: 11px;
  line-height: 1.9;
  margin: 7px 0 0;
}
.numeric-demo {
  border: 1px solid #b4c6ad;
  background: #fffef9;
  border-radius: 6px;
  padding: 25px;
  margin: 28px 0;
}
.numeric-demo h3 {
  font-size: 17px;
  margin: 10px 0;
}
.numeric-demo p {
  font-size: 12px;
  margin-bottom: 16px;
}
.demo-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.demo-controls label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.demo-controls select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  color: var(--ink);
}
.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 11px;
}
.range-label output {
  font-size: 18px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
#demo-value {
  width: 100%;
  accent-color: var(--green);
  margin: 8px 0 20px;
}
.demo-preview {
  background: #b6cfdc;
  border-radius: 4px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #305f5020;
  gap: 7px;
}
.demo-preview > span {
  font-size: 10px;
}
.demo-preview > strong {
  font-size: 25px;
  font-weight: 500;
}
.demo-scale {
  display: flex;
  margin: 14px 0 11px;
  gap: 5px;
}
.demo-scale > div {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.demo-scale i {
  display: block;
  height: 23px;
  border: 1px solid #305f5014;
  margin-bottom: 6px;
  border-radius: 2px;
}
.demo-note {
  font-size: 11px !important;
  line-height: 1.8 !important;
  margin-bottom: 0 !important;
  color: var(--muted) !important;
}
.related-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 27px;
  font-size: 12px;
  line-height: 1.8;
}
details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}
details p {
  margin: 13px 0 0 !important;
  font-size: 13px !important;
}
.article-end {
  padding: 30px;
  border: 1px solid #bfceba;
  background: var(--soft);
  border-radius: 4px;
  margin: 45px 0;
}
.article-end h2 {
  font-size: 23px;
  margin: 12px 0;
}
.article-end p {
  font-size: 13px;
}
.related-reading {
  border-top: 1px solid var(--line);
  padding: 38px 0 60px;
  margin-top: 20px;
}
.related-heading h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 11px 0 25px;
}
.reading-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.reading-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  padding: 25px;
  background: var(--paper);
}
.reading-card:hover {
  background: #edf1e7;
}
.reading-card h3 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  margin: 14px 0 10px;
}
.reading-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
}
.reading-link {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.reading-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  padding: 26px 4vw 36px;
  font-size: 11px;
  color: var(--muted);
}
.reading-footer nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
.reading-footer a {
  text-decoration: none;
}
@media (max-width: 1000px) {
  .reading-header {
    gap: 20px;
  }
  .reading-header nav {
    gap: 17px;
  }
  .reading-shell {
    padding: 26px 30px 0;
  }
  .reading-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
  }
  .article-hero {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 130px;
  }
  .hero-mark {
    width: 120px;
    height: 145px;
  }
}
@media (max-width: 760px) {
  .reading-header {
    padding: 15px 20px;
    gap: 17px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .reading-brand {
    font-size: 16px;
  }
  .reading-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .back-to-map {
    padding: 9px 12px;
  }
  .reading-shell {
    padding: 25px 22px 0;
  }
  .breadcrumbs {
    margin-bottom: 27px;
    font-size: 10px;
  }
  .article-hero {
    grid-template-columns: 1fr;
    margin-bottom: 23px;
  }
  .hero-mark {
    display: none;
  }
  .article-hero h1 {
    font-size: 32px;
    line-height: 1.45;
    letter-spacing: 0.7px;
  }
  .article-intro {
    font-size: 14px;
    line-height: 1.95;
  }
  .article-cover {
    margin-bottom: 28px;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-toc {
    position: static;
    padding: 15px 18px;
    background: var(--soft);
    border-radius: 4px;
  }
  .article-toc nav {
    border: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 18px;
  }
  .article-toc nav strong {
    grid-column: 1/-1;
  }
  .article-toc a {
    font-size: 11px;
  }
  .article-toc a.toc-map {
    padding: 8px 0 0;
    margin-top: 9px;
  }
  .article-body h2 {
    font-size: 23px;
  }
  .article-body section {
    margin-bottom: 38px;
  }
  .article-meta {
    gap: 9px 14px;
  }
  .reading-cards {
    gap: 14px;
  }
  .reading-card {
    padding: 20px;
  }
  .reading-card h3 {
    font-size: 18px;
  }
  .numeric-demo {
    padding: 20px;
  }
  .reading-footer {
    padding: 25px 22px;
  }
  .reading-footer nav {
    gap: 17px;
  }
}
@media (max-width: 480px) {
  .reading-shell {
    padding: 22px 18px 0;
  }
  .reading-header {
    padding: 12px 18px;
    gap: 10px;
  }
  .reading-header nav {
    gap: 16px;
    font-size: 11px;
  }
  .reading-brand {
    font-size: 14px;
  }
  .reading-brand > span {
    font-size: 26px;
  }
  .back-to-map {
    font-size: 11px;
  }
  .article-hero h1 {
    font-size: 28px;
  }
  .article-body p,
  .article-body li {
    font-size: 13px;
    line-height: 2;
  }
  .article-toc nav {
    column-gap: 9px;
  }
  .article-toc a {
    gap: 7px;
  }
  .comparison {
    gap: 7px;
  }
  .comparison > div {
    padding: 13px 9px;
  }
  .comparison p {
    font-size: 10px;
  }
  .comparison strong {
    font-size: 11px;
  }
  .callout {
    padding: 17px;
  }
  .reading-cards {
    grid-template-columns: 1fr;
  }
  .demo-controls {
    gap: 10px;
  }
  .demo-controls select {
    font-size: 11px;
    padding: 8px;
  }
  .numeric-demo {
    padding: 18px;
  }
  .article-end {
    padding: 22px;
  }
  .article-end h2 {
    font-size: 21px;
  }
  .article-cover figcaption {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .reading-header,
  .article-toc,
  .related-reading,
  .reading-footer,
  .back-to-map,
  .action,
  .skip-link {
    display: none;
  }
  .reading-shell {
    max-width: none;
    padding: 0;
  }
  .reading-layout {
    display: block;
  }
  .article-hero {
    display: block;
  }
  .hero-mark {
    display: none;
  }
  .article-body section {
    break-inside: avoid;
  }
  .article-cover img {
    max-height: 280px;
    object-fit: contain;
  }
  .table-scroll {
    overflow: visible;
  }
  body {
    background: white;
  }
}
