:root{font:16px system-ui,sans-serif;color:#172b24;background:#f4f6f0;--green:#174c3a;--line:#d4ded5;--paper:#fff}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
header{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--green);color:white;padding:14px max(16px,calc((100vw - 1020px)/2));min-height:70px}
.brand{font-size:1.35rem;font-weight:800;line-height:1.15}
.brand span{display:block;font-size:.77rem;margin-top:5px;letter-spacing:.065em}
main{max-width:1052px;margin:auto;padding:20px 16px 48px}
h1,h2,h3,p{margin:0 0 .6em}
h1{font-size:clamp(1.35rem,4vw,1.85rem)}
h2{font-size:1.25rem}
h3{font-size:1rem}
.panel,.reservation,.slot{border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:clamp(14px,3vw,24px);margin-bottom:14px}
#login{max-width:480px;margin:25px auto}
nav,.fields,.search,.monitor-head{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.monitor-head{align-items:center;justify-content:space-between}
.monitor-head h1{margin:0}
nav button{flex:1}
button,input,select{font:inherit;min-height:48px;border:1px solid #aabeb0;border-radius:9px;padding:8px 12px;background:white;color:inherit}
button{font-weight:700;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
.primary,button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
header button{min-height:42px}
label{display:grid;gap:5px;font-weight:650;min-width:0}
input,select{width:100%;min-width:0}
form{display:grid;gap:12px}
.search{margin:0;display:flex}
.search label{flex:1 1 190px}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));margin:0}
summary{font-weight:750;cursor:pointer;min-height:34px}
details[open] summary{margin-bottom:13px}
#notice{padding:12px;border-radius:10px;background:#e2efe5}
#notice.error{color:#801e16;background:#fff0ec}
.reservation.done{background:#edf4ee}
.reservation ul{padding-left:22px;margin:8px 0 15px}
.slot{display:grid;grid-template-columns:130px 1fr 1fr;gap:12px;align-items:start}
.slot h2{font-size:1.55rem}
.group{background:#f0f5ed;border-radius:12px;padding:12px}
.group.cold{background:#eef5fb}
.group strong{display:block;font-size:clamp(1.7rem,6vw,3.1rem);line-height:1}
.group ul{padding:0;list-style:none;margin:8px 0 0}
.group li{display:flex;justify-content:space-between;gap:4px;align-items:baseline}
.group li b{font-size:1.25rem}
@media(max-width:600px){.slot{grid-template-columns:1fr 1fr}.slot h2{grid-column:1/-1}.search button{flex:1}}
