
/* MGT536 report styling, screen and print */
.print-only{display:none}
#result.result-card{max-width:920px;margin:0 auto}
.report-topline{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e4eaf3;padding:0 1px 16px;margin-bottom:15px;font-size:12px;color:#687d99}
.report-items{display:grid;gap:16px}
.feedback.result-item{padding:22px 23px;border:1px solid #e3eaf3;border-radius:15px;background:#fff;margin:0;box-shadow:0 4px 20px rgba(35,65,110,.04);break-inside:avoid-page;page-break-inside:avoid;overflow-wrap:anywhere}
.result-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.result-item-head strong{font-size:12px;color:#325ea9}
.result-mark{display:inline-flex;padding:5px 13px;border:1px solid #dbe6fa;border-radius:999px;background:#f0f5ff;color:#315ba3;font:700 12px Inter,system-ui,sans-serif;white-space:nowrap}
.result-mark.good{border-color:#ccebdc;background:#eaf9f0;color:#147654}
.result-question{white-space:pre-wrap;text-align:left;direction:ltr;color:#203856!important;font-size:15px!important;line-height:1.75!important;font-weight:650;margin:0 0 16px!important}
.result-picked{background:#eef4ff;border:1px solid #bfd2fa;border-inline-start:4px solid #4f7bd4;border-radius:11px;padding:13px 16px;margin-bottom:15px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.result-picked .box-title{font-size:12px;color:#325aa3;font-weight:750;margin-bottom:7px}
.result-picked .picked-content{color:#203d69;font-size:13px;font-weight:650;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.result-picked .picked-content[dir=ltr]{text-align:left}
.result-picked .picked-reason{font-size:12px;font-weight:400;color:#516b92;border-top:1px solid #dae5f9;margin-top:10px;padding-top:9px;white-space:pre-wrap}
.result-correct{margin:0 0 13px;border:1px solid #d4eee1;background:#f0faf5;color:#1c6c4b;padding:9px 12px;border-radius:9px;font-size:12px;line-height:1.7}
.result-correct b{color:#0d7447}
.result-rubric{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.result-rubric span{background:#f2f5fa;color:#526b8b;padding:5px 9px;border-radius:8px;font-size:11px}
.result-reason{border-top:1px solid #edf0f6;padding-top:14px;margin-top:10px}
.result-subtitle{font-size:13px;margin:0 0 6px;font-weight:750;color:#30445f}
.result-body{font-size:13px;line-height:1.85;color:#455c76;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.result-en{margin:7px 0 0;color:#7a879b;font-size:12px;line-height:1.7;direction:ltr;text-align:left;white-space:pre-wrap}
.result-tip{border-radius:11px;background:#f0faf6;border:1px solid #cde8dc;padding:14px 16px;margin-top:15px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.result-tip .result-subtitle{color:#167456}
.result-tip .result-subtitle:before{content:"↗";display:inline-block;margin-inline-end:8px;color:#16845e}
.result-tip .result-body{color:#28604a}
.report-footer-note{text-align:center;font-size:11px;color:#8596ad;margin:17px auto 0}
.print-brand{display:none}
@media(max-width:640px){.feedback.result-item{padding:16px}.result-item-head{align-items:flex-start}.result-question{font-size:14px!important}#result.result-card{padding:16px}}
@page{size:A4;margin:14mm 15mm 17mm}
@media print{
 html,body{background:#fff!important;font-size:10pt}
 .topbar,.page-footer,#entry,#quiz,#admin,#msg,.results-actions,#reviewbox,button,.no-print{display:none!important}
 main.shell{padding:0!important;margin:0!important;min-height:0!important;width:100%!important;max-width:none!important}
 #result.result-card{display:block!important;border:0!important;box-shadow:none!important;max-width:none!important;margin:0!important;padding:0!important}
 .print-brand{display:flex!important;justify-content:space-between;align-items:center;border-bottom:2px solid #315ec9;margin:0 0 12px;padding-bottom:10px;color:#224b99}
 .print-brand strong{font:800 15pt Inter,sans-serif}
 .print-brand small{font-size:8pt;color:#647b9b;line-height:1.35}
 #result .result-hero{background:#f3f7ff!important;border:1px solid #dbe6f7!important;border-radius:9px!important;padding:13px!important;margin-bottom:10px!important}
 #result #score{font-size:29pt!important}
 .report-topline{font-size:8pt!important;padding-bottom:9px!important}
 #result h3[aria-label="report-heading"]{font-size:11pt!important;margin:12px 0!important}
 .report-items{display:block!important}
 .feedback.result-item{margin:0 0 11px!important;border:1px solid #dce5f0!important;box-shadow:none!important;padding:11px 13px!important;border-radius:8px!important;break-inside:avoid-page!important;page-break-inside:avoid!important}
 .result-question{font-size:10pt!important;line-height:1.55!important;margin:0 0 9px!important}
 .result-picked{background:#edf4ff!important;border:1px solid #bad1fb!important;border-inline-start:3px solid #4c80d6!important;padding:9px 11px!important;margin:0 0 10px!important}
 .result-picked .picked-content{font-size:9pt!important;line-height:1.55!important}
 .result-picked .picked-reason{font-size:8.5pt!important}
 .result-reason{margin-top:8px!important;padding-top:8px!important}
 .result-body{font-size:9pt!important;line-height:1.6!important}
 .result-subtitle{font-size:9pt!important;margin-bottom:4px!important}
 .result-tip{background:#f0faf6!important;border:1px solid #bce4d2!important;padding:9px 11px!important;margin-top:9px!important}
 .result-en{display:none!important}
 .result-rubric span{font-size:8pt!important}
 .result-mark{font-size:9pt!important}
 .result-correct{font-size:9pt!important;padding:7px!important}
 .report-footer-note{font-size:8pt!important}
 .feedback.result-item:last-child{margin-bottom:0!important}
 *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
