@font-face{font-family:Montserrat;src:url('/fonts/Montserrat.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
[hidden]{display:none!important}hr{border:0;border-top:1px solid var(--line);margin:26px 0}
.report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:23px}
.report-filters .full{grid-column:1/-1;margin:0}
.report-form-actions{display:flex;align-items:end;gap:8px;padding-bottom:8px;flex-wrap:wrap}
.report-student{padding:22px 0;border-top:1px solid #e4e4e8}
.report-student:first-child{border-top:0;padding-top:0}
.report-student h3{margin-bottom:6px}
.report-student h4{font-size:12px;margin:18px 0 8px}
#reportPrintArea{display:none}
@media(max-width:1000px){.report-filters{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.report-filters{grid-template-columns:1fr}.report-form-actions{align-items:start}.report-student .table-wrap{max-width:100%}}
@media print{body.printing-report>#app{display:none!important}body.printing-report>#reportPrintArea{display:block}.report-student h3,.report-student h4{break-after:avoid}.report-student .table-wrap{overflow:visible}.report-student p{orphans:3;widows:3}#reportPrintArea h1{font-size:22px}#reportPrintArea .student-text{max-width:none}}
.student-case{border:1px solid #e4e4e8;border-radius:10px;margin:18px;overflow:hidden;background:white}
.student-case-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#f8f8fa;border-bottom:1px solid #e4e4e8}
.student-case-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px}
.student-case-fields>section{min-width:0}
.student-case-fields h3{font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.student-text,.student-text p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
.student-text small{font-weight:650}
.student-case .student-group{border-top:1px solid #e4e4e8}
.uc-heading{font-size:12px}
.student-print{border-top:2px solid #bbb;padding:20px 0;margin-top:20px}
@media(max-width:760px){.student-case{margin:12px}.student-case-header{flex-wrap:wrap;padding:16px}.student-case-fields{grid-template-columns:1fr;padding:16px;gap:20px}}
@media print{.student-print h2,.student-print h3{break-after:avoid}.student-print h2{font-size:15px}.student-print h3{font-size:12px}}
.group-help{padding:14px 23px;font-size:11px;color:#6d6d77;background:#fafafb;border-bottom:1px solid #e4e4e8}
.student-group{border-bottom:1px solid #e4e4e8}
.student-group:last-child{border-bottom:0}
.student-group>summary{list-style:none;display:flex;align-items:center;gap:18px;padding:20px 23px;cursor:pointer;background:white}
.student-group>summary::-webkit-details-marker{display:none}
.student-group>summary:hover,.student-group[open]>summary{background:#f8f8fa}
.student-group>summary:focus-visible{outline:2px solid #c71932;outline-offset:-3px}
.student-chevron{font-size:26px;transition:transform .15s;color:#c71932}
.student-group[open]>summary .student-chevron{transform:rotate(90deg)}
.student-identity{flex:1;min-width:0}
.student-identity strong{display:block;font-size:12px;line-height:1.6}
.student-identity small,.student-progress small,.student-frequency>small{display:block;font-size:10px;line-height:1.7;margin-top:4px;color:#6d6d77}
.student-progress{min-width:130px}
.student-frequency{max-width:180px}
.student-frequency>small{font-size:9px;margin:0 0 5px}
.student-group .uc-cell{max-width:400px}
@media(max-width:760px){.student-group>summary{flex-wrap:wrap;gap:12px;padding:16px}.student-identity{flex-basis:calc(100% - 40px)}.student-progress{margin-left:23px;flex:1}.student-frequency{max-width:160px}.pager{flex-wrap:wrap;gap:12px}}
.frequency-badge{display:inline-flex;flex-direction:column;gap:3px;padding:7px 10px;border:1px solid;border-left-width:4px;border-radius:7px;line-height:1.4;vertical-align:middle;white-space:normal;min-width:132px;font-variant-numeric:tabular-nums}
.frequency-value{font-size:13px;font-weight:750;white-space:nowrap}
.frequency-label{font-size:9px;font-weight:650;white-space:nowrap}
.frequency-warning{color:#8c3900;background:#fff3e0;border-color:#ef8b22}
.frequency-danger{color:#a3112a;background:#ffe9ee;border-color:#d52240}
@media print{.frequency-badge{print-color-adjust:exact;-webkit-print-color-adjust:exact;min-width:0;padding:4px 6px}.frequency-value{font-size:10px}.frequency-label{font-size:8px}}
:root{font-family:Montserrat,Arial,sans-serif;color:#232328;background:#f4f4f6;font-synthesis:none;--red:#c71932;--muted:#6d6d77;--line:#e4e4e8;--dark:#18181d}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,.btn{border:1px solid var(--line);border-radius:8px;background:white;padding:11px 16px;font-size:12px;font-weight:650;color:inherit;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#f2f2f4}button.primary,.primary{background:var(--red);color:white;border-color:var(--red)}button.primary:hover{background:#a61229}button.ghost{background:transparent;border-color:transparent;color:inherit}input,select,textarea{width:100%;border:1px solid #d7d7dd;border-radius:8px;background:white;color:#232328;padding:12px;font-size:13px}input:focus,select:focus,textarea:focus{outline:2px solid #db7a89;border-color:var(--red)}textarea{resize:vertical;min-height:120px;line-height:1.7}label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}label input,label select,label textarea{margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.25;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:15px}p{font-size:13px;line-height:1.8}.muted,small{color:var(--muted)}small{font-size:11px;line-height:1.7}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;text-transform:uppercase}.red{color:var(--red)}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:14px;line-height:1.45}.logo{background:var(--red);border-radius:9px;color:white;width:40px;height:40px;display:grid;place-items:center;font-size:22px;font-weight:800;flex-shrink:0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-art{background:var(--dark);color:white;padding:56px 65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:'';position:absolute;width:450px;height:450px;border:90px solid #c7193226;bottom:-200px;right:-210px;border-radius:50%}.auth-art h1{font-size:48px;line-height:1.12;max-width:480px;margin:30px 0}.auth-art p{color:#b8b8c0;max-width:420px;font-size:15px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card{max-width:380px;width:100%}.auth-card h2{font-size:27px;margin-top:16px}.auth-card form{display:grid;gap:13px;margin-top:30px}.auth-card .primary{width:100%;padding:15px}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;background:#f1f1f3;border-radius:5px;font-size:10px;font-weight:650;line-height:1.4}.pill.red{background:#fbe9ed;color:#ad1830}.dot{width:7px;height:7px;border-radius:50%;background:var(--red);display:inline-block}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:white;padding:30px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:238px}.sidebar .brand{margin:0 8px 45px}.sidebar .eyebrow{color:#8f8f9a;margin:0 13px 13px;font-size:9px}.nav{display:grid;gap:7px}.nav button{justify-content:flex-start;padding:14px;border:0;background:transparent;color:#babac3;font-weight:550}.nav button.active{background:var(--red);color:white}.nav button:hover{background:#33333a;color:white}.nav .symbol{font-size:18px;width:22px}.side-foot{margin-top:auto;border-top:1px solid #35353c;padding:22px 8px 0;font-size:11px;color:#aaaab5;line-height:1.8}.main{grid-column:2;min-width:0}.topbar{height:79px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:20px}.topbar .breadcrumb{font-size:12px;color:var(--muted)}.userbox{display:flex;align-items:center;gap:12px}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#f6e6e9;color:var(--red);font-size:12px;font-weight:700}.username{font-size:11px;max-width:270px}.username small{display:block;font-size:9px}.content{padding:35px 38px 50px;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.heading .eyebrow{margin-bottom:10px}.heading p{margin:0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 30px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:21px 23px}.stat span{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:12px;font-weight:650}.stat small{font-size:10px}.panel{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}.panel-head{padding:23px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:16px;margin:0}.panel-body{padding:23px}.filters{display:grid;grid-template-columns:1.3fr 1fr 1.8fr 1fr;gap:12px;padding:20px 23px;border-bottom:1px solid var(--line)}.filters label{margin:0;font-size:10px;color:var(--muted)}.search{max-width:340px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.class-card{background:white;border:1px solid var(--line);border-radius:11px;padding:22px;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}.class-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #18181d0c}.class-card .card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.class-card h3{font-size:18px;margin-bottom:8px;letter-spacing:-.4px}.class-card p{font-size:10px;font-weight:600;color:var(--muted);min-height:32px}.class-card .card-meta{display:flex;gap:20px;font-size:11px;margin:5px 0 20px}.class-card button{width:100%;margin-top:auto}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:20px}.section-title h2{margin:0;font-size:17px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);background:#fafafb;padding:15px 18px;white-space:nowrap}td{padding:18px;border-top:1px solid #eeeef1;vertical-align:middle}td strong{font-size:11px;display:block;line-height:1.5}td small{font-size:10px;display:block;margin-top:4px}tbody tr:hover{background:#fcfcfd}.uc-cell{max-width:275px;min-width:190px}.number{white-space:nowrap;font-variant-numeric:tabular-nums}.pager{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.pager div{display:flex;gap:8px;align-items:center}.notice{background:#fff7f8;border:1px solid #efd2d8;border-left:3px solid var(--red);padding:16px 19px;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:22px}.empty{text-align:center;padding:55px 20px;color:var(--muted);line-height:1.9;font-size:13px}.loading{padding:80px;text-align:center;color:var(--muted)}.tabs{display:flex;gap:8px;margin-bottom:24px}.tabs button.active{background:var(--dark);color:white;border-color:var(--dark)}dialog{border:0;border-radius:14px;padding:0;width:min(760px,94vw);max-height:90vh;box-shadow:0 25px 90px #0003}dialog::backdrop{background:#15151cc0;backdrop-filter:blur(3px)}.dialog-head{padding:25px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.dialog-head h2{margin-bottom:8px;font-size:19px}.dialog-body{padding:25px 28px}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;padding-top:18px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:23px;background:#f6f6f8;padding:17px;border-radius:8px;font-size:12px}.detail-grid small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.full{grid-column:1/-1}.note{padding:15px;border:1px solid var(--line);border-radius:7px;margin-bottom:13px}.note p{white-space:pre-wrap;margin:8px 0 0;font-size:12px}.note small{font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.inline-error{color:#ac1830;background:#fceef1;padding:12px;border-radius:7px;font-size:12px;line-height:1.6;margin-top:12px}.inline-error:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--dark);color:white;border-radius:9px;padding:15px 23px;z-index:20;font-size:12px;box-shadow:0 8px 30px #0003;display:none;max-width:90vw}.assignment-layout{display:grid;grid-template-columns:280px 1fr;gap:22px}.assignment-list{max-height:520px;overflow:auto}.assignment-group{padding:16px;border-bottom:1px solid var(--line)}.assignment-group h3{margin-bottom:12px}.check{display:flex;align-items:flex-start;gap:10px;font-size:11px;font-weight:500;line-height:1.6;padding:5px 0;margin:0}.check input{width:16px;height:16px;margin:1px 0;accent-color:var(--red);flex-shrink:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.help{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0}.print-only{display:none}
@media(min-width:1550px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:1fr 1fr}.content{padding:28px 23px}.topbar{padding:0 23px}.stats{gap:10px}.stat{padding:17px}.assignment-layout{grid-template-columns:1fr}}@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-art{padding:28px;min-height:230px}.auth-art h1{font-size:30px;margin:25px 0 15px}.auth-art .footnote,.auth-art p{display:none}.auth-form{padding:35px 25px}.shell{display:block}.sidebar{position:static;width:100%;padding:16px}.sidebar .brand{margin:0 0 15px}.sidebar .eyebrow,.side-foot{display:none}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap;padding:11px}.topbar{height:65px;padding:0 18px}.breadcrumb{display:none}.userbox{width:100%}.userbox .ghost:last-child{margin-left:auto}.username{max-width:170px}.content{padding:24px 16px}.heading{flex-wrap:wrap}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;margin:20px 0}.stat strong{font-size:26px}.cards{grid-template-columns:1fr}.form-grid,.detail-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.full{grid-column:auto}.section-title{align-items:flex-start;flex-direction:column}.search{max-width:none}.dialog-body,.dialog-head{padding:20px}.tabs{flex-wrap:wrap}}
@media print{body{background:white}.sidebar,.topbar,.heading button,.filters,.pager,.no-print,#toast,dialog{display:none!important}.shell{display:block}.main{display:block}.content{padding:0}.panel{border:0}.table-wrap{overflow:visible}.print-only{display:block}table{font-size:9px}td,th{padding:8px}tr{break-inside:avoid}.print-note{white-space:pre-wrap;max-width:350px}.stats{display:none}@page{size:landscape;margin:12mm}}
/* Contraste e hierarquia da lista de alunos. */
@media screen {
  :root { --line:#c8cbd1; --muted:#555a64; background:#e5e7eb; }
  .panel { box-shadow:0 3px 12px #18181d09; }
  .panel-head { background:#f1f2f4; }
  .filters { background:#e9ebef; border-bottom:2px solid #b9bec7; }
  .filters label { color:#414650; }
  .group-help { background:#f1f2f4; color:#4c525c; }
  .student-groups { background:#dfe2e7; padding:4px 0; }
  .student-case { border:2px solid #b9bec7; border-radius:12px; margin:20px 18px; box-shadow:0 3px 8px #18181d12; transition:border-color .18s,box-shadow .18s; }
  .student-case:focus-within { border-color:#646b78; box-shadow:0 0 0 3px #646b7826; }
  .student-case-header { background:#292c33; color:#fff; border-bottom:3px solid var(--red); padding:22px; }
  .student-case-header .student-identity strong { font-size:17px; font-weight:750; line-height:1.5; }
  .student-case-header .student-identity small { color:#e0e3e9; font-size:11px; margin-top:5px; }
  .student-case-header .student-frequency>small { color:#e0e3e9; }
  .student-case-fields { gap:18px; background:#f5f6f8; padding:20px; }
  .student-case-fields>section { background:#e4e9ef; border:1px solid #aeb8c5; border-top:3px solid #59616e; border-radius:8px; padding:18px; }
  .student-case-fields>section+section { background:#f9e5e9; border-color:#dfb4bd; border-top-color:var(--red); }
  .student-case-fields>section+section h3 { color:#84172b; border-bottom-color:#dfb4bd; }
  .student-case-fields h3 { font-size:16px; color:#252932; padding-bottom:12px; border-bottom:1px solid #d7dae0; margin-bottom:14px; }
  .student-case-fields .student-text,.student-case-fields .student-text p,.student-case-fields>section>p { font-size:16px; line-height:1.75; }
  .student-case-fields .student-text small { color:#444b57; font-size:13px; }
  .student-case-fields .section-complete { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; line-height:1.5; color:#195d38; background:#e4f4e9; border:1px solid #82b496; border-radius:20px; padding:4px 9px; white-space:nowrap; }
  .student-case-fields button { border-color:#a7adb7; background:#fff; font-size:14px; }
  #studentForm textarea { font-size:16px; }
  .student-case-fields button:focus-visible { outline:3px solid var(--red); }
  .student-case .student-group { border-top:1px solid #b9bec7; }
  .student-case .student-group>summary { background:#e9ecf0; color:#343b46; padding:15px 20px; }
  .student-case .student-group[open]>summary { background:#dce1e8; }
  .student-case th { background:#edf0f4; color:#454d59; }
  .student-case td { border-top-color:#d5d9df; }
  .student-case tbody tr:nth-child(even) { background:#f5f6f8; }
  .pager { background:#f1f2f4; color:#444b57; }
  .class-card { border-color:#b9bec7; border-top:4px solid var(--red); }
  .class-card .pill { background:#e6e9ee; color:#39414d; }
  @media (hover:hover) {
    .student-case:hover { border-color:#737b89; box-shadow:0 6px 20px #18181d24; }
    .student-case-fields button:hover { background:#292c33; border-color:#292c33; color:white; }
    .student-case .student-group>summary:hover { background:#d7dce4; }
    .student-case tbody tr:hover { background:#e8ecf2; }
    .class-card:hover { border-color:#747c89; border-top-color:var(--red); box-shadow:0 8px 22px #18181d20; }
  }
  @media(max-width:760px) {
    .student-case { margin:14px 10px; }
    .student-case-header { padding:17px; }
    .student-case-header .student-identity strong { font-size:15px; }
    .student-case-fields { padding:12px; gap:12px; }
    .student-case-fields>section { padding:15px; }
  }
  @media(prefers-reduced-motion:reduce) {
    .student-case,.class-card,.student-chevron { transition:none; }
    .class-card:hover { transform:none; }
  }
}
/* Identidade institucional, preservando a proporção da logo original. */
.brand-senai{flex-direction:column;align-items:flex-start;gap:16px}
.senai-logo{display:block;width:168px;max-width:100%;height:auto}
.auth-art .senai-logo{width:220px}
.brand-senai>span{font-size:12px;letter-spacing:1.2px;line-height:1.6}
@media(max-width:760px){.sidebar .brand-senai{flex-direction:row;align-items:center;gap:18px}.sidebar .senai-logo{width:136px}.sidebar .brand-senai>span{font-size:10px}.auth-art .senai-logo{width:180px}}
