*{box-sizing:border-box}body{margin:0;background:#f6f8fb;color:#203049;font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.student-page{max-width:1360px;margin:0 auto;padding:22px 20px}header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}h1{font-size:23px;margin:0}header p{margin:4px 0 0;color:#66788b}.back{color:#316aaa;text-decoration:none}section{background:white;border:1px solid #dfe7f0;border-radius:12px;margin-bottom:16px;padding:20px}h2{font-size:18px;margin:0 0 10px}h3{margin:18px 0 6px}.intro p{max-width:830px;line-height:1.55}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.actions label{font-size:13px;color:#5b6c82}button,select{font:inherit;border-radius:8px;padding:10px 15px;border:1px solid #d0dce9;background:white;color:#233b57}button{cursor:pointer}button.primary{background:#2268b1;color:white;border-color:#2268b1}button:disabled{opacity:.5;cursor:not-allowed}.hint{color:#62758c;font-size:13px}iframe{display:block;border:1px solid #e5ecf3;border-radius:8px;width:100%;height:285px;background:#f6f8fb}.results[hidden]{display:none}#differences{line-height:1.6}#differences table{border-collapse:collapse;width:100%;max-width:700px}#differences td,#differences th{padding:6px 10px;border-bottom:1px solid #e4eaf0;text-align:left}#differences .wrong{color:#ab3030}#differences .right{color:#1c7b53}#results #key{height:205px;pointer-events:none}.bottom{margin-top:12px}@media(max-width:700px){.student-page{padding:10px}header{align-items:flex-start;flex-direction:column}section{padding:12px}iframe{height:330px}}
.diagnostics{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin:14px 0}.metric{background:#f1f6fb;border:1px solid #dbe6f1;border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:5px}.metric strong{font-size:23px}.metric span{font-size:12px;color:#5e7186}.table-scroll{max-width:100%;overflow:auto}.table-scroll table{width:100%!important;max-width:none!important;min-width:950px;font-size:13px}.table-scroll td,.table-scroll th{padding:9px 10px!important;white-space:nowrap}.table-scroll tr.good{background:#f0f8f3}.table-scroll tr.bad{background:#fff4f2}.table-scroll tr.shifted{background:#fff8e8}.table-scroll tr th{color:#415e78}.audit{margin-top:18px;border:1px solid #dce5ef;border-radius:9px;padding:12px}.audit summary{cursor:pointer;font-weight:600}.audit pre{max-height:330px;overflow:auto;background:#f5f7fa;padding:12px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:750px){.diagnostics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.9.3: longer hymn exercise and independent contour/interval audit */
#shapeSummary{font-size:13px;color:#354f6c;margin:10px 0}#shapeDetails{max-height:300px;overflow:auto;margin-bottom:16px}#shapeDetails table{min-width:620px!important}#entry{height:520px}#results #key{height:350px}@media(max-width:700px){#entry{height:560px}}

/* Long answer: scrolling occurs inside the frame; its notation toolbar stays visible. */
#entry{height:560px}
