:root{--bg:#f8fafc;--surface:#fff;--nav:#0f172a;--nav-active:#1e293b;--primary:#2563eb;--primary-hover:#1d4ed8;--success:#059669;--success-hover:#047857;--warning:#d97706;--danger:#dc2626;--text:#0f172a;--muted:#64748b;--border:#e2e8f0;--radius:12px;font-family:"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;min-height:48px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:10px 16px;font-weight:600;color:var(--text)}button:hover{background:#f1f5f9}button:disabled{opacity:.55;cursor:not-allowed}a{color:var(--primary);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}input,select{min-height:48px;width:100%;padding:10px 12px;background:var(--surface);border:1px solid #cbd5e1;border-radius:8px;color:var(--text)}input[type=checkbox]{min-height:24px;width:24px}label{display:block;font-size:14px;font-weight:600;margin-bottom:16px}label input,label select{margin-top:7px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:18px}p{line-height:1.55}small,.muted{color:var(--muted)}.primary,.success{display:inline-flex;gap:14px;align-items:center;justify-content:center;border:0;color:#fff;background:var(--primary)}.primary:hover{background:var(--primary-hover)}.success{background:var(--success)}.success:hover{background:var(--success-hover)}.danger{color:var(--danger)}.full{width:100%}.icon-button{padding:10px;display:inline-flex;align-items:center;justify-content:center;min-width:48px}.error{color:var(--danger);font-size:14px;margin:12px 0;min-height:0}.error:empty{display:none}.wordmark{font-size:35px;letter-spacing:-1.5px;font-weight:750;color:#fff;display:block;line-height:1}.wordmark span{display:block;font-size:11px;letter-spacing:2px;margin-top:10px;color:#94a3b8;font-weight:600}.login-view { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; }
.login-brand { padding: 48px 64px; background: radial-gradient(circle at 18% 18%, #162447 0%, #0a1122 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.login-story { max-width: 480px; margin: 30px 0 10px; }
.login-story h1 { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -1.5px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.login-story p { color: #94a3b8; font-size: 17px; line-height: 1.5; margin-bottom: 20px; }
.brand-line { height: 3px; width: 48px; background: #38bdf8; border-radius: 2px; margin-bottom: 24px; }
.login-illustration { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.login-devices-img { width: 100%; max-width: 440px; height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4)); transition: transform .3s ease; }
.login-devices-img:hover { transform: scale(1.02); }
.login-hero-author { margin-top: 16px; color: #64748b; font-size: 12.5px; }
.login-hero-author strong { color: #38bdf8; font-weight: 600; }
.login-brand > small { color: #64748b; font-size: 12px; }
.login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px 64px; background: #fff; }
.login-form-wrap form { max-width: 420px; width: 100%; }
.eyebrow { display: block; color: #2563eb; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.login-form-wrap h2 { font-size: 28px; font-weight: 700; color: #0f172a; letter-spacing: -0.5px; margin-bottom: 6px; }
.login-form-wrap .muted { color: #64748b; font-size: 13.5px; margin-bottom: 20px; }
.login-company { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 18px; background: #f0f7ff; border: 1px solid #dbeafe; border-radius: 10px; cursor: pointer; transition: all .2s ease; }
.login-company:hover { background: #e6f0fd; border-color: #bfdbfe; }
.login-company-badge { width: 36px; height: 36px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #2563eb; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); flex-shrink: 0; }
.login-company-meta { flex: 1; }
.login-company-meta small { display: block; font-size: 11px; color: #64748b; margin-bottom: 1px; }
.login-company-meta strong { display: block; font-size: 13.5px; font-weight: 600; color: #0f172a; }
.login-company-chevron { color: #94a3b8; font-size: 14px; font-weight: bold; }
.login-input-group { display: block; margin-bottom: 14px; }
.login-input-group > span { display: block; font-size: 12.5px; font-weight: 600; color: #334155; margin-bottom: 5px; }
.input-icon-wrap { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; }
.input-icon-wrap:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.input-icon { position: absolute; left: 12px; color: #94a3b8; pointer-events: none; width: 17px; height: 17px; }
.input-icon-wrap input { width: 100%; height: 40px; padding: 0 36px 0 38px; border: none; background: transparent; font-size: 13.5px; color: #0f172a; outline: none; }
.input-icon-wrap input::placeholder { color: #94a3b8; }
.btn-toggle-eye { position: absolute; right: 8px; background: transparent; border: none; color: #94a3b8; cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.btn-toggle-eye:hover { color: #475569; }
.login-options-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 16px; font-size: 12.5px; }
.remember-option { display: inline-flex; align-items: center; gap: 7px; color: #475569; cursor: pointer; font-size: 12.5px; user-select: none; }
.remember-option input[type="checkbox"] { width: 15px; height: 15px; accent-color: #2563eb; cursor: pointer; }
.forgot-pwd-link { color: #2563eb; text-decoration: none; font-weight: 500; cursor: pointer; }
.forgot-pwd-link:hover { text-decoration: underline; }
.btn-login-submit { width: 100%; height: 42px; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background-color .2s ease; }
.btn-login-submit:hover { background: #1d4ed8; }
.demo-note { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin-top: 16px; }
.demo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-info-group { display: flex; align-items: center; gap: 10px; }
.demo-wand-badge { font-size: 18px; }
.demo-card-titles strong { display: block; font-size: 12px; font-weight: 700; color: #0f172a; }
.demo-card-titles p { margin: 0; font-size: 10.5px; color: #64748b; }
.btn-fill-demo { background: #fff; border: 1px solid #cbd5e1; color: #1e293b; border-radius: 6px; padding: 7px 12px; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: all .15s ease; }
.btn-fill-demo:hover { background: #f8fafc; border-color: #94a3b8; }
.demo-note small { display: block; font-size: 10.5px; color: #94a3b8; margin-top: 8px; line-height: 1.4; text-align: center; }.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--nav);color:#cbd5e1;padding:32px 18px 16px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0}.sidebar>.wordmark{margin:0 16px 30px}.company-tag{display:flex;gap:10px;align-items:center;padding:16px 6px;border-top:1px solid #334155;border-bottom:1px solid #334155;margin-bottom:24px}.company-tag strong{font-size:13px;color:#f8fafc;display:block;line-height:1.4}.company-tag small{display:block;color:#94a3b8;font-size:11px;margin-top:4px}.company-initial{display:grid;place-items:center;width:36px;height:36px;background:#1e3a8a;color:#bfdbfe;border-radius:8px;font-weight:700;flex-shrink:0}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;color:#cbd5e1;font-size:14px;border-radius:8px}.sidebar nav a:hover{background:var(--nav-active)}.sidebar nav a.active{background:var(--primary);color:#fff}.sidebar kbd{margin-left:auto;font:10px "Segoe UI",sans-serif;opacity:.65}.sidebar-bottom{margin-top:auto;padding-top:24px}.powered{display:block;font-size:11px;color:#94a3b8;padding:12px 4px}.powered b{color:#38bdf8}.user-block{display:flex;gap:9px;align-items:center;border-top:1px solid #334155;padding-top:16px}.avatar{background:#334155;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;flex-shrink:0}.user-block strong{display:block;font-size:12px;color:#f8fafc;max-width:96px;overflow:hidden;text-overflow:ellipsis}.user-block small{display:block;color:#94a3b8;font-size:11px}.user-block button{color:#94a3b8;background:transparent;border:0;margin-left:auto;min-width:40px;padding:8px}.workspace{display:flex;flex-direction:column;min-width:0}.topbar{min-height:76px;background:var(--surface);border-bottom:1px solid var(--border);padding:20px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.breadcrumb{color:var(--muted);font-size:13px}.topbar strong{font-size:14px}.topbar-right{display:flex;align-items:center;gap:16px}.connection{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.connection i{width:7px;height:7px;background:var(--success);border-radius:50%}.connection.offline i{background:var(--danger)}.badge{background:#f1f5f9;border-radius:5px;padding:6px 9px;font-size:12px;display:inline-block;font-weight:600;color:#475569}.badge.good{background:#ecfdf5;color:#047857}.badge.warning{background:#fffbeb;color:#92400e}.page-content{padding:28px 32px;flex:1;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.page-head h1{margin-bottom:6px}.page-head p{font-size:14px;color:var(--muted);margin:0}.page-head-actions{display:flex;gap:10px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.search{position:relative;margin-bottom:18px}.search svg{position:absolute;left:16px;top:15px;color:var(--muted)}.search input{height:52px;padding-left:48px;padding-right:55px;background:#fff}.search kbd{position:absolute;right:16px;top:17px;font-size:12px;color:var(--muted)}.categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.categories button{min-height:40px;font-size:13px;padding:8px 14px;font-weight:500}.categories button.active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.catalog-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:12px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.product-card{text-align:left;display:flex;flex-direction:column;padding:16px;border-radius:12px;position:relative;min-height:186px;overflow:hidden}.product-card:hover{border-color:#93c5fd;background:#fff}.product-visual{width:48px;height:48px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;border-radius:10px;margin-bottom:16px}.product-card[data-category="Bebidas"] .product-visual{background:#ecfeff;color:#0e7490}.product-card[data-category="Lácteos"] .product-visual{background:#f0fdfa;color:#0f766e}.product-card strong{font-size:14px;line-height:1.35;margin-bottom:5px;font-weight:600}.product-card small{font-size:11px;font-weight:400}.product-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:auto;padding-top:16px}.product-price{font-weight:700;font-size:16px}.add-mark{border-radius:6px;background:#eff6ff;color:var(--primary);display:grid;place-items:center;width:28px;height:28px}.add-mark svg{width:16px;height:16px}.stock-low{position:absolute;right:10px;top:12px;color:#92400e;background:#fffbeb;font-size:10px;padding:4px 6px;border-radius:4px}.cart{background:#fff;border:1px solid var(--border);border-radius:14px;position:sticky;top:22px;overflow:hidden}.cart-head{padding:20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.cart-head h2{margin:0;font-size:18px}.cart-head button{padding:0;border:0;color:var(--muted);font-size:12px;min-height:40px}.cart-customer{padding:16px 20px;border-bottom:1px solid var(--border)}.cart-customer label{font-size:12px;margin:0}.cart-customer select{font-size:13px;min-height:44px}.cart-items{max-height:360px;overflow:auto;min-height:160px;padding:0 20px}.cart-item{padding:16px 0;border-bottom:1px solid var(--border)}.cart-item-title{display:flex;justify-content:space-between;gap:12px;align-items:start;font-size:13px}.cart-item-title strong{font-weight:600}.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.stepper{display:flex;gap:6px;align-items:center}.stepper button{padding:0;width:40px;min-height:40px;display:grid;place-items:center}.stepper svg{width:16px;height:16px}.stepper input{width:65px;min-height:40px;text-align:center;padding:4px;font-size:13px;margin:0}.cart-item small{font-size:12px}.empty{text-align:center;padding:36px 20px;color:var(--muted)}.empty svg{width:38px;height:38px;margin-bottom:12px;color:#94a3b8}.empty p{font-size:13px;max-width:230px;margin:0 auto}.empty strong{display:block;color:#475569;font-size:14px;margin-bottom:7px}.cart-totals{padding:18px 20px;background:#fafcff}.total-line{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:10px;color:var(--muted)}.total-line.grand{font-size:22px;font-weight:700;color:var(--text);border-top:1px solid var(--border);padding-top:16px;margin-top:16px}.cart-pay{padding:0 20px 20px;background:#fafcff}.cart-pay .success{height:58px;width:100%;font-size:16px;justify-content:space-between}.cart-pay kbd{font-size:11px;background:#047857;padding:4px 7px;border-radius:4px}.cart-pay>small{display:block;text-align:center;font-size:11px;margin-top:12px}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:20px}.panel h2{font-size:19px}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:#fff}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f8fafc;color:var(--muted);font-weight:600;padding:14px 16px;white-space:nowrap}td{padding:14px 16px;border-top:1px solid var(--border)}td strong{font-weight:600}td small{display:block;font-size:11px;margin-top:5px}.number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}td .actions{display:flex;gap:6px;justify-content:flex-end}td button{font-size:12px;min-height:40px;padding:8px 10px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--border);border-radius:10px;padding:22px}.metric span{display:block;color:var(--muted);font-size:13px;margin-bottom:12px}.metric strong{font-size:27px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.metric small{display:block;margin-top:8px;font-size:12px}.metric.profit{border-top:3px solid var(--success)}.metric.profit strong{color:var(--success)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.inline-form label{margin:0;flex:1;min-width:140px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:14px}.help{font-size:12px;color:var(--muted);line-height:1.5}.payment-total{background:#eff6ff;border-radius:10px;padding:20px;margin-bottom:20px}.payment-total span{font-size:13px;color:#475569;display:block}.payment-total strong{font-size:32px;letter-spacing:-1px;display:block;margin-top:4px}.payment-change{display:flex;justify-content:space-between;background:#ecfdf5;border-radius:8px;padding:16px;color:#047857;margin:16px 0}.checkbox-label{display:flex;align-items:center;gap:10px;font-weight:400}.network-banner{background:#fef2f2;color:#991b1b;padding:12px 24px;text-align:center;font-size:13px}.notice{margin:18px 32px 0;padding:14px 18px;border-radius:8px;border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46;font-size:14px}.notice.error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.app-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:14px 32px;color:var(--muted);font-size:11px}dialog{border:1px solid var(--border);border-radius:16px;padding:24px;width:min(550px,calc(100% - 32px));max-height:90dvh;overflow:auto;color:var(--text);box-shadow:0 24px 70px #0f172a33}dialog::backdrop{background:#0f172a77}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-heading h2{font-size:22px;margin:0}.modal-heading button{border:0;font-size:26px;color:var(--muted)}.receipt-heading{text-align:center;padding:8px 0 20px}.receipt-heading strong{font-size:24px}.receipt-heading p{margin:8px 0;font-size:13px}.receipt-line{display:flex;justify-content:space-between;gap:20px;font-size:13px;padding:10px 0;border-bottom:1px solid var(--border)}#print-area{display:none}.loading{padding:70px 20px;text-align:center;color:var(--muted)}
@media(min-width:1600px){.page-content{padding:36px 48px}.pos-layout{grid-template-columns:minmax(0,1fr) 390px;gap:32px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.product-card{min-height:215px;padding:20px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:26px 12px 12px}.sidebar kbd{display:none}.page-content{padding:24px}.pos-layout{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.topbar{padding:18px 24px}.metric-grid{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}.product-card{padding:12px}.login-brand{padding:40px}.topbar-right{gap:8px}}
@media(max-width:850px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:14px 20px;display:grid;grid-template-columns:auto 1fr;gap:12px}.sidebar>.wordmark{margin:0;font-size:26px}.sidebar .wordmark span{font-size:9px;margin-top:7px}.company-tag,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;justify-content:flex-end;gap:3px}.sidebar nav a{font-size:0;min-width:48px;justify-content:center;padding:10px}.sidebar nav a svg{width:24px}.topbar{min-height:64px}.page-content{padding:22px 20px}.pos-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.two-col{grid-template-columns:1fr}.login-brand{padding:32px}.login-story h1{font-size:42px}.login-form-wrap{padding:32px}.breadcrumb,.connection{display:none}.page-head h1{font-size:25px}.page-head-actions button{font-size:12px}.sidebar nav a:focus-visible{outline-offset:-3px}}
@media(max-width:650px){.pos-layout{grid-template-columns:1fr}.cart{position:static}.cart-items{max-height:280px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{min-height:180px}.page-head{align-items:start;flex-wrap:wrap}.page-head-actions{flex-wrap:wrap}.page-content{padding:20px 16px}.topbar{padding:16px}.topbar-right{gap:6px}.badge{font-size:10px;padding:5px}.app-footer{padding:14px 16px}.app-footer span:last-child{display:none}.metric-grid{gap:10px}.metric{padding:16px}.metric strong{font-size:23px}.form-grid{grid-template-columns:1fr}.login-view{grid-template-columns:1fr}.login-brand{padding:24px 28px}.login-story{margin:36px 0 12px}.login-story h1{font-size:38px;letter-spacing:-1px}.login-story p{font-size:15px}.login-illustration,.login-brand>small{display:none}.login-form-wrap{padding:32px 24px}.login-form-wrap h2{font-size:26px}.sidebar{padding:12px;gap:8px}.sidebar nav{justify-content:start}.sidebar>.wordmark{font-size:23px}.sidebar nav a{min-width:44px}.notice{margin:12px 16px 0}.table-wrap th,.table-wrap td{padding:12px}.panel{padding:18px}.network-banner{padding:10px 16px}}
#mobile-logout{display:none}
.wordmark{display:flex;align-items:center;gap:10px}.wordmark img{object-fit:contain;background:#fff;border-radius:10px;padding:3px;flex-shrink:0}.login-company{border-left:3px solid var(--primary);padding:10px 14px;margin-bottom:24px;background:#eff6ff}.login-company small,.login-company strong{display:block}.login-company small{font-size:12px;margin-bottom:5px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.checkout-main{background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px}.checkout-balance{border-bottom:1px solid var(--border);margin-bottom:26px;padding-bottom:22px}.checkout-balance>span{font-size:14px;color:var(--muted)}.checkout-balance>strong{display:block;font-size:42px;letter-spacing:-1px;margin:8px 0 12px;font-variant-numeric:tabular-nums}.checkout-balance p{margin:0;color:var(--muted);font-size:14px}.checkout-main h2{font-size:19px}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.payment-methods button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:20px;min-height:130px;border-radius:10px}.payment-methods button:hover{border-color:var(--primary);background:#eff6ff}.payment-methods svg{width:30px;height:30px;color:var(--primary);margin-bottom:5px}.payment-methods strong{font-size:16px}.payment-methods small{font-size:12px;font-weight:400}.payment-entry-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.payment-entry-head h2{margin:0}.payment-entry-head button{font-size:13px;min-height:40px}.checkout-summary{position:sticky;top:20px}.checkout-summary h3{margin-top:24px;margin-bottom:14px}.pending-payment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}.pending-payment strong,.pending-payment small,.pending-payment span{display:block}.pending-payment strong{font-size:13px}.pending-payment small{font-size:11px;overflow-wrap:anywhere;margin-top:5px;line-height:1.5}.pending-payment span{margin-top:7px;font-size:15px;font-weight:600}.pending-payment button{font-size:11px;padding:8px;min-height:40px;color:var(--danger)}.checkout-ready{display:flex;gap:14px;padding:18px;background:#ecfdf5;border-radius:10px;color:#047857;margin-bottom:24px}.checkout-ready strong{font-size:15px}.checkout-ready p{font-size:13px;margin:5px 0 0}.receipt-heading>strong{display:block}.receipt-logo{display:block;object-fit:contain;margin:0 auto 12px}.receipt-qr{display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px;padding:18px 0}.receipt-qr img{object-fit:contain;image-rendering:pixelated}.receipt-qr strong{font-size:13px}.receipt-qr a{font-size:12px}.receipt-qr small{font-size:10px;line-height:1.4}.receipt-payment-detail{display:block;font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1150px){.sidebar>.wordmark{font-size:29px}.sidebar .wordmark img{width:36px;height:36px}.checkout-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.checkout-main{padding:22px}.payment-methods button{padding:16px}}
@media(max-width:850px){.sidebar .wordmark img{width:30px;height:30px}.sidebar>.wordmark{font-size:25px;gap:6px}.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}.checkout-main{padding:24px}}
@media(max-width:650px){.sidebar>.wordmark{font-size:23px}.form-grid{grid-template-columns:1fr}.checkout-main{padding:18px}.payment-methods{gap:10px}.payment-methods button{padding:16px;min-height:120px}.payment-methods strong{font-size:14px}.checkout-balance>strong{font-size:36px}.login-brand .wordmark img{width:50px;height:50px}}
@media(max-width:850px){#mobile-logout{display:inline-flex}}
@media print{body>*{display:none!important}body>#print-area{display:block!important;width:80mm;color:#000;font-size:12px;background:#fff;padding:4mm}body>#print-area.report-print{width:100%;max-width:190mm;padding:10mm}#print-area h2{font-size:18px}#print-area .receipt-line{border-color:#777}#print-area .receipt-heading{padding-bottom:10px}@page{margin:0} }
.report-toolbar{padding:18px 24px}.report-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.report-presets span{font-size:13px;font-weight:600;color:var(--muted);margin-right:4px}.report-presets button{min-height:44px;padding:8px 14px;font-size:13px}.report-presets button.active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;gap:14px;align-items:end}.report-filter-grid label{margin:0;font-size:13px}.report-filter-actions{display:flex;gap:8px;align-items:center}.ghost-button{background:#f8fafc;color:#475569;border-color:#cbd5e1}.ghost-button:hover{background:#e2e8f0;color:#0f172a}.report-focal{border-top:3px solid var(--primary)}.report-focal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:18px}.report-focal-head h2{margin-bottom:6px}.report-focal-head p{margin:0}.report-context-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.composition-bar-wrap{background:#f8fafc;border:1px solid var(--border);border-radius:10px;padding:16px 18px;margin-bottom:22px}.composition-bar{display:flex;width:100%;height:26px;border-radius:8px;overflow:hidden;background:#e2e8f0;border:1px solid #cbd5e1}.composition-bar.empty-bar{background:#f1f5f9}.comp-segment{height:100%;border-right:2px solid #fff;transition:opacity 160ms ease-out}.comp-segment:last-child{border-right:0}.comp-cost{background:#475569}.comp-profit{background:#047857}.comp-tax{background:#b45309}.comp-sales{background:#2563eb}.comp-empty{background:#cbd5e1;width:100%}.composition-legend{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:12px;font-size:13px;color:#334155}.composition-legend span{display:inline-flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.swatch{width:12px;height:12px;border-radius:3px;display:inline-block;flex-shrink:0}.swatch-cost{background:#475569}.swatch-profit{background:#047857}.swatch-tax{background:#b45309}.swatch-sales{background:#2563eb}.metric-grid-6{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.metric-compare{margin-top:10px;padding-top:10px;border-top:1px solid #f1f5f9;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.profit-text{color:#047857;font-weight:700}.report-analytics-grid{align-items:start;margin-bottom:20px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}.section-head h2{margin-bottom:4px}.section-head p{margin:0}.chart-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.segmented-control{display:inline-flex;background:#f1f5f9;padding:3px;border-radius:8px;border:1px solid var(--border);gap:2px}.segmented-control button{min-height:40px;padding:6px 12px;font-size:12px;border:0;background:transparent;color:#475569;border-radius:6px}.segmented-control button:hover{background:#e2e8f0;color:#0f172a}.segmented-control button.active{background:#fff;color:var(--primary);box-shadow:0 1px 2px #0f172a14}.chip-toggle{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#334155;margin:0;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:#f8fafc;min-height:44px;cursor:pointer}.chip-toggle input{margin:0;width:18px;height:18px;min-height:18px}.mini-button{min-height:44px;padding:6px 12px;font-size:12px}.chart-summary-strip{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 14px;background:#f8fafc;border:1px solid var(--border);border-radius:8px;margin-bottom:14px;font-size:12px;color:#334155}.chart-legend-inline{display:inline-flex;flex-wrap:wrap;gap:12px;align-items:center;font-weight:600}.chart-legend-inline span{display:inline-flex;align-items:center;gap:6px}.timeline-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:8px;align-items:end;min-height:228px;padding:16px 12px 12px;background:#f8fafc;border:1px solid var(--border);border-radius:10px;overflow-x:auto}.timeline-col{display:flex;flex-direction:column;align-items:center;min-width:44px;padding:6px 4px;border-radius:8px;transition:background-color 140ms ease-out}.timeline-col:hover,.timeline-col:focus-visible{background:#eff6ff;outline:0}.timeline-col:focus-visible{box-shadow:0 0 0 2px #2563eb}.timeline-val{font-size:11px;font-weight:600;color:#334155;font-variant-numeric:tabular-nums;margin-bottom:6px;white-space:nowrap}.timeline-bars{height:136px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:0 2px;border-bottom:1px solid #cbd5e1}.vbar{flex:1;max-width:14px;min-width:6px;border-radius:4px 4px 0 0;transform-origin:bottom;transition:transform 160ms ease-out,opacity 160ms ease-out}.vbar-sales{background:#2563eb}.vbar-cost{background:#475569}.vbar-profit{background:#047857}.timeline-label{font-size:11px;font-weight:600;color:#334155;margin-top:7px;font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-sub{font-size:10px;color:var(--muted);margin-top:2px;font-variant-numeric:tabular-nums}.report-empty-state{padding:28px 16px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;color:var(--muted)}.report-empty-state strong{display:block;color:#334155;margin-bottom:6px;font-size:14px}.report-empty-state p{margin:0;font-size:13px}.cash-vs-digital{background:#f8fafc;border:1px solid var(--border);border-radius:10px;padding:14px 16px;margin-bottom:16px}.cvd-labels{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:10px;font-variant-numeric:tabular-nums}.hbar-list{display:flex;flex-direction:column;gap:12px}.hbar-item{padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff}.category-bar-item.active{border-color:#2563eb;background:#eff6ff}.hbar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}.hbar-title{display:flex;flex-direction:column;gap:2px}.hbar-title strong{font-size:14px}.hbar-title small{font-size:12px}.hbar-amount{font-size:14px;font-variant-numeric:tabular-nums}.hbar-actions{display:flex;align-items:center;gap:8px}.hbar-track{width:100%;height:10px;background:#f1f5f9;border-radius:999px;overflow:hidden;border:1px solid #e2e8f0}.hbar-fill{height:100%;border-radius:999px;transform-origin:left;transition:transform 160ms ease-out,opacity 160ms ease-out}.sales-fill{background:#2563eb}.profit-fill{background:#047857}.dual-bar-group{display:flex;flex-direction:column;gap:6px}.dual-bar-row{display:grid;grid-template-columns:58px minmax(0,1fr) 108px;align-items:center;gap:10px;font-size:12px}.dual-bar-row span{color:var(--muted);font-weight:600}.dual-bar-row small{text-align:right;font-variant-numeric:tabular-nums}.sub-heading{font-size:15px;margin:18px 0 6px}.hourly-strip{display:flex;flex-direction:column;gap:8px;margin-top:10px}.hourly-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 12px;background:#f8fafc;border:1px solid var(--border);border-radius:8px;font-size:12px}.hourly-time{font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.hourly-meta{font-variant-numeric:tabular-nums;color:#334155;text-align:right;white-space:nowrap}.product-table-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.product-table-controls input{width:220px;min-height:44px;font-size:13px}.product-table-controls select{width:190px;min-height:44px;font-size:13px}.mini-bar-track{width:84px;height:6px;background:#f1f5f9;border-radius:999px;overflow:hidden;margin-left:auto;margin-top:5px}.mini-bar-fill{display:block;height:100%;border-radius:999px}.inv-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.inv-stat{background:#f8fafc;border:1px solid var(--border);border-radius:10px;padding:14px}.inv-stat.profit-stat{background:#ecfdf5;border-color:#a7f3d0}.inv-stat span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.inv-stat strong{display:block;font-size:18px;font-variant-numeric:tabular-nums}.inv-stat.profit-stat strong{color:#047857}.inv-stat small{display:block;margin-top:4px;font-size:11px}
@media(max-width:1150px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid-6{grid-template-columns:repeat(2,minmax(0,1fr))}.inv-summary-grid{grid-template-columns:1fr}}
@media(max-width:850px){.product-table-controls{width:100%}.product-table-controls input,.product-table-controls select{flex:1;min-width:140px}}
@media(max-width:650px){.report-toolbar{padding:14px}.report-filter-grid{grid-template-columns:1fr}.report-filter-actions{width:100%}.report-filter-actions button{flex:1}.metric-grid-6{grid-template-columns:1fr}.dual-bar-row{grid-template-columns:50px minmax(0,1fr) 92px}.hourly-row{grid-template-columns:1fr;gap:6px}.hourly-meta{text-align:left}.segmented-control{flex-wrap:wrap;width:100%}.segmented-control button{flex:1}}
@media(prefers-reduced-motion:reduce){.comp-segment,.vbar,.hbar-fill,.timeline-col{transition:none!important}}
dialog{width:min(640px,calc(100% - 32px))}.product-visual.has-image{padding:0;overflow:hidden;border:1px solid var(--border);background:#fff}.product-visual.has-image img{width:100%;height:100%;object-fit:cover;display:block}.inventory-product-cell{display:flex;align-items:center;gap:12px;min-width:0}.inventory-thumb{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;flex-shrink:0;overflow:hidden;border:1px solid #dbeafe}.inventory-thumb[data-category="Bebidas"]{background:#ecfeff;color:#0e7490;border-color:#cffafe}.inventory-thumb[data-category="Lácteos"]{background:#f0fdfa;color:#0f766e;border-color:#ccfbf1}.inventory-thumb.has-image{background:#fff;border-color:var(--border)}.inventory-thumb.has-image img{width:100%;height:100%;object-fit:cover;display:block}.product-image-field{display:flex;align-items:center;gap:16px;padding:14px 16px;background:#f8fafc;border:1px solid var(--border);border-radius:12px;margin-bottom:18px}.product-image-preview-box{width:76px;height:76px;border-radius:12px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;flex-shrink:0;overflow:hidden}.product-image-preview-box svg{width:30px;height:30px}.product-image-preview-box.has-image{background:#fff;border-color:var(--border)}.product-image-preview-box.has-image img{width:100%;height:100%;object-fit:cover;display:block}.product-image-controls{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.product-image-controls strong{font-size:14px}.product-image-controls .help{margin:0}.product-image-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.product-image-buttons button{display:inline-flex;align-items:center;gap:8px;font-size:13px;padding:8px 14px}.product-movements-panel{margin:8px 0 18px;padding:16px;background:#f8fafc;border:1px solid var(--border);border-radius:12px}.product-movements-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}.product-movements-head h3{font-size:16px;margin:0 0 2px}.product-movements-head .help{margin:0}.stock-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.stock-stat{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px}.stock-stat span{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:4px}.stock-stat strong{display:block;font-size:20px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.stock-stat small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.stock-stat.entry{border-top:3px solid var(--success)}.stock-stat.entry strong{color:#047857}.stock-stat.sold{border-top:3px solid var(--primary)}.stock-stat.sold strong{color:#1d4ed8}.stock-stat.adjust{border-top:3px solid var(--warning)}.stock-stat.adjust strong{color:#b45309}.stock-stat.current{border-top:3px solid #0f172a}.badge.sale-badge{background:#dbeafe;color:#1e40af}.compact-movements{max-height:220px;overflow-y:auto}.stock-modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--border)}.stock-adjust-form{background:#f8fafc;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:18px}.stock-adjust-form h3{font-size:16px;margin:0 0 12px}.stock-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.stock-history-head h3{margin:0;font-size:16px}
@media(max-width:650px){.product-image-field{flex-direction:column;align-items:flex-start}.stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-history-head{flex-direction:column;align-items:stretch}}
#cash-status{cursor:pointer}.pos-cash-alert{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px;margin-bottom:20px;background:#fffbeb;border:1px solid #fcd34d;border-left:4px solid #d97706;border-radius:10px;color:#92400e}.pos-cash-alert-text{display:flex;align-items:center;gap:12px}.pos-cash-alert-text svg{width:24px;height:24px;color:#b45309}.pos-cash-alert-text strong{display:block;font-size:14px;color:#78350f;margin-bottom:2px}.pos-cash-alert-text span{display:block;font-size:13px;color:#92400e}.cart-blocker{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;margin-bottom:12px;border-radius:10px;border:1px solid var(--border);background:#f8fafc;color:#334155}.cart-blocker.tone-warning{background:#fffbeb;border-color:#fcd34d;color:#92400e}.cart-blocker.tone-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}.cart-blocker-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:150px}.cart-blocker-copy strong{font-size:13px;line-height:1.35;color:inherit}.cart-blocker-copy span{font-size:12px;line-height:1.4;color:inherit}.cart-pay #checkout{height:58px;width:100%;font-size:15px;justify-content:space-between;display:inline-flex;align-items:center;gap:10px}.checkout-btn.is-blocked{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}.checkout-btn.is-blocked:hover{background:#e2e8f0}.checkout-btn.is-blocked kbd{background:#475569;color:#fff;padding:4px 7px;border-radius:4px;font-size:11px}.checkout-btn.is-blocked.tone-warning{background:#fffbeb;color:#92400e;border:1px solid #f59e0b}.checkout-btn.is-blocked.tone-warning:hover{background:#fef3c7}.checkout-btn.is-blocked.tone-warning kbd{background:#b45309;color:#fff}.checkout-btn.is-blocked.tone-danger{background:#fef2f2;color:#991b1b;border:1px solid #f87171}.checkout-btn.is-blocked.tone-danger kbd{background:#991b1b;color:#fff}

.cart-customer-control{display:flex;align-items:end;gap:8px}.cart-customer-control>label{flex:1;min-width:0;margin:0}.cart-customer-control>button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:44px;padding:8px 10px;font-size:12px;color:var(--primary);border-color:#bfdbfe;background:#eff6ff}.cart-customer-control>button:hover{background:#dbeafe}.cart-customer-control>button span{font-size:19px;line-height:1}@media(max-width:380px){.cart-customer-control>button{font-size:0;min-width:44px}.cart-customer-control>button span{font-size:20px}}

.customer-invoice-toggle{border:1px solid var(--border);border-radius:10px;padding:12px 14px;margin:0 0 16px}.customer-invoice-toggle legend{padding:0 6px;font-size:13px;font-weight:700}.customer-invoice-toggle label{display:flex;align-items:center;gap:8px;margin:8px 0 0;font-size:13px;font-weight:500}.customer-invoice-toggle input[type=radio]{width:18px;min-height:18px;margin:0;accent-color:var(--primary)}#electronic-customer-fields{padding-top:4px}#natural-customer-fields[hidden],#legal-customer-fields[hidden]{display:none!important}
