/* TeachingMe Classroom – tableau de bord (menu latéral) */
.tm-app{display:flex;align-items:flex-start;max-width:1100px;margin:0 auto;background:#f4f6fa;border-radius:18px;overflow:hidden;min-height:70vh;color:#1a2332}
.tm-side{display:flex;flex-direction:column;gap:6px;padding:14px 8px;background:#1a2332;position:sticky;top:0;align-self:stretch;min-width:58px}
.tm-side a{position:relative;display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;color:#cbd5e1;text-decoration:none;font-weight:600;font-size:.92rem}
.tm-side a:hover{background:rgba(255,255,255,.08);color:#fff}
.tm-side a.is-on{background:#2979e0;color:#fff}
.tm-side .tm-out{margin-top:auto;color:#ff6b6b}
.tm-ico{font-size:1.25rem;line-height:1;width:26px;text-align:center}
.tm-lbl{display:none;white-space:nowrap}
.tm-dot{position:absolute;top:2px;inset-inline-end:2px;background:#ff4757;color:#fff;border-radius:50px;font-size:.7rem;min-width:18px;height:18px;line-height:18px;text-align:center;padding:0 4px}
.tm-main{flex:1;min-width:0;padding:20px 16px}
.tm-main .tm-box{max-width:none;margin:0 0 18px;padding:20px;border-radius:14px}
.tm-main .tm-notice{max-width:none}
.tm-main h2{margin:0 0 4px;font-size:1.5rem}
.tm-main h3{margin:0 0 12px;font-size:1.15rem}
.tm-h3{margin:22px 0 12px!important}
.tm-hello{font-size:1.6rem}
.tm-sub{color:#6c757d;margin:0 0 12px}
.tm-date{display:inline-block;background:#6c757d;color:#fff;border-radius:8px;padding:4px 10px;font-size:.85rem;margin-bottom:16px}
.tm-muted{color:#6c757d}
.tm-hint{color:#6c757d;font-size:.88rem;margin-top:12px}
.tm-info{background:#e0f4fb;color:#0c5460;padding:12px;border-radius:10px;text-align:center}
.tm-strong{font-weight:700;margin:14px 0 6px}
.tm-stats{display:grid;gap:12px;margin-bottom:18px}
.tm-stat{background:#fff;border-radius:14px;padding:18px 20px;border-inline-start:4px solid #2979e0;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.tm-stat strong{display:block;font-size:2rem;color:#2979e0}
.tm-stat.tm-g{border-color:#1e9d57}.tm-stat.tm-g strong{color:#1e9d57}
.tm-stat.tm-o{border-color:#e8590c}.tm-stat.tm-o strong{color:#e8590c}
.tm-stat span{color:#555}
.tm-quick{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.tm-quick a{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:#fff;border-radius:14px;padding:18px 8px;text-decoration:none;color:#1a2332;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.tm-quick a:hover{transform:translateY(-2px)}
.tm-quick a span{font-size:1.7rem}
.tm-blue{background:#2979e0}.tm-green{background:#1e9d57}
.tm-ghost{background:transparent;color:#1a2332!important;border:1px solid #1a2332}
.tm-full{width:100%;margin-top:10px;text-align:center}
.tm-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.tm-chip{display:inline-flex;align-items:center;gap:6px;background:#e8f0fe;color:#1a4fa3;border-radius:50px;padding:4px 12px;font-size:.88rem;font-weight:600}
.tm-chip form{display:inline;margin:0}
.tm-x{border:0;background:transparent;color:#c62828;cursor:pointer;padding:0;font-size:.9rem}
.tm-checks{background:#f8f9fa;border:1px solid #e3e6ea;border-radius:10px;padding:10px 12px;margin-bottom:12px}
.tm-checks label{display:block;margin:4px 0}
.tm-checks input{display:inline-block;width:auto;margin:0 6px 0 0}
.tm-main .tm-form label.tm-chk{display:block}
.tm-sched{background:#f8f9fa;border:1px solid #e3e6ea;border-radius:10px;padding:10px;margin-bottom:12px}
.tm-sched-row{display:flex;gap:6px;align-items:center;margin-bottom:8px}
.tm-sched-row select,.tm-sched-row input{margin:0!important;width:auto!important;flex:1;min-width:0}
.tm-row-del{border:0;background:#e53935;color:#fff;border-radius:8px;width:34px;height:34px;cursor:pointer}
.tm-cred{background:#e6f6ea;border-color:#b6e2c1;text-align:center}
.tm-cred code{display:inline-block;font-size:1.4rem;padding:6px 14px;background:#fff;border:2px solid #2979e0;border-radius:10px;color:#b0306b}
.tm-stu small{color:#555}
.tm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tm-actions form{display:inline}
.tm-live{text-align:center}
.tm-live .tm-big{font-size:3.5rem}
.tm-link code{display:inline-block;max-width:100%;word-break:break-all;background:#f1f5f9;color:#2979e0;padding:10px 12px;border-radius:10px}
.tm-board{width:100%;height:70vh;min-height:480px;border:1px solid #dde1e6;border-radius:12px;background:#fff}
.tm-steps{padding-inline-start:20px;line-height:1.7}
.tm-main .tm-list li{align-items:flex-start}
@media(min-width:720px){
 .tm-side{min-width:220px;padding:18px 12px}
 .tm-lbl{display:inline}
 .tm-main{padding:28px 30px}
 .tm-stats{grid-template-columns:repeat(3,1fr)}
 .tm-quick{grid-template-columns:repeat(3,1fr)}
 .tm-dot{position:static;margin-inline-start:auto}
}

/* Pages de tableau de bord : pleine largeur (sans colonne latérale du thème) */
body.tm-fullpage .sidebar{display:none!important}
body.tm-fullpage .wrap{display:block!important;max-width:1200px}
body.tm-fullpage .main{max-width:100%}
.tm-att{display:flex;flex-wrap:wrap;gap:6px 14px}
.tm-att label{display:inline-flex;align-items:center;gap:4px;margin:0;font-weight:600;font-size:.9rem}
.tm-att input{width:auto;display:inline-block;margin:0}
