.teach-shell{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;width:100%;background:#f8fafc}.teach-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 14px;background:#fff;border-bottom:1px solid #e2e8f0;z-index:40}.teach-bar-left{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1 1 auto}.teach-bar-title{margin:0;font-size:15px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(42vw,320px)}.teach-bar-page{font-size:13px;font-weight:600;color:#475569;white-space:nowrap}.teach-bar-progress{font-size:12px;font-variant-numeric:tabular-nums;color:#94a3b8;white-space:nowrap}.teach-bar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.teach-bar-btn{display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:13px;font-weight:500;line-height:1.2;cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease,color .15s ease;touch-action:manipulation}.teach-bar-btn:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8;color:#0f172a}.teach-bar-btn:disabled{opacity:.45;cursor:not-allowed}.teach-bar-btn.is-active{border-color:var(--site-color-primary,#2563eb);color:var(--site-color-primary,#2563eb);background:var(--site-color-primary-soft,#eff6ff)}.teach-bar-btn--link{color:var(--site-color-primary,#2563eb);border-color:#bfdbfe}.teach-bar-btn--ghost{border-color:transparent;background:transparent;color:#64748b}.teach-bar-btn--ghost:hover:not(:disabled){background:#f1f5f9;border-color:transparent}.teach-status{margin:0;padding:8px 14px;font-size:13px;color:#64748b;background:#fff;border-bottom:1px solid #e2e8f0}.teach-status--error{color:#b91c1c;background:#fef2f2}.teach-q-label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:#334155}.teach-dots{display:flex;flex-wrap:wrap;gap:4px;padding:6px 12px 8px;background:#fff;border-top:1px solid #e2e8f0;max-height:72px;overflow-y:auto}.teach-dot{min-width:28px;height:28px;padding:0 6px;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:11px;font-weight:600;cursor:pointer;touch-action:manipulation}.teach-dot.is-question{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.teach-dot.is-blank{border-style:dashed}.teach-dot.is-active{border-color:var(--site-color-primary,#2563eb);background:var(--site-color-primary,#2563eb);color:#fff}.teach-dot:hover:not(.is-active){border-color:#94a3b8}.teach-list{max-width:720px;margin:0 auto;padding:8px 0 32px}.teach-list-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:8px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s ease,background .15s ease}.teach-list-card:hover{border-color:#94a3b8;background:#f8fafc}.teach-list-card-title{margin:0;font-size:15px;font-weight:600;color:#0f172a}.teach-list-card-meta{margin:4px 0 0;font-size:12px;color:#64748b}.teach-list-empty{padding:24px 12px;text-align:center;color:#64748b;font-size:14px}body.dark-theme .teach-shell,body.darking .teach-shell,html.darking .teach-shell{background:var(--site-surface-page,#0f172a)}body.dark-theme .teach-bar,body.dark-theme .teach-dots,body.dark-theme .teach-list-card,body.dark-theme .teach-status,body.darking .teach-bar,body.darking .teach-dots,body.darking .teach-list-card,body.darking .teach-status,html.darking .teach-bar,html.darking .teach-dots,html.darking .teach-list-card,html.darking .teach-status{background:var(--site-surface-card,#1e293b);border-color:var(--site-border,#334155);color:var(--site-text-body,#e2e8f0)}body.dark-theme .teach-bar-title,body.dark-theme .teach-list-card-title,body.darking .teach-bar-title,body.darking .teach-list-card-title,html.darking .teach-bar-title,html.darking .teach-list-card-title{color:var(--site-text,#f1f5f9)}body.dark-theme .teach-bar-btn,body.darking .teach-bar-btn,html.darking .teach-bar-btn{background:transparent;border-color:var(--site-border,#334155);color:var(--site-text-body,#e2e8f0)}body.dark-theme .teach-dot,body.darking .teach-dot,html.darking .teach-dot{background:#0f172a;border-color:#334155;color:#94a3b8}body.dark-theme .teach-dot.is-question,body.darking .teach-dot.is-question,html.darking .teach-dot.is-question{background:rgba(37,99,235,.2);border-color:rgba(96,165,250,.45);color:#93c5fd}