/* clcardcl1: шторка «Подробно» табло «Аналитики» (app_v2_summary_sheet.js; подключает client/summary_board.html только при
   CLCARDCL1_ENABLED=1). Только токены темы клиента (tokens.css): светлая и тёмная — как вкладка. Снизу экрана, прокрутка
   внутри; × и Esc закрывают. Состояние дня — словами, цвет не единственный признак. */
.clsh-back {
    position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center;
    background: var(--hdr-1); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); overscroll-behavior: contain;
}
.clsh-panel {
    width: 100%; max-width: 560px; max-height: 80vh; overflow-y: auto; overscroll-behavior: contain;
    display: grid; gap: 10px; align-content: start; padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border: 1px solid var(--hair); border-bottom: 0; border-radius: var(--rad-sm) var(--rad-sm) 0 0;
    background: var(--bg); color: var(--ink); font-size: 14px; min-width: 0;
}
.clsh-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.clsh-title { font-size: 15px; font-weight: 800; margin: 0; min-width: 0; overflow-wrap: break-word; }
.clsh-x {
    font: inherit; font-size: 22px; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer;
    border: 1px solid var(--hair); border-radius: var(--rad-pill); background: transparent; color: var(--ink);
}
.clsh-x:focus-visible, .clsh-link:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }
.clsh-period { display: inline-flex; justify-self: start; border: 1px solid var(--hair); border-radius: var(--rad-pill); overflow: hidden; }
.clsh-body { display: grid; gap: 6px; min-width: 0; }
.clsh-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.clsh-list li { display: flex; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; border-bottom: 1px solid var(--hair-soft); padding: 4px 0; }
.clsh-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); margin: 6px 0 0; }
.clsh-note { font-size: 12px; color: var(--ink-3); margin: 0; }
.clsh-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);
}
.clsh-back[hidden], .clsh-panel[hidden], .clsh-head[hidden], .clsh-period[hidden], .clsh-body[hidden], .clsh-list[hidden] { display: none; }
