:root{--receipt-print-width:74mm}*{margin:0;padding:0;box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:#0f172a;color:#e2e8f0;overflow-x:hidden}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1rem}header{background-color:#1e293b;border-bottom:2px solid #f97316;padding:1rem 0;position:-webkit-sticky;position:sticky;top:0;z-index:50;box-shadow:0 4px 6px rgba(0,0,0,.3)}nav{justify-content:space-between;gap:2rem}.logo,nav{display:flex;align-items:center}.logo{gap:.75rem;font-size:1.5rem;font-weight:700;color:#f97316;text-decoration:none}.logo svg{width:2rem;height:2rem}nav ul{display:flex;list-style:none;gap:0}nav a{display:block;padding:.75rem 1rem;color:#e2e8f0;text-decoration:none;transition:all .3s ease;border-bottom:2px solid transparent}nav a:hover{color:#f97316;border-bottom-color:#f97316}main{padding:2rem 0;min-height:calc(100vh - 4rem)}h1{font-size:2.5rem;margin-bottom:.5rem;font-weight:700}.subtitle{font-size:1.125rem;color:#cbd5e1;margin-bottom:2rem}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1.5rem;gap:1.5rem;margin-top:2rem}.card{background:linear-gradient(135deg,#1e293b,#334155);border:1px solid #475569;border-radius:.5rem;padding:1.5rem;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column;gap:1rem}.card:hover{border-color:#f97316;box-shadow:0 0 20px rgba(249,115,22,.3);transform:translateY(-2px)}.card-icon{width:3rem;height:3rem;background-color:rgba(249,115,22,.1);border-radius:.375rem;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.card h3{font-size:1.25rem;font-weight:600;color:#f1f5f9}.card p{font-size:.875rem;color:#cbd5e1;flex-grow:1}.card-link{display:inline-flex;align-items:center;gap:.5rem;color:#f97316;text-decoration:none;font-weight:500;transition:gap .3s ease}.card-link:hover{gap:.75rem}a.btn,button{padding:.75rem 1.5rem;background-color:#f97316;color:#0f172a;border:none;border-radius:.375rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}a.btn:hover,button:hover{background-color:#ea580c;transform:translateY(-2px);box-shadow:0 4px 12px rgba(249,115,22,.4)}a.btn:active,button:active{transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.features{background-color:#1e293b;border-radius:.5rem;padding:2rem;margin-top:3rem;border:1px solid #475569}.features h2{font-size:1.75rem;margin-bottom:1.5rem;color:#f1f5f9}.features-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem;list-style:none}.features-list li{display:flex;align-items:center;gap:.75rem;padding:.75rem}.features-list li:before{content:"✓";color:#f97316;font-weight:700;font-size:1.25rem}.pos-container{display:flex;flex-direction:column;height:100vh;background-color:#0f172a}.pos-header{background-color:#1e293b;border-bottom:2px solid #f97316;padding:.75rem 1rem;z-index:50;box-shadow:0 2px 4px rgba(0,0,0,.3)}.pos-header-top{gap:1.5rem;max-width:1400px;margin:0 auto}.pos-header-top,.pos-logo{display:flex;align-items:center}.pos-logo{gap:.5rem;color:#f97316;text-decoration:none;font-weight:600;padding:.5rem 1rem;background-color:rgba(249,115,22,.1);border-radius:.375rem;transition:all .3s ease}.pos-logo:hover{background-color:rgba(249,115,22,.2)}.pos-header h1{font-size:1.5rem;margin:0;flex-grow:1}.pos-main{flex:1 1;overflow-y:auto;padding:1rem}.pos-content{display:grid;grid-template-columns:minmax(0,1fr) clamp(320px,32vw,430px);grid-gap:1rem;gap:1rem;height:100%;max-width:1400px;margin:0 auto}.pos-products{display:flex;flex-direction:column;gap:1rem;background-color:#1e293b;border-radius:.5rem;padding:1rem;min-width:0;min-height:0;overflow-x:hidden}.pos-search{width:100%}.catalog-local-warning{display:block;font-size:.72rem;color:#f97316;margin-top:.3rem;font-style:italic}.search-input{width:100%;padding:.75rem;background-color:#0f172a;border:1px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:1rem;transition:all .3s ease}.search-input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.1)}.pos-categories{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem 0;border-bottom:1px solid #475569}.category-btn{padding:.5rem 1rem;background-color:#0f172a;color:#cbd5e1;border:1px solid #475569;border-radius:.375rem;cursor:pointer;transition:all .3s ease;font-size:.875rem;font-weight:500}.category-btn:hover{border-color:#f97316;color:#f97316}.category-btn.active{background-color:#f97316;color:#0f172a;border-color:#f97316}.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:.75rem;gap:.75rem;overflow-y:auto;flex:1 1;padding:.5rem 0}.product-card{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background-color:#0f172a;border:2px solid #475569;border-radius:.375rem;cursor:pointer;transition:all .3s ease;text-align:center;min-height:140px;font-size:.875rem;font-weight:500;position:relative}.product-card:hover:not(:disabled){border-color:#f97316;background-color:rgba(249,115,22,.05);transform:translateY(-2px)}.product-card:active:not(:disabled){transform:translateY(0)}.product-card.out-of-stock{opacity:.5;cursor:not-allowed}.product-card.low-stock{border-color:#eab308}.product-name{font-weight:600;color:#e2e8f0;line-height:1.2;flex-grow:1;display:flex;align-items:center;justify-content:center}.product-price{font-size:1rem;font-weight:700;color:#f97316}.stock-status{position:absolute;top:.5rem;right:.5rem;background-color:#dc2626;color:#fff}.stock-status,.stock-warning{padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600}.stock-warning{background-color:#eab308;color:#0f172a}.stock-display{font-size:.75rem;color:#94a3b8}.pos-sidebar{min-width:0}.pos-cart,.pos-sidebar{display:flex;flex-direction:column;gap:1rem}.pos-cart{background-color:#1e293b;border-radius:.5rem;padding:1rem;border:1px solid #475569;height:100%;min-height:0}.pos-cart h2{font-size:1.25rem;margin:0;color:#f1f5f9}.cart-empty{text-align:center;color:#94a3b8;padding:2rem 0;flex:1 1;display:flex;align-items:center;justify-content:center}.cart-items{flex:1 1;overflow-y:auto;border-top:1px solid #475569;border-bottom:1px solid #475569;padding:.5rem 0}.cart-item{padding:.75rem 0;border-bottom:1px solid #334155}.cart-item:last-child{border-bottom:none}.cart-item-name{font-weight:600;color:#e2e8f0;font-size:.875rem;margin-bottom:.5rem}.cart-item-controls{display:flex;gap:.25rem;align-items:center;margin-bottom:.5rem}.qty-btn{padding:.25rem .5rem;background-color:#334155;color:#e2e8f0;border:none;border-radius:.25rem;cursor:pointer;font-size:.875rem;font-weight:600;transition:all .2s ease}.qty-btn:hover{background-color:#475569}.qty-input{width:50px;padding:.25rem;background-color:#0f172a;border:1px solid #475569;border-radius:.25rem;color:#e2e8f0;text-align:center;font-size:.875rem;font-weight:600}.qty-input:focus{outline:none;border-color:#f97316}.remove-btn{padding:.25rem .5rem;background-color:#dc2626;color:#fff;border:none;border-radius:.25rem;cursor:pointer;font-size:.875rem;font-weight:600;margin-left:auto;transition:all .2s ease}.remove-btn:hover{background-color:#b91c1c}.cart-item-price{font-weight:700;color:#f97316;font-size:.875rem;text-align:right}.qty-label{color:#94a3b8;font-size:.875rem;padding:0 .25rem}.cart-totals{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 0;border-top:1px solid #475569}.total-line{display:flex;justify-content:space-between;font-size:.875rem;color:#cbd5e1}.total-line.total{font-size:1.125rem;font-weight:700;color:#f97316;padding-top:.5rem;border-top:1px solid #475569}.checkout-btn{width:100%;padding:1rem;background-color:#f97316;color:#0f172a;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;touch-action:manipulation}.checkout-btn:hover{background-color:#ea580c;transform:translateY(-2px)}.checkout-btn:active{transform:translateY(0)}.clear-cart-btn{width:100%;padding:.75rem;background-color:#475569;color:#e2e8f0;border:none;border-radius:.375rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .3s ease}.clear-cart-btn:hover{background-color:#64748b}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background-color:#1e293b;border-radius:.5rem;padding:2rem;max-width:500px;width:100%;box-shadow:0 20px 25px rgba(0,0,0,.5);border:1px solid #475569}.modal h2{font-size:1.5rem;margin-bottom:1.5rem;color:#f1f5f9}.payment-options{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem;margin-bottom:1rem}.payment-btn{padding:1.5rem;background-color:#0f172a;border:2px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;flex-direction:column;align-items:center;gap:.5rem}.payment-btn:hover{border-color:#f97316;background-color:rgba(249,115,22,.05)}.payment-form{margin-bottom:1.5rem}.form-line{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #334155}.form-line label{font-weight:600;color:#cbd5e1;font-size:.875rem}.amount-display{font-size:1.25rem;font-weight:700;color:#f97316}.amount-input{padding:.75rem;background-color:#0f172a;border:1px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:1rem;font-weight:600;width:150px;text-align:right}.amount-input:focus{outline:none;border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.1)}.form-line.invalid .amount-display{color:#dc2626}.form-line.valid .amount-display{color:#10b981}.modal-buttons{display:flex;gap:1rem;flex-direction:column}.confirm-btn{width:100%;padding:1rem;background-color:#10b981;color:#fff;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.confirm-btn:hover:not(:disabled){background-color:#059669;transform:translateY(-2px)}.confirm-btn:disabled{opacity:.5;cursor:not-allowed}.cancel-btn{width:100%;padding:1rem;background-color:#475569;color:#e2e8f0;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.cancel-btn:hover{background-color:#64748b;transform:translateY(-2px)}.receipt-container{display:flex;flex-direction:column;gap:1.5rem;max-width:340px;margin:2rem auto;padding:1.5rem;background-color:#1e293b;border-radius:.5rem;border:1px solid #475569}.receipt-printable{background-color:#fff;padding:.75rem;font-family:Arial,Segoe UI,Tahoma,sans-serif;line-height:1.4}.receipt-content,.receipt-printable{color:#000;width:100%}.receipt-header{text-align:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #000}.receipt-header h1{font-size:1.25rem;margin:0 0 .25rem;font-weight:700}.receipt-header p{margin:.15rem 0;line-height:1.3}.receipt-header p,.receipt-section{font-size:15px;font-weight:700;color:#000}.receipt-section{margin-bottom:.75rem}.receipt-section p{margin:.15rem 0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.receipt-items{margin-bottom:.75rem}.receipt-items table{width:100%;border-collapse:collapse;font-size:15px;table-layout:fixed}.receipt-items thead{border-bottom:1px solid #000;border-top:1px solid #000}.receipt-items td,.receipt-items th{padding:.25rem .15rem;text-align:left;font-weight:700;color:#000}.receipt-items th{font-weight:700;font-size:15px}.item-name{flex:1 1;text-align:left;font-weight:700;color:#000;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.item-qty{text-align:center;width:2.4rem}.item-price,.item-qty{color:#000;white-space:nowrap}.item-price{text-align:right;width:3.2rem}.item-total{text-align:right;width:3.6rem;font-weight:700;color:#000;white-space:nowrap}.receipt-totals{margin-bottom:.75rem;padding-top:.5rem;border-top:2px solid #000;font-size:.75rem;color:#000}.receipt-totals .total-line{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.25rem;font-size:15px;font-weight:700;color:#000}.payment-line span:first-child,.receipt-totals .total-line span:first-child{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.payment-line span:last-child,.receipt-totals .total-line span:last-child{margin-left:auto;white-space:nowrap;text-align:right}.total-amount{font-weight:700;font-size:18px;margin-top:.25rem;padding-top:.25rem;border-top:1px solid #000;color:#000}.payment-line{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.15rem}.payment-line,.receipt-footer{font-size:15px;font-weight:700;color:#000}.receipt-footer{text-align:center;padding-top:.5rem;border-top:2px solid #000}.receipt-footer p{margin:.15rem 0;font-weight:700}.receipt-actions{display:flex;gap:1rem;flex-direction:column}.print-btn{width:100%;padding:1rem;background-color:#0ea5e9;color:#fff;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.print-btn:hover{background-color:#0284c7;transform:translateY(-2px)}.new-sale-btn{width:100%;padding:1rem;background-color:#f97316;color:#0f172a;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.new-sale-btn:hover{background-color:#ea580c;transform:translateY(-2px)}.rct-header{text-align:center;padding-bottom:.1rem}.rct-resto-name{font-size:18px;margin:0 0 .15rem;line-height:1.2}.rct-addr,.rct-resto-name{font-weight:700;color:#000}.rct-addr{font-size:16px;margin:.08rem 0;line-height:1.3}.rct-sep{border:none;border-top:1px solid #000;margin:.5rem 0}.rct-sep--thin{border-top:1px dashed #000;margin:.3rem 0}.rct-info{margin:.3rem 0}.rct-info-row{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem;font-size:17px;font-weight:700;color:#000;margin-bottom:.08rem}.rct-info-row span:first-child{font-weight:700;white-space:nowrap;flex-shrink:0}.rct-info-row span:last-child{font-weight:700;text-align:right;word-break:break-word}.rct-items{margin:.25rem 0}.rct-item{margin-bottom:.55rem;padding-bottom:.4rem;border-bottom:1px solid #000}.rct-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.rct-item-name{font-size:16px;font-weight:700;color:#000;margin:0 0 .08rem;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.3}.rct-item-row{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;font-weight:700;color:#000;gap:.3rem}.rct-item-row span:last-child{font-weight:700;white-space:nowrap}.rct-item-opts{list-style:none;margin:.12rem 0 0 .7rem;padding:0}.rct-item-opts li{font-size:15px;color:#000;font-weight:700;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.4}.rct-item-opts li:before{content:"• "}.rct-totals{margin:.3rem 0}.rct-vat-block{margin-bottom:.25rem}.rct-vat-title{margin:0 0 .04rem}.rct-total-row,.rct-vat-title{font-size:15px;font-weight:700;color:#000}.rct-total-row{display:flex;justify-content:space-between;align-items:baseline;gap:.4rem;margin-bottom:.1rem}.rct-total-row span:first-child{min-width:0;white-space:normal;overflow-wrap:anywhere}.rct-total-row span:last-child{margin-left:auto;white-space:nowrap;text-align:right}.rct-total-row--sub{font-size:15px;padding-left:.6rem}.rct-total-ttc{font-size:19px;font-weight:700;color:#000;margin:.1rem 0 .2rem;letter-spacing:.01em}.rct-total-row--pay{font-size:15px;font-weight:700;color:#000}.rct-footer{text-align:center;padding-top:.2rem}.rct-footer p{font-size:15px;font-weight:700;color:#000;margin:.1rem 0}.options-modal{max-height:85vh;overflow-y:auto;max-width:480px}.option-group{margin-bottom:1.25rem}.option-group-title{font-size:1rem;font-weight:600;color:#f1f5f9;margin-bottom:.5rem}.option-required{color:#f97316}.option-not-configured{color:#eab308;font-size:.875rem;padding:.5rem;background-color:rgba(234,179,8,.1);border-radius:.25rem}.option-list{display:flex;flex-wrap:wrap;gap:.5rem}.option-btn{padding:.5rem 1rem;background-color:#0f172a;border:2px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:.875rem;cursor:pointer;transition:all .2s ease;text-align:left}.option-btn:hover{border-color:#f97316;color:#f97316}.option-btn.selected{background-color:#f97316;border-color:#f97316;color:#0f172a;font-weight:600}.option-price{font-size:.75rem;opacity:.8}.pos-closing-link{display:flex;align-items:center;gap:.5rem;color:#94a3b8;text-decoration:none;font-size:.875rem;font-weight:500;padding:.5rem 1rem;background-color:rgba(148,163,184,.1);border-radius:.375rem;transition:all .3s ease;white-space:nowrap}.pos-closing-link:hover{background-color:rgba(148,163,184,.2);color:#e2e8f0}.pos-header-actions{display:flex;align-items:center;gap:.5rem}.cart-item-options{font-size:.75rem;margin-top:.1rem;font-weight:400}.closing-container{display:flex;flex-direction:column;min-height:100vh;background-color:#0f172a}.closing-main{flex:1 1;padding:1.5rem;max-width:900px;margin:0 auto;width:100%}.closing-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid #475569;padding-bottom:.5rem}.closing-tab{padding:.6rem 1.25rem;background-color:transparent;color:#94a3b8;font-size:.9rem;font-weight:500;cursor:pointer;border:none;border-bottom:2px solid transparent;transition:all .2s ease;transform:none;box-shadow:none}.closing-tab:hover{color:#f97316;transform:none;box-shadow:none}.closing-tab.active{color:#f97316;border-bottom-color:#f97316;background-color:transparent;transform:none}.closing-form{display:flex;flex-direction:column;gap:1.5rem}.closing-section{background-color:#1e293b;border:1px solid #475569;border-radius:.5rem;padding:1.25rem}.closing-section h2{font-size:1.125rem;font-weight:600;color:#f1f5f9;margin-bottom:1rem}.form-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #334155;gap:1rem}.form-row:last-child{border-bottom:none}.form-row label{color:#cbd5e1;font-size:.875rem;font-weight:500;flex-shrink:0}.closing-input{padding:.5rem .75rem;background-color:#0f172a;border:1px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:.875rem;width:160px;text-align:right}.closing-input:focus{outline:none;border-color:#f97316}.closing-textarea{width:100%;padding:.75rem;background-color:#0f172a;border:1px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:.875rem;resize:vertical;font-family:inherit}.closing-textarea:focus{outline:none;border-color:#f97316}.closing-summary{display:flex;flex-direction:column;gap:.25rem}.summary-row{display:flex;justify-content:space-between;padding:.4rem 0;font-size:.875rem;color:#cbd5e1;border-bottom:1px solid #334155}.summary-row:last-child{border-bottom:none}.summary-row.total-row{font-size:1rem;font-weight:700;color:#f97316;padding-top:.75rem;margin-top:.25rem;border-top:2px solid #475569;border-bottom:none}.closing-save-btn{width:100%;padding:1rem;font-size:1.1rem}.closing-empty{text-align:center;color:#94a3b8;padding:3rem 0}.closing-history{display:flex;flex-direction:column;gap:.75rem}.closing-history-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#1e293b;border:1px solid #475569;border-radius:.375rem;gap:1rem}.closing-history-info{display:flex;flex-direction:column;gap:.2rem;font-size:.875rem;color:#cbd5e1}.closing-history-info strong{color:#f1f5f9;font-size:1rem}.closing-history-actions{display:flex;gap:.5rem;flex-shrink:0}.closing-view-btn{padding:.5rem 1rem;background-color:#334155;color:#e2e8f0;border:none;border-radius:.25rem;cursor:pointer;font-size:.875rem;transition:all .2s ease}.closing-view-btn:hover{background-color:#475569;transform:none}.closing-reprint-btn{padding:.5rem 1rem;background-color:#0ea5e9;color:#fff;border:none;border-radius:.25rem;cursor:pointer;font-size:.875rem;transition:all .2s ease}.closing-reprint-btn:hover{background-color:#0284c7;transform:none}.ticket-history{display:flex;flex-direction:column;gap:1rem}.ticket-history-toolbar{display:flex;gap:.75rem}.ticket-history-table-wrapper{overflow-x:auto;border:1px solid #475569;border-radius:.375rem;background-color:#1e293b}.ticket-history-table{width:100%;min-width:860px;border-collapse:collapse}.ticket-history-table td,.ticket-history-table th{padding:.75rem;border-bottom:1px solid #334155;text-align:left;font-size:.875rem}.ticket-history-table th{background-color:#0f172a;color:#f1f5f9}.ticket-history-table td{color:#cbd5e1}.ticket-history-table tr:last-child td{border-bottom:none}.ticket-detail{display:flex;flex-direction:column}.ticket-delete-btn{width:100%;padding:1rem;background-color:#dc2626;color:#fff;border:none;border-radius:.375rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease}.ticket-delete-btn:hover:not(:disabled){background-color:#b91c1c}.ticket-delete-btn:disabled{opacity:.5;cursor:not-allowed}.closing-detail{display:flex;flex-direction:column;gap:1.5rem}.closing-detail-actions{flex-direction:row;gap:1rem}.closing-printable{background-color:#fff;color:#000;padding:1.5rem;font-family:Courier New,monospace;border-radius:.25rem}.duplicata-banner{text-align:center;font-size:1.5rem;font-weight:900;letter-spacing:.1em;padding:.5rem;border:3px solid #000;margin-bottom:1rem}.closing-diff-nonzero{color:#dc2626!important}.item-options{font-size:.65rem}.placeholder-section{margin-top:2rem}.placeholder-box{background-color:#1e293b;border:1px solid #475569;border-radius:.5rem;padding:2rem;text-align:center}.placeholder-box h2{font-size:1.5rem;margin-bottom:1rem;color:#f1f5f9}.placeholder-box p{color:#94a3b8}@media print{*{box-shadow:none!important}*,body,html{margin:0;padding:0}body,html{width:80mm}body,html{background:#fff}.closing-detail-actions,.closing-form,.closing-history,.closing-tabs,.pos-categories,.pos-closing-link,.pos-content,.pos-header,.pos-logo,.pos-products,.pos-search,.pos-sidebar,.receipt-actions{display:none!important}.closing-container,.closing-detail,.closing-main,.pos-container,.pos-main{width:auto!important}.closing-container,.closing-detail,.closing-main,.pos-container,.pos-main,.receipt-container{display:block!important;background:#fff!important;padding:0!important;margin:0!important;border:none!important;border-radius:0!important;max-width:none!important}.receipt-container{width:80mm!important}.receipt-printable{display:block!important;margin:0 auto;padding:2mm;background:#fff;color:#000;width:var(--receipt-print-width);max-width:var(--receipt-print-width);page-break-after:avoid;box-shadow:none;border-radius:0;box-sizing:border-box;transform:scale(.88);transform-origin:top left}.receipt-content{width:100%;margin:0;padding:0}.receipt-printable,.receipt-printable *{font-family:Arial,Segoe UI,Tahoma,sans-serif!important;font-weight:700!important;color:#000!important}.receipt-header h1{font-size:21px}.receipt-header p,.receipt-items table,.receipt-section,.receipt-totals .total-line{font-size:15px}.total-amount{font-size:18px}.item-options,.payment-line,.receipt-footer{font-size:15px}@page{size:80mm auto;margin:0;padding:0}}@media (max-width:899px){.pos-content{grid-template-columns:1fr}.pos-sidebar{max-height:none}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (max-width:768px){h1{font-size:2rem}nav{flex-direction:column;gap:1rem}nav ul{width:100%;flex-wrap:wrap}.dashboard-grid{grid-template-columns:1fr}.logo{font-size:1.25rem}.pos-header-top{flex-wrap:wrap}.pos-header h1{font-size:1.25rem}.pos-header-actions{width:100%;justify-content:center;flex-wrap:wrap}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.pos-sidebar{max-height:400px}.payment-options{grid-template-columns:1fr}}@media (max-width:480px){h1{font-size:1.5rem}.subtitle{font-size:1rem}a.btn,button{width:100%;justify-content:center}.container{padding:0 .75rem}main{padding:1rem 0}.pos-container{height:auto}.pos-main{padding:.5rem}.pos-content{grid-template-columns:1fr;gap:.5rem;height:auto}.pos-products{padding:.5rem}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.5rem}.pos-categories{gap:.25rem}.category-btn{padding:.4rem .75rem;font-size:.75rem}.product-card{padding:.75rem;min-height:100px;font-size:.75rem}.product-price{font-size:.875rem}.pos-sidebar{max-height:350px}.pos-cart{padding:.75rem}.pos-cart h2{font-size:1rem}.modal{padding:1.5rem}.modal h2{font-size:1.25rem}.receipt-container{padding:1rem;margin:1rem}}@supports (display:standalone){@media (display-mode:standalone){body{padding-top:0}header{padding-top:max(1rem,env(safe-area-inset-top));padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.pos-main,main{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}}}.cart-item-options{font-size:.72rem;color:#94a3b8;margin:.1rem 0 .25rem;line-height:1.4}.cart-option-line{display:block}.edit-options-btn{background:none;border:none;color:#f97316;cursor:pointer;font-size:.85rem;margin-left:.4rem;padding:0 .2rem;vertical-align:middle;line-height:1}.edit-options-btn:hover{color:#fb923c}.options-modal{max-width:440px;width:90vw}.options-modal h2{font-size:1rem;color:#f97316}.option-group,.options-modal h2{margin-bottom:1rem}.option-group h3{font-size:.85rem;color:#cbd5e1;margin-bottom:.5rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.option-chips{display:flex;flex-wrap:wrap;gap:.4rem}.option-chip{background-color:#334155;color:#e2e8f0;border:1px solid #475569;border-radius:1.5rem;padding:.3rem .75rem;font-size:.82rem;cursor:pointer;transition:background-color .15s,border-color .15s}.option-chip:hover:not(.disabled){background-color:#475569}.option-chip.selected{background-color:#f97316;border-color:#f97316;color:#fff;font-weight:600}.option-chip.disabled{opacity:.4;cursor:not-allowed}.option-hint{font-size:.7rem;color:#64748b;margin-top:.35rem}.item-options-row td{padding-top:0;padding-bottom:.15rem}.item-options{font-size:15px;font-weight:700;color:#000;padding-left:.5rem;font-style:italic;white-space:normal;overflow-wrap:anywhere;word-break:break-word}@media print{.item-options{font-size:15px}}.required-badge{font-size:.65rem;background-color:#dc2626;color:#fff;padding:.1rem .3rem;text-transform:uppercase}.meat-counter,.required-badge{border-radius:.25rem;vertical-align:middle;font-weight:600;margin-left:.3rem}.meat-counter{font-size:.75rem;background-color:#475569;color:#e2e8f0;padding:.1rem .4rem}.meat-counter.complete{background-color:#16a34a;color:#fff}.order-type-selector{padding:.75rem 0 .5rem;border-bottom:1px solid #334155;margin-bottom:.75rem}.order-type-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin-bottom:.5rem}.order-type-btns{display:flex;gap:.4rem;flex-wrap:wrap}.order-type-btn{flex:1 1 auto;padding:.6rem .5rem;background-color:#0f172a;border:2px solid #475569;border-radius:.375rem;color:#e2e8f0;font-size:.78rem;font-weight:700;cursor:pointer;text-align:center;transition:all .2s ease;white-space:nowrap}.order-type-btn:hover{border-color:#f97316;color:#f97316}.order-type-btn.active{background-color:#f97316;border-color:#f97316;color:#0f172a}.order-type-hint{font-size:.72rem;color:#f97316;margin-top:.4rem;font-style:italic}.delivery-fields{background-color:#0f1f38;border:1px solid #334155;border-radius:.375rem;padding:.75rem;margin-bottom:.75rem;gap:.6rem}.delivery-field,.delivery-fields{display:flex;flex-direction:column}.delivery-field{gap:.25rem}.delivery-field-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.required-star{color:#ef4444;margin-left:.1rem}.delivery-input{background-color:#1e293b;border:1px solid #475569;border-radius:.25rem;color:#e2e8f0;font-size:.85rem;padding:.4rem .5rem;width:100%;box-sizing:border-box}.delivery-input:focus{outline:none;border-color:#f97316}.delivery-textarea{background-color:#1e293b;border:1px solid #475569;border-radius:.25rem;color:#e2e8f0;font-size:.85rem;padding:.4rem .5rem;width:100%;box-sizing:border-box;resize:vertical}.delivery-textarea:focus{outline:none;border-color:#f97316}.vat-line{font-size:.78rem;color:#94a3b8}.checkout-validation-msg{font-size:.78rem;color:#ef4444;margin-bottom:.5rem;font-style:italic}.ss-filter-section{margin-bottom:1.25rem}.ss-filter-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}.ss-filter-label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;color:#cbd5e1}.ss-date-input{width:auto;min-width:0}.ss-error{margin-top:.75rem;color:#ef4444;font-size:.875rem}.ss-table{min-width:320px}.ss-col-num{text-align:right;white-space:nowrap}@media (max-width:480px){.ss-filter-row{flex-direction:column}.ss-date-input{width:100%}}.sales-report-page{min-height:100vh;background:#0f172a;color:#e2e8f0;padding-bottom:2rem}.sales-report-panel{max-width:1200px;margin:1rem auto;background:#111827;border:1px solid #1f2937;border-radius:.5rem;padding:1rem}.sales-report-controls{display:flex;gap:.75rem;align-items:flex-end;flex-wrap:wrap}.sales-report-label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;color:#cbd5e1}.sales-report-refresh{padding:.5rem .9rem;border:1px solid #334155;border-radius:.4rem;background:#1e293b;color:#e2e8f0;font-size:.875rem;cursor:pointer}.sales-report-refresh:disabled{opacity:.65;cursor:not-allowed}.sales-report-notice{margin-top:.85rem;color:#facc15;font-size:.85rem}.sales-report-error{margin-top:.75rem;color:#f87171;font-size:.9rem}.sales-report-totals-grid{max-width:1200px;margin:1rem auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:.75rem;gap:.75rem}.sales-report-card{background:#111827;border:1px solid #1f2937;border-radius:.5rem;padding:.8rem}.sales-report-card h2{margin:0 0 .4rem;font-size:.9rem;color:#cbd5e1}.sales-report-card p{margin:0;font-size:1rem;font-weight:600}.sales-report-card-sub{margin:.25rem 0 0;font-size:.75rem;font-weight:400;color:var(--muted,#666)}.sales-report-table{min-width:1080px}.sales-report-badge{display:inline-block;margin-left:.4em;padding:.1em .45em;border-radius:.3em;font-size:.72em;font-weight:600;line-height:1.4;vertical-align:middle;white-space:nowrap}.sales-report-badge--corrected{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.sales-report-badge--role{margin-left:0;background:#dbeafe;color:#1d4ed8;border:1px solid #60a5fa}.sales-report-operator-cell{min-width:13rem}.sales-report-operator{display:flex;flex-direction:column;gap:.35rem}.sales-report-operator-name{color:#f8fafc;font-weight:600}.sales-report-operator-meta{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.sales-report-operator-code{display:inline-block;padding:.1rem .45rem;border:1px solid #334155;border-radius:999px;background:#0f172a;color:#cbd5e1;font-size:.78rem}