:root{--pos-nav:88px}.pos-shell{padding-left:var(--pos-nav)}.pos-rail{position:fixed;inset:0 auto 0 0;width:var(--pos-nav);border-right:1px solid var(--line);background:var(--surface);padding:18px 8px;display:flex;flex-direction:column;gap:8px;z-index:10}.pos-rail .brand{justify-content:center;margin-bottom:24px}.pos-rail button{display:grid;justify-items:center;gap:4px;padding:12px 2px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:14px;min-height:64px}.pos-rail button.active{color:var(--green);background:var(--soft);font-weight:750}.pos-rail svg{width:23px;height:23px}.pos-rail .exit{margin-top:auto}.pos-header{background:var(--surface);border-bottom:1px solid var(--line);padding:18px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.pos-header select{min-width:180px;max-width:230px;border-color:var(--line);font-weight:650}.pos-header .eyebrow{letter-spacing:1px}.pos-main{padding:26px 28px;max-width:1580px;margin:auto}.pos-main h1{font-size:29px}.pos-status{height:9px;width:9px;border-radius:50%;display:inline-block;background:#228247}.pos-status.offline{background:#b17d12}.pos-banner{padding:8px 20px;background:#f3e9cb;color:#614712;text-align:center;font-size:14px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.pos-toolbar{display:flex;gap:12px;align-items:center;margin:22px 0 16px}.pos-search{position:relative;flex:1}.pos-search input{padding-left:14px;background:var(--surface)}.pos-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-tile{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:18px;display:grid;text-align:left;gap:14px;min-height:178px;color:var(--ink);transition:border-color .15s,transform .15s}.product-tile:hover{border-color:var(--green);transform:translateY(-2px)}.product-tile .tile-top{display:flex;justify-content:space-between;align-items:center}.product-tile .product-code{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;background:var(--soft);color:var(--green);font-size:19px;font-weight:750}.product-tile strong{font-size:17px;line-height:1.35}.product-tile .price{font-size:17px;font-weight:750;color:var(--green)}.product-tile .small{font-size:14px}.product-tile .meta{display:flex;justify-content:space-between;gap:8px;align-items:center}.product-tile[data-kind=service] .product-code{background:#f3eafa;color:#6b438c}.product-tile[data-kind=retail] .product-code{background:#fbefce;color:#77500b}.pos-cart{position:sticky;top:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.cart-head{padding:22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.cart-body{padding:0 22px;max-height:330px;overflow:auto}.cart-empty{padding:46px 18px;text-align:center}.cart-empty strong{display:block;margin-bottom:8px}.cart-line{padding:18px 0;border-bottom:1px solid var(--line);display:grid;gap:10px}.cart-line .line-name{font-size:15px;font-weight:700}.cart-line .quantity{display:flex;align-items:center;gap:12px}.qty-btn{width:34px;height:34px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font-size:20px}.cart-line .row{justify-content:space-between}.cart-line small{display:block;color:var(--muted);font-size:14px}.cart-totals{padding:20px 22px;display:grid;gap:10px;background:var(--surface)}.cart-totals .row{justify-content:space-between;font-size:15px}.cart-totals .total{font-size:23px;font-weight:750;border-top:1px solid var(--line);padding-top:14px}.cart-actions{padding:0 22px 22px;display:grid;gap:10px}.cart-note{font-size:14px;color:var(--muted);padding:0 22px 18px}.subnav{display:flex;gap:8px;margin:16px 0 20px;flex-wrap:wrap}.pos-section-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.pos-section-top p{margin-top:8px}.pos-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.pos-summary .card{padding:20px}.pos-summary .value{font-size:29px;font-weight:750;margin-top:8px}.pos-modal-body{padding:24px;display:grid;gap:18px}.pos-list-item{border:1px solid var(--line);padding:20px;border-radius:10px;background:var(--surface);display:grid;gap:12px}.ticket-state{font-weight:750;text-transform:uppercase;letter-spacing:1px;font-size:14px;color:var(--green)}.queue-item{padding:16px 0;border-bottom:1px solid var(--line)}.queue-item .warning{color:var(--danger);font-size:14px;overflow-wrap:anywhere;margin-top:8px}.receipt{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;color:var(--ink)}.receipt h2{text-align:center;font-size:24px;margin:8px 0}.receipt p{text-align:center;font-size:14px}.receipt .receipt-rule{border-top:1px dashed var(--muted);margin:20px 0}.receipt .row{justify-content:space-between}.receipt-line{display:grid;gap:4px;margin:14px 0}.receipt-line small{font-size:14px}.receipt .big-total{font-size:23px;font-weight:750}.receipt-status{font-weight:750;text-align:center;padding:10px;border:1px solid var(--line);margin:16px 0}.receipt .receipt-reference{overflow-wrap:anywhere;text-align:center;font-size:14px;margin-top:12px}.pos-footer-note{font-size:14px;margin-top:24px;color:var(--muted)}.mode-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.mode-tabs .filter{white-space:nowrap}.pos-offline{border:1px solid #d2aa52;background:#fff7e0;color:#77500b;border-radius:8px;padding:12px 16px;font-size:14px;margin-bottom:20px}.pos-table-actions{white-space:nowrap}.pos-catalog-count{color:var(--muted);font-size:14px}.inline-note{background:var(--soft);color:var(--green);padding:10px 12px;border-radius:8px;font-size:14px}.pos-login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.pos-login-story{background:#00565c;color:#fff;padding:64px;display:flex;flex-direction:column;justify-content:center}.pos-login-story .brand{margin-bottom:60px;color:#fff}.pos-login-story h1{font-size:52px;letter-spacing:-2px;max-width:520px}.pos-login-story p{color:#d2e2d8;margin-top:24px;max-width:460px;font-size:18px}.pos-login-story .row{margin-top:32px;flex-wrap:wrap}.pos-login-form{padding:48px;display:flex;justify-content:center;align-items:center}.pos-login-form>.card{width:100%;max-width:440px;padding:32px}.pos-login-form h2{font-size:27px}.pos-login-form form{display:grid;gap:16px}.pos-login-form p{margin:12px 0 24px}.pos-login-form .demo-buttons{margin-top:16px}.pos-login-footer{font-size:14px}.pos-settings{max-width:900px}.pos-row-detail{font-size:14px;color:var(--muted)}.pos-kpis{margin-bottom:24px}.pos-sync-text{font-size:14px}.pos-clock{font-size:14px;color:var(--muted)}.cart-context{padding:12px 22px;background:var(--soft);font-size:14px}.table-hint{font-size:14px;color:var(--muted);margin-bottom:12px;display:none}button:focus-visible{outline:3px solid #2783de}
@media(prefers-color-scheme:dark){.pos-banner{background:#413820;color:#eed599}.pos-offline{background:#45381c;color:#ffdc8c}.product-tile[data-kind=service] .product-code{background:#40304b;color:#e5c3ff}.product-tile[data-kind=retail] .product-code{background:#4d4021;color:#ffda7d}}
@media(min-width:1600px){.pos-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.pos-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-main{padding:24px 20px}.pos-header{padding:16px 20px}.pos-header .pos-clock{display:none}.pos-login-story{padding:40px}.pos-login-story h1{font-size:44px}.pos-login-form{padding:24px}}
@media(max-width:800px){:root{--pos-nav:0px}.pos-rail{inset:auto 0 0 0;width:100%;height:auto;flex-direction:row;padding:6px 4px max(6px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);overflow:auto;justify-content:space-between}.pos-rail .brand,.pos-rail .exit{display:none}.pos-rail button{flex:0 0 74px;min-height:58px;padding:8px 6px;font-size:14px}.pos-header{padding:14px 18px;align-items:center;gap:10px;flex-wrap:wrap}.pos-header .row{gap:10px}.pos-header .eyebrow{font-size:14px;letter-spacing:.5px}.pos-header select{max-width:190px;min-width:150px;padding:8px;min-height:42px}.pos-header .btn{padding:8px 12px;font-size:14px}.pos-main{padding:22px 18px 110px}.pos-main h1{font-size:27px}.pos-layout{grid-template-columns:1fr}.pos-cart{position:static;margin-top:10px}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-tile{padding:15px;min-height:175px}.product-tile strong{font-size:16px}.product-tile .price{font-size:16px}.product-tile .meta{display:grid;gap:3px}.pos-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pos-summary .card{padding:16px}.pos-summary .value{font-size:25px}.pos-section-top .row{flex-wrap:wrap}.pos-login{grid-template-columns:1fr}.pos-login-story{padding:28px 24px}.pos-login-story .brand{margin-bottom:28px}.pos-login-story h1{font-size:37px;letter-spacing:-1px}.pos-login-story p{font-size:16px}.pos-login-story .row{margin-top:20px}.pos-login-form{padding:24px 18px}.pos-login-form>.card{padding:24px}.pos-modal-body{padding:20px}.pos-banner{font-size:14px;padding:8px 16px}.table-hint{display:block}.pos-toolbar{flex-wrap:wrap}.pos-header-right{width:100%;justify-content:space-between}.pos-header .pos-clock{display:block}.pos-offline{margin-top:0}.cart-body{max-height:none}}
@media print{body{background:white!important;color:black!important}#pos-app,#toast,.modal-head,.receipt-actions{display:none!important}dialog{position:static!important;border:0!important;box-shadow:none!important;padding:0!important;max-height:none!important;width:80mm!important;margin:0 auto!important;overflow:visible!important}dialog::backdrop{display:none}.pos-modal-body{padding:4mm!important}.receipt,.receipt p{color:black!important}.receipt-status{border-color:black!important}@page{margin:5mm;size:auto}}
/* Grid children must shrink independently of scrollable category tabs. */
.pos-layout>section,.pos-layout>aside,.pos-main,.pos-settings>*,.pos-search{min-width:0}.pos-search{flex:1 1 210px}.pos-toolbar>.btn{flex-shrink:0}.product-tile{min-width:0;overflow-wrap:anywhere}.pos-header>.row{min-width:0}.pos-header>.row:first-child{flex-wrap:wrap}
@media(max-width:800px){.pos-layout{grid-template-columns:minmax(0,1fr)}.pos-section-top{align-items:flex-start}.pos-rail button{flex-basis:68px}.pos-rail{scrollbar-width:thin}.pos-toolbar .pos-search{flex-basis:100%}.pos-toolbar>.btn{margin-left:auto}.pos-header select{flex:1;max-width:210px}.pos-main .filterbar,.mode-tabs{max-width:100%}}

.mobile-order-shortcut{display:none}@media(max-width:800px){.mobile-order-shortcut{display:flex;position:fixed;bottom:90px;left:18px;right:18px;width:calc(100% - 36px);justify-content:space-between;z-index:9;box-shadow:0 4px 18px #0002;font-size:14px;gap:8px}.pos-cart{scroll-margin-top:12px}.pos-main{padding-bottom:174px}}
@media print{.mobile-order-shortcut{display:none!important}}

[hidden]{display:none!important}

.pos-rail{overflow-y:auto}.pos-layout>section{min-width:0}.hotel-calendar .hotel-cell{font-size:14px}@media(max-width:800px){.pos-rail{overflow-y:hidden}}

.product-photo{display:block;width:100%;height:136px;object-fit:cover;border-radius:7px}.sample-photo-note{display:block;margin-top:8px}.product-tile{overflow:hidden}@media(max-width:800px){.product-photo{height:108px}}

.pos-mobile-logo{display:none}@media(max-width:800px){.pos-mobile-logo{display:flex;flex-basis:100%;font-size:22px;text-decoration:none}.pos-mobile-logo img{height:36px;width:36px}}
.rail-more,.rail-sheet-head,.rail-backdrop{display:none}
@media(max-width:800px){
html{-webkit-text-size-adjust:100%}body{overscroll-behavior-y:none}body.pos-sheet-open{overflow:hidden}
input,select,textarea{font-size:16px!important}
.pos-banner{font-size:12px!important;line-height:1.35;padding:6px 14px!important;text-align:center}
.pos-header{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:8px 12px!important;padding:10px 14px!important;padding-top:max(10px,env(safe-area-inset-top))!important;position:sticky;top:0;z-index:12;background:var(--surface);border-bottom:1px solid var(--line)}
.pos-mobile-logo{flex-basis:auto!important;min-height:44px;font-size:19px!important;gap:8px;align-items:center;white-space:nowrap}.pos-mobile-logo img{height:32px!important;width:32px!important}
.pos-header>.row:not(.pos-header-right){justify-content:flex-end;min-width:0}.pos-header>.row:not(.pos-header-right)>div{display:none}
.pos-header select#store-picker{flex:1 1 auto;max-width:100%!important;min-width:0!important;min-height:44px}
.pos-header-right{grid-column:1/-1;display:flex!important;flex-wrap:nowrap!important;gap:8px!important;align-items:center}
.pos-header-right .pos-sync-text{flex:1;min-width:0;font-size:13px;line-height:1.3}
.pos-header-right .btn{min-height:40px;white-space:nowrap;padding:8px 12px!important}
.pos-main{padding:18px 14px 120px!important}.pos-main h1{font-size:25px!important;line-height:1.15}
.pos-rail{display:flex;overflow:visible!important;padding:4px 4px max(4px,env(safe-area-inset-bottom))!important;z-index:30;background:var(--surface)}
.pos-rail>button{flex:1 1 0!important;min-width:0;min-height:56px!important;padding:6px 2px!important;font-size:12px!important;border-radius:10px}
.pos-rail>button span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}
.pos-rail>button svg{width:22px;height:22px}
.pos-rail .rail-more{display:grid}
.pos-rail .rail-extra{display:none}
.pos-rail.more-open{flex-wrap:wrap;border-radius:18px 18px 0 0;box-shadow:0 -10px 40px #0003;max-height:85dvh;overflow-y:auto!important}
.pos-rail.more-open .rail-sheet-head{display:flex;order:-3;flex:1 0 100%;flex-direction:column;gap:2px;padding:14px 14px 8px}
.pos-rail.more-open .rail-extra,.pos-rail.more-open .exit{display:flex!important;order:-2;flex:1 0 100%!important;flex-direction:row;justify-content:flex-start;gap:14px;min-height:52px!important;padding:10px 14px!important;font-size:16px!important;text-align:left}
.pos-rail.more-open .exit{order:-1;color:var(--danger);border-bottom:1px solid var(--line);margin-bottom:4px;border-radius:10px;background:transparent}
.rail-backdrop{position:fixed;inset:0;background:#0007;z-index:25}
.pos-rail.more-open+.rail-backdrop{display:block}
.pos-cart{margin-bottom:12px}
.mobile-order-shortcut{bottom:calc(72px + env(safe-area-inset-bottom))!important;left:12px!important;right:12px!important;width:auto!important;min-height:50px}
#toast{bottom:calc(140px + env(safe-area-inset-bottom))!important}
.pos-settings input[type=checkbox],.pos-main input[type=checkbox]{width:24px;height:24px}
.pos-main label:has(>input[type=checkbox]){min-height:44px;display:flex;align-items:center;gap:10px}
.table-wrap,.pos-main .table-wrap{-webkit-overflow-scrolling:touch}
}
@media(max-width:640px){
#pos-modal,dialog{width:100%!important;max-width:100%!important;margin:auto 0 0!important;max-height:92dvh!important;border-radius:18px 18px 0 0!important;border-bottom:0!important;padding-bottom:env(safe-area-inset-bottom)!important}
#pos-modal .modal-head,dialog .modal-head{position:sticky;top:0;z-index:2;background:var(--surface)}
#pos-modal .btn,dialog .btn{min-height:46px}
}
@media(max-width:380px){.pos-header-right .pos-sync-text{font-size:12px}.pos-header-right .btn{padding:8px 9px!important;font-size:13px!important}.pos-products{gap:8px!important}.product-tile{padding:11px!important}}
@media(max-height:520px) and (orientation:landscape){.pos-banner{display:none}.pos-header{position:static}}
@media(max-width:800px){
.pos-login-story{padding:22px 20px 18px!important}.pos-login-story .brand{margin-bottom:14px!important}.pos-login-story h1{font-size:28px!important;line-height:1.15;margin:6px 0}.pos-login-story p:not(.eyebrow){display:none}.pos-login-story .row{margin-top:12px!important}
.pos-login-form{padding:16px 14px 32px!important}.pos-login-form>.card{padding:20px!important}
.product-photo{height:92px!important}.product-tile{min-height:0!important;padding:10px!important;gap:6px}.product-tile strong{font-size:15px!important;line-height:1.25}
.hotel-calendar{overflow-x:auto;-webkit-overflow-scrolling:touch}.hotel-calendar th:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}
}
