/* 3.2.1 stabilization layer. Loaded after base styles. */
.media-library-card { padding: 18px; }
.media-library-card .media-grid { align-items: start; }
.media-library-card .media-item { display: grid; grid-template-rows: 180px auto auto; min-height: 100%; }
.media-library-card .media-item > img,
.media-library-card .media-item__preview { width: 100%; height: 180px; object-fit: cover; display: block; background: #f4f6f8; }
.media-library-card .media-item__icon { min-height: 180px; display: grid; place-items: center; background: #f4f6f8; font-size: 38px; }
.media-library-card .media-item__info { min-width: 0; }
.media-library-card .media-item__name { overflow-wrap: anywhere; }
.media-library-card .media-item__actions { align-self: end; }

.dashboard-activity { height: 250px; min-height: 250px; overflow: hidden; }
.dashboard-activity .activity-feed { height: 190px; max-height: 190px; overflow-y: auto; overflow-x: hidden; padding-right: 8px; scrollbar-gutter: stable; }

.rich-editor { position: relative; }
.rich-toolbar { position: sticky; top: 0; }
.rich-toolbar button.is-active { background: #e6f3ef; border-color: #9fd8ca; }
.rich-content { font-weight: 400 !important; }
.rich-content p { font-weight: 400; }
.rich-html-source { font-weight: 400 !important; }

@media (max-width: 1200px) {
    .dashboard-activity { height: 250px; min-height: 250px; }
}
