:root { color-scheme: light; font: 18px/1.55 system-ui, sans-serif; color: #392421; background: #fff4ef; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px 14px; }
main { max-width: 630px; margin: auto; border-radius: 24px; overflow: hidden; background: #fffdfa; box-shadow: 0 12px 45px #641e2220; }
header { background: #861e36; color: #fff8f3; padding: 30px clamp(18px, 5vw, 36px); }
header p { margin: 0; }
.brand { font-weight: 700; }
h1 { margin: 8px 0; font-size: clamp(32px, 7vw, 44px); }
h2 { margin-top: 0; }
nav { padding: 14px 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
section { padding: 16px; }
label { display: grid; gap: 7px; font-weight: 650; margin: 0 0 16px; min-width: 0; }
input, select, button { font: inherit; min-height: 52px; border-radius: 9px; border: 1px solid #dbc9c3; }
input, select { padding: 10px; width: 100%; min-width: 0; background: white; color: inherit; }
button { background: white; color: #861e36; padding: 8px 14px; cursor: pointer; font-weight: 700; }
button[aria-pressed="true"], .primary { background: #861e36; border-color: #861e36; color: white; }
.primary { width: 100%; min-height: 56px; margin-top: 16px; font-size: 20px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); }
.hint { font-size: 16px; margin: -5px 0 16px; color: #694f48; }
#location span, .bulk-note span { display: block; text-wrap: pretty; }
.total { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; background: #faede8; border-radius: 10px; padding: 12px 14px; }
#count { font-size: 18px; font-weight: 650; }
.total strong { color: #861e36; font-size: 30px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.bulk-note { margin: 12px 0 0; color: #694f48; font-size: 16px; }
.bulk-note strong { display: block; margin-bottom: 4px; color: #392421; }
.line-instruction { margin: 8px 0 0; color: #694f48; font-size: 16px; }
.order { border-top: 1px solid #e6d6d0; padding: 12px 0; white-space: pre-line; overflow-wrap: anywhere; }
#result:empty { display: none; }
@media (min-width: 700px) { .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
