/* SuperHuman Maths: additions to the coach stylesheet (../coach/coach.css). */
.svgbox svg { display: block; width: 100%; height: auto; }
.kid { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.kid .av { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-size: 26px; color: #fff; }
.kid h2 { margin: 0; font-size: 18px; }
.live { border: 2px solid var(--accent); }
.live .q { font-size: 20px; font-weight: 650; margin: 6px 0 10px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.state.correct { background: var(--ok-soft); color: var(--ok); } .state.wrong { background: var(--warn-soft); color: var(--warn); }
.state.timeout, .state.unclear, .state.skipped { background: var(--surface-2); color: var(--muted); }
.pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.thumb { border: 1px solid var(--border); border-radius: 12px; padding: 8px; background: var(--surface); }
.thumb .meta { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mod { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px; cursor: pointer; background: var(--surface); text-align: left; }
.mod.on { border-color: var(--accent); background: var(--accent-soft); }
.mod b { display: block; margin-bottom: 4px; } .mod span { color: var(--muted); font-size: 12.5px; }
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cell { border-radius: 10px; padding: 9px 10px; border: 1px solid var(--border); position: relative; }
.cell b { display: block; font-size: 13px; } .cell span { font-size: 12px; opacity: .85; }
.cell .lv { position: absolute; top: 7px; right: 8px; font-size: 11px; font-weight: 800; opacity: .8; }
.cell.due::after { content: "revise"; position: absolute; bottom: 6px; right: 8px; font-size: 10.5px; font-weight: 800; color: var(--bad); }
.days { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 8px; }
.days .d { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.days .col { width: 100%; max-width: 34px; border-radius: 6px 6px 0 0; background: var(--accent-soft); position: relative; }
.days .col i { position: absolute; bottom: 0; left: 0; right: 0; background: var(--ok); border-radius: 6px 6px 0 0; }
table.plan { width: 100%; border-collapse: collapse; } table.plan td, table.plan th { padding: 6px 4px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; }
table.plan input, table.plan select { width: 100%; }
.f { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
input[type=text], input[type=number], input[type=time], select { border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; background: var(--surface); }
.attn { border-left: 4px solid var(--warn); padding: 8px 12px; background: var(--warn-soft); border-radius: 8px; margin-bottom: 8px; }
.mdoc h2 { font-size: 16px; margin: 18px 0 6px; } .mdoc p, .mdoc li { color: var(--text); line-height: 1.55; }
@media (max-width: 860px) { .shell { grid-template-columns: 1fr; } aside { position: static; height: auto; } .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
#lPlayer svg { max-width: 100%; height: auto; }
@media (max-width: 860px) { .shell { grid-template-columns: minmax(0, 1fr); } aside { min-width: 0; max-width: 100vw; } }
