/* ava-f · sistema visual V4. Camada de apresentação sobre os estilos e fluxos existentes. */
:root{--brand:#5145cd;--brand-dark:#3d33a9;--brand-light:#efedff;--ink:#202638;--muted:#778093;--surface:#fff;--canvas:#f6f7fb;--line:#e7e9f0;--success:#237958;--warning:#a26716;--danger:#b73c4d;--radius:16px;--sidebar:236px;--azul:var(--brand);--azul-claro:var(--brand-light);--borda:var(--line);--cinza:var(--canvas);--texto:var(--ink);--verde:var(--success)}
html{scroll-behavior:smooth}body{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}[hidden]{display:none!important}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1,h2,h3,h4{color:var(--ink);letter-spacing:-.035em;line-height:1.25}h1{font-size:32px;font-weight:680}h2{font-size:20px;font-weight:650}h3{font-size:16px;font-weight:650}p{margin:0 0 12px}a{color:var(--brand)}button,.botao-link{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border:1px solid transparent;border-radius:9px;padding:10px 17px;background:var(--brand);font-weight:600;font-size:13px;line-height:1.4;transition:background .15s,border-color .15s,box-shadow .15s}button:hover,.botao-link:hover{opacity:1;background:var(--brand-dark)}button:disabled{opacity:.5;cursor:not-allowed}button.secundario{background:#fff;border-color:#dfe2eb;color:#525d71}button.secundario:hover{background:#f4f4fc;border-color:#c8c5ed}button.perigo{background:#fff1f2;color:var(--danger);border-color:#ffdadd}button.perigo:hover{background:#ffe1e5}.button-quiet,.back-link{background:transparent;color:#667086;border:0;min-height:36px;padding:6px 8px;font-size:13px;text-decoration:none;font-weight:550}.button-quiet:hover,.back-link:hover{background:#eeeef7;color:var(--brand)}.button-dark{background:#243b3c;color:#fff}.button-dark:hover{background:#152a2b}.icon-button{width:36px;height:36px;min-height:36px;background:transparent;color:#6b7487;border:1px solid var(--line);padding:7px}.icon-button:hover{background:var(--brand-light);color:var(--brand)}.ui-icon{flex-shrink:0}input,textarea,select{border:1px solid #dde1ea;border-radius:8px;background:#fff;color:var(--ink);padding:11px 12px;min-height:42px;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#9aa1af}input:focus,textarea:focus,select:focus{border-color:#8b81e3;box-shadow:0 0 0 3px #5145cd10;outline:0}input:disabled,textarea:disabled{background:#f7f8fb;color:#5b6577}label{font-size:12px;font-weight:600;color:#525d71;margin-bottom:16px}.check{font-size:13px}.check input,input[type=radio],input[type=checkbox]{accent-color:var(--brand);min-height:0}textarea{line-height:1.65;font-weight:400;resize:vertical}.card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 8px #26344d03;background:#fff;padding:26px;margin-bottom:0;min-width:0}.card h1,.card h2,.card h3{margin-top:0}.card h2{margin-bottom:10px}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.13em;color:#8b91a1;margin-bottom:9px}.status,.entregue,.risco,.badge-muted{padding:4px 9px;border-radius:6px;font-size:10px;font-weight:650;line-height:1.6}.status.publicada,.status.finalized,.entregue,.risco.normal{color:#267a58;background:#e9f6ed}.status.rascunho,.status.draft,.risco.atencao{background:#fff5dc;color:#a77c20}.status.revision_requested,.risco.revisar{background:#fff0e9;color:#ad643a}.status.submitted,.status.resubmitted{background:var(--brand-light);color:var(--brand)}.status.pending,.badge-muted{background:#f0f2f7;color:#6f7b90}.mensagem{border:1px solid #e3e6ef;background:#f4f6fb;color:#627086;border-radius:9px;padding:12px 15px;font-size:12px;font-weight:500}.mensagem.erro{background:#fff1f3;color:#a63b4c;border-color:#f5d6dc}.mensagem.ok{background:#edf8f1;color:#267958;border-color:#d8eee0}.vazio,.texto-menor{font-size:12px;color:#81899b}.skip-link{position:fixed;top:-100px;left:20px;background:#fff;padding:12px 20px;z-index:2000;box-shadow:0 4px 16px #0002;border-radius:8px}.skip-link:focus{top:12px}.loading-line{color:#8b91a0;display:flex;align-items:center;gap:10px}.loading-line:before{content:"";width:14px;height:14px;border:2px solid #e5e2fa;border-top-color:var(--brand);border-radius:50%;animation:loading .7s linear infinite}.empty-state{padding:55px 24px;text-align:center;background:#fff;border:1px dashed #dfe2ed;border-radius:14px;color:#8b93a4}.empty-state>svg{width:34px;height:34px;margin-bottom:14px;color:#ada8d2}.empty-state h2,.empty-state h3{font-size:18px;color:#616a80;margin:0 0 10px}.empty-state p{max-width:470px;margin:0 auto 18px;font-size:13px}.empty-state button{margin:5px}.ui-toast{position:fixed;bottom:24px;left:calc(var(--sidebar) + 28px);max-width:calc(100vw - var(--sidebar) - 80px);z-index:1500;background:#283146;color:#fff;padding:13px 20px;border-radius:10px;box-shadow:0 8px 24px #0002;font-size:13px}
/* Estrutura e navegação */
.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:28px 18px 20px;background:#fff;border-right:1px solid var(--line);z-index:100;display:flex;flex-direction:column;overflow-y:auto}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:0 13px 30px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:31px;font-weight:750;letter-spacing:-.065em;line-height:1;text-decoration:none;color:#282b3f}.brand-dot{color:var(--brand)}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--brand);color:#fff;transform:rotate(-6deg)}.brand-mark svg{transform:rotate(6deg);width:23px;height:23px}.workspace-tag{font-size:9px;letter-spacing:.12em;font-weight:700;color:#a6aaba;padding:0 15px 15px}.app-sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;min-height:43px;justify-content:flex-start;color:#7a8396;background:transparent;padding:11px 14px;font-weight:550;font-size:12px;text-align:left;border-radius:8px}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#f7f7fc;color:#4e457d}.nav-item[aria-current=page]{color:var(--brand);background:#efedfb}.nav-count{margin-left:auto;background:var(--brand);color:#fff;min-width:21px;padding:2px 5px;border-radius:6px;font-size:10px;text-align:center}.nav-divider{height:1px;background:var(--line);margin:20px 10px 15px}.sidebar-foot{margin-top:auto;padding:35px 14px 0;font-size:10px;color:#939bad}.sidebar-foot small{display:block;font-size:9px;margin-top:6px;color:#b0b5c1}.live-dot{width:6px;height:6px;background:#7fc3a5;border-radius:50%;display:inline-block;margin-right:6px}.sidebar-close,.menu-toggle{display:none}.app-topbar{position:fixed;top:0;left:var(--sidebar);right:0;height:78px;background:#ffffffef;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;z-index:50;gap:20px}.topbar-location,.topbar-actions{display:flex;align-items:center;gap:15px;min-width:0}.topbar-context{font-size:11px;color:#a3a9b8}.breadcrumb-slash{color:#d0d5df;font-size:12px}#view-breadcrumb{font-size:11px;color:#667187;font-weight:550}.class-switch-label{margin:0}.class-switch-label select{font-size:11px;padding:7px 30px 7px 10px;min-height:34px;margin:0;max-width:200px;background:#fafbfe;border-color:var(--line)}.account-avatar{width:32px;height:32px;border-radius:50%;background:#ece9de;color:#8b8063;display:grid;place-items:center;font-size:10px;font-weight:650}.account-name{font-size:11px;color:#626c80;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions #btn-sair{min-height:30px;font-size:11px;color:#959cad}.app-main{margin:78px 0 0 var(--sidebar);padding:38px 42px 70px;min-height:calc(100vh - 78px)}.app-main>[data-view],#painel-turma>[data-view]{max-width:1440px;margin:0 auto;animation:view-enter .18s ease-out}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:27px}.page-heading h1{margin:0 0 10px;font-size:28px;letter-spacing:-.04em}.page-heading p{font-size:12px;color:#8c94a4;margin:0}.page-heading .eyebrow{font-size:8px;margin-bottom:9px;color:#959bab}.page-heading h1:focus{outline:0}.page-heading>button{flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{font-size:17px;margin:0}.section-heading .eyebrow{font-size:8px}.section-heading .button-quiet{font-size:11px}.toolbar{display:flex;align-items:flex-end;gap:16px;margin:0 0 24px;flex-wrap:wrap}.toolbar label{margin:0;font-size:10px;min-width:155px}.toolbar input,.toolbar select{font-size:12px;min-height:39px;margin-top:6px}.search-field{flex:1;max-width:380px}.toolbar-note{margin-left:auto;color:#959eb0;font-size:11px;align-self:center}.activity-picker{max-width:440px;margin-bottom:22px}.activity-picker select{font-size:13px;margin-top:8px}.compact-form{max-width:820px;margin-bottom:28px}.compact-form h2{font-size:16px;margin-bottom:18px}.linha-form{gap:10px}.linha-form input{min-width:0}.linha-form button{flex-shrink:0}
/* Dashboard */
.welcome-banner{display:flex;justify-content:space-between;align-items:center;min-height:220px;padding:32px 38px;border-radius:18px;background:#eaf3ee;border:1px solid #e0ede5;margin-bottom:25px;overflow:hidden}.welcome-banner .eyebrow{color:#719084;font-size:8px}.welcome-banner h2{font-size:25px;letter-spacing:-.04em;color:#24483d;margin:0 0 10px}.welcome-banner p{font-size:11px;color:#759486;max-width:430px;margin-bottom:23px}.welcome-banner button{min-height:36px;padding:8px 15px;font-size:10px}.welcome-banner button svg{width:14px;height:14px}.banner-art{position:relative;width:210px;height:160px;margin-right:35px;flex-shrink:0}.art-book{position:absolute;right:5px;top:5px;transform:rotate(12deg);width:99px;height:136px;padding:20px;background:#8aa695;border:4px solid #fff9;box-shadow:8px 10px 0 #b3c9bd55,0 12px 20px #47755e12;border-radius:9px;color:#fff;font-size:50px;font-family:Georgia,serif}.art-book span{display:block;font:7px/1.6 "Segoe UI",sans-serif;letter-spacing:.05em;margin-top:8px}.art-note{position:absolute;left:0;top:30px;transform:rotate(-12deg);width:106px;height:115px;border-radius:10px;background:#fff;padding:18px;box-shadow:0 10px 20px #47755e0d}.art-check{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#f1ead8;color:#b29857;margin-bottom:14px}.art-note i{display:block;height:4px;background:#e1e8e4;border-radius:3px;margin:7px 0}.art-note i:last-child{width:70%}.art-spark{position:absolute;right:-36px;bottom:12px;color:#a6beb0;font-size:30px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 23px;min-height:123px;display:flex;flex-direction:column;gap:6px}.stat-card>span{font-size:10px;font-weight:550;color:#8991a3}.stat-card strong{font-size:28px;font-weight:650;letter-spacing:-.05em;line-height:1.25}.stat-card small{font-size:9px;color:#a2a8b6}.stat-accent strong{color:var(--brand)}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px}.dashboard-columns>.card{padding:25px}.recent-item{display:flex;align-items:center;gap:14px;border-bottom:1px solid #f0f1f6;padding:16px 0}.recent-item:last-child{border-bottom:0}.recent-item>div{flex:1;min-width:0}.recent-item strong{display:block;font-size:11px;font-weight:600;color:#505a70}.recent-item small{display:block;margin-top:4px;font-size:9px;color:#a5abba}.recent-symbol{display:grid;place-items:center;width:32px;height:35px;background:#f0eefc;color:#8980c6;border-radius:8px;font-size:17px}.recent-item .button-quiet{font-size:10px;flex-shrink:0}.quick-panel{background:#fff}.quick-panel h2{font-size:20px;margin-top:14px}.quick-panel>p{font-size:11px;color:#969eb0;line-height:1.9;margin:15px 0 25px}.quick-link{width:100%;display:flex;justify-content:flex-start;background:transparent;color:#6e7588;border-top:1px solid var(--line);border-radius:0;padding:15px 0;text-align:left;gap:12px;font-size:11px;font-weight:550}.quick-link:hover{background:#faf9ff;color:var(--brand)}.quick-link>span{flex:1}.quick-link small{display:block;font-size:9px;font-weight:400;color:#a3aab7;margin-top:4px}.quick-link>svg:first-child{width:17px;height:17px;color:#a5a0c4}.quick-link>svg:last-child{width:14px;height:14px;color:#bcc1cd}
/* Turmas, atividades e pessoas */
.class-grid,.activity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.class-tile,.activity-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:26px;text-align:left;min-width:0;color:var(--ink);font-weight:400;min-height:215px}.class-tile:hover,.activity-tile:hover{background:#fff;border-color:#c9c5e9;box-shadow:0 8px 24px #5145cd07}.class-tile.ativo{border-color:#bcb6e7;background:#fcfbff}.tile-icon{display:grid;place-items:center;min-width:35px;height:37px;border-radius:9px;background:#efedfb;color:#8a80c6;font-size:23px;margin-bottom:6px}.class-tile .eyebrow{font-size:8px;margin:0}.class-tile h2,.activity-tile h2{font-size:17px;margin:0 0 5px}.class-tile strong{display:block;font-size:19px;line-height:1.3;letter-spacing:-.03em;margin:0 0 8px}.class-tile p,.activity-tile p{font-size:11px;color:#929aac;margin:0;line-height:1.8}.class-tile-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;padding-top:15px;border-top:1px solid #f1f1f7}.class-code{font-size:10px;letter-spacing:.1em;font-family:Consolas,monospace;color:#777b93;background:#f4f4f9;border-radius:5px;padding:5px 8px}.class-tile-foot>span:last-child{color:var(--brand);font-size:10px}.activity-tile .status{position:absolute;right:22px;top:26px}.activity-tile .activity-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px;padding-top:18px}.activity-actions button{font-size:10px;padding:7px 10px;min-height:33px}.activity-actions button:first-child{background:var(--brand-light);color:var(--brand)}.activity-actions button:first-child:hover{background:#e3dffd}.table-card{padding:0;overflow:auto}.people-table{border-collapse:collapse;width:100%;text-align:left}.people-table th{padding:16px 24px;background:#fafbfe;color:#939bad;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:650;border-bottom:1px solid var(--line)}.people-table td{padding:17px 24px;border-bottom:1px solid #f1f2f7;font-size:12px;color:#8d95a6}.people-table tr:last-child td{border:0}.person-name{display:flex;align-items:center;gap:12px;color:#586176;font-weight:550}.person-name .account-avatar{width:30px;height:30px;border-radius:9px;background:#efedf9;color:#a19bc5}.people-table td:last-child{text-align:right}.person-details{font-size:10px;max-width:200px}.person-details summary{cursor:pointer;color:var(--brand)}.person-details p{margin:6px 0}.settings-card{max-width:850px;margin-bottom:20px}.settings-card dl{margin:22px 0}.settings-card dl>div{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.settings-card dt{color:#8a93a6;font-size:12px}.settings-card dd{margin:0;font-size:13px;overflow-wrap:anywhere}.settings-card>p{font-size:12px;color:#929aad}
/* Abas da atividade e central de correção */
.detail-heading{margin-top:18px}.back-link{padding-left:0;font-size:11px}.detail-tabs{display:flex;gap:4px;border-bottom:1px solid #dedfeb;margin-bottom:24px;overflow:auto;scrollbar-width:thin}.detail-tabs button{background:transparent;color:#959bae;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:48px;padding:12px 17px;white-space:nowrap;font-size:11px}.detail-tabs button:hover{color:var(--brand);background:#f0eefa}.detail-tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}.detail-content{padding:30px}.detail-content:focus{outline:0}.editor-atividade .cabecalho-secao h2{font-size:17px}.editor-atividade .cabecalho-secao p{font-size:11px;color:#959bad}.form-grid{gap:24px}.configuracoes{border:1px solid var(--line);border-radius:12px;background:#fafbfe;padding:22px}.configuracoes .check{margin-bottom:18px}.acoes-finais{border-top:1px solid var(--line);padding-top:22px;margin-top:28px}.questao-editor{border-radius:13px;background:#fff;padding:24px;border-color:var(--line)}.questao-editor-topo strong{font-size:12px}.questao-editor-topo button{min-height:30px;font-size:10px;padding:5px 9px}.opcao-editor{grid-template-columns:25px 28px minmax(0,1fr) 30px;gap:8px}.opcao-editor input[type=radio]{min-height:0}.opcao-editor>span{font-size:12px;color:#9c93c2}.opcao-editor .perigo{padding:5px;min-height:29px}.correction-toolbar{display:flex;gap:12px;align-items:flex-end;margin-bottom:18px}.correction-toolbar label{margin:0;flex:1}.correction-toolbar select,.correction-toolbar input{font-size:11px;margin-top:5px}.correction-layout{display:grid;grid-template-columns:245px minmax(0,1fr);border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden;min-height:480px}.submission-list{background:#fafbfe;border-right:1px solid var(--line);padding:12px;max-height:calc(100vh - 230px);overflow:auto}.submission-list .resposta-card{padding:15px;background:transparent;border-radius:10px;margin:0 0 8px;border:1px solid #eceef5}.submission-list .resposta-card h3{font-size:11px;font-weight:600;margin:0 0 9px;line-height:1.7;letter-spacing:0}.submission-list button{display:block;text-align:left;justify-content:flex-start;font-size:9px;width:100%;margin:6px 0!important;min-height:32px;padding:7px 9px;border:0;background:#f0eef9;color:#8c83b5;border-radius:6px}.submission-list button.is-selected{background:var(--brand);color:#fff}.correction-content{padding:26px;min-width:0;max-height:calc(100vh - 230px);overflow:auto}.correction-content>h3{font-size:21px;margin:0 0 10px}.correction-content>p{font-size:11px;color:#8d96a8}.correction-content .review-question{gap:22px;padding:22px 0}.correction-content .resposta-card{border:0;background:#f7f8fb;border-radius:10px;padding:20px;margin:0;font-size:12px;line-height:1.8}.correction-content .resposta-card h4{font-size:12px;line-height:1.7;letter-spacing:0}.correction-content .resposta-card small{font-size:9px;color:#a4aabc;display:block;line-height:1.8}.correction-content label{font-size:11px}.correction-content textarea{font-size:12px;min-height:120px}.correction-content>#feedback-geral{min-height:100px}.correction-content details{margin-top:20px;padding:15px;background:#f8f9fd;border:1px solid var(--line);border-radius:9px}.correction-content summary{font-size:11px;cursor:pointer;color:#777f95}.correction-content .workflow-actions{gap:8px}.correction-content .workflow-actions button{font-size:10px;padding:9px 12px;min-height:36px}.correction-actions{position:sticky;bottom:-26px;background:#fff;border-top:1px solid var(--line);padding:18px 0 5px;z-index:2}.ai-assist{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border:1px solid #e9e4fb;border-radius:10px;padding:16px;background:#faf8ff;margin:20px 0}.ai-assist>div{flex:1;min-width:180px}.ai-assist strong{display:block;font-size:12px;color:#7869a8}.ai-assist p{font-size:10px;line-height:1.7;color:#9b92b0;margin:5px 0 0}.ai-assist #analisar-gemini{background:var(--brand);color:white;border-color:transparent;font-size:11px}.ai-assist #analisar-gemini:disabled{background:#e6e1f1;color:#a79dbe;opacity:1}.feedback-json{font-size:10px}.pedagogy-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.85fr);gap:35px}.pedagogy-section h3{font-size:16px;margin-top:0}.pedagogy-section>p{font-size:11px;color:#989fb0;line-height:1.8}.pedagogy-section label{font-size:11px}.pedagogy-section #form-material{padding:20px;background:#f8f9fc;border:1px dashed #d8dce9;border-radius:12px}.material-link{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:14px 16px!important;margin:10px 0;text-align:left;min-width:0;color:#697389!important}.material-filetype{font-size:9px;font-weight:750;min-width:35px;height:39px;display:grid;place-items:center;background:#eeeafb;color:#8e7abb;border-radius:7px}.material-file-info{flex:1;min-width:0}.material-file-info strong{display:block;font-size:11px;font-weight:600;overflow-wrap:anywhere}.material-file-info small{font-size:9px;color:#a0a7b7;display:block;margin-top:3px}.material-download{font-size:10px;color:var(--brand);white-space:nowrap}
/* Área do aluno e resolução */
.turma-aluno-card{padding:0;background:transparent;border:0;margin-bottom:30px}.turma-aluno-topo{display:flex;align-items:center;gap:10px;margin-bottom:15px}.turma-aluno-topo h2{font-size:17px;letter-spacing:-.03em;margin:0 0 3px}.turma-aluno-topo small{font-size:9px;color:#a2a8b7}.turma-aluno-card .lista-simples{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.atividade-aluno{display:flex;flex-direction:column;align-items:flex-start;gap:15px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;min-height:190px}.atividade-aluno>div:first-child{flex:1}.atividade-aluno strong{font-size:15px;letter-spacing:-.02em;line-height:1.5;display:block;color:#4c566d}.atividade-aluno p{font-size:11px;color:#939bac;line-height:1.8;margin-top:7px}.atividade-status{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #f0f1f6;padding-top:14px}.atividade-status .botao-link{font-size:10px;padding:7px 12px;min-height:32px}.answer-layout{background:#f8f9fc}.answer-topbar{height:78px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:24px;padding:0 max(24px,calc((100vw - 1050px)/2))}.answer-topbar .brand{font-size:28px}.answer-topbar>span{font-size:9px;letter-spacing:.12em;color:#a2a9b9}.answer-topbar>a:last-child{margin-left:auto;font-size:11px;white-space:nowrap}.answer-layout #conteudo{max-width:940px;width:calc(100% - 40px);margin:34px auto 60px}.answer-intro{padding:35px;margin-bottom:24px}.answer-intro h1{font-size:32px;margin:8px 0 18px;max-width:700px}.answer-intro #atividade-descricao{font-size:13px;line-height:1.9;color:#838da0;margin:0 0 20px}.aviso-simples{border:1px solid #e8e5f5;border-left:3px solid #c8c1e8;border-radius:7px;background:#f8f7fd;color:#9690aa;font-size:11px;line-height:1.8;padding:13px 17px}.answer-materials{margin-bottom:24px;padding:25px 30px}.answer-materials h3{font-size:15px;margin:0 0 15px}.answer-progress{margin-bottom:26px;padding:20px 28px}.answer-progress>div{display:flex;justify-content:space-between;gap:20px;margin-bottom:10px}.answer-progress strong{font-size:11px;color:#7d859b;font-weight:550}.answer-progress span{font-size:11px;color:var(--brand);font-weight:650}.answer-progress progress{width:100%;height:5px;display:block;accent-color:var(--brand);border:0;border-radius:100px;overflow:hidden;background:#edeaf9}.answer-progress progress::-webkit-progress-bar{background:#eeebf9;border-radius:100px}.answer-progress progress::-webkit-progress-value{background:var(--brand);border-radius:100px;transition:width .2s}.questao-resposta{border:1px solid var(--line);border-radius:15px;padding:30px;margin-bottom:22px}.questao-resposta h3{font-size:15px;line-height:1.7;margin:0 0 20px;font-weight:600;letter-spacing:-.02em;color:#525c73}.questao-resposta textarea{background:#fdfdff;border-color:#e5e7f0;font-size:13px;padding:18px;min-height:160px}.alternativas label{border:1px solid var(--line);border-radius:9px;padding:15px;font-size:12px;margin:0;color:#818a9e}.alternativas label:has(input:checked){border-color:#c9c1ee;background:#f7f5ff;color:#7465a6}.alternativas label strong{font-weight:650}.alternativas input{min-height:0}.answer-layout #rascunho-controles{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-radius:13px;padding:16px 22px;bottom:16px;box-shadow:0 8px 35px #2b335a0e;border-color:#e0e3ee}.answer-layout #rascunho-status{flex:1;min-width:180px;font-size:10px;margin:0;padding:8px;background:transparent;border:0}.answer-layout #btn-salvar-rascunho,.answer-layout #btn-entregar{font-size:11px;min-height:36px;padding:9px 14px}.answer-layout #historico-atividade{margin-top:30px}.answer-layout #historico-atividade h2{font-size:17px}.answer-layout details{border:1px solid var(--line);border-radius:10px;margin-top:15px;padding:18px;background:#fff}.answer-layout summary{font-size:12px;color:#767e94;cursor:pointer}.answer-layout details p{font-size:12px;margin-top:16px;color:#7d8597;line-height:1.8}.published-feedback{border-radius:8px;border-left:3px solid #b9b1df;background:#f6f3fd;padding:18px 22px}.published-feedback h3{font-size:13px}
/* Chat: mesmas âncoras, elevação e estados; nova apresentação. */
.chat-launcher{background:var(--brand);box-shadow:0 5px 22px #4338ca25;border-color:#ffffff35;letter-spacing:.01em}.chat-launcher:hover{background:var(--brand-dark);box-shadow:0 7px 24px #4338ca35}.chat-launcher-label{font-size:11px}.chat-launcher-icon{width:20px;height:20px}.chat-window{border-radius:16px;border-color:#e0deee;box-shadow:0 16px 60px #29254326}.chat-bar{background:#34344e;padding:16px}.chat-bar-text strong{font-size:12px;letter-spacing:-.02em}.chat-bar-text small{font-size:9px;color:#b0afc2}.chat-icon-button{font-size:19px;border-color:#ffffff26;border-radius:7px;min-height:30px}.chat-body{padding:14px;background:#fff}.chat-toolbar label,.chat-class-label{font-size:10px;color:#8c91a3}.chat-toolbar select,.chat-class-label select{font-size:11px;min-height:33px;border-color:var(--line)}.chat-teacher-row{font-size:10px}.chat-check{font-size:10px;color:#969bac}.chat-subtle-button{font-size:10px;border-color:#e8e5f1;background:#f9f8fd;color:#8e82b4;border-radius:6px;min-height:29px;padding:5px 8px}.chat-subtle-button:hover{background:var(--brand-light);color:var(--brand)}.chat-feed{background:#f7f7fb;border:0;padding:15px;border-radius:10px;gap:12px}.chat-bubble{border-radius:12px 12px 12px 2px;box-shadow:0 2px 5px #00000003;padding:12px 14px;font-size:12px;line-height:1.7;max-width:90%}.chat-bubble.mine{background:#ebe7fa;border-radius:12px 12px 2px 12px;color:#65577f}.chat-author{color:#8b7caa;font-size:10px;font-weight:600}.chat-meta{font-size:8px;color:#aaa4b7}.chat-remove{font-size:8px;min-height:0;border:0;padding:0;color:#b48394}.chat-compose input{font-size:11px;min-height:39px}.chat-compose button{font-size:10px;border-radius:8px;min-height:39px}.chat-badge{background:#e78a79;font-size:9px;min-width:18px;height:18px}.chat-notice{font-size:10px;background:#faf3e7;color:#a38a63;border:1px solid #f0e6d2}.chat-history-pager{font-size:10px}
/* Acesso */
.auth-layout{background:#f8f9fc;min-height:100vh}.auth-layout .login-grid{width:min(1180px,calc(100% - 80px));grid-template-columns:minmax(0,1fr) minmax(350px,450px);gap:100px;align-items:center;min-height:100vh;padding:45px 0}.auth-layout .apresentacao .brand{margin-bottom:55px}.auth-layout .apresentacao>.eyebrow{font-size:9px;color:#9d97b2;letter-spacing:.16em}.auth-layout .apresentacao h1{font-size:58px;line-height:1.13;letter-spacing:-.06em;font-weight:660;color:#2c3147;margin:20px 0 25px}.auth-layout .apresentacao h1>span{color:#8277b7}.auth-layout .apresentacao>p{font-size:14px;line-height:1.9;color:#9b9fb0;max-width:380px}.auth-layout .apresentacao .aviso-simples{margin-top:40px;max-width:400px;font-size:10px;background:transparent}.auth-layout .apresentacao .aviso-simples p{font-size:10px}.auth-card{padding:38px;box-shadow:0 12px 50px #32345a06;border-color:#e8e7ef}.auth-tabs{display:flex;gap:5px;background:#f5f5fa;padding:4px;border-radius:9px;margin-bottom:33px}.auth-tabs button{flex:1;background:transparent;color:#a1a5b6;font-size:11px;min-height:34px;padding:7px;border:0}.auth-tabs button[aria-selected=true]{background:#fff;color:#71619b;box-shadow:0 1px 4px #00000009}.auth-card h2{font-size:23px;margin:0 0 9px}.auth-hint{font-size:11px;color:#a0a6b6;margin-bottom:27px}.auth-card label{font-size:10px;margin:17px 0}.auth-card input{font-size:12px;margin-top:7px}.auth-card form>button{width:100%;margin-top:8px;font-size:11px;min-height:42px}.auth-footnote{font-size:9px;text-align:center;color:#b0b4c2;margin:28px 0 0}
@keyframes loading{to{transform:rotate(360deg)}}@keyframes view-enter{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.app-main{padding:45px 65px}.app-topbar{padding:0 65px}.page-heading h1{font-size:31px}}
@media(max-width:1180px){:root{--sidebar:210px}.app-main{padding:30px 25px 60px}.app-topbar{padding:0 25px}.account-name{display:none}.topbar-context{display:none}.breadcrumb-slash{display:none}.dashboard-columns{grid-template-columns:1.4fr 1fr;gap:18px}.stats-grid{gap:12px}.stat-card{padding:20px 17px}.welcome-banner{padding:28px}.banner-art{margin-right:10px;width:155px;transform:scale(.85)}.correction-layout{grid-template-columns:210px minmax(0,1fr)}.correction-content{padding:20px}.correction-content .review-question{grid-template-columns:1fr}.pedagogy-grid{gap:25px;grid-template-columns:1fr}.class-grid,.activity-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
@media(max-width:900px){:root{--sidebar:0px}.app-sidebar{width:236px;transform:translateX(-100%);transition:transform .18s;z-index:1100}.sidebar-open .app-sidebar{transform:translateX(0)}.sidebar-open{overflow:hidden}.sidebar-close,.menu-toggle{display:inline-flex}.sidebar-backdrop{position:fixed;inset:0;background:#1e233b55;border-radius:0;z-index:1050}.sidebar-backdrop:hover{background:#1e233b55}.app-topbar{height:68px;padding:0 24px}.app-main{margin-top:68px;padding:28px 24px 60px}.topbar-actions{gap:10px}.class-switch-label select{max-width:200px}.ui-toast{left:20px;max-width:calc(100vw - 40px)}.auth-layout .login-grid{gap:50px;width:calc(100% - 60px);grid-template-columns:1fr 1fr}.auth-layout .apresentacao h1{font-size:45px}.auth-card{padding:28px}.auth-layout .apresentacao .brand{margin-bottom:35px}}
@media(max-width:640px){.app-main{padding:25px 18px 100px}.app-topbar{padding:0 16px}.topbar-location{gap:9px}.topbar-actions{gap:7px}.class-switch-label select{max-width:137px;font-size:9px;padding-right:22px}.account-avatar{width:27px;height:27px;font-size:9px}.topbar-actions #btn-sair{font-size:9px;padding:4px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px;margin-bottom:22px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;line-height:1.8}.page-heading .eyebrow{font-size:7px}.welcome-banner{min-height:190px;padding:26px;position:relative}.welcome-banner h2{font-size:23px;max-width:240px;position:relative;z-index:1}.welcome-banner p{font-size:10px;max-width:220px;position:relative;z-index:1}.banner-art{position:absolute;right:-45px;bottom:-34px;transform:scale(.6);opacity:.55;pointer-events:none}.welcome-banner button{position:relative;z-index:1}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:19px;min-height:115px}.stat-card strong{font-size:27px}.stat-card>span{font-size:10px}.stat-card small{font-size:8px}.dashboard-columns{grid-template-columns:1fr;gap:18px}.dashboard-columns>.card{padding:22px}.section-heading h2{font-size:16px}.section-heading .button-quiet{font-size:9px}.recent-item{gap:10px}.recent-item strong{font-size:11px}.recent-item .button-quiet{font-size:9px}.recent-symbol{width:27px;height:30px}.class-grid,.activity-grid{grid-template-columns:1fr}.toolbar{gap:12px}.toolbar label{min-width:120px;flex:1}.toolbar .search-field{flex-basis:100%;max-width:none}.toolbar-note{margin-left:0}.compact-form{padding:22px}.linha-form{flex-wrap:wrap}.linha-form input{flex-basis:100%}.linha-form button{margin-left:auto}.detail-content{padding:22px 18px}.detail-tabs{margin-bottom:18px}.detail-tabs button{font-size:10px;padding:12px 13px}.form-grid,.duas-colunas{grid-template-columns:1fr;gap:0}.questao-editor{padding:18px}.opcao-editor{grid-template-columns:18px 20px minmax(0,1fr) 26px;gap:5px}.opcao-editor input{padding:8px}.people-table th,.people-table td{padding:15px}.people-table th:nth-child(2),.people-table td:nth-child(2){display:none}.people-table td:last-child{font-size:10px}.settings-card dl>div{grid-template-columns:70px 1fr;gap:15px}.correction-layout{grid-template-columns:1fr}.submission-list{border-right:0;border-bottom:1px solid var(--line);max-height:220px}.submission-list .resposta-card{padding:12px;margin-bottom:8px}.submission-list button{font-size:10px}.correction-content{max-height:none;padding:23px 18px}.correction-content>h3{font-size:19px}.correction-toolbar{flex-wrap:wrap}.correction-toolbar label{flex-basis:100%}.correction-actions{bottom:-1px;background:#fff}.correction-content .workflow-actions button{width:auto;flex:1;font-size:10px}.pedagogy-grid{grid-template-columns:1fr}.turma-aluno-card .lista-simples{grid-template-columns:1fr}.atividade-aluno{padding:22px}.answer-topbar{padding:0 20px;height:68px;gap:12px}.answer-topbar>span{display:none}.answer-topbar .brand{font-size:27px}.answer-topbar>a:last-child{font-size:10px}.answer-layout #conteudo{width:calc(100% - 30px);margin:24px auto 45px}.answer-intro{padding:25px}.answer-intro h1{font-size:26px}.answer-intro #atividade-descricao{font-size:12px}.answer-materials{padding:22px}.answer-progress{padding:18px 22px}.questao-resposta{padding:25px}.questao-resposta h3{font-size:14px}.questao-resposta textarea{font-size:12px}.answer-layout #rascunho-controles{padding:14px;gap:8px;bottom:8px}.answer-layout #rascunho-status{flex-basis:100%;min-width:0}.answer-layout #btn-salvar-rascunho,.answer-layout #btn-entregar{flex:1;font-size:10px}.answer-layout #historico-atividade .card{padding:23px}.material-link{gap:10px;padding:12px!important}.material-download{font-size:9px}.chat-panel{right:8px;bottom:8px}.chat-panel.chat-maximized .chat-window{height:100dvh}.chat-compose button{width:auto}.auth-layout .login-grid{display:flex;flex-direction:column;gap:28px;width:calc(100% - 40px);min-height:100vh;padding:30px 0 40px}.auth-layout .apresentacao{width:100%;padding:0 6px}.auth-layout .apresentacao .brand{margin-bottom:25px}.auth-layout .apresentacao h1{font-size:37px;margin:14px 0 17px}.auth-layout .apresentacao>p{font-size:12px;margin:0;max-width:340px}.auth-layout .apresentacao .aviso-simples{display:none}.auth-card{width:100%;padding:28px}.auth-tabs{margin-bottom:26px}.auth-card h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Ajustes de legibilidade e altura da central */
.skip-link{top:12px;opacity:0;pointer-events:none;transform:translateY(-20px)}.skip-link:focus{opacity:1;pointer-events:auto;transform:none}.recent-item strong{font-size:12px}.recent-item small{font-size:10px}.stat-card>span{font-size:11px}.stat-card small{font-size:10px}.activity-tile p,.class-tile p{font-size:12px}.correction-content .resposta-card{font-size:13px}.correction-content .resposta-card h4{font-size:13px}.correction-content textarea{font-size:13px}.submission-list,.correction-content{max-height:var(--correction-height,calc(100dvh - 260px))}.ai-assist+.workflow-actions{margin-bottom:0}.correction-content .ai-assist{margin-top:18px}.toolbar label{font-size:11px}
@media(max-width:640px){.correction-content{max-height:none}.submission-list{max-height:220px}.stat-card small{font-size:9px}}

/* Contraste das informa??es secund?rias sem perder a hierarquia visual. */
.eyebrow,.workspace-tag,.sidebar-foot,.sidebar-foot small,.toolbar-note,.topbar-context,.topbar-actions #btn-sair,.page-heading p,.page-heading .eyebrow,.stat-card>span,.stat-card small,.recent-item small,.quick-panel>p,.quick-link small,.class-tile p,.activity-tile p,.people-table th,.people-table td,.settings-card>p,.settings-card dt,.pedagogy-section>p,.correction-content>p,.correction-content .resposta-card small,.turma-aluno-topo small,.atividade-aluno p,.answer-intro #atividade-descricao,.auth-hint,.auth-footnote,.auth-layout .apresentacao>p,.auth-layout .apresentacao>.eyebrow,.answer-topbar>span{color:#667085}.nav-item{color:#69748a}.welcome-banner .eyebrow,.welcome-banner p{color:#547266}.ai-assist p,.aviso-simples{color:#766788}.chat-toolbar label,.chat-class-label,.chat-check{color:#687085}.chat-meta{color:#71667e}.material-file-info small{color:#758096}.submission-list button{color:#76629d}.submission-list button.is-selected{color:#fff}.detail-tabs button{color:#71778d}.detail-tabs button[aria-selected=true]{color:var(--brand)}

@media(max-width:640px){.ai-assist>div{min-width:0;flex-basis:100%}}
