:root{color-scheme:light;font-family:system-ui,"PingFang HK",sans-serif;color:#143c2d;background:#f4f7f3;font-size:20px;line-height:1.5}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}
main{max-width:760px;margin:auto;padding:24px clamp(14px,4vw,32px)}
header{background:#143c2d;color:white;padding:25px;border-radius:18px}
header small{color:#ffe5ae;font-weight:800;letter-spacing:.18em}
h1{font-size:clamp(27px,5.8vw,39px);line-height:1.2;margin:8px 0}p{margin:.6em 0}header p{margin-bottom:0}
form,section{background:white;border:1px solid #d7e2da;border-radius:18px;margin-top:16px;padding:clamp(16px,4vw,28px)}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}label{display:grid;gap:5px;font-weight:650}
input,select,button{font:inherit;min-height:52px;border-radius:9px;padding:9px 10px;color:#143c2d}input,select{width:100%;background:white;border:1px solid #80988a}button{background:#143c2d;color:white;font-weight:750;border:0;width:100%;margin-top:18px;cursor:pointer} :focus-visible{outline:3px solid #da8134;outline-offset:3px}
#reserveError{color:#8b3222}.big{font-size:clamp(33px,8vw,57px);line-height:1.1;overflow-wrap:anywhere}h2{font-size:23px;margin:0 0 9px}dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}dl div{background:#eef5ef;border-radius:10px;padding:10px}dt{font-size:18px}dd{font-weight:750;margin:3px 0;overflow-wrap:anywhere}
.notice{font-size:17px;color:#405d4f}summary{cursor:pointer;font-weight:700;padding:9px 0}details p{font-size:17px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:16px}th,td{text-align:right;border-bottom:1px solid #d7e2da;padding:8px;white-space:nowrap}footer{margin-top:14px;font-size:16px}a{color:#143c2d}
@media(max-width:460px){.fields{grid-template-columns:1fr}dt{font-size:16px}}

.back{background:white;color:#143c2d;border:1px solid #80988a;width:auto;margin:0 0 16px;padding:7px 13px}
.demo{background:#eef5ef;padding:13px;border-radius:10px}.demo label,.range-ends{display:flex;justify-content:space-between;gap:10px}.demo output{font-weight:800}.demo input{padding:0;min-height:44px;accent-color:#143c2d}.range-ends{font-size:16px}h3{margin-bottom:4px}.legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:17px}.legend span+span{color:#a04f12}#reserveChart{width:100%;display:block;max-height:330px}
