:root{color:#213c31;font-synthesis:none;--ink:#213c31;--teal:#174940;--teal-deep:#10382f;--cream:#fffcf5;--line:#ded6c2;--muted:#5b6455;--rust:#a53d19;--radius:6px;background:#f7f2e7;font-family:PingFang TC,Microsoft JhengHei,Noto Sans TC,system-ui,sans-serif;font-weight:500}*{box-sizing:border-box}body{min-width:300px;margin:0}button,input,select{font:inherit}button,select,summary{cursor:pointer}button{border-radius:var(--radius);background:var(--teal);color:#fff;touch-action:manipulation;border:1px solid #0000;min-height:44px;padding:.65rem .95rem;font-weight:700}button:disabled{opacity:.5;cursor:default}button:active:not(:disabled){filter:brightness(.9)}:focus-visible{outline-offset:3px;outline:3px solid #b86128}h1,h2,h3,p{margin:0}h2{font-size:1.25rem}h3{font-size:1rem}small{font-size:.8rem}strong,output,.amount{font-variant-numeric:tabular-nums}.muted{color:var(--muted);font-size:.875rem}.top{background:var(--teal-deep);color:#f9eed3;border-top:4px solid #c28b4c}.top-inner,.nav>div,main{width:min(100% - 2rem,1080px);margin:auto}.top-inner{justify-content:space-between;align-items:center;gap:.75rem;min-height:79px;padding:.65rem 0;display:flex}.identity,.top-actions{align-items:center;gap:.65rem;display:flex}.identity h1{letter-spacing:.11em;font-family:Noto Serif TC,PMingLiU,serif;font-size:1.65rem;line-height:1.15}.identity div>span{color:#e5d5b5;letter-spacing:.1em;margin-top:.22rem;font-size:.72rem;display:block}.brand-mark{background:#e9d7ad;border:1px solid #c9a268;border-radius:50%;flex:none;width:52px;height:52px;position:relative;overflow:hidden}.brand-mark img{width:348px;max-width:none;position:absolute;top:-10px;left:-15px}.open-button{color:#252a20;background:#eed8a4}.open-state{background:#23574a;border-color:#6d9180}.status-dot{vertical-align:.13em;background:#abdba1;border-radius:50%;width:.52rem;height:.52rem;margin-right:.22rem;display:inline-block}.offline{color:#f5d49c;font-size:.76rem}.nav{background:#ede7d7;border-bottom:1px solid #ddd3be}.nav>div{gap:.5rem;display:flex}.nav button{color:var(--muted);background:0 0;border-bottom:3px solid #0000;border-radius:0;min-height:47px;padding:.6rem .95rem}.nav button[aria-current=page]{color:var(--teal-deep);border-bottom-color:var(--teal)}main{padding-top:1.25rem}.register{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);align-items:start;gap:1.25rem;display:grid}.menu,.content-stack{gap:1rem;display:grid}.page-title{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.menu-title{padding:0 .05rem}.expense-shortcut{justify-self:start}.menu-section{border:1px solid var(--line);border-radius:var(--radius);background:#eee7d7;overflow:hidden}.menu-banner{justify-content:space-between;align-items:center;gap:.5rem;min-height:86px;padding:.85rem 1.05rem;display:flex}.pandan .menu-banner{color:#fff4d9;background-color:#344327;background-image:url(/images/pandan-menu.jpg);background-position:right 61%;background-repeat:no-repeat;background-size:50%}.drink .menu-banner{color:#fff8e7;background:#28645a}.menu-banner h3{letter-spacing:.06em;font-family:Noto Serif TC,PMingLiU,serif;font-size:1.45rem}.menu-banner small{color:#f4e3c1;margin-top:.3rem;display:block}.menu-link{color:#fff6df;background:#123e33;border:1px solid #91a994;font-size:.78rem}.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem;padding:.6rem;display:grid}.item{background:var(--cream);color:var(--ink);text-align:left;border:1px solid #dfd5c0;min-height:94px;padding:.55rem .65rem}.item-name{font-weight:800;display:block}.item-note{min-height:1rem;color:var(--muted);margin-top:.16rem;font-size:.72rem;display:block}.item-end{justify-content:space-between;align-items:center;gap:.3rem;margin-top:.35rem;display:flex}.item-end strong{color:var(--rust);font-size:1.12rem}.plus{min-width:1.45rem;height:1.45rem;color:var(--teal);background:#e8eee1;border-radius:4px;place-items:center;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--cream);padding:1rem}.order{scroll-margin-top:1rem;position:sticky;top:1rem}.stack{gap:.7rem;display:grid}.empty{min-height:65px;color:var(--muted);align-items:center;padding:.6rem 0;font-size:.9rem;display:grid}.list-lines{margin:0;padding:0;list-style:none}.list-lines li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.55rem;padding:.55rem 0;display:flex}.list-lines small,.catalog-row small,.shift>span{color:var(--muted);margin-top:.22rem;display:block}.list-lines .amount{color:var(--rust);margin-top:.18rem;font-weight:700;display:block}.quantity{align-items:center;gap:.35rem;display:flex}.quantity button{min-width:44px;min-height:44px;padding:.25rem}.quantity span{text-align:center;min-width:1.4rem}.due{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;padding:.65rem 0 .15rem;display:flex}.due strong{color:var(--rust);font-size:1.8rem;line-height:1}.cash-result{text-align:right;font-weight:750}.primary{background:var(--teal-deep)}.quiet{color:var(--teal-deep);background:#edf0e5;border-color:#d3dccb}.cash-entry{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.5rem;display:grid}.danger{background:#8a3824}label:not(.choice){gap:.32rem;font-size:.9rem;display:grid}label.checkbox{align-items:center;gap:.55rem;min-height:44px;display:flex}input:not([type=radio],[type=checkbox]),select{border-radius:var(--radius);width:100%;min-width:0;min-height:44px;color:var(--ink);background:#fff;border:1px solid #b8b39e;padding:.5rem .6rem;font-size:1rem}input[type=checkbox]{width:1.15rem;height:1.15rem;accent-color:var(--teal)}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:.4rem;font-size:.9rem;font-weight:800}.choices{flex-wrap:wrap;gap:.4rem;display:flex}.choice{font-size:.9rem;position:relative}.choice input{opacity:0;width:1px;height:1px;position:absolute}.choice span{border-radius:var(--radius);cursor:pointer;border:1px solid #c4c5ad;align-items:center;min-height:44px;padding:.35rem .55rem;display:grid}.choice input:checked+span{background:var(--teal);color:#fff;border-color:var(--teal)}.choice input:focus-visible+span{outline-offset:2px;outline:3px solid #b86128}.choice-submit{justify-content:space-between;align-items:center;margin-top:.35rem;display:flex}dialog{border:1px solid var(--line);border-radius:var(--radius);width:min(100% - 1.5rem,470px);color:var(--ink);background:var(--cream);max-height:calc(100dvh - 2rem);padding:1rem}dialog::backdrop{background:#0c201aa6}.dialog-heading{justify-content:space-between;align-items:center;gap:.55rem;margin-bottom:.7rem;display:flex}.close{min-width:44px;font-size:1.35rem;line-height:1}.full-menu{width:100%;display:block}.success,.alert{border-radius:var(--radius);margin:.2rem 0;padding:.65rem}.success{color:#184538;background:#e3f0de}.alert{color:#822f14;background:#f8e7da}main>.alert{margin-bottom:.75rem}.totals{grid-template-columns:repeat(3,1fr);gap:.65rem;display:grid}.totals small{color:var(--muted);margin-bottom:.3rem;display:block}.totals strong{color:var(--rust);font-size:1.3rem}.shift{border-top:1px solid var(--line);padding:.6rem 0}.catalog-row{border-top:1px solid var(--line);align-items:center;gap:.75rem;padding:.5rem 0;display:flex}.catalog-row:first-child{border:0}.catalog-row>div{flex:1}.sale summary{justify-content:space-between;align-items:center;gap:.5rem;min-height:44px;display:flex}.sale summary:before{content:"＋"}.sale[open] summary:before{content:"−"}.sale summary span{flex:1}.sale .muted{margin-top:.5rem}footer{color:var(--muted);justify-content:space-between;gap:.6rem;padding:1.15rem 0 1.45rem;font-size:.78rem;display:flex}.mobile-cart{display:none}@media (width<=700px){.top-inner,.nav>div,main{width:calc(100% - 1.25rem)}.top-inner{min-height:70px}.identity h1{font-size:1.48rem}.nav>div{grid-template-columns:1fr 1.3fr 1fr 1fr;gap:0;display:grid}.nav button{padding:.5rem .12rem;font-size:.91rem}main{padding-top:.85rem}.register{grid-template-columns:minmax(0,1fr);gap:.9rem}.menu{gap:.7rem}.menu-banner{min-height:70px;padding:.55rem .65rem}.menu-banner h3{font-size:1.2rem}.menu-banner small{margin-top:.2rem}.menu-grid{gap:.32rem;padding:.42rem}.item{min-height:83px;padding:.43rem .38rem}.item-name{font-size:.88rem}.item-note{font-size:.66rem}.item-end strong{font-size:1.03rem}.order{position:static}.mobile-cart{padding:.43rem .65rem calc(.43rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f7f2e7;display:block;position:fixed;bottom:0;left:0;right:0}.mobile-cart button{justify-content:space-between;align-items:center;width:100%;display:flex}main:has(.mobile-cart){padding-bottom:calc(55px + env(safe-area-inset-bottom))}}
