/* nb-app.css : ce que la vraie app ajoute aux maquettes (style.css + nb.css restent ceux des maquettes) */

/* connexion : le signet de My Notebook à la place de l'orbe d'Exit */
.cx-logo { margin-bottom: 14px; } .cx-logo .nb-logo { box-shadow: 0 12px 30px rgba(96,33,39,.25); }
.cx-oubli { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ol600, #535834); min-height: 44px; padding: 0 12px; }
.cx-oubli:disabled { opacity: .5; }
.nb-attente .nb-logo { animation: nb-respire 1.6s ease-in-out infinite; }
@keyframes nb-respire { 50% { transform: scale(.92); opacity: .7; } }

/* une coche ne s'anime que sur la tâche qu'on vient de cocher (pas à chaque relecture) */
.nb-t:not(.vient) .pa-coche.lu .sf, .nb-t.fait:not(.vient) .nb-t-t b { animation: none !important; }
.nb-t.fait .nb-t-t b { text-decoration: line-through; background: none; }
.nb-t.fait.vient .nb-t-t b { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 55% / 100% 1.5px no-repeat; }
.pa-coche { cursor: pointer; }

/* feuille de tâche */
.nb-date { text-align: right; min-width: 150px; font: inherit; color: var(--texte); background: transparent; border: 0; }
.nb-suppr { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 18px; color: var(--err-t); font-size: 14px; font-weight: 600; }
.nb-l-freq[hidden] { display: none !important; }
.nb-vide { padding-top: 80px; }

/* PC Windows : barres de défilement fines et discrètes ; focus visible au clavier */
@media (pointer: fine) {
  .contenu, .side-nav, .feuille-corps { scrollbar-width: thin; scrollbar-color: rgba(60,60,67,.25) transparent; }
  .contenu::-webkit-scrollbar, .side-nav::-webkit-scrollbar, .feuille-corps::-webkit-scrollbar { width: 10px; }
  .contenu::-webkit-scrollbar-thumb, .side-nav::-webkit-scrollbar-thumb, .feuille-corps::-webkit-scrollbar-thumb { background: rgba(60,60,67,.25); border-radius: 5px; border: 3px solid transparent; background-clip: content-box; }
  .nb-t:hover { background: var(--g50, rgba(0,0,0,.02)); }
}
:focus-visible { outline: 2px solid var(--ol500); outline-offset: 2px; border-radius: 6px; }
.nb-pan-vide { height: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--texte3); font-size: 13px; text-align: center; padding: 20px; }
