/* Стили ролей RBAC (без цветных точек и задержек ховера), баннера важности, таймлайна и раздела «Процессы» */
.lh-rbac-studio { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; padding: 4px 2px 20px; }
.lh-rbac-roles-col { display: flex; flex-direction: column; gap: 10px; padding-right: 16px; border-right: 1px solid var(--divider); }
.lh-rbac-roles-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px; font-size: 13px; color: var(--secondary-text); }
.lh-rbac-roles-list { display: flex; flex-direction: column; gap: 3px; }
.lh-rbac-role-btn { width: 100%; min-height: 36px; padding: 6px 12px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--text); font-size: 13.5px; font-weight: 500; font-family: inherit; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; }
.lh-rbac-role-btn:hover { background: var(--hover); }
.lh-rbac-role-btn.is-active { background: var(--accent-primary); color: var(--surface); font-weight: 500; }
.lh-rbac-role-lead { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.lh-rbac-role-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lh-rbac-role-cnt { font-size: 11.5px; font-weight: 600; color: var(--secondary-text); font-variant-numeric: tabular-nums; flex-shrink: 0; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--field); }
.lh-rbac-role-btn.is-active .lh-rbac-role-cnt { background: rgba(255, 255, 255, 0.18); color: var(--surface); }

.lh-rbac-detail-pane { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lh-rbac-meta-bar { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--divider); }
.lh-rbac-meta-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lh-rbac-meta-titles { display: flex; flex-direction: column; gap: 3px; }
.lh-rbac-detail-title { font-size: 20px; line-height: 25px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.lh-rbac-meta-inputs { display: grid; grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) auto; gap: 12px; align-items: end; }
.lh-rbac-groups-columns { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.lh-rbac-group-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lh-rbac-group-title { font-size: 13.5px; font-weight: 600; color: var(--text); padding: 0 2px 4px; }
.lh-apple-perm-list { display: flex; flex-direction: column; border-top: 1px solid var(--divider); }
.lh-apple-perm-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 4px; border-bottom: 1px solid var(--divider); cursor: pointer; user-select: none; }
.lh-apple-perm-row.is-locked { cursor: default; opacity: 0.72; }
.lh-apple-perm-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lh-apple-perm-info strong { font-size: 13.5px; line-height: 18px; font-weight: 500; color: var(--text); }
.lh-apple-perm-info span { font-size: 12px; line-height: 16px; color: var(--secondary-text); }

.lh-important-banner { background: var(--semantic-warn-bg); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.lh-advance-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.lh-advance-step { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.lh-advance-step strong { font-size: 13.5px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.lh-pulse-card { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; }
.lh-pulse-card:hover { background: var(--hover); }
.lh-pulse-rail { width: 100%; height: 10px; border-radius: var(--radius-pill); background: var(--field); overflow: hidden; }
.lh-pulse-fill { height: 100%; background: var(--accent-primary); border-radius: var(--radius-pill); transition: width 260ms var(--ease-apple); }
.lh-pulse-periods { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.lh-pulse-period-item { background: var(--canvas); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
