:root{
  --primary:#812618; --accent:#C8392E;
  --surface:#FEF9F0; --surface-low:#F8F3EA; --surface-white:#FFFFFF;
  --on-surface:#1D1C16; --on-surface-variant:#57423E; --outline:#DDC0BB;
  --r-md:16px; --r-lg:24px; --r-pill:999px;
  --shadow-card:0 4px 15px rgba(29,28,22,.06);
  --maxw:820px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Serif SC","Songti SC","Microsoft YaHei",sans-serif;
  background:var(--surface);color:var(--on-surface);
  -webkit-font-smoothing:antialiased;line-height:1.9;
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{display:block;max-width:100%}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* 顶栏 */
header{position:sticky;top:0;z-index:40;background:rgba(254,249,240,.9);
  backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--outline)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:66px;max-width:1160px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:34px;height:34px;border-radius:9px}
.brand .name{font-size:18px;font-weight:800;letter-spacing:.5px;color:var(--on-surface)}
.brand .name em{font-style:normal;color:var(--accent)}
.back{font-size:14px;color:var(--on-surface-variant)}

/* 正文 */
article{padding:56px 0 72px}
.doc-head{margin-bottom:40px;padding-bottom:28px;border-bottom:1px solid var(--outline)}
.doc-head h1{font-family:"Songti SC","Noto Serif SC",Georgia,serif;
  font-size:clamp(28px,4vw,38px);font-weight:800;line-height:1.35;margin-bottom:14px}
.doc-meta{font-size:14px;color:var(--on-surface-variant)}
.doc-meta span+span{margin-left:18px}

.lead{background:var(--surface-white);border:1px solid var(--outline);border-radius:var(--r-lg);
  padding:24px 26px;margin-bottom:40px;box-shadow:var(--shadow-card);font-size:15.5px}
.lead p+p{margin-top:12px}

h2{font-family:"Songti SC","Noto Serif SC",Georgia,serif;font-size:22px;font-weight:800;
  margin:44px 0 16px;padding-left:14px;border-left:4px solid var(--accent);line-height:1.5}
h3{font-size:17px;font-weight:700;margin:28px 0 10px;color:var(--primary)}
p{margin-bottom:14px;font-size:15.5px}
ul,ol{margin:0 0 16px 22px}
li{margin-bottom:9px;font-size:15.5px}
strong{font-weight:700;color:var(--primary)}
.tip{background:var(--surface-low);border-left:4px solid var(--primary);border-radius:0 var(--r-md) var(--r-md) 0;
  padding:16px 20px;margin:20px 0;font-size:15px}
.tip p:last-child{margin-bottom:0}

/* 表格 */
.tw{overflow-x:auto;margin:18px 0 26px;border:1px solid var(--outline);border-radius:var(--r-md);
  background:var(--surface-white)}
table{border-collapse:collapse;width:100%;min-width:640px;font-size:14px}
th,td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--outline);vertical-align:top;line-height:1.7}
th{background:var(--surface-low);font-weight:700;color:var(--primary);white-space:nowrap}
tr:last-child td{border-bottom:none}
td a{word-break:break-all}

/* 联系卡 */
.contact{background:var(--surface-white);border:1px solid var(--outline);border-radius:var(--r-lg);
  padding:24px 26px;margin-top:20px;box-shadow:var(--shadow-card)}
.contact dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;font-size:15px}
.contact dt{font-weight:700;color:var(--primary);white-space:nowrap}

/* 页脚 */
footer{background:#2B1512;color:rgba(255,255,255,.55);padding:34px 0;font-size:13.5px}
footer .wrap{max-width:1160px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
footer a{color:rgba(255,255,255,.55)}
footer a:hover{color:#fff}
.f-links a+a{margin-left:18px}

@media(max-width:640px){
  article{padding:36px 0 52px}
  .contact dl{grid-template-columns:1fr;gap:4px 0}
  .contact dd{margin-bottom:10px}
  footer .wrap{flex-direction:column}
}
