:root{--dep-lime: #c4f236;--dep-lime-dark: #a8d81f;--dep-lime-ink: #5e7f06;--dep-black: #15170e;--dep-graphite: #2b2e24;--dep-cream: #f7f5ec;--dep-white: #ffffff;--dep-gray-100: #efede1;--dep-gray-300: #dcdccb;--dep-gray-500: #6c7061;--dep-gray-700: #3d4033;--dep-ok: #3f7d16;--dep-warn: #b8770a;--dep-danger: #b23520;--dep-info: #1f6f8b;--dep-bg: var(--dep-cream);--dep-surface: var(--dep-white);--dep-text: var(--dep-black);--dep-text-muted: var(--dep-gray-500);--dep-border: var(--dep-gray-300);--dep-accent: var(--dep-lime);--dep-accent-text: var(--dep-lime-ink);--font-brand: "Permanent Marker", "Segoe Script", cursive;--font-sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;--font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;--text-xs: .75rem;--text-sm: .875rem;--text-base: 1rem;--text-lg: 1.125rem;--text-xl: 1.375rem;--text-2xl: 1.75rem;--text-3xl: 2.25rem;--text-display: 3.5rem;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--space-8: 3rem;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 16px;--radius-full: 999px;--shadow-card: 0 1px 2px rgb(21 23 14 / .06), 0 4px 12px rgb(21 23 14 / .05);--shadow-float: 0 6px 20px rgb(21 23 14 / .22);--touch-target: 56px;--scan-button: 76px}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--dep-bg: #12140d;--dep-surface: #1c1f16;--dep-text: #ecefe0;--dep-text-muted: #9ca289;--dep-border: #32362a;--dep-accent-text: var(--dep-lime);--dep-ok: #8fce3a;--dep-warn: #e7b23c;--dep-danger: #f0705a;--dep-info: #6fc2dd}}:root[data-theme=dark]{--dep-bg: #12140d;--dep-surface: #1c1f16;--dep-text: #ecefe0;--dep-text-muted: #9ca289;--dep-border: #32362a;--dep-accent-text: var(--dep-lime);--dep-ok: #8fce3a;--dep-warn: #e7b23c;--dep-danger: #f0705a;--dep-info: #6fc2dd}.dep-feedback-ok{background:var(--dep-ok);color:var(--dep-white)}.dep-feedback-duplicate{background:var(--dep-warn);color:var(--dep-black)}.dep-feedback-unknown{background:var(--dep-danger);color:var(--dep-white)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--dep-bg);color:var(--dep-text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;overscroll-behavior-y:contain}button{font:inherit;color:inherit;cursor:pointer}:focus-visible{outline:3px solid var(--dep-accent);outline-offset:2px}.app{display:flex;flex-direction:column;height:100%;padding-bottom:env(safe-area-inset-bottom)}.app main{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:var(--space-4) var(--space-4) calc(var(--scan-button) + var(--space-8))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:calc(env(safe-area-inset-top) + var(--space-3)) var(--space-4) var(--space-3);background:var(--dep-black);color:var(--dep-cream)}.topbar .brand{display:flex;align-items:center;gap:var(--space-2);font-weight:800;letter-spacing:.1em;font-size:var(--text-sm)}.topbar .brand svg{width:26px;height:26px;color:var(--dep-lime)}.operator{display:flex;align-items:center;gap:var(--space-2);background:#ffffff1a;border-radius:var(--radius-full);padding:5px 6px 5px 12px;font-size:var(--text-sm);font-weight:700}.operator b{background:var(--dep-lime);color:var(--dep-black);border-radius:var(--radius-full);min-width:26px;height:26px;display:grid;place-items:center;font-family:var(--font-mono);font-size:var(--text-xs);padding:0 7px}h2.section{font-size:var(--text-xs);letter-spacing:.14em;text-transform:uppercase;color:var(--dep-text-muted);margin:var(--space-5) 0 var(--space-2);font-weight:800}h2.section:first-child{margin-top:0}.accounts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-2)}.account-card{background:var(--dep-surface);border:1px solid var(--dep-border);border-left:4px solid var(--chip, var(--dep-border));border-radius:var(--radius-md);padding:var(--space-3);display:flex;flex-direction:column;gap:2px}.account-card .platform{font-size:var(--text-xs);color:var(--dep-text-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700}.account-card .name{font-weight:800;font-size:var(--text-base)}.account-card .count{font-family:var(--font-mono);font-size:var(--text-2xl);font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.empty{color:var(--dep-text-muted);font-size:var(--text-sm);background:var(--dep-surface);border:1px dashed var(--dep-border);border-radius:var(--radius-md);padding:var(--space-4);text-align:center}.batch{display:flex;flex-direction:column;gap:var(--space-2)}.batch-item{background:var(--dep-surface);border:1px solid var(--dep-border);border-radius:var(--radius-md);padding:var(--space-3);display:flex;flex-direction:column;gap:var(--space-2)}.batch-item .top{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.batch-item code{font-family:var(--font-mono);font-size:var(--text-sm);word-break:break-all}.batch-item .who{font-size:var(--text-sm);color:var(--dep-text-muted)}.pill{font-size:var(--text-xs);font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:3px 8px;border-radius:var(--radius-full);white-space:nowrap;flex:none}.pill.ok{background:var(--dep-ok);color:#fff}.pill.dup{background:var(--dep-warn);color:var(--dep-black)}.pill.pending{background:var(--dep-info);color:#fff}.pill.unknown{background:var(--dep-danger);color:#fff}.choices{display:flex;flex-wrap:wrap;gap:var(--space-2)}.choices button{border:1px solid var(--dep-border);background:var(--dep-bg);border-radius:var(--radius-full);padding:10px 16px;font-weight:700;font-size:var(--text-sm);min-height:44px}.choices button:hover{border-color:var(--dep-accent)}.reason-input{width:100%;min-height:var(--touch-target);border:1px solid var(--dep-border);border-radius:var(--radius-md);background:var(--dep-surface);color:var(--dep-text);padding:0 var(--space-3);margin-top:var(--space-2);-webkit-user-select:text;user-select:text}.foto-campo{display:grid;place-items:center;min-height:132px;border:2px dashed var(--dep-border);border-radius:var(--radius-md);background:var(--dep-surface);color:var(--dep-text-muted);font-size:var(--text-sm);font-weight:700;text-align:center;padding:var(--space-3);overflow:hidden}.foto-campo img{max-width:100%;max-height:260px;border-radius:var(--radius-sm)}.scan-fab{position:fixed;right:var(--space-4);bottom:calc(var(--touch-target) + env(safe-area-inset-bottom) + var(--space-4));width:var(--scan-button);height:var(--scan-button);border-radius:var(--radius-full);border:none;background:var(--dep-lime);color:var(--dep-black);box-shadow:var(--shadow-float);display:grid;place-items:center;z-index:20}.scan-fab svg{width:46px;height:46px}.scan-fab:active{transform:scale(.94)}.scan-screen{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;z-index:50}.scan-screen video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.scan-back{position:absolute;top:calc(env(safe-area-inset-top) + 10px);left:10px;width:44px;height:44px;border:none;border-radius:var(--radius-full);background:#00000073;color:#fff;font-size:22px;line-height:1;z-index:3}.viewfinder{position:absolute;left:12%;right:12%;top:22%;aspect-ratio:1;pointer-events:none;z-index:2}.viewfinder.barras{left:8%;right:8%;top:38%;aspect-ratio:2.4 / 1}.viewfinder .c{position:absolute;width:46px;height:46px;border:4px solid #fff}.viewfinder .tl{top:0;left:0;border-right:none;border-bottom:none}.viewfinder .tr{top:0;right:0;border-left:none;border-bottom:none}.viewfinder .bl{bottom:0;left:0;border-right:none;border-top:none}.viewfinder .br{bottom:0;right:0;border-left:none;border-top:none}.scan-hint{position:absolute;left:50%;transform:translate(-50%);top:calc(env(safe-area-inset-top) + 10px);height:44px;display:flex;align-items:center;background:#000000b8;color:#fff;font-weight:700;padding:0 22px;border-radius:var(--radius-full);white-space:nowrap;z-index:3}.scan-warn{position:absolute;left:16px;right:16px;top:calc(env(safe-area-inset-top) + 66px);background:#0009;color:#fff;font-size:var(--text-xs);padding:8px 12px;border-radius:var(--radius-sm);z-index:3}.conta-pick{position:absolute;left:0;right:0;bottom:0;z-index:7;background:var(--dep-surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-4);padding-bottom:calc(env(safe-area-inset-bottom) + var(--space-4));display:flex;flex-direction:column;gap:var(--space-3);box-shadow:0 -8px 28px #00000059}.conta-pick .titulo{font-size:var(--text-xl);font-weight:800;text-align:center}.conta-pick code{font-family:var(--font-mono);font-size:var(--text-sm);color:var(--dep-text-muted);text-align:center;word-break:break-all}.conta-pick .opcoes{display:flex;gap:var(--space-2)}.conta-pick .opcoes button{flex:1;min-height:72px;border-radius:var(--radius-md);border:3px solid var(--dep-border);background:var(--dep-bg);color:var(--dep-text);font-size:var(--text-lg);font-weight:800;display:flex;align-items:center;justify-content:center;gap:var(--space-2)}.conta-pick .opcoes button:active{background:var(--dep-lime);color:var(--dep-black)}.conta-pick .ponto{width:14px;height:14px;border-radius:50%;flex:none}.conta-pick .depois{border:none;background:none;color:var(--dep-text-muted);font-weight:700;min-height:44px}.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--dep-surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;z-index:4;display:flex;flex-direction:column;max-height:38vh;transition:max-height .22s ease;padding-bottom:env(safe-area-inset-bottom)}.sheet.open{max-height:86vh}.grabber{border:none;background:none;padding:12px 0 6px;display:grid;place-items:center;flex:none}.grabber span{display:block;width:44px;height:5px;border-radius:3px;background:var(--dep-gray-300)}.sheet-head{text-align:center;padding:4px var(--space-4) var(--space-3);flex:none}.sheet-head.compact{padding-bottom:var(--space-2)}.sheet-head .count{font-size:var(--text-2xl);font-weight:800}.sheet-head .sub{color:var(--dep-text-muted);font-size:var(--text-sm)}.sheet-list{overflow-y:auto;padding:0 var(--space-4);flex:1}.sheet-empty{text-align:center;color:var(--dep-text-muted);padding:var(--space-5)}.sheet-item{border:1px solid var(--dep-border);border-radius:var(--radius-md);padding:var(--space-3);margin-bottom:var(--space-2);display:flex;flex-direction:column;gap:6px}.sheet-item .top{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.sheet-item code{font-family:var(--font-mono);font-size:var(--text-sm);word-break:break-all}.sheet-item .remove{border:1px solid var(--dep-danger);color:var(--dep-danger);background:none;border-radius:var(--radius-full);padding:7px 14px;font-size:var(--text-xs);font-weight:800;flex:none}.sheet-item .meta{font-size:var(--text-sm);color:var(--dep-text-muted)}.carrier-pick{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);font-weight:700}.carrier-pick select{flex:1;min-height:40px;border-radius:var(--radius-sm);border:1px solid var(--dep-border);background:var(--dep-bg);color:var(--dep-text);padding:0 8px}.obs-input{width:100%;min-height:42px;border:1px solid var(--dep-border);border-radius:var(--radius-sm);background:var(--dep-bg);color:var(--dep-text);padding:0 10px;font-size:var(--text-sm);-webkit-user-select:text;user-select:text}.obs-input:focus{border-color:var(--dep-accent)}.sheet-erro{margin:0 var(--space-4) var(--space-2);background:var(--dep-danger);color:#fff;padding:10px;border-radius:var(--radius-sm);font-size:var(--text-sm);font-weight:700}.sheet-actions{display:flex;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);flex:none}.btn-deliver{flex:2;min-height:var(--touch-target);border:none;border-radius:var(--radius-md);background:var(--dep-lime);color:var(--dep-black);font-weight:800;font-size:var(--text-lg)}.btn-deliver:disabled{opacity:.45}.btn-ghost{flex:1;min-height:var(--touch-target);border:1px solid var(--dep-border);background:transparent;color:var(--dep-text);border-radius:var(--radius-md);font-weight:700}.typing{position:absolute;inset:auto 0 0 0;background:var(--dep-surface);padding:var(--space-4);padding-bottom:calc(env(safe-area-inset-bottom) + var(--space-4));display:flex;gap:var(--space-2);z-index:6;border-top:1px solid var(--dep-border)}.typing input{flex:2;min-height:var(--touch-target);border:1px solid var(--dep-border);border-radius:var(--radius-md);background:var(--dep-bg);color:var(--dep-text);padding:0 12px;-webkit-user-select:text;user-select:text}.camera{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;z-index:50;display:flex;flex-direction:column}.camera video{flex:1;width:100%;object-fit:cover}.camera .controls{display:flex;gap:var(--space-2);padding:var(--space-3) var(--space-4) calc(env(safe-area-inset-bottom) + var(--space-4));background:var(--dep-black)}.camera .controls button{flex:1;min-height:var(--touch-target);border-radius:var(--radius-md);border:1px solid rgb(255 255 255 / .25);background:transparent;color:var(--dep-cream);font-weight:700}.camera .controls button.primary{background:var(--dep-lime);color:var(--dep-black);border-color:var(--dep-lime)}.flash{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;text-align:center;gap:var(--space-2);padding:var(--space-6);animation:flash-in .14s ease-out}.flash .label{font-size:var(--text-3xl);font-weight:800;line-height:1.1}.flash .detail{font-size:var(--text-lg);font-weight:700;opacity:.9}.flash code{font-family:var(--font-mono);font-size:var(--text-sm);opacity:.85;word-break:break-all}@keyframes flash-in{0%{opacity:0}to{opacity:1}}.actions{display:flex;gap:var(--space-2);margin-top:var(--space-4)}.btn{flex:1;min-height:var(--touch-target);border-radius:var(--radius-md);border:1px solid var(--dep-border);background:var(--dep-surface);font-weight:800}.btn.primary{background:var(--dep-lime);border-color:var(--dep-lime);color:var(--dep-black)}.btn:disabled{opacity:.5;cursor:not-allowed}.bottom-nav{display:flex;border-top:1px solid var(--dep-border);background:var(--dep-surface)}.bottom-nav a{flex:1;min-height:var(--touch-target);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:var(--dep-text-muted);font-size:var(--text-xs);font-weight:700;padding:var(--space-2) 0}.bottom-nav a.active{color:var(--dep-accent-text);box-shadow:inset 0 3px 0 var(--dep-accent)}.login{min-height:100%;display:grid;place-content:center;gap:var(--space-4);padding:var(--space-6);max-width:380px;margin:0 auto;width:100%}.brand-lockup{width:100%;max-width:220px;margin:0 auto var(--space-2)}.login label{display:flex;flex-direction:column;gap:6px;font-size:var(--text-sm);font-weight:700}.login input{min-height:var(--touch-target);border-radius:var(--radius-md);border:1px solid var(--dep-border);background:var(--dep-surface);color:var(--dep-text);padding:0 var(--space-3);font:inherit;-webkit-user-select:text;user-select:text}.error{background:var(--dep-danger);color:#fff;border-radius:var(--radius-md);padding:var(--space-3);font-size:var(--text-sm);font-weight:700}.note{font-size:var(--text-sm);color:var(--dep-text-muted);line-height:1.5}.fotos-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:var(--space-2);margin-bottom:var(--space-3)}.foto-item{position:relative;aspect-ratio:1;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--dep-border);background:var(--dep-surface)}.foto-item img{width:100%;height:100%;object-fit:cover;display:block}.foto-item .remover{position:absolute;top:4px;right:4px;width:30px;height:30px;border-radius:var(--radius-full);border:none;background:#000000a8;color:#fff;font-size:20px;line-height:1;display:grid;place-items:center}.codigos-contas{display:flex;flex-direction:column;gap:var(--space-2);margin-bottom:var(--space-3)}.codigos-contas.compacto{gap:var(--space-3)}.codigo-conta{background:var(--dep-surface);border:1px solid var(--dep-border);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-4)}.codigo-conta .nome{display:flex;align-items:center;gap:6px;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--dep-text-muted);flex:none;width:90px}.codigo-conta .ponto{width:8px;height:8px;border-radius:50%;flex:none}.codigo-conta .valor{font-family:var(--font-mono);font-size:var(--text-xl);font-weight:700;letter-spacing:.08em;line-height:1.3;flex:1}.codigo-conta .valor.aguardando{font-family:var(--font-sans);font-size:var(--text-sm);font-weight:700;color:var(--dep-warn);letter-spacing:normal;flex:1}.codigo-conta .digitar-codigo{display:flex;gap:var(--space-2);flex:1;min-width:220px}.codigo-conta .digitar-codigo input{flex:1;min-height:40px;border-radius:var(--radius-sm);border:1px solid var(--dep-border);background:var(--dep-bg);color:var(--dep-text);padding:0 var(--space-3);font-family:var(--font-mono);letter-spacing:.06em}.btn-ghost.pequeno{flex:none;min-height:34px;padding:0 var(--space-3);font-size:var(--text-xs)}.note.erro{color:var(--dep-danger);font-weight:700}.scan-warn.erro{background:var(--dep-danger)}.chegada-painel{position:absolute;inset:auto 0 0 0;z-index:6;background:var(--dep-surface);border-top:1px solid var(--dep-border);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-4);padding-bottom:calc(env(safe-area-inset-bottom) + var(--space-4));display:flex;flex-direction:column;gap:var(--space-3);max-height:78%;overflow-y:auto}.chegada-painel .rotulo{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--dep-text-muted);margin-bottom:calc(var(--space-2) * -1)}.chegada-painel .codigo{font-family:var(--font-mono);font-size:2.6rem;font-weight:700;letter-spacing:.12em;line-height:1.1;text-align:center;padding:var(--space-3) 0}.chegada-painel .codigo.aguardando{font-family:var(--font-sans);font-size:var(--text-lg);color:var(--dep-warn);letter-spacing:normal}.chegada-painel .explica{font-size:var(--text-sm);color:var(--dep-text-muted);line-height:1.5;margin:0}.chegada-painel .detalhe{font-size:var(--text-sm);color:var(--dep-text-muted);font-family:var(--font-mono)}.chegada-painel .aviso{border-radius:var(--radius-sm);padding:var(--space-3);font-size:var(--text-sm);font-weight:700;line-height:1.4}.chegada-painel .aviso.repetido{background:var(--dep-warn);color:var(--dep-black)}.chegada-painel .aviso.desconhecido{background:var(--dep-danger);color:#fff}.chegada-painel .digitar-codigo{display:flex;gap:var(--space-2)}.chegada-painel .digitar-codigo input{flex:2;min-height:var(--touch-target);border-radius:var(--radius-md);border:1px solid var(--dep-border);background:var(--dep-bg);color:var(--dep-text);padding:0 var(--space-3);font-family:var(--font-mono);font-size:var(--text-lg);letter-spacing:.08em}.chegada-painel .acoes{display:flex;gap:var(--space-2)}.bottom-nav a{line-height:1.15;text-align:center}.codigo-dia .origem{font-size:var(--text-xs);color:var(--dep-text-muted);margin-top:2px}.btn-abrir{min-height:var(--touch-target);display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:var(--dep-lime);color:var(--dep-black);font-weight:800;font-size:var(--text-base);text-decoration:none;text-align:center;padding:0 var(--space-3)}.codigo-dia button.valor,.chegada-painel button.codigo{display:block;width:100%;border:none;background:none;color:inherit;padding:0;text-align:inherit;-webkit-tap-highlight-color:transparent}.chegada-painel button.codigo{text-align:center;padding:var(--space-3) 0}.copiar-dica{display:block;font-family:var(--font-sans);font-size:var(--text-xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--dep-text-muted);margin-top:4px}.chegada-painel button.codigo:active,.codigo-dia button.valor:active{opacity:.6}
