*{box-sizing:border-box}body{margin:0;background:#faf4ed;color:#30241d;font:18px Arial,sans-serif}header{background:#654536;color:white;text-align:center;padding:24px}h1{margin:0}main{max-width:1050px;margin:auto;padding:20px}section{background:white;border:2px solid #e7d7c7;border-radius:18px;padding:20px;margin:16px 0}button,input,select{font:inherit;border:2px solid #bda48f;border-radius:10px;padding:10px;background:white;margin:5px}button{cursor:pointer}button:disabled{opacity:.45}button:focus-visible{outline:3px solid #2682bb}label{font-weight:bold}#menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.item{border:1px solid #ddc7b5;border-radius:14px;padding:12px;text-align:center}.item .emoji{font-size:35px}.item strong{display:block;min-height:42px}#request,#basket,#selectedMoney{font-size:1.2rem;font-weight:bold}#orderFeedback,#moneyFeedback,#changeFeedback{font-weight:bold;min-height:24px}#coins button{margin:5px}#sendNote{color:#665f58}@media(max-width:600px){main{padding:10px}section{padding:12px}} 
#basket ul{list-style:none;padding:0;margin:10px 0;max-width:520px}#basket li{display:flex;justify-content:space-between;gap:16px;padding:9px 12px;border-bottom:1px solid #e7d7c7;font-size:1rem;font-weight:normal}#basket li strong{white-space:nowrap}#orderTotal{width:130px;max-width:100%}
.product-photo{height:118px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;overflow:hidden;border-radius:10px;background:#f8f1e9}.product-photo img{height:100%;width:100%;object-fit:cover}.product-photo .emoji{font-size:45px}.product-photo [hidden]{display:none}.item p{font-weight:700;margin:6px 0}#basket ul{list-style:none;padding:0;margin:10px 0}#basket li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e7d7c7;padding:7px 0}#basket input{max-width:160px}

#menu{display:block}.menu-group{border:1px solid #ddc7b5;border-radius:12px;margin:10px 0;overflow:hidden}.menu-group summary{cursor:pointer;padding:14px 18px;font-weight:bold;background:#f5e9dc;list-style:disclosure-closed}.menu-group[open] summary{list-style:disclosure-open}.menu-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:12px}.menu-group summary:focus-visible{outline:3px solid #2682bb;outline-offset:-3px}

#walletMoney,#coins,#practiceMoney{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.money-art{display:flex;flex-direction:column;align-items:center;justify-content:center;width:112px;height:66px;border:3px solid #9b8870;border-radius:10px;background:#eee2c8;color:#222;font-size:13px;text-align:center;box-shadow:1px 2px 3px #aaa}.money-art b{font-size:20px}.money-art.coin{width:82px;height:82px;border-radius:50%;background:linear-gradient(135deg,#f9f4d6,#b8a56d)}.money-art.toonie{background:radial-gradient(circle,#d8c28a 48%,#b7bec3 50%)}.money-art.loonie{background:#d5ba66}.money-art.quarter,.money-art.dime,.money-art.nickel{background:#d1d6db}.money-art.five{background:#a5b9e2}.money-art.ten{background:#b9a7cb}.money-art.twenty{background:#b0c9a4}.money-choice,.practice-coin{padding:5px}.money-choice.chosen,.practice-coin.chosen{border:4px solid #146b4a;background:#d9f5e3}#practiceChoices{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}#practiceChoices button{min-height:85px;background:#f5e9dc;font-weight:bold}#practiceHome[hidden],#cafeMain[hidden]{display:none}

.order-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:20px;align-items:start}.order-columns #basket{position:sticky;top:12px;border:2px solid #e7d7c7;border-radius:12px;padding:16px;background:#fffaf4}#cashierMoney{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}[hidden]{display:none!important}@media(max-width:760px){.order-columns{grid-template-columns:1fr}.order-columns #basket{position:static}}

/* Make the requested order unmistakable for students */
.customer-request-card{background:#e9f3fc;border:3px solid #3676a5;border-left:9px solid #3676a5;border-radius:16px;padding:18px 22px;margin:14px 0 22px;box-shadow:0 3px 9px rgba(30,73,106,.10)}
.customer-request-heading{font-size:1rem;font-weight:800;letter-spacing:.055em;color:#164d75;margin-bottom:9px}
.customer-request-card #request{font-size:1.45rem;line-height:1.5;font-weight:750;color:#152f42;margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.customer-request-card{padding:14px 16px}.customer-request-card #request{font-size:1.25rem}}

/* Two-column café setup controls */
.cafe-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin-bottom:16px}.cafe-settings label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.cafe-settings input,.cafe-settings select{width:100%;min-width:0;margin:0}.cafe-settings label[hidden]{display:none!important}@media(max-width:540px){.cafe-settings{grid-template-columns:1fr;gap:12px}}

/* Settings: one field per row, label left and control right */
.cafe-settings{display:grid;grid-template-columns:minmax(135px,1fr) minmax(0,2fr);gap:12px 18px;max-width:700px;align-items:center}
.cafe-settings label{display:contents}
.cafe-settings label[hidden]{display:none!important}
.cafe-settings label input,.cafe-settings label select{width:100%;min-width:0;margin:0}
@media(max-width:540px){.cafe-settings{grid-template-columns:minmax(110px,1fr) minmax(0,1.5fr);gap:10px}.cafe-settings label{display:contents}}

/* Optional instructional support; never shows the answer */
.learning-help{margin-top:12px}.help-button{background:#e8f3fc;border:2px solid #3779a4;color:#173c55;font-weight:700}.help-panel{background:#f1f8fd;border:2px solid #9dc8e2;border-radius:12px;padding:14px;margin:8px 0 14px;font-size:1rem;font-weight:normal;line-height:1.5}.help-panel p{margin:8px 0 0}.price-equation{font-size:1.25rem;font-weight:700;margin:12px 0}.number-line{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;margin:12px 0}.number-line span{border-top:3px solid #3676a5;text-align:center;font-size:.8rem;padding-top:5px}

/* Customer portrait and accessible speech bubble */
.customer-request-card{display:flex;align-items:center;gap:20px;background:transparent;border:0;border-radius:0;box-shadow:none;padding:8px 0;margin:14px 0 12px;overflow:visible}
#customerPortrait{width:125px;height:145px;object-fit:contain;flex:0 0 125px;border-radius:18px}
.customer-speech{position:relative;flex:1;min-width:0;background:#e9f3fc;border:3px solid #3676a5;border-radius:24px;padding:22px 24px}
.customer-speech:before{content:"";position:absolute;left:-17px;top:46%;width:27px;height:27px;background:#e9f3fc;border-left:3px solid #3676a5;border-bottom:3px solid #3676a5;transform:rotate(45deg)}
.customer-speech #request{position:relative;z-index:1}
@media(max-width:600px){.customer-request-card{gap:12px}#customerPortrait{width:85px;height:105px;flex-basis:85px}.customer-speech{padding:15px;border-radius:18px}.customer-speech:before{left:-12px;width:18px;height:18px}}

/* Keep order actions inside the order panel, beneath selected items */
.order-columns .order-panel{position:sticky;top:12px;min-width:0}
.order-columns #basket{position:static}
.order-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px;margin-top:10px}
.order-actions button{margin:3px;font-size:.95rem}
@media(max-width:760px){.order-columns .order-panel{position:static}}

/* Neutral customer silhouette: no visual/voice gender mismatch */
#customerPortrait{display:flex;align-items:center;justify-content:center;background:#e4e9ed;color:#526577;overflow:hidden}
#customerPortrait svg{width:88%;height:88%;display:block}
