:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#111827;font-synthesis:none;--surface:#fff;--surface-muted:#f9fafb;--border:#d1d5db;--text-muted:#6b7280;--primary:#111827;--primary-text:#fff;--danger:#b91c1c;--warning-bg:#fffbeb;--warning-border:#f59e0b;--warning-text:#92400e;background:#f3f4f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{background:var(--surface-muted);color:#111827;min-height:100dvh;padding-bottom:calc(74px + env(safe-area-inset-bottom));margin:0}button,input,select,textarea{font:inherit}button{touch-action:manipulation}.app-header{z-index:20;padding:calc(.85rem + env(safe-area-inset-top)) 1rem .85rem;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;justify-content:space-between;align-items:center;gap:1rem;display:flex;position:sticky;top:0}h1,h2,p{margin-top:0}h1{margin-bottom:.1rem;font-size:1.2rem}h2{margin-bottom:.25rem;font-size:1.3rem}main{width:min(760px,100%);margin:0 auto;padding:1rem}.view{display:block}.view[hidden]{display:none}.section-heading{margin-bottom:1rem}.section-heading p{color:var(--text-muted);margin-bottom:0}.subtle{color:var(--text-muted);font-size:.9rem}.count-badge{color:#fff;text-align:center;background:#111827;border-radius:999px;min-width:2rem;padding:.35rem .55rem;font-weight:700}.camera-shell{aspect-ratio:3/4;background:#030712;border-radius:1rem;width:100%;max-height:62dvh;position:relative;overflow:hidden}.camera-shell video{object-fit:cover;width:100%;height:100%}.camera-guide{pointer-events:none;border:2px solid #ffffff80;border-radius:1rem;position:absolute;inset:10% 8%}.zoom-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000085;border-radius:2rem;align-items:center;gap:.5rem;padding:.4rem .65rem;display:flex;position:absolute;bottom:.75rem;left:1.25rem;right:1.25rem}.zoom-btn{color:#fff;cursor:pointer;touch-action:manipulation;background:#fff3;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:2rem;height:2rem;padding:0;font-size:1.25rem;line-height:1;display:grid}.zoom-btn:active{background:#ffffff61}.zoom-overlay input[type=range]{width:auto;min-height:unset;accent-color:#fff;cursor:pointer;background:#ffffff4d;border:none;border-radius:2px;flex:1;height:4px;padding:0}.camera-placeholder{text-align:center;color:#d1d5db;background:#111827;place-content:center;gap:.35rem;display:grid;position:absolute;inset:0}.camera-shell.scanning .camera-placeholder{display:none}.message{min-height:1.4rem;color:var(--text-muted);margin:.75rem 0}.button-row{flex-wrap:wrap;gap:.6rem;display:flex}.button{border:1px solid var(--border);background:var(--surface);color:#111827;cursor:pointer;border-radius:.7rem;min-height:44px;padding:.7rem .95rem;font-weight:650}.button.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.button.ghost{background:0 0}.button.danger{color:var(--danger);background:#fff;border-color:#fecaca}.button.small{min-height:38px;padding:.5rem .7rem;font-size:.9rem}.button:disabled{opacity:.55;cursor:not-allowed}.file-button{justify-content:center;align-items:center;display:inline-flex}.file-button input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.secondary-actions,fieldset,.export-panel,.lead-card,details{border:1px solid var(--border);background:var(--surface);border-radius:.85rem}.secondary-actions{margin-top:1rem;padding:.8rem}details>summary{cursor:pointer;font-weight:650}.stack{gap:.75rem;margin-top:.8rem;display:grid}fieldset{margin:0 0 1rem;padding:1rem}legend{padding:0 .35rem;font-weight:750}.form-grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.form-grid label{gap:.35rem;font-weight:600;display:grid}.full-width{grid-column:1/-1}input,select,textarea{color:#111827;background:#fff;border:1px solid #9ca3af;border-radius:.6rem;width:100%;min-height:44px;padding:.65rem .7rem}textarea{resize:vertical}.warning{border:1px solid var(--warning-border);background:var(--warning-bg);color:var(--warning-text);border-radius:.7rem;margin-bottom:1rem;padding:.8rem}.raw-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:15rem;font-size:.78rem;overflow:auto}.sticky-actions{bottom:calc(66px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f9fafbf0;border-radius:.8rem;margin:1rem -.25rem 0;padding:.75rem;position:sticky}.export-panel{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;padding:.8rem;display:flex}.lead-list{gap:.7rem;display:grid}.lead-card{justify-content:space-between;gap:1rem;padding:.9rem;display:flex}.lead-card-main{gap:.2rem;min-width:0;display:grid}.lead-email{overflow-wrap:anywhere}.lead-actions{flex-direction:column;gap:.4rem;display:flex}.lead-tags{flex-wrap:wrap;gap:.35rem;margin-top:.35rem;display:flex}.tag{background:#e5e7eb;border-radius:999px;padding:.2rem .45rem;font-size:.78rem;display:inline-block}.empty-state{text-align:center;color:var(--text-muted);padding:2rem 1rem}.danger-zone{border-top:1px solid var(--border);margin-top:2rem;padding-top:1rem}.bottom-nav{z-index:30;padding:.45rem .75rem calc(.45rem + env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;grid-template-columns:1fr 1fr;display:grid;position:fixed;bottom:0;left:0;right:0}.nav-button{min-height:46px;color:var(--text-muted);background:0 0;border:0;border-radius:.65rem;font-weight:750}.nav-button.active{color:#111827;background:#e5e7eb}@media (width<=520px){.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.lead-card{flex-direction:column}.lead-actions{flex-direction:row}.button-row .button{flex:auto}}@media (prefers-color-scheme:dark){:root{--surface:#111827;--surface-muted:#030712;--border:#374151;--text-muted:#9ca3af;--primary:#f9fafb;--primary-text:#111827;--warning-bg:#451a03;--warning-border:#b45309;--warning-text:#fde68a}body{color:#f9fafb}.app-header,.bottom-nav{background:#111827f0}.count-badge{color:#111827;background:#f9fafb}.button{color:#f9fafb}.button.danger{color:#fca5a5;background:0 0;border-color:#7f1d1d}input,select,textarea{color:#f9fafb;background:#030712;border-color:#4b5563}.sticky-actions{background:#030712f0}.tag{background:#374151}.nav-button.active{color:#f9fafb;background:#374151}}
