/* ==========================================================================
   New UI: Views & Tools tracker catalog (#/Trackers).
   Every selector under .nui-on. Reusable pieces belong in new-ui-kit.css.
   Built on the shared .asr-* search-page language (new-ui-assess-search.css).
   ========================================================================== */
.nui-on .trk-page .asr-search { flex: 0 1 380px; }
.nui-on .trk-page .asr-top-spacer { flex: 1 1 auto; }

/* category list: radios, nested levels indented */
.nui-on .trk-page .asr-option > input[type="radio"] { width: 15px; height: 15px; margin: 0; accent-color: var(--asr-blue); cursor: pointer; flex: 0 0 auto; }
.nui-on .trk-page .trk-sub { margin-left: 14px; padding-left: 6px; border-left: 1px solid var(--asr-border); }
.nui-on .trk-page .asr-toggle-row > label { margin: 0; font-weight: 600; cursor: pointer; }

/* not windowed: rows size to their content */
.nui-on .trk-page .asr-row { height: auto; min-height: 64px; cursor: pointer; }
.nui-on .trk-page .asr-row.is-archived { opacity: .7; }
.nui-on .trk-page .asr-title, .nui-on .trk-page .asr-title:hover { text-decoration: none; }
.nui-on .trk-page .asr-title:focus { text-decoration: none; }
.nui-on .trk-page a.asr-more, .nui-on .trk-page a.asr-more:hover { text-decoration: none; }
.nui-on .trk-page .asr-more.is-fav { color: #E0A100; }
.nui-on .trk-page .asr-more.is-warn { color: #B26B00; }
.nui-on .trk-page .asr-list > .asr-empty { grid-column: 1 / -1; }

/* rows: description under the meta line, two lines max */
.nui-on .trk-page .asr-view-rows .asr-row { align-items: center; }
.nui-on .trk-page .asr-view-rows .asr-tile { align-self: center; }
.nui-on .trk-page .asr-view-rows .asr-side { justify-content: center; }

/* cards: no check column, auto-fill grid, description shown (2 lines) */
.nui-on .trk-page .asr-list.asr-view-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.nui-on .trk-page .asr-view-cards .asr-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "tile main" "side side";
    height: 164px;
}
.nui-on .trk-page .asr-view-cards .asr-title { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow: hidden; }
.nui-on .trk-page .asr-view-cards .asr-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    order: 4;
    font-size: 11.5px;
    color: var(--asr-muted);
}

/* compact: single line, no description */
.nui-on .trk-page .asr-view-compact .asr-row { height: 44px; min-height: 44px; padding-top: 7px; padding-bottom: 7px; margin-bottom: 4px; }
.nui-on .trk-page .asr-view-compact .asr-title { flex: 0 1 auto; }
