/* Small-screen fixes from the UX audit: minimum text size and 44px touch targets. Must load LAST: it overrides the files above.
   Part of dashboard.html; loaded in number order (01 first). See server/public/dashboard/README.md. */
/* UX audit: text never below 12px; touch targets at least 44px on small screens.
   Overrides classes from homestead.css / species-overview.js and inline paddings. */
.hs-tile__t,
.hs-group,
.sp-badge,
.sp-badge.warn,
.sp-badge.ok {
    font-size: 0.75rem !important;
}
.gis-camp-label {
    font-size: 12px !important;
}
.sme-svg text {
    font-size: 12px;
}
@media (max-width: 700px) {
    main button,
    main .btn,
    main select,
    main input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']),
    .sp-task {
        min-height: 44px;
    }
    main .sp-chip,
    main .sp-view,
    main .btn,
    #fw-dismiss {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    main .sp-link {
        display: inline-flex;
        align-items: center;
        min-width: 44px;
    }
    /* The Afrikaans word ("Kyk") is shorter than "View": keep the button a full touch target */
    main .sp-view {
        min-width: 44px;
    }
}
