@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap";:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#111827;background-color:#f8fafc;--bg: #F8FAFC;--card: #FFFFFF;--border: #E5E7EB;--text: #111827;--muted: #6B7280;--accent: #6b5bd2;--accent-2: #6366f1;--sidebar-bg: #F4ECF8;--menu-hover: #FFFFFF;--scale: 1;--fs-base: calc(15px * var(--scale));--fs-h1: calc(26px * var(--scale));--fs-h2: calc(20px * var(--scale));--fs-h3: calc(16px * var(--scale));--icon-sm: calc(16px * var(--scale));--icon-md: calc(20px * var(--scale));--sp-1: calc(4px * var(--scale));--sp-2: calc(8px * var(--scale));--sp-3: calc(12px * var(--scale));--sp-4: calc(16px * var(--scale));font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background-color:var(--bg);font-size:var(--fs-base)}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}h1,h2,h3,h4,h5,h6{color:#1a202c}h1{font-size:var(--fs-h1)}h2{font-size:var(--fs-h2)}h3{font-size:var(--fs-h3)}@media (max-width: 1280px){:root{--scale: .95}}@media (min-width: 1600px){:root{--scale: 1.05}}@media (min-width: 1920px){:root{--scale: 1.1}}@media (min-width: 2560px){:root{--scale: 1.18}}#root{min-height:100vh}[data-theme=dark]{color-scheme:dark;--bg: #0F1014;--card: #1F2126;--border: #181A1F;--text: #F5F5F7;--muted: #C3C6CE;--accent: #A78BFA;--accent-2: #8B5CF6;--sidebar-bg: #181A1F;--menu-hover: #1F2126}.botao-gerar-peca{display:flex;align-items:center;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;border-radius:12px;padding:12px 16px;margin:8px 0;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #3b82f64d;position:relative;overflow:hidden;max-width:280px}.botao-gerar-peca:hover{transform:translateY(-2px);box-shadow:0 6px 20px #3b82f666;background:linear-gradient(135deg,#2563eb,#1e40af)}.botao-gerar-peca:active{transform:translateY(0);box-shadow:0 2px 8px #3b82f64d}.botao-gerar-peca-content{display:flex;align-items:center;width:100%;gap:12px}.botao-gerar-peca-icon-container{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#fff3;border-radius:8px;flex-shrink:0}.botao-gerar-peca-icon{color:#fff;z-index:2}.botao-gerar-peca-sparkle{position:absolute;top:-2px;right:-2px;color:#fbbf24;animation:sparkle 2s ease-in-out infinite;z-index:3}@keyframes sparkle{0%,to{opacity:.7;transform:scale(1) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(180deg)}}.botao-gerar-peca-text{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}.botao-gerar-peca-titulo{color:#fff;font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.botao-gerar-peca-subtitulo{color:#fffc;font-size:12px;font-weight:400;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.botao-gerar-peca-arrow{color:#fff;flex-shrink:0;transition:transform .3s ease}.botao-gerar-peca:hover .botao-gerar-peca-arrow{transform:translate(4px)}.botao-gerar-peca-compact{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border:none;border-radius:8px;padding:8px 12px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #3b82f64d;margin:4px 0}.botao-gerar-peca-compact:hover{background:linear-gradient(135deg,#2563eb,#1e40af);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.botao-gerar-peca-compact:active{transform:translateY(0)}.botao-gerar-peca-inline{display:inline-flex;align-items:center;gap:6px;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:6px;padding:6px 10px;color:#3b82f6;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;margin:2px 4px}.botao-gerar-peca-inline:hover{background:#3b82f626;border-color:#3b82f680;color:#2563eb}.botao-gerar-peca-inline:active{background:#3b82f633}.botao-gerar-peca,.botao-gerar-peca-compact,.botao-gerar-peca-inline{animation:slideInUp .3s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.botao-gerar-peca{max-width:100%;padding:10px 14px}.botao-gerar-peca-content{gap:10px}.botao-gerar-peca-icon-container{width:32px;height:32px}.botao-gerar-peca-titulo{font-size:13px}.botao-gerar-peca-subtitulo{font-size:11px}}.botao-gerar-peca:focus,.botao-gerar-peca-compact:focus,.botao-gerar-peca-inline:focus{outline:none;box-shadow:0 0 0 3px #3b82f680}.botao-gerar-peca.pulse{animation:pulse 2s infinite}@keyframes pulse{0%{box-shadow:0 4px 12px #3b82f64d}50%{box-shadow:0 4px 20px #3b82f680}to{box-shadow:0 4px 12px #3b82f64d}}.aunira-chat-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:40}.aunira-chat-widget{position:fixed;bottom:96px;right:16px;width:90vw;height:70vh;background-color:#fff;border-radius:8px;box-shadow:0 25px 50px -12px #00000040;z-index:50;display:flex;flex-direction:column;overflow:hidden}@media (min-width: 768px){.aunira-chat-widget{right:32px;width:384px;height:500px}.aunira-chat-overlay{display:none}}.aunira-chat-header{background:linear-gradient(to right,#0f766e,#0d9488);color:#fff;padding:16px;display:flex;align-items:center;justify-content:space-between}.aunira-chat-header-info{display:flex;align-items:center;gap:12px}.aunira-chat-avatar{width:32px;height:32px;background-color:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center}.aunira-chat-title{font-weight:600;font-size:14px;margin:0}.aunira-chat-subtitle{font-size:12px;color:#99f6e4;margin:0}.aunira-chat-close{color:#fff;background:none;border:none;padding:4px;border-radius:50%;cursor:pointer;transition:background-color .2s}.aunira-chat-close:hover{background-color:#fff3}.aunira-chat-messages{flex:1;overflow-y:auto;padding:16px;background-color:#f9fafb;display:flex;flex-direction:column;gap:16px}.aunira-message-container{display:flex}.aunira-message-container.user{justify-content:flex-end}.aunira-message-container.ai{justify-content:flex-start}.aunira-message{max-width:80%;border-radius:8px;padding:8px 12px;box-shadow:0 1px 3px #0000001a}.aunira-message.user{background-color:#0d9488;color:#fff}.aunira-message.ai{background-color:#fff;color:#374151;border:1px solid #e5e7eb}.aunira-message-text{font-size:14px;line-height:1.5;margin:0}.aunira-message-time{font-size:12px;margin-top:4px}.aunira-message-time.user{color:#99f6e4}.aunira-message-time.ai{color:#6b7280}.aunira-typing-indicator{display:flex;justify-content:flex-start}.aunira-typing-bubble{background-color:#fff;color:#374151;border:1px solid #e5e7eb;border-radius:8px;padding:8px 12px;box-shadow:0 1px 3px #0000001a}.aunira-typing-dots{display:flex;gap:4px}.aunira-typing-dot{width:8px;height:8px;background-color:#9ca3af;border-radius:50%;animation:bounce 1.4s infinite ease-in-out}.aunira-typing-dot:nth-child(1){animation-delay:-.32s}.aunira-typing-dot:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.aunira-chat-input-area{padding:16px;background-color:#fff;border-top:1px solid #e5e7eb}.aunira-chat-input-container{display:flex;align-items:center;gap:8px}.aunira-chat-plus-btn{color:#0d9488;background:none;border:none;padding:8px;border-radius:50%;cursor:pointer;transition:background-color .2s}.aunira-chat-plus-btn:hover{background-color:#f0fdfa}.aunira-chat-input-wrapper{flex:1;position:relative}.aunira-chat-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;resize:none;font-size:14px;font-family:inherit;min-height:40px;max-height:80px;transition:border-color .2s,box-shadow .2s}.aunira-chat-input:focus{outline:none;border-color:#0d9488;box-shadow:0 0 0 3px #0d94881a}.aunira-chat-input:disabled{opacity:.5;cursor:not-allowed}.aunira-chat-send-btn{background-color:#0d9488;color:#fff;border:none;padding:8px;border-radius:50%;cursor:pointer;transition:background-color .2s}.aunira-chat-send-btn:hover:not(:disabled){background-color:#0f766e}.aunira-chat-send-btn:disabled{opacity:.5;cursor:not-allowed}.aunira-chat-float-btn{position:fixed;bottom:24px;right:16px;background-color:#0d9488;color:#fff;border:none;padding:16px;border-radius:50%;box-shadow:0 10px 15px -3px #0000001a;cursor:pointer;z-index:50;transition:background-color .2s,transform .2s}@media (min-width: 768px){.aunira-chat-float-btn{right:32px}}.aunira-chat-float-btn:hover{background-color:#0f766e;transform:scale(1.05)}.aunira-chat-float-btn:active{transform:scale(.95)}.aunira-notification-dot{position:absolute;top:-4px;right:-4px;width:12px;height:12px;background-color:#ef4444;border-radius:50%}.aunira-chat-messages::-webkit-scrollbar{width:6px}.aunira-chat-messages::-webkit-scrollbar-track{background:#f1f5f9}.aunira-chat-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.aunira-chat-messages::-webkit-scrollbar-thumb:hover{background:#94a3b8}.aunira-fade-in{animation:fadeIn .3s ease-out}.aunira-scale-in{animation:scaleIn .3s ease-out}@keyframes scaleIn{0%{opacity:0;transform:scale(.8) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.aunira-chat-close:focus,.aunira-chat-plus-btn:focus,.aunira-chat-send-btn:focus,.aunira-chat-float-btn:focus{outline:2px solid #0d9488;outline-offset:2px}.usermenu-root{position:relative}.usercard{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;background:#2d3f55;border:1px solid rgba(255,255,255,.14);border-radius:12px;box-shadow:0 10px 22px #00000047;cursor:pointer;color:#fdfdfd}.usercard:hover{filter:brightness(1.03)}.usercard:active{transform:translateY(1px)}.usercard-avatar{width:38px;height:38px;border-radius:999px;background:#0b3047;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.16)}.usercard-avatar img{width:100%;height:100%;object-fit:cover;border-radius:999px}.usercard-avatar-icon{width:18px;height:18px;color:#fdfdfd}.usercard-copy{display:flex;flex-direction:column;min-width:0;text-align:left}.usercard-name{font-weight:800;color:#fdfdfd;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.usercard-role{font-weight:700;color:#e8f1fc;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.userpop{position:absolute;left:8px;bottom:56px;width:220px;background:#2d3f55;border:1px solid rgba(255,255,255,.14);border-radius:12px;box-shadow:0 24px 48px #00000052;padding:6px;z-index:50}.userpop-email{color:#e8f1fc;font-size:12px;padding:8px 10px 6px}.userpop-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:transparent;border:0;cursor:pointer;color:#fdfdfd}.userpop-item:hover{background:#ffffff14}.userpop-item .icon{width:16px;height:16px;color:#fdfdfd}.userpop-item.danger,.userpop-item.danger .icon{color:#dc2626}.userpop-divider{height:1px;margin:6px;background:#ffffff24}[data-theme=dark] .usercard{background:#1f2126;border:1px solid #181A1F;color:#fdfdfd;box-shadow:0 10px 20px #00000073}[data-theme=dark] .usercard-avatar{background:#181a1f}[data-theme=dark] .usercard-avatar-icon,[data-theme=dark] .usercard-name{color:#fdfdfd}[data-theme=dark] .usercard-role{color:#e8e8ee}[data-theme=dark] .userpop{background:#1f2126;border:1px solid #181A1F;box-shadow:0 24px 48px #0000008c}[data-theme=dark] .userpop-email{color:#e8e8ee}[data-theme=dark] .userpop-item,[data-theme=dark] .userpop-item .icon{color:#fdfdfd}[data-theme=dark] .userpop-item:hover{background:#23262d}[data-theme=dark] .userpop-item.danger,[data-theme=dark] .userpop-item.danger .icon{color:#fca5a5}[data-theme=dark] .userpop-divider{background:#181a1f}.layout-container{display:flex;height:100vh;background-color:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}:root{--sidebar-w: clamp(200px, 15vw, 240px);--fs-menu: calc(13px * var(--scale));--fs-mini: calc(11px * var(--scale))}.sidebar{width:var(--sidebar-w);background:var(--sidebar-bg);color:var(--text);display:flex;flex-direction:column;position:fixed;height:100vh;z-index:1000;box-shadow:0 6px 20px #1f293714}.sidebar-header{padding:12px 12px 8px;border-bottom:1px solid var(--border)}.brand-mini{font-size:var(--fs-mini);letter-spacing:.2em;color:var(--muted);font-weight:800}.sidebar-nav{flex:1;padding:8px 0;overflow-y:auto}.sidebar-nav ul{list-style:none;padding:0;margin:0}.sidebar-nav li{margin-bottom:2px;padding:0 12px}.sidebar-nav a{display:flex;align-items:center;justify-content:space-between;color:var(--text);text-decoration:none;padding:10px 12px;border-radius:10px;transition:all .18s ease;font-weight:600;font-size:var(--fs-menu);position:relative;overflow:hidden;border:1px solid transparent}.menu-item-content{display:flex;align-items:center;gap:10px}.sidebar-nav a:hover{background:var(--menu-hover);color:var(--text);transform:translate(2px);box-shadow:0 10px 20px #1118270f;border-color:var(--border)}.sidebar-nav a.active{background:var(--menu-hover);color:var(--text);font-weight:700;border-color:var(--accent-color, var(--border));box-shadow:0 12px 26px #6f63ff2e}.assist-row{width:100%;display:flex;align-items:center;justify-content:space-between;color:var(--text);background:transparent;border:1px solid transparent;padding:10px 12px;border-radius:10px;cursor:pointer}.assist-row:hover{background:var(--menu-hover);box-shadow:0 10px 20px #1118270f;border-color:var(--border)}.assist-row.active{background:var(--menu-hover);border-color:var(--accent-color, var(--border));box-shadow:0 12px 26px #6f63ff2e}.assist-row .chev{color:var(--text);display:flex;align-items:center}.divider{height:1px;margin:6px 12px;background:var(--border);padding:0}.recent-row{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:transparent;border:0;color:var(--text);cursor:pointer}.recent-row:hover{background:var(--menu-hover);box-shadow:0 6px 16px #1118270d}.recent-dot{width:calc(22px * var(--scale));height:calc(22px * var(--scale));border-radius:999px;background:linear-gradient(135deg,#ded8ec,#eae6f4);display:grid;place-items:center;color:var(--text)}.recent-dot .mini{color:var(--text)}.recent-title{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}.active-indicator{width:3px;height:100%;position:absolute;right:0;top:0;border-radius:2px 0 0 2px}.sidebar-nav .icon{width:var(--icon-sm);height:var(--icon-sm);flex-shrink:0;color:var(--muted)}.sidebar-footer{padding:16px;border-top:1px solid var(--border);position:relative}.logout-icon-btn:active{transform:translateY(1px)}.logout-icon-btn .icon{width:18px;height:18px}.user-avatar{width:38px;height:38px;background:#e9e0ff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.avatar-icon{width:18px;height:18px;color:#6b5bd2}.user-details{display:flex;flex-direction:column;min-width:0}.user-name{font-size:14px;font-weight:800;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:12px;color:#6366f1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-button{width:100%;background:#fff;color:#b91c1c;border:1px solid #f2e5e5;padding:12px 16px;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s ease;font-weight:600;font-size:14px}.logout-button:hover{background:#fff5f5;transform:translateY(-1px);box-shadow:0 10px 20px #b91c1c14}.logout-button .icon{width:16px;height:16px}.main-content{flex:1;margin-left:var(--sidebar-w);display:flex;flex-direction:column;background-color:var(--bg);min-height:100vh}.page-content{flex:1;padding:24px;overflow-y:auto;background-color:var(--bg)}@media (max-width: 1024px){.sidebar{width:200px}.main-content{margin-left:200px}}@media (max-width: 768px){.sidebar{width:100%;position:fixed;transform:translate(-100%);transition:transform .3s ease}.sidebar.open{transform:translate(0)}.main-content{margin-left:0}.page-content{padding:16px}}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-track{background:#f4ecf8;border-radius:2px}[data-theme=light] .sidebar{background:#2d3f55;color:#f5f5f7;box-shadow:0 6px 20px #00000047}[data-theme=light] .sidebar-header{border-bottom:1px solid rgba(255,255,255,.1)}[data-theme=light] .brand-mini{color:#e8f1fc}[data-theme=light] .sidebar-nav a,[data-theme=light] .assist-row,[data-theme=light] .recent-row{color:#fdfdfd;border-color:transparent;background:transparent}[data-theme=light] .sidebar-nav a .menu-item-content,[data-theme=light] .sidebar-nav a span,[data-theme=light] .assist-row span,[data-theme=light] .recent-row span{color:#fdfdfd}[data-theme=light] .sidebar-nav a:hover,[data-theme=light] .sidebar-nav a.active,[data-theme=light] .assist-row:hover,[data-theme=light] .assist-row.active,[data-theme=light] .recent-row:hover{background:#243447;border-color:#ffffff26;box-shadow:0 10px 22px #00000047}[data-theme=light] .sidebar-nav a.active{border-color:#fff3;box-shadow:0 12px 24px #00000052}[data-theme=light] .sidebar-nav .icon,[data-theme=light] .assist-row .chev{color:#fdfdfd}[data-theme=light] .divider{background:#ffffff1f}[data-theme=light] .recent-dot{background:#243447;color:#fdfdfd;border:1px solid rgba(255,255,255,.18)}[data-theme=light] .recent-dot .mini,[data-theme=light] .recent-title{color:#fdfdfd}[data-theme=light] .sidebar-footer{border-top:1px solid rgba(255,255,255,.1)}[data-theme=light] .user-avatar{background:#243447}[data-theme=light] .avatar-icon,[data-theme=light] .user-name{color:#fdfdfd}[data-theme=light] .user-role{color:#e8f1fc}[data-theme=light] .logout-button{background:#243447;color:#fdfdfd;border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 22px #00000052}[data-theme=light] .logout-button:hover{background:#1f2f42}[data-theme=light] .sidebar-nav::-webkit-scrollbar-track{background:#243447}[data-theme=dark] .sidebar{background:#181a1f;color:#fdfdfd;box-shadow:0 10px 28px #0000008c}[data-theme=dark] .sidebar-header{border-bottom:1px solid #181A1F}[data-theme=dark] .brand-mini{color:#e6e8ed}[data-theme=dark] .sidebar-nav a,[data-theme=dark] .assist-row,[data-theme=dark] .recent-row{color:#fdfdfd;border-color:transparent;background:transparent}[data-theme=dark] .sidebar-nav a .menu-item-content,[data-theme=dark] .sidebar-nav a span,[data-theme=dark] .assist-row span,[data-theme=dark] .recent-row span{color:#fdfdfd}[data-theme=dark] .sidebar-nav a:hover,[data-theme=dark] .sidebar-nav a.active,[data-theme=dark] .assist-row:hover,[data-theme=dark] .assist-row.active,[data-theme=dark] .recent-row:hover{background:#1f2126;border-color:#181a1f;box-shadow:0 12px 26px #00000073}[data-theme=dark] .sidebar-nav .icon,[data-theme=dark] .assist-row .chev{color:#fdfdfd}[data-theme=dark] .divider{background:#181a1f}[data-theme=dark] .recent-dot{background:#1f2126;color:#fdfdfd;border:1px solid #181A1F}[data-theme=dark] .recent-dot .mini,[data-theme=dark] .recent-title{color:#fdfdfd}[data-theme=dark] .sidebar-footer{border-top:1px solid #181A1F}[data-theme=dark] .user-avatar{background:#1f2126}[data-theme=dark] .avatar-icon,[data-theme=dark] .user-name{color:#fdfdfd}[data-theme=dark] .user-role{color:#e8e8ee}[data-theme=dark] .logout-button{background:#1f2126;color:#fdfdfd;border:1px solid #181A1F;box-shadow:0 10px 20px #00000073}[data-theme=dark] .logout-button:hover{background:#23262d}[data-theme=dark] .sidebar-nav::-webkit-scrollbar-track{background:#181a1f}[data-theme=dark] .main-content,[data-theme=dark] .page-content{background:#0f1014}.page{min-height:100vh;background:#f5f5f5;display:flex;align-items:center;justify-content:center;padding:40px 20px}.content-wrapper{width:100%;max-width:1100px;background:#fff;display:grid;grid-template-columns:1fr 400px;min-height:600px;border:1px solid #e0e0e0}.left-section{padding:60px;display:flex;flex-direction:column;gap:60px;background:#fafafa}.logo{display:flex}.brand-logo{width:60px;height:60px;background:url(/logo-aunira.svg) center/contain no-repeat}.big-text{flex:1;display:flex;align-items:center}.big-text h1{font-size:42px;font-weight:900;line-height:1.3;color:#1a1a1a;margin:0;word-wrap:break-word;letter-spacing:-.02em}.right-section{background:#fff;display:flex;align-items:center;justify-content:center;padding:60px}.login-card{width:100%;max-width:280px}.login-card h2{font-size:24px;font-weight:700;margin:0 0 40px;color:#1a1a1a;letter-spacing:.02em}.error{background:#ffe5e5;color:#d32f2f;padding:12px;margin-bottom:20px;font-size:13px;border-radius:2px}.field{margin-bottom:16px}.field input{width:100%;padding:14px;border:1px solid #d0d0d0;background:#fafafa;font-size:13px;font-weight:500;font-family:inherit;letter-spacing:.03em;border-radius:2px}.field input::placeholder{color:#999;letter-spacing:.05em}.field input:focus{outline:none;border-color:#666;background:#fff}.field input:disabled{opacity:.5}.pass-wrapper{position:relative}.pass-wrapper input{padding-right:45px}.eye-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#999;cursor:pointer;padding:4px;display:flex;align-items:center}.eye-btn:hover{color:#666}.eye-btn:disabled{opacity:.4;cursor:not-allowed}.btn{width:100%;padding:14px;background:#1a3a52;color:#fff;border:none;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;margin-top:24px;letter-spacing:.05em;border-radius:2px}.btn:hover:not(:disabled){background:#0d2133}.btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 900px){.content-wrapper{grid-template-columns:1fr}.left-section{padding:40px;min-height:300px}.big-text h1{font-size:32px}.right-section{padding:40px}}.dashboard-charts{padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 4px 12px #00000014;animation:slideUp .5s ease-out}.charts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.charts-header h3{font-size:1.25rem;font-weight:700;color:#1f2937;margin:0}.chart-type-selector{display:flex;gap:.5rem;background:#f3f4f6;padding:.5rem;border-radius:8px}.chart-type-btn{padding:.5rem 1rem;background:transparent;border:none;border-radius:6px;color:#6b7280;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem}.chart-type-btn:hover{color:#667eea}.chart-type-btn.active{background:#fff;color:#667eea;box-shadow:0 2px 4px #0000000d}.charts-grid{display:grid;grid-template-columns:1fr;gap:2rem}.chart-container{padding:1.5rem;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.chart-title{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.chart-title h4{font-size:1.1rem;font-weight:600;color:#1f2937;margin:0}.chart-title svg{color:#667eea}.bar-chart{display:flex;flex-direction:column;gap:1.5rem}.bar-item{display:flex;flex-direction:column;gap:.5rem}.bar-label{font-weight:600;color:#1f2937;font-size:.95rem}.bar-wrapper{width:100%;height:40px;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e5e7eb}.bar-fill{height:100%;display:flex;align-items:center;justify-content:flex-end;padding-right:1rem;color:#fff;font-weight:600;font-size:.9rem;transition:all .3s ease;min-width:40px}.bar-fill:hover{filter:brightness(1.1)}.bar-aberta{background:linear-gradient(90deg,#ef4444,#dc2626)}.bar-em\ andamento{background:linear-gradient(90deg,#667eea,#5568d3)}.bar-finalizada{background:linear-gradient(90deg,#10b981,#059669)}.bar-value{font-size:.85rem}.pie-chart-wrapper{display:flex;align-items:center;justify-content:space-around;gap:2rem;flex-wrap:wrap}.pie-chart{width:200px;height:200px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.05))}.pie-center-text{font-size:24px;font-weight:700;fill:#667eea}.pie-legend{display:flex;flex-direction:column;gap:.75rem}.legend-item{display:flex;align-items:center;gap:.75rem}.legend-color{width:16px;height:16px;border-radius:4px}.legend-label{flex:1;color:#6b7280;font-weight:500;font-size:.9rem}.legend-value{color:#1f2937;font-weight:700;font-size:.95rem;min-width:30px;text-align:right}.trend-chart{display:flex;align-items:flex-end;justify-content:space-around;gap:1rem;height:250px;padding:1rem 0}.trend-item{display:flex;flex-direction:column;align-items:center;gap:.75rem;flex:1}.trend-bar-wrapper{width:100%;height:200px;background:#fff;border-radius:8px 8px 0 0;border:1px solid #e5e7eb;border-bottom:none;display:flex;align-items:flex-end;justify-content:center;padding:.5rem;position:relative;overflow:hidden}.trend-bar{width:100%;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:8px 8px 0 0;display:flex;align-items:flex-end;justify-content:center;padding-bottom:.5rem;transition:all .3s ease;position:relative}.trend-bar:hover{filter:brightness(1.1)}.trend-value{color:#fff;font-weight:700;font-size:.9rem}.trend-label{color:#6b7280;font-weight:600;font-size:.9rem}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.charts-header{flex-direction:column;align-items:flex-start}.chart-type-selector{width:100%}.chart-type-btn{flex:1}.pie-chart-wrapper{flex-direction:column;gap:1rem}.pie-chart{width:150px;height:150px}.trend-chart{height:200px;gap:.5rem}.trend-bar-wrapper{height:150px}}@media (max-width: 480px){.dashboard-charts,.chart-container{padding:1rem}.bar-wrapper{height:32px}.bar-fill{padding-right:.75rem;font-size:.8rem}.pie-chart{width:120px;height:120px}.pie-center-text{font-size:18px}.legend-item{gap:.5rem}.legend-label{font-size:.8rem}.trend-item{gap:.5rem}.trend-bar-wrapper{height:100px}.trend-label{font-size:.75rem}}.menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999;animation:fadeIn .3s ease-out}.interactive-menu{position:fixed;left:-400px;top:0;width:400px;height:100vh;background:var(--sidebar-bg);box-shadow:2px 0 24px #00000059;z-index:1000;display:flex;flex-direction:column;transition:left .3s ease-out;overflow-y:auto}.interactive-menu.open{left:0}.menu-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border);background:var(--sidebar-bg);color:var(--text)}.menu-header h2{font-size:1.5rem;font-weight:700;margin:0}.menu-close{background:#ffffff1f;border:none;color:var(--text);font-size:1.5rem;width:40px;height:40px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.menu-close:hover{background:#fff3}.menu-search{padding:1rem 1.5rem;border-bottom:1px solid var(--border)}.search-input{width:100%;padding:.75rem 1rem;border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:8px;font-size:.95rem;transition:all .3s ease}.search-input:focus{outline:none;border-color:var(--accent-2);box-shadow:0 0 0 3px #6366f126}.menu-categories{flex:1;overflow-y:auto;padding:1rem 0}.menu-category{border-bottom:1px solid var(--border)}.category-header{display:flex;align-items:center;gap:1rem;width:100%;padding:1rem 1.5rem;background:transparent;border:none;cursor:pointer;transition:all .3s ease;text-align:left;color:var(--text)}.category-header:hover,.category-header.expanded{background:var(--menu-hover)}.category-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:var(--card);color:var(--text);flex-shrink:0}.category-info{flex:1;text-align:left}.category-info h3{font-size:.95rem;font-weight:600;color:var(--text);margin:0 0 .25rem}.category-info p{font-size:.8rem;color:var(--muted);margin:0}.category-chevron{color:var(--muted);transition:transform .3s ease;flex-shrink:0}.category-chevron.rotated{transform:rotate(180deg)}.category-items{display:flex;flex-direction:column;background:var(--sidebar-bg);animation:slideDown .3s ease-out}.category-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem .75rem 5rem;color:var(--text);text-decoration:none;font-size:.9rem;transition:all .3s ease;border-left:3px solid transparent}.category-item:hover{background:var(--menu-hover);color:var(--text);border-left-color:var(--accent-2);padding-left:5.25rem}.category-item svg{color:var(--muted);transition:all .3s ease}.category-item:hover svg{color:var(--text);transform:translate(4px)}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:500px}}.menu-footer{padding:1.5rem;border-top:1px solid var(--border);background:var(--sidebar-bg)}.quick-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.stat{display:flex;flex-direction:column;align-items:center;padding:1rem;background:var(--card);border-radius:8px;border:1px solid var(--border);text-align:center}.stat-value{font-size:1.5rem;font-weight:700;color:var(--text);margin-bottom:.25rem}.stat-label{font-size:.75rem;color:var(--muted);font-weight:500}.interactive-menu::-webkit-scrollbar{width:6px}.interactive-menu::-webkit-scrollbar-track{background:transparent}.interactive-menu::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.interactive-menu::-webkit-scrollbar-thumb:hover{background:#9ca3af}@media (max-width: 768px){.interactive-menu{width:100%;left:-100%}.menu-categories{max-height:60vh}}@media (max-width: 480px){.menu-header h2{font-size:1.25rem}.category-item{padding:.75rem 1.5rem .75rem 4rem}.category-item:hover{padding-left:4.25rem}}.enhanced-dashboard{min-height:100vh;background:var(--bg)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text)}.dashboard-container{max-width:1400px;margin:0 auto;padding:24px 16px 40px;background:var(--bg)}.enhanced-dashboard.light-theme .dashboard-container,.enhanced-dashboard.light-theme .dashboard-content-enhanced,.enhanced-dashboard.light-theme .tab-content{background:var(--bg)}.dashboard-header-enhanced{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;padding:18px 20px;border-radius:20px;background:linear-gradient(120deg,#6366f114,#6b5bd20a);border:1px solid var(--border);box-shadow:0 18px 32px #0f172a0f}.enhanced-dashboard.light-theme .dashboard-header-enhanced{background:linear-gradient(120deg,#6366f114,#6b5bd20a);border:1px solid var(--border);box-shadow:0 12px 24px #0f172a14}.menu-toggle-btn{flex-shrink:0;width:40px;height:40px;border-radius:999px;border:1px solid rgba(148,163,184,.6);background:#0f172a0a;color:var(--text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.menu-toggle-btn:hover{background:#0f172a14;transform:translateY(-1px)}.header-content h1{font-size:1.8rem;font-weight:700;letter-spacing:-.04em;color:var(--text);margin-bottom:2px}.dashboard-header-enhanced p{font-size:.9rem;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:10px}.btn-primary-header-enhanced{display:inline-flex;align-items:center;gap:8px;border:none;border-radius:999px;padding:10px 18px;background:linear-gradient(135deg,var(--accent-2),var(--accent));color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;box-shadow:0 14px 30px #4f46e559;transition:all .18s ease-out}.btn-primary-header-enhanced:hover{transform:translateY(-1px);box-shadow:0 18px 40px #4f46e573}.modern-loading,.modern-error{margin-top:24px;padding:32px 20px;border-radius:18px;background:var(--card);border:1px solid var(--border);box-shadow:0 16px 32px #0f172a29;display:flex;flex-direction:column;align-items:center;gap:12px}.loading-spinner{width:32px;height:32px;border-radius:999px;border:3px solid rgba(148,163,184,.45);border-top-color:var(--accent);animation:spin .8s linear infinite}.modern-loading p{font-size:.9rem;color:var(--muted)}.modern-error{flex-direction:row;justify-content:center;gap:10px;color:#b91c1c;border-color:color-mix(in srgb,#ef4444 40%,var(--border));background:color-mix(in srgb,#ef4444 12%,var(--card))}.error-icon{flex-shrink:0}.tab-navigation-enhanced{margin-top:20px;margin-bottom:24px;padding:6px;border-radius:999px;background:var(--card);border:1px solid var(--border);display:flex;gap:6px}.enhanced-dashboard.light-theme .tab-navigation-enhanced{background:var(--card);border-color:var(--border)}.tab-btn-enhanced{flex:1;border:none;background:transparent;border-radius:999px;padding:8px 14px;font-size:.9rem;font-weight:500;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:all .18s ease-out;text-decoration:none}.enhanced-dashboard.light-theme .tab-btn-enhanced{color:var(--muted)}.tab-btn-enhanced:hover{background:#94a3b817;color:var(--text)}.tab-btn-enhanced.active{background:var(--card);color:var(--accent-2);box-shadow:0 10px 25px #0f172a26}.tab-content{border-radius:20px;background:var(--card);border:1px solid var(--border);padding:20px}.dashboard-content-enhanced{display:flex;flex-direction:column;gap:20px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr);gap:20px;align-items:flex-start}.grid-col-2,.grid-col-1{grid-column:span 1}.grid-col-full{grid-column:1 / -1}.flow-dash-modern{display:flex;flex-direction:column;gap:24px}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:8px}.stat-card-modern{background:var(--card);border-radius:12px;padding:24px;border:1px solid var(--border);transition:all .2s ease}.stat-card-modern:hover{border-color:var(--accent-2);box-shadow:0 8px 24px #0f172a1f;transform:translateY(-2px)}.stat-hdr{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.stat-title{font-size:14px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:4px}.stat-view{font-size:13px;color:var(--accent-2);font-weight:600;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .2s ease}.stat-view:hover{color:var(--text)}.stat-val{font-size:36px;font-weight:700;color:var(--text);margin-bottom:8px;letter-spacing:-.04em}.stat-chg{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:#10b981}.info-tip{position:relative;display:inline-flex;cursor:help}.info-tip .tip-cont{visibility:hidden;position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;padding:12px 16px;background:#0a2a43;color:#fff;font-size:13px;border-radius:8px;white-space:nowrap;z-index:100;box-shadow:0 4px 12px #00000026}.info-tip:hover .tip-cont{visibility:visible}.insights-section{margin-bottom:24px}.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.insight{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;display:flex;align-items:flex-start;gap:12px;transition:all .2s ease}.insight:hover{border-color:var(--accent-2);box-shadow:0 4px 12px #0000001f}.insight.insight-alerta{border-left:4px solid #ef4444}.insight.insight-info{border-left:4px solid #3197C4}.insight.insight-sucesso{border-left:4px solid #10b981}.insight-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.insight.insight-alerta .insight-icon{background:#ef444429;color:#ef4444}.insight.insight-info .insight-icon{background:color-mix(in srgb,var(--accent-2) 18%,transparent);color:var(--accent-2)}.insight.insight-sucesso .insight-icon{background:#10b98129;color:#10b981}.insight-txt{flex:1;font-size:13px;font-weight:500;color:var(--text);line-height:1.5}.executive-summary{padding:20px 20px 22px;border-radius:20px;background:var(--card);border:1px solid var(--border);box-shadow:0 18px 40px #0f172a0f}.summary-header{display:flex;flex-direction:column;gap:4px;margin-bottom:18px}.summary-header h2{font-size:1.4rem;font-weight:600;letter-spacing:-.03em;color:var(--text)}.summary-subtitle{font-size:.85rem;color:var(--muted)}.kpi-grid-enhanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi-card-enhanced{background:var(--card);border-radius:18px;padding:16px 16px 18px;border:1px solid var(--border);box-shadow:0 16px 36px #0f172a0d;display:flex;flex-direction:column;gap:10px;transition:transform .16s ease-out,box-shadow .16s ease-out,border-color .16s ease-out;border-left:3px solid rgba(79,70,229,.5)}.kpi-card-enhanced:hover{transform:translateY(-3px);box-shadow:0 22px 40px #0f172a1f;border-color:#4f46e5cc}.kpi-card-enhanced.kpi-green{border-left-color:#10b981}.kpi-card-enhanced.kpi-purple{border-left-color:var(--accent-2)}.kpi-card-enhanced.kpi-orange{border-left-color:#f97316}.kpi-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.kpi-icon-box{width:40px;height:40px;border-radius:14px;background:#818cf81f;color:var(--accent-2);display:inline-flex;align-items:center;justify-content:center}.kpi-trend{display:inline-flex;align-items:center;gap:4px;font-size:.8rem;font-weight:500}.trend-value{font-weight:600}.kpi-content{margin-top:4px}.kpi-label{font-size:.8rem;font-weight:500;color:var(--muted);margin-bottom:4px;text-transform:uppercase;letter-spacing:.06em}.kpi-value{font-size:1.9rem;font-weight:700;letter-spacing:-.06em;color:var(--text);line-height:1.1}.kpi-description{font-size:.8rem;color:var(--muted)}.cases-section-enhanced{padding:20px 20px 22px;border-radius:20px;background:var(--card);border:1px solid var(--border);box-shadow:0 16px 30px #0f172a0d}.section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.section-header h3{font-size:.95rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}.view-all-btn,.view-all-btn-enhanced{border-radius:999px;border:1px solid var(--border);padding:6px 12px;font-size:.8rem;font-weight:500;background:#0f172a05;color:var(--muted);display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .16s ease-out}.view-all-btn:hover,.view-all-btn-enhanced:hover{border-color:var(--accent-2);background:#818cf814;color:var(--accent-2)}.status-grid-enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.status-card{border-radius:16px;padding:16px 14px;display:flex;align-items:center;gap:12px;border:1px solid var(--border);background:radial-gradient(circle at top left,rgba(129,140,248,.12),transparent 55%)}.status-card.status-open{border-left:3px solid var(--accent-2)}.status-card.status-progress{border-left:3px solid #8b5cf6}.status-card.status-completed{border-left:3px solid #10b981}.status-icon-wrapper{flex-shrink:0;width:40px;height:40px;border-radius:14px;background:#0f172a0d;display:inline-flex;align-items:center;justify-content:center;color:var(--accent-2)}.status-content{display:flex;flex-direction:column;gap:2px}.status-label{font-size:.8rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.status-count{font-size:1.4rem;font-weight:700;letter-spacing:-.04em;color:var(--text)}.sec-card{background:var(--card);border-radius:12px;border:1px solid var(--border);overflow:hidden;margin-bottom:24px}.sec-hdr{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.sec-title{font-size:16px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:8px}.btn-prim{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;background:var(--accent-2);color:#fff;font-size:13px;font-weight:600;border:none;cursor:pointer;transition:all .2s ease}.btn-prim:hover{background:var(--accent);transform:translateY(-1px)}.evt-list{padding:16px;max-height:600px;overflow-y:auto}.evt-card{background:var(--card);border:1px solid var(--border);border-radius:10px;padding:16px;margin-bottom:12px;cursor:pointer;border-left:4px solid var(--accent-2);transition:all .2s ease}.evt-card:hover{background:var(--menu-hover);box-shadow:0 4px 12px #0000001f;transform:translate(4px)}.evt-card.alta{border-left-color:#ef4444}.evt-card.media{border-left-color:#f59e0b}.evt-hdr{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.evt-time{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:var(--accent-2);color:#fff;border-radius:6px;font-size:12px;font-weight:600}.evt-title{font-size:15px;font-weight:600;color:var(--text);margin-bottom:8px}.evt-det{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:4px}.cli-list{padding:0}.cli-card{padding:16px 20px;border-bottom:1px solid var(--border);cursor:pointer;transition:all .2s ease}.cli-card:hover{background:var(--menu-hover)}.cli-nome{font-size:15px;font-weight:600;color:var(--text);margin-bottom:4px}.cli-tipo{display:inline-block;padding:2px 8px;background:color-mix(in srgb,var(--accent-2) 18%,var(--card));color:var(--accent-2);border-radius:4px;font-size:11px;font-weight:600;margin-right:8px}.cli-proc{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:var(--menu-hover);border-radius:6px;font-size:12px;font-weight:600;color:var(--muted)}.cli-cont{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-top:8px}.urg-list{padding:16px}.urg-card{background:color-mix(in srgb,#ef4444 12%,var(--card));border:1px solid color-mix(in srgb,#ef4444 40%,var(--border));border-radius:10px;padding:16px;margin-bottom:12px;transition:all .2s ease}.urg-card.atencao{background:color-mix(in srgb,#f59e0b 14%,var(--card));border-color:color-mix(in srgb,#f59e0b 40%,var(--border))}.urg-card:hover{box-shadow:0 4px 12px #00000014}.urg-num{font-size:12px;font-weight:600;color:var(--muted);font-family:Monaco,monospace;margin-bottom:8px}.urg-cli{font-size:14px;font-weight:600;color:var(--text);margin-bottom:8px}.urg-info{display:flex;align-items:center;gap:12px}.urg-tipo{padding:4px 10px;background:var(--card);border-radius:6px;font-size:11px;font-weight:600;color:var(--muted)}.urg-prazo{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:var(--card);border-radius:6px;font-size:12px;font-weight:700;color:#ef4444}.ativ-list{padding:12px 16px;max-height:400px;overflow-y:auto}.ativ-item{display:flex;gap:12px;padding:12px;border-radius:8px;margin-bottom:8px;transition:all .2s ease}.ativ-item:hover{background:var(--menu-hover)}.ativ-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:color-mix(in srgb,var(--accent-2) 15%,var(--card));color:var(--accent-2)}.ativ-content{flex:1}.ativ-title{font-size:13px;font-weight:600;color:var(--text);margin-bottom:4px}.ativ-info{font-size:12px;color:#94a3b8}.main-grid{display:grid;grid-template-columns:1fr 420px;gap:24px}.events-section-enhanced{padding:20px 20px 22px;border-radius:20px;background:var(--card);border:1px solid var(--border);box-shadow:0 16px 30px #0f172a0d}.events-list-enhanced{display:flex;flex-direction:column;gap:10px}.event-item-enhanced{border-radius:14px;padding:12px 14px;background:var(--card);border:1px solid var(--border);display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .16s ease-out}.event-item-enhanced:hover{background:var(--card);transform:translate(3px);box-shadow:0 10px 22px #0f172a1f}.event-time-badge{min-width:70px;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:500;color:var(--accent-2);background:#818cf81f;text-align:center}.event-details{flex:1;display:flex;flex-direction:column;gap:2px}.event-title{font-size:.9rem;font-weight:500;color:var(--text)}.event-arrow{color:var(--muted)}.empty-state{padding:18px 14px;border-radius:16px;background:var(--card);border:1px dashed var(--border);display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.85rem;color:var(--muted)}.clients-section-enhanced{padding:20px 20px 22px;border-radius:20px;background:var(--card);border:1px solid var(--border);box-shadow:0 16px 30px #0f172a0d}.clients-list-enhanced{display:flex;flex-direction:column;gap:10px}.client-item-enhanced{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:var(--card);border:1px solid var(--border);cursor:pointer;transition:all .16s ease-out}.client-item-enhanced:hover{background:var(--card);transform:translate(3px);box-shadow:0 10px 22px #0f172a1f}.client-avatar-enhanced{flex-shrink:0;width:36px;height:36px;border-radius:999px;background:#818cf829;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:600;color:var(--accent-2)}.client-info{flex:1;display:flex;flex-direction:column;gap:2px}.client-name{font-size:.9rem;font-weight:500;color:var(--text)}.client-type-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:500;background:#0f172a0a;color:var(--muted)}.client-type-badge.badge-blue{background:#818cf829;color:var(--accent-2)}.client-type-badge.badge-green{background:#10b98124;color:#047857}.client-action{color:var(--muted)}.quick-menu-enhanced{padding:20px 20px 22px;border-radius:20px;background:var(--card);border:1px solid var(--border);box-shadow:0 16px 30px #0f172a0d}.menu-header h3{font-size:.95rem;font-weight:600;color:var(--text);margin-bottom:14px}.quick-actions-enhanced{display:grid;grid-template-columns:1fr;gap:10px}.quick-action-btn-enhanced{border-radius:14px;padding:10px 12px;border:none;display:flex;align-items:center;justify-content:flex-start;gap:10px;font-size:.85rem;font-weight:500;color:#fff;cursor:pointer;box-shadow:0 12px 26px #0f172a4d;transition:transform .16s ease-out,box-shadow .16s ease-out,filter .16s ease-out}.quick-action-btn-enhanced:hover{transform:translateY(-2px);box-shadow:0 16px 34px #0f172a66;filter:brightness(1.03)}.quick-action-primary{background:linear-gradient(135deg,var(--accent-2),var(--accent))}.quick-action-secondary{background:linear-gradient(135deg,#10b981,#059669)}.quick-action-tertiary{background:linear-gradient(135deg,#f97316,#ea580c)}.quick-action-quaternary{background:linear-gradient(135deg,#0ea5e9,#0369a1)}.badge-blue{background:#818cf82e;color:var(--accent-2)}.badge-green{background:#10b98129;color:#047857}.badge-orange{background:#f9731629;color:#ea580c}.badge-gray{background:#94a3b82e;color:#475569}.badge-red{background:#ef444429;color:#991b1b}.badge-purple{background:#a855f729;color:#6b21a8}[data-theme=dark] .enhanced-dashboard .dashboard-header-enhanced{background:linear-gradient(120deg,#6366f12e,#4f46e51f);border-color:#181a1f;box-shadow:0 18px 40px #0000008c}[data-theme=dark] .enhanced-dashboard .menu-toggle-btn{border-color:#181a1f;background:#1f2126;color:#f5f5f7}[data-theme=dark] .enhanced-dashboard .menu-toggle-btn:hover{background:#23262d}[data-theme=dark] .enhanced-dashboard .tab-navigation-enhanced{background:#1f2126;border-color:#181a1f}[data-theme=dark] .enhanced-dashboard .tab-btn-enhanced{color:#c3c6ce}[data-theme=dark] .enhanced-dashboard .tab-btn-enhanced:hover{background:#23262d;color:#f5f5f7}[data-theme=dark] .enhanced-dashboard .tab-btn-enhanced.active{box-shadow:0 10px 25px #00000059}[data-theme=dark] .enhanced-dashboard .tab-content,[data-theme=dark] .enhanced-dashboard .executive-summary,[data-theme=dark] .enhanced-dashboard .kpi-card-enhanced,[data-theme=dark] .enhanced-dashboard .cases-section-enhanced,[data-theme=dark] .enhanced-dashboard .events-section-enhanced,[data-theme=dark] .enhanced-dashboard .clients-section-enhanced,[data-theme=dark] .enhanced-dashboard .quick-menu-enhanced{background:#1f2126;border-color:#181a1f;box-shadow:0 16px 36px #00000073}[data-theme=dark] .enhanced-dashboard .view-all-btn,[data-theme=dark] .enhanced-dashboard .view-all-btn-enhanced{background:#1f2126;border-color:#181a1f;color:#c3c6ce}[data-theme=dark] .enhanced-dashboard .status-icon-wrapper{background:#181a1f}[data-theme=dark] .enhanced-dashboard .event-item-enhanced,[data-theme=dark] .enhanced-dashboard .client-item-enhanced,[data-theme=dark] .enhanced-dashboard .empty-state{background:#1f2126;border-color:#181a1f;box-shadow:0 10px 22px #0006}[data-theme=dark] .enhanced-dashboard .event-item-enhanced:hover,[data-theme=dark] .enhanced-dashboard .client-item-enhanced:hover{background:#23262d}[data-theme=dark] .enhanced-dashboard .event-time-badge{background:#23262d;color:#f5f5f7}[data-theme=dark] .enhanced-dashboard .client-type-badge{background:#23262d;color:#c3c6ce}[data-theme=dark] .enhanced-dashboard .client-avatar-enhanced{background:#23262d;color:#f5f5f7}[data-theme=dark] .enhanced-dashboard .modern-loading,[data-theme=dark] .enhanced-dashboard .modern-error{background:#1f2126;border-color:#181a1f;box-shadow:0 16px 32px #00000073}[data-theme=dark] .enhanced-dashboard .modern-error{color:#fecdd3;border-color:#7f1d1d;background:#1f2126}[data-theme=dark] .enhanced-dashboard .badge-gray{background:#23262d;color:#c3c6ce}@media (max-width: 1400px){.main-grid{grid-template-columns:1fr}.stats-row{grid-template-columns:repeat(2,1fr)}}@media (max-width: 1024px){.dashboard-container{padding-inline:16px}.dashboard-header-enhanced{flex-direction:column;align-items:flex-start}.header-actions{width:100%;justify-content:flex-end}.kpi-grid-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.insights-grid{grid-template-columns:repeat(2,1fr)}.stats-row{grid-template-columns:1fr}}@media (max-width: 640px){.dashboard-container{padding-inline:12px}.dashboard-header-enhanced{padding:14px 14px 16px;border-radius:18px}.header-content h1{font-size:1.3rem}.tab-navigation-enhanced{border-radius:12px}.kpi-grid-enhanced,.status-grid-enhanced,.quick-actions-enhanced,.insights-grid,.main-grid{grid-template-columns:1fr}.stat-card-modern{padding:16px}.stat-val{font-size:28px}}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.dashboard-v4-novo{min-height:100vh;background:#0f1014;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f5f5f7;padding:20px}.dashboard-container-novo{max-width:1600px;margin:0 auto;animation:fadeIn .5s ease-out}.header-novo{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;animation:slideIn .6s ease-out}.logo-section-novo{display:flex;align-items:center;gap:12px}.logo-icon-novo{width:52px;height:52px;border-radius:14px;background:#523a74;display:flex;align-items:center;justify-content:center;color:#f5f5f7;box-shadow:0 4px 12px #523a744d;transition:transform .3s ease}.logo-icon-novo:hover{transform:scale(1.05)}.logo-text-novo h1{font-size:1.5rem;font-weight:700;color:#f5f5f7;margin:0 0 2px}.logo-text-novo p{font-size:.875rem;color:#a6a8b0;margin:0}.tab-navigation-v4{display:flex;gap:0;padding:8px;background:#1f2126;border-radius:16px;border:1px solid #2A2D35;margin-bottom:20px;box-shadow:0 2px 8px #0003;animation:slideIn .7s ease-out}.tab-btn-v4{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;text-decoration:none;color:#a6a8b0;font-size:.875rem;font-weight:500;border-radius:12px;background:transparent;transition:all .3s ease}.tab-btn-v4:hover{background:#6a4dff1a;color:#f5f5f7}.tab-btn-v4.active{background:#6a4dff;color:#f5f5f7;box-shadow:0 2px 8px #6a4dff66}.tab-btn-v4 svg{color:currentColor}.main-grid-novo{display:flex;flex-direction:column;gap:16px}.row-1{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;animation:fadeIn .8s ease-out .1s both}.row-2{display:grid;grid-template-columns:1fr 1fr 280px;gap:16px;animation:fadeIn .8s ease-out .2s both}.row-3{display:grid;grid-template-columns:280px 1fr 280px;gap:16px;animation:fadeIn .8s ease-out .3s both}.stat-card-simple{background:#1f2126;border:1px solid #2A2D35;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px;transition:all .3s ease;box-shadow:0 2px 8px #0003}.stat-card-simple:hover{border-color:#6a4dff;transform:translateY(-4px);box-shadow:0 6px 16px #6a4dff4d}.stat-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon svg{color:#6a4dff}.stat-content{flex:1}.stat-label{font-size:.7rem;font-weight:600;color:#a6a8b0;margin:0 0 6px;text-transform:uppercase;letter-spacing:.05em}.stat-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.stat-value{font-size:1.75rem;font-weight:700;color:#ff8a3c;margin:0;line-height:1}.stat-percentage{display:flex;align-items:center;gap:3px;padding:3px 8px;border-radius:6px;font-size:.7rem;font-weight:700;letter-spacing:.02em}.stat-percentage.positive{background:#10b98126;color:#10b981}.stat-percentage.negative{background:#ef444426;color:#ef4444}.stat-percentage svg{flex-shrink:0}.chart-card,.chart-card-large{background:#1f2126;border:1px solid #2A2D35;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0003;transition:all .3s ease}.chart-card:hover,.chart-card-large:hover{border-color:#6a4dff;box-shadow:0 4px 12px #6a4dff33}.chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.chart-header h3{font-size:1rem;font-weight:600;color:#f5f5f7;margin:0}.filter-dropdown-container{position:relative}.filter-dropdown-button{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#2a2d35;border:1px solid #3A3D45;border-radius:10px;color:#f5f5f7;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.filter-dropdown-button:hover{background:#353842;border-color:#6a4dff}.filter-dropdown-button span{font-size:.875rem}.chevron-icon{transition:transform .3s ease;color:#a6a8b0}.chevron-icon.open{transform:rotate(180deg)}.filter-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:160px;max-height:240px;overflow-y:auto;background:#1f2126;border:1px solid #2A2D35;border-radius:10px;box-shadow:0 4px 16px #0006;z-index:1000;padding:6px;animation:fadeIn .2s ease-out}.filter-dropdown-menu::-webkit-scrollbar{width:6px}.filter-dropdown-menu::-webkit-scrollbar-track{background:#1f2126;border-radius:10px}.filter-dropdown-menu::-webkit-scrollbar-thumb{background:#3a3d45;border-radius:10px}.filter-dropdown-menu::-webkit-scrollbar-thumb:hover{background:#6a4dff}.filter-dropdown-item{display:block;width:100%;padding:10px 12px;background:transparent;border:none;border-radius:8px;color:#a6a8b0;font-size:.875rem;font-weight:500;text-align:left;cursor:pointer;transition:all .2s ease}.filter-dropdown-item:hover{background:#6a4dff1a;color:#f5f5f7}.filter-dropdown-item.active{background:#6a4dff;color:#f5f5f7}.atalhos-card-novo{background:#1f2126;border:1px solid #2A2D35;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0003;transition:all .3s ease}.atalhos-card-novo:hover{border-color:#6a4dff;box-shadow:0 4px 12px #6a4dff33}.atalhos-card-novo h3{font-size:1rem;font-weight:600;color:#f5f5f7;margin:0 0 14px}.atalhos-list{display:flex;flex-direction:column;gap:10px}.atalho-item{display:flex;align-items:center;gap:10px;padding:12px;background:#0f1014;border:1px solid #2A2D35;border-radius:8px;color:#a6a8b0;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .3s ease}.atalho-item:hover{background:#6a4dff1a;border-color:#6a4dff;color:#f5f5f7;transform:translate(4px)}.atalho-item svg{color:#6a4dff;flex-shrink:0}.lembretes-card{background:#1f2126;border:1px solid #2A2D35;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0003;display:flex;flex-direction:column;transition:all .3s ease}.lembretes-card:hover{border-color:#6a4dff;box-shadow:0 4px 12px #6a4dff33}.lembretes-card h3{font-size:1rem;font-weight:600;color:#f5f5f7;margin:0 0 16px}.lembretes-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px 20px}.lembretes-empty p{font-size:.875rem;color:#a6a8b0;margin:0}.eventos-card-novo{background:#1f2126;border:1px solid #2A2D35;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0003;transition:all .3s ease}.eventos-card-novo:hover{border-color:#6a4dff;box-shadow:0 4px 12px #6a4dff33}.eventos-header-novo{display:flex;align-items:center;gap:8px;margin-bottom:16px}.eventos-header-novo svg{color:#6a4dff}.eventos-header-novo h3{font-size:1rem;font-weight:600;color:#f5f5f7;margin:0}.eventos-empty{padding:60px 20px;text-align:center}.eventos-empty p{font-size:.875rem;color:#a6a8b0;margin:0;line-height:1.5}@media (max-width: 1400px){.row-2{grid-template-columns:1fr 1fr}.atalhos-card-novo{grid-column:1 / -1}.row-3{grid-template-columns:1fr 1fr}.lembretes-card{grid-column:1 / -1}}@media (max-width: 1024px){.row-1{grid-template-columns:repeat(2,1fr)}.row-2,.row-3{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard-v4-novo{padding:12px}.header-novo{flex-direction:column;align-items:flex-start;gap:12px}.tab-navigation-v4{flex-direction:column;gap:8px}.tab-btn-v4{width:100%;justify-content:flex-start}.row-1{grid-template-columns:1fr}.stat-value{font-size:1.5rem}.chart-header{flex-wrap:wrap;gap:12px}.filter-dropdown-button{font-size:.8rem;padding:6px 10px}}@media (max-width: 480px){.logo-text-novo h1{font-size:1.25rem}.logo-text-novo p{font-size:.75rem}.chart-header{flex-direction:column;align-items:flex-start;gap:12px}.filter-dropdown-button{width:100%}.filter-dropdown-menu{left:0;right:0}}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%}body{font-family:IBM Plex Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#0f1419;color:#e5e7eb;line-height:1.5}.dashboard-container{display:flex;flex-direction:column;min-height:100vh;background-color:#0f1419}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background-color:#0f1419;border-bottom:1px solid #2A3142;gap:2rem;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.logo{display:flex;align-items:center;gap:.75rem}.logo svg{color:#1e40af;flex-shrink:0}.logo h1{font-size:24px;font-weight:700;letter-spacing:.05em;color:#e5e7eb}.header-right{display:flex;align-items:center;gap:1.5rem;flex:1;justify-content:flex-end}.search-bar{display:flex;align-items:center;gap:.75rem;background-color:#1a1f2e;border:1px solid #2A3142;border-radius:.5rem;padding:.75rem 1rem;flex:1;max-width:400px}.search-bar svg{color:#9ca3af;flex-shrink:0}.search-bar input{background:none;border:none;color:#e5e7eb;font-size:14px;width:100%;outline:none}.search-bar input::placeholder{color:#6b7280}.notification-btn{position:relative;background:none;border:none;color:#9ca3af;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .2s ease-out}.notification-btn:hover{color:#e5e7eb;background-color:#1a1f2e}.notification-badge{position:absolute;top:-4px;right:-4px;background-color:#dc2626;color:#fff;font-size:11px;font-weight:600;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.dashboard-main{flex:1;padding:2rem;overflow-y:auto;max-width:1400px;width:100%;margin:0 auto}.dashboard-section{margin-bottom:3rem}.section-title{font-size:14px;font-weight:600;letter-spacing:.1em;color:#6b7280;margin-bottom:1.5rem;text-transform:uppercase}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.summary-card{background-color:#1a1f2e;border-radius:.75rem;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;transition:all .2s ease-out}.summary-card:hover{transform:translateY(-2px)}.card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.card-title{font-size:12px;font-weight:600;letter-spacing:.05em;color:#9ca3af;text-transform:uppercase}.card-icon{flex-shrink:0;opacity:.7}.card-content{display:flex;align-items:baseline;gap:.75rem}.card-value{font-size:32px;font-weight:700;color:#e5e7eb}.card-change{font-size:14px;font-weight:600}.card-footer{border-top:1px solid #2A3142;padding-top:1rem}.card-description{font-size:12px;color:#9ca3af}.depth-level-1{border:1px solid #2A3142;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.depth-level-2{border:1px solid #2A3142;box-shadow:0 2px 8px #0006;-webkit-backdrop-filter:none;backdrop-filter:none}.depth-level-3{border:1px solid #2A3142;box-shadow:0 2px 8px #0006;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.two-column-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}@media (max-width: 1024px){.two-column-grid{grid-template-columns:1fr}}.cases-list{display:flex;flex-direction:column;gap:1rem}.case-card{background-color:#1a1f2e;border-radius:.75rem;padding:1.5rem;display:flex;align-items:center;gap:1rem;border-left:4px solid #1E40AF;transition:all .2s ease-out}.case-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000080}.case-icon-wrapper{flex-shrink:0}.case-icon{width:44px;height:44px;border-radius:.5rem;display:flex;align-items:center;justify-content:center;background-color:#1e40af1a;color:#1e40af}.case-content{flex:1;min-width:0}.case-number{font-size:14px;font-weight:600;color:#e5e7eb;margin-bottom:.25rem}.case-type{font-size:12px;color:#9ca3af}.case-days{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:.25rem}.days-value{font-size:18px;font-weight:700;color:#e5e7eb}.days-label{font-size:10px;font-weight:600;color:#6b7280;letter-spacing:.05em}.clients-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media (max-width: 768px){.clients-grid{grid-template-columns:1fr}}.client-card{background-color:#1a1f2e;border-radius:.75rem;padding:1.5rem;display:flex;align-items:center;gap:1rem;transition:all .2s ease-out}.client-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000080}.client-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#1e40af,#0ea5e9);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:16px;flex-shrink:0}.client-info{flex:1;min-width:0}.client-name{font-size:14px;font-weight:600;color:#e5e7eb;margin-bottom:.25rem}.client-cases{font-size:12px;color:#9ca3af}.client-status{font-size:11px;font-weight:600;letter-spacing:.05em;padding:.375rem .75rem;border-radius:.375rem;white-space:nowrap;flex-shrink:0}.status-success{background-color:#05966926;color:#059669}.status-warning{background-color:#f59e0b26;color:#f59e0b}.status-critical{background-color:#dc262626;color:#dc2626}.activities-list{display:flex;flex-direction:column;gap:1rem}.activity-card{background-color:#1a1f2e;border-radius:.75rem;padding:1.5rem;display:flex;align-items:center;gap:1rem;transition:all .2s ease-out}.activity-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000080}.activity-icon{width:44px;height:44px;border-radius:.5rem;background-color:#1e40af1a;color:#1e40af;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-content{flex:1;min-width:0}.activity-title{font-size:14px;font-weight:600;color:#e5e7eb;margin-bottom:.25rem}.activity-description{font-size:12px;color:#9ca3af}.activity-time{font-size:12px;color:#6b7280;flex-shrink:0;white-space:nowrap}@media (max-width: 768px){.dashboard-header{flex-direction:column;gap:1rem;padding:1rem}.header-left{width:100%}.header-right{width:100%;flex-direction:column}.search-bar{max-width:100%}.dashboard-main{padding:1rem}.summary-grid,.two-column-grid{grid-template-columns:1fr}.case-card{flex-wrap:wrap}.case-days{width:100%;flex-direction:row;justify-content:flex-end;gap:.5rem;margin-top:.5rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.summary-card,.case-card,.client-card,.activity-card{animation:fadeIn .3s ease-out}.summary-card:nth-child(1){animation-delay:.05s}.summary-card:nth-child(2){animation-delay:.1s}.summary-card:nth-child(3){animation-delay:.15s}.summary-card:nth-child(4){animation-delay:.2s}.case-card:nth-child(1){animation-delay:.25s}.case-card:nth-child(2){animation-delay:.3s}.case-card:nth-child(3){animation-delay:.35s}.case-card:nth-child(4){animation-delay:.4s}.dashboard-main::-webkit-scrollbar{width:8px}.dashboard-main::-webkit-scrollbar-track{background-color:#0f1419}.dashboard-main::-webkit-scrollbar-thumb{background-color:#2a3142;border-radius:4px}.dashboard-main::-webkit-scrollbar-thumb:hover{background-color:#3f4556}:root{--bg-primary: #f8f9fc;--bg-secondary: #ffffff;--bg-tertiary: #f8fafc;--bg-hover: #f1f5f9;--text-primary: #1e293b;--text-secondary: #64748b;--text-tertiary: #94a3b8;--border-color: #e2e8f0;--shadow: rgba(0, 0, 0, .05);--shadow-hover: rgba(0, 0, 0, .08);--accent-primary: #6366f1;--accent-hover: #4f46e5;--accent-bg: #f0f0ff;--accent-light: #e8e7ff}[data-theme=dark]{--bg-primary: #0F1014;--bg-secondary: #1F2126;--bg-tertiary: #181A1F;--bg-hover: #2A2C32;--text-primary: #F5F5F7;--text-secondary: #A6A8B0;--text-tertiary: #6B6D75;--border-color: #2A2C32;--shadow: rgba(0, 0, 0, .3);--shadow-hover: rgba(0, 0, 0, .5);--accent-primary: #6A4DFF;--accent-hover: #5A3DE5;--accent-bg: #523A74;--accent-light: #3E2B57}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.magic-dashboard{padding:24px;background:var(--bg-primary);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;max-width:1400px;margin:0 auto}.priority-section{display:grid;grid-template-columns:2fr 1fr;gap:20px}.dashboard-top-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px 28px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 8px 24px var(--shadow);position:relative;gap:24px}.header-left{display:flex;align-items:center;gap:20px;flex:1}.header-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.header-icon-circle{width:56px;height:56px;background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent-bg) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.icon-placeholder{display:flex;align-items:center;justify-content:center;width:28px;height:28px}.header-text h1{font-size:28px;font-weight:800;color:var(--text-primary);margin:0 0 6px;letter-spacing:-.5px}.header-text p{font-size:15px;color:var(--text-secondary);margin:0;font-weight:500}@keyframes pulse{0%,to{box-shadow:0 8px 16px #6a4dff4d}50%{box-shadow:0 8px 20px #6a4dff80}}.btn-generate{display:flex;align-items:center;gap:10px;padding:14px 28px;background:linear-gradient(135deg,var(--accent-primary) 0%,var(--accent-hover) 100%);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 16px #6a4dff4d;position:relative;overflow:hidden;animation:pulse 2s ease-in-out infinite}.btn-generate:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(255,255,255,.2) 0%,transparent 100%);opacity:0;transition:opacity .3s ease}.btn-generate:hover:before{opacity:1}.btn-generate:hover{transform:translateY(-2px);box-shadow:0 12px 24px #6a4dff80}.btn-generate:active{transform:translateY(0)}.tab-navigation{display:flex;gap:8px;margin-bottom:32px}.tab-btn{display:flex;align-items:center;gap:8px;padding:8px 14px;background:transparent;border:1px solid var(--border-color);border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;white-space:nowrap}.tab-btn svg{flex-shrink:0}.tab-btn.active{background:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.tab-btn:hover:not(.active){background:var(--bg-hover);border-color:var(--text-primary);color:var(--text-primary);transform:translateY(-2px)}.tab-btn.active:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px #6a4dff66}.tab-date{font-size:13px;color:var(--text-secondary);margin-left:auto;justify-content:end}.menu-dias{display:flex;gap:8px;align-items:center}.dia-btn{padding:8px 16px;background:transparent;border:1px solid var(--border-color);border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;white-space:nowrap;line-height:1}.dia-btn.active{background:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.dia-btn:hover:not(.active){background:var(--bg-hover);border-color:var(--text-primary);color:var(--text-primary);transform:translateY(-2px)}.dia-btn.active:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px #6a4dff66}.date-filter-container{position:relative;display:flex;align-items:center;gap:12px;margin-left:auto}.tab-date{font-size:13px;color:var(--text-secondary);font-weight:500;white-space:nowrap}.days-dropdown-trigger{display:flex;align-items:center;gap:8px;padding:8px 14px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;font-size:13px;font-weight:500;color:var(--text-primary);cursor:pointer;transition:all .2s ease;white-space:nowrap;min-width:110px;justify-content:space-between}.days-dropdown-trigger:hover{background:var(--bg-hover);border-color:var(--accent-primary);transform:translateY(-1px);box-shadow:0 4px 12px #6a4dff33}.days-dropdown-trigger:active{transform:translateY(0)}.days-dropdown-trigger svg:first-child{color:var(--text-secondary);flex-shrink:0}.days-dropdown-trigger .chevron{transition:transform .2s ease;color:var(--accent-primary);flex-shrink:0}.days-dropdown-trigger .chevron.rotated{transform:rotate(180deg)}.days-dropdown-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:150px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:10px;box-shadow:0 8px 24px #00000026;padding:6px;z-index:1000;animation:dropdownSlide .2s ease}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.days-dropdown-menu .dropdown-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 14px;background:transparent;border:none;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-primary);cursor:pointer;transition:all .15s ease;text-align:left}.days-dropdown-menu .dropdown-item:hover{background:var(--bg-hover);color:var(--accent-primary);transform:translateY(-2px)}.days-dropdown-menu .dropdown-item.active{background:var(--accent-light);color:var(--accent-primary);font-weight:600}.days-dropdown-menu .check-icon{font-size:14px;font-weight:700;color:var(--accent-primary);margin-left:8px}@media (max-width: 768px){.date-filter-container{flex-direction:column;align-items:flex-end;gap:8px}.days-dropdown-trigger{width:auto}.days-dropdown-menu{right:0}}.dashboard-main-content{max-width:100%;display:grid;gap:20px}.section-header-magic{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:20px}.section-header-magic .section-title{font-size:14px;font-weight:700;color:var(--text-tertiary);letter-spacing:1px;margin:0;text-transform:uppercase;line-height:1}.section-title-small{font-size:20px;font-weight:800;color:var(--text-primary);margin:0 0 20px;display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:2px solid var(--border-color);position:relative;letter-spacing:-.3px}.section-title-small:before{content:"";position:absolute;bottom:-2px;left:0;width:80px;height:3px;background:linear-gradient(90deg,var(--accent-primary) 0%,var(--accent-hover) 100%);border-radius:2px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}.metric-card{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 16px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.metric-card:hover{border-color:var(--accent-primary);box-shadow:0 8px 24px #6a4dff26}.metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.metric-label{font-size:13px;color:var(--text-secondary);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.metric-view-btn{display:flex;align-items:center;gap:4px;padding:6px 10px;background:transparent;border:1px solid var(--border-color);color:var(--accent-primary);font-size:12px;font-weight:600;cursor:pointer;border-radius:6px;transition:all .2s ease}.metric-view-btn:hover{background:var(--accent-light);border-color:var(--accent-primary);transform:translateY(-1px)}.metric-content{display:flex;align-items:center;gap:12px;min-height:44px}.metric-value{font-size:30px;font-weight:800;color:var(--text-primary);margin:0;letter-spacing:-1px;line-height:1}#honorarios-metric-card .metric-value{font-size:20px;letter-spacing:-.5px}.metric-trend{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600;padding:4px 8px;border-radius:6px;line-height:1}.metric-compare{font-size:11px;color:var(--text-tertiary);margin:8px 0 0;padding-top:8px;border-top:1px solid var(--border-color);line-height:1.4}.trend-up{color:#10b981;background:#10b98126}.trend-down{color:#ef4444;background:#ef444426}.quick-actions-dropdown{position:relative}.btn-quick-actions{display:flex;align-items:center;gap:8px;padding:12px 20px;background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:10px;font-size:14px;font-weight:600;color:var(--text-primary);cursor:pointer;transition:all .3s ease;white-space:nowrap}.btn-quick-actions:hover{background:var(--bg-hover);border-color:var(--accent-primary);transform:translateY(-1px);box-shadow:0 4px 12px #6a4dff33}.btn-quick-actions .chevron{color:var(--accent-primary);flex-shrink:0}.quick-actions-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 12px 32px #0003;padding:8px;z-index:9999}.quick-action-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background:transparent;border:none;border-radius:8px;font-size:14px;font-weight:500;color:var(--text-primary);cursor:pointer;transition:all .2s ease;text-align:left}.quick-action-item:hover{background:var(--bg-hover);color:var(--accent-primary);transform:translateY(-2px)}.quick-action-item svg{color:currentColor;flex-shrink:0}.alerts-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:20px;transition:filter .25 ease}.alerts-row .alert-card{display:flex;align-items:center;gap:18px;padding:20px 24px;border-radius:14px;border:1px solid;border-left:4px solid;box-sizing:border-box;min-height:80px;min-width:0;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.alerts-row .alert-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.03) 100%);opacity:0;transition:opacity .3s ease}.alerts-row .alert-card:hover:before{opacity:1}.alerts-row .alert-card:hover{border-color:var(--accent-primary);box-shadow:0 8px 24px #6a4dff26}.alerts-row .alert-card.alert-warning{background:var(--bg-secondary);border-color:#f59e0b4d;border-left-color:#f59e0b}.alerts-row .alert-card.alert-warning:hover{border-color:#f59e0b;box-shadow:0 8px 16px #f59e0b26}.alerts-row .alert-card.alert-info{background:var(--bg-secondary);border-color:#3b82f64d;border-left-color:#3b82f6}.alerts-row .alert-card.alert-info:hover{border-color:#3b82f6;box-shadow:0 8px 16px #3b82f626}.alerts-row .alert-card.alert-success{background:var(--bg-secondary);border-color:#10b98126;border-left-color:#10b981}.alerts-row .alert-card.alert-success:hover{border-color:#10b981;box-shadow:0 8px 16px #10b9814d}.alert-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:10px}.alert-icon-warning{color:#f59e0b;background:#f59e0b26}.alert-icon-info{color:#3b82f6;background:#3b82f626}.alert-icon-success{color:#10b981;background:#10b98126}.alert-text{font-size:14px;font-weight:600;color:var(--text-primary);margin:0;line-height:1.5;flex:1}.critical-deadlines-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);margin-bottom:20px;box-shadow:0 4px 16px var(--shadow);max-width:800px}.deadlines-list{display:flex;flex-direction:column;gap:12px}.section-title-small.critical{margin:10px 0 16px;color:#ef4444}.section-title-small.critical:before{background:#ef4444}.deadline-item{display:flex;align-items:center;gap:20px;padding:20px;background:var(--bg-secondary);border-radius:12px;border-left:5px solid;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative;overflow:hidden}.deadline-item:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 0%,rgba(239,68,68,.03) 100%);opacity:0;transition:opacity .3s ease}.deadline-item:hover:before{opacity:1}.deadline-item.urgent{border-left-color:#ef4444;background:#ef44440f}.deadline-item:hover{box-shadow:0 8px 20px #ef444433}.deadline-date{display:flex;flex-direction:column;align-items:center;min-width:60px;padding:8px;background:var(--bg-secondary);border-radius:8px}.deadline-date .day{font-size:24px;font-weight:800;color:var(--text-primary);line-height:1}.deadline-date .month{font-size:11px;font-weight:600;color:var(--text-secondary);text-transform:uppercase}.deadline-info{flex:1}.deadline-title{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.deadline-client{font-size:12px;color:var(--text-secondary);margin:0}.deadline-badge{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:700}.deadline-badge.urgent{background:#ef444426;color:#ef4444}.honorarios-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);margin-bottom:20px;box-shadow:0 4px 16px var(--shadow)}.honorarios-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.honorario-card{display:flex;align-items:center;gap:16px;padding:20px;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color);border-left:4px solid;transition:all .3s ease;cursor:pointer}.honorario-card:hover{transform:translateY(-10px);box-shadow:0 8px 24px var(--shadow-hover)}.honorario-card.pendente{border-left-color:#f59e0b}.honorario-card.pendente:hover{box-shadow:0 8px 24px var(--shadow-hover)}.honorario-card.vencido{border-left-color:#ef4444}.honorario-card.vencido:hover{box-shadow:0 8px 24px var(--shadow-hover)}.honorario-card.recebido{border-left-color:#10b981}.honorario-card.recebido:hover{box-shadow:0 8px 24px var(--shadow-hover)}.honorario-card.total{border-left-color:#6366f1}.honorario-card.total:hover{box-shadow:0 8px 24px var(--shadow-hover)}.honorario-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:10px;flex-shrink:0}.pendente .honorario-icon{background:#f59e0b26;color:#f59e0b}.vencido .honorario-icon{background:#ef444426;color:#ef4444}.recebido .honorario-icon{background:#10b98126;color:#10b981}.total .honorario-icon{background:#6366f126;color:#6366f1}.honorario-info{flex:1}.honorario-label{font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin:0 0 4px}.honorario-value{font-size:22px;font-weight:800;color:var(--text-primary);margin:0 0 4px;letter-spacing:-.5px}.honorario-count{font-size:11px;color:var(--text-tertiary);margin:0}.charts-grid{display:flex;flex-direction:row;gap:24px;margin-bottom:32px}.charts-grid>.chart-section{flex:1;min-width:0}.chart-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);border-radius:16px;border:1px solid var(--border-color);display:flex;flex-direction:column;padding:24px;box-shadow:0 4px 16px var(--shadow);transition:all .3s ease;position:relative;overflow:hidden;height:100%}.chart-section:hover{border-color:var(--accent-primary);box-shadow:0 8px 24px #6a4dff26}.chart-header{margin-bottom:20px;flex-shrink:0}.chart-title{font-size:12px;font-weight:700;color:var(--text-secondary);letter-spacing:1px;margin:0 0 6px;text-transform:uppercase}.chart-subtitle{font-size:14px;color:var(--text-secondary);margin:0;font-weight:500}.chart-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;background:var(--bg-tertiary);border-radius:8px;border:2px dashed var(--border-color);color:var(--text-tertiary)}.chart-placeholder svg{margin-bottom:12px;opacity:.5}.chart-placeholder p{font-size:14px;margin:0}.chart-content-centered{display:flex;align-items:center;justify-content:center;flex:1}.magic-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:var(--text-secondary);gap:20px}.loading-spinner{width:50px;height:50px;border:4px solid var(--border-color);border-top-color:var(--accent-primary);border-right-color:var(--accent-primary);border-radius:50%;animation:spin .8s cubic-bezier(.68,-.55,.265,1.55) infinite;position:relative}.loading-spinner:after{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;border:2px solid transparent;border-top-color:var(--accent-primary);border-radius:50%;animation:spin 1.2s cubic-bezier(.68,-.55,.265,1.55) infinite reverse;opacity:.5}@keyframes spin{to{transform:rotate(360deg)}}.magic-loading p{font-size:14px;font-weight:500;margin:0;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.magic-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;background:#ef44441a;border-radius:12px;border:1px solid rgba(239,68,68,.3);color:#ef4444;gap:12px}.error-icon{animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modalContentFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;animation:modalFadeIn .25s ease}.modal-overlay .modal-content{background:var(--bg-primary);border-radius:20px;border:1px solid var(--border-color);box-shadow:0 24px 72px #00000080;max-width:1000px;width:100%;max-height:85vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideUp .35s cubic-bezier(.34,1.56,.64,1)}.modal-overlay .modal-content .modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:none;background:var(--bg-secondary);border-radius:20px 20px 0 0}.modal-overlay .modal-content .modal-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;color:var(--text-primary);margin:0}.modal-overlay .modal-content .modal-title svg{color:var(--accent-primary);width:20px;height:20px;flex-shrink:0}.modal-overlay .modal-content .modal-close{background:transparent;border:none;color:var(--text-secondary);cursor:pointer;padding:10px;border-radius:10px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.modal-overlay .modal-content .modal-close:hover{background:#ef44441a;color:#ef4444;transform:rotate(90deg)}.modal-overlay .modal-content .modal-body{padding:36px 40px;overflow-y:auto;background:var(--bg-primary);border-radius:0 0 20px 20px;animation:modalContentFadeIn .4s ease .1s backwards}.modal-overlay .modal-content .modal-body::-webkit-scrollbar{width:8px}.modal-overlay .modal-content .modal-body::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.modal-overlay .modal-content .modal-body::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:10px}.modal-overlay .modal-content .modal-body::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.modal-overlay .modal-content .modal-body .deadlines-list{display:flex;flex-direction:column;gap:16px}.modal-overlay .modal-content .modal-body .deadline-item{animation:modalContentFadeIn .3s ease backwards}.modal-overlay .modal-content .modal-body .deadline-item:nth-child(1){animation-delay:.15s}.modal-overlay .modal-content .modal-body .deadline-item:nth-child(2){animation-delay:.2s}.modal-overlay .modal-content .modal-body .deadline-item:nth-child(3){animation-delay:.25s}.modal-table tbody tr{animation:modalContentFadeIn .25s ease backwards}.modal-table tbody tr:nth-child(1){animation-delay:.15s}.modal-table tbody tr:nth-child(2){animation-delay:.18s}.modal-table tbody tr:nth-child(3){animation-delay:.21s}.modal-table tbody tr:nth-child(4){animation-delay:.24s}.modal-table tbody tr:nth-child(5){animation-delay:.27s}.modal-table tbody tr:nth-child(6){animation-delay:.3s}.modal-table tbody tr:nth-child(7){animation-delay:.33s}.modal-table tbody tr:nth-child(8){animation-delay:.36s}@media (max-width: 768px){.charts-grid{grid-template-columns:1fr}.magic-dashboard{padding:16px;margin:0}.dashboard-top-header{flex-direction:column;gap:20px;padding:24px}.header-left{width:100%}.header-actions{width:100%;flex-direction:column}.quick-actions-dropdown{width:100%}.btn-quick-actions{width:100%;justify-content:center}.quick-actions-menu{left:0;right:0}.btn-generate{width:100%;justify-content:center}.metrics-grid,.alerts-row,.charts-grid{grid-template-columns:1fr}}.modal-content.honorarios-modal{max-width:1200px}.honorarios-modal .honorarios-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:32px;animation:modalContentFadeIn .4s ease .15s backwards}.honorarios-detalhes{animation:modalContentFadeIn .5s ease .25s backwards}.honorarios-subtitle{font-size:16px;font-weight:700;color:var(--text-primary);margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid var(--border-color);position:relative}.honorarios-subtitle:before{content:"";position:absolute;bottom:-2px;left:0;width:60px;height:3px;background:linear-gradient(90deg,var(--accent-primary) 0%,var(--accent-hover) 100%);border-radius:2px}.honorario-valor{font-weight:700;font-size:14px;color:#10b981}.status-pendente{background:#f59e0b26;color:#f59e0b}.status-vencido{background:#ef444426;color:#ef4444}.status-recebido{background:#10b98126;color:#10b981}.section-header-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.chart-header-with-button{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.chart-text{flex:1}.bottom-content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:32px}.recent-clients-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 16px var(--shadow);max-height:450px;display:flex;flex-direction:column}.recent-clients-list{display:flex;flex-direction:column;gap:12px;overflow-y:auto;max-height:350px;padding-right:8px}.recent-clients-list::-webkit-scrollbar{width:6px}.recent-clients-list::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.recent-clients-list::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:10px}.recent-clients-list::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.client-item{display:flex;align-items:center;gap:16px;padding:16px;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color);transition:all .2s ease;cursor:pointer}.client-item:hover{border-color:var(--accent-primary);transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow-hover)}.client-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--accent-primary) 0%,var(--accent-hover) 100%);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff;flex-shrink:0}.client-info{flex:1}.client-name{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.client-contact{font-size:12px;color:var(--text-secondary);margin:0}.client-stats{display:flex;align-items:center}.client-processos{font-size:12px;font-weight:600;color:var(--accent-primary);background:#6a4dff1a;padding:4px 10px;border-radius:12px}.recent-activities-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 16px var(--shadow);max-height:450px;display:flex;flex-direction:column}.activities-timeline{display:flex;flex-direction:column;gap:16px;overflow-y:auto;max-height:350px;padding-right:8px}.activities-timeline::-webkit-scrollbar{width:6px}.activities-timeline::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.activities-timeline::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:10px}.activities-timeline::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.activity-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0 12px 16px;border-left:2px solid var(--border-color);position:relative;transition:all .2s ease}.activity-item:hover{border-left-color:var(--accent-primary)}.activity-item:before{content:"";position:absolute;left:-6px;top:16px;width:10px;height:10px;background:var(--accent-primary);border-radius:50%;border:2px solid var(--bg-primary)}.activity-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.activity-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.activity-content{flex:1}.activity-text{font-size:13px;font-weight:500;color:var(--text-primary);margin:0 0 4px}.activity-time{font-size:11px;color:var(--text-secondary);margin:0}.upcoming-hearings-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 16px var(--shadow);max-height:450px;display:flex;flex-direction:column}.hearings-list{display:flex;flex-direction:column;gap:12px;overflow-y:auto;max-height:350px;padding-right:8px}.hearings-list::-webkit-scrollbar{width:6px}.hearings-list::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.hearings-list::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:10px}.hearings-list::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.hearing-item{display:flex;align-items:center;gap:16px;padding:16px;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color);border-left:4px solid #3b82f6;transition:all .2s ease;cursor:pointer}.hearing-item:hover{border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f633}.hearing-date{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#3b82f6;flex-shrink:0}.hearing-info{flex:1}.hearing-tipo{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.hearing-processo{font-size:12px;color:var(--text-secondary);margin:0 0 2px}.hearing-cliente{font-size:11px;color:var(--text-tertiary);margin:0}.hearing-time{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-secondary);background:#3b82f61a;padding:6px 12px;border-radius:8px;flex-shrink:0}.pending-documents-section{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);padding:24px;border-radius:16px;border:1px solid var(--border-color);box-shadow:0 4px 16px var(--shadow);max-height:450px;display:flex;flex-direction:column}.documents-list{display:flex;flex-direction:column;gap:12px;overflow-y:auto;max-height:350px;padding-right:8px}.documents-list::-webkit-scrollbar{width:6px}.documents-list::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.documents-list::-webkit-scrollbar-thumb{background:var(--accent-primary);border-radius:10px}.documents-list::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.document-item{display:flex;align-items:center;justify-content:space-between;padding:14px;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color);transition:all .2s ease;cursor:pointer}.document-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow-hover)}.document-item.urgencia-alta{border-left:4px solid #ef4444}.document-item.urgencia-alta:hover{border-color:#ef4444;box-shadow:0 4px 12px #ef444433}.document-item.urgencia-media{border-left:4px solid #f59e0b}.document-item.urgencia-media:hover{border-color:#f59e0b;box-shadow:0 4px 12px #f59e0b33}.document-item.urgencia-baixa{border-left:4px solid #10b981}.document-item.urgencia-baixa:hover{border-color:#10b981;box-shadow:0 4px 12px #10b98133}.document-info{flex:1}.document-name{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.document-client{font-size:12px;color:var(--text-secondary);margin:0}.document-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.document-prazo{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text-secondary)}.document-urgencia{font-size:11px;font-weight:700;padding:4px 10px;border-radius:12px;text-transform:uppercase}.document-urgencia.urgencia-alta{background:#ef444426;color:#ef4444}.document-urgencia.urgencia-media{background:#f59e0b26;color:#f59e0b}.document-urgencia.urgencia-baixa{background:#10b98126;color:#10b981}.modal-table-container{overflow-x:auto;max-height:500px;overflow-y:auto}.modal-table{width:100%;border-collapse:collapse;font-size:13px}.modal-table thead{position:sticky;top:0;background:var(--bg-secondary);z-index:10}.modal-table th{text-align:left;padding:12px 16px;font-weight:700;color:var(--text-secondary);text-transform:uppercase;font-size:11px;letter-spacing:.5px;border-bottom:2px solid var(--border-color)}.modal-table td{padding:14px 16px;border-bottom:1px solid var(--border-color);color:var(--text-primary)}.modal-table tbody tr{transition:background .2s ease}.modal-table tbody tr:hover{background:#6a4dff0d}.processo-numero{font-family:Courier New,monospace;font-size:12px;font-weight:600;color:var(--accent-primary)}.area-badge{display:inline-block;padding:4px 10px;border-radius:12px;background:#6a4dff1a;color:var(--accent-primary);font-size:11px;font-weight:600}.status-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase}.status-em-andamento{background:#3b82f626;color:#3b82f6}.status-aguardando{background:#f59e0b26;color:#f59e0b}.status-finalizado{background:#10b98126;color:#10b981}.cliente-nome{font-weight:600}.cliente-email{color:var(--text-secondary);font-size:12px}.processos-badge{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#6a4dff26;color:var(--accent-primary);font-weight:700;font-size:13px}@media (max-width: 1024px){.bottom-content-grid{grid-template-columns:1fr}}.clientes-container{max-width:1200px;margin:0 auto}.clientes-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f1f5f9}.header-content h1{display:flex;align-items:center;gap:12px;font-size:2.25rem;font-weight:700;color:#1a202c;margin:0 0 8px}.header-icon{color:#667eea}.header-content p{font-size:1.1rem;color:#718096;margin:0}.add-button{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #667eea4d}.add-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.button-icon{width:20px;height:20px}.error-message{background:#fed7d7;color:#c53030;padding:16px;border-radius:12px;margin-bottom:24px;border:1px solid #feb2b2}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center}.loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.clientes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.empty-state{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center;background:#fff;border-radius:16px;border:2px dashed #e2e8f0}.empty-state h3{font-size:1.5rem;font-weight:600;color:#4a5568;margin:0 0 8px}.empty-state p{color:#718096;margin:0 0 24px}.cliente-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;transition:all .3s ease}.cliente-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.cliente-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f7fafc}.cliente-header h3{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0 16px 0 0;flex:1}.cliente-info{display:flex;flex-direction:column;gap:12px}.info-item{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#4a5568}.info-label{font-weight:600;color:#2d3748}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:16px;padding:32px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px #0000001a}.modal-content h2{font-size:1.5rem;font-weight:600;color:#1a202c;margin:0 0 24px}.form-group label{display:block;font-weight:600;color:#2d3748;margin-bottom:6px}.form-group input,.form-group textarea{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-actions{display:flex;gap:16px;justify-content:flex-end;margin-top:32px;padding-top:24px;border-top:1px solid #e2e8f0}.cancel-button{padding:14px 28px;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.cancel-button:hover{background:#f7fafc;border-color:#cbd5e0}.submit-button{padding:14px 28px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.submit-button:hover{transform:translateY(-1px);box-shadow:0 4px 15px #667eea4d}@media (max-width: 768px){.clientes-header{flex-direction:column;gap:16px;align-items:stretch}.header-content h1{font-size:1.875rem}.clientes-grid{grid-template-columns:1fr}.modal-content{margin:20px;padding:24px}.form-actions{flex-direction:column}}.cliente-actions{display:flex;gap:12px;align-items:center}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;color:#2d3748;font-size:1.5rem}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#718096;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-btn:hover{background:#f7fafc;color:#2d3748}.cliente-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.cliente-header h3{flex:1;margin:0 12px 0 0}.fichas-container{max-width:1200px;margin:0 auto;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.fichas-header{margin-bottom:32px}.page-icon{width:40px;height:40px;color:#ed8936;background:#ed89361a;padding:8px;border-radius:12px}.new-ficha-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff;border:none;padding:12px 20px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.new-ficha-btn:hover{transform:translateY(-1px);box-shadow:0 8px 25px #ed893666}.fichas-content{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0}.filters-section{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.search-box,.filter-box{position:relative;display:flex;align-items:center}.search-box{flex:1;min-width:250px}.filter-box{min-width:200px}.search-icon,.filter-icon{position:absolute;left:12px;width:20px;height:20px;color:#9ca3af;z-index:1}.search-box input{width:100%;padding:12px 12px 12px 44px;border:2px solid #e5e7eb;border-radius:10px;font-size:.875rem;transition:all .2s ease}.search-box input:focus{outline:none;border-color:#ed8936;box-shadow:0 0 0 3px #ed89361a}.filter-box select{width:100%;padding:12px 12px 12px 44px;border:2px solid #e5e7eb;border-radius:10px;font-size:.875rem;background:#fff;cursor:pointer;transition:all .2s ease}.filter-box select:focus{outline:none;border-color:#ed8936;box-shadow:0 0 0 3px #ed89361a}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f4f6;border-top:3px solid #ed8936;border-radius:50%;animation:spin 1s linear infinite}.fichas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.ficha-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s ease;border-left:4px solid #ed8936}.ficha-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.card-header{margin-bottom:16px}.case-info{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.case-info h3{font-size:1.125rem;font-weight:600;color:#1a202c;margin:0;flex:1;line-height:1.4}.status-badge{padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.status-badge.ativo{background:#d4edda;color:#155724}.status-badge.pendente{background:#fff3cd;color:#856404}.status-badge.concluido{background:#cce5ff;color:#004085}.status-badge.arquivado{background:#f8d7da;color:#721c24}.card-content{margin-bottom:16px}.info-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.info-row:last-child{margin-bottom:0}.label{font-size:.875rem;color:#718096;font-weight:500}.value{font-size:.875rem;color:#1a202c;font-weight:600}.card-actions{display:flex;gap:8px;justify-content:flex-end;padding-top:16px;border-top:1px solid #e2e8f0}.action-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.view-btn{background:#e6fffa;color:#319795}.view-btn:hover{background:#319795;color:#fff}.edit-btn{background:#fef5e7;color:#ed8936}.edit-btn:hover{background:#ed8936;color:#fff}.delete-btn{background:#fed7d7;color:#e53e3e}.delete-btn:hover{background:#e53e3e;color:#fff}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;grid-column:1 / -1}.empty-icon{width:64px;height:64px;color:#cbd5e0;margin-bottom:16px}.empty-state p{font-size:.875rem;color:#718096;margin:0 0 24px;max-width:400px}.create-first-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff;border:none;padding:12px 20px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.create-first-btn:hover{transform:translateY(-1px);box-shadow:0 8px 25px #ed893666}@media (max-width: 768px){.fichas-container{padding:16px}.header-content{flex-direction:column;align-items:stretch}.title-section{justify-content:center;text-align:center}.filters-section{flex-direction:column}.search-box,.filter-box{min-width:auto}.fichas-grid{grid-template-columns:1fr}.case-info{flex-direction:column;gap:8px}.case-info h3{font-size:1rem}}.status-badge.mce{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.popup-content{background:#fff;border-radius:16px;width:100%;max-width:900px;max-height:90vh;overflow:hidden;box-shadow:0 25px 50px #00000040;display:flex;flex-direction:column}.popup-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.popup-header h2{margin:0;font-size:1.5rem;font-weight:700}.popup-close{background:none;border:none;color:#fff;cursor:pointer;padding:8px;border-radius:8px;transition:background-color .2s ease}.popup-close:hover{background:#ffffff1a}.popup-body{flex:1;overflow-y:auto;padding:24px}.popup-tabs{display:flex;flex-direction:column;gap:32px}.popup-tab-section{border-bottom:1px solid #e2e8f0;padding-bottom:24px}.popup-tab-section:last-child{border-bottom:none;padding-bottom:0}.popup-tab-title{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid #ed8936;display:inline-block}.popup-section{display:flex;flex-direction:column;gap:16px}.popup-section h4{font-size:1.1rem;font-weight:600;color:#4a5568;margin:16px 0 8px}.popup-section h4:first-child{margin-top:0}.popup-field{display:flex;flex-direction:column;gap:4px}.popup-field label{font-size:.875rem;font-weight:600;color:#4a5568}.popup-field span{font-size:.875rem;color:#1a202c;line-height:1.5;padding:8px 12px;background:#f7fafc;border-radius:6px;border:1px solid #e2e8f0}.popup-list{display:flex;flex-direction:column;gap:8px}.popup-list-item{padding:12px;background:#f7fafc;border-radius:8px;border-left:4px solid #ed8936;font-size:.875rem;color:#1a202c;line-height:1.5}.popup-list-item:empty:before{content:"Nenhum item registrado";color:#9ca3af;font-style:italic}@media (max-width: 768px){.popup-overlay{padding:10px}.popup-content{max-height:95vh}.popup-header{padding:16px}.popup-header h2{font-size:1.25rem}.popup-body{padding:16px}.popup-tabs{gap:24px}.popup-tab-section{padding-bottom:16px}.popup-tab-title{font-size:1.1rem}}.ficha-card[data-tipo=mce]{border-left:4px solid #667eea}.ficha-card[data-tipo=mce]:hover{box-shadow:0 8px 25px #667eea26}.popup-content{animation:popupSlideIn .3s ease-out}@keyframes popupSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.popup-overlay{animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.status-value{font-weight:600;padding:2px 8px;border-radius:4px;font-size:.75rem;text-transform:capitalize}.status-value:contains("pendente"),.status-value:contains("Pendente"){background-color:#fef3c7;color:#92400e}.status-value:contains("ativo"),.status-value:contains("Ativo"){background-color:#d1fae5;color:#065f46}.status-value:contains("concluido"),.status-value:contains("Concluído"){background-color:#dbeafe;color:#1e40af}.status-value:contains("arquivado"),.status-value:contains("Arquivado"){background-color:#f3f4f6;color:#374151}.mce-container{min-height:100vh;background-color:#f9fafb}.mce-content{max-width:1280px;margin:0 auto;padding:24px}.mce-header{margin-bottom:24px}.mce-header-content{display:flex;align-items:center;justify-content:space-between}.mce-title{font-size:24px;font-weight:700;color:#111827;margin:0}.mce-subtitle{color:#6b7280;margin-top:4px}.mce-header-buttons{display:flex;align-items:center;gap:16px}.mce-btn{display:flex;align-items:center;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}.mce-btn-outline{border:1px solid #2563eb;color:#2563eb;background:#fff}.mce-btn-outline:hover{background-color:#eff6ff}.mce-btn-gray{border:1px solid #d1d5db;color:#374151;background:#fff}.mce-btn-gray:hover{background-color:#f9fafb}.mce-btn-icon{width:16px;height:16px;margin-right:8px}.step-indicator-container{background:#fff;border-radius:8px;border:1px solid #e5e7eb;padding:32px;margin-bottom:24px}.step-indicator{display:flex;align-items:center;justify-content:center;position:relative;max-width:800px;margin:0 auto}.step-item{display:flex;flex-direction:column;align-items:center;position:relative;z-index:10;flex:1}.step-circle{width:64px;height:64px;border-radius:50%;border:2px solid;display:flex;align-items:center;justify-content:center;margin-bottom:12px;cursor:pointer;transition:all .3s}.step-circle:hover{transform:scale(1.05)}.step-circle.completed{background-color:#10b981;border-color:#10b981;color:#fff}.step-circle.current{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.step-circle.incomplete{background-color:#ef4444;border-color:#ef4444;color:#fff}.step-circle.future{background-color:#e5e7eb;border-color:#d1d5db;color:#6b7280}.step-icon{width:24px;height:24px}.step-icon.current{stroke-width:2.5}.step-text{text-align:center;max-width:120px}.step-title{font-size:14px;font-weight:500;margin-bottom:4px}.step-title.current{color:#111827}.step-title.other{color:#6b7280}.step-description{font-size:12px;color:#9ca3af}.step-line{position:absolute;top:32px;left:64px;right:64px;height:2px;background-color:#d1d5db;z-index:1}.mce-main-layout{display:grid;grid-template-columns:1fr 3fr;gap:24px}@media (max-width: 1024px){.mce-main-layout{grid-template-columns:1fr}}.mce-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;height:fit-content;position:sticky;top:24px}.sidebar-header{display:flex;align-items:center;margin-bottom:16px}.sidebar-icon-container{width:32px;height:32px;background-color:#f3f4f6;border-radius:6px;display:flex;align-items:center;justify-content:center;margin-right:12px}.sidebar-icon{width:20px;height:20px;color:#6b7280}.sidebar-title{font-size:18px;font-weight:600;color:#000;margin:0;display:block;line-height:1.2}.sidebar-description{font-size:14px;color:#6b7280;margin:0}.progress-section{margin-top:24px}.progress-header{display:flex;justify-content:space-between;font-size:14px;color:#6b7280;margin-bottom:8px}.progress-bar{width:100%;height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background-color:#3b82f6;transition:width .5s ease}.info-cards{margin-top:24px;display:flex;flex-direction:column;gap:12px}.info-card{padding:12px;border-radius:6px;border:1px solid}.info-card.blue{background-color:#eff6ff;border-color:#bfdbfe}.info-card.green{background-color:#f0fdf4;border-color:#bbf7d0}.info-card.purple{background-color:#faf5ff;border-color:#e9d5ff}.info-card-label{font-size:14px;font-weight:500;margin-bottom:4px}.info-card.blue .info-card-label{color:#1d4ed8}.info-card.green .info-card-label{color:#166534}.info-card.purple .info-card-label{color:#7c3aed}.info-card-text{font-size:14px}.info-card.blue .info-card-text{color:#2563eb}.info-card.green .info-card-text{color:#16a34a}.info-card.purple .info-card-text{color:#9333ea}.saving-indicator{display:flex;align-items:center;font-size:14px;color:#2563eb;padding:8px;background-color:#eff6ff;border-radius:6px}.spinner{width:12px;height:12px;border:2px solid #bfdbfe;border-top:2px solid #2563eb;border-radius:50%;animation:spin 1s linear infinite;margin-right:8px}.mce-form-container{background:#fff;border-radius:8px;border:1px solid #e5e7eb;padding:24px}.form-group{margin-bottom:16px}.form-label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.form-required{color:#ef4444;margin-left:4px}.form-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea{resize:vertical;min-height:80px}.form-select{background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right 8px center;background-repeat:no-repeat;background-size:16px 12px;padding-right:40px}.partes-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}@media (max-width: 768px){.partes-grid{grid-template-columns:1fr}}.parte-section{border-radius:8px;padding:16px;border:1px solid}.parte-section.ativo{background-color:#f0fdf4;border-color:#bbf7d0}.parte-section.passivo{background-color:#fef2f2;border-color:#fecaca}.parte-header{display:flex;align-items:center;margin-bottom:16px;font-size:16px;font-weight:500}.parte-section.ativo .parte-header{color:#166534}.parte-section.passivo .parte-header{color:#dc2626}.parte-icon{width:16px;height:16px;margin-right:8px}.dynamic-section{margin-bottom:24px}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title{display:flex;align-items:center;font-size:16px;font-weight:500;color:#111827}.section-icon{width:16px;height:16px;margin-right:8px}.add-btn{display:flex;align-items:center;padding:8px 12px;font-size:14px;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.add-btn.orange{background-color:#ea580c}.add-btn.orange:hover{background-color:#c2410c}.add-btn.blue{background-color:#2563eb}.add-btn.blue:hover{background-color:#1d4ed8}.add-btn.indigo{background-color:#4f46e5}.add-btn.indigo:hover{background-color:#4338ca}.add-btn-icon{width:16px;height:16px;margin-right:4px}.dynamic-items{display:flex;flex-direction:column;gap:12px}.dynamic-item{display:flex;align-items:start;gap:12px;padding:12px;border-radius:6px;border:1px solid}.dynamic-item.orange{background-color:#fff7ed;border-color:#fed7aa}.dynamic-item.blue{background-color:#eff6ff;border-color:#bfdbfe}.item-content{flex:1;display:flex;flex-direction:column;gap:8px}.item-date-input{padding:8px 12px;border:1px solid;border-radius:6px;font-size:14px}.dynamic-item.orange .item-date-input{border-color:#fdba74}.dynamic-item.blue .item-date-input{border-color:#93c5fd}.item-textarea{width:100%;padding:8px 12px;border:1px solid;border-radius:6px;font-size:14px;resize:none}.dynamic-item.orange .item-textarea{border-color:#fdba74}.dynamic-item.blue .item-textarea{border-color:#93c5fd}.remove-btn{padding:8px;color:#dc2626;background:none;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.remove-btn:hover{background-color:#fef2f2}.navigation-buttons{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.nav-btn{display:flex;align-items:center;padding:12px 24px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.nav-btn:disabled{background-color:#f3f4f6;color:#9ca3af;cursor:not-allowed}.nav-btn.back{background-color:#e5e7eb;color:#374151}.nav-btn.back:hover:not(:disabled){background-color:#d1d5db}.nav-btn.next{background-color:#16a34a;color:#fff}.nav-btn.next:hover:not(:disabled){background-color:#15803d}.nav-btn.finish{background-color:#16a34a;color:#fff}.nav-btn.finish:hover{background-color:#15803d}.nav-icon{width:16px;height:16px}.nav-icon.left{margin-right:8px}.nav-icon.right{margin-left:8px}@media (max-width: 768px){.mce-content{padding:16px}.mce-header-content{flex-direction:column;align-items:flex-start;gap:16px}.step-indicator{flex-wrap:wrap;gap:16px}.step-item{flex:none;min-width:80px}.step-line{display:none}}.cliente-selector{display:flex;flex-direction:column;gap:8px}.search-input-container{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:#6b7280;z-index:1}.search-input{padding-left:40px!important;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-select{border:1px solid #d1d5db;border-radius:6px;padding:8px 12px;font-size:14px;background-color:#fff}.form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.fichas-incompletas-list{max-height:300px;overflow-y:auto;margin:20px 0}.ficha-incompleta-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;background-color:#f9fafb}.ficha-info h4{margin:0 0 4px;font-size:14px;font-weight:600;color:#111827}.ficha-info p{margin:0 0 4px;font-size:12px;color:#6b7280}.ficha-info small{font-size:11px;color:#9ca3af}.btn-continuar{background-color:#3b82f6;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;cursor:pointer;transition:background-color .2s}.btn-continuar:hover{background-color:#2563eb}.modal-actions{display:flex;justify-content:center;margin-top:20px}.btn-nova-ficha{background-color:#10b981;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:14px;cursor:pointer;transition:background-color .2s}.btn-nova-ficha:hover{background-color:#059669}.mce-btn-primary{background-color:#10b981;color:#fff;border:none}.mce-btn-primary:hover:not(:disabled){background-color:#059669}.mce-btn-primary:disabled{background-color:#9ca3af;cursor:not-allowed}.mensagem-salvamento{margin-top:12px;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;text-align:center}.mensagem-salvamento.sucesso{background-color:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.mensagem-salvamento.erro{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.list-section{margin-bottom:24px}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.list-header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.add-btn{display:flex;align-items:center;gap:6px;background-color:#3b82f6;color:#fff;border:none;padding:8px 12px;border-radius:6px;font-size:14px;cursor:pointer;transition:background-color .2s}.add-btn:hover{background-color:#2563eb}.add-icon{width:16px;height:16px}.list-items{display:flex;flex-direction:column;gap:12px}.remove-btn{background-color:#ef4444;color:#fff;border:none;padding:8px;border-radius:4px;cursor:pointer;transition:background-color .2s;flex-shrink:0}.remove-btn:hover{background-color:#dc2626}.remove-icon{width:16px;height:16px}.mce-sidebar,.mce-sidebar *{color:#111!important}.mce-sidebar .mce-sidebar-item:hover{background:#f5f5f5}.mce-sidebar .mce-sidebar-item.ativo{background:#f3f4f6;outline:1px solid #e5e7eb}.mce-sidebar .sidebar-icon,.mce-sidebar .mce-sidebar-icon{color:inherit!important;opacity:.9}.pipeline-container{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.pipeline-header{margin-bottom:24px;text-align:center}.pipeline-header h3{font-size:20px;font-weight:700;color:#111827;margin:0 0 8px}.pipeline-header p{color:#6b7280;margin:0}.action-description{font-size:14px;color:#6b7280;margin:0 0 12px;line-height:1.4}.action-status{margin-top:8px;padding:8px 12px;border-radius:6px;font-size:14px;font-weight:500}.action-status.success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.action-hint{margin-top:8px;padding:8px 12px;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;font-size:13px;color:#92400e;line-height:1.4}.pipeline-btn{position:relative;overflow:hidden}.pipeline-btn:disabled{opacity:.6;cursor:not-allowed;position:relative}.pipeline-btn:disabled:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#ffffff1a;pointer-events:none}.pipeline-status{margin-bottom:24px;padding:16px;background:#f9fafb;border-radius:8px}.pipeline-status h4{font-size:16px;font-weight:600;color:#111827;margin:0 0 12px}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.status-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.status-label{font-size:14px;color:#374151;font-weight:500}.status-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;text-transform:uppercase}.status-badge.done{background:#d1fae5;color:#065f46}.status-badge.pending{background:#fef3c7;color:#92400e}.status-badge.generating{background:#dbeafe;color:#1e40af}.status-badge.error{background:#fee2e2;color:#991b1b}.pipeline-actions{display:flex;flex-direction:column;gap:20px}.action-group{padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}.action-group h4{font-size:16px;font-weight:600;color:#111827;margin:0 0 12px}.pipeline-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none;min-width:140px}.pipeline-btn:disabled{opacity:.6;cursor:not-allowed}.pipeline-btn.primary{background:#3b82f6;color:#fff}.pipeline-btn.primary:hover:not(:disabled){background:#2563eb}.pipeline-btn.secondary{background:#6b7280;color:#fff}.pipeline-btn.secondary:hover:not(:disabled){background:#4b5563}.pipeline-btn.export{background:#059669;color:#fff;margin-right:8px}.pipeline-btn.export:hover:not(:disabled){background:#047857}.pipeline-btn.download{background:#dc2626;color:#fff}.pipeline-btn.download:hover:not(:disabled){background:#b91c1c}.export-buttons{display:flex;gap:8px;flex-wrap:wrap}.markdown-preview{margin-top:24px;padding:16px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.markdown-preview h4{font-size:16px;font-weight:600;color:#111827;margin:0 0 12px}.preview-content{background:#fff;padding:16px;border-radius:6px;border:1px solid #d1d5db;max-height:300px;overflow-y:auto}.preview-content pre{margin:0;font-family:Courier New,monospace;font-size:12px;line-height:1.4;color:#374151;white-space:pre-wrap;word-wrap:break-word}.qa-result{margin-top:24px;padding:16px;background:#fef7ff;border-radius:8px;border:1px solid #e879f9}.qa-result h4{font-size:16px;font-weight:600;color:#111827;margin:0 0 12px}.qa-score{font-size:18px;font-weight:700;color:#7c3aed;margin-bottom:12px}.qa-issues h5{font-size:14px;font-weight:600;color:#dc2626;margin:0 0 8px}.qa-issues ul{margin:0;padding-left:20px}.qa-issues li{color:#374151;margin-bottom:4px}@media (max-width: 768px){.status-grid{grid-template-columns:1fr}.export-buttons{flex-direction:column}.pipeline-btn{width:100%;margin-right:0!important;margin-bottom:8px}.action-group{padding:12px}}.react-calendar{width:350px;max-width:100%;background:#fff;border:1px solid #a0a096;font-family:Arial,Helvetica,sans-serif;line-height:1.125em}.react-calendar--doubleView{width:700px}.react-calendar--doubleView .react-calendar__viewContainer{display:flex;margin:-.5em}.react-calendar--doubleView .react-calendar__viewContainer>*{width:50%;margin:.5em}.react-calendar,.react-calendar *,.react-calendar *:before,.react-calendar *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.react-calendar button{margin:0;border:0;outline:none}.react-calendar button:enabled:hover{cursor:pointer}.react-calendar__navigation button{min-width:44px;background:none}.react-calendar__navigation button:disabled{background-color:#f0f0f0}.react-calendar__navigation button:enabled:hover,.react-calendar__navigation button:enabled:focus{background-color:#e6e6e6}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__weekNumbers .react-calendar__tile{display:flex;align-items:center;justify-content:center;font:inherit;font-size:.75em;font-weight:700}.react-calendar__month-view__days__day--weekend{color:#d10000}.react-calendar__month-view__days__day--neighboringMonth,.react-calendar__decade-view__years__year--neighboringDecade,.react-calendar__century-view__decades__decade--neighboringCentury{color:#757575}.react-calendar__year-view .react-calendar__tile,.react-calendar__decade-view .react-calendar__tile,.react-calendar__century-view .react-calendar__tile{padding:2em .5em}.react-calendar__tile{max-width:100%;padding:10px 6.6667px;background:none;text-align:center;font:inherit;font-size:.833em}.react-calendar__tile:disabled{background-color:#f0f0f0;color:#ababab}.react-calendar__month-view__days__day--neighboringMonth:disabled,.react-calendar__decade-view__years__year--neighboringDecade:disabled,.react-calendar__century-view__decades__decade--neighboringCentury:disabled{color:#cdcdcd}.react-calendar__tile:enabled:hover,.react-calendar__tile:enabled:focus{background-color:#e6e6e6}.react-calendar__tile--now{background:#ffff76}.react-calendar__tile--now:enabled:hover,.react-calendar__tile--now:enabled:focus{background:#ffffa9}.react-calendar__tile--hasActive{background:#76baff}.react-calendar__tile--hasActive:enabled:hover,.react-calendar__tile--hasActive:enabled:focus{background:#a9d4ff}.react-calendar__tile--active{background:#006edc;color:#fff}.react-calendar__tile--active:enabled:hover,.react-calendar__tile--active:enabled:focus{background:#1087ff}.react-calendar--selectRange .react-calendar__tile--hover{background-color:#e6e6e6}.calendar-settings-modal{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:800px;width:90vw;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.header-content{display:flex;align-items:center;gap:16px}.header-icon{width:32px;height:32px;color:#fff}.modal-header h2{margin:0;font-size:24px;font-weight:700}.modal-header p{margin:4px 0 0;opacity:.9;font-size:14px}.close-btn{background:#fff3;border:none;color:#fff;font-size:24px;width:40px;height:40px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.close-btn:hover{background:#ffffff4d}.modal-body{padding:24px;overflow-y:auto;flex:1}.modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.alert{padding:12px 16px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:12px;font-size:14px}.alert-error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.alert-success{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.section{margin-bottom:32px}.section h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#1f2937}.connections-list{display:flex;flex-direction:column;gap:16px}.connection-card{border:1px solid #e5e7eb;border-radius:12px;padding:20px;background:#fafafa;transition:all .2s}.connection-card:hover{border-color:#d1d5db;box-shadow:0 4px 6px -1px #0000001a}.connection-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.provider-info{display:flex;align-items:center;gap:12px}.provider-icon{font-size:24px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.provider-info h4{margin:0;font-size:16px;font-weight:600;color:#1f2937}.provider-name{margin:2px 0 0;font-size:14px;color:#6b7280}.connection-status{display:flex;align-items:center;gap:8px}.status-icon{width:20px;height:20px}.status-icon.connected{color:#16a34a}.status-icon.error{color:#dc2626}.status-icon.pending{color:#f59e0b}.status-icon.disconnected{color:#6b7280}.status-text{font-size:14px;font-weight:500}.status-text.connected{color:#16a34a}.status-text.error{color:#dc2626}.status-text.pending{color:#f59e0b}.status-text.disconnected{color:#6b7280}.connection-details{margin-bottom:16px}.last-sync{margin:0;font-size:13px;color:#6b7280}.error-message{margin:4px 0 0;font-size:13px;color:#dc2626}.connection-actions{display:flex;gap:8px;align-items:center}.toggle-btn{padding:6px 12px;border-radius:6px;border:1px solid;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.toggle-btn.active{background:#16a34a;color:#fff;border-color:#16a34a}.toggle-btn.inactive{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.sync-btn,.delete-btn{padding:8px;border:1px solid #d1d5db;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.sync-btn:hover{background:#f3f4f6;border-color:#9ca3af}.delete-btn:hover{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.sync-btn:disabled,.delete-btn:disabled{opacity:.5;cursor:not-allowed}.providers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.provider-card{border:1px solid #e5e7eb;border-radius:12px;padding:20px;background:#fff;transition:all .2s}.provider-card:hover:not(.disabled){border-color:#667eea;box-shadow:0 4px 6px -1px #0000001a}.provider-card.disabled{opacity:.6;background:#f9fafb}.provider-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.provider-header h4{margin:0;font-size:16px;font-weight:600;color:#1f2937}.provider-header p{margin:2px 0 0;font-size:14px;color:#6b7280}.provider-note{margin:8px 0 16px;font-size:13px;color:#f59e0b;background:#fffbeb;padding:8px 12px;border-radius:6px;border:1px solid #fed7aa}.connect-btn{width:100%;padding:10px 16px;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.connect-btn:hover:not(:disabled){background:#5a67d8;transform:translateY(-1px)}.connect-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.empty-state{text-align:center;padding:40px 20px;color:#6b7280}.empty-icon{width:48px;height:48px;margin:0 auto 16px;opacity:.5}.empty-state h4{margin:0 0 8px;font-size:18px;font-weight:600}.empty-state p{margin:0;font-size:14px}.info-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.info-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.info-card h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#1e293b}.info-card p{margin:0;font-size:13px;color:#64748b;line-height:1.5}.btn-secondary{padding:10px 20px;background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#e5e7eb;border-color:#9ca3af}.spinning{animation:spin 1s linear infinite}@media (max-width: 768px){.calendar-settings-modal{width:95vw;max-height:95vh}.modal-header,.modal-body{padding:16px}.providers-grid{grid-template-columns:1fr}.connection-info{flex-direction:column;align-items:flex-start;gap:12px}.connection-actions{width:100%;justify-content:flex-end}}.agenda-container{max-width:1400px;margin:0 auto;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.agenda-header{margin-bottom:32px}.page-icon{width:40px;height:40px;color:#9f7aea;background:#9f7aea1a;padding:8px;border-radius:12px}.new-event-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#9f7aea,#805ad5);color:#fff;border:none;padding:12px 20px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.new-event-btn:hover{transform:translateY(-1px);box-shadow:0 8px 25px #9f7aea66}.agenda-content{display:grid;grid-template-columns:1fr 400px;gap:24px}.calendar-section{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0}.calendar-wrapper{width:100%}.react-calendar{width:100%;background:transparent;border:none;font-family:inherit}.react-calendar__navigation{display:flex;height:44px;margin-bottom:1em}.react-calendar__navigation button{min-width:44px;background:none;border:none;font-size:16px;font-weight:600;color:#4a5568;cursor:pointer;border-radius:8px;transition:all .2s ease}.react-calendar__navigation button:hover{background:#f7fafc;color:#9f7aea}.react-calendar__navigation button:disabled{background-color:#f0f0f0;color:#6d6d6d;cursor:not-allowed}.react-calendar__month-view__weekdays{text-align:center;text-transform:uppercase;font-weight:700;font-size:.75em;color:#718096}.react-calendar__month-view__weekdays__weekday{padding:.5em}.react-calendar__month-view__days__day{position:relative;background:none;border:none;padding:12px;font-size:14px;cursor:pointer;border-radius:8px;transition:all .2s ease;color:#4a5568}.react-calendar__month-view__days__day:hover{background:#f7fafc;color:#9f7aea}.react-calendar__month-view__days__day--active{background:#9f7aea!important;color:#fff!important}.react-calendar__month-view__days__day.has-events:after{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:6px;height:6px;background:#9f7aea;border-radius:50%}.react-calendar__month-view__days__day--active.has-events:after{background:#fff}.events-section{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;max-height:600px;display:flex;flex-direction:column}.events-header{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.events-header h2{font-size:1.125rem;font-weight:600;color:#1a202c;margin:0 0 12px;text-transform:capitalize}.filter-section{position:relative;display:flex;align-items:center}.filter-icon{position:absolute;left:12px;width:16px;height:16px;color:#9ca3af;z-index:1}.filter-section select{width:100%;padding:8px 12px 8px 36px;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;background:#fff;cursor:pointer;transition:all .2s ease}.filter-section select:focus{outline:none;border-color:#9f7aea;box-shadow:0 0 0 3px #9f7aea1a}.events-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:16px}.loading-spinner{width:32px;height:32px;border:3px solid #f3f4f6;border-top:3px solid #9f7aea;border-radius:50%;animation:spin 1s linear infinite}.event-card{display:flex;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px;transition:all .2s ease;position:relative}.event-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.event-indicator{width:4px;border-radius:2px;margin-right:16px;flex-shrink:0}.event-content{flex:1}.event-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.event-header h3{font-size:1rem;font-weight:600;color:#1a202c;margin:0;flex:1;line-height:1.4}.event-type{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.event-details{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.detail-item{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#718096}.detail-item svg{flex-shrink:0}.event-description{font-size:.875rem;color:#4a5568;margin:0;line-height:1.4}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.empty-icon{width:48px;height:48px;color:#cbd5e0;margin-bottom:16px}.empty-state h3{font-size:1.125rem;font-weight:600;color:#4a5568;margin:0 0 8px}.empty-state p{font-size:.875rem;color:#718096;margin:0 0 20px}.create-first-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#9f7aea,#805ad5);color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.create-first-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #9f7aea66}.modal-content{background:#fff;border-radius:16px;padding:0;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 0;margin-bottom:20px}.modal-header h2{font-size:1.5rem;font-weight:600;color:#1a202c;margin:0}.close-btn{background:none;border:none;font-size:24px;color:#9ca3af;cursor:pointer;padding:4px;border-radius:4px;transition:color .2s ease}.close-btn:hover{color:#4a5568}.event-form{padding:0 24px 24px}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:.875rem;transition:all .2s ease;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#9f7aea;box-shadow:0 0 0 3px #9f7aea1a}.form-group textarea{resize:vertical;min-height:80px}.form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.form-actions{display:flex;gap:16px;justify-content:flex-end;padding-top:28px;border-top:1px solid #e2e8f0;margin-top:12px}.cancel-btn{padding:14px 24px;border:2px solid #e5e7eb;background:#fff;color:#4a5568;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.cancel-btn:hover{border-color:#cbd5e0;background:#f7fafc}.save-btn{padding:14px 24px;background:linear-gradient(135deg,#9f7aea,#805ad5);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #9f7aea66}.save-btn:disabled{opacity:.7;cursor:not-allowed}@media (max-width: 1024px){.agenda-content{grid-template-columns:1fr;gap:20px}.events-section{max-height:none}}@media (max-width: 768px){.agenda-container{padding:16px}.header-content{flex-direction:column;align-items:stretch}.title-section{justify-content:center;text-align:center}.form-row{grid-template-columns:1fr}.modal-content{margin:10px;max-width:none}.form-actions{flex-direction:column}.cancel-btn,.save-btn{width:100%}}.event-actions{display:flex;gap:12px;align-items:center}.action-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:16px}.action-button.edit{color:#4299e1;background-color:#4299e11a;border-color:#4299e133}.action-button.edit:hover{background-color:#4299e133;border-color:#4299e14d;transform:scale(1.05)}.action-button.delete{color:#e53e3e;background-color:#e53e3e1a;border-color:#e53e3e33}.action-button.delete:hover{background-color:#e53e3e33;border-color:#e53e3e4d;transform:scale(1.05)}.confirm-delete{max-width:400px}.confirm-content{padding:32px 0;text-align:center}.confirm-content p{margin:0 0 16px;color:#2d3748;font-size:1rem;line-height:1.5}.warning-text{font-size:.875rem;color:#e53e3e;font-weight:500;margin-top:8px}.delete-confirm-btn{background:#e53e3e;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.delete-confirm-btn:hover:not(:disabled){background:#c53030;transform:translateY(-1px)}.delete-confirm-btn:disabled{opacity:.6;cursor:not-allowed}.event-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.event-header h3{flex:1;margin:0 16px 0 0;font-size:1rem;font-weight:600;color:#1a202c;line-height:1.4}.action-button.edit svg,.action-button.delete svg{width:20px;height:20px;color:inherit;stroke:currentColor;fill:none}.header-actions{display:flex;gap:12px;align-items:center}.settings-btn{background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.settings-btn:hover{background:#edf2f7;border-color:#cbd5e0;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a}.settings-btn:active{transform:translateY(0)}@media (max-width: 768px){.header-content{flex-direction:column;align-items:stretch}.header-actions{justify-content:center;width:100%}.settings-btn,.new-event-btn{flex:1;justify-content:center}}.lexcalc-container{max-width:1400px;margin:0 auto;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.lexcalc-header{margin-bottom:32px}.header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.status-indicato{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#bb48481a;border-radius:20px;font-size:.875rem;font-weight:600;color:red}.status-dotr{width:8px;height:8px;background:red;border-radius:50%;animation:pulse 2s infinite}.page-icon{width:40px;height:40px;color:#3182ce;background:#3182ce1a;padding:8px;border-radius:12px}.lexcalc-content{display:flex;flex-direction:column;gap:24px}.calculators-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:24px}.calculator-card{position:relative;background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:24px;cursor:pointer;transition:all .3s ease;overflow:hidden}.calculator-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a;border-color:#cbd5e0}.calculator-card.active{border-color:#3182ce;box-shadow:0 8px 25px #3182ce26;transform:translateY(-2px)}.card-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.card-content h3{font-size:1.125rem;font-weight:600;color:#1a202c;margin:0 0 8px}.card-content p{font-size:.875rem;color:#718096;margin:0;line-height:1.4}.card-indicator{position:absolute;top:0;right:0;width:4px;height:100%;opacity:0;transition:opacity .3s ease}.calculator-card.active .card-indicator{opacity:1}.calculation-section{display:grid;grid-template-columns:1fr 400px;gap:24px}.calculation-form{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0}.form-header{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.form-title{display:flex;align-items:center;gap:12px}.form-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center}.form-title h2{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px 16px;border-radius:8px;font-size:.875rem;margin-bottom:20px}.calc-form,.form-fields{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.875rem;font-weight:600;color:#374151}.required{color:#dc2626;margin-left:4px}.form-input{padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:.875rem;transition:all .2s ease;font-family:inherit}.form-input:focus{outline:none;border-color:#3182ce;box-shadow:0 0 0 3px #3182ce1a}.checkbox-wrapper{display:flex;align-items:center;gap:8px;padding:8px 0}.checkbox-input{width:18px;height:18px;accent-color:#3182ce}.checkbox-label{font-size:.875rem;color:#4a5568;cursor:pointer}.field-hint{font-size:.75rem;color:#9ca3af;margin:0;font-style:italic}.calculate-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:10px;font-weight:600;color:#fff;cursor:pointer;transition:all .2s ease;font-size:.875rem;margin-top:8px}.calculate-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 25px #0003}.calculate-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.loading-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.result-section{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;max-height:fit-content}.result-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e2e8f0}.result-icon{width:24px;height:24px;color:#48bb78}.result-header h3{font-size:1.125rem;font-weight:600;color:#1a202c;margin:0}.result-content{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.result-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.result-label{font-size:.875rem;font-weight:600;color:#4a5568}.result-value{font-size:.875rem;font-weight:600;color:#1a202c}.result-actions{display:flex;gap:12px}.export-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.875rem}.export-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #48bb7866}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;background:#fff;border-radius:16px;border:2px dashed #e2e8f0}.empty-icon{width:64px;height:64px;color:#cbd5e0;margin-bottom:20px}.empty-state p{font-size:.875rem;color:#718096;margin:0}@media (max-width: 1024px){.calculation-section{grid-template-columns:1fr;gap:20px}.calculators-grid{grid-template-columns:1fr}}@media (max-width: 768px){.lexcalc-container{padding:16px}.header-content{flex-direction:column;align-items:stretch}.title-section{justify-content:center;text-align:center}.calculators-grid{grid-template-columns:1fr}.calculation-form,.result-section{padding:20px}}:root{--bg: #f6f8fb;--surface: #ffffff;--surface-2: #f9fbff;--line: #e7ecf2;--txt-1: #111826;--txt-2: #556073;--txt-3: #8a94a6;--brand-1: #6f63ff;--brand-2: #8f7bff;--brand-3: #4d9dff;--ok: #29c98a;--radius-xl: 18px;--radius-lg: 14px;--radius-md: 12px;--sh-1: 0 8px 20px rgba(17, 24, 39, .06);--sh-2: 0 16px 40px rgba(17, 24, 39, .08)}.ia-juridica-container{max-width:1280px;margin:0 auto;padding:24px;min-height:100vh;background:var(--bg);color:var(--txt-1);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;display:flex;flex-direction:column}.ia-header{margin-bottom:16px}.ia-header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--sh-1)}.title-section{display:flex;align-items:center;gap:12px}.page-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--brand-1),var(--brand-2));box-shadow:0 8px 18px #6f63ff59}.title-copy h1{margin:0;font-weight:800;font-size:clamp(20px,2.2vw,28px);letter-spacing:.2px;color:var(--txt-1)}.title-copy p{margin:2px 0 0;color:var(--txt-3);font-size:.9rem}.ia-actions{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap}.status-indicator{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;font-weight:700;font-size:.8rem;color:#0f2d23;background:#e9fbf4;border:1px solid #c9f3e4}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--ok)}.agente-button{display:flex;align-items:center;gap:10px;cursor:pointer;border:0;padding:10px 14px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#0f1220,#1a1f2e 80%);border:1px solid rgba(255,255,255,.06);box-shadow:0 10px 26px #10172947;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.agente-button:hover{transform:translateY(-1px);box-shadow:0 18px 40px #1017295c}.agente-copy{display:flex;flex-direction:column;line-height:1.1}.agente-label{font-weight:800;font-size:.88rem}.agente-hint{color:#b9c1d2;font-size:.74rem}.chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--sh-2)}.chat-topbar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fff}.chat-back{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:#6b7280;cursor:pointer}.chat-back:hover{background:#f7f7fb}.chat-title{font-weight:800;color:#111827}.chat-messages{flex:1;overflow-y:auto;padding:20px 22px;display:flex;flex-direction:column;gap:18px;background:#fff}.message-wrapper{display:flex;flex-direction:column;gap:8px}.message{display:flex;gap:12px;max-width:78%}.ai-message{margin-right:auto}.user-message{margin-left:auto;flex-direction:row-reverse}.message-avatar{flex-shrink:0}.user-avatar,.ai-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:.78rem;font-weight:700}.user-avatar{background:linear-gradient(135deg,var(--brand-1),var(--brand-2))}.ai-avatar{background:linear-gradient(135deg,#4d9dff,#6ec6ff)}.message-content{flex:1;min-width:0}.message-header{display:flex;justify-content:space-between;align-items:baseline;margin:0 2px 4px}.message-author{font-weight:800;letter-spacing:.04em;font-size:.72rem;text-transform:uppercase;color:var(--txt-3)}.message-time{font-size:.72rem;color:var(--txt-3)}.message-text{border-radius:14px;padding:12px 14px;font-size:.95rem;line-height:1.58;color:#4b4a57;background:#efe8f6;border:1px solid #e6deef;box-shadow:0 8px 18px #1118270a}.ai-message .message-text{background:#efe8f6;border-color:#e6deef;color:#4b4a57}.user-message .message-text{color:#fff;background:#555066;border:0;box-shadow:none}.ia-botao-peca-container{margin-left:48px;display:inline-flex}.typing-indicator{border-radius:12px;padding:10px 14px;background:#fff;border:1px solid var(--line)}.typing-dots{display:flex;gap:6px;align-items:center}.typing-dots span{width:6px;height:6px;border-radius:50%;background:var(--brand-1);animation:typing 1.2s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.12s}.typing-dots span:nth-child(3){animation-delay:.24s}@keyframes typing{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}.typing-text{margin-top:6px;color:var(--txt-3);font-size:.82rem;font-style:italic}.suggestions-section{border-top:1px solid var(--line);background:#fff;padding:16px 20px}.suggestions-header{display:flex;align-items:center;gap:8px;margin-bottom:10px}.suggestions-header h3{margin:0;font-size:.9rem;color:var(--txt-2);font-weight:800;letter-spacing:.2px}.suggestions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.suggestion-card{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;text-align:left;font-size:.92rem;line-height:1.45;color:var(--txt-2);cursor:pointer;background:var(--surface-2);border:1px solid var(--line);transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease,background .12s ease}.suggestion-card:hover{transform:translateY(-1px);border-color:#d9dff0;background:#fff;box-shadow:0 10px 20px #1118270f}.chat-input-section{border-top:1px solid #e9e3f1;background:#fff;padding:14px 20px 16px}.input-container{display:flex;gap:10px;align-items:center;margin-bottom:8px;background:#f3edf8;border:1px solid #e6deef;border-radius:24px;padding:6px 8px}.plus-button{width:36px;height:36px;border-radius:999px;border:2px solid transparent;background:transparent;color:#6b7280;display:flex;align-items:center;justify-content:center;padding:0;line-height:0;cursor:pointer}.plus-button svg{width:18px;height:18px;display:block}.plus-button:hover{background:#00000008;border-color:#111827}.chat-input{flex:1;min-height:40px;max-height:140px;resize:none;border-radius:12px;padding:10px 0;border:0;background:transparent;color:var(--txt-1);font-size:.98rem;line-height:1.45}.chat-input::placeholder{color:var(--txt-3)}.chat-input:focus{outline:none}.send-button{width:40px;height:40px;border-radius:999px;border:2px solid transparent;cursor:pointer;color:#6b7280;background:transparent;display:flex;align-items:center;justify-content:center;padding:0;line-height:0}.send-button svg{width:18px;height:18px;display:block}.send-button:hover{background:#00000008;border-color:#111827}.send-button:disabled{opacity:.6;filter:grayscale(.2);cursor:not-allowed}.plus-button:focus,.plus-button:focus-visible,.send-button:focus,.send-button:focus-visible{outline:none;box-shadow:none}.input-footer{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;color:var(--txt-3);font-size:.8rem}.powered-by{font-weight:800;color:var(--brand-1)}.attachment-card{width:220px;border-radius:16px;border:1px solid #e6deef;background:#f4f2f8;display:flex;flex-direction:column;align-items:center;padding:12px;box-shadow:0 8px 18px #1118270d}.attachment-icon{width:100%;height:120px;border-radius:12px;background:linear-gradient(180deg,#ece9f4,#f5f3f9);margin-bottom:8px}.attachment-name{color:#6b7280;font-size:.85rem}@media (max-width: 860px){.ia-juridica-container{padding:16px}.message{max-width:92%}.chat-messages{padding:16px;gap:16px}.agente-button{width:100%;justify-content:center}}.chatplus-menu{position:absolute;left:10px;bottom:56px;width:220px;background:#fff;border:1px solid #e6e6f2;border-radius:12px;box-shadow:0 18px 42px #1118271f;padding:6px;z-index:30}.chatplus-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-radius:10px;border:0;background:transparent;color:#111827;cursor:pointer}.chatplus-item:hover{background:#f7f7fb}.chatplus-item.has-sub{position:relative}.chatplus-item .left{display:flex;align-items:center;gap:8px}.chatplus-submenu{position:absolute;top:0;left:calc(100% + 8px);width:200px;background:#fff;border:1px solid #e6e6f2;border-radius:12px;box-shadow:0 18px 42px #1118271f;padding:6px}.subitem{width:100%;text-align:left;padding:10px;border-radius:10px;border:0;background:transparent;cursor:pointer;color:#111827}.subitem:hover{background:#f7f7fb}.subitem.active{background:#eef0ff;color:#312e81;font-weight:700}.hidden-input{display:none}.jurisprudencia-container{max-width:1200px;margin:0 auto;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.jurisprudencia-header{margin-bottom:32px}.header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px}.title-section{display:flex;align-items:center;gap:16px}.page-icon{width:40px;height:40px;color:#d69e2e;background:#d69e2e1a;padding:8px;border-radius:12px}.title-section h1{font-size:2rem;font-weight:700;color:#1a202c;margin:0}.title-section p{font-size:.875rem;color:#718096;margin:4px 0 0}.status-indicartor{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#bb48481a;border-radius:20px;font-size:.875rem;font-weight:600;color:red}.status-dort{width:8px;height:8px;background:red;border-radius:50%;animation:pulse 2s infinite}.stats-section{display:flex;gap:24px}.stat-item{text-align:center}.stat-number{display:block;font-size:1.5rem;font-weight:700;color:#d69e2e}.stat-label{font-size:.75rem;color:#718096;text-transform:uppercase;letter-spacing:.5px}.search-section{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 6px #0000000d;border:1px solid #e2e8f0;margin-bottom:24px}.search-container{display:flex;gap:12px;margin-bottom:20px}.search-input-wrapper{flex:1;position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:16px;width:20px;height:20px;color:#9ca3af;z-index:1}.search-input{width:100%;padding:12px 16px 12px 48px;border:2px solid #e2e8f0;border-radius:12px;font-size:.875rem;transition:all .2s ease;background:#fff}.search-input:focus{outline:none;border-color:#d69e2e;box-shadow:0 0 0 3px #d69e2e1a}.filter-toggle{position:absolute;right:12px;width:36px;height:36px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#718096}.filter-toggle:hover,.filter-toggle.active{background:#d69e2e;color:#fff;border-color:#d69e2e}.search-button{padding:12px 24px;background:linear-gradient(135deg,#d69e2e,#ed8936);color:#fff;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px;white-space:nowrap}.search-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #d69e2e66}.search-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.filters-section{padding:16px;background:#f8fafc;border-radius:8px;margin-bottom:20px}.filter-group{display:flex;align-items:center;gap:12px}.filter-group label{font-size:.875rem;font-weight:600;color:#4a5568}.filter-select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;background:#fff}.suggestions-section{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.suggestions-label{font-size:.875rem;font-weight:600;color:#4a5568}.suggestions-list{display:flex;gap:8px;flex-wrap:wrap}.suggestion-tag{padding:6px 12px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:20px;font-size:.75rem;cursor:pointer;transition:all .2s ease;color:#4a5568}.suggestion-tag:hover{background:#d69e2e1a;border-color:#d69e2e;color:#d69e2e}.error-message{background:#fed7d7;color:#c53030;padding:12px 16px;border-radius:8px;margin-bottom:24px;font-size:.875rem}.results-section{min-height:400px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#718096}.loading-spinner{width:20px;height:20px;border:2px solid rgba(214,158,46,.3);border-top:2px solid #d69e2e;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner.large{width:40px;height:40px;border-width:3px;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.results-list{display:flex;flex-direction:column;gap:16px}.result-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 4px #0000000d;border:1px solid #e2e8f0;transition:all .2s ease}.result-card:hover{box-shadow:0 8px 25px #0000001a;transform:translateY(-1px)}.result-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.result-title-section{display:flex;gap:12px;flex:1}.result-icon{width:36px;height:36px;background:#d69e2e1a;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#d69e2e;flex-shrink:0}.result-title h3{font-size:1rem;font-weight:600;color:#1a202c;margin:0 0 8px;line-height:1.4}.result-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:.75rem;color:#718096}.result-meta span{display:flex;align-items:center;gap:4px}.process-number{font-weight:600;color:#4a5568}.result-actions{display:flex;gap:8px;align-items:flex-start}.favorite-btn{width:36px;height:36px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#9ca3af}.favorite-btn:hover{border-color:#f56565;color:#f56565}.favorite-btn.active{background:#f56565;border-color:#f56565;color:#fff}.view-btn{padding:8px 16px;background:linear-gradient(135deg,#d69e2e,#ed8936);color:#fff;border:none;border-radius:8px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.view-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #d69e2e66}.result-content{margin-bottom:16px}.ementa{font-size:.875rem;line-height:1.6;color:#4a5568;margin:0}.result-tags{display:flex;gap:8px;flex-wrap:wrap}.tag{padding:4px 8px;background:#d69e2e1a;color:#d69e2e;border-radius:12px;font-size:.75rem;font-weight:500}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#718096}.empty-icon{width:64px;height:64px;color:#d69e2e;margin-bottom:16px}.empty-state h3{font-size:1.25rem;font-weight:600;color:#4a5568;margin:0 0 8px}.empty-state p{font-size:.875rem;margin:0}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:16px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 0;border-bottom:1px solid #e2e8f0;margin-bottom:24px}.modal-header h2{font-size:1.25rem;font-weight:600;color:#1a202c;margin:0}.close-btn{width:32px;height:32px;border:none;background:#f7fafc;border-radius:8px;cursor:pointer;font-size:1.25rem;color:#718096;transition:all .2s ease}.close-btn:hover{background:#e2e8f0;color:#4a5568}.modal-body{padding:0 24px}.detail-section{margin-bottom:24px}.detail-section h3{font-size:1rem;font-weight:600;color:#1a202c;margin:0 0 12px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:.75rem;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:.875rem;color:#4a5568}.ementa-full,.decisao-text{font-size:.875rem;line-height:1.6;color:#4a5568;margin:0;white-space:pre-wrap}.modal-footer{padding:24px;border-top:1px solid #e2e8f0;display:flex;justify-content:center}.favorite-modal-btn{padding:12px 24px;border:2px solid #f56565;background:#fff;color:#f56565;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.favorite-modal-btn:hover,.favorite-modal-btn.active{background:#f56565;color:#fff}@media (max-width: 768px){.jurisprudencia-container{padding:16px}.header-content{flex-direction:column;align-items:stretch}.title-section{justify-content:center;text-align:center}.stats-section{justify-content:center}.search-container{flex-direction:column}.result-header{flex-direction:column;gap:16px}.result-actions{align-self:flex-end}.result-meta{flex-direction:column;gap:8px}.suggestions-section{flex-direction:column;align-items:stretch}.suggestions-list{justify-content:center}.modal-content{margin:20px;max-height:calc(100vh - 40px)}}:root{--bg: #F8FAFC;--card: #FFFFFF;--border: #E5E7EB;--text: #111827;--muted: #6b7280;--label: #4b5563;--accent: #6b5bd2;--accent-2: #6366f1;--success: #10b981;--danger: #ef4444;--radius: 12px;--shadow: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);--shadow-strong: 0 2px 8px rgba(0,0,0,.06)}.perfil-wrap{background:var(--bg);min-height:calc(100vh + -0px);max-width:min(1280px,96vw);margin:0 auto}.perfil-head{display:flex;align-items:center;justify-content:space-between;padding:8px 0 20px}.head-left{display:flex;flex-direction:column;gap:4px}.perfil-title{font-size:clamp(20px,1rem + .7vw,28px);font-weight:800;color:var(--text);margin:0}.perfil-sub{color:#6b7280;margin:0;font-size:clamp(12px,.75rem + .15vw,14px)}.head-actions{display:flex;gap:10px}.btn{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px;font-weight:700;background:#fff;color:var(--text);box-shadow:var(--shadow);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px #11182712}.btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn.primary{background:#fff;color:var(--text);border-color:#d8d2ff;box-shadow:var(--shadow-strong)}.btn.primary:hover{background:#fff}.btn.success{background:#fff;color:#065f46;border-color:#d1fae5}.btn.success:hover{background:#ecfdf5}.btn.ghost{background:#fff;color:#991b1b;border-color:#fde2e2}.btn.ghost:hover{background:#fff5f5}.perfil-grid{display:grid;grid-template-columns:minmax(280px,320px) 1fr;gap:clamp(12px,.8vw,18px)}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.resume-card .avatar-block{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:14px}.avatar-ring{position:relative;width:72px;height:72px;border-radius:999px;background:linear-gradient(135deg,#ded8ec,#eae6f4);display:grid;place-items:center}.avatar{width:60px;height:60px;border-radius:999px;background:#e9e0ff;display:grid;place-items:center;color:#6b5bd2;overflow:hidden}.avatar-edit{position:absolute;right:-6px;bottom:-6px;width:30px;height:30px;border-radius:999px;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;line-height:0;color:#6b5bd2;box-shadow:var(--shadow)}.avatar-edit svg{width:16px;height:16px;display:block}.avatar-edit:hover{transform:translateY(-1px)}.avatar-info .name{margin:0;font-size:18px;font-weight:800;color:var(--text)}.avatar-info .role{margin:2px 0;font-size:12px;font-weight:800;color:#6366f1}.avatar-info .meta{margin:0;font-size:12px;color:#6b7280}.resume-list{display:flex;flex-direction:column;gap:8px}.resume-item{display:flex;align-items:center;gap:10px;color:#374151;font-size:14px}.resume-item .i{color:#6b7280;width:var(--icon-sm);height:var(--icon-sm)}.section{margin-bottom:18px}.section-title{margin:0 0 12px;font-size:clamp(13px,.78rem + .15vw,15px);font-weight:800;color:#1f2937;padding-bottom:8px;border-bottom:1px solid var(--border)}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.label{display:flex;align-items:center;gap:8px;color:#4b5563;font-weight:700;font-size:12px}.value{background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px 12px;color:#111827;font-size:clamp(13px,.8rem + .06vw,14.5px)}.input{width:100%;background:#fff;border:2px solid var(--border);border-radius:10px;padding:10px 12px;color:#111827;font-size:clamp(13px,.8rem + .06vw,14.5px);transition:box-shadow .15s ease,border-color .15s ease}.input:focus{outline:none;border-color:#d8d2ff;box-shadow:0 0 0 4px #6b5bd21a}.input.textarea{resize:vertical;min-height:100px}.note{color:#6b7280;font-size:11px}.bio{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px;color:#374151;line-height:1.6}.perfil-skeleton{display:grid;grid-template-columns:320px 1fr;gap:16px;padding-top:8px}.sk-card{height:220px;background:linear-gradient(90deg,#f3f4f6,#f8fafc,#f3f4f6);border-radius:var(--radius);animation:shine 1.2s infinite}@keyframes shine{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}@media (max-width: 1024px){.perfil-grid,.perfil-skeleton{grid-template-columns:1fr}}@media (max-width: 768px){.perfil-title{font-size:22px}.perfil-sub{font-size:13px}}
