*{box-sizing:border-box}body{margin:0;background:#f2eee5;color:#252d35;font:16px/1.65 system-ui,"Microsoft YaHei",sans-serif}header{background:white;display:flex;align-items:center;gap:15px;padding:12px max(16px,calc((100% - 1040px)/2));border-bottom:1px solid #d9cbb6}header img{width:72px;height:72px;object-fit:contain}h1{font-size:clamp(22px,4vw,34px);color:#861729;margin:0}aside{font-size:12px;text-align:center;background:#eee1c7;padding:6px;color:#775823}main{max-width:1040px;margin:auto;padding:16px}section{background:white;padding:20px;border-radius:16px;border:1px solid #ddd4c5;margin:0 0 16px;overflow-wrap:anywhere}h2,h3{color:#861729;margin:0 0 8px}small{display:block;color:#666;font-size:13px}label{display:block;margin:12px 0}input,select,textarea{font:inherit;width:100%;padding:11px;border:1px solid #bfbcb6;border-radius:8px;background:#fff;color:#25303d}input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:#861729}button,.button{font:inherit;display:inline-block;cursor:pointer;color:white;background:#861729;border:0;border-radius:8px;padding:12px 16px;text-decoration:none;min-height:44px;font-weight:600}button.alt{background:#fff;color:#861729;border:1px solid #bda786}button:disabled{opacity:.5}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero{background:linear-gradient(90deg,#400d19e8,#6d12279c),var(--image) center/cover;color:white;border:1px solid #bc9e67;padding:30px 24px;min-height:160px}.hero h2,.hero h3{color:white}.hero small{color:#e7d1a3}.narrow{max-width:540px;margin:0 auto 16px}.item{border:1px solid #ded5c7;border-radius:10px;padding:13px;margin:9px 0}.price{font-size:21px;color:#861729;font-weight:700}.err{color:#a51a25;white-space:pre-wrap}.total{position:sticky;bottom:0;background:#fff9e9;border:1px solid #bd9f68;padding:12px;border-radius:12px;box-shadow:0 -2px 15px #0001}.required{color:#a51a25}.check{display:flex;align-items:flex-start;gap:9px}.check input{flex:none}.letter{text-align:center;background:#fffaf0;border:1px solid #bc9e67}.letter img{max-width:110px}.letter canvas{display:block;margin:14px auto;max-width:100%;height:auto;image-rendering:pixelated}.letter p{text-align:left}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}footer{text-align:center;color:#806a49;padding:20px;font-size:13px}details{margin:8px 0}summary{cursor:pointer;color:#861729}a{color:#861729}@media(max-width:650px){main{padding:10px}.grid{grid-template-columns:1fr}section{padding:15px}.hero{padding:23px 16px}header img{width:60px;height:60px}}@media print{header,aside,footer,.no-print,button{display:none!important}body{background:white}section{border:0}}

.payment-image{display:block;width:min(100%,310px);height:auto;margin:15px auto;border-radius:10px;border:1px solid #ded5c7}.paybox{border:1px solid #c6ded1;border-radius:12px;padding:16px;background:#f4faf6}.paybox h3{color:#087b49}.paybox button{background:#07864e}.paybox input[type=file]{background:white}form[data-decision]{background:#f9f5ed;padding:12px;border-radius:8px}.item button{margin-top:6px}