:root{--mes-bg: #0f172a;--mes-surface: #1e293b;--mes-border: #334155;--mes-text: #f1f5f9;--mes-muted: #94a3b8;--mes-primary: #3b82f6;--mes-success: #22c55e;--mes-warning: #f59e0b;--mes-danger: #ef4444;--mes-radius: 14px;--mes-touch: 64px}.mes-root{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--mes-bg);color:var(--mes-text);display:flex;flex-direction:column;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:16px;overflow:hidden;z-index:9000;-webkit-user-select:none;user-select:none}.mes-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:var(--mes-surface);border-bottom:1px solid var(--mes-border);flex-shrink:0;gap:12px}.mes-topbar-logo{display:flex;align-items:center;gap:10px}.mes-topbar-logo span{font-size:1rem;font-weight:700;color:var(--mes-primary);letter-spacing:.03em}.mes-topbar-info{display:flex;align-items:center;gap:16px}.mes-operator-chip{display:flex;align-items:center;gap:6px;padding:6px 14px;background:#1e3a5f;border-radius:20px;font-size:.85rem;font-weight:600;color:#93c5fd}.mes-clock{font-size:1.1rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--mes-muted);letter-spacing:.05em}.mes-exit-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#1e293b;border:1px solid var(--mes-border);border-radius:10px;color:var(--mes-muted);font-size:.85rem;cursor:pointer;transition:background .15s,color .15s}.mes-exit-btn:hover{background:#334155;color:var(--mes-text)}.mes-content{flex:1;overflow-y:auto;display:flex;flex-direction:column}.mes-operator-phase{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:24px}.mes-phase-title{font-size:1.4rem;font-weight:700;color:var(--mes-text);text-align:center}.mes-phase-subtitle{font-size:.95rem;color:var(--mes-muted);text-align:center}.mes-operator-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;width:100%;max-width:900px}.mes-operator-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:var(--mes-touch);padding:16px 12px;background:var(--mes-surface);border:2px solid var(--mes-border);border-radius:var(--mes-radius);color:var(--mes-text);font-size:.9rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s;text-align:center}.mes-operator-btn:hover,.mes-operator-btn:active{border-color:var(--mes-primary);background:#1e3a5f}.mes-operator-avatar{width:44px;height:44px;border-radius:50%;background:#334155;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;color:#93c5fd}.mes-anon-btn{border-style:dashed;color:var(--mes-muted)}.mes-order-phase{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:24px}.mes-order-input-card{width:100%;max-width:520px;background:var(--mes-surface);border:1px solid var(--mes-border);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:20px}.mes-order-input-label{font-size:1rem;font-weight:600;color:var(--mes-muted);text-align:center}.mes-order-input{width:100%;padding:18px 20px;background:#0f172a;border:2px solid var(--mes-border);border-radius:12px;color:var(--mes-text);font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums;text-align:center;letter-spacing:.08em;outline:none;transition:border-color .15s}.mes-order-input:focus{border-color:var(--mes-primary)}.mes-order-input::placeholder{color:#475569;font-weight:400;letter-spacing:0}.mes-load-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:var(--mes-touch);background:var(--mes-primary);border:none;border-radius:12px;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;transition:opacity .15s}.mes-load-btn:hover{opacity:.9}.mes-load-btn:disabled{opacity:.4;cursor:default}.mes-error-msg{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#450a0a;border:1px solid #b91c1c;border-radius:10px;font-size:.9rem;color:#fca5a5}.mes-order-view{flex:1;display:flex;flex-direction:column;overflow:hidden}.mes-order-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--mes-surface);border-bottom:1px solid var(--mes-border);flex-shrink:0;flex-wrap:wrap;gap:12px}.mes-order-id{font-size:1.4rem;font-weight:800;color:var(--mes-text);letter-spacing:.04em}.mes-order-status{display:flex;align-items:center;gap:8px}.mes-status-dot{width:12px;height:12px;border-radius:50%}.mes-status-dot.is-pulse{animation:mes-pulse 1.5s ease-in-out infinite}@keyframes mes-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.8)}}.mes-status-label{font-size:.9rem;font-weight:600;color:var(--mes-muted)}.mes-order-meta{display:flex;gap:20px;flex-wrap:wrap}.mes-meta-item{display:flex;flex-direction:column;gap:2px}.mes-meta-item span{font-size:.7rem;color:var(--mes-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}.mes-meta-item strong{font-size:.95rem;font-weight:700;color:var(--mes-text)}.mes-stop-banner{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#451a03;border-bottom:2px solid var(--mes-warning);flex-shrink:0;gap:12px;flex-wrap:wrap}.mes-stop-banner-info{display:flex;align-items:center;gap:10px;font-size:.95rem;color:#fbbf24}.mes-stop-banner-info strong{font-weight:700}.mes-stop-close-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:var(--mes-warning);border:none;border-radius:10px;color:#1c1400;font-size:.9rem;font-weight:700;cursor:pointer;min-height:44px}.mes-steps{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.mes-step-card{background:var(--mes-surface);border:2px solid var(--mes-border);border-radius:var(--mes-radius);padding:16px 18px;display:flex;align-items:center;gap:14px;transition:border-color .15s}.mes-step-card.is-active{border-color:var(--mes-primary);background:#0c1929}.mes-step-card.is-done{opacity:.55}.mes-step-card.is-skipped{opacity:.35;border-style:dashed}.mes-step-num{width:40px;height:40px;border-radius:50%;background:#334155;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;color:var(--mes-muted);flex-shrink:0}.mes-step-card.is-active .mes-step-num{background:var(--mes-primary);color:#fff}.mes-step-card.is-done .mes-step-num{background:var(--mes-success);color:#fff}.mes-step-info{flex:1;min-width:0}.mes-step-name{font-size:1rem;font-weight:700;color:var(--mes-text)}.mes-step-resource{font-size:.8rem;color:var(--mes-muted);margin-top:2px}.mes-step-timer{font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--mes-primary);letter-spacing:.05em;flex-shrink:0}.mes-step-est{font-size:.75rem;color:var(--mes-muted);text-align:right}.mes-step-actions{display:flex;gap:8px;flex-shrink:0}.mes-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:var(--mes-touch);padding:0 22px;border-radius:12px;border:none;font-size:.95rem;font-weight:700;cursor:pointer;transition:opacity .1s,transform .1s;white-space:nowrap}.mes-btn:active{transform:scale(.97)}.mes-btn:disabled{opacity:.35;cursor:default}.mes-btn-start{background:var(--mes-primary);color:#fff}.mes-btn-done{background:var(--mes-success);color:#fff}.mes-btn-skip{background:#334155;color:var(--mes-muted);padding:0 14px}.mes-btn-stop{background:var(--mes-warning);color:#1c1400}.mes-btn-danger{background:var(--mes-danger);color:#fff}.mes-btn-secondary{background:#334155;color:var(--mes-text)}.mes-btn-icon{height:var(--mes-touch);width:var(--mes-touch);padding:0}.mes-bottom-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:var(--mes-surface);border-top:1px solid var(--mes-border);flex-shrink:0;gap:12px;flex-wrap:wrap}.mes-bottom-order-info{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--mes-muted)}.mes-bottom-actions{display:flex;gap:10px;align-items:center}.mes-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000bf;display:flex;align-items:flex-end;justify-content:center;z-index:9100;padding:0}.mes-modal{background:var(--mes-surface);border:1px solid var(--mes-border);border-radius:20px 20px 0 0;width:100%;max-width:600px;padding:24px;display:flex;flex-direction:column;gap:16px;max-height:80vh;overflow-y:auto}.mes-modal-title{font-size:1.1rem;font-weight:800;color:var(--mes-text);text-align:center}.mes-modal-subtitle{font-size:.85rem;color:var(--mes-muted);text-align:center;margin-top:-8px}.mes-reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mes-reason-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:80px;background:#0f172a;border:2px solid var(--mes-border);border-radius:12px;color:var(--mes-text);font-size:.9rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s;padding:10px;text-align:center}.mes-reason-btn:hover,.mes-reason-btn.is-selected{border-color:var(--mes-warning);background:#1c1200;color:#fbbf24}.mes-minutes-row{display:flex;flex-direction:column;gap:8px}.mes-minutes-label{font-size:.9rem;color:var(--mes-muted);text-align:center}.mes-minutes-input{width:100%;padding:18px;background:#0f172a;border:2px solid var(--mes-border);border-radius:12px;color:var(--mes-text);font-size:2rem;font-weight:800;text-align:center;font-variant-numeric:tabular-nums;outline:none}.mes-minutes-input:focus{border-color:var(--mes-primary)}.mes-notes-input{width:100%;padding:14px 16px;background:#0f172a;border:2px solid var(--mes-border);border-radius:12px;color:var(--mes-text);font-size:.95rem;resize:none;outline:none;font-family:inherit}.mes-notes-input:focus{border-color:var(--mes-primary)}.mes-modal-actions{display:flex;gap:10px}.mes-modal-actions .mes-btn{flex:1}.mes-qr-modal{display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0}.mes-qr-number{font-size:1.2rem;font-weight:800;color:#1e293b;letter-spacing:.06em}.mes-qr-url{font-size:.72rem;color:#94a3b8;word-break:break-all;text-align:center}.mes-all-done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--mes-success)}.mes-all-done-icon{font-size:5rem;animation:mes-bounce .6s ease}@keyframes mes-bounce{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.mes-all-done-text{font-size:1.4rem;font-weight:800;color:var(--mes-success)}.mes-all-done-sub{font-size:.95rem;color:var(--mes-muted)}.mes-spinner{flex:1;display:flex;align-items:center;justify-content:center;color:var(--mes-muted);font-size:1rem;gap:12px}.mes-spin{width:28px;height:28px;border:3px solid #334155;border-top-color:var(--mes-primary);border-radius:50%;animation:mes-rotate .8s linear infinite}@keyframes mes-rotate{to{transform:rotate(360deg)}}.mes-root,.mes-root *{min-width:0}@media (max-width: 1024px){.mes-operator-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.mes-order-header{align-items:flex-start}.mes-order-meta{width:100%}.mes-step-card{align-items:flex-start;flex-wrap:wrap}.mes-step-actions{margin-left:54px}}@media (max-width: 720px){:root{--mes-touch: 52px}.mes-root{font-size:15px;overflow:hidden}.mes-topbar{align-items:stretch;flex-direction:column;padding:10px 12px}.mes-topbar-logo,.mes-topbar-info{justify-content:space-between;width:100%}.mes-topbar-info{gap:8px}.mes-operator-chip{max-width:42vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mes-clock{font-size:.95rem}.mes-exit-btn{min-height:40px;padding-inline:12px}.mes-content{overflow-x:hidden}.mes-operator-phase,.mes-order-phase{justify-content:flex-start;padding:22px 14px}.mes-phase-title{font-size:1.2rem}.mes-operator-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mes-operator-btn{min-height:112px;padding:14px 8px}.mes-order-input-card{max-width:100%;padding:22px 16px;border-radius:16px}.mes-order-input{font-size:1.2rem;padding:15px 12px}.mes-order-header{padding:12px}.mes-order-header>div:first-child{width:100%}.mes-order-id{font-size:1.1rem;overflow-wrap:anywhere}.mes-order-status,.mes-order-meta{width:100%}.mes-order-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mes-stop-banner,.mes-bottom-bar{align-items:stretch;flex-direction:column;padding:12px}.mes-stop-close-btn,.mes-bottom-actions,.mes-bottom-actions .mes-btn{width:100%}.mes-steps{padding:12px}.mes-step-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px 12px;padding:14px}.mes-step-timer,.mes-step-actions{grid-column:1 / -1;margin-left:0;width:100%}.mes-step-timer{font-size:1.25rem;text-align:center}.mes-step-actions{display:grid;grid-template-columns:1fr auto}.mes-step-actions .mes-btn:not(.mes-btn-icon){width:100%}.mes-modal-backdrop{align-items:flex-end;padding:0 8px}.mes-modal{max-height:calc(100dvh - 16px);padding:18px}.mes-reason-grid{grid-template-columns:1fr}.mes-modal-actions{flex-direction:column-reverse}}@media (max-width: 420px){.mes-operator-grid,.mes-order-meta,.mes-step-actions{grid-template-columns:1fr}.mes-topbar-info{flex-wrap:wrap}.mes-operator-chip{max-width:100%}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}:root{color:#172033;background:#f4f8fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-size:14px;font-weight:400}button,input,select{font:inherit}h1,h2,h3,h4,h5,h6,strong,b{font-weight:400}button{cursor:pointer}input,select{min-width:0}.login-shell{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);min-height:100vh;background:radial-gradient(circle at top left,rgba(14,165,233,.14),transparent 34rem),linear-gradient(135deg,#f0f7ff,#e8f3fc 55%,#f5f9ff)}.login-visual{position:relative;overflow:hidden;display:flex;flex-direction:column}.lv-slides{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.lv-slide{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s ease}.lv-slide.is-active{opacity:1}.lv-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,transparent 28%),linear-gradient(0deg,rgba(0,0,0,.55) 0%,transparent 42%)}.lv-content{position:relative;z-index:2;display:flex;flex-direction:column;height:100%;padding:44px 52px 48px}.login-visual--slides .lv-bottom{margin-top:auto;background:#00000047;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:20px 22px 18px}.lv-bottom{margin-top:auto;flex-shrink:0}.login-visual--slides .login-logo{display:inline-flex;align-self:flex-start;background:#00000040;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:7px 14px 7px 8px}.login-logo{display:flex;align-items:center;gap:10px}.login-logo-text{display:flex;flex-direction:column;line-height:1}.login-logo-text strong{font-size:1.05rem;font-weight:700;color:#0f172a;letter-spacing:.04em}.login-logo-text small{font-size:.6rem;font-weight:600;color:#64748b;letter-spacing:.18em;text-transform:uppercase}.login-features{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.login-feature{display:flex;align-items:center;gap:10px}.login-feature>svg{flex-shrink:0}.login-feature>div{display:flex;flex-direction:column;gap:1px}.login-feature>div strong{font-size:.8rem;font-weight:600;color:#0f172a}.login-feature>div span{font-size:.73rem;color:#64748b}.lv-headline{margin:0 0 8px;font-size:clamp(1.4rem,2.4vw,2.1rem);font-weight:800;line-height:1.15;color:#0f172a;letter-spacing:-.02em}.login-headline-accent{color:#0369a1}.lv-desc{margin:0 0 16px;color:#64748b;font-size:.84rem;line-height:1.55;max-width:420px}.lv-dots{display:flex;gap:6px;margin-bottom:10px}.lv-dot{width:22px;height:3px;border-radius:2px;border:none;background:#ffffff4d;cursor:pointer;padding:0;transition:background .25s,width .25s}.lv-dot.is-active{width:34px;background:#ffffffe6}.lv-caption{display:flex;flex-direction:column;gap:2px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15)}.lv-caption strong{font-size:.84rem;font-weight:700;color:#fff}.lv-caption span{font-size:.74rem;color:#ffffffb3}.login-panel{display:grid;place-items:center;padding:32px}.login-form{display:grid;width:min(100%,420px);gap:14px;border:1px solid #dce8f3;border-radius:12px;background:#fff;padding:32px 28px 24px}.login-form-icon{display:flex;justify-content:center;margin-bottom:4px}.login-form-heading{text-align:center;margin-bottom:4px}.login-form-heading h2{margin:0 0 5px;font-size:1.3rem;font-weight:700;color:#0f172a;letter-spacing:-.01em}.login-form-heading p{margin:0;font-size:.84rem;color:#64748b}.login-eye-btn{background:none;border:none;padding:0 2px;cursor:pointer;color:#94a3b8;display:flex;align-items:center;flex-shrink:0}.login-eye-btn:hover{color:#0369a1}.login-row-options{display:flex;align-items:center;justify-content:space-between;font-size:.82rem}.login-remember{display:flex;align-items:center;gap:6px;color:#374151;cursor:pointer;-webkit-user-select:none;user-select:none}.login-remember input[type=checkbox]{width:14px;height:14px;accent-color:#0369a1;cursor:pointer}.login-forgot{background:none;border:none;padding:0;font-size:.82rem;color:#0369a1;cursor:pointer;font-weight:500}.login-forgot:hover{text-decoration:underline}.login-action{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;height:42px;border:none;border-radius:8px;background:#0369a1;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s;margin-top:2px}.login-action:hover:not(:disabled){background:#0284c7}.login-action:disabled{opacity:.65;cursor:not-allowed}.login-divider{display:flex;align-items:center;gap:10px;font-size:.78rem;color:#94a3b8;margin:2px 0}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:#e2e8f0}.login-register{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;height:40px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:.88rem;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s}.login-register:hover{border-color:#0369a1;color:#0369a1}.login-copyright{margin:4px 0 0;text-align:center;font-size:.73rem;color:#94a3b8}.form-message-success{background:#dcfce7;border:1px solid #bbf7d0;color:#15803d}.otp-group{display:flex;gap:8px;justify-content:center;margin:4px 0}.otp-input{width:46px;height:52px;border:1.5px solid #d1d5db;border-radius:8px;background:#f8fafc;text-align:center;font-size:1.4rem;font-weight:700;color:#0f172a;outline:none;transition:border-color .15s}.otp-input:focus{border-color:#0369a1;background:#fff}.register-code-hint{margin:0;text-align:center;font-size:.82rem;color:#64748b}.register-steps-preview{display:flex;flex-direction:column;gap:16px;padding:8px 4px}.rsp-step{display:flex;align-items:flex-start;gap:14px}.rsp-num{width:28px;height:28px;border-radius:50%;background:#e0f2fe;color:#0369a1;font-size:.82rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.rsp-num-done{background:#dcfce7;color:#15803d}.rsp-step>div{display:flex;flex-direction:column;gap:2px}.rsp-step>div strong{font-size:.84rem;font-weight:600;color:#0f172a}.rsp-step>div span{font-size:.78rem;color:#64748b}.maintenance-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0f7ff,#e8f3fc)}.maintenance-card{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;background:#fff;border:1px solid #dce8f3;border-radius:16px;padding:48px 40px;max-width:440px;width:90%}.maintenance-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center}.maintenance-card h1{margin:0;font-size:1.4rem;font-weight:700;color:#0f172a}.maintenance-card p{margin:0;color:#64748b;font-size:.95rem;line-height:1.6}.login-slider{flex:1;margin:32px 0;position:relative;border-radius:14px;overflow:hidden;max-height:280px;min-height:160px;background:#e2e8f0}.login-slide{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;opacity:0;transition:opacity .8s ease}.login-slide.is-active{opacity:1}.login-slide-caption{position:absolute;bottom:0;left:0;right:0;padding:20px 16px 14px;background:linear-gradient(to top,rgba(0,0,0,.55),transparent);color:#fff;display:flex;flex-direction:column;gap:3px}.login-slide-caption strong{font-size:.9rem;font-weight:700}.login-slide-caption span{font-size:.75rem;opacity:.85}.login-slider-dots{position:absolute;bottom:10px;left:50%;transform:translate(-50%);display:flex;gap:6px;z-index:2}.slider-dot{width:7px;height:7px;border-radius:50%;border:none;background:#ffffff80;cursor:pointer;padding:0;transition:background .2s,transform .2s}.slider-dot.is-active{transform:scale(1.3)}.login-trial-badge{text-align:center;font-size:.77rem;font-weight:600;color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;padding:5px 14px}.doc-type-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.doc-type-toggle{display:flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden}.doc-type-btn{padding:2px 12px;border:none;background:#f8fafc;color:#64748b;font-size:.75rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s;letter-spacing:.03em}.doc-type-btn+.doc-type-btn{border-left:1px solid #d1d5db}.doc-type-btn.is-active{background:#0369a1;color:#fff}.register-plan-step{overflow-y:auto;max-height:90vh}.register-plan-list{display:flex;flex-direction:column;gap:10px}.register-plan-card{position:relative;width:100%;text-align:left;border:1.5px solid #e2e8f0;border-radius:10px;padding:14px 16px 12px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}.register-plan-card:hover{border-color:var(--plan-color, #0369a1);background:#f8fafc}.register-plan-card.is-selected{border-color:var(--plan-color, #0369a1);background:color-mix(in srgb,var(--plan-color, #0369a1) 6%,#fff)}.register-plan-badge{display:inline-block;font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--plan-color, #0369a1);color:#fff;margin-bottom:6px;letter-spacing:.04em}.register-plan-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.register-plan-name{font-size:.95rem;font-weight:700;color:#0f172a}.register-plan-price{display:flex;align-items:baseline;gap:3px;color:var(--plan-color, #0369a1)}.register-plan-price span{font-size:1.05rem;font-weight:700}.register-plan-price small{font-size:.75rem;color:#94a3b8}.register-plan-desc{margin:5px 0 0;font-size:.78rem;color:#64748b;line-height:1.4}.register-plan-check{position:absolute;top:12px;right:14px;width:20px;height:20px;border-radius:50%;border:1.5px solid #d1d5db;display:flex;align-items:center;justify-content:center;color:#fff;background:#fff;transition:background .15s,border-color .15s}.register-plan-card.is-selected .register-plan-check{background:var(--plan-color, #0369a1);border-color:var(--plan-color, #0369a1)}.reset-success-icon{width:72px;height:72px;border-radius:50%;background:#dcfce7;border:1px solid #bbf7d0;display:flex;align-items:center;justify-content:center;margin:0 auto}.field{display:grid;gap:6px;color:#334155;font-size:.86rem;font-weight:400}.form-fieldset{border:none;padding:0;margin:0;min-width:0}.form-fieldset--readonly{pointer-events:none}.form-fieldset--readonly .field-control{background:#f1f5f9;border-color:#e2ecf5;color:#334155}.form-fieldset--readonly .field-control input,.form-fieldset--readonly .field-control select,.form-fieldset--readonly .field-control textarea{color:#334155;cursor:default;-webkit-text-fill-color:#334155;opacity:1}.form-fieldset--readonly .field>span:first-child{color:#64748b;font-weight:600}.form-fieldset--readonly .switch-toggle{opacity:.7;cursor:default}.form-fieldset--readonly .photo-picker input[type=file]{display:none}.form-fieldset--readonly .tag-checkbox-item{cursor:default;opacity:.75}.view-mode-banner{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;font-size:.82rem;font-weight:600;margin-bottom:4px}.field-control{display:flex;align-items:center;gap:10px;height:34px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#64748b;padding:0 11px}.field-control:focus-within{border-color:#38bdf8}.field-control:has(>.searchable-select){padding:0;overflow:hidden}.field>.searchable-select{border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;height:34px}.field>.searchable-select:focus-within{border-color:#38bdf8}.field>.searchable-select .searchable-select-trigger{padding:0 11px}.field-control input,.field-control select{width:100%;border:0;outline:0;background:transparent;color:#172033}.field-control select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.field-control input:disabled,button:disabled{cursor:not-allowed;opacity:.58}.field-control-phone{padding:0}.phone-input{display:flex;align-items:center;width:100%;height:100%;position:relative}.phone-flag-btn{display:flex;align-items:center;gap:4px;height:100%;padding:0 8px 0 10px;background:#f0f6fd;border:none;border-right:1px solid #d7e6f2;border-radius:7px 0 0 7px;cursor:pointer;flex-shrink:0;white-space:nowrap}.phone-flag-btn:hover{background:#e2eefa}.phone-flag{font-size:1.1rem;line-height:1}.phone-dial{font-size:.75rem;font-weight:600;color:#374151}.phone-number-input{flex:1;border:none!important;outline:none!important;background:transparent;padding:0 10px;font-size:.875rem;color:#172033;min-width:0;height:100%}.phone-dropdown{z-index:9999;background:#fff;border:1px solid #d7e6f2;border-radius:8px;box-shadow:0 6px 24px #00000021;max-height:230px;overflow-y:auto;min-width:240px}.phone-option{display:flex;align-items:center;gap:8px;width:100%;padding:6px 12px;background:none;border:none;border-bottom:1px solid #f1f5f9;text-align:left;cursor:pointer;font-size:.82rem;color:#374151}.phone-option:last-child{border-bottom:none}.phone-option:hover{background:#f0f7ff}.phone-option.is-active{background:#dbeafe;font-weight:500}.phone-option-flag{font-size:1.1rem;flex-shrink:0;line-height:1}.phone-option-name{flex:1}.phone-option-dial{color:#6b7280;font-size:.75rem;font-weight:500}.searchable-select{position:relative;width:100%;height:100%}.searchable-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;height:100%;padding:0 10px;background:transparent;border:none;text-align:left;cursor:pointer;font-size:.875rem;color:#172033;min-width:0}.searchable-select.is-disabled .searchable-select-trigger{cursor:not-allowed;opacity:.6}.searchable-select-placeholder{color:#94a3b8;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select-icons{display:flex;align-items:center;gap:2px;flex-shrink:0;color:#94a3b8}.searchable-select-clear{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-size:1rem;line-height:1;color:#94a3b8;cursor:pointer}.searchable-select-clear:hover{color:#ef4444;background:#fee2e2}.searchable-select-dropdown{z-index:9999;background:#fff;border:1px solid #d7e6f2;border-radius:8px;box-shadow:0 6px 24px #00000021;display:flex;flex-direction:column;max-height:280px;overflow:hidden}.searchable-select-search{padding:8px 10px;border-bottom:1px solid #e8f0f8;flex-shrink:0}.searchable-select-search input{width:100%;border:1px solid #d7e6f2;border-radius:6px;padding:5px 9px;font-size:.82rem;background:#f8fafc;outline:none;color:#172033}.searchable-select-search input:focus{border-color:#3b82f6;background:#fff}.searchable-select-list{overflow-y:auto;flex:1}.searchable-select-option{display:block;width:100%;padding:7px 12px;background:none;border:none;border-bottom:1px solid #f1f5f9;text-align:left;cursor:pointer;font-size:.84rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchable-select-option:last-child{border-bottom:none}.searchable-select-option:hover{background:#f0f7ff}.searchable-select-option.is-active{background:#dbeafe;color:#1d4ed8;font-weight:500}.searchable-select-empty{padding:14px 12px;font-size:.82rem;color:#94a3b8;text-align:center}.field-hint{color:#64748b;font-size:.78rem;line-height:1.35}.form-message{margin:0;border-radius:8px;padding:11px 12px;font-size:.9rem;line-height:1.4}.form-message-error{border:1px solid #fecaca;background:#fff1f2;color:#be123c}.form-message-success{border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d}.form-message-info{border:1px solid #bae6fd;background:#eff6ff;color:#0369a1}.tenant-missing-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding:14px 16px;border-radius:10px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;font-size:.9rem;line-height:1.4}.tenant-missing-notice strong{display:block;width:100%;font-size:.95rem}.tenant-missing-notice span{flex:1}.app-shell{display:grid;grid-template-columns:264px minmax(0,1fr);height:100vh;overflow:hidden;background:radial-gradient(circle at top right,rgba(14,165,233,.14),transparent 34rem),linear-gradient(135deg,#f8fbff,#edf6ff 52%,#f5fbff)}.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid rgba(125,211,252,.18);background:radial-gradient(circle at top right,rgba(20,184,212,.2),transparent 15rem),linear-gradient(160deg,#08233f,#0b3155 44%,#071f38);padding:20px 14px;scrollbar-width:thin;scrollbar-color:rgba(125,211,252,.45) transparent}.brand{display:flex;align-items:center;gap:10px;margin:-2px -2px 16px;border-bottom:1px solid rgba(186,230,253,.12);padding:2px 2px 16px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(186,230,253,.62);border-radius:10px;background:linear-gradient(135deg,#f8fbff,#dff4ff);color:#0369a1;font-size:1.05rem;font-weight:400}.brand strong,.brand small{display:block}.brand small,.eyebrow{color:#64748b;font-size:.72rem}.brand strong{color:#f8fbff;font-size:.88rem;font-weight:400;letter-spacing:0}.brand small{margin-top:2px;color:#9ec9e6;text-transform:uppercase;letter-spacing:.08em}.nav-list{display:grid;gap:5px}.nav-item,.nav-category-button,.nav-subitem{display:flex;align-items:center;width:100%;border:0;background:transparent;text-align:left}.nav-item,.nav-category-button{gap:10px;min-height:38px;border:1px solid transparent;border-radius:8px;color:#d8e9f7;padding:0 10px;font-size:.82rem}.nav-item svg,.nav-category-button svg,.nav-subitem svg{width:16px;height:16px}.nav-category-button svg:last-child{margin-left:auto}.nav-item:hover,.nav-category-button:hover,.nav-category-button.has-active-item{border-color:#7dd3fc2e;background:#0ea5e924;color:#67e8f9}.nav-item.is-active,.nav-category.is-open>.nav-category-button{border-color:#67e8f93d;background:linear-gradient(135deg,#0ea5e93d,#14b8d424);color:#67e8f9}.nav-category{display:grid;gap:5px}.nav-submenu{display:grid;gap:3px;margin-left:10px;border:1px solid rgba(125,211,252,.18);border-left:3px solid #22d3ee;border-radius:8px;background:#071f386b;padding:4px}.nav-subitem{gap:9px;min-height:34px;border-radius:7px;color:#bdd7ea;padding:0 8px 0 10px;font-size:.8rem}.nav-subitem:hover,.nav-subitem.is-active{background:linear-gradient(135deg,#0ea5e957,#7dd3fc1f);color:#fff}.nav-subitem.is-active{border:1px solid rgba(125,211,252,.25)}.workspace{min-width:0;height:100vh;overflow-y:auto;padding:22px}.topbar{position:sticky;top:0;z-index:20;background:radial-gradient(circle at top right,rgba(14,165,233,.07),transparent 28rem),linear-gradient(135deg,#f8fbff,#edf6ff 52%,#f5fbff);margin:-22px -22px 22px;padding:22px 22px 14px}.topbar,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar h1,.section-heading h2{margin:4px 0 0;font-weight:400;letter-spacing:0}.topbar h1{font-size:clamp(1.12rem,1.8vw,1.45rem)}.section-heading h2{font-size:1.05rem}.topbar-actions{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:12px}.notification-menu,.unit-switcher{position:relative}.topbar-context{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:190px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:7px 12px;text-align:left;cursor:pointer}.topbar-context:hover{border-color:#7dd3fc;background:#f6fbff}.topbar-context span,.topbar-context small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-context span{color:#132236;font-size:.82rem;grid-column:1}.topbar-context small{color:#64748b;font-size:.7rem;grid-column:1}.topbar-context svg{align-self:center;color:#0369a1;grid-column:2;grid-row:1 / span 2}.unit-switcher-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(340px,calc(100vw - 24px));border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:12px}.unit-switcher-header{border-bottom:1px solid #e4eef7;margin-bottom:8px;padding-bottom:8px}.unit-switcher-header strong{display:block;color:#132236;font-size:.88rem;font-weight:400}.unit-switcher-list{display:grid;gap:6px;max-height:300px;overflow:auto}.unit-switcher-list p{margin:0;color:#64748b;font-size:.82rem}.unit-switcher-option{display:grid;grid-template-columns:20px minmax(0,1fr);gap:4px 8px;align-items:center;border:1px solid transparent;border-radius:8px;background:#fff;color:#334155;padding:9px 10px;text-align:left}.unit-switcher-option:hover,.unit-switcher-option.is-active{border-color:#7dd3fc;background:#eaf7ff}.unit-switcher-option svg{color:#0284c7;grid-row:1 / span 2}.unit-switcher-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit-switcher-option small{color:#64748b;font-size:.72rem}.topbar-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#0369a1}.topbar-icon-button:hover,.topbar-icon-button.has-notifications{border-color:#7dd3fc;background:#eaf7ff}.topbar-icon-button>span{position:absolute;top:-6px;right:-6px;display:grid;min-width:18px;height:18px;place-items:center;border:1px solid #ffffff;border-radius:999px;background:#dc2626;color:#fff;font-size:.68rem;line-height:1;padding:0 5px}.notification-popover{position:absolute;top:calc(100% + 12px);right:0;z-index:35;width:min(390px,calc(100vw - 36px));border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:14px}.notification-popover-header,.notification-popover-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.notification-popover-header{border-bottom:1px solid #eef4fa;padding-bottom:10px}.notification-popover-header strong{display:block;color:#132236;font-weight:400}.notification-list{display:grid;gap:8px;max-height:320px;overflow:auto;padding:10px 0}.notification-item{display:grid;grid-template-columns:9px 1fr;gap:10px;width:100%;border:1px solid #e0edf7;border-radius:8px;background:#f8fbff;color:#31445a;padding:10px;text-align:left}.notification-item:hover{border-color:#7dd3fc;background:#eaf7ff}.notification-item.priority-high,.notification-item.priority-critical{background:#fff7ed}.notification-dot{width:8px;height:8px;margin-top:4px;border-radius:999px;background:#0284c7}.notification-item.priority-high .notification-dot,.notification-item.priority-critical .notification-dot{background:#dc2626}.notification-item strong{display:block;color:#132236;font-size:.86rem;font-weight:400}.notification-item small,.notification-empty{color:#64748b;font-size:.78rem}.notification-empty{display:flex;align-items:center;gap:8px;border:1px dashed #bed4e7;border-radius:8px;background:#f8fbff;padding:14px}.notification-section-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;padding:6px 4px 2px}.notification-item--system.priority-high{background:#fff1f2;border-color:#fecdd3}.notification-item--system.priority-medium{background:#fffbeb;border-color:#fde68a}.notification-item--system.priority-low{background:#f0fdf4;border-color:#bbf7d0}.notification-dot--high{background:#dc2626}.notification-dot--medium{background:#d97706}.notification-dot--low{background:#16a34a}.btn-compact{min-height:32px;padding:0 10px;font-size:.78rem}.profile-menu{position:relative;flex:0 0 auto}.profile-button,.icon-button,.logout-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;place-items:center;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#0369a1}.profile-button{width:40px;height:40px}.profile-button:hover,.icon-button:hover,.logout-button:hover{border-color:#7dd3fc;background:#eaf7ff}.logout-button{min-width:74px;height:40px;padding:0 16px}.mobile-menu-toggle{display:none}.icon-button{width:36px;height:36px}.profile-popover{position:absolute;top:calc(100% + 12px);right:0;z-index:10;width:min(380px,calc(100vw - 36px));border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:20px}.mobile-nav{display:none}.profile-menu{display:flex;align-items:center}.profile-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;color:#0369a1;background:#f0f7ff;border:1px solid #d7e6f2}.page-grid{display:grid;gap:14px;margin-top:14px}.intro-panel,.registry-panel,.activity-section{border:1px solid #dce8f3;border-radius:8px;background:#ffffffe6}.intro-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px}.intro-panel h2,.intro-panel p{margin:0}.intro-panel h2{margin-top:6px}.intro-panel p{max-width:760px;margin-top:8px;color:#64748b;font-size:.93rem;line-height:1.5}.registry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.registry-panel{display:flex;min-height:132px;gap:16px;padding:16px}.registry-icon{display:grid;flex:0 0 46px;width:46px;height:46px;place-items:center;border-radius:8px;color:#0369a1;background:#e0f2fe}.registry-content{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:space-between;gap:18px}.registry-content h3,.registry-content p{margin:0}.registry-content h3{font-size:.95rem}.registry-content p{margin-top:8px;color:#64748b;font-size:.88rem;line-height:1.4}.registry-content footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.registry-content footer code{color:#0369a1;font-size:.78rem;font-weight:400}.registry-content footer span{border-radius:999px;background:#f1f5f9;color:#64748b;padding:5px 10px;font-size:.78rem}.activity-section{padding:18px}.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;border:0;border-radius:8px;background:#0284c7;color:#fff;padding:0 16px}.secondary-action{min-height:34px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#0369a1;padding:0 16px}.customers-page{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:14px;align-items:start}.companies-page,.branches-page{display:grid;gap:14px;margin-top:14px}.users-page{display:grid;gap:14px;margin-top:14px;min-width:0}.users-section-heading{align-items:flex-start}.users-filters{margin-bottom:16px}.users-clear-filter{align-self:flex-end;flex:0 0 auto}.users-clear-filter .btn{width:36px;height:36px;justify-content:center;padding:0}.suppliers-page,.categories-page,.cost-centers-page,.payments-page,.settings-page{display:grid;gap:14px;margin-top:14px}.general-settings-page{align-content:start}.settings-tabs{display:flex;gap:6px;width:fit-content;max-width:100%;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:4px}.settings-tabs button{position:relative;min-height:32px;border:1px solid transparent;border-radius:7px;background:transparent;color:#425466;padding:0 14px}.settings-tabs button.is-active{border-color:#38bdf8;background:#dff2ff;color:#075985}.settings-tabs button.is-active:after{position:absolute;right:12px;bottom:4px;left:12px;height:2px;border-radius:999px;background:#0284c7;content:""}.customers-page.has-form{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.customers-list-section{border:1px solid #dce8f3;border-radius:8px;background:#ffffffeb;padding:14px}.gateway-status{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#62728a;padding:0 12px}.gateway-status.is-active{border-color:#8bdcbc;background:#effcf6;color:#047857}.gateway-settings-form,.gateway-provider-card{display:grid;gap:14px}.gateway-provider-card{border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:14px}.gateway-provider-card.is-default{border-color:#38bdf8;background:#f6fbff}.gateway-provider-head{display:flex;align-items:center;gap:10px;color:#172033}.gateway-provider-head strong{margin-left:auto;border:1px solid #8bdcbc;border-radius:999px;background:#effcf6;color:#047857;font-size:.78rem;font-weight:400;padding:5px 10px}.gateway-provider-head .gateway-test-button{margin-left:auto}.gateway-provider-head strong+.gateway-test-button{margin-left:0}.gateway-test-message{margin:0}.gateway-provider-head small{display:block;color:#62728a;margin-top:3px}.gateway-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ponto-app-pairing-panel{border:1px dashed #7dd3fc;border-radius:8px;background:#eef9ff;padding:18px}.ponto-app-pairing-panel div{display:grid;gap:6px;justify-items:center;text-align:center}.ponto-app-pairing-panel span,.ponto-app-pairing-panel small{color:#62728a}.ponto-app-pairing-panel strong{color:#0f172a;font-size:clamp(1.1rem,2.5vw,1.6rem);letter-spacing:.04em}.gateway-provider-card.app-integration-card{border-color:var(--app-card-border, #dce8f3);background:linear-gradient(180deg,var(--app-card-bg, #ffffff) 0%,#ffffff 74%);box-shadow:inset 4px 0 0 var(--app-card-accent, #38bdf8)}.app-integration-card .gateway-provider-head>svg{color:var(--app-card-accent, #38bdf8)}.app-integration-card .ponto-app-pairing-panel{border-color:var(--app-card-border, #7dd3fc);background:var(--app-card-panel, #eef9ff)}.app-integration-card .gateway-integration-note{border-color:var(--app-card-note-border, #dce8f3);background:var(--app-card-note-bg, #f8fbff)}.app-card-pos-mobile{--app-card-accent: #0891b2;--app-card-border: #67e8f9;--app-card-bg: #f0fdff;--app-card-panel: #ecfeff;--app-card-note-border: #a5f3fc;--app-card-note-bg: #f0fdff}.app-card-price-terminal{--app-card-accent: #2563eb;--app-card-border: #93c5fd;--app-card-bg: #f5f9ff;--app-card-panel: #eff6ff;--app-card-note-border: #bfdbfe;--app-card-note-bg: #f8fbff}.app-card-pdv-desktop{--app-card-accent: #4f46e5;--app-card-border: #a5b4fc;--app-card-bg: #f7f7ff;--app-card-panel: #eef2ff;--app-card-note-border: #c7d2fe;--app-card-note-bg: #f8f9ff}.app-card-prevenda{--app-card-accent: #0f766e;--app-card-border: #5eead4;--app-card-bg: #f0fdfa;--app-card-panel: #ecfdf5;--app-card-note-border: #99f6e4;--app-card-note-bg: #f0fdfa}.app-card-fidelidade{--app-card-accent: #7c3aed;--app-card-border: #c4b5fd;--app-card-bg: #fbf7ff;--app-card-panel: #f5f3ff;--app-card-note-border: #ddd6fe;--app-card-note-bg: #fbf9ff}.app-card-ponto{--app-card-accent: #059669;--app-card-border: #6ee7b7;--app-card-bg: #f0fdf8;--app-card-panel: #ecfdf5;--app-card-note-border: #a7f3d0;--app-card-note-bg: #f0fdf8}.gateway-default-select{max-width:420px}.gateway-integration-note{border:1px solid #dce8f3;border-radius:8px;background:#f8fbff;padding:12px}.gateway-integration-note span{color:#31435b}.gateway-integration-note p{margin:6px 0 0;color:#62728a}.pos-print-layout-grid{display:flex;flex-wrap:wrap;gap:8px}.pos-print-layout-card{display:flex;flex-direction:column;gap:2px;width:200px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#31435b;padding:9px 12px;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.pos-print-layout-card.is-active{border-color:#38bdf8;background:#eaf7ff;color:#075985}.pos-print-layout-card span{color:#0284c7;font-size:.82rem;font-weight:600}.pos-print-layout-card strong{color:#172033;font-size:.78rem;font-weight:500}.pos-print-layout-card small{color:#62728a;font-size:.72rem;line-height:1.3;margin-top:1px}.pos-print-preview-grid{display:grid;grid-template-columns:minmax(160px,260px);gap:12px;align-items:stretch}.pos-print-preview{display:grid;align-content:start;gap:6px;min-height:190px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#172033;padding:12px}.pos-print-preview-40mm{max-width:150px}.pos-print-preview-80mm{max-width:230px}.pos-print-preview-a4{max-width:260px}.pos-print-preview span,.pos-print-preview small{color:#62728a;font-size:.78rem}.pos-print-preview strong{color:#075985;font-size:1rem;font-weight:400}.pos-print-preview div{height:1px;background:#dce8f3;margin:4px 0}.customer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}.form-span-2{grid-column:span 2}.customer-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.customers-list-section{min-width:0}.customer-filter{margin-top:20px}.customer-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:12px}.customer-filters .field{flex:1 1 180px;min-width:140px;max-width:320px}.customer-filters .field:first-child{flex:2 1 240px}.filters-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,220px);gap:12px;margin:14px 0}.ar-filters{display:flex;flex-direction:column;gap:8px;margin-top:12px}.ar-filters-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ar-filters-row .field{flex:1 1 150px;min-width:130px;max-width:260px}.ar-filters-row .ar-filter-busca,.ar-filters-row .ar-filter-cliente{flex:2 1 220px}.ar-filters-actions{display:flex;align-items:center;gap:10px;margin-bottom:2px}.ar-filters-total{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 12px;white-space:nowrap}.grid-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;background:#0f172a57;overflow:auto;padding:18px}.confirm-delete-backdrop{z-index:80}.pos-operator-backdrop{z-index:9100}.product-complement-backdrop{z-index:180;background:#0f172a8f}.product-complement-modal{width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 32px)}.product-complement-modal .modal-body{overflow:visible}.product-complement-modal .company-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-complement-modal .modal-footer{justify-content:flex-end}.confirm-delete-modal{display:grid;grid-template-columns:auto 1fr;gap:14px;width:min(440px,100%);border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:18px}.confirm-delete-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#be123c}.confirm-delete-content{display:flex;flex-direction:column;gap:8px;min-width:0}.confirm-delete-content h2{margin:0;color:#0f172a;font-size:1.08rem;font-weight:400}.confirm-delete-content p{margin:0;color:#475569;font-size:.92rem;line-height:1.45}.confirm-delete-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid #e5edf5}.pos-print-choice-modal{width:min(520px,100%)}.pos-fiscal-choice-modal{background:#fff;border-radius:14px;box-shadow:0 8px 40px #0000002e;padding:32px 36px 28px;width:min(460px,95vw);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}.pos-fiscal-choice-modal h2{font-size:1.35rem;font-weight:600;color:#172033;margin:0}.pos-fiscal-choice-modal p{font-size:.88rem;color:#62728a;margin:0 0 8px}.pos-fiscal-choice-cards{display:flex;gap:14px;margin-top:10px}.pos-fiscal-choice-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px 16px;border-radius:10px;border:2px solid transparent;cursor:pointer;transition:transform .12s,box-shadow .12s,border-color .12s;text-align:center}.pos-fiscal-choice-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0000001a}.pos-fiscal-choice-card strong{font-size:.97rem;font-weight:600}.pos-fiscal-choice-card small{font-size:.76rem;line-height:1.35;opacity:.85}.pos-fiscal-choice-card kbd{margin-top:8px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;font-size:.78rem;font-weight:700;font-family:inherit;background:#0000001f;border:1px solid rgba(0,0,0,.15);color:inherit}.pos-fiscal-choice-card--simple{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.pos-fiscal-choice-card--simple:hover{background:#a7f3d0;border-color:#34d399}.pos-fiscal-choice-card--nfce{background:#0ea5e9;color:#fff;border-color:#0284c7}.pos-fiscal-choice-card--nfce:hover{background:#0284c7;border-color:#0369a1}.pos-print-choice-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #bae6fd;border-radius:8px;background:#f0f9ff;color:#0369a1}.company-modal.customer-modal{width:min(1080px,100%);max-height:min(calc(100dvh - 36px),980px)}.company-modal.customer-modal .customer-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:0}.company-modal.customer-modal .form-span-2{grid-column:1 / -1}.company-modal{display:flex;flex-direction:column;width:min(680px,100%);max-height:min(calc(100dvh - 36px),720px);min-height:0;overflow:hidden;border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:16px}.supplier-modal{width:min(860px,100%);max-height:min(calc(100dvh - 36px),860px)}.rental-modal{width:min(920px,100%);max-height:min(calc(100dvh - 36px),920px)}.rentals-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}@media (max-width: 900px){.rentals-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 540px){.rentals-stats-grid{grid-template-columns:1fr}}.rentals-stat-card{display:flex;align-items:center;gap:14px;border-radius:12px;padding:16px 20px}.rentals-stat-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.rentals-stat-blue{background:#eff6ff;border:1px solid #bfdbfe}.rentals-stat-orange{background:#fff7ed;border:1px solid #fed7aa}.rentals-stat-green{background:#f0fdf4;border:1px solid #bbf7d0}.rentals-stat-purple{background:#f5f3ff;border:1px solid #ddd6fe}.rentals-stat-blue .rentals-stat-icon{background:#dbeafe;color:#1d4ed8}.rentals-stat-orange .rentals-stat-icon{background:#ffedd5;color:#c2410c}.rentals-stat-green .rentals-stat-icon{background:#dcfce7;color:#15803d}.rentals-stat-purple .rentals-stat-icon{background:#ede9fe;color:#6d28d9}.rentals-stat-card>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.rentals-stat-value{font-size:1.35rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rentals-stat-label{font-size:.75rem;color:#64748b;white-space:nowrap}.rentals-calendar-card{display:none}.rentals-cal-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px 24px 16px;margin-bottom:20px}.rentals-cal-card .rental-calendar{width:100%;max-width:100%}.rentals-calendar-col{padding:20px;border-right:1px solid #f1f5f9;display:flex;flex-direction:column}.rental-calendar{width:100%}.rental-calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.rental-calendar-title{font-size:.95rem;font-weight:600;color:#0f172a;text-transform:capitalize}.rental-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.rental-calendar-weekday{text-align:center;font-size:.7rem;font-weight:600;color:#94a3b8;padding:4px 0 6px}.rental-calendar-cell{min-height:48px;border-radius:8px;padding:6px 4px 4px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:default;transition:background .15s}.rental-calendar-cell.has-events{cursor:pointer}.rental-calendar-cell.has-events:hover{background:#f1f5f9}.rental-calendar-cell.is-today .rental-calendar-day-number{background:#0369a1;color:#fff;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.rental-calendar-cell-empty{min-height:52px}.rental-calendar-day-number{font-size:.78rem;font-weight:500;color:#374151;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.rental-calendar-dots{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.rental-calendar-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}.rental-calendar-more{font-size:.6rem;color:#64748b;font-weight:600}.rental-calendar-legend{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:14px;padding-top:12px;border-top:1px solid #f1f5f9;font-size:.72rem;color:#64748b}.rental-calendar-legend span{display:flex;align-items:center;gap:5px}@media (max-width: 960px){.rentals-calendar-card{grid-template-columns:1fr}.rentals-calendar-col{border-right:none;border-bottom:1px solid #f1f5f9}}.rentals-day-panel{padding:20px;display:flex;flex-direction:column;gap:8px;overflow-y:auto}.rentals-day-panel-header{display:flex;align-items:center;justify-content:space-between;font-size:.9rem;color:#0f172a;padding-bottom:10px;border-bottom:1px solid #f1f5f9;text-transform:capitalize}.rentals-day-panel-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8;font-size:.85rem;text-align:center;padding:24px 0}.rentals-day-card{display:grid;grid-template-columns:34px 1fr auto;align-items:start;gap:10px;padding:12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;border-left:3px solid #3b82f6}.rentals-day-card.is-late{border-left-color:#f97316;background:#fff7ed;border-color:#fed7aa}.rentals-day-card-avatar{width:34px;height:34px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;text-transform:uppercase}.rentals-day-card-info{min-width:0;display:flex;flex-direction:column;gap:3px}.rentals-day-card-info strong{font-size:.87rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rentals-day-card-info small{font-size:.72rem;color:#64748b}.rentals-day-card-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.rentals-day-card-right strong{font-size:.82rem;color:#0369a1;font-weight:700}.rental-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:99px;font-size:.72rem;font-weight:600;white-space:nowrap}.rental-badge-active{background:#dbeafe;color:#1e40af}.rental-badge-late{background:#ffedd5;color:#9a3412}.rental-badge-finished{background:#dcfce7;color:#166534}.rental-badge-cancelled{background:#fee2e2;color:#991b1b}.rental-badge-reserved{background:#f3e8ff;color:#7e22ce}.rentals-list-section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;margin-bottom:24px}.rentals-list-count{background:#e0f2fe;color:#0369a1;font-size:.7rem;font-weight:700;padding:1px 7px;border-radius:99px}.rentals-list-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:16px}.rentals-list-title{font-size:.92rem;font-weight:700;color:#0f172a;margin:0 8px 0 0;display:flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0}.rentals-filter-search{width:220px}.rentals-filter-select{width:160px}.rentals-filter-date{width:140px}.rentals-filter-date-label{display:flex;align-items:center;gap:6px;font-size:.82rem;color:#64748b;white-space:nowrap}.rentals-filter-date-label .field-control{width:140px}.rentals-list-table-header{display:grid;grid-template-columns:minmax(160px,1fr) 180px 60px 100px 110px 170px;gap:10px;padding:6px 12px;background:#f8fafc;border-radius:6px;font-size:.72rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.rentals-list-table-row{display:grid;grid-template-columns:minmax(160px,1fr) 180px 60px 100px 110px 170px;gap:10px;padding:10px 20px;border-bottom:1px solid #f1f5f9;align-items:center;font-size:.85rem;color:#1e293b}.rentals-list-table-row:last-child{border-bottom:none}.rentals-list-table-row:hover{background:#f8fafc;border-radius:6px}.rentals-list-customer{display:flex;align-items:center;gap:10px;min-width:0}.rentals-list-customer>div{min-width:0}.rentals-list-customer strong{display:block;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rentals-list-dates{display:inline-flex;align-items:center;gap:4px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:3px 8px;font-size:.8rem}.rentals-period-date{font-weight:600;color:#0369a1}.rentals-period-start{color:#0369a1}.rentals-period-end{color:#0c4a6e}.rentals-list-arrow{color:#7dd3fc;font-size:.72rem;margin:0 1px}.rentals-table-shell{border:none;border-radius:0;padding:8px 0 12px}.rental-items-section{grid-column:1 / -1;display:grid;gap:6px;border-top:1px solid #dce8f3;padding-top:12px;margin-top:4px}.rental-items-section>.eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b;margin-bottom:4px}.rental-items-header,.rental-items-row{display:grid;grid-template-columns:40px minmax(140px,1fr) 90px 120px 110px 40px;gap:10px;align-items:center}.rental-item-photo{width:36px;height:36px;border-radius:6px;object-fit:cover;border:1px solid #e2e8f0;flex-shrink:0}.rental-item-photo-placeholder{width:36px;height:36px;border-radius:6px;background:#f1f5f9;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;color:#94a3b8;flex-shrink:0}.rental-items-header{font-size:.78rem;color:#64748b;font-weight:600;border-bottom:1px solid #dce8f3;padding-bottom:6px}.rental-items-row{min-height:44px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.88rem}.rental-items-row:last-child{border-bottom:none}.rental-items-row .field-control{height:34px;min-height:34px}.rental-items-row .field-control input{font-size:.85rem}.rental-items-total{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;padding-top:8px;border-top:1px solid #dce8f3;font-size:.88rem;color:#334155}.rental-items-total strong{color:#0f172a;font-size:.92rem}.rental-grand-total{display:flex;justify-content:flex-end;gap:8px;padding:10px 0 2px;border-top:2px solid #0369a1;font-size:.95rem;font-weight:600;color:#334155}.rental-grand-total strong{color:#0369a1;font-size:1rem}.rental-day-badge{display:inline-flex;align-items:center;font-size:.7rem;font-weight:700;padding:1px 7px;border-radius:20px;letter-spacing:.02em;text-transform:uppercase}.rental-day-badge-start{background:#dbeafe;color:#1d4ed8}.rental-day-badge-return{background:#fef3c7;color:#b45309;border:1px solid #fcd34d}.field-control-copy{display:flex;align-items:center;border:1.5px solid #c7dff0;border-radius:8px;background:#fff;overflow:hidden;transition:border-color .15s}.field-control-copy:focus-within{border-color:#38bdf8}.field-control-copy input{flex:1;border:none;outline:none;background:transparent;padding:0 11px;height:40px;font-size:.88rem;color:#1e293b;min-width:0}.field-control-copy .btn-icon{flex-shrink:0;height:40px;width:40px;border-radius:0;border-left:1px solid #e2e8f0;background:#f8fafc}.field-control-copy .btn-icon:hover{background:#e0f0ff}.rental-cobranca-modal{padding:24px;display:flex;flex-direction:column;gap:0;min-width:480px;max-width:540px}.rental-cobranca-modal .modal-header{margin-bottom:16px}.employee-modal-backdrop{align-items:center;overflow-y:auto}.employee-modal{width:min(1220px,calc(100vw - 28px));max-height:min(calc(100dvh - 36px),900px);overflow:hidden;margin:auto}.seller-modal{width:min(1180px,calc(100vw - 28px));max-height:min(calc(100dvh - 36px),880px)}.pos-payment-modal{width:min(560px,calc(100vw - 28px));max-height:min(calc(100dvh - 36px),780px)}.pos-payment-modal .modal-body{overflow-y:auto}.brand-modal,.category-modal,.payment-modal{width:min(760px,100%);max-height:min(calc(100dvh - 36px),760px)}.product-modal{width:min(1080px,100%);max-height:min(calc(100dvh - 36px),1040px)}.product-modal form.company-form.modal-form{display:flex;flex-direction:column;gap:0;margin-top:0;min-height:0;flex:1}.product-modal form.company-form.modal-form .modal-body{flex:1;min-height:0;overflow-y:auto;padding:12px 4px 8px}.product-modal form.company-form.modal-form .modal-footer{flex-shrink:0;margin-top:0;padding-top:12px}.rental-modal form.company-form.modal-form{display:flex;flex-direction:column;gap:0;margin-top:0;min-height:0;flex:1}.rental-modal form.company-form.modal-form .modal-body{flex:1;min-height:0;overflow-y:auto;padding:12px 4px 8px}.rental-modal form.company-form.modal-form .modal-footer{flex-shrink:0;margin-top:0;padding-top:12px}.form-section-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--text-secondary, #64748b);text-transform:uppercase;letter-spacing:.04em;padding:4px 0 2px;border-bottom:1px solid var(--border, #e5e7eb);margin-top:4px}.cert-info-box{display:flex;align-items:flex-start;gap:12px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:14px 16px;color:#0369a1}.cert-info-box svg{flex-shrink:0;margin-top:2px}.cert-info-box strong{display:block;font-size:14px;margin-bottom:4px}.cert-info-box small{display:block;font-size:12px;color:#0284c7;line-height:1.5}.fiscal-field-readonly{background:#f1f5f9!important;color:#475569!important;cursor:default!important;font-style:italic}.fiscal-field-readonly:focus{outline:none!important;border-color:var(--border, #e5e7eb)!important;box-shadow:none!important}.fiscal-group-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 0 20px;color:#94a3b8}.fiscal-group-empty strong{font-size:.92rem;color:#64748b}.fiscal-group-empty p{margin:0;font-size:.82rem;text-align:center}.fiscal-readonly-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 14px 14px}.fiscal-readonly-section-title{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin:0 0 10px}.fiscal-readonly-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px 14px}.fiscal-readonly-item{display:flex;flex-direction:column;gap:2px}.fiscal-readonly-item small{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.fiscal-readonly-item strong{font-size:.84rem;color:#1e293b;font-weight:600;line-height:1.3}.fiscal-readonly-item .empty-value{font-size:.84rem;color:#cbd5e1}.price-table-modal{width:min(920px,100%);max-height:min(calc(100dvh - 36px),820px)}.sales-order-modal,.purchase-order-modal{width:min(1180px,calc(100vw - 32px));max-height:min(98vh,920px)}.sales-order-modal form.company-form,.purchase-order-modal form.company-form{display:flex;flex-direction:column;flex:1;min-height:0;margin-top:12px;gap:0}.sales-order-modal .modal-body,.purchase-order-modal .modal-body{flex:1;min-height:0;overflow-y:auto;padding-right:4px}.sales-order-modal .modal-footer,.purchase-order-modal .modal-footer{flex-shrink:0}.sales-order-totals-row{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.label-generator-modal{width:min(1360px,calc(100vw - 32px));max-height:min(98vh,920px)}.label-generator-modal .modal-body{flex:1;min-height:0;overflow-y:auto;padding-right:4px}.label-generator-modal .modal-footer{flex-shrink:0;justify-content:space-between}.label-generator-columns{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}.label-generator-left{display:flex;flex-direction:column;gap:20px}.label-generator-right{display:flex;flex-direction:column;gap:12px;border-left:1px solid #e8f1f8;padding-left:20px}.label-group-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.label-print-page{padding:0 24px 24px;display:flex;flex-direction:column;gap:0;min-height:100%}.label-print-body{display:grid;grid-template-columns:1fr 360px;gap:20px;align-items:start;padding-top:16px}.label-print-left{display:flex;flex-direction:column;gap:12px;min-height:0}.label-print-right{display:flex;flex-direction:column;gap:12px;position:sticky;top:16px}.label-print-section-head{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#374151;margin-bottom:10px}.label-print-config-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column}.label-type-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.label-type-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc;color:#64748b;font-size:11px;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.label-type-btn:hover{border-color:#93c5fd;background:#eff6ff;color:#2563eb}.label-type-btn.is-active{border-color:#3b82f6;background:#dbeafe;color:#1d4ed8;font-weight:600}.label-print-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.label-print-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.label-print-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.label-print-check-opt{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151;cursor:pointer}.label-print-check-opt input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:#3b82f6}.label-print-preview-area{background:#f1f5f9;border-radius:8px;padding:16px;display:flex;justify-content:center;align-items:center;overflow:hidden}.label-print-products-header,.label-print-products-row{display:grid;grid-template-columns:28px 1fr 80px 80px 24px;align-items:center;gap:8px;padding:6px 10px;font-size:12px}.label-print-products-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;font-weight:600;color:#64748b;border-radius:6px 6px 0 0}.label-print-products-row{border-bottom:1px solid #f1f5f9;color:#1e293b}.label-print-products-row:last-child{border-bottom:none}.label-print-products-row strong{display:block;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-print-products-row small{display:block;font-size:10px;color:#94a3b8}.label-print-row-dimmed{opacity:.4}.btn-check-all{background:none;border:none;padding:2px;cursor:pointer;color:#94a3b8;display:flex;align-items:center;justify-content:center}.btn-check-all:hover{color:#3b82f6}.label-qty-control{display:flex;align-items:center;border:1px solid #e2e8f0;border-radius:5px;overflow:hidden;background:#fff}.label-qty-control button{background:#f8fafc;border:none;padding:2px 6px;font-size:14px;cursor:pointer;color:#64748b;transition:background .1s}.label-qty-control button:hover{background:#e2e8f0}.label-qty-control input{border:none;width:36px;text-align:center;font-size:12px;padding:2px 0;background:transparent;-moz-appearance:textfield}.label-qty-control input::-webkit-inner-spin-button,.label-qty-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.label-promo-input{width:70px;border:1px solid #e2e8f0;border-radius:5px;padding:3px 6px;font-size:12px;text-align:right;-moz-appearance:textfield}.label-promo-input::-webkit-inner-spin-button,.label-promo-input::-webkit-outer-spin-button{-webkit-appearance:none}.label-print-search-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0000001f;z-index:100;max-height:280px;overflow-y:auto}.label-print-search-item{display:flex;flex-direction:column;gap:1px;padding:8px 12px;background:none;border:none;width:100%;text-align:left;cursor:pointer;font-size:13px;color:#1e293b;border-bottom:1px solid #f1f5f9;transition:background .1s}.label-print-search-item:last-child{border-bottom:none}.label-print-search-item:hover{background:#eff6ff}.label-print-search-item strong{font-size:13px;font-weight:600}.label-print-search-item span{font-size:11px;color:#64748b}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:spin .7s linear infinite}.label-group-row .field-control{height:34px}.label-product-search{margin-bottom:10px}.label-product-search .field-control{width:100%}.label-product-search .field-control svg{color:#94a3b8;flex-shrink:0}.label-products-table{border:1px solid #dce8f3;border-radius:6px;overflow:hidden;max-height:280px;overflow-y:auto}.label-products-header,.label-products-row{display:grid;grid-template-columns:1fr 120px;gap:10px;align-items:center;padding:8px 12px}.label-products-header{background:#f8fbff;border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;position:sticky;top:0;z-index:1}.label-products-header span:last-child,.label-products-header span:nth-child(2):not(:first-child){text-align:right}.label-products-row{border-bottom:1px solid #eef4fa;font-size:.88rem;color:#425466}.label-products-row:last-child{border-bottom:none}.label-products-name{font-weight:500;color:#0f172a;line-height:1.3}.label-products-meta{font-size:.75rem;color:#64748b;margin-top:1px}.label-qty-stepper{display:flex;align-items:center;gap:3px;justify-content:flex-end}.label-qty-btn{width:24px;height:26px;min-height:24px;border-radius:5px;border:1px solid #d7e6f2;background:#f8fbff;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0;transition:border-color .12s,color .12s,background .12s}.label-qty-btn:hover:not(:disabled){border-color:#0ea5e9;color:#0284c7;background:#e0f2fe}.label-qty-btn:disabled{opacity:.35;cursor:default}.label-qty-btn--add{border-color:#a5d8a7;color:#16a34a;background:#f0fdf4}.label-qty-btn--add:hover{border-color:#16a34a!important;background:#dcfce7!important;color:#15803d!important}.label-qty-input{width:44px;text-align:center;padding:3px 2px;border:1px solid #cbd5e1;border-radius:5px;font-size:.88rem;background:#fff;transition:border-color .15s,background .15s;-moz-appearance:textfield}.label-qty-input::-webkit-outer-spin-button,.label-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.label-qty-input.has-value{border-color:#0ea5e9;background:#eff6ff;font-weight:600;color:#0369a1}.label-preview-area{width:100%;height:240px;background:#e8f1f8;border:1px solid #cfe2ef;border-radius:6px;display:flex;align-items:center;justify-content:center;overflow:hidden}.label-params-2col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.label-margins-panel{border:1px solid #dce8f3;border-radius:6px;background:#f8fbff;padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px}.label-margins-title{font-size:.78rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.label-margins-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.label-fields-section{border-top:1px solid #dce8f3;padding-top:12px;margin-top:4px}.label-fields-title{font-size:.78rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.label-check-row{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:.875rem;color:#334155;border-bottom:1px solid #f1f5f9;cursor:pointer;-webkit-user-select:none;user-select:none}.label-check-row:last-child{border-bottom:none}.label-check-row input[type=checkbox]{width:15px;height:15px;accent-color:#0ea5e9;cursor:pointer;flex-shrink:0}.label-company-select{margin:4px 0 4px 24px}.label-footer-info{display:flex;align-items:center;font-size:.875rem;color:#64748b;gap:4px}.label-footer-actions{display:flex;gap:10px}.label-basket{border:1px solid #dce8f3;border-radius:6px;overflow:hidden}.label-basket-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f0f8ff;border-bottom:1px solid #dce8f3}.label-basket-title{font-size:.78rem;font-weight:600;color:#0369a1;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;gap:6px}.label-basket-count{font-size:.75rem;background:#0ea5e9;color:#fff;border-radius:20px;padding:1px 7px;font-weight:600}.label-basket-clear{font-size:.75rem;color:#64748b;cursor:pointer;background:none;border:none;padding:2px 6px;border-radius:4px;display:flex;align-items:center;gap:4px}.label-basket-clear:hover{color:#ef4444}.label-basket-empty{padding:10px 12px;font-size:.82rem;color:#94a3b8;font-style:italic}.label-basket-row{display:flex;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid #f1f5f9;font-size:.86rem}.label-basket-row:last-child{border-bottom:none}.label-basket-row-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.label-basket-row-name{font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.86rem}.label-basket-row-price{font-size:.75rem;color:#16a34a;font-weight:600}.label-basket-promo{display:flex;align-items:center;gap:3px;flex-shrink:0}.label-basket-promo-label{font-size:.72rem;color:#dc2626;font-weight:600;white-space:nowrap}.label-basket-promo-input{width:60px;padding:3px 5px;border:1px solid #fca5a5;border-radius:5px;font-size:.82rem;background:#fff5f5;color:#dc2626;font-weight:600;text-align:right;-moz-appearance:textfield}.label-basket-promo-input::-webkit-outer-spin-button,.label-basket-promo-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.label-basket-promo-input:focus{outline:none;border-color:#ef4444;background:#fee2e2}.label-basket-promo-input::placeholder{color:#fca5a5;font-weight:400}.label-layout-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.label-layout-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;border:1px solid #d7e6f2;border-radius:7px;background:#f8fbff;color:#64748b;font-size:.75rem;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.label-layout-btn:hover{border-color:#7dd3fc;background:#f0f9ff;color:#0369a1}.label-layout-btn.is-active{border-color:#0ea5e9;background:#e0f2fe;color:#0369a1;font-weight:600}.label-products-header--3col,.label-products-row--3col{grid-template-columns:1fr 90px 80px}.label-templates-header,.label-templates-row{display:grid;grid-template-columns:minmax(160px,1fr) 90px 110px 130px 150px;gap:12px;align-items:center;min-width:720px}.label-templates-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;padding:0 0 10px}.label-templates-row{min-height:52px;border-bottom:1px solid #eef4fa;font-size:.9rem;color:#425466}.label-generator-no-print{display:block}@media print{.label-generator-no-print{display:none!important}}.stock-location-modal{width:min(780px,100%);max-height:min(96vh,780px)}.branch-modal{width:min(1180px,calc(100vw - 32px));max-height:min(96vh,900px)}.company-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;min-height:0}.modal-form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1;min-height:0;overflow:hidden}.modal-body{grid-column:1 / -1;min-height:0;overflow:auto;padding-right:4px}.modal-tabs{display:inline-flex;flex-wrap:wrap;align-self:start;width:max-content;max-width:100%;gap:5px;margin:0 0 12px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:4px;position:relative;z-index:1}.modal-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #dce8f3}.upload-dropzone{display:flex;align-items:center;gap:14px;min-height:74px;padding:12px;border:1px dashed #8fd3ff;border-radius:8px;background:#f7fbff;color:#172033;cursor:pointer}.upload-dropzone input[type=file]{display:none}.upload-preview{display:grid;place-items:center;width:54px;height:54px;flex:0 0 auto;border:1px solid #cfe3f6;border-radius:8px;background:#fff;color:#64748b}.upload-dropzone span:last-child{display:grid;gap:4px}.upload-dropzone strong{font-weight:400}.upload-dropzone small{color:#526987;font-size:.88rem}.company-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-modal .modal-body{min-height:0;overflow:auto;padding-right:4px}.employee-modal .modal-form{grid-template-rows:auto minmax(0,1fr) auto;min-height:0}.employee-modal .company-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.employee-form-full{grid-column:1 / -1}.employee-status-field{grid-column:span 1}.employee-name-field{grid-column:span 3}.employee-complement-field,.employee-notes-field{grid-column:span 2}.employee-notes-field .field-control-textarea{min-height:64px}.employee-notes-field textarea{min-height:44px}.employee-tabs{margin-bottom:10px}.employee-tabs .tab-button{display:inline-flex;align-items:center;gap:7px}.employee-cashier-grid{align-items:start}.employee-cashier-hero{display:flex;align-items:center;gap:12px;border:1px solid #bae6fd;border-radius:8px;background:#f0f9ff;color:#075985;padding:12px}.employee-cashier-hero strong,.employee-cashier-hero span{display:block}.employee-cashier-hero strong{color:#075985;font-size:.95rem;font-weight:400}.employee-cashier-hero span{margin-top:2px;color:#42637d;font-size:.82rem;line-height:1.4}.employee-cashier-toggle{grid-column:span 1}.employee-cashier-login,.employee-cashier-password,.employee-cashier-discount{grid-column:span 2}.seller-modal .modal-body{min-height:0;overflow:auto;padding-right:4px}.seller-modal .company-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.nfe-emitir-modal{width:min(1240px,calc(100vw - 24px));max-height:min(98vh,1000px)}.nfe-emitir-modal form.company-form{display:flex;flex-direction:column;gap:0;margin-top:0;min-height:0}.nfe-emitir-modal .modal-body{flex:1;min-height:0;overflow:auto;padding-right:4px}.nfe-emitir-modal .modal-footer{flex-shrink:0;margin-top:12px}.nfe-emitir-modal .company-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.nfe-field-full{grid-column:1 / -1}.nfe-field-span-3{grid-column:span 3}.seller-tabs{width:fit-content;margin:0 0 12px}.seller-form-full{grid-column:1 / -1}.seller-name-field{grid-column:span 2}.seller-location-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.32fr) minmax(0,1fr);gap:13px}.seller-commercial-row{display:grid;grid-template-columns:minmax(210px,.9fr) repeat(3,minmax(0,1fr));gap:12px;align-items:end}.seller-notes-control{min-height:64px}.seller-notes-control textarea{min-height:44px}.seller-branches-field{display:grid;gap:7px}.seller-branches-field>span{color:#2f3f55;font-size:.82rem}.checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:9px}.checkbox-grid small{color:#5d6f86}.checkbox-option{display:flex;align-items:center;gap:8px;min-height:32px;color:#2f3f55;font-size:.84rem}.checkbox-option input{width:15px;height:15px;accent-color:#0284c7}.modal-footer{grid-column:1 / -1;flex-shrink:0;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #dce8f3;background:#fff;padding-top:12px}.modal-header{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-header h2{margin:4px 0 0;font-size:1.05rem;font-weight:400;letter-spacing:0}.tabs{display:inline-flex;flex-shrink:0;gap:5px;margin-top:12px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:4px}.tabs-bar{display:inline-flex;flex-shrink:0;flex-wrap:wrap;gap:5px;margin:12px 0 16px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:4px}.tab-button{position:relative;min-height:32px;border:1px solid transparent;border-radius:7px;background:transparent;color:#425466;padding:0 14px}.tab-button.is-active{border-color:#38bdf8;background:#dff2ff;color:#075985}.tab-button.is-active:after{position:absolute;right:12px;bottom:4px;left:12px;height:2px;border-radius:999px;background:#0284c7;content:""}@media (max-height: 820px){.modal-backdrop{align-items:center;padding:10px}.company-modal{max-height:calc(100dvh - 20px);padding:12px}.company-form,.company-form-grid{gap:9px 10px}.modal-header h2{margin-top:2px;font-size:1rem}.modal-footer{padding-top:10px}.photo-picker,.upload-dropzone{min-height:62px;padding:9px 10px}.photo-preview,.upload-preview{width:48px;height:48px}.tabs,.tabs-bar,.product-tabs{margin-top:8px}}.product-tabs{display:flex;flex-wrap:wrap;flex-shrink:0;margin-top:12px}.product-tab-panel{display:grid;gap:10px}.product-tab-panel h3{margin:0;color:#334155;font-size:.9rem;font-weight:400;letter-spacing:0}.product-form-grid{display:grid;gap:18px 20px}.product-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.product-field-span-2{grid-column:span 2}.product-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.field-control-readonly{background:#e8edf2}.photo-picker{position:relative;display:flex;align-items:center;gap:14px;min-height:88px;border:1px dashed #9fd5f4;border-radius:8px;background:#f8fbff;color:#0369a1;padding:12px;overflow:hidden}.photo-preview{display:grid;width:64px;height:64px;flex:0 0 64px;place-items:center;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#64748b;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-picker-text{display:grid;gap:4px;min-width:0}.photo-picker-text strong{color:#172033;font-weight:400}.photo-picker-text small{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-picker input{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;opacity:0}.customer-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:18px}.customer-contact-grid h3{grid-column:1 / -1;margin:0;color:#334155;font-size:.9rem;font-weight:400;letter-spacing:0}.customer-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.field-col-span-2{grid-column:span 2}.tags-checkbox-list{display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px 4px}.tag-checkbox-item{display:flex;align-items:center;gap:6px;font-size:.875rem;cursor:pointer;white-space:nowrap}.tag-checkbox-item input[type=checkbox]{width:15px;height:15px;cursor:pointer;accent-color:var(--color-primary, #2563eb);flex-shrink:0}.tags-empty{font-size:.8rem;color:#6b7280;font-style:italic}.address-compact-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(110px,.42fr);gap:13px}.address-line-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);gap:13px}.supplier-location-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,220px);gap:13px}.person-type-toggle{display:grid;justify-items:start;gap:8px}.supplier-toggle-row{display:flex;align-items:flex-start;gap:28px}.person-type-toggle-compact{gap:6px;min-width:130px}.person-type-toggle>span{color:#334155;font-size:.92rem;font-weight:400}.switch-toggle{position:relative;width:56px;height:30px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;padding:3px}.switch-toggle span{display:block;width:22px;height:22px;border-radius:999px;background:#94a3b8;transform:translate(0);transition:background .16s ease,transform .16s ease}.switch-toggle.is-on{border-color:#34d399;background:#f8fffc}.switch-toggle.is-on span{background:#34c99a;transform:translate(26px)}.switch-toggle-sm{width:44px;height:24px;padding:2px}.switch-toggle-sm span{width:18px;height:18px}.switch-toggle-sm.is-on span{transform:translate(20px)}.segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:4px}.segmented-control-compact{width:min(100%,280px)}.segmented-control button{min-height:30px;border:0;border-radius:7px;background:transparent;color:#425466;font-size:.88rem;padding:0 10px}.segmented-control button.is-active{background:#e8f5ff;color:#0369a1}.table-shell{display:grid;gap:6px;margin-top:12px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}.ct-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:14px}.ct{width:100%;min-width:640px;border-collapse:collapse;font-size:.875rem}.ct thead tr{border-bottom:2px solid #dce8f3}.ct th{padding:0 10px 10px;text-align:left;color:#94a3b8;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.ct td{padding:0 10px;height:50px;vertical-align:middle;border-bottom:1px solid #eef4fa;color:#425466;font-size:.875rem}.ct tbody tr:last-child td{border-bottom:none}.ct tbody tr:hover td{background:#f5faff}.ct-col-avatar{width:52px}.ct-col-name{width:auto;min-width:140px}.ct-col-doc{width:130px}.ct-col-contact{width:200px}.ct-col-city{width:130px}.ct-col-status{width:90px}.ct-col-actions{width:148px}.ct-avatar-cell{padding:6px 4px 6px 10px}.ct-avatar{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;border:1.5px solid #d7e6f2;flex-shrink:0}.ct-avatar-initials{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#bfdbfe,#93c5fd);color:#1d4ed8;font-size:.72rem;font-weight:700;letter-spacing:.03em;border:1.5px solid #bfdbfe;flex-shrink:0}.ct-name{font-weight:600;color:#1e3a5f;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ct-contact{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ct-empty{padding:28px 10px;text-align:center;color:#64748b}.ct-empty strong{display:block;color:#334155;margin-bottom:6px}.ct-empty p{margin:0;font-size:.85rem}@media (max-width: 900px){.ct th.ct-col-contact,.ct td:nth-child(4),.ct th.ct-col-city,.ct td:nth-child(5){display:none}.ct{min-width:380px}}@media (max-width: 560px){.ct th.ct-col-doc,.ct td:nth-child(3){display:none}.ct{min-width:unset}}.status-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:.75rem;font-weight:600;letter-spacing:.01em;white-space:nowrap}.status-badge--active{background:#dcfce7;color:#15803d}.status-badge--inactive{background:#fee2e2;color:#b91c1c}.ponto-app-devices-table{overflow-x:auto}.ponto-app-devices-header,.ponto-app-devices-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(100px,.6fr) minmax(170px,1fr) 56px;align-items:center;gap:12px;min-width:560px;padding:0 12px}.ponto-app-devices-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem}.ponto-app-devices-row{min-height:56px;border-bottom:1px solid #eef4fa;color:#425466}.ponto-compliance-filters{display:grid;grid-template-columns:repeat(2,minmax(180px,280px));gap:16px;align-items:end;margin:18px 0 20px;max-width:600px}.ponto-compliance-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}.ponto-compliance-card{display:grid;gap:20px;border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:22px;min-height:220px}.ponto-compliance-card-primary{border-color:#9bdcff;background:#f6fbff}.ponto-compliance-card-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start}.ponto-compliance-card-head h3{margin:0;color:#172033;font-size:1.02rem}.ponto-compliance-card-head p{margin:6px 0 0;color:#62728a;line-height:1.5}.ponto-compliance-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#0284c7}.ponto-compliance-icon-warning{border-color:#fde68a;background:#fffbeb;color:#b45309}.ponto-compliance-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:4px}.ponto-exception-switch{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fbff}.ponto-exception-switch strong{display:block;color:#172033;font-weight:600}.ponto-exception-switch small{display:block;color:#62728a;margin-top:2px}.ponto-compliance-textarea{display:grid;gap:8px}.ponto-compliance-textarea span{color:#31435b;font-weight:600}.ponto-compliance-textarea textarea{width:100%;min-height:120px;resize:vertical;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#172033;font:inherit;line-height:1.5;padding:12px 14px}.ponto-compliance-textarea textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf829}.ponto-compliance-note{border:1px solid #dce8f3;border-radius:8px;background:#f8fbff;padding:14px}.ponto-compliance-note span{color:#31435b;font-weight:600}.ponto-compliance-note p{margin:6px 0 0;color:#62728a;line-height:1.5}@media (max-width: 1100px){.ponto-compliance-grid{grid-template-columns:1fr}}@media (max-width: 720px){.ponto-compliance-filters{grid-template-columns:1fr;max-width:none}.ponto-compliance-card{padding:16px}}.status-pill.status-active{background:#effcf6;color:#047857}.status-pill.status-inactive{background:#f1f5f9;color:#64748b}.btn.btn-small{min-height:32px;padding:0 10px;font-size:.82rem}.companies-table-header,.companies-table-row{display:grid;grid-template-columns:62px minmax(160px,1.1fr) minmax(170px,1.1fr) minmax(120px,.8fr) minmax(90px,.5fr) minmax(210px,.9fr);align-items:center;gap:12px;min-width:980px;text-align:center}.users-table-header,.users-table-row{display:grid;grid-template-columns:44px minmax(150px,1fr) minmax(180px,1.2fr) minmax(110px,.7fr) minmax(150px,1fr) minmax(80px,.5fr) minmax(90px,.5fr);align-items:center;gap:12px;min-width:900px;padding:0 16px}.audit-table-header,.audit-table-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(180px,1fr) minmax(110px,.6fr) minmax(140px,.8fr) minmax(220px,1.2fr) minmax(100px,.6fr);align-items:center;gap:12px;min-width:980px;padding:0 16px}.audit-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.78rem;font-weight:400;padding-bottom:9px}.audit-table-row{border-bottom:1px solid #f0f5fa;color:#334155}.mono-cell{font-family:Consolas,Monaco,monospace;font-size:.78rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sequence-grid{display:grid;gap:8px}.sequence-grid-header,.sequence-grid-row{display:grid;grid-template-columns:minmax(180px,1.4fr) 110px 110px 90px 110px 150px 120px;gap:10px;align-items:end}.sequence-grid-header{color:#64748b;font-size:.78rem;padding:0 8px}.sequence-grid-row{border:1px solid #d9e7f4;border-radius:8px;padding:10px;background:#f8fbff}.sequence-preview{align-items:center;border:1px solid #cfe0f1;border-radius:8px;color:#0069a8;display:flex;min-height:38px;padding:0 12px}@media (max-width: 1100px){.sequence-grid-header{display:none}.sequence-grid-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.sequence-grid-row{grid-template-columns:1fr}}.branches-table-header,.branches-table-row{display:grid;grid-template-columns:62px minmax(160px,1.1fr) minmax(170px,1.1fr) minmax(120px,.8fr) minmax(90px,.5fr) minmax(210px,.9fr);align-items:center;gap:12px;min-width:980px;text-align:center}.users-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.78rem;font-weight:400;padding-bottom:9px}.users-table-row{border-bottom:1px solid #f0f5fa;color:#334155;transition:background .12s}.users-table-row:hover{background:#f8fafc}.users-table-row strong{color:#172033;font-weight:500}.user-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#e8f0fe;color:#3b5bdb;flex-shrink:0}.user-role-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;font-size:.74rem;font-weight:500;width:fit-content}.user-role-owner{background:#fef3c7;color:#92400e}.user-role-manager{background:#dbeafe;color:#1e40af}.user-role-member{background:#f0fdf4;color:#166534}.user-branches-label{font-size:.82rem;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-modal{max-width:520px;max-height:min(calc(100dvh - 36px),820px)}.user-toggles-row{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.user-toggles-row .person-type-toggle{gap:6px}.branch-checklist{display:flex;flex-direction:column;gap:6px;margin-top:8px;padding:10px 12px;background:#f8fafc;border:1px solid #dce8f3;border-radius:8px;max-height:200px;overflow-y:auto}.branch-check-item{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.84rem;color:#334155;padding:3px 0}.branch-check-item input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer;flex-shrink:0}.inactive-tag{font-size:.7rem;color:#ef4444;background:#fef2f2;padding:1px 6px;border-radius:4px}.field-suffix-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;outline:none;cursor:pointer;color:#94a3b8;padding:0 2px;flex-shrink:0;height:100%;margin-left:4px}.field-suffix-btn:hover{color:#475569}.field-label{display:block;font-size:.84rem;color:#475569;margin-bottom:6px;font-weight:500}.branches-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;padding:0 0 12px}.branches-table-row{align-items:center;min-height:54px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.9rem}.branches-table-row strong{color:#172033;font-weight:400}.suppliers-table-header,.suppliers-table-row{display:grid;grid-template-columns:minmax(170px,1.25fr) minmax(130px,.85fr) minmax(140px,.8fr) minmax(140px,.85fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:880px}.suppliers-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;padding:0 0 12px}.suppliers-table-row{align-items:center;min-height:54px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.9rem}.suppliers-table-row strong{color:#172033;font-weight:400}.employees-table-header,.employees-table-row{display:grid;grid-template-columns:52px minmax(170px,1.25fr) minmax(120px,.75fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(80px,.45fr) minmax(110px,.55fr);gap:12px;min-width:940px}.sellers-table-header,.sellers-table-row{display:grid;grid-template-columns:52px minmax(160px,1.15fr) minmax(130px,.72fr) minmax(170px,.9fr) minmax(90px,.5fr) minmax(90px,.5fr) minmax(140px,.75fr) minmax(80px,.42fr) minmax(110px,.5fr);gap:12px;min-width:1180px}.categories-table-header,.categories-table-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,.9fr) minmax(210px,1.2fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:820px}.cost-centers-table-header,.cost-centers-table-row{display:grid;grid-template-columns:minmax(90px,.45fr) minmax(220px,1.2fr) minmax(210px,1fr) minmax(90px,.45fr) minmax(110px,.5fr);gap:12px;min-width:900px}.pre-vendas-table-header,.pre-vendas-table-row{display:grid;grid-template-columns:106px 100px 110px minmax(140px,1fr) 40px 100px 86px 124px;gap:10px;min-width:0}.pre-vendas-table-header{border-bottom:1px solid #dce8f3;color:#94a3b8;font-size:.72rem;font-weight:700;letter-spacing:.05em;padding:0 0 10px;text-transform:uppercase;white-space:nowrap}.pre-vendas-table-row{align-items:center;min-height:54px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.9rem}.pre-vendas-table-row .device-cell{display:flex;flex-direction:column;gap:1px;overflow:hidden}.pre-vendas-table-row .device-cell .device-name{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1e293b}.pre-vendas-table-row .device-cell .device-id{font-size:.74rem;color:#94a3b8;font-family:monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pre-vendas-table-row .status-cell{display:flex;align-items:center;font-size:.82rem;font-weight:600;gap:5px}.pre-vendas-table-row .status-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.pre-vendas-customer-cell{display:flex;flex-direction:column;overflow:hidden;gap:1px}.pre-vendas-customer-cell span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem}.pre-vendas-customer-cell small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.76rem;color:#64748b}.pre-venda-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:20px;font-size:.77rem;font-weight:600;white-space:nowrap}.pre-venda-badge.status-em-aberto{background:#dbeafe;color:#1d4ed8}.pre-venda-badge.status-finalizada{background:#dcfce7;color:#15803d}.pre-venda-badge.status-cancelada{background:#fee2e2;color:#b91c1c}.brands-table-header,.brands-table-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.4fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:720px}.fiscal-taxation-table-header,.fiscal-taxation-table-row{display:grid;grid-template-columns:minmax(90px,.45fr) minmax(320px,1.6fr) minmax(170px,.8fr) minmax(90px,.45fr) minmax(110px,.45fr);gap:12px;min-width:920px}.agenda-shell{display:flex;flex-direction:column;gap:16px}.agenda-summary{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:12px}.agenda-summary-card{display:grid;grid-template-columns:28px 1fr auto;align-items:center;min-height:62px;border:1px solid #dbeaf6;border-radius:8px;background:#f8fbff;color:#31445a;padding:12px 14px}.agenda-summary-card svg{color:#0284c7}.agenda-summary-card strong{color:#0f2742;font-size:1.25rem;font-weight:400}.agenda-layout{display:grid;grid-template-columns:minmax(560px,1.4fr) minmax(340px,.85fr);gap:16px}.agenda-calendar-panel,.agenda-day-panel{border:1px solid #dbeaf6;border-radius:8px;background:#fff;padding:14px}.agenda-calendar-toolbar,.agenda-day-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.agenda-calendar-toolbar strong,.agenda-day-panel-header h3{margin:0;color:#132236;font-size:1rem;font-weight:400;text-transform:capitalize}.agenda-weekdays,.agenda-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.agenda-weekdays span{color:#5c6f86;font-size:.78rem;padding:0 4px 6px;text-align:center}.agenda-day{display:flex;flex-direction:column;justify-content:space-between;min-height:82px;border:1px solid #e0edf7;border-radius:8px;background:#f8fbff;color:#19304a;padding:8px;text-align:left}.agenda-day:hover,.agenda-day.is-selected{border-color:#38bdf8;background:#e9f7ff}.agenda-day.is-today{border-color:#0284c7}.agenda-day.is-muted{color:#8ca0b4;background:#fbfdff}.agenda-day>span{font-size:.84rem}.agenda-day small{color:#5c6f86;font-size:.72rem}.agenda-day-markers{display:flex;gap:4px;margin-top:auto}.agenda-day-markers i{width:7px;height:7px;border-radius:999px}.agenda-event-list{display:flex;flex-direction:column;gap:10px;max-height:585px;overflow:auto;padding-right:2px}.agenda-event-card{display:grid;grid-template-columns:5px 1fr auto;gap:12px;border:1px solid #dbeaf6;border-radius:8px;background:#fff;padding:10px}.agenda-event-card.priority-high,.agenda-event-card.priority-critical{background:#fff9f2}.agenda-event-color{border-radius:999px}.agenda-event-content{min-width:0}.agenda-event-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.agenda-event-title-row strong{color:#132236;font-weight:400}.agenda-event-content p,.agenda-event-content small,.agenda-card-meta span{color:#52677f;font-size:.82rem}.agenda-event-content p{margin:5px 0}.agenda-card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.agenda-card-meta span{border:1px solid #e0edf7;border-radius:999px;background:#f8fbff;padding:3px 8px}.agenda-modal{max-width:min(1040px,calc(100vw - 48px))}.agenda-notification-modal{max-width:560px}.agenda-notification-body{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center}.agenda-notification-icon{display:grid;width:52px;height:52px;place-items:center;border:1px solid #bae6fd;border-radius:8px;background:#e9f7ff;color:#0284c7}.agenda-notification-body strong{color:#132236;font-size:1rem;font-weight:400}.agenda-notification-body p{margin:6px 0;color:#425466}.agenda-notification-body span{color:#64748b;font-size:.84rem}.reforma-tributaria-info{padding:4px 0 8px}.reforma-tributaria-subtitle{font-size:.78rem;color:var(--text-muted, #888);margin:0}.simples-config-form{display:flex;flex-direction:column;gap:0}.simples-config-body{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:24px;max-width:720px}.simples-config-body .company-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.simples-config-footer{display:flex;align-items:center;gap:12px;padding:16px 0 0;max-width:720px}.simples-info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 14px;font-size:12px;color:#1e40af;line-height:1.5}@media (max-width: 640px){.simples-config-body{padding:16px}.simples-config-body .company-form-grid{grid-template-columns:1fr}.simples-config-body .form-span-2{grid-column:1 / -1}}.tax-group-table-header,.tax-group-table-row{display:grid;grid-template-columns:minmax(200px,1.8fr) minmax(130px,.8fr) minmax(200px,1.2fr) minmax(70px,.35fr) minmax(70px,.35fr) minmax(90px,.4fr);gap:12px;min-width:1000px}.tax-group-modal{width:min(1160px,calc(100vw - 28px));max-height:min(98vh,900px)}.tax-group-section-title{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted, #888);margin:12px 0 0;padding-bottom:6px;border-bottom:1px solid var(--border, #e5e7eb)}.fiscal-group-selector{display:flex;gap:12px;align-items:flex-start}.fiscal-group-selector .field{margin:0}.fiscal-group-info-badge{margin:0;padding:8px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;font-size:.82rem;color:#1e40af}.payments-table-header,.payments-table-row{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(150px,.9fr) minmax(90px,.55fr) minmax(90px,.55fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:820px}.price-tables-table-header,.price-tables-table-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(70px,.45fr) minmax(180px,1fr) minmax(80px,.45fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:860px}.stock-locations-table-header,.stock-locations-table-row{display:grid;grid-template-columns:minmax(90px,.55fr) minmax(170px,1.15fr) minmax(170px,1fr) minmax(80px,.45fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:860px}.price-items-table-header,.price-items-table-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(120px,.45fr) minmax(110px,.45fr);gap:12px;min-width:560px}.price-item-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px) auto;align-items:end;gap:12px}.initial-stock-table-header,.initial-stock-table-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(100px,.55fr) minmax(100px,.55fr) minmax(100px,.55fr) 64px;gap:12px;min-width:960px}.stock-movements-table-header,.stock-movements-table-row{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(160px,.9fr) minmax(170px,1.1fr) minmax(140px,.85fr) minmax(140px,.85fr) minmax(100px,.55fr) minmax(100px,.55fr);gap:12px;min-width:980px}.mov-type-badge{display:inline-block;padding:2px 10px;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap}.mov-type-badge.is-success{background:#dcfce7;color:#15803d}.mov-type-badge.is-danger{background:#fee2e2;color:#b91c1c}.sales-orders-table-header,.sales-orders-table-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.2fr) minmax(150px,.85fr) minmax(100px,.55fr) minmax(100px,.55fr) minmax(95px,.5fr) minmax(110px,.55fr);gap:12px;min-width:960px}.purchase-orders-table-header,.purchase-orders-table-row{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(180px,1.2fr) minmax(100px,.5fr) minmax(100px,.5fr) minmax(110px,.55fr) minmax(95px,.5fr) minmax(120px,.55fr);gap:12px;min-width:930px}.service-orders-table-header,.service-orders-table-row{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(90px,.55fr) minmax(150px,1fr) minmax(160px,1fr) minmax(140px,.85fr) minmax(120px,.75fr) minmax(90px,.55fr) 180px;gap:12px;min-width:1140px}.service-order-items-header,.service-order-items-row{display:grid;grid-template-columns:minmax(80px,.55fr) minmax(180px,1.4fr) minmax(90px,.5fr) minmax(100px,.6fr) minmax(100px,.6fr) minmax(100px,.6fr) 80px;gap:10px;min-width:780px}.status-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;letter-spacing:.02em}.status-draft{background:#f1f5f9;color:#64748b}.status-open{background:#dbeafe;color:#1d4ed8}.status-in-progress{background:#fef3c7;color:#92400e}.status-waiting{background:#ede9fe;color:#6d28d9}.status-done{background:#dcfce7;color:#166534}.status-delivered{background:#d1fae5;color:#065f46}.status-cancelled{background:#fee2e2;color:#991b1b}.os-status-actions{display:inline-flex;gap:4px;align-items:center}.os-type-preview{margin-top:16px;padding:14px 16px;background:var(--surface-2, #f8fafc);border:1px solid var(--border, #e2e8f0);border-radius:8px}.os-type-preview ul{margin:0;padding-left:18px}.os-type-preview li{font-size:13px;color:var(--text-secondary, #64748b);line-height:1.8}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:9px;background:var(--primary, #3b82f6);color:#fff;font-size:10px;font-weight:700}.text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-pick-strip{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.btn-quick-pick{display:inline-flex;align-items:center;padding:3px 10px;border:1px solid #cbd5e1;border-radius:20px;background:#f8fafc;color:#475569;font-size:12px;cursor:pointer;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}.btn-quick-pick:hover{background:#e0f2fe;border-color:#38bdf8;color:#0369a1}.eq-type-modal-backdrop{z-index:50}.eq-type-field-row{display:flex;align-items:flex-end;gap:8px}.eq-type-manager-btn{flex-shrink:0;margin-bottom:2px}.eq-type-manager{margin-top:10px;padding:14px 16px;border:1px solid #dbeafe;border-radius:8px;background:#f0f7ff}.eq-type-manager-title{font-size:12px;font-weight:600;color:#1e40af;margin:0 0 10px;text-transform:uppercase;letter-spacing:.04em}.eq-type-add-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.eq-type-input{flex:1;height:34px;padding:0 10px;border:1px solid #bfdbfe;border-radius:6px;background:#fff;font-size:13px}.eq-type-input:focus{outline:none;border-color:#3b82f6}.eq-type-list{display:flex;flex-direction:column;gap:4px;max-height:180px;overflow-y:auto}.eq-type-item{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;border-radius:6px;background:#fff;border:1px solid #dbeafe}.eq-type-name{font-size:13px;color:#1e293b}.eq-type-name.inactive{color:#94a3b8;text-decoration:line-through}.eq-type-actions{display:flex;gap:4px}.eq-type-empty{font-size:12px;color:#94a3b8;margin:0;text-align:center;padding:8px 0}.pending-items-notice{padding:10px 14px;margin-bottom:14px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;font-size:13px;color:#92400e}.accounts-receivable-table-header,.accounts-receivable-table-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1.2fr) minmax(110px,.6fr) minmax(100px,.55fr) minmax(100px,.55fr) minmax(100px,.55fr) minmax(90px,.5fr) minmax(130px,.65fr);gap:12px;min-width:1060px}.accounts-payable-table-header,.accounts-payable-table-row{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(170px,1fr) minmax(180px,1fr) minmax(105px,.55fr) minmax(110px,.55fr) minmax(100px,.5fr) minmax(100px,.5fr) minmax(100px,.5fr) minmax(90px,.45fr) minmax(130px,.6fr);gap:12px;min-width:1320px}.cost-center-modal{width:min(760px,100%)}.hierarchy-name{display:inline-flex;align-items:center;gap:6px}.hierarchy-marker{color:#0284c7}.receivable-payment-modal{max-width:860px}.customer-search-control{position:relative}.customer-search-results{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:70;display:grid;max-height:270px;overflow:auto;border:1px solid #cfe0f2;border-radius:8px;background:#fff}.customer-search-option{display:grid;gap:4px;width:100%;border:0;border-bottom:1px solid #edf4fb;background:transparent;color:#172033;cursor:pointer;font:inherit;padding:10px 12px;text-align:left}.customer-search-option:hover{background:#eef7ff}.customer-search-option span{color:#172033}.customer-search-option small,.customer-search-empty{color:#62728a;font-size:.78rem}.customer-search-empty{padding:12px}.receivable-modal{width:min(1180px,calc(100vw - 32px));max-height:min(98vh,920px)}.receivable-modal .modal-body{overflow:visible;padding-right:0}.receivable-modal .company-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.receivable-modal .field.form-span-2{grid-column:span 4}.receivable-modal .receivable-order-field{grid-column:span 3}.receivable-modal .modal-footer{padding-top:10px}.receivable-attachments-panel{display:grid;gap:10px;border:1px solid #dce8f3;border-radius:8px;background:#f8fbff;padding:10px 12px}.receivable-attachments-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.receivable-attachments-header input{display:none}.receivable-attachments-list{display:grid;gap:8px}.receivable-attachments-list p{margin:0;color:#62728a}.receivable-attachment-item{display:grid;grid-template-columns:minmax(0,1fr) 80px auto;align-items:center;gap:10px;border-top:1px solid #dce8f3;color:#50627a;padding-top:8px}.receivable-attachment-item>a,.receivable-attachment-item>span{display:inline-flex;min-width:0;align-items:center;gap:8px;color:#172033;text-decoration:none}.receivable-attachment-item>a span,.receivable-attachment-item>span span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receivable-attachment-item small{color:#62728a}.receivable-payment-head,.receivable-payment-total,.receivable-payment-history{border:1px solid #dce8f3;border-radius:8px;background:#f8fbff}.receivable-payment-head{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.3fr) minmax(120px,.8fr);gap:12px;margin-bottom:14px;padding:12px 14px;color:#31435b}.receivable-payment-total{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding:13px 14px}.receivable-payment-total strong{color:#0075b8;font-size:1rem;font-weight:400}.receivable-payment-history{display:grid;gap:8px;margin-top:12px;padding:12px 14px}.receivable-payment-history>span{color:#31435b}.receivable-payment-history p{margin:0;color:#62728a}.receivable-payment-history-row{display:grid;grid-template-columns:minmax(95px,.5fr) minmax(130px,1fr) minmax(95px,.55fr) minmax(95px,.55fr);gap:10px;border-top:1px solid #dce8f3;padding-top:8px}.installment-preview{display:grid;gap:6px;grid-column:1 / -1;border:1px solid #dce8f3;border-radius:8px;background:#f8fbff;padding:10px 12px;width:100%}.installment-preview-header,.installment-preview-row{display:grid;grid-template-columns:minmax(42px,.35fr) minmax(120px,.75fr) minmax(120px,.7fr);gap:10px;align-items:center}.installment-preview-header{color:#31435b}.installment-preview-header span:first-child{grid-column:span 2}.installment-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;max-height:none;overflow:visible}.installment-preview-row{border-top:1px solid #dce8f3;color:#50627a;padding:6px 0}.sales-item-form,.purchase-item-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(100px,.45fr) minmax(110px,.45fr) minmax(110px,.45fr) auto;align-items:end;gap:12px}.service-item-form{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(200px,1.6fr) minmax(80px,.35fr) minmax(100px,.45fr) minmax(100px,.45fr) minmax(100px,.45fr) auto;align-items:end;gap:12px}.sales-order-items-panel,.purchase-order-items-panel{display:grid;gap:12px;margin-top:4px;border-top:1px solid #dce8f3;padding-top:12px}.sales-items-table-header,.sales-items-table-row,.purchase-items-table-header,.purchase-items-table-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(80px,.4fr) minmax(100px,.45fr) minmax(100px,.45fr) minmax(100px,.45fr) minmax(100px,.45fr);gap:12px;min-width:760px}.quotation-items-table{grid-template-columns:24px minmax(220px,2fr) minmax(150px,.8fr) minmax(110px,.7fr) minmax(100px,.65fr) minmax(120px,.7fr) minmax(86px,.5fr);min-width:940px}.item-quantity-actions{display:inline-flex;align-items:center;gap:7px}.item-quantity-actions .btn{width:30px;height:30px;min-height:30px}.item-quantity-actions small{min-width:52px;text-align:center;color:#2f3f55;font-size:.84rem}.quotation-total-highlight{display:flex;align-items:center;justify-content:flex-end;gap:18px;border-top:1px solid #dce8f3;background:#eef8ff;padding:14px 16px;color:#2f3f55}.quotation-total-highlight span{font-size:.86rem}.quotation-total-highlight strong{color:#075985;font-size:1.18rem;font-weight:400}.connection-summary-strip{display:flex;justify-content:center;gap:10px;border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:10px}.connection-summary-card{display:grid;min-width:98px;gap:2px;justify-items:center;border:1px solid #e3eef8;border-radius:8px;background:#f8fbff;padding:8px 10px;color:#5d6f86}.connection-summary-card strong{color:#172033;font-size:1.15rem;font-weight:400}.connection-summary-card span{font-size:.74rem}.connection-summary-card.is-success{background:#ecfdf5;color:#047857}.connection-summary-card.is-success strong{color:#059669}.connection-summary-card.is-warning{background:#eef8ff;color:#0369a1}.connection-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:18px}.connection-card{display:flex;min-height:260px;flex-direction:column;border:1px solid #dce8f3;border-radius:8px;background:#fff;overflow:hidden}.connection-card header{display:grid;gap:6px;background:#0ea5e9;color:#fff;padding:12px;text-align:center}.connection-card header strong{font-size:.94rem;font-weight:400}.connection-card header span{color:#e0f2fe;font-size:.78rem}.connection-card header small{justify-self:center;border:1px solid rgba(224,242,254,.7);border-radius:999px;padding:2px 8px;color:#f0f9ff;font-size:.72rem}.connection-card-body{display:grid;flex:1;align-content:center;gap:8px;justify-items:center;padding:18px;color:#425466;text-align:center}.connection-card-body svg{color:#10b981}.connection-card-body span,.connection-card-body small{font-size:.82rem}.connection-card-error{color:#ef4444;font-size:.75rem;word-break:break-word}.connection-card-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:0 14px 12px}.connection-card footer{display:flex;justify-content:flex-end;gap:8px;padding:0 12px 12px}.whatsapp-qr-modal{width:min(560px,calc(100vw - 28px))}.whatsapp-qr-modal-body{display:grid;gap:12px;justify-items:center;padding:10px 0 4px}.whatsapp-qr-modal-body p{margin:0;color:#0369a1;font-size:.9rem}.whatsapp-qr-modal-box{display:grid;width:min(100%,330px);min-height:330px;place-items:center;border:1px solid #dce8f3;border-radius:8px;background:#fff;padding:16px}.whatsapp-qr-modal-box img{width:min(100%,300px);height:auto}.whatsapp-qr-empty{display:grid;gap:10px;justify-items:center;color:#64748b;text-align:center}.products-table-header,.products-table-row{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(170px,1.2fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(80px,.45fr) minmax(100px,.6fr) minmax(90px,.55fr) minmax(110px,.55fr);gap:12px;min-width:1080px}.field-with-action{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px}.quick-create-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;border:1px solid #dce8f3;border-radius:8px;background:#f8fbff;padding:12px}.quick-create-actions{display:flex;gap:8px}.brands-table-header,.accounts-receivable-table-header,.accounts-payable-table-header,.categories-table-header,.cost-centers-table-header,.employees-table-header,.sellers-table-header,.initial-stock-table-header,.payments-table-header,.price-items-table-header,.price-tables-table-header,.products-table-header,.purchase-items-table-header,.purchase-orders-table-header,.sales-items-table-header,.sales-orders-table-header,.stock-movements-table-header,.stock-locations-table-header,.service-orders-table-header,.service-order-items-header,.whatsapp-connections-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;padding:0 0 12px}.brands-table-row,.accounts-receivable-table-row,.accounts-payable-table-row,.categories-table-row,.cost-centers-table-row,.employees-table-row,.sellers-table-row,.initial-stock-table-row,.payments-table-row,.price-items-table-row,.price-tables-table-row,.products-table-row,.purchase-items-table-row,.purchase-orders-table-row,.sales-items-table-row,.sales-orders-table-row,.stock-movements-table-row,.stock-locations-table-row,.service-orders-table-row,.service-order-items-row,.whatsapp-connections-table-row{align-items:center;min-height:48px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.9rem}.brands-table-row strong,.accounts-receivable-table-row strong,.accounts-payable-table-row strong,.categories-table-row strong,.cost-centers-table-row strong,.employees-table-row strong,.sellers-table-row strong,.initial-stock-table-row strong,.payments-table-row strong,.price-items-table-row strong,.price-tables-table-row strong,.products-table-row strong,.purchase-items-table-row strong,.purchase-orders-table-row strong,.sales-items-table-row strong,.sales-orders-table-row strong,.stock-movements-table-row strong,.stock-locations-table-row strong,.whatsapp-connections-table-row strong{color:#172033;font-weight:400}.field-control-textarea{height:auto;min-height:92px;padding:10px 11px}.cash-flow-page{display:grid;gap:16px}.cash-flow-filters{display:flex;flex-wrap:wrap;gap:8px}.cash-flow-filters select{min-height:34px;min-width:130px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#172033;font-size:.82rem;padding:0 10px}.cash-flow-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}.cash-flow-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;min-height:92px;border:1px solid #dbe8f4;border-radius:8px;background:#fff;padding:12px}.pos-page{display:grid;gap:12px;min-width:0;max-width:100%;overflow-x:hidden}.pos-sales-consultation{display:flex;flex-direction:column;gap:12px;min-width:0;max-width:100%;max-height:calc(100dvh - 120px);overflow-y:auto;overflow-x:hidden}.pos-sales-consultation>*{min-width:0}.pos-open-actions{display:flex;justify-content:flex-start}.pos-operator-modal{width:min(560px,calc(100vw - 32px))}.pos-operator-panel{display:grid;gap:12px}.pos-operator-hero{display:flex;align-items:center;gap:12px;border:1px solid #bae6fd;border-radius:8px;background:#f0f9ff;color:#075985;padding:14px}.pos-operator-hero strong,.pos-operator-hero span{display:block}.pos-operator-hero strong{color:#075985;font-size:1rem;font-weight:400}.pos-operator-hero span{margin-top:3px;color:#42637d;font-size:.84rem;line-height:1.4}.pos-consumer-cpf-hero{background:#f0fdfb;border-color:#99f6e4;color:#0f766e}.pos-consumer-cpf-hero strong{color:#0f766e}.pos-page-sales-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;flex-shrink:0;min-width:0}.pos-page-sales-filters label{display:flex;flex-direction:column;gap:5px;color:#334155;font-size:.82rem}.pos-page-sales-filters input{min-height:36px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#172033;font-size:.86rem;outline:0;padding:0 10px}.pos-page-sales-filters input:focus{border-color:#0ea5e9;background:#fff}.pos-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;flex-shrink:0;min-width:0}.pos-kpi-card{position:relative;overflow:hidden;display:grid;gap:6px;min-height:104px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:12px;min-width:0}.pos-kpi-card:after{content:"";position:absolute;right:-20px;top:-28px;width:92px;height:92px;border-radius:999px;background:#ffffff7a}.pos-kpi-blue{border-color:#bae6fd;background:linear-gradient(135deg,#eff8ff,#dff4ff)}.pos-kpi-cyan{border-color:#a5f3fc;background:linear-gradient(135deg,#ecfeff,#d7f8ff)}.pos-kpi-teal{border-color:#99f6e4;background:linear-gradient(135deg,#f0fdfa,#dcfbf4)}.pos-kpi-indigo{border-color:#c7d2fe;background:linear-gradient(135deg,#f5f7ff,#e7ecff)}.pos-kpi-sky{border-color:#bfdbfe;background:linear-gradient(135deg,#f0f7ff,#e0f2fe)}.pos-kpi-green{border-color:#bbf7d0;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.pos-kpi-emerald{border-color:#6ee7b7;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.pos-kpi-orange{border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#ffedd5)}.pos-kpi-card span{position:relative;z-index:1;color:#64748b;font-size:.78rem;text-transform:uppercase;overflow-wrap:anywhere}.pos-kpi-card strong{position:relative;z-index:1;color:#075985;font-size:clamp(1.18rem,2vw,1.45rem);font-weight:400;overflow-wrap:anywhere}.pos-kpi-card small{position:relative;z-index:1;color:#64748b;font-size:.78rem;overflow-wrap:anywhere}.pos-analytics-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:12px;flex-shrink:0;min-width:0}.pos-analytics-card{min-width:0;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:12px}.pos-analytics-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#0369a1}.pos-analytics-header h3{margin:0;color:#172033;font-size:1rem;font-weight:400}.pos-payment-analytics{display:grid;grid-template-columns:1fr;gap:6px}.pos-payment-legend{display:grid;gap:6px}.pos-payment-legend span{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eef4fa;color:#64748b;font-size:.82rem;padding-top:6px}.pos-payment-legend strong{color:#172033;font-weight:400}.pos-chart-empty{display:grid;place-items:center;min-height:230px;border:1px dashed #cfe0ef;border-radius:8px;background:#f8fbff;color:#64748b;font-size:.86rem}.pos-chart-empty.compact{min-height:74px}.pos-operators-panel{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:16px;flex-shrink:0}.pos-operator-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos-operator-card{display:grid;gap:5px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:10px}.pos-operator-card span{color:#172033;font-size:.9rem}.pos-operator-card strong{color:#0369a1;font-size:1.15rem;font-weight:400}.pos-operator-card small{color:#64748b;font-size:.78rem}.pos-sales-summary{display:flex;flex-wrap:wrap;gap:10px}.pos-sales-summary.compact{margin-top:-2px}.pos-sales-summary span{border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#475569;padding:8px 10px;font-size:.84rem}.pos-sales-summary strong{color:#0369a1;font-weight:400}.pos-sales-table-header,.pos-sales-table-row{display:grid;grid-template-columns:1.2fr 1fr 1.5fr 70px 1fr 100px 100px 1fr 90px;gap:10px;align-items:center}.pos-sales-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;padding:0 0 10px}.pos-sales-table-row{min-height:50px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.88rem}.pos-sales-table-row strong{color:#172033;font-weight:400}.pos-sales-table-row small{display:block;color:#64748b;font-size:.75rem}.pos-sale-actions{justify-content:flex-start}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;width:fit-content;border-radius:999px;padding:0 10px;font-size:.75rem}.status-pill.success{border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d}.status-pill.danger{border:1px solid #fecaca;background:#fff1f2;color:#be123c}.pos-cancel-sale-hero{border-color:#fecaca;background:#fff1f2;color:#be123c}.pos-cancel-sale-hero strong,.pos-cancel-sale-hero span{color:#be123c}.pos-cancel-sale-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pos-cancel-sale-summary span{min-width:0;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#64748b;padding:9px;font-size:.8rem}.pos-cancel-sale-summary strong{display:block;margin-top:3px;color:#172033;font-weight:400}.pos-reprint-modal{width:min(720px,calc(100vw - 32px))}.pos-reprint-paper{display:grid;gap:12px;width:100%;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:14px}.pos-reprint-company-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px solid #eef4fa;padding-bottom:12px}.pos-reprint-company-logo{display:grid;width:64px;height:64px;place-items:center;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#0369a1;overflow:hidden}.pos-reprint-company-logo img{width:100%;height:100%;object-fit:contain}.pos-reprint-company-data{display:grid;gap:3px;min-width:0;color:#425466;font-size:.82rem;line-height:1.35}.pos-reprint-company-data strong{color:#172033;font-size:1rem;font-weight:400}.pos-reprint-company-data span{overflow-wrap:anywhere}.pos-reprint-title{display:flex;align-items:center;gap:10px;border-bottom:1px solid #eef4fa;color:#0369a1;padding-bottom:10px}.pos-reprint-title strong,.pos-reprint-title span{display:block}.pos-reprint-title strong{color:#172033;font-size:1.05rem;font-weight:400}.pos-reprint-title span{color:#64748b;font-size:.8rem}.pos-reprint-items{display:grid;gap:6px}.pos-reprint-items p,.pos-reprint-items div{margin:0;border:1px solid #eef4fa;border-radius:8px;background:#f8fbff;color:#425466;padding:9px}.pos-reprint-items div,.pos-reprint-total{display:flex;justify-content:space-between;gap:12px}.pos-reprint-items strong,.pos-reprint-total strong{color:#172033;font-weight:400}.pos-reprint-total{align-items:center;border-top:1px solid #eef4fa;color:#64748b;padding-top:10px}.pos-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;display:flex;flex-direction:column;gap:clamp(6px,.6vw,14px);overflow:hidden;background:#eaf4fc;padding:clamp(6px,.6vw,14px)}.pos-fullscreen .pos-footer{min-height:38px;flex-shrink:0}.pos-terminal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0;border:1px solid #12345a;border-radius:8px;background:#062447;color:#e8f4ff;padding:10px 12px}.pos-brand,.pos-terminal-info,.pos-customer-search,.pos-qty-control{display:flex;align-items:center}.pos-brand{gap:9px}.pos-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#0ea5e9;color:#fff}.pos-brand{min-width:0}.pos-brand strong,.pos-brand span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-brand strong{font-size:1rem;font-weight:400}.pos-brand span,.pos-terminal-info span{color:#b9d6f2;font-size:.78rem}.pos-terminal-info{flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:0;overflow:hidden}.pos-terminal-info span{border-left:1px solid rgba(185,214,242,.22);padding-left:10px}.pos-terminal-info .pos-online{color:#4ade80}.pos-terminal{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-rows:minmax(0,1fr);gap:clamp(8px,.8vw,14px);flex:1;min-height:0;overflow:hidden}.pos-sale-area,.pos-summary,.pos-items-panel,.pos-customer-panel,.pos-coupon-card,.pos-payment-card{border:1px solid #dce8f3;border-radius:8px;background:#fff}.pos-sale-area{display:grid;grid-template-rows:auto auto minmax(260px,1fr) auto;gap:clamp(6px,.6vw,12px);min-height:0;padding:clamp(6px,.6vw,12px)}.pos-input-row{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(200px,1fr) auto;gap:8px}.pos-lookup,.pos-customer-search{position:relative}.pos-barcode-field,.pos-search-field,.pos-item-controls label,.pos-received-field{display:flex;align-items:center;min-height:42px;border:1px solid #cfe0ef;border-radius:8px;background:#f8fbff;color:#0369a1}.pos-barcode-field:focus-within,.pos-search-field:focus-within,.pos-item-controls label:focus-within,.pos-received-field:focus-within{border-color:#0ea5e9;background:#fff}.pos-barcode-field svg,.pos-search-field svg{flex:0 0 auto;margin:0 12px}.pos-barcode-field input,.pos-search-field input,.pos-item-controls input,.pos-received-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#172033;font-size:.92rem}.pos-suggestions{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:125;display:grid;gap:4px;max-height:280px;overflow:auto;border:1px solid #cfe0ef;border-radius:8px;background:#fff;padding:6px}.pos-suggestions>span{color:#64748b;font-size:.84rem;padding:9px}.pos-suggestions button{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;min-height:52px;border:1px solid transparent;border-radius:8px;background:#fff;color:#172033;padding:6px;text-align:left}.pos-suggestions button:hover{border-color:#bae6fd;background:#f0f9ff}.pos-suggestions img,.pos-product-preview img{width:42px;height:42px;border:1px solid #d7e6f2;border-radius:8px;object-fit:cover}.pos-suggestions svg,.pos-product-preview svg{color:#64748b}.pos-suggestions strong,.pos-product-preview strong{display:block;overflow:hidden;color:#172033;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.pos-suggestions small,.pos-product-preview small{display:block;overflow:hidden;color:#64748b;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.pos-add-button{min-height:42px}.pos-item-controls{display:grid;grid-template-columns:minmax(280px,1.6fr) repeat(3,minmax(0,.7fr));gap:8px}.pos-product-preview{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;min-height:52px;border:2px solid #bae6fd;border-radius:8px;background:#f0f9ff;padding:5px 10px}.pos-product-preview strong{font-size:1rem;font-weight:600!important;color:#0c4a6e!important}.pos-item-controls label,.pos-received-field{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:7px 10px;color:#64748b;font-size:.76rem}.pos-items-panel{min-height:0;overflow:hidden}.pos-items-header,.pos-items-row{display:grid;grid-template-columns:44px 110px minmax(180px,1fr) 130px 52px 90px 80px 100px 52px;gap:clamp(4px,.4vw,8px);align-items:center}.pos-items-header{border-bottom:1px solid #dce8f3;background:#f8fbff;color:#64748b;font-size:.74rem;padding:10px 12px;text-transform:uppercase}.pos-items-list{min-height:0;height:100%;overflow:auto}.pos-items-row{min-width:820px;border-bottom:1px solid #e2ecf6;color:#1e3a52;font-size:clamp(.78rem,.8vw,.92rem);padding:clamp(7px,.6vw,12px) clamp(8px,.7vw,14px);background:#fff;transition:background .12s}.pos-items-row:nth-child(2n){background:#f0f7ff}.pos-items-row:hover{background:#dbeeff;border-bottom-color:#bfdbfe}.pos-items-row strong{color:#0f2540;font-weight:600;font-size:.88rem}.pos-items-row .pos-item-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:#0ea5e9;color:#fff;font-size:.75rem;font-weight:700;border-radius:50%}.pos-items-row .pos-item-subtotal{font-weight:700;color:#0f5fa8;font-size:.9rem}.pos-items-row-complement{background:#f0fdf4!important;border-bottom-color:#bbf7d0!important;padding-left:16px;opacity:.92}.pos-items-row-complement .pos-item-num{background:#16a34a;font-size:.9rem;font-weight:700}.pos-items-row-complement strong{color:#166534}.pos-qty-control{gap:6px}.pos-qty-control .btn-icon{width:28px;min-width:28px;min-height:28px}.pos-empty{display:grid;place-items:center;min-height:260px;color:#64748b;text-align:center}.pos-empty strong{color:#172033;font-weight:400;margin-top:8px}.pos-customer-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:10px;padding:10px}.pos-customer-search{gap:8px;min-height:38px;margin-top:6px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:0 10px;color:#0369a1}.pos-customer-suggestions{top:calc(100% + 6px)}.pos-terminal-message{position:absolute;top:68px;left:10px;right:10px;z-index:126;border:1px solid #fbbf24;border-radius:8px;background:#fffbeb;color:#92400e;padding:9px 12px;font-size:.86rem}.pos-barcode-alert{position:fixed;top:50%;left:50%;z-index:140;display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center;width:min(680px,calc(100vw - 32px));min-height:160px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#be123c;overflow:hidden;padding:26px;transform:translate(-50%,-50%);animation:pos-alert-pop .18s ease-out}.pos-barcode-alert svg{color:#be123c;width:52px;height:52px}.pos-barcode-alert strong{display:block;color:#9f1239;font-size:1.45rem;font-weight:400}.pos-barcode-alert span,.pos-barcode-alert small{display:block;color:#be123c;font-size:1rem}.pos-barcode-alert small{margin-top:8px;color:#64748b}.pos-barcode-alert:after{content:"";position:absolute;left:0;bottom:0;height:4px;width:100%;background:#ef4444;animation:pos-alert-timeout 3s linear forwards}.pos-close-alert{border-color:#bfdbfe;background:#eff6ff;color:#075985}.pos-close-alert svg,.pos-close-alert strong,.pos-close-alert span{color:#075985}.pos-close-alert:after{background:#0284c7}.pos-notice-alert{z-index:160}.pos-notice-info{border-color:#bfdbfe;background:#eff6ff;color:#075985}.pos-notice-info svg,.pos-notice-info strong,.pos-notice-info span{color:#075985}.pos-notice-info:after{background:#0284c7}.pos-notice-success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.pos-notice-success svg,.pos-notice-success strong,.pos-notice-success span{color:#15803d}.pos-notice-success:after{background:#22c55e}.pos-notice-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.pos-notice-warning svg,.pos-notice-warning strong,.pos-notice-warning span{color:#92400e}.pos-notice-warning:after{background:#f59e0b}@keyframes pos-alert-pop{0%{opacity:0;transform:translate(-50%,-46%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes pos-alert-timeout{0%{width:100%}to{width:0}}.pos-customer-search input{width:100%;border:0;outline:0;background:transparent;color:#172033;font-size:.86rem}.pos-customer-card{display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:10px;color:#64748b;font-size:.82rem}.pos-customer-card strong{color:#172033;font-weight:400}.pos-summary{display:flex;flex-direction:column;min-height:0;overflow:hidden}.pos-summary-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:clamp(4px,.7vh,8px);padding:clamp(4px,.7vh,8px) clamp(6px,.8vw,10px) clamp(6px,.8vh,10px);scrollbar-width:thin;scrollbar-color:#dce8f3 transparent}.pos-summary-actions{flex-shrink:0;display:flex;flex-direction:column;gap:clamp(4px,.6vh,7px);padding:clamp(5px,.7vh,8px)}.pos-secondary-actions{display:flex;flex-direction:column;gap:clamp(4px,.6vh,7px)}.pos-slider{position:relative;border-radius:8px;overflow:hidden;background:#f1f5f9;flex-shrink:0}.pos-slider-img{display:block;width:100%;height:clamp(110px,14vh,200px);object-fit:contain;background:#f1f5f9;animation:pos-slide-in .4s ease}@keyframes pos-slide-in{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}.pos-slider-dots{position:absolute;bottom:6px;left:50%;transform:translate(-50%);display:flex;gap:5px}.pos-slider-dot{width:7px;height:7px;border-radius:50%;background:#ffffff80;border:none;padding:0;cursor:pointer;transition:background .2s}.pos-slider-dot.is-active{background:#fff}.pos-coupon-card,.pos-payment-card{padding:clamp(6px,.9vh,10px)}.pos-coupon-card{margin-top:clamp(6px,1vh,14px)}.pos-coupon-top,.pos-total-lines span,.pos-change{display:flex;justify-content:space-between;gap:10px}.pos-coupon-top span{border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#075985;padding:4px 8px;font-size:.72rem;text-transform:uppercase}.pos-coupon-top strong,.pos-total-lines strong,.pos-change strong{font-weight:400}.pos-total-lines{display:grid;gap:clamp(3px,.5vh,6px);margin-top:clamp(6px,.9vh,10px);color:#334155}.pos-total-lines .negative,.pos-total-lines .negative strong{color:#dc2626}.pos-grand-total{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:clamp(6px,1vh,12px);background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:12px;padding:clamp(6px,1vh,10px) 12px clamp(4px,.8vh,8px);text-align:center}.pos-grand-total span{color:#1e40af;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.pos-grand-total strong{color:#1d4ed8;font-size:clamp(1.6rem,2.8vw,2.6rem);font-weight:700;line-height:1}.pos-change{align-items:center;margin-top:clamp(3px,.5vh,6px);padding:clamp(3px,.5vh,5px) 10px;border-radius:8px;color:#334155;transition:background .15s,border-color .15s}.pos-change.has-change{background:#f0fdf4;border:1.5px solid #86efac;padding:10px 14px;color:#15803d;font-weight:600}.pos-change strong{color:#16a34a;font-size:clamp(.95rem,1.8vh,1.4rem)}.pos-change.has-change strong{color:#15803d;font-size:clamp(1rem,2vh,1.7rem);font-weight:700}.pos-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(4px,.6vh,7px);margin-top:clamp(4px,.6vh,8px);max-height:clamp(130px,22vh,260px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dce8f3 transparent}.pos-payment-option{display:flex;align-items:center;gap:8px;min-height:clamp(32px,3.8vh,42px);border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#0369a1;padding:0 10px;font-size:clamp(.74rem,1.2vh,.82rem);text-align:left;position:relative}.pos-payment-option kbd{margin-left:auto;font-size:.68rem;font-family:inherit;background:#1e3a5f;color:#fff;border-radius:4px;padding:2px 5px;white-space:nowrap;flex-shrink:0}.pos-payment-option.is-active kbd{background:#075985}.pos-payment-option.is-active{border-color:#0ea5e9;background:#eaf7ff;color:#075985}.pos-received-field{margin-top:10px}.pos-add-payment-button{width:100%;margin-top:8px;justify-content:center}.pos-add-payment-button kbd{margin-left:8px;font-size:.68rem;font-family:inherit;background:#ffffff40;color:#fff;border-radius:4px;padding:2px 5px;white-space:nowrap}.pos-payment-progress{display:grid;gap:4px;margin-bottom:clamp(6px,.8vh,10px);border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:clamp(5px,.7vh,8px);color:#425466;font-size:.78rem}.pos-payment-progress span{display:flex;justify-content:space-between;gap:8px}.pos-payment-progress strong{color:#0369a1;font-weight:400}.pos-payment-list{display:grid;gap:6px;margin-top:8px}.pos-payment-list div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:7px;color:#334155;font-size:.78rem}.pos-payment-list strong{color:#172033;font-weight:400}.pos-payment-list button{display:grid;width:28px;height:28px;place-items:center;border:1px solid #fecaca;border-radius:7px;background:#fff1f2;color:#e11d48}.pos-finish-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:62px;border:1px solid #16a34a;border-radius:8px;background:#16a34a;color:#fff;font-size:1rem;text-transform:uppercase}.pos-finish-button kbd,.pos-cancel-sale kbd,.pos-tool-grid kbd{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:22px;border:1px solid currentColor;border-radius:6px;background:#ffffffb8;color:inherit;font-family:inherit;font-size:.7rem;line-height:1;padding:0 6px}.pos-finish-button kbd{background:#ffffff2e}.pos-cancel-sale{display:flex;align-items:center;justify-content:center;gap:6px;min-height:clamp(34px,4vh,40px);font-size:.85rem}.pos-close-terminal{color:#0369a1;white-space:nowrap}.pos-header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.pos-behavior-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #f1f5f9}.pos-behavior-row:last-child{border-bottom:none}.pos-behavior-row>div:first-child{display:flex;flex-direction:column;gap:2px}.pos-behavior-row strong{font-size:.88rem;color:#1e293b;font-weight:600}.pos-behavior-row small{font-size:.78rem;color:#64748b}.pos-auto-open-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0 4px;border-top:1px solid #f1f5f9}.pos-fullscreen-toggle{color:#fff9;flex-shrink:0;border:1px solid rgba(255,255,255,.15)}.pos-fullscreen-toggle:hover{color:#fff;background:#ffffff1a;border-color:#ffffff4d}.pos-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-tool-grid button{display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid #d7e6f2;border-radius:8px;background:#fff;color:#0369a1;padding:0 10px;font-size:.8rem;text-align:left}.pos-tool-grid button span{flex:1;min-width:0}.pos-tool-grid button:hover{border-color:#7dd3fc;background:#eaf7ff}.pos-tool-grid button.pos-btn-sangria{border-color:#fcd34d;background:#fffbeb;color:#b45309}.pos-tool-grid button.pos-btn-sangria:hover{border-color:#fbbf24;background:#fef3c7}.pos-tool-grid button.pos-btn-fechamento{border-color:#c4b5fd;background:#f5f3ff;color:#5b21b6}.pos-tool-grid button.pos-btn-fechamento:hover{border-color:#a78bfa;background:#ede9fe}.pos-tool-grid button.pos-btn-cancel-item{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.pos-tool-grid button.pos-btn-cancel-item:hover{border-color:#f87171;background:#fee2e2}.pos-tool-grid button.pos-btn-price{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.pos-tool-grid button.pos-btn-price:hover{border-color:#60a5fa;background:#dbeafe}.pos-tool-grid button.pos-btn-customer{border-color:#6ee7b7;background:#ecfdf5;color:#047857}.pos-tool-grid button.pos-btn-customer:hover{border-color:#34d399;background:#d1fae5}.pos-tool-grid button.pos-btn-sales{border-color:#cbd5e1;background:#f8fafc;color:#334155}.pos-tool-grid button.pos-btn-sales:hover{border-color:#94a3b8;background:#f1f5f9}.pos-tool-grid button.pos-btn-supply{border-color:#6ee7b7;background:#ecfdf5;color:#047857}.pos-tool-grid button.pos-btn-supply:hover{border-color:#34d399;background:#d1fae5}.pos-tool-grid button.pos-btn-reprint{border-color:#c7d2fe;background:#eef2ff;color:#3730a3}.pos-tool-grid button.pos-btn-reprint:hover{border-color:#a5b4fc;background:#e0e7ff}.pos-tool-grid button.pos-btn-reprint:disabled{opacity:.45;cursor:not-allowed}.pos-tool-summary-supply{border-color:#6ee7b7;background:#ecfdf5}.pos-tool-summary-supply strong{color:#047857}.pos-discount-row{display:flex;gap:4px;align-items:center;width:100%}.pos-discount-row input{flex:1;min-width:0;width:auto}.pos-discount-mode{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border:1px solid #d7e6f2;border-radius:6px;background:#f8fbff;color:#64748b;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.pos-discount-mode:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.pos-discount-mode.is-active{border-color:#f59e0b;background:#fffbeb;color:#b45309}.pos-coupon-adjust{display:grid;gap:6px;margin-top:10px;border-top:1px dashed #e2eaf4;padding-top:10px}.pos-coupon-adjust-row{display:flex;align-items:center;gap:6px}.pos-coupon-adjust-row>span{flex:1;color:#64748b;font-size:.74rem;text-transform:uppercase;white-space:nowrap}.pos-coupon-adjust-input{display:flex;align-items:center;gap:4px}.pos-coupon-adjust-input input{width:80px;height:28px;border:1px solid #d7e6f2;border-radius:6px;background:#f8fbff;color:#0f2540;font-size:.78rem;padding:0 6px;text-align:right}.pos-coupon-adjust-input input:focus{border-color:#60a5fa;outline:none}.pos-total-lines .positive,.pos-total-lines .positive strong{color:#0369a1}.pos-stock-badge{display:inline-flex;align-items:center;gap:3px;border-radius:4px;font-size:.68rem;font-weight:600;padding:1px 5px;margin-top:3px;text-transform:uppercase;letter-spacing:.02em}.pos-stock-ok{background:#dcfce7;color:#166534}.pos-stock-low{background:#fef3c7;color:#92400e}.pos-stock-out{background:#fee2e2;color:#991b1b}.pos-tool-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9200;display:grid;place-items:center;background:#0f172a3d;padding:18px}.pos-tool-modal{display:flex;flex-direction:column;width:min(760px,100%);max-height:min(80vh,650px);overflow:hidden;border:1px solid #d7e6f2;border-radius:8px;background:#fff;padding:16px}.pos-tool-modal-wide{width:min(980px,100%)}.pos-tool-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e5edf5;padding-bottom:12px}.pos-tool-modal-header h2{margin:0;color:#172033;font-size:1.15rem;font-weight:400}.pos-tool-body{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow-y:auto;padding-top:12px}.pos-tool-summary{display:grid;gap:4px;border:1px solid #bae6fd;border-radius:8px;background:#f0f9ff;padding:12px}.pos-tool-summary span,.pos-close-grid span{color:#64748b;font-size:.78rem;text-transform:uppercase}.pos-tool-summary strong{color:#075985;font-size:1.5rem;font-weight:400}.pos-close-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.pos-close-grid div{display:grid;gap:5px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;padding:10px}.pos-close-grid strong{color:#075985;font-size:1rem;font-weight:400}.pos-tool-list{display:grid;align-content:start;gap:8px;flex:1;min-height:0;overflow:auto}.pos-tool-list p{margin:0;border:1px dashed #cfe0ef;border-radius:8px;background:#f8fbff;color:#64748b;padding:14px}.pos-tool-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border:1px solid #eef4fa;border-radius:8px;padding:9px}.pos-tool-list>div span,.pos-tool-list>div small{color:#64748b}.pos-tool-list>div strong{color:#172033;font-weight:400}.pos-tool-sales-header,.pos-tool-sales-row{display:grid;grid-template-columns:1.25fr 1.15fr 1.45fr 100px 110px 90px;gap:10px}.pos-tool-sales-header--fiscal,.pos-tool-sales-row--fiscal{grid-template-columns:1.25fr 1.1fr 1.3fr 90px 80px 90px 80px;align-items:center}.pos-tool-sales-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pos-tool-sales-filters label{display:grid;gap:5px;color:#475569;font-size:.82rem}.pos-tool-sales-filters input{min-height:38px;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#172033;font-size:.86rem;outline:0;padding:0 10px}.pos-tool-sales-filters input:focus{border-color:#0ea5e9;background:#fff}.pos-tool-sales-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.78rem;padding-bottom:8px}.pos-tool-sales-list{display:grid;align-content:start;gap:8px;flex:1;min-height:0;overflow:auto}.pos-tool-sales-list p{margin:0;border:1px dashed #cfe0ef;border-radius:8px;background:#f8fbff;color:#64748b;padding:16px}.pos-tool-sales-row{border:1px solid #e6f0f8;border-radius:8px;background:#fbfdff;color:#334155;font-size:.82rem;padding:9px}.pos-tool-sales-row>strong{color:#172033;font-weight:400}.pos-tool-sales-row small{display:block;color:#64748b;font-size:.74rem}.pos-price-result,.pos-customer-result{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto;gap:14px;align-items:center;min-height:72px;border:1px solid #eef4fa;border-radius:10px;background:#fff;color:#172033;padding:10px 14px;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s}.pos-customer-result{grid-template-columns:36px minmax(0,1fr)}.pos-price-result:hover{border-color:#bfdbfe;background:#f8fbff}.pos-price-result.is-selected{border-color:#3b82f6;background:#eff6ff;outline:none}.pos-price-result.is-selected .pos-price-add-btn{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#4ade80;color:#166534}.pos-customer-result:hover{border-color:#86efac;background:#f0fdf4;box-shadow:0 2px 8px #16a34a1a}.pos-tool-list>.pos-price-result{grid-template-columns:56px minmax(0,1fr) auto auto;border:1px solid #eef4fa;border-radius:10px;padding:10px 14px}.pos-price-add-btn{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;min-width:82px;height:36px;border:1px solid #86efac;border-radius:7px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#15803d;font-size:.72rem;font-weight:600;cursor:pointer;padding:0 10px;transition:background .15s,border-color .15s,box-shadow .15s;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.pos-price-add-btn:hover{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#4ade80;color:#166534}.pos-price-add-btn:active{transform:scale(.97)}.pos-price-result-image{display:grid;width:64px;height:64px;place-items:center;border:2px solid #e2e8f0;border-radius:10px;background:#f8fafc;overflow:hidden;box-shadow:0 1px 4px #0f172a14;color:#94a3b8}.pos-price-result:hover .pos-price-result-image{border-color:#93c5fd}.pos-price-result-image img{width:100%;height:100%;object-fit:cover}.pos-price-result-info{display:grid;gap:3px}.pos-price-result-info strong{display:block;color:#172033;font-size:.92rem;font-weight:500}.pos-price-result-info small{display:block;color:#64748b;font-size:.76rem}.pos-price-result-value{display:inline-flex;align-items:center;justify-content:center;min-width:110px;min-height:40px;border:1px solid #bbf7d0;border-radius:8px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#15803d;font-size:1.2rem;font-weight:600;padding:4px 14px;letter-spacing:-.01em;white-space:nowrap}.pos-price-result strong,.pos-customer-result strong{display:block;color:#172033;font-weight:400}.pos-price-result small,.pos-customer-result small{display:block;color:#64748b;font-size:.76rem}.pos-menu-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:clamp(34px,4vh,40px);border:1px solid #c4b5fd;border-radius:8px;background:linear-gradient(135deg,#f5f3ff,#ede9fe);color:#4c1d95;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .14s,border-color .14s;letter-spacing:.01em}.pos-menu-button:hover{border-color:#a78bfa;background:linear-gradient(135deg,#ede9fe,#ddd6fe)}.pos-menu-button kbd{font-size:.68rem;font-family:inherit;background:#4c1d95;color:#fff;border-radius:4px;padding:2px 5px;white-space:nowrap}.pos-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-menu-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:60px;border:1px solid #d7e6f2;border-radius:10px;background:#f8fbff;color:#0369a1;font-size:.75rem;font-weight:500;text-align:center;cursor:pointer;padding:7px 6px;transition:background .12s,border-color .12s,transform .08s}.pos-menu-item:hover{border-color:#7dd3fc;background:#eaf7ff;transform:translateY(-1px)}.pos-menu-item:active{transform:scale(.97)}.pos-menu-item:disabled{opacity:.42;cursor:not-allowed;transform:none}.pos-menu-item span{line-height:1.3}.pos-menu-item kbd{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:18px;border:1px solid currentColor;border-radius:4px;font-family:inherit;font-size:.65rem;font-weight:700;padding:0 5px;opacity:.7}.pos-menu-reprint{border-color:#c7d2fe;background:#eef2ff;color:#3730a3}.pos-menu-reprint:hover{border-color:#a5b4fc;background:#e0e7ff}.pos-menu-save,.pos-menu-held,.pos-menu-sales{border-color:#cbd5e1;background:#f8fafc;color:#334155}.pos-menu-save:hover,.pos-menu-held:hover,.pos-menu-sales:hover{border-color:#94a3b8;background:#f1f5f9}.pos-menu-price{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.pos-menu-price:hover{border-color:#60a5fa;background:#dbeafe}.pos-menu-customer{border-color:#6ee7b7;background:#ecfdf5;color:#047857}.pos-menu-customer:hover{border-color:#34d399;background:#d1fae5}.pos-menu-supply{border-color:#6ee7b7;background:#ecfdf5;color:#047857}.pos-menu-supply:hover{border-color:#34d399;background:#d1fae5}.pos-menu-sangria{border-color:#fcd34d;background:#fffbeb;color:#b45309}.pos-menu-sangria:hover{border-color:#fbbf24;background:#fef3c7}.pos-menu-closing{border-color:#c4b5fd;background:#f5f3ff;color:#5b21b6}.pos-menu-closing:hover{border-color:#a78bfa;background:#ede9fe}.pos-menu-cancel-item{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.pos-menu-cancel-item:hover{border-color:#f87171;background:#fee2e2}.pos-menu-lock{border-color:#f9a8d4;background:#fdf2f8;color:#9d174d}.pos-menu-lock:hover{border-color:#f472b6;background:#fce7f3}.pos-lock-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:9999;background:#0f172a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;color:#f1f5f9}.pos-lock-icon-wrap{background:#ffffff14;border:1px solid rgba(255,255,255,.15);border-radius:50%;width:100px;height:100px;display:flex;align-items:center;justify-content:center;color:#94a3b8;margin-bottom:.5rem}.pos-lock-title{font-size:1.75rem;font-weight:700;letter-spacing:.02em;margin:0;color:#f1f5f9}.pos-lock-subtitle{font-size:.95rem;color:#94a3b8;margin:0}.pos-lock-form{display:flex;flex-direction:column;align-items:center;gap:.75rem;margin-top:.5rem;width:280px}.pos-lock-input{width:100%;padding:.75rem 1rem;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:#ffffff14;color:#f1f5f9;font-size:1rem;text-align:center;outline:none;letter-spacing:.2em;box-sizing:border-box}.pos-lock-input::placeholder{color:#64748b;letter-spacing:normal}.pos-lock-input:focus{border-color:#fff6;background:#ffffff1f}.pos-lock-message{font-size:.85rem;color:#f87171;margin:0}.pos-lock-btn{width:100%;padding:.75rem 1rem;border-radius:10px;border:none;background:#3b82f6;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background .15s}.pos-lock-btn:hover:not(:disabled){background:#2563eb}.pos-lock-btn:disabled{opacity:.5;cursor:not-allowed}.pos-shortcut-bar{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:2px;background:#0f172a;border-radius:8px;padding:0;scrollbar-width:none;flex-shrink:0}.pos-shortcut-bar::-webkit-scrollbar{display:none}.pos-shortcut-bar span{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;padding:5px 10px;color:#cbd5e1;font-size:.72rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .1s,color .1s;border-right:1px solid #1e293b}.pos-shortcut-bar span:hover{background:#1e293b;color:#e2e8f0}.pos-shortcut-bar span kbd{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:17px;border:1px solid #475569;border-radius:3px;background:#1e293b;color:#94a3b8;font-family:inherit;font-size:.64rem;font-weight:700;padding:0 4px}.pos-shortcut-bar span:hover kbd{border-color:#64748b;background:#334155;color:#cbd5e1}.pos-shortcut-finish{color:#86efac!important}.pos-shortcut-finish kbd{border-color:#4ade80!important;background:#14532d!important;color:#86efac!important}.pos-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;border:1px solid #12345a;border-radius:8px;background:#062447;color:#b9d6f2;padding:10px 12px;font-size:.78rem}@media (max-width: 1380px){.pos-terminal{grid-template-columns:minmax(0,1fr) 300px}.pos-input-row{grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr) auto}.pos-items-header,.pos-items-row{grid-template-columns:38px 96px minmax(150px,1fr) 110px 46px 76px 68px 88px 46px;font-size:.78rem;gap:5px}.pos-items-header{font-size:.68rem;padding:8px 10px}.pos-items-row{min-width:720px;padding:7px 10px}.pos-item-controls{grid-template-columns:minmax(200px,1.4fr) repeat(3,minmax(0,.7fr));gap:6px}.pos-grand-total strong{font-size:2.2rem}.pos-summary-body{padding:8px 8px 0;gap:8px}.pos-payment-grid{gap:6px}.pos-payment-option{min-height:46px;font-size:.78rem}}@media (max-width: 1280px){.pos-terminal{grid-template-columns:minmax(0,1fr) 280px}.pos-items-header,.pos-items-row{grid-template-columns:34px 86px minmax(130px,1fr) 96px 40px 68px 60px 78px 40px;font-size:.74rem;gap:4px}.pos-items-row{min-width:640px;font-size:.74rem}.pos-items-header{font-size:.64rem;padding:7px 8px}.pos-terminal-info span{font-size:.72rem;padding-left:7px}}@media (min-width: 2560px){.pos-terminal{grid-template-columns:minmax(0,1fr) minmax(400px,480px)}.pos-items-header,.pos-items-row{grid-template-columns:56px 150px minmax(260px,1fr) 170px 64px 116px 104px 126px 64px;font-size:1rem;gap:10px}.pos-items-header{font-size:.84rem;padding:14px 16px}.pos-items-row{min-width:1100px;padding:14px 16px;font-size:1rem}.pos-items-row strong{font-size:1.05rem}.pos-terminal-info span{font-size:.92rem}.pos-grand-total strong{font-size:4rem}.pos-payment-option{min-height:54px;font-size:.88rem}.pos-slider-img{height:clamp(160px,13vh,220px)}}@media (max-width: 1120px){.pos-analytics-grid,.pos-operator-grid,.pos-kpi-grid,.pos-sales-filters,.pos-page-sales-filters,.pos-tool-sales-filters,.pos-sales-table-header,.pos-sales-table-row,.pos-tool-sales-row{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-sales-table-header,.pos-tool-sales-header{display:none}.pos-sales-table-row,.pos-tool-sales-row{align-items:start;border:1px solid #eef4fa;border-radius:8px;padding:10px}.pos-terminal{grid-template-columns:1fr;overflow:auto}.pos-summary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pos-finish-button{grid-column:1 / -1}}@media (max-width: 820px){.pos-analytics-grid,.pos-operator-grid{grid-template-columns:1fr}.pos-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-sales-filters,.pos-page-sales-filters,.pos-tool-sales-filters,.pos-sales-table-row,.pos-tool-sales-row{grid-template-columns:1fr}.pos-terminal-header,.pos-footer{align-items:flex-start;flex-direction:column}.pos-terminal-info{justify-content:flex-start}.pos-input-row,.pos-item-controls,.pos-customer-panel,.pos-tool-grid,.pos-close-grid,.pos-summary-actions{grid-template-columns:1fr}.pos-items-panel{overflow-x:auto}.pos-payment-grid{grid-template-columns:1fr}}@media (max-height: 820px){.pos-slider-img{height:clamp(90px,10vh,150px)}.pos-grand-total{margin-top:6px;padding:6px 12px}.pos-grand-total strong{font-size:clamp(1.5rem,3.5vh,2.4rem)}.pos-total-lines{margin-top:6px;gap:4px}.pos-change{margin-top:4px}.pos-payment-grid{gap:5px;margin-top:6px}.pos-payment-option{min-height:clamp(30px,3.8vh,40px);font-size:.72rem}.pos-payment-option kbd{font-size:.6rem;padding:1px 4px}.pos-coupon-card,.pos-payment-card{padding:8px}.pos-summary-body{gap:6px;padding:6px 8px 0}.pos-summary-actions{gap:5px;padding:6px 8px}.pos-finish-button,.pos-cancel-button,.pos-menu-button{min-height:40px;font-size:.82rem}}@media (max-width: 560px){.pos-kpi-grid{grid-template-columns:1fr}.pos-open-actions .btn{width:100%}}.cash-flow-card-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:8px}.cash-flow-card-icon-blue{background:#e0f2fe;color:#0369a1}.cash-flow-card-icon-green{background:#dcfce7;color:#15803d}.cash-flow-card-icon-red{background:#fee2e2;color:#dc2626}.cash-flow-card-icon-amber{background:#fef3c7;color:#b45309}.cash-flow-card-icon-cyan{background:#cffafe;color:#0e7490}.cash-flow-card-icon-purple{background:#ede9fe;color:#7c3aed}.cash-flow-card span,.cash-flow-panel .eyebrow{color:#64748b;font-size:.72rem}.cash-flow-card strong{display:block;color:#172033;font-size:1rem;font-weight:400;margin-top:3px}.cash-flow-card small{display:block;color:#64748b;font-size:.72rem;margin-top:3px}.cash-flow-highlight{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;border:1px solid #bde3ff;border-radius:8px;background:#eaf7ff;color:#075985;padding:14px 16px}.cash-flow-highlight span,.cash-flow-highlight small{display:block;color:#0369a1;font-size:.78rem}.cash-flow-highlight strong{display:block;color:#0f172a;font-size:1.2rem;font-weight:400;margin:3px 0}.cash-flow-chart-grid,.cash-flow-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.cash-flow-panel{min-width:0;border:1px solid #dbe8f4;border-radius:8px;background:#fff;padding:14px}.cash-flow-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.cash-flow-panel-header h3{color:#172033;font-size:.98rem;font-weight:400;margin:2px 0 0}.cash-flow-table{display:grid;gap:0;overflow-x:auto}.cash-flow-table-header,.cash-flow-table-row{display:grid;grid-template-columns:90px minmax(120px,1fr) 110px 90px 120px;gap:10px;align-items:center;min-width:620px}.cash-flow-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.76rem;padding-bottom:8px}.cash-flow-table-row{min-height:42px;border-bottom:1px solid #eef4fa;color:#334155;font-size:.82rem}.cash-flow-in{color:#15803d}.cash-flow-out{color:#dc2626}.cash-flow-day-list{display:grid;gap:8px}.cash-flow-day-row{display:grid;grid-template-columns:74px minmax(0,1fr) minmax(0,1fr) 120px;gap:8px;align-items:center;min-height:42px;border:1px solid #e1edf7;border-radius:8px;background:#f8fbff;color:#334155;font-size:.8rem;padding:8px 10px}.cash-flow-day-row strong{font-weight:400;text-align:right}.cash-flow-day-row small{color:#64748b}@media (max-width: 1300px){.cash-flow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 980px){.cash-flow-chart-grid,.cash-flow-bottom-grid{grid-template-columns:1fr}}@media (max-width: 720px){.cash-flow-summary,.cash-flow-day-row{grid-template-columns:1fr}.cash-flow-day-row strong{text-align:left}}.field-control textarea{width:100%;min-height:70px;resize:vertical;border:0;outline:0;background:transparent;color:#172033;font:inherit}.inline-check{display:inline-flex;align-items:center;gap:8px;min-height:38px;color:#425466;font-size:.9rem;font-weight:400}.inline-check input{width:16px;height:16px;accent-color:#0284c7}.toggle-caption{color:#64748b;font-size:.8rem}.switch-inline{display:inline-flex;align-items:center;gap:8px}.companies-table-header{border-bottom:1px solid #dce8f3;color:#64748b;font-size:.82rem;font-weight:400;padding:0 0 12px}.companies-table-row{align-items:center;min-height:54px;border-bottom:1px solid #eef4fa;color:#425466;font-size:.9rem}.companies-table-row strong{color:#172033;font-weight:400}.grid-logo{display:grid;width:38px;height:38px;margin:0 auto;place-items:center;border:1px solid #d7e6f2;border-radius:8px;background:#f8fbff;color:#64748b;overflow:hidden}.grid-logo img{width:100%;height:100%;object-fit:cover}.row-actions{display:flex;gap:6px;flex-wrap:nowrap;align-items:center;justify-content:center}.btn-row-action{min-height:34px;padding:0 11px;white-space:nowrap}.empty-state{margin-top:14px;border:1px dashed #bed4e7;border-radius:8px;background:#f8fbff;padding:22px;color:#64748b}.empty-state strong{display:block;color:#172033}.empty-state p{margin:8px 0 0}.customer-table-header,.branches-table-header,.users-table-header,.suppliers-table-header,.brands-table-header,.accounts-receivable-table-header,.accounts-payable-table-header,.categories-table-header,.cost-centers-table-header,.employees-table-header,.sellers-table-header,.initial-stock-table-header,.payments-table-header,.price-items-table-header,.price-tables-table-header,.products-table-header,.purchase-items-table-header,.purchase-orders-table-header,.sales-items-table-header,.sales-orders-table-header,.stock-movements-table-header,.stock-locations-table-header,.service-orders-table-header,.service-order-items-header,.whatsapp-connections-table-header,.companies-table-header,.nfe-table-header{font-size:.78rem;font-weight:400;padding-bottom:9px}.customer-table-row,.branches-table-row,.users-table-row,.suppliers-table-row,.brands-table-row,.accounts-receivable-table-row,.accounts-payable-table-row,.categories-table-row,.cost-centers-table-row,.employees-table-row,.sellers-table-row,.initial-stock-table-row,.payments-table-row,.price-items-table-row,.price-tables-table-row,.products-table-row,.purchase-items-table-row,.purchase-orders-table-row,.sales-items-table-row,.sales-orders-table-row,.stock-movements-table-row,.stock-locations-table-row,.service-orders-table-row,.service-order-items-row,.whatsapp-connections-table-row,.companies-table-row,.nfe-table-row{min-height:46px;font-size:.84rem}.empty-state{margin-top:8px;padding:16px}@media (max-width: 1100px){.agenda-layout,.agenda-summary{grid-template-columns:1fr}.app-shell{grid-template-columns:88px minmax(0,1fr)}.sidebar{padding:22px 14px}.brand{justify-content:center;margin:-2px 0 18px;padding:2px 0 18px}.brand-mark{width:46px;height:46px}.brand div,.nav-item span,.nav-category-button span,.nav-category-button svg:last-child,.nav-submenu{display:none}.nav-item,.nav-category-button{justify-content:center;padding:0}.registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customers-page,.customers-page.has-form,.whatsapp-layout{grid-template-columns:1fr}.employee-modal .company-form-grid,.seller-modal .company-form-grid,.nfe-emitir-modal .company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nfe-field-span-3{grid-column:span 2}.employee-status-field,.employee-name-field,.employee-complement-field,.employee-notes-field,.employee-cashier-toggle,.employee-cashier-login,.employee-cashier-password,.employee-cashier-discount,.seller-name-field{grid-column:span 1}.employee-form-full,.seller-form-full{grid-column:1 / -1}.checkbox-grid,.seller-commercial-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.login-shell{grid-template-columns:1fr}.login-visual{min-height:220px}.lv-content{padding:24px 20px}.login-features{display:none}.lv-headline{font-size:1.5rem;margin-bottom:6px}.lv-desc{font-size:.82rem;margin-bottom:12px}.login-panel{align-items:start;padding:20px}.app-shell{grid-template-columns:1fr}.sidebar{display:none}.workspace{max-width:100vw;overflow-x:hidden;padding:16px}.topbar{width:auto;min-width:0;flex-direction:row;align-items:center;justify-content:space-between;margin:-16px -16px 14px;padding:10px 14px;gap:8px;flex-wrap:nowrap}.topbar>div:first-child{display:none}.topbar-actions{flex-direction:row;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:flex-end;flex:0 1 auto;min-width:0}.topbar-greeting,.logout-button{display:none}.topbar-context{width:min(150px,32vw);max-width:150px;min-width:0;padding-inline:10px}.topbar-context small{display:none}.mobile-nav{display:none;width:calc(100vw - 28px);max-width:calc(100vw - 28px);gap:6px;margin:8px -16px 0;overflow-x:auto;padding:0 14px 8px;scrollbar-width:none}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav-item{display:inline-flex;align-items:center;flex:0 0 auto;gap:5px;min-height:32px;border:1px solid #d7e6f2;border-radius:20px;background:#fff;color:#425466;padding:0 12px;font-size:.78rem;font-weight:500;white-space:nowrap}.mobile-nav-item.is-active{border-color:#0ea5e9;background:#e0f2fe;color:#0369a1;font-weight:700}.mobile-menu-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex}.mobile-menu-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a80}.mobile-menu-panel{position:relative;background:#f0f7ff;width:min(300px,85vw);height:100%;overflow-y:auto;padding:0;display:flex;flex-direction:column;box-shadow:4px 0 24px #0000002e}.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid #d7e6f2;background:#fff}.mobile-menu-header strong{font-size:1rem;color:#0f3a5f}.mobile-menu-user{padding:14px 18px;background:#e8f5ff;border-bottom:1px solid #d7e6f2;font-size:.85rem;color:#374151}.mobile-menu-user strong{display:block;color:#0f3a5f;font-size:.95rem}.mobile-menu-section{padding:10px 18px 4px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.mobile-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 18px;font-size:.88rem;color:#1e3a5f;background:none;border:none;text-align:left;cursor:pointer}.mobile-menu-item:hover{background:#e0f2fe}.mobile-menu-item.is-active{background:#bfdbfe;color:#1d4ed8;font-weight:700}.mobile-menu-logout{margin:8px 18px 20px;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;border:1px solid #fca5a5;background:#fff5f5;color:#b91c1c;font-size:.88rem;font-weight:600;cursor:pointer;width:calc(100% - 36px)}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:1px solid #d7e6f2;background:#fff;color:#0369a1;cursor:pointer;flex-shrink:0}.profile-popover{right:0}.registry-grid{grid-template-columns:1fr}.intro-panel{align-items:flex-start;flex-direction:column}.customers-page{gap:16px;margin-top:18px}.customer-form-section,.customers-list-section{padding:16px;max-width:100%;overflow:hidden}.customers-list-section>.section-heading{align-items:stretch;flex-direction:column;gap:12px}.customers-list-section>.section-heading .grid-actions,.customers-list-section>.section-heading .heading-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));width:100%;gap:8px}.customers-list-section>.section-heading .btn{justify-content:center;min-width:0}.company-modal{max-height:calc(100vh - 24px);padding:16px}.customer-form,.company-form,.company-form-grid{grid-template-columns:1fr}.employee-status-field,.employee-name-field,.employee-complement-field,.employee-notes-field,.employee-form-full,.seller-name-field,.seller-form-full{grid-column:span 1}.modal-footer{align-items:stretch;flex-direction:column-reverse}.segmented-control-compact{width:100%}.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.settings-tabs{display:grid;grid-template-columns:1fr;width:100%}.pos-print-layout-grid{flex-direction:column}.pos-print-layout-card{width:100%}.pos-print-preview-grid,.product-tabs{grid-template-columns:1fr}.topbar .license-badge,.topbar-actions>.license-badge{display:none!important}.topbar-context{width:min(132px,30vw)}.mobile-menu-toggle,.topbar-icon-button,.profile-button{width:34px;height:34px;flex:0 0 auto}.form-span-2{grid-column:span 1}.customer-form-actions{align-items:stretch;flex-direction:column-reverse}.customer-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.customer-filters .field,.customer-filters .field:first-child{flex:initial;max-width:100%;min-width:0;width:100%}.customer-filters .field[style]{align-self:end!important;flex:initial!important}.customer-filters .field[style] .btn{width:100%!important;min-height:38px}.users-filters{margin-bottom:14px}.users-filters .field,.users-filters .field:first-child{max-width:none;min-width:0;width:100%}.users-clear-filter{align-self:end}.users-clear-filter .btn{width:100%;min-height:38px}.users-page .table-shell{max-width:100%;overflow-x:auto}.crm-heading{align-items:stretch;flex-direction:column;gap:12px}.crm-heading>.btn{justify-content:center;width:100%}.crm-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-bottom:16px}.crm-tabs .tab-button{justify-content:center;min-width:0}.crm-search-input{width:100%}.crm-kanban-board{grid-auto-flow:column;grid-auto-columns:minmax(210px,72vw);grid-template-columns:none;max-width:100%;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.crm-kanban-column{scroll-snap-align:start}.grid-actions{grid-template-columns:1fr;width:100%}.customer-contact-grid{grid-template-columns:1fr;padding:14px}.customer-switch-grid,.address-compact-row,.address-line-row,.supplier-location-row,.seller-location-row,.seller-commercial-row{grid-template-columns:1fr}.supplier-toggle-row{flex-direction:column;gap:12px}.checkbox-grid,.product-form-grid-3{grid-template-columns:1fr}.product-field-span-2{grid-column:span 1}.product-switch-grid,.quick-create-panel,.price-item-form,.sales-item-form,.purchase-item-form,.service-item-form{grid-template-columns:1fr}.quick-create-actions{align-items:stretch;flex-direction:column-reverse}.grid-actions{align-items:stretch;flex-direction:column}.table-shell{overflow-x:auto}}.pos-tabs-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.pos-tabs{flex:1}.sr-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:12px}.sr-table{width:100%;min-width:680px;border-collapse:collapse;font-size:13px}.sr-table thead tr{border-bottom:2px solid #e2e8f0;background:#f8fafc}.sr-table th{padding:9px 12px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;white-space:nowrap}.sr-table td{padding:10px 12px;height:48px;vertical-align:middle;border-bottom:1px solid #f1f5f9;color:#334155}.sr-table tbody tr:last-child td{border-bottom:none}.sr-table tbody tr:hover td{background:#f8fafc}.sr-row--returned td{background:#fff1f2}.sr-row--partial td{background:#fff7ed}.sr-col-date{width:140px;white-space:nowrap}.sr-col-customer{min-width:120px}.sr-col-total,.sr-col-refunded{width:100px;text-align:right}.sr-col-status{width:110px}.sr-col-actions{width:160px}@media (max-width: 860px){.sr-col-refunded{display:none}.sr-table{min-width:560px}}@media (max-width: 600px){.sr-col-customer{display:none}.sr-table{min-width:unset}}.pos-period-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.pos-period-btn{padding:5px 14px;border-radius:8px;border:1px solid #d7e6f2;background:#fff;color:#475569;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}.pos-period-btn:hover{border-color:#2f80ff;color:#2f80ff}.pos-period-btn--active{background:#2f80ff;color:#fff;border-color:#2f80ff}.pos-period-sep{color:#94a3b8;font-size:13px;padding:0 2px}.pos-period-date{height:32px;border:1px solid #d7e6f2;border-radius:8px;padding:0 10px;font-size:13px;color:#334155;background:#fff}.pos-period-date:focus{outline:none;border-color:#38bdf8}.pos-kpi-violet{background:linear-gradient(135deg,#ede9fe,#ddd6fe);border-color:#c4b5fd}.pos-kpi-violet span{color:#6d28d9}.pos-kpi-violet strong{color:#4c1d95}.pos-kpi-amber{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#fcd34d}.pos-kpi-amber span{color:#92400e}.pos-kpi-amber strong{color:#78350f}.pos-page-sales-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-top:1px solid #e2e8f0;margin-top:12px}.pos-page-sales-table{width:100%;min-width:780px;border-collapse:collapse;font-size:13px}.pos-page-sales-table thead tr{border-bottom:2px solid #e2e8f0;background:#f8fafc}.pos-page-sales-table th{padding:9px 12px;text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;white-space:nowrap}.pos-page-sales-table td{padding:10px 12px;height:46px;vertical-align:middle;border-bottom:1px solid #f1f5f9;color:#334155;font-size:13px}.pos-page-sales-table tbody tr:last-child td{border-bottom:none}.pos-page-sales-table tbody tr:hover td{background:#f8fafc}.pps-row--cancelled td{background:#fef2f2;color:#b91c1c}.pps-date{width:150px;white-space:nowrap}.pps-customer{min-width:120px}.pps-items{width:55px;text-align:center}.pps-payment{width:160px}.pps-discount{width:90px}.pps-status{width:95px}.pps-total{width:100px;text-align:right}.pps-actions{width:60px;text-align:center}@media (max-width: 900px){.pps-discount,.pps-payment{display:none}.pos-page-sales-table{min-width:540px}}@media (max-width: 600px){.pps-customer,.pps-items{display:none}.pos-page-sales-table{min-width:unset}}.pos-sales-ct-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:6px;border:1px solid #e2e8f0;margin-top:12px}.pos-sales-ct{width:100%;min-width:900px;border-collapse:collapse;font-size:13px}.pos-sales-ct thead tr{background:#f8fafc;border-bottom:1px solid #e2e8f0}.pos-sales-ct th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding:10px 12px;text-align:left;white-space:nowrap}.pos-sales-ct td{padding:10px 12px;height:48px;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155}.pos-sales-ct tbody tr:last-child td{border-bottom:none}.pos-sales-ct tbody tr:hover td{background:#f8fafc}.ps-col-date{width:130px;white-space:nowrap}.ps-col-customer{min-width:120px}.ps-col-operator{width:120px}.ps-col-payment{width:150px}.ps-col-items{width:60px;text-align:center}.ps-col-discount{width:90px}.ps-col-total{width:110px}.ps-col-status{width:100px}.ps-col-actions{width:148px}.pos-sales-tr--cancelled td{background:#fef2f2!important;color:#b91c1c;text-decoration:line-through}.pos-sales-tr--returned td{background:#fff7ed!important;color:#c2410c}@media (max-width: 1100px){.ps-col-operator,.ps-col-discount{display:none}.pos-sales-ct{min-width:720px}}@media (max-width: 760px){.ps-col-payment,.ps-col-items{display:none}.pos-sales-ct{min-width:520px}}@media (max-width: 560px){.ps-col-date,.ps-col-customer{display:none}.pos-sales-ct{min-width:unset}}.pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 4px 4px;gap:12px;flex-wrap:wrap}.pagination-info{font-size:13px;color:#64748b}.pagination-controls{display:flex;align-items:center;gap:8px}.pagination-page{font-size:13px;font-weight:500;color:#334155;min-width:52px;text-align:center}.heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.user-role-cell{display:flex;flex-direction:column;gap:3px;justify-content:center}.user-profile-name{font-size:.72rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-page{min-width:0}.crm-heading{align-items:flex-start}.crm-tabs{margin-bottom:20px}.crm-search-row{margin-bottom:14px}.crm-search-input{width:min(100%,260px);height:34px;border:1px solid #d1d5db;border-radius:6px;color:#132236;font-size:13px;padding:0 12px}.crm-kanban-board{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));align-items:start;gap:12px;min-width:0}.crm-kanban-column{min-width:0;border-radius:10px;background:#f1f5f9;padding:10px 10px 4px}.crm-lead-card{border-radius:7px;border:1px solid;border-left-width:3px;padding:10px 12px;cursor:pointer;margin-bottom:8px;transition:filter .12s}.crm-lead-card:hover{filter:brightness(.96)}.crm-lead-card-title{font-size:13px;font-weight:600;color:#1e293b;margin-bottom:3px;line-height:1.3}.crm-lead-card-customer{font-size:11px;color:#64748b;margin-bottom:6px}.crm-lead-card-row{display:flex;justify-content:space-between;align-items:center}.crm-lead-card-value{font-size:13px;font-weight:700}.crm-lead-card-prob{font-size:10px;color:#94a3b8}.crm-lead-card-meta{font-size:10px;color:#94a3b8;margin-top:4px}.crm-lead-card-ai{margin-top:6px;display:flex;align-items:center;gap:4px;font-size:10px;font-weight:700}.profiles-modal{width:min(760px,100%);max-height:min(calc(100dvh - 36px),880px)}.modal-body-plain{padding:20px 24px 4px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;overflow-y:auto}.profiles-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.profiles-list-hint{margin:0;font-size:.84rem;color:#64748b;line-height:1.5}.profiles-list{display:flex;flex-direction:column;gap:8px}.profile-item{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#f8fafc;border:1px solid #dce8f3;border-radius:8px;transition:background .12s}.profile-item:hover{background:#f1f5f9}.profile-item-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.profile-item-info strong{font-size:.9rem;font-weight:500;color:#172033}.profile-item-info span{font-size:.78rem;color:#64748b}.profile-item-info small{font-size:.76rem;color:#94a3b8}.profile-back-btn{justify-content:flex-start;gap:6px;color:#3b5bdb;font-size:.83rem;padding:4px 0;width:auto}.permissions-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.permissions-header .field-label{margin-bottom:0}.permission-select-all{display:flex;align-items:center;gap:7px;font-size:.83rem;color:#475569;cursor:pointer;white-space:nowrap}.permission-select-all input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer;flex-shrink:0}.permissions-grid-wrapper{display:flex;flex-direction:column;gap:14px;padding:12px 14px;background:#f8fafc;border:1px solid #dce8f3;border-radius:8px;max-height:420px;overflow-y:auto}.permission-category{display:flex;flex-direction:column;gap:6px}.permission-category-header{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.84rem}.permission-category-header strong{font-size:.82rem;font-weight:600;color:#334155;text-transform:uppercase;letter-spacing:.03em}.permission-category-header input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer;flex-shrink:0}.permissions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:4px 8px;padding-left:22px}.permission-check-item{display:flex;align-items:center;gap:7px;font-size:.83rem;color:#334155;cursor:pointer;padding:3px 0}.permission-check-item input[type=checkbox]{width:14px;height:14px;accent-color:#2563eb;cursor:pointer;flex-shrink:0}.dashboard-page{display:grid;gap:16px;margin-top:14px}.dashboard-loading{padding:48px 24px;text-align:center;color:#64748b;font-size:.9rem;border:1px dashed #bed4e7;border-radius:8px;background:#f8fbff}.dashboard-period-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:12px;margin:0 0 16px;min-width:0}.dashboard-period-filters .field{min-width:0}.dashboard-period-action{align-self:end}.dashboard-period-action .btn{width:100%;min-height:38px;justify-content:center;white-space:normal;text-align:center}.dashboard-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.dashboard-kpis--6{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.kpi-card{display:flex;align-items:flex-start;gap:14px;border:1px solid #dce8f3;border-radius:10px;background:#ffffffeb;padding:16px}.kpi-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:10px}.kpi-icon--green{background:#dcfce7;color:#16a34a}.kpi-icon--blue{background:#dbeafe;color:#1d4ed8}.kpi-icon--orange{background:#ffedd5;color:#ea580c}.kpi-icon--purple{background:#ede9fe;color:#7c3aed}.kpi-icon--teal{background:#ccfbf1;color:#0f766e}.kpi-icon--danger{background:#fee2e2;color:#b91c1c}.kpi-body{display:grid;gap:2px;min-width:0;align-content:start}.kpi-label{color:#64748b;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em}.kpi-value{color:#172033;font-size:1.32rem;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2;margin-top:2px}.kpi-sub{color:#64748b;font-size:.74rem;line-height:1.4;margin-top:2px}.kpi-sub--danger{color:#be123c}.dashboard-panel{border:1px solid #dce8f3;border-radius:10px;background:#ffffffeb;padding:16px;display:grid;gap:10px;align-content:start}.dashboard-panel-header{display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #eef4fa;color:#334155;font-size:.9rem}.dashboard-panel-header small{color:#64748b;font-size:.74rem}.dashboard-panel-header--danger{color:#be123c}.dashboard-panel-header--warning{color:#92400e}.dashboard-panel-total{margin-left:auto;color:#94a3b8;font-size:.76rem}.dashboard-badge{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;border-radius:999px;font-size:.72rem;font-weight:400;padding:0 6px}.dashboard-badge--danger{background:#fecaca;color:#be123c}.dashboard-badge--warning{background:#fde68a;color:#92400e}.dashboard-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-empty-note{margin:0;color:#64748b;font-size:.86rem;padding:6px 0}.dashboard-empty-note--success{color:#16a34a}.pipeline-rows{display:grid;gap:6px}.pipeline-row{display:flex;align-items:center;gap:10px;min-height:34px;border-radius:6px;background:#f8fbff;padding:0 12px}.pipeline-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.pipe--gray{background:#94a3b8}.pipe--blue{background:#3b82f6}.pipe--green{background:#22c55e}.pipe--purple{background:#a855f7}.pipe--red{background:#ef4444}.pipeline-label{flex:1;color:#334155;font-size:.86rem}.pipeline-count{color:#172033;font-size:.9rem;min-width:28px;text-align:right}.finance-list{display:grid}.finance-list-row{display:flex;align-items:center;gap:10px;min-height:42px;border-bottom:1px solid #f0f6fb;padding:0 2px}.finance-list-row:last-child{border-bottom:0}.finance-list-doc{flex:1;display:grid;gap:2px;min-width:0}.finance-list-doc span{color:#172033;font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-list-doc small{color:#64748b;font-size:.74rem}.finance-list-date{color:#425466;font-size:.82rem;white-space:nowrap}.finance-list-amount{font-size:.88rem;text-align:right;white-space:nowrap}.finance-amount--green{color:#15803d}.finance-amount--red{color:#be123c}.stock-qty-cell{display:grid;gap:2px;text-align:right}.stock-qty--zero{color:#be123c;font-size:.88rem}.stock-qty--low{color:#92400e;font-size:.88rem}.recent-orders-table{display:grid}.recent-orders-header{display:grid;grid-template-columns:minmax(120px,1fr) minmax(88px,.55fr) minmax(110px,.65fr) minmax(100px,.6fr);gap:12px;padding-bottom:8px;border-bottom:1px solid #dce8f3;color:#64748b;font-size:.76rem}.recent-orders-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(88px,.55fr) minmax(110px,.65fr) minmax(100px,.6fr);gap:12px;align-items:center;min-height:42px;border-bottom:1px solid #f0f6fb;color:#425466;font-size:.86rem}.recent-orders-row:last-child{border-bottom:0}.order-status-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;font-size:.74rem;width:fit-content}.order-status--draft{background:#f1f5f9;color:#475569}.order-status--confirmed{background:#dbeafe;color:#1d4ed8}.order-status--delivered{background:#dcfce7;color:#15803d}.order-status--cancelled{background:#fef2f2;color:#be123c}.dashboard-chart-row{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:14px}.donut-wrapper{position:relative;display:flex;flex-direction:column;align-items:center;gap:0}.donut-center{position:absolute;top:0;left:0;right:0;height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;gap:2px}.donut-center strong{color:#172033;font-size:1.6rem;font-weight:400;line-height:1}.donut-center span{color:#94a3b8;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}.donut-legend{width:100%;display:grid;gap:5px;margin-top:6px}.donut-legend-item{display:flex;align-items:center;gap:8px;min-height:26px;border-radius:6px;background:#f8fbff;padding:0 10px}.donut-legend-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.donut-legend-label{flex:1;color:#334155;font-size:.82rem}.donut-legend-value{color:#172033;font-size:.86rem;min-width:24px;text-align:right}@media (max-width: 1400px){.dashboard-kpis--6{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}}@media (max-width: 1100px){.dashboard-period-filters{grid-template-columns:repeat(2,minmax(150px,1fr))}.dashboard-chart-row{grid-template-columns:1fr}}@media (max-width: 760px){.dashboard-page{gap:12px;margin-top:10px}.dashboard-period-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:2px;margin-bottom:10px}.dashboard-period-action .btn{min-height:42px;padding-inline:8px}.dashboard-kpis,.dashboard-kpis--6,.dashboard-row-2,.dashboard-chart-row{grid-template-columns:1fr}.dashboard-kpis,.dashboard-kpis--6{gap:10px}.pos-kpi-card{min-height:92px;padding:12px 14px}.pos-kpi-card strong{font-size:1.28rem}}.po-number{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem;color:#1e40af;background:#eff6ff;padding:2px 7px;border-radius:5px;white-space:nowrap}.po-grand-total{font-size:1.05rem;font-weight:600;color:#0369a1}@media (max-width: 760px){.agenda-calendar-grid,.agenda-weekdays{gap:4px}.agenda-day{min-height:58px;padding:6px}.agenda-event-card{grid-template-columns:4px 1fr}.agenda-event-card .row-actions{grid-column:2}}.nfe-table-header,.nfe-table-row{display:grid;grid-template-columns:36px 80px minmax(160px,1.4fr) minmax(140px,1.2fr) 90px 100px 70px 90px 96px;gap:10px;min-width:926px}.nfe-table-row.is-selected{background:#eff6ff;border-radius:6px}.nfe-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 0 12px;border-bottom:1px solid #e5edf5;margin-bottom:2px}.nfe-toolbar-sep{width:1px;height:24px;background:#dce8f3;flex-shrink:0;margin:0 2px}.nfe-toolbar-status{font-size:12px;color:#374151;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;padding:4px 10px;white-space:pre-wrap;max-width:420px}.nfe-table-header{font-size:.78rem;font-weight:400;padding-bottom:9px}.nfe-table-row{min-height:46px;font-size:.84rem}.nfe-dest{display:flex;flex-direction:column;justify-content:center;gap:1px}.nfe-dest small{font-size:11px;color:var(--color-text-muted, #9ca3af)}.nfe-chave{font-family:monospace;font-size:11px;color:#6b7280;word-break:break-all}.nfe-item-card{border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#fafafa}.nfe-item-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.nfe-item-card-header strong{font-size:13px;color:#374151}.nfe-pag-row{display:flex;gap:10px;align-items:flex-end}.nfe-ipi-toggle{margin-top:8px}.nfe-ipi-grid{margin-top:8px;padding:10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important}.nfe-items-grid-header,.nfe-items-grid-row{display:grid;grid-template-columns:26px 1fr 90px 66px 62px 88px 88px 46px;align-items:center;gap:0 8px;padding:7px 12px}.nfe-items-grid-header{font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;padding-bottom:6px;border-bottom:1px solid #e5e7eb}.nfe-items-grid-row{font-size:13px;border-bottom:1px solid #f3f4f6;cursor:pointer;min-height:40px;transition:background .1s}.nfe-items-grid-row:last-child{border-bottom:0}.nfe-items-grid-row:hover{background:#f9fafb}.nfe-items-grid-row.is-editing{background:#eff6ff;border-left:3px solid #3b82f6}.ct tbody tr.ct-row-active td{background:#eff6ff;border-left:none}.ct tbody tr.ct-row-active td:first-child{box-shadow:inset 3px 0 #3b82f6}.nfe-items-grid-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:8px 14px;font-size:13px;font-weight:600;background:#f9fafb;border-top:2px solid #e5e7eb;color:#374151}.nfe-item-edit-panel{border:1px solid #3b82f6;border-radius:8px;padding:14px;background:#fafcff}.nfe-item-edit-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.nfe-item-edit-panel-header strong{font-size:13px;color:#1d4ed8}.nfe-error-modal{max-width:560px}.nfe-error-body{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:14px 16px;font-size:13px;color:#991b1b;white-space:pre-wrap;word-break:break-word;line-height:1.6;max-height:280px;overflow-y:auto}.form-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;padding-top:4px;padding-bottom:0;margin:0}.pagination{display:flex;align-items:center;gap:4px}@media print{body:has(.pos-reprint-modal) *{visibility:hidden}body:has(.pos-reprint-modal){background:#fff}body:has(.pos-reprint-modal) .pos-operator-backdrop,body:has(.pos-reprint-modal) .pos-reprint-modal,body:has(.pos-reprint-modal) .pos-reprint-modal *{visibility:visible}body:has(.pos-reprint-modal) .pos-operator-backdrop{position:static;display:block;background:#fff}body:has(.pos-reprint-modal) .pos-reprint-modal{position:static;width:100%;max-width:none;border:0;border-radius:0}body:has(.pos-reprint-modal) .pos-reprint-modal .modal-header,body:has(.pos-reprint-modal) .pos-reprint-modal .modal-footer{display:none}body:has(.pos-reprint-modal) .pos-reprint-paper{border:0;border-radius:0;padding:0}}.no-spinner::-webkit-outer-spin-button,.no-spinner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.no-spinner{-moz-appearance:textfield}.pos-sales-page{display:flex;flex-direction:column;gap:20px}.pos-sales-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:4px}.pos-sales-filters .field{flex:1 1 140px;margin-bottom:0}.pos-sales-search-btn{flex-shrink:0;align-self:flex-end;height:36px}.pos-sales-table-header,.pos-sales-table-row{display:grid;grid-template-columns:160px 140px 1fr 120px 150px 60px 100px 110px 110px 140px;align-items:center;gap:10px;padding:10px 14px}.pos-sales-table-header{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border-bottom:1px solid #e2e8f0;border-radius:6px 6px 0 0}.pos-sales-table-row{border-bottom:1px solid #f1f5f9;font-size:13px;transition:background .1s}.pos-sales-table-row:hover{background:#f8fafc}.pos-sales-table-row--cancelled{background:#fef2f2!important;color:#b91c1c;text-decoration:line-through}.pos-sales-table-row--cancelled strong,.pos-sales-table-row--cancelled span:not(.row-actions){color:#b91c1c}.pos-sales-table-row--returned{background:#fff7ed!important}.pos-sales-table-row--returned strong,.pos-sales-table-row--returned span:not(.row-actions){color:#c2410c}.pos-sales-table-body{flex:1;min-height:150px;overflow-y:auto;overflow-x:hidden}.pos-sales-sort-btn{background:none;border:none;padding:0;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.pos-sales-sort-btn:hover{color:#334155}.pos-sales-number{font-weight:600;color:#334155;font-family:ui-monospace,monospace;font-size:12px}.pos-sales-value--green{color:#16a34a;font-weight:600}.pos-sales-value--cancelled{color:#94a3b8;font-weight:600;text-decoration:line-through}.pos-sales-value--returned{color:#c2410c;font-weight:600}.pos-sales-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:500;white-space:nowrap}.pos-sales-badge--closed{background:#dcfce7;color:#15803d}.pos-sales-badge--cancelled{background:#fee2e2;color:#b91c1c}.pos-sales-badge--returned{background:#ffedd5;color:#c2410c}.pos-sales-badge--partial{background:#fef9c3;color:#a16207}.pos-sales-badge--payment{background:#eff6ff;color:#1d4ed8}.pos-sales-badge--neutral{background:#f1f5f9;color:#64748b}.pos-sales-payment-badges{display:flex;flex-wrap:wrap;gap:4px}.pos-sales-table-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;font-size:12px;color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0;border-radius:0 0 6px 6px}.pos-sales-footer-total{display:flex;align-items:center;gap:6px;font-weight:600;color:#334155}.pos-sales-footer-total strong{color:#16a34a;font-weight:700}.pos-sales-detail-body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:20px}.pos-sales-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 20px}@media (max-width: 640px){.pos-sales-detail-grid{grid-template-columns:repeat(2,1fr)}}.pos-sales-detail-field{display:flex;flex-direction:column;gap:2px}.pos-sales-detail-field>span{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.pos-sales-detail-field>strong{font-size:14px;color:#0f172a;font-weight:500}.pos-sales-detail-section-title{font-size:13px;font-weight:600;color:#334155;border-bottom:1px solid #e2e8f0;padding-bottom:6px;margin:0}.pos-sales-detail-items-table{border:1px solid #e2e8f0;border-radius:6px;overflow:hidden}.pos-sales-detail-items-header,.pos-sales-detail-items-row{display:grid;grid-template-columns:90px 1fr 60px 90px 80px 90px;gap:8px;padding:8px 12px;font-size:12px;align-items:center}.pos-sales-detail-items-header{background:#f8fafc;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.pos-sales-detail-items-row{border-top:1px solid #f1f5f9;color:#334155}.pos-sales-detail-items-row:hover{background:#f8fafc}.pos-sales-detail-code{font-family:ui-monospace,monospace;font-size:11px;color:#64748b}.pos-sales-detail-desc{font-weight:500;color:#0f172a}.pos-sales-detail-totals{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:12px 16px;display:flex;flex-direction:column;gap:6px;align-self:flex-end;min-width:260px}.pos-sales-detail-total-row{display:flex;justify-content:space-between;font-size:13px;color:#334155}.pos-sales-detail-total-discount{color:#dc2626}.pos-sales-detail-total-final{border-top:1px solid #e2e8f0;padding-top:6px;margin-top:4px;font-size:15px;color:#0f172a}.pos-sales-detail-total-final strong{color:#16a34a;font-weight:700}.pos-sales-detail-cancel-info{display:flex;gap:10px;padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;font-size:13px;align-items:flex-start}.pos-sales-detail-cancel-info>svg{flex-shrink:0;margin-top:2px}.pos-sales-detail-cancel-info>div{display:flex;flex-direction:column;gap:2px}.pos-sales-detail-cancel-info strong{font-weight:600}.pos-sales-detail-cancel-reason{margin:4px 0 0;color:#7f1d1d;font-style:italic}.report-page{display:flex;flex-direction:column;gap:20px}.report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.report-heading-info{display:flex;flex-direction:column;gap:2px}.report-heading-info .eyebrow{display:block;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}.report-heading-info h2{margin:4px 0 0;font-size:1.05rem;font-weight:400;letter-spacing:0;color:#132236}.report-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:16px;border:1px solid #e2edf6;border-radius:10px;background:#f8fbffcc}.report-filters-label{display:block;margin-bottom:12px;color:#64748b;font-size:.78rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em;grid-column:1 / -1}.report-info-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;border:1px solid #e2edf6;border-radius:8px;background:#f8fbff}.report-count{display:flex;align-items:center;gap:6px;color:#475569;font-size:.84rem}.report-count strong{color:#0f172a;font-weight:600}.report-table-shell{border:1px solid #e2edf6;border-radius:10px;overflow:hidden;background:#fff}.report-table-header{display:grid;grid-template-columns:36px 40px 1fr 80px 130px 130px 140px 140px 110px 90px;gap:0 8px;padding:10px 14px;background:linear-gradient(135deg,#f0f7ff,#e8f3fd);border-bottom:2px solid #d7e9f7;align-items:center}.report-table-header span{color:#334155;font-size:.76rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-table-body{display:flex;flex-direction:column}.report-table-row{display:grid;grid-template-columns:36px 40px 1fr 80px 130px 130px 140px 140px 110px 90px;gap:0 8px;padding:10px 14px;border-bottom:1px solid #f1f5f9;transition:background .12s;align-items:center;cursor:pointer}.report-table-row:last-child{border-bottom:none}.report-table-row:hover{background:#f8fbff}.report-table-row:nth-child(2n){background:#f0f7ff66}.report-table-row:nth-child(2n):hover{background:#f0f7ff}.report-table-row span{display:flex;align-items:center;font-size:.82rem;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-table-row span.report-row-index{color:#94a3b8;font-size:.76rem}.report-table-row span.report-row-name{color:#132236;font-weight:500}.report-status-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:12px;font-size:.74rem;font-weight:500;white-space:nowrap}.report-status-badge.is-active{background:#dcfce7;color:#15803d}.report-status-badge.is-inactive{background:#f1f5f9;color:#64748b}.report-status-badge.is-draft{background:#f8fafc;color:#64748b;border:1px solid #cbd5e1}.report-status-badge.is-info{background:#e0f2fe;color:#0369a1}.report-status-badge.is-warning{background:#fef9c3;color:#92400e}.report-status-badge.is-success{background:#dcfce7;color:#15803d}.report-status-badge.is-danger{background:#fee2e2;color:#b91c1c}.report-row-checkbox{display:flex;align-items:center;justify-content:center}.report-row-checkbox input[type=checkbox]{width:15px;height:15px;cursor:pointer;accent-color:#0369a1;border-radius:3px;flex-shrink:0}.report-table-row.is-selected{background:#dbeafe8c!important;border-bottom-color:#bfdbfe}.report-table-row.is-selected:hover{background:#dbeafebf!important}.report-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 14px;border:1.5px solid #93c5fd;border-radius:8px;background:linear-gradient(135deg,#eff6ff,#dbeafe);animation:pulse .3s ease}.report-selection-bar-info{display:flex;align-items:center;gap:8px;color:#1d4ed8;font-size:.84rem;font-weight:500}.report-selection-bar-info svg{color:#2563eb}.report-selection-bar-actions{display:flex;align-items:center;gap:6px}.report-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:56px 24px;color:#94a3b8;text-align:center}.report-empty svg{color:#cbd5e1}.report-empty strong{display:block;color:#475569;font-size:.95rem;font-weight:500}.report-empty p{margin:0;color:#94a3b8;font-size:.84rem;line-height:1.5}.report-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px;color:#64748b;font-size:.9rem}.report-loading-spinner{width:20px;height:20px;border:2px solid #e2e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:spin .7s linear infinite}@media print{.sidebar,.topbar,.report-toolbar,.report-filters,.report-info-bar .report-toolbar-right,.no-print{display:none!important}.app-shell{grid-template-columns:1fr;height:auto;overflow:visible}.workspace{height:auto;overflow:visible;padding:0}.report-page{gap:12px}.report-heading{margin-bottom:12px;padding-bottom:12px;border-bottom:2px solid #132236}.report-table-shell{border:1px solid #ccc;border-radius:0}.report-table-header{background:#e8f3fd;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-table-row:nth-child(2n){background:#f8fbff;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-table-row:hover{background:transparent}.report-info-bar{border:none;background:transparent;padding:4px 0}body{font-size:11px}.report-print-header{display:flex!important;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid #0369a1}}.report-print-header{display:none}.sped-params{border:1px solid #e2edf6;border-radius:10px;background:#fff;overflow:hidden}.sped-params-header{display:flex;align-items:center;gap:8px;padding:12px 18px;background:#f8fbffe6;border-bottom:1px solid #e2edf6;color:#375169}.sped-params-header strong{font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.sped-params-hint{font-size:.78rem;color:#94a3b8;margin-left:auto}.sped-params-filters{border:none!important;border-radius:0!important;background:#fff!important;align-items:flex-start}.sped-params-group{display:flex;flex-direction:column;gap:6px}.sped-params-group-label{font-size:.75rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em;padding-bottom:2px;border-bottom:1px solid #e2edf6}.sped-params-group-fields{display:flex;gap:10px}.sped-modulo{border:1px solid #e2edf6;border-radius:10px;background:#fff;padding:20px 24px;display:flex;flex-direction:column;gap:12px}.sped-modulo-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sped-modulo-title{display:flex;align-items:flex-start;gap:10px;color:#1e3a5f}.sped-modulo-title svg{margin-top:3px;flex-shrink:0;color:#0369a1}.sped-modulo-title h2{font-size:1rem;font-weight:600;margin:0 0 2px;color:#132236}.sped-modulo-sub{font-size:.78rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.sped-modulo-desc{font-size:.85rem;color:#475569;line-height:1.55;margin:0;max-width:680px}.sped-blocos{background:#f8fbffcc;border:1px solid #e2edf6;border-radius:8px;padding:14px 18px;font-size:.82rem;color:#374151}.sped-blocos-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;color:#475569}.sped-blocos-header strong{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.sped-blocos ul{margin:0;padding-left:18px;line-height:1.9;color:#334155}.sped-blocos-note{margin:10px 0 0;padding:8px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1e40af;font-size:.8rem;line-height:1.5}.pcp-board-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.pcp-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.pcp-toolbar-left h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.pcp-toolbar-right{display:flex;align-items:center;gap:12px}.pcp-zoom-toggle{display:flex;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden}.pcp-zoom-btn{padding:6px 14px;font-size:.8rem;font-weight:500;background:#fff;border:none;color:#64748b;cursor:pointer;transition:background .15s,color .15s}.pcp-zoom-btn+.pcp-zoom-btn{border-left:1px solid #cbd5e1}.pcp-zoom-btn.is-active{background:#1e40af;color:#fff}.pcp-nav{display:flex;align-items:center;gap:4px}.pcp-today-btn{padding:6px 14px;font-size:.8rem;font-weight:500;background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#334155;cursor:pointer;transition:background .15s}.pcp-today-btn:hover{background:#f1f5f9}.pcp-layout{display:flex;flex:1;overflow:hidden;gap:0}.pcp-board{display:flex;flex:1;overflow:hidden;margin:0 24px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.pcp-labels{width:200px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto}.pcp-label-header-spacer{height:56px;flex-shrink:0;border-bottom:1px solid #e2e8f0;background:#f8fafc}.pcp-label-row{display:flex;align-items:center;gap:8px;padding:0 12px;height:40px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .12s;flex-shrink:0}.pcp-label-row:hover{background:#f8fafc}.pcp-label-row.is-selected{background:#eff6ff}.pcp-order-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.pcp-label-text{display:flex;flex-direction:column;overflow:hidden}.pcp-label-text strong{font-size:.8rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcp-label-text small{font-size:.7rem;color:#94a3b8}.pcp-label-loading,.pcp-label-empty{padding:24px 12px;font-size:.8rem;color:#94a3b8}.pcp-timeline-wrap{flex:1;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:column;min-width:0}.pcp-month-header{display:flex;height:28px;flex-shrink:0;border-bottom:1px solid #e2e8f0;background:#f8fafc}.pcp-month-cell{display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;border-right:1px solid #e2e8f0}.pcp-day-header{display:flex;height:28px;flex-shrink:0;border-bottom:2px solid #e2e8f0;background:#f8fafc}.pcp-day-cell{flex:1;display:flex;align-items:center;justify-content:center;font-size:.7rem;color:#64748b;border-right:1px solid #f1f5f9}.pcp-day-cell.is-weekend{background:#fafafa;color:#94a3b8}.pcp-day-cell.is-today{color:#1e40af;font-weight:700}.pcp-grid{flex:1;position:relative;overflow-y:auto;min-height:0;cursor:default}.pcp-grid.is-dragging-active{cursor:grabbing;-webkit-user-select:none;user-select:none}.pcp-bg-cols{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;pointer-events:none}.pcp-bg-col{flex:1;border-right:1px solid #f1f5f9}.pcp-bg-col.is-weekend{background:#f1f5f999}.pcp-today-line{position:absolute;top:0;bottom:0;width:2px;background:#ef4444;opacity:.6;pointer-events:none;z-index:2}.pcp-grid-row{height:40px;position:relative;border-bottom:1px solid #f1f5f9;flex-shrink:0}.pcp-bar{position:absolute;top:50%;transform:translateY(-50%);height:24px;border-radius:6px;display:flex;align-items:center;padding:0 8px;min-width:4px;overflow:hidden;transition:filter .1s,box-shadow .1s;z-index:1;-webkit-user-select:none;user-select:none}.pcp-bar.is-draggable{cursor:grab}.pcp-bar.is-dragging{cursor:grabbing;filter:brightness(1.1);box-shadow:0 4px 16px #0003;z-index:10;opacity:.9}.pcp-bar.is-selected{box-shadow:0 0 0 2px #1e40af,0 2px 8px #00000026}.pcp-bar:hover:not(.is-dragging){filter:brightness(1.08)}.pcp-bar-label{font-size:.7rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.2);pointer-events:none}.pcp-grid-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#94a3b8}.pcp-detail-panel{width:260px;flex-shrink:0;background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto}.pcp-detail-header{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 16px 12px;border-bottom:1px solid #e2e8f0}.pcp-detail-header h3{font-size:.95rem;font-weight:600;color:#0f172a;margin:2px 0 0}.pcp-detail-list{margin:0;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:baseline}.pcp-detail-list dt{font-size:.75rem;color:#64748b;font-weight:500}.pcp-detail-list dd{font-size:.82rem;color:#1e293b;margin:0}.pcp-status-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:.72rem;font-weight:600;color:#fff}.pcp-unscheduled{margin:0 24px 16px;padding:10px 14px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;flex-shrink:0}.pcp-unscheduled-header{display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;color:#92400e;margin-bottom:8px}.pcp-unscheduled-list{display:flex;flex-wrap:wrap;gap:6px}.pcp-unscheduled-item{padding:3px 10px 3px 8px;background:#fff;border-radius:4px;border:1px solid #fde68a;font-size:.75rem;color:#78350f}.seq-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.seq-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.seq-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.seq-loading{padding:32px 24px;font-size:.85rem;color:#64748b}.seq-layout{flex:1;display:flex;flex-direction:column;overflow:hidden;padding:0 24px 20px;gap:0}.seq-wc-tabs{display:flex;gap:4px;flex-shrink:0;border-bottom:2px solid #e2e8f0;padding-bottom:0;overflow-x:auto}.seq-wc-tab{display:flex;align-items:center;gap:6px;padding:8px 16px;font-size:.82rem;font-weight:500;color:#64748b;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s}.seq-wc-tab:hover{color:#1e293b}.seq-wc-tab.is-active{color:#1e40af;border-bottom-color:#1e40af}.seq-wc-tab.is-warning{color:#92400e}.seq-wc-tab.is-warning.is-active{color:#92400e;border-bottom-color:#f59e0b}.seq-wc-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e2e8f0;font-size:.7rem;font-weight:700;color:#475569}.seq-wc-tab.is-active .seq-wc-badge{background:#dbeafe;color:#1e40af}.seq-panel{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-top:none;border-radius:0 0 12px 12px}.seq-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;gap:10px;flex-shrink:0}.seq-panel-info{display:flex;gap:12px;flex-wrap:wrap}.seq-capacity-chip{display:flex;flex-direction:column;padding:4px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.seq-capacity-chip span{font-size:.68rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.seq-capacity-chip strong{font-size:.85rem;font-weight:600;color:#1e293b}.seq-panel-actions{display:flex;align-items:center;gap:8px}.seq-date-field{display:flex;align-items:center;gap:6px;font-size:.8rem;color:#475569}.seq-date-field input[type=date]{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;font-size:.8rem;color:#1e293b;background:#fff}.seq-save-msg{display:flex;align-items:center;gap:6px;padding:8px 16px;font-size:.8rem;flex-shrink:0}.seq-save-msg-success{background:#f0fdf4;color:#15803d;border-bottom:1px solid #bbf7d0}.seq-save-msg-error{background:#fef2f2;color:#b91c1c;border-bottom:1px solid #fecaca}.seq-table-header{display:grid;grid-template-columns:28px 32px 1fr 130px 60px 80px 1fr 1fr;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.seq-queue{flex:1;overflow-y:auto}.seq-queue.is-dragging{cursor:grabbing}.seq-row{display:grid;grid-template-columns:28px 32px 1fr 130px 60px 80px 1fr 1fr;align-items:center;padding:0 16px;height:48px;border-bottom:1px solid #f1f5f9;transition:background .1s}.seq-row:hover{background:#f8fafc}.seq-row.is-dragging{background:#eff6ff;opacity:.7;box-shadow:0 4px 16px #0000001a;border-radius:8px;z-index:10}.seq-row.is-hover-target{border-top:2px solid #3b82f6}.seq-row.is-dirty{background:#fefce8}.seq-row.is-dirty:hover{background:#fef9c3}.seq-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#cbd5e1;transition:color .1s}.seq-handle:hover{color:#64748b}.seq-col-priority{font-size:.75rem;color:#94a3b8;font-weight:700}.seq-priority-num{color:#475569}.seq-order-info strong{font-size:.82rem;font-weight:600;color:#1e293b}.seq-order-info small{font-size:.7rem;color:#94a3b8;display:block}.seq-col-status{display:flex;align-items:center;gap:6px}.seq-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.seq-status-label{font-size:.75rem;color:#475569}.seq-col-qty{font-size:.82rem;color:#334155}.seq-col-hours{font-size:.82rem;color:#334155;font-variant-numeric:tabular-nums}.seq-no-steps{font-size:.72rem;color:#cbd5e1;font-style:italic}.seq-col-dates{display:flex;align-items:center;gap:4px;font-size:.75rem;color:#64748b;font-variant-numeric:tabular-nums}.seq-dates-promised{color:#1e293b}.seq-promised-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:#dbeafe;border:1px solid #93c5fd;border-radius:20px;font-size:.72rem;font-weight:600;color:#1e40af}.seq-no-date{color:#cbd5e1;font-style:italic}.seq-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:200px;color:#94a3b8;font-size:.85rem}.seq-empty small{font-size:.75rem;color:#cbd5e1;text-align:center;max-width:360px}.seq-col-handle{display:flex;align-items:center;justify-content:center}.seq-wc-tab-name{flex:1}.labor-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.labor-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.labor-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.labor-layout{flex:1;display:flex;overflow:hidden;margin:0 24px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.labor-sidebar{width:220px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.labor-sidebar-search{padding:10px 10px 8px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.labor-sidebar-search input{width:100%;padding:6px 10px;border:1px solid #e2e8f0;border-radius:7px;font-size:.8rem;color:#334155;background:#f8fafc}.labor-order-list{flex:1;overflow-y:auto}.labor-order-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;background:none;border:none;text-align:left;cursor:pointer;border-bottom:1px solid #f8fafc;transition:background .1s}.labor-order-item:hover{background:#f8fafc}.labor-order-item.is-selected{background:#eff6ff}.labor-order-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.labor-order-info{display:flex;flex-direction:column;overflow:hidden}.labor-order-info strong{font-size:.8rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.labor-order-info small{font-size:.7rem;color:#94a3b8}.labor-empty-sidebar{padding:24px 12px;font-size:.8rem;color:#94a3b8;text-align:center}.labor-main{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.labor-no-selection{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;font-size:.85rem}.labor-order-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e2e8f0;flex-shrink:0;flex-wrap:wrap;gap:10px}.labor-order-bar-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.labor-order-bar-info strong{font-size:.95rem;font-weight:600;color:#0f172a}.labor-status-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:.72rem;font-weight:600;color:#fff}.labor-date-range{font-size:.78rem;color:#64748b}.labor-summary-chips{display:flex;gap:8px;flex-wrap:wrap}.labor-chip{display:flex;align-items:center;gap:5px;padding:4px 10px;background:#f1f5f9;border-radius:20px;font-size:.75rem;color:#475569}.labor-chip-cost{background:#f0fdf4;color:#15803d}.labor-loading{padding:24px 16px;font-size:.85rem;color:#64748b}.labor-table-header{display:grid;grid-template-columns:1.5fr 1fr 90px 80px 90px 90px 56px;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.labor-table-row{display:grid;grid-template-columns:1.5fr 1fr 90px 80px 90px 90px 56px;align-items:center;padding:0 16px;height:44px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155}.labor-table-row strong{font-weight:600;color:#1e293b}.labor-no-step{color:#cbd5e1;font-style:italic;font-size:.75rem}.labor-time{font-variant-numeric:tabular-nums;font-weight:500;color:#1e293b}.labor-cost{font-variant-numeric:tabular-nums;font-weight:600;color:#15803d}.field-label-standalone{display:block;font-size:.8rem;font-weight:500;color:#374151;margin-bottom:6px}.labor-time-inputs{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}.labor-time-preview{display:flex;align-items:center;padding-bottom:8px}.labor-time-preview span{padding:6px 12px;background:#eff6ff;border-radius:8px;font-size:.82rem;font-weight:600;color:#1e40af;white-space:nowrap}.seq-none-hint{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:12px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;font-size:.8rem;color:#92400e}.cq-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.cq-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.cq-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.cq-header-actions{display:flex;gap:8px}.cq-tabs{display:flex;gap:4px;padding:0 24px;border-bottom:2px solid #e2e8f0;flex-shrink:0}.cq-tab{display:flex;align-items:center;gap:6px;padding:8px 16px;font-size:.82rem;font-weight:500;color:#64748b;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;transition:color .15s,border-color .15s}.cq-tab:hover{color:#1e293b}.cq-tab.is-active{color:#1e40af;border-bottom-color:#1e40af}.cq-badge-danger{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#fee2e2;font-size:.7rem;font-weight:700;color:#b91c1c}.cq-layout{flex:1;display:flex;overflow:hidden;margin:0 24px 16px;border:1px solid #e2e8f0;border-top:none;border-radius:0 0 12px 12px;background:#fff}.cq-list-panel{width:280px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.cq-filters{display:flex;flex-direction:column;gap:6px;padding:10px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.cq-filters input,.cq-filters select{padding:6px 10px;border:1px solid #e2e8f0;border-radius:7px;font-size:.8rem;color:#334155;background:#f8fafc;width:100%}.cq-loading{padding:24px 16px;font-size:.85rem;color:#64748b}.cq-empty-list{padding:32px 16px;font-size:.85rem;color:#94a3b8;text-align:center}.cq-inspection-list{flex:1;overflow-y:auto}.cq-insp-item{display:flex;flex-direction:column;gap:4px;width:100%;padding:10px 12px;background:none;border:none;border-bottom:1px solid #f8fafc;text-align:left;cursor:pointer;transition:background .1s}.cq-insp-item:hover{background:#f8fafc}.cq-insp-item.is-selected{background:#eff6ff}.cq-insp-top{display:flex;align-items:center;justify-content:space-between}.cq-insp-number{font-size:.8rem;font-weight:700;color:#1e293b}.cq-status-chip{display:inline-flex;align-items:center;padding:2px 7px;border-radius:20px;font-size:.68rem;font-weight:700;color:#fff}.cq-status-chip-lg{font-size:.75rem;padding:3px 10px}.cq-insp-product{font-size:.78rem;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cq-insp-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.7rem;color:#94a3b8}.cq-type-chip{padding:1px 7px;background:#f1f5f9;border-radius:20px;font-size:.68rem;color:#475569}.cq-lot-chip{padding:1px 7px;background:#fef3c7;border-radius:20px;font-size:.68rem;color:#92400e}.cq-detail-panel{flex:1;display:flex;flex-direction:column;overflow-y:auto;min-width:0}.cq-no-selection{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;font-size:.85rem}.cq-detail-header{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #f1f5f9;flex-shrink:0;flex-wrap:wrap;gap:10px}.cq-detail-title{display:flex;align-items:center;gap:12px}.cq-detail-title h3{font-size:1rem;font-weight:600;color:#0f172a;margin:2px 0 0}.cq-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;padding:16px 20px;border-bottom:1px solid #f1f5f9}.cq-info-item{display:flex;flex-direction:column;gap:2px}.cq-info-full{grid-column:1 / -1}.cq-info-item span{font-size:.68rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-weight:600}.cq-info-item strong{font-size:.85rem;font-weight:600;color:#1e293b}.cq-lot-value{font-family:monospace;font-size:.85rem!important;color:#92400e!important;background:#fef3c7;padding:1px 6px;border-radius:4px}.cq-approved-qty{color:#15803d!important}.cq-rejected-qty{color:#b91c1c!important}.cq-checklist-section{padding:16px 20px;flex:1}.cq-checklist-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cq-checklist-header h4{font-size:.85rem;font-weight:600;color:#1e293b}.cq-add-item-form{display:grid;grid-template-columns:1fr 1fr auto auto;gap:8px;margin-bottom:12px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.cq-add-item-form input{padding:6px 10px;border:1px solid #e2e8f0;border-radius:7px;font-size:.8rem}.cq-checklist-empty{padding:20px;font-size:.8rem;color:#94a3b8;text-align:center;background:#f8fafc;border-radius:8px}.cq-checklist{display:flex;flex-direction:column;gap:6px}.cq-check-row{display:grid;grid-template-columns:28px 1fr 120px auto;align-items:center;gap:8px;padding:8px 10px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;transition:border-color .1s}.cq-check-row:hover{border-color:#e2e8f0}.cq-check-icon{display:flex;align-items:center;justify-content:center}.cq-check-info{display:flex;flex-direction:column;gap:2px;min-width:0}.cq-check-criterion{font-size:.82rem;font-weight:500;color:#1e293b}.cq-check-spec{font-size:.7rem;color:#64748b}.cq-check-measure{padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:.78rem;color:#334155;background:#fff;width:100%}.cq-check-measure:disabled{background:transparent;border-color:transparent;color:#475569}.cq-check-actions{display:flex;gap:4px}.cq-result-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#94a3b8;cursor:pointer;transition:all .12s}.cq-result-btn:hover{border-color:#94a3b8;color:#475569}.cq-result-btn.is-approved{background:#f0fdf4;border-color:#86efac;color:#15803d}.cq-result-btn.is-rejected,.cq-remove-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#b91c1c}.cq-conclude-info{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#f8fafc;border-radius:8px;font-size:.82rem;color:#475569;margin-bottom:4px}.cq-warn-block{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;font-size:.8rem;color:#b91c1c}.cq-blocked-section{flex:1;overflow-y:auto;padding:16px 24px}.cq-blocked-group-title{display:flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:#1e293b;margin:0 0 10px}.cq-released-title{color:#64748b;margin-top:24px}.cq-blocked-header{display:grid;grid-template-columns:130px 1.5fr 1fr 2fr 110px 120px;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.cq-blocked-row{display:grid;grid-template-columns:130px 1.5fr 1fr 2fr 110px 120px;align-items:center;padding:0 16px;min-height:48px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155}.cq-blocked-row strong{font-weight:600;color:#1e293b}.cq-blocked-reason{font-size:.78rem;color:#64748b}.cq-released-row{opacity:.65}.kanban-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.kanban-page.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.kanban-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0;flex-wrap:wrap;gap:12px}.kanban-toolbar h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.kanban-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kanban-view-toggle{display:flex;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden}.kanban-view-btn{display:flex;align-items:center;gap:6px;padding:7px 14px;font-size:.8rem;font-weight:500;background:#fff;border:none;color:#64748b;cursor:pointer;transition:background .15s,color .15s}.kanban-view-btn+.kanban-view-btn{border-left:1px solid #cbd5e1}.kanban-view-btn.is-active{background:#1e40af;color:#fff}.kanban-wc-select{padding:7px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.8rem;color:#334155;background:#fff}.kanban-error{display:flex;align-items:center;gap:8px;margin:0 24px 8px;padding:8px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;font-size:.8rem;color:#b91c1c;flex-shrink:0}.kanban-error button{margin-left:auto;background:none;border:none;cursor:pointer;color:#b91c1c;display:flex}.kanban-board{flex:1;display:flex;gap:12px;padding:0 24px 20px;overflow-x:auto;overflow-y:hidden;align-items:stretch}.kanban-col{flex:1;min-width:220px;max-width:320px;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:box-shadow .15s,border-color .15s}.kanban-col.is-hover{box-shadow:0 0 0 2px #3b82f6;border-color:#3b82f6}.kanban-col.is-blocked{opacity:.5}.kanban-col-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 10px;border-top:3px solid #e2e8f0;background:#f8fafc;flex-shrink:0}.kanban-col-title{font-size:.82rem;font-weight:700;color:#1e293b;text-transform:uppercase;letter-spacing:.05em}.kanban-col-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;font-size:.72rem;font-weight:700}.kanban-drop-indicator{margin:8px 10px 0;padding:10px;border:2px dashed;border-radius:8px;font-size:.78rem;font-weight:600;text-align:center;color:#3b82f6;flex-shrink:0}.kanban-cards{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:8px}.kanban-col-empty{padding:24px 0;font-size:.78rem;color:#cbd5e1;text-align:center}.kanban-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:5px;transition:box-shadow .1s,border-color .1s,transform .1s;position:relative}.kanban-card.is-draggable{cursor:grab}.kanban-card.is-draggable:hover{border-color:#93c5fd;box-shadow:0 2px 8px #00000012}.kanban-card.is-draggable:active{cursor:grabbing}.kanban-card.kanban-card-ghost{background:#fff;border:2px solid #3b82f6;border-radius:10px;padding:10px 12px;min-height:56px}.kanban-card.is-active{border-color:#93c5fd;background:#eff6ff}.kanban-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.kanban-card-num{font-size:.85rem;font-weight:700;color:#1e293b}.kanban-reprocess-badge{font-size:.65rem;padding:1px 6px;background:#fef3c7;border-radius:4px;color:#92400e;font-weight:700}.kanban-card-dates{display:flex;align-items:center;gap:4px;font-size:.72rem;color:#64748b}.kanban-card-qty{font-size:.75rem;color:#94a3b8}.kanban-progress{display:flex;align-items:center;gap:6px;margin-top:2px}.kanban-progress-bar{flex:1;height:4px;background:#f1f5f9;border-radius:2px;overflow:hidden}.kanban-progress-fill{height:100%;background:#3b82f6;border-radius:2px;transition:width .3s}.kanban-progress-text{font-size:.68rem;color:#94a3b8;white-space:nowrap}.kanban-drag-hint{font-size:.65rem;color:#cbd5e1;text-align:right;margin-top:2px}.kanban-step-card.is-active .kanban-step-name{color:#1e40af}.kanban-step-name{font-size:.85rem;font-weight:600;color:#1e293b;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kanban-step-timer{font-size:.8rem;font-weight:700;font-variant-numeric:tabular-nums;color:#3b82f6;flex-shrink:0}.kanban-step-order{font-size:.72rem;color:#94a3b8}.kanban-step-resource{display:flex;align-items:center;gap:4px;font-size:.72rem;color:#64748b;background:#f1f5f9;padding:2px 7px;border-radius:4px;width:fit-content}.kanban-step-meta{display:flex;align-items:center;gap:8px;font-size:.7rem;color:#94a3b8}.kanban-step-meta span{display:flex;align-items:center;gap:3px}.std-cost-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:8px}@media (max-width: 640px){.std-cost-grid{grid-template-columns:1fr 1fr}}.std-cost-card{display:flex;flex-direction:column;gap:3px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.std-cost-card span{font-size:.7rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-weight:600}.std-cost-card strong{font-size:.9rem;font-weight:700;color:#1e293b;font-variant-numeric:tabular-nums}.std-cost-total{background:#eff6ff;border-color:#bfdbfe}.std-cost-total strong{color:#1e40af}.std-cost-section{padding:0}.variance-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.variance-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.variance-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.variance-filters{display:flex;gap:12px;padding:0 24px 12px;flex-wrap:wrap;flex-shrink:0}.variance-filters .field{flex:0 0 auto}.variance-summary{display:flex;gap:10px;padding:0 24px 12px;flex-wrap:wrap;flex-shrink:0}.variance-summary-card{display:flex;flex-direction:column;gap:3px;padding:10px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:140px}.variance-summary-card span{font-size:.7rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-weight:600}.variance-summary-card strong{font-size:.95rem;font-weight:700;color:#1e293b;font-variant-numeric:tabular-nums}.variance-summary-card.is-over{border-color:#fca5a5;background:#fff5f5}.variance-summary-card.is-under{border-color:#86efac;background:#f0fdf4}.var-text-over{color:#b91c1c!important}.var-text-under{color:#15803d!important}.variance-bar-section{padding:0 24px 12px;flex-shrink:0}.variance-bar-wrap{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;background:#f1f5f9;padding:2px}.variance-bar-std{background:#3b82f6;border-radius:4px;min-width:4px;transition:flex .3s}.variance-bar-real{border-radius:4px;min-width:4px;transition:flex .3s}.variance-bar-real.is-over{background:#ef4444}.variance-bar-real.is-under{background:#22c55e}.variance-bar-legend{display:flex;gap:16px;margin-top:6px;font-size:.72rem}.variance-legend-std{color:#3b82f6;font-weight:600}.variance-legend-over{color:#ef4444;font-weight:600}.variance-legend-under{color:#22c55e;font-weight:600}.variance-table-shell{flex:1;overflow-y:auto;margin:0 24px 16px}.variance-table-header{display:grid;grid-template-columns:120px 1.5fr 1fr 60px 90px 120px 120px 160px 90px;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;position:sticky;top:0;z-index:1}.variance-col-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.variance-col-sortable:hover{color:#1e293b}.variance-table-row{display:grid;grid-template-columns:120px 1.5fr 1fr 60px 90px 120px 120px 160px 90px;align-items:center;padding:0 16px;min-height:48px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155;transition:background .1s}.variance-table-row:hover{background:#f8fafc}.variance-table-row.is-over{background:#fff5f5}.variance-table-row.is-under{background:#f0fdf4}.variance-table-row.is-over:hover{background:#fee2e2}.variance-table-row.is-under:hover{background:#dcfce7}.variance-order-num{font-weight:700;color:#1e293b;display:flex;align-items:center;gap:4px}.variance-repr-badge{font-size:.65rem;padding:1px 5px;background:#fef3c7;border-radius:3px;color:#92400e}.variance-bom-name{font-size:.75rem;color:#64748b}.variance-no-std{font-size:.72rem;color:#cbd5e1;font-style:italic}.var-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:20px;font-size:.75rem;font-weight:600;font-variant-numeric:tabular-nums}.var-badge-over{background:#fee2e2;color:#b91c1c}.var-badge-under{background:#dcfce7;color:#15803d}.var-badge-zero{background:#f1f5f9;color:#64748b}.var-pct-over{color:#b91c1c;font-weight:700;font-variant-numeric:tabular-nums}.var-pct-under{color:#15803d;font-weight:700;font-variant-numeric:tabular-nums}.var-pct-zero{color:#94a3b8;font-variant-numeric:tabular-nums}.variance-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#94a3b8;padding:60px 24px;text-align:center}.variance-empty small{font-size:.78rem;color:#cbd5e1}.sim-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.sim-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.sim-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.sim-setup-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;flex-shrink:0;background:#fff;border-bottom:1px solid #e2e8f0;margin:0 24px;border-radius:10px 10px 0 0;padding:14px 16px}.sim-setup-meta{display:flex;flex-direction:column;gap:2px;font-size:.75rem;color:#64748b;padding-bottom:6px}.sim-body{flex:1;overflow-y:auto;padding:0 24px 24px;display:flex;flex-direction:column;gap:16px;margin:0}.sim-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.sim-section-title{padding:10px 16px;font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0}.sim-table{overflow-x:auto}.sim-mat-cols{grid-template-columns:1.8fr 80px 110px 130px 110px 110px 80px}.sim-lab-cols{grid-template-columns:1.2fr 110px 80px 120px 100px 120px 100px 110px 70px}.sim-table-header{display:grid;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.sim-table-row{display:grid;align-items:center;padding:6px 16px;min-height:44px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155;gap:0}.sim-table-row.is-changed{background:#fffbeb}.sim-table-subtotal{display:grid;align-items:center;padding:8px 16px;background:#f8fafc;border-top:2px solid #e2e8f0;font-size:.82rem}.sim-subtotal-label{color:#64748b;font-weight:500}.sim-subtotal-base{font-weight:600;color:#334155;font-variant-numeric:tabular-nums}.sim-subtotal-sim{font-weight:700;color:#1e40af;font-variant-numeric:tabular-nums}.sim-comp-name strong{font-weight:600;color:#1e293b}.sim-comp-name small{color:#94a3b8;font-size:.72rem}.sim-step-name strong{font-weight:600;color:#1e293b;font-size:.8rem}.sim-wc-name{font-size:.78rem;color:#64748b}.sim-qty,.sim-base-price{color:#64748b;font-size:.78rem}.sim-total{font-variant-numeric:tabular-nums;color:#475569}.sim-total-sim{color:#1e40af;font-weight:600}.sim-override-wrap{display:flex;align-items:center;gap:4px}.sim-override-input{width:90px;padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:.8rem;color:#334155;background:#fff;font-variant-numeric:tabular-nums}.sim-override-input:focus{outline:none;border-color:#3b82f6}.sim-override-input.is-changed{border-color:#f59e0b;background:#fffbeb;font-weight:600;color:#92400e}.sim-clear-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:none;border:none;cursor:pointer;color:#94a3b8;border-radius:4px;padding:0}.sim-clear-btn:hover{color:#ef4444;background:#fee2e2}.sim-delta-over{font-size:.72rem;font-weight:700;color:#b91c1c;font-variant-numeric:tabular-nums}.sim-delta-under{font-size:.72rem;font-weight:700;color:#15803d;font-variant-numeric:tabular-nums}.sim-delta-zero{font-size:.72rem;color:#cbd5e1}.sim-summary{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.sim-summary-title{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0}.sim-summary-grid{padding:4px 0}.sim-summary-row{display:grid;grid-template-columns:160px 140px 140px 80px;align-items:center;padding:8px 16px;border-bottom:1px solid #f8fafc;font-size:.85rem;color:#475569}.sim-summary-row.is-bold{font-weight:700;color:#1e293b;background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.sim-summary-base{font-variant-numeric:tabular-nums;color:#64748b}.sim-summary-sim.is-sim{font-weight:700;color:#1e40af;font-variant-numeric:tabular-nums}.sim-margin-row{background:#f0fdf4}.sim-margin-pos{color:#15803d;font-weight:700}.sim-margin-warn{color:#92400e;font-weight:700}.sim-margin-neg{color:#b91c1c;font-weight:700}.sim-actions{flex-shrink:0}.sim-save-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sim-scenario-name-input{padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.85rem;color:#334155;flex:1;min-width:200px}.sim-comparison{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.sim-comparison-title{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:.78rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc;border-bottom:1px solid #e2e8f0}.sim-comparison-table{overflow-x:auto}.sim-comparison-header{display:grid;align-items:center;padding:8px 16px;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-size:.75rem;font-weight:700;color:#475569;gap:8px}.sim-col-base{color:#64748b}.sim-scenario-col-head{display:flex;align-items:center;justify-content:space-between;gap:4px}.sim-scenario-col-head span{font-size:.8rem;font-weight:700;color:#1e40af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sim-scenario-col-actions{display:flex;gap:2px;flex-shrink:0}.sim-comp-row{display:grid;align-items:center;padding:8px 16px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155;gap:8px;font-variant-numeric:tabular-nums}.sim-comp-row.is-bold{font-weight:700;color:#1e293b;background:#f8fafc;border-top:1px solid #e2e8f0}.sim-comp-row .sim-col-base{color:#94a3b8}.sim-inline-delta-over{font-size:.7rem;color:#b91c1c}.sim-inline-delta-under{font-size:.7rem;color:#15803d}.sim-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#94a3b8;padding:40px 24px;text-align:center}.sim-empty small{font-size:.78rem;color:#cbd5e1;max-width:400px}.bom-exp-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.bom-exp-header{padding:20px 24px 12px;flex-shrink:0}.bom-exp-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.bom-exp-controls{display:flex;align-items:flex-end;gap:12px;padding:0 24px 12px;flex-wrap:wrap;flex-shrink:0}.bom-exp-toggles{display:flex;gap:14px;align-items:center;padding-bottom:6px}.bom-exp-toggle{display:flex;align-items:center;gap:5px;font-size:.82rem;color:#475569;cursor:pointer}.bom-exp-summary{display:flex;gap:8px;flex-wrap:wrap;padding:0 24px 10px;flex-shrink:0}.bom-exp-chip{display:flex;align-items:center;gap:5px;padding:4px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;font-size:.78rem;color:#475569}.bom-exp-chip strong{color:#1e293b}.bom-exp-chip-cost{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.bom-exp-chip-cost strong{color:#1e40af}.bom-exp-chip-shortage{background:#fff5f5;border-color:#fca5a5;color:#b91c1c}.bom-exp-shortages{margin:0 24px 10px;background:#fff;border:1px solid #fca5a5;border-radius:10px;overflow:hidden;flex-shrink:0}.bom-exp-shortages-title{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#fef2f2;border-bottom:1px solid #fca5a5;font-size:.78rem;font-weight:700;color:#b91c1c;text-transform:uppercase;letter-spacing:.05em}.bom-exp-shortages-list{padding:8px 0}.bom-exp-shortage-item{display:flex;align-items:center;gap:8px;padding:6px 14px;font-size:.8rem;color:#334155;border-bottom:1px solid #fef2f2}.bom-exp-shortage-detail{color:#64748b;font-size:.75rem;margin-left:auto}.bom-exp-shortage-detail strong{color:#b91c1c}.bom-exp-tree-wrap{flex:1;overflow-y:auto;margin:0 24px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.bom-tree-legend{display:flex;gap:20px;padding:8px 16px;border-bottom:1px solid #f1f5f9;font-size:.72rem;color:#64748b;background:#f8fafc}.bom-legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px}.bom-tree-header{display:flex;align-items:center;padding:6px 16px 6px 12px;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-size:.7rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;gap:0}.bom-tree-root-row{display:flex;align-items:center;padding:10px 16px 10px 12px;background:#eff6ff;border-bottom:2px solid #bfdbfe;gap:8px}.bom-tree-root-icon{color:#1e40af;display:flex;align-items:center}.bom-tree-row{display:flex;align-items:center;min-height:40px;border-bottom:1px solid #f8fafc;gap:8px;transition:background .1s}.bom-tree-row:hover{background:#f8fafc}.bom-tree-row.is-shortage{background:#fff5f5}.bom-tree-row.is-shortage:hover{background:#fee2e2}.bom-tree-row.is-subassembly{background:#f8fafc;border-bottom:1px solid #e2e8f0}.bom-tree-row.is-phantom{opacity:.75}.bom-tree-toggle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:none;border:none;cursor:pointer;color:#94a3b8;flex-shrink:0;padding:0;border-radius:4px}.bom-tree-toggle:hover:not(:disabled){color:#3b82f6;background:#eff6ff}.bom-tree-toggle:disabled{cursor:default}.bom-tree-leaf-dot{display:block;width:6px;height:6px;background:#e2e8f0;border-radius:50%;margin:auto}.bom-tree-type-icon{display:flex;align-items:center;flex-shrink:0}.bom-tree-product{display:flex;align-items:center;gap:6px;flex:3;min-width:0}.bom-tree-name{font-size:.85rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bom-tree-sku{font-size:.72rem;color:#94a3b8;font-family:monospace;flex-shrink:0}.bom-tree-badge{display:inline-flex;align-items:center;padding:1px 6px;border-radius:10px;font-size:.65rem;font-weight:700;flex-shrink:0}.bom-badge-phantom{background:#f3e8ff;color:#7c3aed}.bom-badge-sub{background:#dbeafe;color:#1e40af}.bom-badge-scrap{background:#fef3c7;color:#92400e}.bom-tree-qty{flex:1;font-size:.82rem;font-variant-numeric:tabular-nums;color:#334155}.bom-tree-stock{flex:1;font-size:.78rem;color:#64748b;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bom-tree-stock.is-ok{color:#15803d}.bom-tree-stock.is-shortage{color:#b91c1c}.bom-tree-shortage-tag{display:flex;align-items:center;gap:3px;font-size:.7rem;font-weight:700;color:#b91c1c;background:#fee2e2;padding:1px 6px;border-radius:10px}.bom-tree-cost{flex:1;font-size:.82rem;font-variant-numeric:tabular-nums;color:#475569;text-align:right;padding-right:8px}.bom-exp-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;padding:60px 24px;text-align:center}.bom-exp-empty small{font-size:.78rem;color:#cbd5e1;max-width:400px}.repr-page{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f4f8fc}.repr-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;flex-shrink:0}.repr-header h2{font-size:1.25rem;font-weight:600;color:#0f172a;margin:2px 0 0}.repr-loading{padding:32px 24px;font-size:.85rem;color:#64748b}.repr-layout{flex:1;display:flex;overflow:hidden;margin:0 24px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.repr-sidebar{width:240px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden}.repr-sidebar-title{display:flex;align-items:center;gap:6px;padding:10px 12px 8px;font-size:.75rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #f1f5f9;flex-shrink:0}.repr-sidebar-search{padding:8px 10px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.repr-sidebar-search input{width:100%;padding:6px 10px;border:1px solid #e2e8f0;border-radius:7px;font-size:.8rem;background:#f8fafc}.repr-order-list{flex:1;overflow-y:auto}.repr-empty-sidebar{padding:24px 12px;font-size:.8rem;color:#94a3b8;text-align:center}.repr-order-item{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 12px;background:none;border:none;border-bottom:1px solid #f8fafc;text-align:left;cursor:pointer;transition:background .1s}.repr-order-item:hover{background:#f8fafc}.repr-order-item.is-selected{background:#eff6ff}.repr-order-top{display:flex;align-items:center;gap:6px}.repr-order-top strong{font-size:.82rem;font-weight:700;color:#1e293b}.repr-has-badge{font-size:.65rem;padding:1px 6px;background:#fef3c7;border-radius:20px;color:#92400e;font-weight:600}.repr-order-lot{font-size:.75rem;color:#64748b}.repr-order-lot span{font-family:monospace;color:#1e40af}.repr-order-meta{display:flex;gap:8px;font-size:.7rem;color:#94a3b8}.repr-main{flex:1;display:flex;flex-direction:column;overflow-y:auto;min-width:0;padding:20px;gap:16px}.repr-no-selection{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;font-size:.85rem}.repr-chain-section h4,.repr-children-list h4{font-size:.85rem;font-weight:600;color:#1e293b;margin:0 0 12px}.repr-chain-child{margin-left:24px;border-left:2px solid #e2e8f0;padding-left:16px;margin-top:8px}.repr-chain-node{display:flex;align-items:flex-start;gap:6px}.repr-chain-arrow{color:#94a3b8;margin-top:8px;flex-shrink:0}.repr-chain-card{flex:1;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;background:#fff;box-shadow:0 1px 3px #0000000a}.repr-chain-card-top{display:flex;align-items:center;gap:8px;margin-bottom:6px}.repr-chain-num{font-size:.85rem;font-weight:700;color:#334155}.repr-chain-num-origin{color:#1e40af;font-size:.9rem}.repr-status-chip{display:inline-flex;align-items:center;padding:2px 7px;border-radius:20px;font-size:.68rem;font-weight:700;color:#fff}.repr-type-chip{font-size:.68rem;padding:2px 7px;background:#eff6ff;border-radius:20px;color:#1e40af;font-weight:600}.repr-type-repr{background:#fef9c3;color:#854d0e}.repr-chain-card-body{display:flex;flex-direction:column;gap:3px}.repr-chain-lot{font-size:.75rem;color:#64748b}.repr-chain-lot strong{font-family:monospace;color:#1e40af}.repr-chain-orig-lot strong{color:#92400e}.repr-chain-qtds{display:flex;align-items:center;gap:6px;font-size:.75rem}.repr-qty-def{color:#b91c1c;font-weight:600}.repr-qty-prod{color:#15803d;font-weight:600}.repr-qty-cost{color:#475569}.repr-action-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;gap:12px;flex-wrap:wrap}.repr-action-info{display:flex;align-items:center;gap:6px;font-size:.82rem;color:#92400e}.repr-table-header{display:grid;grid-template-columns:130px 130px 90px 100px 130px 120px 100px;align-items:center;padding:6px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.repr-table-row{display:grid;grid-template-columns:130px 130px 90px 100px 130px 120px 100px;align-items:center;padding:0 16px;height:44px;border-bottom:1px solid #f1f5f9;font-size:.82rem;color:#334155}.repr-table-row strong{font-weight:600;color:#1e293b}.repr-lot{font-family:monospace;font-size:.8rem;color:#1e40af}.repr-modal-origin{display:flex;flex-direction:column;gap:6px;padding:10px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:4px}.repr-origin-row{display:flex;align-items:center;gap:8px;font-size:.82rem;color:#475569}.repr-origin-row strong{color:#1e293b}.repr-cost-note{display:flex;align-items:flex-start;gap:6px;padding:8px 12px;background:#fefce8;border:1px solid #fde68a;border-radius:8px;font-size:.78rem;color:#854d0e;line-height:1.4}@media (max-width: 560px){.customers-list-section>.section-heading .grid-actions,.customers-list-section>.section-heading .heading-actions,.customer-filters,.crm-tabs,.users-filters{grid-template-columns:1fr}}.bi-page-content,.bi-page-content *{min-width:0}.bi-header{gap:16px}.bi-header h2{overflow-wrap:anywhere}.bi-view-toggle{flex-shrink:0}.bi-filter-chip{min-height:42px}.bi-filter-chip input,.bi-chat-form input{min-width:0}.bi-goal-summary{gap:16px}.bi-charts-grid,.bi-ai-section,.bi-chart-area,.bi-chat-messages{min-width:0}.bi-chart-card,.bi-report-card,.bi-chat-card{min-width:0;overflow:hidden}.bi-report-card{overflow-wrap:anywhere}.bi-quick-questions{align-content:flex-start;max-height:172px;overflow-y:auto}.bi-quick-button{max-width:100%;overflow:hidden;text-overflow:ellipsis}@media (max-width: 1120px){.bi-header{align-items:flex-start!important;flex-direction:column}.bi-view-toggle{width:100%}.bi-view-toggle button{flex:1;justify-content:center}.bi-charts-grid{display:grid!important;grid-template-columns:minmax(0,1fr)}.bi-ai-section{grid-template-columns:minmax(0,1fr)!important}.bi-chart-card{flex:initial!important}.bi-chat-card{height:min(620px,78dvh)!important}}@media (max-width: 760px){.bi-page-content{width:100%;overflow-x:hidden}.bi-header h2{font-size:clamp(1.55rem,8vw,2rem)!important;line-height:1.2!important}.bi-header h2 svg{display:none}.bi-header p{font-size:.95rem!important;line-height:1.45!important}.bi-view-toggle{display:grid!important;grid-template-columns:1fr 1fr}.bi-view-toggle button{padding:10px 8px!important;white-space:normal}.bi-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch!important}.bi-filter-chip{justify-content:space-between;width:100%}.bi-filter-chip input{width:100%!important}.bi-refresh-button{justify-content:center;width:100%}.bi-goal-card{padding:16px!important}.bi-goal-summary{align-items:flex-start!important;flex-direction:column}.bi-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.bi-kpi-grid .pos-kpi-card,.bi-chart-card{padding:16px!important}.bi-chart-area{height:280px!important}.bi-payment-chart-area{height:360px!important}.bi-report-card{padding:18px!important}.bi-chat-card{height:auto!important;max-height:none}.bi-chat-messages{max-height:360px;padding:16px!important}.bi-quick-questions{display:grid!important;grid-template-columns:1fr;padding:0 16px 14px!important}.bi-quick-button{text-align:left;white-space:normal!important}.bi-chat-form{padding:12px 16px 16px!important}}@media (max-width: 560px){.bi-filters,.bi-kpi-grid{grid-template-columns:1fr!important}.bi-view-toggle{grid-template-columns:1fr}.bi-chart-area,.bi-payment-chart-area{height:320px!important}}.brands-page,.employees-page{min-width:0;max-width:100%;overflow-x:hidden}.brands-page .customers-list-section,.employees-page .customers-list-section{min-width:0;max-width:100%}.brands-page .section-heading,.employees-page .section-heading{min-width:0}.brands-page .section-heading>div,.employees-page .section-heading>div{min-width:0}.brands-page .section-heading>div:has(.btn),.employees-page .section-heading>div:has(.btn){flex-wrap:wrap;min-width:0}.brands-page .section-heading h2,.employees-page .section-heading h2{overflow-wrap:anywhere}.brands-page .customer-filters,.employees-page .customer-filters{min-width:0}.brands-page .customer-filters .field,.employees-page .customer-filters .field{min-width:0!important}.brands-page .field-control,.employees-page .field-control{min-width:0}.brands-page .field-control input,.brands-page .field-control select,.brands-page .field-control textarea,.employees-page .field-control input,.employees-page .field-control select,.employees-page .field-control textarea{min-width:0;width:100%}.brands-page .tabs,.employees-page .tabs{max-width:100%}.brands-page .table-shell,.employees-page .table-shell{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.brands-page .brands-table-header,.brands-page .brands-table-row,.employees-page .employees-table-header,.employees-page .employees-table-row{width:max-content}.brands-page .brands-table-row>*,.employees-page .employees-table-row>*{min-width:0;overflow-wrap:anywhere}.brands-page .row-actions,.employees-page .row-actions{min-width:max-content}@media (max-width: 1120px){.brands-page .section-heading,.employees-page .section-heading{gap:12px}.brands-page .section-heading .grid-actions,.brands-page .section-heading .heading-actions,.brands-page .section-heading>div:has(.btn),.employees-page .section-heading .grid-actions,.employees-page .section-heading .heading-actions,.employees-page .section-heading>div:has(.btn){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.brands-page .customer-filters,.employees-page .customer-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.brands-page .tabs,.employees-page .tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.brands-page .tab-button,.employees-page .tab-button{justify-content:center;min-width:0;width:100%}}@media (max-width: 760px){.brands-page .customers-list-section,.employees-page .customers-list-section{padding:20px}.brands-page .section-heading,.employees-page .section-heading{align-items:stretch;flex-direction:column}.brands-page .section-heading>.btn,.employees-page .section-heading>.btn,.brands-page .section-heading .grid-actions .btn,.brands-page .section-heading .heading-actions .btn,.brands-page .section-heading>div:has(.btn) .btn,.employees-page .section-heading .grid-actions .btn,.employees-page .section-heading .heading-actions .btn,.employees-page .section-heading>div:has(.btn) .btn{justify-content:center;width:100%}.brands-page .customers-list-section>div[style*=grid-template-columns],.brands-page .customers-list-section>section[style*=grid-template-columns],.employees-page .customers-list-section>div[style*=grid-template-columns],.employees-page .customers-list-section>section[style*=grid-template-columns]{grid-template-columns:1fr!important}.brands-page [style*="grid-template-columns: repeat(4"],.employees-page [style*="grid-template-columns: repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.brands-page [style*="grid-template-columns: repeat(3"],.employees-page [style*="grid-template-columns: repeat(3"]{grid-template-columns:1fr!important}.brands-page [style*="display: flex"][style*="overflow-x: auto"],.employees-page [style*="display: flex"][style*="overflow-x: auto"]{max-width:100%}.brands-page .customer-filters,.employees-page .customer-filters{grid-template-columns:1fr}.brands-page .customer-filters>.btn,.brands-page .customer-filters button,.employees-page .customer-filters>.btn,.employees-page .customer-filters button{justify-content:center;width:100%!important}.brands-page .tabs,.employees-page .tabs,.brands-page .modal-body .company-form-grid,.employees-page .modal-body .company-form-grid{grid-template-columns:1fr}.brands-page .modal-body .form-span-2,.employees-page .modal-body .form-span-2{grid-column:1 / -1}.brands-page .modal-footer,.employees-page .modal-footer{align-items:stretch;flex-direction:column-reverse}.brands-page .modal-footer .btn,.employees-page .modal-footer .btn{justify-content:center;width:100%}}@media (max-width: 560px){.brands-page .customers-list-section,.employees-page .customers-list-section{padding:16px}.brands-page .section-heading h2,.employees-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}}.report-page,.report-page *{min-width:0}.report-page{max-width:100%;overflow-x:hidden}.report-heading-info,.report-heading-info h2{min-width:0;overflow-wrap:anywhere}.report-toolbar,.report-selection-bar,.report-selection-bar-info,.report-selection-bar-actions,.report-info-bar,.report-count{min-width:0}.report-toolbar .btn,.report-selection-bar-actions .btn,.report-info-bar .btn{white-space:nowrap}.report-filters{min-width:0}.report-filters .field,.report-filters label{min-width:0!important}.report-filters .field-control{min-width:0}.report-filters input,.report-filters select,.report-filters textarea{min-width:0;width:100%}.report-table-shell{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.report-table-header,.report-table-row{width:max-content;min-width:100%}.report-table-header>*,.report-table-row>*{min-width:0}.report-table-row .report-status-badge{max-width:100%}.report-empty,.report-loading{min-width:100%}.report-page .dashboard-panel,.report-page .section-card,.report-page .card,.report-page .summary-card{min-width:0;max-width:100%}@media (max-width: 1120px){.report-heading{align-items:stretch;flex-direction:column}.report-heading[style]{justify-content:flex-start!important}.report-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.report-toolbar .btn{justify-content:center;width:100%}.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-selection-bar,.report-info-bar{align-items:stretch;flex-direction:column}.report-selection-bar-actions,.report-info-bar .report-toolbar,.report-info-bar .report-toolbar-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.report-selection-bar-actions .btn,.report-info-bar .report-toolbar .btn,.report-info-bar .report-toolbar-right .btn{justify-content:center;width:100%}.report-page>div[style*=grid-template-columns],.report-page>section[style*=grid-template-columns],.report-page>article[style*=grid-template-columns]{grid-template-columns:minmax(0,1fr)!important}.report-page [style*="grid-template-columns: repeat(4"],.report-page [style*="grid-template-columns:'repeat(4"],.report-page [style*="gridTemplateColumns: 'repeat(4"],.report-page [style*="grid-template-columns: repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width: 760px){.report-page{gap:16px}.report-heading-info h2{font-size:clamp(1.35rem,7vw,1.7rem);line-height:1.2}.report-toolbar,.report-selection-bar-actions,.report-info-bar .report-toolbar,.report-info-bar .report-toolbar-right,.report-filters{grid-template-columns:1fr}.report-filters{padding:14px}.report-filters-label{margin-bottom:2px}.report-count,.report-selection-bar-info{align-items:flex-start;flex-wrap:wrap}.report-page [style*="grid-template-columns: repeat(4"],.report-page [style*="grid-template-columns: repeat(3"],.report-page [style*="grid-template-columns: repeat(2"]{grid-template-columns:1fr!important}.report-table-header,.report-table-row{gap:0 10px;padding-left:12px;padding-right:12px}}@media (max-width: 560px){.report-table-shell{border-radius:8px}.report-table-header,.report-table-row{padding-left:10px;padding-right:10px}}.purchase-quotations-page,.purchase-orders-page,.purchase-invoices-page{min-width:0;max-width:100%;overflow-x:hidden}.purchase-quotations-page .customers-list-section,.purchase-orders-page .customers-list-section,.purchase-invoices-page .customers-list-section{min-width:0;max-width:100%}.purchase-quotations-page .section-heading,.purchase-orders-page .section-heading,.purchase-invoices-page .section-heading{min-width:0}.purchase-quotations-page .section-heading>div,.purchase-orders-page .section-heading>div,.purchase-invoices-page .section-heading>div{min-width:0}.purchase-quotations-page .section-heading h2,.purchase-orders-page .section-heading h2,.purchase-invoices-page .section-heading h2{overflow-wrap:anywhere}.purchase-quotations-page .customer-filters,.purchase-orders-page .customer-filters,.purchase-invoices-page .customer-filters{min-width:0}.purchase-quotations-page .customer-filters .field,.purchase-orders-page .customer-filters .field,.purchase-invoices-page .customer-filters .field{min-width:0!important}.purchase-quotations-page .field-control,.purchase-orders-page .field-control,.purchase-invoices-page .field-control,.purchase-order-modal .field-control,.purchase-quotations-page input,.purchase-quotations-page select,.purchase-quotations-page textarea,.purchase-orders-page input,.purchase-orders-page select,.purchase-orders-page textarea,.purchase-invoices-page input,.purchase-invoices-page select,.purchase-invoices-page textarea,.purchase-order-modal input,.purchase-order-modal select,.purchase-order-modal textarea{min-width:0}.purchase-quotations-page .table-shell,.purchase-orders-page .table-shell,.purchase-invoices-page .table-shell,.purchase-order-modal .table-shell{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.purchase-orders-table-header,.purchase-orders-table-row,.purchase-items-table-header,.purchase-items-table-row,.quotation-items-table{width:max-content}.purchase-orders-table-row>*,.purchase-items-table-row>*,.quotation-items-table>*{min-width:0;overflow-wrap:anywhere}.purchase-order-modal{max-width:calc(100vw - 24px)}.purchase-order-modal .quotation-total-highlight{flex-shrink:0;border-top:1px solid #dce8f3;border-bottom:1px solid #dce8f3;margin:0}.purchase-order-modal .company-form-grid,.purchase-order-items-panel,.purchase-item-form{min-width:0}.qty-ctrl{display:flex;align-items:center;gap:4px}.qty-ctrl span{min-width:32px;text-align:center;font-size:.85rem;font-weight:500}.qty-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #cbd5e1;border-radius:4px;background:#f8fafc;color:#475569;cursor:pointer;font-size:14px;line-height:1;padding:0;transition:border-color .12s,background .12s,color .12s}.qty-btn:hover{border-color:#0ea5e9;background:#e0f2fe;color:#0284c7}.quotation-total-highlight{min-width:0}@media (max-width: 1120px){.purchase-quotations-page .section-heading,.purchase-orders-page .section-heading,.purchase-invoices-page .section-heading{gap:12px}.purchase-quotations-page .customer-filters,.purchase-orders-page .customer-filters,.purchase-invoices-page .customer-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.purchase-order-modal{width:min(1040px,calc(100vw - 24px))}.purchase-item-form{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-item-form .btn,.purchase-item-form>button{justify-content:center;width:100%}.quotation-total-highlight{align-items:flex-start;flex-direction:column;gap:4px}}@media (max-width: 760px){.purchase-quotations-page .customers-list-section,.purchase-orders-page .customers-list-section,.purchase-invoices-page .customers-list-section{padding:20px}.purchase-quotations-page .section-heading,.purchase-orders-page .section-heading,.purchase-invoices-page .section-heading{align-items:stretch;flex-direction:column}.purchase-quotations-page .section-heading .btn,.purchase-orders-page .section-heading .btn,.purchase-invoices-page .section-heading .btn{justify-content:center;width:100%}.purchase-quotations-page .customer-filters,.purchase-orders-page .customer-filters,.purchase-invoices-page .customer-filters{grid-template-columns:1fr}.purchase-quotations-page .customer-filters button,.purchase-orders-page .customer-filters button,.purchase-invoices-page .customer-filters button{justify-content:center;width:100%!important}.purchase-order-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.purchase-order-modal .modal-body .company-form-grid{grid-template-columns:1fr}.purchase-order-modal .modal-body .form-span-2{grid-column:1 / -1}.purchase-item-form{grid-template-columns:1fr}.purchase-order-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.purchase-order-modal .modal-footer .btn{justify-content:center;width:100%}}@media (max-width: 560px){.purchase-quotations-page .customers-list-section,.purchase-orders-page .customers-list-section,.purchase-invoices-page .customers-list-section{padding:16px}.purchase-quotations-page .section-heading h2,.purchase-orders-page .section-heading h2,.purchase-invoices-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.purchase-order-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.fiscal-taxation-page,.nfe-page,.nfse-page,.cte-page{min-width:0;max-width:100%;overflow-x:hidden}.fiscal-taxation-page .customers-list-section,.nfe-page .customers-list-section,.nfse-page .customers-list-section,.cte-page .customers-list-section{min-width:0;max-width:100%}.fiscal-taxation-page .section-heading,.nfe-page .section-heading,.nfse-page .section-heading,.cte-page .section-heading{min-width:0}.fiscal-taxation-page .section-heading>div,.nfe-page .section-heading>div,.nfse-page .section-heading>div,.cte-page .section-heading>div{min-width:0}.fiscal-taxation-page .section-heading h2,.nfe-page .section-heading h2,.nfse-page .section-heading h2,.cte-page .section-heading h2,.sped-modulo-title strong{overflow-wrap:anywhere}.fiscal-taxation-page .customer-filters,.nfe-page .customer-filters,.nfse-page .customer-filters,.cte-page .customer-filters,.sped-params-filters{min-width:0}.fiscal-taxation-page .customer-filters .field,.nfe-page .customer-filters .field,.nfse-page .customer-filters .field,.cte-page .customer-filters .field,.sped-params-filters .field{min-width:0!important}.fiscal-taxation-page .field-control,.nfe-page .field-control,.nfse-page .field-control,.cte-page .field-control,.fiscal-taxation-modal .field-control,.tax-group-modal .field-control,.nfe-emitir-modal .field-control,.nfe-error-modal .field-control,.sped-params .field-control,.fiscal-taxation-page input,.fiscal-taxation-page select,.fiscal-taxation-page textarea,.nfe-page input,.nfe-page select,.nfe-page textarea,.nfse-page input,.nfse-page select,.nfse-page textarea,.cte-page input,.cte-page select,.cte-page textarea,.fiscal-taxation-modal input,.fiscal-taxation-modal select,.fiscal-taxation-modal textarea,.tax-group-modal input,.tax-group-modal select,.tax-group-modal textarea,.nfe-emitir-modal input,.nfe-emitir-modal select,.nfe-emitir-modal textarea,.nfe-error-modal input,.nfe-error-modal select,.nfe-error-modal textarea,.sped-params input,.sped-params select,.sped-params textarea{min-width:0}.fiscal-taxation-page .table-shell,.nfe-page .table-shell,.nfse-page .table-shell,.cte-page .table-shell,.nfe-emitir-modal .table-shell{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.nfe-page .table-shell,.nfse-page .table-shell,.cte-page .table-shell{overflow-y:auto!important}.fiscal-taxation-table-header,.fiscal-taxation-table-row,.tax-group-table-header,.tax-group-table-row,.nfe-table-header,.nfe-table-row,.nfe-items-grid-header,.nfe-items-grid-row{width:max-content}.fiscal-taxation-table-row>*,.tax-group-table-row>*,.nfe-table-row>*,.nfe-items-grid-row>*{min-width:0;overflow-wrap:anywhere}.fiscal-taxation-page .fiscal-tabs,.fiscal-taxation-modal .tabs,.tax-group-modal .tabs,.nfe-emitir-modal .tabs,.nfe-error-modal .tabs,.nfe-toolbar{min-width:0;max-width:100%}.nfe-toolbar-status{min-width:0;overflow-wrap:anywhere}.nfe-pag-row,.nfe-item-edit-panel,.nfe-item-edit-panel-header,.nfe-ipi-toggle,.nfe-items-grid-total,.sped-params,.sped-modulo,.sped-blocos{min-width:0}.fiscal-taxation-modal,.tax-group-modal,.nfe-emitir-modal,.nfe-error-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.fiscal-taxation-modal .company-form-grid,.tax-group-modal .company-form-grid,.nfe-emitir-modal .company-form-grid{min-width:0}@media (max-width: 1120px){.nfe-page,.nfse-page,.cte-page{height:auto!important;overflow-x:hidden!important;overflow-y:visible!important}.nfe-page .customers-list-section,.nfse-page .customers-list-section,.cte-page .customers-list-section{overflow:visible!important}.fiscal-taxation-page .section-heading,.nfe-page .section-heading,.nfse-page .section-heading,.cte-page .section-heading{gap:12px}.fiscal-taxation-page .customer-filters,.nfe-page .customer-filters,.nfse-page .customer-filters,.cte-page .customer-filters,.sped-params-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.fiscal-taxation-page .fiscal-tabs,.fiscal-taxation-modal .tabs,.tax-group-modal .tabs,.nfe-emitir-modal .tabs,.nfe-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nfe-toolbar .btn{justify-content:center;width:100%}.nfe-toolbar-sep{display:none}.nfe-toolbar-status{grid-column:1 / -1;max-width:100%;width:100%}.nfe-emitir-modal .company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nfe-field-span-3,.nfe-field-full{grid-column:1 / -1}.nfe-pag-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.nfe-pag-row .btn,.nfe-pag-row>button{justify-content:center;width:100%}.sped-params-header,.sped-modulo-header{align-items:flex-start;flex-wrap:wrap;gap:12px}}@media (max-width: 760px){.fiscal-taxation-page .customers-list-section,.nfe-page .customers-list-section,.nfse-page .customers-list-section,.cte-page .customers-list-section{padding:20px}.fiscal-taxation-page .section-heading,.nfe-page .section-heading,.nfse-page .section-heading,.cte-page .section-heading{align-items:stretch;flex-direction:column}.fiscal-taxation-page .section-heading .btn,.nfe-page .section-heading .btn,.nfse-page .section-heading .btn,.cte-page .section-heading .btn{justify-content:center;width:100%}.fiscal-taxation-page .customer-filters,.nfe-page .customer-filters,.nfse-page .customer-filters,.cte-page .customer-filters,.sped-params-filters,.fiscal-taxation-page .fiscal-tabs,.fiscal-taxation-modal .tabs,.tax-group-modal .tabs,.nfe-emitir-modal .tabs,.nfe-toolbar,.nfe-pag-row{grid-template-columns:1fr}.fiscal-taxation-page .customer-filters button,.nfe-page .customer-filters button,.nfse-page .customer-filters button,.cte-page .customer-filters button,.sped-params-filters button{justify-content:center;width:100%!important}.fiscal-taxation-modal,.tax-group-modal,.nfe-emitir-modal,.nfe-error-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.fiscal-taxation-modal .modal-body .company-form-grid,.tax-group-modal .modal-body .company-form-grid,.nfe-emitir-modal .modal-body .company-form-grid{grid-template-columns:1fr}.fiscal-taxation-modal .modal-body .form-span-2,.tax-group-modal .modal-body .form-span-2,.nfe-emitir-modal .modal-body .form-span-2{grid-column:1 / -1}.fiscal-taxation-modal .modal-footer,.tax-group-modal .modal-footer,.nfe-emitir-modal .modal-footer,.nfe-error-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.fiscal-taxation-modal .modal-footer .btn,.tax-group-modal .modal-footer .btn,.nfe-emitir-modal .modal-footer .btn,.nfe-error-modal .modal-footer .btn{justify-content:center;width:100%}.nfe-item-edit-panel-header,.nfe-items-grid-total,.sped-params-header,.sped-modulo-header,.sped-blocos-header{align-items:stretch;flex-direction:column}.nfe-item-edit-panel-header .btn,.sped-modulo-header .btn{justify-content:center;width:100%}.sped-params-hint{margin-left:0}.sped-params-group-fields{flex-direction:column}.sped-modulo{padding:16px}}@media (max-width: 560px){.fiscal-taxation-page .customers-list-section,.nfe-page .customers-list-section,.nfse-page .customers-list-section,.cte-page .customers-list-section{padding:16px}.fiscal-taxation-page .section-heading h2,.nfe-page .section-heading h2,.nfse-page .section-heading h2,.cte-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.fiscal-taxation-modal,.tax-group-modal,.nfe-emitir-modal,.nfe-error-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.accounts-receivable-page,.accounts-payable-page,.cash-flow-page,.cost-centers-page,.boletos-page,.financial-institutions-page,.bank-reconciliation-page,.pos-sales-page,.pos-shift-page{min-width:0;max-width:100%;overflow-x:hidden}.accounts-receivable-page .customers-list-section,.accounts-payable-page .customers-list-section,.cost-centers-page .customers-list-section,.boletos-page .customers-list-section,.financial-institutions-page .customers-list-section,.bank-reconciliation-page .customers-list-section,.pos-sales-page .customers-list-section,.pos-shift-page .customers-list-section{min-width:0;max-width:100%}.accounts-receivable-page .section-heading,.accounts-payable-page .section-heading,.cost-centers-page .section-heading,.boletos-page .section-heading,.financial-institutions-page .section-heading,.bank-reconciliation-page .section-heading,.pos-sales-page .section-heading,.pos-shift-page .section-heading{min-width:0}.accounts-receivable-page .section-heading>div,.accounts-payable-page .section-heading>div,.cost-centers-page .section-heading>div,.boletos-page .section-heading>div,.financial-institutions-page .section-heading>div,.bank-reconciliation-page .section-heading>div,.pos-sales-page .section-heading>div,.pos-shift-page .section-heading>div{min-width:0}.accounts-receivable-page .section-heading h2,.accounts-payable-page .section-heading h2,.cash-flow-panel-header h3,.cost-centers-page .section-heading h2,.boletos-page .section-heading h2,.financial-institutions-page .section-heading h2,.bank-reconciliation-page .section-heading h2,.pos-sales-page .section-heading h2,.pos-shift-page .section-heading h2{overflow-wrap:anywhere}.accounts-receivable-page .customer-filters,.accounts-payable-page .customer-filters,.cost-centers-page .customer-filters,.boletos-page .customer-filters,.financial-institutions-page .customer-filters,.bank-reconciliation-page .customer-filters,.pos-shift-page .customer-filters,.pos-sales-filters,.cash-flow-filters{min-width:0}.accounts-receivable-page .customer-filters .field,.accounts-payable-page .customer-filters .field,.cost-centers-page .customer-filters .field,.boletos-page .customer-filters .field,.financial-institutions-page .customer-filters .field,.bank-reconciliation-page .customer-filters .field,.pos-shift-page .customer-filters .field,.pos-sales-filters .field{min-width:0!important}.accounts-receivable-page .field-control,.accounts-payable-page .field-control,.cost-centers-page .field-control,.boletos-page .field-control,.financial-institutions-page .field-control,.bank-reconciliation-page .field-control,.pos-shift-page .field-control,.pos-sales-page .field-control,.receivable-modal .field-control,.receivable-payment-modal .field-control,.cost-center-modal .field-control,.accounts-receivable-page input,.accounts-receivable-page select,.accounts-receivable-page textarea,.accounts-payable-page input,.accounts-payable-page select,.accounts-payable-page textarea,.cost-centers-page input,.cost-centers-page select,.cost-centers-page textarea,.boletos-page input,.boletos-page select,.boletos-page textarea,.financial-institutions-page input,.financial-institutions-page select,.financial-institutions-page textarea,.bank-reconciliation-page input,.bank-reconciliation-page select,.bank-reconciliation-page textarea,.pos-shift-page input,.pos-shift-page select,.pos-shift-page textarea,.pos-sales-page input,.pos-sales-page select,.pos-sales-page textarea,.receivable-modal input,.receivable-modal select,.receivable-modal textarea,.receivable-payment-modal input,.receivable-payment-modal select,.receivable-payment-modal textarea,.cost-center-modal input,.cost-center-modal select,.cost-center-modal textarea{min-width:0}.accounts-receivable-page .table-shell,.accounts-payable-page .table-shell,.cost-centers-page .table-shell,.boletos-page .table-shell,.financial-institutions-page .table-shell,.bank-reconciliation-page .table-shell,.pos-shift-page .table-shell,.pos-sales-page .table-shell,.pos-sales-detail-items-table,.cash-flow-table{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.pos-sales-page .table-shell{overflow-y:auto!important}.accounts-receivable-table-header,.accounts-receivable-table-row,.accounts-payable-table-header,.accounts-payable-table-row,.cost-centers-table-header,.cost-centers-table-row,.pos-sales-table-header,.pos-sales-table-row,.pos-sales-detail-items-header,.pos-sales-detail-items-row,.cash-flow-table-header,.cash-flow-table-row{width:max-content}.accounts-receivable-table-row>*,.accounts-payable-table-row>*,.cost-centers-table-row>*,.pos-sales-table-row>*,.pos-sales-detail-items-row>*,.cash-flow-table-row>*{min-width:0;overflow-wrap:anywhere}.pos-sales-table-body{overflow-x:visible}.cash-flow-summary,.cash-flow-chart-grid,.cash-flow-bottom-grid,.pos-kpi-grid,.pos-analytics-grid,.pos-sales-detail-grid,.receivable-attachments-panel,.receivable-payment-head,.receivable-payment-history,.installment-preview,.installment-preview-grid,.bank-reconciliation-page .company-form-grid,.financial-institutions-page .company-form-grid,.pos-shift-page .company-form-grid{min-width:0}.receivable-modal,.receivable-payment-modal,.cost-center-modal,.financial-institutions-page .supplier-modal,.bank-reconciliation-page .brand-modal,.boletos-page .brand-modal,.pos-shift-page .brand-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.receivable-modal .modal-body,.receivable-payment-modal .modal-body,.cost-center-modal .modal-body,.financial-institutions-page .supplier-modal .modal-body,.bank-reconciliation-page .brand-modal .modal-body,.boletos-page .brand-modal .modal-body,.pos-shift-page .brand-modal .modal-body{min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}.financial-institutions-page .tabs,.bank-reconciliation-page .tabs{min-width:0;max-width:100%}@media (max-width: 1120px){.pos-sales-page{height:auto!important;overflow-x:hidden!important;overflow-y:visible!important}.pos-sales-page .customers-list-section{overflow:visible!important}.accounts-receivable-page .section-heading,.accounts-payable-page .section-heading,.cost-centers-page .section-heading,.boletos-page .section-heading,.financial-institutions-page .section-heading,.bank-reconciliation-page .section-heading,.pos-sales-page .section-heading,.pos-shift-page .section-heading{gap:12px}.accounts-receivable-page .customer-filters,.accounts-payable-page .customer-filters,.cost-centers-page .customer-filters,.boletos-page .customer-filters,.financial-institutions-page .customer-filters,.bank-reconciliation-page .customer-filters,.pos-shift-page .customer-filters,.pos-sales-filters,.cash-flow-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.cash-flow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-flow-chart-grid,.cash-flow-bottom-grid,.pos-analytics-grid{grid-template-columns:1fr}.receivable-modal .company-form-grid,.receivable-payment-modal .company-form-grid,.financial-institutions-page .supplier-modal .company-form-grid,.bank-reconciliation-page .company-form-grid,.pos-shift-page .company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receivable-modal .field.form-span-2,.receivable-modal .receivable-order-field,.receivable-payment-modal .form-span-2,.financial-institutions-page .supplier-modal .form-span-2,.bank-reconciliation-page .form-span-2,.pos-shift-page .form-span-2{grid-column:1 / -1}.receivable-payment-head{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.accounts-receivable-page .customers-list-section,.accounts-payable-page .customers-list-section,.cost-centers-page .customers-list-section,.boletos-page .customers-list-section,.financial-institutions-page .customers-list-section,.bank-reconciliation-page .customers-list-section,.pos-sales-page .customers-list-section,.pos-shift-page .customers-list-section{padding:20px}.accounts-receivable-page .section-heading,.accounts-payable-page .section-heading,.cost-centers-page .section-heading,.boletos-page .section-heading,.financial-institutions-page .section-heading,.bank-reconciliation-page .section-heading,.pos-sales-page .section-heading,.pos-shift-page .section-heading{align-items:stretch;flex-direction:column}.accounts-receivable-page .section-heading .btn,.accounts-payable-page .section-heading .btn,.cost-centers-page .section-heading .btn,.boletos-page .section-heading .btn,.financial-institutions-page .section-heading .btn,.bank-reconciliation-page .section-heading .btn,.pos-sales-page .section-heading .btn,.pos-shift-page .section-heading .btn{justify-content:center;width:100%}.accounts-receivable-page .customer-filters,.accounts-payable-page .customer-filters,.cost-centers-page .customer-filters,.boletos-page .customer-filters,.financial-institutions-page .customer-filters,.bank-reconciliation-page .customer-filters,.pos-shift-page .customer-filters,.pos-sales-filters,.cash-flow-filters,.financial-institutions-page .tabs,.bank-reconciliation-page .tabs{grid-template-columns:1fr}.accounts-receivable-page .customer-filters button,.accounts-payable-page .customer-filters button,.cost-centers-page .customer-filters button,.boletos-page .customer-filters button,.financial-institutions-page .customer-filters button,.bank-reconciliation-page .customer-filters button,.pos-shift-page .customer-filters button,.pos-sales-filters button,.cash-flow-filters button{justify-content:center;width:100%!important}.cash-flow-summary{grid-template-columns:1fr}.cash-flow-panel-header,.cash-flow-day-row,.pos-sales-table-footer,.pos-sales-detail-totals,.receivable-attachments-header,.receivable-payment-total,.installment-preview-header,.installment-preview-row{align-items:stretch;flex-direction:column}.receivable-payment-head,.receivable-payment-history-row,.pos-sales-detail-grid{grid-template-columns:1fr}.receivable-attachment-item{grid-template-columns:minmax(0,1fr) auto}.receivable-attachment-item small{grid-column:1 / -1}.receivable-modal,.receivable-payment-modal,.cost-center-modal,.financial-institutions-page .supplier-modal,.bank-reconciliation-page .brand-modal,.boletos-page .brand-modal,.pos-shift-page .brand-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.receivable-modal .modal-body .company-form-grid,.receivable-payment-modal .modal-body .company-form-grid,.financial-institutions-page .supplier-modal .modal-body .company-form-grid,.bank-reconciliation-page .modal-body .company-form-grid,.pos-shift-page .modal-body .company-form-grid{grid-template-columns:1fr}.receivable-modal .modal-footer,.receivable-payment-modal .modal-footer,.cost-center-modal .modal-footer,.financial-institutions-page .supplier-modal .modal-footer,.bank-reconciliation-page .brand-modal .modal-footer,.boletos-page .brand-modal .modal-footer,.pos-shift-page .brand-modal .modal-footer,.pos-tool-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.receivable-modal .modal-footer .btn,.receivable-payment-modal .modal-footer .btn,.cost-center-modal .modal-footer .btn,.financial-institutions-page .supplier-modal .modal-footer .btn,.bank-reconciliation-page .brand-modal .modal-footer .btn,.boletos-page .brand-modal .modal-footer .btn,.pos-shift-page .brand-modal .modal-footer .btn,.pos-tool-modal .modal-footer .btn{justify-content:center;width:100%}.pos-sales-detail-totals{align-self:stretch;min-width:0}}@media (max-width: 560px){.accounts-receivable-page .customers-list-section,.accounts-payable-page .customers-list-section,.cost-centers-page .customers-list-section,.boletos-page .customers-list-section,.financial-institutions-page .customers-list-section,.bank-reconciliation-page .customers-list-section,.pos-sales-page .customers-list-section,.pos-shift-page .customers-list-section{padding:16px}.accounts-receivable-page .section-heading h2,.accounts-payable-page .section-heading h2,.cost-centers-page .section-heading h2,.boletos-page .section-heading h2,.financial-institutions-page .section-heading h2,.bank-reconciliation-page .section-heading h2,.pos-sales-page .section-heading h2,.pos-shift-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.receivable-modal,.receivable-payment-modal,.cost-center-modal,.financial-institutions-page .supplier-modal,.bank-reconciliation-page .brand-modal,.boletos-page .brand-modal,.pos-shift-page .brand-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.stock-locations-page,.initial-stock-page,.stock-movements-page,.stock-inventory-page,.stock-analysis-page{min-width:0;max-width:100%;overflow-x:hidden}.stock-locations-page .customers-list-section,.initial-stock-page .customers-list-section,.stock-movements-page .customers-list-section,.stock-inventory-page .customers-list-section{min-width:0;max-width:100%}.stock-locations-page .section-heading,.initial-stock-page .section-heading,.stock-movements-page .section-heading,.stock-inventory-page .section-heading,.stock-analysis-page .report-heading{min-width:0}.stock-locations-page .section-heading>div,.initial-stock-page .section-heading>div,.stock-movements-page .section-heading>div,.stock-inventory-page .section-heading>div{min-width:0}.stock-locations-page .section-heading h2,.initial-stock-page .section-heading h2,.stock-movements-page .section-heading h2,.stock-inventory-page .section-heading h2,.stock-analysis-page .report-heading h2{overflow-wrap:anywhere}.stock-locations-page .customer-filters,.initial-stock-page .customer-filters,.stock-movements-page .customer-filters,.stock-inventory-page .customer-filters,.stock-analysis-page .report-filters{min-width:0}.stock-locations-page .customer-filters .field,.initial-stock-page .customer-filters .field,.stock-movements-page .customer-filters .field,.stock-inventory-page .customer-filters .field,.stock-analysis-page .report-filters .field{min-width:0!important}.stock-locations-page .field-control,.initial-stock-page .field-control,.stock-movements-page .field-control,.stock-inventory-page .field-control,.stock-analysis-page .field-control,.stock-location-modal .field-control,.stock-locations-page .brand-modal .field-control,.initial-stock-page .brand-modal .field-control,.stock-movements-page .brand-modal .field-control,.stock-inventory-page .brand-modal .field-control,.stock-locations-page input,.stock-locations-page select,.stock-locations-page textarea,.initial-stock-page input,.initial-stock-page select,.initial-stock-page textarea,.stock-movements-page input,.stock-movements-page select,.stock-movements-page textarea,.stock-inventory-page input,.stock-inventory-page select,.stock-inventory-page textarea,.stock-analysis-page input,.stock-analysis-page select,.stock-analysis-page textarea,.stock-location-modal input,.stock-location-modal select,.stock-location-modal textarea,.initial-stock-page .brand-modal input,.initial-stock-page .brand-modal select,.initial-stock-page .brand-modal textarea,.stock-movements-page .brand-modal input,.stock-movements-page .brand-modal select,.stock-movements-page .brand-modal textarea,.stock-inventory-page .brand-modal input,.stock-inventory-page .brand-modal select,.stock-inventory-page .brand-modal textarea{min-width:0}.stock-locations-page .table-shell,.initial-stock-page .table-shell,.stock-movements-page .table-shell,.stock-inventory-page .table-shell,.stock-analysis-page .report-table-shell{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.stock-locations-table-header,.stock-locations-table-row,.initial-stock-table-header,.initial-stock-table-row,.stock-movements-table-header,.stock-movements-table-row,.stock-inventory-page .brands-table-header,.stock-inventory-page .brands-table-row,.stock-analysis-page .report-table-header,.stock-analysis-page .report-table-row{width:max-content}.stock-inventory-page .brands-table-header,.stock-inventory-page .brands-table-row{min-width:780px}.stock-analysis-page .report-table-header,.stock-analysis-page .report-table-row{min-width:900px}.stock-locations-table-row>*,.initial-stock-table-row>*,.stock-movements-table-row>*,.stock-inventory-page .brands-table-row>*,.stock-analysis-page .report-table-row>*{min-width:0;overflow-wrap:anywhere}.stock-analysis-page .tabs,.stock-analysis-page .report-toolbar,.stock-inventory-page .row-actions,.stock-inventory-page [style*=flex-wrap]{min-width:0;max-width:100%}.stock-location-modal,.stock-locations-page .brand-modal,.initial-stock-page .brand-modal,.stock-movements-page .brand-modal,.stock-inventory-page .brand-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.stock-location-modal .modal-body,.stock-locations-page .brand-modal .modal-body,.initial-stock-page .brand-modal .modal-body,.stock-movements-page .brand-modal .modal-body,.stock-inventory-page .brand-modal .modal-body{min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}.stock-location-modal .company-form-grid,.initial-stock-page .brand-modal .company-form-grid,.stock-movements-page .brand-modal .company-form-grid,.stock-inventory-page .brand-modal .company-form-grid{min-width:0}@media (max-width: 1120px){.stock-locations-page .section-heading,.initial-stock-page .section-heading,.stock-movements-page .section-heading,.stock-inventory-page .section-heading{gap:12px}.stock-locations-page .customer-filters,.initial-stock-page .customer-filters,.stock-movements-page .customer-filters,.stock-inventory-page .customer-filters,.stock-analysis-page .report-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.stock-analysis-page .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stock-location-modal .company-form-grid,.initial-stock-page .brand-modal .company-form-grid,.stock-movements-page .brand-modal .company-form-grid,.stock-inventory-page .brand-modal .company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-location-modal .form-span-2,.initial-stock-page .brand-modal .form-span-2,.stock-movements-page .brand-modal .form-span-2,.stock-inventory-page .brand-modal .form-span-2{grid-column:1 / -1}}@media (max-width: 760px){.stock-locations-page .customers-list-section,.initial-stock-page .customers-list-section,.stock-movements-page .customers-list-section,.stock-inventory-page .customers-list-section{padding:20px}.stock-locations-page .section-heading,.initial-stock-page .section-heading,.stock-movements-page .section-heading,.stock-inventory-page .section-heading,.stock-analysis-page .report-heading{align-items:stretch;flex-direction:column}.stock-locations-page .section-heading .btn,.initial-stock-page .section-heading .btn,.stock-movements-page .section-heading .btn,.stock-inventory-page .section-heading .btn,.stock-analysis-page .report-toolbar .btn{justify-content:center;width:100%}.stock-locations-page .customer-filters,.initial-stock-page .customer-filters,.stock-movements-page .customer-filters,.stock-inventory-page .customer-filters,.stock-analysis-page .report-filters,.stock-analysis-page .tabs{grid-template-columns:1fr}.stock-locations-page .customer-filters button,.initial-stock-page .customer-filters button,.stock-movements-page .customer-filters button,.stock-inventory-page .customer-filters button,.stock-analysis-page .report-filters button{justify-content:center;width:100%!important}.stock-analysis-page .report-toolbar{display:grid;grid-template-columns:1fr;width:100%}.stock-location-modal,.stock-locations-page .brand-modal,.initial-stock-page .brand-modal,.stock-movements-page .brand-modal,.stock-inventory-page .brand-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.stock-location-modal .modal-body .company-form-grid,.initial-stock-page .brand-modal .modal-body .company-form-grid,.stock-movements-page .brand-modal .modal-body .company-form-grid,.stock-inventory-page .brand-modal .modal-body .company-form-grid{grid-template-columns:1fr}.stock-location-modal .modal-footer,.initial-stock-page .brand-modal .modal-footer,.stock-movements-page .brand-modal .modal-footer,.stock-inventory-page .brand-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.stock-location-modal .modal-footer .btn,.initial-stock-page .brand-modal .modal-footer .btn,.stock-movements-page .brand-modal .modal-footer .btn,.stock-inventory-page .brand-modal .modal-footer .btn{justify-content:center;width:100%}}@media (max-width: 560px){.stock-locations-page .customers-list-section,.initial-stock-page .customers-list-section,.stock-movements-page .customers-list-section,.stock-inventory-page .customers-list-section{padding:16px}.stock-locations-page .section-heading h2,.initial-stock-page .section-heading h2,.stock-movements-page .section-heading h2,.stock-inventory-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.stock-location-modal,.stock-locations-page .brand-modal,.initial-stock-page .brand-modal,.stock-movements-page .brand-modal,.stock-inventory-page .brand-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.label-generator-no-print,.settings-page,.general-settings-page,.audit-page{min-width:0;max-width:100%;overflow-x:hidden}.label-generator-no-print .customers-list-section,.settings-page .customers-list-section,.general-settings-page .customers-list-section,.audit-page{min-width:0;max-width:100%}.label-generator-no-print .section-heading,.settings-page .section-heading,.general-settings-page .section-heading,.audit-page .section-heading{min-width:0}.label-generator-no-print .section-heading>div,.settings-page .section-heading>div,.general-settings-page .section-heading>div,.audit-page .section-heading>div{min-width:0}.label-generator-no-print .section-heading h2,.settings-page .section-heading h2,.general-settings-page .section-heading h2,.audit-page .section-heading h2,.gateway-provider-head,.label-products-name,.label-basket-row-name{overflow-wrap:anywhere}.settings-tabs,.gateway-settings-form,.gateway-provider-card,.gateway-form-grid,.gateway-provider-head,.gateway-integration-note,.ponto-app-pairing-panel,.ponto-app-devices-table,.sequence-grid,.label-generator-columns,.label-generator-left,.label-generator-right,.label-products-table,.label-basket,.label-preview-area,.label-layout-selector,.label-footer-info,.label-footer-actions{min-width:0}.label-generator-no-print .table-shell,.settings-page .table-shell,.general-settings-page .table-shell,.audit-page .table-shell,.label-products-table,.label-basket,.ponto-app-devices-table,.sequence-grid{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.label-templates-header,.label-templates-row,.label-products-header,.label-products-row,.audit-table-header,.audit-table-row{width:max-content}.label-products-header,.label-products-row{min-width:460px}.ponto-app-devices-header,.ponto-app-devices-row{min-width:480px;width:auto}.label-templates-row>*,.label-products-row>*,.ponto-app-devices-row>*,.audit-table-row>*{min-width:0;overflow-wrap:anywhere}.label-generator-no-print .field-control,.settings-page .field-control,.general-settings-page .field-control,.audit-page .field-control,.label-generator-modal .field-control,.label-generator-no-print input,.label-generator-no-print select,.label-generator-no-print textarea,.settings-page input,.settings-page select,.settings-page textarea,.general-settings-page input,.general-settings-page select,.general-settings-page textarea,.audit-page input,.audit-page select,.audit-page textarea,.label-generator-modal input,.label-generator-modal select,.label-generator-modal textarea{min-width:0}.label-generator-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.label-generator-modal .modal-body{min-width:0;-webkit-overflow-scrolling:touch}.label-generator-modal .modal-footer{gap:12px}.label-group-row,.label-basket-header,.label-basket-row,.gateway-provider-head,.ponto-app-pairing-panel div,.sequence-preview{min-width:0}@media (max-width: 1120px){.label-generator-no-print .section-heading,.settings-page .section-heading,.general-settings-page .section-heading,.audit-page .section-heading{gap:12px}.label-generator-columns{grid-template-columns:minmax(0,1fr)}.label-generator-right{border-left:0;border-top:1px solid #e8f1f8;padding-left:0;padding-top:18px}.settings-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.gateway-form-grid,.label-margins-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.label-footer-actions{flex-wrap:wrap;justify-content:flex-end}.audit-page .customer-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}}@media (max-width: 760px){.label-generator-no-print .customers-list-section,.settings-page .customers-list-section,.general-settings-page .customers-list-section,.audit-page{padding:20px}.label-generator-no-print .section-heading,.settings-page .section-heading,.general-settings-page .section-heading,.audit-page .section-heading,.gateway-provider-head,.label-generator-modal .modal-footer{align-items:stretch;flex-direction:column}.label-generator-no-print .section-heading .btn,.settings-page .section-heading .btn,.general-settings-page .section-heading .btn,.audit-page .section-heading .btn,.label-footer-actions .btn,.gateway-provider-head .btn,.gateway-provider-head .gateway-test-button{justify-content:center;width:100%}.settings-tabs,.gateway-form-grid,.label-params-2col,.label-margins-grid,.label-layout-selector,.audit-page .customer-filters{grid-template-columns:1fr}.audit-page .customer-filters button{justify-content:center;width:100%!important}.label-generator-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.label-group-row,.label-basket-header{align-items:stretch;flex-direction:column}.label-group-row .btn,.label-basket-clear{justify-content:center;width:100%}.label-basket-row{align-items:stretch;display:grid;grid-template-columns:minmax(0,1fr) auto}.label-basket-promo,.label-basket-row .label-qty-stepper{justify-content:flex-start}.label-footer-actions{display:grid;grid-template-columns:1fr;width:100%}.label-footer-info{align-items:flex-start;flex-wrap:wrap}}@media (max-width: 560px){.label-generator-no-print .customers-list-section,.settings-page .customers-list-section,.general-settings-page .customers-list-section,.audit-page{padding:16px}.label-generator-no-print .section-heading h2,.settings-page .section-heading h2,.general-settings-page .section-heading h2,.audit-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.label-generator-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.chart-accounts-page,.journal-entries-page,.esocial-page,.service-orders-page,.bom-page,.bom-exp-page,.production-orders-page,.pcp-board-page,.seq-page,.labor-page,.cq-page,.repr-page,.kanban-page,.variance-page,.sim-page,.work-centers-page,.maintenance-page,.mrp-page,.demand-forecast-page,.production-abc-page,.production-report-page,.agenda-page,.whatsapp-connections-page{min-width:0;max-width:100%;overflow-x:hidden}.chart-accounts-page .customers-list-section,.journal-entries-page .customers-list-section,.service-orders-page .customers-list-section,.bom-page .customers-list-section,.production-orders-page .customers-list-section,.work-centers-page .customers-list-section,.maintenance-page .customers-list-section,.mrp-page .customers-list-section,.demand-forecast-page .customers-list-section,.production-abc-page .customers-list-section,.production-report-page .customers-list-section,.agenda-page .customers-list-section,.whatsapp-connections-page .customers-list-section{min-width:0;max-width:100%}.chart-accounts-page .section-heading,.journal-entries-page .section-heading,.service-orders-page .section-heading,.bom-page .section-heading,.production-orders-page .section-heading,.work-centers-page .section-heading,.maintenance-page .section-heading,.mrp-page .section-heading,.demand-forecast-page .section-heading,.production-abc-page .section-heading,.production-report-page .section-heading,.agenda-page .section-heading,.whatsapp-connections-page .section-heading,.bom-exp-header,.pcp-toolbar,.seq-header,.labor-header,.cq-header,.repr-header,.kanban-toolbar,.variance-header,.sim-header{min-width:0}.chart-accounts-page .section-heading>div,.journal-entries-page .section-heading>div,.service-orders-page .section-heading>div,.bom-page .section-heading>div,.production-orders-page .section-heading>div,.work-centers-page .section-heading>div,.maintenance-page .section-heading>div,.mrp-page .section-heading>div,.demand-forecast-page .section-heading>div,.production-abc-page .section-heading>div,.production-report-page .section-heading>div,.agenda-page .section-heading>div,.whatsapp-connections-page .section-heading>div{min-width:0}.chart-accounts-page .section-heading h2,.journal-entries-page .section-heading h2,.service-orders-page .section-heading h2,.bom-page .section-heading h2,.production-orders-page .section-heading h2,.work-centers-page .section-heading h2,.maintenance-page .section-heading h2,.mrp-page .section-heading h2,.demand-forecast-page .section-heading h2,.production-abc-page .section-heading h2,.production-report-page .section-heading h2,.agenda-page .section-heading h2,.whatsapp-connections-page .section-heading h2,.bom-exp-header h2,.pcp-toolbar h2,.seq-header h2,.labor-header h2,.cq-header h2,.repr-header h2,.kanban-toolbar h2,.variance-header h2,.sim-header h2{overflow-wrap:anywhere}.chart-accounts-page .customer-filters,.journal-entries-page .customer-filters,.esocial-page .customer-filters,.esocial-page .report-filters,.service-orders-page .customer-filters,.bom-page .customer-filters,.production-orders-page .customer-filters,.work-centers-page .customer-filters,.maintenance-page .customer-filters,.production-report-page .customer-filters,.agenda-page .customer-filters,.bom-exp-controls,.variance-filters,.sim-setup-bar,.cq-filters{min-width:0}.chart-accounts-page .customer-filters .field,.journal-entries-page .customer-filters .field,.esocial-page .customer-filters .field,.esocial-page .report-filters .field,.service-orders-page .customer-filters .field,.bom-page .customer-filters .field,.production-orders-page .customer-filters .field,.work-centers-page .customer-filters .field,.maintenance-page .customer-filters .field,.production-report-page .customer-filters .field,.agenda-page .customer-filters .field,.variance-filters .field,.sim-setup-bar .field,.cq-filters .field{min-width:0!important}.chart-accounts-page .field-control,.journal-entries-page .field-control,.esocial-page .field-control,.service-orders-page .field-control,.bom-page .field-control,.production-orders-page .field-control,.work-centers-page .field-control,.maintenance-page .field-control,.production-report-page .field-control,.production-abc-page .field-control,.demand-forecast-page .field-control,.agenda-page .field-control,.whatsapp-connections-page .field-control,.seq-page .field-control,.labor-page .field-control,.cq-page .field-control,.repr-page .field-control,.kanban-page .field-control,.variance-page .field-control,.sim-page .field-control,.chart-accounts-page input,.chart-accounts-page select,.chart-accounts-page textarea,.journal-entries-page input,.journal-entries-page select,.journal-entries-page textarea,.esocial-page input,.esocial-page select,.esocial-page textarea,.service-orders-page input,.service-orders-page select,.service-orders-page textarea,.bom-page input,.bom-page select,.bom-page textarea,.production-orders-page input,.production-orders-page select,.production-orders-page textarea,.work-centers-page input,.work-centers-page select,.work-centers-page textarea,.maintenance-page input,.maintenance-page select,.maintenance-page textarea,.production-report-page input,.production-report-page select,.production-report-page textarea,.production-abc-page input,.production-abc-page select,.production-abc-page textarea,.demand-forecast-page input,.demand-forecast-page select,.demand-forecast-page textarea,.agenda-page input,.agenda-page select,.agenda-page textarea,.whatsapp-connections-page input,.whatsapp-connections-page select,.whatsapp-connections-page textarea,.seq-page input,.seq-page select,.seq-page textarea,.labor-page input,.labor-page select,.labor-page textarea,.cq-page input,.cq-page select,.cq-page textarea,.repr-page input,.repr-page select,.repr-page textarea,.kanban-page input,.kanban-page select,.kanban-page textarea,.variance-page input,.variance-page select,.variance-page textarea,.sim-page input,.sim-page select,.sim-page textarea{min-width:0}.chart-accounts-page .table-shell,.journal-entries-page .table-shell,.esocial-page .table-shell,.service-orders-page .table-shell,.bom-page .table-shell,.production-orders-page .table-shell,.work-centers-page .table-shell,.maintenance-page .table-shell,.production-report-page .table-shell,.production-abc-page .table-shell,.demand-forecast-page .table-shell,.cq-page .table-shell,.repr-page .table-shell,.variance-page .table-shell,.bom-exp-tree-wrap,.seq-panel,.labor-main,.sim-table,.sim-comparison-table,.kanban-board,.pcp-board{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.chart-accounts-page .brands-table-header,.chart-accounts-page .brands-table-row,.journal-entries-page .brands-table-header,.journal-entries-page .brands-table-row,.esocial-page .brands-table-header,.esocial-page .brands-table-row,.bom-page .brands-table-header,.bom-page .brands-table-row,.production-orders-page .brands-table-header,.production-orders-page .brands-table-row,.work-centers-page .brands-table-header,.work-centers-page .brands-table-row,.maintenance-page .brands-table-header,.maintenance-page .brands-table-row,.production-report-page .brands-table-header,.production-report-page .brands-table-row,.production-abc-page .brands-table-header,.production-abc-page .brands-table-row,.demand-forecast-page .brands-table-header,.demand-forecast-page .brands-table-row,.service-orders-table-header,.service-orders-table-row,.service-order-items-header,.service-order-items-row,.labor-table-header,.labor-table-row,.repr-table-header,.repr-table-row,.cq-blocked-header,.cq-blocked-row,.variance-table-header,.variance-table-row,.seq-table-header,.seq-row,.bom-tree-header,.bom-tree-root-row,.bom-tree-row,.sim-table-header,.sim-table-row,.sim-table-subtotal{width:max-content}.chart-accounts-page .brands-table-header,.chart-accounts-page .brands-table-row,.journal-entries-page .brands-table-header,.journal-entries-page .brands-table-row,.esocial-page .brands-table-header,.esocial-page .brands-table-row,.bom-page .brands-table-header,.bom-page .brands-table-row,.production-orders-page .brands-table-header,.production-orders-page .brands-table-row,.work-centers-page .brands-table-header,.work-centers-page .brands-table-row,.maintenance-page .brands-table-header,.maintenance-page .brands-table-row,.production-report-page .brands-table-header,.production-report-page .brands-table-row,.production-abc-page .brands-table-header,.production-abc-page .brands-table-row,.demand-forecast-page .brands-table-header,.demand-forecast-page .brands-table-row{min-width:760px}.chart-accounts-page .brands-table-row>*,.journal-entries-page .brands-table-row>*,.esocial-page .brands-table-row>*,.bom-page .brands-table-row>*,.production-orders-page .brands-table-row>*,.work-centers-page .brands-table-row>*,.maintenance-page .brands-table-row>*,.production-report-page .brands-table-row>*,.production-abc-page .brands-table-row>*,.demand-forecast-page .brands-table-row>*,.service-orders-table-row>*,.service-order-items-row>*,.labor-table-row>*,.repr-table-row>*,.cq-blocked-row>*,.variance-table-row>*,.seq-row>*,.bom-tree-row>*,.sim-table-row>*{min-width:0;overflow-wrap:anywhere}.agenda-layout,.agenda-summary,.agenda-event-card,.whatsapp-connections-page .connection-summary-strip,.whatsapp-connections-page .connection-card-grid,.whatsapp-connections-page .connection-card,.pcp-layout,.pcp-toolbar-right,.pcp-unscheduled,.seq-layout,.seq-wc-tabs,.seq-panel-header,.seq-panel-actions,.labor-layout,.labor-order-bar,.labor-summary-chips,.cq-layout,.cq-info-grid,.cq-check-row,.repr-layout,.repr-action-bar,.repr-chain-card,.kanban-toolbar-right,.kanban-col,.variance-summary,.sim-body,.sim-summary,.sim-actions,.bom-exp-summary,.bom-exp-shortages,.bom-exp-toggles{min-width:0}.chart-accounts-page .company-modal,.journal-entries-page .company-modal,.esocial-page .company-modal,.service-orders-page .company-modal,.bom-page .company-modal,.production-orders-page .company-modal,.work-centers-page .company-modal,.maintenance-page .company-modal,.agenda-page .company-modal,.whatsapp-connections-page .company-modal,.labor-page .company-modal,.cq-page .company-modal,.repr-page .company-modal,.kanban-page .company-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.chart-accounts-page .company-modal .modal-body,.journal-entries-page .company-modal .modal-body,.esocial-page .company-modal .modal-body,.service-orders-page .company-modal .modal-body,.bom-page .company-modal .modal-body,.production-orders-page .company-modal .modal-body,.work-centers-page .company-modal .modal-body,.maintenance-page .company-modal .modal-body,.agenda-page .company-modal .modal-body,.whatsapp-connections-page .company-modal .modal-body,.labor-page .company-modal .modal-body,.cq-page .company-modal .modal-body,.repr-page .company-modal .modal-body,.kanban-page .company-modal .modal-body{min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}@media (max-width: 1120px){.chart-accounts-page .customer-filters,.journal-entries-page .customer-filters,.esocial-page .customer-filters,.esocial-page .report-filters,.service-orders-page .customer-filters,.bom-page .customer-filters,.production-orders-page .customer-filters,.work-centers-page .customer-filters,.maintenance-page .customer-filters,.production-report-page .customer-filters,.agenda-page .customer-filters,.variance-filters,.sim-setup-bar,.cq-filters,.bom-exp-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.agenda-layout,.seq-layout,.labor-layout,.cq-layout,.repr-layout,.sim-body{grid-template-columns:1fr}.pcp-layout{grid-template-columns:minmax(0,1fr)}.pcp-detail-panel{display:none}.kanban-board{grid-auto-columns:minmax(260px,1fr)}.service-orders-page .tabs,.esocial-page .tabs,.production-report-page .tabs,.cq-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.chart-accounts-page .customers-list-section,.journal-entries-page .customers-list-section,.service-orders-page .customers-list-section,.bom-page .customers-list-section,.production-orders-page .customers-list-section,.work-centers-page .customers-list-section,.maintenance-page .customers-list-section,.mrp-page .customers-list-section,.demand-forecast-page .customers-list-section,.production-abc-page .customers-list-section,.production-report-page .customers-list-section,.agenda-page .customers-list-section,.whatsapp-connections-page .customers-list-section{padding:20px}.chart-accounts-page .section-heading,.journal-entries-page .section-heading,.service-orders-page .section-heading,.bom-page .section-heading,.production-orders-page .section-heading,.work-centers-page .section-heading,.maintenance-page .section-heading,.mrp-page .section-heading,.demand-forecast-page .section-heading,.production-abc-page .section-heading,.production-report-page .section-heading,.agenda-page .section-heading,.whatsapp-connections-page .section-heading,.bom-exp-header,.pcp-toolbar,.seq-header,.labor-header,.cq-header,.repr-header,.kanban-toolbar,.variance-header,.sim-header{align-items:stretch;flex-direction:column;gap:12px}.chart-accounts-page .section-heading .btn,.journal-entries-page .section-heading .btn,.service-orders-page .section-heading .btn,.bom-page .section-heading .btn,.production-orders-page .section-heading .btn,.work-centers-page .section-heading .btn,.maintenance-page .section-heading .btn,.mrp-page .section-heading .btn,.demand-forecast-page .section-heading .btn,.production-abc-page .section-heading .btn,.production-report-page .section-heading .btn,.agenda-page .section-heading .btn,.whatsapp-connections-page .section-heading .btn,.seq-panel-actions .btn,.cq-header-actions .btn,.repr-action-bar .btn,.kanban-toolbar-right .btn,.sim-actions .btn{justify-content:center;width:100%}.chart-accounts-page .customer-filters,.journal-entries-page .customer-filters,.esocial-page .customer-filters,.esocial-page .report-filters,.service-orders-page .customer-filters,.bom-page .customer-filters,.production-orders-page .customer-filters,.work-centers-page .customer-filters,.maintenance-page .customer-filters,.production-report-page .customer-filters,.agenda-page .customer-filters,.variance-filters,.sim-setup-bar,.cq-filters,.bom-exp-controls,.service-orders-page .tabs,.esocial-page .tabs,.production-report-page .tabs,.cq-tabs,.agenda-summary,.whatsapp-connections-page .connection-summary-strip,.whatsapp-connections-page .connection-card-grid,.bom-exp-summary,.variance-summary,.sim-summary-grid,.cq-info-grid{grid-template-columns:1fr}.pcp-toolbar-right,.seq-panel-header,.seq-panel-actions,.labor-order-bar,.labor-summary-chips,.cq-detail-header,.cq-check-row,.repr-action-bar,.kanban-toolbar-right,.bom-exp-toggles,.whatsapp-connections-page .grid-actions{align-items:stretch;flex-direction:column}.chart-accounts-page .company-modal,.journal-entries-page .company-modal,.esocial-page .company-modal,.service-orders-page .company-modal,.bom-page .company-modal,.production-orders-page .company-modal,.work-centers-page .company-modal,.maintenance-page .company-modal,.agenda-page .company-modal,.whatsapp-connections-page .company-modal,.labor-page .company-modal,.cq-page .company-modal,.repr-page .company-modal,.kanban-page .company-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.chart-accounts-page .company-modal .company-form-grid,.journal-entries-page .company-modal .company-form-grid,.esocial-page .company-modal .company-form-grid,.service-orders-page .company-modal .company-form-grid,.bom-page .company-modal .company-form-grid,.production-orders-page .company-modal .company-form-grid,.work-centers-page .company-modal .company-form-grid,.maintenance-page .company-modal .company-form-grid,.agenda-page .company-modal .company-form-grid,.whatsapp-connections-page .company-modal .company-form-grid,.labor-page .company-modal .company-form-grid,.cq-page .company-modal .company-form-grid,.repr-page .company-modal .company-form-grid,.kanban-page .company-modal .company-form-grid{grid-template-columns:1fr}.chart-accounts-page .company-modal .modal-footer,.journal-entries-page .company-modal .modal-footer,.esocial-page .company-modal .modal-footer,.service-orders-page .company-modal .modal-footer,.bom-page .company-modal .modal-footer,.production-orders-page .company-modal .modal-footer,.work-centers-page .company-modal .modal-footer,.maintenance-page .company-modal .modal-footer,.agenda-page .company-modal .modal-footer,.whatsapp-connections-page .company-modal .modal-footer,.labor-page .company-modal .modal-footer,.cq-page .company-modal .modal-footer,.repr-page .company-modal .modal-footer,.kanban-page .company-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.chart-accounts-page .company-modal .modal-footer .btn,.journal-entries-page .company-modal .modal-footer .btn,.esocial-page .company-modal .modal-footer .btn,.service-orders-page .company-modal .modal-footer .btn,.bom-page .company-modal .modal-footer .btn,.production-orders-page .company-modal .modal-footer .btn,.work-centers-page .company-modal .modal-footer .btn,.maintenance-page .company-modal .modal-footer .btn,.agenda-page .company-modal .modal-footer .btn,.whatsapp-connections-page .company-modal .modal-footer .btn,.labor-page .company-modal .modal-footer .btn,.cq-page .company-modal .modal-footer .btn,.repr-page .company-modal .modal-footer .btn,.kanban-page .company-modal .modal-footer .btn{justify-content:center;width:100%}}@media (max-width: 560px){.chart-accounts-page .customers-list-section,.journal-entries-page .customers-list-section,.service-orders-page .customers-list-section,.bom-page .customers-list-section,.production-orders-page .customers-list-section,.work-centers-page .customers-list-section,.maintenance-page .customers-list-section,.mrp-page .customers-list-section,.demand-forecast-page .customers-list-section,.production-abc-page .customers-list-section,.production-report-page .customers-list-section,.agenda-page .customers-list-section,.whatsapp-connections-page .customers-list-section{padding:16px}.chart-accounts-page .section-heading h2,.journal-entries-page .section-heading h2,.service-orders-page .section-heading h2,.bom-page .section-heading h2,.production-orders-page .section-heading h2,.work-centers-page .section-heading h2,.maintenance-page .section-heading h2,.mrp-page .section-heading h2,.demand-forecast-page .section-heading h2,.production-abc-page .section-heading h2,.production-report-page .section-heading h2,.agenda-page .section-heading h2,.whatsapp-connections-page .section-heading h2,.bom-exp-header h2,.pcp-toolbar h2,.seq-header h2,.labor-header h2,.cq-header h2,.repr-header h2,.kanban-toolbar h2,.variance-header h2,.sim-header h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.chart-accounts-page .company-modal,.journal-entries-page .company-modal,.esocial-page .company-modal,.service-orders-page .company-modal,.bom-page .company-modal,.production-orders-page .company-modal,.work-centers-page .company-modal,.maintenance-page .company-modal,.agenda-page .company-modal,.whatsapp-connections-page .company-modal,.labor-page .company-modal,.cq-page .company-modal,.repr-page .company-modal,.kanban-page .company-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.products-page,.sellers-page,.suppliers-page,.prices-page,.payments-page,.regions-page,.branches-page,.companies-page,.categories-page,.sales-orders-page,.loyalty-club-page,.abc-curve-page,.simples-nacional-page,.mdfe-page,.gnre-page,.cnab-retorno-page{min-width:0;max-width:100%;overflow-x:hidden}.products-page .customers-list-section,.sellers-page .customers-list-section,.suppliers-page .customers-list-section,.prices-page .customers-list-section,.payments-page .customers-list-section,.regions-page .customers-list-section,.branches-page .customers-list-section,.companies-page .customers-list-section,.categories-page .customers-list-section,.sales-orders-page .customers-list-section,.loyalty-club-page .customers-list-section,.abc-curve-page .customers-list-section,.simples-nacional-page .customers-list-section,.mdfe-page .customers-list-section,.gnre-page .customers-list-section,.cnab-retorno-page .customers-list-section{min-width:0;max-width:100%}.products-page .section-heading,.sellers-page .section-heading,.suppliers-page .section-heading,.prices-page .section-heading,.payments-page .section-heading,.regions-page .section-heading,.branches-page .section-heading,.companies-page .section-heading,.categories-page .section-heading,.sales-orders-page .section-heading,.loyalty-club-page .section-heading,.abc-curve-page .section-heading,.simples-nacional-page .section-heading,.mdfe-page .section-heading,.gnre-page .section-heading,.cnab-retorno-page .section-heading{min-width:0}.products-page .section-heading>div,.sellers-page .section-heading>div,.suppliers-page .section-heading>div,.prices-page .section-heading>div,.payments-page .section-heading>div,.regions-page .section-heading>div,.branches-page .section-heading>div,.companies-page .section-heading>div,.categories-page .section-heading>div,.sales-orders-page .section-heading>div,.loyalty-club-page .section-heading>div,.abc-curve-page .section-heading>div,.simples-nacional-page .section-heading>div,.mdfe-page .section-heading>div,.gnre-page .section-heading>div,.cnab-retorno-page .section-heading>div{min-width:0}.products-page .section-heading h2,.sellers-page .section-heading h2,.suppliers-page .section-heading h2,.prices-page .section-heading h2,.payments-page .section-heading h2,.regions-page .section-heading h2,.branches-page .section-heading h2,.companies-page .section-heading h2,.categories-page .section-heading h2,.sales-orders-page .section-heading h2,.loyalty-club-page .section-heading h2,.abc-curve-page .section-heading h2,.simples-nacional-page .section-heading h2,.mdfe-page .section-heading h2,.gnre-page .section-heading h2,.cnab-retorno-page .section-heading h2{overflow-wrap:anywhere}.products-page .customer-filters,.sellers-page .customer-filters,.suppliers-page .customer-filters,.prices-page .customer-filters,.payments-page .customer-filters,.regions-page .customer-filters,.branches-page .customer-filters,.companies-page .customer-filters,.categories-page .customer-filters,.sales-orders-page .customer-filters,.loyalty-club-page .customer-filters,.abc-curve-page .section-heading>div:has(.field),.simples-nacional-page .customer-filters,.mdfe-page .customer-filters,.gnre-page .customer-filters,.cnab-retorno-page .customer-filters{min-width:0}.products-page .customer-filters .field,.sellers-page .customer-filters .field,.suppliers-page .customer-filters .field,.prices-page .customer-filters .field,.payments-page .customer-filters .field,.regions-page .customer-filters .field,.branches-page .customer-filters .field,.companies-page .customer-filters .field,.categories-page .customer-filters .field,.sales-orders-page .customer-filters .field,.loyalty-club-page .customer-filters .field,.abc-curve-page .section-heading .field,.simples-nacional-page .customer-filters .field,.mdfe-page .customer-filters .field,.gnre-page .customer-filters .field,.cnab-retorno-page .customer-filters .field{min-width:0!important}.products-page .field-control,.sellers-page .field-control,.suppliers-page .field-control,.prices-page .field-control,.payments-page .field-control,.regions-page .field-control,.branches-page .field-control,.companies-page .field-control,.categories-page .field-control,.sales-orders-page .field-control,.loyalty-club-page .field-control,.abc-curve-page .field-control,.simples-nacional-page .field-control,.mdfe-page .field-control,.gnre-page .field-control,.cnab-retorno-page .field-control,.products-page .company-modal .field-control,.sales-orders-page .company-modal .field-control,.loyalty-club-page .company-modal .field-control,.simples-nacional-page .company-modal .field-control,.mdfe-page .company-modal .field-control,.gnre-page .company-modal .field-control,.products-page input,.products-page select,.products-page textarea,.sellers-page input,.sellers-page select,.sellers-page textarea,.suppliers-page input,.suppliers-page select,.suppliers-page textarea,.prices-page input,.prices-page select,.prices-page textarea,.payments-page input,.payments-page select,.payments-page textarea,.regions-page input,.regions-page select,.regions-page textarea,.branches-page input,.branches-page select,.branches-page textarea,.companies-page input,.companies-page select,.companies-page textarea,.categories-page input,.categories-page select,.categories-page textarea,.sales-orders-page input,.sales-orders-page select,.sales-orders-page textarea,.loyalty-club-page input,.loyalty-club-page select,.loyalty-club-page textarea,.abc-curve-page input,.abc-curve-page select,.abc-curve-page textarea,.simples-nacional-page input,.simples-nacional-page select,.simples-nacional-page textarea,.mdfe-page input,.mdfe-page select,.mdfe-page textarea,.gnre-page input,.gnre-page select,.gnre-page textarea,.cnab-retorno-page input,.cnab-retorno-page select,.cnab-retorno-page textarea{min-width:0}.products-page .table-shell,.sellers-page .table-shell,.suppliers-page .table-shell,.prices-page .table-shell,.payments-page .table-shell,.regions-page .table-shell,.branches-page .table-shell,.companies-page .table-shell,.categories-page .table-shell,.sales-orders-page .table-shell,.loyalty-club-page .table-shell,.abc-curve-page .table-shell,.simples-nacional-page .table-shell,.mdfe-page .table-shell,.gnre-page .table-shell,.cnab-retorno-page .table-shell{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.products-table-header,.products-table-row,.sellers-table-header,.sellers-table-row,.suppliers-table-header,.suppliers-table-row,.prices-table-header,.prices-table-row,.payments-table-header,.payments-table-row,.customer-table-header,.customer-table-row,.sales-orders-table-header,.sales-orders-table-row,.sales-items-table-header,.sales-items-table-row,.mdfe-page .brands-table-header,.mdfe-page .brands-table-row,.gnre-page .brands-table-header,.gnre-page .brands-table-row,.cnab-retorno-page .brands-table-header,.cnab-retorno-page .brands-table-row,.abc-curve-page .brands-table-header,.abc-curve-page .brands-table-row{width:max-content}.products-page .brands-table-header,.products-page .brands-table-row,.regions-page .brands-table-header,.regions-page .brands-table-row,.branches-page .brands-table-header,.branches-page .brands-table-row,.companies-page .brands-table-header,.companies-page .brands-table-row,.categories-page .brands-table-header,.categories-page .brands-table-row,.simples-nacional-page .brands-table-header,.simples-nacional-page .brands-table-row,.mdfe-page .brands-table-header,.mdfe-page .brands-table-row,.gnre-page .brands-table-header,.gnre-page .brands-table-row,.cnab-retorno-page .brands-table-header,.cnab-retorno-page .brands-table-row,.abc-curve-page .brands-table-header,.abc-curve-page .brands-table-row,.loyalty-club-page .customer-table-header,.loyalty-club-page .customer-table-row{min-width:760px}.products-table-row>*,.sellers-table-row>*,.suppliers-table-row>*,.prices-table-row>*,.payments-table-row>*,.customer-table-row>*,.sales-orders-table-row>*,.sales-items-table-row>*,.mdfe-page .brands-table-row>*,.gnre-page .brands-table-row>*,.cnab-retorno-page .brands-table-row>*,.abc-curve-page .brands-table-row>*{min-width:0;overflow-wrap:anywhere}.products-page .grid-actions,.loyalty-club-page .grid-actions,.sales-orders-page .grid-actions,.products-page .product-tabs,.sales-orders-page .tabs,.loyalty-club-page .tabs,.simples-nacional-page .tabs,.mdfe-page .nfe-toolbar,.gnre-page .nfe-toolbar,.abc-curve-page .pos-kpi-grid{min-width:0;max-width:100%}.products-page .company-modal,.products-page .brand-modal,.sellers-page .company-modal,.suppliers-page .company-modal,.prices-page .company-modal,.payments-page .company-modal,.regions-page .company-modal,.branches-page .company-modal,.companies-page .company-modal,.categories-page .company-modal,.sales-orders-page .company-modal,.loyalty-club-page .company-modal,.abc-curve-page .company-modal,.simples-nacional-page .company-modal,.mdfe-page .company-modal,.gnre-page .company-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.products-page .company-modal .modal-body,.products-page .brand-modal .modal-body,.sellers-page .company-modal .modal-body,.suppliers-page .company-modal .modal-body,.prices-page .company-modal .modal-body,.payments-page .company-modal .modal-body,.regions-page .company-modal .modal-body,.branches-page .company-modal .modal-body,.companies-page .company-modal .modal-body,.categories-page .company-modal .modal-body,.sales-orders-page .company-modal .modal-body,.loyalty-club-page .company-modal .modal-body,.abc-curve-page .company-modal .modal-body,.simples-nacional-page .company-modal .modal-body,.mdfe-page .company-modal .modal-body,.gnre-page .company-modal .modal-body{min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}@media (max-width: 1120px){.mdfe-page,.gnre-page{height:auto!important;overflow-x:hidden!important;overflow-y:visible!important}.mdfe-page .customers-list-section,.gnre-page .customers-list-section{overflow:visible!important}.products-page .customer-filters,.sellers-page .customer-filters,.suppliers-page .customer-filters,.prices-page .customer-filters,.payments-page .customer-filters,.regions-page .customer-filters,.branches-page .customer-filters,.companies-page .customer-filters,.categories-page .customer-filters,.sales-orders-page .customer-filters,.loyalty-club-page .customer-filters,.simples-nacional-page .customer-filters,.mdfe-page .customer-filters,.gnre-page .customer-filters,.cnab-retorno-page .customer-filters,.abc-curve-page .section-heading>div:has(.field){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.products-page .product-tabs,.sales-orders-page .tabs,.loyalty-club-page .tabs,.simples-nacional-page .tabs,.mdfe-page .nfe-toolbar,.gnre-page .nfe-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.products-page .product-form-grid-3,.products-page .company-form-grid,.sellers-page .company-form-grid,.suppliers-page .company-form-grid,.prices-page .company-form-grid,.payments-page .company-form-grid,.regions-page .company-form-grid,.branches-page .company-form-grid,.companies-page .company-form-grid,.categories-page .company-form-grid,.sales-orders-page .company-form-grid,.loyalty-club-page .company-form-grid,.simples-nacional-page .company-form-grid,.mdfe-page .company-form-grid,.gnre-page .company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.products-page .form-span-2,.products-page .product-field-span-2,.sellers-page .form-span-2,.suppliers-page .form-span-2,.prices-page .form-span-2,.payments-page .form-span-2,.regions-page .form-span-2,.branches-page .form-span-2,.companies-page .form-span-2,.categories-page .form-span-2,.sales-orders-page .form-span-2,.loyalty-club-page .form-span-2,.simples-nacional-page .form-span-2,.mdfe-page .form-span-2,.gnre-page .form-span-2{grid-column:1 / -1}}@media (max-width: 760px){.products-page .customers-list-section,.sellers-page .customers-list-section,.suppliers-page .customers-list-section,.prices-page .customers-list-section,.payments-page .customers-list-section,.regions-page .customers-list-section,.branches-page .customers-list-section,.companies-page .customers-list-section,.categories-page .customers-list-section,.sales-orders-page .customers-list-section,.loyalty-club-page .customers-list-section,.abc-curve-page .customers-list-section,.simples-nacional-page .customers-list-section,.mdfe-page .customers-list-section,.gnre-page .customers-list-section,.cnab-retorno-page .customers-list-section{padding:20px}.products-page .section-heading,.sellers-page .section-heading,.suppliers-page .section-heading,.prices-page .section-heading,.payments-page .section-heading,.regions-page .section-heading,.branches-page .section-heading,.companies-page .section-heading,.categories-page .section-heading,.sales-orders-page .section-heading,.loyalty-club-page .section-heading,.abc-curve-page .section-heading,.simples-nacional-page .section-heading,.mdfe-page .section-heading,.gnre-page .section-heading,.cnab-retorno-page .section-heading{align-items:stretch;flex-direction:column;gap:12px}.products-page .section-heading .btn,.sellers-page .section-heading .btn,.suppliers-page .section-heading .btn,.prices-page .section-heading .btn,.payments-page .section-heading .btn,.regions-page .section-heading .btn,.branches-page .section-heading .btn,.companies-page .section-heading .btn,.categories-page .section-heading .btn,.sales-orders-page .section-heading .btn,.loyalty-club-page .section-heading .btn,.abc-curve-page .section-heading .btn,.simples-nacional-page .section-heading .btn,.mdfe-page .section-heading .btn,.gnre-page .section-heading .btn,.cnab-retorno-page .section-heading .btn,.mdfe-page .nfe-toolbar .btn,.gnre-page .nfe-toolbar .btn{justify-content:center;width:100%}.products-page .customer-filters,.sellers-page .customer-filters,.suppliers-page .customer-filters,.prices-page .customer-filters,.payments-page .customer-filters,.regions-page .customer-filters,.branches-page .customer-filters,.companies-page .customer-filters,.categories-page .customer-filters,.sales-orders-page .customer-filters,.loyalty-club-page .customer-filters,.simples-nacional-page .customer-filters,.mdfe-page .customer-filters,.gnre-page .customer-filters,.cnab-retorno-page .customer-filters,.abc-curve-page .section-heading>div:has(.field),.products-page .product-tabs,.sales-orders-page .tabs,.loyalty-club-page .tabs,.simples-nacional-page .tabs,.mdfe-page .nfe-toolbar,.gnre-page .nfe-toolbar,.abc-curve-page .pos-kpi-grid{grid-template-columns:1fr!important}.products-page .customer-filters button,.sellers-page .customer-filters button,.suppliers-page .customer-filters button,.prices-page .customer-filters button,.payments-page .customer-filters button,.regions-page .customer-filters button,.branches-page .customer-filters button,.companies-page .customer-filters button,.categories-page .customer-filters button,.sales-orders-page .customer-filters button,.loyalty-club-page .customer-filters button,.simples-nacional-page .customer-filters button,.mdfe-page .customer-filters button,.gnre-page .customer-filters button,.cnab-retorno-page .customer-filters button,.abc-curve-page .section-heading .btn{justify-content:center;width:100%!important}.products-page .company-modal,.products-page .brand-modal,.sellers-page .company-modal,.suppliers-page .company-modal,.prices-page .company-modal,.payments-page .company-modal,.regions-page .company-modal,.branches-page .company-modal,.companies-page .company-modal,.categories-page .company-modal,.sales-orders-page .company-modal,.loyalty-club-page .company-modal,.abc-curve-page .company-modal,.simples-nacional-page .company-modal,.mdfe-page .company-modal,.gnre-page .company-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.products-page .company-modal .company-form-grid,.products-page .brand-modal .company-form-grid,.sellers-page .company-modal .company-form-grid,.suppliers-page .company-modal .company-form-grid,.prices-page .company-modal .company-form-grid,.payments-page .company-modal .company-form-grid,.regions-page .company-modal .company-form-grid,.branches-page .company-modal .company-form-grid,.companies-page .company-modal .company-form-grid,.categories-page .company-modal .company-form-grid,.sales-orders-page .company-modal .company-form-grid,.loyalty-club-page .company-modal .company-form-grid,.simples-nacional-page .company-modal .company-form-grid,.mdfe-page .company-modal .company-form-grid,.gnre-page .company-modal .company-form-grid,.products-page .product-form-grid-3,.products-page .product-switch-grid,.products-page .quick-create-panel,.sales-orders-page .sales-item-form{grid-template-columns:1fr}.products-page .company-modal .modal-footer,.products-page .brand-modal .modal-footer,.sellers-page .company-modal .modal-footer,.suppliers-page .company-modal .modal-footer,.prices-page .company-modal .modal-footer,.payments-page .company-modal .modal-footer,.regions-page .company-modal .modal-footer,.branches-page .company-modal .modal-footer,.companies-page .company-modal .modal-footer,.categories-page .company-modal .modal-footer,.sales-orders-page .company-modal .modal-footer,.loyalty-club-page .company-modal .modal-footer,.abc-curve-page .company-modal .modal-footer,.simples-nacional-page .company-modal .modal-footer,.mdfe-page .company-modal .modal-footer,.gnre-page .company-modal .modal-footer{align-items:stretch;flex-direction:column-reverse}.products-page .company-modal .modal-footer .btn,.products-page .brand-modal .modal-footer .btn,.sellers-page .company-modal .modal-footer .btn,.suppliers-page .company-modal .modal-footer .btn,.prices-page .company-modal .modal-footer .btn,.payments-page .company-modal .modal-footer .btn,.regions-page .company-modal .modal-footer .btn,.branches-page .company-modal .modal-footer .btn,.companies-page .company-modal .modal-footer .btn,.categories-page .company-modal .modal-footer .btn,.sales-orders-page .company-modal .modal-footer .btn,.loyalty-club-page .company-modal .modal-footer .btn,.abc-curve-page .company-modal .modal-footer .btn,.simples-nacional-page .company-modal .modal-footer .btn,.mdfe-page .company-modal .modal-footer .btn,.gnre-page .company-modal .modal-footer .btn{justify-content:center;width:100%}}@media (max-width: 560px){.products-page .customers-list-section,.sellers-page .customers-list-section,.suppliers-page .customers-list-section,.prices-page .customers-list-section,.payments-page .customers-list-section,.regions-page .customers-list-section,.branches-page .customers-list-section,.companies-page .customers-list-section,.categories-page .customers-list-section,.sales-orders-page .customers-list-section,.loyalty-club-page .customers-list-section,.abc-curve-page .customers-list-section,.simples-nacional-page .customers-list-section,.mdfe-page .customers-list-section,.gnre-page .customers-list-section,.cnab-retorno-page .customers-list-section{padding:16px}.products-page .section-heading h2,.sellers-page .section-heading h2,.suppliers-page .section-heading h2,.prices-page .section-heading h2,.payments-page .section-heading h2,.regions-page .section-heading h2,.branches-page .section-heading h2,.companies-page .section-heading h2,.categories-page .section-heading h2,.sales-orders-page .section-heading h2,.loyalty-club-page .section-heading h2,.abc-curve-page .section-heading h2,.simples-nacional-page .section-heading h2,.mdfe-page .section-heading h2,.gnre-page .section-heading h2,.cnab-retorno-page .section-heading h2{font-size:clamp(1.35rem,8vw,1.7rem);line-height:1.2}.products-page .company-modal,.products-page .brand-modal,.sellers-page .company-modal,.suppliers-page .company-modal,.prices-page .company-modal,.payments-page .company-modal,.regions-page .company-modal,.branches-page .company-modal,.companies-page .company-modal,.categories-page .company-modal,.sales-orders-page .company-modal,.loyalty-club-page .company-modal,.abc-curve-page .company-modal,.simples-nacional-page .company-modal,.mdfe-page .company-modal,.gnre-page .company-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}.page-grid,.page-grid *,.crm-page,.crm-page *,.pos-page,.pos-page *{min-width:0}.page-grid,.crm-page,.pos-page{max-width:100%;overflow-x:hidden}.page-grid .intro-panel,.page-grid .activity-section,.registry-grid,.registry-panel,.pos-sales-consultation,.pos-open-actions,.pos-kpi-grid,.pos-analytics-grid,.pos-page-sales-filters,.pos-sales-summary,.pos-operators-panel,.pos-operator-grid,.crm-kanban-board,.crm-search-row,.crm-tabs{min-width:0;max-width:100%}.pos-page .table-shell,.pos-sales-table-body,.pos-reprint-paper{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.pos-page .pos-sales-table-header,.pos-page .pos-sales-table-row{width:max-content;min-width:840px}.pos-page .pos-operator-modal,.pos-page .pos-reprint-modal,.pos-page .pos-fiscal-choice-modal,.pos-page .pos-print-choice-modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.login-shell,.maintenance-screen{min-width:0;max-width:100%;overflow-x:hidden}.login-panel,.login-form,.login-visual,.lv-content,.lv-bottom,.maintenance-card{min-width:0;max-width:100%}@media (max-width: 1120px){.registry-grid,.pos-page .pos-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-page .pos-analytics-grid,.pos-page .pos-page-sales-filters,.pos-page .pos-operator-grid{grid-template-columns:minmax(0,1fr)}.pos-page .pos-fiscal-choice-cards{grid-template-columns:1fr}.crm-kanban-board{grid-auto-flow:column;grid-auto-columns:minmax(240px,36vw);grid-template-columns:none;overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 760px){.page-grid{gap:12px;margin-top:10px}.page-grid .intro-panel,.page-grid .activity-section{padding:16px}.page-grid .intro-panel{align-items:stretch;flex-direction:column}.page-grid .primary-action,.page-grid .secondary-action{width:100%}.registry-grid,.pos-page .pos-kpi-grid,.pos-page .pos-sales-summary{grid-template-columns:1fr}.registry-panel{min-height:0}.registry-content footer{align-items:flex-start;flex-direction:column}.crm-tabs{grid-template-columns:1fr}.crm-kanban-board{grid-auto-columns:minmax(220px,82vw)}.pos-open-actions,.pos-analytics-header,.pos-page-sales-filters,.pos-sales-table-footer,.pos-operator-panel,.pos-cancel-sale-summary,.pos-reprint-company-header{align-items:stretch;flex-direction:column}.pos-page .btn,.pos-page button[class*=btn]{justify-content:center}.pos-open-actions .btn,.pos-page-sales-filters .btn,.pos-operator-modal .btn,.pos-fiscal-choice-modal .btn,.pos-print-choice-modal .btn,.pos-reprint-modal .btn{width:100%}.pos-page .pos-operator-modal,.pos-page .pos-reprint-modal,.pos-page .pos-fiscal-choice-modal,.pos-page .pos-print-choice-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.pos-page .modal-footer{align-items:stretch;flex-direction:column-reverse}.login-shell{min-height:100dvh}.login-panel{width:100%}.maintenance-card{width:calc(100vw - 32px);padding:24px 18px}}@media (max-width: 560px){.page-grid .intro-panel h2,.page-grid .activity-section h2{font-size:clamp(1.3rem,7vw,1.65rem);line-height:1.2}.registry-panel{align-items:flex-start;flex-direction:column}.pos-sales-consultation{padding:16px}.pos-page .pos-operator-modal,.pos-page .pos-reprint-modal,.pos-page .pos-fiscal-choice-modal,.pos-page .pos-print-choice-modal{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}button,.btn,.primary-action,.secondary-action,.logout-button,.nav-item,.nav-category-button,.nav-subitem,.mobile-nav-item{font-weight:400}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border-radius:7px;border:1px solid transparent;padding:0 12px;font-size:.84rem;line-height:1}.btn-primary{background:#0284c7;color:#fff}.btn-primary:hover{background:#0369a1}.btn-secondary{border-color:#d7e6f2;background:#fff;color:#0369a1}.btn-secondary:hover{border-color:#7dd3fc;background:#eaf7ff}.btn-danger{border-color:#fecaca;background:#fff1f2;color:#be123c}.btn-danger:hover:not(:disabled){border-color:#fda4af;background:#ffe4e6}.btn-icon{width:34px;min-width:34px;padding:0;border-color:#d7e6f2;background:#fff;color:#0369a1}.btn-icon:hover{border-color:#7dd3fc;background:#eaf7ff}.btn-icon-danger{width:34px;min-width:34px;padding:0;border-color:#fecaca;background:#fff1f2;color:#be123c}.btn-icon-danger:hover{border-color:#fda4af;background:#ffe4e6}.btn-icon-success{width:34px;min-width:34px;padding:0;border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.btn-icon-success:hover{border-color:#86efac;background:#dcfce7}.btn-icon-info{width:34px;min-width:34px;padding:0;border-color:#bae6fd;background:#f0f9ff;color:#0369a1}.btn-icon-info:hover{border-color:#7dd3fc;background:#e0f2fe}
