/* UNPNC 0.9.365 : uniquement les cadres de l'accueil en mode jour.
   L'apparence du mode nuit et les autres écrans ne sont pas concernés. */
.unpnc-app[data-theme="light"] .unpnc-home-bento {
  --unpnc-surface:#003264;
  --unpnc-text:#f8fcff;
  --unpnc-navy:#fff;
  --unpnc-muted:#d0e2f1;
  --unpnc-bg:#104c7a;
  --unpnc-line:#5788a9;
  --unpnc-blue:#a5dcff;
  --unpnc-orange:#ffb17d;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-card {
  background:#003264!important;
  color:#f8fcff!important;
  border-top-color:#5788a9!important;
  border-right-color:#5788a9!important;
  border-bottom-color:#5788a9!important;
  box-shadow:0 10px 28px rgba(0,50,100,.14)!important;
}
/* Même spécificité que le correctif article 0.9.360 afin qu'il reste bleu. */
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash),
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-media,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-body {
  background:#003264!important;
  color:#f8fcff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-top,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-top time {
  color:#d0e2f1!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-body h2 {color:#fff!important}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-body p {color:#d0e2f1!important}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-link {color:#ffbd91!important}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-media,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-body {
  background:#003264!important;
  color:#f8fcff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-body h2,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-card .unpnc-bento-head h2 {
  color:#fff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-body p {
  color:#d0e2f1!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-top,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature .unpnc-feature-top time,
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-flash .unpnc-flash-expiration {
  color:#d0e2f1!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-label {
  background:#e7f5ff!important;
  color:#003264!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash) .unpnc-feature-link {
  color:#ffbd91!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-flash .unpnc-flash-temporary {
  color:#ffbd91!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-card > .unpnc-home-widget-close {
  background:#10446d!important;
  color:#fff!important;
  border-color:#6798ba!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-card > .unpnc-home-widget-close:hover {
  color:#ffbd91!important;
  border-color:#ffbd91!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-clock-pill,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-convert-chip,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-result,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-weather-mini-metrics span {
  background:#104c7a!important;
  color:#f8fcff!important;
  border-color:#5788a9!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-clock-pill strong,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-convert-chip,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-weather-temp,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-weather-city {
  color:#fff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-clock-pill small,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-clock-pill span,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-weather-desc {
  color:#d0e2f1!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-bento-details > summary,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-card-link {
  color:#a5dcff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-field input,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-field select {
  background:#104c7a!important;
  color:#fff!important;
  border-color:#5788a9!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-action {
  background:#EB610B!important;
  color:#fff!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-field,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-field > span {
  color:#d0e2f1!important;
}
/* Contraste AA du texte sur le orange UNPNC #EB610B (5,20:1).
   L'orange et les couleurs des priorités ne changent pas. */
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-mini-action,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-bento-flash .unpnc-flash-read-button,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-bento-flash .unpnc-feature-label,
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-flash-priority--important {
  color:#001b31!important;
}
/* Le bouton Flash devient plus sombre au survol : texte blanc à ce stade. */
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-bento-flash .unpnc-flash-read-button:hover {
  color:#fff!important;
}
/* Icône avion : éviter blanc sur blanc après passage de --unpnc-navy à blanc. */
.unpnc-app[data-theme="light"] .unpnc-home-bento .unpnc-activity-flight > span {
  background:linear-gradient(145deg,#07507d,#0a6a9d)!important;
  color:#fff!important;
}
/* Contre-audit : l'ombre au survol était neutralisée par l'ombre
   de base déclarée !important. Restaurer ce retour et le focus clavier. */
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-card:is(:hover,:focus-within) {
  box-shadow:0 18px 42px rgba(0,50,100,.22)!important;
  border-top-color:#85c9ef!important;
  border-right-color:#85c9ef!important;
  border-bottom-color:#85c9ef!important;
  /* Ne pas toucher au bord gauche : il porte la priorité du Flash. */
}
/* La règle de survol héritée de l'article clair 0.9.360 est plus spécifique.
   Remplacer sa bordure bleu sombre, devenue trop discrète sur le fond bleu. */
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-feature:not(.unpnc-bento-flash):is(:hover,:focus-within) {
  border-color:#85c9ef!important;
}
/* Priorité Critique : son liseré noir nécessite la seconde barre grise.
   L'ancienne ombre inset était effacée par l'ombre générale !important. */
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-flash.unpnc-flash-priority-frame--critical {
  box-shadow:inset 4px 0 0 #a6b2bc,0 10px 28px rgba(0,50,100,.14)!important;
}
.unpnc-app[data-theme="light"] .unpnc-home-bento > .unpnc-bento-flash.unpnc-flash-priority-frame--critical:is(:hover,:focus-within) {
  box-shadow:inset 4px 0 0 #a6b2bc,0 18px 42px rgba(0,50,100,.22)!important;
}
