:root{color-scheme:light;color:#24231d;background:#f6f4ec;font-family:system-ui,sans-serif;line-height:1.55}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
main{max-width:64rem;padding:1.2rem clamp(.95rem,4vw,3.4rem) 3rem;margin:auto}
header,footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.7rem;padding-bottom:1rem;border-bottom:1px solid #d9d2c0}
.brand{font-family:Georgia,serif;letter-spacing:.11em;font-weight:600}
nav{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.82rem}
nav a[aria-current=page]{font-weight:750;text-decoration-thickness:.12em}
a{color:#365749;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #22638d;outline-offset:3px}
.intro{margin:clamp(1.3rem,4vw,3.3rem) 0 1.55rem;max-width:43rem}
.tag{letter-spacing:.14em;font-weight:720;color:#5f5742;text-transform:uppercase;font-size:.8rem;margin-bottom:.28rem}
h1{font-family:Georgia,serif;font-size:clamp(1.82rem,5.4vw,3.7rem);line-height:1.1;margin:0;overflow-wrap:anywhere}
h2{font-size:1.12rem;margin-top:1.7rem}
.controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.05rem 1.15rem;padding:1.12rem;border:1px solid #e0d8c7;border-radius:1rem;background:#fffdf6}
label,small{display:block}
label{font-weight:680;font-size:.93rem}
small{margin-top:.18rem;color:#5f5a51}
input,select,button{font:inherit;color:#24231d;border:1px solid #9b907b;background:#fffdf6;border-radius:.55rem;padding:.62rem;min-height:2.75rem}
input,select{width:100%;margin-top:.2rem}
.actions{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}
button{cursor:pointer}
button:first-child{background:#f5cf42;border-color:#dfb52b;font-weight:740}
.notice{background:#e9eee6;border-left:3px solid #57755c;border-radius:.5rem;padding:.7rem .85rem;margin:.8rem 0}
.sale{display:grid;grid-template-columns:minmax(8.5rem,1fr) minmax(0,3fr);gap:1rem;padding:.75rem;border-bottom:1px solid #e2d9c7;overflow-wrap:anywhere}
.sale:nth-of-type(odd){background:#fffdf7}
.sale p{margin:0 0 .26rem}
.amount{font-size:1.1rem;font-weight:780;font-variant-numeric:tabular-nums}
.sale-status{font-weight:730}
.sale-main span{font-size:.83rem;color:#605a4b}
footer{margin-top:2.2rem;border-top:1px solid #ddd4c0;border-bottom:none;padding-top:1rem}
@media(max-width:38rem){.controls{grid-template-columns:1fr}header,footer{justify-content:start}}
@media(max-width:27rem){.sale{grid-template-columns:1fr;gap:.24rem}}
