.dashboard-filters-desktop{display:block}.dashboard-filters-mobile-btn{display:none!important}@media (max-width: 768px){.dashboard-filters-desktop{display:none!important}.dashboard-filters-mobile-btn{display:flex!important}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-content::-webkit-scrollbar{width:6px}.modal-content::-webkit-scrollbar-track{background:transparent}.modal-content::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.modal-content::-webkit-scrollbar-thumb:hover{background:var(--muted)}.toast-container{position:fixed;top:80px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:400px}.toast{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:12px;background:#fff;box-shadow:0 8px 24px #0000001f,0 2px 6px #00000014;border-left:4px solid;min-width:300px;max-width:400px;pointer-events:auto;cursor:pointer;transform:translate(120%);opacity:0;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.toast:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;opacity:.05;pointer-events:none}.toast-show{transform:translate(0);opacity:1}.toast-hide{transform:translate(120%);opacity:0}.toast-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%}.toast-message{flex:1;font-size:.95rem;line-height:1.4;font-weight:500;color:var(--text)}.toast-close{flex-shrink:0;background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);opacity:.6;transition:opacity .2s;border-radius:4px}.toast-close:hover{opacity:1;background:#0000000d}.toast-success{border-left-color:#10b981}.toast-success:before{background:linear-gradient(135deg,#10b981,#059669)}.toast-success .toast-icon{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.toast-error{border-left-color:#ef4444}.toast-error:before{background:linear-gradient(135deg,#ef4444,#dc2626)}.toast-error .toast-icon{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.toast-warning{border-left-color:#f59e0b}.toast-warning:before{background:linear-gradient(135deg,#f59e0b,#d97706)}.toast-warning .toast-icon{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.toast-info{border-left-color:#3b82f6}.toast-info:before{background:linear-gradient(135deg,#3b82f6,#2563eb)}.toast-info .toast-icon{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}@media (max-width: 768px){.toast-container{top:60px;right:12px;left:12px;max-width:none}.toast{min-width:auto;max-width:none}}@media (prefers-color-scheme: dark){.toast{background:#1f2937;box-shadow:0 8px 24px #0006,0 2px 6px #0000004d}.toast-message{color:#f3f4f6}.toast-close{color:#9ca3af}.toast-close:hover{background:#ffffff1a}}:root{font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#111827;background-color:#f3f4f6;--primary: #059669;--primary-dark: #047857;--secondary: #34d399;--accent: #34d399;--accent-soft: #d1fae5;--panel: #ffffff;--panel-muted: #F3F4F6;--border: #e5e7eb;--muted: #6b7280;--text: #111827;--danger: #DC2626;--danger-soft: rgba(220, 38, 38, .1);--success: #16A34A;--warning: #F59E0B;--info: #0EA5E9;--shadow: 0 24px 60px rgba(30, 58, 138, .08);--sidebar-bg: #0f172a}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.danger-text{color:var(--danger)!important}*{box-sizing:border-box}body{margin:0;min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f5f7fa,#f3f4f6,#e5e7eb)}a{color:inherit;text-decoration:none}h1,h2,h3,h4{font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:600;margin:0 0 .5rem;letter-spacing:normal}button,input,select,textarea{font-family:inherit}input,select,textarea{border:1px solid var(--border);border-radius:12px;padding:.65rem .9rem;background:var(--panel);color:#111827}input:focus,select:focus,textarea:focus{outline:2px solid rgba(15,118,110,.2);border-color:var(--primary)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}button{border:none;border-radius:12px;padding:.7rem 1rem;background:var(--primary);color:#fff;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}button:hover{transform:translateY(-1px);box-shadow:0 14px 30px #1e3a8a40}button.secondary{background:#d1fae5;color:#059669}button.ghost{background:transparent;color:var(--primary);border:1px solid rgba(30,58,138,.2)}button.danger{background:#dc2626}.expand-button{display:none}.button-like{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1rem;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-weight:600;cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;top:0;left:0;width:260px;height:100vh;background:var(--sidebar-bg);color:#f8fafc;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:2rem;overflow-y:auto;z-index:100}.sidebar h1{font-size:1.4rem;color:#fff}.sidebar nav{display:flex;flex-direction:column;gap:.5rem}.sidebar a{padding:.7rem 1rem;border-radius:12px;color:#e2e8f0;display:flex;align-items:center;gap:.6rem}.sidebar a.active,.sidebar a:hover{background:#ffffff1a;color:#fff}.app-content{margin-left:260px;display:flex;flex-direction:column;min-height:100vh}.topbar{padding:.5rem 1.25rem;display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:nowrap;border-bottom:1px solid var(--border);background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:50;position:sticky;top:0;min-height:56px}@media (max-width: 1257px){.topbar{top:0;padding:.5rem 1rem}}.topbar-actions{display:flex;align-items:center;gap:1rem;flex-wrap:nowrap}.mobile-menu-btn{display:none;background:transparent;color:var(--primary);border:none;padding:.5rem;cursor:pointer;align-items:center;justify-content:center}.cash-status-tag{display:flex;align-items:center;gap:.5rem;padding-right:1rem;margin-right:1rem;border-right:1px solid var(--border)}@media (max-width: 485px){.topbar-subtitle{display:none!important}.topbar>div:first-of-type>div:first-child{display:none!important}.topbar h2{font-size:.95rem!important}.cash-status-tag{border-right:none;margin-right:0;padding-right:0;width:100%;order:-1;justify-content:center;border-bottom:1px solid var(--border);padding-bottom:.5rem;display:none}.tag-list{display:none!important}.topbar{padding:.5rem .75rem!important;min-height:48px!important;flex-wrap:wrap!important}.topbar-actions{width:100%!important;order:3!important;margin-top:.5rem!important;padding-top:.5rem!important;border-top:1px solid var(--border)!important;gap:.5rem!important;flex-wrap:wrap!important}.topbar-actions .notice{font-size:.75rem!important;padding:.35rem .6rem!important;white-space:nowrap!important}.topbar-actions input{width:90px!important;padding:.35rem!important;font-size:.8rem!important}.topbar-actions button{padding:.35rem .6rem!important;font-size:.8rem!important}.topbar-actions>div[style*="width: 1px"]{display:none!important}.mobile-menu-btn{display:flex!important}.topbar button:not(.mobile-menu-btn){font-size:.75rem!important;padding:.5rem .7rem!important}.page-header button,header+* button.primary,header+* button.secondary{font-size:.7rem!important;padding:.45rem .6rem!important}.topbar-actions>div{flex-wrap:wrap!important}.topbar-actions .notice{font-size:.7rem!important;padding:.3rem .5rem!important;white-space:normal!important;text-align:center!important;flex:1 1 100%!important}.topbar-actions input[type=text]{width:80px!important;padding:.3rem .4rem!important;font-size:.75rem!important}.topbar-actions button.primary,.topbar-actions button.danger,.topbar-actions button.ghost{padding:.3rem .5rem!important;font-size:.7rem!important;white-space:nowrap!important}.topbar-actions button.ghost[title*=Configurações]{padding:.3rem!important}}@media (max-width: 375px){.page-header button,.topbar button:not(.mobile-menu-btn),button.primary,button.secondary,button.ghost,.card button,header+* button{font-size:.65rem!important;padding:.4rem .5rem!important;gap:.25rem!important}button svg{width:14px!important;height:14px!important}button{white-space:normal!important;line-height:1.2!important}}.app-main{padding:.75rem;flex:1;display:flex;flex-direction:column;width:100%;max-width:100%;margin:0;overflow:hidden}.table-container{width:100%;overflow-x:auto}.card{background:var(--panel);border-radius:20px;padding:1.5rem;box-shadow:var(--shadow);border:1px solid rgba(15,23,42,.04);display:flex;flex-direction:column}.form{display:grid;gap:1rem}.grid{display:grid;gap:1.5rem}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-auto{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}@media (max-width: 1024px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-grid{grid-template-columns:1fr!important;height:auto!important;max-height:none!important}.cart-card .cart-logo-watermark{width:50%!important;height:50%!important}}@media (max-width: 768px){.grid-3,.grid-2{grid-template-columns:1fr}.cart-card .cart-logo-watermark{width:70%!important;height:70%!important;opacity:.04!important}}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.page-header p{margin:.2rem 0 0;color:var(--muted)}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--border)}.table th{font-size:.85rem;color:var(--muted)}.table td:last-child div{display:flex;gap:.75rem;justify-content:flex-end;align-items:center}.table td:last-child div div{display:flex;gap:.5rem;align-items:center}.badge{padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600;background:#1e3a8a26;color:var(--primary)}.badge.warning{background:#3b82f626;color:var(--secondary)}.badge.danger{background:#dc262629;color:var(--danger)}.form-row{display:grid;gap:1rem}.form-row-2{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}.input-group{display:flex;flex-direction:column;gap:.35rem}.floating-input-group{position:relative;margin-bottom:.25rem}.floating-input{width:100%;padding:1rem .9rem .5rem;border:1.5px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text);font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease;outline:none}.floating-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1e3a8a1a}.floating-input::placeholder{color:transparent}.floating-label{position:absolute;left:.9rem;top:50%;transform:translateY(-50%);color:var(--muted);font-size:1rem;font-weight:500;pointer-events:none;transition:all .2s ease;background:transparent;padding:0 .25rem}.floating-input:focus~.floating-label,.floating-input:not(:placeholder-shown)~.floating-label,.floating-input-group.active .floating-label{top:0;transform:translateY(-50%);font-size:.75rem;color:var(--primary);background:var(--panel);font-weight:600}.floating-input-group.has-error .floating-input{border-color:var(--danger)}.floating-input-group.has-error .floating-input:focus{box-shadow:0 0 0 3px #dc26261a}.floating-input-group.has-error .floating-label,.floating-input-group.has-error .floating-input:focus~.floating-label,.floating-input-group.has-error .floating-input:not(:placeholder-shown)~.floating-label{color:var(--danger)}.floating-error{color:var(--danger);font-size:.8rem;font-weight:500;margin-top:.35rem;display:block}.form-row .floating-input-group{margin-bottom:0}input.error{border-color:var(--danger)}input.error:focus{outline:2px solid rgba(220,38,38,.2)}.error-message{color:var(--danger);font-size:.8rem;font-weight:500}.muted{color:var(--muted)}.pdv-grid{display:grid;grid-template-columns:1.1fr .9fr;grid-template-rows:1fr;gap:1rem;align-items:stretch;height:calc(100vh - 56px - 1.5rem);min-height:500px}.pdv-grid>*{min-width:0;display:flex;flex-direction:column}.pdv-grid .card{height:100%;max-height:none;padding:1rem 1rem 0}.pdv-grid .card h3{margin-bottom:.5rem;font-size:1.1rem}.cart-list{flex:1;overflow:hidden;margin:.25rem 0;padding-right:.25rem;width:100%;display:flex;flex-direction:column}.cart-list .table-container{flex:1;overflow-y:auto;min-height:0;border:1px solid var(--border);border-radius:8px}.cart-list .table{table-layout:fixed;width:100%}.cart-list .table td,.cart-list .table th{overflow-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.cart-list .table input[type=number]{max-width:100%;box-sizing:border-box}.cart-row-highlight{animation:cart-highlight .6s ease}@keyframes cart-highlight{0%{background:#16a34a40}to{background:transparent}}.cart-footer{margin-top:auto;border-top:1px solid var(--border);padding-top:.75rem}.finalize-btn{display:flex!important;width:calc(100% + 2rem)!important;margin:1rem -1rem 0!important;padding:1.25rem!important;font-size:1.1rem!important;border-radius:0 0 20px 20px!important;align-items:center!important;justify-content:center!important;gap:.5rem!important;border:none!important;font-weight:700!important;cursor:pointer!important;transition:all .2s ease!important;background:var(--primary)!important;color:#fff!important;box-shadow:none!important}.finalize-btn:hover{filter:brightness(1.1)!important;box-shadow:0 -4px 15px #1e3a8a1a!important}@media (max-width: 485px){.finalize-btn{width:calc(100% + 2rem)!important;margin:1rem -1rem -1rem!important;border-radius:0 0 12px 12px!important;padding:1rem!important;font-size:1rem!important}}.cart-item{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--border)}.cart-item:last-child{border-bottom:none}.cart-item strong{display:block;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-item p{font-size:.85rem;margin:.1rem 0}@media (max-width: 485px){.cart-item{grid-template-columns:1fr}}.cart-controls{display:flex;gap:.4rem;align-items:center;margin-top:.25rem}.cart-controls input{padding:.25rem .4rem;font-size:.8rem;height:30px}.cart-controls input[type=number]{width:60px}.cart-controls input::placeholder{font-size:.75rem}.totals{display:flex;flex-direction:column;gap:.25rem;padding:.5rem 0;margin-top:.5rem;border-top:1px solid var(--border)}.total-line{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.pdv-grid .card>*{margin-top:0}.total-line.total{font-size:1.2rem}.payment-grid{display:grid;gap:.75rem}.payment-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.card-network-grid{background:var(--panel-muted);padding:.8rem;border-radius:12px;border:1px dashed var(--border)}.tag-list{display:flex;gap:.6rem;flex-wrap:wrap}.shortcut{background:var(--primary);color:#fff;padding:.3rem .7rem;border-radius:6px;font-size:.8rem;font-weight:700}.notice{--notice-color: var(--primary);--notice-tint: rgba(30, 58, 138, .08);position:relative;display:flex;gap:.75rem;align-items:flex-start;padding:1rem 1.25rem 1rem 1.75rem;border-radius:16px;background:linear-gradient(135deg,#fffffff2,#f8fafceb),var(--notice-tint);border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 40px #0f172a14;color:var(--text);font-size:.95rem;line-height:1.45;animation:notice-slide .35s ease forwards}.notice:before{content:"";position:absolute;left:.5rem;top:.75rem;bottom:.75rem;width:6px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.35),transparent),var(--notice-color)}.notice strong{color:var(--notice-color)}.notice+.notice{margin-top:.75rem}.notice.success{--notice-color: var(--success);--notice-tint: rgba(22, 163, 74, .1)}.notice.warning{--notice-color: var(--warning);--notice-tint: rgba(245, 158, 11, .12)}.notice.info{--notice-color: var(--info);--notice-tint: rgba(14, 165, 233, .12)}.notice.danger,.notice.error{--notice-color: var(--danger);--notice-tint: var(--danger-soft)}@keyframes notice-slide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.offline-banner{padding:.4rem .8rem;border-radius:999px;background:#dc262629;color:var(--danger);font-size:.8rem;font-weight:600}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.mobile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:95;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:#fff;border-radius:20px;padding:2rem;width:min(720px,100%);max-height:90vh;overflow:auto}@media (max-width: 600px){.modal{padding:1.25rem;border-radius:16px}.pix-qr-container{padding:1rem!important}.pix-qr-container img{width:100%!important;max-width:260px!important;height:auto!important}.total-card-mobile{padding:.75rem!important}.total-amount-mobile{font-size:1.5rem!important}.finalize-actions-mobile{flex-direction:column-reverse!important;gap:.75rem!important}.finalize-actions-mobile button{width:100%!important}}.lp-root{min-height:100vh;font-family:DM Sans,sans-serif;display:flex;overflow:hidden;background:#f0f3f7;position:relative}.lp-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none}.lp-bg-name{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.lp-bg-name-text{font-family:Playfair Display,serif;font-size:clamp(60px,18vw,220px);font-weight:700;color:#1a3a5c;white-space:nowrap;letter-spacing:-.02em;opacity:.05;animation:lp-breathe 8s ease-in-out infinite;-webkit-user-select:none;user-select:none}@keyframes lp-breathe{0%,to{transform:scale(1);opacity:.05}50%{transform:scale(1.04);opacity:.08}}.lp-bg-lines{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(26,58,92,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(26,58,92,.04) 1px,transparent 1px);background-size:60px 60px}.lp-bg-gradient{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,#f0f3f74d,#fff9 60%,#fffffff2)}.lp-page{position:relative;z-index:1;width:100%;display:flex}.lp-left{flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:60px;gap:14px}.lp-label{font-size:11px;letter-spacing:.35em;text-transform:uppercase;color:#c8a96e;animation:lp-fade-up .8s ease both}.lp-company-name{font-family:Playfair Display,serif;font-size:clamp(32px,4vw,54px);font-weight:700;color:#1a3a5c;line-height:1.1;animation:lp-fade-up .8s .1s ease both}.lp-divider{width:48px;height:2px;background:#c8a96e;border-radius:2px;animation:lp-expand-w .8s .2s ease both}@keyframes lp-expand-w{0%{width:0;opacity:0}to{width:48px;opacity:1}}.lp-tagline{font-size:14px;color:#1a3a5c73;font-weight:300;animation:lp-fade-up .8s .2s ease both}@keyframes lp-fade-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.lp-right{width:440px;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:48px 40px}.lp-card{background:#fff;border:1px solid rgba(26,58,92,.08);border-radius:20px;padding:48px 40px;width:100%;animation:lp-slide-in .9s .15s cubic-bezier(.16,1,.3,1) both;box-shadow:0 4px 6px #00000008,0 20px 60px #1a3a5c14}@keyframes lp-slide-in{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.lp-logo-box{width:60px;height:60px;border-radius:14px;background:#1a3a5c0f;border:1px solid rgba(26,58,92,.1);display:flex;align-items:center;justify-content:center;margin-bottom:28px;overflow:hidden}.lp-logo-img{width:100%;height:100%;object-fit:contain;padding:6px}.lp-logo-initials{font-family:Playfair Display,serif;font-size:24px;font-weight:700;color:#1a3a5c}.lp-card-title{font-family:Playfair Display,serif;font-size:26px;font-weight:700;color:#1a3a5c;margin-bottom:6px}.lp-card-subtitle{font-size:13px;color:#1a3a5c66;margin-bottom:36px;font-weight:300}.lp-field{margin-bottom:18px}.lp-field-label{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#1a3a5c80;margin-bottom:8px;font-weight:500}.lp-field-input{width:100%;background:#f7f9fb;border:1px solid rgba(26,58,92,.12);border-radius:10px;padding:13px 16px;font-size:14px;color:#1a3a5c;font-family:DM Sans,sans-serif;transition:all .2s;outline:none}.lp-field-input::placeholder{color:#1a3a5c40}.lp-field-input:focus{border-color:#1a3a5c;background:#fff;box-shadow:0 0 0 3px #1a3a5c12}.lp-field-input.lp-field-error{border-color:#e53e3e}.lp-error-msg{display:block;font-size:12px;color:#e53e3e;margin-top:4px}.lp-forgot{text-align:right;margin-top:-6px;margin-bottom:28px}.lp-forgot-link{font-size:12px;color:#c8a96e;text-decoration:none;opacity:.8;transition:opacity .2s}.lp-forgot-link:hover{opacity:1}.lp-btn{width:100%;padding:14px;background:#1a3a5c;border:none;border-radius:10px;font-family:DM Sans,sans-serif;font-size:14px;font-weight:500;color:#fff;letter-spacing:.05em;cursor:pointer;transition:opacity .2s,transform .15s,box-shadow .2s;box-shadow:0 4px 14px #1a3a5c40}.lp-btn:hover:not(:disabled){opacity:.88;transform:translateY(-1px);box-shadow:0 6px 20px #1a3a5c4d}.lp-btn:active{transform:translateY(0)}.lp-btn:disabled{opacity:.6;cursor:not-allowed}.lp-footer{margin-top:28px;text-align:center;font-size:11px;color:#1a3a5c40;letter-spacing:.04em}.login-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-bottom:1.5rem}.login-tabs button{background:#e2e8f0;color:#1f2937}.login-tabs button.active{background:var(--primary);color:#fff}.receipt{font-family:Inter,monospace;font-size:.9rem}@media (min-width: 1920px){.pdv-grid>div:nth-child(2) .card{max-height:85vh}}@media (max-width: 1366px){.pdv-grid{grid-template-columns:1.6fr 1.4fr}}@media (max-width: 1257px){.pdv-grid{grid-template-columns:1fr;gap:1rem;max-height:none;height:auto}.pdv-grid .card{height:auto!important;max-height:none!important;min-height:auto}.cart-list{max-height:none;min-height:150px}}@media (max-width: 1257px){.app-shell{grid-template-columns:1fr}.app-content{margin-left:0}.sidebar{position:fixed;top:0;left:0;bottom:0;width:280px;z-index:100;transform:translate(-100%);transition:transform .3s ease;display:flex;flex-direction:column;padding:2rem 1.5rem;background:var(--sidebar-bg);box-shadow:10px 0 30px #0003}.sidebar.mobile-active{transform:translate(0)}.sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.sidebar nav{flex-direction:column;width:100%;overflow-y:auto;gap:.5rem}.sidebar a{padding:.8rem 1.2rem;font-size:1rem;border-radius:12px;background:transparent;color:#cbd5e1;display:flex;align-items:center;gap:1rem;width:100%}.sidebar a.active{background:#ffffff1a;color:#fff;box-shadow:none}.mobile-menu-btn{display:flex}.nav-btn-logout{display:none!important}.lp-left{display:none}.lp-right{width:100%;padding:24px 20px}.lp-card{padding:32px 24px}.dashboard-layout .grid-2{grid-template-columns:1fr!important;gap:1.5rem!important}.dashboard-layout{gap:1.5rem!important}.dashboard-layout>:nth-child(2){order:-1}}@media (max-width: 600px){.topbar{padding:.4rem .75rem;height:auto;gap:.5rem}.topbar-subtitle,.dashboard-filters-desktop{display:none!important}.dashboard-filters-mobile-btn{display:flex!important}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.app-main{padding:.75rem}.form-row-2,.form-row-3{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}.cash-management-card>div{grid-template-columns:1fr!important;gap:1rem!important}.cash-management-card>div>div:last-child{padding-left:0!important;border-left:none!important;border-top:1px solid var(--border);padding-top:1rem;margin-top:.5rem}}@media (max-width: 485px){:root{--shadow: 0 10px 30px rgba(30, 58, 138, .06)}body{font-size:14px}.app-main{padding:.5rem}.card{padding:.75rem;border-radius:12px}.topbar{padding:.4rem .5rem;min-height:48px}.topbar h2{font-size:.9rem!important}.topbar-actions{display:flex!important;flex-wrap:wrap!important;gap:.5rem!important;justify-content:flex-end!important;width:auto!important}.topbar-actions button{padding:.4rem .6rem;font-size:.75rem}h1,h2,h3{letter-spacing:-.01em}.pdv-grid{display:flex!important;flex-direction:column!important;height:auto!important;min-height:auto!important;gap:1rem!important}.product-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.4rem}.tabs-container button{padding:.3rem .6rem;font-size:.75rem}.modal{padding:1rem}.form-row{gap:.75rem}input,select,textarea{padding:.5rem .7rem;font-size:14px}button{padding:.6rem .8rem;font-size:14px}.lp-card{padding:24px 18px}.pdv-grid{display:flex!important;flex-direction:column!important;gap:1rem!important;height:auto!important;max-height:none!important;overflow-x:hidden!important;width:100%!important}.table.table-mobile-responsive{table-layout:fixed!important;width:100%!important}.table.table-mobile-responsive th:not(.mobile-visible):not(:first-child):not(:last-child),.table.table-mobile-responsive td:not(.mobile-visible):not(:first-child):not(:last-child){display:none!important}.table.table-mobile-responsive td.mobile-visible{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-name-cell{font-weight:600}.pdv-grid .card{height:auto!important;max-height:none!important;padding:1rem!important;overflow:hidden!important;width:100%!important;max-width:100%!important}.product-grid{grid-template-columns:repeat(2,1fr)!important;gap:.5rem!important;max-height:45vh!important;overflow-y:auto!important;padding:.25rem!important}.product-card{padding:.5rem!important;display:flex!important;flex-direction:column!important;min-height:auto!important;height:auto!important;gap:.3rem!important}.product-card h4{font-size:.8rem!important;line-height:1.1!important;margin:0!important;min-height:2.2rem!important;display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.product-card .price{font-size:.95rem!important;margin:0!important;font-weight:700!important}.product-card .stock{font-size:.7rem!important;margin:0!important}.product-card .card-actions{margin-top:auto!important;display:flex!important;gap:.4rem!important;width:100%!important;flex-shrink:0!important}.product-card .card-actions input{width:45px!important;min-width:45px!important;padding:.4rem .2rem!important;font-size:.85rem!important;text-align:center!important}.product-card .card-actions button{flex:1!important;padding:.4rem .5rem!important;font-size:.8rem!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.25rem!important}.cart-list{max-height:none!important;overflow-y:auto!important}.cart-list thead{display:none!important}.cart-list table,.cart-list tbody{display:block!important;width:100%!important}.cart-list tr{display:flex!important;flex-direction:column!important;padding:.75rem!important;margin-bottom:.5rem!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--panel-muted)!important;position:relative!important}.cart-list td{display:block!important;width:100%!important;padding:.2rem 0!important;text-align:left!important;border:none!important}.cart-list td:first-child{font-weight:600!important;font-size:.9rem!important;padding-bottom:.5rem!important;padding-right:2rem!important}.cart-list td:nth-child(2){display:flex!important;align-items:center!important;gap:.5rem!important}.cart-list td:nth-child(2):before{content:"Qtd:";color:var(--muted);font-size:.75rem!important;font-weight:500!important}.cart-list td:nth-child(2) input{width:60px!important;padding:.3rem!important;font-size:.85rem!important}.cart-list td:nth-child(3){color:var(--muted)!important;font-size:.8rem!important}.cart-list td:nth-child(3):before{content:"Preço unit: "}.cart-list td:nth-child(4){font-weight:700!important;font-size:1rem!important;color:var(--primary)!important;margin-top:.25rem!important}.cart-list td:nth-child(4):before{content:"Total: ";font-weight:500!important;color:var(--muted)!important}.cart-list td:last-child{position:absolute!important;top:.75rem!important;right:.75rem!important;width:auto!important;padding:0!important}.cart-list td:last-child button{padding:.4rem!important;min-width:auto!important}.totals{margin-top:1rem!important;padding:.75rem!important;background:var(--panel-muted)!important;border-radius:8px!important;border:1px solid var(--border)!important}.total-line{padding:.4rem 0!important;font-size:.9rem!important}.total-line.total{font-size:2rem!important;font-weight:700!important;margin-top:.5rem!important;padding-top:.75rem!important;border-top:2px solid var(--primary)!important;color:var(--primary)!important}.cart-footer{position:sticky!important;bottom:0!important;background:var(--panel)!important;z-index:10!important;margin:1rem 0 0!important;padding:1rem!important;box-shadow:0 -4px 12px #00000014!important;border-top:1px solid var(--border)!important}.cart-footer button{padding:1rem!important;font-size:1rem!important;font-weight:700!important}.shortcut{display:none!important}.tabs-container button{padding:.4rem .7rem!important;font-size:.75rem!important}.modal-footer,.form>div:last-child{display:flex!important;flex-direction:column-reverse!important;gap:.5rem!important;margin-top:1rem!important}.modal-footer button,.form>div:last-child button{width:100%!important;margin:0!important}.payment-grid{gap:.75rem!important}.payment-row{flex-direction:column!important;gap:.5rem!important}.payment-row select,.payment-row input{width:100%!important}.expand-button,.expanded-row{display:none!important}.row-details{display:grid;grid-template-columns:1fr;gap:.75rem;padding:.5rem}.detail-item{display:flex;flex-direction:column;gap:.2rem}.detail-label{font-size:.7rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:.85rem;color:var(--text);font-weight:500}.table tbody button{padding:.4rem .5rem!important;font-size:0!important;min-width:32px!important;height:32px!important;white-space:nowrap!important;gap:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.table tbody button svg{width:16px!important;height:16px!important;margin:0!important}.table tbody button+button{margin-left:.35rem!important}.form-row button{padding:.5rem .75rem!important;font-size:.8rem!important}.form-row-2{flex-direction:column!important;gap:.75rem!important}.form-row-2>div:last-child{width:100%!important}.form-row-2>div:last-child>div{display:flex!important;width:100%!important;gap:.5rem!important}.form-row-2>div:last-child button{flex:1!important}input,select,textarea{font-size:.9rem!important;padding:.6rem!important}label{font-size:.85rem!important}.topbar button{padding:.5rem .8rem!important;font-size:.85rem!important}.card{padding:.75rem!important}.grid{padding:.5rem!important;gap:.75rem!important}.table{font-size:.8rem!important}.table th,.table td{padding:.5rem .3rem!important;font-size:.8rem!important;word-break:break-word!important;max-width:150px!important}.table th{font-size:.7rem!important}.table td:first-child,.table th:first-child{max-width:none!important;min-width:100px!important}.table td:last-child,.table th:last-child{white-space:nowrap!important;text-align:right!important;max-width:none!important;width:1%!important}html,body{overflow-x:hidden!important;position:relative!important;width:100%!important;max-width:100%!important}*{box-sizing:border-box!important}.app-shell,.app-content,.app-main,.grid,.pdv-grid,.card,.topbar{width:100%!important;max-width:100vw!important;margin-left:0!important;margin-right:0!important;overflow-x:hidden!important;box-sizing:border-box!important}.table-container{width:100%!important;overflow-x:auto!important;margin:0!important;padding:0!important}.table th:first-child,.table td:first-child{display:table-cell!important;text-align:left!important;padding:.75rem .25rem!important;width:auto!important;overflow-wrap:break-word!important;word-break:break-all!important;white-space:normal!important}.table th:last-child,.table td:last-child{display:table-cell!important;text-align:right!important;width:100px!important;white-space:nowrap!important;padding:.75rem .25rem!important}.table td:last-child div{display:flex!important;gap:.4rem!important;justify-content:flex-end!important;align-items:center!important}.table td:last-child button{padding:.25rem!important;min-width:24px!important;height:24px!important;font-size:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.table td:last-child button svg{width:14px!important;height:14px!important}@media (max-width: 320px){.row-details{grid-template-columns:1fr!important;padding:.25rem!important;gap:.5rem!important}.table th:first-child,.table td:first-child{width:36px!important;padding-left:.15rem!important;padding-right:.15rem!important}.table th,.table td{padding:.4rem .2rem!important;font-size:.75rem!important}.expand-button{width:20px!important;height:20px!important;font-size:1rem!important}.table td div[style*="gap: 0.75rem"],.table td div[style*="gap: 0.4rem"]{gap:.25rem!important}}@media (max-width: 375px){.row-details{grid-template-columns:1fr!important}}.table-container{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;margin:0!important;padding:0!important}}@media (max-width: 640px){.settings-color-grid{grid-template-columns:1fr!important}.settings-token-row{flex-direction:column!important}.settings-token-row input{width:100%!important;overflow-x:auto!important;white-space:nowrap!important}.settings-token-row button{width:100%!important}}@media (min-width: 486px) and (max-width: 580px){.card{padding:1rem!important}.pdv-grid>.card,.pdv-grid .card{padding:.5rem!important}.grid{padding:.75rem!important;gap:1rem!important}.pdv-grid{gap:.5rem!important}.table th,.table td{padding:.7rem .5rem!important;font-size:.9rem!important}.table tbody button{padding:.4rem .65rem!important;font-size:.75rem!important;min-width:auto!important;height:auto!important;gap:.3rem!important}.table tbody button svg{width:14px!important;height:14px!important}.table tbody td:last-child{white-space:nowrap!important}.product-grid{grid-template-columns:repeat(2,1fr)!important;gap:.5rem!important}.topbar{padding:.75rem 1rem!important}}@media (max-width: 485px){.topbar{padding:1rem}.card{padding:1rem;border-radius:16px}.modal{padding:1.5rem;width:100%;height:100%;max-height:100vh;border-radius:0}.payment-row{flex-direction:column;align-items:stretch}.payment-row select,.payment-row input{width:100%!important}.pdv-grid .card{max-height:90vh!important}}@media (max-height: 768px){.pdv-grid .card{max-height:95vh!important}.cart-list{max-height:200px!important}}@media print{body{background:#fff}.sidebar,.topbar,.no-print{display:none!important}.receipt{font-size:12px}}.tabs-wrapper{display:flex;align-items:center;gap:.5rem;margin:0;padding:1rem 0;background:transparent;width:100%;max-width:100%}.tabs-container{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;padding:.1rem 0;flex:1;scrollbar-width:none;-ms-overflow-style:none}.toggle-field{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;margin-top:.5rem;text-align:center}.ios-toggle{width:52px;height:30px;border-radius:999px;background:#e0e0e0;position:relative;cursor:pointer;transition:background .3s ease;flex-shrink:0;box-shadow:inset 0 1px 3px #00000026}.ios-toggle.on{background:#34c759}.ios-toggle-thumb{width:26px;height:26px;border-radius:50%;background:#fff;position:absolute;top:2px;left:2px;transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 4px #00000040,0 0 1px #0000001a}.ios-toggle.on .ios-toggle-thumb{transform:translate(22px)}.tabs-container button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:.5rem;margin-top:.5rem;padding:.25rem;flex:1;min-height:0;overflow-y:auto;align-content:start}.product-grid>button{width:100%}.product-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:.6rem;display:flex;flex-direction:column;gap:.5rem;transition:all .2s ease;cursor:pointer;position:relative}.product-card:hover{border-color:var(--primary);box-shadow:0 4px 12px #0f766e14;transform:translateY(-2px)}.product-card h4{font-size:.9rem;margin:0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0;line-height:1.2rem;color:#111827;word-break:break-word}.product-card .price{font-size:1.1rem;font-weight:700;color:var(--primary);margin:0}.product-card .stock{font-size:.75rem;color:var(--muted);font-weight:500}.product-card .card-actions{display:flex;gap:.4rem;margin-top:auto;width:100%;flex-shrink:0}.product-card .card-actions input{width:50px;min-width:50px;padding:.4rem .2rem;font-size:.85rem;text-align:center;border-radius:6px}.product-card .card-actions button{flex:1;padding:.4rem;font-size:.8rem;display:flex;align-items:center;justify-content:center;gap:.2rem;border-radius:6px}.mobile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .2s ease}.app-shell{transition:all .3s ease}.app-shell.collapsed .app-content{margin-left:80px}.sidebar{transition:all .3s ease;overflow-x:hidden}.sidebar.collapsed{width:80px;padding:2rem .5rem;align-items:center}.sidebar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;min-height:48px}.sidebar.collapsed .sidebar-header{justify-content:center;margin-bottom:2rem}.collapse-btn{background:transparent;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:8px;color:var(--muted);cursor:pointer}.collapse-btn:hover{background:#ffffff1a;color:#fff;transform:none;box-shadow:none}.sidebar.collapsed nav a{justify-content:center;padding:.8rem}.sidebar.collapsed .logo-container{display:none}.fade-in{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width: 1257px){.app-shell.collapsed .app-content{margin-left:0}}
