/* Build 404: Relatório para o Aluno, compartilhado pelo D7HS e Console Avaliação. */
/* Build 407: preserve the entire square logo and allow multi-page output. */
.student-delivery-report .student-delivery-header{position:static!important;inset:auto!important;transform:none!important;margin:0!important;height:auto!important;min-height:80px;max-height:none!important;overflow:visible!important;box-sizing:border-box;break-inside:avoid;page-break-inside:avoid;break-after:avoid}
.student-delivery-report .student-delivery-brand{min-width:0;flex:1}
.student-delivery-report .student-delivery-brand>img{flex:0 0 52px;min-width:52px;max-width:52px;min-height:52px;max-height:52px;aspect-ratio:1/1;object-fit:contain}
.student-delivery-report .student-delivery-brand>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.student-delivery-report .student-delivery-header{flex-wrap:wrap;gap:10px}.student-delivery-report .student-delivery-brand>img{width:42px;height:42px;min-width:42px;max-width:42px;min-height:42px;max-height:42px;flex-basis:42px}}
@media print{.student-delivery-report{height:auto!important;max-height:none!important;overflow:visible!important}.student-delivery-report .student-delivery-header{min-height:60px}.student-delivery-report .student-delivery-brand>img{width:40px!important;height:40px!important;min-width:40px;max-width:40px;min-height:40px;max-height:40px;flex-basis:40px}}
.student-delivery-report{width:min(100%,210mm)!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;border:1px solid #d8e1eb;border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(7,29,61,.10);color:#17283c}
.student-delivery-report *{box-sizing:border-box;min-width:0}
.student-delivery-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:4px solid #f47b20;background:linear-gradient(135deg,#071d3d,#174b7f);color:#fff}
.student-delivery-brand{display:flex;align-items:center;gap:12px}.student-delivery-brand>img{display:block;width:52px;height:52px;padding:3px;border-radius:12px;background:#fff;object-fit:contain}.student-delivery-brand strong,.student-delivery-brand small{display:block}.student-delivery-brand strong{font-size:18px}.student-delivery-brand small{margin-top:3px;color:#d9e7f5}.student-delivery-issued{text-align:right}.student-delivery-issued small,.student-delivery-issued strong{display:block}.student-delivery-issued small{color:#cbdced;font-size:9px;text-transform:uppercase}.student-delivery-issued strong{margin-top:3px}
.student-delivery-identity{display:grid;grid-template-columns:1.15fr .65fr 1fr 1.2fr;gap:1px;background:#dce4ec;border-bottom:1px solid #dce4ec}.student-delivery-identity>div{padding:12px 14px;background:#f8fafc}.student-delivery-identity small,.student-delivery-identity strong{display:block}.student-delivery-identity small{margin-bottom:3px;color:#6a798a;font-size:9px;font-weight:850;text-transform:uppercase}.student-delivery-identity strong{color:#102f56;font-size:12px;overflow-wrap:anywhere}
.student-delivery-overview{margin:16px 18px 12px;overflow:hidden;border:1px solid #d8e1eb;border-radius:13px}.student-delivery-overview-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 15px;background:#f4f7fb}.student-delivery-overview-title small{color:#e06c18;font-size:8px;font-weight:950;letter-spacing:.12em}.student-delivery-overview-title h2{margin:2px 0 0;color:#0b2a55;font-size:15px}.student-delivery-iid{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:0 5px;text-align:right}.student-delivery-iid small{grid-column:1/-1;color:#67788b;letter-spacing:0}.student-delivery-iid strong{color:#f47b20;font-size:25px}.student-delivery-iid span{color:#53667b;font-size:10px;font-weight:800}
.student-delivery-scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dce4ec}.student-delivery-score{padding:10px 12px;background:#fff}.student-delivery-score small,.student-delivery-score strong,.student-delivery-score em{display:block}.student-delivery-score small{color:#6c7a8a;font-size:9px}.student-delivery-score strong{margin:3px 0 1px;color:#122f55;font-size:18px;line-height:1}.student-delivery-score strong span{margin-left:2px;color:#718096;font-size:9px}.student-delivery-score em{color:#526579;font-size:8px;font-style:normal;font-weight:750;text-transform:uppercase}
.student-delivery-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;padding:0 18px 18px}.student-delivery-section{overflow:hidden;border:1px solid #d8e1eb;border-radius:12px;background:#fff;break-inside:avoid}.student-delivery-section h3{display:flex;align-items:center;gap:9px;margin:0;padding:9px 12px;background:#0b2a55;color:#fff;font-size:12px}.student-delivery-section h3 span{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:7px;background:#f47b20;font-size:10px}.student-delivery-table-wrap{overflow:visible}.student-delivery-section table{width:100%;border-collapse:collapse;table-layout:fixed}.student-delivery-section th,.student-delivery-section td{padding:7px 9px;border-bottom:1px solid #e1e7ee;vertical-align:top;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.student-delivery-section tr:last-child th,.student-delivery-section tr:last-child td{border-bottom:0}.student-delivery-section th{width:42%;background:#f7f9fc;color:#243c58;text-align:left;font-weight:800}.student-delivery-section td{color:#435369}
.student-delivery-footer{display:flex;justify-content:space-between;gap:18px;padding:12px 18px;border-top:3px solid #f47b20;background:#f5f8fb;color:#607083;font-size:8px;line-height:1.4}.student-delivery-footer strong{flex:0 0 auto;color:#173868}
@media(max-width:900px){.student-delivery-report{width:100%!important;border-radius:12px}.student-delivery-identity{grid-template-columns:repeat(2,minmax(0,1fr))}.student-delivery-scores{grid-template-columns:repeat(3,minmax(0,1fr))}.student-delivery-sections{grid-template-columns:1fr}.student-delivery-section{width:100%}}
@media(max-width:600px){.student-delivery-header{align-items:flex-start;padding:14px}.student-delivery-brand>img{width:42px;height:42px}.student-delivery-brand strong{font-size:15px}.student-delivery-issued{font-size:10px}.student-delivery-identity{grid-template-columns:1fr}.student-delivery-overview{margin:12px}.student-delivery-overview-title{align-items:flex-start}.student-delivery-scores{grid-template-columns:repeat(2,minmax(0,1fr))}.student-delivery-sections{gap:10px;padding:0 12px 12px}.student-delivery-section th,.student-delivery-section td{padding:7px;font-size:9px}.student-delivery-footer{flex-direction:column;gap:4px}}
@media print{@page{size:A4 portrait;margin:8mm}.student-delivery-report{width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}.student-delivery-header{padding:10px 13px!important}.student-delivery-brand>img{width:40px;height:40px}.student-delivery-identity{grid-template-columns:1.15fr .65fr 1fr 1.2fr!important}.student-delivery-identity>div{padding:7px 8px}.student-delivery-overview{margin:8px 0}.student-delivery-overview-title{padding:7px 9px}.student-delivery-scores{grid-template-columns:repeat(4,minmax(0,1fr))!important}.student-delivery-score{padding:6px 7px}.student-delivery-score strong{font-size:14px}.student-delivery-sections{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px;padding:0}.student-delivery-section h3{padding:5px 7px;font-size:9px}.student-delivery-section h3 span{width:17px;height:17px;flex-basis:17px}.student-delivery-section th,.student-delivery-section td{padding:4px 5px!important;font-size:7.5px!important;line-height:1.2!important}.student-delivery-footer{margin-top:7px;padding:7px 9px}.student-delivery-section,.student-delivery-overview,.student-delivery-identity{break-inside:avoid;page-break-inside:avoid}}

/* Build 406: o logo mantém 1:1 na tela, no celular e no PDF. */
.student-delivery-brand>img{min-width:52px;max-width:52px;min-height:52px;max-height:52px;flex:0 0 52px;aspect-ratio:1/1}
@media(max-width:600px){.student-delivery-brand>img{width:42px;min-width:42px;max-width:42px;height:42px;min-height:42px;max-height:42px;flex-basis:42px}}
@media print{.student-delivery-brand>img{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;flex-basis:40px;aspect-ratio:1/1}}

/* Build 439 — leitura mais leve e resumo compacto do relatório do aluno. */
#report-content#report-content .student-delivery-report :is(small,em,th,.student-index-reference strong){text-transform:none!important;letter-spacing:normal!important}
#report-content#report-content .student-delivery-report .student-delivery-overview-title>div>small{font-weight:800!important;color:#d56819!important}
#report-content#report-content .student-delivery-report .student-delivery-iid{display:grid!important;grid-template-columns:auto!important;justify-items:end!important;gap:1mm!important;padding:2mm 3mm!important;border-left:2px solid #f47b20!important}
#report-content#report-content .student-delivery-report .student-delivery-iid strong{font-size:19pt!important;line-height:1!important;color:#f47b20!important}
#report-content#report-content .student-delivery-report .student-delivery-iid strong span{font-size:8pt!important;color:#657386!important}
#report-content#report-content .student-delivery-report .student-delivery-iid em{font-size:8pt!important;font-style:normal!important;font-weight:700!important;color:#43566c!important}
#report-content#report-content .student-delivery-report .student-delivery-scores{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2mm 5mm!important}
#report-content#report-content .student-delivery-report>.report-chart{width:100%!important;max-width:100%!important;margin:1mm auto 2mm!important}
#report-content#report-content .student-delivery-report>.report-chart svg{width:72%!important;max-width:120mm!important;margin:1mm auto!important}
@media(max-width:600px){#report-content#report-content .student-delivery-report .student-delivery-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important}#report-content#report-content .student-delivery-report>.report-chart svg{width:100%!important}}
@media print{#report-content#report-content .student-delivery-report .student-delivery-scores{grid-template-columns:repeat(3,minmax(0,1fr))!important}#report-content#report-content .student-delivery-report>.report-chart svg{width:68%!important;max-width:112mm!important}}
