/* Vorlab OS v2 — área de trabalho em vidro escuro */
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(../fonts/manrope-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  --noite: #0B1F3A; --marinho: #12325C; --ardosia: #3B4A63; --nevoa: #F4F6FA; --lente: #E3E9F2;
  --feixe: #E8541A; --feixe-luz: #FF7A45; --feixe-escuro: #C2410C;
  --m-portal: #2FA36B; --m-producao: #2E7CF6; --m-estoque: #7B5CF0; --m-rotas: #E0A100; --m-financeiro: #E8541A; --m-loja: #D9467A;
  --wl: #12325C; --wl-ink: #fff; --wl-accent: #E8541A; --wl-accent-ink: #fff;

  --ink: #F4F6FA;
  --ink-2: rgba(227, 233, 242, .66);
  --ink-3: rgba(227, 233, 242, .42);
  --line: rgba(227, 233, 242, .09);
  --line-2: rgba(227, 233, 242, .16);
  --fill: rgba(227, 233, 242, .06);
  --fill-2: rgba(227, 233, 242, .1);

  --glass: rgba(13, 30, 54, .58);
  --glass-deep: rgba(8, 20, 38, .62);
  --blur: blur(30px) saturate(1.7);

  --r-win: 14px; --r-panel: 10px; --r-ctl: 8px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --menubar-h: 30px;
  --dock-pad: 96px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #06121f; }
body { font: 400 13px/1.45 Inter, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--feixe-luz); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- cena 3D ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.lens-fallback { display: none; }
.no-webgl #scene { background: radial-gradient(120% 90% at 55% 42%, #163a68, #0d2546 45%, #06121f); }
.no-webgl .lens-fallback { display: block; position: fixed; z-index: 0; width: 360px; height: 360px; border-radius: 50%; object-fit: cover; left: calc(50% + 140px); top: 22%; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }

/* ---------- vidro ---------- */
.glass { position: relative; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.glass::before { /* borda de luz: mais clara em cima, some embaixo */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .03) 70%, rgba(255, 255, 255, .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- login ---------- */
#login { position: fixed; inset: 0; z-index: 5; display: grid; grid-template-rows: auto 1fr auto auto; row-gap: 28px; justify-items: center; padding: 6vh 24px 4vh; text-align: center; }
.lock-time { font: 700 clamp(64px, 9vw, 112px)/1 Manrope, sans-serif; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: rgba(244, 246, 250, .94); text-shadow: 0 8px 40px rgba(0, 0, 0, .35); }
.lock-date { font: 600 17px/1.2 Manrope, sans-serif; color: var(--ink-2); margin-bottom: 8px; }
.lock-users { display: flex; gap: 40px; align-items: flex-start; justify-content: center; }
.lock-user { background: none; border: 0; padding: 0; display: grid; justify-items: center; gap: 10px; color: var(--ink); width: 112px; }
.lock-avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font: 700 26px Manrope, sans-serif; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); box-shadow: 0 16px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.lock-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lock-avatar.op { background: linear-gradient(160deg, #3B4A63, #1b2a44); }
.lock-user span { font-weight: 600; font-size: 14px; }
.lock-user small { color: var(--ink-3); font-size: 12px; margin-top: -8px; }
.lock-user:hover .lock-avatar { transform: translateY(-3px); }
.lock-users.picked .lock-user:not(.on) { display: none; }
.lock-pass { margin: 18px auto 0; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 4px 0 14px; border-radius: 999px; width: 220px; }
.lock-pass input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; letter-spacing: .3em; }
.lock-pass input::placeholder { letter-spacing: 0; color: var(--ink-3); }
.lock-pass button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.lock-pass button:hover { background: var(--feixe); }
.lock-hint { font-size: 12px; color: var(--ink-3); margin-top: 12px; min-height: 18px; }
.lock-hint.err { color: #ffb08f; }
.lock-back { margin-top: 6px; background: none; border: 0; color: var(--ink-2); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.lock-foot { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 12px; }
.lock-foot .sep { width: 1px; height: 16px; background: var(--line-2); }
.shake { animation: shake .42s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }

/* ---------- marca ---------- */
.wordmark { display: inline-flex; align-items: center; font: 800 1em/1 Manrope, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.wl-mark { display: inline-grid; place-items: center; border-radius: 28%; background: var(--wl); color: var(--wl-ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32), 0 1px 2px rgba(0, 0, 0, .2); font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.02em; flex-shrink: 0; }

/* ---------- área de trabalho ---------- */
#desktop { position: fixed; inset: 0; z-index: 2; }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: var(--menubar-h); z-index: 9000; display: flex; align-items: center; gap: 4px; padding: 0 10px; font-size: 13px;
  background: rgba(8, 20, 38, .38); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 .5px 0 rgba(255, 255, 255, .08); }
.mb-btn { height: 22px; padding: 0 9px; border-radius: 5px; background: none; border: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); white-space: nowrap; }
.mb-btn:hover, .mb-btn[aria-expanded=true] { background: rgba(255, 255, 255, .12); }
.mb-app { font-weight: 700; font-family: Manrope, sans-serif; }
.mb-dim { color: var(--ink-2); }
.mb-spacer { flex: 1; }
.mb-sync { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; padding: 0 8px; }
.mb-sync i { width: 6px; height: 6px; border-radius: 50%; background: var(--m-portal); box-shadow: 0 0 0 3px rgba(47, 163, 107, .18); }
.mb-lab { display: inline-flex; align-items: center; gap: 7px; }
.mb-lab img { height: 16px; width: auto; }
.mb-lino img { width: 18px; height: 18px; border-radius: 50%; }
.mb-menu { position: absolute; top: calc(var(--menubar-h) + 4px); min-width: 230px; padding: 5px; border-radius: 10px; z-index: 9500; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.mb-menu button { display: flex; width: 100%; text-align: left; padding: 5px 10px; border-radius: 6px; background: none; border: 0; justify-content: space-between; gap: 20px; }
.mb-menu button:hover { background: var(--feixe); }
.mb-menu kbd { font: 500 12px Inter; color: var(--ink-3); }
.mb-menu button:hover kbd { color: rgba(255, 255, 255, .8); }
.mb-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 6px; }
.mb-menu .about { padding: 10px 10px 8px; color: var(--ink-2); font-size: 12px; line-height: 1.5; }

/* desfoque progressivo atrás da barra e do dock */
.pblur { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 8000; }
.pblur > div { position: absolute; inset: 0; }
.pblur.bottom { bottom: 0; height: 150px; }
.pblur.bottom > div:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); mask: linear-gradient(to bottom, transparent 0%, #000 25%, #000 50%, transparent 75%); -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 25%, #000 50%, transparent 75%); }
.pblur.bottom > div:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); mask: linear-gradient(to bottom, transparent 25%, #000 50%, #000 75%, transparent 100%); -webkit-mask: linear-gradient(to bottom, transparent 25%, #000 50%, #000 75%, transparent 100%); }
.pblur.bottom > div:nth-child(3) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); mask: linear-gradient(to bottom, transparent 50%, #000 75%, #000 100%); -webkit-mask: linear-gradient(to bottom, transparent 50%, #000 75%, #000 100%); }
.pblur.bottom > div:nth-child(4) { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); mask: linear-gradient(to bottom, transparent 75%, #000 100%); -webkit-mask: linear-gradient(to bottom, transparent 75%, #000 100%); }

/* ---------- widgets da mesa ---------- */
.widgets { position: absolute; top: calc(var(--menubar-h) + 22px); left: 22px; width: 300px; display: grid; gap: 14px; z-index: 10; }
.widget { border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
.w-today .w-date { display: flex; align-items: baseline; gap: 10px; }
.w-today .w-day { font: 800 44px/1 Manrope, sans-serif; letter-spacing: -.04em; }
.w-today .w-dow { font: 600 14px/1.3 Manrope, sans-serif; color: var(--ink-2); }
.w-today .w-dow b { display: block; color: var(--feixe-luz); font-weight: 700; }
.w-rows { margin-top: 12px; display: grid; }
.w-row { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; color: var(--ink); }
.w-row:hover span { color: var(--ink); }
.w-row span { color: var(--ink-2); }
.w-row b { font: 700 17px Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.w-row.alert b { color: #ffb08f; }
.w-lino { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.w-lino img { width: 40px; height: 40px; border-radius: 50%; }
.w-lino p { margin: 0 0 10px; color: var(--ink); line-height: 1.5; }
.w-lino p strong { color: var(--feixe-luz); font-weight: 600; }
.w-lino .who { display: block; font: 700 12px Manrope, sans-serif; color: var(--ink-3); margin-bottom: 3px; }

/* ---------- dock ---------- */
.dock-wrap { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; z-index: 8500; pointer-events: none; }
.dock { pointer-events: auto; display: flex; align-items: flex-end; gap: 4px; padding: 7px 10px 7px; border-radius: 24px; height: 74px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08); background: rgba(13, 30, 54, .42); }
.dock-sep { width: 1px; align-self: stretch; margin: 8px 6px; background: var(--line-2); }
.dock-item { position: relative; width: 58px; height: 58px; flex-shrink: 0; border: 0; padding: 0; background: none; display: grid; place-items: end center; }
.dock-item img, .dock-item .dk-ico { width: 100%; height: 100%; display: block; border-radius: 50%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); user-select: none; -webkit-user-drag: none; }
.dock-item::after { content: ''; position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); opacity: 0; transition: opacity .3s; }
.dock-item.running::after { opacity: .85; }
.dock-item .tip { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translate(-50%, 4px); padding: 4px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; background: rgba(13, 30, 54, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .15), 0 8px 20px rgba(0, 0, 0, .4); }
.dock-item:hover .tip, .dock-item:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.dock-item .badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--feixe); color: #fff; font: 700 11.5px/20px Inter; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.dk-ico.ajustes { background: radial-gradient(circle at 35% 30%, #fff, #e4eaf3 55%, #c9d3e2); box-shadow: inset 0 0 0 5px #12325C, inset 0 0 0 6px rgba(255,255,255,.5); display: grid; place-items: center; }
.dk-ico.ajustes svg { width: 52%; height: 52%; }

/* ---------- janelas ---------- */
#windows { position: absolute; inset: 0; z-index: 100; pointer-events: none; }
.win { position: absolute; pointer-events: auto; border-radius: var(--r-win); display: flex; flex-direction: column; overflow: hidden; min-width: 420px; min-height: 300px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .2), 0 40px 90px -20px rgba(0, 0, 0, .7); transform-origin: 50% 100%; will-change: transform; }
.win.blurred { box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), 0 20px 50px -20px rgba(0, 0, 0, .55); }
.win.blurred .win-bar { opacity: .7; }
.win.max { border-radius: 0; }
.win-bar { height: 46px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 14px; cursor: default; user-select: none; touch-action: none; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.lights { display: flex; gap: 8px; }
.lights button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.lights svg { width: 8px; height: 8px; opacity: 0; }
.lights:hover svg { opacity: .7; }
.l-close { background: var(--feixe); } .l-min { background: var(--m-rotas); } .l-max { background: var(--m-portal); }
.win.blurred .lights button { background: rgba(255, 255, 255, .18); }
.win-title { display: flex; align-items: center; gap: 8px; font: 700 13.5px Manrope, sans-serif; white-space: nowrap; min-width: 0; }
.win-title img { width: 20px; height: 20px; border-radius: 50%; }
.win-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.win-body { flex: 1; min-height: 0; display: flex; }
.win-resize { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; cursor: nwse-resize; touch-action: none; }

/* layout interno */
.side { width: 196px; flex-shrink: 0; padding: 10px 8px; background: rgba(4, 12, 24, .28); border-right: 1px solid var(--line); overflow: auto; }
.side h4 { margin: 12px 10px 4px; font: 600 11.5px Inter; color: var(--ink-3); }
.side h4:first-child { margin-top: 2px; }
.side button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; background: none; border: 0; text-align: left; color: var(--ink); }
.side button:hover { background: var(--fill); }
.side button.on { background: var(--fill-2); }
.side button .ct { margin-left: auto; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.side button .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.main { flex: 1; min-width: 0; overflow: auto; padding: 20px 22px 26px; }
.main.flush { padding: 0; }
.main h2 { margin: 0; font: 700 22px/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.main .sub { color: var(--ink-2); margin: 4px 0 18px; }
.row-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

/* controles */
.btn { height: 30px; padding: 0 13px; border-radius: var(--r-ctl); border: 0; background: var(--fill-2); color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .06); transition: background .15s; }
.btn:hover { background: rgba(227, 233, 242, .16); }
.btn:active { transform: translateY(.5px); }
.btn-primary { background: var(--feixe); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .3); }
.btn-primary:hover { background: #f0612a; }
.btn-ghost { background: none; box-shadow: none; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--fill); }
.btn-lg { height: 40px; font-size: 14px; font-weight: 600; padding: 0 18px; border-radius: 10px; }
.btn svg { width: 15px; height: 15px; }
.input, .select { height: 32px; width: 100%; padding: 0 10px; border-radius: var(--r-ctl); border: 0; background: rgba(4, 12, 24, .38); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); outline: 0; }
.input:focus, .select:focus { box-shadow: inset 0 0 0 1px var(--feixe-luz), 0 0 0 3px rgba(232, 84, 26, .22); }
.select { appearance: none; padding-right: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c9d3e2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.select option { background: #0f2340; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.search { position: relative; width: 230px; }
.search .input { padding-left: 30px; height: 28px; background: rgba(4, 12, 24, .3); }
.search svg { position: absolute; left: 9px; top: 7px; width: 14px; height: 14px; color: var(--ink-3); }
.seg { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(4, 12, 24, .35); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 26px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font-weight: 500; }
.seg button.on { background: rgba(227, 233, 242, .14); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }

/* status */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.st i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.st-aguardando_lente { --c: #A994FF; } .st-aguardando_coleta { --c: #F2C14E; } .st-recebida { --c: #4FC3D0; } .st-producao { --c: #6FA8FF; }
.st-conferencia { --c: #B8C4D9; } .st-pronta { --c: #5ED39A; } .st-entregue { --c: #7d8ca6; }
.late { color: #ffb08f; font-weight: 600; }

/* ---------- painel ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-panel); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.kpi { padding: 14px 16px; border-left: 1px solid var(--line); background: none; border-top: 0; border-right: 0; border-bottom: 0; text-align: left; color: var(--ink); }
.kpi:first-child { border-left: 0; }
.kpi:hover { background: var(--fill); }
.kpi b { display: block; font: 700 30px/1.1 Manrope, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--ink-2); font-size: 12.5px; }
.kpi.alert b { color: #ffb08f; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; margin-top: 24px; }
.block h3 { margin: 0 0 10px; font: 700 14px Manrope, sans-serif; display: flex; justify-content: space-between; align-items: baseline; }
.block h3 small { font: 500 12px Inter; color: var(--ink-3); }
.list { display: grid; }
.li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; color: var(--ink); width: 100%; }
.li:hover { background: var(--fill); }
.li .n { font: 700 12.5px Manrope; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.li .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .t small { color: var(--ink-3); margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 8px; }
.bars div { flex: 1; display: grid; gap: 6px; justify-items: center; height: 100%; align-content: end; }
.bars i { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(111, 168, 255, .9), rgba(46, 124, 246, .5)); min-height: 3px; }
.bars div.today i { background: linear-gradient(180deg, var(--feixe-luz), rgba(232, 84, 26, .55)); }
.bars span { font-size: 11px; color: var(--ink-3); }

/* ---------- produção: quadro ---------- */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(208px, 1fr); gap: 10px; padding: 16px; overflow-x: auto; height: 100%; align-items: start; }
.col { border-radius: 12px; background: rgba(4, 12, 24, .26); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; max-height: 100%; min-height: 120px; }
.col-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; }
.col-h .ct { font: 700 12px Manrope; color: var(--ink-3); }
.col-b { padding: 0 8px 8px; display: grid; gap: 6px; overflow: auto; }
.col.drop { box-shadow: inset 0 0 0 1.5px var(--feixe-luz); }
.card { text-align: left; padding: 10px 11px; border-radius: 9px; border: 0; background: rgba(227, 233, 242, .07); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08), 0 1px 2px rgba(0, 0, 0, .25); color: var(--ink); display: grid; gap: 4px; cursor: grab; }
.card:hover { background: rgba(227, 233, 242, .11); }
.card.dragging { opacity: .4; }
.card .c1 { display: flex; justify-content: space-between; gap: 8px; font: 700 12.5px Manrope; }
.card .c1 span { font: 500 11.5px Inter; color: var(--ink-3); }
.card .c2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .c3 { font-size: 11.5px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 6px; }
.card.new { box-shadow: inset 0 0 0 1px var(--feixe-luz), 0 0 24px -6px rgba(232, 84, 26, .6); }
.scan { display: flex; align-items: center; gap: 8px; height: 28px; border-radius: 8px; padding: 0 4px 0 10px; background: rgba(4, 12, 24, .3); box-shadow: inset 0 0 0 1px var(--line-2); }
.scan svg { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
.scan input { width: 150px; background: none; border: 0; outline: 0; }

/* ficha da OS */
.sheet { position: absolute; inset: 46px 0 0 auto; width: min(420px, 100%); z-index: 5; background: rgba(11, 26, 47, .97); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); border-left: 1px solid var(--line-2); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .6); overflow: auto; padding: 20px 22px; }
.sheet-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-h h3 { margin: 0; font: 800 24px Manrope; letter-spacing: -.02em; }
.sheet-h p { margin: 2px 0 0; color: var(--ink-2); }
.rx { width: 100%; border-collapse: collapse; margin: 16px 0; font-variant-numeric: tabular-nums; }
.rx th { font: 500 11.5px Inter; color: var(--ink-3); text-align: right; padding: 4px 6px; }
.rx th:first-child, .rx td:first-child { text-align: left; }
.rx td { padding: 7px 6px; border-top: 1px solid var(--line); text-align: right; font-weight: 600; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0 0 16px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; }
.track { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; }
.track li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; color: var(--ink-3); position: relative; }
.track li i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); justify-self: center; }
.track li.done { color: var(--ink); } .track li.done i { background: var(--c, var(--ink)); border-color: transparent; }
.track li.now i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.track li small { color: var(--ink-3); font-size: 11.5px; }
.sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* etiqueta (papel) */
.label-paper { background: #fbfcfe; color: #0B1F3A; border-radius: 6px; padding: 12px 14px 10px; width: 100%; max-width: 360px; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 12px 30px -8px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .25);
  background-image: radial-gradient(circle at 0 50%, transparent 5px, transparent 5px), linear-gradient(#fbfcfe, #f1f4f9); font-family: Inter; position: relative; }
.label-paper .lp-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1.5px solid #0B1F3A; padding-bottom: 6px; }
.label-paper .lp-lab { display: flex; align-items: center; gap: 7px; font: 800 12px Manrope; }
.label-paper .lp-num { font: 800 20px Manrope; letter-spacing: -.02em; }
.label-paper .lp-b { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 11px; margin: 7px 0; }
.label-paper .lp-b b { font-weight: 700; }
.label-paper .lp-rx { font: 600 11px Inter; font-variant-numeric: tabular-nums; display: grid; grid-template-columns: 26px 1fr 1fr 1fr; gap: 1px 6px; margin: 6px 0; }
.label-paper .lp-rx span { color: #3B4A63; font-weight: 500; }
.label-paper .barcode { width: 100%; height: 46px; display: block; }
.label-paper .lp-code { text-align: center; font: 600 10.5px Inter; letter-spacing: .25em; margin-top: 2px; }
.label-paper .lp-prazo { background: var(--wl-accent); color: var(--wl-accent-ink); border-radius: 4px; padding: 2px 6px; font-weight: 700; font-size: 11px; white-space: nowrap; }

/* formulário de OS */
.osform-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
.osform-main { display: grid; gap: 14px; align-content: start; }
.f2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
fieldset.rxf { border: 0; padding: 14px; margin: 0; border-radius: var(--r-panel); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
fieldset.rxf legend { padding: 0; margin-bottom: 10px; font: 700 13px Manrope; }
fieldset.rxf legend + * { margin-top: 0; }
.rx-head, .rx-row { display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.rx-head { font-size: 11.5px; color: var(--ink-3); margin-bottom: 4px; }
.rx-row + .rx-row { margin-top: 8px; }
.rx-eye { font: 800 12.5px Manrope; color: var(--ink-2); }
.osform-side { display: grid; gap: 12px; align-content: start; position: sticky; top: 0; }
.prazo-box { border-radius: 12px; padding: 16px; display: grid; gap: 4px; background: rgba(47, 163, 107, .12); box-shadow: inset 0 0 0 1px rgba(94, 211, 154, .3); }
.prazo-box.is-enc { background: rgba(123, 92, 240, .14); box-shadow: inset 0 0 0 1px rgba(169, 148, 255, .32); }
.pz-tag { font-size: 12px; font-weight: 600; color: #5ED39A; }
.is-enc .pz-tag { color: #A994FF; }
.pz-label { color: var(--ink-2); font-size: 12px; margin-top: 6px; }
.pz-date { font: 800 24px/1.15 Manrope; letter-spacing: -.02em; }
.pz-sub { color: var(--ink-2); font-size: 12px; }
.pz-valor { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.form-erro { color: #ffb08f; margin: 0; min-height: 18px; font-size: 12.5px; }

/* ---------- estoque ---------- */
.grade-wrap { overflow: auto; border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px var(--line); }
.grade { border-collapse: separate; border-spacing: 2px; font-variant-numeric: tabular-nums; font-size: 11.5px; margin: 6px; }
.grade th { font-weight: 500; color: var(--ink-3); padding: 2px 4px; white-space: nowrap; position: sticky; left: 0; background: rgba(10, 24, 44, .9); }
.grade thead th { position: sticky; top: 0; z-index: 1; }
.grade td { width: 40px; height: 24px; text-align: center; border-radius: 4px; font-weight: 600; background: rgba(123, 92, 240, var(--a)); color: rgba(244, 246, 250, var(--t)); }
.grade td.low { box-shadow: inset 0 0 0 1px rgba(255, 176, 143, .55); color: #ffb08f; background: rgba(232, 84, 26, .1); }
.grade td.zero { background: rgba(4, 12, 24, .35); color: var(--ink-3); }
.legend { display: flex; gap: 16px; color: var(--ink-3); font-size: 12px; margin-top: 10px; align-items: center; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.compra { border-radius: var(--r-panel); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; margin-bottom: 12px; }
.compra-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.compra-h b { font: 700 14px Manrope; } .compra-h small { color: var(--ink-3); display: block; font-size: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { font: 500 11.5px Inter; color: var(--ink-3); text-align: left; padding: 6px 8px; }
.tbl td { padding: 8px; border-top: 1px solid var(--line); }
.tbl .r { text-align: right; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: var(--fill); }

/* ---------- rotas ---------- */
.days { display: flex; gap: 6px; margin-bottom: 16px; }
.days button { flex: 1; padding: 8px 0; border-radius: 10px; border: 0; background: var(--fill); color: var(--ink-2); display: grid; gap: 2px; justify-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.days button b { font: 700 18px Manrope; color: var(--ink); }
.days button.on { background: rgba(224, 161, 0, .16); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .5); }
.days button.on b { color: #F2C14E; }
.stops { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.stop { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); position: relative; }
.stop::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 12px Manrope; background: rgba(224, 161, 0, .18); color: #F2C14E; box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .4); }
.stop.ok::before { content: '✓'; background: rgba(47, 163, 107, .2); color: #5ED39A; box-shadow: inset 0 0 0 1px rgba(94, 211, 154, .4); }
.stop h4 { margin: 2px 0 4px; font: 700 14.5px Manrope; }
.stop p { margin: 0; color: var(--ink-2); }
.stop .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--fill-2); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip.out { background: rgba(94, 211, 154, .14); color: #8be3b6; } .chip.in { background: rgba(242, 193, 78, .14); color: #f6d27f; }
.map { border-radius: 12px; overflow: hidden; position: relative; height: 180px; margin-bottom: 14px; background: rgba(4, 12, 24, .35); box-shadow: inset 0 0 0 1px var(--line); }
.map svg { width: 100%; height: 100%; display: block; }

/* ---------- financeiro ---------- */
.money-h { display: flex; gap: 28px; margin-bottom: 20px; flex-wrap: wrap; }
.money-h div span { display: block; color: var(--ink-2); font-size: 12px; }
.money-h div b { font: 700 26px/1.2 Manrope; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.money-h .warn b { color: #ffb08f; }
.pill { display: inline-flex; height: 22px; padding: 0 9px; align-items: center; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.p-aberto { background: rgba(111, 168, 255, .14); color: #9cc2ff; } .p-pago { background: rgba(94, 211, 154, .14); color: #8be3b6; }
.p-a_receber { background: rgba(242, 193, 78, .14); color: #f6d27f; } .p-atrasado { background: rgba(232, 84, 26, .18); color: #ffb08f; }

/* ---------- navegador simulado (portal e loja) ---------- */
.browser { display: flex; flex-direction: column; height: 100%; width: 100%; }
.b-url { height: 38px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(4, 12, 24, .25); }
.b-url .u { flex: 1; max-width: 420px; margin: 0 auto; height: 26px; border-radius: 7px; background: rgba(4, 12, 24, .4); display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.b-url .u svg { width: 11px; height: 11px; }
.b-page { flex: 1; overflow: auto; background: #F4F6FA; color: #0B1F3A; color-scheme: light; }
.b-page .input, .b-page .select { background-color: #fff; color: #0B1F3A; box-shadow: inset 0 0 0 1px #d5dce8; }
.b-page .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233B4A63' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.b-page .select option { background: #fff; }
.b-page .field > span { color: #3B4A63; }
.b-page .btn { background: #fff; color: #0B1F3A; box-shadow: inset 0 0 0 1px #d5dce8; }
.b-page .btn-primary { background: var(--wl-accent); color: var(--wl-accent-ink); box-shadow: 0 1px 2px rgba(11, 31, 58, .2); }
.b-page fieldset.rxf { background: #fff; box-shadow: inset 0 0 0 1px #e1e6ef; }
.b-page .rx-head, .b-page .rx-eye { color: #3B4A63; }
.b-page .prazo-box { background: #e7f6ee; box-shadow: inset 0 0 0 1px #bfe6d1; }
.b-page .prazo-box.is-enc { background: #efeafe; box-shadow: inset 0 0 0 1px #d6ccfb; }
.b-page .pz-tag { color: #1E7A4E; } .b-page .is-enc .pz-tag { color: #5a3fd0; }
.b-page .pz-label, .b-page .pz-sub { color: #3B4A63; }
.b-page .pz-valor { border-color: rgba(11, 31, 58, .12); }
.b-page .form-erro { color: #C2410C; }
.b-page .st { color: #3B4A63; }
.b-page .st-aguardando_lente { --c: #6A4FD8; } .b-page .st-aguardando_coleta { --c: #b07d00; } .b-page .st-recebida { --c: #0E7C8A; } .b-page .st-producao { --c: #1D5FC9; } .b-page .st-conferencia { --c: #3B4A63; } .b-page .st-pronta { --c: #1E7A4E; } .b-page .st-entregue { --c: #8796B0; }
.pt-head { background: var(--wl); color: var(--wl-ink); padding: 14px 28px; display: flex; align-items: center; gap: 14px; }
.pt-head .pt-name { font: 800 16px Manrope; letter-spacing: -.01em; }
.pt-head .pt-sub { font-size: 12px; opacity: .72; }
.pt-head nav { margin-left: auto; display: flex; gap: 4px; }
.pt-head nav button { background: none; border: 0; color: inherit; opacity: .75; height: 30px; padding: 0 12px; border-radius: 8px; font-weight: 600; }
.pt-head nav button.on { opacity: 1; background: rgba(255, 255, 255, .16); }
.pt-body { padding: 24px 28px 32px; max-width: 980px; margin: 0 auto; }
.pt-body h2 { font: 800 22px Manrope; letter-spacing: -.02em; margin: 0 0 4px; }
.pt-body .sub { color: #3B4A63; margin: 0 0 18px; }
.pt-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #e1e6ef; }
.pt-table th { text-align: left; font: 500 12px Inter; color: #3B4A63; padding: 10px 12px; background: #f7f9fc; }
.pt-table td { padding: 11px 12px; border-top: 1px solid #edf0f5; font-variant-numeric: tabular-nums; }
.pt-foot { text-align: center; color: #8796B0; font-size: 11.5px; padding: 14px 0 22px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.receipt { max-width: 420px; margin: 0 auto; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #e1e6ef, 0 30px 60px -30px rgba(11, 31, 58, .35); padding: 22px; text-align: center; }
.receipt h3 { font: 800 20px Manrope; margin: 8px 0 2px; }
.receipt .ok { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #e7f6ee; color: #1E7A4E; }

/* loja */
.lj-hero { padding: 36px 32px 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: linear-gradient(180deg, #fff, #F4F6FA); }
.lj-hero h2 { font: 800 30px/1.1 Manrope; letter-spacing: -.03em; margin: 0 0 10px; }
.lj-hero p { color: #3B4A63; margin: 0 0 16px; font-size: 14px; max-width: 380px; }
.lj-hero img { width: 100%; max-width: 260px; justify-self: center; border-radius: 50%; }
.lj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; padding: 8px 32px 28px; }
.lj-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 0 0 1px #e1e6ef; display: grid; gap: 6px; }
.lj-card .ph { aspect-ratio: 4/3; border-radius: 8px; background: radial-gradient(circle at 50% 45%, #fff 0, #eef2f8 45%, #dfe6f0); display: grid; place-items: center; }
.lj-card .ph i { width: 54%; aspect-ratio: 1; border-radius: 50%; border: 7px solid #12325C; background: radial-gradient(circle at 35% 30%, #fff, #e9eef7 60%, #d3dcea); box-shadow: 0 10px 20px -8px rgba(11, 31, 58, .4); }
.lj-card b { font: 700 13.5px Manrope; } .lj-card span { color: #3B4A63; font-size: 12px; }
.lj-card strong { font: 800 16px Manrope; }
.lj-flag { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 999px; background: rgba(217, 70, 122, .12); color: #b02d60; font-size: 12px; font-weight: 600; margin-bottom: 12px; }

/* ---------- Lino ---------- */
.lino { display: flex; flex-direction: column; height: 100%; width: 100%; }
.lino-log { flex: 1; overflow: auto; padding: 20px 22px; display: grid; gap: 14px; align-content: start; }
.msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; max-width: 560px; }
.msg img { width: 32px; height: 32px; border-radius: 50%; }
.msg .bubble { padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: var(--fill-2); line-height: 1.55; }
.msg .bubble p { margin: 0 0 6px; } .msg .bubble p:last-child { margin: 0; }
.msg .bubble ul { margin: 4px 0; padding-left: 18px; }
.msg.me { grid-template-columns: minmax(0, 1fr); justify-self: end; }
.msg.me .bubble { background: var(--feixe); color: #fff; border-radius: 14px 4px 14px 14px; }
.lino-sug { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 22px 10px; }
.lino-sug button { height: 28px; padding: 0 11px; border-radius: 999px; border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 12.5px; }
.lino-sug button:hover { background: var(--fill-2); }
.lino-in { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.lino-in .input { height: 36px; border-radius: 10px; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); margin-right: 3px; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- ajustes ---------- */
.set-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
.set-sec { display: grid; gap: 12px; margin-bottom: 22px; }
.set-sec h3 { margin: 0; font: 700 14px Manrope; }
.set-sec .hint { color: var(--ink-3); font-size: 12px; margin: -6px 0 0; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.swatches button.on { box-shadow: 0 0 0 2px #0d1e36, 0 0 0 4px var(--ink); }
.swatches input[type=color] { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; background: conic-gradient(#E8541A, #E0A100, #2FA36B, #2E7CF6, #7B5CF0, #D9467A, #E8541A); overflow: hidden; cursor: pointer; }
.swatches input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.swatches input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; opacity: 0; }
.swatches input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; opacity: 0; }
.logo-drop { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--fill); box-shadow: inset 0 0 0 1px dashed var(--line-2); border: 1px dashed var(--line-2); }
.preview-stack { display: grid; gap: 16px; align-content: start; position: sticky; top: 0; }
.preview-stack h4 { margin: 0 0 8px; font: 600 12px Inter; color: var(--ink-3); }
.mini-portal { border-radius: 12px; overflow: hidden; background: #F4F6FA; color: #0B1F3A; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.mini-portal .pt-head { padding: 12px 16px; }
.mini-portal .mp-b { padding: 14px 16px; display: grid; gap: 8px; }
.mini-portal .mp-b i { display: block; height: 8px; border-radius: 4px; background: #dfe5ee; }
.mini-portal .mp-b .btn { justify-self: start; height: 28px; }
.ot-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ot-row b { font: 700 13.5px Manrope; } .ot-row small { display: block; color: var(--ink-3); }
.wk { display: inline-flex; gap: 2px; }
.wk button { width: 26px; height: 24px; border-radius: 5px; border: 0; background: var(--fill); color: var(--ink-3); font-size: 11px; font-weight: 600; }
.wk button.on { background: rgba(224, 161, 0, .2); color: #F2C14E; }
.ot-row .select { height: 28px; width: auto; }

/* ---------- notificações ---------- */
.toasts { position: absolute; top: calc(var(--menubar-h) + 10px); right: 12px; width: 340px; display: grid; gap: 8px; z-index: 9600; pointer-events: none; }
.toast { pointer-events: auto; border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); cursor: pointer; }
.toast img { width: 36px; height: 36px; border-radius: 50%; }
.toast b { display: flex; justify-content: space-between; font: 700 13px Manrope; }
.toast b small { font: 500 11.5px Inter; color: var(--ink-3); }
.toast p { margin: 2px 0 0; color: var(--ink-2); font-size: 12.5px; }

/* ---------- busca rápida ---------- */
.spot-bg { position: fixed; inset: 0; z-index: 9800; background: rgba(4, 10, 20, .25); }
.spot { position: fixed; top: 18vh; left: 50%; width: min(620px, 92vw); transform: translateX(-50%); z-index: 9900; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.spot-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 56px; }
.spot-in svg { width: 20px; height: 20px; color: var(--ink-2); }
.spot-in input { flex: 1; background: none; border: 0; outline: 0; font: 500 20px Manrope; }
.spot-res { border-top: 1px solid var(--line); max-height: 340px; overflow: auto; padding: 6px; }
.spot-res button { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; background: none; border: 0; color: var(--ink); }
.spot-res button.on, .spot-res button:hover { background: var(--feixe); }
.spot-res button.on small, .spot-res button:hover small { color: rgba(255, 255, 255, .85); }
.spot-res img { width: 24px; height: 24px; border-radius: 50%; }
.spot-res small { color: var(--ink-3); }
.spot-empty { padding: 14px; color: var(--ink-3); }

/* ---------- impressão da etiqueta ---------- */
#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  html, body { background: #fff; overflow: visible; }
  #print-area { display: block; }
  #print-area .label-paper { box-shadow: none; border: 1px solid #000; }
}

/* ---------- telas menores ---------- */
@media (max-width: 900px) {
  .widgets { display: none; }
  .win { min-width: 0; }
  .dock { height: 62px; gap: 2px; }
  .dock-item { width: 46px; height: 46px; }
  .side { display: none; }
  .two, .set-grid, .osform-grid, .lj-hero { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .lock-users { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.b-page .kv dt { color: #6b7a93; }
.win.glass { background: rgba(12, 27, 49, .86); }
.win.glass.blurred { background: rgba(12, 27, 49, .9); }

/* celular: cada app ocupa a tela, o dock rola de lado */
@media (max-width: 700px) {
  .win { left: 0 !important; top: var(--menubar-h) !important; width: 100vw !important; height: calc(100dvh - var(--menubar-h) - 84px) !important; border-radius: 0 0 16px 16px; }
  .win-resize { display: none; }
  .win-tools .search, .win-tools .scan { display: none; }
  #mb-new, #mb-find, .mb-sync, #mb-lab span { display: none; }
  .dock-wrap { bottom: 8px; padding: 0 8px; }
  .dock { max-width: 100%; overflow-x: auto; scrollbar-width: none; height: 64px; align-items: center; }
  .dock-item { width: 46px !important; height: 46px !important; }
  .board { grid-auto-columns: 78vw; }
  .sheet { width: 100% !important; }
  .main { padding: 16px; }
  .kpi b { font-size: 24px; }
  .toasts { left: 8px; right: 8px; width: auto; }
}

/* ================= v3: Pedidos, Clientes, Estoque ================= */
.st-aguardando_aprovacao { --c: #FF9A62; } .st-aguardando_lente { --c: #A994FF; } .st-aguardando_armacao { --c: #F2C14E; } .st-na_fila { --c: #4FC3D0; }
.st-montagem { --c: #6FA8FF; } .st-conferencia { --c: #B8C4D9; } .st-pronto { --c: #5ED39A; } .st-entregue { --c: #7d8ca6; } .st-recusado { --c: #ff7d7d; } .st-cancelado { --c: #7d8ca6; }
.hoje { color: #F2C14E; font-weight: 600; }
.av { display: inline-block; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 4px 10px -4px rgba(0, 0, 0, .5); background: #1b2f4f; }
.av-ini { display: inline-grid; place-items: center; font: 700 14px Manrope, sans-serif; color: #dfe7f3; background: linear-gradient(160deg, #3B4A63, #1b2a44); }
.lk { background: none; border: 0; padding: 0; color: #9cc2ff; text-decoration: underline; text-underline-offset: 3px; }
.vazio { color: var(--ink-3); padding: 40px 0; text-align: center; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: rgba(94, 211, 154, .14); color: #8be3b6; } .tag.wait { background: rgba(242, 193, 78, .14); color: #f6d27f; }
.tag.off { background: rgba(232, 84, 26, .18); color: #ffb08f; } .tag.res { background: rgba(111, 168, 255, .16); color: #a9c9ff; }
.btn-danger { background: #c9362b; color: #fff; }
.btn-danger:hover { background: #dd4337; }
.panel { border-radius: 14px; padding: 18px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.panel h3 { margin: 0 0 12px; font: 700 14px Manrope; }
.voltar { margin: -6px 0 10px -8px; }
.side button .ct.hot { background: var(--feixe); color: #fff; padding: 1px 7px; border-radius: 999px; font-weight: 700; }
.mb-lino span { font-weight: 500; }
.mb-lino img { object-fit: cover; }
.dock { height: 82px; padding: 8px 14px; gap: 10px; border-radius: 28px; }
.dock-item { width: 64px; height: 64px; }

/* lista de pedidos */
.plist { display: grid; gap: 6px; }
.prow { display: grid; grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 12px; border: 0; text-align: left; color: var(--ink); background: rgba(227, 233, 242, .05); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s; }
.prow:hover { background: rgba(227, 233, 242, .09); }
.prow.on { background: rgba(46, 124, 246, .16); box-shadow: inset 0 0 0 1px rgba(111, 168, 255, .5); }
.prow.new { box-shadow: inset 0 0 0 1px var(--feixe-luz), 0 0 24px -8px rgba(232, 84, 26, .7); }
.prow small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p1, .p2 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p1 b { font: 800 13.5px Manrope; margin-right: 8px; font-variant-numeric: tabular-nums; }
.p2 { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.p3 { text-align: right; display: grid; justify-items: end; gap: 2px; }

/* ficha */
.sheet.wide { width: min(820px, 100%); }
.sh-id { display: flex; gap: 12px; align-items: center; }
.sh-st { margin-top: 12px; display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 12.5px; }
.sh-t { margin: 22px 0 10px; font: 600 12px Inter; color: var(--ink-3); }
.sheet .sheet-actions { margin-top: 14px; }
.motivo { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(232, 84, 26, .12); color: #ffc7ad; }
.aprova { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(232, 84, 26, .1); box-shadow: inset 0 0 0 1px rgba(255, 122, 69, .35); }
.aprova b { font: 700 14px Manrope; } .aprova p { margin: 4px 0 12px; color: var(--ink-2); line-height: 1.5; }
.track li { align-items: start; grid-template-columns: 16px 1fr auto; }
.track li i { margin-top: 5px; }
.track li small { text-align: right; line-height: 1.35; }
.track .nota { display: block; text-align: left; color: var(--ink-3); margin-top: 1px; }
.kv dd small { color: var(--ink-3); }
.label-paper .lp-rx b { font-weight: 700; }
.input[type=date] { color-scheme: dark; }
.b-page .input[type=date] { color-scheme: light; }

/* formulário de pedido */
.pform { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 22px; }
.pform-main { display: grid; gap: 14px; align-content: start; }
.pform-side { display: grid; gap: 12px; align-content: start; position: sticky; top: 0; }
.pz-sub { line-height: 1.45; }

/* clientes */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ccard { display: grid; gap: 14px; padding: 18px; border-radius: 18px; border: 0; text-align: left; color: var(--ink); background: linear-gradient(180deg, rgba(227, 233, 242, .09), rgba(227, 233, 242, .04)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 30px -18px rgba(0, 0, 0, .7); transition: transform .25s var(--ease-out), background .2s; }
.ccard:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(227, 233, 242, .13), rgba(227, 233, 242, .06)); }
.cc-n { font: 700 16px Manrope; } .cc-n small { display: block; font: 400 12.5px Inter; color: var(--ink-3); margin-top: 2px; }
.cc-u { display: flex; align-items: center; } .cc-u .av { margin-right: -8px; box-shadow: 0 0 0 2px #14294a; } .cc-u small { margin-left: 18px; color: var(--ink-2); }
.cc-f { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; }
.cc-f b { color: var(--ink); font: 700 14px Manrope; } .cc-f .hot { color: #ffb08f; font-weight: 600; }
.chead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 10px; }
.ucard { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(227, 233, 242, .05); box-shadow: inset 0 0 0 1px var(--line); }
.ucard.off .av { filter: grayscale(1); opacity: .6; }
.uc-m { display: grid; gap: 3px; min-width: 0; } .uc-m b { font: 700 15px Manrope; } .uc-m > span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-s { display: flex; gap: 8px; align-items: center; margin-top: 3px; } .uc-s small { color: var(--ink-3); }
.uc-a { display: grid; gap: 6px; justify-items: stretch; }
.cond { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 18px; align-items: start; }
.cond .panel { margin: 0; }
.exemplo { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(47, 163, 107, .12); color: #a6e6c4; line-height: 1.5; }
.wk button { width: 44px; height: 30px; font-size: 12px; }
.wk button.on { background: rgba(47, 163, 107, .22); color: #8be3b6; }
.hist-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin: 18px 0; flex-wrap: wrap; }
.hist-top .money-h { margin: 0; } .hist-top .bars { height: 90px; width: 260px; }

/* estoque */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lcard { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 20px; overflow: hidden; text-align: left; color: var(--ink); background: rgba(227, 233, 242, .06); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0, 0, 0, .8); transition: transform .3s var(--ease-out); }
.lcard:hover { transform: translateY(-4px); }
.lcard:hover .lc-ph img { transform: scale(1.05); }
.lc-ph { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.lc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.lc-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 27, 49, .85)); }
.lc-idx { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(8, 20, 38, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.lc-b { display: grid; gap: 12px; padding: 14px 16px 16px; }
.lc-n { font: 700 15.5px Manrope; } .lc-n small { display: block; font: 400 12.5px Inter; color: var(--ink-3); margin-top: 2px; }
.lc-q { display: flex; align-items: center; gap: 10px; } .lc-q b { font: 800 38px/1 Manrope; letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .lc-q span { color: var(--ink-2); font-size: 12px; line-height: 1.3; }
.lc-t { display: flex; flex-wrap: wrap; gap: 6px; }
.lhero { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: center; }
.lhero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.gavs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.gav { border-radius: 16px; padding: 12px; background: rgba(4, 12, 24, .28); box-shadow: inset 0 0 0 1px var(--line); }
.gav header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; padding: 0 4px; }
.gav header span { color: var(--ink-3); font-size: 12px; } .gav header b { font: 800 18px Manrope; font-variant-numeric: tabular-nums; } .gav header small { margin-left: auto; color: var(--ink-3); }
.gav-b { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
/* envelope de lente: papel branco com aba dobrada */
.env { position: relative; display: grid; gap: 1px; justify-items: center; padding: 9px 4px 7px; border: 0; border-radius: 3px 9px 3px 3px; color: #0B1F3A; background: linear-gradient(180deg, #fbfcfe, #e9eef5); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 6px 12px -6px rgba(0, 0, 0, .6); transition: transform .2s var(--ease-out); }
.env::before { content: ''; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: linear-gradient(225deg, rgba(12, 27, 49, .9) 50%, #cfd8e4 50%); border-radius: 0 9px 0 3px; }
.env:hover { transform: translateY(-2px) rotate(-1deg); }
.env-c { font-size: 10.5px; color: #55647d; font-variant-numeric: tabular-nums; }
.env b { font: 800 19px/1.1 Manrope; font-variant-numeric: tabular-nums; }
.env-r { font-size: 10px; font-weight: 600; color: #1D5FC9; }
.env.low { background: linear-gradient(180deg, #fff6e6, #fbe4bb); } .env.low b { color: #9a5b00; }
.env.zero { background: rgba(227, 233, 242, .07); color: var(--ink-3); box-shadow: inset 0 0 0 1px dashed; outline: 1px dashed rgba(255, 176, 143, .5); outline-offset: -1px; } .env.zero b { color: #ffb08f; } .env.zero .env-c { color: var(--ink-3); } .env.zero::before { display: none; }
.mlist { display: grid; }
.m-dia { margin: 16px 0 4px; font: 600 12px Inter; color: var(--ink-3); }
.m-dia:first-child { margin-top: 0; }
.mrow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); }
.mrow small { display: block; color: var(--ink-3); font-size: 12px; }
.mrow .p1 b { font-size: 15px; }
.m-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.m-ic svg { width: 15px; height: 15px; }
.m-ic.entrada { background: rgba(94, 211, 154, .16); color: #8be3b6; } .m-ic.saida { background: rgba(232, 84, 26, .18); color: #ffb08f; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.fcard { border-radius: 18px; padding: 18px; display: grid; gap: 14px; background: rgba(227, 233, 242, .05); box-shadow: inset 0 0 0 1px var(--line); }
.fcard header { display: flex; gap: 12px; align-items: center; } .fcard header b { font: 700 15.5px Manrope; display: block; } .fcard header small { color: var(--ink-3); }
.fc-l { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-l span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--fill-2); font-size: 12.5px; }
.fc-l img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.fcard footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; }
.fcard footer b { color: #c4b6ff; }
.saldo { display: flex; gap: 12px; align-items: center; margin: 14px 0; padding: 10px; border-radius: 12px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); }
.saldo img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.saldo b { display: block; font: 700 15px Manrope; } .saldo span { color: var(--ink-2); font-size: 12.5px; }
.mform .btn-lg { margin-top: 6px; }
@media (max-width: 900px) { .pform, .lhero { grid-template-columns: 1fr; } .prow { grid-template-columns: 40px minmax(0, 1fr) auto; } .prow .p2 { display: none; } .ugrid, .fgrid { grid-template-columns: 1fr; } .ucard { grid-template-columns: 48px minmax(0, 1fr); } .uc-a { grid-column: 1/-1; grid-auto-flow: column; } }
@media (max-width: 700px) { .dock-item { width: 54px !important; height: 54px !important; } .dock { height: 72px; } }

/* janela em tela cheia: o dock se esconde e volta ao encostar o mouse embaixo */
.dock-wrap { transition: transform .45s var(--ease-out); }
.pblur.bottom { transition: opacity .3s; }
.dock-auto .dock-wrap { transform: translateY(calc(100% + 16px)); }
.dock-auto .pblur.bottom { opacity: 0; }
.dock-auto.dock-show .dock-wrap { transform: none; }
@media (max-width: 700px) { .dock-auto .dock-wrap { transform: none; } }

/* ================= Produção ================= */
.carga { display: flex; gap: 22px; } .carga b { font: 800 24px/1.1 Manrope; display: block; font-variant-numeric: tabular-nums; } .carga b small { font-size: 14px; color: var(--ink-3); } .carga span { color: var(--ink-2); font-size: 12px; } .carga .warn b { color: #ffb08f; }
.bboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.bcol { border-radius: 16px; padding: 12px; background: rgba(4, 12, 24, .28); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.bcol h3 { margin: 0 2px; display: flex; justify-content: space-between; align-items: center; font: 600 13px Inter; } .bcol h3 > span:last-child { font: 700 13px Manrope; color: var(--ink-3); }
.bcard { border-radius: 14px; padding: 14px; display: grid; gap: 8px; background: linear-gradient(180deg, rgba(227, 233, 242, .1), rgba(227, 233, 242, .05)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 20px -14px rgba(0, 0, 0, .7); }
.bcard.late { box-shadow: inset 0 0 0 1px rgba(255, 176, 143, .55), 0 10px 20px -14px rgba(0, 0, 0, .7); } .bcard.parado { opacity: .8; }
.bcard header { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; } .bcard header b { font: 800 19px/1 Manrope; display: block; font-variant-numeric: tabular-nums; } .bcard header span { color: var(--ink-3); font-size: 12px; }
.bc-d { font-size: 12.5px; color: var(--ink-2) !important; font-weight: 600; } .bcard p { margin: 0; } .bc-c { font: 700 15px Manrope; } .bc-l { color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.bc-p { padding: 7px 10px; border-radius: 8px; background: rgba(242, 193, 78, .14); color: #f6d27f; font-size: 12.5px; }
.bcard footer { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 2px; } .bcard footer .btn { height: 40px; justify-content: center; font-weight: 600; } .bcard .btn[disabled] { opacity: .4; cursor: not-allowed; }
.bc-u { color: var(--ink-3); font-size: 11.5px; }
.otchips { display: flex; gap: 8px; flex-wrap: wrap; }
.otchips button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; border: 0; color: var(--ink); background: var(--fill); box-shadow: inset 0 0 0 1px var(--line-2); } .otchips button:first-child { padding-left: 14px; }
.otchips button.on { background: rgba(232, 84, 26, .2); box-shadow: inset 0 0 0 1px var(--feixe-luz); } .otchips span { font: 700 12px Manrope; color: var(--ink-3); }
.prow.adm { grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1fr) auto; cursor: default; } .prow.adm .btn { height: 38px; }
.prgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; } .prgrid .panel { margin: 0; }
.pr header { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; margin-bottom: 10px; } .pr header b { font: 700 15px Manrope; display: block; } .pr header span { color: #8be3b6; font-size: 12.5px; } .pr header strong { font: 800 26px Manrope; }
.pr-i { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; width: 100%; padding: 8px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; } .pr-i:hover { background: var(--fill); } .pr-i small { color: var(--ink-3); }
.pmodal { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(4, 10, 20, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: inherit; overflow: auto; }
.pm-box { width: min(440px, 100%); border-radius: 22px; padding: 24px; background: rgba(14, 30, 54, .96); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); display: grid; gap: 12px; justify-items: stretch; max-height: 100%; overflow: auto; }
.pm-box.wide { width: min(520px, 100%); } .pm-box.xl { width: min(900px, 100%); }
.pm-box h3 { margin: 0; font: 800 21px Manrope; letter-spacing: -.02em; } .pm-sub { margin: -6px 0 4px; color: var(--ink-2); }
.pm-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; } .pm-acoes .btn { flex: 1; justify-content: center; }
.pm-ped { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--fill); } .pm-ped b { display: block; } .pm-ped span { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.quemgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.quemgrid button { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 12.5px; }
.quemgrid button .av { transition: transform .3s var(--ease-out); filter: saturate(.6) brightness(.8); }
.quemgrid button.on { background: rgba(232, 84, 26, .16); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--feixe-luz); } .quemgrid button.on .av { transform: scale(1.06); filter: none; }
.pinform { display: grid; grid-template-columns: 1fr auto; gap: 8px; } .input.pin { height: 48px; font: 800 24px Manrope; letter-spacing: .5em; text-align: center; }
.chk { display: grid; gap: 6px; } .chk label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: #2FA36B; } .chk label:has(:checked) { background: rgba(47, 163, 107, .14); box-shadow: inset 0 0 0 1px rgba(94, 211, 154, .4); }
.oc { display: grid; gap: 8px; } .oc button { text-align: left; padding: 13px 14px; border-radius: 12px; border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; } .oc button:hover { background: var(--fill-2); } .oc small { display: block; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.camv { width: 100%; aspect-ratio: 4/3; border-radius: 14px; background: #000; object-fit: cover; }
.etq-palco { display: grid; place-items: center; padding: 22px; border-radius: 14px; background: repeating-linear-gradient(45deg, rgba(227, 233, 242, .05) 0 10px, transparent 10px 20px); }
/* etiqueta Niimbot D110, 30 × 15 mm */
.label-mini { width: 30mm; height: 15mm; padding: 1mm 1.4mm; background: #fff; color: #000; border-radius: 1.4mm; display: grid; grid-template-columns: 12.6mm 1fr; gap: 1.2mm; align-items: center; font-family: Inter, sans-serif; overflow: hidden; zoom: 2.4; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.label-mini .qr { width: 12.6mm; height: 12.6mm; display: block; } .label-mini b { display: block; font: 800 4.6mm/1 Manrope; letter-spacing: -.02em; } .label-mini span { display: block; font-size: 2.1mm; line-height: 1.25; font-weight: 600; white-space: nowrap; overflow: hidden; }
@media print { @page { margin: 0; } #print-area .label-mini { zoom: 1; box-shadow: none; border-radius: 0; } }
@media (max-width: 900px) { .bboard { grid-template-columns: 1fr; } .carga { gap: 14px; } .prow.adm { grid-template-columns: 40px minmax(0, 1fr); } .prow.adm .btn { grid-column: 1/-1; justify-content: center; } }
.win[data-app=producao] .scan input { width: 236px; }

/* ================= Rotas ================= */
.st-em_rota { --c: #F2C14E; } .b-page .st-em_rota { --c: #b07d00; }
.stops .stop { grid-template-columns: 30px minmax(0, 1fr); } .rt-h { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; } .rt-h h4 { margin: 0; } .rt-h small { color: var(--ink-3); }
.chip.done { background: rgba(94, 211, 154, .16); color: #8be3b6; } .chip.bad { background: rgba(232, 84, 26, .2); color: #ffb08f; }
.rt-ord { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); } .rt-ord b { font: 800 13px Manrope; color: #F2C14E; } .rt-ord .btn { width: 30px; padding: 0; justify-content: center; } .rt-ord .btn[disabled] { opacity: .3; }
.win-tools a.btn { text-decoration: none; }

/* ---------- app Loja ---------- */
.st-lj-pago { --c: #FF8FB3; } .st-lj-producao { --c: #6FA8FF; } .st-lj-enviado { --c: #F2C14E; } .st-lj-entregue { --c: #5ED39A; }
.lj-fil { display: flex; gap: 6px; margin: 16px 0 12px; flex-wrap: wrap; } .lj-fil button { height: 28px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--fill); color: var(--ink-2); font-size: 12.5px; font-weight: 500; } .lj-fil button.on { background: #D9467A; color: #fff; }
.lj-peds { display: grid; gap: 8px; }
.lj-ped { display: grid; grid-template-columns: 92px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) 172px; gap: 16px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(227, 233, 242, .06); box-shadow: inset 0 0 0 1px var(--line); }
.lj-ped.new { box-shadow: inset 0 0 0 1px #FF8FB3, 0 0 26px -8px rgba(217, 70, 122, .7); }
.lj-ped > img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; background: #f3ece2; }
.lj-p1, .lj-p2 { display: grid; gap: 2px; min-width: 0; font-size: 12.5px; color: var(--ink-2); } .lj-p1 b, .lj-p2 b { font: 700 14px Manrope, sans-serif; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lj-p1 .st { margin-top: 4px; }
.lj-p2 span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; } .lj-ok { color: #8be3b6; } .lj-av { color: #f6d27f; }
.lj-p3 { display: grid; gap: 8px; justify-items: end; } .lj-p3 b { font: 800 17px Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.lj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; padding: 0; }
.lj-an { border-radius: 20px; overflow: hidden; background: rgba(227, 233, 242, .06); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; } .lj-an.off .lj-ph img { filter: grayscale(1); opacity: .45; }
.lj-ph { position: relative; aspect-ratio: 4/2.6; background: #f3ece2; } .lj-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lj-selo { position: absolute; left: 10px; top: 10px; background: #E8541A; color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; } .lj-selo.d { left: auto; right: 10px; background: rgba(11, 31, 58, .82); }
.lj-ab { padding: 12px 14px 14px; display: grid; gap: 10px; } .lj-ab p { margin: -6px 0 0; font-size: 12.5px; color: var(--ink-2); }
.lj-at { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .lj-at b { font: 800 16px Manrope, sans-serif; } .lj-at span { font-weight: 600; font-variant-numeric: tabular-nums; }
.lj-ins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lj-tg { display: flex; gap: 14px; flex-wrap: wrap; }
.tg { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ink-2); font-size: 12.5px; } .tg i { width: 32px; height: 19px; border-radius: 999px; background: rgba(227, 233, 242, .18); position: relative; transition: background .2s; } .tg i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.tg.on { color: var(--ink); } .tg.on i { background: #D9467A; } .tg.on i::after { transform: translateX(13px); }
.lj-novo { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px 16px; padding: 14px; margin-bottom: 16px; border-radius: 18px; background: rgba(217, 70, 122, .08); box-shadow: inset 0 0 0 1px rgba(255, 143, 179, .35); }
.lj-foto { border-radius: 12px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; min-height: 130px; cursor: pointer; overflow: hidden; color: var(--ink-2); font-size: 13px; } .lj-foto.ok { border-style: solid; } .lj-foto img { width: 100%; height: 100%; object-fit: cover; }
.lj-ng { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .lj-nb { grid-column: 1/-1; display: flex; justify-content: flex-end; align-items: center; gap: 8px; } .lj-nb .form-erro { margin: 0 auto 0 0; }
.lj-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.lj-box { padding: 16px 18px 18px; border-radius: 18px; background: rgba(227, 233, 242, .05); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; } .lj-box h3 { margin: 0; font: 700 15.5px Manrope, sans-serif; } .lj-box .field small, .lj-nota { color: var(--ink-3); font-size: 12px; margin: 0; }
.lj-fator { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: end; }
.lj-m { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; } .lj-m img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; background: #f3ece2; }
.lj-mt { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 5px; } .lj-mt b { font: 700 13.5px Manrope, sans-serif; } .lj-mt span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lj-bar { position: relative; height: 8px; border-radius: 999px; background: rgba(227, 233, 242, .08); overflow: hidden; } .lj-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #D9467A; } .lj-bar i.c { background: #FFC2D6; }
.lj-leg { margin: -4px 0 0; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; } .lj-leg i { width: 9px; height: 9px; border-radius: 3px; background: #D9467A; } .lj-leg i.c { background: #FFC2D6; margin-left: 10px; }
.lj-lz { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13px; } .lj-lz b { font-variant-numeric: tabular-nums; } .lj-lz .lj-bar { grid-column: 1/-1; height: 6px; }
@media (max-width: 900px) { .lj-ped { grid-template-columns: 72px minmax(0, 1fr) auto; } .lj-ped > img { width: 72px; height: 56px; } .lj-ped .lj-p2 { display: none; } .lj-cols, .lj-novo, .lj-fator { grid-template-columns: 1fr; } .lj-ng { grid-template-columns: 1fr 1fr; } }

/* ---------- app Financeiro ---------- */
.fn .lj-fil button.on { background: #12B5A6; color: #04201d; }
.fn .kpis.fn-k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fn .kpi b { font-size: 25px; white-space: nowrap; } .fn .kpi.fn-luc { background: rgba(18, 181, 166, .12); } .fn .kpi.fn-luc b { color: #5fe0d3; }
.fn-al { display: grid; gap: 6px; margin-top: 12px; } .fn-al button { text-align: left; padding: 9px 14px; border-radius: 12px; border: 0; background: rgba(255, 138, 107, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 107, .35); color: var(--ink); font-size: 13px; } .fn-al button:hover { background: rgba(255, 138, 107, .16); }
.fn-dre { display: grid; gap: 9px; } .fn-l { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; font-size: 13px; color: var(--ink-2); } .fn-l b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; } .fn-l .fn-bar { grid-column: 1/-1; }
.fn-l.t { color: var(--ink); font-weight: 600; } .fn-l.t b { font: 800 16px Manrope, sans-serif; } .fn-l.r { padding-top: 10px; border-top: 1px solid var(--line); } .fn-l.r b { color: #5fe0d3; }
.fn-bar { height: 6px; border-radius: 999px; background: rgba(227, 233, 242, .07); overflow: hidden; } .fn-bar i { display: block; height: 100%; border-radius: 999px; }
.fn-hj { display: flex; gap: 12px 28px; flex-wrap: wrap; } .fn-hj span { display: block; font-size: 12px; color: var(--ink-2); } .fn-hj b { font: 800 21px/1.25 Manrope, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fn-svg { width: 100%; height: auto; display: block; overflow: visible; } .fn-svg .ax { font: 500 11px Inter, sans-serif; fill: rgba(227, 233, 242, .6); } .fn-svg .lb { font: 700 11px Manrope, sans-serif; fill: #E3E9F2; }
.fn-list { display: grid; gap: 6px; } .fn-h3 { font: 700 14px Manrope, sans-serif; margin: 20px 0 8px; color: var(--ink-2); }
.fn-row { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) 120px auto; gap: 14px; align-items: center; width: 100%; padding: 10px 14px; border-radius: 14px; border: 0; background: rgba(227, 233, 242, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-align: left; }
button.fn-row:hover { background: rgba(227, 233, 242, .09); } .fn-row .a { display: grid; gap: 1px; min-width: 0; } .fn-row .a b { font: 700 14px Manrope, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fn-row small { color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fn-row .v { text-align: right; font: 800 15.5px Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.fn-cat { width: 78px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding: 3px 0; text-align: center; border-radius: 6px; background: var(--fill-2); }
.fn-scroll { max-height: 300px; overflow: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 2px 8px; } .fn-scroll.x { max-height: none; overflow-x: auto; box-shadow: none; padding: 0; } .fn-scroll.x .tbl { min-width: 860px; } .fn-scroll.x td, .fn-scroll.x th { white-space: nowrap; }
.fn-bol { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(227, 233, 242, .06); } .fn-bol .qr { background: #fff; border-radius: 10px; padding: 8px; line-height: 0; } .fn-bol .qr svg, .fn-bol .qr img { width: 132px; height: 132px; } .fn-bol .num { font: 500 13px ui-monospace, Menlo, monospace; margin: 6px 0; word-break: break-all; }
.fn-ot { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; } .fn-ot b { display: block; font: 700 13.5px Manrope, sans-serif; } .fn-ot small { color: var(--ink-2); font-size: 12px; } .fn-ot .r { text-align: right; } .fn-ot .r small { display: block; color: inherit; }
.fn input[type=range] { width: 100%; accent-color: #12B5A6; }
.fn-sim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 14px; align-items: start; } .fn-sim small { color: var(--ink-3); font-size: 11.5px; } .fn-res { padding: 12px 14px; border-radius: 14px; background: rgba(18, 181, 166, .12); display: grid; gap: 2px; } .fn-res span { font-size: 12px; color: var(--ink-2); } .fn-res b { font: 800 24px Manrope, sans-serif; color: #5fe0d3; }
.fn-tot td { font-weight: 700; border-top: 1px solid var(--line-2); } .ln-fn { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); } .ln-fn b { font-variant-numeric: tabular-nums; }
.fn-fx { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 8px; align-items: center; } .fn-fx span b { display: block; font-size: 13.5px; font-weight: 600; } .fn-fx span small { color: var(--ink-3); font-size: 11.5px; } .fn-fx.novo { padding-top: 8px; border-top: 1px solid var(--line); }
.fn-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 900px) { .fn .kpis.fn-k5 { grid-template-columns: 1fr 1fr; } .fn-row { grid-template-columns: auto minmax(0, 1fr) auto; } .fn-row .a + .a { display: none; } .fn-sim, .fn-g2, .fn-bol { grid-template-columns: 1fr; } }
@media print { #print-area .lj-cols { display: block; } #print-area .lj-box { background: none; box-shadow: none; padding: 0 0 14px; } #print-area .tbl td, #print-area .tbl th { color: #000; border-color: #bbb; } #print-area small { color: #444 !important; } }

/* ================= Painel ================= */
.win[data-app=painel] .win-body { background: radial-gradient(120% 90% at 50% 40%, rgba(46, 124, 246, .07), transparent 60%); }
.pn { flex: 1; min-width: 0; min-height: 0; overflow: auto; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px; padding: 16px 22px 18px; }
.pn button { font: inherit; color: inherit; cursor: pointer; }
.pn-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; } .pn-top h1 { margin: 0; font: 800 27px/1.1 Manrope, sans-serif; letter-spacing: -.03em; } .pn-top p { margin: 3px 0 0; color: var(--ink-2); font-size: 13px; }
.pn-pils { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .pn-pil { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px 0 6px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--c) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); font-size: 13px; font-weight: 500; transition: transform .2s, background .2s; }
.pn-pil b { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--c); color: #06101f; font: 800 13.5px Manrope, sans-serif; } .pn-pil:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--c) 22%, transparent); } .pn-pil.ok { --c: #5ED39A; padding: 0 16px; color: #8be3b6; }
.pn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr) minmax(0, 1fr); gap: 16px; min-height: 0; }
.pn-col { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-height: 0; } .pn-col:last-child { grid-template-rows: minmax(0, .82fr) minmax(0, 1.18fr); }
.pn-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 0; min-width: 0; padding: 14px 16px 12px; border-radius: 22px; border: 0; text-align: left; background: linear-gradient(160deg, rgba(227, 233, 242, .075), rgba(227, 233, 242, .025)); box-shadow: inset 0 0 0 1px rgba(227, 233, 242, .09), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; transition: background .25s, box-shadow .25s; }
button.pn-card:hover { background: linear-gradient(160deg, rgba(227, 233, 242, .11), rgba(227, 233, 242, .04)); box-shadow: inset 0 0 0 1px rgba(227, 233, 242, .2); }
.pn-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .pn-card header span { font: 700 13.5px Manrope, sans-serif; } .pn-card header em { font-style: normal; font-size: 11.5px; color: var(--ink-3); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-card footer { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--ink-2); flex-wrap: wrap; } .pn-card footer b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pn-card footer.lg { justify-content: flex-start; gap: 6px 16px; } .pn-card footer.lg span { display: inline-flex; align-items: center; gap: 6px; } .pn-card footer.lg i { width: 9px; height: 9px; border-radius: 50%; }
.pn-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .pn-big b { font: 800 34px/1 Manrope, sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .pn-big b.s { font-size: 20px; letter-spacing: -.02em; } .pn-big span { font-size: 12px; color: var(--ink-2); } .pn-big .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; align-self: center; }
.pn-pw { position: relative; flex: 1; min-height: 60px; } .pn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pn-dot { position: absolute; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: #FFD0A8; box-shadow: 0 0 0 4px rgba(255, 122, 69, .28), 0 0 16px #FF7A45; animation: pnpulse 2.2s ease-out infinite; }
@keyframes pnpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, .55), 0 0 16px #FF7A45; } 100% { box-shadow: 0 0 0 16px rgba(255, 122, 69, 0), 0 0 16px #FF7A45; } }
.pn-cen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 0; min-width: 0; }
.pn-lente { position: relative; width: min(100%, 54vh, 470px); aspect-ratio: 1; flex-shrink: 1; min-height: 0; } .pn-lente svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.pn-anel { cursor: pointer; transition: opacity .25s; } .pn-anel.dim { opacity: .22; }
.pn-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; gap: 2px; padding: 0 30%; } .pn-mid b { font: 800 clamp(44px, 8.4vh, 78px)/.95 Manrope, sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; } .pn-mid span { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; } .pn-mid small { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pn-leg { display: grid; grid-template-columns: repeat(6, auto); gap: 4px; } .pn-leg button { display: grid; grid-template-columns: auto auto; gap: 0 6px; align-items: center; padding: 6px 10px; border-radius: 12px; border: 0; background: none; text-align: left; } .pn-leg button:hover, .pn-leg button.on { background: var(--fill); }
.pn-leg i { width: 8px; height: 8px; border-radius: 50%; } .pn-leg b { font: 800 17px Manrope, sans-serif; font-variant-numeric: tabular-nums; } .pn-leg span { grid-column: 1/-1; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.pn-gau { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; } .pn-gau svg { height: 100%; max-width: 100%; overflow: visible; } .pn-gau .mk { font: 600 10.5px Inter, sans-serif; fill: #F2C14E; }
.pn-gmid { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; display: grid; gap: 1px; } .pn-gmid b { font: 800 clamp(22px, 3.6vh, 32px)/1 Manrope, sans-serif; letter-spacing: -.03em; color: #9BF5E6; } .pn-gmid span { font-size: 11.5px; color: var(--ink-2); }
.pn-osvg { flex: 1; min-height: 0; width: 100%; overflow: visible; } .pn-osvg .nm { font: 700 11.5px Manrope, sans-serif; fill: #E3E9F2; } .pn-osvg .vl { font: 500 10px Inter, sans-serif; fill: rgba(227, 233, 242, .65); }
.pn-tabs { display: flex; gap: 4px; flex-wrap: wrap; } .pn-tabs button { height: 24px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--fill); color: var(--ink-2); font-size: 11.5px; font-weight: 500; } .pn-tabs button.on { background: #7B5CF0; color: #fff; }
.pn-mapa { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 0; background: none; padding: 2px 0; } .pn-mapa svg { width: 100%; max-height: calc(100% - 18px); } .pn-mapa .ex { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); }
.pn-rota { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 26px; align-items: center; padding: 11px 20px; border-radius: 20px; border: 0; text-align: left; background: linear-gradient(90deg, rgba(224, 161, 0, .1), rgba(227, 233, 242, .03)); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .22); }
.pn-rota:hover { box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .5); } .pn-rota .tt b { display: block; font: 700 14px Manrope, sans-serif; } .pn-rota small { font-size: 11.5px; color: var(--ink-2); }
.pn-rota .trilho { display: flex; align-items: center; min-width: 0; overflow: hidden; } .pn-rota .pr { position: relative; display: grid; grid-template-columns: auto auto; gap: 0 8px; align-items: center; padding-right: 54px; white-space: nowrap; } .pn-rota .pr::after { content: ''; position: absolute; right: 8px; top: 50%; width: 38px; border-top: 2px dashed rgba(242, 193, 78, .5); } .pn-rota .pr:last-child { padding-right: 0; } .pn-rota .pr:last-child::after { display: none; }
.pn-rota .pr i { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #E0A100; color: #0B1F3A; font: 800 12px Manrope, sans-serif; font-style: normal; } .pn-rota .pr.lab i { background: #E8541A; box-shadow: 0 0 12px #E8541A; } .pn-rota .pr.lab b { grid-row: span 2; } .pn-rota .pr.ok i { background: #5ED39A; } .pn-rota .pr b { font-size: 13px; font-weight: 600; } .pn-rota .pr small { grid-column: 2; }
.pn-rota .tot { text-align: right; } .pn-rota .tot b { display: block; font: 800 22px/1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .pn-grid { grid-template-columns: 1fr; } .pn-col, .pn-col:last-child { grid-template-rows: none; } .pn-card { min-height: 230px; } .pn-cen { order: -1; } .pn-leg { grid-template-columns: repeat(3, auto); } .pn-rota { grid-template-columns: 1fr 1fr; } .pn-rota .trilho { grid-column: 1/-1; grid-row: 2; overflow: auto; } }
@media (prefers-reduced-motion: reduce) { .pn-dot { animation: none; } }

.pn-gau svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; } .pn-gau { min-height: 70px; } .pn-gmid { bottom: 6%; }
.pn-big { flex-wrap: nowrap; white-space: nowrap; } .pn-tabs { flex-wrap: nowrap; overflow: hidden; } .pn-tabs button { padding: 0 9px; flex-shrink: 0; }

.pn-col:last-child { grid-template-rows: minmax(0, 1fr) minmax(0, 1.1fr); } .pn-gau .mk { font-size: 13px; }

/* ================= Lino, o assistente ================= */
#lino-btn { position: absolute; right: 22px; bottom: 18px; z-index: 8600; width: 70px; height: 70px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: #0B1F3A; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 5px rgba(11, 31, 58, .9), 0 0 0 6px rgba(255, 122, 69, .55), 0 18px 34px -8px rgba(0, 0, 0, .7), 0 0 34px -4px rgba(232, 84, 26, .55); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; animation: linofl 5s ease-in-out infinite; }
#lino-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; box-shadow: inset 0 2px 6px rgba(255, 255, 255, .5); }
#lino-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(155deg, rgba(255, 255, 255, .5), transparent 38%); pointer-events: none; z-index: 1; }
#lino-btn:hover, #lino-btn.on { transform: translateY(-4px) scale(1.07); } #lino-btn.on { animation: none; }
#lino-btn.tem::after { content: ''; position: absolute; right: 1px; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: #E8541A; box-shadow: 0 0 0 3px #0B1F3A, 0 0 12px #E8541A; z-index: 2; }
#lino-btn .tip { position: absolute; right: 50%; transform: translateX(50%); bottom: calc(100% + 12px); padding: 4px 10px; border-radius: 8px; background: rgba(14, 30, 54, .95); color: #E3E9F2; font-size: 12px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; } #lino-btn:hover .tip { opacity: 1; } #lino-btn.on .tip { opacity: 0; }
@keyframes linofl { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
#lino-pop { position: absolute; right: 22px; bottom: 104px; z-index: 9400; width: min(390px, calc(100vw - 24px)); height: min(560px, calc(100vh - 150px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: rgba(12, 27, 50, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -20px rgba(0, 0, 0, .85); color: var(--ink); }
#lino-pop[hidden] { display: none; }
#lino-pop header { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(232, 84, 26, .16), transparent 70%); }
#lino-pop header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 122, 69, .6); } #lino-pop header b { display: block; font: 800 16px Manrope, sans-serif; } #lino-pop header span { font-size: 12px; color: var(--ink-2); }
#lino-pop header button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; } #lino-pop header button:hover { color: var(--ink); background: var(--fill-2); }
.ln-msgs { flex: 1; min-height: 0; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ln-m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; } .ln-m.lino { align-self: flex-start; background: rgba(227, 233, 242, .08); border-bottom-left-radius: 5px; } .ln-m.eu { align-self: flex-end; background: #E8541A; color: #fff; border-bottom-right-radius: 5px; }
.ln-go { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin: 3px 0 0 2px; border-radius: 999px; border: 0; background: rgba(255, 122, 69, .18); color: #FFB08F; font: 600 12px Inter, sans-serif; cursor: pointer; white-space: nowrap; } .ln-go:hover { background: rgba(255, 122, 69, .32); color: #fff; }
.ln-dig { display: inline-flex; gap: 4px; padding: 4px 2px; } .ln-dig i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: lndig 1s infinite; } .ln-dig i:nth-child(2) { animation-delay: .15s; } .ln-dig i:nth-child(3) { animation-delay: .3s; } @keyframes lndig { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ln-chips { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; } .ln-chips button { flex-shrink: 0; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--fill); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 12.5px; cursor: pointer; } .ln-chips button:hover { background: var(--fill-2); }
#lino-pop form { display: flex; gap: 8px; padding: 0 14px; } #lino-pop form input { flex: 1; min-width: 0; height: 42px; border-radius: 999px; border: 0; padding: 0 16px; background: rgba(4, 12, 24, .5); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); outline: 0; font: inherit; } #lino-pop form input:focus { box-shadow: inset 0 0 0 1px #FF7A45, 0 0 0 3px rgba(232, 84, 26, .22); }
#lino-pop form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #E8541A; color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.ln-demo { margin: 8px 16px 12px; font-size: 11px; color: var(--ink-3); text-align: center; }
@media (max-width: 900px) { #lino-btn { right: 12px; bottom: 96px; width: 58px; height: 58px; } #lino-pop { right: 12px; bottom: 166px; } }
@media (prefers-reduced-motion: reduce) { #lino-btn { animation: none; } }
@media print { #lino-btn, #lino-pop { display: none !important; } }
.ln-go { display: inline-block; width: auto; line-height: 24px; }
