:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font:15px/1.4 system-ui,Segoe UI,Roboto,sans-serif}body{margin:0}#root{min-height:100vh}*{box-sizing:border-box}:root{--brand:#ff9700;--brand-dark:#e08500;--sidebar-bg:#1c2333;--sidebar-bg-2:#262f45}body{background:#f2f4f5;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.login-screen{justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:12px;flex-direction:column;gap:1rem;width:320px;padding:2.5rem;display:flex;box-shadow:0 4px 24px #00000014}.login-logos{justify-content:center;align-items:center;gap:1.25rem;display:flex}.login-logo-elite{width:auto;height:56px}.login-logo-irontech{width:auto;height:40px}.login-card .subtitle{color:#667;margin:0 0 .5rem;font-size:.9rem}.login-card label{color:#333;flex-direction:column;gap:.35rem;font-size:.85rem;display:flex}.login-card input{border:1px solid #ccc;border-radius:6px;padding:.6rem .7rem;font-size:1rem}.login-card button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.65rem;font-size:1rem}.login-card button:disabled{opacity:.6;cursor:default}.error{color:#b3261e;font-size:.85rem}.app-shell{height:100vh;display:flex}.nav-sidebar{background:var(--sidebar-bg);color:#cbd2e0;flex-direction:column;width:220px;min-width:220px;display:flex}.nav-brand{border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;padding:1.25rem 1rem;display:flex}.nav-brand img{object-fit:contain;max-width:100%;height:40px}.nav-brand-secondary{padding:.6rem 1rem}.nav-brand-secondary img{height:22px}.nav-list{flex-direction:column;flex:1;gap:.15rem;padding:.75rem .5rem;display:flex;overflow-y:auto}.nav-item{color:#a9b1c6;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.65rem;padding:.6rem .75rem;font-size:.85rem;display:flex}.nav-item:hover{background:var(--sidebar-bg-2);color:#fff}.nav-item.active{background:var(--brand);color:#fff}.nav-badge{background:var(--sidebar-bg-2);color:var(--brand);border-radius:8px;margin-left:auto;padding:.1rem .4rem;font-size:.65rem}.nav-item.active .nav-badge{color:#fff;background:#ffffff40}.nav-user{border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:1rem;font-size:.85rem;display:flex}.nav-user-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.app-main{flex:1;min-width:0;height:100vh;display:flex;overflow:hidden}.app-main>*{flex:1;min-width:0}.page-placeholder{color:#8a97a1;padding:2rem}.panel{flex:1;min-width:0;display:flex}.sidebar{color:#fff;background:#1a2b3c;flex-direction:column;width:320px;display:flex}.link-button{color:#9fd3ff;cursor:pointer;background:0 0;border:none;font-size:.85rem}.tabs{gap:.25rem;padding:.5rem;display:flex}.tab{color:#cbd5df;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;padding:.5rem .25rem;font-size:.75rem}.tab.active{color:#fff;background:#ffffff26}.conversation-list{flex:1;margin:0;padding:0;list-style:none;overflow-y:auto}.conversation-list .empty{color:#9aa7b2;padding:1rem;font-size:.85rem}.conversation-item{cursor:pointer;border-bottom:1px solid #ffffff0f;padding:.75rem 1rem}.conversation-item:hover{background:#ffffff0d}.conversation-item.selected{background:#ffffff1f}.conversation-name{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.conversation-meta{gap:.5rem;margin-top:.25rem;font-size:.7rem;display:flex}.status{border-radius:4px;padding:.1rem .4rem}.status-open{background:#2f6fed}.status-in_progress{background:#1a7a3f}.status-closed{background:#555}.assigned{color:#cbd5df}.chat{background:#eef1f3;flex-direction:column;flex:1;display:flex;position:relative}.chat-placeholder{color:#8a97a1;margin:auto}.chat-header{background:#fff;border-bottom:1px solid #e0e3e6;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.chat-header-actions{align-items:center;gap:.5rem;display:flex}.chat-header button.secondary{color:#1a2b3c;background:#fff;border:1px solid #ccc}.chat-header button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem}.chat-subtitle{color:#8a97a1;font-size:.75rem}.assigned-note{color:#8a97a1;font-size:.85rem}.messages{flex-direction:column;flex:1;gap:.5rem;padding:1.5rem;display:flex;overflow-y:auto}.message{border-radius:10px;max-width:60%;padding:.5rem .75rem;font-size:.9rem}.message.in{background:#fff;align-self:flex-start}.message.out{background:#d9fdd3;align-self:flex-end}.message-media{border-radius:6px;max-width:100%;max-height:320px;margin-bottom:.3rem;display:block}.message-audio{max-width:260px;margin-bottom:.3rem;display:block}.audio-record-btn{white-space:nowrap;align-items:center;gap:.35rem;display:flex}.audio-recorder{background:#fff;border:1px solid #ccc;border-radius:20px;align-items:center;gap:.6rem;padding:.4rem .9rem;display:flex}.audio-recorder-dot{background:#d03b3b;border-radius:50%;width:9px;height:9px;animation:1.2s infinite audio-pulse}@keyframes audio-pulse{0%,to{opacity:1}50%{opacity:.3}}.audio-recorder-time{font-variant-numeric:tabular-nums;color:#333;font-size:.85rem}.audio-recorder button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:14px;padding:.3rem .8rem;font-size:.8rem}.message-time{color:#8a97a1;text-align:right;margin-top:.2rem;font-size:.65rem}.composer{background:#fff;border-top:1px solid #e0e3e6;gap:.5rem;padding:1rem 1.5rem;display:flex}.composer input{border:1px solid #ccc;border-radius:20px;flex:1;padding:.6rem .8rem;font-size:.95rem}.composer button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:20px;padding:0 1.2rem}.composer button:disabled{opacity:.6;cursor:default}.quick-replies{position:relative}.quick-replies>button{white-space:nowrap;color:#1a2b3c;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:20px;padding:.6rem 1rem}.quick-replies-popover{z-index:10;background:#fff;border-radius:10px;flex-direction:column;gap:.5rem;width:320px;max-height:360px;padding:.75rem;display:flex;position:absolute;bottom:calc(100% + .5rem);left:0;box-shadow:0 4px 24px #00000026}.quick-replies-list{flex-direction:column;gap:.35rem;max-height:220px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.quick-replies-list .empty{color:#8a97a1;padding:.4rem;font-size:.85rem}.quick-replies-list li{cursor:pointer;border-radius:6px;justify-content:space-between;align-items:flex-start;gap:.5rem;padding:.5rem;display:flex}.quick-replies-list li:hover{background:#f2f4f5}.quick-reply-title{font-size:.8rem;font-weight:600}.quick-reply-body{color:#667;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.75rem;display:-webkit-box;overflow:hidden}.quick-reply-delete{color:#b3261e;cursor:pointer;background:0 0;border:none;padding:.1rem .3rem;font-size:1.1rem;line-height:1}.quick-reply-form{border-top:1px solid #e0e3e6;flex-direction:column;gap:.4rem;padding-top:.5rem;display:flex}.quick-reply-form input,.quick-reply-form textarea{resize:vertical;border:1px solid #ccc;border-radius:6px;padding:.4rem .5rem;font-family:inherit;font-size:.8rem}.quick-reply-form button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;align-self:flex-end;padding:.35rem .9rem}.quick-reply-form button:disabled{opacity:.6;cursor:default}.notes-panel{background:#fff;border-left:1px solid #e0e3e6;flex-direction:column;gap:.75rem;width:300px;padding:1rem;display:flex;overflow-y:auto}.notes-header{justify-content:space-between;align-items:center;display:flex}.notes-form{flex-direction:column;gap:.5rem;display:flex}.notes-form textarea{resize:vertical;border:1px solid #ccc;border-radius:6px;padding:.5rem;font-family:inherit;font-size:.85rem}.notes-form button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;align-self:flex-end;padding:.4rem .9rem}.notes-form button:disabled{opacity:.6;cursor:default}.notes-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.notes-list .empty{color:#8a97a1;font-size:.85rem}.note-item{background:#fdf6e3;border-radius:8px;padding:.6rem .75rem}.note-body{white-space:pre-wrap;font-size:.85rem}.note-meta{color:#8a97a1;margin-top:.35rem;font-size:.7rem}.users-page{flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex;overflow-y:auto}.users-header{justify-content:space-between;align-items:center;display:flex}.users-header h2{color:#1a2b3c;margin:0;font-size:1.1rem}.users-header button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem}.users-form{background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.6rem;padding:1rem 1.25rem;display:flex;box-shadow:0 1px 3px #00000014}.users-form input,.users-form select{border:1px solid #ccc;border-radius:6px;padding:.5rem .6rem;font-size:.85rem}.users-form button{background:var(--brand);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:.5rem 1rem}.users-form button:disabled{opacity:.6;cursor:default}.users-table{border-collapse:collapse;background:#fff;border-radius:10px;width:100%;box-shadow:0 1px 3px #00000014}.users-table th,.users-table td{text-align:left;border-bottom:1px solid #e1e0d9;padding:.7rem 1rem;font-size:.85rem}.users-table th{color:#52514e;text-transform:uppercase;font-size:.75rem;font-weight:600}.role-badge{color:#fff;border-radius:10px;padding:.15rem .55rem;font-size:.72rem}.role-badge.role-admin{background:#4a3aa7}.role-badge.role-atendente{background:#52514e}.reports{flex-direction:column;gap:1.75rem;padding:1.5rem;display:flex;overflow-y:auto}.reports-empty{color:#8a97a1;font-size:.85rem}.stat-tiles{flex-wrap:wrap;gap:1rem;display:flex}.stat-tile{background:#fff;border-radius:10px;min-width:160px;padding:1rem 1.25rem;box-shadow:0 1px 3px #00000014}.stat-tile-value{color:#0b0b0b;font-size:1.6rem;font-weight:600}.stat-tile-label{color:#52514e;margin-top:.25rem;font-size:.78rem}.reports-section{background:#fff;border-radius:10px;padding:1.25rem;box-shadow:0 1px 3px #00000014}.reports-section h3{color:#1a2b3c;margin:0 0 1rem;font-size:.95rem}.dashboard-recent-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.dashboard-recent-list .empty{color:#8a97a1;padding:.5rem 0;font-size:.85rem}.dashboard-recent-list li{cursor:pointer;border-bottom:1px solid #eee;align-items:center;gap:.75rem;padding:.6rem .25rem;font-size:.85rem;display:flex}.dashboard-recent-list li:hover{background:#f7f7f7}.dashboard-recent-name{text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:600;overflow:hidden}.bar-list{flex-direction:column;gap:.55rem;display:flex}.bar-row{grid-template-columns:70px 1fr 90px;align-items:center;gap:.6rem;display:grid}.bar-row-label{color:#52514e;text-align:right;font-size:.78rem}.bar-row-track{background:#e1e0d9;border-radius:0 4px 4px 0;height:20px;overflow:hidden}.bar-row-fill{background:var(--brand);border-radius:0 4px 4px 0;min-width:2px;height:100%}.bar-row-value{color:#0b0b0b;font-variant-numeric:tabular-nums;font-size:.78rem}.chat-kanban{overflow-x:auto}.kanban{gap:1rem;height:100%;padding:1.5rem;display:flex;overflow-x:auto}.kanban-column{background:#e4e8ea;border-radius:10px;flex-direction:column;width:260px;min-width:260px;padding:.75rem;display:flex}.kanban-column.drag-over{background:#d3ecdd;outline:2px dashed #1a7a3f}.kanban-column h3{color:#33424c;justify-content:space-between;align-items:center;margin:.25rem .25rem .75rem;font-size:.85rem;display:flex}.kanban-count{background:#0000001a;border-radius:10px;padding:.05rem .5rem;font-size:.75rem}.kanban-cards{flex-direction:column;gap:.5rem;display:flex;overflow-y:auto}.kanban-card{cursor:grab;background:#fff;border-radius:8px;padding:.6rem .75rem;box-shadow:0 1px 3px #00000014}.kanban-card:active{cursor:grabbing}.kanban-card-name{margin-bottom:.35rem;font-size:.85rem;font-weight:600}.kanban-card-meta{align-items:center;gap:.4rem;font-size:.65rem;display:flex}.kanban-card-meta .status{color:#fff}.kanban-card-meta .assigned{color:#667}.toast{background:#fdecea;border-radius:6px;padding:.5rem 1rem;position:absolute;bottom:5rem;left:50%;transform:translate(-50%)}
