/*
 * Small utilities Tabler/Bootstrap don't ship, loaded on every page
 * (templates/index.html).
 */

/* A flex or grid child that may shrink below its content: needed for
 * .text-truncate inside it to cut long text instead of overflowing the card. */
.min-w-0 {
    min-width: 0 !important;
}

/* Clinic name in the navbar: capped on desktop, never wider than the viewport
 * on phones (replaces the inline max-width: 14rem). */
.mw-clinic-name {
    max-width: min(14rem, calc(100vw - 8rem));
}

/* Scrollable related-objects box on the delete confirmation page. */
.mh-related {
    max-height: min(20rem, calc(100vh - 16rem));
}

/* The dashboard's charts live in css/components/dashboard.css. */
