:root {
  --font-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --black: #080808;
  --ink: #121212;
  --charcoal: #1a1a1a;
  --graphite: #30302c;
  --muted: #6f6f68;
  --paper: #f6f6f2;
  --paper-2: #ededE8;
  --white: #fff;
  --line: rgba(18, 18, 18, 0.14);
  --line-medium: rgba(18, 18, 18, 0.30);
  --line-light: rgba(255, 255, 255, 0.16);
  --accent: #8f7445;
  --max: 1180px;
  --side: clamp(18px, 5vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.82;
  text-rendering: optimizeLegibility;
}

body.cover-page {
  background: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^="mailto:"] {
  border-bottom: 1px solid currentColor;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 246, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.cover-page .site-header {
  background: rgba(8, 8, 8, 0.78);
  border-bottom-color: var(--line-light);
  color: rgba(255, 255, 255, 0.82);
}

.nav-inner {
  width: min(100% - (var(--side) * 2), var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cover-page .brand span {
  color: rgba(255, 255, 255, 0.52);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 13px;
}

.site-nav a {
  color: inherit;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  border-color: var(--accent);
}

.home-hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(330px, 0.40fr) 18px minmax(0, 0.60fr);
  background: var(--black);
}

.cover-panel {
  position: relative;
  padding: clamp(72px, 9vw, 126px) clamp(30px, 5vw, 68px) clamp(42px, 5vw, 72px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(26px, 4vw, 46px);
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(circle at 68% 32%, rgba(255,255,255,0.08), transparent 23rem),
    linear-gradient(135deg, #070707, var(--charcoal));
}

.cover-panel::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 11%;
  left: clamp(42px, 5vw, 72px);
  width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,0.26), transparent);
}

.mark {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.mark span {
  position: relative;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.84);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.mark span::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -11px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.mark::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.cover-method {
  align-self: center;
  max-width: 340px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.cover-method .mini-label {
  color: rgba(255,255,255,0.48);
}

.cover-method ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cover-method li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

.cover-method li span {
  grid-row: span 2;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cover-method li strong {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.cover-method li em {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.cover-fields {
  max-width: 340px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cover-fields div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.cover-fields div:last-child {
  border-bottom: 0;
}

.cover-fields span,
.page-kicker,
.eyebrow,
.mini-label,
.entry-number,
.note-state {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-fields span {
  color: rgba(255, 255, 255, 0.55);
}

.cover-fields strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
}

.cover-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 340px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spine {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05), rgba(0,0,0,0.18)),
    var(--charcoal);
  box-shadow: inset 1px 0 rgba(255,255,255,0.08), inset -1px 0 rgba(0,0,0,0.38);
}

.hero-paper {
  margin-left: -8px;
  padding: clamp(72px, 8vw, 116px) clamp(34px, 6vw, 88px);
  display: grid;
  align-content: center;
  gap: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(18,18,18,0.021) 1px, transparent 1px) 0 0 / 82px 82px,
    var(--paper);
  box-shadow: -12px 0 22px rgba(0,0,0,0.08);
}

.paper-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 680px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.subtitle {
  margin-top: 12px;
  color: var(--graphite);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
}

.core-line {
  margin-top: clamp(26px, 4vw, 42px);
  max-width: 640px;
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.58;
}

.summary {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
}

.quiet-principle {
  max-width: 620px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1.72;
}

.entrance-grid {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-medium);
}

.entrance-grid a {
  min-height: 138px;
  padding: 20px 18px;
  display: grid;
  align-content: start;
  gap: 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.20);
}

.entrance-grid a:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.entrance-grid span {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
}

.entrance-grid strong {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.4;
}

.entrance-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.page-main {
  width: min(100% - (var(--side) * 2), var(--max));
  margin: 0 auto;
}

.page-hero {
  padding: clamp(70px, 9vw, 126px) 0 clamp(42px, 6vw, 78px);
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(36px, 7vw, 88px);
  border-bottom: 1px solid var(--line-medium);
}

.page-kicker {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 19px);
}

.section {
  padding: clamp(58px, 8vw, 100px) 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  gap: clamp(36px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.section.wide {
  grid-template-columns: 220px minmax(0, 920px);
}

.section.dark {
  width: auto;
  margin-left: calc(var(--side) * -1);
  margin-right: calc(var(--side) * -1);
  padding-left: var(--side);
  padding-right: var(--side);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px) 0 0 / 86px 86px,
    var(--charcoal);
  color: var(--white);
  border-bottom: 0;
}

.section.dark .page-kicker,
.section.dark h2 {
  color: var(--white);
}

.section.dark p,
.section.dark li {
  color: rgba(255,255,255,0.72);
}

.section.dark a,
.cover-page a {
  color: inherit;
}

.section.dark a[href^="mailto:"],
.contact-box a[href^="mailto:"] {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.72);
}

.section.dark .data-rows,
.section.dark .data-rows div {
  border-color: rgba(255,255,255,0.14);
}

.section.dark .data-rows dt {
  color: rgba(255,255,255,0.56);
}

.section.dark .data-rows dd {
  color: rgba(255,255,255,0.92);
}

.section h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.36;
}

.section p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
}

.section p + p {
  margin-top: 16px;
}

.lead {
  color: var(--ink) !important;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 27px) !important;
  line-height: 1.62;
}

.method-frame,
.data-sheet,
.note-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18,18,18,0.018) 1px, transparent 1px) 0 0 / 68px 68px,
    rgba(255,255,255,0.48);
}

.data-sheet {
  background: rgba(255,255,255,0.42);
}

.data-rows {
  margin-top: 26px;
  border-top: 1px solid var(--line-medium);
}

.data-rows div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dd {
  color: var(--ink);
}

.index-list,
.matter-grid,
.note-grid,
.fee-grid,
.prepare-grid {
  margin-top: clamp(28px, 4vw, 42px);
}

.index-list {
  border-top: 1px solid var(--line-medium);
}

.index-entry {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(16px, 4vw, 42px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.entry-number {
  color: var(--accent);
}

.index-entry h3 {
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.42;
}

.index-entry p {
  margin-top: 0;
}

.matter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-medium);
  border-left: 1px solid var(--line);
}

.matter-card {
  min-height: 310px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.28);
}

.matter-card h3 {
  margin: 16px 0 14px;
  font-size: clamp(22px, 2vw, 30px);
}

.mini-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mini-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line-medium);
  border-bottom: 1px solid var(--line-medium);
}

.pathway div {
  min-height: 140px;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
}

.pathway div:last-child {
  border-right: 0;
}

.pathway strong {
  display: block;
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: 22px;
}

.fee-grid,
.prepare-grid,
.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-medium);
}

.article-nav {
  margin-top: clamp(28px, 4vw, 42px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-medium);
  border-left: 1px solid var(--line);
}

.article-nav a {
  min-height: 94px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.22);
}

.article-nav span {
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.article-nav strong {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.38;
}

.category-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-nav a {
  min-height: 128px;
  gap: 12px;
}

.category-nav p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.long-note-list {
  display: grid;
  gap: clamp(42px, 7vw, 82px);
}

.note-category {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.note-category + .note-category {
  padding-top: clamp(36px, 7vw, 76px);
  border-top: 1px solid var(--line-medium);
}

.note-category-head {
  max-width: 760px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.note-category-head h2 {
  margin-top: 12px;
}

.note-category-head p {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
}

.long-note {
  max-width: 760px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18,18,18,0.016) 1px, transparent 1px) 0 0 / 68px 68px,
    rgba(255,255,255,0.42);
}

.long-note h2 {
  margin-top: 14px;
}

.long-note .note-lead {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.65;
}

.long-note p {
  margin-top: 16px;
  max-width: 680px;
}

.fee-grid article,
.prepare-grid article,
.note-grid article {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
}

.fee-grid article:nth-child(odd),
.prepare-grid article:nth-child(odd),
.note-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.fee-grid article:nth-child(even),
.prepare-grid article:nth-child(even),
.note-grid article:nth-child(even) {
  padding-left: 24px;
}

.note-grid h3 {
  margin: 10px 0 8px;
}

.note-state {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
}

.primary-note {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: start;
}

.primary-note .note-panel {
  min-height: 100%;
}

.quote-line {
  padding-left: 20px;
  border-left: 1px solid var(--accent);
  color: var(--ink) !important;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px) !important;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  margin-top: 30px;
}

.qr-block {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.dark .qr-block {
  border-color: var(--line-light);
  background: rgba(255,255,255,0.04);
}

.qr-block img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--white);
}

.qr-block figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dark .qr-block figcaption {
  color: rgba(255,255,255,0.58);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 28px var(--side) 40px;
  background: var(--charcoal);
  color: rgba(255,255,255,0.62);
}

.site-footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 10px 24px;
  font-size: 13px;
}

.footer-brand {
  grid-row: span 2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-aux {
  text-align: right;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.site-footer a {
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid transparent;
}

.site-footer a:hover,
.site-footer a:focus {
  border-color: rgba(255,255,255,0.62);
}

.print-page {
  background: #fff;
  color: #111;
}

.print-sheet {
  width: min(900px, calc(100% - 32px));
  margin: 32px auto;
  padding: 46px;
  border: 1px solid #d9d9d4;
  background: #fff;
}

.print-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid #111;
}

.print-head h1 {
  font-size: 34px;
}

.print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 28px;
}

.print-block {
  break-inside: avoid;
  padding-top: 18px;
  border-top: 1px solid #d6d6d0;
}

.print-block h2 {
  font-size: 20px;
}

.print-block ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.print-foot {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid #d6d6d0;
  color: #555;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 12px;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .cover-panel {
    min-height: 250px;
    padding: 42px var(--side) 24px;
  }

  .cover-fields,
  .cover-foot {
    display: none;
  }

  .cover-method {
    align-self: end;
    padding: 18px 0 0;
    border-bottom: 0;
  }

  .spine {
    height: 8px;
  }

  .hero-paper {
    margin-left: 0;
    padding: 38px var(--side) 64px;
  }

  .entrance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entrance-grid a:nth-child(3n + 1) {
    border-left: 0;
  }

  .entrance-grid a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .page-hero,
  .section,
  .section.wide {
    grid-template-columns: 1fr;
  }

  .section.dark {
    margin-left: 0;
    margin-right: 0;
  }

  .index-entry,
  .data-rows div,
  .primary-note,
  .contact-box,
  .print-head {
    grid-template-columns: 1fr;
  }

  .matter-grid,
  .fee-grid,
  .prepare-grid,
  .note-grid,
  .article-nav,
  .pathway,
  .print-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matter-card,
  .fee-grid article,
  .prepare-grid article,
  .note-grid article {
    border-right: 0 !important;
    padding-left: 0 !important;
  }

  .pathway div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pathway div:last-child {
    border-bottom: 0;
  }

  .qr-block {
    width: min(100%, 230px);
  }
}

@media (max-width: 520px) {
  :root {
    --side: 16px;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-paper {
    order: 1;
    padding: 28px var(--side) 46px;
  }

  .spine {
    order: 2;
  }

  .cover-panel {
    order: 3;
    min-height: auto;
    padding: 28px var(--side) 34px;
    gap: 18px;
  }

  .cover-panel::before,
  .mark {
    display: none;
  }

  .cover-method {
    padding-top: 0;
    border-top-color: rgba(255,255,255,0.14);
  }

  .brand strong {
    font-size: 15px;
  }

  .site-nav {
    gap: 7px 14px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .core-line {
    font-size: 22px;
  }

  .entrance-grid {
    grid-template-columns: 1fr;
  }

  .cover-method {
    max-width: none;
  }

  .cover-method li {
    font-size: 14px;
    padding: 10px 0;
  }

  .paper-head {
    display: block;
  }

  .paper-head p + p {
    margin-top: 6px;
  }

  .method-frame,
  .data-sheet,
  .note-panel,
  .long-note,
  .print-sheet {
    padding: 22px 18px;
  }

  .article-nav {
    margin-top: 24px;
  }

  .article-nav a {
    min-height: 82px;
    padding: 14px;
  }

  .category-nav {
    grid-template-columns: 1fr;
  }

  .category-nav a {
    min-height: 76px;
  }

  .long-note .note-lead {
    font-size: 18px;
    line-height: 1.75;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-brand {
    grid-row: auto;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .footer-aux {
    text-align: left;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body,
  .print-page {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.55;
  }

  .site-header,
  .site-footer,
  .link-row {
    display: none !important;
  }

  .print-sheet {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .print-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qr-block {
    width: 36mm;
    padding: 3mm;
  }
}
