:root{font-family:"Inter",system-ui,sans-serif;color:#192b23;background:#f3f3e9;font-size:16px}
*{box-sizing:border-box}body{margin:0}header,footer,main{max-width:880px;margin:auto;padding:24px}
header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #c8cbbd}
a{color:#245b41;font-weight:600;text-underline-offset:3px}.wordmark{color:#182b23;text-decoration:none}
main{padding-top:52px;max-width:800px}h1,h2{font-family:"Baskervville",Georgia,serif;font-weight:normal}
h1{font-size:clamp(2.6rem,6vw,4.8rem);line-height:.99;letter-spacing:-.04em;margin:0 0 18px}h2{font-size:2rem;margin:12px 0}
.intro{color:#405449;font-size:1.15rem;max-width:620px;line-height:1.55;margin:0 0 27px}
form{background:#fffef9;border:1px solid #c8cbbd;border-radius:12px;padding:25px}label{display:block;font-weight:600;margin-bottom:8px}input{width:100%;font:inherit;padding:10px;color:inherit;background:white;border:1px solid #a7b1a6;border-radius:6px}
input[type=file]{padding:18px 12px;background:#f6f8ef}small,.hint{display:block;font-size:.87rem;color:#475b4e;line-height:1.5;margin:7px 0}
.pair{display:grid;grid-template-columns:1fr 1.5fr;gap:18px;margin:22px 0}
button{background:#17523a;color:white;border:0;border-radius:6px;font:inherit;font-weight:650;padding:12px 19px;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}details{margin:20px 0;line-height:1.5}summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tablebox{overflow:auto}table{width:100%;border-collapse:collapse;background:white}td,th{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid #c8cbbd}
dt{color:#47614e;font-size:.88rem;margin-top:12px}dd{overflow-wrap:anywhere;margin:3px 0;font-family:"IBM Plex Mono",monospace}dl{background:#fffef9;border:1px solid #c8cbbd;padding:12px 20px 20px;border-radius:8px}
#notice{line-height:1.5;color:#773815;white-space:pre-line}#preview{margin-top:32px}#buy,#receiptForm button{margin-top:12px}
footer{color:#506250;font-size:.85rem;border-top:1px solid #c8cbbd;margin-top:30px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b36a14;outline-offset:2px}
@media(max-width:520px){header,main,footer{padding:18px}main{padding-top:34px}.pair{grid-template-columns:1fr;gap:10px}form{padding:16px}header a{font-size:.88rem}}

header{gap:12px}header nav{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}#language{font-size:.85rem}
