/** Remove margin bottom for last <p> to avoid extra space with tinymce **/
#stamina-invoicing-invoiceable-lines tr td p:last-child {
	margin-bottom: 0;
}

/** Ellipsis the group header **/
.stamina-invoicing-lines-group-header {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0; /* indispensable pour que le titre se tronque et cède sa place à la barre (header en flex-nowrap) */
	max-width: 420px;
	height: 25px;
}

.stamina-invoicing-line-header {
    background-color: var(--bs-card-bg) !important;
}

/** Offcanvas de ligne : les champs posent directement sur le fond gris de la
    modale, donc fond BLANC forcé (inputs, selects, bootstrap-select, addons),
    y compris readonly/disabled — identifiables par leur texte grisé. **/
.offcanvas .stamina-invoicing-line-fields .form-control,
.offcanvas .stamina-invoicing-line-fields .form-select,
.offcanvas .stamina-invoicing-line-fields .bootstrap-select > .dropdown-toggle,
.offcanvas .stamina-invoicing-line-fields .input-group-text {
    background-color: #fff !important;
    border: 1px solid #e8e8ea !important;
}
