.rc37-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.rc37-field{display:flex;flex-direction:column;gap:8px;font-weight:600;min-width:0}.rc37-field input,.rc37-field select,.rc37-field textarea{width:100%;font-weight:400}.rc37-field textarea{font:13px/1.5 monospace}.rc37-muted{display:block;font-size:11px;color:#536c98}.rc37-reporthead{text-align:center;position:relative}.rc37-reporthead p{margin:5px 0}.rc37-logo{height:64px;width:80px;object-fit:contain;float:left}.rc37-logo-right{float:right}.rc37-logo-center{float:none;display:block;margin:auto}.rc37-identity{text-align:left;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #d5def1;padding-top:20px}.rc37-identity small,.rc37-identity strong{display:block}.rc37-identity small{color:#607aa6;margin-bottom:7px}.rc37-organizers{display:flex;gap:8px;margin:24px 0 0}.rc37-organizers button{white-space:normal}.rc37-report table{width:100%;table-layout:fixed;border-collapse:collapse}.rc37-report th,.rc37-report td{padding:12px 9px;border:1px solid #cfdaed;vertical-align:middle;font-size:13px;overflow-wrap:anywhere}.rc37-grades th:first-child,.rc37-grades td:first-child{width:46%;text-align:left}.rc37-grades thead{background:#e7eefb}.rc37-grades td:not(:first-child){text-align:center}.rc37-group th{background:#0b1658;color:#fff;letter-spacing:.3px}.rc37-report .rc37-group th:first-child{width:auto}.rc37-average{background:#fff7df;font-weight:700}.rc37-component{background:#f5f7fd;color:#526f9e}.rc37-component td:first-child{padding-left:24px}.rc37-grades td:first-child button{appearance:none;background:none;border:0;text-align:left;font:inherit;color:inherit;padding:0;box-shadow:none;min-height:0}.rc37-periods,.rc37-pagination,.rc37-period-status{display:none}.rc37-values-list{display:grid;gap:12px}.rc37-value{padding:15px;border:1px solid #d8e0ef;border-radius:9px}.rc37-values-ratings{display:grid;grid-template-columns:repeat(4,1fr)}.rc37-values-ratings small,.rc37-values-ratings b{display:block}.rc37-values-ratings b{min-height:22px}.rc37-attendance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:18px}.rc37-attendance>div{padding:10px;background:#f5f7fd;border-radius:6px}.rc37-attendance p{font-size:12px;margin:5px 0}.rc37-signatures{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:48px 0 32px;text-align:center}.rc37-signatures strong{display:block;min-height:28px;border-bottom:1px solid #bdcce5;padding:0 12px 10px;margin-bottom:9px}.rc37-signatures span{font-size:12px;color:#60749b}.rc37-copy{text-align:center;font-size:11px;margin:20px 0}.rc37-tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.rc37-report [hidden]{display:none!important}.rc37-report details summary,[data-rc37-designer] summary{cursor:pointer;font-weight:700;padding:12px 0}.rc37-designer input,.rc37-designer select{min-width:100px}.rc37-designer td{padding:8px}.rc37-designer .rc37-order{display:flex;gap:3px}.rc37-designer .rc37-order button{padding:6px}.rc37-session-warning{position:fixed;right:20px;bottom:20px;z-index:10000;background:white;border:2px solid #ffb11a;border-radius:12px;box-shadow:0 10px 35px #00144940;padding:20px;max-width:360px}.rc37-name-dialog{max-width:min(90vw,500px);border:1px solid #c4d3ec;border-radius:12px;padding:25px;color:#14274c}.rc37-name-dialog::backdrop{background:#06144880}
@media(max-width:700px){.rc37-grid{grid-template-columns:1fr}.rc37-identity{grid-template-columns:1fr 1fr;gap:18px;font-size:13px}.rc37-reporthead h2{font-size:20px}.rc37-logo{float:none;margin:auto;display:block}.rc37-tools a:first-child{width:100%}.rc37-tools a{font-size:12px}.rc37-report .panelbody{padding:14px}.rc37-organizers{gap:0;padding:0 5%;width:100%;box-sizing:border-box}.rc37-organizers .folder-tab-v1018{flex:0 0 50%;width:50%;padding:12px 8px;font-size:12px;min-height:52px;box-sizing:border-box}.rc37-periods{display:flex;gap:5px;margin:16px 0}.rc37-periods button{flex:1;min-width:0;padding:10px 0;font-size:12px}.rc37-periods button[aria-pressed=true]{background:#0b1658;color:#fff}.rc37-period-status{display:block;font-size:12px;color:#48668e}.rc37-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.rc37-report [data-rc37-col]{display:none}.rc37-report [data-rc37-col].rc37-current{display:table-cell}.rc37-report table{width:100%}.rc37-report .rc37-grades th:first-child,.rc37-report .rc37-grades td:first-child{width:73%}.rc37-report[data-period=final] .rc37-grades th:first-child,.rc37-report[data-period=final] .rc37-grades td:first-child{width:56%}.rc37-report th,.rc37-report td{padding:14px 9px;font-size:13px}.rc37-report .rc37-grades td:first-child button{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4}.rc37-grades .rc37-group th{font-size:11px}.rc37-component td:first-child{padding-left:18px}.rc37-attendance{grid-template-columns:1fr 1fr}.rc37-signatures{grid-template-columns:1fr;gap:34px;margin-top:40px}.rc37-session-warning{left:12px;right:12px;bottom:12px;max-width:none}}
@page{size:legal landscape;margin:10mm}@media print{.rc37-tools,.rc37-organizers,.rc37-periods,.rc37-pagination{display:none!important}.rc37-signatures{break-inside:avoid}}
/* Isolate report tables from legacy compact-table and title-casing rules. */
.rc37-report table th,.rc37-report table td{white-space:normal!important;text-overflow:clip;overflow-wrap:anywhere}.rc37-report .rc37-grades td:first-child button{white-space:normal!important;text-transform:none!important;width:100%;max-width:100%}.rc37-logo{width:auto;max-width:132px;height:auto;max-height:95px}
@media(max-width:700px){.rc37-organizers .folder-tab-v1018{white-space:normal!important;overflow:visible;min-height:52px;line-height:1.35;text-align:center;clip-path:polygon(0 0,94% 0,100% 100%,0 100%)}.rc37-report .rc37-grades{table-layout:fixed!important;min-width:0!important}.rc37-report .rc37-grades td,.rc37-report .rc37-grades th{min-width:0!important;max-width:none!important;box-sizing:border-box}.rc37-report .rc37-grades td:first-child,.rc37-report .rc37-grades th:first-child{width:70%!important}.rc37-report .rc37-grades td:not(:first-child),.rc37-report .rc37-grades th:not(:first-child){width:30%!important}.rc37-report[data-period=final] .rc37-grades td:first-child,.rc37-report[data-period=final] .rc37-grades th:first-child{width:55%!important}.rc37-report[data-period=final] .rc37-grades td:not(:first-child),.rc37-report[data-period=final] .rc37-grades th:not(:first-child){width:22.5%!important}.rc37-report .rc37-grades .rc37-group th{width:auto!important}.rc37-report .rc37-grades td:first-child button{font-size:12px!important;line-height:1.45}.rc37-report .rc37-grades .rc37-group th{font-size:11px!important;line-height:1.4}.rc37-report .rc37-grades td:not(:first-child){font-size:12px!important}}
