/* =========================================================
   Camada de interação (Design Squad v3) — rápida e opcional
   ========================================================= */
:root { --ease: cubic-bezier(.2,.8,.2,1); --glow: 0 0 0 4px rgba(29,74,133,.18); }
body { font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; }
h1, h2, .store, .hero h2, .kpi .value, .paybtn .v, .big-total { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; }

/* transição entre telas */
.page-in { animation: pageIn .22s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }

/* menu lateral: barra indicadora + brilho sutil */
.nav a { position: relative; transition: background .15s, color .15s, transform .15s; }
.nav a:hover { transform: translateX(2px); }
.nav a.active::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: #fff; }
/* No celular o menu é "position: fixed" (app.css); aqui só no computador, senão ele ocupa o topo da tela */
@media (min-width: 861px) { .side { position: relative; } }
.side::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 200px at 0% 0%, rgba(141,169,196,.18), transparent 70%); }
.side > * { position: relative; z-index: 1; }

/* botões: ondinha, elevação e foco visível */
.btn, .tile, .tool, .paybtn, .pay-methods button { position: relative; overflow: hidden; transition: background .15s, border-color .15s, box-shadow .15s, transform .12s; }
.btn:active, .tool:active, .paybtn:active { transform: scale(.97); }
.btn.primary { box-shadow: 0 4px 14px rgba(19,49,92,.28); }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .18; transform: scale(0); animation: ripple .55s var(--ease); pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
:focus-visible { outline: 3px solid #4f7cc0; outline-offset: 2px; }
input:focus, select:focus, textarea:focus { box-shadow: var(--glow); }

/* modais e toasts */
.overlay { animation: fadeIn .16s ease both; backdrop-filter: blur(3px); }
.modal { animation: popIn .2s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.toast { display: flex; align-items: center; gap: 10px; position: relative; overflow: hidden; padding-bottom: 13px; }
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.55); animation: toastBar var(--dur, 3.5s) linear forwards; }
@keyframes toastBar { from { width: 100%; } to { width: 0; } }
.toast.live { background: linear-gradient(90deg, var(--navy), var(--primary)); border-left: 4px solid #8da9c4; }

/* início: entrada em cascata, brilho que passa no bloco */
.tile { animation: rise .32s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.tile .ti { transition: transform .2s var(--ease), background .2s, color .2s; }
.tile:hover .ti { transform: scale(1.1) rotate(-4deg); background: var(--primary); color: #fff; }
.tile.main:hover .ti { background: #fff; color: var(--navy); }
.tile::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .5s var(--ease); pointer-events: none; }
.tile:hover::after { left: 120%; }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
.hero > * { position: relative; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; vertical-align: middle; margin-right: 6px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.status-dot.on { animation: pulse 2s infinite; }
.kpi { animation: rise .3s var(--ease) both; }

/* caixa: retorno de bipagem */
.cx-head { position: relative; overflow: hidden; }
.cx-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.cx-head > * { position: relative; }
.cx-entry input { transition: border-color .15s, box-shadow .15s; }
.cx-entry input:focus { box-shadow: 0 0 0 5px rgba(29,74,133,.16), 0 8px 24px rgba(11,37,69,.12); }
.fx-shake { animation: shake .32s ease; border-color: var(--danger) !important; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.fx-ok { animation: okGlow .5s ease; }
@keyframes okGlow { 0% { box-shadow: 0 0 0 6px rgba(31,138,76,.35); border-color: #1f8a4c; } }
tr.fx-flash td { animation: rowIn .7s var(--ease); }
@keyframes rowIn { 0% { background: #d6e4f7; opacity: .3; } 40% { background: #d6e4f7; opacity: 1; } }
.fx-bump { animation: bump .28s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.paybtn { background-image: linear-gradient(135deg, #1d4a85 0%, var(--primary) 40%, var(--navy) 100%); background-size: 200% 200%; animation: payShine 6s ease infinite; }
@keyframes payShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.pay-methods button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pay-methods button.on kbd { border-color: #fff; }
.pay-methods button .ico-svg { transition: transform .2s var(--ease); }
.pay-methods button:hover .ico-svg { transform: translateY(-2px) scale(1.1); }
.sound-toggle { opacity: .85; }

/* check animado */
.check-anim circle { stroke: var(--ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .5s var(--ease) forwards; }
.check-anim path { stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* gráficos crescendo */
.bar .fill { transform-origin: left; animation: growX .7s var(--ease) both; }
.hours .colbar { transform-origin: bottom; animation: growY .6s var(--ease) both; }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }
.hours .col:hover .colbar { background: #1d4a85; }

/* carregamento */
.skel-wrap { display: flex; flex-direction: column; gap: 10px; }
.skel { height: 46px; border-radius: 10px; background: linear-gradient(90deg, #e8eef6 25%, #f5f8fc 50%, #e8eef6 75%); background-size: 200% 100%; animation: skel 1.1s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* tabelas: linha interativa */
table.t tr.click td { transition: background .12s; }
table.t tr.click:hover td:first-child { box-shadow: inset 3px 0 0 var(--primary); }

/* busca universal (Ctrl+K) */
.cmdk { position: fixed; inset: 0; z-index: 90; background: rgba(7,26,51,.45); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; animation: fadeIn .14s ease both; }
.cmdk-box { width: min(640px, calc(100% - 32px)); background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(7,26,51,.35); overflow: hidden; animation: popIn .18s var(--ease) both; }
.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--primary); }
.cmdk-in input { flex: 1; border: 0; font-size: 18px; padding: 4px 0; outline: none; box-shadow: none !important; }
.cmdk-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.cmdk-sec { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.cmdk-it { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.cmdk-it .ci { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.cmdk-it .cs { font-size: 12px; color: var(--muted); }
.cmdk-it.sel { background: var(--primary-soft); }
.cmdk-it.sel .ci { background: var(--primary); color: #fff; }
.cmdk-empty { padding: 26px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; gap: 14px; padding: 8px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); background: var(--surface-2); }
.cmdk-hint { display: flex; align-items: center; gap: 8px; width: calc(100% - 20px); margin: 6px 10px 4px; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #c9d6e8; cursor: pointer; font-size: 13px; }
.cmdk-hint:hover { background: rgba(255,255,255,.12); color: #fff; }
.cmdk-hint kbd { margin-left: auto; font-size: 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; padding: 0 5px; font-family: inherit; }

/* ---------- Caixa: painel de números em blocos vivos ---------- */
.cx-panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; animation: rise .3s var(--ease) both; }
.cx-panel-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; background: linear-gradient(110deg, var(--navy) 0%, var(--primary) 75%, #1d4a85 100%); color: #fff; }
.cx-panel-h h2 { margin: 0; font-size: 20px; }
.cx-panel-h .small { color: #c9d6e8; }
.cx-panel-h .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.cx-panel-h .btn:hover { background: rgba(255,255,255,.2); }
.cx-panel-h .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }
.cx-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; flex: none; }
.cx-badge.off { background: var(--primary-soft); color: var(--primary); }
.nb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.nb { --c: #13315c; position: relative; overflow: hidden; border-radius: 16px; padding: 16px 16px 14px; color: #fff; min-height: 128px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(140deg, var(--c) 0%, color-mix(in srgb, var(--c) 85%, #000) 60%, color-mix(in srgb, var(--c) 70%, #000) 100%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 30%, transparent); animation: rise .35s var(--ease) both; transition: transform .15s var(--ease); }
.nb:hover { transform: translateY(-2px); }
.nb-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: 6px; }
.nb-wm { position: absolute; right: -14px; bottom: -18px; opacity: .14; pointer-events: none; }
.nb-k { font-size: 14px; font-weight: 600; opacity: 1; letter-spacing: .01em; }
.nb-v { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; }
.nb-v.big { font-size: 40px; }
.nb-s { font-size: 13px; opacity: 1; margin-top: auto; }
.hero-nb { grid-column: span 2; grid-row: span 2; min-height: 268px; padding: 20px; }
.hero-nb .nb-ico { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; }
.hero-nb .nb-k { font-size: 15px; }
.hero-nb .nb-v.big { font-size: 52px; margin-top: 4px; }
.nb-grid .nb:nth-child(2) { animation-delay: 40ms; } .nb-grid .nb:nth-child(3) { animation-delay: 80ms; } .nb-grid .nb:nth-child(4) { animation-delay: 120ms; }
.nb-grid .nb:nth-child(5) { animation-delay: 160ms; } .nb-grid .nb:nth-child(6) { animation-delay: 200ms; } .nb-grid .nb:nth-child(n+7) { animation-delay: 240ms; }
.cx-closed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cx-closed-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px dashed #c4d3e8; border-radius: 14px; padding: 14px 16px; }
.empty-cx { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed #c4d3e8; border-radius: 18px; margin-bottom: 18px; }
.empty-cx .ill { width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 28px; display: grid; place-items: center; color: var(--primary); background: radial-gradient(circle at 30% 30%, #fff, var(--primary-soft)); box-shadow: inset 0 0 0 1px #d6e2f2; }
.empty-cx h2 { margin: 4px 0; }
@media (max-width: 1100px) { .nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nb-grid { grid-template-columns: 1fr; } .hero-nb { grid-column: span 1; grid-row: span 1; min-height: 160px; } }

/* ---------- pagamento: linha com acréscimo no cartão ---------- */
.pay-list .pl { flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 10px 0; }
.pay-list .pl > b { align-self: center; }
.pf { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pf input, .pf select { width: 110px; text-align: right; font-size: 15px; text-transform: none; letter-spacing: 0; }
.pf.pct input { width: 80px; border-color: #f0c36d; background: #fffbf0; }
.pay-list .pl.card-pay { background: linear-gradient(90deg, #f7f9fd, #fff); border-radius: 10px; padding: 10px; border: 1px solid var(--border); margin-bottom: 6px; }
.charge { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; padding: 4px 10px; border-radius: 10px; background: var(--primary-soft); }
.charge span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.charge b { font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.charge em { font-style: normal; font-size: 12px; color: var(--warn); font-weight: 600; }

/* ---------- Remarketing ---------- */
.rm-hero { background: linear-gradient(115deg, var(--navy) 0%, var(--primary) 65%, #1d4a85 100%); color: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.rm-hero-t { display: flex; gap: 14px; align-items: flex-start; }
.rm-hero-t h2 { margin: 0 0 4px; font-size: 22px; }
.rm-hero-t .small { color: #c9d6e8; max-width: 780px; }
.rm-ico { width: 54px; height: 54px; border-radius: 15px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.rm-buckets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.rm-b { --c: #1d4ed8; border: 0; cursor: pointer; text-align: left; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 85%, #000) 60%, color-mix(in srgb, var(--c) 70%, #000)); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform .15s var(--ease), outline-color .15s; outline: 3px solid transparent; outline-offset: 2px; }
.rm-b:hover { transform: translateY(-2px); }
.rm-b.on { outline-color: #fff; }
.rm-b.static { cursor: default; }
.rm-bv { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; }
.rm-bl { font-size: 12.5px; opacity: .92; font-weight: 600; }
.rm-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 14px 0 10px; }
.rm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.rm-card { --c: #1d4ed8; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--c); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow); animation: rise .3s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); transition: transform .15s var(--ease), box-shadow .15s; }
.rm-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,37,69,.12); }
.rm-card.done { opacity: .75; }
.rm-top { display: flex; align-items: center; gap: 12px; }
.rm-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.rm-who { min-width: 0; flex: 1; }
.rm-who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-score { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stars { display: inline-flex; gap: 1px; color: #d5dce6; }
.stars .on { color: #f59e0b; }
.stars .on svg { fill: #f59e0b; }
.rm-since { display: flex; gap: 6px; flex-wrap: wrap; }
.rm-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.rm-pill.ok { --c: #15803d; }
.rm-last { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.rm-lk { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.rm-items { margin: 4px 0 6px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rm-nums { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.rm-nums b { color: var(--text); }
.rm-actions { display: flex; gap: 8px; }
.rm-wa { flex: 1; justify-content: center; background: #15803d; border-color: #15803d; color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(22,163,74,.3); }
.rm-wa:hover { background: #15803d; }
.rm-wa:disabled { background: #cbd5e1; border-color: #cbd5e1; box-shadow: none; }
@media (max-width: 1100px) { .rm-buckets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-list { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- WhatsApp embutido ---------- */
.wa-page { display: grid; gap: 16px; }
.wa-page h3.mt0 { margin-top: 0; }
.wa-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.wa-big { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #e2e8f0; color: #64748b; flex: none; }
.wa-big.ok { background: #dcfce7; color: #15803d; }
.wa-big.warn { background: #fef3c7; color: #b45309; }
.wa-big.bad { background: #fee2e2; color: #b91c1c; }
.wa-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.wa-badge { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: #e2e8f0; color: #475569; vertical-align: middle; }
.wa-badge.ok { background: #dcfce7; color: #15803d; }
.wa-badge.warn { background: #fef3c7; color: #b45309; }
.wa-badge.bad { background: #fee2e2; color: #b91c1c; }
.wa-page .mt-s { margin-top: 8px; }
.wa-qr { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--primary-soft); }
.wa-qr img { width: 260px; height: 260px; background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 6px 20px rgba(11,37,69,.15); }
.wa-qr ol { margin: 0; padding-left: 20px; line-height: 1.9; font-size: 15px; }
.wa-tips { margin-top: 14px; font-size: 14px; }
.wa-tips summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.wa-tips ul { margin: 8px 0 0; line-height: 1.7; }
.wa-send { display: grid; gap: 12px; min-width: min(520px, 80vw); }
.wa-send textarea { width: 100%; resize: vertical; font: inherit; }
.wa-to { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); flex-wrap: wrap; }
.wa-to > div { flex: 1; }
.wa-to small { display: block; color: var(--muted, #64748b); }
.wa-ic { width: 40px; height: 40px; border-radius: 50%; background: #15803d; color: #fff; display: grid; place-items: center; }
.wa-st { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #e2e8f0; color: #475569; }
.wa-st.ok { background: #dcfce7; color: #15803d; }
.modal footer .btn .ico-svg { vertical-align: -3px; }

/* ---------- aviso de atualização ---------- */
.upd-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9000; display: flex; align-items: center; gap: 12px;
  background: #0b2545; color: #fff; padding: 10px 12px 10px 16px; border-radius: 14px; box-shadow: 0 12px 36px rgba(7,26,51,.35);
  max-width: calc(100vw - 32px); flex-wrap: wrap; animation: upd-in .35s ease-out; }
.upd-bar .btn.primary { background: #fff; color: #0b2545; border-color: #fff; }
.upd-bar .btn.ghost { color: #c9d6ea; }
@keyframes upd-in { from { transform: translate(-50%, 30px); opacity: 0; } }

/* ---------- caixa: valor alterado e vendedor no pagamento ---------- */
.price-cell { font-variant-numeric: tabular-nums; cursor: pointer; }
.price-cell s { color: var(--muted, #64748b); font-weight: 400; margin-right: 4px; }
.price-cell.changed { background: #fef3c7; color: #92400e; }
.price-cell.changed b { color: #b45309; }
.pay-seller { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 10px auto 2px; padding: 8px 12px;
  background: var(--primary-soft, #e8eef8); border-radius: 12px; max-width: 520px; font-weight: 600; color: var(--navy, #0b2545); }
.pay-seller span { display: inline-flex; align-items: center; gap: 6px; }
.pay-seller select { min-width: 200px; font: inherit; font-weight: 600; }

/* ---------- modo leve (computadores mais simples) ---------- */
.lite *, .lite *::before, .lite *::after { animation: none !important; transition: none !important; }
.lite .overlay, .lite .cmdk { backdrop-filter: none !important; }
/* fundo azul liso no lugar do degradê (o texto dessas áreas é branco) */
.lite .side, .lite .hero { background: var(--navy) !important; }
.lite .login-wrap { background: #0b2545 !important; }
.lite .side::after, .lite .hero::before, .lite .hero::after { display: none !important; }
.lite .tile, .lite .card, .lite .modal, .lite .upd-bar { box-shadow: none !important; }
.lite .check-anim circle, .lite .check-anim path { stroke-dashoffset: 0 !important; }

/* ---------- etiquetas ---------- */
.lbl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .lbl-grid { grid-template-columns: 1fr; } }
.lbl-grid h2.mt0 { margin-top: 0; }
.lbl-add { position: relative; }
.lbl-add input { width: 100%; font-size: 18px; padding: 12px 14px; border: 2px solid var(--primary, #13315c); border-radius: 12px; }
.lbl-add .results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; border: 1px solid var(--border, #d6dfeb);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(11,37,69,.18); max-height: 380px; overflow: auto; }
.lbl-add .results .r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eef2f7; }
.lbl-add .results .r:hover { background: var(--primary-soft, #e8eef8); }
.lbl-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 4px; }
.lbl-prev { width: 100%; height: 300px; border: 1px solid var(--border, #d6dfeb); border-radius: 12px; background: #e9eef5; }
.print-ask { margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--primary-soft, #e8eef8); color: var(--navy, #0b2545); font-size: 18px; font-weight: 700; text-align: center; }


/* Indicador "aguarde" (emissão de nota fiscal) */
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--primary, #1d3a8a); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
