/* Modul Cloud — per-app touch-ups
   Most consistency already comes from components.css (shared @nextcloud/vue
   library). This file only nudges layout details specific to individual
   groupware apps. Selectors are defensive (won't break anything if an app
   renamed a class in a later release — they just won't match). */

/* Mail: message list rows + reading pane */
#app-content-mail .list-item,
#mail .mail-message-list-item {
	border-radius: var(--mt-radius-control) !important;
	transition: background-color var(--mt-duration-fast) var(--mt-ease-out);
}
#app-content-mail .list-item:hover { background-color: var(--mt-hover-bg) !important; }

/* Talk: see talk-shell.css / talk-messages.css / talk-composer.css /
   talk-call.css / talk-animations.css / talk-responsive.css for the full
   redesign — those target #content-vue with verified class names instead
   of the guessed selectors this file used to have here. */

/* Deck: nothing here on purpose. Deck now carries its own design system
   (apps/deck/src/css/tokens.scss + board-ui.scss, from design-tokens.json),
   the same way Talk was handed over to modultalk. The rules that used to live
   here forced .stack to --mt-surface-sunken with !important, which overrode the
   board's glass columns and left column titles white-on-white once a dark board
   background was selected. Do not re-add per-app Deck styling. */

/* Calendar: event pills + grid */
.fc-event, .event, .vac-event {
	border-radius: var(--mt-radius-xs) !important;
	border: none !important;
}

/* Tables / Forms: grid + form cards */
.NcTable, table.grid, .table-wrapper table {
	border-radius: var(--mt-radius-card) !important;
	overflow: hidden;
}
.form-container, .forms-list-item {
	border-radius: var(--mt-radius-card) !important;
	box-shadow: var(--mt-elevation-2) !important;
}

/* Notes / Contacts list items */
.notes-list .note, .contacts-list .contact {
	border-radius: var(--mt-radius-control) !important;
	transition: background-color var(--mt-duration-fast) var(--mt-ease-out);
}
