:root {
  --brick: #963f34;
  --brick-dark: #763027;
  --ink: #302c28;
  --muted: #665e54;
  --paper: #fffcf7;
  --ground: #f6f1e8;
  --line: #d9cdbd;
  --tint: #f1e2d6;
  --body-font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --title-font: "Songti TC", "Noto Serif TC", "PMingLiU", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body-font); font-size: 17px; line-height: 1.9; }
a { color: var(--brick); text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: var(--brick-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brick); outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 1.15em; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 18px; top: -90px; z-index: 10; background: var(--paper); padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.draft-strip { background: var(--brick); color: var(--paper); font-size: 13px; letter-spacing: .04em; }
.draft-strip .shell { display: flex; align-items: center; gap: 18px; min-height: 42px; }
.draft-strip strong { font-weight: 600; padding-right: 18px; border-right: 1px solid #c38379; }
.site-header { min-height: 120px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.brand-stamp { font-family: var(--title-font); font-size: 20px; line-height: 1.12; font-weight: 600; letter-spacing: .1em; padding: 8px 6px 8px 8px; color: var(--brick); border: 1px solid var(--brick); outline: 1px solid var(--brick); outline-offset: -4px; transform: rotate(-2deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.5; gap: 5px; }
.brand-text strong { font-family: var(--title-font); font-size: 23px; letter-spacing: .16em; }
.brand-text > span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.primary-nav { display: flex; gap: 24px; align-items: center; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 15px; text-decoration: none; white-space: nowrap; }
.primary-nav a[aria-current="page"] { color: var(--brick); font-weight: 600; }
.primary-nav a[aria-current="page"]::after { position: absolute; content: ""; bottom: 0; left: 0; right: 0; height: 2px; background: var(--brick); }
.page-heading { padding: 58px 0 48px; }
.eyebrow { font-size: 12px; color: var(--brick); letter-spacing: .13em; margin: 0 0 12px; font-weight: 600; }
h1 { font-family: var(--title-font); font-size: clamp(38px, 5vw, 60px); line-height: 1.35; letter-spacing: .05em; margin: 0 0 18px; font-weight: 600; }
.title-mark { color: var(--brick); }
.page-subtitle { color: var(--muted); font-size: 18px; line-height: 1.8; margin-bottom: 24px; }
.contact-button { display: inline-flex; align-items: center; gap: 32px; padding: 12px 22px; background: var(--brick); border: 1px solid var(--brick); color: var(--paper); text-decoration: none; font-size: 15px; min-height: 50px; }
.contact-button:hover { background: var(--brick-dark); color: var(--paper); }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 18px; font-size: 15px; }
.document-layout { display: flex; align-items: flex-start; gap: 48px; }
.document-sidebar { flex: 0 0 218px; min-width: 0; }
.file-label { border-top: 2px solid var(--brick); border-bottom: 1px solid var(--line); padding: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.file-label > span { font-size: 12px; color: var(--muted); line-height: 1.8; }
.file-label strong { color: var(--brick); font-size: 15px; font-weight: 600; }
.desktop-toc { margin-top: 28px; }
.desktop-toc h2 { font-family: var(--body-font); font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 500; margin: 0 0 10px; }
.desktop-toc a, .mobile-toc nav a { display: flex; gap: 12px; padding: 11px 0; min-height: 44px; font-size: 13px; line-height: 1.6; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.desktop-toc a:hover, .mobile-toc nav a:hover { color: var(--brick); text-decoration: underline; }
.desktop-toc a > span, .mobile-toc nav a > span { color: var(--brick); font-family: var(--title-font); flex: 0 0 20px; }
.sidebar-note { margin-top: 24px; font-size: 12px; color: var(--muted); }
.paper { flex: 1 1 0; min-width: 0; padding: 26px 52px 30px; background: var(--paper); border: 1px solid var(--line); box-shadow: 5px 6px 0 #ece4d8; }
.paper-header { font-size: 11px; color: var(--muted); letter-spacing: .05em; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 30px; }
.document-lead { color: var(--muted); font-size: 16px; }
.document-lead p:last-child { margin-bottom: 0; }
.document-section { padding-top: 36px; }
.document-section h2 { font-family: var(--title-font); font-size: 23px; line-height: 1.6; font-weight: 600; margin: 0 0 20px; scroll-margin-top: 24px; }
.section-number { display: block; font-family: var(--body-font); font-size: 11px; font-weight: 500; color: var(--brick); letter-spacing: .12em; margin-bottom: 5px; }
.document-section p { overflow-wrap: anywhere; }
.document-section p:last-child { margin-bottom: 0; }
.important-note { background: var(--tint); padding: 16px 20px; border-left: 2px solid var(--brick); font-size: 16px; }
.paper-end { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.paper-end a { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.mobile-toc { display: none; }
.document-status { color: var(--brick); font-size: 13px; line-height: 1.8; margin: -10px 0 24px; overflow-wrap: anywhere; }
.related-pages { display: flex; gap: 32px; margin: 54px 0 34px 266px; }
.related-link { position: relative; padding: 18px 40px 18px 0; border-top: 1px solid var(--line); flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; text-decoration: none; }
.related-link > span:first-child { font-size: 11px; color: var(--muted); }
.related-link strong { font-family: var(--title-font); font-size: 23px; font-weight: 500; }
.link-arrow { position: absolute; right: 4px; top: 40px; }
.publication-note { margin: 0 0 52px 266px; border-top: 1px dashed var(--line); padding-top: 22px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.publication-note strong { color: var(--brick); font-weight: 600; }
.publication-note p { margin: 8px 0 0; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; display: flex; gap: 28px; justify-content: space-between; color: var(--muted); font-size: 12px; }
.site-footer strong { font-family: var(--title-font); font-size: 18px; color: var(--ink); letter-spacing: .1em; }
.site-footer p { margin: 10px 0 0; }
.footer-status { text-align: right; }
.footer-status span { font-size: 11px; }
.error-page { padding-block: 90px; }
@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .document-layout { gap: 26px; }
  .document-sidebar { flex-basis: 180px; }
  .paper { padding-inline: 32px; }
  .related-pages, .publication-note { margin-left: 206px; }
  .primary-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .draft-strip .shell { gap: 10px; min-height: 42px; }
  .draft-strip { font-size: 11px; letter-spacing: 0; }
  .draft-strip strong { padding-right: 10px; white-space: nowrap; }
  .site-header { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 0 0; min-height: auto; }
  .brand { gap: 13px; }
  .brand-stamp { font-size: 18px; }
  .brand-text strong { font-size: 21px; }
  .brand-text > span { font-size: 11px; }
  .primary-nav { gap: 8px; justify-content: space-between; }
  .primary-nav a { justify-content: center; flex: 1 1 0; min-height: 48px; font-size: 14px; }
  .page-heading { padding: 34px 0 30px; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; }
  h1 { font-size: clamp(36px, 9vw, 44px); margin-bottom: 14px; }
  .page-subtitle { font-size: 16px; margin-bottom: 19px; }
  .document-layout { display: block; }
  .document-sidebar { display: none; }
  .paper { padding: 20px 22px 24px; box-shadow: 3px 4px 0 #ece4d8; }
  .paper-header { font-size: 10px; margin-bottom: 20px; padding-bottom: 14px; gap: 8px; }
  .mobile-toc { display: block; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 10px; }
  .mobile-toc summary { color: var(--brick); cursor: pointer; min-height: 44px; font-size: 14px; padding: 8px 0; }
  .mobile-toc nav { padding-bottom: 8px; }
  .mobile-toc nav a { font-size: 14px; }
  .document-lead { font-size: 16px; }
  .document-section { padding-top: 32px; }
  .document-section h2 { font-size: 22px; margin-bottom: 16px; }
  .important-note { padding: 14px 16px; }
  .paper-end { align-items: flex-start; flex-direction: column; gap: 0; margin-top: 32px; }
  .related-pages { margin: 34px 0 22px; gap: 22px; }
  .related-link { padding-right: 22px; }
  .related-link strong { font-size: 21px; }
  .related-link > span:first-child { font-size: 10px; line-height: 1.7; padding-bottom: 5px; }
  .link-arrow { top: 46px; right: 0; }
  .publication-note { margin: 0 0 34px; }
  .site-footer { flex-direction: column; gap: 10px; padding: 25px 0 32px; }
  .footer-status { text-align: left; }
}
@media (max-width: 360px) {
  .paper { padding-inline: 18px; }
  .draft-strip .shell { flex-wrap: wrap; gap: 0 10px; padding-block: 6px; }
  .page-subtitle br { display: none; }
  .related-pages { gap: 15px; }
}
@media print {
  body { background: white; color: black; font-size: 12pt; }
  .shell { width: 100%; }
  .primary-nav, .document-sidebar, .mobile-toc, .contact-button, .text-link, .related-pages, .skip-link, .paper-end a { display: none; }
  .draft-strip { background: white; color: black; border: 1px solid black; }
  .site-header { min-height: 80px; }
  .page-heading { padding: 24px 0; }
  h1 { font-size: 28pt; }
  .paper { border: 0; padding: 0; box-shadow: none; }
  .document-section h2 { break-after: avoid; }
  .publication-note { margin-left: 0; }
  .site-footer { padding-bottom: 0; }
}
