/* Accueil compact : une lecture en liste, dense mais respirante. */
#todayView .today-title{padding:7px 3px 3px}
#todayView .today-title h2{font-size:1.42rem}
#todayView .today-title p:last-child{margin-top:4px;font-size:.78rem}

#todayView .home-section{margin-top:15px}
#todayView .home-section .section-head{margin-bottom:7px;min-height:25px}
#todayView .home-section .section-head h2{font-size:1rem}
#todayView .home-section .section-head button{font-size:.72rem}

/* Une seule surface par groupe au lieu d'une carte par information. */
#todayView .home-list{
  display:block;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface);
}
#todayView .home-list>.home-entry{
  border:0;
  border-radius:0;
  min-height:50px;
  padding:8px 9px 8px 11px;
  grid-template-columns:29px minmax(0,1fr) auto auto;
  gap:7px;
  background:transparent;
  box-shadow:none;
}
#todayView .home-list>.home-entry+.home-entry,
#todayView .home-list>.pronote-day-row+.home-entry,
#todayView .home-list>.home-entry+.pronote-day-row{
  border-top:1px solid color-mix(in srgb,var(--line) 78%,transparent);
}
#todayView .home-entry:before{top:9px;bottom:9px;width:3px}
#todayView .home-entry-icon{
  width:27px;
  height:27px;
  border-radius:9px;
  font-size:.82rem;
}
#todayView .home-entry-copy b{font-size:.84rem;line-height:1.2}
#todayView .home-entry-copy small{margin-top:2px;font-size:.66rem;line-height:1.2}
#todayView .source-label{
  padding:2px 5px;
  font-size:.54rem;
  opacity:.82;
}
#todayView .home-when{font-size:.6rem}

/* Bouton Fait réduit visuellement, avec une zone tactile confortable. */
#todayView .home-task .mini-button.success,
#todayView .home-reminder .mini-button.success{
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  border-radius:50%;
  font-size:0;
  display:grid;
  place-items:center;
}
#todayView .home-task .mini-button.success::before,
#todayView .home-reminder .mini-button.success::before{
  content:'✓';
  font-size:.88rem;
  font-weight:900;
}

/* La priorité devient simplement la première ligne accentuée du bloc Aujourd'hui. */
#todayView .home-priority-entry{
  background:color-mix(in srgb,var(--wine) 6%,var(--surface))!important;
}
#todayView .home-priority-entry:before{background:var(--wine)!important}
#todayView .home-priority-entry .home-entry-icon{background:var(--success-soft);color:var(--success)}

/* Le sélecteur de semaine garde de l'air mais consomme moins de hauteur. */
#todayView .home-week-nav{margin-top:14px}
#todayView .home-week{margin-top:5px;padding-bottom:4px;gap:5px}
#todayView .home-day{min-width:42px;padding:5px 2px;border-radius:11px}
#todayView .home-selected-day{margin-top:10px}
#todayView .home-selected-day .section-head{margin-bottom:6px}

/* Robin reste son propre ruban, mais s'intègre dans la liste compacte. */
#todayView .home-list>.pronote-day-row{
  border:0;
  border-radius:0;
  margin:0;
  padding:7px 9px;
  background:transparent;
}

@media(max-width:420px){
  #todayView .home-list>.home-entry{grid-template-columns:27px minmax(0,1fr) auto auto;padding:7px 8px 7px 10px;gap:6px;min-height:47px}
  #todayView .source-label{display:none}
  #todayView .home-entry-copy b{font-size:.81rem}
  #todayView .home-entry-copy small{font-size:.63rem}
}
