body{overflow-x:hidden;transition:background-color .3s ease,color .3s ease;background-color:var(--background-primary);color:var(--text-primary)}.dark-theme{--background-primary: #18191A;--background-secondary: #242526;--background-tertiary: #3A3B3C;--accent-primary: #FF6600;--accent-primary-hover: #E65C00;--accent-primary-rgb: 255, 102, 0;--text-primary: #E4E6EB;--text-secondary: #B0B3B8;--border-color: #3A3E44;--scrollbar-thumb: #4F545C;--color-danger: #c62828;--color-danger-rgb: 198, 40, 40;--color-blue-rgb: 66, 133, 244;--box-shadow: none;--tag-novo-bg: rgba(255, 102, 0, .15);--tag-novo-text: #FF8C33;--tag-aviso-bg: rgba(255, 193, 7, .15);--tag-aviso-text: #FFC107;--tag-lembrete-bg: rgba(52, 168, 83, .15);--tag-lembrete-text: #34A853}.light-theme{--background-primary: #F9FAFB;--background-secondary: #FFFFFF;--background-tertiary: #F3F4F6;--accent-primary: #FF6600;--accent-primary-hover: #E65100;--accent-primary-rgb: 255, 102, 0;--text-primary: #111827;--text-secondary: #6B7280;--border-color: #E5E7EB;--scrollbar-thumb: #D1D5DB;--color-danger: #EF4444;--color-danger-rgb: 239, 68, 68;--color-blue-rgb: 59, 130, 246;--box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);--tag-novo-bg: #FFF7ED;--tag-novo-text: #C2410C;--tag-aviso-bg: #FEFCE8;--tag-aviso-text: #A16207;--tag-lembrete-bg: #F0FDF4;--tag-lembrete-text: #15803D}:root{--font-family: "Inter", sans-serif;--color-teal: #009688;--color-amber: #FFC107;--color-green: #34A853;--color-red: #EA4335;--color-blue: #4285F4;--color-purple: #8E44AD;--color-cyan: #03A9F4;--color-orange: #F57C00;--color-gray: #606770;--tran-03: all .3s ease-in-out;--tran-04-ease: all .4s cubic-bezier(.4, 0, .2, 1);--sidebar-transition: all .5s cubic-bezier(.4, 0, .2, 1)}*{margin:0;padding:0;box-sizing:border-box;font-family:var(--font-family)}::selection{background-color:var(--accent-primary);color:#fff}#root{min-height:100vh;width:100%}html{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:10px;border:3px solid var(--background-primary);background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background-color:var(--accent-primary)}.main-content-area{margin-left:320px;width:calc(100% - 320px);background-color:var(--background-primary);transition:margin-left var(--sidebar-transition),width var(--sidebar-transition),background-color .3s ease;padding:20px 40px;display:flex;flex-direction:column;height:100vh;overflow-y:auto;overflow-x:hidden}.sidebar.close~.main-content-area{margin-left:88px;width:calc(100% - 88px)}.suspense-loader{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-grow:1}.suspense-loader.fullscreen{position:fixed;inset:0;background-color:var(--background-primary);z-index:9999}.loader-spinner{border:none;width:48px;height:48px;position:relative;background:none}.loader-spinner:before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 16 16'%3e%3cpath d='M5.52.359A.5.5 0 0 1 6 0h4a.5.5 0 0 1 .474.658L8.694 6H12.5a.5.5 0 0 1 .395.807l-7 9a.5.5 0 0 1-.873-.454L6.823 9.5H3.5a.5.5 0 0 1-.48-.641l2.5-8.5z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center;background-size:60%;color:var(--accent-primary);animation:lightning-strike 1.4s ease-out infinite}@keyframes lightning-strike{0%{transform:translateY(-60%);opacity:0;filter:drop-shadow(0 0 1px var(--accent-primary))}40%{opacity:1}60%{transform:translateY(0);filter:drop-shadow(0 0 12px var(--accent-primary)) drop-shadow(0 0 4px var(--accent-primary))}to{transform:translateY(0);opacity:0;filter:drop-shadow(0 0 1px var(--accent-primary))}}.notification-bell-container{position:relative}.notification-bell-btn{background:none;border:none;color:var(--text-secondary);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,color .2s;position:relative}.notification-bell-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.main-header .notification-bell-btn{background-color:var(--background-secondary);border:1px solid var(--border-color)}.main-header .notification-bell-btn:hover{border-color:var(--accent-primary)}.notification-badge{position:absolute;top:8px;right:8px;width:10px;height:10px;background-color:var(--color-danger);border-radius:50%;border:2px solid var(--background-secondary);animation:pulse-red 2s infinite}@keyframes pulse-red{0%{box-shadow:0 0 rgba(var(--color-danger-rgb),.4)}70%{box-shadow:0 0 0 6px rgba(var(--color-danger-rgb),0)}to{box-shadow:0 0 rgba(var(--color-danger-rgb),0)}}.light-theme .notification-badge{border-color:#fff}.notification-panel{position:absolute;top:calc(100% + 12px);right:-12px;width:400px;max-width:90vw;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 12px 48px #00000040;z-index:102;overflow:hidden;animation:fadeIn .2s ease-out;display:flex;flex-direction:column}.notification-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border-color);flex-shrink:0;background-color:var(--background-secondary)}.notification-header h3{font-size:1.1rem;font-weight:700;margin:0}.notification-header .mark-all-read-btn{background:none;border:none;color:var(--accent-primary);font-size:.8rem;font-weight:600;cursor:pointer;padding:6px 10px;border-radius:6px;transition:background-color .2s}.notification-header .mark-all-read-btn:hover{background-color:rgba(var(--accent-primary-rgb),.1)}.notification-tabs{display:flex;padding:8px 16px 0;border-bottom:1px solid var(--border-color);background-color:var(--background-secondary)}.notification-tab{background:none;border:none;color:var(--text-secondary);font-weight:600;font-size:.9rem;padding:8px 16px;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s}.notification-list{max-height:450px;overflow-y:auto;background-color:var(--background-primary)}.notification-item{display:flex;gap:16px;padding:16px;border-bottom:1px solid var(--border-color);cursor:pointer;transition:background-color .2s;background-color:var(--background-secondary);position:relative}.notification-item:last-child{border-bottom:none}.notification-item:hover{background-color:var(--background-tertiary)}.notification-item.unread{background-color:rgba(var(--accent-primary-rgb),.03)}.notification-item.unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:var(--accent-primary)}.notif-icon-wrapper{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px;background-color:var(--background-tertiary);color:var(--text-secondary)}.notification-item.type-aviso .notif-icon-wrapper{background-color:#ffc10726;color:#ffc107}.notification-item.type-critico .notif-icon-wrapper{background-color:#ea433526;color:#ea4335}.notification-item.type-lembrete .notif-icon-wrapper{background-color:#34a85326;color:#34a853}.notification-item.type-novo .notif-icon-wrapper{background-color:#4285f426;color:#4285f4}.notification-content{flex:1;display:flex;flex-direction:column;gap:4px}.notification-content .title{font-weight:700;font-size:.95rem;color:var(--text-primary);line-height:1.3}.notification-content .description{font-size:.85rem;color:var(--text-secondary);line-height:1.5;margin:0}.notification-content .time{font-size:.75rem;color:var(--text-secondary);font-weight:600;margin-top:4px}.no-notifications{padding:40px 20px;text-align:center;color:var(--text-secondary);display:flex;flex-direction:column;align-items:center;gap:12px}.no-notifications i{font-size:32px;opacity:.5}.advance-button{background-color:var(--accent-primary);color:#fff;padding:10px 20px;border-radius:8px;text-decoration:none;font-weight:600;display:inline-flex;align-items:center;gap:8px;transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease;border:none;cursor:pointer;font-size:.9rem}.advance-button:hover:not(:disabled){background-color:var(--accent-primary-hover);transform:translateY(-2px);box-shadow:0 4px 12px rgba(var(--accent-primary-rgb),.2)}.advance-button:disabled{background-color:var(--background-tertiary);color:var(--text-secondary);cursor:not-allowed}.advance-button i{font-size:20px}.advance-button.danger{background-color:var(--color-danger);box-shadow:0 4px 12px rgba(var(--color-danger-rgb),.2)}.advance-button.danger:hover:not(:disabled){background-color:var(--color-danger);filter:brightness(.9)}.secondary-button{background-color:var(--background-tertiary);border:1px solid var(--border-color);color:var(--text-primary);padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:var(--tran-03);font-size:.9rem}.secondary-button:hover:not(:disabled){border-color:var(--text-secondary);background-color:var(--background-primary)}.secondary-button:disabled{opacity:.6;cursor:not-allowed}@keyframes pulse-glow{0%{box-shadow:0 0 rgba(var(--accent-primary-rgb),.4)}70%{box-shadow:0 0 0 10px rgba(var(--accent-primary-rgb),0)}to{box-shadow:0 0 rgba(var(--accent-primary-rgb),0)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.incompatible-device-container{display:flex;align-items:center;justify-content:center;height:100vh;width:100%;padding:20px;text-align:center}.incompatible-device-box{max-width:450px;background-color:var(--background-secondary);border:1px solid var(--border-color);padding:40px;border-radius:16px;box-shadow:var(--box-shadow)}.incompatible-device-box i{font-size:64px;color:var(--accent-primary);margin-bottom:24px}.incompatible-device-box h1{font-size:1.8rem;margin-bottom:16px;color:var(--text-primary)}.incompatible-device-box p{color:var(--text-secondary);line-height:1.6}.error-boundary-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;width:100%;padding:20px;text-align:center;background-color:var(--background-primary)}.error-boundary-box{max-width:500px}.error-boundary-box i{font-size:64px;color:var(--color-danger);margin-bottom:24px}.error-boundary-box h1{font-size:1.8rem;margin-bottom:16px;color:var(--text-primary)}.error-boundary-box p{color:var(--text-secondary);line-height:1.6;margin-bottom:24px}.error-boundary-actions{margin-bottom:32px}.error-details{text-align:left;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:8px;padding:12px;margin-top:24px}.error-details summary{cursor:pointer;font-weight:600;color:var(--text-secondary);outline:none}.error-details pre{margin-top:12px;padding:12px;background-color:var(--background-primary);border-radius:6px;color:var(--text-secondary);font-size:.8rem;white-space:pre-wrap;word-break:break-all;max-height:200px;overflow-y:auto}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.proactive-assistant{position:fixed;bottom:30px;left:320px;width:360px;max-width:90vw;background:#fffffff2;background:var(--background-secondary);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-color);border-left:5px solid var(--accent-primary);border-radius:12px;box-shadow:0 8px 30px #0000001f;padding:0;z-index:90;display:flex;flex-direction:row;overflow:hidden;opacity:0;transform:translateY(40px) scale(.95);pointer-events:none;transition:opacity .4s cubic-bezier(.2,.8,.2,1),transform .4s cubic-bezier(.34,1.56,.64,1),left .4s cubic-bezier(.25,.8,.25,1)}.dark-theme .proactive-assistant{background:#242526f2;border:1px solid #3A3B3C;border-left:5px solid var(--accent-primary)}.sidebar.close~.proactive-assistant{left:108px}.proactive-assistant.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.proactive-icon-wrapper{width:60px;background-color:var(--background-tertiary);display:flex;align-items:center;justify-content:center;flex-shrink:0;border-right:1px solid var(--border-color)}.proactive-icon-wrapper .lucia-icon{width:28px;height:28px;color:var(--accent-primary);animation:pulse-orange 2s infinite}@keyframes pulse-orange{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.proactive-content{flex-grow:1;padding:16px;display:flex;flex-direction:column;gap:8px}.proactive-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.proactive-title{font-weight:700;font-size:.85rem;color:var(--accent-primary);text-transform:uppercase;letter-spacing:.5px}.proactive-close-btn{background:none;border:none;color:var(--text-secondary);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--tran-03);margin-top:-4px;margin-right:-4px}.proactive-close-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.proactive-close-btn i{font-size:18px}.proactive-text{font-size:.9rem;line-height:1.5;color:var(--text-primary);margin:0}.proactive-action-btn{align-self:flex-start;margin-top:8px;background-color:var(--background-tertiary);color:var(--text-primary);border:1px solid var(--border-color);padding:6px 12px;border-radius:20px;font-size:.8rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:var(--tran-03)}.proactive-action-btn:hover{background-color:var(--accent-primary);color:#fff;border-color:var(--accent-primary);transform:translate(2px)}.proactive-action-btn i{font-size:16px}.copy-button-wrapper{position:relative;padding-right:24px}.copy-kb-button{position:absolute;top:0;right:0;margin-top:2px;background:var(--background-primary);border:1px solid var(--border-color);color:var(--text-secondary);width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s ease;z-index:10}.copy-button-wrapper:hover .copy-kb-button{opacity:1}.copy-kb-button:hover{color:var(--accent-primary);background-color:var(--background-secondary);border-color:var(--accent-primary)}.copy-kb-button.copied{opacity:1;color:var(--tag-lembrete-text);background-color:var(--tag-lembrete-bg);border-color:var(--tag-lembrete-text)}.copy-kb-button svg{width:12px;height:12px}.markdown-code-block{position:relative}.markdown-code-block .copy-kb-button{top:8px;right:8px;width:24px;height:24px;margin:0}.message-bubble .copy-kb-button{background-color:var(--background-secondary)}.agent .message-bubble .copy-kb-button{background-color:#fff3e0;border-color:#ffcc80}.sr-notification-toast{position:fixed;bottom:90px;right:20px;width:320px;max-width:90%;background-color:var(--background-secondary);border-radius:16px;border-left:4px solid var(--accent-primary);box-shadow:0 8px 24px #00000026;display:flex;align-items:center;padding:12px;gap:12px;cursor:pointer;animation:slideUpFadeIn .5s cubic-bezier(.16,1,.3,1) forwards;z-index:10000}.toast-avatar{width:40px;height:40px;border-radius:50%;background-color:var(--background-tertiary);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--accent-primary);font-size:22px}.toast-sender{font-size:.9rem;font-weight:600;color:var(--text-primary);display:block}.toast-message{font-size:.85rem;color:var(--text-secondary);margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast-close-btn{background:none;border:none;color:var(--text-secondary);width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.gamification-toast{position:fixed;top:100px;right:24px;width:320px;background:linear-gradient(135deg,#242526,#18191a);border:1px solid #FFD700;border-radius:12px;padding:16px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 30px #ffd7004d;z-index:9999;animation:slideInRight .5s cubic-bezier(.175,.885,.32,1.275);cursor:pointer;overflow:hidden}.gamification-toast:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:gold}.toast-icon-wrapper{width:48px;height:48px;background-color:#ffd7001a;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-icon-wrapper i{font-size:28px;color:gold;animation:pulse-gold 1.5s infinite}.toast-content h4{margin:0;color:gold;font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.toast-content p{margin:4px 0 0;color:#e4e6eb;font-size:.9rem}.toast-shine{position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(to right,transparent,rgba(255,255,255,.2),transparent);transform:skew(-20deg);animation:shine 2s infinite}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes pulse-gold{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}@keyframes shine{0%{left:-100%}to{left:200%}}.sidebar{position:fixed;top:0;left:0;height:100%;width:300px;background:var(--background-secondary);border-right:1px solid var(--border-color);transition:width var(--sidebar-transition),padding var(--sidebar-transition),box-shadow .8s ease;z-index:100;display:flex;flex-direction:column;box-shadow:4px 0 24px #00000005;padding:16px 12px;overflow:visible}.sidebar.close{width:88px;padding:16px 12px}.sidebar li{list-style:none}.sidebar header{position:relative;margin-bottom:24px;display:flex;align-items:center;min-height:50px}.sidebar .image-text{display:flex;align-items:center;width:100%;overflow:hidden;transition:justify-content .1s ease}.sidebar.close .image-text{justify-content:center}.sidebar header .image{min-width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background-color:rgba(var(--accent-primary-rgb),.1);color:var(--accent-primary);font-size:24px;transition:all .1s ease;cursor:pointer}.sidebar header .image svg{width:28px;height:28px;transition:transform .1s ease}.sidebar:not(.close) header .image:hover svg{transform:scale(1.1)}.sidebar .header-text{display:flex;flex-direction:column;margin-left:12px;white-space:nowrap;transition:opacity .3s ease .15s;opacity:1;width:auto;overflow:hidden}.sidebar.close .header-text{opacity:0;width:0;margin-left:0;pointer-events:none;transition:opacity .2s ease}.sidebar .name{font-size:1rem;font-weight:700;color:var(--text-primary);line-height:1.2}.sidebar .profession{font-size:.8rem;color:var(--text-secondary);font-weight:500}.sidebar .toggle{position:absolute;top:50%;right:-26px;transform:translateY(-50%);height:28px;width:28px;background-color:var(--background-secondary);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #0000000d;z-index:101}.sidebar .toggle:hover{color:var(--accent-primary);border-color:var(--accent-primary);transform:translateY(-50%) scale(1.1)}.sidebar.close .toggle{transform:translateY(-50%) rotate(180deg)}.sidebar-search{background-color:var(--background-primary);border:1px solid transparent;border-radius:12px;height:48px;display:flex;align-items:center;padding:0 14px;transition:all .3s ease;cursor:text;margin-bottom:20px;position:relative;overflow:hidden}.sidebar.close .sidebar-search{padding:0;justify-content:center;background-color:transparent;cursor:pointer}.sidebar-search:hover,.sidebar-search:focus-within{background-color:var(--background-primary);border-color:var(--accent-primary);box-shadow:0 4px 12px rgba(var(--accent-primary-rgb),.08)}.sidebar.close .sidebar-search:hover{background-color:var(--background-tertiary);border-color:transparent;box-shadow:none}.sidebar-search i{font-size:22px;color:var(--text-secondary);transition:color .3s ease;min-width:24px;display:flex;justify-content:center}.sidebar-search:focus-within i{color:var(--accent-primary)}.sidebar-search input{border:none;background:none;outline:none;color:var(--text-primary);font-size:.95rem;width:100%;margin-left:12px;transition:width .3s ease .15s,opacity .3s ease .15s,margin .3s ease .15s;opacity:1}.sidebar.close .sidebar-search input{opacity:0;width:0;margin:0;padding:0;pointer-events:none;transition:width .2s ease,opacity .2s ease,margin .2s ease}.menu-bar{height:calc(100% - 80px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.menu-links-wrapper{overflow-y:auto;overflow-x:hidden;flex-grow:1;padding-right:0;scrollbar-width:none;-ms-overflow-style:none}.menu-links-wrapper::-webkit-scrollbar{display:none}.menu-links{display:flex;flex-direction:column;gap:4px}.nav-link{list-style:none;position:relative}.nav-link a,.collapsible>a{display:flex;align-items:center;min-height:48px;text-decoration:none;border-radius:12px;transition:all .25s ease;color:var(--text-secondary);padding:8px 12px;position:relative;overflow:hidden}.sidebar.close .nav-link a,.sidebar.close .collapsible>a{padding:0;justify-content:center;width:48px;height:48px;margin:0 auto}.nav-link a:hover,.collapsible>a:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.nav-link a .icon,.collapsible>a .icon{min-width:24px;font-size:22px;display:flex;align-items:center;justify-content:center;transition:color .3s ease,transform .2s ease}.sidebar.close .nav-link a:hover .icon,.sidebar.close .collapsible>a:hover .icon{transform:scale(1.1);color:var(--accent-primary)}.nav-link a .text,.collapsible>a .text{font-size:.95rem;font-weight:500;white-space:normal;line-height:1.3;opacity:1;margin-left:16px;width:auto;transition:opacity .3s ease .15s}.sidebar.close .text{opacity:0;width:0;margin-left:0;pointer-events:none;transition:opacity .2s ease}.nav-link a.active{background-color:var(--tag-novo-bg);color:var(--accent-primary)}.nav-link a.active .icon{color:var(--accent-primary)}.sidebar:not(.close) .nav-link a.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:20px;width:3px;background-color:var(--accent-primary);border-radius:0 4px 4px 0}.collapsible .icon-toggle{position:absolute;right:16px;font-size:18px;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease;color:var(--text-secondary);opacity:1}.sidebar.close .icon-toggle{opacity:0;pointer-events:none}.collapsible.open>a{background-color:var(--background-tertiary);color:var(--text-primary)}.collapsible.open>a .icon-toggle{transform:rotate(90deg);color:var(--accent-primary)}.submenu-links{max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(0,1,0,1);position:relative}.collapsible.open .submenu-links{max-height:1000px;transition:max-height .5s ease-in-out}.sidebar:not(.close) .submenu-links .nav-link a{padding-left:52px;min-height:40px;height:auto;padding-top:8px;padding-bottom:8px;font-size:.9rem}.sidebar:not(.close) .collapsible.open .submenu-links:before{content:"";position:absolute;top:0;bottom:16px;left:23px;width:2px;background-color:var(--border-color);opacity:.6}.nav-separator{height:1px;background-color:var(--border-color);margin:12px 16px;opacity:.6;transition:opacity .2s ease}.nav-section-header{list-style:none}.nav-section-title{padding:0 16px;margin-top:16px;margin-bottom:8px;transition:opacity .2s ease}.nav-section-title .text{font-size:.75rem;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;margin-left:0;opacity:1}.sidebar.close .nav-separator,.sidebar.close .nav-section-title,.sidebar.close .nav-section-header,.sidebar.close .sidebar-dynamic-section{display:none}.sidebar-dynamic-section{background-color:var(--background-tertiary);border-radius:12px;padding:12px 0;margin:0 0 16px;border:1px solid transparent}.dark-theme .sidebar-dynamic-section{background-color:#ffffff08;border-color:#ffffff0d}.dynamic-section-title{padding:0 16px 8px;font-size:.75rem;font-weight:700;color:var(--accent-primary);text-transform:uppercase;letter-spacing:.5px}.dynamic-section-placeholder p{font-size:.8rem;color:var(--text-secondary);padding:0 16px;font-style:italic}.favorite-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-secondary);opacity:0;transition:all .2s ease;cursor:pointer;padding:4px;border-radius:50%;display:flex}.sidebar.close .favorite-btn{display:none}.nav-link a:hover .favorite-btn,.nav-link a:focus-within .favorite-btn{opacity:1}.favorite-btn.active{opacity:1;color:#ffc107}.favorite-btn:hover{background-color:#0000000d;transform:translateY(-50%) scale(1.1)}.bottom-content{border-top:1px solid var(--border-color);padding-top:12px;margin-top:auto}.bottom-content li a:hover{background-color:rgba(var(--color-danger-rgb),.1);color:var(--color-danger)}.bottom-content li a:hover .icon{color:var(--color-danger)}.sidebar-tooltip{position:fixed;background-color:var(--text-primary);color:var(--background-primary);padding:6px 12px;border-radius:6px;font-size:.85rem;font-weight:500;white-space:nowrap;pointer-events:none;z-index:10000;transform:translateY(-50%);box-shadow:0 4px 12px #00000026;animation:fadeIn .2s ease}.notification-bell-container{position:relative;overflow:visible}.notification-bell-btn{background-color:var(--background-tertiary);border:1px solid var(--border-color);color:var(--text-secondary);width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative;overflow:visible}.notification-bell-btn:hover,.notification-bell-btn.active{background-color:var(--background-secondary);color:var(--text-primary);border-color:var(--accent-primary);box-shadow:0 0 0 3px rgba(var(--accent-primary-rgb),.1)}.notification-bell-btn i{font-size:22px}.notification-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;background-color:var(--color-danger);color:#fff;border-radius:10px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;border:2px solid var(--background-secondary);box-sizing:border-box;line-height:1;z-index:10;box-shadow:0 2px 4px #00000026;animation:popIn .3s cubic-bezier(.175,.885,.32,1.275);white-space:nowrap}.notification-panel{position:absolute;top:calc(100% + 16px);right:-10px;width:400px;max-width:90vw;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 20px 50px -10px #0003,0 0 0 1px #00000005;z-index:1000;overflow:hidden;display:flex;flex-direction:column;animation:slideDownFade .2s ease-out;transform-origin:top right}@keyframes slideDownFade{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-header{padding:16px 20px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background-color:var(--background-secondary)}.notification-header h3{font-size:1.05rem;font-weight:700;margin:0;color:var(--text-primary)}.mark-all-read-btn{background:none;border:none;color:var(--accent-primary);font-size:.8rem;font-weight:600;cursor:pointer;padding:6px 10px;border-radius:6px;transition:background-color .2s}.mark-all-read-btn:hover{background-color:rgba(var(--accent-primary-rgb),.08)}.notification-tabs{display:flex;padding:0 16px;border-bottom:1px solid var(--border-color);background-color:var(--background-secondary)}.notification-tab{flex:1;background:none;border:none;color:var(--text-secondary);font-weight:600;font-size:.85rem;padding:12px 0;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s}.notification-tab:hover{color:var(--text-primary)}.notification-tab.active{color:var(--accent-primary);border-bottom-color:var(--accent-primary)}.notification-list{max-height:450px;overflow-y:auto;background-color:var(--background-primary);padding:8px;display:flex;flex-direction:column;gap:8px}.notification-list::-webkit-scrollbar{width:6px}.notification-list::-webkit-scrollbar-track{background:transparent}.notification-list::-webkit-scrollbar-thumb{background-color:var(--border-color);border-radius:10px}.no-notifications{padding:40px 20px;text-align:center;color:var(--text-secondary);display:flex;flex-direction:column;align-items:center;gap:12px;opacity:.7}.no-notifications i{font-size:48px;color:var(--border-color)}.notification-item{display:flex;gap:12px;padding:14px;border-radius:12px;background-color:var(--background-secondary);border:1px solid var(--border-color);cursor:default;transition:all .2s ease;position:relative;overflow:hidden;border-left:4px solid transparent}.notification-item.clickable{cursor:pointer}.notification-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.notification-item.unread{background-color:var(--background-secondary);border-color:transparent;box-shadow:0 2px 8px #0000000d}.notification-item.read{opacity:.7;background-color:transparent;border-color:transparent;box-shadow:none}.notification-item.read:hover{opacity:1;background-color:var(--background-secondary)}.notification-item.type-critico{border-left-color:#ea4335}.notification-item.type-aviso{border-left-color:#ffc107}.notification-item.type-novo{border-left-color:#4285f4}.notification-item.type-lembrete{border-left-color:#34a853}.notif-icon-wrapper{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px;margin-top:2px}.notification-item.type-critico .notif-icon-wrapper{background-color:#ea43351a;color:#ea4335}.notification-item.type-aviso .notif-icon-wrapper{background-color:#ffc1071a;color:#ffc107}.notification-item.type-novo .notif-icon-wrapper{background-color:#4285f41a;color:#4285f4}.notification-item.type-lembrete .notif-icon-wrapper{background-color:#34a8531a;color:#34a853}.notification-content{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.notif-header-line{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.notification-content .title{font-weight:700;font-size:.9rem;color:var(--text-primary);line-height:1.3}.notification-content .time{font-size:.7rem;color:var(--text-secondary);white-space:nowrap;font-weight:500}.notification-content .description{font-size:.85rem;color:var(--text-secondary);line-height:1.4;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notif-action-indicator{display:flex;align-items:center;gap:4px;font-size:.75rem;font-weight:600;color:var(--accent-primary);margin-top:6px;opacity:.8;transition:opacity .2s,transform .2s}.notification-item:hover .notif-action-indicator{opacity:1;transform:translate(4px)}.unread-dot{width:8px;height:8px;background-color:var(--accent-primary);border-radius:50%;position:absolute;top:12px;right:12px;box-shadow:0 0 0 2px var(--background-secondary)}@media(max-width:480px){.notification-panel{position:fixed;top:70px;left:10px;right:10px;width:auto;max-width:none}}.tool-modal-overlay{position:fixed;inset:0;background-color:#000000b3;z-index:1000;opacity:0;pointer-events:none;transition:opacity .4s cubic-bezier(.4,0,.2,1)}.tool-modal-overlay.visible{opacity:1;pointer-events:auto}.tool-modal-container{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.95);width:80vw;height:85vh;max-width:1400px;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 12px 32px #0003;z-index:1001;display:flex;flex-direction:column;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .4s cubic-bezier(.4,0,.2,1),transform .4s cubic-bezier(.4,0,.2,1),background-color .3s ease,border-color .3s ease}.tool-modal-container.confirmation{width:90%;max-width:450px;height:auto}.tool-modal-container.visible{opacity:1;transform:translate(-50%,-50%) scale(1);pointer-events:auto}.tool-modal-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid var(--border-color);flex-shrink:0;transition:border-color .3s ease}.tool-modal-title{font-size:1.1rem;font-weight:600}.tool-modal-close-btn{background:none;border:none;color:var(--text-secondary);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,color .2s}.tool-modal-close-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.tool-modal-close-btn i{font-size:24px}.tool-modal-body{flex-grow:1;overflow:hidden}.confirmation .tool-modal-body{padding:24px;overflow:visible}.confirmation-message{color:var(--text-secondary);line-height:1.6;margin-bottom:24px}.confirmation-message strong{color:var(--text-primary)}.confirmation-actions{display:flex;justify-content:flex-end;gap:12px}.tool-modal-body iframe{width:100%;height:100%;border:none}.qs-modal-container{width:700px;max-width:95vw;height:85vh;display:flex;flex-direction:column;background-color:var(--background-secondary);border-radius:16px;box-shadow:0 25px 50px -12px #00000080;overflow:hidden}.qs-modal-container .tool-modal-body{padding:0;overflow:hidden;display:flex;flex-direction:column;background-color:var(--background-primary)}.qs-protocol-header{background-color:var(--background-secondary);padding:16px 24px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.qs-protocol-info{display:flex;flex-direction:column;gap:4px}.qs-protocol-info h3{margin:0;font-size:1.1rem;color:var(--text-primary);font-weight:700}.qs-protocol-number{font-family:monospace;font-size:.85rem;color:var(--text-secondary);background-color:var(--background-tertiary);padding:2px 8px;border-radius:4px;border:1px solid var(--border-color);width:fit-content}.qs-status-badge{padding:6px 12px;border-radius:20px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;gap:6px;box-shadow:0 2px 4px #0000000d}.qs-status-badge.open{background-color:#2196f31a;color:#2196f3;border:1px solid rgba(33,150,243,.2)}.qs-status-badge.in_progress{background-color:#ffc1071a;color:#f57c00;border:1px solid rgba(255,193,7,.2)}.qs-status-badge.closed{background-color:#34a8531a;color:#34a853;border:1px solid rgba(52,168,83,.2)}.qs-timeline-container{flex-grow:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:24px}.qs-timeline-card{border:1px solid var(--border-color);border-radius:12px;padding:20px;position:relative;transition:transform .2s}.qs-timeline-card.request{background-color:var(--background-secondary);border-left:4px solid var(--accent-primary)}.qs-timeline-card.resolution{background-color:#34a8530d;border:1px solid rgba(52,168,83,.3);border-left:4px solid #34A853}.qs-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px dashed var(--border-color)}.qs-actor-info{display:flex;align-items:center;gap:12px}.qs-actor-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;box-shadow:0 2px 5px #0000001a}.qs-actor-avatar.requester{background-color:var(--accent-primary)}.qs-actor-avatar.agent{background-color:#34a853}.qs-actor-name{font-weight:700;font-size:.9rem;color:var(--text-primary)}.qs-card-time{font-size:.8rem;color:var(--text-secondary);font-weight:500}.qs-card-body{font-size:.95rem;line-height:1.6;color:var(--text-primary);white-space:pre-wrap}.qs-meta-row{display:flex;gap:16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-color);font-size:.85rem;color:var(--text-secondary)}.qs-meta-row strong{color:var(--text-primary);font-weight:600}.qs-modal-footer{padding:20px 24px;background-color:var(--background-secondary);border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:12px;flex-shrink:0}.qs-modal-actions{display:flex;justify-content:space-between;align-items:center}.qs-textarea{width:100%;height:80px;padding:12px;border-radius:8px;border:1px solid var(--border-color);background-color:var(--background-primary);color:var(--text-primary);resize:none;outline:none;font-family:inherit;font-size:.95rem;transition:border-color .2s}.qs-textarea:focus{border-color:var(--accent-primary);box-shadow:0 0 0 2px rgba(var(--accent-primary-rgb),.1)}.qs-timeline-arrow{text-align:center;color:var(--text-secondary);font-size:24px;opacity:.5;margin:-12px 0;z-index:1}@media print{body *{visibility:hidden}.qs-modal-container,.qs-modal-container *{visibility:visible}.qs-modal-container{position:absolute;left:0;top:0;width:100%;height:auto;max-width:100%;border:none;box-shadow:none;background-color:#fff!important;color:#000!important;overflow:visible}.tool-modal-header button,.qs-modal-footer,.qs-modal-actions button{display:none!important}.qs-timeline-card{break-inside:avoid;border:1px solid #000!important;background-color:#fff!important;box-shadow:none!important;margin-bottom:20px}}.qs-dropdown-container{position:relative;display:flex;align-items:center}.qs-trigger-btn{background-color:var(--background-secondary);border:1px solid var(--border-color);color:var(--text-secondary);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative}.qs-trigger-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary);border-color:var(--accent-primary)}.qs-trigger-btn.active{background-color:var(--background-secondary);color:var(--accent-primary);border-color:var(--accent-primary);box-shadow:0 0 0 3px rgba(var(--accent-primary-rgb),.1)}.qs-trigger-btn i{font-size:22px}.qs-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;background-color:var(--color-danger);color:#fff;border-radius:9px;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid var(--background-secondary);animation:popIn .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes popIn{0%{transform:scale(0)}70%{transform:scale(1.2)}to{transform:scale(1)}}.qs-dropdown-panel{position:absolute;top:calc(100% + 12px);right:-80px;width:380px;max-width:90vw;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 12px 32px #00000026;z-index:1100;overflow:hidden;display:flex;flex-direction:column;animation:slideDownFade .2s ease-out;transform-origin:top right}@keyframes slideDownFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.qs-dropdown-header{padding:12px 16px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background-color:var(--background-secondary)}.qs-dropdown-header h3{font-size:1rem;font-weight:600;margin:0;display:flex;align-items:center;gap:8px;color:var(--text-primary)}.mark-read-text{font-size:.75rem;color:var(--accent-primary);cursor:pointer;font-weight:600;padding:4px 8px;border-radius:4px;transition:background-color .2s}.mark-read-text:hover{background-color:rgba(var(--accent-primary-rgb),.1)}.qs-notification-list{max-height:400px;overflow-y:auto;background-color:var(--background-primary)}.qs-notification-card{padding:12px 16px;border-bottom:1px solid var(--border-color);cursor:pointer;transition:background-color .2s;position:relative;display:flex;gap:12px;background-color:var(--background-secondary)}.qs-notification-card:hover{background-color:var(--background-tertiary)}.qs-notification-card.unread{background-color:rgba(var(--accent-primary-rgb),.03)}.qs-notification-card.unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:var(--accent-primary)}.qs-status-icon{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px;background-color:var(--background-tertiary);color:var(--text-secondary);margin-top:4px}.qs-status-icon.success{background-color:#34a85326;color:#34a853}.qs-status-icon.pending{background-color:#ffc10726;color:#f57c00}.qs-card-content{flex:1;display:flex;flex-direction:column;gap:4px;overflow:hidden}.qs-card-top{display:flex;justify-content:space-between;align-items:flex-start}.qs-service-title{font-size:.85rem;font-weight:600;color:var(--text-primary);line-height:1.3;margin-right:8px}.qs-time-ago{font-size:.7rem;color:var(--text-secondary);white-space:nowrap}.qs-meta-info{font-size:.75rem;color:var(--text-secondary);display:flex;flex-wrap:wrap;gap:10px;margin-bottom:4px}.qs-meta-info span{display:flex;align-items:center;gap:4px}.qs-response-snippet{background-color:var(--background-primary);border:1px solid var(--border-color);padding:8px;border-radius:6px;font-size:.8rem;color:var(--text-primary);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:italic}.qs-dropdown-footer{padding:12px;border-top:1px solid var(--border-color);text-align:center;background-color:var(--background-secondary)}.qs-view-all-btn{background:none;border:1px solid var(--border-color);color:var(--text-primary);font-weight:600;font-size:.85rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:8px;border-radius:8px;transition:all .2s}.qs-view-all-btn:hover{background-color:var(--background-tertiary);border-color:var(--text-secondary)}@media(max-width:768px){.qs-dropdown-panel{position:fixed;top:60px;right:10px;left:10px;width:auto;max-width:none}}.main-header{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--border-color);transition:border-color .3s ease;flex-shrink:0;position:relative;z-index:10}.no-sidebar .main-header{max-width:1600px;margin-left:auto;margin-right:auto;width:100%}.header-left{min-width:0}.header-page-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.homepage-search-trigger{display:flex;flex-grow:1;max-width:600px;align-items:center;gap:12px;height:44px;background-color:var(--background-tertiary);border:1px solid var(--border-color);border-radius:12px;padding:0 16px;cursor:pointer;transition:all .2s ease;color:var(--text-secondary)}.homepage-search-trigger:hover{border-color:var(--accent-primary);background-color:var(--background-secondary);color:var(--text-primary)}.homepage-search-trigger i{font-size:22px;color:var(--accent-primary)}.homepage-search-trigger span{font-size:.95rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-right-controls{display:flex;align-items:center;gap:12px}.quick-actions-container{position:relative}.quick-actions-trigger{padding:10px 16px;font-size:.9rem}.actions-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:280px;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 8px 24px #0003;z-index:102;overflow:hidden;animation:fadeIn .2s ease-out;padding:8px}.actions-dropdown .dropdown-item{border-radius:6px}.user-profile-container{position:relative}.user-profile-trigger{display:flex;align-items:center;gap:12px;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:24px;padding:6px 12px 6px 6px;cursor:pointer;transition:var(--tran-03);color:var(--text-primary)}.user-profile-trigger:hover{border-color:var(--accent-primary);background-color:var(--background-secondary)}.profile-avatar-header{width:32px;height:32px;border-radius:50%;background-color:var(--background-primary);display:flex;align-items:center;justify-content:center;font-size:20px;color:var(--accent-primary);flex-shrink:0}.user-details-header{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.user-name{font-weight:600;font-size:.9rem;white-space:nowrap}.user-role{font-size:.8rem;color:var(--text-secondary);white-space:nowrap}.dropdown-arrow{font-size:20px;color:var(--text-secondary);transition:transform .2s ease-in-out}.dropdown-arrow.open{transform:rotate(180deg)}.user-profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:280px;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 8px 24px #0003;z-index:102;overflow:hidden;animation:fadeIn .2s ease-out;padding:8px}.dropdown-header{padding:16px;border-bottom:1px solid var(--border-color);margin:-8px -8px 8px}.dropdown-header h4{font-size:1rem;font-weight:600;margin:0 0 4px}.dropdown-header p{font-size:.85rem;color:var(--text-secondary);margin:0}.dropdown-item{display:flex;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;color:var(--text-primary);font-weight:500;transition:background-color .2s,color .2s;font-size:.9rem;border-radius:6px}.dropdown-divider{height:1px;background-color:var(--border-color);margin:8px 0}.dropdown-item:hover{background-color:var(--background-tertiary);color:var(--accent-primary)}.dropdown-item i{font-size:22px;color:var(--text-secondary);transition:color .2s ease}.dropdown-item:hover i{color:var(--accent-primary)}.dropdown-item.logout{color:var(--color-danger)}.dropdown-item.logout:hover{background-color:rgba(var(--color-danger-rgb),.1)}.dropdown-item.logout:hover i{color:var(--color-danger)}.theme-toggle-item{justify-content:space-between}.theme-toggle-item:hover{background-color:var(--background-secondary);color:var(--text-primary)}.theme-toggle-item:hover i{color:var(--text-secondary)}.switch{position:relative;display:inline-block;width:44px;height:24px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:var(--border-color);transition:.4s}.slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;transition:.4s}input:checked+.slider{background-color:var(--accent-primary)}input:focus+.slider{box-shadow:0 0 1px var(--accent-primary)}input:checked+.slider:before{transform:translate(20px)}.slider.round{border-radius:24px}.slider.round:before{border-radius:50%}@media(max-width:1200px){.header-search-bar{min-width:44px;width:44px;height:44px;border-radius:50%;padding:0;justify-content:center;gap:0}.header-search-bar span{display:none}.main-header{gap:16px}}.file-viewer-overlay{position:fixed;inset:0;background-color:#000000d9;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:fadeInOverlay .3s ease-out}.file-viewer-container{background-color:var(--background-secondary);width:100%;max-width:1000px;height:90vh;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 50px -12px #00000080;border:1px solid var(--border-color);animation:scaleIn .3s cubic-bezier(.16,1,.3,1)}.file-viewer-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background-color:var(--background-tertiary);border-bottom:1px solid var(--border-color);flex-shrink:0}.file-info{display:flex;align-items:center;gap:12px;color:var(--text-primary);font-weight:600;font-size:1rem;overflow:hidden}.file-info i{font-size:24px;color:var(--accent-primary)}.file-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.file-actions{display:flex;align-items:center;gap:12px}.viewer-btn{width:40px;height:40px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:24px;transition:all .2s ease}.viewer-btn.download{background-color:var(--background-primary);color:var(--text-primary);border:1px solid var(--border-color)}.viewer-btn.download:hover{background-color:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.viewer-btn.close{background-color:transparent;color:var(--text-secondary)}.viewer-btn.close:hover{background-color:#ea43351a;color:#ea4335}.file-viewer-body{flex-grow:1;background-color:var(--background-primary);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;padding:20px}.viewer-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px;box-shadow:0 4px 12px #0003}.viewer-frame{width:100%;height:100%;border:none;border-radius:4px;background-color:#fff}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:768px){.file-viewer-container{height:100%;border-radius:0}.file-name{max-width:150px}}.lucia-widget-container{position:fixed;bottom:20px;right:20px;z-index:999}.chat-overlay{position:fixed;inset:0;background-color:#00000080;z-index:998;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.chat-overlay.visible{opacity:1;pointer-events:auto}.chat-bubble{width:64px;height:64px;border-radius:50%;background-color:var(--accent-primary);color:#fff;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #0003;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out;animation:pulse-bubble-glow 2.5s infinite cubic-bezier(.66,0,0,1);position:relative}.chat-bubble:hover{transform:scale(1.1);animation:none;box-shadow:0 8px 24px rgba(var(--accent-primary-rgb),.4)}.chat-bubble svg{width:32px;height:32px}.cta-bubble{position:absolute;bottom:80px;right:0;background-color:var(--background-secondary);color:var(--text-primary);padding:10px 16px;border-radius:12px;box-shadow:0 4px 12px #00000026;white-space:nowrap;opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease;pointer-events:none}.cta-bubble.visible{opacity:1;transform:translateY(0)}.chat-window{position:fixed;bottom:20px;right:20px;width:480px;max-width:calc(100vw - 40px);height:80vh;max-height:800px;background-color:var(--background-primary);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 8px 24px #0003;display:flex;overflow:hidden;transform:scale(.95) translateY(10px);opacity:0;pointer-events:none;transition:transform .2s ease-in-out,opacity .2s ease-in-out;transform-origin:bottom right;z-index:999}.chat-window.open{transform:scale(1) translateY(0);opacity:1;pointer-events:auto}.chat-interface-container{width:100%;height:100%;display:flex;position:relative;overflow:hidden;background-color:var(--background-primary)}.history-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0006;z-index:19;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.chat-interface-container.history-open .history-overlay{opacity:1;pointer-events:auto}.chat-history-sidebar{position:absolute;top:0;left:0;height:100%;z-index:20;width:320px;background-color:var(--background-primary);border-right:1px solid var(--border-color);box-shadow:4px 0 15px #0003;display:flex;flex-direction:column;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.chat-interface-container.history-open .chat-history-sidebar{transform:translate(0)}.history-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border-color);flex-shrink:0}.history-header-title{display:flex;align-items:center;gap:12px}.history-header h3{font-size:1.1rem;font-weight:600;margin:0}.new-chat-history-btn,.close-history-btn{background:none;border:1px solid var(--border-color);color:var(--text-secondary);width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--tran-03)}.new-chat-history-btn:hover,.close-history-btn:hover{background-color:var(--background-tertiary);color:var(--accent-primary);border-color:var(--accent-primary)}.new-chat-history-btn i,.close-history-btn i{font-size:22px}.close-history-btn{border:none}.close-history-btn:hover{border:none;background-color:var(--background-tertiary);color:var(--text-primary)}.history-search-wrapper{position:relative;padding:12px 16px;border-bottom:1px solid var(--border-color);flex-shrink:0}.history-search-wrapper i{position:absolute;left:28px;top:50%;transform:translateY(-50%);color:var(--text-secondary)}.history-search-wrapper input{width:100%;height:36px;border-radius:8px;border:1px solid var(--border-color);background-color:var(--background-secondary);padding:0 12px 0 36px;color:var(--text-primary);outline:none}.history-search-wrapper input:focus{border-color:var(--accent-primary)}.history-list{flex-grow:1;overflow-y:auto;list-style:none;padding:8px;margin:0;display:flex;flex-direction:column}.history-group{margin-bottom:12px}.history-group-title{font-size:.75rem;font-weight:700;color:var(--text-secondary);text-transform:uppercase;padding:8px 12px}.history-item{position:relative;margin:0 4px 4px}.history-item-select-btn{width:100%;text-align:left;padding:10px 12px;background:none;border:1px solid transparent;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:background-color .2s;font-family:inherit;display:flex;flex-direction:column;gap:4px}.history-item:hover .history-item-select-btn{background-color:var(--background-tertiary)}.history-item.active .history-item-select-btn{background-color:var(--background-secondary);border-color:var(--border-color)}.history-item-title{font-weight:600;font-size:.9rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-item.active .history-item-title{color:var(--accent-primary)}.history-item-snippet{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-secondary)}.history-empty{text-align:center;color:var(--text-secondary);padding:20px;font-style:italic;font-size:.9rem}.history-load-more{padding:12px;display:flex;justify-content:center}.load-more-btn{background:none;border:1px solid var(--border-color);color:var(--accent-primary);padding:8px 16px;border-radius:20px;font-size:.85rem;cursor:pointer;font-weight:600;transition:background-color .2s}.load-more-btn:hover{background-color:var(--background-tertiary)}.chat-main-wrapper{width:100%;display:flex;flex-direction:column;overflow:hidden;background-color:var(--background-secondary)}.chat-header{background-color:var(--background-primary);display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border-color);flex-shrink:0;position:relative;z-index:11}.header-title{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-btn.history-btn{margin-right:4px}.header-title h2{font-size:1.1rem;font-weight:600;margin:0}.header-title span{font-size:.8rem;color:var(--text-secondary)}.header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.header-btn{background:none;border:none;color:var(--text-secondary);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,color .2s}.header-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.header-btn i,.header-btn svg{font-size:24px;width:24px;height:24px}.main-content{background-color:var(--background-primary);flex-grow:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.drag-drop-overlay{position:absolute;inset:0;background-color:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;z-index:10;border-radius:0 0 16px 16px}.initial-view{padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;gap:24px}.initial-view .welcome-header{display:flex;flex-direction:column;align-items:center;gap:16px}.initial-view .welcome-header .lucia-icon-welcome{width:64px;height:64px;color:var(--text-secondary)}.initial-view .welcome-header h2{font-size:1.5rem;margin:0}.initial-view .welcome-header p{color:var(--text-secondary);margin:0}.suggestion-list{display:flex;flex-direction:column;gap:12px;width:100%}.suggestion-item{background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:8px;padding:12px;text-align:left;display:flex;align-items:center;gap:12px;cursor:pointer;transition:background-color .2s,border-color .2s;color:var(--text-primary);width:100%}.suggestion-item:hover{background-color:var(--background-tertiary);border-color:var(--accent-primary)}.suggestion-item svg{color:var(--text-secondary);width:24px;height:24px}.chat-view{flex-grow:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.chat-area{flex-grow:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:20px;overflow-anchor:none}.new-message-indicator{position:absolute;bottom:10px;left:50%;transform:translate(-50%);background-color:var(--accent-primary);color:#fff;border:none;border-radius:20px;padding:6px 12px;font-size:.8rem;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0003;display:flex;align-items:center;gap:4px}@keyframes messageEntry{0%{opacity:0}to{opacity:1}}.message-container{display:flex;gap:12px;max-width:95%}.message-container.animate-in{animation:messageEntry .5s cubic-bezier(.2,.8,.2,1) forwards}.user-container{align-self:flex-end;flex-direction:row-reverse}.model-container,.agent-container{align-self:flex-start}.chat-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:flex-end;margin-bottom:4px}.user-avatar{background-color:var(--background-tertiary);color:var(--text-secondary)}.model-avatar{background-color:var(--accent-primary);color:#fff}.agent-avatar{background-color:var(--color-blue);color:#fff}.agent-avatar i{font-size:22px}.model-avatar svg{width:20px;height:20px}.message-content-wrapper{display:flex;flex-direction:column;gap:8px}.message-bubble{max-width:100%;padding:14px 20px;border-radius:20px;line-height:1.6;font-size:.95rem;box-shadow:var(--box-shadow);position:relative}.user-message{background-color:var(--accent-primary);color:#fff;border-bottom-right-radius:6px;box-shadow:0 4px 12px rgba(var(--accent-primary-rgb),.2)}.model-message,.agent-message{background-color:var(--background-secondary);color:var(--text-primary);border-bottom-left-radius:6px}.error-message{background-color:rgba(var(--color-danger-rgb),.1);border:1px solid var(--color-danger);color:var(--color-danger)}.agent-message-header{font-size:.8rem;font-weight:700;color:var(--color-blue);margin-bottom:8px}@keyframes textAppear{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.message-text{word-wrap:break-word;opacity:0;animation:textAppear .6s cubic-bezier(.25,.46,.45,.94) forwards}.message-text p{margin:0}.message-text p:not(:last-child){margin-bottom:.75em}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.queue-banner-enhanced{background:linear-gradient(135deg,var(--background-secondary) 0%,var(--background-tertiary) 100%);border-bottom:1px solid var(--border-color);padding:20px 24px;display:flex;flex-direction:column;gap:16px;font-size:.9rem;animation:fadeIn .3s ease-out;position:relative;overflow:hidden}.queue-banner-enhanced:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,var(--accent-primary),transparent);opacity:.6}.queue-status-header{display:flex;align-items:center;gap:10px;color:var(--text-secondary);font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;justify-content:center}.pulsing-dot{width:8px;height:8px;background-color:var(--accent-primary);border-radius:50%;animation:queuePulse 1.5s infinite}@keyframes queuePulse{0%{box-shadow:0 0 rgba(var(--accent-primary-rgb),.7)}70%{box-shadow:0 0 0 6px rgba(var(--accent-primary-rgb),0)}to{box-shadow:0 0 rgba(var(--accent-primary-rgb),0)}}.queue-stats-grid{display:flex;justify-content:space-around;align-items:center}.queue-stat-box{display:flex;flex-direction:column;align-items:center;gap:6px}.queue-divider-vertical{width:1px;height:40px;background-color:var(--border-color)}.q-label{font-size:.75rem;color:var(--text-secondary);text-transform:uppercase}.q-value-wrapper{display:flex;align-items:center;gap:8px;font-weight:700}.q-value-wrapper i{font-size:1.2rem;color:var(--text-secondary);opacity:.7}.q-value{font-size:1.4rem;font-weight:700;color:var(--text-primary);line-height:1}.q-value.position{color:var(--accent-primary);font-size:1.6rem}.q-value.timer{font-family:Courier New,Courier,monospace;font-variant-numeric:tabular-nums}.typing-indicator-container{display:flex;align-items:center;gap:4px;padding:6px 0;min-height:24px}.typing-dot{width:8px;height:8px;background-color:var(--text-primary);border-radius:50%;animation:typingBounce 1.4s infinite ease-in-out both;opacity:.6}.typing-dot:nth-child(1){animation-delay:-.32s}.typing-dot:nth-child(2){animation-delay:-.16s}@keyframes typingBounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.user-message .typing-dot{background-color:#fff;opacity:1}.handoff-status-message{align-self:center;background-color:var(--background-secondary);color:var(--text-secondary);padding:8px 16px;border-radius:20px;font-size:.85rem;font-style:italic;display:flex;align-items:center;gap:8px;border:1px solid var(--border-color);margin:10px auto 20px;position:relative;width:fit-content}.handoff-status-message.active{color:var(--color-blue);font-style:normal;font-weight:500}.system-message{align-self:center;background-color:var(--background-secondary);color:var(--text-secondary);padding:6px 14px;border-radius:16px;font-size:.8rem;font-style:italic;text-align:center;margin:10px 0;animation:fadeIn .4s ease-out forwards}.response-section{margin-top:1em}.response-section:first-child{margin-top:0}.response-section-header{font-weight:600;color:var(--text-primary);margin-bottom:.75em;display:flex;align-items:flex-start;gap:.5em}.response-section-content{padding-left:16px;margin-left:14px;border-left:2px solid var(--border-color);color:var(--text-secondary)}.response-section-content>*:first-child{margin-top:0}.response-section-content>*:last-child{margin-bottom:0}.response-section-content p,.response-section-content .markdown-list{color:var(--text-secondary)}.response-section-content p:not(:last-child){margin-bottom:.75em}.source-card-internal{margin:12px auto;display:flex;align-items:center;gap:12px;background-color:#fff8e1;border:1px solid #FFCC80;border-radius:12px;padding:10px 14px;width:fit-content;max-width:90%;position:relative}.dark-theme .source-card-internal{background-color:#ff98001a;border-color:#ff98004d}.source-icon-container{background-color:var(--accent-primary);color:#fff;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px;box-shadow:0 2px 5px #0000001a}.source-text-content{display:flex;flex-direction:column;line-height:1.2}.source-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);font-weight:700;margin-bottom:2px}.dark-theme .source-label{color:#ffcc80}.source-title{font-size:.85rem;font-weight:700;color:#e65100}.dark-theme .source-title{color:#fff3e0}.markdown-list{list-style-position:outside;padding-left:20px;margin:.75em 0;display:flex;flex-direction:column;gap:.5em}.markdown-code{background-color:var(--background-primary);border:1px solid var(--border-color);border-radius:4px;padding:2px 6px;font-family:monospace;font-size:.85em;color:var(--text-secondary)}.markdown-code-block{background-color:var(--background-primary);border:1px solid var(--border-color);border-radius:8px;padding:16px;font-family:monospace;font-size:.85em;white-space:pre-wrap;word-break:break-word;margin:.75em 0;position:relative}.markdown-code-block code{padding:0;background:none;border:none;color:var(--text-secondary)}.message-bubble .markdown-code-block .copy-kb-button{top:8px;right:8px;width:24px;height:24px;margin:0;opacity:1;background-color:var(--background-secondary)}.markdown-action-button{background-color:rgba(var(--accent-primary-rgb),.1);color:var(--accent-primary);border:1px solid transparent;border-radius:6px;padding:4px 8px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit;font-size:.9em;margin:0 4px}.markdown-action-button:hover{background-color:var(--accent-primary);color:#fff;box-shadow:0 2px 8px rgba(var(--accent-primary-rgb),.3)}.thinking-phase .model-avatar{position:relative}.thinking-phase .model-avatar:before{content:"";position:absolute;inset:-4px;border:2px solid rgba(var(--accent-primary-rgb),.5);border-radius:50%;animation:lucia-pulse 2s cubic-bezier(.66,0,0,1) infinite;z-index:-1}@keyframes lucia-pulse{0%{transform:scale(.9);opacity:.5}70%{transform:scale(1.4);opacity:0}to{transform:scale(.9);opacity:0}}.attachments-grid{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.attachment-item{cursor:pointer;transition:transform .2s}.attachment-item:hover{transform:translateY(-2px)}.image-wrapper{position:relative;max-width:150px;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.image-thumbnail{display:block;width:100%;height:auto;border-radius:8px}.image-wrapper .overlay{position:absolute;inset:0;background-color:#0000004d;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.image-wrapper:hover .overlay{opacity:1}.image-wrapper .overlay i{color:#fff;font-size:24px}.pdf-attachment-card{display:flex;align-items:center;gap:10px;background-color:var(--background-primary);padding:10px;border-radius:8px;border:1px solid var(--border-color);min-width:180px;transition:all .2s}.user-message .pdf-attachment-card{background-color:#ffffff1a;border-color:#fff3}.pdf-attachment-card:hover{background-color:var(--background-tertiary);border-color:var(--accent-primary)}.user-message .pdf-attachment-card:hover{background-color:#fff3}.pdf-details{flex:1;display:flex;flex-direction:column;overflow:hidden}.pdf-name{font-weight:500;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-size{font-size:.7rem;color:var(--text-secondary)}.user-message .pdf-size{color:#fffc}.pdf-icon-action{font-size:1.2rem;color:var(--text-secondary)}.user-message .pdf-icon-action{color:#fff}.quick-replies-container{display:flex;flex-wrap:wrap;gap:8px}.quick-reply-btn{background:var(--background-secondary);border:1px solid var(--border-color);color:var(--accent-primary);font-weight:500;padding:6px 12px;border-radius:16px;cursor:pointer;transition:background-color .2s}.quick-reply-btn:hover{background-color:var(--background-tertiary)}.message-actions{display:flex;align-items:center;gap:4px}.action-btn{background:none;border:1px solid transparent;color:var(--text-secondary);width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.action-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.action-btn.selected.up{color:#2e7d32;background-color:#2e7d321a}.action-btn.selected.down{color:var(--color-danger);background-color:rgba(var(--color-danger-rgb),.1)}.action-btn.playing{color:var(--accent-primary);background-color:rgba(var(--accent-primary-rgb),.1)}.action-btn.copied{color:#2e7d32;background-color:#2e7d3226;border-color:#2e7d324d;transform:scale(1.1)}.message-bubble .copy-button-wrapper{position:relative;padding-right:26px;display:block}.message-bubble .copy-kb-button{position:absolute;top:0;right:0;width:24px;height:24px;background-color:var(--background-primary);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s ease;z-index:5;margin-top:0}.message-bubble .copy-button-wrapper:hover .copy-kb-button,.message-bubble .copy-kb-button:focus,.message-bubble .copy-kb-button.copied{opacity:1}.message-bubble .copy-kb-button:hover{background-color:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.message-bubble .copy-kb-button.copied{background-color:#2e7d32;color:#fff;border-color:#2e7d32}.agent-message .copy-kb-button{background-color:#fff3e0;border-color:#ffcc80}.pending-action-controls,.feedback-form-container{background-color:var(--background-tertiary);border:1px solid var(--border-color);border-radius:12px;padding:12px;margin-top:8px;animation:fadeIn .3s ease-out}.pending-action-controls p,.feedback-form-container p{font-size:.9rem;font-weight:500;color:var(--text-secondary);margin:0 0 12px}.pending-action-buttons,.feedback-form-actions{display:flex;gap:8px;justify-content:flex-start}.pending-action-buttons button,.feedback-form-actions button{padding:6px 12px;font-size:.85rem;border-radius:6px}.feedback-form-container textarea{width:100%;background-color:var(--background-primary);border:1px solid var(--border-color);border-radius:6px;padding:8px;color:var(--text-primary);font-family:inherit;resize:vertical;min-height:60px;margin-bottom:8px}.feedback-quick-replies{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.feedback-quick-replies button{background:var(--background-primary);border:1px solid var(--border-color);color:var(--text-secondary);font-size:.8rem;padding:4px 8px;border-radius:16px;cursor:pointer;transition:all .2s}.feedback-quick-replies button:hover{background:var(--background-secondary);color:var(--text-primary)}.feedback-quick-replies button.selected{background-color:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.pending-action-info{display:flex;align-items:center;gap:8px;font-size:.85rem;font-style:italic;color:var(--text-secondary);padding:4px 8px;margin-top:8px;animation:fadeIn .3s ease-out}.pending-action-info i{font-size:1.2em}.suggested-action-card{display:block;background:linear-gradient(to bottom right,var(--background-secondary),var(--background-tertiary));border:1px solid var(--border-color);border-left:4px solid var(--accent-primary);border-radius:12px;padding:20px 24px;box-shadow:0 8px 24px #00000014;width:100%;max-width:90%;margin:12px auto;z-index:100;position:relative;min-height:80px}.suggested-action-card>*{display:flex}.action-text{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--text-primary);font-weight:600;font-size:1rem;margin-bottom:16px;text-align:center}.action-text i{color:var(--accent-primary);font-size:1.5rem;background-color:rgba(var(--accent-primary-rgb),.1);padding:10px;border-radius:50%;flex-shrink:0}.action-buttons{display:flex;gap:16px;justify-content:center}.btn-confirm{background-color:var(--accent-primary);color:#fff;border:none;padding:10px 24px;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s;box-shadow:0 4px 12px rgba(var(--accent-primary-rgb),.3)}.btn-confirm:hover{background-color:var(--accent-primary-hover);transform:translateY(-2px);box-shadow:0 6px 16px rgba(var(--accent-primary-rgb),.4)}.btn-cancel{background-color:transparent;color:var(--text-secondary);border:1px solid var(--border-color);padding:10px 24px;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s}.btn-cancel:hover{background-color:var(--background-tertiary);color:var(--text-primary);border-color:var(--text-secondary)}.input-bar-container{background-color:var(--background-primary);padding:12px;border-top:1px solid var(--border-color);flex-shrink:0}.input-bar{display:flex;flex-direction:column;gap:8px;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:12px;transition:border-color .2s}.input-bar:focus-within{border-color:var(--accent-primary)}.input-row{display:flex;align-items:center;gap:8px;padding:4px}.input-bar.has-files .input-row{border-top:1px solid var(--border-color);padding-top:12px;margin-top:4px}.input-bar input[type=text]{flex-grow:1;border:none;outline:none;background:transparent;color:var(--text-primary);font-size:1rem;height:40px;padding:0 8px}.input-bar .attach-btn,.input-bar .mic-btn,.input-bar button[type=submit]{background:none;border:none;color:var(--text-secondary);width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,color .2s}.input-bar .attach-btn:hover,.input-bar .mic-btn:hover,.input-bar button[type=submit]:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.input-bar .mic-btn.active{color:#fff;background-color:var(--color-danger)}.input-bar .mic-btn.active:hover{background-color:#a52020}.input-bar button[type=submit]{background-color:var(--accent-primary);color:#fff}.input-bar button[type=submit]:hover{background-color:var(--accent-primary-hover);color:#fff}.input-bar button:disabled{opacity:.5;cursor:not-allowed}.attachments-preview{padding:8px;display:flex;flex-wrap:wrap;gap:8px;max-height:100px;overflow-y:auto}.file-chip{display:flex;align-items:center;gap:8px;background-color:var(--background-primary);border:1px solid var(--border-color);padding:4px 8px;border-radius:6px;font-size:.85rem}.file-chip .file-info{display:flex;flex-direction:column}.file-chip .file-name{font-weight:500}.file-chip .file-size{font-size:.75rem;color:var(--text-secondary)}.remove-chip-btn{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:2px;display:flex;align-items:center;justify-content:center}.remove-chip-btn:hover{color:var(--color-danger)}.transcription-display{padding:12px 16px;border-bottom:1px solid var(--border-color);font-size:.9rem;display:flex;flex-direction:column;gap:8px;background-color:var(--background-secondary)}.transcription-line{display:flex;align-items:center;gap:8px;color:var(--text-secondary);min-height:24px}.transcription-line.user{color:var(--text-primary)}.transcription-line.model{color:var(--accent-primary)}.transcription-line svg{width:20px;height:20px;flex-shrink:0}.transcription-line span{font-style:italic}@keyframes pulse-bubble-glow{0%{box-shadow:0 4px 12px #0003,0 0 rgba(var(--accent-primary-rgb),.5)}70%{box-shadow:0 4px 12px #0003,0 0 0 14px rgba(var(--accent-primary-rgb),0)}to{box-shadow:0 4px 12px #0003,0 0 rgba(var(--accent-primary-rgb),0)}}.notification-toast{position:absolute;bottom:90px;right:0;width:380px;max-width:95vw;background-color:var(--background-secondary);border-radius:16px;border:1px solid var(--border-color);box-shadow:0 12px 32px #00000040;display:flex;align-items:center;padding:16px;gap:16px;cursor:pointer;animation:slideUpFadeIn .5s cubic-bezier(.16,1,.3,1) forwards;z-index:10}@keyframes slideUpFadeIn{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.toast-avatar{width:48px;height:48px;border-radius:50%;background-color:var(--background-tertiary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-avatar .bx-headphone{font-size:24px;color:var(--text-secondary)}.toast-avatar svg{width:24px;height:24px;color:var(--accent-primary)}.toast-text-content{flex-grow:1;overflow:hidden}.toast-sender{font-size:.95rem;font-weight:700;color:var(--text-primary);display:block;margin-bottom:2px}.toast-message{font-size:.9rem;color:var(--text-secondary);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast-close-btn{background:none;border:none;color:var(--text-secondary);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.toast-close-btn:hover{background-color:var(--background-tertiary);color:var(--text-primary)}.chat-badge{position:absolute;top:-4px;right:-4px;min-width:24px;height:24px;background-color:#ef4444;color:#fff;border-radius:12px;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;border:2px solid var(--background-secondary);animation:popIn .4s cubic-bezier(.175,.885,.32,1.275)}@keyframes popIn{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.chat-bubble.attention-ripple:before,.chat-bubble.attention-ripple:after{content:"";position:absolute;inset:0;border-radius:50%;background-color:var(--accent-primary);animation:ripple 2.5s infinite;z-index:-1}.chat-bubble.attention-ripple:after{animation-delay:1.25s}@keyframes ripple{0%{transform:scale(1);opacity:.6}to{transform:scale(1.8);opacity:0}}.splash-overlay{position:fixed;inset:0;background-color:#0009;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:2000;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .4s cubic-bezier(.4,0,.2,1);padding:20px}.splash-overlay.visible{opacity:1;pointer-events:auto}.splash-modal{background-color:var(--background-secondary);border-radius:20px;width:100%;max-width:900px;box-shadow:0 20px 50px -12px #00000080,0 0 0 1px #ffffff1a;display:flex;flex-direction:column;transform:scale(.95) translateY(20px);opacity:0;transition:opacity .4s ease,transform .5s cubic-bezier(.34,1.56,.64,1);overflow:hidden;border:1px solid var(--border-color);max-height:95vh}.splash-overlay.visible .splash-modal{opacity:1;transform:scale(1) translateY(0)}.splash-header-banner{background:linear-gradient(135deg,var(--background-secondary) 0%,var(--background-tertiary) 100%);padding:24px 32px;text-align:center;border-bottom:1px solid var(--border-color);position:relative;flex-shrink:0}.splash-icon-badge{width:56px;height:56px;background-color:var(--accent-primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 12px;box-shadow:0 8px 20px rgba(var(--accent-primary-rgb),.4);animation:pulse-badge 2s infinite}@keyframes pulse-badge{0%{box-shadow:0 0 rgba(var(--accent-primary-rgb),.4)}70%{box-shadow:0 0 0 12px rgba(var(--accent-primary-rgb),0)}to{box-shadow:0 0 rgba(var(--accent-primary-rgb),0)}}.splash-header-banner h2{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0 0 6px;letter-spacing:-.5px}.splash-header-banner p{color:var(--text-secondary);font-size:.95rem}.splash-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px 32px;background-color:var(--background-primary);align-items:stretch}.splash-card{background-color:var(--background-secondary);border-radius:12px;padding:24px;border:1px solid var(--border-color);display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease;opacity:0;transform:translateY(20px);animation:slideUpFade .6s cubic-bezier(.2,.8,.2,1) forwards;height:100%}@keyframes slideUpFade{to{opacity:1;transform:translateY(0)}}.splash-card:hover{transform:translateY(-3px);box-shadow:0 8px 16px #0000000f}.splash-card.info{border-left:4px solid var(--color-blue)}.splash-card.info .splash-card-header i{color:var(--color-blue);background-color:#4285f41a}.splash-card.warning{border-left:4px solid var(--accent-primary)}.splash-card.warning .splash-card-header i{color:var(--accent-primary);background-color:#ff66001a}.splash-card-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-color)}.splash-card-header i{font-size:24px;padding:8px;border-radius:10px;flex-shrink:0}.splash-card-header h3{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin:0;line-height:1.3}.splash-card-body{flex-grow:1;display:flex;flex-direction:column}.splash-card-body p{font-size:.9rem;line-height:1.5;color:var(--text-secondary);margin-bottom:12px}.splash-card-body ul{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:10px}.splash-card-body li{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;color:var(--text-primary);line-height:1.5;background-color:var(--background-tertiary);padding:8px 12px;border-radius:8px}.splash-card-body li i{color:var(--text-secondary);font-size:16px;margin-top:3px}.splash-card-footer-note{margin-top:auto;padding:16px;border-radius:10px;background-color:#fff8e1;border:1px solid #FFE082;color:#5d4037;display:flex;flex-direction:column;gap:12px}.dark-theme .splash-card-footer-note{background-color:#ffc10726;border-color:#ffc1074d;color:#ffd54f}.splash-card.info .splash-card-footer-note{background-color:var(--background-tertiary);border:1px solid var(--border-color);color:var(--text-primary)}.footer-note-row{font-size:.9rem;margin:0;font-style:normal;display:flex;align-items:center;gap:12px;line-height:1.4}.footer-note-row i{font-size:1.5em;flex-shrink:0;color:inherit;opacity:.8}.footer-note-row .highlight-text{font-weight:500}.splash-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 32px;background-color:var(--background-secondary);border-top:1px solid var(--border-color);flex-shrink:0}.dont-show-label{display:flex;align-items:center;gap:10px;cursor:pointer;color:var(--text-secondary);font-size:.9rem;-webkit-user-select:none;user-select:none}.checkbox-wrapper{position:relative;width:20px;height:20px}.checkbox-wrapper input{opacity:0;width:0;height:0;position:absolute}.custom-checkbox{position:absolute;top:0;left:0;width:20px;height:20px;background-color:var(--background-primary);border:2px solid var(--border-color);border-radius:5px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;color:#fff}.dont-show-label:hover .custom-checkbox{border-color:var(--accent-primary)}.checkbox-wrapper input:checked+.custom-checkbox{background-color:var(--accent-primary);border-color:var(--accent-primary)}.custom-checkbox i{font-size:16px;transform:scale(0);transition:transform .2s cubic-bezier(.4,0,.2,1)}.checkbox-wrapper input:checked+.custom-checkbox i{transform:scale(1)}.splash-close-btn{background-color:var(--text-primary);color:var(--background-secondary);border:none;padding:10px 28px;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #0000001a}.splash-close-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000026;background-color:var(--accent-primary);color:#fff}.dark-theme .splash-header-banner{background:linear-gradient(135deg,#242526,#1e1f20)}.dark-theme .splash-card{box-shadow:none}@media(max-width:768px){.splash-modal{width:95%;height:auto;max-height:90vh;border-radius:16px;transform:none!important;overflow-y:auto}.splash-content-grid{padding:16px;grid-template-columns:1fr;gap:16px}.splash-footer{padding:16px 20px;flex-direction:column-reverse;gap:16px}.splash-close-btn{width:100%}}.theme-choice-overlay{position:fixed;inset:0;background-color:#0009;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .4s cubic-bezier(.4,0,.2,1);padding:20px}.theme-choice-overlay.visible{opacity:1;pointer-events:auto}.theme-choice-modal{background-color:var(--background-secondary);border-radius:24px;width:100%;max-width:680px;padding:48px;box-shadow:0 25px 50px -12px #00000040;border:1px solid var(--border-color);transform:scale(.95) translateY(10px);opacity:0;transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s ease;text-align:center}.theme-choice-overlay.visible .theme-choice-modal{opacity:1;transform:scale(1) translateY(0)}.theme-modal-header{margin-bottom:40px;display:flex;flex-direction:column;align-items:center}.theme-logo-wrapper{width:64px;height:64px;background-color:var(--accent-primary);color:#fff;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;box-shadow:0 10px 20px rgba(var(--accent-primary-rgb),.3)}.theme-modal-header h2{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:8px;letter-spacing:-.5px}.theme-modal-header p{font-size:1.05rem;color:var(--text-secondary);max-width:400px;line-height:1.5}.theme-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.theme-option-card{background-color:transparent;border:2px solid var(--border-color);border-radius:20px;padding:24px;cursor:pointer;transition:all .3s ease;display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden}.theme-option-card:hover{border-color:var(--accent-primary);transform:translateY(-4px);background-color:var(--background-primary)}.theme-preview{width:100%;height:140px;border-radius:12px;margin-bottom:20px;position:relative;overflow:hidden;display:flex;box-shadow:0 4px 12px #00000014;transition:transform .3s ease}.theme-option-card:hover .theme-preview{transform:scale(1.02)}.preview-sidebar{width:25%;height:100%;border-right:1px solid rgba(0,0,0,.1)}.preview-content{flex-grow:1;padding:12px;display:flex;flex-direction:column;gap:8px}.preview-header{width:100%;height:16px;border-radius:4px;opacity:.8}.preview-line{width:80%;height:8px;border-radius:4px;opacity:.5}.preview-line.short{width:50%}.light-preview{background-color:#f9fafb;border:1px solid #e5e7eb}.light-preview .preview-sidebar{background-color:#fff;border-right:1px solid #e5e7eb}.light-preview .preview-header,.light-preview .preview-line{background-color:#d1d5db}.dark-preview{background-color:#18191a;border:1px solid #3a3b3c}.dark-preview .preview-sidebar{background-color:#242526;border-right:1px solid #3a3b3c}.dark-preview .preview-header,.dark-preview .preview-line{background-color:#4e4f50}.theme-icon-badge{position:absolute;bottom:12px;right:12px;width:32px;height:32px;background-color:var(--accent-primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 4px 10px rgba(var(--accent-primary-rgb),.4);z-index:2}.theme-option-card h3{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin-bottom:4px}.theme-option-card span{font-size:.9rem;color:var(--text-secondary)}@media(max-width:600px){.theme-choice-grid{grid-template-columns:1fr}.theme-choice-modal{padding:32px 24px}}.onboarding-modal-compact{display:grid;grid-template-columns:260px 1fr;max-width:800px!important;width:90%;padding:0!important;border-radius:16px;overflow:hidden;background-color:var(--background-secondary);box-shadow:0 25px 50px -12px #00000040;text-align:left;min-height:420px;border:1px solid var(--border-color)}.onboarding-left-panel{background-color:var(--background-primary);border-right:1px solid var(--border-color);padding:32px;display:flex;flex-direction:column;justify-content:space-between;position:relative}.lucia-avatar-compact{width:56px;height:56px;background-color:var(--accent-primary);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;box-shadow:0 8px 20px rgba(var(--accent-primary-rgb),.3)}.onboarding-text-content h1{font-size:1.6rem;line-height:1.2;margin-bottom:12px;font-weight:700;color:var(--text-primary)}.onboarding-text-content p{font-size:.9rem;color:var(--text-secondary);line-height:1.5}.onboarding-text-content strong{color:var(--accent-primary)}.compact-start-btn{background-color:var(--text-primary);color:var(--background-primary);border:none;padding:12px 20px;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:transform .2s,box-shadow .2s;margin-top:24px;width:100%}.compact-start-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.onboarding-right-panel{padding:40px;background-color:var(--background-secondary);display:flex;flex-direction:column;justify-content:center}.onboarding-right-panel h3{font-size:.9rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;margin-bottom:24px;font-weight:700}.feature-list{display:flex;flex-direction:column;gap:24px}.feature-item{display:flex;align-items:flex-start;gap:16px}.feature-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;transition:transform .2s}.feature-item:hover .feature-icon{transform:scale(1.1)}.feature-icon.purple{background-color:#9b59b61a;color:#9b59b6}.feature-icon.orange{background-color:#ff66001a;color:#f60}.feature-icon.blue{background-color:#4285f41a;color:#4285f4}.feature-text h4{font-size:.95rem;margin:0 0 4px;color:var(--text-primary);font-weight:600}.feature-text p{font-size:.85rem;color:var(--text-secondary);margin:0;line-height:1.4}kbd{background-color:var(--background-primary);border:1px solid var(--border-color);border-bottom:2px solid var(--border-color);border-radius:4px;padding:1px 6px;font-family:monospace;font-size:.75rem;font-weight:600;color:var(--text-primary);display:inline-block}@media(max-width:700px){.onboarding-modal-compact{grid-template-columns:1fr;max-width:400px!important;height:auto;overflow-y:auto}.onboarding-left-panel{padding:24px;align-items:center;text-align:center;border-right:none;border-bottom:1px solid var(--border-color)}.lucia-avatar-compact{margin-bottom:16px}.compact-start-btn{margin-top:20px}.onboarding-right-panel{padding:24px}.feature-list{gap:20px}}.broadcast-overlay{position:fixed;inset:0;background-color:#000000d9;z-index:9999;display:flex;align-items:center;justify-content:center;animation:fadeInOverlay .3s ease-out;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.broadcast-card{background-color:var(--background-secondary);width:90%;max-width:480px;border-radius:16px;padding:40px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 20px 50px #00000080;border:1px solid var(--border-color);border-top:8px solid transparent;animation:slideUpBroadcast .4s cubic-bezier(.175,.885,.32,1.275);position:relative;overflow:hidden}.broadcast-overlay.critical .broadcast-card,.preview-overlay-mock.critical .broadcast-card{border-top-color:var(--color-danger);box-shadow:0 20px 60px rgba(var(--color-danger-rgb),.25)}.broadcast-overlay.critical .broadcast-icon-wrapper,.preview-overlay-mock.critical .broadcast-icon-wrapper{color:var(--color-danger);background-color:rgba(var(--color-danger-rgb),.1);animation:pulse-danger 2s infinite}.broadcast-overlay.critical .broadcast-content h3,.preview-overlay-mock.critical .broadcast-content h3{color:var(--color-danger)}.broadcast-overlay.critical .broadcast-close-btn,.preview-overlay-mock.critical .broadcast-close-btn{background-color:var(--color-danger);color:#fff}.broadcast-overlay.critical .broadcast-close-btn:hover,.preview-overlay-mock.critical .broadcast-close-btn:hover{background-color:#b71c1c}.broadcast-overlay.warning .broadcast-card,.preview-overlay-mock.warning .broadcast-card{border-top-color:#ffc107;box-shadow:0 20px 60px #ffc10733}.broadcast-overlay.warning .broadcast-icon-wrapper,.preview-overlay-mock.warning .broadcast-icon-wrapper{color:#f57c00;background-color:#ffc10726}.broadcast-overlay.warning .broadcast-content h3,.preview-overlay-mock.warning .broadcast-content h3{color:#f57c00}.broadcast-overlay.warning .broadcast-close-btn,.preview-overlay-mock.warning .broadcast-close-btn{background-color:#ffc107;color:#3e2723}.broadcast-overlay.warning .broadcast-close-btn:hover,.preview-overlay-mock.warning .broadcast-close-btn:hover{background-color:#ffb300}.broadcast-overlay.info .broadcast-card,.preview-overlay-mock.info .broadcast-card{border-top-color:var(--color-blue);box-shadow:0 20px 60px #4285f433}.broadcast-overlay.info .broadcast-icon-wrapper,.preview-overlay-mock.info .broadcast-icon-wrapper{color:var(--color-blue);background-color:#4285f41a}.broadcast-overlay.info .broadcast-content h3,.preview-overlay-mock.info .broadcast-content h3{color:var(--color-blue)}.broadcast-overlay.info .broadcast-close-btn,.preview-overlay-mock.info .broadcast-close-btn{background-color:var(--color-blue);color:#fff}.broadcast-overlay.info .broadcast-close-btn:hover,.preview-overlay-mock.info .broadcast-close-btn:hover{background-color:#3367d6}.broadcast-overlay.success .broadcast-card,.preview-overlay-mock.success .broadcast-card{border-top-color:#34a853;box-shadow:0 20px 60px #34a85333}.broadcast-overlay.success .broadcast-icon-wrapper,.preview-overlay-mock.success .broadcast-icon-wrapper{color:#34a853;background-color:#34a8531a}.broadcast-overlay.success .broadcast-content h3,.preview-overlay-mock.success .broadcast-content h3{color:#34a853}.broadcast-overlay.success .broadcast-close-btn,.preview-overlay-mock.success .broadcast-close-btn{background-color:#34a853;color:#fff}.broadcast-overlay.success .broadcast-close-btn:hover,.preview-overlay-mock.success .broadcast-close-btn:hover{background-color:#2d8e47}.broadcast-icon-wrapper{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:24px;font-size:40px;flex-shrink:0}.broadcast-content{width:100%}.broadcast-content h3{font-size:1.1rem;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:16px}.broadcast-message{font-size:1.15rem;font-weight:500;color:var(--text-primary);line-height:1.5;margin-bottom:24px;white-space:pre-line}.broadcast-footer{font-size:.85rem;color:var(--text-secondary);margin-bottom:32px;font-style:italic;opacity:.8}.broadcast-close-btn{border:none;padding:14px 40px;border-radius:12px;font-weight:700;font-size:1rem;cursor:pointer;transition:transform .2s,background-color .2s;width:100%;text-transform:uppercase;letter-spacing:.5px}.broadcast-close-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}@keyframes slideUpBroadcast{0%{opacity:0;transform:translateY(50px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pulse-danger{0%{box-shadow:0 0 rgba(var(--color-danger-rgb),.4)}70%{box-shadow:0 0 0 15px rgba(var(--color-danger-rgb),0)}to{box-shadow:0 0 rgba(var(--color-danger-rgb),0)}}.global-search-overlay{position:fixed;inset:0;background-color:#00000080;z-index:1050;display:flex;justify-content:center;padding-top:10vh;animation:fadeInOverlay .3s ease-out}@keyframes fadeInOverlay{0%{opacity:0}to{opacity:1}}.global-search-container{width:100%;max-width:700px;height:fit-content;max-height:70vh;background-color:var(--background-secondary);border-radius:16px;box-shadow:0 16px 48px #0000004d;display:flex;flex-direction:column;overflow:hidden;animation:slideDownSearch .4s cubic-bezier(.16,1,.3,1);border:1px solid var(--border-color)}@keyframes slideDownSearch{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.search-input-wrapper{display:flex;align-items:center;padding:0 20px;height:60px;flex-shrink:0;border-bottom:1px solid var(--border-color)}.search-input-wrapper i{font-size:24px;color:var(--text-secondary);margin-right:16px}.search-input-wrapper input{flex-grow:1;height:100%;border:none;background:transparent;outline:none;color:var(--text-primary);font-size:1.1rem;font-weight:500}.close-search-btn{background:var(--background-tertiary);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:6px;padding:4px 8px;font-size:.8rem;font-weight:600;cursor:pointer;margin-left:16px}.search-results-wrapper{overflow-y:auto;padding:8px}.search-results-list{list-style:none;padding:0;margin:0}.search-results-list li a{display:flex;align-items:center;padding:12px;border-radius:8px;text-decoration:none;color:var(--text-primary);transition:background-color .2s ease}.search-results-list li a:hover,.search-results-list li a:focus{background-color:var(--background-tertiary);outline:none}.result-icon{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background-color:var(--background-tertiary);border-radius:8px;margin-right:12px}.result-icon i{font-size:20px;color:var(--text-secondary)}.result-text .result-title{font-weight:500}.search-no-results{padding:32px 20px;text-align:center;color:var(--text-secondary)}.search-no-results p{margin:0 0 8px}.search-cta-section{padding:20px;text-align:center;border-top:1px solid var(--border-color);margin-top:8px}.search-cta-section p{color:var(--text-secondary);margin-bottom:12px}.lucia-cta-btn{background:none;border:1px solid var(--border-color);color:var(--accent-primary);padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:var(--tran-03)}.lucia-cta-btn:hover{background-color:var(--accent-primary);color:#fff;border-color:var(--accent-primary)}.lucia-cta-btn i{font-size:20px}.notification-toast-overlay{position:fixed;top:90px;right:24px;z-index:11000;display:flex;flex-direction:column;gap:12px;pointer-events:none}.notification-toast-card{pointer-events:auto;width:360px;max-width:90vw;background-color:var(--background-secondary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 10px 40px #0003,0 4px 12px #0000001a;display:flex;flex-direction:column;overflow:hidden;position:relative;cursor:default;animation:toastSlideIn .5s cubic-bezier(.34,1.56,.64,1) forwards;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .2s ease,box-shadow .2s ease}.notification-toast-card:hover{transform:translateY(-2px);box-shadow:0 15px 50px #00000040}.notification-toast-card.clickable{cursor:pointer}.notification-toast-card.exiting{animation:toastSlideOut .4s cubic-bezier(.5,0,.75,0) forwards}.notification-toast-card.type-critico{border-left:4px solid #EA4335}.notification-toast-card.type-aviso{border-left:4px solid #FFC107}.notification-toast-card.type-novo{border-left:4px solid #4285F4}.notification-toast-card.type-lembrete{border-left:4px solid #34A853}.toast-main-row{padding:16px;display:flex;gap:14px;align-items:flex-start}.toast-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:22px;box-shadow:0 4px 10px #0000000d}.type-critico .toast-icon{background-color:#ea43351a;color:#ea4335}.type-aviso .toast-icon{background-color:#ffc1071a;color:#ffc107}.type-novo .toast-icon{background-color:#4285f41a;color:#4285f4}.type-lembrete .toast-icon{background-color:#34a8531a;color:#34a853}.toast-text{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.toast-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.toast-title{font-size:.95rem;font-weight:700;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.toast-time{font-size:.7rem;color:var(--text-secondary);opacity:.8;font-weight:500}.toast-description{font-size:.85rem;color:var(--text-secondary);line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.toast-action-row{background-color:var(--background-tertiary);padding:10px 16px;display:flex;align-items:center;justify-content:space-between;font-size:.85rem;font-weight:600;color:var(--accent-primary);border-top:1px solid var(--border-color);transition:background-color .2s}.notification-toast-card:hover .toast-action-row{background-color:rgba(var(--accent-primary-rgb),.05)}.toast-action-row i{font-size:1.1rem;transition:transform .2s}.notification-toast-card:hover .toast-action-row i{transform:translate(4px)}.toast-close-btn{position:absolute;top:8px;right:8px;background:transparent;border:none;color:var(--text-secondary);cursor:pointer;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:.6;transition:all .2s;z-index:5}.toast-close-btn:hover{background-color:#0000000d;color:var(--color-danger);opacity:1}.toast-progress-bar{position:absolute;bottom:0;left:0;height:3px;width:100%;transform-origin:left;animation:toastProgress linear forwards}.notification-toast-card:hover .toast-progress-bar{animation-play-state:paused}.type-critico .toast-progress-bar{background-color:#ea4335}.type-aviso .toast-progress-bar{background-color:#ffc107}.type-novo .toast-progress-bar{background-color:#4285f4}.type-lembrete .toast-progress-bar{background-color:#34a853}@keyframes toastSlideIn{0%{opacity:0;transform:translate(50px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes toastSlideOut{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100px) scale(.9)}}@keyframes toastProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}
