:root {color-scheme:light;font-family:Inter,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#182f31;background:#f6f8f5}
* {box-sizing:border-box}
body {max-width:58rem;margin:0 auto;padding:0 clamp(1.1rem,4vw,3rem);line-height:1.55}
header {display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #bdcac4;padding:1.25rem 0}
header a:first-child {font-size:1.3rem;font-weight:700}
a {color:#13574f;text-underline-offset:0.2em}
main {max-width:43rem;margin:clamp(2rem,7vw,4.5rem) auto}
h1 {font-size:clamp(2rem,6vw,3.25rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 2rem}
h2 {font-size:1.4rem;line-height:1.35;margin:0 0 .75rem}
article,main>form {border:1px solid #d4ded8;border-radius:.75rem;background:white;padding:clamp(1.25rem,4vw,2.25rem);margin:1rem 0}
.price {font-size:1.8rem;margin:.5rem 0;font-weight:650;font-variant-numeric:tabular-nums}
form {display:grid;gap:1rem}
label {display:grid;gap:.4rem;font-weight:550}
input,button {font:inherit;border-radius:.4rem;padding:.65rem .85rem}
input {border:1px solid #81968e;min-width:0;width:100%}
button {border:0;background:#155e53;color:white;font-weight:600;justify-self:start;cursor:pointer}
button:hover {background:#104b42}
:focus-visible {outline:3px solid #d78439;outline-offset:3px}
code {overflow-wrap:anywhere}
footer {border-top:1px solid #bdcac4;padding:1rem 0 2rem;color:#405952}

.admin-heading {display:flex;align-items:baseline;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}
.admin-heading h1 {margin-bottom:.75rem}
.action {display:inline-block;border-radius:.4rem;background:#155e53;color:white;padding:.6rem 1rem;text-decoration:none;font-weight:600}
.muted {color:#455e54}
.table-wrap {overflow-x:auto}
table {width:100%;border-collapse:collapse;background:white}
th,td {padding:.8rem .65rem;text-align:left;border-bottom:1px solid #d4ded8}
.amount {font-variant-numeric:tabular-nums;white-space:nowrap}
select,textarea {font:inherit;border:1px solid #81968e;border-radius:.4rem;padding:.65rem .85rem;background:white;width:100%}
textarea {resize:vertical}
nav {margin-bottom:1.3rem}
[role=alert] {color:#974117}
