/* Keep pale green surfaces paired with dark ink, including nested labels. */
html body #main .tone-green .art-tag {
  background: #e4efcd !important;
  color: #354c27 !important;
}
html[data-theme="dark"] body #main .tone-green .art-tag {
  background: #343d2e !important;
  color: #edf4e3 !important;
}

html[data-theme="dark"] body :is(
  .calendar-grid > button.selected,
  .agenda-event-action.done,
  .cart-button i,
  .bilan-chapters li.active > span,
  .option.selected .option-check,
  .product-card .product-add:not(:disabled),
  .community-comment-form button,
  .brand-mark,
  .skip-link
) {
  background: #dce8ad !important;
  color: #25331f !important;
  border-color: #dce8ad !important;
}
html[data-theme="dark"] body .calendar-grid > button.selected :is(span,strong,small),
html[data-theme="dark"] body .bilan-chapters li.active > span *,
html[data-theme="dark"] body .community-comment-form button *,
html[data-theme="dark"] body .product-card .product-add:not(:disabled) * {
  color: inherit !important;
}
html[data-theme="dark"] body .calendar-grid > button.selected i {
  background: #3b5030 !important;
  color: #ffffff !important;
}

/* A disabled action remains readable while its unavailable state is explicit. */
html body .product-card .product-add:disabled {
  background: #ebe6df !important;
  color: #59534b !important;
  border: 1px solid #bdb4a8 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
html[data-theme="dark"] body .product-card .product-add:disabled {
  background: #36383e !important;
  color: #d0cbc3 !important;
  border-color: #6c6b69 !important;
}
html body .product-card .product-add:disabled * {
  color: inherit !important;
}

html body .primary-button :is(span,strong,small,svg),
html body .filter.active :is(span,strong,small,svg) {
  color: inherit !important;
}
html body .skip-link:focus-visible {
  outline: 3px solid #72512f;
  outline-offset: 3px;
}
