/* DOR UX Fixes 1.0.0 (Oct 24, 2026) */

/* U11: one colour for main actions (the brand green); red stays for deleting. */
.btn-primary, .btn-primary:focus { background-color: #006835; border-color: #005a2d; color: #fff; }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-color: #005a2d; border-color: #004a25; color: #fff; }
.btn-danger[data-action="composeEmail"], .btn-danger[data-name="composeEmail"], #main .page-header .btn-danger[data-action="compose"] { background-color: #006835; border-color: #005a2d; color: #fff; }

/* U15: the helpful empty-list text. */
#main .no-data[data-dor-ux="1"] { color: #555; font-size: 14px; padding: 6px 2px; max-width: 640px; }

/* U10: an empty dashboard card (no goal yet, nothing to show) doesn't hold a full card's height on a phone. */
@media (max-width: 767px) {
    .dashlet-container:has(.dor-body > .dor-empty:only-child) { height: auto !important; }
    .dashlet-container:has(.dor-body > .dor-empty:only-child) :is(.dashlet, .dashlet-body, .dor-dash) { height: auto !important; min-height: 0 !important; }
}
