:root{color-scheme:dark;font-family:Manrope,sans-serif;--bg-app: #0D1117;--surface: #151B24;--surface-elevated: #1B222E;--ink: #E6EAF2;--muted: #CBD5E1;--mustard: #F5A524;--brand: #4DBDFF;--brand-strong: #6BA1FF;--accent: #4DBDFF;--line: #262F3D;--shadow: none;--error: #FB7171;--status-novo: #8B99AD;--status-contato: #F5A524;--status-proposta: #A78BFA;--status-cliente: #34D399}*{box-sizing:border-box}body{margin:0;background:var(--bg-app);color:var(--ink)}.layout{height:100vh;overflow:hidden;display:grid;grid-template-columns:240px 1fr;grid-template-rows:100%}.layout>*{min-height:0;overflow:hidden}.main-wrapper{display:flex;flex-direction:column;height:100%}.topbar{height:60px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem}.topbar h2{margin:0;font-size:1.1rem;font-weight:600}.sidebar{background:var(--surface);padding:1.2rem 1rem;border-right:1px solid var(--line);overflow-y:auto}.sidebar h1{margin-top:0;margin-bottom:1rem;font-size:1.3rem;letter-spacing:.01em;color:var(--ink)}.sidebar nav{display:flex;flex-direction:column;gap:.4rem}.sidebar a{color:var(--ink);text-decoration:none;border-radius:10px;padding:.55rem .65rem;transition:background-color .2s ease,color .2s ease}.sidebar a:hover{background:var(--surface-elevated);color:var(--brand-strong)}.sidebar a.active{background:var(--surface-elevated);color:var(--brand);font-weight:600}.content{padding:1.35rem;overflow:auto;height:100%}.content--flush{padding:0;overflow:hidden;height:100%}.welcome-page{height:100%;display:flex;flex-direction:column}.welcome-hero{flex:1;display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,1fr);align-items:center;gap:clamp(2rem,5vw,6rem);padding:clamp(2rem,6vw,5rem);position:relative;border-radius:24px;background:linear-gradient(135deg,#f8fafc,#e0f2fe);box-shadow:0 10px 40px #00000008;margin:0;overflow:hidden}.welcome-copy{min-width:0;display:flex;flex-direction:column;gap:1.5rem;z-index:10;animation:fadeSlideUp .6s cubic-bezier(.16,1,.3,1) forwards}.welcome-copy h2{margin:0;color:#1e293b;font-size:clamp(2.8rem,5vw,4.5rem);line-height:1.1;letter-spacing:-.02em;font-weight:800}.welcome-copy h2 span{color:#1e293b}.welcome-copy>p{margin:0;color:#64748b;font-size:clamp(1.1rem,1.5vw,1.25rem);line-height:1.5;display:none}.welcome-store-card{width:min(100%,520px);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1.25rem;padding:1.5rem 1.75rem;border:1px solid rgba(255,255,255,.6);border-radius:20px;background:#ffffff73;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px #ffffffb3,0 12px 30px #0f172a0a;transition:transform .3s ease,box-shadow .3s ease;margin-bottom:.5rem}.welcome-store-card:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1px #fffc,0 20px 40px #0f172a14}.welcome-store-icon{width:60px;height:60px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;color:#0f172a;background:#fff9;box-shadow:inset 0 0 0 1px #ffffff80,0 4px 10px #0000000d}.welcome-store-card span{display:none}.welcome-store-card strong{display:block;color:#1e293b;font-size:1.4rem;line-height:1.2;font-weight:700}.welcome-store-card p{display:none}.welcome-quick-actions{display:flex;gap:1rem;flex-wrap:wrap;animation:fadeSlideUp .6s cubic-bezier(.16,1,.3,1) .15s forwards;opacity:0}div.layout main.content .welcome-quick-actions button.btn-caixa,div.layout main.content .welcome-quick-actions button.btn-pedidos,div.layout main.content .welcome-quick-actions button.btn-config{display:inline-flex;align-items:center;gap:.6rem;padding:.75rem 1.5rem;border:none;border-radius:999px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;box-shadow:0 8px 16px #0000001a;color:#fff}div.layout main.content .welcome-quick-actions button.btn-caixa{background:#2563eb!important}div.layout main.content .welcome-quick-actions button.btn-caixa:hover{background:#1d4ed8!important;transform:translateY(-3px);box-shadow:0 10px 20px #2563eb4d}div.layout main.content .welcome-quick-actions button.btn-pedidos{background:#f97316!important}div.layout main.content .welcome-quick-actions button.btn-pedidos:hover{background:#ea580c!important;transform:translateY(-3px);box-shadow:0 10px 20px #f973164d}div.layout main.content .welcome-quick-actions button.btn-config{background:#14b8a6!important}div.layout main.content .welcome-quick-actions button.btn-config:hover{background:#0d9488!important;transform:translateY(-3px);box-shadow:0 10px 20px #14b8a64d}.welcome-visual{position:relative;width:100%;height:100%;min-height:400px;display:flex;align-items:center;justify-content:center;z-index:1;animation:fadeIn .8s ease .3s forwards;opacity:0}.welcome-logo-frame{display:flex;align-items:center;justify-content:center;width:320px;height:320px;border-radius:30px;background:#fff9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px #fffc,0 30px 60px #0ea5e926;padding:2rem;transform:perspective(1000px) rotateY(-5deg) rotateX(5deg);transition:transform .4s ease}.welcome-logo-frame:hover{transform:perspective(1000px) rotateY(0) rotateX(0) scale(1.02)}.welcome-logo-frame img{display:block;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 10px 15px rgba(0,0,0,.1))}.welcome-abstract-illustration{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.welcome-abstract-shape{position:absolute;border-radius:24px;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 20px 40px #0f172a14,inset 0 0 0 1px #fff;display:flex;align-items:center;justify-content:center}.shape-main{width:160px;height:160px;border-radius:40px;z-index:3;color:#3b82f6;animation:float 6s ease-in-out infinite}.shape-sub-1{width:100px;height:100px;left:5%;top:15%;color:#f97316;animation:float 5s ease-in-out infinite 1s;border-radius:24px}.shape-sub-2{width:90px;height:90px;right:10%;bottom:20%;color:#10b981;animation:float 7s ease-in-out infinite 2s;border-radius:50%}@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-20px)}to{transform:translateY(0)}}.card{background:var(--surface);border-radius:16px;padding:1rem;border:1px solid var(--line);box-shadow:var(--shadow)}.content button:not([class*=bg-]):not([class*=rounded]){border:none;padding:.55rem 1.15rem;min-height:42px;border-radius:10px;background:var(--brand);color:#000;cursor:pointer;font-weight:600;font-size:.92rem;box-shadow:none;transition:filter .16s ease,transform .16s ease,background .16s ease;display:inline-flex;align-items:center;justify-content:center;text-align:center}.content button:not([class*=bg-]):not([class*=rounded]):hover{background:var(--brand-strong);transform:translateY(-2px);box-shadow:none}.content button:not([class*=bg-]):not([class*=rounded]):active{transform:translateY(0);filter:brightness(.98)}.content input,.content select{padding:.56rem .62rem;border-radius:10px;border:1px solid var(--line);background:var(--surface-elevated);color:var(--ink)}.content form{display:grid;gap:.75rem}.products-page{display:grid;gap:1rem}.products-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:linear-gradient(135deg,#fff,#f8fafc)}.products-header h2{margin:.2rem 0;font-size:1.6rem}.products-eyebrow{margin:0;text-transform:uppercase;font-size:.76rem;letter-spacing:.08em;color:var(--brand);font-weight:700}.products-subtitle{margin:0;color:var(--muted)}.products-kpi{min-width:150px;border-radius:12px;padding:.6rem .85rem;background:linear-gradient(140deg,#14b8a6,#0f766e);color:#ecfeff;display:grid;justify-items:center}.products-kpi strong{font-size:1.5rem;line-height:1}.products-kpi span{font-size:.82rem}.products-grid{display:grid;grid-template-columns:minmax(330px,430px) 1fr;gap:1rem}.products-grid-list-only{grid-template-columns:1fr}.dashboard-finance-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.dashboard-finance-form>div{display:grid;gap:.38rem}.dashboard-finance-span-2{grid-column:span 2}.dashboard-finance-form label{font-size:.84rem;color:#334155}.dashboard-finance-actions{grid-column:span 4;display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.dashboard-finance-actions span{color:var(--muted);font-size:.84rem}.dashboard-period-card{display:grid;gap:1rem}.dashboard-period-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;align-items:end}.dashboard-period-form>div{display:grid;gap:.38rem}.dashboard-period-form label{font-size:.84rem;color:#334155}.dashboard-period-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.dashboard-period-actions-wide{grid-column:1 / -1}.dashboard-period-actions .button-muted{background:linear-gradient(120deg,#334155,#475569)}.dashboard-status-track,.dashboard-channel-track,.dashboard-product-track{height:14px;border-radius:999px;background:#e2e8f0;overflow:hidden}.dashboard-status-fill,.dashboard-channel-fill,.dashboard-product-fill{height:100%;border-radius:inherit}.dashboard-stack-track{flex:1;width:100%;min-height:180px;display:flex;flex-direction:column;justify-content:end;border-radius:16px;background:linear-gradient(180deg,#0ea5e914,#0f766e0a);padding:.45rem;gap:.3rem}.dashboard-stack-column{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:.3rem;height:100%}.dashboard-stack-fill{border-radius:12px}.dashboard-stack-income{background:linear-gradient(180deg,#38bdf8,#0ea5e9)}.dashboard-stack-expense{background:linear-gradient(180deg,#fb7185,#f43f5e)}.dashboard-stack-sales{border-radius:14px;background:linear-gradient(180deg,#f59e0b,#f97316);box-shadow:0 10px 24px #f973163d}.dashboard-channel-list,.dashboard-product-list{display:grid;gap:1rem}.dashboard-channel-row,.dashboard-product-row{display:grid;gap:.45rem}.dashboard-channel-meta,.dashboard-product-meta{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.dashboard-channel-meta strong,.dashboard-product-meta strong{display:inline-flex;align-items:center;gap:.5rem}.dashboard-channel-meta span,.dashboard-product-meta span{color:var(--muted);font-size:.84rem}.dashboard-channel-fill{background:linear-gradient(90deg,#0f766e,#14b8a6)}.dashboard-finance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dashboard-finance-summary-grid>div{display:grid;gap:.25rem;padding:.9rem;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dbeafe}.dashboard-finance-summary-grid span{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700}.dashboard-finance-summary-grid strong{font-size:1.25rem}.dashboard-movement-list{margin:0;padding:0;list-style:none;display:grid;gap:.7rem}.dashboard-movement-list li{border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbff);padding:.75rem .85rem;display:flex;justify-content:space-between;gap:.8rem;align-items:start}.dashboard-movement-list li>div{display:grid;gap:.24rem}.dashboard-movement-list li strong{color:#1e3a8a;font-size:.92rem}.dashboard-movement-list li span{color:#334155;font-size:.84rem}@media (max-width: 1180px){.dashboard-kpis,.dashboard-finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.dashboard-finance-form{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-finance-actions,.dashboard-finance-span-2{grid-column:span 2}}@media (max-width: 760px){.dashboard-hero,.dashboard-panel-header,.dashboard-sync-card,.dashboard-channel-meta,.dashboard-product-meta,.dashboard-movement-list li{grid-template-columns:1fr;flex-direction:column;align-items:start}.dashboard-kpis,.dashboard-finance-summary-grid,.dashboard-finance-form{grid-template-columns:1fr}.dashboard-finance-actions,.dashboard-finance-span-2{grid-column:auto}.dashboard-bars-chart{grid-template-columns:repeat(2,minmax(0,1fr))}}.dashboard-page{display:grid;gap:1rem}.dashboard-hero{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:radial-gradient(circle at top right,rgba(249,115,22,.14),transparent 38%),linear-gradient(135deg,#fff,#eff6ff)}.dashboard-hero h2{margin:.2rem 0;font-size:1.7rem}.dashboard-hero-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.dashboard-hero-pill{padding:.55rem .9rem;border-radius:999px;background:#e0f2fe;color:#0f172a;font-weight:700;box-shadow:inset 0 0 0 1px #0ea5e924}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dashboard-kpi-card{display:grid;gap:.35rem;position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fbff)}.dashboard-kpi-card:after{content:"";position:absolute;inset:auto -18px -18px auto;width:96px;height:96px;border-radius:50%;background:radial-gradient(circle,rgba(14,165,233,.18),transparent 70%)}.dashboard-kpi-card-accent{background:linear-gradient(135deg,#0f766e,#0ea5a4);color:#ecfeff}.dashboard-kpi-card-accent small{color:#ecfeffd1}.dashboard-kpi-card span{font-size:.82rem;color:inherit;opacity:.84;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.dashboard-kpi-card strong{font-size:1.6rem;line-height:1}.dashboard-kpi-card small{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.dashboard-panel{display:grid;gap:1rem}.dashboard-panel-wide{grid-column:1 / -1}.dashboard-panel-header{display:flex;justify-content:space-between;gap:1rem;align-items:start}.dashboard-panel-header h3{margin:.15rem 0 0;font-size:1.15rem}.dashboard-panel-header span{color:var(--muted);font-size:.84rem;text-align:right}.dashboard-status-bars{display:grid;gap:.85rem}.dashboard-status-row{display:grid;gap:.35rem}.dashboard-status-row-labels{display:flex;justify-content:space-between;gap:.8rem;align-items:center}.dashboard-status-row-labels strong{font-size:.92rem}.dashboard-status-row-labels span{font-size:.84rem;color:var(--muted)}.dashboard-status-track,.dashboard-product-track{height:14px;border-radius:999px;background:#e2e8f0;overflow:hidden}.dashboard-status-fill,.dashboard-product-fill{height:100%;border-radius:inherit}.dashboard-status-fill{background:linear-gradient(90deg,#94a3b8,#64748b)}.dashboard-status-pendente{background:linear-gradient(90deg,#f59e0b,#f97316)}.dashboard-status-em_preparo{background:linear-gradient(90deg,#3b82f6,#2563eb)}.dashboard-status-pronto{background:linear-gradient(90deg,#14b8a6,#0f766e)}.dashboard-status-entregue{background:linear-gradient(90deg,#22c55e,#16a34a)}.dashboard-bars-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.75rem;align-items:end;min-height:300px}.dashboard-bar-item{display:grid;gap:.45rem;justify-items:center;height:100%}.dashboard-bar-value{font-size:.8rem;color:var(--muted);text-align:center;min-height:1.2rem}.dashboard-bar-track{flex:1;width:100%;min-height:180px;display:flex;align-items:end;border-radius:16px;background:linear-gradient(180deg,#0ea5e914,#0f766e0a);padding:.45rem}.dashboard-bar-fill{width:100%;border-radius:12px 12px 7px 7px;background:linear-gradient(180deg,#38bdf8,#0ea5e9 40%,#0369a1);box-shadow:0 10px 24px #0ea5e938;transition:transform .2s ease}.dashboard-bar-fill.is-today{background:linear-gradient(180deg,#f59e0b,#f97316);box-shadow:0 10px 24px #f9731640}.dashboard-bar-item span{font-size:.82rem;color:var(--muted);text-align:center}.dashboard-product-list{display:grid;gap:1rem}.dashboard-product-row{display:grid;gap:.45rem}.dashboard-product-meta{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.dashboard-product-meta strong{display:inline-flex;align-items:center;gap:.5rem}.dashboard-product-meta span{color:var(--muted);font-size:.84rem}.dashboard-product-fill{background:linear-gradient(90deg,#f97316,#fb7185)}.dashboard-sync-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:linear-gradient(135deg,#0f172a,#1e293b);color:#f8fafc}.dashboard-sync-card h3,.dashboard-sync-card p{margin:.15rem 0 0}.dashboard-sync-card .products-eyebrow,.dashboard-sync-card .products-subtitle{color:#bae6fd}.dashboard-sync-card .products-eyebrow{opacity:.9}.dashboard-sync-card .products-subtitle,.dashboard-sync-card p{color:#cbd5e1}.dashboard-sync-card button{background:linear-gradient(120deg,#38bdf8,#0ea5e9)}.products-toolbar{display:grid;gap:.7rem}.products-cadastro-quickbar{display:grid;gap:.55rem;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:.85rem 1.15rem;box-shadow:0 4px 20px -2px #0f172a0a}.products-toolbar-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.content .products-toolbar-actions button,.products-toolbar-actions button{border-radius:12px;min-height:42px;padding:.5rem 1.15rem;font-size:.92rem;font-weight:600;text-align:center;border:none;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,background .16s ease;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.content .products-toolbar-actions button:hover:not(:disabled),.products-toolbar-actions button:hover:not(:disabled){transform:translateY(-2px)}.content .products-toolbar-actions button:active:not(:disabled),.products-toolbar-actions button:active:not(:disabled){transform:translateY(0);filter:brightness(.96)}.content .products-new-button,.products-new-button{background:linear-gradient(135deg,#059669,#10b981)!important;color:#fff!important;font-weight:700;border:none!important;box-shadow:0 4px 14px #10b98159!important}.content .products-new-button:hover:not(:disabled),.products-new-button:hover:not(:disabled){filter:brightness(1.08)!important;box-shadow:0 6px 20px #10b98173!important}.content .products-secondary-button,.products-secondary-button{background:linear-gradient(135deg,#0284c7,#0ea5e9)!important;color:#fff!important;font-weight:700;border:none!important;box-shadow:0 4px 14px #0ea5e94d!important}.content .products-secondary-button:hover:not(:disabled),.products-secondary-button:hover:not(:disabled){filter:brightness(1.08)!important;box-shadow:0 6px 20px #0ea5e966!important}.content .products-import-button,.products-import-button{background:linear-gradient(135deg,#6366f1,#818cf8)!important;color:#fff!important;font-weight:700;border:none!important;box-shadow:0 4px 14px #6366f14d!important}.content .products-import-button:hover:not(:disabled),.products-import-button:hover:not(:disabled){filter:brightness(1.08)!important;box-shadow:0 6px 20px #6366f166!important}.products-imported-items{display:grid;gap:.85rem}.products-imported-item-row{padding:.85rem;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(120deg,#f8fbff,#fff)}.products-imported-item-summary{display:grid;gap:.18rem;align-content:start;color:#334155}.products-supplier-picker-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;align-items:center}.products-supplier-picker-button{width:2rem;height:2rem;border-radius:8px;border:1px solid #86efac;background:linear-gradient(120deg,#22c55e,#4ade80);color:#fff;font-size:1.25rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 16px #22c55e2e}.products-supplier-picker-panel{margin-top:.55rem;border:1px solid #bfdbfe;border-radius:12px;background:#fff;padding:.75rem;display:grid;gap:.7rem;box-shadow:0 14px 30px #0f172a14}.products-supplier-picker-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center}.products-supplier-picker-list{display:grid;gap:.45rem;max-height:220px;overflow:auto}.products-supplier-picker-item{text-align:left;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(120deg,#f8fbff,#fff);padding:.7rem .85rem;display:grid;gap:.15rem;color:#0f172a}.products-supplier-picker-item:hover{border-color:#93c5fd;background:#eff6ff}.products-certificate-source-buttons{display:flex;gap:.65rem;flex-wrap:wrap}.products-cadastro-span{display:grid;gap:.75rem;border:1px solid #bfdbfe;box-shadow:0 0 0 1px #1e40af14,var(--shadow)}.cadastro-span-overlay,.convenio-cadastro-overlay,.finance-cadastro-overlay,.products-cadastro-overlay,.nfe-product-registration-overlay,.finance-document-manager-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:1rem;background:#0f172aa8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.cadastro-span-panel,.convenio-cadastro-span,.finance-cadastro-span,.products-cadastro-modal,.stock-note-view-modal,.nfe-product-registration-modal{width:min(980px,calc(100vw - 1.5rem));max-height:min(92vh,760px);overflow:auto;padding:.85rem}.finance-cadastro-span{width:min(900px,calc(100vw - 1.5rem))}.convenio-cadastro-span{width:min(1060px,calc(100vw - 1.5rem))}.products-cadastro-modal{width:min(1160px,calc(100vw - 2rem));max-height:min(94vh,880px);overflow:auto;padding:1rem;overscroll-behavior:contain}.content .cadastro-span-close,.content .convenio-cadastro-close,.content .finance-cadastro-close,.content .finance-document-manager-close,.content .products-cadastro-close,.cadastro-span-close,.convenio-cadastro-close,.finance-cadastro-close,.finance-document-manager-close,.products-cadastro-close{width:36px;height:36px;min-width:36px;border-radius:10px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;background:#f1f5f9!important;color:#64748b!important;border:1.5px solid #cbd5e1!important;box-shadow:0 1px 3px #0000000a!important;cursor:pointer;transition:all .16s cubic-bezier(.4,0,.2,1)}.content .cadastro-span-close:hover,.content .convenio-cadastro-close:hover,.content .finance-cadastro-close:hover,.content .finance-document-manager-close:hover,.content .products-cadastro-close:hover{background:#fee2e2!important;color:#dc2626!important;border-color:#fca5a5!important;transform:scale(1.05);box-shadow:0 4px 12px #dc262626!important}.products-cadastro-header{display:flex;justify-content:space-between;align-items:center;gap:.8rem;min-height:44px;padding-bottom:.45rem;border-bottom:1px solid rgba(203,213,225,.75)}.products-cadastro-header>div{display:grid;gap:.15rem}.products-cadastro-modal .products-cadastro-header{position:sticky;top:-1rem;z-index:4;margin:-1rem -1rem 0;padding:1rem 1rem .8rem;background:#fffffff7;box-shadow:0 1px #cbd5e1d9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.products-cadastro-description{margin:0;color:#64748b;font-size:.82rem}.products-cadastro-header-actions{display:flex!important;grid-auto-flow:column;align-items:center;justify-content:flex-end;gap:.65rem!important}.products-cadastro-modal .products-form{width:100%;max-width:none;padding-top:.2rem}.products-cadastro-modal .products-cadastro-footer{position:sticky;bottom:-1rem;z-index:3;margin:0 -1rem -1rem;padding:.85rem 1rem 1rem;background:#fffffff7;border-top:1px solid rgba(203,213,225,.85);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.products-cadastro-header h3{margin:0}.products-cadastro-tabs{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;background:#f1f5f9;padding:.3rem .4rem;border-radius:14px;border:1px solid #e2e8f0}.content .products-cadastro-tabs button,.products-cadastro-tabs button{border-radius:10px;border:1.5px solid transparent;background:#fff!important;color:#475569!important;min-width:90px;min-height:38px;padding:.4rem .9rem;font-size:.88rem;font-weight:600;text-align:center;box-shadow:0 1px 3px #0000000a;transition:all .16s cubic-bezier(.4,0,.2,1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.content .products-cadastro-tabs button:hover:not(:disabled),.products-cadastro-tabs button:hover:not(:disabled){background:#fff!important;color:#0f172a!important;transform:translateY(-1px);box-shadow:0 4px 10px #00000014}.content .products-cadastro-tabs button.is-active,.products-cadastro-tabs button.is-active{background:linear-gradient(135deg,#0d9488,#14b8a6)!important;color:#fff!important;font-weight:700;border-color:#0d9488!important;box-shadow:0 4px 14px #0d948859!important;transform:translateY(0)}.products-row-3{display:grid;grid-template-columns:repeat(3,minmax(170px,250px));-moz-column-gap:1rem;column-gap:1rem;row-gap:.8rem;justify-content:flex-start}.products-row-3>div{display:grid;gap:.42rem}.products-row-4{display:grid;grid-template-columns:minmax(150px,180px) minmax(220px,1fr) minmax(220px,1fr) minmax(220px,1fr);-moz-column-gap:1.35rem;column-gap:1.35rem;row-gap:1.05rem;align-items:start}.products-row-4>div{display:grid;gap:.46rem;align-content:start;min-width:0}.products-field-compact{max-width:210px}.products-row-4>.products-field-compact:first-child{padding-right:.45rem}.products-row-4>.products-field-main{margin-left:.12rem}.products-field-main{min-width:260px;max-width:460px}.products-cost-block{border:1px solid #dbeafe;border-radius:12px;padding:.72rem;background:linear-gradient(120deg,#f8fbff,#fff);display:grid;gap:.62rem;max-width:980px}.products-cost-block h4{margin:0;font-size:.9rem;color:#1e3a8a}.products-cadastro-footer{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}.products-help-note{color:#64748b;font-size:.78rem}.products-form-warning{margin:0;border-radius:9px;border:1px solid #fecaca;background:#fef2f2;color:#991b1b;padding:.52rem .62rem;font-size:.82rem}.products-form-card h3,.products-list-card h3{margin-top:0}.products-form{margin-top:.2rem;display:grid;gap:.78rem;max-width:1120px}.products-form label{font-size:.84rem;color:#334155;line-height:1.2}.products-form input,.products-form select{padding:.44rem .56rem;min-height:34px;border-radius:8px}.products-group-field,.products-photo-field{min-width:0}.products-row-4>.products-photo-field,.products-row-4>.products-group-field{grid-column:span 2;min-width:0;max-width:520px}.products-photo-field{padding:.62rem;border:1px solid rgba(191,219,254,.9);border-radius:12px;background:linear-gradient(135deg,#f8fbff,#eef6ff);box-shadow:inset 0 1px #ffffffb8}.products-photo-field input[type=file]{width:100%;min-height:38px;border:1px solid rgba(148,163,184,.55);background:#fff}.products-image-preview{margin-top:.35rem;display:grid;gap:.65rem;width:min(100%,230px)}.products-image-preview-img{width:100%;max-height:170px;-o-object-fit:contain;object-fit:contain;border-radius:10px;border:1px solid #cbd5e1;background:#fff;padding:.35rem}.products-image-preview .button-muted{width:100%}.products-group-row{display:grid;gap:.62rem;padding:.72rem;border:1px solid rgba(191,219,254,.9);border-radius:12px;background:linear-gradient(135deg,#f8fbff,#eef6ff);box-shadow:inset 0 1px #ffffffb8}.products-category-quickbar{display:flex;flex-wrap:wrap;gap:.5rem}.content .products-category-chip,.products-category-chip{border:1.5px solid #e2e8f0;background:#f8fafc!important;color:#475569!important;border-radius:999px;padding:.35rem .95rem;font-size:.82rem;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:0 1px 3px #0000000a;transition:all .16s cubic-bezier(.4,0,.2,1)}.content .products-category-chip:hover,.products-category-chip:hover{border-color:#38bdf8!important;color:#0284c7!important;background:#f0f9ff!important;transform:translateY(-2px);box-shadow:0 4px 12px #0ea5e926}.content .products-category-chip.is-active,.products-category-chip.is-active{border-color:#0d9488!important;color:#fff!important;background:linear-gradient(135deg,#0f766e,#0d9488)!important;box-shadow:0 4px 14px #0f766e59!important;transform:translateY(0)}.products-group-input-row{display:grid;grid-template-columns:minmax(0,1fr) 40px 40px 40px;gap:.55rem;align-items:center}.products-group-input-row select{min-height:38px;min-width:0;border-radius:10px;border:1px solid rgba(148,163,184,.65);background:#fff;box-shadow:0 1px 2px #0f172a0a}.products-group-action-button{min-height:38px;padding:0;border-radius:10px;display:inline-grid;place-items:center;border:1px solid rgba(255,255,255,.22);font-size:1.02rem;font-weight:700;background:linear-gradient(120deg,#2563eb,#0ea5e9);box-shadow:0 10px 18px #2563eb2e;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.products-group-action-button.is-edit{background:linear-gradient(120deg,#0f766e,#14b8a6);box-shadow:0 10px 18px #14b8a629}.products-group-action-button.is-delete{background:linear-gradient(120deg,#b91c1c,#ef4444);box-shadow:0 10px 18px #ef444429}.products-group-action-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.03)}.products-group-action-button:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.products-group-action-button:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}.products-group-help-note{margin:0;color:#475569;font-size:.74rem;line-height:1.4}.products-form .checkbox-label{gap:.45rem;font-size:.82rem;color:#334155;font-weight:600}.products-form .checkbox-label input{min-height:auto}.products-checkbox-row{display:flex;flex-wrap:wrap;gap:.65rem 1rem;align-items:center;padding:.35rem 0 .1rem}.products-field-compact .products-help-note{margin-top:.06rem;line-height:1.35;max-width:160px}.ncm-input-row{display:grid;grid-template-columns:1fr 38px;gap:.45rem;align-items:center}.ncm-search-trigger{min-height:34px;padding:0;border-radius:8px;display:inline-grid;place-items:center;background:linear-gradient(120deg,#2563eb,#0ea5e9)}.ncm-lookup-panel{margin-top:.35rem;border:1px solid #bfdbfe;border-radius:10px;background:#fff;box-shadow:0 12px 26px #1e40af24;padding:.45rem;display:grid;gap:.4rem}.ncm-lookup-panel input{min-height:32px}.ncm-lookup-panel ul{margin:0;padding:0;list-style:none;display:grid;gap:.28rem;max-height:220px;overflow-y:auto}.ncm-lookup-panel li button{width:100%;text-align:left;background:#f8fafc;color:#0f172a;border:1px solid #dbeafe;border-radius:8px;padding:.45rem .5rem;display:grid;gap:.12rem}.ncm-lookup-panel li button strong{font-size:.8rem;color:#1d4ed8}.ncm-lookup-panel li button span{font-size:.76rem;color:#334155;line-height:1.25}.ncm-lookup-empty{border:1px dashed #cbd5e1;border-radius:8px;padding:.5rem;color:#64748b;font-size:.8rem}.products-row-2{display:grid;grid-template-columns:repeat(2,minmax(180px,250px));-moz-column-gap:1rem;column-gap:1rem;row-gap:.8rem;justify-content:flex-start}.products-row-2>div{display:grid;gap:.42rem}.products-fiscal-row-top{grid-template-columns:minmax(190px,230px) minmax(280px,380px) minmax(120px,150px) minmax(150px,190px);-moz-column-gap:1rem;column-gap:1rem;row-gap:.8rem}.products-fiscal-row-bottom{grid-template-columns:repeat(3,minmax(170px,220px));-moz-column-gap:1rem;column-gap:1rem;row-gap:.8rem}.products-fiscal-row-end{grid-template-columns:repeat(2,minmax(180px,250px));-moz-column-gap:1rem;column-gap:1rem;row-gap:.8rem}.checkbox-label{display:flex;align-items:center;gap:.55rem;color:var(--muted)}.products-actions{margin-top:1rem;display:flex;gap:.6rem;flex-wrap:wrap}.content .button-muted,.button-muted{border-radius:10px;border:1px solid var(--line)!important;background:var(--surface-elevated)!important;color:var(--ink)!important;min-height:42px;padding:.5rem 1.15rem;font-size:.92rem;font-weight:600;transition:transform .16s ease,background .16s ease,box-shadow .16s ease,border-color .16s ease,color .16s ease;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:none}.content .button-muted:hover:not(:disabled),.button-muted:hover:not(:disabled){background:var(--surface)!important;color:var(--brand)!important;border-color:var(--brand)!important;transform:translateY(-2px);box-shadow:none}.content .button-muted:active:not(:disabled),.button-muted:active:not(:disabled){transform:translateY(0)}.sync-banner{margin-top:.9rem;margin-bottom:0;border-radius:10px;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;padding:.7rem .8rem;font-size:.95rem}.products-list{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}.products-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;border:1px solid var(--line);border-radius:10px;min-height:46px;padding:.35rem .55rem;background:linear-gradient(120deg,#fff,#f8fafc)}.products-list li>div{display:grid;gap:.24rem}.products-list li span{color:var(--muted);font-size:.78rem}.products-list-main{min-width:0}.products-list-title{display:flex;flex-wrap:nowrap;gap:.42rem;align-items:center;min-width:0}.products-list-title strong{color:#0f172a;font-size:.88rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products-list-meta{display:flex;flex-wrap:wrap;gap:.38rem;align-items:center}.products-list-side{display:flex!important;grid-auto-flow:column;gap:.72rem!important;align-items:center;justify-content:flex-end;min-width:-moz-max-content;min-width:max-content}.products-list-price{display:inline-flex;align-items:center;justify-content:center;min-width:78px;min-height:28px;padding:.22rem .55rem;border-radius:9px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:.86rem;line-height:1;box-shadow:0 2px 8px #0f172a0f}.content .products-edit-button,.products-edit-button{width:-moz-fit-content;width:fit-content;margin-top:0;min-height:30px;padding:.28rem .68rem;border-radius:10px;border:2px solid #38bdf8!important;font-size:.82rem;font-weight:600;background:#1e293b!important;color:#38bdf8!important;cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease}.content .products-edit-button:hover:not(:disabled),.products-edit-button:hover:not(:disabled){background:#334155!important;color:#fff!important;border-color:#7dd3fc!important;transform:translateY(-1px)}.products-row-actions{display:flex;gap:.48rem;margin-top:0;align-items:center}.content .products-delete-button,.products-delete-button{width:-moz-fit-content;width:fit-content;margin-top:0;min-height:30px;padding:.28rem .68rem;border-radius:10px;border:2px solid #f43f5e!important;font-size:.82rem;font-weight:600;background:#1e293b!important;color:#f43f5e!important;cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease}.content .products-delete-button:hover:not(:disabled),.products-delete-button:hover:not(:disabled){background:#334155!important;color:#fff!important;border-color:#fb7185!important;transform:translateY(-1px)}.products-id-tag{display:inline-flex;align-items:center;margin-right:.38rem;border-radius:8px;border:1px solid rgba(29,78,216,.35);background:#3b82f624;color:#1e40af;font-size:.74rem;font-weight:700;padding:.1rem .38rem}.products-group-tag{display:inline-flex;align-items:center;gap:.3rem;width:-moz-fit-content;width:fit-content;border-radius:999px;border:1px solid #cbd5e1;padding:.16rem .55rem;color:#334155;font-size:.78rem;font-weight:600;background:#f8fafc}.products-group-tag b{font-weight:700}.products-status-pill{display:inline-flex;align-items:center;min-height:22px;width:-moz-fit-content;width:fit-content;border-radius:999px;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412!important;padding:.12rem .5rem;font-size:.72rem!important;font-weight:700}.products-group-tag.is-bebidas{border-color:#0ea5e973;background:#0ea5e924;color:#0c4a6e}.products-group-tag.is-saladas{border-color:#10b98173;background:#10b98124;color:#065f46}.products-group-tag.is-quentes{border-color:#f59e0b73;background:#f59e0b24;color:#92400e}.products-group-tag.is-sobremesas{border-color:#a78bfa73;background:#a78bfa24;color:#6d28d9}.products-group-modal-note{margin:.65rem 0 0;border-radius:10px;border:1px solid rgba(191,219,254,.4);background:#1d4ed824;color:#dbeafe;padding:.55rem .65rem}.empty-state{color:var(--muted)}.admin-page{display:grid;gap:1rem}.admin-header{background:var(--surface);border:1px solid var(--line)}.admin-eyebrow{margin:0;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em;color:var(--brand);font-weight:700}.admin-header h2{margin:.2rem 0}.admin-subtitle{margin:0;color:var(--muted)}.admin-grid{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:1rem}.admin-kpis h3,.admin-audit h3{margin-top:0}.admin-kpis ul{margin:0;padding:0;list-style:none;display:grid;gap:.6rem}.admin-kpis li{display:flex;justify-content:space-between;gap:1rem;border:1px solid var(--line);border-radius:10px;padding:.6rem .7rem;background:var(--surface-elevated)}.admin-kpis li span{color:var(--mustard);font-weight:600}.admin-kpis li strong{color:#fff;font-family:JetBrains Mono,monospace;font-weight:600}.admin-actions{margin-top:.9rem;display:grid;gap:.55rem}.admin-danger{background:linear-gradient(120deg,#b91c1c,#ef4444)}.admin-message{margin:.8rem 0 0;border-radius:10px;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;padding:.65rem .75rem}.admin-pin-form{margin-top:1rem;padding-top:.9rem;border-top:1px dashed #cbd5e1}.admin-pin-form h4{margin:0 0 .5rem;font-size:1rem}.admin-pin-form label{font-size:.84rem;color:#475569}.admin-audit-filters{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:.55rem;margin-bottom:.8rem}.admin-audit-filters input,.admin-audit-filters select{width:100%}.admin-certificate{margin-top:1rem;display:grid;gap:.65rem;border:1px solid #c7d2fe;background:linear-gradient(180deg,#fff,#f8fbff)}.admin-certificate-form{display:grid;gap:.75rem}.admin-certificate-meta{margin:0;color:#475569;font-size:.88rem}.admin-certificate-alert{margin:0;border-radius:10px;border:1px solid rgba(245,158,11,.5);background:#fef3c7;color:#92400e;padding:.55rem .7rem;font-size:.88rem;font-weight:600}.admin-certificate-alert-danger{border-color:#ef444480;background:#fee2e2;color:#991b1b}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:.5rem .46rem;border-bottom:1px solid #dbe3ef;font-size:.92rem}.admin-table th{color:#1e40af}.admin-margin-section{margin-top:1rem;padding-top:.85rem;border-top:1px dashed #cbd5e1}.admin-margin-section h3{margin:0 0 .55rem}.admin-margin-table td:nth-child(1),.admin-margin-table td:nth-child(5),.admin-margin-table td:nth-child(6){font-weight:600}.sidebar a.active{background:linear-gradient(120deg,#14b8a642,#3b82f633);border:1px solid rgba(56,189,248,.35);color:#fff}.auth-panel{margin-top:1.2rem;padding:1.15rem;border-radius:18px;border:1px solid rgba(56,189,248,.22);background:radial-gradient(circle at 15% 10%,rgba(14,116,144,.28) 0%,transparent 35%),linear-gradient(150deg,#020617f2,#0f172af5);box-shadow:inset 0 0 0 1px #1e40af40}.auth-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:1rem;background:radial-gradient(circle at 20% 10%,#0f172a59,#020617d1 60%);-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.auth-panel-centered{margin-top:0;margin-inline:auto;width:min(620px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:auto}.auth-sidebar-status{display:flex;align-items:center;gap:1rem;padding:0;border:none;background:transparent}.auth-sidebar-label{display:none}.auth-sidebar-status strong{color:var(--ink);font-size:.95rem}.auth-sidebar-status span{display:none}.auth-switch-user{margin-top:0;background:var(--surface-elevated);border:1px solid var(--line);color:var(--ink)}.auth-brand{display:grid;justify-items:center;text-align:center;gap:.18rem;margin-bottom:.95rem;padding-bottom:.75rem;border-bottom:1px solid rgba(71,85,105,.48)}.auth-brand strong{font-size:1.9rem;color:#f8fafc;letter-spacing:.01em}.auth-brand span{font-size:.98rem;color:#94a3b8}.auth-panel-header{display:grid;justify-items:center;text-align:center;gap:.28rem;margin-bottom:.9rem}.auth-panel-header strong{font-size:1.5rem;color:#e2e8f0}.auth-panel-header span{font-size:1rem;color:#94a3b8}.auth-form{display:grid;gap:.7rem;max-width:560px;margin-inline:auto}.auth-form label{display:block;margin-bottom:.2rem;font-size:1rem;color:#cbd5e1;font-weight:600}.auth-form label:not(:first-of-type){margin-top:.35rem}.auth-form input,.auth-form select{width:100%;min-height:44px;font-size:1.04rem;color:#e2e8f0;background:#020617b8;border:1px solid rgba(59,130,246,.58)}.auth-password-row{display:grid;grid-template-columns:1fr auto;gap:.55rem}.auth-toggle-password{min-height:44px;padding:.4rem .7rem;border-radius:8px;background:linear-gradient(120deg,#334155,#475569);font-size:.9rem}.auth-submit{margin-top:.45rem;min-height:46px;background:linear-gradient(120deg,#10b981,#14b8a6);font-size:1.12rem;font-weight:700}.auth-logout{width:100%;margin-top:.48rem}.auth-message{margin:.75rem 0 0;font-size:.92rem;color:#99f6e4;text-align:center;border:1px solid rgba(20,184,166,.28);border-radius:8px;background:#0f766e1f;padding:.6rem .68rem}.auth-hint{margin:.75rem 0 0;font-size:.86rem;color:#94a3b8;text-align:center;line-height:1.46}.weight-display-main,.price-display-main{border-radius:12px;border:1px solid rgba(71,85,105,.5);background:#020c1bb3;padding:1rem;text-align:center}.weight-display-main.is-normal{border-color:#10b9818c}.weight-display-main.is-critical{border-color:#fbbf24bf}.weight-display-main.is-error{border-color:#f87171bf}.weight-value{margin:0;font-size:clamp(2.9rem,7vw,4.8rem);line-height:1;letter-spacing:.05em;color:#fbbf24;font-weight:700}.weight-unit{margin:.4rem 0 0;color:#cbd5e1}.price-value{margin:.3rem 0 0;color:#34d399;font-size:clamp(2.4rem,6vw,3.7rem);line-height:1;font-weight:700}.price-unit{margin:.45rem 0 0;color:#fbbf24}.weight-loading,.price-loading{color:#fbbf24;font-size:2.8rem;font-weight:700}.comanda-table{width:100%;border-collapse:collapse}.comanda-table th,.comanda-table td{text-align:left;padding:.48rem .42rem;border-bottom:1px solid rgba(71,85,105,.35)}.comanda-table th{color:#93c5fd;font-weight:600;font-size:.88rem}.comanda-amount-control{display:inline-grid;grid-template-columns:auto auto auto;align-items:center;gap:.3rem}.comanda-amount-control button{min-width:28px;min-height:28px;border-radius:7px;border:1px solid rgba(56,189,248,.45);background:#0284c738;color:#e0f2fe;font-weight:700;line-height:1;padding:0}.comanda-amount-control span{min-width:72px;text-align:center;color:#e2e8f0;font-size:.8rem}.comanda-delete-item{min-height:30px;border-radius:8px;border:1px solid rgba(248,113,113,.6);background:#991b1b61;color:#fecaca;font-size:.75rem;font-weight:600;padding:.2rem .5rem}.comanda-footer{margin-top:.62rem;display:flex;justify-content:space-between;align-items:center;color:#cbd5e1}.comanda-footer p{margin:0}.comanda-footer strong{color:#34d399}.comanda-sensitive-actions{margin-top:.72rem;display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.comanda-sensitive-actions button{min-height:46px}.sensitive-close{border:1px solid rgba(16,185,129,.62);background:linear-gradient(120deg,#059669,#10b981)}.sensitive-cancel{border:1px solid rgba(248,113,113,.72);background:linear-gradient(120deg,#b91c1c,#ef4444)}.sensitive-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#020617b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sensitive-modal{width:min(460px,calc(100vw - 1.5rem));border-radius:16px;border:1px solid rgba(100,116,139,.72);background:linear-gradient(145deg,#020c1bf5,#0f172af5);color:#f8fafc;padding:1rem}.comanda-screen{height:calc(100vh - 2.7rem);background:radial-gradient(circle at top right,rgba(20,184,166,.18),transparent 48%),#071226;color:#e2e8f0;padding:.75rem;overflow:hidden}.comanda-container{max-width:1320px;margin:0 auto;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.75rem;height:100%;min-height:0}.comanda-header-wrap{display:grid;gap:.75rem}.comanda-top-fields{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;align-items:start}.comanda-field-group{display:grid;gap:.3rem}.comanda-field-group label{color:#93c5fd;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.comanda-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;background:#0f172adb;border:1px solid rgba(71,85,105,.45);border-radius:12px;padding:.72rem .85rem}.comanda-header h2{margin:0;font-size:1rem}.comanda-header p{margin:.2rem 0 0;color:#94a3b8;font-size:.8rem}.comanda-status{border-radius:999px;padding:.25rem .55rem;border:1px solid rgba(52,211,153,.45);background:#065f466b;color:#6ee7b7;font-size:.75rem;font-weight:700}.comanda-number-input,.comanda-search-input{width:100%;border-radius:10px;border:1px solid rgba(71,85,105,.65);background:#020c1bb3;color:#f8fafc;min-height:36px;padding:0 .68rem;font-size:.84rem}.comanda-number-input:disabled,.comanda-search-input:disabled{opacity:.62;cursor:not-allowed}.comanda-layout-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.72fr);gap:.75rem;min-height:0}.comanda-left-column,.comanda-right-column{display:grid;gap:.65rem;min-height:0;overflow:hidden}.comanda-left-column{grid-template-rows:auto minmax(0,1fr) auto}.comanda-display-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.comanda-panel{background:#0f172ad1;border:1px solid rgba(71,85,105,.45);border-radius:12px;padding:.58rem}.panel-label{margin:0 0 .45rem;color:#93c5fd;font-size:.78rem;font-weight:700;text-transform:uppercase}.panel-value{margin:0;font-size:clamp(1.35rem,2.6vw,2.15rem);line-height:1;font-weight:700}.panel-value-warning{color:#fbbf24}.panel-value-success{color:#34d399}.weight-panel-head{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.weight-panel-mode{color:#7dd3fc;font-size:.72rem;font-weight:700}.weight-panel-mode.is-manual{color:#fde68a}.panel-value-button{width:100%;border:none;padding:0;margin:0;text-align:left;background:transparent;cursor:pointer}.panel-value-input{width:100%;border-radius:8px;border:1px solid rgba(71,85,105,.65);background:#020c1bb8;min-height:52px;padding:0 .58rem}.weight-panel-edit-actions{margin-top:.45rem;display:flex;gap:.45rem}.weight-panel-edit-actions button,.weight-panel-status button{min-height:32px;padding:.4rem .62rem;font-size:.76rem;border-radius:8px}.weight-panel-status{margin-top:.4rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.weight-panel-status small{color:#93c5fd;font-size:.72rem}.weight-panel-error{margin-top:.35rem;display:block;color:#fda4af;font-size:.72rem}.comanda-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem}.comanda-categories button{border-radius:12px;border-width:2px;border-style:solid;background:#1e293b;color:#f8fafc;min-height:64px;padding:.5rem .75rem;font-size:.95rem;font-weight:600;text-align:center;box-shadow:0 4px 6px -1px #0003,0 2px 4px -1px #0000001a;transition:transform .15s ease,background .15s ease,box-shadow .15s ease;display:flex;align-items:center;justify-content:center;word-break:break-word;cursor:pointer}.comanda-categories button:hover:not(:disabled){background:#334155;transform:translateY(-2px);box-shadow:0 10px 15px -3px #0000004d,0 4px 6px -2px #00000026}.comanda-categories button.is-active{background:#334155;color:#fff;font-weight:700;box-shadow:inset 0 2px 4px #0006;transform:translateY(1px)}.comanda-categories button:disabled{opacity:.4;cursor:not-allowed;filter:grayscale(.8);transform:none}.comanda-workspace{min-height:0;display:grid;grid-template-columns:minmax(230px,.72fr) minmax(300px,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"categories categories" "products items";gap:.65rem}.comanda-workspace>.comanda-panel:first-child{grid-area:categories;align-self:start;padding:.48rem .58rem}.comanda-workspace .comanda-suggestions-panel{grid-area:products}.comanda-workspace .comanda-items-panel{grid-area:items}.comanda-workspace.is-expanded{position:fixed;inset:clamp(.7rem,2vw,1.5rem);z-index:70;display:grid;grid-template-columns:minmax(270px,.9fr) minmax(360px,1.1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"categories categories" "products items";gap:.75rem;min-height:0;padding:.85rem;border:1px solid rgba(56,189,248,.72);border-radius:16px;background:linear-gradient(145deg,#020c1bfa,#0f172afa);box-shadow:0 28px 70px #00000073}.comanda-products-heading{display:flex;align-items:center;justify-content:space-between;gap:.55rem;margin-bottom:.35rem}.comanda-products-heading .panel-label{margin:0}.comanda-products-heading span{border-radius:999px;background:#0ea5e938;color:#bae6fd;padding:.18rem .5rem;font-size:.72rem;font-weight:800}.comanda-suggestions{margin-top:.55rem;display:grid;gap:.35rem;min-height:0}.comanda-suggestions-panel{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.comanda-suggestions-panel .comanda-suggestions{max-height:none;overflow-y:auto;padding-right:.2rem}.comanda-suggestions button{border-radius:10px;border:1px solid rgba(71,85,105,.55);background:#020c1bb8;color:#f8fafc;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:.65rem;min-height:42px;padding:.48rem .6rem}.comanda-suggestions button small{color:#34d399}.comanda-product-row{min-width:0}.comanda-product-description{min-width:0;display:grid;gap:.1rem}.comanda-product-description strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comanda-product-description small{color:#7dd3fc!important;font-size:.76rem;font-weight:700}.comanda-product-price{color:#fbbf24;font-size:.96rem;white-space:nowrap}.comanda-suggestions-empty{margin:0;border-radius:8px;border:1px dashed rgba(125,211,252,.45);background:#020c1b85;color:#bae6fd;font-size:.78rem;padding:.45rem .55rem}.comanda-items{display:grid;gap:.4rem;min-height:0}.comanda-items-panel{min-height:160px;max-height:100%;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.comanda-items-header,.comanda-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:.55rem;margin-bottom:.35rem}.comanda-items-header .panel-label,.comanda-panel-heading .panel-label{margin:0}.comanda-items-header span{border-radius:999px;background:#0ea5e938;color:#bae6fd;padding:.18rem .5rem;font-size:.72rem;font-weight:800}.comanda-expand-button{width:38px;height:38px;border-radius:10px;border:1px solid rgba(56,189,248,.55);background:#0284c72e;color:#bae6fd;display:inline-flex;align-items:center;justify-content:center}.comanda-items-panel .comanda-items{overflow-y:auto;padding-right:.2rem;align-content:start}.comanda-items-panel .comanda-items::-webkit-scrollbar{width:8px}.comanda-items-panel .comanda-items::-webkit-scrollbar-thumb{border-radius:999px;background:#38bdf861}.comanda-item-row{border:1px solid rgba(71,85,105,.45);border-radius:8px;padding:.48rem .55rem;background:#020c1b99;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.65rem}.comanda-item-description{min-width:0}.comanda-item-description strong{display:block;overflow:hidden;color:#f8fafc;text-overflow:ellipsis;white-space:nowrap}.comanda-item-row small{display:block;color:#93c5fd;margin-top:.15rem}.comanda-item-actions{display:flex;gap:.35rem;justify-content:flex-end}.comanda-item-actions button{min-width:34px;min-height:34px;border-radius:7px;border:1px solid rgba(56,189,248,.45);background:#0284c733;color:#e0f2fe;padding:0 .5rem;font-size:.78rem}.comanda-item-subtotal{color:#fbbf24;font-size:.92rem;white-space:nowrap}.comanda-item-actions .is-danger{border-color:#f8717199;background:#7f1d1d73;color:#fecaca}.comanda-empty{margin:0;color:#94a3b8;font-size:.82rem}.total-panel{display:flex;align-items:center;justify-content:center;min-width:0}.total-panel p{margin:0;display:grid;gap:.25rem;text-align:center}.total-panel .is-total{margin-top:0;padding-top:0;border-top:0;color:#fbbf24;font-weight:700}.total-panel .is-total span{color:#bfdbfe;font-size:.72rem;line-height:1.1;text-transform:uppercase}.total-panel .is-total strong{color:#fbbf24;font-size:clamp(1.55rem,2.7vw,2.25rem);line-height:1}.comanda-keyboard-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.comanda-keyboard-toggle button{min-height:38px;border-radius:9px;border:1px solid rgba(71,85,105,.65);background:#020c1b99;color:#cbd5e1;font-size:.78rem}.comanda-keyboard-toggle button.is-active{border-color:#38bdf8b3;background:#0284c738}.numeric-keypad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.numeric-keypad-grid button,.virtual-row button{min-height:42px;border-radius:8px;border:1px solid rgba(71,85,105,.55);background:#020c1bb3;color:#f8fafc;font-weight:700}.numeric-keypad-grid .is-enter{grid-column:span 3;border-color:#10b98199;background:linear-gradient(120deg,#059669,#10b981)}.virtual-keyboard-grid{display:grid;gap:.35rem}.virtual-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.35rem}.virtual-row:nth-child(2){grid-template-columns:repeat(9,minmax(0,1fr))}.virtual-row:nth-child(3){grid-template-columns:repeat(7,minmax(0,1fr))}.virtual-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:.45rem}.virtual-row-actions button{min-height:48px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;font-size:.84rem;box-shadow:0 6px 14px #020c1b38}.virtual-row-actions .is-clear,.virtual-row-actions .is-space{border-color:#94a3b88c;background:linear-gradient(180deg,#f8fafc,#e2e8f0);color:#0f172a}.virtual-row-actions .is-enter{border-color:#10b98199;background:linear-gradient(120deg,#059669,#10b981);color:#fff}.virtual-row-actions .is-backspace{border-color:#fbbf24bf;background:linear-gradient(120deg,#713f12,#92400e);color:#fef3c7}.comanda-primary-action{display:grid;width:100%;gap:.35rem}.comanda-primary-action>p{margin:0;color:#94a3b8;font-size:.72rem;text-align:center}.next-comanda-button{width:100%;min-height:64px;border-radius:10px;border:1px solid rgba(16,185,129,.65);background:linear-gradient(120deg,#059669,#10b981);color:#f8fafc;font-weight:800;font-size:1rem;box-shadow:0 10px 22px #05966940}.next-comanda-button:disabled{opacity:.5;cursor:not-allowed}.comanda-error{margin:0;border-radius:8px;border:1px solid rgba(251,113,133,.5);background:#7f1d1d59;color:#fecdd3;padding:.5rem .65rem;font-size:.8rem}@media (max-width: 1080px){.comanda-top-fields,.comanda-layout-grid{grid-template-columns:1fr}.comanda-left-column{grid-template-rows:auto}.comanda-workspace,.comanda-workspace.is-expanded{grid-template-columns:1fr;grid-template-areas:"categories" "products" "items"}}.sensitive-modal h3{margin:0;font-size:1.18rem}.sensitive-modal p{margin:.45rem 0 0;color:#93c5fd}.sensitive-modal form{margin-top:.9rem}.sensitive-modal label{color:#cbd5e1}.sensitive-modal input{background:#0f172acc;border:1px solid rgba(71,85,105,.75);color:#f8fafc}.sensitive-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.sensitive-modal-message{margin:.65rem 0 0;border-radius:10px;border:1px solid rgba(125,211,252,.5);background:#1d4ed829;color:#bfdbfe;padding:.5rem .62rem}.cadastro-page{display:grid;gap:.8rem}.cadastro-tabs-card{padding:.65rem;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 20px -2px #0f172a0a}.cadastro-tabs-nav{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.content .cadastro-tabs-nav button,.cadastro-tabs-nav button{border-radius:12px;border:1.5px solid #e2e8f0;background:#f8fafc!important;color:#475569!important;min-width:120px;min-height:44px;padding:.45rem 1.1rem;font-size:.9rem;font-weight:600;text-align:center;box-shadow:0 1px 3px #00000008;transition:all .16s cubic-bezier(.4,0,.2,1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.content .cadastro-tabs-nav button:hover:not(:disabled),.cadastro-tabs-nav button:hover:not(:disabled){background:#fff!important;border-color:#cbd5e1!important;color:#0f172a!important;transform:translateY(-2px);box-shadow:0 4px 12px #0000000f}.content .cadastro-tabs-nav button.is-active,.cadastro-tabs-nav button.is-active{background:linear-gradient(135deg,#0d9488,#14b8a6)!important;color:#fff!important;font-weight:700;border-color:#0d9488!important;box-shadow:0 4px 14px #0d948859!important;transform:translateY(0)}.suppliers-form{margin-top:.45rem;display:grid;gap:.72rem}.suppliers-section{--suppliers-address-cols: minmax(100px, .75fr) minmax(260px, 2fr) minmax(120px, .8fr) minmax(170px, 1fr);--suppliers-address-gap: .7rem;border:1px solid #dbeafe;border-radius:12px;padding:.7rem;background:linear-gradient(120deg,#f8fbff,#fff);display:grid;gap:.65rem}.suppliers-section h4{margin:0;color:#1e3a8a;font-size:.86rem}.suppliers-form label{font-size:.78rem;color:#334155;line-height:1.2}.suppliers-form input,.suppliers-form select{padding:.38rem .5rem;min-height:32px;border-radius:8px}.suppliers-form textarea{padding:.46rem .5rem;min-height:72px;border-radius:8px;resize:vertical}.suppliers-row-3{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));-moz-column-gap:.72rem;column-gap:.72rem;row-gap:.65rem}.suppliers-row-3>div,.suppliers-row-2-wide>div,.suppliers-row-address-top>div,.suppliers-row-address-bottom>div{display:grid;gap:.32rem}.suppliers-notes-field{display:grid;gap:.42rem}.client-history-input-row{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:.7rem;align-items:end}.client-history-filter-row{display:grid;grid-template-columns:minmax(160px,200px) minmax(160px,200px) auto auto;gap:.65rem;align-items:end}.client-history-filter-row>div{display:grid;gap:.35rem}.client-history-empty{margin:0;color:#64748b;font-size:.84rem}.client-history-list{margin:0;padding:0;list-style:none;display:grid;gap:.6rem}.client-history-list li{border:1px solid #dbeafe;border-radius:10px;background:#f8fbff;padding:.55rem .65rem;display:flex;justify-content:space-between;gap:.8rem;align-items:start}.client-history-list li>div{display:grid;gap:.2rem}.client-history-list li strong{color:#1e3a8a;font-size:.82rem}.client-history-list li span{color:#334155;font-size:.84rem}.client-history-list-preview{margin-bottom:.45rem;display:grid;justify-items:end;gap:.15rem}.client-history-list-preview strong{color:#1e3a8a;font-size:.8rem}.client-history-list-preview span{color:#334155;font-size:.8rem;text-align:right}.employee-status-field{display:grid;gap:.42rem;align-content:start}.employee-status-toggle{display:inline-flex;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;padding:3px;gap:3px;width:-moz-fit-content;width:fit-content}.content .employee-status-toggle button,.employee-status-toggle button{border:0!important;border-radius:9px!important;min-height:34px;min-width:86px;padding:.35rem .75rem;background:transparent!important;color:#64748b!important;font-weight:600;font-size:.85rem;box-shadow:none!important;transition:all .16s ease;cursor:pointer}.content .employee-status-toggle button:hover:not(.is-active){background:#ffffffb3!important;color:#0f172a!important}.content .employee-status-toggle button.is-active,.employee-status-toggle button.is-active{background:linear-gradient(135deg,#059669,#10b981)!important;color:#fff!important;font-weight:700;box-shadow:0 2px 8px #10b9814d!important}.suppliers-row-2-wide{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));-moz-column-gap:.72rem;column-gap:.72rem;row-gap:.65rem}.suppliers-row-address-top{display:grid;grid-template-columns:var(--suppliers-address-cols);-moz-column-gap:var(--suppliers-address-gap);column-gap:var(--suppliers-address-gap);row-gap:.65rem}.suppliers-row-address-top>div{min-width:0}.suppliers-cep-feedback{margin:-.2rem 0 .05rem;color:#475569;font-size:.78rem;min-height:1rem}.suppliers-row-address-bottom{display:grid;grid-template-columns:var(--suppliers-address-cols);-moz-column-gap:var(--suppliers-address-gap);column-gap:var(--suppliers-address-gap);row-gap:.65rem}.suppliers-list li{align-items:start}.suppliers-list li>div:last-child{justify-items:end}.cadastro-compact-list li{align-items:center;min-height:46px;padding:.35rem .55rem}.cadastro-compact-list li>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:.55rem}.cadastro-compact-list .button-muted{min-height:30px;padding:.28rem .68rem;border-radius:10px;font-size:.82rem}.cadastro-compact-list .stock-note-reversed,.cadastro-compact-list .stock-note-processed{white-space:nowrap}.cadastro-compact-ledger{display:grid;gap:.45rem}.cadastro-compact-ledger .finance-revenue-ledger-head,.cadastro-compact-ledger .finance-account-ledger-head,.cadastro-compact-ledger .finance-revenue-ledger-row,.cadastro-compact-ledger .finance-account-ledger-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.65rem}.cadastro-compact-ledger .finance-revenue-ledger-head,.cadastro-compact-ledger .finance-account-ledger-head{padding:0 .55rem;color:#64748b;font-size:.72rem;font-weight:700}.cadastro-compact-ledger .finance-revenue-ledger-row,.cadastro-compact-ledger .finance-account-ledger-row{min-height:46px;padding:.35rem .55rem;border:1px solid var(--line);border-radius:10px;background:linear-gradient(120deg,#fff,#f8fafc)}.cadastro-compact-ledger .finance-revenue-ledger-row>strong,.cadastro-compact-ledger .finance-account-ledger-row>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cadastro-compact-ledger .finance-ledger-actions{display:flex;justify-content:flex-end}.cadastro-compact-ledger .is-total{background:#eff6ff;border-color:#bfdbfe}.finance-account-summary{display:grid;gap:.65rem}.finance-account-summary-header{display:flex;align-items:flex-end;justify-content:space-between;gap:.75rem}.finance-account-summary-header h4,.finance-account-summary-header p{margin:0}.finance-account-summary-header p{margin-top:.22rem}.finance-account-summary-header>span{flex:0 0 auto;padding:.22rem .5rem;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.75rem;font-weight:700}.finance-account-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .7rem;padding:.45rem .55rem;border-radius:9px;background:#f1f5f9}.finance-account-date-range,.finance-account-filter-field{display:inline-flex;align-items:center;gap:.4rem;margin:0;font-size:.8rem;font-weight:700;white-space:nowrap}.finance-account-toolbar input,.finance-account-toolbar select,.finance-account-toolbar button{min-height:34px}.finance-account-date-range input{width:145px}.finance-account-filter-field select{width:clamp(145px,18vw,220px)}.finance-account-search-button{padding-inline:.85rem}.finance-current-statement{display:grid;gap:.35rem;overflow-x:auto;padding-bottom:.2rem;scrollbar-gutter:stable}.finance-current-statement-head,.finance-current-statement-row{display:grid;grid-template-columns:105px minmax(130px,.8fr) minmax(260px,2fr) 110px 110px 120px 70px;gap:.5rem;align-items:center;min-width:900px}.finance-current-statement-head{padding:.35rem .65rem;border-radius:8px;background:#e2e8f0;color:#334155;font-size:.74rem;font-weight:800}.finance-current-statement-head span:nth-child(n+4){text-align:right}.finance-current-statement-head span:last-child{text-align:center}.finance-current-statement-row{min-height:42px;padding:.32rem .65rem;border-bottom:1px solid #dbe3ee;background:#fff;font-size:.82rem}.finance-current-statement-row:nth-child(odd):not(.is-opening-balance):not(.is-statement-total){background:#f8fafc}.finance-current-statement-row>span,.finance-current-statement-row>strong,.finance-current-statement-row>b{min-width:0}.finance-current-statement-row>b{text-align:right;white-space:nowrap}.finance-current-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-current-statement .is-debit{color:#dc2626}.finance-current-statement .is-credit{color:#16a34a}.finance-current-statement .is-balance{color:#1d4ed8}.finance-current-statement .is-opening-balance,.finance-current-statement .is-statement-total{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-weight:700}.finance-current-statement .is-statement-total{background:#ecfdf5;border-color:#a7f3d0}.finance-statement-actions{display:flex;justify-content:flex-end;width:70px}.finance-statement-actions .button-muted,.finance-statement-actions .products-edit-button{min-height:28px;width:100%;padding:.24rem .58rem;font-size:.76rem}@media (max-width: 560px){.finance-account-summary-header{align-items:flex-start}.finance-account-toolbar{align-items:stretch}.finance-account-date-range{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%}.finance-account-date-range input,.finance-account-filter-field select{width:100%}.finance-account-filter-field{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%}.finance-account-search-button{width:100%}}.whatsapp-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:.35rem;width:22px;height:22px;padding:0;border-radius:999px;border:1px solid rgba(22,163,74,.5);background:linear-gradient(120deg,#16a34a,#22c55e);color:#fff;vertical-align:middle}.whatsapp-icon{width:14px;height:14px;display:block}@media (max-width: 1360px){.suppliers-section{--suppliers-address-cols: minmax(95px, .75fr) minmax(240px, 1.9fr) minmax(116px, .78fr) minmax(150px, .95fr);--suppliers-address-gap: .7rem}.suppliers-row-address-top,.suppliers-row-address-bottom{-moz-column-gap:var(--suppliers-address-gap);column-gap:var(--suppliers-address-gap)}}@media (max-width: 1180px){.welcome-hero{grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:1.1rem}.suppliers-section{--suppliers-address-cols: minmax(88px, .7fr) minmax(210px, 1.55fr) minmax(110px, .72fr) minmax(140px, .88fr);--suppliers-address-gap: .62rem}.suppliers-row-address-top,.suppliers-row-address-bottom{-moz-column-gap:var(--suppliers-address-gap);column-gap:var(--suppliers-address-gap)}.comanda-layout-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.72fr)}.comanda-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.products-cadastro-modal .products-row-4{grid-template-columns:repeat(2,minmax(0,1fr))}.products-cadastro-modal .products-field-compact,.products-cadastro-modal .products-field-main,.products-cadastro-modal .products-row-4>.products-photo-field,.products-cadastro-modal .products-row-4>.products-group-field{min-width:0;max-width:none}.products-cadastro-modal .products-row-4>.products-photo-field,.products-cadastro-modal .products-row-4>.products-group-field{grid-column:auto}}@media (max-width: 1020px){.products-grid,.admin-grid,.admin-audit-filters,.suppliers-row-3,.suppliers-row-2-wide,.suppliers-row-address-top,.suppliers-row-address-bottom,.client-history-input-row,.client-history-filter-row{grid-template-columns:1fr}.suppliers-row-address-top>div:nth-child(2){margin-left:0}.suppliers-row-address-bottom>div:nth-child(2){margin-left:0}.suppliers-row-address-top>div:nth-child(2) input,.suppliers-row-address-bottom>div:nth-child(2) input{max-width:none}.comanda-screen{height:auto;min-height:100vh;overflow:auto}.comanda-container,.comanda-layout-grid,.comanda-left-column,.comanda-right-column{height:auto;overflow:visible}.comanda-layout-grid{grid-template-columns:1fr}.comanda-left-column{grid-template-rows:auto}.comanda-items-panel{max-height:360px}}@media (max-width: 860px){.layout{grid-template-columns:1fr}.welcome-hero{grid-template-columns:1fr;padding:1rem}.welcome-copy h2{font-size:clamp(1.8rem,8vw,2.45rem)}.welcome-store-card{width:100%}.welcome-visual{min-height:210px}.sidebar{display:grid;gap:.75rem}.auth-panel-centered{width:min(520px,calc(100vw - 1.3rem))}.sidebar nav{flex-direction:row;flex-wrap:wrap}.content{padding:.85rem}.products-header{flex-direction:column;align-items:flex-start}.products-kpi{width:100%;justify-items:flex-start}.products-row-2,.products-row-3,.products-row-4{grid-template-columns:1fr}.products-row-4>.products-photo-field,.products-row-4>.products-group-field{grid-column:auto;max-width:none}.products-fiscal-row-top,.products-fiscal-row-bottom,.products-fiscal-row-end{grid-template-columns:1fr}.products-field-compact,.products-field-main{max-width:none;min-width:0}.products-cadastro-header{flex-direction:column;align-items:flex-start}.products-cadastro-tabs{width:100%}.products-cadastro-tabs button{flex:1}.cadastro-span-overlay,.convenio-cadastro-overlay,.finance-cadastro-overlay,.products-cadastro-overlay,.nfe-product-registration-overlay,.finance-document-manager-overlay{align-items:start;padding:.7rem}.cadastro-span-panel,.convenio-cadastro-span,.finance-cadastro-span,.products-cadastro-modal,.stock-note-view-modal,.nfe-product-registration-modal{width:100%;max-height:calc(100vh - 1.4rem);padding:.7rem}.products-cadastro-modal .products-cadastro-header{top:-.7rem;margin:-.7rem -.7rem 0;padding:.75rem .7rem .65rem}.products-cadastro-header-actions{width:100%;justify-content:space-between}.products-cadastro-modal .products-cadastro-footer{bottom:-.7rem;margin:0 -.7rem -.7rem;padding:.7rem}.products-list li{grid-template-columns:1fr;align-items:stretch}.products-list-side{justify-content:space-between;min-width:0;flex-wrap:wrap}.cadastro-compact-list li{grid-template-columns:minmax(0,1fr) auto;align-items:center}.cadastro-compact-list .products-list-side{min-width:-moz-max-content;min-width:max-content;flex-wrap:nowrap}.cadastro-compact-list .products-row-actions{flex-wrap:nowrap}.cadastro-compact-ledger .finance-revenue-ledger-head,.cadastro-compact-ledger .finance-account-ledger-head,.cadastro-compact-ledger .finance-revenue-ledger-row,.cadastro-compact-ledger .finance-account-ledger-row{grid-template-columns:minmax(0,1fr) auto auto}.cadastro-tabs-nav{width:100%}.cadastro-tabs-nav button{flex:1}.comanda-sensitive-actions,.comanda-top-fields,.comanda-display-grid{grid-template-columns:1fr}.comanda-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.comanda-item-row{grid-template-columns:1fr;align-items:stretch}.comanda-item-actions{justify-content:flex-start}.sensitive-modal-actions{grid-template-columns:1fr}}.restaurant-dashboard-page{display:flex;flex-direction:column;gap:1rem;min-height:100%;color:#0f172a}.restaurant-dashboard-welcome .welcome-hero{min-height:0;padding:clamp(1.15rem,2vw,1.75rem);border-radius:16px}.restaurant-dashboard-welcome .welcome-copy h2{font-size:clamp(2rem,2.8vw,3rem)}.restaurant-dashboard-welcome .welcome-visual{min-height:clamp(170px,18vw,235px)}.restaurant-dashboard-welcome .welcome-logo-frame img{width:min(68%,260px);height:min(68%,145px)}.restaurant-dashboard-header,.restaurant-dashboard-card,.restaurant-dashboard-metric{border:1px solid #dbe3ef;border-radius:16px;background:#fffffff0;box-shadow:0 14px 34px #0f172a14}.restaurant-dashboard-header{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:1rem;padding:1rem 1.15rem}.restaurant-dashboard-header h2{margin:0;font-size:clamp(1.85rem,3vw,2.75rem);line-height:1;letter-spacing:0}.restaurant-dashboard-header p{margin:.35rem 0 0;color:#64748b;font-size:.92rem}.restaurant-dashboard-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem}.restaurant-dashboard-toolbar label,.restaurant-dashboard-toolbar button,.restaurant-dashboard-user{min-height:46px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.restaurant-dashboard-toolbar label{display:inline-flex;align-items:center;gap:.5rem;padding:0 .72rem}.restaurant-dashboard-toolbar input{width:150px;min-height:34px;border:0;padding:0;color:#0f172a;font-weight:700;outline:0}.restaurant-dashboard-toolbar button{padding:0 .95rem;color:#0f172a;font-weight:800;cursor:pointer}.restaurant-dashboard-user{display:inline-grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.35rem .75rem;min-width:170px}.restaurant-dashboard-user>span{width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e9d5ff;color:#7e22ce;font-weight:900}.restaurant-dashboard-user strong,.restaurant-dashboard-user small{display:block;white-space:nowrap}.restaurant-dashboard-user small{color:#64748b}.restaurant-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.restaurant-dashboard-metric{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1rem;min-height:120px;padding:1rem;overflow:hidden}.restaurant-dashboard-metric.is-accent{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;border-color:#14b8a64d}.restaurant-dashboard-metric-icon{width:54px;height:54px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fee2e2;color:#fb3f4e}.restaurant-dashboard-metric.is-accent .restaurant-dashboard-metric-icon{background:#ffffff2e;color:#fff}.restaurant-dashboard-metric span{display:block;color:#475569;font-size:.78rem;font-weight:800}.restaurant-dashboard-metric.is-accent span,.restaurant-dashboard-metric.is-accent small{color:#ffffffd6}.restaurant-dashboard-metric strong{display:block;margin-top:.2rem;font-size:clamp(1.35rem,2vw,2rem);line-height:1.05}.restaurant-dashboard-metric small{display:block;margin-top:.25rem;color:#64748b;font-size:.75rem}.restaurant-dashboard-notice{margin:0;padding:.75rem 1rem;border:1px solid #bae6fd;border-radius:12px;background:#f0f9ff;color:#075985;font-weight:700}.restaurant-dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr) minmax(240px,.56fr);gap:.95rem;align-items:start}.restaurant-dashboard-card{padding:1rem}.restaurant-dashboard-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.9rem}.restaurant-dashboard-card-header h3{margin:0;font-size:1.1rem}.restaurant-dashboard-card-header p,.restaurant-dashboard-card-header span{margin:.22rem 0 0;color:#64748b;font-size:.82rem}.restaurant-dashboard-card-header button,.restaurant-dashboard-shift-actions button,.restaurant-dashboard-finance-form button{min-height:42px;border:0;border-radius:10px;padding:0 .85rem;background:#0f766e;color:#fff;font-weight:900;cursor:pointer}.restaurant-dashboard-sales-chart{min-height:320px}.restaurant-dashboard-hour-chart{min-height:245px;display:grid;grid-template-columns:repeat(auto-fit,minmax(26px,1fr));align-items:end;gap:.45rem;padding-top:1.7rem;border-bottom:1px solid #cbd5e1}.restaurant-dashboard-hour{display:grid;grid-template-rows:1fr auto;justify-items:center;min-height:210px;position:relative}.restaurant-dashboard-hour-track{width:18px;height:180px;display:flex;align-items:flex-end}.restaurant-dashboard-hour-track i{display:block;width:100%;min-height:6px;border-radius:999px 999px 0 0;background:linear-gradient(180deg,#fb3f4e,#f97316)}.restaurant-dashboard-hour span:last-child{color:#64748b;font-size:.72rem}.restaurant-dashboard-peak{position:absolute;top:-1.5rem;left:50%;transform:translate(-50%);border-radius:7px;padding:.22rem .45rem;background:#fb3f4e;color:#fff;font-size:.68rem;font-weight:900;white-space:nowrap}.restaurant-dashboard-payment{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:1rem}.restaurant-dashboard-donut{width:142px;height:142px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:conic-gradient(#7c3aed 0,#7c3aed)}.restaurant-dashboard-donut span{width:64px;height:64px;border-radius:999px;background:#fff}.restaurant-dashboard-payment-list{display:grid;gap:.55rem}.restaurant-dashboard-payment-list div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;font-weight:800}.restaurant-dashboard-payment-list i{width:11px;height:11px;border-radius:999px}.restaurant-dashboard-side{display:grid;gap:.95rem}.restaurant-dashboard-movement,.restaurant-dashboard-alert,.restaurant-dashboard-status-list{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.9rem}.restaurant-dashboard-movement h3,.restaurant-dashboard-alert h3{margin:0;font-size:1.45rem}.restaurant-dashboard-movement p,.restaurant-dashboard-alert p{margin:.25rem 0 0;color:#64748b}.restaurant-dashboard-movement.is-alto{color:#fb3f4e}.restaurant-dashboard-movement.is-medio{color:#f97316}.restaurant-dashboard-movement.is-baixo{color:#0f766e}.restaurant-dashboard-alert{position:relative;background:#fff7ed;border-color:#fed7aa;color:#f97316}.restaurant-dashboard-low-stock-popover{position:absolute;right:1rem;top:calc(100% + .5rem);z-index:20;width:min(320px,80vw);padding:.85rem;border-radius:12px;border:1px solid #fed7aa;background:#fff;color:#0f172a;box-shadow:0 20px 36px #0f172a2e;opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .15s ease,transform .15s ease}.restaurant-dashboard-alert:hover .restaurant-dashboard-low-stock-popover,.restaurant-dashboard-alert:focus-within .restaurant-dashboard-low-stock-popover{opacity:1;transform:translateY(0)}.restaurant-dashboard-low-stock-popover ul{margin:.55rem 0 0;padding-left:1rem}.restaurant-dashboard-status-list{grid-template-columns:1fr}.restaurant-dashboard-status-list div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:.6rem 0;border-bottom:1px solid #e2e8f0}.restaurant-dashboard-status-list div:last-child{border-bottom:0}.restaurant-dashboard-status-list strong{font-size:.95rem}.restaurant-dashboard-status-list span{color:#16a34a;font-weight:900}.restaurant-dashboard-products,.restaurant-dashboard-shift{grid-column:span 2}.restaurant-dashboard-table-wrap{overflow-x:auto}.restaurant-dashboard-table{width:100%;border-collapse:collapse;min-width:680px}.restaurant-dashboard-table th,.restaurant-dashboard-table td{padding:.72rem .75rem;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle}.restaurant-dashboard-table th{background:#faf5ff;color:#475569;font-size:.75rem;text-transform:uppercase}.restaurant-dashboard-table td:last-child,.restaurant-dashboard-table th:last-child{text-align:right}.restaurant-dashboard-product-bar{height:4px;margin-top:.35rem;max-width:180px;border-radius:999px;background:#e2e8f0;overflow:hidden}.restaurant-dashboard-product-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#fb3f4e)}.restaurant-dashboard-finance-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.restaurant-dashboard-finance-form label{display:grid;gap:.25rem;color:#334155;font-size:.78rem;font-weight:800}.restaurant-dashboard-finance-form input,.restaurant-dashboard-finance-form select{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a}.restaurant-dashboard-finance-form button{align-self:end}.restaurant-dashboard-shift-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:.9rem 0}.restaurant-dashboard-movement-list{display:grid;gap:.55rem;margin:0;padding:0;list-style:none}.restaurant-dashboard-movement-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.75rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.restaurant-dashboard-movement-list strong,.restaurant-dashboard-movement-list span{display:block}.restaurant-dashboard-movement-list span{margin-top:.2rem;color:#64748b;font-size:.8rem}.restaurant-dashboard-empty{margin:0;min-height:90px;display:flex;align-items:center;color:#64748b}@media (max-width: 1360px){.restaurant-dashboard-main-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}.restaurant-dashboard-side{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}.restaurant-dashboard-products,.restaurant-dashboard-shift{grid-column:1 / -1}}@media (max-width: 1100px){.restaurant-dashboard-header{grid-template-columns:1fr}.restaurant-dashboard-toolbar{justify-content:flex-start}.restaurant-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-dashboard-main-grid,.restaurant-dashboard-side{grid-template-columns:1fr}.restaurant-dashboard-payment{grid-template-columns:120px 1fr}.restaurant-dashboard-donut{width:120px;height:120px}.restaurant-dashboard-donut span{width:54px;height:54px}}@media (max-width: 760px){.restaurant-dashboard-page{gap:.75rem}.restaurant-dashboard-header,.restaurant-dashboard-card,.restaurant-dashboard-metric{border-radius:12px}.restaurant-dashboard-header,.restaurant-dashboard-card{padding:.85rem}.restaurant-dashboard-toolbar,.restaurant-dashboard-toolbar label,.restaurant-dashboard-toolbar button,.restaurant-dashboard-user,.restaurant-dashboard-card-header,.restaurant-dashboard-movement-list li,.restaurant-dashboard-toolbar input{width:100%}.restaurant-dashboard-metrics,.restaurant-dashboard-finance-form{grid-template-columns:1fr}.restaurant-dashboard-payment{grid-template-columns:1fr;justify-items:start}.restaurant-dashboard-hour-chart{overflow-x:auto;grid-template-columns:repeat(17,32px)}}.new-order-page{display:grid;gap:1.25rem;max-width:960px}.new-order-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border-radius:16px;padding:1.25rem 1.5rem;border:1px solid #e2e8f0;box-shadow:0 4px 20px -2px #0f172a0d}.new-order-header h2{margin:0;font-size:1.45rem;color:#0f172a}.new-order-card{background:#fff;border-radius:16px;padding:1.25rem 1.5rem;border:1px solid #e2e8f0;box-shadow:0 4px 20px -2px #0f172a0d;display:grid;gap:1rem}.new-order-card h3{margin:0;font-size:1.15rem;color:#0f172a}.new-order-form-inline{display:flex;gap:.75rem;align-items:flex-end;flex-wrap:wrap}.new-order-form-group{display:grid;gap:.35rem;min-width:140px}.new-order-form-group label{font-size:.85rem;font-weight:600;color:#475569}.new-order-comanda-toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}.new-order-status-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border-radius:999px;font-size:.85rem;font-weight:700;color:#475569;background:#fff;border:1px solid #cbd5e1}.new-order-status-pill.is-open{border-color:#86efac;background:#f0fdf4;color:#166534}.content .new-order-btn,.new-order-btn{border-radius:12px;min-height:42px;padding:.5rem 1.25rem;font-size:.92rem;font-weight:700;text-align:center;border:none!important;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.content .new-order-btn:hover:not(:disabled),.new-order-btn:hover:not(:disabled){filter:brightness(1.08)!important;transform:translateY(-2px)!important}.content .new-order-btn:active:not(:disabled),.new-order-btn:active:not(:disabled){transform:translateY(0)!important;filter:brightness(.98)!important}.content .new-order-btn:disabled,.new-order-btn:disabled{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(.5);transform:none!important;box-shadow:none!important}.new-order-btn--success{background:linear-gradient(135deg,#059669,#10b981)!important;color:#fff!important;box-shadow:0 4px 14px #10b98159!important}.new-order-btn--danger{background:linear-gradient(135deg,#e11d48,#f43f5e)!important;color:#fff!important;box-shadow:0 4px 14px #f43f5e59!important}.new-order-btn--info{background:linear-gradient(135deg,#0284c7,#38bdf8)!important;color:#fff!important;box-shadow:0 4px 14px #0ea5e94d!important}.new-order-btn--primary{background:linear-gradient(135deg,#0d9488,#14b8a6)!important;color:#fff!important;box-shadow:0 4px 14px #0d948859!important}.new-order-btn--warning{background:linear-gradient(135deg,#d97706,#f59e0b)!important;color:#fff!important;box-shadow:0 4px 14px #f59e0b59!important}.new-order-btn--purple{background:linear-gradient(135deg,#7c3aed,#a78bfa)!important;color:#fff!important;box-shadow:0 4px 14px #7c3aed4d!important}.new-order-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.new-order-summary-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.65rem .85rem}.new-order-summary-item span{display:block;font-size:.75rem;color:#64748b;text-transform:uppercase;font-weight:700}.new-order-summary-item strong{display:block;font-size:1.05rem;color:#0f172a;margin-top:.2rem}.sidebar-remote-section{display:grid;gap:.35rem;margin-top:.45rem;padding-top:.75rem;border-top:1px solid rgba(148,163,184,.3)}.sidebar-remote-label{padding:0 .65rem;color:#7dd3fc;font-size:.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sidebar .sidebar-atendetouch-link{color:#ecfeff;border:1px solid rgba(45,212,191,.36);background:linear-gradient(135deg,#0d948847,#0ea5e929);font-weight:800}.sidebar .sidebar-atendetouch-link:hover,.sidebar .sidebar-atendetouch-link.active{color:#fff;border-color:#5eead4bf;background:linear-gradient(135deg,#0f766e,#0284c7)}.atendetouch-page{width:min(100%,1500px);display:grid;gap:1rem;color:#0f172a}.atendetouch-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,auto);align-items:center;gap:1rem;padding:clamp(1.1rem,2.4vw,1.65rem);border:1px solid rgba(45,212,191,.38);border-radius:18px;color:#fff;background:radial-gradient(circle at 88% 16%,rgba(56,189,248,.34),transparent 30%),linear-gradient(135deg,#082f49,#0f766e);box-shadow:0 18px 38px #082f4933}.atendetouch-eyebrow{margin:0 0 .35rem;color:#99f6e4;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.atendetouch-hero h2{margin:0;font-size:clamp(2rem,4vw,3.25rem);line-height:1}.atendetouch-hero>div>p:last-child{max-width:680px;margin:.65rem 0 0;color:#dbeafe;line-height:1.5}.atendetouch-context{min-width:min(100%,250px);display:grid;gap:.25rem;padding:.85rem 1rem;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.atendetouch-context span,.atendetouch-context small{color:#bae6fd;font-size:.75rem}.atendetouch-context strong{font-size:1.05rem}.atendetouch-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.atendetouch-status article{display:flex;align-items:center;gap:.7rem;min-width:0;padding:.85rem 1rem;border:1px solid #dbe3ef;border-radius:14px;background:#fffffff0;box-shadow:0 10px 24px #0f172a0f}.atendetouch-status article strong,.atendetouch-status article small{display:block}.atendetouch-status article small{margin-top:.12rem;color:#64748b}.atendetouch-status-dot{width:12px;height:12px;flex:0 0 auto;border-radius:999px;box-shadow:0 0 0 5px currentColor}.atendetouch-status-dot.is-local{color:#10b98129;background:#10b981}.atendetouch-status-dot.is-pending{color:#f59e0b29;background:#f59e0b}.atendetouch-device-link{padding:1rem;border:1px solid #cbd5e1;border-radius:16px;background:#fff}.atendetouch-device-link>header,.atendetouch-device-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.atendetouch-device-link h3{margin:.2rem 0 0}.atendetouch-device-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0 .75rem}.atendetouch-device-form label,.atendetouch-device-summary div:not(.atendetouch-device-actions){display:grid;gap:.3rem;color:#475569;font-size:.82rem}.atendetouch-device-form input{min-width:0;padding:.7rem;border:1px solid #cbd5e1;border-radius:9px}.atendetouch-device-form button,.atendetouch-device-actions button{min-height:42px;padding:.65rem 1rem;border:0;border-radius:9px;color:#fff;background:#0f9f91;font-weight:700;cursor:pointer}.atendetouch-device-form button{align-self:end}.atendetouch-device-actions button.is-secondary{color:#334155;background:#e2e8f0}.atendetouch-device-form button:disabled,.atendetouch-device-actions button:disabled{cursor:wait;opacity:.65}.atendetouch-device-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0 .75rem}.atendetouch-device-summary strong{overflow-wrap:anywhere;color:#0f172a}.atendetouch-device-actions{grid-column:1 / -1;justify-content:flex-start}.atendetouch-device-message{margin:0 0 .5rem;color:#0f766e}.atendetouch-notice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.75rem;padding:.9rem 1rem;border:1px solid #bae6fd;border-radius:14px;background:#f0f9ff;color:#075985}.atendetouch-notice p{margin:.25rem 0 0;line-height:1.45}.atendetouch-groups{display:grid;gap:1rem}.atendetouch-group{padding:1rem;border:1px solid #dbe3ef;border-radius:16px;background:#fffffff0;box-shadow:0 14px 32px #0f172a12}.atendetouch-group>header h3{margin:0;font-size:1.08rem}.atendetouch-group>header p{margin:.25rem 0 .85rem;color:#64748b;font-size:.86rem}.atendetouch-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.atendetouch-module-card{position:relative;min-height:175px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:.45rem .7rem;padding:.9rem;border:1px solid #dbe3ef;border-radius:14px;color:#0f172a;background:#fff;text-decoration:none;overflow:hidden}.atendetouch-module-card.is-enabled{transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.atendetouch-module-card.is-enabled:hover,.atendetouch-module-card.is-enabled:focus-visible{transform:translateY(-2px);border-color:#2dd4bf;box-shadow:0 12px 24px #0d948821;outline:0}.atendetouch-module-card.is-disabled{background:#f8fafc}.atendetouch-module-icon{grid-row:1 / span 2;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:#0f766e;background:#ccfbf1}.atendetouch-module-badge{justify-self:start;align-self:center;padding:.22rem .5rem;border-radius:999px;font-size:.66rem;font-weight:900}.atendetouch-module-badge.is-local{color:#047857;background:#d1fae5}.atendetouch-module-badge.is-cloud{color:#92400e;background:#fef3c7}.atendetouch-module-badge.is-admin{color:#1d4ed8;background:#dbeafe}.atendetouch-module-badge.is-readonly{color:#075985;background:#e0f2fe;border-color:#7dd3fc}.remote-read-page{display:grid;gap:16px;min-width:0}.remote-read-header,.remote-read-section,.remote-read-state{border:1px solid #d9e2ec;border-radius:16px;background:#fff;box-shadow:0 12px 30px #0f2a3d14}.remote-read-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px}.remote-read-header h2,.remote-read-section h3,.remote-read-state h3{margin:4px 0}.remote-read-header p,.remote-read-section p,.remote-read-state p{margin:4px 0;color:#52677a}.remote-read-back{display:inline-flex;align-items:center;gap:6px;color:#075985;font-weight:700;text-decoration:none}.remote-read-lock{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 12px;border:1px solid #86efac;border-radius:999px;background:#f0fdf4;color:#166534;font-weight:800}.remote-read-state{display:flex;align-items:center;gap:16px;min-height:130px;padding:24px;color:#0f3b56}.remote-read-state.is-error{border-color:#fecaca;background:#fff7f7;color:#991b1b}.remote-read-state .btn-primary{margin-left:auto}.remote-read-tabs{position:sticky;top:8px;z-index:3;display:flex;align-items:center;gap:8px;overflow-x:auto;padding:10px;border:1px solid #d9e2ec;border-radius:14px;background:#fffffff5;box-shadow:0 8px 22px #0f2a3d14}.remote-read-tabs a,.remote-read-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#173b53;font:inherit;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}.remote-read-tabs button{margin-left:auto;border-color:#0ea5a0;color:#08736f}.remote-read-section{scroll-margin-top:82px;padding:18px}.remote-read-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.remote-read-section>header small{color:#64748b}.remote-metric-grid,.remote-sync-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.remote-metric-grid article,.remote-sync-grid div{min-width:0;padding:14px;border:1px solid #dbe7ef;border-radius:12px;background:#f8fbfd}.remote-metric-grid span,.remote-sync-grid dt{display:block;color:#607487;font-size:.82rem}.remote-metric-grid strong,.remote-sync-grid dd{display:block;margin:5px 0 0;color:#082f49;font-size:1.35rem;font-weight:850}.remote-table-wrap{width:100%;overflow-x:auto}.remote-table-wrap table{width:100%;min-width:620px;border-collapse:collapse}.remote-table-wrap th,.remote-table-wrap td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}.remote-table-wrap th{color:#52677a;font-size:.78rem;text-transform:uppercase}.remote-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.remote-device-grid article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:13px;border:1px solid #dbe7ef;border-radius:12px}.remote-device-revoke{min-height:34px;padding:7px 12px}.remote-device-grid strong,.remote-device-grid small{display:block}.remote-device-grid small,.remote-device-grid em{color:#64748b;font-size:.78rem;font-style:normal}.remote-device-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8}.remote-device-dot.is-online{background:#10b981;box-shadow:0 0 0 4px #d1fae5}.remote-empty{padding:20px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center}.is-spinning{animation:remote-spin 1s linear infinite}@keyframes remote-spin{to{transform:rotate(360deg)}}@media (max-width: 800px){.remote-read-header,.remote-read-section>header{flex-direction:column}.remote-read-lock{align-self:flex-start}.remote-metric-grid,.remote-sync-grid,.remote-device-grid{grid-template-columns:1fr}.remote-read-state{align-items:flex-start;flex-wrap:wrap}.remote-read-state .btn-primary{width:100%;margin-left:0}.remote-device-grid article{grid-template-columns:auto minmax(0,1fr)}.remote-device-grid article>em,.remote-device-revoke{grid-column:2;justify-self:start}}.atendetouch-module-card>strong,.atendetouch-module-card>small,.atendetouch-module-action{grid-column:1 / -1}.atendetouch-module-card>strong{margin-top:.15rem;font-size:.98rem}.atendetouch-module-card>small{color:#64748b;line-height:1.4}.atendetouch-module-action{color:#0f766e;font-size:.76rem;font-weight:900}.atendetouch-module-card.is-disabled .atendetouch-module-action{color:#64748b}@media (max-width: 1100px){.atendetouch-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 860px){.sidebar-remote-section{flex:1 1 100%;width:100%}.sidebar .sidebar-atendetouch-link{display:block}.atendetouch-hero,.atendetouch-status{grid-template-columns:1fr}.atendetouch-context{width:100%}}@media (max-width: 620px){.atendetouch-device-link>header,.atendetouch-device-actions{align-items:stretch;flex-direction:column}.atendetouch-device-form,.atendetouch-device-summary{grid-template-columns:1fr}.atendetouch-device-form button,.atendetouch-device-actions button{width:100%}.atendetouch-module-grid{grid-template-columns:1fr}.atendetouch-module-card{min-height:158px}}.admin-deep-link-target{scroll-margin-top:1rem}.atendetouch-standalone{min-height:100vh;padding:clamp(.75rem,2vw,1.5rem);background:linear-gradient(135deg,#fff4b8,#f5f8fc 42%,#eef3f8)}.atendetouch-standalone .remote-read-page{width:min(100%,1440px);margin:0 auto}.atendetouch-login-page{width:min(100%,1120px);min-height:calc(100vh - clamp(1.5rem,4vw,3rem));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,460px);align-items:center;gap:clamp(2rem,6vw,5.5rem);padding:clamp(1rem,4vw,3rem)}.atendetouch-login-brand{color:#0b2942}.atendetouch-login-brand-mark{width:64px;height:64px;display:grid;place-items:center;margin-bottom:1.25rem;color:#087f73;background:#d7faf3;border:1px solid #8be8d8;border-radius:18px;box-shadow:0 14px 34px #0f766e29}.atendetouch-login-brand-mark svg{width:34px;height:34px}.atendetouch-login-brand h1{margin:.2rem 0 .75rem;font-size:clamp(2.5rem,7vw,4.6rem);line-height:.95;letter-spacing:-.05em}.atendetouch-login-brand>p:not(.atendetouch-eyebrow){max-width:600px;margin:0;color:#475569;font-size:clamp(1rem,2vw,1.15rem);line-height:1.65}.atendetouch-login-brand ul{display:grid;gap:.8rem;margin:1.8rem 0 0;padding:0;list-style:none}.atendetouch-login-brand li{display:flex;align-items:center;gap:.6rem;color:#334155;font-weight:650}.atendetouch-login-brand li svg{flex:0 0 auto;color:#0f9f91}.atendetouch-login-card{padding:clamp(1.4rem,4vw,2rem);background:#fffffff5;border:1px solid #d9e3ee;border-radius:22px;box-shadow:0 24px 70px #0f172a29}.atendetouch-login-card>header{display:flex;align-items:flex-start;gap:.9rem;padding-bottom:1.25rem;border-bottom:1px solid #e2e8f0}.atendetouch-login-card>header>span{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;color:#087f73;background:#e6fffa;border-radius:12px}.atendetouch-login-card h2{margin:.1rem 0 .35rem;color:#0f172a;font-size:1.55rem}.atendetouch-login-card header p:last-child{margin:0;color:#64748b;line-height:1.45}.atendetouch-login-form{display:grid;gap:1rem;margin-top:1.25rem}.atendetouch-login-form label{display:grid;gap:.38rem;color:#1e293b;font-size:.88rem;font-weight:750}.atendetouch-login-form label small{color:#64748b;font-weight:500}.atendetouch-login-form input{width:100%;min-height:46px;padding:.7rem .8rem;color:#0f172a;background:#fff;border:1px solid #b8c7dc;border-radius:10px}.atendetouch-login-form input:focus{outline:3px solid rgba(20,184,166,.2);border-color:#0f9f91}.atendetouch-password-field{position:relative;display:block}.atendetouch-password-field input{padding-right:3.2rem}.atendetouch-password-field button{position:absolute;top:50%;right:.35rem;width:38px;height:38px;display:grid;place-items:center;padding:0;color:#475569;background:transparent;border:0;border-radius:8px;transform:translateY(-50%);cursor:pointer}.atendetouch-password-field button:hover,.atendetouch-password-field button:focus-visible{color:#087f73;background:#e6fffa}.atendetouch-login-error{margin:0;padding:.75rem;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px}.atendetouch-login-submit{width:100%;min-height:48px}.atendetouch-login-link{width:100%;padding:.35rem 0;border:none;background:none;color:#0f766e;font-size:.82rem;font-weight:600;text-align:center;cursor:pointer}.atendetouch-login-link:hover{text-decoration:underline}.atendetouch-login-notice{display:flex;align-items:center;justify-content:center;gap:.4rem;margin:0;color:#64748b;font-size:.78rem;text-align:center}.atendetouch-login-switch{margin:0;color:#475569;font-size:.85rem;text-align:center}.atendetouch-login-switch .atendetouch-login-link{display:inline;width:auto;padding:0}.atendetouch-login-success{margin:0;padding:.75rem;color:#065f46;background:#ecfdf5;border:1px solid #5eead4;border-radius:10px}.atendetouch-navbar{display:flex;gap:8px;margin-bottom:14px;padding:8px;border:1px solid #d9e2ec;border-radius:14px;background:#fffffff5}.atendetouch-navbar button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 16px;border:1px solid transparent;border-radius:10px;background:none;color:#475569;font:inherit;font-weight:700;cursor:pointer}.atendetouch-navbar button:hover{background:#f1f5f9}.atendetouch-navbar button[aria-current=page]{border-color:#0ea5a0;background:#ecfdf5;color:#08736f}.atendetouch-users-actions{display:flex;gap:8px}.atendetouch-credential-card{grid-column:1 / -1;display:grid;gap:10px;padding:14px;border:1px solid #5eead4;border-radius:10px;background:#ecfdf5}.atendetouch-credential-card dl{display:grid;gap:6px;margin:0}.atendetouch-credential-card dl>div{display:grid;grid-template-columns:minmax(90px,140px) 1fr;gap:10px}.atendetouch-credential-card dt{color:#475569;font-weight:600}.atendetouch-credential-card dd{margin:0;font-weight:700;overflow-wrap:anywhere}.atendetouch-credential-secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.75rem;letter-spacing:.22em;-webkit-user-select:all;-moz-user-select:all;user-select:all}.atendetouch-credential-card small{color:#475569}.remote-read-header-actions{display:grid;justify-items:end;gap:.55rem}.remote-cloud-login-error{margin:0;padding:.7rem;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px}.remote-device-activation{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(180px,1fr) minmax(140px,.7fr) auto;align-items:end;gap:12px;margin-bottom:14px;padding:14px;border:1px solid #bae6fd;border-radius:12px;background:#f0f9ff}.remote-device-activation>div:first-child,.remote-device-activation label{display:grid;gap:5px}.remote-device-activation small{color:#64748b}.remote-device-activation input,.remote-device-activation select{min-width:0;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.remote-device-activation-code{grid-column:1 / -1;padding:12px;border:1px solid #5eead4;border-radius:10px;background:#ecfdf5}.remote-device-activation-code strong,.remote-device-activation-code span,.remote-device-activation-code small{display:block}.remote-device-activation-code strong{margin:5px 0;font-size:1.5rem;letter-spacing:.14em}@media (max-width: 720px){.atendetouch-login-page{min-height:auto;grid-template-columns:1fr;gap:1.25rem;padding:0}.atendetouch-login-brand{padding:.75rem .5rem 0}.atendetouch-login-brand-mark,.atendetouch-login-brand ul{display:none}.atendetouch-login-brand h1{font-size:2.35rem}.atendetouch-login-card{padding:1.2rem;border-radius:16px}.atendetouch-login-switch{margin:0;color:#475569;font-size:.85rem;text-align:center}.atendetouch-login-switch .atendetouch-login-link{display:inline;width:auto;padding:0}.atendetouch-login-success{margin:0;padding:.75rem;color:#065f46;background:#ecfdf5;border:1px solid #5eead4;border-radius:10px}.atendetouch-navbar{display:flex;gap:8px;margin-bottom:14px;padding:8px;border:1px solid #d9e2ec;border-radius:14px;background:#fffffff5}.atendetouch-navbar button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 16px;border:1px solid transparent;border-radius:10px;background:none;color:#475569;font:inherit;font-weight:700;cursor:pointer}.atendetouch-navbar button:hover{background:#f1f5f9}.atendetouch-navbar button[aria-current=page]{border-color:#0ea5a0;background:#ecfdf5;color:#08736f}.atendetouch-users-actions{display:flex;gap:8px}.atendetouch-credential-card{grid-column:1 / -1;display:grid;gap:10px;padding:14px;border:1px solid #5eead4;border-radius:10px;background:#ecfdf5}.atendetouch-credential-card dl{display:grid;gap:6px;margin:0}.atendetouch-credential-card dl>div{display:grid;grid-template-columns:minmax(90px,140px) 1fr;gap:10px}.atendetouch-credential-card dt{color:#475569;font-weight:600}.atendetouch-credential-card dd{margin:0;font-weight:700;overflow-wrap:anywhere}.atendetouch-credential-secret{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.75rem;letter-spacing:.22em;-webkit-user-select:all;-moz-user-select:all;user-select:all}.atendetouch-credential-card small{color:#475569}.remote-read-header-actions{justify-items:stretch}.remote-device-activation{grid-template-columns:1fr}.remote-device-activation .btn-primary{width:100%}}
