:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{min-width:320px;min-height:100vh}[data-theme=light]{color:#213547;background-color:#fff}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;width:100%;padding:1rem}.login-card{width:100%;max-width:420px;padding:2.5rem;border-radius:12px;background-color:#1e1e2e;box-shadow:0 4px 24px #0000004d}.login-title{font-size:1.75rem;margin:0 0 .25rem;color:#fff}.login-subtitle{margin:0 0 2rem;color:#888;font-size:.9rem}.login-form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.875rem;font-weight:500;color:#ccc}.form-group input{width:100%;padding:.75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.95rem;outline:none;transition:border-color .2s;box-sizing:border-box}.form-group input::placeholder{color:#666}.form-group input:focus{border-color:#646cff}.form-group input.input-error{border-color:#e74c3c}.error-message{color:#e74c3c;font-size:.8rem}.remember-me{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.85rem;color:#aaa;-webkit-user-select:none;user-select:none}.remember-me input[type=checkbox]{width:16px;height:16px;accent-color:#646cff;cursor:pointer}.remember-me span{line-height:1}.password-wrapper{position:relative;display:flex;align-items:center}.password-wrapper input{padding-right:2.75rem}.toggle-password{position:absolute;right:.5rem;background:none;border:none;color:#888;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:color .2s}.toggle-password:hover{color:#fff;border-color:transparent}.login-button{width:100%;padding:.75rem;border:none;border-radius:8px;background-color:#646cff;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;margin-top:.5rem}.login-button:hover:not(:disabled){background-color:#535bf2}.login-button:disabled{opacity:.5;cursor:not-allowed}[data-theme=light] .login-card{background-color:#fff;box-shadow:0 4px 24px #0000001a}[data-theme=light] .login-title{color:#1a1a2e}[data-theme=light] .login-subtitle{color:#666}[data-theme=light] .form-group label{color:#444}[data-theme=light] .form-group input{background-color:#f5f5f5;border-color:#ddd;color:#1a1a2e}[data-theme=light] .form-group input::placeholder{color:#999}[data-theme=light] .toggle-password{color:#666}[data-theme=light] .toggle-password:hover{color:#1a1a2e}.sidebar{width:260px;height:100vh;background-color:#1e1e2e;display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:100;border-right:1px solid #2a2a3a;animation:slideIn .25s ease-out}@keyframes slideIn{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1rem;border-bottom:1px solid #2a2a3a}.sidebar-logo{font-size:1.25rem;font-weight:700;color:#646cff;letter-spacing:1px}.sidebar-toggle{background:none;border:none;color:#888;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .2s,background-color .2s}.sidebar-toggle:hover{color:#fff;background-color:#2a2a3a}.sidebar-toggle-collapsed{position:fixed;top:16px;left:16px;z-index:100;width:40px;height:40px;border-radius:50%;background-color:#1e1e2e;border:1px solid #3a3a4a;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s,background-color .2s,box-shadow .2s;box-shadow:0 2px 8px #0000004d}.sidebar-toggle-collapsed:hover{color:#fff;background-color:#2a2a3a;box-shadow:0 4px 12px #0006}.sidebar-nav{flex:1;padding:1rem .75rem;display:flex;flex-direction:column;gap:.25rem;overflow-y:auto}.sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.7rem .75rem;border-radius:8px;color:#aaa;text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s,background-color .2s}.sidebar-link:hover{color:#fff;background-color:#2a2a3a}.sidebar-link.active{color:#fff;background-color:#646cff20;color:#646cff}.sidebar-footer{padding:1rem;border-top:1px solid #2a2a3a;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.sidebar-user{display:flex;align-items:center;gap:.65rem;min-width:0}.sidebar-user-avatar{width:34px;height:34px;border-radius:50%;background-color:#646cff;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.85rem;flex-shrink:0}.sidebar-user-info{display:flex;flex-direction:column;min-width:0}.sidebar-user-name{font-size:.8rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-role{font-size:.7rem;color:#888}.sidebar-logout{background:none;border:none;color:#888;cursor:pointer;padding:.4rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .2s,background-color .2s;flex-shrink:0}.sidebar-logout:hover{color:#e74c3c;background-color:#e74c3c15}[data-theme=light] .sidebar{background-color:#fff;border-right-color:#e5e5e5}[data-theme=light] .sidebar-header{border-bottom-color:#e5e5e5}[data-theme=light] .sidebar-toggle:hover{background-color:#f0f0f0;color:#333}[data-theme=light] .sidebar-toggle-collapsed{background-color:#fff;border-color:#ddd;color:#666;box-shadow:0 2px 8px #0000001a}[data-theme=light] .sidebar-toggle-collapsed:hover{background-color:#f0f0f0;color:#333}[data-theme=light] .sidebar-link{color:#666}[data-theme=light] .sidebar-link:hover{color:#333;background-color:#f5f5f5}[data-theme=light] .sidebar-link.active{background-color:#646cff10;color:#646cff}[data-theme=light] .sidebar-footer{border-top-color:#e5e5e5}[data-theme=light] .sidebar-user-name{color:#333}[data-theme=light] .sidebar-logout:hover{background-color:#e74c3c10}.layout{display:flex;min-height:100vh}.layout-content{flex:1;margin-left:260px;padding:2rem;transition:margin-left .25s ease-out}.layout-content.sidebar-collapsed{margin-left:0}.react-international-phone-country-selector{position:relative}.react-international-phone-country-selector-button{display:flex;height:var(--react-international-phone-height, 36px);box-sizing:border-box;align-items:center;justify-content:center;padding:0;border:1px solid var(--react-international-phone-country-selector-border-color, var(--react-international-phone-border-color, gainsboro));margin:0;appearance:button;-webkit-appearance:button;background-color:var(--react-international-phone-country-selector-background-color, var(--react-international-phone-background-color, white));cursor:pointer;text-transform:none;-webkit-user-select:none;user-select:none}.react-international-phone-country-selector-button:hover{background-color:var(--react-international-phone-country-selector-background-color-hover, whitesmoke)}.react-international-phone-country-selector-button--hide-dropdown{cursor:auto}.react-international-phone-country-selector-button--hide-dropdown:hover{background-color:transparent}.react-international-phone-country-selector-button__button-content{display:flex;align-items:center;justify-content:center}.react-international-phone-country-selector-button__flag-emoji{margin:0 4px}.react-international-phone-country-selector-button__flag-emoji--disabled{opacity:.75}.react-international-phone-country-selector-button__dropdown-arrow{border-top:var(--react-international-phone-country-selector-arrow-size, 4px) solid var(--react-international-phone-country-selector-arrow-color, #777);border-right:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;border-left:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;margin-right:4px;transition:all .1s ease-out}.react-international-phone-country-selector-button__dropdown-arrow--active{transform:rotateX(180deg)}.react-international-phone-country-selector-button__dropdown-arrow--disabled{border-top-color:var(--react-international-phone-disabled-country-selector-arrow-color, #999)}.react-international-phone-country-selector-button--disabled,.react-international-phone-country-selector-button--disabled:hover{background-color:var(--react-international-phone-disabled-country-selector-background-color, var(--react-international-phone-disabled-background-color, whitesmoke))}.react-international-phone-country-selector-button--disabled{cursor:auto}.react-international-phone-flag-emoji{width:var(--react-international-phone-flag-width, 24px);height:var(--react-international-phone-flag-height, 24px);box-sizing:border-box}.react-international-phone-country-selector-dropdown{position:absolute;z-index:1;top:var(--react-international-phone-dropdown-top, 44px);left:var(--react-international-phone-dropdown-left, 0);display:flex;width:300px;max-height:200px;flex-direction:column;padding:4px 0;margin:0;background-color:var(--react-international-phone-dropdown-item-background-color, var(--react-international-phone-background-color, white));box-shadow:var(--react-international-phone-dropdown-shadow, 2px 2px 16px rgba(0, 0, 0, .25));color:var(--react-international-phone-dropdown-item-text-color, var(--react-international-phone-text-color, #222));list-style:none;overflow-y:scroll}.react-international-phone-country-selector-dropdown__preferred-list-divider{height:1px;border:none;margin:var(--react-international-phone-dropdown-preferred-list-divider-margin, 0);background:var(--react-international-phone-dropdown-preferred-list-divider-color, var(--react-international-phone-border-color, gainsboro))}.react-international-phone-country-selector-dropdown__list-item{display:flex;min-height:var(--react-international-phone-dropdown-item-height, 28px);box-sizing:border-box;align-items:center;padding:2px 8px}.react-international-phone-country-selector-dropdown__list-item-flag-emoji{margin-right:8px}.react-international-phone-country-selector-dropdown__list-item-country-name{overflow:hidden;margin-right:8px;font-size:var(--react-international-phone-dropdown-item-font-size, 14px);text-overflow:ellipsis;white-space:nowrap}.react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-dropdown-item-dial-code-color, gray);font-size:var(--react-international-phone-dropdown-item-font-size, 14px)}.react-international-phone-country-selector-dropdown__list-item:hover{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke));cursor:pointer}.react-international-phone-country-selector-dropdown__list-item--selected,.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke);color:var(--react-international-phone-selected-dropdown-item-text-color, var(--react-international-phone-text-color, #222))}.react-international-phone-country-selector-dropdown__list-item--selected .react-international-phone-country-selector-dropdown__list-item-dial-code,.react-international-phone-country-selector-dropdown__list-item--focused .react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-selected-dropdown-item-dial-code-color, var(--react-international-phone-dropdown-item-dial-code-color, gray))}.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke))}.react-international-phone-dial-code-preview{display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--react-international-phone-dial-code-preview-border-color, var(--react-international-phone-border-color, gainsboro));margin-right:-1px;background-color:var(--react-international-phone-dial-code-preview-background-color, var(--react-international-phone-background-color, white));color:var(--react-international-phone-dial-code-preview-text-color, var(--react-international-phone-text-color, #222));font-size:var(--react-international-phone-dial-code-preview-font-size, var(--react-international-phone-font-size, 13px))}.react-international-phone-dial-code-preview--disabled{background-color:var(--react-international-phone-dial-code-preview-disabled-background-color, var(--react-international-phone-disabled-background-color, whitesmoke));color:var(--react-international-phone-dial-code-preview-disabled-text-color, var(--react-international-phone-disabled-text-color, #666))}.react-international-phone-input-container{display:flex}.react-international-phone-input-container .react-international-phone-country-selector-button{border-radius:var(--react-international-phone-border-radius, 4px);margin-right:-1px;border-bottom-right-radius:0;border-top-right-radius:0}.react-international-phone-input-container .react-international-phone-input{overflow:visible;height:var(--react-international-phone-height, 36px);box-sizing:border-box;padding:0 8px;border:1px solid var(--react-international-phone-border-color, gainsboro);border-radius:var(--react-international-phone-border-radius, 4px);margin:0;background-color:var(--react-international-phone-background-color, white);border-bottom-left-radius:0;border-top-left-radius:0;color:var(--react-international-phone-text-color, #222);font-family:inherit;font-size:var(--react-international-phone-font-size, 13px)}.react-international-phone-input-container .react-international-phone-input:focus{outline:none}.react-international-phone-input-container .react-international-phone-input--disabled{background-color:var(--react-international-phone-disabled-background-color, whitesmoke);color:var(--react-international-phone-disabled-text-color, #666)}.phone-input-container{width:100%}.phone-intl-wrapper.react-international-phone-input-container{width:100%;border:1px solid #3a3a4a;border-radius:8px;background-color:#1a1a2e;transition:border-color .2s;position:relative}.phone-intl-wrapper.react-international-phone-input-container:focus-within{border-color:#646cff}.phone-intl-wrapper .react-international-phone-country-selector-button{border:none;background-color:#252538;padding:0 .6rem;height:100%;border-right:1px solid #3a3a4a;cursor:pointer}.phone-intl-wrapper .react-international-phone-country-selector-button:hover{background-color:#2a2a40}.phone-intl-wrapper .phone-number-field.react-international-phone-input{flex:1;border:none;outline:none;background-color:transparent;color:#fff;font-size:.85rem;padding:.6rem .75rem;height:auto;width:100%}.phone-intl-wrapper .phone-number-field.react-international-phone-input::placeholder{color:#666}.react-international-phone-country-selector-dropdown{background-color:#1e1e30!important;border:1px solid #3a3a4a!important;border-radius:8px!important;box-shadow:0 8px 24px #0006!important;z-index:99999!important;max-height:250px!important}.react-international-phone-country-selector-dropdown__list-item{color:#ccc!important;padding:.45rem .75rem!important;font-size:.8rem!important}.react-international-phone-country-selector-dropdown__list-item:hover{background-color:#2a2a40!important;color:#fff!important}.react-international-phone-country-selector-dropdown__list-item--selected{background-color:#646cff20!important;color:#646cff!important}.react-international-phone-country-selector-dropdown__search-input{background-color:#252538!important;border:1px solid #3a3a4a!important;color:#fff!important;font-size:.8rem!important;padding:.45rem .6rem!important;border-radius:6px!important;margin:.4rem!important}.react-international-phone-country-selector-dropdown__search-input::placeholder{color:#666!important}.react-international-phone-country-selector-button__dial-code{color:#888!important;font-size:.75rem!important}[data-theme=light] .phone-intl-wrapper.react-international-phone-input-container{background-color:#fff;border-color:#ddd}[data-theme=light] .phone-intl-wrapper .react-international-phone-country-selector-button{background-color:#f5f5f5;border-right-color:#ddd}[data-theme=light] .phone-intl-wrapper .react-international-phone-country-selector-button:hover{background-color:#eee}[data-theme=light] .phone-intl-wrapper .phone-number-field.react-international-phone-input{color:#333}[data-theme=light] .phone-intl-wrapper .phone-number-field.react-international-phone-input::placeholder{color:#999}[data-theme=light] .react-international-phone-country-selector-dropdown{background-color:#fff!important;border-color:#ddd!important;box-shadow:0 8px 24px #0000001f!important}[data-theme=light] .react-international-phone-country-selector-dropdown__list-item{color:#333!important}[data-theme=light] .react-international-phone-country-selector-dropdown__list-item:hover{background-color:#f5f5f5!important;color:#000!important}[data-theme=light] .react-international-phone-country-selector-dropdown__search-input{background-color:#f5f5f5!important;border-color:#ddd!important;color:#333!important}[data-theme=light] .react-international-phone-country-selector-button__dial-code{color:#666!important}.funcionarios-page{max-width:1100px;margin:0 auto}.funcionarios-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.funcionarios-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.funcionarios-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0}.funcionarios-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.search-wrapper{display:flex;align-items:center;gap:.5rem;background-color:#2a2a3a;border:1px solid #3a3a4a;border-radius:8px;padding:.6rem .75rem;flex:1;max-width:400px;color:#888}.search-wrapper input{background:none;border:none;outline:none;color:#fff;font-size:.85rem;width:100%}.search-wrapper input::placeholder{color:#666}.funcionarios-count{color:#888;font-size:.8rem;white-space:nowrap}.btn-primary{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.1rem;border:none;border-radius:8px;background-color:#646cff;color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.btn-primary:hover:not(:disabled){background-color:#535bf2}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{padding:.6rem 1.1rem;border:1px solid #3a3a4a;border-radius:8px;background:none;color:#ccc;font-size:.85rem;font-weight:500;cursor:pointer;transition:background-color .2s,color .2s}.btn-secondary:hover{background-color:#2a2a3a;color:#fff}.btn-icon{background:none;border:none;color:#888;cursor:pointer;padding:.35rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .2s,background-color .2s}.btn-icon:hover{color:#646cff;background-color:#646cff15}.btn-icon.btn-danger:hover{color:#e74c3c;background-color:#e74c3c15}.table-container{background-color:#1e1e2e;border-radius:12px;border:1px solid #2a2a3a;overflow:hidden}.funcionarios-table{width:100%;border-collapse:collapse}.funcionarios-table th{text-align:left;padding:.85rem 1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#888;border-bottom:1px solid #2a2a3a}.funcionarios-table td{padding:.75rem 1rem;font-size:.85rem;color:#ccc;border-bottom:1px solid #2a2a3a}.funcionarios-table tbody tr:last-child td{border-bottom:none}.funcionarios-table tbody tr:hover{background-color:#ffffff06}.func-name-cell{display:flex;align-items:center;gap:.6rem}.func-avatar{width:30px;height:30px;border-radius:50%;background-color:#646cff30;color:#646cff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem;flex-shrink:0}.tipo-badge{display:inline-block;padding:.15rem .5rem;border-radius:6px;font-size:.7rem;font-weight:600;background-color:#646cff15;color:#646cff;text-transform:uppercase;letter-spacing:.3px}.acoes-cell{display:flex;gap:.25rem}.loading-state,.empty-state{text-align:center;padding:3rem 1rem;color:#888;font-size:.9rem;background-color:#1e1e2e;border-radius:12px;border:1px solid #2a2a3a}.alert-error{background-color:#e74c3c15;border:1px solid #e74c3c30;color:#e74c3c;padding:.75rem 1rem;border-radius:8px;font-size:.85rem;margin-bottom:1rem}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}.modal{background-color:#1e1e2e;border-radius:12px;width:100%;max-width:480px;box-shadow:0 8px 32px #0006}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #2a2a3a}.modal-header h2{font-size:1.1rem;font-weight:600;color:#fff;margin:0}.modal-form{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-form .form-group{display:flex;flex-direction:column;gap:.35rem}.modal-form .form-group label{font-size:.8rem;font-weight:500;color:#ccc}.modal-form .form-group input{width:100%;padding:.65rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.9rem;outline:none;transition:border-color .2s;box-sizing:border-box}.modal-form .form-group input:focus{border-color:#646cff}.modal-form .form-group input::placeholder{color:#666}.modal-form .error-message{color:#e74c3c;font-size:.8rem}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem}[data-theme=light] .funcionarios-header h1{color:#1a1a2e}[data-theme=light] .search-wrapper{background-color:#f5f5f5;border-color:#ddd}[data-theme=light] .search-wrapper input{color:#333}[data-theme=light] .table-container{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .funcionarios-table th{border-bottom-color:#e5e5e5}[data-theme=light] .funcionarios-table td{color:#333;border-bottom-color:#f0f0f0}[data-theme=light] .funcionarios-table tbody tr:hover{background-color:#f8f8f8}[data-theme=light] .loading-state,[data-theme=light] .empty-state{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .modal{background-color:#fff}[data-theme=light] .modal-header{border-bottom-color:#e5e5e5}[data-theme=light] .modal-header h2{color:#1a1a2e}[data-theme=light] .modal-form .form-group label{color:#444}[data-theme=light] .modal-form .form-group input{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .btn-secondary{border-color:#ddd;color:#666}[data-theme=light] .btn-secondary:hover{background-color:#f5f5f5;color:#333}.confirm-modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:300;padding:1rem}.confirm-modal{background-color:#1e1e2e;border-radius:12px;padding:2rem 1.75rem 1.5rem;width:100%;max-width:400px;box-shadow:0 8px 32px #00000080;text-align:center}.confirm-modal-icon{margin-bottom:1rem;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background-color:#e74c3c1a;margin-left:auto;margin-right:auto}.confirm-modal-title{font-size:1.1rem;font-weight:600;color:#fff;margin:0 0 .5rem}.confirm-modal-message{font-size:.875rem;color:#999;margin:0 0 1.5rem;line-height:1.5}.confirm-modal-actions{display:flex;gap:.75rem;justify-content:center}.confirm-modal-btn{padding:.6rem 1.25rem;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .2s,color .2s;min-width:100px}.confirm-modal-btn.cancel{border:1px solid #3a3a4a;background:none;color:#ccc}.confirm-modal-btn.cancel:hover:not(:disabled){background-color:#2a2a3a;color:#fff}.confirm-modal-btn.danger{border:none;background-color:#e74c3c;color:#fff}.confirm-modal-btn.danger:hover:not(:disabled){background-color:#c0392b}.confirm-modal-btn.warning{border:none;background-color:#f59e0b;color:#fff}.confirm-modal-btn.warning:hover:not(:disabled){background-color:#d97706}.confirm-modal-btn:disabled{opacity:.5;cursor:not-allowed}[data-theme=light] .confirm-modal{background-color:#fff;box-shadow:0 8px 32px #00000026}[data-theme=light] .confirm-modal-title{color:#1a1a2e}[data-theme=light] .confirm-modal-message{color:#666}[data-theme=light] .confirm-modal-btn.cancel{border-color:#ddd;color:#666}[data-theme=light] .confirm-modal-btn.cancel:hover:not(:disabled){background-color:#f5f5f5;color:#333}.contatos-page{max-width:1200px;margin:0 auto}.contatos-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.contatos-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.contatos-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0}.contatos-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.contatos-toolbar .search-wrapper{display:flex;align-items:center;gap:.5rem;background-color:#2a2a3a;border:1px solid #3a3a4a;border-radius:8px;padding:.6rem .75rem;flex:1;max-width:480px;color:#888}.contatos-toolbar .search-wrapper input{background:none;border:none;outline:none;color:#fff;font-size:.85rem;width:100%}.contatos-toolbar .search-wrapper input::placeholder{color:#666}.contatos-count{color:#888;font-size:.8rem;white-space:nowrap}.contatos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1rem}.contato-card{background-color:#1e1e2e;border:1px solid #2a2a3a;border-radius:12px;padding:1.1rem;display:flex;flex-direction:column;gap:.75rem;transition:border-color .2s}.contato-card:hover{border-color:#3a3a5a}.contato-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.contato-card-avatar-row{display:flex;align-items:center;gap:.65rem;min-width:0}.contato-avatar-img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex-shrink:0}.contato-avatar-initials{width:38px;height:38px;border-radius:50%;background-color:#646cff25;color:#646cff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;flex-shrink:0}.contato-card-info{display:flex;flex-direction:column;min-width:0}.contato-card-name{font-weight:600;font-size:.9rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contato-card-phone{font-size:.75rem;color:#888}.contato-status{font-size:.65rem;font-weight:600;padding:.2rem .5rem;border-radius:6px;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;flex-shrink:0;background-color:#88888820;color:#888}.contato-status.novo{background-color:#3498db20;color:#3498db}.contato-status.contato-inicial{background-color:#9b59b620;color:#9b59b6}.contato-status.qualificado{background-color:#2ecc7120;color:#2ecc71}.contato-status.proposta-enviada{background-color:#f39c1220;color:#f39c12}.contato-status.negociacao{background-color:#e67e2220;color:#e67e22}.contato-status.fechado-ganho{background-color:#27ae6020;color:#27ae60}.contato-status.fechado-perdido{background-color:#e74c3c20;color:#e74c3c}.contato-card-desc{font-size:.8rem;color:#999;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.contato-card-details{display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1rem}.contato-detail{display:flex;flex-direction:column;gap:.1rem}.contato-detail-label{font-size:.65rem;color:#666;text-transform:uppercase;letter-spacing:.3px}.contato-detail span:last-child{font-size:.8rem;color:#ccc}.contato-detail-value{color:#2ecc71!important;font-weight:600}.contato-card-dates{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.contato-followup{display:inline-flex;align-items:center;gap:.3rem;font-size:.7rem;color:#f39c12;background-color:#f39c1215;padding:.15rem .45rem;border-radius:4px}.contato-last-contact{font-size:.7rem;color:#666}.contato-card-actions{display:flex;justify-content:flex-end;gap:.25rem;border-top:1px solid #2a2a3a;padding-top:.65rem;margin-top:.1rem}.contato-card-actions .btn-icon{background:none;border:none;color:#888;cursor:pointer;padding:.35rem;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .2s,background-color .2s}.contato-card-actions .btn-icon:hover{color:#646cff;background-color:#646cff15}.contato-card-actions .btn-icon.btn-danger:hover{color:#e74c3c;background-color:#e74c3c15}.modal-lg{max-width:600px}.modal-form textarea{width:100%;padding:.65rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.9rem;font-family:inherit;outline:none;transition:border-color .2s;resize:vertical;box-sizing:border-box}.modal-form textarea:focus{border-color:#646cff}.modal-form textarea::placeholder{color:#666}.modal-form select{width:100%;padding:.65rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.9rem;outline:none;transition:border-color .2s;box-sizing:border-box;cursor:pointer}.modal-form select:focus{border-color:#646cff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.form-row-3{grid-template-columns:1fr 1fr 1fr}.contatos-page .alert-error{background-color:#e74c3c15;border:1px solid #e74c3c30;color:#e74c3c;padding:.75rem 1rem;border-radius:8px;font-size:.85rem;margin-bottom:1rem}.contatos-page .loading-state,.contatos-page .empty-state{text-align:center;padding:3rem 1rem;color:#888;font-size:.9rem;background-color:#1e1e2e;border-radius:12px;border:1px solid #2a2a3a}.contatos-page .btn-primary{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.1rem;border:none;border-radius:8px;background-color:#646cff;color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.contatos-page .btn-primary:hover:not(:disabled){background-color:#535bf2}.contatos-page .btn-primary:disabled{opacity:.5;cursor:not-allowed}.contatos-page .btn-secondary{padding:.6rem 1.1rem;border:1px solid #3a3a4a;border-radius:8px;background:none;color:#ccc;font-size:.85rem;font-weight:500;cursor:pointer;transition:background-color .2s,color .2s}.contatos-page .btn-secondary:hover{background-color:#2a2a3a;color:#fff}.contatos-page .modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:200;padding:1rem}.contatos-page .modal{background-color:#1e1e2e;border-radius:12px;width:100%;box-shadow:0 8px 32px #0006;max-height:90vh;overflow-y:auto}.contatos-page .modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #2a2a3a;position:sticky;top:0;background-color:#1e1e2e;z-index:1}.contatos-page .modal-header h2{font-size:1.1rem;font-weight:600;color:#fff;margin:0}.contatos-page .modal-form{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.contatos-page .modal-form .form-group{display:flex;flex-direction:column;gap:.35rem}.contatos-page .modal-form .form-group label{font-size:.8rem;font-weight:500;color:#ccc}.contatos-page .modal-form .form-group input{width:100%;padding:.65rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.9rem;outline:none;transition:border-color .2s;box-sizing:border-box}.contatos-page .modal-form .form-group input:focus{border-color:#646cff}.contatos-page .modal-form .form-group input::placeholder{color:#666}.contatos-page .modal-form .error-message{color:#e74c3c;font-size:.8rem}.contatos-page .modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem}[data-theme=light] .contatos-header h1{color:#1a1a2e}[data-theme=light] .contatos-toolbar .search-wrapper{background-color:#f5f5f5;border-color:#ddd}[data-theme=light] .contatos-toolbar .search-wrapper input{color:#333}[data-theme=light] .contato-card{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .contato-card:hover{border-color:#ccc}[data-theme=light] .contato-card-name{color:#1a1a2e}[data-theme=light] .contato-card-desc{color:#666}[data-theme=light] .contato-detail span:last-child{color:#333}[data-theme=light] .contato-card-actions{border-top-color:#f0f0f0}[data-theme=light] .contatos-page .loading-state,[data-theme=light] .contatos-page .empty-state{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .contatos-page .modal{background-color:#fff}[data-theme=light] .contatos-page .modal-header{border-bottom-color:#e5e5e5;background-color:#fff}[data-theme=light] .contatos-page .modal-header h2{color:#1a1a2e}[data-theme=light] .contatos-page .modal-form .form-group label{color:#444}[data-theme=light] .contatos-page .modal-form .form-group input,[data-theme=light] .contatos-page .modal-form textarea,[data-theme=light] .contatos-page .modal-form select{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .contatos-page .btn-secondary{border-color:#ddd;color:#666}[data-theme=light] .contatos-page .btn-secondary:hover{background-color:#f5f5f5;color:#333}.empresas-page{max-width:1100px;margin:0 auto}.empresas-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.empresas-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.empresas-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0}.empresas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.empresas-count{color:#888;font-size:.8rem;white-space:nowrap}.empresas-table{width:100%;border-collapse:collapse}.empresas-table th{text-align:left;padding:.85rem 1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#888;border-bottom:1px solid #2a2a3a}.empresas-table td{padding:.75rem 1rem;font-size:.85rem;color:#ccc;border-bottom:1px solid #2a2a3a}.empresas-table tbody tr:last-child td{border-bottom:none}.empresas-table tbody tr:hover{background-color:#ffffff06}.empresa-name-cell{display:flex;align-items:center;gap:.6rem}.empresa-avatar{width:32px;height:32px;border-radius:8px;background-color:#646cff25;color:#646cff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;flex-shrink:0}.status-badge{display:inline-block;padding:.15rem .55rem;border-radius:6px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.status-ativo{background-color:#2ecc7120;color:#2ecc71}.status-inativo{background-color:#e74c3c20;color:#e74c3c}.btn-small{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .7rem;border:none;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.btn-accent{background-color:#646cff20;color:#646cff}.btn-accent:hover{background-color:#646cff35}.btn-outline{background-color:transparent;color:#888;border:1px solid #3a3a4a}.btn-outline:hover{background-color:#2a2a3a;color:#fff;border-color:#4a4a5a}.modal-lg{max-width:700px}.toggle-switch{position:relative;display:inline-block;width:40px;height:22px;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;inset:0;background-color:#e74c3c;border-radius:22px;transition:background-color .3s}.toggle-slider:before{content:"";position:absolute;height:16px;width:16px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:transform .3s}.toggle-switch input:checked+.toggle-slider{background-color:#2ecc71}.toggle-switch input:checked+.toggle-slider:before{transform:translate(18px)}.btn-danger-solid{padding:.55rem 1.2rem;border-radius:8px;border:none;background-color:#e74c3c;color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .2s}.btn-danger-solid:hover{background-color:#c0392b}.usuarios-modal-body{padding:1.25rem 1.5rem;max-height:60vh;overflow-y:auto}.usuarios-loading,.usuarios-empty{text-align:center;padding:2rem 1rem;color:#888;font-size:.85rem}.usuarios-error{text-align:center;padding:2rem 1rem;color:#e74c3c;font-size:.85rem}.usuarios-table{width:100%;border-collapse:collapse}.usuarios-table th{text-align:left;padding:.65rem .75rem;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#888;border-bottom:1px solid #2a2a3a}.usuarios-table td{padding:.6rem .75rem;font-size:.8rem;color:#ccc;border-bottom:1px solid #2a2a3a}.usuarios-table tbody tr:last-child td{border-bottom:none}.usuarios-table tbody tr:hover{background-color:#ffffff06}.usuario-name-cell{display:flex;align-items:center;gap:.5rem}.usuario-avatar{width:28px;height:28px;border-radius:50%;background-color:#646cff25;color:#646cff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.7rem;flex-shrink:0}.tipo-badge{display:inline-block;padding:.15rem .5rem;border-radius:6px;font-size:.65rem;font-weight:600;background-color:#646cff15;color:#646cff;text-transform:uppercase;letter-spacing:.3px}[data-theme=light] .empresas-header h1{color:#1a1a2e}[data-theme=light] .empresas-table td{color:#333;border-bottom-color:#f0f0f0}[data-theme=light] .empresas-table th{border-bottom-color:#e5e5e5}[data-theme=light] .empresas-table tbody tr:hover{background-color:#f8f8f8}[data-theme=light] .btn-outline{border-color:#ddd;color:#666}[data-theme=light] .btn-outline:hover{background-color:#f5f5f5;color:#333;border-color:#ccc}[data-theme=light] .usuarios-table td{color:#333;border-bottom-color:#f0f0f0}[data-theme=light] .usuarios-table th{border-bottom-color:#e5e5e5}[data-theme=light] .usuarios-table tbody tr:hover{background-color:#f8f8f8}.cm-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.cm-modal{background:#1e1e2e;border:1px solid #2a2a3a;border-radius:16px;width:100%;max-width:560px;height:80vh;max-height:700px;display:flex;flex-direction:column;overflow:hidden;animation:cmIn .2s ease-out}@keyframes cmIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.cm-header{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-bottom:1px solid #2a2a3a;gap:.5rem}.cm-header-left{display:flex;align-items:center;gap:.6rem;min-width:0}.cm-avatar{width:36px;height:36px;border-radius:50%;background:#646cff;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex-shrink:0}.cm-header-info{display:flex;flex-direction:column;min-width:0}.cm-header-name{font-size:.9rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-header-number{font-size:.72rem;color:#888}.cm-header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.cm-aceitar-btn,.cm-finalizar-btn{padding:.35rem .65rem;border:none;border-radius:6px;font-size:.72rem;font-weight:600;cursor:pointer;transition:opacity .2s}.cm-aceitar-btn{background:#646cff;color:#fff}.cm-finalizar-btn{background:#e74c3c20;color:#e74c3c;border:1px solid #e74c3c40}.cm-aceitar-btn:disabled,.cm-finalizar-btn:disabled{opacity:.5;cursor:not-allowed}.cm-ia-toggle{display:flex;align-items:center;gap:.3rem;cursor:pointer}.cm-ia-label{font-size:.7rem;font-weight:600;color:#888}.cm-toggle-switch{position:relative;width:28px;height:16px;display:inline-block}.cm-toggle-switch input{opacity:0;width:0;height:0}.cm-toggle-slider{position:absolute;inset:0;background:#3a3a4a;border-radius:16px;transition:background .2s;cursor:pointer}.cm-toggle-slider:before{content:"";position:absolute;width:12px;height:12px;left:2px;bottom:2px;background:#fff;border-radius:50%;transition:transform .2s}.cm-toggle-switch input:checked+.cm-toggle-slider{background:#646cff}.cm-toggle-switch input:checked+.cm-toggle-slider:before{transform:translate(12px)}.cm-close-btn{background:none;border:none;color:#666;cursor:pointer;padding:.25rem;border-radius:6px;display:flex;align-items:center;transition:color .2s,background .2s}.cm-close-btn:hover{color:#fff;background:#2a2a3a}.cm-messages{flex:1;overflow-y:auto;padding:.75rem 1rem;display:flex;flex-direction:column;gap:.4rem}.cm-loading,.cm-empty{text-align:center;color:#888;font-size:.82rem;padding:2rem 0}.cm-msg{display:flex}.cm-msg-own{justify-content:flex-end}.cm-msg-contact{justify-content:flex-start}.cm-bubble{max-width:75%;padding:.5rem .7rem;border-radius:12px;font-size:.82rem;line-height:1.4;position:relative}.cm-msg-own .cm-bubble{background:#646cff;color:#fff;border-bottom-right-radius:4px}.cm-msg-contact .cm-bubble{background:#2a2a3a;color:#ddd;border-bottom-left-radius:4px}.cm-bubble-ia{background:#646cff40!important}.cm-bubble p{margin:0;word-break:break-word}.cm-ia-badge,.cm-func-badge{display:inline-block;font-size:.6rem;font-weight:700;padding:.1rem .3rem;border-radius:3px;margin-bottom:.2rem}.cm-ia-badge{background:#646cff30;color:#a5a8ff}.cm-func-badge{background:#ffffff15;color:#aaa}.cm-time{display:block;font-size:.6rem;color:#ffffff80;text-align:right;margin-top:.2rem}.cm-msg-contact .cm-time{color:#888}.cm-audio{display:flex;align-items:center;gap:.3rem;font-size:.78rem}.cm-image-placeholder{background:#ffffff10;border-radius:6px;padding:1rem;text-align:center;color:#888;font-size:.78rem}.cm-document{display:flex;align-items:center;gap:.4rem;font-size:.78rem}.cm-input-area{display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;border-top:1px solid #2a2a3a}.cm-input-area input{flex:1;padding:.55rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background:#2a2a3a;color:#fff;font-size:.82rem;outline:none}.cm-input-area input:focus{border-color:#646cff}.cm-input-area input::placeholder{color:#555}.cm-send-btn{padding:.5rem;background:#646cff;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.cm-send-btn:hover{background:#535bf2}.cm-send-btn:disabled{opacity:.4;cursor:not-allowed}.cm-aceitar-bar{display:flex;align-items:center;justify-content:space-between;padding:.65rem 1rem;border-top:1px solid #2a2a3a;gap:.5rem}.cm-aceitar-bar span{font-size:.78rem;color:#888}.cm-aceitar-bar button{padding:.4rem .75rem;background:#646cff;border:none;border-radius:8px;color:#fff;font-size:.78rem;font-weight:600;cursor:pointer;white-space:nowrap}.cm-aceitar-bar button:disabled{opacity:.5;cursor:not-allowed}.cm-toast{position:absolute;bottom:4.5rem;left:1rem;right:1rem;background:#e74c3c;color:#fff;padding:.5rem .75rem;border-radius:8px;font-size:.78rem;display:flex;align-items:center;justify-content:space-between}.cm-toast button{background:none;border:none;color:#fff;cursor:pointer;font-weight:700;padding:0 .25rem}[data-theme=light] .cm-modal{background:#fff;border-color:#e5e5e5}[data-theme=light] .cm-header{border-bottom-color:#e5e5e5}[data-theme=light] .cm-header-name{color:#1a1a2e}[data-theme=light] .cm-msg-contact .cm-bubble{background:#f0f0f5;color:#333}[data-theme=light] .cm-msg-contact .cm-time{color:#999}[data-theme=light] .cm-input-area{border-top-color:#e5e5e5}[data-theme=light] .cm-input-area input{background:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .cm-aceitar-bar{border-top-color:#e5e5e5}[data-theme=light] .cm-close-btn:hover{background:#f0f0f0;color:#333}[data-theme=light] .cm-toggle-slider{background:#ddd}@media(max-width:640px){.cm-modal{max-width:100%;height:100vh;max-height:100vh;border-radius:0}}.kanban-page{height:calc(100vh - 4rem);display:flex;flex-direction:column}.kanban-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem;flex-wrap:wrap}.kanban-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.kanban-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0}.kanban-header-actions{display:flex;align-items:center;gap:.75rem}.kanban-board{display:flex;gap:1rem;flex:1;overflow-x:auto;overflow-y:hidden;padding-bottom:1rem}.kanban-coluna{min-width:280px;max-width:320px;max-height:100%;background-color:#1a1a2a;border-radius:12px;border:1px solid #2a2a3a;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;transition:border-color .2s,opacity .2s,box-shadow .2s}.kanban-coluna.dragging{opacity:.5;box-shadow:0 8px 24px #0000004d}.kanban-coluna-drop-zone{display:flex;flex-direction:column;flex:1;overflow:hidden}.kanban-coluna-drop-zone.drag-over{border-color:#646cff;background-color:#646cff08;border-radius:12px}.kanban-coluna-header{padding:.85rem 1rem;border-bottom:1px solid #2a2a3a;display:flex;align-items:center;justify-content:space-between}.kanban-drag-handle{display:flex;align-items:center;cursor:grab;color:#555;transition:color .2s;padding:.1rem;border-radius:4px}.kanban-drag-handle:hover{color:#999}.kanban-drag-handle:active{cursor:grabbing}.kanban-coluna-title{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.85rem;color:#ddd}.kanban-coluna-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.kanban-coluna-name-editable{cursor:pointer;border-bottom:1px dashed transparent;transition:border-color .2s}.kanban-coluna-name-editable:hover{border-bottom-color:#555}.kanban-coluna-name-input{background:transparent;border:1px solid #646cff;border-radius:4px;color:#fff;font-size:.85rem;font-weight:600;padding:.1rem .3rem;outline:none;width:100px}.kanban-coluna-count{background-color:#ffffff15;padding:.1rem .4rem;border-radius:4px;font-size:.7rem;color:#888;font-weight:500}.btn-icon-sm{background:none;border:none;color:#666;cursor:pointer;padding:.2rem;display:flex;align-items:center;border-radius:4px;transition:color .2s,background-color .2s}.btn-icon-sm:hover{color:#e74c3c;background-color:#e74c3c15}.kanban-coluna-search{padding:.4rem .5rem 0}.kanban-coluna-search input{width:100%;padding:.4rem .6rem;border:1px solid #2a2a3a;border-radius:6px;background-color:#141420;color:#ccc;font-size:.75rem;outline:none;box-sizing:border-box}.kanban-coluna-search input::placeholder{color:#555}.kanban-coluna-search input:focus{border-color:#646cff}.kanban-cards-list{flex:1;padding:.5rem;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;min-height:60px}.kanban-card{background-color:#1e1e2e;border:1px solid #2a2a3a;border-radius:8px;padding:.75rem;cursor:grab;transition:border-color .2s,transform .15s}.kanban-card:hover{border-color:#3a3a5a}.kanban-card:active{cursor:grabbing;transform:scale(.98)}.kanban-card-name{font-weight:600;font-size:.85rem;color:#fff;margin-bottom:.3rem}.kanban-card-info{font-size:.75rem;color:#888;display:flex;gap:.5rem}.kanban-card-responsavel{display:flex;align-items:center;gap:.35rem;font-size:.7rem;color:#aaa;margin-top:.4rem}.kanban-card-responsavel-avatar{width:18px;height:18px;border-radius:50%;background-color:#646cff30;color:#646cff;display:flex;align-items:center;justify-content:center;font-size:.55rem;font-weight:700}.card-modal-title{display:flex;align-items:center;gap:.75rem}.card-modal-title h2{margin:0}.card-modal-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#646cff,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;flex-shrink:0}.card-modal-phone{font-size:.8rem;color:#888}.card-detail-section{margin-bottom:1rem}.card-detail-section-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#666;margin:0 0 .5rem;padding-bottom:.35rem;border-bottom:1px solid #2a2a3a}.card-detail-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;border-bottom:1px solid #2a2a3a10;font-size:.85rem}.card-detail-row:last-child{border-bottom:none}.card-detail-label{color:#888;flex-shrink:0}.card-detail-badge{background-color:#646cff20;color:#646cff;padding:.15rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500}.card-detail-ia-badge{font-size:.8rem;font-weight:500}.card-detail-ia-badge.ia-ativa{color:#22c55e}.card-detail-ia-badge.ia-inativa{color:#888}.card-detail-coluna-badge{display:flex;align-items:center;gap:.35rem;border:1px solid #888;padding:.15rem .5rem;border-radius:4px;font-size:.8rem}.card-detail-obs{padding:.4rem 0}.card-detail-obs-text{margin:.3rem 0 0;color:#ccc;font-size:.82rem;line-height:1.5;background-color:#ffffff08;border-radius:6px;padding:.5rem .65rem}[data-theme=light] .kanban-header h1{color:#1a1a2e}[data-theme=light] .kanban-coluna{background-color:#f8f8fa;border-color:#e5e5e5}[data-theme=light] .kanban-coluna-drop-zone.drag-over{background-color:#646cff08;border-color:#646cff}[data-theme=light] .kanban-drag-handle{color:#bbb}[data-theme=light] .kanban-drag-handle:hover{color:#888}[data-theme=light] .kanban-coluna-header{border-bottom-color:#e5e5e5}[data-theme=light] .kanban-coluna-title{color:#333}[data-theme=light] .kanban-coluna-name-input{background:#fff;border-color:#646cff;color:#333}[data-theme=light] .kanban-coluna-search input{background-color:#eee;border-color:#ddd;color:#333}[data-theme=light] .kanban-coluna-search input::placeholder{color:#aaa}[data-theme=light] .kanban-card{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .kanban-card:hover{border-color:#ccc}[data-theme=light] .kanban-card-name{color:#1a1a2e}[data-theme=light] .card-detail-row{border-bottom-color:#f0f0f0}[data-theme=light] .card-detail-section-title{color:#999;border-bottom-color:#e5e5e5}[data-theme=light] .card-detail-obs-text{background-color:#f5f5f5;color:#333}[data-theme=light] .card-modal-phone{color:#999}[data-theme=light] .card-detail-ia-badge.ia-inativa{color:#aaa}.chat-page{display:flex;height:calc(100vh - 4rem);overflow:hidden;margin:-2rem}.chat-sidebar{width:320px;border-right:1px solid #2a2a3a;display:flex;flex-direction:column;background-color:#1a1a2a;flex-shrink:0}.chat-sidebar-header{padding:1rem;border-bottom:1px solid #2a2a3a}.chat-sidebar-header h2{margin:0;font-size:1.1rem;color:#fff}.chat-search{padding:.75rem}.chat-search-row{display:flex;gap:.5rem;align-items:center}.chat-search-row input{flex:1;padding:.55rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.85rem;outline:none;box-sizing:border-box}.chat-search-row input::placeholder{color:#666}.chat-search-row input:focus{border-color:#646cff}.chat-filter-toggle{width:34px;height:34px;border-radius:8px;border:1px solid #3a3a4a;background-color:#2a2a3a;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.chat-filter-toggle:hover{color:#fff;border-color:#646cff}.chat-filter-toggle.active{color:#646cff;border-color:#646cff;background-color:#646cff15}.chat-filtros{padding:.6rem 0 0;display:flex;flex-direction:column;gap:.5rem}.chat-filtro-check{display:flex;align-items:center;gap:.4rem;font-size:.78rem;color:#ccc;cursor:pointer}.chat-filtro-check input[type=checkbox]{accent-color:#646cff;width:14px;height:14px;cursor:pointer}.chat-filtro-datas{display:flex;gap:.5rem}.chat-filtro-data-field{display:flex;flex-direction:column;gap:.15rem;flex:1}.chat-filtro-data-field label{font-size:.65rem;color:#888;font-weight:600}.chat-filtro-data-field input[type=date]{padding:.35rem .5rem;border:1px solid #3a3a4a;border-radius:6px;background-color:#2a2a3a;color:#fff;font-size:.75rem;outline:none;box-sizing:border-box}.chat-filtro-data-field input[type=date]:focus{border-color:#646cff}.chat-filtro-data-field input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.7);cursor:pointer}.chat-filtro-limpar{padding:.3rem .6rem;border:none;border-radius:6px;background-color:#e74c3c20;color:#e74c3c;font-size:.7rem;font-weight:600;cursor:pointer;transition:background-color .2s;align-self:flex-start}.chat-filtro-limpar:hover{background-color:#e74c3c35}.chat-contacts-list{flex:1;overflow-y:auto}.chat-contact-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;cursor:pointer;transition:background-color .15s;border-bottom:1px solid #2a2a3a}.chat-contact-item:hover{background-color:#ffffff08}.chat-contact-item.active{background-color:#646cff15}.chat-contact-avatar{width:36px;height:36px;border-radius:50%;background-color:#646cff25;color:#646cff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex-shrink:0}.chat-contact-info{min-width:0;flex:1}.chat-contact-name{font-size:.85rem;font-weight:600;color:#fff;display:flex;align-items:center;gap:.4rem}.chat-contact-number{font-size:.7rem;color:#888}.ia-indicator{font-size:.55rem;font-weight:700;background-color:#2ecc7125;color:#2ecc71;padding:.05rem .3rem;border-radius:3px}.chat-loading,.chat-empty{padding:2rem;text-align:center;color:#888;font-size:.85rem}.chat-main{flex:1;display:flex;flex-direction:column;background-color:#141420}.chat-no-selection{flex:1;display:flex;align-items:center;justify-content:center;color:#666}.chat-main-header{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;border-bottom:1px solid #2a2a3a;background-color:#1a1a2a}.chat-main-header-info{flex:1;min-width:0}.chat-main-header-name{font-weight:600;font-size:.9rem;color:#fff;display:block}.chat-main-header-number{font-size:.75rem;color:#888}.chat-ia-toggle{display:flex;align-items:center;gap:.4rem;cursor:pointer}.chat-ia-label{font-size:.7rem;color:#888;font-weight:600}.toggle-switch-sm{position:relative;display:inline-block;width:32px;height:18px}.toggle-switch-sm input{opacity:0;width:0;height:0}.toggle-slider-sm{position:absolute;inset:0;background-color:#555;border-radius:18px;transition:background-color .3s;cursor:pointer}.toggle-slider-sm:before{content:"";position:absolute;height:14px;width:14px;left:2px;bottom:2px;background-color:#fff;border-radius:50%;transition:transform .3s}.toggle-switch-sm input:checked+.toggle-slider-sm{background-color:#2ecc71}.toggle-switch-sm input:checked+.toggle-slider-sm:before{transform:translate(14px)}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.5rem}.chat-msg{display:flex}.chat-msg-contact{justify-content:flex-start}.chat-msg-own{justify-content:flex-end}.chat-bubble{max-width:70%;padding:.6rem .85rem;border-radius:12px;font-size:.85rem;line-height:1.4;position:relative;word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap}.chat-msg-contact .chat-bubble{background-color:#2a2a3a;color:#ddd;border-bottom-left-radius:4px}.chat-msg-own .chat-bubble{background-color:#4a50c7;color:#fff;border-bottom-right-radius:4px}.chat-msg-own .chat-bubble.chat-bubble-ia{background-color:#1a6b42}.chat-bubble p{margin:0;white-space:pre-wrap}.chat-time{display:block;font-size:.6rem;color:#ffffff80;margin-top:.3rem;text-align:right}.chat-msg-contact .chat-time{color:#888}.chat-contact-badge{display:inline-block;font-size:.65rem;font-weight:700;background-color:#3a3a5a;color:#a0a0cc;padding:.2rem .5rem;border-radius:4px;margin-bottom:.3rem}.chat-ia-badge{display:inline-block;font-size:.65rem;font-weight:700;background-color:#0d9048;color:#fff;padding:.2rem .5rem;border-radius:4px;margin-bottom:.3rem}.chat-func-badge{display:inline-block;font-size:.65rem;font-weight:700;background-color:#1e1e3a;color:#c0c0ff;padding:.2rem .5rem;border-radius:4px;margin-bottom:.3rem}.chat-unread-badge{min-width:20px;height:20px;border-radius:10px;background-color:#2ecc71;color:#fff;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px;flex-shrink:0}.chat-audio{display:flex;align-items:center;gap:.4rem;font-size:.8rem}.chat-audio audio{height:36px;max-width:250px;border-radius:18px}.chat-image-placeholder{background-color:#ffffff10;padding:2rem;border-radius:8px;text-align:center;color:#888;font-size:.8rem}.chat-caption{margin:.3rem 0 0;font-size:.8rem}.chat-document{display:flex;align-items:center;gap:.4rem;font-size:.8rem}.chat-input-area{display:flex;gap:.5rem;padding:.75rem 1rem;border-top:1px solid #2a2a3a;background-color:#1a1a2a}.chat-input-area input{flex:1;padding:.65rem .85rem;border:1px solid #3a3a4a;border-radius:20px;background-color:#2a2a3a;color:#fff;font-size:.85rem;outline:none;box-sizing:border-box}.chat-input-area input::placeholder{color:#666}.chat-input-area input:focus{border-color:#646cff}.chat-emoji-wrapper{position:relative;display:flex;align-items:center}.chat-emoji-btn{width:38px;height:38px;border-radius:50%;border:none;background:none;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .2s;flex-shrink:0}.chat-emoji-btn:hover{color:#fff}.chat-emoji-picker{position:absolute;bottom:48px;left:0;z-index:100}.chat-send-btn{width:38px;height:38px;border-radius:50%;border:none;background-color:#646cff;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;flex-shrink:0}.chat-send-btn:hover:not(:disabled){background-color:#535bf2}.chat-send-btn:disabled{opacity:.4;cursor:not-allowed}.chat-toast{position:fixed;bottom:1rem;right:1rem;background-color:#e74c3c;color:#fff;padding:.65rem 1rem;border-radius:8px;font-size:.85rem;z-index:300;display:flex;align-items:center;gap:.5rem}.chat-toast button{background:none;border:none;color:#fff;cursor:pointer;font-weight:700}.chat-back-btn{background:none;border:none;color:#888;cursor:pointer;padding:.25rem;display:none}.chat-header-actions{display:flex;align-items:center;gap:.75rem}.chat-aceitar-btn{padding:.4rem .85rem;border:none;border-radius:6px;background-color:#2ecc71;color:#fff;font-size:.75rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.chat-aceitar-btn:hover:not(:disabled){background-color:#27ae60}.chat-aceitar-btn:disabled{opacity:.6;cursor:not-allowed}.chat-finalizar-btn{padding:.4rem .85rem;border:1px solid #e74c3c;border-radius:6px;background-color:transparent;color:#e74c3c;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.chat-finalizar-btn:hover:not(:disabled){background-color:#e74c3c;color:#fff}.chat-finalizar-btn:disabled{opacity:.6;cursor:not-allowed}.chat-aceitar-bar{display:flex;align-items:center;justify-content:center;gap:1rem;padding:1rem;border-top:1px solid #2a2a3a;background-color:#1a1a2a}.chat-aceitar-bar p{margin:0;font-size:.8rem;color:#888}.chat-aceitar-bar button{padding:.5rem 1.25rem;border:none;border-radius:8px;background-color:#2ecc71;color:#fff;font-size:.85rem;font-weight:600;cursor:pointer;transition:background-color .2s}.chat-aceitar-bar button:hover:not(:disabled){background-color:#27ae60}.chat-aceitar-bar button:disabled{opacity:.6;cursor:not-allowed}.atendendo-indicator{font-size:.5rem;font-weight:700;background-color:#646cff25;color:#646cff;padding:.05rem .3rem;border-radius:3px}@media(max-width:768px){.chat-sidebar{width:100%}.chat-page .mobile-hidden{display:none}.chat-back-btn.mobile-only{display:flex}}.chat-page .modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.chat-page .modal{background-color:#1a1a2a;border:1px solid #2a2a3a;border-radius:12px;width:90%;max-width:460px}.chat-page .modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #2a2a3a}.chat-page .modal-header h2{margin:0;font-size:1.05rem;color:#fff}.chat-page .modal-form{padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.chat-page .modal-form .form-group{display:flex;flex-direction:column;gap:.35rem}.chat-page .modal-form .form-group label{font-size:.8rem;color:#aaa;font-weight:600}.chat-page .modal-form .form-group input,.chat-page .modal-form .form-group select,.chat-page .modal-form .form-group textarea{padding:.6rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background-color:#2a2a3a;color:#fff;font-size:.85rem;outline:none;font-family:inherit}.chat-page .modal-form .form-group input:focus,.chat-page .modal-form .form-group select:focus,.chat-page .modal-form .form-group textarea:focus{border-color:#646cff}.chat-page .modal-form .form-group input::placeholder,.chat-page .modal-form .form-group textarea::placeholder{color:#666}.chat-page .modal-form .form-group select option{background-color:#2a2a3a;color:#fff}.chat-page .modal-form .form-group textarea{resize:vertical;min-height:70px}.chat-page .modal-actions{display:flex;gap:.75rem;justify-content:flex-end;padding-top:.5rem}.chat-page .btn-secondary{padding:.55rem 1.2rem;border-radius:8px;border:1px solid #3a3a4a;background-color:transparent;color:#ccc;font-size:.85rem;cursor:pointer;transition:all .2s}.chat-page .btn-secondary:hover{background-color:#ffffff10;border-color:#555}.chat-page .btn-icon{background:none;border:none;color:#888;cursor:pointer;padding:.3rem;display:flex;align-items:center;border-radius:4px}.chat-page .btn-icon:hover{color:#fff}[data-theme=light] .chat-sidebar{background-color:#fff;border-right-color:#e5e5e5}[data-theme=light] .chat-sidebar-header{border-bottom-color:#e5e5e5}[data-theme=light] .chat-sidebar-header h2{color:#1a1a2e}[data-theme=light] .chat-search-row input{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .chat-filter-toggle{background-color:#f5f5f5;border-color:#ddd;color:#999}[data-theme=light] .chat-filtro-check{color:#555}[data-theme=light] .chat-filtro-data-field label{color:#777}[data-theme=light] .chat-filtro-data-field input[type=date]{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .chat-filtro-data-field input[type=date]::-webkit-calendar-picker-indicator{filter:none}[data-theme=light] .chat-contact-item{border-bottom-color:#f0f0f0}[data-theme=light] .chat-contact-item:hover{background-color:#f8f8f8}[data-theme=light] .chat-contact-item.active{background-color:#646cff10}[data-theme=light] .chat-contact-name{color:#1a1a2e}[data-theme=light] .chat-main{background-color:#f0f0f5}[data-theme=light] .chat-main-header{background-color:#fff;border-bottom-color:#e5e5e5}[data-theme=light] .chat-main-header-name{color:#1a1a2e}[data-theme=light] .chat-msg-contact .chat-bubble{background-color:#fff;color:#333;border:1px solid #e5e5e5}[data-theme=light] .chat-msg-contact .chat-time{color:#999}[data-theme=light] .chat-input-area{background-color:#fff;border-top-color:#e5e5e5}[data-theme=light] .chat-input-area input{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .chat-aceitar-bar{background-color:#fff;border-top-color:#e5e5e5}[data-theme=light] .chat-aceitar-bar p{color:#666}[data-theme=light] .chat-page .modal{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .chat-page .modal-header{border-bottom-color:#e5e5e5}[data-theme=light] .chat-page .modal-header h2{color:#1a1a2e}[data-theme=light] .chat-page .modal-form .form-group label{color:#555}[data-theme=light] .chat-page .modal-form .form-group input,[data-theme=light] .chat-page .modal-form .form-group select,[data-theme=light] .chat-page .modal-form .form-group textarea{background-color:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .chat-page .modal-form .form-group select option{background-color:#fff;color:#333}[data-theme=light] .chat-page .btn-secondary{border-color:#ddd;color:#555}[data-theme=light] .chat-page .btn-secondary:hover{background-color:#f5f5f5}[data-theme=light] .chat-page .btn-icon{color:#999}[data-theme=light] .chat-page .btn-icon:hover{color:#333}.channels-page{max-width:900px;margin:0 auto;padding:1.5rem}.channels-header{margin-bottom:1.5rem}.channels-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0 0 .25rem}.channels-header p{font-size:.85rem;color:#888;margin:0}.alert-success-banner{background-color:#2ecc7115;border:1px solid #2ecc7130;color:#2ecc71;padding:.6rem 1rem;border-radius:10px;font-size:.85rem;margin-bottom:1rem}.webhook-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#1e1e2e;border:1px solid #2a2a3a;border-radius:10px;padding:.75rem 1rem;margin-bottom:1.25rem}.webhook-banner-left{display:flex;align-items:center;gap:.75rem;min-width:0}.webhook-banner-left>div{display:flex;flex-direction:column;min-width:0}.webhook-banner-label{font-size:.7rem;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px}.webhook-banner-url{font-size:.8rem;color:#aaa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channels-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.channel-card{background:#1e1e2e;border:1px solid #2a2a3a;border-radius:14px;padding:1.25rem;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}.channel-card:hover{border-color:#3a3a5a;transform:translateY(-2px)}.channel-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:.85rem}.channel-card-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.channel-card-status{display:flex;align-items:center;gap:.35rem}.channel-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.channel-status-text{font-size:.72rem;font-weight:600}.channel-card-title{font-size:1rem;font-weight:700;color:#fff;margin:0 0 .35rem}.channel-card-desc{font-size:.78rem;color:#888;line-height:1.4;margin:0 0 .85rem;flex:1}.channel-card-info{display:flex;align-items:center;gap:.4rem;background:#25d36612;border-radius:8px;padding:.45rem .65rem;margin-bottom:.85rem}.channel-card-info span{font-size:.75rem;color:#25d366;font-weight:500}.channel-card-btn{width:100%;padding:.6rem;border:none;border-radius:10px;background:#646cff;color:#fff;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s,opacity .2s}.channel-card-btn:hover{background:#535bf2}.channel-card-btn-outline{background:transparent;border:1px solid #3a3a5a;color:#ccc}.channel-card-btn-outline:hover{background:#2a2a3a;border-color:#4a4a6a}.channel-modal-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.channel-modal{background:#1e1e2e;border:1px solid #2a2a3a;border-radius:16px;width:100%;max-width:460px;padding:1.5rem;animation:modalIn .2s ease-out}@keyframes modalIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.channel-modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.25rem}.channel-modal-title-row{display:flex;align-items:center;gap:.75rem}.channel-modal-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.channel-modal-title-row h2{font-size:1.1rem;font-weight:700;color:#fff;margin:0}.channel-modal-title-row p{font-size:.78rem;color:#888;margin:.15rem 0 0}.channel-modal-close{background:none;border:none;color:#666;cursor:pointer;padding:.25rem;border-radius:6px;transition:color .2s,background .2s}.channel-modal-close:hover{color:#fff;background:#2a2a3a}.channel-modal-form{display:flex;flex-direction:column;gap:.85rem}.channel-modal-form .form-group{display:flex;flex-direction:column;gap:.3rem}.channel-modal-form .form-group label{font-size:.78rem;font-weight:500;color:#ccc}.channel-modal-form .form-group input{width:100%;padding:.6rem .75rem;border:1px solid #3a3a4a;border-radius:8px;background:#2a2a3a;color:#fff;font-size:.85rem;outline:none;transition:border-color .2s;box-sizing:border-box}.channel-modal-form .form-group input::placeholder{color:#555}.channel-modal-form .form-group input:focus{border-color:#646cff}.channel-modal-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-cancel{flex:1;padding:.6rem;border:1px solid #3a3a4a;border-radius:10px;background:transparent;color:#aaa;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-cancel:hover{background:#2a2a3a}.channel-modal-actions .btn-primary{flex:1;padding:.6rem;border:none;border-radius:10px;background:#646cff;color:#fff;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s}.channel-modal-actions .btn-primary:hover{background:#535bf2}.channel-modal-actions .btn-primary:disabled{opacity:.6;cursor:not-allowed}.alert-error{background-color:#e74c3c15;border:1px solid #e74c3c30;color:#e74c3c;padding:.5rem .75rem;border-radius:8px;font-size:.82rem}.btn-copy{padding:.45rem .85rem;border:none;border-radius:8px;background:#646cff;color:#fff;font-size:.75rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .2s;flex-shrink:0}.btn-copy:hover{background:#535bf2}.loading-state{text-align:center;color:#888;padding:3rem 0}.baileys-modal{max-width:500px}.baileys-content{display:flex;flex-direction:column;gap:1rem}.baileys-status-banner{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border-radius:10px;font-size:.85rem;font-weight:500}.baileys-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.baileys-status-disconnected{background:#66666615;border:1px solid #66666630;color:#888}.baileys-status-disconnected .baileys-status-dot{background:#666}.baileys-status-connecting{background:#f59e0b15;border:1px solid #f59e0b30;color:#f59e0b}.baileys-status-connecting .baileys-status-dot{background:#f59e0b;animation:pulse 1.5s ease-in-out infinite}.baileys-status-connected{background:#25d36615;border:1px solid #25D36630;color:#25d366}.baileys-status-connected .baileys-status-dot{background:#25d366}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.baileys-qr-container{display:flex;flex-direction:column;align-items:center;gap:.75rem}.baileys-qr-instruction{font-size:.82rem;color:#888;text-align:center;margin:0}.baileys-qr-wrapper{background:#fff;border-radius:12px;padding:1rem;display:flex;align-items:center;justify-content:center}.baileys-qr-image{width:250px;height:250px;image-rendering:pixelated}.baileys-loading{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 0}.baileys-loading p{font-size:.85rem;color:#888;margin:0}.baileys-spinner{width:32px;height:32px;border:3px solid #2a2a3a;border-top-color:#8b5cf6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.btn-danger{flex:1;padding:.6rem;border:none;border-radius:10px;background:#e74c3c;color:#fff;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-danger:hover{background:#c0392b}.btn-danger:disabled{opacity:.6;cursor:not-allowed}[data-theme=light] .channels-header h1{color:#1a1a2e}[data-theme=light] .channel-card{background:#fff;border-color:#e5e5e5}[data-theme=light] .channel-card:hover{border-color:#ccc}[data-theme=light] .channel-card-title{color:#1a1a2e}[data-theme=light] .channel-card-desc{color:#666}[data-theme=light] .channel-card-btn-outline{border-color:#ddd;color:#444}[data-theme=light] .channel-card-btn-outline:hover{background:#f5f5f5;border-color:#ccc}[data-theme=light] .webhook-banner{background:#fff;border-color:#e5e5e5}[data-theme=light] .webhook-banner-url{color:#666}[data-theme=light] .channel-modal{background:#fff;border-color:#e5e5e5}[data-theme=light] .channel-modal-title-row h2{color:#1a1a2e}[data-theme=light] .channel-modal-form .form-group label{color:#444}[data-theme=light] .channel-modal-form .form-group input{background:#f5f5f5;border-color:#ddd;color:#333}[data-theme=light] .channel-modal-close:hover{background:#f0f0f0}[data-theme=light] .baileys-status-disconnected{background:#f5f5f5;border-color:#e5e5e5;color:#666}[data-theme=light] .baileys-qr-instruction,[data-theme=light] .baileys-loading p{color:#666}[data-theme=light] .baileys-spinner{border-color:#e5e5e5;border-top-color:#8b5cf6}@media(max-width:640px){.channels-page{padding:1rem}.channels-grid{grid-template-columns:1fr}.webhook-banner{flex-direction:column;align-items:stretch}.webhook-banner-left{flex-direction:column}.btn-copy{align-self:flex-start}}.dashboard-page{max-width:1200px;margin:0 auto}.dashboard-header{margin-bottom:1.5rem}.dashboard-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.dashboard-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0}.dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem}.dashboard-card{background-color:#1e1e2e;border:1px solid #2a2a3a;border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:.35rem}.dashboard-card-label{font-size:.75rem;color:#888;text-transform:uppercase;letter-spacing:.3px;font-weight:500}.dashboard-card-value{font-size:1.75rem;font-weight:700;color:#fff}.dashboard-card-value.accent{color:#646cff}.dashboard-card-value.warning{color:#f59e0b}.dashboard-card-value.success{color:#2ecc71}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}}.dashboard-section{background-color:#1e1e2e;border:1px solid #2a2a3a;border-radius:12px;padding:1.25rem}.dashboard-section h2{font-size:1rem;font-weight:600;color:#fff;margin:0 0 1rem}.dashboard-table{width:100%;border-collapse:collapse}.dashboard-table th{text-align:left;padding:.65rem .75rem;font-size:.7rem;font-weight:600;text-transform:uppercase;color:#888;border-bottom:1px solid #2a2a3a}.dashboard-table td{padding:.6rem .75rem;font-size:.85rem;color:#ccc;border-bottom:1px solid #2a2a3a}.dashboard-table tbody tr:last-child td{border-bottom:none}.taxa-badge{display:inline-block;padding:.15rem .5rem;border-radius:6px;font-size:.7rem;font-weight:700}.taxa-green{background-color:#2ecc7120;color:#2ecc71}.taxa-yellow{background-color:#f59e0b20;color:#f59e0b}.taxa-red{background-color:#e74c3c20;color:#e74c3c}.dashboard-chart{margin-top:.5rem}[data-theme=light] .dashboard-header h1{color:#1a1a2e}[data-theme=light] .dashboard-card{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .dashboard-card-value{color:#1a1a2e}[data-theme=light] .dashboard-section{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .dashboard-section h2{color:#1a1a2e}[data-theme=light] .dashboard-table td{color:#333;border-bottom-color:#f0f0f0}[data-theme=light] .dashboard-table th{border-bottom-color:#e5e5e5}.re-container{flex:1;display:flex;flex-direction:column;background-color:#1a1a2a;border:1px solid #2a2a3a;border-radius:12px;overflow:hidden}.re-toolbar{display:flex;align-items:center;padding:.5rem .75rem;border-bottom:1px solid #2a2a3a;background-color:#1e1e2e;flex-wrap:wrap;gap:.25rem}.re-toolbar-group{display:flex;align-items:center;gap:.2rem}.re-toolbar-btn{width:32px;height:32px;border:none;border-radius:6px;background:transparent;color:#aaa;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .15s,color .15s;font-family:inherit;font-size:.8rem}.re-toolbar-btn:hover{background-color:#2a2a3a;color:#fff}.re-toolbar-btn-active{background-color:#646cff20;color:#646cff}.re-toolbar-btn-active:hover{background-color:#646cff30;color:#646cff}.re-toolbar-sep{width:1px;height:20px;background-color:#2a2a3a;margin:0 .3rem}.re-btn-text{font-family:inherit}.re-editor-wrap{flex:1;overflow-y:auto;position:relative}.re-editor-wrap .tiptap{padding:1.25rem;min-height:100%;outline:none;color:#ddd;font-size:.9rem;line-height:1.7;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.re-placeholder{position:absolute;top:1.25rem;left:1.25rem;color:#444;font-size:.9rem;pointer-events:none;white-space:pre-line;line-height:1.7}.re-editor-wrap .tiptap h1{font-size:1.5rem;font-weight:700;margin:.5rem 0 .3rem;color:#fff}.re-editor-wrap .tiptap h2{font-size:1.25rem;font-weight:700;margin:.5rem 0 .3rem;color:#eee}.re-editor-wrap .tiptap h3{font-size:1.05rem;font-weight:600;margin:.4rem 0 .2rem;color:#ddd}.re-editor-wrap .tiptap p{margin:.2rem 0}.re-editor-wrap .tiptap strong{font-weight:700;color:#fff}.re-editor-wrap .tiptap em{font-style:italic}.re-editor-wrap .tiptap s{text-decoration:line-through;color:#888}.re-editor-wrap .tiptap ul,.re-editor-wrap .tiptap ol{padding-left:1.5rem;margin:.3rem 0}.re-editor-wrap .tiptap li{margin:.15rem 0}.re-editor-wrap .tiptap ul li::marker{color:#646cff}.re-editor-wrap .tiptap ol li::marker{color:#646cff}.re-editor-wrap .tiptap blockquote{border-left:3px solid #646cff;margin:.5rem 0;padding:.3rem 0 .3rem 1rem;color:#aaa}.re-editor-wrap .tiptap hr{border:none;border-top:1px solid #2a2a3a;margin:.75rem 0}.re-editor-wrap .tiptap code{background-color:#2a2a3a;padding:.15rem .4rem;border-radius:4px;font-size:.85em;font-family:monospace}.re-editor-wrap .tiptap.ProseMirror-focused{outline:none}[data-theme=light] .re-container{background-color:#fff;border-color:#e5e5e5}[data-theme=light] .re-toolbar{background-color:#f8f8fa;border-bottom-color:#e5e5e5}[data-theme=light] .re-toolbar-btn{color:#666}[data-theme=light] .re-toolbar-btn:hover{background-color:#eee;color:#333}[data-theme=light] .re-toolbar-btn-active{background-color:#646cff15;color:#646cff}[data-theme=light] .re-toolbar-sep{background-color:#ddd}[data-theme=light] .re-editor-wrap .tiptap{color:#333}[data-theme=light] .re-editor-wrap .tiptap h1{color:#1a1a2e}[data-theme=light] .re-editor-wrap .tiptap h2{color:#222}[data-theme=light] .re-editor-wrap .tiptap h3{color:#333}[data-theme=light] .re-editor-wrap .tiptap strong{color:#1a1a2e}[data-theme=light] .re-editor-wrap .tiptap s{color:#999}[data-theme=light] .re-editor-wrap .tiptap blockquote{border-left-color:#646cff;color:#666}[data-theme=light] .re-editor-wrap .tiptap hr{border-top-color:#e5e5e5}[data-theme=light] .re-editor-wrap .tiptap code{background-color:#f0f0f5}[data-theme=light] .re-placeholder{color:#bbb}.info-page{height:calc(100vh - 4rem);display:flex;flex-direction:column}.info-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem;flex-wrap:wrap}.info-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.info-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0;max-width:500px}.info-header-actions{display:flex;align-items:center;gap:.75rem}.info-unsaved{font-size:.75rem;color:#f59e0b;font-weight:600}.info-alert{padding:.65rem 1rem;border-radius:8px;font-size:.85rem;margin-bottom:.75rem;display:flex;align-items:center;justify-content:space-between}.info-alert button{background:none;border:none;color:inherit;cursor:pointer;font-weight:700;margin-left:.5rem}.info-alert-error{background-color:#e74c3c20;color:#e74c3c;border:1px solid #e74c3c30}.info-alert-success{background-color:#2ecc7120;color:#2ecc71;border:1px solid #2ecc7130}.info-loading{padding:3rem;text-align:center;color:#888}[data-theme=light] .info-header h1{color:#1a1a2e}.agente-page{height:calc(100vh - 4rem);display:flex;flex-direction:column}.agente-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem;flex-wrap:wrap}.agente-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0}.agente-subtitle{color:#888;font-size:.85rem;margin:.25rem 0 0;max-width:500px}.agente-header-actions{display:flex;align-items:center;gap:.75rem}.agente-unsaved{font-size:.75rem;color:#f59e0b;font-weight:600}.agente-alert{padding:.65rem 1rem;border-radius:8px;font-size:.85rem;margin-bottom:.75rem;display:flex;align-items:center;justify-content:space-between}.agente-alert button{background:none;border:none;color:inherit;cursor:pointer;font-weight:700;margin-left:.5rem}.agente-alert-error{background-color:#e74c3c20;color:#e74c3c;border:1px solid #e74c3c30}.agente-alert-success{background-color:#2ecc7120;color:#2ecc71;border:1px solid #2ecc7130}.agente-loading{padding:3rem;text-align:center;color:#888}.agente-toggle-wrapper{display:flex;align-items:center;gap:.5rem}.agente-toggle-label{font-size:.8rem;font-weight:600}.agente-toggle-label.ativo{color:#2ecc71}.agente-toggle-label.inativo{color:#888}.agente-toggle{position:relative;width:44px;height:24px;border-radius:12px;border:none;cursor:pointer;transition:background-color .2s;padding:0}.agente-toggle.on{background-color:#2ecc71}.agente-toggle.off{background-color:#444}.agente-toggle-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;display:block}.agente-toggle.on .agente-toggle-knob{transform:translate(20px)}.agente-content{display:flex;flex-direction:column;gap:1.25rem;flex:1;overflow-y:auto}.agente-config-section{background:#1a1a2e;border:1px solid #2a2a4a;border-radius:10px;padding:1.25rem}.agente-config-section h2{font-size:1rem;font-weight:600;color:#fff;margin:0 0 1rem}.agente-config-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}.agente-field{display:flex;flex-direction:column;gap:.35rem}.agente-field label{font-size:.8rem;color:#aaa;font-weight:500;display:flex;align-items:center;gap:.5rem}.agente-field select,.agente-field input{background:#12121f;border:1px solid #2a2a4a;border-radius:8px;padding:.6rem .75rem;color:#fff;font-size:.85rem;outline:none;transition:border-color .2s}.agente-field select:focus,.agente-field input:focus{border-color:#6c5ce7}.agente-key-badge{font-size:.65rem;background:#2ecc7130;color:#2ecc71;padding:.1rem .4rem;border-radius:4px;font-weight:600}.agente-prompt-section{flex:1;display:flex;flex-direction:column;min-height:0}.agente-prompt-section h2{font-size:1rem;font-weight:600;color:#fff;margin:0 0 .75rem}@media(max-width:768px){.agente-config-grid{grid-template-columns:1fr}}[data-theme=light] .agente-header h1{color:#1a1a2e}[data-theme=light] .agente-config-section{background:#fff;border-color:#e0e0e0}[data-theme=light] .agente-config-section h2,[data-theme=light] .agente-prompt-section h2{color:#1a1a2e}[data-theme=light] .agente-field label{color:#666}[data-theme=light] .agente-field select,[data-theme=light] .agente-field input{background:#f5f5f5;border-color:#e0e0e0;color:#1a1a2e}[data-theme=light] .agente-toggle.off{background-color:#ccc}.config-page{max-width:700px;margin:0 auto;padding:1.5rem}.config-header{margin-bottom:1.5rem}.config-header h1{font-size:1.5rem;font-weight:700;color:#fff;margin:0 0 .25rem}.config-header p{font-size:.85rem;color:#888;margin:0}.config-section{background:#1e1e2e;border:1px solid #2a2a3a;border-radius:14px;padding:1.25rem;margin-bottom:1rem}.config-section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;color:#888}.config-section-header h3{font-size:1rem;font-weight:700;color:#fff;margin:0}.config-section-header p{font-size:.78rem;color:#888;margin:.1rem 0 0}.config-theme-options{display:flex;gap:.6rem}.config-theme-option{flex:1;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem .75rem;border:1px solid #3a3a4a;border-radius:12px;background:transparent;color:#aaa;font-size:.82rem;font-weight:500;cursor:pointer;transition:all .2s}.config-theme-option:hover{border-color:#4a4a6a;color:#fff;background:#2a2a3a}.config-theme-option.active{border-color:#646cff;color:#646cff;background:#646cff12}[data-theme=light] .config-header h1{color:#1a1a2e}[data-theme=light] .config-section{background:#fff;border-color:#e5e5e5}[data-theme=light] .config-section-header h3{color:#1a1a2e}[data-theme=light] .config-theme-option{border-color:#ddd;color:#666}[data-theme=light] .config-theme-option:hover{background:#f5f5f5;border-color:#ccc;color:#333}[data-theme=light] .config-theme-option.active{border-color:#646cff;color:#646cff;background:#646cff10}@media(max-width:640px){.config-page{padding:1rem}}
