/* figures are part of the problem — show them clearly (from the Geometry course) */
.q-fig img { max-width: min(560px, 100%); padding: 6px; }
.tp-ex .q-fig { margin: 8px 0 10px; }

/* owner 11-07: check page before hand-in */
.chk { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.chk-row { display: grid; grid-template-columns: 38px 1fr minmax(90px, 30%) 78px; gap: 10px; align-items: center; text-align: left; padding: 12px; border: 2px solid #d5d8e0; border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; cursor: pointer; color: inherit; }
.chk-row:hover { border-color: #3b6fd8; }
.chk-n { font-weight: 800; font-size: 1.15rem; text-align: center; }
.chk-q { color: #444; }
.chk-a { font-weight: 800; color: #1d3f8f; }
.chk-c { font-weight: 700; color: #3b6fd8; text-align: right; }
@media (max-width: 640px) { .chk-row { grid-template-columns: 30px 1fr; } .chk-a { grid-column: 2; } .chk-c { grid-column: 2; text-align: left; } }

.test-clock { display: none !important; }   /* owner 11-07: no time limit */
.time-line { font-size: 1.15rem; margin: 6px 0; } .time-line b { color: #1d3f8f; }
/* owner 11-08: "I don't know this one" on tests — set apart from the real choices */
.opt.idk { border-style: dashed; margin-top: 14px; color: #6b5a3a; background: #fffaf0; }
.opt.idk b { color: #b7791f; }
.opt.idk.sel { border-style: solid; }
/* owner 11-08: all chapters in the left sidebar */
.sb-chap { border-bottom: 1px solid rgba(255,255,255,.12); }
.sb-chap > summary.sb-ch { cursor: pointer; list-style: none; position: relative; padding-right: 22px; }
.sb-chap > summary.sb-ch::-webkit-details-marker { display: none; }
.sb-chap > summary.sb-ch::after { content: "▸"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); opacity: .7; }
.sb-chap[open] > summary.sb-ch::after { content: "▾"; }
#side .sb-chap > summary.sb-ch, #side .sb-chap > summary.sb-ch b { color: #fff; } #side .sb-chap > summary.sb-ch:hover { background: #ffffff14; border-radius: 8px; }
/* owner 11-10: a section that needs a MAKEUP or a RETEST is clearly orange in the sidebar, with the word; hover and the
   selected (green) row never hide it */
#side .sb-secs button.pend { background: #e8820c; color: #fff; font-weight: 700; }
#side .sb-secs button.pend:hover { background: #d46f00; }
#side .sb-secs button.pend .sm.retest { background: #fff; border-color: #fff; color: #c2410c; }
#side .sb-secs button.on.pend { background: var(--teal); box-shadow: inset 7px 0 0 #ff9a2e; }
#side .sb-secs button.on.pend .sm.retest { background: #ff9a2e; border-color: #ff9a2e; color: #fff; }
#side .sb-badge { display: inline-block; font-style: normal; font-weight: 800; font-size: 14px; line-height: 1.2; background: #fff; color: #b45309; border-radius: 999px; padding: 2px 9px; margin-left: 4px; white-space: nowrap; }
#side .sb-secs button.on.pend .sb-badge { background: #ff9a2e; color: #fff; }
