/* travail-avec.css — bandeau et fenêtre « Je travaille avec… » (support pédagogique prof, 08/11/2026) */
.ta-bandeau { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.ta-bandeau--vide { justify-content:flex-end; }
.ta-choisir { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:999px; border:1px dashed var(--brand-500,#14b8a6); background:#fff; color:var(--brand-700,#0f766e); font-weight:600; font-size:14px; cursor:pointer; }
.ta-choisir:hover { background:var(--brand-50,#f0fdfa); }
.ta-ico svg { vertical-align:-3px; }
.ta-bandeau--actif { padding:10px 14px; border-radius:14px; background:linear-gradient(135deg,#0f766e 0%,#0891b2 100%); color:#fff; box-shadow:0 4px 14px rgba(15,118,110,.25); }
.ta-titre { font-size:13px; opacity:.9; margin-right:2px; }
.ta-nom { display:inline-block; padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.2); font-weight:700; font-size:14px; }
.ta-lien { margin-left:auto; background:none; border:none; color:#fff; text-decoration:underline; cursor:pointer; font-size:13px; }
.ta-quitter { background:rgba(255,255,255,.18); border:none; color:#fff; width:28px; height:28px; border-radius:50%; cursor:pointer; font-size:14px; line-height:28px; }
.ta-quitter:hover { background:rgba(255,255,255,.32); }
.ta-modale-fond { position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:10050; display:flex; align-items:center; justify-content:center; padding:16px; }
.ta-modale { background:#fff; border-radius:16px; width:100%; max-width:460px; max-height:min(640px,92vh); display:flex; flex-direction:column; box-shadow:0 20px 50px rgba(0,0,0,.25); overflow:hidden; }
.ta-modale-tete { padding:18px 20px 8px; }
.ta-modale-tete h3 { margin:0 0 4px; font-size:18px; font-weight:700; color:#0f172a; }
.ta-modale-tete p { margin:0; font-size:13px; color:#64748b; }
.ta-recherche { margin:8px 20px; padding:9px 12px; border:1px solid #cbd5e1; border-radius:10px; font-size:15px; }
.ta-liste { overflow-y:auto; padding:4px 12px; flex:1; min-height:120px; }
.ta-ligne { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; cursor:pointer; }
.ta-ligne:hover { background:#f1f5f9; }
.ta-ligne.ta-on { background:var(--brand-50,#f0fdfa); }
.ta-ligne input { width:18px; height:18px; accent-color:#0f766e; }
.ta-ligne-nom { flex:1; font-size:15px; color:#0f172a; }
.ta-ligne-classe { font-size:12px; font-weight:700; color:#0f766e; background:#ccfbf1; padding:2px 8px; border-radius:999px; }
.ta-vide { text-align:center; color:#64748b; padding:20px 0; }
.ta-modale-pied { display:flex; align-items:center; gap:8px; padding:12px 20px; border-top:1px solid #e2e8f0; }
.ta-compte { flex:1; font-size:13px; color:#475569; }
.ta-btn { padding:9px 18px; border-radius:10px; border:none; background:#0f766e; color:#fff; font-weight:600; cursor:pointer; }
.ta-btn:disabled { opacity:.5; cursor:not-allowed; }
.ta-btn--sec { background:#f1f5f9; color:#334155; }
@media (max-width:640px) { .ta-modale { max-height:100vh; height:100%; border-radius:0; } .ta-modale-fond { padding:0; } }

/* Annonce d'un ajout direct au bilan (assignation-directe.js) */
.ad-toast { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); z-index:10060; display:flex; align-items:flex-start; gap:12px; max-width:min(560px,calc(100vw - 24px)); padding:12px 14px 12px 16px; border-radius:14px; background:#0f172a; color:#fff; box-shadow:0 12px 30px rgba(0,0,0,.3); font-size:14px; line-height:1.4; }
.ad-toast--erreur { background:#7f1d1d; }
.ad-toast-texte { flex:1; }
.ad-toast-texte div + div { opacity:.85; margin-top:2px; }
.ad-toast-annuler { background:#14b8a6; color:#0f172a; border:none; border-radius:999px; padding:6px 14px; font-weight:700; cursor:pointer; white-space:nowrap; }
.ad-toast-annuler:disabled { opacity:.5; }
.ad-toast-fermer { background:none; border:none; color:#cbd5e1; cursor:pointer; font-size:14px; padding:4px; }
