.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.auth-card{animation:slideUp .5s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000001a;max-width:450px;padding:40px;width:100%}.register-card{max-width:600px}.auth-header{margin-bottom:32px;text-align:center}.auth-logo{align-items:center;display:flex;gap:12px;justify-content:center;margin-bottom:24px}.auth-logo-image{height:80px;max-width:200px;object-fit:contain;width:auto}.auth-logo h1{color:#1e293b;font-size:28px;font-weight:700;margin:0}.auth-header h2{color:#1e293b;font-size:24px;font-weight:600;margin:0 0 8px}.auth-header p{color:#64748b;margin:0}.auth-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626}.auth-error,.auth-success{align-items:center;display:flex;font-size:14px;gap:8px;margin-bottom:24px;padding:12px 16px}.auth-success{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;color:#16a34a}.auth-info,.auth-success{animation:slideDown .3s ease-out}.auth-info{align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#2563eb;display:flex;font-size:13px;gap:8px;margin-bottom:16px;padding:10px 16px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.auth-success svg{animation:spin 2s linear infinite}.auth-form{display:flex;flex-direction:column;gap:20px}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:#9ca3af;left:12px;pointer-events:none;position:absolute;z-index:0}.input-wrapper input{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:14px;padding:12px;transition:all .2s ease;width:100%}.input-wrapper input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.input-wrapper input::placeholder,.password-toggle{color:#9ca3af}.password-toggle:hover{color:#6b7280}.role-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.role-info p{color:#1e293b;font-size:14px;margin:0 0 4px}.role-info small{color:#64748b;font-size:12px}.auth-button{background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-top:8px;padding:14px;transition:all .2s ease;width:100%}.auth-button:hover:not(:disabled){background:#2563eb;box-shadow:0 4px 12px #3b82f666;transform:translateY(-1px)}.auth-button:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.auth-footer{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:24px;text-align:center}.auth-footer p{color:#64748b;margin:0}.auth-link{color:#3b82f6;font-weight:500;text-decoration:none;transition:color .2s ease}.auth-link:hover{color:#2563eb;text-decoration:underline}.demo-credentials{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:24px;padding:16px}.demo-credentials h4{color:#1e293b;font-size:14px;font-weight:600;margin:0 0 12px}.demo-credentials p{color:#64748b;font-size:13px;margin:4px 0}.demo-button{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;color:#475569;cursor:pointer;font-size:12px;margin-top:8px;padding:8px 12px;transition:all .2s ease;width:100%}.demo-button:hover{background:#e2e8f0;border-color:#94a3b8}.auth-cache-controls{border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:20px 0;padding:16px}.cache-clear-button{align-items:center;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;gap:8px;justify-content:center;min-width:140px;padding:10px 16px;transition:all .2s ease}.cache-clear-button:hover{background:#e5e7eb;border-color:#9ca3af;color:#374151}.cache-clear-button:disabled{cursor:not-allowed;opacity:.5}.cache-clear-button.auth-cache{background:#fef3c7;border-color:#fbbf24;color:#92400e}.cache-clear-button.auth-cache:hover{background:#fde68a;border-color:#f59e0b;color:#78350f}.cache-clear-button svg{height:16px;width:16px}@media (max-width:768px){.auth-container{padding:16px}.auth-card{padding:24px}.auth-card,.register-card{max-width:100%}.form-row{gap:20px;grid-template-columns:1fr}.auth-logo h1{font-size:24px}.auth-header h2{font-size:20px}}@media (max-width:480px){.auth-card{padding:20px}.input-wrapper input{padding:10px 10px 10px 40px}.auth-button{font-size:14px;padding:12px}.auth-cache-controls{align-items:center;flex-direction:column;margin:16px 0;padding:12px}.cache-clear-button{font-size:13px;max-width:200px;padding:12px 16px;width:100%}.auth-info{font-size:12px;padding:8px 12px}}.sidebar{background:#fff;border-right:1px solid #e5e7eb;box-shadow:2px 0 8px #0000001a;height:100vh;left:0;overflow-y:auto;position:fixed;top:0;width:280px;z-index:1000}.sidebar-header{border-bottom:1px solid #f3f4f6;min-height:80px;padding:24px 20px}.logo,.sidebar-header{align-items:center;display:flex}.logo{gap:12px}.logo-image{height:60px;max-width:200px;object-fit:contain;width:auto}.sidebar-nav{height:calc(100vh - 180px);overflow-y:auto;padding:16px 0 100px}.nav-item{align-items:center;border-left:3px solid #0000;color:#64748b;display:flex;font-weight:500;gap:12px;padding:12px 20px;text-decoration:none;transition:all .2s ease;white-space:nowrap}.nav-item:hover{background:#f8fafc;border-left-color:#e2e8f0;color:#3b82f6}.nav-item.active{background:#eff6ff;border-left-color:#3b82f6;color:#3b82f6}.nav-icon{flex-shrink:0;height:20px;width:20px}.nav-section{margin:8px 0}.section-title-simple{align-items:center;color:#374151;display:flex;font-size:14px;font-weight:600;gap:12px;letter-spacing:.5px;margin-bottom:8px;padding:12px 20px;text-transform:uppercase}.section-icon{flex-shrink:0;height:16px;width:16px}.section-items{border-left:2px solid #f3f4f6;margin-left:20px}.section-items .nav-item{border-left:none;padding-left:32px;position:relative}.section-items .nav-item:before{background:#d1d5db;border-radius:50%;content:"";height:6px;left:20px;position:absolute;top:50%;transform:translateY(-50%);transition:background .2s ease;width:6px}.section-items .nav-item.active:before,.section-items .nav-item:hover:before{background:#3b82f6}.sidebar-footer{background:#fff;border-top:1px solid #f3f4f6;bottom:0;box-sizing:border-box;gap:8px;justify-content:space-between;left:0;min-height:80px;padding:16px 20px;position:absolute;right:0}.sidebar-footer,.user-profile{align-items:center;display:flex}.user-profile{flex:1 1;gap:10px;max-width:calc(100% - 50px);min-width:0}.user-avatar{background:#eff6ff;color:#3b82f6;flex-shrink:0}.user-info{flex:1 1;min-width:0}.user-name{color:#1e293b;font-size:13px}.user-name,.user-role{line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-role{color:#64748b;font-size:11px;text-transform:capitalize}.logout-button{background:#f8fafc;color:#64748b;flex-shrink:0;height:36px;justify-content:center;width:36px}.logout-button:hover{background:#fee2e2;color:#dc2626}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#f8fafc}.sidebar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.sidebar::-webkit-scrollbar-thumb:hover{background:#9ca3af}@media (max-width:768px){.sidebar{width:100%;z-index:1001}}.nav-item.breve{cursor:default;opacity:.7;position:relative}.nav-item.breve.active,.nav-item.breve:hover{background:#0000;border-left-color:#0000;color:#64748b}.breve-tag{background:#f59e0b;border-radius:10px;color:#fff;font-size:10px;font-weight:600;letter-spacing:.5px;margin-left:auto;padding:2px 6px;text-transform:uppercase}.nav-item.breve .breve-tag{position:absolute;right:20px;top:50%;transform:translateY(-50%)}.coming-soon-badge{background:#f59e0b;border-radius:10px;color:#fff;font-size:10px;font-weight:600;letter-spacing:.5px;margin-left:auto;padding:2px 6px;text-transform:uppercase}.usuarios-administrativos{margin:0 auto;max-width:1400px;padding:20px}.user-avatar{border:2px solid #e5e7eb;object-fit:cover}.user-avatar-placeholder{align-items:center;background:#3b82f6;border-radius:50%;color:#fff;display:flex;font-size:16px;font-weight:600;height:40px;justify-content:center;width:40px}.form-group input:disabled{background:#f9fafb;color:#6b7280;cursor:not-allowed}.password-input input{padding-right:44px}.checkbox-label input[type=checkbox]:checked+.checkmark{background:#3b82f6;border-color:#3b82f6}@media (max-width:768px){.usuarios-administrativos{padding:15px}.page-header .header-content{align-items:stretch;flex-direction:column}.stats-grid{grid-template-columns:1fr}.table-header{align-items:stretch;flex-direction:column}.search-container{max-width:none}.form-grid{grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.action-buttons{flex-direction:column}.data-table{font-size:14px}.data-table td,.data-table th{padding:12px 8px}.user-info{align-items:flex-start;flex-direction:column;gap:8px}.user-avatar,.user-avatar-placeholder{font-size:14px;height:32px;width:32px}}.conteudos .page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.conteudos .page-header .btn{align-items:center;display:flex;gap:.5rem}.action-buttons{align-items:center;gap:.5rem}.btn-icon{border-radius:.375rem;color:#6b7280;padding:.5rem}.btn-icon:hover{background-color:#f3f4f6}.btn-icon.danger:hover{background-color:#fef2f2;color:#dc2626}.empty-state{padding:3rem}.empty-state svg{margin:0 auto 1rem}.modal-overlay{background-color:#00000080;padding:1rem}.modal{background:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:90vh;max-width:600px;overflow:hidden;width:100%}.modal-body,.modal-footer,.modal-header{padding:1.5rem}.modal-footer{background-color:#f9fafb;gap:.75rem}.form-group{margin-bottom:1.5rem}.form-group label{margin-bottom:.5rem}.form-group input,.form-group select{border-radius:.5rem;font-size:.875rem;padding:.75rem}.form-row{grid-gap:1rem;gap:1rem}.file-input-wrapper{position:relative}.file-input-wrapper input[type=file]{cursor:pointer;height:100%;opacity:0;position:absolute;width:100%}.file-input-display{align-items:center;background-color:#f9fafb;border:2px dashed #d1d5db;border-radius:.5rem;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s}.file-input-wrapper:hover .file-input-display{background-color:#eff6ff;border-color:#3b82f6}.file-input-display svg{color:#6b7280}.file-input-display span{color:#6b7280;font-size:.875rem}.file-info{margin-top:.5rem}.file-info small{color:#6b7280}.status-badge{border-radius:9999px;font-size:.75rem;padding:.25rem .75rem}.status-badge.pdf{background-color:#fef2f2;color:#dc2626}.status-badge.word{background-color:#eff6ff;color:#2563eb}.status-badge.excel{background-color:#f0fdf4;color:#16a34a}.status-badge.powerpoint{background-color:#fff7ed;color:#ea580c}.status-badge.vídeo{background-color:#faf5ff;color:#9333ea}.status-badge.imagem{background-color:#ecfdf5;color:#059669}.status-badge.áudio{background-color:#fefce8;color:#ca8a04}.status-badge.arquivo,.status-badge.texto{background-color:#f3f4f6;color:#374151}.btn-primary:disabled{background-color:#9ca3af}.btn-secondary{background-color:#f3f4f6}.btn-secondary:hover{background-color:#e5e7eb}@media (max-width:768px){.modal{margin:1rem;max-width:none}.form-row{grid-template-columns:1fr}.conteudos .page-header{align-items:stretch;flex-direction:column;gap:1rem}.action-buttons{justify-content:center}}

/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid #0000;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid #0000}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid #0000;box-shadow:0 2px 8px #0003}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.termos-uso .page-header{align-items:flex-start;display:flex;gap:2rem;justify-content:space-between;margin-bottom:2rem}.termos-uso .page-header .header-actions{display:flex;flex-shrink:0;gap:.75rem}.termos-uso .page-header .edit-actions{display:flex;gap:.5rem}.info-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 3px 0 #0000001a;display:flex;gap:2rem;margin-bottom:2rem;padding:1.5rem}.info-item{color:#6b7280;font-size:.875rem}.info-item strong{color:#374151;margin-right:.5rem}.card-header{border-bottom:1px solid #e5e7eb;margin-bottom:0;padding:1.5rem 1.5rem 0}.card-content{padding:0}.editor-container{min-height:500px}.quill-container{height:500px}.quill-container .ql-editor{font-size:14px;line-height:1.6;min-height:400px}.quill-container .ql-toolbar{background-color:#f9fafb;border:none;border-bottom:1px solid #e5e7eb}.preview-container{padding:1.5rem}.preview-header{border-bottom:1px solid #e5e7eb;margin-bottom:1rem;padding-bottom:.5rem}.preview-header h4{color:#374151;font-size:1rem;font-weight:600;margin:0}.preview-content{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem}.terms-content{color:#374151;font-size:.95rem;line-height:1.7;padding:1.5rem}.terms-content h1,.terms-content h2,.terms-content h3,.terms-content h4,.terms-content h5,.terms-content h6{color:#111827;font-weight:600;margin-bottom:1rem;margin-top:2rem}.terms-content h1{font-size:2rem;margin-top:0}.terms-content h2{font-size:1.5rem;margin-top:0}.terms-content h3{font-size:1.25rem}.terms-content h4{font-size:1.125rem}.terms-content p{margin-bottom:1rem;text-align:justify}.terms-content ol,.terms-content ul{margin:1rem 0;padding-left:1.5rem}.terms-content li{margin-bottom:.5rem}.terms-content strong{color:#111827;font-weight:600}.terms-content a{color:#3b82f6;text-decoration:underline}.terms-content a:hover{color:#2563eb}.stat-card.info{background:linear-gradient(135deg,#eff6ff,#dbeafe)}.stat-card.warning{background:linear-gradient(135deg,#fffbeb,#fef3c7)}.stat-card.warning .stat-icon.warning{background:#f59e0b;color:#fff}.btn{border-radius:.5rem;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.btn-secondary{background-color:#6b7280}.btn-secondary:hover:not(:disabled){background-color:#4b5563}.btn-success{background-color:#10b981}.btn-success:hover:not(:disabled){background-color:#059669}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background-color:#dc2626}.empty-state{color:#6b7280;padding:4rem 2rem}.empty-state svg{margin:0 auto 1.5rem}.empty-state h3{margin:0 0 .5rem}.empty-state p{font-size:.875rem}@media (max-width:768px){.termos-uso .page-header{align-items:stretch;flex-direction:column;gap:1rem}.termos-uso .page-header .header-actions{justify-content:center}.termos-uso .page-header .edit-actions{flex-wrap:wrap;justify-content:center}.info-card{flex-direction:column;gap:1rem}.quill-container{height:400px}.quill-container .ql-editor{min-height:300px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.stats-grid{grid-template-columns:1fr}.termos-uso .page-header .edit-actions{flex-direction:column}.btn{justify-content:center}}.contextos-ia-container{margin:0 auto;max-width:1400px;padding:24px}.loading{height:200px}.page-header{margin-bottom:32px}.header-content{margin-bottom:24px}.header-title{align-items:center;display:flex;gap:12px}.header-title h1{color:#1a202c;font-size:28px;font-weight:600;margin:0}.header-icon{color:#4f46e5}.btn-primary{background:#4f46e5;padding:12px 20px}.btn-primary:hover{background:#4338ca}.stats-container{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:24px}.stat-card{border:1px solid #e2e8f0;padding:20px;text-align:center}.stat-number{color:#4f46e5;font-size:32px;font-weight:700;margin-bottom:4px}.filters-section{border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a}.search-container{margin-bottom:16px}.search-icon{color:#9ca3af;left:12px;position:absolute;top:50%;transform:translateY(-50%)}.search-input{padding:12px 12px 12px 40px;transition:border-color .2s}.search-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.filter-toggle{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:8px 16px;transition:all .2s}.filter-toggle.active,.filter-toggle:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}.filters-container{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.filter-select{border:1px solid #d1d5db;border-radius:6px;font-size:14px;min-width:150px;padding:8px 12px}.filter-select:focus{border-color:#4f46e5;outline:none}.btn-secondary{border-radius:6px;font-size:14px;gap:6px;padding:8px 12px}.contextos-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.contexto-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;transition:all .2s}.contexto-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.contexto-card.inactive{background:#f8fafc;opacity:.7}.card-header{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;padding:20px 20px 16px}.card-title{color:#1a202c;flex:1 1;font-size:18px;line-height:1.3;margin:0}.status-badge{white-space:nowrap}.status-badge.ativo{background:#dcfce7;color:#166534}.status-badge.inativo{background:#fef2f2;color:#991b1b}.card-info{display:flex;flex-direction:column;gap:8px;padding:0 20px 16px}.info-item{color:#64748b}.card-content{padding:0 20px 16px}.contexto-preview{color:#4b5563;font-size:14px;line-height:1.5;max-height:100px;overflow:hidden}.contexto-preview p{margin:0 0 8px}.card-actions{border-top:1px solid #f1f5f9;display:flex;gap:8px;justify-content:flex-end;padding:16px 20px}.btn-icon{background:#fff;border:1px solid #e2e8f0;height:36px;transition:all .2s;width:36px}.btn-icon:hover{background:#f8fafc;border-color:#cbd5e1}.btn-icon.active{background:#dcfce7;border-color:#16a34a;color:#16a34a}.btn-icon.delete:hover,.btn-icon.inactive{background:#fef2f2;border-color:#ef4444;color:#ef4444}.card-footer{background:#f8fafc;border-top:1px solid #f1f5f9;color:#64748b;font-size:12px;padding:12px 20px}.modal-header h2{color:#1a202c;font-size:24px}.modal-close{transition:color .2s}.form-section h3{border-bottom:1px solid #e5e7eb;font-size:18px;margin:0 0 20px}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.form-group label{margin-bottom:6px}.form-group input,.form-group select{transition:border-color .2s;width:100%}.form-group input:focus,.form-group select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-group input.error,.form-group select.error{border-color:#ef4444}.error-message{display:block}.checkbox-label input[type=checkbox]{width:auto}.checkbox-text{color:#374151;font-size:14px}.form-group .ql-container{font-size:14px;min-height:200px}.form-group .ql-editor{min-height:200px}.form-group .quill.error .ql-container{border-color:#ef4444}.modal-actions{padding-top:24px}@media (max-width:768px){.contextos-ia-container{padding:16px}.header-content{align-items:stretch;flex-direction:column;gap:16px}.header-title h1{font-size:24px}.stats-container{grid-template-columns:repeat(3,1fr)}.contextos-grid,.form-row{grid-template-columns:1fr}.filters-container{align-items:stretch;flex-direction:column}.filter-select{min-width:auto}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.modal-actions{flex-direction:column}}@media (max-width:480px){.contextos-ia-container{padding:12px}.stats-container{grid-template-columns:1fr}.card-actions{flex-wrap:wrap}.modal-header{padding:16px 16px 0}.modal-form{padding:0 16px 16px}}.usuarios{margin:0 auto;max-width:1400px;padding:20px}.stat-card{border:1px solid #e5e7eb}.stat-header{margin-bottom:16px}.stat-value{color:#111827}.stat-label{color:#6b7280}.content-card{border:1px solid #e5e7eb;overflow:hidden}.table-header{border-bottom:1px solid #e5e7eb;padding:20px}.user-info{gap:12px}.user-avatar{align-items:center;background:#3b82f6;border-radius:50%;color:#fff;display:flex;font-size:16px;font-weight:600;height:40px;justify-content:center;width:40px}.user-name{color:#111827;font-weight:600;margin-bottom:2px}.user-email{color:#6b7280;font-size:13px}.contact-info div{color:#374151;margin-bottom:2px}.contact-info small{color:#9ca3af;font-size:12px}.school-info{align-items:center;color:#374151;display:flex;gap:8px}.school-info svg{color:#6b7280}.function-info{display:flex;flex-direction:column;gap:4px}.function-badge{border-radius:16px;display:inline-block;font-size:12px;font-weight:600;max-width:fit-content;padding:4px 12px;text-align:center}.no-function{color:#9ca3af;font-size:12px;font-style:italic}.function-info small{color:#6b7280;font-size:11px}.form-group input,.form-group select{border:1px solid #d1d5db;border-radius:8px;font-family:inherit;font-size:14px;padding:12px;transition:all .2s}.form-group input:focus,.form-group select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-group input.error,.form-group select.error{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.disabled-input,.form-group input:disabled{background:#f9fafb;color:#6b7280;cursor:not-allowed}.password-input input{padding-right:48px}.password-toggle{transition:all .2s}.password-toggle:hover{background:#f3f4f6}@media (max-width:768px){.usuarios{padding:15px}.page-header .header-content{align-items:stretch;flex-direction:column}.stats-grid{grid-template-columns:1fr}.table-header{align-items:stretch;flex-direction:column}.search-container{max-width:none}.form-grid{grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.action-buttons{flex-direction:column}.data-table{font-size:14px}.data-table td,.data-table th{padding:12px 8px}.user-info{align-items:flex-start;flex-direction:column;gap:8px}.user-avatar{height:32px;width:32px}}@media (max-width:480px){.modal-overlay{padding:10px}.modal-form,.modal-header{padding-left:16px;padding-right:16px}.modal-actions{flex-direction:column}.btn-primary,.btn-secondary{justify-content:center;width:100%}}.funcoes-usuarios{margin:0 auto;max-width:1400px;padding:20px}.loading-container{gap:20px;min-height:400px}.loading-spinner{border:4px solid #f3f4f6;border-top-color:#3b82f6}.page-header .header-content{align-items:flex-start;display:flex;gap:20px;justify-content:space-between;margin-bottom:30px}.page-header .header-content>div{flex:1 1}.btn-primary{transition:all .2s;white-space:nowrap}.btn-primary:hover{transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;transform:none}.btn-secondary{border:none}.btn-secondary:hover{background:#e5e7eb}.btn-secondary.small{font-size:14px;padding:8px 16px}.stat-card.info .stat-icon.info{background:#3b82f6;color:#fff}.table-header{gap:20px}.search-container{flex:1 1;max-width:400px;position:relative}.search-container svg{color:#6b7280;left:12px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input{border:1px solid #d1d5db;border-radius:8px;font-size:14px;padding:12px 12px 12px 44px;transition:all .2s;width:100%}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.table-container{border:1px solid #e5e7eb;border-radius:8px}.data-table th{background:#f9fafb}.no-data{color:#6b7280;padding:40px!important}.role-info{gap:12px}.role-icon,.role-info{align-items:center;display:flex}.role-icon{border-radius:50%;color:#fff;font-weight:600;height:40px;justify-content:center;width:40px}.role-name{color:#111827;font-weight:600}.system-badge{background:#fbbf24;border-radius:12px;color:#92400e;display:inline-block;font-size:11px;font-weight:600;letter-spacing:.5px;margin-top:2px;padding:2px 8px;text-transform:uppercase}.description-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.level-indicator{align-items:center;display:flex;gap:8px}.level-bar{background:#e5e7eb;border-radius:4px;height:8px;overflow:hidden;width:60px}.level-fill{background:linear-gradient(90deg,#10b981,#3b82f6,#8b5cf6,#f59e0b,#ef4444);border-radius:4px;height:100%;transition:width .3s ease}.level-text{color:#6b7280;min-width:30px}.count-badge,.level-text{font-size:12px;font-weight:600}.count-badge{background:#eff6ff;border-radius:16px;color:#3b82f6;display:inline-block;min-width:24px;padding:4px 12px;text-align:center}.count-badge.clickable{border:none;cursor:pointer;transition:all .2s}.count-badge.clickable:hover{background:#dbeafe;transform:scale(1.05)}.status-toggle{border:none;border-radius:20px;cursor:pointer;font-size:12px;font-weight:500;letter-spacing:.5px;padding:6px 12px;text-transform:uppercase;transition:all .2s}.status-toggle.active{background:#dcfce7;color:#166534}.status-toggle.inactive{background:#fef2f2;color:#dc2626}.status-toggle:hover{transform:scale(1.05)}.action-buttons{display:flex;gap:8px}.btn-action{border:none;justify-content:center;padding:8px}.btn-action.view{background:#f0f9ff;color:#0369a1}.btn-action.view:hover{background:#e0f2fe}.btn-action.copy{background:#f3e8ff;color:#7c3aed}.btn-action.copy:hover{background:#e9d5ff}.btn-action.edit{background:#dbeafe;color:#1d4ed8}.btn-action.edit:hover{background:#bfdbfe}.btn-action.delete{background:#fef2f2;color:#dc2626}.btn-action.delete:hover{background:#fecaca}.modal-content{box-shadow:0 25px 50px -12px #00000040}.modal-close{color:#6b7280;transition:all .2s}.modal-form{padding:0 24px 24px}.form-grid{grid-gap:20px;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:24px}.form-group.checkbox-group{grid-column:1/-1;margin-top:10px}.form-group input,.form-group select,.form-group textarea{font-family:inherit;transition:all .2s}.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.color-input{align-items:center;display:flex;position:relative}.color-input input[type=color]{cursor:pointer;height:44px;padding:4px;width:100%}.color-input svg{color:#6b7280;pointer-events:none;position:absolute;right:12px}.checkbox-label{display:flex!important;flex-direction:row!important;font-weight:400!important;gap:12px}.checkbox-label input[type=checkbox]{display:none}.checkmark{background:#fff;border:2px solid #d1d5db;border-radius:4px;flex-shrink:0;height:20px;position:relative;transition:all .2s;width:20px}.checkbox-label input[type=checkbox]:checked+.checkmark{background:#3b82f6!important;border-color:#3b82f6!important}.checkbox-label input[type=checkbox]:checked+.checkmark:after{color:#fff;content:"✓";font-size:12px;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.permission-item .checkmark{background:#fff;border:2px solid #d1d5db;border-radius:4px;height:20px;position:relative;transition:all .2s;width:20px}.permission-item input[type=checkbox]:checked+.checkmark{background:#3b82f6!important;border-color:#3b82f6!important}.permission-item input[type=checkbox]:checked+.checkmark:after{color:#fff;content:"✓";font-size:12px;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.permissions-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin:24px 0;padding:20px}.section-header{margin-bottom:12px}.section-header h3{color:#111827;font-size:16px;font-weight:600;margin:0}.permissions-summary{color:#6b7280;font-size:14px}.permissions-manager{max-height:400px;overflow-y:auto;padding:20px}.permission-category{margin-bottom:24px}.permission-category h4{border-bottom:1px solid #e5e7eb;color:#374151;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 12px;padding-bottom:8px;text-transform:uppercase}.permission-list{grid-gap:8px;display:grid;gap:8px}.permission-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex!important;gap:12px;padding:12px;transition:all .2s}.permission-item:hover{background:#f9fafb;border-color:#d1d5db}.permission-item input[type=checkbox]{display:none}.permission-item .checkmark{flex-shrink:0}.permission-info{flex:1 1}.permission-info strong{color:#111827;display:block;font-size:14px}.permission-info small{color:#6b7280;font-family:Courier New,monospace;font-size:12px}.users-list{max-height:400px;overflow-y:auto;padding:20px}.no-users{color:#6b7280;font-style:italic;padding:40px;text-align:center}.user-item{align-items:center;background:#f9fafb;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:12px;padding:16px}.user-item:last-child{margin-bottom:0}.user-info{flex-direction:column;gap:4px}.user-info strong{color:#111827;font-size:14px}.user-info span{color:#6b7280;font-size:13px}.user-info small{color:#9ca3af;font-size:12px}.user-status{border-radius:16px;font-size:12px;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.user-status.active{background:#dcfce7;color:#166534}.user-status.inactive{background:#fef2f2;color:#dc2626}.error-message{font-size:12px}.submit-error{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;font-size:14px;margin-bottom:20px;padding:12px}.modal-actions{border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;padding-top:20px}@media (max-width:768px){.funcoes-usuarios{padding:15px}.page-header .header-content{align-items:stretch;flex-direction:column}.stats-grid{grid-template-columns:1fr}.table-header{align-items:stretch;flex-direction:column}.search-container{max-width:none}.form-grid{grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.action-buttons{flex-direction:column}.data-table{font-size:14px}.data-table td,.data-table th{padding:12px 8px}.role-info{align-items:flex-start;flex-direction:column;gap:8px}.role-icon{height:32px;width:32px}.description-cell{max-width:150px}.level-indicator{align-items:flex-start;flex-direction:column;gap:4px}.level-bar{width:80px}}@media (max-width:480px){.modal-overlay{padding:10px}.modal-form,.modal-header{padding-left:16px;padding-right:16px}.modal-actions{flex-direction:column}.btn-primary,.btn-secondary{justify-content:center;width:100%}.permissions-manager,.users-list{padding:16px}.user-item{align-items:flex-start;flex-direction:column;gap:12px}.user-status{align-self:flex-end}}.alunos-container{margin:0 auto;max-width:1400px;padding:24px}.alunos-header{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.header-left h1{color:#111827;font-size:28px;font-weight:700;margin:0 0 4px}.header-left p{color:#6b7280;font-size:16px;margin:0}.btn-primary{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-weight:500;gap:8px;padding:12px 24px;transition:background-color .2s}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.alunos-filters{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.filter-group{margin-bottom:16px}.search-box{max-width:400px}.search-box svg{color:#9ca3af}.search-box input{font-size:16px;transition:border-color .2s}.filter-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.filter-row select{background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-size:16px;padding:12px;transition:border-color .2s}.filter-row select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.alunos-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.aluno-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;transition:transform .2s,box-shadow .2s}.aluno-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.aluno-card.inactive{background:#f9fafb;opacity:.6}.aluno-header{border-bottom:1px solid #e5e7eb;padding:20px}.aluno-avatar{align-items:center;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:50%;color:#fff;display:flex;font-size:24px;font-weight:600;height:60px;justify-content:center;margin-bottom:12px;width:60px}.aluno-name{color:#111827;font-size:18px;font-weight:600;margin:0 0 4px}.aluno-email{color:#6b7280;font-size:14px;margin:0}.aluno-info{padding:20px}.info-item{align-items:center;color:#374151;display:flex;font-size:14px;gap:8px;margin-bottom:12px}.info-item:last-child{margin-bottom:0}.info-item svg{color:#6b7280;flex-shrink:0}.status-badge{border-radius:6px;gap:4px;padding:4px 8px}.aluno-actions{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:8px;padding:16px 20px}.btn-action{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;display:flex;font-size:14px;gap:4px;padding:8px 12px;transition:all .2s}.btn-action:hover{background:#f3f4f6}.btn-action.edit{border-color:#3b82f6;color:#3b82f6}.btn-action.edit:hover{background:#eff6ff}.btn-action.delete{border-color:#ef4444;color:#ef4444}.btn-action.delete:hover{background:#fef2f2}.btn-action.toggle{border-color:#f59e0b;color:#f59e0b}.btn-action.toggle:hover{background:#fffbeb}.modal-content{max-width:800px}.modal-header{border-bottom:1px solid #e5e7eb}.modal-header h2{color:#111827}.btn-close{background:#f3f4f6;border-radius:6px;color:#6b7280;height:32px;transition:all .2s;width:32px}.btn-close:hover{background:#e5e7eb;color:#374151}.form-section{margin-bottom:32px}.form-section:last-child{margin-bottom:0}.section-title{border-bottom:1px solid #e5e7eb;color:#111827;font-size:16px;font-weight:600;margin:0 0 16px;padding-bottom:8px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.form-group.full-width{grid-column:1/-1}.form-label{color:#374151;font-size:14px;font-weight:500;margin-bottom:6px}.form-label.required:after{color:#ef4444;content:"*";margin-left:4px}.form-input{border:1px solid #d1d5db;border-radius:8px;font-size:16px;padding:12px;transition:border-color .2s}.form-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-input.error{border-color:#ef4444}.form-select{background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-size:16px;padding:12px;transition:border-color .2s}.form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-select.error{border-color:#ef4444}.password-toggle{top:50%;transform:translateY(-50%)}.form-error{color:#ef4444;font-size:14px;margin-top:4px}.checkbox-group{align-items:center;margin-top:16px}.checkbox-group input[type=checkbox]{cursor:pointer;height:16px;width:16px}.checkbox-group label{color:#374151;cursor:pointer;font-size:14px}.modal-footer{background:#f9fafb}.btn-secondary{align-items:center;background:#fff;border-radius:8px;cursor:pointer;display:flex;font-weight:500;gap:8px;padding:12px 24px;transition:all .2s}.btn-secondary:hover{background:#f3f4f6}.loading{color:#6b7280;font-size:18px;padding:60px}.quill-container{margin-top:8px}.ql-editor{min-height:120px}.ql-toolbar{border-radius:8px 8px 0 0;border-top:1px solid #d1d5db}.ql-container,.ql-toolbar{border-left:1px solid #d1d5db;border-right:1px solid #d1d5db}.ql-container{border-bottom:1px solid #d1d5db;border-radius:0 0 8px 8px}@media (max-width:768px){.alunos-container{padding:16px}.alunos-header{align-items:flex-start;flex-direction:column;gap:16px}.alunos-grid,.filter-row,.form-grid{grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}}.questoes-container{background:#f8fafc;margin:0 auto;max-width:1200px;min-height:100vh;padding:20px}.btn-ai{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 2px 4px #667eea4d;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:10px 16px;transition:all .3s ease}.btn-ai:hover:not(:disabled){box-shadow:0 4px 8px #667eea66;transform:translateY(-1px)}.btn-ai:disabled{cursor:not-allowed;opacity:.6;transform:none}.header-actions{align-items:center}.ai-modal{max-width:600px;width:90%}.ai-config-form{display:flex;flex-direction:column;gap:20px}.form-input,.form-select,.form-textarea{border:1px solid #d1d5db;border-radius:6px;font-size:14px;padding:10px 12px;transition:border-color .2s}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.checkbox-group{gap:8px}.checkbox-label{border-radius:4px;padding:8px;transition:background-color .2s}.checkbox-label:hover{background-color:#f9fafb}.checkbox-label span{color:#374151;font-size:14px}.ai-info{background:#f0f9ff;border-left:4px solid #667eea;border-radius:8px;padding:16px}.ai-info p{color:#1f2937;font-size:14px;margin:4px 0}.modal-footer{border-top:1px solid #e5e7eb;padding-top:20px}.questoes-header{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:24px;padding:24px}.header-text h2{color:#1e293b;font-size:1.5rem;font-weight:600;margin:0 0 8px}.header-text p{color:#64748b;font-size:1rem}.questoes-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:24px}.empty-state svg{color:#cbd5e1}.empty-state h3{color:#475569;font-size:1.25rem}.questoes-list{display:flex;flex-direction:column;gap:16px}.questao-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;transition:all .2s ease}.questao-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0000001a}.questao-card.inactive{background:#f8fafc;opacity:.6}.questao-header{background:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;padding:16px 20px}.questao-header,.questao-info{align-items:center;display:flex}.questao-info{gap:12px}.questao-numero{background:#3b82f6;color:#fff;font-size:.875rem;font-weight:600;min-width:32px;text-align:center}.questao-numero,.tipo-badge{border-radius:4px;padding:4px 8px}.tipo-badge{align-items:center;background:#e0f2fe;color:#0369a1;display:flex;gap:6px}.questao-actions{display:flex;gap:4px}.btn-icon{background:none;border-radius:4px;padding:8px}.btn-icon:hover:not(:disabled){background:#f1f5f9;color:#475569}.btn-icon:disabled{cursor:not-allowed;opacity:.4}.questao-content{padding:20px}.questao-content h4{color:#1e293b;font-size:1.1rem;font-weight:500;line-height:1.5;margin:0 0 16px}.alternativas{display:flex;flex-direction:column;gap:8px}.alternativa{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;gap:12px;padding:12px}.alternativa.correta{background:#f0fdf4;border-color:#bbf7d0}.alternativa-letra{align-items:center;background:#e2e8f0;border-radius:50%;color:#475569;display:flex;flex-shrink:0;font-size:.875rem;font-weight:600;height:24px;justify-content:center;width:24px}.alternativa.correta .alternativa-letra{background:#22c55e;color:#fff}.alternativa-texto{color:#374151;flex:1 1}.icon-correta{color:#22c55e;flex-shrink:0}.resposta-vf{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#374151;padding:12px}.modal-content{display:flex;flex-direction:column;overflow:hidden}.modal-header{border-bottom:1px solid #e2e8f0;padding:24px}.modal-header h2{color:#1e293b;font-size:1.25rem}.modal-close{border-radius:4px;color:#64748b;font-size:1.5rem;padding:4px}.modal-close:hover{background:#f1f5f9;color:#475569}.modal-body{padding:24px}.modal-footer{background:#fafbfc;border-top:1px solid #e2e8f0}.questao-form{gap:24px}.form-section,.questao-form{display:flex;flex-direction:column}.form-section{gap:20px}.form-group{gap:8px}.form-group label{font-size:.875rem}.form-group input,.form-group select,.form-group textarea{border:1px solid #d1d5db;border-radius:6px;font-size:1rem;padding:12px;transition:all .2s ease}.alternativas-section{display:flex;flex-direction:column;gap:12px}.alternativas-section label{color:#374151;font-size:.875rem;font-weight:500}.alternativa-input{display:flex;flex-direction:column;gap:8px}.alternativa-row{align-items:center;display:flex;gap:12px}.alternativa-row .alternativa-letra{align-items:center;background:#e2e8f0;border-radius:50%;color:#475569;display:flex;flex-shrink:0;font-size:.875rem;font-weight:600;height:32px;justify-content:center;width:32px}.alternativa-row input[type=text]{border:1px solid #d1d5db;border-radius:6px;flex:1 1;font-size:.875rem;padding:8px 12px}.alternativa-row input[type=radio]{cursor:pointer;height:18px;width:18px}.btn-remove{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:4px;color:#dc2626;cursor:pointer;display:flex;justify-content:center;padding:6px;transition:all .2s ease}.btn-remove:hover{background:#fee2e2;border-color:#fca5a5}.radio-group{display:flex;gap:20px}.radio-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:.875rem;gap:8px}.radio-label input[type=radio]{cursor:pointer;height:18px;width:18px}.checkbox-label{font-size:.875rem}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.btn{border-radius:6px;font-size:.875rem}.btn-secondary{background:#f8fafc;border:1px solid #e2e8f0}.alert{border-radius:6px;font-size:.875rem;margin-bottom:20px}.alert-success{background:#f0fdf4}.alert-error{background:#fef2f2}.alert-close{font-size:1.25rem;margin-left:12px}@media (max-width:768px){.questoes-container{padding:16px}.header-content{align-items:stretch;flex-direction:column;gap:16px}.header-actions{justify-content:center}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.modal-body,.modal-footer,.modal-header{padding:16px}.questao-header{align-items:stretch;flex-direction:column;gap:12px}.questao-actions{justify-content:center}.alternativa-row{flex-wrap:wrap;gap:8px}.radio-group{flex-direction:column;gap:12px}}.participantes-container{background-color:#f8fafc;margin:0 auto;max-width:1200px;min-height:100vh;padding:24px}.participantes-header{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.header-content{align-items:center;gap:24px}.header-text .page-title{align-items:center;color:#1e293b;display:flex;font-size:28px;font-weight:700;gap:12px;margin:0 0 8px}.header-text .page-subtitle{color:#64748b;font-size:16px;margin:0}.participantes-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.participante-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:20px;transition:all .2s ease}.participante-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.participante-card.inactive{background-color:#f8fafc;opacity:.6}.participante-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.participante-info h3{color:#1e293b;font-size:18px;font-weight:600;margin:0 0 8px}.info-badges{display:flex;gap:8px}.badge{align-items:center;border-radius:6px;display:inline-flex;font-size:12px;font-weight:500;gap:4px;padding:4px 8px}.badge.success{background-color:#dcfce7;color:#166534}.badge.error{background-color:#fee2e2;color:#dc2626}.participante-actions{display:flex;gap:8px}.participante-details{display:flex;flex-direction:column;gap:8px}.detail-row{align-items:center;color:#64748b;gap:8px}.detail-row svg{color:#94a3b8;flex-shrink:0}.participante-observacoes{background-color:#f1f5f9;border-left:4px solid #3b82f6;border-radius:8px;margin-top:12px;padding:12px}.participante-observacoes p{color:#475569;font-size:14px;font-style:italic;margin:0}.modal-content.large{overflow-y:auto}.filters-section{background-color:#f8fafc;border-radius:8px;margin-bottom:24px;padding:16px}.filters-row{gap:12px}.search-box svg{color:#94a3b8}.search-box input{border:1px solid #d1d5db;padding:10px 12px 10px 40px}.filters-row select{border:1px solid #d1d5db;padding:10px 12px}.alunos-selection{max-height:400px;overflow-y:auto}.selection-header{border-bottom:1px solid #e2e8f0;margin-bottom:16px;padding:12px 0}.selection-header .checkbox-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-weight:500;gap:8px}.alunos-list{display:flex;flex-direction:column;gap:8px}.aluno-item{align-items:center;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px;transition:all .2s ease}.aluno-item:hover{background-color:#f8fafc;border-color:#3b82f6}.aluno-item.selected{background-color:#eff6ff;border-color:#3b82f6}.aluno-checkbox{color:#3b82f6}.aluno-info{flex:1 1}.aluno-info h4{color:#1e293b;font-size:16px;font-weight:600;margin:0 0 4px}.aluno-details{color:#64748b;display:flex;flex-wrap:wrap;font-size:14px;gap:16px}.aluno-details span{white-space:nowrap}.btn{padding:10px 16px}.btn-primary{background-color:#3b82f6}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-secondary{background-color:#f1f5f9}.btn-secondary:hover:not(:disabled){background-color:#e2e8f0}.btn-icon{background-color:#f1f5f9;color:#64748b;display:inline-flex}.btn-icon:hover{background-color:#e2e8f0}.btn-icon.error{background-color:#fee2e2;color:#dc2626}.btn-icon.error:hover{background-color:#fecaca}.loading{align-items:center;color:#64748b;display:flex;font-size:16px;justify-content:center}.empty-state svg{color:#94a3b8}.empty-state p{font-size:16px;margin:0 0 24px;max-width:400px}.alert{margin-bottom:16px;padding:12px 16px}.alert-success{background-color:#dcfce7;border:1px solid #bbf7d0;color:#166534}.alert-error{background-color:#fee2e2;color:#dc2626}@media (max-width:768px){.participantes-container{padding:16px}.header-content{align-items:stretch;flex-direction:column;gap:16px}.header-actions{justify-content:center}.participantes-grid{grid-template-columns:1fr}.filters-row{align-items:stretch;flex-direction:column}.filters-row select,.search-box{min-width:auto}.aluno-details{flex-direction:column;gap:4px}.modal-content.large{margin:10px;max-width:calc(100vw - 20px)}}.testes-container{margin:0 auto;max-width:1400px;padding:20px}.page-header{margin-bottom:30px}.header-content{align-items:flex-end;display:flex;gap:20px;justify-content:space-between}.header-text h1{color:#1a1a1a;font-size:2.5rem;font-weight:700;margin:0 0 8px}.header-text p{color:#666;font-size:1.1rem;margin:0}.stats-grid{margin-bottom:30px}.stat-card{box-shadow:0 2px 8px #0000001a}.stat-card:hover{box-shadow:0 4px 16px #00000026}.stat-header{justify-content:space-between}.stat-icon{background:#3b82f6}.stat-icon.success{background:#10b981}.stat-icon.warning{background:#f59e0b}.stat-icon.info{background:#6366f1}.stat-value{color:#1a1a1a;font-size:2.5rem}.stat-label{color:#666;font-size:.9rem}.filters-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:30px;padding:20px}.filters-row{gap:16px}.search-box{flex:1 1;min-width:250px;position:relative}.search-box svg{color:#666;left:12px;position:absolute;top:50%;transform:translateY(-50%)}.search-box input{border:1px solid #e5e7eb;border-radius:8px;font-size:14px;padding:12px 12px 12px 44px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.search-box input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.filters-row select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;min-width:150px;padding:12px 16px;transition:border-color .2s ease,box-shadow .2s ease}.filters-row select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.content-card{box-shadow:0 2px 8px #0000001a;padding:30px}.empty-state{color:#666;padding:60px 20px}.empty-state svg{color:#d1d5db;margin-bottom:20px}.empty-state h3{font-size:1.5rem;margin-bottom:8px}.empty-state p{font-size:1rem;margin-bottom:24px}.testes-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.teste-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;position:relative;transition:all .2s ease}.teste-card:hover{border-color:#3b82f6;box-shadow:0 4px 16px #0000001a}.teste-card.inactive{background:#f9fafb;opacity:.6}.teste-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.teste-title h3{color:#1a1a1a;font-size:1.2rem;font-weight:600;line-height:1.4;margin:0 0 8px}.teste-actions{display:flex;gap:4px}.btn-icon{align-items:center;background:#f3f4f6;border:none;border-radius:6px;color:#666;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s ease;width:32px}.btn-icon:hover{background:#e5e7eb;color:#374151}.status-badge{align-items:center;display:inline-flex;font-size:.8rem;font-weight:500;gap:6px;text-transform:capitalize}.status-draft{background:#f3f4f6;color:#374151}.status-scheduled{background:#fef3c7;color:#d97706}.status-progress{background:#dbeafe;color:#2563eb}.status-completed{background:#d1fae5;color:#059669}.status-cancelled{background:#fee2e2;color:#dc2626}.teste-info{margin-bottom:16px}.info-row{align-items:center;color:#666;display:flex;font-size:.9rem;gap:8px;margin-bottom:8px}.info-row svg{color:#9ca3af;flex-shrink:0}.teste-description{margin-bottom:16px}.teste-description p{color:#666;font-size:.9rem;line-height:1.5;margin:0}.teste-footer{background:#fafbfc;border-top:1px solid #f1f5f9;gap:12px;justify-content:space-between;padding:16px 20px}.teste-footer,.teste-meta{align-items:center;display:flex}.teste-meta{gap:8px}.tipo-badge{background:#f3f4f6;border-radius:12px;color:#374151;font-size:.75rem;font-weight:500;padding:2px 8px;text-transform:capitalize}.pontuacao{color:#666;font-size:.8rem;font-weight:500}.toggle-container{align-items:center;display:flex;gap:8px}.toggle-switch{display:inline-block;height:24px;position:relative;width:44px}.toggle-switch input{height:0;opacity:0;width:0}.toggle-slider{background-color:#ccc;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.3s}.toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.3s;width:18px}input:checked+.toggle-slider{background-color:#3b82f6}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-label{color:#666;font-size:.8rem;font-weight:500}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.modal-content.large{max-width:800px}.modal-header{border-bottom:1px solid #f3f4f6;margin-bottom:24px;padding:24px 24px 0}.modal-header h2{color:#1a1a1a;font-size:1.5rem}.modal-close{border-radius:6px;color:#666;height:32px;transition:all .2s ease;width:32px}.modal-close:hover{background:#f3f4f6;color:#374151}.modal-body{padding:0 24px}.modal-footer{border-top:1px solid #f3f4f6;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding:24px}.teste-form{display:flex;flex-direction:column;gap:24px}.form-section{border:1px solid #f3f4f6;border-radius:8px;padding:20px}.form-section h3{border-bottom:1px solid #f3f4f6;color:#374151;font-size:1.1rem;font-weight:600;margin:0 0 16px;padding-bottom:8px}.form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.9rem;font-weight:500}.form-group input,.form-group select,.form-group textarea{border:1px solid #e5e7eb;border-radius:8px;font-size:14px;padding:12px 16px;transition:border-color .2s ease,box-shadow .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:#ef4444}.form-group textarea{min-height:80px;resize:vertical}.error-message{color:#ef4444;font-size:.8rem;margin-top:4px}.checkbox-group{display:flex;flex-direction:column;gap:12px}.checkbox-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:.9rem;gap:8px}.checkbox-label input[type=checkbox]{height:16px;margin:0;width:16px}.btn:disabled{opacity:.6}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.btn-small{font-size:.75rem;padding:6px 12px}.alert{align-items:center;border-radius:8px;display:flex;font-size:14px;font-weight:500;justify-content:space-between;margin-top:16px;padding:16px 20px}.footer-buttons{display:flex;flex-wrap:wrap;gap:8px}.alert-success{background:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.alert-close{align-items:center;background:none;border:none;color:inherit;cursor:pointer;display:flex;font-size:18px;height:20px;justify-content:center;opacity:.7;padding:0;width:20px}.alert-close:hover{opacity:1}.loading{color:#666;font-size:1.1rem;padding:40px;text-align:center}@media (max-width:768px){.testes-container{padding:16px}.header-content{align-items:flex-start;flex-direction:column;gap:16px}.header-text h1{font-size:2rem}.stats-grid{gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.filters-row{align-items:stretch;flex-direction:column}.filters-row select,.search-box{min-width:auto}.testes-grid{gap:16px;grid-template-columns:1fr}.modal-content{margin:10px;max-height:calc(100vh - 20px)}.form-grid{grid-template-columns:1fr}.teste-header{align-items:flex-start;flex-direction:column;gap:12px}.teste-actions{align-self:flex-end}}@media (max-width:480px){.modal-overlay{padding:10px}.modal-body,.modal-footer,.modal-header{padding-left:16px;padding-right:16px}.stats-grid{grid-template-columns:1fr}.stat-card{padding:20px}}.respostas{margin:0 auto;max-width:1400px;padding:20px}.filters-section{margin-bottom:20px}.filters-row{flex-wrap:wrap;gap:15px}.filter-group,.filters-row{align-items:center;display:flex}.filter-group{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;gap:8px;padding:8px 12px}.filter-group svg{color:#6c757d}.filter-input,.filter-select{background:#0000;border:none;border-radius:4px;font-size:14px;min-width:150px;padding:4px 8px}.filter-input:focus,.filter-select:focus{background:#fff;box-shadow:0 0 0 2px #007bff40;outline:none}.table-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:10px}.table-header h3{color:#495057;font-size:18px;font-weight:600;margin:0}.table-container{overflow-x:auto}.data-table{font-size:14px}.data-table th{background:#f8f9fa;border-bottom:2px solid #dee2e6;color:#495057;padding:12px 8px;white-space:nowrap}.data-table td{border-bottom:1px solid #e9ecef;padding:12px 8px;vertical-align:middle}.data-table tr:hover{background:#f8f9fa}.user-info{align-items:center;display:flex;gap:8px}.user-info svg{color:#6c757d}.test-name{color:#495057;font-weight:500;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subject{color:#6c757d;font-size:13px}.percentage-badge,.score-fraction{color:#495057;font-weight:600;text-align:center}.percentage-badge{background:#e9ecef;border-radius:12px;display:inline-block;font-size:12px;min-width:50px;padding:4px 8px}.points{font-weight:500;text-align:center}.status-badge{border-radius:12px;display:inline-block;letter-spacing:.5px}.status-badge.approved{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.status-badge.failed{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.date-time{white-space:nowrap}.date-time,.duration{color:#6c757d;font-size:13px}.duration{text-align:center}.action-btn{align-items:center;background:none;border:1px solid #dee2e6;border-radius:6px;cursor:pointer;display:inline-flex;justify-content:center;padding:6px;transition:all .2s}.action-btn:hover{background:#f8f9fa;border-color:#adb5bd}.action-btn.view{color:#007bff}.action-btn.view:hover{background:#e7f1ff;border-color:#007bff}.loading-state{color:#6c757d;padding:40px}.loading-spinner{border:4px solid #f3f3f3;border-radius:50%;border-top-color:#007bff;height:40px;margin:0 auto 20px;width:40px}.no-data{color:#6c757d;font-style:italic;padding:40px;text-align:center}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content.large{background:#fff;border-radius:12px;display:flex;flex-direction:column;max-height:90vh;max-width:900px;overflow:hidden;width:100%}.modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:20px}.modal-header h2{color:#495057;font-size:20px;font-weight:600;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#6c757d;cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;padding:0;width:30px}.modal-close:hover{background:#e9ecef;color:#495057}.modal-body{flex:1 1;overflow-y:auto;padding:20px}.test-details-header{grid-gap:15px;background:#f8f9fa;border-radius:8px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:25px;padding:15px}.detail-group{display:flex;flex-direction:column;gap:4px}.detail-group label{color:#6c757d;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.detail-group span{color:#495057;font-size:14px;font-weight:500}.test-stats{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:30px}.stat-item{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:15px;text-align:center}.stat-item label{color:#6c757d;display:block;font-size:12px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.questions-section h3,.stat-item span{color:#495057;font-size:18px;font-weight:600}.questions-section h3{border-bottom:1px solid #e9ecef;margin:0 0 20px;padding-bottom:10px}.questions-list{display:flex;flex-direction:column;gap:20px}.question-item{border:1px solid #e9ecef;border-radius:8px;overflow:hidden}.question-item.correct{background:#f8fff9;border-color:#28a745}.question-item.incorrect{background:#fff8f8;border-color:#dc3545}.question-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:12px 15px}.question-number{color:#495057;font-size:14px;font-weight:600}.result-icon.correct{color:#28a745}.result-icon.incorrect{color:#dc3545}.question-text{color:#495057;font-size:14px;line-height:1.5}.alternatives,.question-text{border-bottom:1px solid #e9ecef;padding:15px}.alternative{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:6px;display:flex;font-size:14px;gap:10px;margin-bottom:8px;padding:8px 12px}.alternative.correct{background:#d4edda;border-color:#28a745;color:#155724}.alternative.selected{background:#e7f1ff;border-color:#007bff;color:#004085}.alternative.correct.selected{background:#c3e6cb;border-color:#28a745;color:#155724}.alt-letter{align-items:center;background:#6c757d;border-radius:50%;color:#fff;display:inline-flex;flex-shrink:0;font-size:12px;font-weight:600;height:24px;justify-content:center;width:24px}.alternative.correct .alt-letter{background:#28a745}.alternative.selected .alt-letter{background:#007bff}.answer-section{display:flex;flex-direction:column;gap:12px;padding:15px}.correct-answer,.student-answer{display:flex;flex-direction:column;gap:4px}.correct-answer label,.student-answer label{color:#6c757d;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.student-answer span{color:#007bff;font-weight:500}.correct-answer span{color:#28a745;font-weight:500}@media (max-width:768px){.filters-row{align-items:stretch;flex-direction:column}.filter-group{justify-content:space-between}.filter-input,.filter-select{flex:1 1;min-width:auto}.data-table{font-size:12px}.data-table td,.data-table th{padding:8px 4px}.test-details-header{grid-template-columns:1fr}.test-stats{grid-template-columns:repeat(2,1fr)}.modal-content.large{margin:10px;max-height:calc(100vh - 20px)}}@media (max-width:480px){.respostas{padding:10px}.test-stats{grid-template-columns:1fr}.alternative{align-items:flex-start;flex-direction:column;gap:8px}}.ai-avatar-container{align-items:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-bottom:1px solid #e2e8f0;display:flex;flex-direction:column;padding:24px}.ai-avatar{border:4px solid #667eea;border-radius:50%;box-shadow:0 8px 32px #667eea4d;height:200px;object-fit:cover;transition:all .3s ease;width:200px}.ai-avatar.speaking{animation:avatarPulse 1.5s ease-in-out infinite;border-color:#10b981;box-shadow:0 8px 32px #10b98166}.ai-avatar.listening{border-color:#f59e0b;box-shadow:0 8px 32px #f59e0b4d}@keyframes avatarPulse{0%,to{box-shadow:0 8px 32px #10b98166;transform:scale(1)}50%{box-shadow:0 12px 40px #10b98199;transform:scale(1.05)}}.avatar-status{align-items:center;display:flex;flex-direction:column;margin-top:16px;min-height:40px}.listening-indicator{align-items:center;color:#f59e0b;display:flex;font-weight:500;gap:8px}.pulse-dot{animation:pulse 1.5s ease-in-out infinite;background:#f59e0b;border-radius:50%;height:8px;width:8px}.speaking-indicator{align-items:center;color:#10b981;display:flex;font-weight:500;gap:12px}.sound-waves{align-items:center;display:flex;gap:2px}.wave{animation:wave 1.2s ease-in-out infinite;background:#10b981;border-radius:2px;height:16px;width:3px}.wave:nth-child(2){animation-delay:.1s}.wave:nth-child(3){animation-delay:.2s}@keyframes wave{0%,to{height:8px;opacity:.4}50%{height:20px;opacity:1}}.voice-chat-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.voice-chat-popup{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:480px;overflow:hidden;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.voice-chat-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.voice-chat-header h3{font-size:18px;font-weight:600;margin:0}.voice-chat-header .btn-close{background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;padding:8px;transition:background .2s ease}.voice-chat-header .btn-close:hover{background:#ffffff4d}.voice-chat-status{border-bottom:1px solid #e2e8f0;padding:16px 24px}.status-indicator{align-items:center;display:flex;font-size:14px;font-weight:500;gap:8px}.status-dot{animation:pulse 2s infinite;background:#ef4444;border-radius:50%;height:8px;width:8px}.status-indicator.connected .status-dot{background:#10b981}.saving-audio-indicator{align-items:center;animation:pulse 2s infinite;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:8px;color:#fff;display:flex;font-size:.85rem;gap:8px;margin:8px 0;padding:8px 12px}.saving-audio-indicator .spinning{animation:spin 1s linear infinite}.audio-saved-icon{color:#10b981;margin-left:4px;opacity:.8}.voice-chat-controls{align-items:center;display:flex;flex-direction:column;gap:16px;padding:32px 24px}.btn-start-conversation{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 16px #10b9814d;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:12px;justify-content:center;min-width:200px;padding:16px 32px;transition:all .2s ease}.btn-start-conversation:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.btn-start-conversation:disabled{cursor:not-allowed;opacity:.7;transform:none}.btn-stop-conversation{align-items:center;animation:pulse 2s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:12px;box-shadow:0 4px 16px #ef44444d;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:12px;justify-content:center;min-width:200px;padding:16px 32px;transition:all .2s ease}.btn-stop-conversation:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 6px 20px #ef444466;transform:translateY(-2px)}.processing-indicator{align-items:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;color:#6b7280;display:flex;font-size:.9rem;gap:8px;padding:8px 12px}.voice-chat-feedback{background:#f0f9ff;border:1px solid #0ea5e9;border-radius:8px;color:#0c4a6e;font-size:14px;line-height:1.5;margin:16px 24px;padding:12px 16px}.voice-chat-messages{margin:15px 0;max-height:300px;overflow-y:auto}.voice-chat-messages h4{color:#495057;font-size:14px;font-weight:600;margin:0 0 10px}.messages-container{display:flex;flex-direction:column;gap:10px}.message{border-left:4px solid;border-radius:8px;padding:10px}.message.user{background:#e3f2fd;border-left-color:#2196f3}.message.assistant{background:#f3e5f5;border-left-color:#9c27b0}.message-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px}.message-sender{color:#495057;font-size:12px;font-weight:600}.message-time{color:#6c757d;font-size:11px}.message-content{color:#212529;font-size:13px;line-height:1.4}.voice-chat-instructions{background:#f8f9fa;border-radius:8px;margin-top:15px;padding:15px}.voice-chat-instructions p{color:#495057;font-weight:600;margin:0 0 10px}.voice-chat-instructions ul{margin:0;padding-left:20px}.voice-chat-instructions li{color:#6c757d;font-size:14px;line-height:1.5;margin:5px 0;position:relative}.voice-chat-instructions li:before{background:#8b5cf6;border-radius:50%;content:"";height:4px;left:-16px;position:absolute;top:8px;width:4px}@media (max-width:640px){.voice-chat-popup{margin:20px;width:95%}.voice-chat-header{padding:16px 20px}.voice-chat-header h3{font-size:16px}.voice-chat-controls{padding:24px 20px}.btn-start-conversation,.btn-stop-conversation{font-size:15px;min-width:180px;padding:14px 24px}.voice-chat-instructions{padding:16px 20px}}.chat-container{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;height:100vh}.chat-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-bottom:1px solid #0000001a;box-shadow:0 2px 20px #0000001a;justify-content:space-between;padding:1rem 1.5rem}.chat-header,.chat-header-left{align-items:center;display:flex}.chat-header-left{gap:1rem}.btn-back{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;box-shadow:0 2px 10px #667eea4d;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .3s ease;width:40px}.btn-back:hover{box-shadow:0 4px 15px #667eea66;transform:translateX(-2px)}.btn-voice-chat{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 2px 8px #10b98133;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:8px 16px;transition:all .2s ease}.btn-voice-chat:hover{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b9814d;transform:translateY(-1px)}.chat-info{display:flex;flex-direction:column;gap:.25rem}.chat-subject{color:#6b7280;font-size:.875rem;font-weight:500}.chat-subject,.chat-title{align-items:center;display:flex;gap:.5rem}.chat-title{color:#1f2937;cursor:pointer;font-size:1.25rem;font-weight:700;margin:0;transition:color .2s ease}.chat-title:hover{color:#667eea}.edit-icon{opacity:0;transition:opacity .2s ease}.chat-title:hover .edit-icon{opacity:1}.title-edit{align-items:center;display:flex;gap:.5rem}.title-edit input{background:#fff;border:2px solid #667eea;border-radius:8px;font-size:1.25rem;font-weight:700;outline:none;padding:.5rem}.title-edit button{background:#10b981;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:.5rem;transition:background .2s ease}.title-edit button:hover{background:#059669}.aluno-info,.chat-header-right{align-items:center;display:flex;gap:1rem}.aluno-info{color:#6b7280;font-size:.875rem}.aluno-info span{gap:.25rem}.aluno-info span,.btn-audio{align-items:center;display:flex}.btn-audio{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:50%;color:#fff;cursor:pointer;height:36px;justify-content:center;margin-right:8px;transition:all .3s ease;width:36px}.btn-audio:hover{background:linear-gradient(135deg,#059669,#047857);transform:scale(1.05)}.btn-close{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .3s ease;width:36px}.btn-close:hover{background:#dc2626;transform:scale(1.05)}.chat-messages{display:flex;flex:1 1;flex-direction:column;gap:1rem;overflow-y:auto;padding:1.5rem}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:#ffffff1a;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#ffffff80}.error-message{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;color:#dc2626;display:flex;font-size:.875rem;gap:.5rem;margin-bottom:1rem;padding:1rem}.message-date{color:#ffffffb3;font-size:.875rem;font-weight:500;margin:1rem 0;text-align:center}.message{animation:messageSlideIn .3s ease;display:flex;gap:1rem;max-width:80%}.message.user{align-self:flex-end;flex-direction:row-reverse}.message.assistant{align-self:flex-start}.message-avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.message.user .message-avatar{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.message.assistant .message-avatar{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.message-content{background:#fffffff2;border-radius:18px;box-shadow:0 2px 15px #0000001a;padding:1rem 1.25rem;position:relative}.message.user .message-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.message.assistant .message-content{background:#fff;color:#1f2937}.message-text{word-wrap:break-word;font-size:.95rem;line-height:1.5;white-space:pre-wrap}.message-time{align-items:center;color:#ffffffb3;display:flex;font-size:.75rem;gap:.25rem;margin-top:.5rem}.message.assistant .message-time{color:#9ca3af}.message.typing .message-content{background:#ffffffe6}.typing-indicator{display:flex;gap:4px;padding:.5rem 0}.typing-indicator span{animation:typing 1.4s ease-in-out infinite;background:#9ca3af;border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{opacity:.5;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.chat-input-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-top:1px solid #0000001a;padding:1.5rem}.chat-input-wrapper{align-items:center;display:flex;gap:.75rem}.chat-input{background:#fff;border:2px solid #e5e7eb;border-radius:25px;flex:1 1;font-size:1rem;outline:none;padding:.875rem 1.25rem;transition:all .3s ease}.chat-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.chat-input:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.btn-send{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;box-shadow:0 2px 10px #667eea4d;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;transition:all .3s ease;width:48px}.btn-send:hover:not(:disabled){box-shadow:0 4px 15px #667eea66;transform:scale(1.05)}.btn-send:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.chat-input-info{color:#9ca3af;font-size:.75rem;gap:.5rem;margin-top:.75rem}.chat-input-info,.chat-loading{align-items:center;display:flex;justify-content:center}.chat-loading{color:#fff;flex-direction:column;gap:1rem;height:100%}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.chat-header{padding:1rem}.chat-header-left{gap:.75rem}.chat-title{font-size:1.125rem}.aluno-info{display:none}.chat-messages{padding:1rem}.message{max-width:90%}.chat-input-container{padding:1rem}.chat-input{font-size:.95rem;padding:.75rem 1rem}}@media (max-width:480px){.chat-header{align-items:stretch;flex-direction:column;gap:1rem}.chat-header-left,.chat-header-right{justify-content:center}.message{max-width:95%}.message-avatar{height:32px;width:32px}.message-content{padding:.75rem 1rem}}@media (prefers-color-scheme:dark){.chat-container{background:linear-gradient(135deg,#1f2937,#374151)}.chat-header{background:#1f2937f2;border-bottom-color:#ffffff1a}.chat-title{color:#f9fafb}.chat-input,.message.assistant .message-content{background:#1f2937f2;color:#f9fafb}.chat-input{border-color:#4b5563}.chat-input-container{background:#1f2937f2;border-top-color:#ffffff1a}}.materials-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin-top:20px}.material-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 16px #00000014;overflow:hidden;transition:all .3s ease}.material-card:hover{border-color:#667eea;box-shadow:0 8px 32px #0000001f;transform:translateY(-2px)}.material-header{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;gap:16px;padding:20px}.material-icon{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.material-info h4{color:#1f2937;font-size:1.1rem;font-weight:600;line-height:1.4;margin:0 0 4px}.material-subject{color:#667eea;font-size:.875rem;font-weight:500}.material-details{background:#f9fafb;padding:16px 20px}.detail-item{justify-content:space-between;margin-bottom:8px}.detail-item:last-child{margin-bottom:0}.detail-label{color:#6b7280;font-size:.875rem;font-weight:500}.detail-value{color:#1f2937;font-size:.875rem;font-weight:600;max-width:60%;text-align:right;word-break:break-word}.material-actions{border-top:1px solid #f3f4f6;padding:20px}.material-actions .btn{align-items:center;display:flex;font-weight:600;gap:8px;justify-content:center;padding:12px 16px;transition:all .3s ease;width:100%}.material-actions .btn:disabled{cursor:not-allowed;opacity:.5}.loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.loading-state .spinning{animation:spin 1s linear infinite;margin-bottom:12px}@media (max-width:768px){.materials-grid{gap:16px;grid-template-columns:1fr}.material-header{padding:16px}.material-details{padding:12px 16px}.material-actions{padding:16px}.detail-value{max-width:50%}}.test-taking-interface{background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001a;margin:0 auto;max-width:1200px;overflow:hidden;padding:44px 24px 24px}.test-taking-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:24px}.test-progress{flex:1 1;min-width:300px}.progress-info{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.progress-info h2{font-size:1.5rem;font-weight:600;margin:0}.progress-info span{font-size:.9rem;opacity:.9}.progress-bar{background:#fff3;border-radius:4px;height:8px;overflow:hidden;width:100%}.progress-fill{background:#10b981;border-radius:4px;height:100%;transition:width .3s ease}.test-stats{gap:24px}.stat-item,.test-stats{align-items:center;display:flex}.stat-item{font-size:.9rem;gap:8px;opacity:.9}.question-content{min-height:400px;padding:32px}.question-header{border-bottom:2px solid #e5e7eb;margin-bottom:24px;padding-bottom:16px}.question-header h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin:0}.question-text{margin-bottom:32px}.question-text p{color:#374151;font-size:1.1rem;line-height:1.6;margin:0}.question-options{max-width:600px}.multiple-choice,.true-false{display:flex;flex-direction:column;gap:16px}.option-label{align-items:center;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:16px;transition:all .2s ease}.option-label:hover{background:#f0f4ff;border-color:#667eea}.option-label input[type=radio]{accent-color:#667eea;height:18px;width:18px}.option-label input[type=radio]:checked+.option-text{color:#667eea;font-weight:600}.option-text{color:#374151;flex:1 1;font-size:1rem}.essay-answer{width:100%}.essay-textarea{border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.5;min-height:120px;padding:16px;resize:vertical;width:100%}.essay-textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.question-navigation{align-items:center;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:24px 32px}.nav-buttons{display:flex;gap:12px}.nav-buttons .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.nav-buttons .btn:disabled{cursor:not-allowed;opacity:.5}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover:not(:disabled){background:#4b5563}.btn-primary{background:#667eea}.btn-primary:hover:not(:disabled){background:#5a67d8}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#059669}.question-indicator{display:flex;flex-wrap:wrap;gap:8px}.question-dot{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;height:36px;justify-content:center;transition:all .2s ease;width:36px}.question-dot:hover{border-color:#667eea;color:#667eea}.question-dot.active{background:#667eea;border-color:#667eea;color:#fff}.question-dot.answered{background:#10b981;border-color:#10b981;color:#fff}.question-dot.answered.active{background:#059669;border-color:#059669}@media (max-width:768px){.test-taking-header{flex-direction:column;text-align:center}.test-progress{min-width:auto;width:100%}.test-stats{justify-content:center}.question-content{padding:24px 16px}.question-navigation{align-items:stretch;flex-direction:column;padding:16px}.nav-buttons{justify-content:space-between}.question-indicator{justify-content:center}.question-dot{font-size:.8rem;height:32px;width:32px}}.aluno-container{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:40px 40px 20px}.loading-container{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:50vh;text-align:center}.loading-spinner{animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.spinning{animation:spin 1s linear infinite}.error-container{align-items:center;color:#fff;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:50vh;text-align:center}.error-container svg{color:#ef4444}.error-container h2{font-size:24px;margin:0}.error-container p{font-size:16px;margin:0;opacity:.9}.empty-state{align-items:center;background:#fff;border-radius:16px;color:#64748b;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center;padding:48px 24px;text-align:center}.empty-state svg{margin-bottom:16px;opacity:.6}.empty-state h3{color:#374151;font-size:20px;font-weight:600;margin:0 0 8px}.empty-state p{font-size:14px;margin:0;opacity:.8}.aluno-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #fffc;border-radius:20px;box-shadow:0 8px 32px #0000001f;display:flex;gap:20px;justify-content:space-between;margin-bottom:32px;padding:32px}.aluno-logo{flex-shrink:0}.aluno-logo-image{height:50px;max-width:120px;object-fit:contain;width:auto}.aluno-profile{align-items:center;display:flex;flex:1 1;gap:20px}.header-actions{display:flex;gap:12px}.profile-edit-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 2px 8px #667eea33;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .2s ease}.profile-edit-button:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.logout-button{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:8px;box-shadow:0 2px 8px #ef444433;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .2s ease}.logout-button:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef44444d;transform:translateY(-1px)}.logout-button:active{transform:translateY(0)}.profile-avatar{border:4px solid #667eea;border-radius:50%;box-shadow:0 8px 24px #667eea66;height:90px;overflow:hidden;position:relative;width:90px}.profile-avatar:before{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;bottom:-4px;content:"";left:-4px;position:absolute;right:-4px;top:-4px;z-index:-1}.profile-avatar img{height:100%;object-fit:cover;width:100%}.profile-info h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px;font-weight:800;line-height:1.2;margin:0 0 16px}.profile-details{display:flex;flex-wrap:wrap;gap:24px}.detail-item{align-items:center;background:#667eea14;border:1px solid #667eea26;border-radius:12px;display:flex;font-size:15px;font-weight:500;gap:8px;padding:8px 12px}.detail-item svg{color:#667eea}.stats-section{margin-bottom:32px}.stats-grid{grid-gap:20px;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-card{align-items:center;display:flex;gap:20px;overflow:hidden;padding:28px;transition:all .3s ease}.stat-card,.stat-icon{border-radius:16px;position:relative}.stat-icon{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex-shrink:0;font-size:28px;height:56px;width:56px}.stat-card.success .stat-icon{background:linear-gradient(135deg,#10b981,#059669)}.stat-card.warning .stat-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-card.info .stat-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-content{flex:1 1}.stat-value{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#1a1a1a,#374151);-webkit-background-clip:text;background-clip:text;font-size:36px;font-weight:800;line-height:1.1;margin:0}.stat-label{font-size:15px;font-weight:600;letter-spacing:.5px;margin-top:6px}.section{margin-bottom:32px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.section-header h2{color:#fff;font-size:24px;font-weight:700;margin:0}.section-count{background:#fff3;border-radius:20px;color:#fff;font-size:14px;font-weight:500;padding:6px 12px}.tests-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.test-card{background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000001a;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.test-card:hover{box-shadow:0 8px 30px #00000026;transform:translateY(-4px)}.test-card-header{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-left:4px solid #667eea;padding:20px}.test-title{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:8px}.test-title h3{color:#1a1a1a;flex:1 1;font-size:18px;font-weight:600;margin:0 12px 0 0}.test-subject{font-size:14px}.test-status,.test-subject{font-weight:600;letter-spacing:.5px;text-transform:uppercase}.test-status{border-radius:6px;font-size:12px;padding:4px 8px}.status-available{background:#dcfce7;color:#166534}.status-progress{background:#fef3c7;color:#92400e}.status-scheduled{background:#dbeafe;color:#1e40af}.status-completed{background:#f3e8ff;color:#7c3aed}.status-approved{background:#dcfce7;color:#166534}.status-failed{background:#fee2e2;color:#dc2626}.test-card-body{padding:20px}.test-meta-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr;margin-bottom:16px}.meta-item{align-items:center;color:#64748b;display:flex;font-size:14px;gap:8px}.meta-item svg{color:#94a3b8;flex-shrink:0}.test-attempts,.test-schedule{color:#64748b;font-size:14px;margin-top:8px}.test-attempts strong,.test-schedule strong{color:#1a1a1a}.test-instructions-preview{background:#f8fafc;border-left:3px solid #667eea;border-radius:6px;color:#64748b;font-size:14px;margin-top:8px;padding:8px}.test-card-footer{background:#fafbfc;border-top:1px solid #f1f5f9;padding:20px}.results-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.result-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;padding:20px;transition:transform .2s ease}.result-card:hover{transform:translateY(-2px)}.result-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.result-title h4{color:#1a1a1a;font-size:16px;font-weight:600;margin:0 0 4px}.result-subject{color:#64748b;font-size:14px}.result-status{border-radius:6px;font-size:12px;font-weight:600;padding:4px 8px;text-transform:uppercase}.result-body{gap:20px}.result-body,.result-score{align-items:center;display:flex}.result-score{flex-direction:column;min-width:80px}.score-main{align-items:baseline;display:flex;gap:2px}.score-value{color:#1a1a1a;font-size:24px;font-weight:700}.score-max{color:#64748b;font-size:16px}.score-percentage{color:#667eea;font-size:14px;font-weight:600;margin-top:4px}.result-details{flex:1 1}.detail-row{display:flex;font-size:14px;justify-content:space-between;margin-bottom:6px}.detail-row span:first-child{color:#64748b}.detail-row span:last-child{color:#1a1a1a;font-weight:500}.test-interface{background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000001a;margin:0 auto;max-width:800px;overflow:hidden}.test-header{align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:24px}.test-info h1{font-size:24px;font-weight:700;margin:0 0 12px}.test-meta{display:flex;flex-wrap:wrap;gap:20px}.test-meta .meta-item{color:#ffffffe6}.test-meta .meta-item svg{color:#fffc}.test-content{padding:32px}.test-instructions{background:#f8fafc;border-left:4px solid #667eea;border-radius:12px;margin-bottom:24px;padding:24px}.test-instructions h3{color:#1a1a1a;font-size:20px;font-weight:600;margin:0 0 12px}.test-instructions p{color:#475569;line-height:1.6;margin-bottom:16px}.test-details{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-item{color:#64748b;font-size:14px}.detail-item strong{color:#1a1a1a}.test-actions{text-align:center}.test-warning{align-items:center;color:#f59e0b;display:flex;font-size:14px;gap:8px;justify-content:center;margin-top:16px}.test-warning svg{flex-shrink:0}.btn{font-size:14px;font-weight:600;justify-content:center;padding:12px 20px;text-decoration:none}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #667eea4d}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}.btn-secondary{border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.btn-large{font-size:16px;padding:16px 32px}.subjects-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:20px}.subject-card{background:#fff;border:2px solid #10b981;border-radius:12px;cursor:pointer;overflow:hidden;padding:24px;position:relative;text-align:center;transition:all .3s ease}.subject-card:hover{border-color:#059669;box-shadow:0 8px 25px #10b98126;transform:translateY(-4px)}.subject-card:active{transform:translateY(-2px)}.subject-icon{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;color:#fff;display:flex;height:60px;justify-content:center;margin:0 auto 16px;width:60px}.subject-card h3{color:#10b981;font-size:1.25rem;font-weight:600;margin:0 0 8px}.subject-card p{color:#6b7280;font-size:.875rem;line-height:1.4;margin:0}@media (max-width:768px){.aluno-container{padding:20px 20px 8px}.aluno-header{align-items:center;box-sizing:border-box;flex-direction:row;gap:8px;margin:0 0 12px;max-width:100%;min-height:60px;overflow:hidden;padding:12px;position:relative;text-align:left;width:100%}.aluno-header.compact{gap:6px;margin-bottom:10px;min-height:75px;padding:10px 65px 10px 10px}.aluno-logo{flex-shrink:0}.aluno-logo-image{height:32px;max-width:80px}.aluno-profile.horizontal{align-items:center;flex:1 1;flex-direction:row;gap:8px;min-width:0;overflow:hidden;text-align:left;width:auto}.profile-avatar.compact{border-width:2px;flex-shrink:0;height:50px;width:50px}.profile-info.compact{flex:1 1;min-width:0;overflow:hidden;text-align:left}.profile-info.compact h1{font-size:16px;font-weight:600;line-height:1.1;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-details.horizontal{align-items:flex-start;flex-direction:column;flex-wrap:nowrap;gap:1px;justify-content:flex-start;overflow:hidden;width:100%}.detail-item{border-radius:8px;flex-shrink:0;font-size:9px;max-width:none;min-width:auto;overflow:visible;padding:2px 4px;text-overflow:clip;white-space:nowrap;width:fit-content}.detail-item svg{height:12px;width:12px}.header-actions{flex-direction:column;gap:2px;max-width:40px;overflow:hidden;position:absolute;right:12px;top:50%;transform:translateY(-50%);width:40px}.header-actions,.logout-button,.profile-edit-button{align-items:center;display:flex;flex-shrink:0;justify-content:center}.logout-button,.profile-edit-button{border-radius:50%;box-shadow:0 1px 2px #0000001a;font-size:0;height:20px;min-width:20px;padding:0;width:20px}.logout-button svg,.profile-edit-button svg{height:12px;width:12px}.logout-button span,.profile-edit-button span{display:none}.stats-grid{gap:16px;grid-template-columns:repeat(2,1fr)!important}.stat-card{flex-direction:column;gap:10px;min-height:120px;padding:18px;text-align:center}.stat-icon{font-size:24px;height:48px;margin:0 auto;width:48px}.stat-value{font-size:28px}.stat-label{font-size:13px}.section{margin-bottom:24px}.section-header{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:16px}.section-header h2{font-size:20px}.section-count{font-size:12px;padding:4px 8px}.subjects-grid{gap:12px;grid-template-columns:repeat(2,1fr)}.subject-card{padding:16px}.subject-icon{height:48px;margin-bottom:12px;width:48px}.subject-card h3{font-size:1.1rem;margin-bottom:6px}.subject-card p{font-size:.8rem}.tests-grid{gap:16px;grid-template-columns:1fr}.test-card{margin-bottom:8px}.test-card-header{padding:16px}.test-title h3{font-size:16px;margin-right:8px}.test-subject{font-size:12px}.test-status{font-size:10px;padding:3px 6px}.test-card-body{padding:16px}.test-meta-grid{gap:8px;grid-template-columns:1fr}.meta-item{font-size:13px}.test-attempts,.test-instructions-preview{font-size:13px;margin-top:6px}.test-card-footer{padding:16px}.test-card-footer .btn{font-size:14px;justify-content:center;padding:12px;width:100%}.results-grid{gap:16px;grid-template-columns:1fr}.result-card{padding:16px}.result-body{align-items:flex-start;flex-direction:column;gap:16px}.result-score{align-items:center;flex-direction:row;justify-content:space-between;width:100%}.test-interface{border-radius:8px;margin:0}.test-header{flex-direction:column;gap:16px;padding:16px}.test-info h1{font-size:20px}.test-meta{flex-wrap:wrap;gap:12px;justify-content:center}.test-meta .meta-item{font-size:13px}.test-content{padding:16px}.test-instructions{margin-bottom:16px;padding:16px}.test-instructions h3{font-size:18px}.test-details{gap:8px;grid-template-columns:1fr}.detail-item{font-size:13px}.test-actions .btn-large{font-size:15px;padding:14px 20px;width:100%}.test-warning{font-size:13px;margin-top:12px}}@media (max-width:480px){.aluno-container{padding:20px 12px 4px}.stats-grid{gap:8px;grid-template-columns:repeat(2,1fr)!important}.stat-card{flex-direction:column;gap:8px;min-height:110px;padding:16px;text-align:center}.stat-content{flex:1 1}.stat-value{font-size:20px}.stat-label{font-size:11px}.subjects-grid{gap:8px;grid-template-columns:repeat(2,1fr)}.subject-card{flex-direction:column;gap:8px;padding:12px;text-align:center}.subject-icon{flex-shrink:0;height:40px;margin:0 auto 8px;width:40px}.subject-card h3{font-size:1rem;margin:0 0 4px}.subject-card p{font-size:.75rem;margin:0}.profile-info h1{font-size:18px}.profile-details{flex-direction:column;gap:8px}.detail-item{justify-content:center}.section-header h2{font-size:18px}.section-count{font-size:11px}.test-title{align-items:flex-start;flex-direction:column;gap:6px}.test-title h3{font-size:15px;margin-right:0}.test-subject{font-size:11px}.test-status{font-size:9px;padding:2px 4px}.meta-item{font-size:12px}.test-card-footer .btn{font-size:13px;padding:10px}.result-header{align-items:flex-start;flex-direction:column;gap:6px}.result-title h4{font-size:15px}.result-subject{font-size:12px}.result-score{align-items:center;flex-direction:column;gap:8px}.score-value{font-size:20px}.score-max{font-size:14px}.detail-row,.score-percentage{font-size:12px}.test-info h1{font-size:18px}.test-meta .meta-item{font-size:12px}.test-instructions h3{font-size:16px}.test-instructions p{font-size:14px}.detail-item{font-size:12px}.test-actions .btn-large{font-size:14px;padding:12px 16px}.test-warning{font-size:12px}}@media (max-width:768px) and (orientation:landscape){.subjects-grid{grid-template-columns:repeat(3,1fr)}.stats-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:480px) and (orientation:landscape){.stats-grid,.subjects-grid{grid-template-columns:repeat(2,1fr)}}.profile-edit-modal{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.profile-edit-content{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:500px;overflow:hidden;width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.profile-edit-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:24px}.profile-edit-header h3{font-size:20px;font-weight:600;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;justify-content:center;padding:8px;transition:background .2s ease}.close-button:hover{background:#ffffff1a}.profile-edit-body{max-height:60vh;overflow-y:auto;padding:24px}.form-group{margin-bottom:20px}.form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.readonly-field{align-items:center;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;display:flex;font-weight:500;gap:12px;padding:12px 16px}.readonly-field svg{color:#9ca3af;flex-shrink:0}.field-help{color:#6b7280;display:block;font-size:12px;font-style:italic;margin-top:4px}.password-input{align-items:center;display:flex;position:relative}.password-input input{background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;padding:12px 48px 12px 16px;transition:all .2s ease;width:100%}.password-input input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.password-input input.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.password-toggle{align-items:center;background:none;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;justify-content:center;padding:4px;position:absolute;right:12px;transition:color .2s ease}.password-toggle:hover{color:#374151}.profile-error{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;font-size:14px;gap:8px;margin-top:16px;padding:12px 16px}.profile-error svg{flex-shrink:0}.profile-edit-footer{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;padding:20px 24px}.profile-edit-footer .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.profile-edit-footer .btn:disabled{cursor:not-allowed;opacity:.5}.profile-edit-footer .btn-secondary{background:#f1f5f9;border:1px solid #d1d5db;color:#475569}.profile-edit-footer .btn-secondary:hover:not(:disabled){background:#e2e8f0}.profile-edit-footer .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #667eea4d;color:#fff}.profile-edit-footer .btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}@media (max-width:768px){.profile-edit-modal{padding:12px}.profile-edit-content{border-radius:12px;max-width:100%}.profile-edit-header{padding:20px}.profile-edit-header h3{font-size:18px}.profile-edit-body{padding:20px}.profile-edit-footer{flex-direction:column;padding:16px 20px}.profile-edit-footer .btn{justify-content:center;width:100%}.header-actions{flex-direction:column;gap:8px;width:100%}.logout-button,.profile-edit-button{justify-content:center;width:100%}}.audio-test-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 2px 8px #10b98133;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .2s ease}.audio-test-button:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #10b9814d;transform:translateY(-1px)}.audio-test-button:disabled{cursor:not-allowed;opacity:.7;transform:none}.audio-test-button.connected{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px #3b82f633}.audio-test-button.connected:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 4px 12px #3b82f64d}.conversation-test-button{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:8px;box-shadow:0 2px 8px #8b5cf633;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .2s ease}.conversation-test-button:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf64d;transform:translateY(-1px)}.conversation-test-button:disabled{cursor:not-allowed;opacity:.7;transform:none}.conversation-test-button.active{animation:pulse 2s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef444433}.conversation-test-button.active:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #ef44444d}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#334155;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.app{display:flex;min-height:100vh}.main-content{background-color:#f8fafc;flex:1 1;margin-left:280px;padding:24px}.page-header{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.page-title{color:#1e293b;font-size:28px;font-weight:700;margin-bottom:8px}.page-subtitle{color:#64748b;font-size:16px}.stats-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:32px}.stat-card{background:#fff;border-left:4px solid #3b82f6;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.stat-card.success{border-left-color:#10b981}.stat-card.warning{border-left-color:#f59e0b}.stat-card.danger{border-left-color:#ef4444}.stat-header{justify-content:between;margin-bottom:12px}.stat-header,.stat-icon{align-items:center;display:flex}.stat-icon{background:#eff6ff;border-radius:12px;color:#3b82f6;height:48px;justify-content:center;width:48px}.stat-icon.success{background:#ecfdf5;color:#10b981}.stat-icon.warning{background:#fffbeb;color:#f59e0b}.stat-icon.danger{background:#fef2f2;color:#ef4444}.stat-value{color:#1e293b;font-size:32px;font-weight:700;margin-bottom:4px}.stat-label{color:#64748b;font-size:14px;font-weight:500}.stat-change{font-size:12px;font-weight:600;margin-top:8px}.stat-change.positive{color:#10b981}.stat-change.negative{color:#ef4444}.content-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:2fr 1fr;margin-bottom:32px}.content-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px}.card-title{color:#1e293b;font-size:20px;font-weight:600;margin-bottom:16px}.data-table{background:#fff;border-collapse:collapse;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;width:100%}.data-table th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-weight:600;padding:16px;text-align:left}.data-table td{border-bottom:1px solid #f3f4f6;padding:16px}.data-table tr:hover{background:#f9fafb}.status-badge{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.status-badge.active{background:#dcfce7;color:#166534}.status-badge.inactive{background:#fee2e2;color:#991b1b}.status-badge.pending{background:#fef3c7;color:#92400e}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-weight:500;gap:8px;padding:8px 16px;transition:all .2s ease}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#f1f5f9;color:#475569}.btn-secondary:hover{background:#e2e8f0}@media (max-width:768px){.main-content{margin-left:0;padding:16px}.content-grid,.stats-grid{grid-template-columns:1fr}}
/*# sourceMappingURL=main.8392ea63.css.map*/