*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a1a;min-height:100vh;min-height:100dvh;-webkit-font-smoothing:antialiased}

nav{display:flex;align-items:center;justify-content:space-between;background:#1a1a2e;color:#fff;padding:0 1rem;height:52px;position:sticky;top:0;z-index:10}
.logo{font-weight:700;font-size:1.05rem;letter-spacing:.04em;white-space:nowrap;flex-shrink:0}
.nav-tabs{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;flex:1;margin:0 .5rem}
.nav-tabs::-webkit-scrollbar{display:none}
.tab-btn{background:0;border:0;color:#888;padding:0 .85rem;height:52px;cursor:pointer;font-size:.85rem;white-space:nowrap;border-bottom:3px solid transparent;transition:color .15s,border-color .15s;flex-shrink:0;-webkit-tap-highlight-color:transparent;min-width:44px}
.tab-btn:hover{color:#ccc}
.tab-btn.active{color:#fff;border-bottom-color:#e94560}
.tab-content{display:none;padding:1rem}
.tab-content.active{display:block}
h2{font-size:1.1rem;margin-bottom:.65rem}
h3{font-size:.95rem;margin-bottom:.5rem}
.lang-btn{background:0;border:1px solid #555;color:#aaa;padding:.35rem .65rem;border-radius:6px;cursor:pointer;font-size:.82rem;font-weight:600;flex-shrink:0;-webkit-tap-highlight-color:transparent;min-height:36px}
.lang-btn:hover{border-color:#e94560;color:#e94560}
.lang-btn:active{background:rgba(233,69,96,.15)}

.order-layout{display:grid;grid-template-columns:1fr 320px;gap:1rem}
.category-bar{display:flex;gap:.4rem;margin-bottom:.65rem;flex-wrap:wrap}
.cat-btn{padding:.5rem 1rem;border:1px solid #ddd;border-radius:24px;background:#fff;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .15s;-webkit-tap-highlight-color:transparent;min-height:40px}
.cat-btn:hover{border-color:#e94560;color:#e94560}
.cat-btn:active{transform:scale(.96)}
.cat-btn.active{background:#e94560;color:#fff;border-color:#e94560}

.menu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.65rem}
.menu-card{background:#fff;border-radius:12px;padding:.85rem .65rem;text-align:center;cursor:pointer;border:2px solid transparent;transition:border-color .15s,transform .12s;box-shadow:0 1px 3px rgba(0,0,0,.07);-webkit-tap-highlight-color:transparent;user-select:none;min-height:80px;display:flex;flex-direction:column;justify-content:center}
.menu-card:active{transform:scale(.96);border-color:#e94560}
.menu-card:hover{border-color:#e94560;transform:translateY(-2px)}
.menu-card .cat-label{font-size:.62rem;color:#999;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.15rem}
.menu-card h3{font-size:.88rem;margin-bottom:.15rem;line-height:1.35}
.menu-card .price{color:#e94560;font-weight:700;font-size:.95rem}

.cart-panel{background:#fff;border-radius:10px;padding:.85rem;box-shadow:0 1px 4px rgba(0,0,0,.08);position:sticky;top:64px;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);display:flex;flex-direction:column}
.cart-items{flex:1;overflow-y:auto;margin-bottom:.65rem;min-height:80px}
.cart-items::-webkit-scrollbar{width:4px}
.cart-items::-webkit-scrollbar-thumb{background:#ddd;border-radius:2px}
.empty-cart{color:#999;font-size:.82rem;text-align:center;padding:1.5rem 0}
.cart-item{display:flex;align-items:center;justify-content:space-between;padding:.4rem 0;border-bottom:1px solid #eee;font-size:.8rem;gap:.3rem}
.cart-item div:first-child{flex:1;min-width:0}
.cart-item-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cart-item button{width:36px;height:36px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer;font-size:1.15rem;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center;transition:all .12s;-webkit-tap-highlight-color:transparent}
.cart-item button:active{background:#f0f0f0;transform:scale(.9)}
.cart-total{display:flex;justify-content:space-between;font-size:1rem;font-weight:700;padding:.55rem 0;border-top:2px solid #1a1a2e}

.cart-summary{display:flex;gap:.4rem;font-size:.75rem;color:#666;padding:.25rem 0 .05rem;justify-content:space-around;border-top:1px solid #eee}
.cart-summary span{font-weight:600}

.btn{display:block;width:100%;padding:.7rem;border:0;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .13s;-webkit-tap-highlight-color:transparent;min-height:44px}
.btn-primary{background:#e94560;color:#fff}
.btn-primary:hover:not(:disabled){background:#d63851}
.btn-primary:active:not(:disabled){transform:scale(.98)}
.btn-primary:disabled{opacity:.4;cursor:default}

.sales-summary{display:flex;gap:.75rem;margin-bottom:.85rem;flex-wrap:wrap}
.sales-stat{background:#fff;border-radius:10px;padding:.85rem 1.25rem;box-shadow:0 1px 3px rgba(0,0,0,.07);text-align:center;flex:1;min-width:120px}
.sales-stat .label{font-size:.75rem;color:#888;text-transform:uppercase;letter-spacing:.04em}
.sales-stat .value{font-size:1.3rem;font-weight:700;margin-top:.15rem}
.sales-order{background:#fff;border-radius:8px;padding:.45rem .65rem;margin-bottom:.3rem;box-shadow:0 1px 3px rgba(0,0,0,.07);display:flex;align-items:center;font-size:.76rem;gap:.25rem;flex-wrap:wrap}
.sales-order .so-time{color:#888;flex:0 0 60px;flex-shrink:0}
.sales-order .so-items{flex:1;min-width:100px;margin:0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sales-order .so-badges{display:flex;gap:.2rem;flex-shrink:0;flex-wrap:wrap}
.sales-order .so-rev{font-weight:700;color:#e94560;flex:0 0 50px;text-align:right;flex-shrink:0}
.so-badge{display:inline-block;font-size:.6rem;padding:.08rem .28rem;border-radius:3px;font-weight:600;line-height:1.3}
.so-badge.dinein{background:#e8f5e9;color:#2e7d32}
.so-badge.takeaway{background:#fff3e0;color:#e65100}
.so-badge.cash{background:#f3e5f5;color:#6a1b9a}
.so-badge.qr{background:#e3f2fd;color:#1565c0}
.so-badge.promo{background:#fffbe6;color:#f57f17}
.so-badge.pending{background:#fff3e0;color:#e65100}
.so-badge.preparing{background:#e3f2fd;color:#1565c0}
.so-badge.completed{background:#e8f5e9;color:#2e7d32}
.so-badge.cancelled{background:#fbe9e7;color:#c62828}
.sales-actions{display:flex;gap:.2rem;flex-wrap:wrap;flex-shrink:0}
.sales-actions button{padding:.35rem .55rem;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;font-size:.72rem;transition:all .12s;-webkit-tap-highlight-color:transparent;min-height:32px}
.sales-actions button:active{background:#f0f0f0}
.sale-del{color:#e94560;border-color:#e94560!important}

.menu-form{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.85rem;align-items:center}
.menu-form input,.menu-form select{padding:.45rem .55rem;border:1px solid #ddd;border-radius:6px;font-size:.82rem;font-family:inherit}
.menu-form input{width:150px;min-width:120px;flex:1}
.menu-form select{width:120px}
.menu-form .btn{width:auto;padding:.45rem 1rem}

.menu-list{display:flex;flex-direction:column;gap:.3rem}
.ml-row{display:flex;align-items:center;gap:.4rem;background:#fff;border-radius:8px;padding:.45rem .6rem;box-shadow:0 1px 3px rgba(0,0,0,.07);font-size:.8rem}
.ml-row .ml-name{flex:1;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-row .ml-name-th{flex:1;color:#666;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-row .ml-cat{color:#999;font-size:.75rem;min-width:55px;flex-shrink:0}
.ml-row .ml-price{font-weight:700;color:#e94560;min-width:40px;text-align:right;flex-shrink:0}
.ml-row button{padding:.35rem .6rem;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;font-size:.78rem;transition:all .12s;-webkit-tap-highlight-color:transparent;min-height:34px}
.ml-row button:active{background:#f0f0f0}
.ml-row{cursor:grab}
.ml-row:active{cursor:grabbing}
.ml-row.dragging{opacity:.4;background:#eee}
.ml-row.drag-over{border:2px dashed #e94560;transform:scale(1.02)}

.promo-section{margin:.45rem 0;padding:.45rem;background:#fffbe6;border:1px solid #fce588;border-radius:6px;font-size:.78rem}
.promo-toggle{display:flex;align-items:center;gap:.35rem;cursor:pointer}
.promo-toggle input{width:16px;height:16px;cursor:pointer}
.promo-discount{color:#e94560;font-weight:700;margin-top:.25rem;padding-left:1.3rem;font-size:.82rem}
.promo-badge{display:inline-block;background:#e94560;color:#fff;font-size:.62rem;padding:.08rem .35rem;border-radius:4px;margin-left:.35rem;vertical-align:middle;font-weight:700}

.btn-small{padding:.25rem .6rem;border:0;border-radius:5px;background:#e94560;color:#fff;font-size:.75rem;cursor:pointer;-webkit-tap-highlight-color:transparent}

.ml-row .ml-del{color:#e94560;border-color:#e94560}
.ml-row .ml-grip{color:#bbb;cursor:grab;font-size:.95rem;padding:0 .15rem;user-select:none}

.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}
.modal{background:#fff;border-radius:14px;padding:1.75rem;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.2);min-width:300px;max-width:90vw}
.modal h2{margin-bottom:1.25rem}
.payment-options{display:flex;gap:.85rem;margin-bottom:.85rem}
.payment-btn{flex:1;padding:1.5rem 1rem;border:2px solid #eee;border-radius:12px;background:#fff;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;align-items:center;gap:.5rem;-webkit-tap-highlight-color:transparent;min-height:80px}
.payment-btn:active{transform:scale(.97)}
.payment-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.cash-btn:hover{border-color:#4caf50;background:#f1f8e9}
.qr-btn:hover{border-color:#2196f3;background:#e3f2fd}
.payment-icon{font-size:1.8rem}
.payment-label{font-weight:600;font-size:.9rem}
.modal-cancel{background:0;border:1px solid #ddd;border-radius:8px;padding:.6rem 2rem;cursor:pointer;font-size:.85rem;color:#888;transition:all .12s;-webkit-tap-highlight-color:transparent;min-height:40px}
.modal-cancel:active{background:#f5f5f5}

.dr-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}
.dr-header h2{margin-bottom:0}
.dr-datepicker{display:flex;gap:.35rem;align-items:center}
.dr-datepicker input{padding:.3rem .45rem;border:1px solid #ddd;border-radius:5px;font-size:.8rem;font-family:inherit}

.dr-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:.5rem;margin-bottom:1rem}
.dr-card{background:#fff;border-radius:10px;padding:.85rem;box-shadow:0 1px 3px rgba(0,0,0,.07);text-align:center}
.dr-card .dr-card-label{font-size:.68rem;color:#999;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem}
.dr-card .dr-card-value{font-size:1.25rem;font-weight:700;color:#1a1a2e}

.dr-two-col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}

.dr-top-products{background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.07);overflow:hidden}
.dr-tp-row{display:flex;align-items:center;padding:.45rem .65rem;border-bottom:1px solid #f0f0f0;font-size:.78rem}
.dr-tp-row:last-child{border-bottom:0}
.dr-tp-rank{color:#bbb;font-weight:700;font-size:.72rem;width:22px;text-align:center;flex-shrink:0}
.dr-tp-rank.top1{color:#e94560}
.dr-tp-rank.top2{color:#ff9800}
.dr-tp-rank.top3{color:#2196f3}
.dr-tp-name{flex:1;font-weight:600;margin:0 .4rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dr-tp-qty{color:#888;font-size:.72rem;width:45px;text-align:right;flex-shrink:0}
.dr-tp-rev{font-weight:700;color:#1a1a2e;width:60px;text-align:right;flex-shrink:0}
.dr-tp-bar{position:relative;margin-left:.4rem;flex:0 0 50px;height:5px;background:#f0f0f0;border-radius:3px;overflow:hidden;flex-shrink:0}
.dr-tp-bar-fill{height:100%;background:#e94560;border-radius:3px;transition:width .3s}

.dr-category{display:flex;flex-direction:column;gap:.4rem}
.dr-cat-row{background:#fff;border-radius:8px;padding:.6rem .7rem;box-shadow:0 1px 3px rgba(0,0,0,.07);display:flex;align-items:center;gap:.4rem}
.dr-cat-label{font-weight:600;font-size:.8rem;width:65px;flex-shrink:0}
.dr-cat-bar{flex:1;height:7px;background:#f0f0f0;border-radius:4px;overflow:hidden}
.dr-cat-bar-fill{height:100%;border-radius:4px;transition:width .3s}
.dr-cat-bar-fill.onigiri{background:#e94560}
.dr-cat-bar-fill.drinks{background:#2196f3}
.dr-cat-bar-fill.other{background:#ff9800}
.dr-cat-value{font-weight:700;font-size:.8rem;width:72px;text-align:right;flex-shrink:0;color:#1a1a2e}
.dr-cat-pct{font-size:.7rem;color:#999;width:35px;text-align:right;flex-shrink:0}

.dr-hourly{background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.07);overflow:hidden;margin-bottom:1rem}
.dr-h-row{display:flex;align-items:center;padding:.3rem .65rem;border-bottom:1px solid #f5f5f5;font-size:.76rem}
.dr-h-row:last-child{border-bottom:0}
.dr-h-row.dr-h-peak{background:#fffbe6}
.dr-h-label{color:#888;width:72px;flex-shrink:0}
.dr-h-orders{color:#666;width:45px;flex-shrink:0;text-align:center}
.dr-h-bar{flex:1;height:5px;background:#f0f0f0;border-radius:3px;overflow:hidden;margin:0 .4rem}
.dr-h-bar-fill{height:100%;background:#e94560;border-radius:3px;transition:width .3s}
.dr-h-rev{font-weight:700;color:#1a1a2e;width:62px;text-align:right;flex-shrink:0}

.dr-insights{background:#fff;border-radius:10px;padding:.85rem 1rem;box-shadow:0 1px 3px rgba(0,0,0,.07);display:flex;flex-direction:column;gap:.4rem}
.dr-insight{font-size:.82rem;color:#555;padding:.3rem 0;border-bottom:1px solid #f5f5f5;display:flex;align-items:baseline;gap:.4rem}
.dr-insight:last-child{border-bottom:0}
.dr-insight .dr-insight-icon{font-size:.85rem;width:22px;text-align:center;flex-shrink:0}
.dr-insight .dr-insight-text{flex:1}
.dr-insight .dr-insight-text strong{color:#1a1a2e}

.dr-empty{padding:1.5rem;text-align:center;color:#999;font-size:.82rem}

.go-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.85rem;flex-wrap:wrap;gap:.5rem}
.go-header h2{margin-bottom:0}
.go-header-right{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}
.go-date{color:#888;font-size:.82rem}
.go-order-nr{display:flex;align-items:center;gap:.3rem}
.go-order-nr label{font-weight:600;font-size:.8rem;color:#555}
.go-order-nr input{padding:.3rem .45rem;border:1px solid #ddd;border-radius:5px;font-size:.82rem;width:60px;text-align:center;font-family:inherit;font-weight:600}
.go-order-nr input:focus{border-color:#e94560;outline:0}
.btn-lg{padding:.8rem;font-size:1rem}
.go-history{display:flex;flex-direction:column;gap:.3rem;margin-top:.45rem}
.go-h-row{background:#fff;border-radius:8px;padding:.45rem .65rem;box-shadow:0 1px 3px rgba(0,0,0,.07);display:flex;align-items:center;font-size:.76rem;gap:.25rem}
.go-h-time{color:#888;flex:0 0 50px}
.go-h-items{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.go-h-del{padding:.35rem .55rem;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;font-size:.72rem;color:#e94560;-webkit-tap-highlight-color:transparent;min-height:34px}
.go-h-del:active{background:#fee}

.dr-grab-insights{margin-top:.45rem}
.dr-gi-summary{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}
.dr-gi-card{background:#fff;border-radius:10px;padding:.8rem .85rem;box-shadow:0 1px 3px rgba(0,0,0,.07);text-align:center;flex:1;min-width:120px}
.dr-gi-card .dr-gi-label{font-size:.68rem;color:#999;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem}
.dr-gi-card .dr-gi-value{font-size:1.2rem;font-weight:700;color:#1a1a2e}

/* PIN Screen */
.pin-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#1a1a2e;display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}
.pin-modal{background:#fff;border-radius:16px;padding:2.5rem 2rem;text-align:center;box-shadow:0 12px 48px rgba(0,0,0,.4);width:100%;max-width:360px}
.pin-logo{font-size:1.6rem;font-weight:800;color:#1a1a2e;margin-bottom:.25rem;letter-spacing:.04em}
.pin-subtitle{font-size:.88rem;color:#888;margin-bottom:1.25rem}
.pin-modal input[type=password]{width:100%;max-width:200px;padding:.65rem;border:2px solid #ddd;border-radius:10px;font-size:1.5rem;text-align:center;letter-spacing:.5em;font-family:monospace;outline:0;transition:border-color .15s}
.pin-modal input[type=password]:focus{border-color:#e94560}
.pin-modal .btn{width:100%;max-width:200px;margin:1rem auto .4rem;padding:.7rem;font-size:1rem;border-radius:10px}
.pin-error{color:#e94560;font-size:.82rem;min-height:1.2rem;margin-top:.4rem}

.loading-spinner{text-align:center;color:#888;padding:.75rem;font-size:.82rem}

/* ===== RESPONSIVE ===== */

/* iPad Portrait & smaller tablets */
@media(max-width:1024px){
  .tab-content{padding:.85rem}
  .order-layout{gap:.85rem}
  .menu-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .dr-two-col{gap:.75rem}
  .dr-summary{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
}

/* Mobile landscape & small tablets */
@media(max-width:820px){
  .order-layout{grid-template-columns:1fr 260px}
  .menu-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.45rem}
  .menu-card{padding:.55rem}
  .menu-card h3{font-size:.8rem}
  .cart-panel{max-height:calc(100vh - 75px);max-height:calc(100dvh - 75px)}
  .sales-order{font-size:.72rem}
  .sales-order .so-time{flex-basis:50px}
  .sales-order .so-rev{flex-basis:45px}
  .dr-two-col{grid-template-columns:1fr;gap:.75rem}
  .dr-summary{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
  .dr-tp-bar{flex-basis:40px}
  .go-header-right{gap:.5rem}
  .btn-lg{padding:.75rem}
  .ml-row{flex-wrap:wrap;gap:.3rem}
  .ml-row .ml-name,.ml-row .ml-name-th{flex:1 1 40%}
}

/* Phone */
@media(max-width:600px){
  nav{padding:0 .5rem;height:48px}
  .logo{font-size:.9rem}
  .tab-btn{padding:0 .55rem;height:48px;font-size:.8rem}
  .tab-content{padding:.65rem}
  h2{font-size:1rem}
  
  .order-layout{grid-template-columns:1fr;gap:.65rem}
  .menu-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.45rem}
  .menu-card{padding:.65rem .5rem;min-height:70px}
  .menu-card h3{font-size:.82rem}
  .menu-card .price{font-size:.88rem}
  
  .cart-panel{position:static;max-height:none}
  .cart-item{font-size:.8rem;padding:.4rem 0}
  .cart-item button{width:34px;height:34px;font-size:1.05rem}
  
  .sales-summary{gap:.5rem}
  .sales-stat{padding:.7rem 1rem;min-width:100px}
  .sales-stat .value{font-size:1.15rem}
  .sales-order{flex-direction:column;align-items:stretch;gap:.3rem;padding:.45rem .55rem}
  .sales-order .so-time{flex:0 0 auto}
  .sales-order .so-items{white-space:normal;min-width:0}
  .sales-order .so-badges{justify-content:flex-start}
  .sales-order .so-rev{text-align:left;flex:0 0 auto}
  .sales-actions{justify-content:flex-start}
  
  .menu-form{flex-direction:column;align-items:stretch}
  .menu-form input,.menu-form select{width:100%}
  .menu-form .btn{width:100%}
  .ml-row{flex-wrap:wrap}
  .ml-row .ml-name,.ml-row .ml-name-th{flex:1 1 100%}
  .ml-row .ml-cat,.ml-row .ml-price{min-width:auto}
  
  .modal{padding:1.25rem;min-width:0;width:100%}
  .payment-btn{padding:1.25rem .75rem;min-height:70px}
  .payment-icon{font-size:1.6rem}
  
  .dr-summary{grid-template-columns:repeat(2,1fr);gap:.4rem}
  .dr-card{padding:.65rem}
  .dr-card .dr-card-value{font-size:1.1rem}
  .dr-two-col{gap:.65rem}
  .dr-tp-row{padding:.4rem .5rem;font-size:.76rem;flex-wrap:wrap}
  .dr-tp-bar{flex-basis:30px}
  .dr-cat-row{padding:.55rem .55rem}
  .dr-h-row{padding:.3rem .5rem}
  .dr-insight{font-size:.8rem}
  
  .go-header{flex-direction:column;align-items:stretch;gap:.5rem}
  .go-header-right{justify-content:space-between}
  .go-h-row{flex-wrap:wrap}
  .go-h-time{flex:0 0 auto}
  
  .pin-modal{padding:2rem 1.25rem}
  .pin-logo{font-size:1.35rem}
  .pin-modal input[type=password]{font-size:1.35rem}
  .pin-modal .btn{padding:.75rem}
  
  .dr-gi-card{min-width:100px}
  
  .btn{padding:.65rem;min-height:44px;font-size:.9rem}
  .cat-btn{padding:.45rem .85rem;min-height:38px;font-size:.82rem}
  .sales-actions button{padding:.3rem .5rem;min-height:34px;font-size:.7rem}
  .ml-row button{padding:.3rem .5rem;min-height:34px}
  .go-h-del{padding:.3rem .5rem;min-height:34px}
  .modal-cancel{padding:.55rem 1.5rem;min-height:40px}
}

/* Very small phones */
@media(max-width:380px){
  .menu-grid{grid-template-columns:repeat(2,1fr)}
  .tab-btn{font-size:.7rem;padding:0 .35rem}
  .dr-summary{grid-template-columns:1fr 1fr}
  .dr-card .dr-card-value{font-size:1rem}
}
