* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: #edf2f7; color: #17243b; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.panel { width: min(100%, 560px); background: white; border-radius: 20px; box-shadow: 0 14px 45px #182f4b1a; padding: clamp(24px, 5vw, 42px); }
.eyebrow { color: #1367a5; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 10px 0 14px; font-size: clamp(27px, 5vw, 35px); line-height: 1.15; }
.muted { color: #566578; line-height: 1.6; }
label { display: block; margin: 19px 0 7px; font-weight: 650; font-size: 14px; }
input { width: 100%; padding: 12px 13px; border: 1px solid #c8d3df; border-radius: 9px; font: inherit; background: white; }
input:focus { outline: 2px solid #8cc8ef; border-color: #1367a5; }
button { width: 100%; margin-top: 20px; padding: 14px 16px; border: 0; border-radius: 10px; background: #176da8; color: white; cursor: pointer; font: inherit; font-weight: 700; }
button:hover { background: #115987; }
.notice { padding: 12px 14px; border-radius: 9px; background: #fff5df; color: #76530d; font-size: 13px; line-height: 1.55; }
.receipt { text-align: center; }
.qr { display: block; width: min(100%, 280px); height: auto; margin: 20px auto; image-rendering: pixelated; }
.back { color: #176da8; font-weight: 650; }
.wide {width:min(100%,800px)}
h2 {font-size:20px;margin-top:28px}
a {color:#176da8}
.foot {margin-top:22px;color:#566578}
.error {background:#ffe5e5;padding:12px;border-radius:8px;color:#922}
.top {display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.top form {flex:0 0 auto}
.muted-btn {margin-top:4px;padding:10px 14px;background:#e6edf4;color:#173658}
.muted-btn:hover {background:#d6e5f0}
.order-list {display:grid;gap:10px}
.order {padding:14px;border:1px solid #d6e1eb;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.small {font-size:12px;color:#64748b;margin-top:5px}
.order form {flex:0 0 auto}
.small-btn {margin:0;padding:9px 13px;font-size:13px}
input[type="hidden"] {display:none}
