/* Identity and access */
.m-identity .tci-rib { margin-bottom: 8px; }
.m-identity .tci-rib .stat-v { display: flex; align-items: center; gap: 10px; }
.m-identity .tci-rib .stat-v.tci-ok { color: var(--ok); font-size: 22px; padding-top: 4px; }
.m-identity .tci-ro { margin: 14px 0 0; }
.m-identity .tci-tabs { margin: 32px 0 26px; }
.m-identity .tci-panel > .sec-h:first-child { margin-top: 0; }
.m-identity .tci-gap { margin-top: 40px; }
.m-identity .tci-card { padding: 16px 20px 14px; }
.m-identity .help { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* toolbar */
.m-identity .tci-tb { gap: 8px; margin-bottom: 10px; }
.m-identity .tci-tb select.inp { height: 32px; font-size: 12.5px; max-width: 190px; }
.m-identity .tci-q { position: relative; display: inline-flex; align-items: center; flex: 0 1 260px; min-width: 0; }
.m-identity .tci-q .ic { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.m-identity .tci-q input.inp { height: 32px; width: 100%; padding-left: 32px; font-size: 12.5px; }
.m-identity .tci-count { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* user cell */
.m-identity .tci-u { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.m-identity .tci-u small { display: block; color: var(--ink-3); font-size: 11.5px; line-height: 1.3; margin-top: 1px; }
.m-identity .tci-u .lnk { font-weight: 500; color: var(--ink); }
.m-identity .tci-u .lnk:hover { color: var(--tc); }
.tci-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #EEF2FF, #DCE3FF); color: var(--tc-ink); display: grid; place-items: center; font-size: 11px; font-weight: 600; flex: none; letter-spacing: .01em; }
.m-identity .tci-src { color: var(--ink-3); white-space: nowrap; }
.m-identity .tci-nw { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.m-identity .tci-sm { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 1px; }
.m-identity .tci-of { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.m-identity .tci-of .meter { width: 54px; }

/* access levels */
.lv { display: inline-grid; place-items: center; min-width: 52px; height: 24px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 500; line-height: 1; white-space: nowrap; border: 1px solid transparent; }
.lv0 { color: var(--ink-4); background: transparent; border-color: transparent; }
.lv1 { color: var(--tc-ink); background: var(--tc-bg); }
.lv2 { color: var(--tc-ink); background: #D7E0FF; border-color: #C9D4FB; }
.lv3 { color: #fff; background: var(--tc); }

/* matrix */
.m-identity .tci-mxw { overflow-x: auto; margin: 0 -4px; padding: 0 4px 4px; scrollbar-width: thin; }
.m-identity .tci-mxw:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.m-identity .tci-mx { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1080px; font-size: 12.5px; }
.m-identity .tci-mx thead th { font-size: 11.5px; font-weight: 500; color: var(--ink-2); text-align: center; vertical-align: bottom; padding: 4px 2px 12px; border-bottom: 1px solid var(--line); width: 72px; }
.m-identity .tci-mxh { display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1.25; }
.m-identity .tci-mxh em { font-style: normal; font-size: 11px; color: var(--warn); font-weight: 500; }
.m-identity .tci-mx th.rh { text-align: left; width: auto; min-width: 220px; padding-left: 0; }
.m-identity .tci-mx thead th.rh { padding-left: 10px; }
.m-identity .tci-mx tbody th.rh { position: sticky; left: 0; z-index: 1; background: var(--panel); font-weight: 400; border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0; box-shadow: 1px 0 0 var(--line); }
.m-identity .tci-mx td { padding: 6px 3px; border-bottom: 1px solid var(--line); text-align: center; }
.m-identity .tci-mx tbody tr:last-child > * { border-bottom: 0; }
.m-identity .tci-mx td.n, .m-identity .tci-mx th.n { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; width: 52px; }
.m-identity .tci-mx tbody tr:hover > * { background: var(--panel-2); }
.m-identity .tci-mx tbody tr.on > * { background: #F6F8FF; }
.m-identity .tci-rhb { all: unset; box-sizing: border-box; display: block; cursor: pointer; padding: 4px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.m-identity .tci-rhb b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.m-identity .tci-rhb small { display: block; color: var(--ink-3); font-size: 11.5px; }
.m-identity .tci-rhb:hover b { color: var(--tc); }
.m-identity .tci-rhb:focus-visible { outline: 2px solid var(--tc); outline-offset: -2px; }
.m-identity tr.on .tci-rhb { border-left-color: var(--tc); }
.m-identity .tci-vas { display: inline-block; margin: 2px 0 0 12px; font-size: 11px; font-weight: 500; color: var(--tc); }
.m-identity .tci-cell { font: inherit; font-size: 11.5px; font-weight: 500; cursor: pointer; min-height: 28px; transition: box-shadow var(--t-fast), transform var(--t-fast); }
.m-identity .tci-cell.lv0 { border: 1px dashed var(--line-2); color: var(--ink-4); }
.m-identity .tci-cell:hover { box-shadow: 0 0 0 2px rgba(0,48,219,.18); }
.m-identity .tci-cell:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.m-identity .tci-leg { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 12px; color: var(--ink-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.m-identity .tci-leg > span { display: inline-flex; align-items: center; gap: 8px; }
.m-identity .tci-leg .lv { min-width: 44px; height: 20px; }
.m-identity .tci-leg .lv0 { border: 1px dashed var(--line-2); }

/* level popover */
.tci-pop { position: fixed; z-index: 70; width: 300px; background: var(--panel); border-radius: 14px; box-shadow: var(--sh-pop); padding: 8px; animation: tci-in .14s var(--ease); }
.tci-pop-h { display: flex; flex-direction: column; padding: 6px 8px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tci-pop-h b { font-size: 13px; font-weight: 600; }
.tci-pop-h span { font-size: 12px; color: var(--ink-3); }
.tci-pop [data-l] { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 9px; cursor: pointer; font-size: 12.5px; color: var(--ink-2); }
.tci-pop [data-l] .lv0 { border: 1px dashed var(--line-2); }
.tci-pop [data-l]:hover, .tci-pop [data-l]:focus-visible { background: var(--panel-2); color: var(--ink); }
.tci-pop [data-l]:focus-visible { outline: 2px solid var(--tc); outline-offset: -2px; }
.tci-pop [data-l].on { color: var(--ink); font-weight: 500; }
.tci-pop [data-l].on::after { content: ''; }
@keyframes tci-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* scopes and ring-fence */
.m-identity .tci-fence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.m-identity .tci-fz { position: relative; overflow: hidden; border-color: #F3C9C6; background: linear-gradient(180deg, #FFF8F7 0, var(--panel) 160px); }
.m-identity .tci-fz::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: repeating-linear-gradient(135deg, var(--bad-dot) 0 6px, transparent 6px 12px); opacity: .7; }
.m-identity .tci-fz-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--bad); }
.m-identity .tci-fz-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bad-dot); box-shadow: 0 0 0 3px rgba(229,72,77,.15); }
.m-identity .tci-fz-h h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 10px 0 4px; }
.m-identity .tci-fz-h p { margin: 0; color: var(--ink-3); font-size: 12.5px; }
.m-identity .tci-fz-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.m-identity .tci-fz-n > div { padding: 14px 12px 12px 0; }
.m-identity .tci-fz-n > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.m-identity .tci-fz-n b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.m-identity .tci-fz-n span { font-size: 12px; color: var(--ink-3); }
.m-identity .tci-out p { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-2); }
.m-identity .tci-out .chip { height: 26px; font-size: 12px; color: var(--ink-2); }
.m-identity .tci-ch { margin-bottom: 12px; }
.m-identity .tci-ch h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.m-identity .tci-ch p { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-3); }
.m-identity .tci-rules { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.m-identity .tci-rules li { counter-increment: r; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.m-identity .tci-rules li:first-child { border-top: 0; padding-top: 4px; }
.m-identity .tci-rules li::before { content: counter(r); grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 11px; font-weight: 500; display: grid; place-items: center; margin-top: 1px; }
.m-identity .tci-rules b { font-weight: 500; color: var(--ink); }
.m-identity .tci-rules span { color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.m-identity .tci-apps { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* single sign-on */
.m-identity .tci-sso { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
.m-identity .tci-idp { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.m-identity .tci-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; color: #fff; flex: none; }
.m-identity .tci-logo .ic { width: 20px; height: 20px; }
.m-identity .tci-idp b { font-size: 15px; font-weight: 600; display: block; letter-spacing: -.01em; }
.m-identity .tci-idp small { color: var(--ink-3); font-size: 12px; }
.m-identity .tci-idp .pill { margin-left: auto; }
.m-identity .tci-kvl { grid-template-columns: 128px minmax(0, 1fr); gap: 0; font-size: 12.5px; }
.m-identity .tci-kvl dt, .m-identity .tci-kvl dd { padding: 9px 0; border-top: 1px solid var(--line); }
.m-identity .tci-kvl dt:first-of-type, .m-identity .tci-kvl dt:first-of-type + dd { border-top: 0; padding-top: 0; }
.m-identity .tci-kvl dd { overflow-wrap: anywhere; color: var(--ink); }
.m-identity code { font-size: 11.5px; color: var(--ink-2); background: var(--panel-2); border-radius: 5px; padding: 1px 6px; }
.m-identity .tci-pol { list-style: none; margin: 0; padding: 0; }
.m-identity .tci-pol li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.m-identity .tci-pol li:first-child { border-top: 0; padding-top: 2px; }
.m-identity .tci-pol b { display: block; font-weight: 500; }
.m-identity .tci-pol span { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.m-identity .tci-pol .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.m-identity .tci-pol .r em { font-style: normal; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-identity .tci-pol .status { color: var(--ok); }

/* lifecycle */
.m-identity .tci-flow { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.m-identity .tci-flow li { position: relative; padding: 0 16px 0 0; }
.m-identity .tci-flow li::before { content: ''; position: absolute; top: 13px; left: 28px; right: 0; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line-2) 70%, transparent); }
.m-identity .tci-flow li:last-child::before { display: none; }
.m-identity .tci-flow .n { position: relative; z-index: 1; width: 27px; height: 27px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: 12px; }
.m-identity .tci-flow li:last-child .n { background: var(--tc); border-color: var(--tc); color: #fff; }
.m-identity .tci-flow small { display: block; font-size: 11.5px; color: var(--tc); font-weight: 500; }
.m-identity .tci-flow b { display: block; font-size: 13.5px; font-weight: 600; margin: 2px 0 4px; letter-spacing: -.01em; }
.m-identity .tci-flow li > span:last-child { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.m-identity .tci-jml { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.m-identity .tci-sl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.m-identity .tci-sl > div { padding: 12px 14px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.m-identity .tci-sl b { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.m-identity .tci-sl span { font-size: 12px; color: var(--ink-3); }
.m-identity .tci-map td { font-size: 12.5px; vertical-align: top; }

/* drawer */
.tci-dr .tci-sub { color: var(--ink-2); margin-right: 6px; }
.tci-dr .tci-p { margin: 8px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.55; }
.tci-dr .tci-scope { border-left: 2px solid var(--tc); padding: 2px 0 2px 14px; }
.tci-dr .tci-scope b { font-weight: 500; font-size: 14px; }
.tci-dr .tci-scope p { margin: 4px 0 0; color: var(--ink-3); font-size: 12.5px; }
.tci-dr .tci-lvl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.tci-dr .tci-lvr { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; min-width: 0; }
.tci-dr .tci-lvr > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tci-dr .tci-lvr.off { color: var(--ink-3); }
.tci-dr .tci-lvr.off .app-ic { filter: grayscale(1); opacity: .45; }
.tci-dr .tci-lvr .lv { min-width: 50px; height: 22px; }
.tci-dr .kvl { font-size: 13px; }
.tci-dr .tci-acc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tci-dr .tci-acc select.inp { flex: 1 1 220px; min-width: 0; }
.tci-dr .tci-note { margin: 0 0 10px; font-size: 13px; width: 100%; }
.tci-dr .tci-note.bad { color: var(--bad); }
.tci-dr .help { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.tci-danger { color: var(--bad) !important; }
.tci-danger:hover { border-color: #F0B7B2 !important; background: var(--bad-bg) !important; }
.tci-danger-solid { background: var(--bad-dot) !important; border-color: var(--bad-dot) !important; color: #fff !important; }
.tci-danger-solid:hover { background: var(--bad) !important; border-color: var(--bad) !important; }
.tci-confirm { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bad-bg); border: 1px solid #F3C9C6; }
.tci-confirm p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.tci-confirm b { color: var(--ink); font-weight: 600; }
.tci-form { display: flex; flex-direction: column; gap: 4px; }
.tci-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; min-width: 0; }
.tci-f label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.tci-f .inp { width: 100%; }
.tci-f .help { margin: 0; font-size: 12px; color: var(--ink-3); }
.tci-f .inp[aria-invalid="true"] { border-color: var(--bad-dot); box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.tci-err { margin: 0; font-size: 12px; color: var(--bad); min-height: 0; }
.tci-err:empty { display: none; }
.tci-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 1180px) {
  .m-identity .tci-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .m-identity .tci-flow li:nth-child(3)::before { display: none; }
  .m-identity .tci-jml { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .m-identity .tci-sso, .m-identity .tci-fence { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .m-identity .tci-card { padding: 12px 14px; }
  .m-identity .tci-q { flex: 1 1 100%; }
  .m-identity .tci-tb select.inp { flex: 1 1 140px; max-width: none; }
  .m-identity .tci-tb .grow { display: none; }
  .m-identity .tci-flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .m-identity .tci-flow li { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 14px; padding: 0 0 16px; }
  .m-identity .tci-flow li .n { grid-row: 1 / 4; margin: 0; }
  .m-identity .tci-flow li::before { top: 27px; bottom: 0; left: 13px; right: auto; width: 1px; height: auto; background: var(--line-2); display: block !important; }
  .m-identity .tci-flow li:last-child::before { display: none !important; }
  .m-identity .tci-fz-n b { font-size: 21px; }
  .m-identity .tci-kvl { grid-template-columns: 104px minmax(0, 1fr); }
  .m-identity .tci-pol li { flex-direction: column; gap: 6px; }
  .m-identity .tci-pol .r { flex-direction: row; align-items: center; gap: 10px; }
  .tci-dr .tci-lvl { grid-template-columns: minmax(0, 1fr); }
  .tci-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .m-identity .tci-sl b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .tci-pop { animation: none; } .m-identity .tci-cell { transition: none; } }
/* table density */
.m-identity .tbl td { padding-top: 10px; padding-bottom: 10px; }
.m-identity .tbl td .lnk[data-open^="idrole"] { color: var(--ink); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.m-identity .tbl td .lnk[data-open^="idrole"]:hover { color: var(--tc); text-decoration-color: currentColor; }
.m-identity #tci-ut .tbl td { white-space: nowrap; }
.m-identity .tci-u small { white-space: normal; }
.m-identity .tci-jmlt { margin-top: 26px; }
.m-identity .tci-jml { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-top: 16px; }
.m-identity .tci-jml .tci-sl { margin-bottom: 0; }
@media (max-width: 980px) { .m-identity .tci-jml { grid-template-columns: minmax(0, 1fr) !important; } }
.m-identity .tci-mxw { position: relative; }

/* ===================== visual kit (shared with Audit) ===================== */
.tvz { margin: 0; }
.tvz svg { display: block; width: 100%; height: auto; overflow: visible; }
.tvz-track { fill: none; stroke: var(--panel-3); stroke-width: 11; }
.tvz-ring { fill: none; stroke-width: 11; stroke-linecap: round; stroke: var(--tc); }
.tvz-ring.info { stroke: var(--info-dot); } .tvz-ring.ok { stroke: var(--ok-dot); } .tvz-ring.teal { stroke: #0E9F9E; } .tvz-ring.warn { stroke: var(--warn-dot); } .tvz-ring.bad { stroke: var(--bad-dot); }
.tvz [role="button"] { cursor: pointer; outline: none; }
.tvz [role="button"]:focus-visible { outline: none; }
.tvz g[role="button"]:focus-visible > :first-child, .tvz path[role="button"]:focus-visible, .tvz g[role="button"]:focus-visible > circle, .tvz g[role="button"]:focus-visible > rect { stroke: var(--ink); stroke-width: 2.5; }
.tvz-tip { position: fixed; z-index: 90; pointer-events: none; max-width: 280px; background: #0B0F19; color: #fff; border-radius: 10px; padding: 8px 11px; font-size: 12px; line-height: 1.45; box-shadow: var(--sh-pop); opacity: 0; transform: translateY(3px); transition: opacity var(--dur-1, 150ms) var(--ease-out, ease), transform var(--dur-1, 150ms) var(--ease-out, ease); }
.tvz-tip.on { opacity: 1; transform: none; }
.tvz-tip b { display: block; font-weight: 600; }
.tvz-tip span { display: block; color: rgba(255,255,255,.72); }
.tvz-seg button { display: inline-flex; align-items: center; gap: 6px; }
.tvz-seg .ic { width: 14px; height: 14px; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--ink-4); flex: none; }
.sw.tc { background: var(--tc); } .sw.info { background: var(--info-dot); } .sw.ok { background: var(--ok-dot); } .sw.teal { background: #0E9F9E; }
.sw.hollow { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-3); border-radius: 50%; }
.tvz figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.tvz figcaption > span { display: inline-flex; align-items: center; gap: 7px; }

/* entrance motion: only when motion is allowed; final state is the default */
@media (prefers-reduced-motion: no-preference) {
  .tvz .tvz-sq { transition: opacity 280ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), transform 280ms var(--ease-spring, cubic-bezier(.3,1.4,.5,1)) min(var(--d, 0ms), 160ms); transform-box: fill-box; transform-origin: center; }
  .tvz:not(.tvz-on) .tvz-sq { opacity: 0; transform: scale(.2); }
  .tvz .tvz-ring { transition: stroke-dasharray 320ms var(--ease-out, ease) min(var(--dl, 0ms), 160ms); }
  .tvz:not(.tvz-on) .tvz-ring { stroke-dasharray: 0 var(--c) !important; }
  .tvz .tvz-pop { transition: opacity 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), transform 320ms var(--ease-spring, cubic-bezier(.3,1.4,.5,1)) min(var(--d, 0ms), 160ms); transform-box: fill-box; transform-origin: center; }
  .tvz:not(.tvz-on) .tvz-pop { opacity: 0; transform: scale(.4); }
  .tvz .tvz-drop { transition: opacity 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), transform 320ms var(--ease-spring, cubic-bezier(.3,1.4,.5,1)) min(var(--d, 0ms), 160ms); }
  .tvz:not(.tvz-on) .tvz-drop { opacity: 0; transform: translateY(-18px); }
  .tci-wh .cell { transition: opacity 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), transform 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), fill var(--dur-2, 250ms); transform-box: view-box; transform-origin: 330px 330px; }
  .tci-wh:not(.tvz-on) .cell { opacity: 0; transform: rotate(-24deg) scale(.82); }
  .tci-flow li { transition: opacity 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms), transform 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms); }
  .tci-flow:not(.tvz-on) li { opacity: 0; transform: translateX(-10px); }
  .tci-mix span { transition: transform 320ms var(--ease-out, ease) min(var(--d, 0ms), 160ms); transform-origin: left; }
  .tci-mix:not(.tvz-on) span { transform: scaleX(0); }
  .tci-path .flow { animation: tci-flow 1.6s linear infinite; }
  .tci-board .tci-pc { animation: tci-rise 320ms var(--ease-out, ease) both; animation-delay: min(var(--d, 0ms), 160ms); }
}
@keyframes tci-flow { to { stroke-dashoffset: -24; } }
@keyframes tci-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===================== identity hero ===================== */
.m-identity .tci-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; margin-bottom: 16px; }
.m-identity .tci-hero > div { padding: 24px 26px 22px; min-width: 0; }
.m-identity .tci-hero-b { border-left: 1px solid var(--line); background: linear-gradient(180deg, #FBFCFF, var(--panel)); }
.m-identity .tci-hh { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.m-identity .tci-hh .big { font-size: 48px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.m-identity .tci-hh b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.m-identity .tci-hh span:not(.big) { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.m-identity .tci-waf { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; align-items: start; }
.m-identity .tci-waf svg { max-width: 420px; }
.m-identity .tvz-lg { display: flex; flex-direction: column; gap: 0; margin: 0; }
.m-identity .tvz-li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 4px 6px; margin: 0 -6px; border-radius: 7px; font-size: 12.5px; color: var(--ink-2); text-decoration: none; transition: background var(--dur-1, 150ms); }
.m-identity .tvz-li:hover, .m-identity .tvz-li:focus-visible { background: var(--panel-2); color: var(--ink); }
.m-identity .tvz-li i { width: 10px; height: 10px; border-radius: 3px; }
.m-identity .tvz-li b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.m-identity .tci-cov { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; }
.m-identity .tci-cov-c { color: var(--ink-3); }
.m-identity .tci-cov-c .ic { width: 24px; height: 24px; }
.m-identity .tci-cov-l { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.m-identity .tci-cov-l > div { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 9px; align-items: center; }
.m-identity .tci-cov-l .sw { border-radius: 50%; }
.m-identity .tci-cov-l span { font-size: 13px; color: var(--ink); font-weight: 500; }
.m-identity .tci-cov-l b { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.m-identity .tci-cov-l small { grid-column: 2 / 4; font-size: 11.5px; color: var(--ink-3); }
.m-identity .tci-rib { margin-bottom: 0; }

/* ===================== users ===================== */
.m-identity .tci-sig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding: 0; overflow: hidden; margin-bottom: 16px; }
.m-identity .tci-sig > div { padding: 20px 22px; min-width: 0; }
.m-identity .tci-sig-b { border-left: 1px solid var(--line); }
.m-identity .tci-clock svg { max-width: 340px; margin: 0 auto; }
.tci-clock .dial { fill: var(--panel-2); stroke: var(--line); }
.tci-clock .tk { stroke: var(--ink-4); stroke-width: 1; } .tci-clock .tk.mj { stroke: var(--ink-3); stroke-width: 1.5; }
.tci-clock .hl { font-size: 11px; fill: var(--ink-3); }
.tci-clock .day { fill: rgba(0,48,219,.06); }
.tci-clock .hand { stroke: var(--tc); stroke-width: 2; stroke-linecap: round; }
.tci-clock .hub { fill: var(--tc); }
.tci-clock .stem { stroke: var(--line-2); stroke-width: 1; }
.tci-clock .mk circle { stroke: #fff; stroke-width: 2; transition: r var(--dur-1, 150ms) var(--ease-out, ease); }
.tci-clock .mk circle.yday { fill: #fff !important; stroke-width: 2.5; }
.tci-clock .mk:hover circle, .tci-clock .mk:focus-visible circle { r: 9; }
.tci-clock .mk circle.yday { stroke: var(--ink-3); }
.m-identity .tci-ctr { display: flex; flex-direction: column; }
.m-identity .tci-ctr-r { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.m-identity .tci-ctr-r:first-child { border-top: 0; }
.m-identity .tci-ctr-h { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 9px; align-items: center; }
.m-identity .tci-ctr-h i { width: 9px; height: 9px; border-radius: 50%; }
.m-identity .tci-ctr-h b { font-size: 13px; font-weight: 500; }
.m-identity .tci-ctr-h span, .m-identity .tci-ctr-h em { grid-column: 2; font-size: 11.5px; color: var(--ink-3); font-style: normal; }
.m-identity .tci-ctr-a { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.m-identity .tci-avl { width: 32px; height: 32px; margin-right: 0; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--tc-ink); background: linear-gradient(140deg, #EEF2FF, #DCE3FF); box-shadow: 0 0 0 2px var(--panel); text-decoration: none; transition: transform var(--dur-2, 250ms) var(--ease-spring, ease), z-index 0s; position: relative; }
.m-identity .tci-avl:hover, .m-identity .tci-avl:focus-visible { transform: translateY(-3px) scale(1.12); z-index: 2; }
.m-identity .tci-avl.st-invited { background: var(--panel); box-shadow: 0 0 0 2px var(--panel), inset 0 0 0 1.5px var(--info-dot); }
.m-identity .tci-avl.st-revoked { background: var(--bad-bg); color: var(--bad); opacity: .7; }
.m-identity .tci-ctr-a .n { margin-left: 16px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.m-identity .tci-ulist .tvz-seg { margin-left: 4px; }
.m-identity .tci-board { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.m-identity .tci-pc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; transition: border-color var(--dur-2, 250ms), box-shadow var(--dur-2, 250ms), transform var(--dur-2, 250ms) var(--ease-out, ease); }
.m-identity .tci-pc:hover, .m-identity .tci-pc:focus-within { border-color: var(--line-2); box-shadow: 0 10px 28px -14px rgba(11,15,25,.22); transform: translateY(-2px); }
.m-identity .tci-pc-a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; border-radius: 8px; }
.m-identity .tci-pc-a:focus-visible { outline: 2px solid var(--tc); outline-offset: 3px; }
.m-identity .tci-av.lg { width: 38px; height: 38px; font-size: 12.5px; box-shadow: inset 0 0 0 2px var(--panel), 0 0 0 2px var(--rc, var(--line)); }
.m-identity .tci-pc-t { min-width: 0; }
.m-identity .tci-pc-t b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-identity .tci-pc-t small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-identity .tci-pc-m { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-2); }
.m-identity .tci-rc { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-identity .tci-rc i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.m-identity .tci-pc-f { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink-3); }
.m-identity .tci-apps { display: inline-flex; gap: 2px; }
.m-identity .tci-apps i { width: 4px; height: 12px; border-radius: 2px; background: var(--panel-3); }
.m-identity .tci-apps i.on { background: var(--tc); }
.m-identity .tci-pc-n { font-variant-numeric: tabular-nums; }
.m-identity .tci-pc-l { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.m-identity .tci-pc-l .ic { width: 13px; height: 13px; }
.m-identity .tci-board-n { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); text-align: right; }
.m-identity #tci-ub .pager { margin-top: 14px; }

/* ===================== roles map ===================== */
.tci-rmap .gl { stroke: var(--line); stroke-dasharray: 2 4; }
.tci-rmap .ax { font-size: 11px; fill: var(--ink-3); }
.tci-rmap .bub { fill-opacity: .9; stroke: #fff; stroke-width: 2; transition: fill-opacity var(--dur-1, 150ms); }
.tci-rmap .mk:hover .bub, .tci-rmap .mk:focus-visible .bub { fill-opacity: 1; stroke: var(--ink); }
.tci-rmap .bl { font-size: 11.5px; fill: var(--ink); font-weight: 500; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.tci-rmap .bl.in { stroke: none; fill: #18213A; font-weight: 600; }
.tci-rmap .bl.sm { font-weight: 500; font-size: 11px; }

/* ===================== access wheel ===================== */
.m-identity .tci-wheel { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: center; }
.m-identity .tci-wh svg { max-width: 640px; margin: 0 auto; }
.tci-wh .hubc { fill: var(--panel-2); }
.tci-wh .cell { stroke: #fff; stroke-width: 1; }
.tci-wh .cell.cur { stroke: rgba(0,48,219,.35); }
.tci-wh svg.hl .cell:not(.lit) { opacity: .28; }
.tci-wh .cell:focus-visible { stroke: var(--ink); stroke-width: 2.5; }
.tci-wh .al { font-size: 11.5px; fill: var(--ink-2); transition: fill var(--dur-1, 150ms); }
.tci-wh .al.lit { fill: var(--tc); font-weight: 600; }
.tci-wh .cv { font-size: 22px; font-weight: 500; fill: var(--ink); letter-spacing: -.02em; }
.tci-wh .cl { font-size: 11px; fill: var(--ink-3); }
.m-identity .tci-wh-roles { list-style: none; margin: 0; padding: 0; }
.m-identity .tci-wh-roles li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 8px; margin: 0 -8px; border-radius: 8px; font-size: 12.5px; transition: background var(--dur-1, 150ms); }
.m-identity .tci-wh-roles li.hl, .m-identity .tci-wh-roles li:hover { background: var(--panel-2); }
.m-identity .tci-wh-roles li.cur .n { background: var(--tc); color: #fff; border-color: var(--tc); }
.m-identity .tci-wh-roles .n { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; color: var(--ink-3); }
.m-identity .tci-wh-roles .lnk { color: var(--ink); }
.m-identity .tci-wh-roles b { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ===================== scopes treemap and orbit ===================== */
.tci-tree .sc { fill: var(--panel-2); stroke: var(--line); }
.tci-tree .sn { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.tci-tree .sv { font-size: 12px; fill: var(--ink-3); }
.tci-tree .rl { stroke: rgba(255,255,255,.9); stroke-width: 1; transition: filter var(--dur-1, 150ms); }
.tci-tree .mk:hover .rl { filter: brightness(1.06) saturate(1.1); }
.tci-tree .rn { font-size: 11px; font-weight: 500; fill: #18213A; pointer-events: none; }
.tci-tree .rn.lt { fill: #fff; }
.m-identity .tci-orbit svg { max-width: 460px; margin: 6px auto 0; }
.tci-orbit .orb { fill: none; stroke: var(--line-2); stroke-dasharray: 3 5; }
.tci-orbit .ln { stroke: var(--ink-4); stroke-width: 1; }
.tci-orbit .fence { fill: none; stroke: var(--bad-dot); stroke-width: 2; stroke-dasharray: 6 5; }
.tci-orbit .core { fill: var(--panel); stroke: #F3C9C6; }
.tci-orbit .cn { font-size: 13px; font-weight: 600; fill: var(--ink); }
.tci-orbit .cs { font-size: 11px; fill: var(--bad); }
.tci-orbit .cl { fill: var(--tc); stroke: #fff; stroke-width: 2.5; }
.tci-orbit .ct { font-size: 11px; fill: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .tci-orbit .fence { animation: tci-fence 18s linear infinite; transform-origin: 230px 150px; } }
@keyframes tci-fence { to { transform: rotate(360deg); } }

/* ===================== sign-in path ===================== */
.tci-path .band { stroke: #E8EDFF; stroke-width: 26; stroke-linecap: round; fill: none; }
.tci-path .flow { stroke: var(--tc); stroke-width: 2; stroke-dasharray: 6 6; fill: none; opacity: .55; }
.tci-path .idp { fill: rgba(255,255,255,.6); stroke: var(--line-2); stroke-dasharray: 4 4; }
.tci-path .t { font-size: 11.5px; fill: var(--ink-3); font-weight: 500; }
.tci-path .nd circle { fill: var(--panel); stroke: var(--tc); stroke-width: 2; }
.tci-path .nd.end circle { fill: var(--tc); }
.tci-path .nd text { font-size: 12px; font-weight: 600; fill: var(--ink); }
.tci-path .nd text.s { font-size: 11px; font-weight: 400; fill: var(--ink-3); }
.tci-path .post { stroke: var(--line-2); stroke-width: 1; }
.tci-path .gd { fill: var(--panel); stroke: var(--ok-dot); stroke-width: 2; transition: r var(--dur-1, 150ms); }
.tci-path .gate:hover .gd, .tci-path .gate:focus-visible .gd { r: 14; }
.tci-path .gn { font-size: 11px; font-weight: 600; fill: var(--ok); pointer-events: none; }
.tci-path .gt { font-size: 11px; fill: var(--ink-3); }
.tci-path .drop { fill: none; stroke: var(--bad-dot); stroke-width: 1.5; stroke-dasharray: 3 3; }
.tci-path .dt { font-size: 11px; fill: var(--bad); font-weight: 500; }
.m-identity .tci-sso { margin-top: 16px; }
.m-identity .tci-life { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.m-identity .tci-life > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.m-identity .tci-life b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.m-identity .tci-pol li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; }
.m-identity .tci-pol .gn { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ok-dot); color: var(--ok); font-size: 11px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.m-identity ol.tci-pol { list-style: none; margin: 0; padding: 0; }

/* ===================== lifecycle ===================== */
.m-identity .tci-flow .n { width: 34px; height: 34px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink-2); display: grid; place-items: center; }
.m-identity .tci-flow .n .ic { width: 16px; height: 16px; }
.m-identity .tci-flow li:last-child .n { background: var(--tc); border-color: var(--tc); color: #fff; }
.m-identity .tci-flow li::before { top: 17px; left: 40px; }
.tci-swim .gl { stroke: var(--line); } .tci-swim .gl.now { stroke: var(--tc); stroke-dasharray: 3 3; }
.tci-swim .ax { font-size: 11px; fill: var(--ink-3); }
.tci-swim .ln { font-size: 12px; font-weight: 500; fill: var(--ink-2); }
.tci-swim .lane { stroke: var(--line-2); stroke-dasharray: 1 5; stroke-linecap: round; }
.tci-swim .ev { stroke: #fff; stroke-width: 2.5; transition: r var(--dur-1, 150ms); }
.tci-swim .ev.warn { stroke: var(--warn-dot); } .tci-swim .ev.info { stroke: var(--info-dot); fill-opacity: .55; }
.tci-swim .mk:hover .ev, .tci-swim .mk:focus-visible .ev { r: 12; }
.tci-swim .el { font-size: 11px; font-weight: 600; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.m-identity .tci-mix { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 4px 0 12px; }
.m-identity .tci-mixl { display: flex; gap: 20px; flex-wrap: wrap; }
.m-identity .tci-mixl > div { display: grid; grid-template-columns: 8px auto; column-gap: 7px; align-items: center; }
.m-identity .tci-mixl i { width: 8px; height: 8px; border-radius: 50%; }
.m-identity .tci-mixl b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.m-identity .tci-mixl span { grid-column: 2; font-size: 12px; color: var(--ink-3); }
.m-identity .tci-mixl .t { margin-left: auto; text-align: right; grid-template-columns: auto; }
.m-identity .tci-mixl .t span { grid-column: 1; }
.m-identity .tci-sla { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.m-identity .tci-sla > div .big { display: block; font-size: 26px; letter-spacing: -.035em; }
.m-identity .tci-sla > div span:not(.big) { font-size: 12px; color: var(--ink-3); }
.m-identity .tci-sla-r { display: flex; align-items: center; gap: 10px; }
.m-identity .tci-sla-r svg { width: 64px; }
.m-identity .tci-sla-r .tvz-track, .m-identity .tci-sla-r .tvz-ring { stroke-width: 6; }
.m-identity .tci-sla-r .rv { font-size: 12px; font-weight: 600; fill: var(--ink); }
.m-identity .tci-sla-r figcaption { margin: 0; max-width: 90px; }
.m-identity ul.tci-map { list-style: none; margin: 0; padding: 0; }
.m-identity ul.tci-map li { display: grid; grid-template-columns: minmax(0, 1.3fr) 40px minmax(0, 1fr); gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.m-identity ul.tci-map li:first-child { border-top: 0; }
.m-identity ul.tci-map .jp { color: var(--ink-2); }
.m-identity ul.tci-map .ar { height: 1px; background: var(--line-2); position: relative; }
.m-identity ul.tci-map .ar::after { content: ''; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--ink-4); border-right: 0; }
.m-identity ul.tci-map .rr b { display: block; font-weight: 500; }
.m-identity ul.tci-map .rr small { color: var(--ink-3); font-size: 11.5px; }

/* lift (fallback until the shared motion layer defines it) */
.m-identity .lift { transition: box-shadow var(--dur-2, 250ms) var(--ease-out, ease), border-color var(--dur-2, 250ms); }
.m-identity .card.lift:hover { border-color: var(--line-2); box-shadow: 0 14px 34px -22px rgba(11,15,25,.25); }

@media (max-width: 1180px) {
  .m-identity .tci-hero { grid-template-columns: minmax(0, 1fr); }
  .m-identity .tci-hero-b { border-left: 0; border-top: 1px solid var(--line); }
  .m-identity .tci-wheel { grid-template-columns: minmax(0, 1fr); }
  .m-identity .tci-wh-roles { columns: 2; column-gap: 24px; }
  .m-identity .tci-sig { grid-template-columns: minmax(0, 1fr); }
  .m-identity .tci-sig-b { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .m-identity .tci-waf, .m-identity .tci-cov { grid-template-columns: minmax(0, 1fr); }
  .m-identity .tci-cov svg { max-width: 180px; margin: 0 auto; }
  .m-identity .tci-hero > div { padding: 18px 16px; }
  .m-identity .tci-hh .big { font-size: 38px; }
  .m-identity .tci-ctr-r { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .m-identity .tci-wh-roles { columns: 1; }
  .m-identity .tci-life > div { grid-template-columns: 110px minmax(0, 1fr) 80px; }
  .m-identity .tci-sla { grid-template-columns: 1fr 1fr; }
  .m-identity .tci-pol li { grid-template-columns: 24px minmax(0, 1fr); }
  .m-identity .tci-pol li .r { grid-column: 2; }
  .m-identity ul.tci-map li { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
  .m-identity .tci-rmap, .m-identity .tci-path, .m-identity .tci-swim, .m-identity .tci-tree { overflow-x: auto; position: relative; }
  .m-identity .tci-rmap svg, .m-identity .tci-path svg, .m-identity .tci-swim svg, .m-identity .tci-tree svg { min-width: 640px; }
}
.m-identity .tci-abar { display: inline-flex; gap: 2px; }
.m-identity .tci-abar i { width: 4px; height: 12px; border-radius: 2px; background: var(--panel-3); }
.m-identity .tci-abar i.on { background: var(--tc); }
.m-identity .tci-pc-f { flex-wrap: nowrap; }
.m-identity .tci-pc-n { white-space: nowrap; }
.m-identity .tci-tb select.inp { max-width: 150px; }
.m-identity .tci-q { flex-basis: 220px; }
.m-identity .tci-rmapw { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: center; }
.m-identity .tci-rmap svg { max-width: 700px; }
.tci-rmap .bn { font-size: 11px; font-weight: 600; fill: #fff; pointer-events: none; }
.m-identity .tci-rm-l b { color: var(--ink-2); }
.m-identity .tci-rm-l li.hl { background: var(--panel-2); }
@media (max-width: 1180px) { .m-identity .tci-rmapw { grid-template-columns: minmax(0, 1fr); } .m-identity .tci-rm-l { columns: 2; column-gap: 24px; } }
@media (max-width: 700px) { .m-identity .tci-rm-l { columns: 1; } }
.tvz.tvz-now *, .tvz.tvz-now { transition: none !important; animation-delay: 0s !important; }

/* ===== review round 1 ===== */
/* roles rows */
.m-identity .tci-rl ul { list-style: none; margin: 0; padding: 0; }
.m-identity .tci-rl-h, .m-identity .tci-rl ul > li { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.2fr) minmax(150px, .9fr); gap: 20px; align-items: center; }
.m-identity .tci-rl-h { font-size: 12px; color: var(--ink-3); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.m-identity .tci-rl ul > li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.m-identity .tci-rl ul > li:last-child { border-bottom: 0; }
.m-identity .tci-rl-n { color: var(--ink); text-decoration: none; min-width: 0; border-radius: 6px; }
.m-identity .tci-rl-n b { display: block; font-size: 13px; font-weight: 500; }
.m-identity .tci-rl-n small { display: block; font-size: 11.5px; color: var(--ink-3); }
.m-identity .tci-rl-n:hover b { color: var(--tc); }
.m-identity .tci-rl-m { display: flex; align-items: center; gap: 3px; }
.m-identity .tci-rl-m i { flex: 1; max-width: 18px; height: 16px; border-radius: 3px; background: #F1F2F5; }
.m-identity .tci-rl-m i.lv1 { background: #DCE3FF; } .m-identity .tci-rl-m i.lv2 { background: #8FA5F5; } .m-identity .tci-rl-m i.lv3 { background: var(--tc); }
.m-identity .tci-rl-m i.lv0 { min-width: 0; padding: 0; border: 0; height: 16px; }
.m-identity .tci-rl-m em { font-style: normal; font-size: 12px; color: var(--ink-2); margin-left: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-identity .tci-rl-u, .m-identity .tci-sr-b { display: flex; align-items: center; gap: 10px; }
.m-identity .tci-rl-u .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.m-identity .tci-rl-u .bar i { display: block; height: 100%; border-radius: 99px; background: var(--tc); }
.m-identity .tci-rl-u b, .m-identity .tci-sr-b b { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
/* scope rows */
.m-identity .tci-sr ul { list-style: none; margin: 0; padding: 0; }
.m-identity .tci-sr li { display: grid; grid-template-columns: minmax(170px, .9fr) minmax(160px, 1fr) minmax(220px, 1.4fr); gap: 20px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.m-identity .tci-sr li:last-child { border-bottom: 0; }
.m-identity .tci-sr-n b { display: block; font-size: 13px; font-weight: 500; }
.m-identity .tci-sr-n small { display: block; font-size: 11.5px; color: var(--ink-3); }
.m-identity .tci-sr-b .bar { display: flex; gap: 2px; height: 12px; border-radius: 99px; overflow: hidden; }
.m-identity .tci-sr-b .bar i { display: block; height: 100%; min-width: 3px; }
.m-identity .tci-sr-b { justify-content: flex-start; }
.m-identity .tci-sr-r { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.m-identity .tci-sr-c { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink); text-decoration: none; }
.m-identity .tci-sr-c i { width: 8px; height: 8px; border-radius: 2px; }
.m-identity .tci-sr-c em { font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.m-identity .tci-sr-c:hover { color: var(--tc); }
/* wheel */
.tci-wh .rn { font-size: 11px; font-weight: 600; fill: var(--ink-3); }
.tci-wh .al { font-size: 11px; }
.m-identity .tci-wh svg { max-width: 760px; }
/* SSO gates */
.tci-path .gname { font-size: 11px; font-weight: 500; fill: var(--ink-2); }
.tci-path .gt, .tci-path .dt { font-size: 11px; }
.tci-path .dt { fill: var(--bad); font-weight: 500; }
/* B-18 user cards: wrap instead of clip */
.m-identity .tci-pc-t b, .m-identity .tci-pc-t small { white-space: normal; overflow: visible; text-overflow: clip; }
.m-identity .tci-rc { white-space: normal; }
/* B-20 lifecycle balance */
.m-identity .tci-jml { align-items: stretch; }
.m-identity .tci-jml > .card:first-child { display: flex; flex-direction: column; }
.m-identity .tci-jml > .card:first-child .tci-sla { margin-top: 28px; }
.m-identity .tci-jml { grid-template-columns: minmax(0, 1fr) !important; }
.m-identity .tci-jml > .card:first-child .tci-sla { margin-top: 20px; }
@media (min-width: 981px) {
  .m-identity .tci-jml ul.tci-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .m-identity .tci-jml ul.tci-map li:nth-child(2) { border-top: 0; }
}
.m-identity .tci-jml > .card:first-child .tci-mix { height: 18px; margin: 18px 0 18px; }
@media (max-width: 760px) {
  .m-identity .tci-rl-h { display: none; }
  .m-identity .tci-rl ul > li, .m-identity .tci-sr li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Narrow layouts: the sign-in path and lifecycle swimlane become lists so no text shrinks. */
.m-identity .tci-path-l, .m-identity .tci-swim-l { display: none; }
@media (max-width: 760px) {
  .m-identity .tci-path, .m-identity .tci-swim { display: none; }
  .m-identity .tci-path-l { display: grid; gap: 0; list-style: none; margin: 0; padding: 4px 0; position: relative; }
  .m-identity .tci-path-l::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 2px; background: #E8EDFF; }
  .m-identity .tci-path-l li { display: flex; gap: 14px; align-items: center; padding: 8px 0; position: relative; }
  .m-identity .tci-path-l li div { display: grid; gap: 2px; }
  .m-identity .tci-path-l li b { font-size: 14px; font-weight: 600; }
  .m-identity .tci-path-l li span { font-size: 13px; color: var(--ink-3); }
  .m-identity .tci-path-l li span.dt { color: var(--bad); font-weight: 500; }
  .m-identity .tci-path-l .nd { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--tc); background: var(--panel); flex: none; }
  .m-identity .tci-path-l .end .nd { background: var(--tc); }
  .m-identity .tci-path-l .gd { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--panel); border: 1.5px solid var(--ok); }
  .m-identity .tci-path-l .gate.blk .gd { color: var(--bad); border-color: var(--bad); }
  .m-identity .tci-path-l .idp-h { padding: 10px 0 4px 46px; }
  .m-identity .tci-path-l .idp-h span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
  .m-identity .tci-swim-l { display: grid; gap: 14px; }
  .m-identity .tci-swim-l h4 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
  .m-identity .tci-swim-l h4 i { width: 10px; height: 10px; border-radius: 50%; }
  .m-identity .tci-swim-l h4 span { margin-left: auto; font-size: 13px; color: var(--ink-3); font-weight: 500; }
  .m-identity .tci-swim-l ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .m-identity .tci-swim-l li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
  .m-identity .tci-swim-l li b { font-size: 13px; font-variant-numeric: tabular-nums; }
  .m-identity .tci-swim-l li span { font-size: 13px; color: var(--ink-2); }
  .m-identity .tci-swim-l li small { font-size: 12px; color: var(--ink-3); }
}
@media (max-width: 900px) {
  .m-identity .tci-path { display: none; }
  .m-identity .tci-path-l { display: grid; gap: 0; list-style: none; margin: 0; padding: 4px 0; position: relative; }
  .m-identity .tci-path-l::before { content: ""; position: absolute; left: 15px; top: 22px; bottom: 22px; width: 2px; background: #E8EDFF; }
  .m-identity .tci-path-l li { display: flex; gap: 14px; align-items: center; padding: 8px 0; position: relative; }
  .m-identity .tci-path-l li div { display: grid; gap: 2px; }
  .m-identity .tci-path-l li b { font-size: 14px; font-weight: 600; }
  .m-identity .tci-path-l li span { font-size: 13px; color: var(--ink-3); }
  .m-identity .tci-path-l li span.dt { color: var(--bad); font-weight: 500; }
  .m-identity .tci-path-l .nd { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--tc); background: var(--panel); flex: none; }
  .m-identity .tci-path-l .end .nd { background: var(--tc); }
  .m-identity .tci-path-l .gd { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--panel); border: 1.5px solid var(--ok); }
  .m-identity .tci-path-l .gate.blk .gd { color: var(--bad); border-color: var(--bad); }
  .m-identity .tci-path-l .idp-h { padding: 10px 0 4px 46px; }
  .m-identity .tci-path-l .idp-h span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
}
.m-identity .tci-acct, #drawer .tci-acct { border: 0; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
#drawer .tci-acct legend { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; width: 100%; }
#drawer .tci-acct label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 32px; cursor: pointer; }
.m-identity .tci-rl-m i { max-width: 20px; }
.m-identity .tci-rl-nums i { background: none !important; height: auto; font-style: normal; font-size: 11px; text-align: center; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.m-identity .tci-rl-nums em { visibility: hidden; }
.m-identity .tci-rl-key { flex-basis: 100%; list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; counter-reset: k; }
.m-identity .tci-rl-key li { counter-increment: k; font-size: 12px; color: var(--ink-2); display: block; padding: 0; border: 0; }
.m-identity .tci-rl-key li::before { content: counter(k); display: inline-block; min-width: 18px; margin-right: 4px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .tvz:not(.tvz-on) g.tvz-sq { opacity: 0; transform: translateY(6px); }
}
.m-identity .tci-u small { display: block; }
.m-identity .tci-rc { display: grid; gap: 2px; }
.m-identity .tci-rc small { font-size: 12px; color: var(--ink-3); }
.m-identity #tci-p-users td:nth-child(5) { white-space: nowrap; }
.m-identity #tci-p-users .tci-u small { overflow-wrap: anywhere; }
.m-identity #tci-p-users .tci-src { white-space: normal; }
.m-identity #tci-p-users td:first-child { min-width: 200px; }
