@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-display: swap; }
:root { --ink: #121212; --ink-2: #4d4b47; --ink-3: #8b8882; --line: #dcd8d1; --paper: #fff8f3; --accent: #ff5a3c;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html[data-lang="en"] [lang="zh"]:not(html) { display: none !important; }
html[data-lang="zh"] [lang="en"]:not(html) { display: none !important; }
a { color: inherit; }
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 12px clamp(16px, 4vw, 40px); background: rgba(244,242,238,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: "Instrument", serif; font-size: 20px; text-decoration: none; }
.brand i { font-style: italic; opacity: .6; }
.actions { display: flex; gap: 10px; align-items: center; }
.btn { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); background: #ffe8e0; border-radius: 999px; padding: 7px 12px; }
.lang { display: flex; border: 1px solid var(--ink); border-radius: 999px; padding: 2px; }
.lang button { font: inherit; font-size: 12px; border: 0; background: none; padding: 6px 11px; border-radius: 999px; cursor: pointer; min-height: 30px; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sheet { max-width: 980px; margin: 32px auto 64px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 5vw, 56px); }
.k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.qh { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 20px; }
.qh h1 { font-family: "Instrument", "PingFang SC", serif; font-weight: 400; font-size: 40px; margin: 0; }
.qh p { margin: 4px 0; color: var(--ink-2); }
.qh .meta p { font-size: 14px; } .qh .meta b { display: inline-block; min-width: 64px; color: var(--ink); }
h2 { font-size: 18px; margin: 34px 0 10px; }
.qt { width: 100%; border-collapse: collapse; font-size: 14px; }
.qt th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); padding: 8px; }
.qt td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.qt ul { list-style: none; margin: 6px 0 0; padding: 0; color: var(--ink-2); display: grid; gap: 3px; }
.qt li { display: flex; } .e { display: inline-block; width: 1.6em; flex: none; }
.qt .id { color: var(--ink-3); width: 40px; } .qt .q { text-align: center; width: 60px; } .qt .amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qt s { color: var(--ink-3); }
.terms { padding-left: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); }
.back { margin-top: 28px; }
@media (max-width: 640px) {
  .qt.pk thead { display: none; }
  .qt.pk tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .qt.pk td { border: 0; padding: 2px 4px; }
  .qt.pk td:first-child { grid-column: 1 / -1; }
  .qt .id { width: 28px; }
  .actions .btn { display: none; }
}
@media print {
  @page { size: A4; margin: 14mm; }
  .top, .back, .dl { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .sheet { border: 0; margin: 0; padding: 0; max-width: none; }
  .qt tr { break-inside: avoid; }
}
.qt .adtag { margin: 4px 0; font-size: 12px; color: #8b8882; font-weight: 600; }
