@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";:root{--bg-color: #f8fafc;--text-primary: #0f172a;--text-secondary: #64748b;--accent-color: #4f46e5;--accent-hover: #4338ca;--accent-light: #eef2ff;--danger-color: #ef4444;--success-color: #10b981;--whats-color: #16a34a;--whats-hover: #15803d;--glass-bg: rgba(255, 255, 255, .98);--glass-border: #e2e8f0;--glass-shadow: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .04);--card-bg: #ffffff;--card-border: #e2e8f0;--card-shadow: 0 1px 3px 0 rgba(0, 0, 0, .05), 0 1px 2px -1px rgba(0, 0, 0, .03);--card-shadow-hover: 0 10px 20px -3px rgba(0, 0, 0, .08), 0 4px 6px -2px rgba(0, 0, 0, .04);--highlight-color: rgba(250, 204, 21, .3);--highlight-text: #854d0e;--doubt-color: rgba(239, 68, 68, .1);--doubt-border: #ef4444}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-color);color:var(--text-primary);min-height:100vh;overflow-x:hidden;line-height:1.5;-webkit-font-smoothing:antialiased}.app-container{width:100%;max-width:1720px;margin:0 auto;padding:1.25rem 2rem}.hidden{display:none!important}header{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--glass-border);flex-wrap:wrap}.header-brand-group{display:flex;align-items:center;gap:1.75rem;flex-wrap:wrap}.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none}.logo-icon{font-size:1.75rem;color:#fff;background:linear-gradient(135deg,#4f46e5,#3b82f6);padding:.35rem;border-radius:10px;box-shadow:0 4px 8px #4f46e540}.logo-text{font-weight:800;font-size:1.35rem;color:#0f172a;letter-spacing:-.5px}.logo-sub{font-weight:500;font-size:.95rem;color:#64748b}.nav-tabs-pill{display:flex;gap:.35rem;background:#f1f5f9;padding:.3rem;border-radius:12px;border:1px solid #e2e8f0}.nav-tab{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.15rem;border:none;border-radius:9px;background:transparent;color:#64748b;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);white-space:nowrap}.nav-tab .material-icons-round{font-size:1.2rem}.nav-tab:hover{color:var(--text-primary);background:#fff9}.nav-tab.active{background:#fff;color:var(--accent-color);box-shadow:0 2px 8px #00000014}.tab-badge{background:#e0e7ff;color:var(--accent-color);font-size:.75rem;font-weight:800;padding:.15rem .5rem;border-radius:999px}.nav-tab.active .tab-badge{background:var(--accent-color);color:#fff}.search-bar{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.55rem 1rem;flex:1;min-width:260px;max-width:480px;transition:all .2s ease;box-shadow:0 1px 2px #00000008}.search-bar:focus-within{border-color:var(--accent-color);box-shadow:0 0 0 3px #4f46e51f}.search-bar input{background:transparent;border:none;color:var(--text-primary);outline:none;width:100%;margin-left:.65rem;font-family:inherit;font-size:.9rem}.search-bar input::placeholder{color:#94a3b8}.search-icon{color:#94a3b8;font-size:1.25rem}.search-kbd{background:#f1f5f9;color:#94a3b8;font-size:.75rem;font-weight:700;padding:.1rem .4rem;border-radius:4px;border:1px solid #e2e8f0;font-family:inherit}.actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.tab-actions-group{display:flex;align-items:center;gap:.6rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.55rem 1.15rem;border-radius:10px;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);text-decoration:none;border:1px solid transparent;white-space:nowrap}.btn.primary{background-color:var(--accent-color);color:#fff;box-shadow:0 2px 4px #4f46e533}.btn.primary:hover{background-color:var(--accent-hover);box-shadow:0 4px 10px #4f46e54d;transform:translateY(-1px)}.btn.primary.action-highlight{background:linear-gradient(135deg,#4f46e5,#4338ca)}.btn.outline{background-color:#fff;border:1px solid #e2e8f0;color:#475569}.btn.outline:hover{border-color:#cbd5e1;background-color:#f8fafc;color:var(--text-primary)}.btn.whats-btn-settings:hover{border-color:#22c55e;color:#16a34a;background:#f0fdf4}.btn.small{padding:.35rem .75rem;font-size:.8rem;border-radius:8px}.btn.full{width:100%}.btn.icon-only{padding:.55rem;border-radius:10px;color:var(--danger-color);border-color:#fee2e2}.btn.icon-only:hover{background:#fef2f2;border-color:var(--danger-color)}.leads-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:.85rem 1.25rem;margin-bottom:1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1.25rem;flex-wrap:wrap;box-shadow:0 1px 3px #00000008}.toolbar-left{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.lead-type-filters{display:flex;gap:.4rem;flex-wrap:wrap}.chip-filter{display:flex;align-items:center;gap:.4rem;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;padding:.45rem .95rem;border-radius:10px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .15s ease}.chip-filter:hover{border-color:#cbd5e1;background:#fff}.chip-filter.active{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 2px 6px #0f172a26}.chip-filter.active .material-icons-round{color:#fff!important}.view-mode-toggle{display:flex;background:#f1f5f9;padding:.25rem;border-radius:10px;border:1px solid #e2e8f0}.mode-btn{display:flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border:none;background:transparent;border-radius:7px;font-size:.8rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s}.mode-btn.active{background:#fff;color:var(--accent-color);box-shadow:0 1px 3px #00000014}.leads-metrics-cards{display:flex;gap:.85rem;align-items:center;flex-wrap:wrap}.mini-stat-card{display:flex;align-items:center;gap:.65rem;background:#f8fafc;border:1px solid #e2e8f0;padding:.4rem .85rem;border-radius:12px}.mini-stat-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem}.mini-stat-info{display:flex;flex-direction:column}.mini-stat-label{font-size:.7rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.mini-stat-val{font-size:.95rem;font-weight:800;color:#0f172a;line-height:1.2}.kanban-wrapper{width:100%;overflow-x:auto;padding-bottom:1.5rem}.kanban-wrapper::-webkit-scrollbar{height:10px}.kanban-wrapper::-webkit-scrollbar-track{background:#f1f5f9;border-radius:6px}.kanban-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:.85rem;width:100%;min-width:0;align-items:flex-start}@media (max-width: 1180px){.kanban-board{min-width:1100px}}.kanban-column{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:.85rem;display:flex;flex-direction:column;min-height:calc(100vh - 280px);transition:all .2s cubic-bezier(.16,1,.3,1)}.kanban-column.drag-over{background:var(--col-bg-subtle, #f1f5f9);border:2px dashed var(--col-accent, #4f46e5);box-shadow:0 0 0 4px #4f46e50d}.column-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.85rem;padding-bottom:.65rem;border-bottom:2px solid var(--col-accent, #cbd5e1)}.col-title-group{display:flex;align-items:center;gap:.45rem}.col-accent-badge{width:10px;height:10px;border-radius:50%}.col-title-group h3{font-size:.9rem;font-weight:700;color:#1e293b;margin:0}.col-count-pill{background:#fff;color:#475569;border:1px solid #e2e8f0;font-size:.72rem;font-weight:800;padding:.1rem .45rem;border-radius:999px}.col-header-actions{display:flex;align-items:center;gap:.45rem}.col-value-sum{font-size:.75rem;font-weight:700;color:#64748b}.col-quick-add{background:#fff;border:1px solid #e2e8f0;color:#64748b;width:22px;height:22px;border-radius:6px;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:1;transition:all .15s}.col-quick-add:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.kanban-cards-track{display:flex;flex-direction:column;gap:.85rem;overflow-y:auto;min-height:140px;flex:1}.kanban-empty-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem .75rem;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;color:#94a3b8;background:#fff6;cursor:pointer;transition:all .2s}.kanban-empty-cta:hover{border-color:var(--accent-color);color:var(--accent-color);background:#fff}.kanban-empty-cta .material-icons-round{font-size:1.5rem;margin-bottom:.35rem}.kanban-empty-cta span{font-size:.75rem;font-weight:600}.lead-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.65rem .8rem;box-shadow:0 1px 2px #0000000a;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;gap:.4rem;cursor:grab;position:relative}.lead-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px -3px #00000014,0 2px 4px -2px #00000008;border-color:#cbd5e1}.lead-card.dragging{opacity:.4;cursor:grabbing}.card-header-row{display:flex;justify-content:space-between;align-items:center;gap:.4rem}.lead-badge{font-size:.65rem;font-weight:800;padding:.15rem .45rem;border-radius:5px;text-transform:uppercase;letter-spacing:.3px}.lead-badge.seller{background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe}.lead-badge.buyer{background:#fef3c7;color:#b45309;border:1px solid #fde68a}.inactivity-badge{font-size:.68rem;display:flex;align-items:center;gap:.2rem;padding:.1rem .35rem;border-radius:5px;font-weight:700}.inactivity-badge.warning{background:#fee2e2;color:#dc2626;border:1px solid #fecaca}.inactivity-badge.ok{color:#94a3b8;background:#f8fafc}.card-client-name{font-weight:800;font-size:.88rem;color:#0f172a;display:flex;align-items:center;gap:.35rem}.card-client-name .client-avatar{width:20px;height:20px;border-radius:50%;background:#f1f5f9;color:#475569;display:flex;align-items:center;justify-content:center;font-size:11px}.card-vehicle-box{background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;padding:.35rem .55rem;display:flex;flex-direction:column;gap:.2rem}.card-vehicle-title{font-size:.85rem;font-weight:700;color:#1e293b;line-height:1.25}.card-tags-row{display:flex;gap:.25rem;align-items:center;flex-wrap:wrap}.card-tag{background:#fff;border:1px solid #e2e8f0;padding:.08rem .35rem;border-radius:4px;font-size:.68rem;font-weight:700;color:#475569}.card-tag.plate{background:#1e293b;color:#fff;border-color:#0f172a;font-family:monospace;letter-spacing:.5px}.card-price-row{display:flex;justify-content:space-between;align-items:baseline;padding:0}.card-price-label{font-size:.72rem;color:#64748b;font-weight:500}.card-price-val{font-size:.95rem;font-weight:800;color:#059669}.card-thumb-container{position:relative;border-radius:6px;overflow:hidden;height:62px;background:#f1f5f9}.card-thumb-img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.lead-card:hover .card-thumb-img{transform:scale(1.04)}.card-thumb-count{position:absolute;bottom:3px;right:3px;background:#0f172acc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;font-size:.6rem;font-weight:700;padding:.1rem .35rem;border-radius:3px}.schedule-badge{display:flex;align-items:center;gap:.3rem;font-size:.74rem;padding:.3rem .55rem;border-radius:6px;font-weight:700;margin-top:.2rem;line-height:1.2}.schedule-badge.today{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b;box-shadow:0 0 0 2px #f59e0b26}.schedule-badge.future{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe}.schedule-badge.overdue{background:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}.card-notes-snippet{background:#f8fafc;border-left:3px solid var(--accent-color);padding:.28rem .45rem;font-size:.72rem;color:#475569;border-radius:4px;line-height:1.35;margin-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-actions-bar{display:flex;gap:.25rem;align-items:center;margin-top:.1rem;padding-top:.35rem;border-top:1px solid #f1f5f9}.btn-card-whats{flex:1;display:flex;align-items:center;justify-content:center;gap:.25rem;background:#16a34a;color:#fff;border:none;padding:.32rem .45rem;border-radius:6px;font-size:.74rem;font-weight:700;cursor:pointer;transition:all .15s;text-decoration:none;min-width:0}.btn-card-whats:hover{background:#15803d;transform:translateY(-1px)}.btn-card-action{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;color:#64748b;width:26px;height:26px;border-radius:6px;cursor:pointer;transition:all .15s;padding:0;flex-shrink:0}.btn-card-action:hover{background:#f8fafc;color:var(--accent-color);border-color:var(--accent-color);transform:translateY(-1px)}.btn-card-action.btn-card-win:hover{background:#ecfdf5;color:#059669;border-color:#059669}.btn-card-action.btn-card-loss:hover{background:#f1f5f9;color:#64748b;border-color:#94a3b8}.btn-card-action.btn-card-schedule:hover{background:#f5f3ff;color:#7c3aed;border-color:#7c3aed}.btn-preset-schedule{background:#fff;border:1px solid #ddd6fe;color:#6d28d9;padding:.45rem .35rem;border-radius:6px;font-size:.75rem;font-weight:700;cursor:pointer;transition:all .15s;text-align:center}.btn-preset-schedule:hover{background:#7c3aed;color:#fff;border-color:#7c3aed;transform:translateY(-1px)}.leads-reports-container{display:flex;flex-direction:column;gap:1.25rem}.reports-header-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.25rem;box-shadow:0 1px 3px #0000000a}.reports-metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}@media (max-width: 900px){.reports-metrics-grid{grid-template-columns:repeat(2,1fr)}}.report-metric-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;display:flex;align-items:center;gap:.85rem}.report-metric-card.win{background:#f0fdf4;border-color:#bbf7d0}.report-metric-card.win .report-metric-icon{background:#dcfce7;color:#16a34a}.report-metric-card.commission{background:#ecfeff;border-color:#a5f3fc}.report-metric-card.commission .report-metric-icon{background:#cffafe;color:#0891b2}.report-metric-card.loss{background:#fef2f2;border-color:#fecaca}.report-metric-card.loss .report-metric-icon{background:#fee2e2;color:#dc2626}.report-metric-card.avg-time{background:#f5f3ff;border-color:#ddd6fe}.report-metric-card.avg-time .report-metric-icon{background:#ede9fe;color:#7c3aed}.report-metric-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.report-metric-data{display:flex;flex-direction:column}.report-metric-label{font-size:.78rem;font-weight:700;color:#64748b}.report-metric-val{font-size:1.35rem;font-weight:800;color:#0f172a;line-height:1.2;margin:.15rem 0}.report-metric-sub{font-size:.72rem;color:#94a3b8;font-weight:500}.reports-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.75rem 1rem}.reports-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.reports-toolbar .filter-group{display:flex;align-items:center;gap:.4rem}.reports-toolbar .filter-group label{font-size:.8rem;font-weight:700;color:#475569;display:flex;align-items:center;gap:.2rem;margin:0}.reports-search{flex:1;max-width:320px}.reports-table td{padding:.75rem 1rem}.btn-reactivate-lead{background:#f0fdf4;border:1px solid #86efac;color:#16a34a;font-size:.75rem;font-weight:700;padding:.3rem .6rem;border-radius:6px;cursor:pointer;transition:all .15s;display:inline-flex;align-items:center;gap:.3rem}.btn-reactivate-lead:hover{background:#16a34a;color:#fff;border-color:#16a34a;transform:translateY(-1px)}.leads-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow-x:auto;box-shadow:0 1px 3px #0000000a}.leads-table{width:100%;border-collapse:collapse;text-align:left;font-size:.85rem}.leads-table th{background:#f8fafc;color:#64748b;font-weight:700;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;font-size:.75rem;text-transform:uppercase;letter-spacing:.5px}.leads-table td{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;color:#1e293b;vertical-align:middle}.leads-table tr:hover td{background:#f8fafc}.table-client-cell{display:flex;flex-direction:column}.table-client-name{font-weight:700;color:#0f172a}.table-client-phone{font-size:.78rem;color:#64748b}.table-vehicle-cell{display:flex;flex-direction:column}.table-vehicle-title{font-weight:700}.table-vehicle-year{font-size:.78rem;color:#64748b}.status-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .55rem;border-radius:999px;font-size:.72rem;font-weight:700}.paste-zone{border:2px dashed #cbd5e1;border-radius:10px;padding:.85rem 1rem;background:#f8fafc;text-align:center;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);outline:none}.paste-zone:hover,.paste-zone:focus{border-color:var(--accent-color);background:#f5f3ff;box-shadow:0 0 0 3px #4f46e51a}.paste-zone.dragover{border-color:#10b981;background:#ecfdf5}.compact-paste-zone{padding:.45rem .75rem;display:flex;align-items:center;gap:.65rem;text-align:left;border:1.5px dashed #cbd5e1;border-radius:8px}.paste-icon-sm{font-size:1.4rem;color:var(--accent-color);flex-shrink:0}.paste-text-compact{font-size:.75rem;color:#475569;line-height:1.3}.paste-text-compact kbd{background:#fff;border:1px solid #cbd5e1;box-shadow:0 1px 1px #00000014;padding:.1rem .35rem;border-radius:4px;font-size:.72rem;color:var(--accent-color);font-weight:800}.photos-preview-gallery-sm{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.35rem}.photo-preview-item{position:relative;width:52px;height:52px;border-radius:6px;overflow:hidden;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000f}.photo-preview-item img{width:100%;height:100%;object-fit:cover}.photo-remove-btn{position:absolute;top:2px;right:2px;background:#0f172ad9;color:#fff;border:none;border-radius:50%;width:18px;height:18px;font-size:.7rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s}.photo-remove-btn:hover{background:#ef4444}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a99;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background:var(--card-bg);border:1px solid var(--glass-border);border-radius:16px;padding:1.5rem;box-shadow:var(--glass-shadow);width:100%;position:relative;animation:modalScale .2s cubic-bezier(.16,1,.3,1)}@keyframes modalScale{0%{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal.auth-modal{max-width:400px;text-align:center}.modal.quick-modal{max-width:520px}.modal.long-modal{max-width:740px}.modal.lead-modal{max-width:660px;max-height:88vh;padding:1.15rem 1.35rem .85rem;display:flex;flex-direction:column;overflow:hidden;border-radius:16px}.modal-header-compact{display:flex;justify-content:space-between;align-items:center;margin-bottom:.65rem;padding-right:2rem;flex-shrink:0}.modal-icon-badge-sm{background:#eef2ff;color:var(--accent-color);padding:.35rem;border-radius:8px;font-size:1.25rem}.lead-form-compact{display:flex;flex-direction:column;flex:1;overflow:hidden}.modal-scrollable-body{flex:1;overflow-y:auto;padding-right:.35rem;display:flex;flex-direction:column;gap:.35rem}.modal-scrollable-body::-webkit-scrollbar{width:4px}.modal-scrollable-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.compact-row{gap:.5rem;margin-bottom:.25rem}.close-btn{position:absolute;top:1rem;right:1rem;background:#f1f5f9;border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;transition:all .15s;z-index:2}.close-btn:hover{background:#e2e8f0;color:#0f172a}.lead-type-toggle{display:flex;background:#f1f5f9;padding:.2rem;border-radius:8px;border:1px solid #e2e8f0}.type-btn{display:flex;align-items:center;gap:.25rem;padding:.3rem .65rem;border:none;background:transparent;border-radius:6px;font-size:.78rem;font-weight:700;color:#64748b;cursor:pointer;transition:all .15s}.type-btn.active{background:#fff;color:var(--accent-color);box-shadow:0 1px 2px #00000014}.input-group{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.4rem;text-align:left}.input-group label{font-size:.76rem;font-weight:700;color:#475569}.input-group input,.input-group select,.input-group textarea{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:.42rem .65rem;font-family:inherit;font-size:.85rem;color:#0f172a;outline:none;transition:all .15s}.input-group input:focus,.input-group select:focus,.input-group textarea:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px #4f46e51a}.input-group-row{display:flex;gap:.65rem;flex-wrap:wrap}.input-with-icon{position:relative;display:flex;align-items:center}.input-with-icon .input-icon{position:absolute;left:.65rem;pointer-events:none;font-size:1.05rem}.input-with-icon input{padding-left:2.1rem!important;width:100%}.modal-footer-actions.fixed-footer{position:sticky;bottom:0;background:#fff;padding-top:.65rem;margin-top:.4rem;border-top:1px solid #e2e8f0;flex-shrink:0;display:flex;align-items:center;gap:.5rem;z-index:10}.dynamic-tags-bar{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.65rem}.tag-chip{background:#eef2ff;color:var(--accent-color);border:1px solid #c7d2fe;padding:.25rem .55rem;border-radius:6px;font-size:.75rem;font-weight:800;font-family:monospace;cursor:pointer;transition:all .15s}.tag-chip:hover{background:var(--accent-color);color:#fff}.templates-list{display:flex;flex-direction:column;gap:.75rem;max-height:220px;overflow-y:auto;margin-bottom:1.25rem;padding-right:.25rem}.template-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1.15rem;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.template-item-info{flex:1}.template-item-title{font-weight:800;font-size:.95rem;color:#0f172a;margin-bottom:.25rem}.template-item-preview{font-size:.82rem;color:#64748b;line-height:1.4}.template-item-actions{display:flex;gap:.35rem}.template-editor-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem}.categories-bar{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:1rem;margin-bottom:1.5rem}.chip{background:#fff;border:1px solid #e2e8f0;color:#475569;padding:.5rem 1rem;border-radius:999px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.chip.active{background:#0f172a;color:#fff;border-color:#0f172a}.notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.5rem}.note-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:16px;padding:1.25rem;box-shadow:var(--card-shadow);transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;min-height:190px}.note-card:hover{transform:translateY(-2px);box-shadow:var(--card-shadow-hover);border-color:#cbd5e1}.note-card.important{border-left:5px solid #eab308}.note-card.reminder-active{border:2px solid var(--danger-color);animation:pulseBorder 1.5s infinite}@keyframes pulseBorder{0%{box-shadow:0 0 #ef444466}70%{box-shadow:0 0 0 10px #ef444400}to{box-shadow:0 0 #ef444400}}.note-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.note-type{font-size:.75rem;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.note-title{font-weight:700;font-size:1.1rem;margin-bottom:.5rem;color:var(--text-primary)}.note-content-preview{color:var(--text-secondary);font-size:.9rem;line-height:1.5;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.note-footer{display:flex;align-items:center;margin-top:1rem;font-size:.8rem;color:var(--text-secondary)}.category-tag{font-size:.75rem;padding:.2rem .5rem;border-radius:6px;color:#fff;font-weight:600}.note-actions{display:flex;gap:.4rem}.action-btn{background:transparent;border:none;color:var(--text-secondary);cursor:pointer;font-size:1.2rem;padding:.2rem;border-radius:4px;transition:all .15s}.action-btn:hover{color:var(--text-primary);background:#f1f5f9}.action-btn.delete:hover{color:var(--danger-color)}.switch{position:relative;display:inline-block;width:36px;height:20px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cbd5e1;transition:.3s}.slider:before{position:absolute;content:"";height:14px;width:14px;left:3px;bottom:3px;background-color:#fff;transition:.3s}input:checked+.slider{background-color:var(--accent-color)}input:checked+.slider:before{transform:translate(16px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}.toast-container{position:fixed;bottom:1.5rem;right:1.5rem;display:flex;flex-direction:column;gap:.75rem;z-index:9999}.toast{background:#fff;border-left:4px solid var(--accent-color);box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #0000000f;border-radius:10px;padding:.85rem 1.15rem;min-width:320px;display:flex;align-items:center;justify-content:space-between;animation:slideInRight .3s cubic-bezier(.175,.885,.32,1.275)}.toast.fade-out{animation:fadeOutRight .3s ease forwards}.toast-content{display:flex;flex-direction:column}.toast-title{font-weight:700;color:#0f172a;font-size:.9rem}.toast-message{color:#64748b;font-size:.82rem;margin-top:.2rem}.toast-dismiss{background:#f1f5f9;border:none;color:#64748b;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}.toast-dismiss:hover{background:#fee2e2;color:var(--danger-color)}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@media (max-width: 900px){.app-container{padding:1rem}header{flex-direction:column;align-items:stretch}.search-bar{max-width:100%}.leads-toolbar-card{flex-direction:column;align-items:stretch}}@media (max-width: 768px){.kanban-board{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding-bottom:1rem;gap:1rem;-webkit-overflow-scrolling:touch}.kanban-column{flex:0 0 85vw;min-width:85vw;max-width:85vw;scroll-snap-align:center}.modal{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0;overflow-y:auto;margin:0;padding:1.5rem 1.5rem 5rem}.modal-overlay{padding:0;align-items:flex-start}.form-row{grid-template-columns:1fr;gap:1rem}.input-group input,.input-group select,.input-group textarea{font-size:16px;padding:.85rem}.btn{padding:.85rem 1.25rem;font-size:1rem}.btn.small{padding:.65rem 1rem}.lead-card{padding:1rem}.card-actions-bar{flex-wrap:wrap}.card-actions-bar .btn-card-whats{flex:1;justify-content:center}}.btn-card-photo{display:inline-flex;align-items:center;gap:.35rem;background:#f8fafc;color:#475569;border:1px solid #e2e8f0;padding:.25rem .6rem;border-radius:6px;font-size:.72rem;font-weight:700;cursor:pointer;transition:all .15s ease;width:fit-content}.btn-card-photo:hover{background:#eef2ff;color:var(--accent-color);border-color:#c7d2fe;transform:translateY(-1px)}.lightbox-content{position:relative;max-width:960px;width:92%;display:flex;align-items:center;justify-content:center;margin:auto}.lightbox-image-wrapper{display:flex;flex-direction:column;align-items:center;background:#0f172a;border-radius:14px;overflow:hidden;border:1px solid #334155;box-shadow:0 25px 50px -12px #000000b3;width:100%;max-height:85vh}.lightbox-image-wrapper img{max-width:100%;max-height:72vh;object-fit:contain;display:block;background:#020617}.lightbox-caption{color:#94a3b8;font-size:.82rem;font-weight:600;padding:.65rem 1.25rem;width:100%;text-align:center;background:#1e293b;border-top:1px solid #334155}.lightbox-close-btn{position:absolute;top:-45px;right:0;background:#1e293b;border:1px solid #334155;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.3rem;cursor:pointer;transition:all .15s;z-index:2600}.lightbox-close-btn:hover{background:#ef4444;border-color:#ef4444}.lightbox-nav-btn{background:#0f172abf;border:1px solid rgba(255,255,255,.2);color:#fff;width:44px;height:44px;border-radius:50%;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s;position:absolute;z-index:2600;-webkit-user-select:none;user-select:none}.lightbox-nav-btn:hover{background:#4f46e5e6;border-color:var(--accent-color);transform:scale(1.08)}.lightbox-nav-btn.prev{left:-55px}.lightbox-nav-btn.next{right:-55px}@media (max-width: 768px){.lightbox-nav-btn.prev{left:10px}.lightbox-nav-btn.next{right:10px}.lightbox-close-btn{top:10px;right:10px}}
