@layer tablet{@media (pointer:coarse){.clickable,[role=button],a,button,input[type=checkbox],input[type=radio]{min-height:44px;min-width:44px}.menu-item,.order-card,.product-card{padding:1rem;margin:.5rem;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,.1)}.button-group>*+*{margin-left:1rem}.scrollable{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}}@media (min-width:768px) and (max-width:1024px) and (orientation:portrait){.sidebar{position:fixed;left:-100%;transition:left .3s ease-in-out;z-index:50;width:280px}.sidebar.open{left:0}.main-content{margin-left:0;padding:1rem}.product-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.dashboard-stats{grid-template-columns:1fr}}@media (min-width:1024px) and (max-width:1366px) and (orientation:landscape){.kitchen-view{display:grid;grid-template-columns:300px 1fr 350px;height:100vh;overflow:hidden}.orders-panel{height:100%;overflow-y:auto;border-right:1px solid var(--border);padding:1rem}.kanban-board{height:100%;overflow-x:auto;overflow-y:hidden;display:flex;gap:1rem;padding:1rem}.kanban-column{min-width:280px;max-width:320px;height:calc(100vh - 100px);overflow-y:auto}.details-panel{height:100%;overflow-y:auto;border-left:1px solid var(--border);padding:1rem}.tablet-header{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;border-bottom:1px solid var(--border)}.order-number{font-size:1.5rem;font-weight:700}.order-time{font-size:1.125rem}.order-items{font-size:1rem;line-height:1.5}}@media (min-width:1024px) and (min-height:1366px){.kanban-column{min-width:350px;max-width:400px}.product-grid{grid-template-columns:repeat(4,1fr)}}@media (hover:none) and (pointer:coarse){.draggable-card{touch-action:none;user-select:none;-webkit-user-select:none;cursor:move}.draggable-card.dragging{opacity:.5;transform:scale(1.05);z-index:100}.swipeable{position:relative;overflow:hidden}.swipe-action{position:absolute;right:-100px;top:0;bottom:0;width:100px;background:var(--destructive);display:flex;align-items:center;justify-content:center;transition:right .3s ease}.swipeable.swiped .swipe-action{right:0}.long-press{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.context-menu{position:fixed;background:var(--card);border:1px solid var(--border);border-radius:8px;padding:.5rem;box-shadow:0 10px 40px rgba(0,0,0,.2);z-index:200;min-width:180px}}.fullscreen-mode{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;background:var(--background)}.fullscreen-mode .minimize-ui{display:none}@media (prefers-reduced-motion:no-preference){.touch-feedback{transition:transform .1s ease,box-shadow .1s ease}.touch-feedback:active{transform:scale(.98);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ripple{position:relative;overflow:hidden}.ripple:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:rgba(255,255,255,.5);transform:translate(-50%,-50%);transition:width .3s,height .3s}.ripple:active:before{width:200px;height:200px}}.status-pending{background:hsl(48 100% 50%);color:hsl(48 100% 10%);font-weight:600}.status-preparing{background:hsl(200 100% 50%);color:white;font-weight:600}.status-ready{background:hsl(142 76% 45%);color:white;font-weight:600}.status-delivered{background:hsl(240 5% 65%);color:white}@media print{.no-print{display:none!important}.order-ticket{page-break-inside:avoid;font-size:12pt;line-height:1.5;color:black;background:white}.order-ticket .header{font-size:16pt;font-weight:700;border-bottom:2px solid black;margin-bottom:10px}}@media (pointer:coarse){:focus-visible{outline:3px solid var(--primary);outline-offset:2px}[role=tooltip]{font-size:1rem;padding:.75rem 1rem}.modal-tablet{width:90%;max-width:800px;max-height:90vh;overflow-y:auto}.scroll-container{will-change:transform;transform:translateZ(0);backface-visibility:hidden}*{animation-duration:.2s!important}.decorative:after,.decorative:before{display:none}}}.restaurant-nav-tablet{display:none}@media (min-width:768px) and (max-width:1366px){.restaurant-nav-desktop{display:none}.restaurant-nav-tablet{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--card);border-top:1px solid var(--border);padding:.5rem;z-index:40;justify-content:space-around}.restaurant-nav-tablet button{flex:1;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem;font-size:.875rem}.restaurant-nav-tablet button svg{width:24px;height:24px}.main-content{padding-bottom:80px}}@layer tablet-components{.tablet-layout{--touch-target-size:44px;--animation-duration:200ms;--content-spacing:normal;min-height:100vh;position:relative}.orientation-portrait{--layout-direction:column;--nav-position:left}.orientation-landscape{--layout-direction:row;--nav-position:bottom}.device-tablet{--container-padding:1rem;--grid-gap:1rem;--font-scale:1.125}.device-mobile{--container-padding:0.75rem;--grid-gap:0.75rem;--font-scale:1}.device-desktop{--container-padding:1.5rem;--grid-gap:1.5rem;--font-scale:1}.fullscreen-layout{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;background:var(--background)}.hardware-accelerated *{transform:translateZ(0);backface-visibility:hidden;will-change:transform}.smooth-scrolling{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}.navigation-drawer{position:fixed;top:0;left:-280px;width:280px;height:100vh;background:var(--card);border-right:1px solid var(--border);transition:left var(--animation-duration) ease-in-out;z-index:50;overflow-y:auto}.navigation-drawer.open{left:0}.tablet-drawer{width:320px;left:-320px}.tablet-drawer.open{left:0}.drawer-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity var(--animation-duration) ease-in-out;z-index:45}.drawer-overlay.active{opacity:1;visibility:visible}.drawer-content{margin-left:0;padding:var(--container-padding);min-height:100vh}.bottom-nav-layout{display:flex;flex-direction:column;height:100vh}.bottom-nav-content{flex:1;overflow-y:auto;padding:var(--container-padding);padding-bottom:80px}.navigation-bottom{position:fixed;bottom:0;left:0;right:0;height:80px;background:var(--card);border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-around;padding:.5rem;z-index:40}.kitchen-nav{height:60px;background:var(--muted)}.fullscreen-nav{background:rgba(var(--card-rgb),.95);backdrop-filter:blur(10px)}.navigation-bottom button{flex:1;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem;min-height:var(--touch-target-size);font-size:.875rem;border-radius:.5rem;transition:background-color var(--animation-duration) ease}.navigation-bottom button:active,.navigation-bottom button:hover{background:var(--accent)}.navigation-bottom button svg{width:24px;height:24px}.sidebar-layout{display:flex;height:100vh}.navigation-sidebar{width:280px;background:var(--card);border-right:1px solid var(--border);overflow-y:auto}.tablet-sidebar{width:240px}.collapsible-sidebar{transition:width var(--animation-duration) ease-in-out}.collapsible-sidebar.collapsed{width:60px}.sidebar-content{flex:1;overflow-y:auto;padding:var(--container-padding)}.touch-optimized-button{position:relative;overflow:hidden;min-height:var(--touch-target-size);min-width:var(--touch-target-size);touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.tablet-touch-target{padding:.75rem 1rem;font-size:calc(1rem * var(--font-scale, 1));font-weight:500}.touch-feedback{transition:transform .1s ease,box-shadow .1s ease}.touch-feedback:active,.touch-pressed{transform:scale(.98);box-shadow:0 2px 8px rgba(0,0,0,.15)}.long-pressed{transform:scale(.95);filter:brightness(.9);box-shadow:0 4px 16px rgba(0,0,0,.2)}.ripple-enabled{position:relative;overflow:hidden}@keyframes ripple{to{transform:scale(4);opacity:0}}.swipeable-container{position:relative;overflow:hidden;border-radius:.5rem}.swipeable-card{position:relative;z-index:2;background:var(--card);border:1px solid var(--border);touch-action:pan-y;user-select:none;-webkit-user-select:none}.swipeable-card.touch-enabled{cursor:grab}.swipeable-card.dragging{cursor:grabbing;box-shadow:0 4px 16px rgba(0,0,0,.15)}.swipeable-card.action-ready{box-shadow:0 6px 24px rgba(0,0,0,.2)}.swipe-action{position:absolute;top:0;bottom:0;width:80px;display:flex;align-items:center;justify-content:center;color:white;font-weight:600;opacity:0;transform:scale(.8);transition:all var(--animation-duration) ease;z-index:1}.left-action{left:0;background:var(--success,#22c55e)}.right-action{right:0;background:var(--destructive,#ef4444)}.swipe-action.action-visible{opacity:1;transform:scale(1)}.action-content{display:flex;flex-direction:column;align-items:center;gap:.25rem}.action-label{font-size:.75rem;text-align:center}@media (min-width:768px) and (max-width:1024px) and (orientation:portrait){.tablet-layout{--container-padding:1rem;--font-scale:1.125}.navigation-drawer{width:300px;left:-300px}.tablet-drawer{width:320px;left:-320px}.touch-optimized-button{--touch-target-size:48px}.swipeable-container{margin:.5rem 0}.swipe-action{width:100px}}@media (min-width:1024px) and (max-width:1366px) and (orientation:landscape){.tablet-layout{--container-padding:1.25rem;--font-scale:1.1}.bottom-nav-content{padding-bottom:70px}.navigation-bottom{height:70px}.kitchen-nav{height:60px}.touch-optimized-button{--touch-target-size:44px}}@media (min-width:1024px) and (min-height:1366px){.tablet-layout{--container-padding:1.5rem;--font-scale:1.2}.touch-optimized-button{--touch-target-size:52px}.swipe-action{width:120px}}@media (hover:none) and (pointer:coarse){.touch-optimized-button:hover{background:initial}.touch-feedback:active{transform:scale(.96)}.swipeable-card:active{background:var(--muted)}}@media (prefers-color-scheme:dark){.navigation-bottom{background:rgba(0,0,0,.8);backdrop-filter:blur(20px)}.swipeable-card{border-color:rgba(255,255,255,.1)}.touch-pressed{box-shadow:0 2px 8px rgba(255,255,255,.1)}}@media (prefers-reduced-motion:reduce){.navigation-drawer,.swipe-action,.tablet-layout,.touch-feedback{transition:none;animation:none}.ripple-enabled *{animation:none}}@media (max-resolution:150dpi){.hardware-accelerated *{transform:none;will-change:auto}.ripple-enabled{overflow:visible}}}