/* DEEP screens and student help widgets */
.deep-kpis{grid-template-columns:repeat(3,1fr)}
.deep-muted{color:var(--muted);font-weight:600}
.deep-error{color:var(--red);font-weight:800}
.deep-small{padding:8px 14px;border-radius:11px;font-size:14px}
.deep-small[disabled]{opacity:.5;cursor:default}
/* teacher screens: flat, dense, quiet */
.deep-root{font-size:14.5px;max-width:1200px}
.deep-root .card{border-radius:10px;box-shadow:none;padding:16px 18px;margin-bottom:0;border:1px solid var(--border)}
.deep-root .card+.card{margin-top:12px}
.deep-root h3{font-size:15px;font-weight:800;margin:0 0 8px;letter-spacing:.01em}
.deep-sec{margin-top:22px}
.deep-list{padding:4px 18px}
.deep-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-bottom:4px}
.deep-toolbar label{font-weight:700;display:flex;gap:8px;align-items:center}
.deep-toolbar select{padding:6px 8px;border-radius:6px;border:1px solid #cfc6ea;background:#fff;font-weight:600}
.deep-toolbar>div{flex:1;min-width:200px}
.deep-toolbar h3{font-size:18px}
.deep-stats{margin-left:auto;color:var(--muted);font-weight:600}
.deep-btn{border:1px solid #cfc6ea;background:#fff;color:var(--text);border-radius:6px;padding:6px 12px;font-weight:700;font-size:13.5px;cursor:pointer}
.deep-btn:hover{border-color:var(--purple);color:var(--purple)}
.deep-btn[disabled]{opacity:.5;cursor:default}
.deep-btn-main{background:var(--purple);border-color:var(--purple);color:#fff}
.deep-btn-main:hover{color:#fff;background:var(--purple-dark)}
.deep-empty{color:var(--muted);margin:0}
.deep-foot{color:var(--muted);font-size:12.5px;margin:18px 0 8px}
.deep-badge{display:inline-block;padding:1px 7px;border-radius:4px;font-size:12px;font-weight:700;white-space:nowrap}
.out-pattern{background:#eaf5e2;color:#33691e}
.out-review{background:#fdf3d7;color:#7a5600}
.out-priority{background:#fde4e8;color:#a3122f}
.out-observe{background:#e8eefb;color:#2c4a9a}
.out-none{background:#f1eff6;color:#686283}
.deep-code{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;font-size:13px}
.deep-prio-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--border)}
.deep-prio-row:first-child{border-top:0}
.deep-groups-t td{padding:9px 8px}
.deep-groups-t tr:last-child td{border-bottom:0}
.deep-gname{width:290px;font-weight:700;white-space:nowrap}
.deep-gnum{width:40px;text-align:right;font-variant-numeric:tabular-nums;color:var(--muted);font-weight:700}
.deep-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:9px;vertical-align:1px}
.deep-dot.g-at_risk{background:#d6334f}.deep-dot.g-lagging{background:#d98a00}.deep-dot.g-challenge{background:#3e6bd6}
.deep-dot.g-stable{background:#3f9a12}.deep-dot.g-insufficient{background:#b4adc9}
.deep-link{color:var(--purple-dark);font-weight:600;text-decoration:none}
.deep-link:hover{text-decoration:underline}
.deep-chip{display:inline-block;margin:0 6px 6px 0;padding:4px 10px;border-radius:6px;border:1px solid #cfc6ea;background:#fff;color:var(--text);font-weight:600;font-size:13px;cursor:pointer}
.deep-chip:hover,.deep-chip.active{border-color:var(--purple);color:var(--purple)}
.deep-chip.active{background:var(--lav)}
.deep-table-wrap{overflow-x:auto}
.deep-table{width:100%;border-collapse:collapse;font-size:14px}
.deep-table th{text-align:left;color:var(--muted);font-size:12px;font-weight:700;padding:10px 8px 8px;border-bottom:1px solid var(--border)}
.deep-table td{padding:9px 8px;border-bottom:1px solid #f0ecfa;vertical-align:top}
.deep-list .deep-table tr:last-child td{border-bottom:0}
.deep-click{cursor:pointer}.deep-click:hover{background:#faf9fe}
.deep-ind td:nth-child(3){font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.deep-ctx td{background:#fcfbfe}
.deep-band{font-size:12.5px;color:var(--muted);font-weight:600}
.deep-band.b2{color:var(--text)}
.deep-live{color:#3f9a12;font-size:12px;font-weight:700}
.deep-match{border-top:1px solid var(--border);padding:14px 0 6px;margin-top:6px}
.deep-match:first-of-type{border-top:0;margin-top:0}
.deep-interp{font-size:15px;font-weight:600;margin:6px 0}
.deep-conds{list-style:none;padding:0;margin:8px 0;font-size:13.5px}
.deep-conds li{padding:2px 0}
.deep-conds li.ok{color:#33691e}.deep-conds li.no{color:var(--muted)}
.deep-decision{margin-top:10px;padding:12px;background:#faf9fe;border-radius:8px}
.deep-dec-list{margin:6px 0;padding-left:18px;color:var(--muted)}
.deep-dec-form textarea{width:100%;min-height:48px;margin:8px 0;border:1px solid #cfc6ea;border-radius:6px;padding:8px;font:inherit;font-size:14px}
.deep-dec-form .action-row{display:flex;gap:8px;flex-wrap:wrap}
.deep-help-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.deep-offer{background:#fff8dc;border:1px solid #f3df8f;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.deep-q{margin:12px 0}
.deep-q b{display:block;margin-bottom:6px}
.deep-scale button{min-width:46px;font-size:18px}
.deep-ends{display:flex;justify-content:space-between;max-width:290px;color:var(--muted);margin-top:4px}
.deep-modal{position:fixed;inset:0;background:rgba(40,30,80,.45);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}
.deep-modal-card{background:#fff;border-radius:22px;padding:24px;max-width:520px;width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow)}
.deep-modal-card .action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.deep-quiz-reports{margin-top:18px;text-align:left}
@media (max-width:700px){.deep-kpis{grid-template-columns:1fr}.deep-prio-row{flex-direction:column;align-items:flex-start}}
