/* SnackyTrack v11 workflow and responsive refinements */
html,body,#boss-app,#worker-app{max-width:none}
.content,.screen,.card,.modal{min-width:0}
#screen-inventory .table-wrap{padding:0;overflow:auto;position:relative}
#screen-inventory table{min-width:760px;table-layout:fixed;background:var(--paper)}
#screen-inventory th:first-child,#screen-inventory td:first-child{position:sticky;left:0;z-index:2;width:190px;min-width:190px;background:var(--paper);box-shadow:8px 0 12px -12px #102a4c}
#screen-inventory thead th:first-child{z-index:3}
#screen-inventory th:nth-child(2){width:105px}#screen-inventory th:nth-child(3){width:130px}#screen-inventory th:nth-child(4){width:135px}#screen-inventory th:nth-child(5){width:200px}
.inventory-item{display:flex;align-items:center;gap:9px;text-align:left}.inventory-item .inventory-icon{font-size:1.35rem;flex:0 0 auto}.inventory-item span:last-child{min-width:0;overflow-wrap:anywhere}
.modal .row{overflow:hidden}.modal .row .price-input{flex:0 0 92px}
.price-label{font-size:.72rem;color:var(--muted);display:block;margin-bottom:4px;text-align:right}
.pos-layout{align-items:start}.cart{max-height:calc(100vh - 36px);overflow:auto}
.products .product.combo-product{order:-1}
.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.summary-cell{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.summary-cell span{display:block;color:var(--muted);font-size:.78rem}.summary-cell strong{display:block;margin-top:3px}
.payment-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.payment-actions .btn{min-width:0;padding:11px 8px}.report-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.venmo-total{margin:14px 0;text-align:center}.empty-report{text-align:center;padding:32px}
@media(max-width:850px){.worker{padding:10px}.worker-head{position:sticky;top:0;z-index:8;background:var(--cream);padding:7px 0;margin-bottom:8px}.pos-layout{display:block}.cart{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));top:auto;z-index:30;width:auto;max-height:46vh;overflow:auto;border:2px solid #fff;box-shadow:0 -8px 28px #102a4c55}.products{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));padding-bottom:calc(46vh + 34px)}.product{min-height:94px}.content{width:100%;max-width:100%;overflow:visible}.modal{width:min(600px,calc(100vw - 24px))}}
@media(max-width:600px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.product{min-height:88px;padding:6px 3px}.product strong{font-size:.84rem}.product .picon{font-size:1.4rem}.summary-grid{grid-template-columns:1fr}.modal{padding:17px}.modal .row{gap:7px}.modal .row .price-input{flex-basis:78px}.head .btn{width:100%}.head .report-actions{width:100%}.head .report-actions .btn{width:auto;flex:1}.payment-actions .btn{font-size:.86rem}}
@media(max-width:360px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
