/* clcard1: табло «Аналитики» (client/summary_board.html, app_v2_summary.js). Только токены темы клиента (tokens.css):
   светлая и тёмная — как остальная вкладка. Состояние плитки — словами и aria-expanded, цвет не единственный признак. */
.cls-board { display: grid; gap: 10px; min-width: 0; }
.cls-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cls-period { display: inline-flex; border: 1px solid var(--hair); border-radius: var(--rad-pill); overflow: hidden; }
.cls-period__btn {
    font: inherit; font-size: 13px; padding: 6px 12px; min-height: 36px; border: 0; cursor: pointer;
    background: transparent; color: var(--ink-2);
}
.cls-period__btn[aria-pressed="true"] { background: var(--a-soft); color: var(--ink); font-weight: 700; }
.cls-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.cls-tile {
    font: inherit; text-align: left; cursor: pointer; min-height: 72px; min-width: 0;
    display: grid; gap: 2px; align-content: start; padding: 10px 12px;
    border: 1px solid var(--hair); border-radius: var(--rad-sm); background: var(--well); color: var(--ink);
}
.cls-tile[aria-expanded="true"] { border-color: var(--a1); box-shadow: inset 0 0 0 1px var(--a1); }
.cls-tile:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }
.cls-tile__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
/* clcard1d Д1: главная строка переносится только по обычному пробелу («Усталость» / «3 из 10» — NBSP внутри не рвутся);
   break-word + min-width 0 — слово длиннее плитки всё же переносится, а не вылезает (anywhere рвал и «3 из 10») */
.cls-tile__main { font-size: 18px; font-weight: 800; overflow-wrap: break-word; min-width: 0; }
.cls-tile__sub { font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
/* fix-clcardlive1: живая область подробностей всегда в разметке и не скрыта (gem19b); contents — без лишнего шага gap табло */
.cls-live { display: contents; }
.cls-detail { border-top: 1px solid var(--hair-soft); padding-top: 10px; display: grid; gap: 6px; font-size: 14px; }
.cls-detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.cls-detail li { display: flex; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
.cls-detail__note { font-size: 12px; color: var(--ink-3); }
.cls-detail__link {
    font: inherit; font-size: 13px; justify-self: start; padding: 6px 12px; min-height: 36px; cursor: pointer;
    border: 1px solid var(--hair); border-radius: var(--rad-pill); background: transparent; color: var(--ink);
}
/* clcard1c П3 (ui-clcard1): [hidden] слабее display класса — без этого hide() (офлайн, прокси, не 200) табло не прячет */
.cls-board[hidden], .cls-head[hidden], .cls-period[hidden], .cls-tiles[hidden], .cls-tile[hidden],
.cls-detail[hidden], .cls-live[hidden] { display: none; }
