/* V5 · SÉLECTEUR DE DATE FAÇON NOTION (js/v5/date-notion.js, 22/10) — cotes relevées sur l'espace Notion de Lucas :
   popover 248 px, filet + ombre de menu, champ de saisie en haut, cases de 28 px arrondies à 6 px, options en lignes de 28 px. */
.dn-pop{
  position: fixed; z-index: 10040; box-sizing: border-box; width: 248px; padding: 6px 0 4px;
  border-radius: var(--v5-r-popover); background: var(--v5-surface-elevee);
  box-shadow: 0 0 0 1px var(--v5-separateur-fort), var(--v5-ombre-popover);
  font: var(--v5-g-normal) var(--v5-t-13)/16px var(--v5-police); color: var(--v5-texte);
}
.dn-saisie{
  box-sizing: border-box; width: calc(100% - 16px); height: 28px; margin: 0 8px 6px; padding: 0 8px;
  border: 0; border-radius: var(--v5-r-champ); background: var(--v5-rempli-3); box-shadow: inset 0 0 0 1px var(--v5-separateur);
  color: var(--v5-texte); font: inherit; outline: none;
}
.dn-saisie:focus{ box-shadow: inset 0 0 0 1px var(--v5-violet), 0 0 0 3px var(--v5-violet-doux); }
.dn-saisie.erreur{ box-shadow: inset 0 0 0 1px var(--v5-rouge); }
.dn-tete{ display: flex; align-items: center; gap: 2px; height: 28px; padding: 0 8px 0 14px; }
.dn-mois{ flex: 1; font-weight: var(--v5-g-fort); text-transform: capitalize; }
.dn-auj, .dn-fleche{
  display: inline-grid; place-items: center; height: 22px; min-width: 22px; margin: 0; padding: 0 6px; border: 0; border-radius: var(--v5-r-mini);
  background: none; box-shadow: none; color: var(--v5-texte-2); font: var(--v5-g-moyen) var(--v5-t-12)/1 var(--v5-police); cursor: default;
}
.dn-fleche{ padding: 0; }
.dn-fleche svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dn-auj:hover, .dn-fleche:hover{ background: var(--v5-rempli-3); color: var(--v5-texte); }
.dn-grille{ display: grid; grid-template-columns: repeat(7, 32px); justify-content: center; row-gap: 2px; padding: 2px 0 6px; }
.dn-sem{ display: grid; place-items: center; height: 24px; font-size: var(--v5-t-11); color: var(--v5-texte-3); }
.dn-jour{
  display: grid; place-items: center; width: 28px; height: 28px; margin: 0 2px; padding: 0; border: 0; border-radius: var(--v5-r-sel);
  background: none; box-shadow: none; color: var(--v5-texte); font: var(--v5-g-normal) var(--v5-t-13)/1 var(--v5-police); font-variant-numeric: tabular-nums; cursor: default;
}
.dn-jour:hover{ background: var(--v5-rempli-3); }
.dn-jour.hors{ color: var(--v5-texte-3); }
.dn-jour.auj{ color: var(--v5-violet-texte); font-weight: var(--v5-g-fort); }
.dn-jour[aria-pressed="true"]{ background: var(--v5-violet); color: var(--v5-sur-violet); font-weight: var(--v5-g-moyen); }
.dn-jour:disabled{ color: var(--v5-texte-inactif); background: none; }
.dn-sep{ height: 1px; margin: 4px 0; background: var(--v5-separateur); }
.dn-option{
  display: flex; align-items: center; justify-content: space-between; gap: 8px; box-sizing: border-box; width: calc(100% - 8px); height: 28px; margin: 0 4px; padding: 0 10px;
  border: 0; border-radius: var(--v5-r-sel); background: none; box-shadow: none; color: var(--v5-texte); font: inherit; text-align: left; cursor: default;
}
button.dn-option:hover, label.dn-option:hover{ background: var(--v5-rempli-3); }
.dn-heure{ height: 22px; padding: 0 4px; border: 0; border-radius: var(--v5-r-mini); background: none; color: var(--v5-texte-2); font: inherit; font-variant-numeric: tabular-nums; }
.dn-heure:focus{ outline: none; background: var(--v5-rempli-3); color: var(--v5-texte); }
/* le champ d'origine ne montre plus l'icône du calendrier natif : un clic ouvre le sélecteur ci-dessus */
html.v5 input[type="date"]::-webkit-calendar-picker-indicator, html.v5 input[type="datetime-local"]::-webkit-calendar-picker-indicator{ display: none; }
