/* tools/identity.html — "Every company once, in every system". Every selector is scoped to .t-identity.
   Three marks: a record (pale chip, the system's name in small mono caps), a thread (solid = joined,
   dashed amber = held for a person, always with words), and the ID (a solid ink pill). */

.app-ico--identity { --bg: #e2e4e7; --fg: #2e3135; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app-ico--identity { --bg: #2a2d31; --fg: #e4e6e8; } }
:root[data-theme="dark"] .app-ico--identity { --bg: #2a2d31; --fg: #e4e6e8; }

.t-identity { --oi-held: var(--warn); --oi-held-soft: var(--warn-soft); --oi-ease: cubic-bezier(0.3, 0, 0.1, 1); }
.t-identity .app-ico--sm { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.t-identity .app-ico--sm svg { width: 16px; height: 16px; }
.t-identity code, .t-identity pre { font: 500 0.92em/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.t-identity .oi-hero { padding: var(--space-16) 0 var(--space-24); }
.t-identity .oi-hero__top { margin-top: var(--space-4); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-12); align-items: end; }
.t-identity .oi-hero__side { display: grid; gap: var(--space-8); padding-bottom: 10px; }

.t-identity .oi-stage { position: relative; margin-top: var(--space-16); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(64px, 0.32fr) minmax(0, 0.9fr); align-items: center; }
.t-identity .oi-search { position: relative; z-index: 1; display: grid; gap: var(--space-4); }
.t-identity .oi-threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.t-identity .oi-threads path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.t-identity .oi-threads path.is-held { stroke: var(--oi-held); stroke-dasharray: 5 6; }
.t-identity .oi-threads path.is-draw { transition: stroke-dashoffset .42s var(--oi-ease); }
.t-identity .oi-threads circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.t-identity .oi-threads circle.is-held { stroke: var(--oi-held); }

.t-identity .oi-box { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-window); color: var(--ink); min-width: 0; }
.t-identity .oi-box > svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.t-identity .oi-box__q { font: 400 18px/1 var(--font-sans); letter-spacing: -0.01em; }
.t-identity .oi-box__caret { width: 2px; height: 22px; margin-left: -10px; background: var(--ink); flex: none; animation: oi-blink 1.1s steps(1) infinite; }
.t-identity .oi-box__n { margin-left: auto; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@keyframes oi-blink { 50% { opacity: 0; } }

.t-identity .oi-recs { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-window); }
.t-identity .oi-rec { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid transparent; }
.t-identity .oi-rec__sys { font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.t-identity .oi-rec__main { display: grid; gap: 2px; min-width: 0; }
.t-identity .oi-rec__main b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-identity .oi-rec__main small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-identity .oi-rec__how { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--ink-2); }
.t-identity .oi-rec__how i { width: 18px; height: 0; border-top: 1.5px solid var(--ink); flex: none; }
.t-identity .oi-rec--held { border-color: var(--oi-held-soft); }
.t-identity .oi-rec--held .oi-rec__how { color: var(--oi-held); }
.t-identity .oi-rec--held .oi-rec__how i { border-top: 1.5px dashed var(--oi-held); }
.t-identity .oi-rec__same { all: unset; box-sizing: border-box; cursor: pointer; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--oi-held); color: var(--oi-held); font-size: 12px; font-weight: 600; line-height: 1.2; transition: background-color .15s ease, color .15s ease; }
.t-identity .oi-rec__same:hover { background: var(--oi-held); color: var(--surface); }
.t-identity .oi-rec__same:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.t-identity .oi-rec__same[hidden] { display: none; }
.t-identity .oi-rec.is-settled { border-color: transparent; }
.t-identity .oi-rec.is-settled .oi-rec__how { color: var(--ok); }
.t-identity .oi-rec.is-settled .oi-rec__how i { border-top-style: solid; border-top-color: var(--ink); }
.t-identity .oi-search__note { font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 48ch; }

/* the identity card */
.t-identity .oi-card { grid-column: 3; position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.t-identity .oi-card::before, .t-identity .oi-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.t-identity .oi-card__head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; justify-items: start; }
.t-identity .oi-card__k { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-identity .oi-card h3 { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.t-identity .oi-type { font: 500 13px/1 var(--font-mono); letter-spacing: .04em; padding: 4px 7px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-2); }
.t-identity .oi-card__sub { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.t-identity .oi-card__sub span + span::before { content: "·"; margin-right: 10px; }
.t-identity .oi-pill { margin-top: 6px; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: 500 13px/1 var(--font-mono); letter-spacing: .01em; }
.t-identity .oi-card__vals { margin: 0; padding: 6px 24px; display: grid; }
.t-identity .oi-card__row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.t-identity .oi-card__row:last-child { border-bottom: 0; }
.t-identity .oi-card__row dt { color: var(--muted); font-size: 13px; }
.t-identity .oi-card__row dd { margin: 0; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.t-identity .oi-card__row dd small { color: var(--muted); font-size: 12.5px; }
.t-identity .oi-src { margin-left: auto; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.t-identity .oi-card__row.is-held dd { color: var(--oi-held); }
.t-identity .oi-card__row.is-held dd > code, .t-identity .oi-card__row.is-held dd > span:not(.oi-src) { text-decoration: underline dashed var(--oi-held); text-underline-offset: 4px; }
.t-identity .oi-card__row.is-held .oi-src { color: var(--oi-held); }
.t-identity .oi-src__held { display: none; }
.t-identity .oi-card__row.is-held .oi-src__held { display: inline; }
.t-identity .oi-card__foot { padding: 16px 24px 20px; background: var(--surface-sunk); display: grid; gap: 10px; }
.t-identity .oi-exists { display: flex; flex-wrap: wrap; gap: 6px; }
.t-identity .oi-exists span { padding: 4px 9px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.t-identity .oi-exists span.is-held { border-style: dashed; border-color: var(--oi-held); color: var(--oi-held); background: transparent; }
.t-identity .oi-card__wait { font-size: 12.5px; color: var(--oi-held); }
.t-identity .oi-card__wait.is-done { color: var(--ok); }

.t-identity .oi-legend { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.t-identity .oi-legend span { display: inline-flex; align-items: center; gap: 8px; }
.t-identity .oi-l { display: inline-block; width: 22px; height: 0; border-top: 1.5px solid var(--ink); }
.t-identity .oi-l--held { border-top: 1.5px dashed var(--oi-held); }
.t-identity .oi-l--id { width: 22px; height: 10px; border: 0; border-radius: var(--radius-pill); background: var(--ink); }

/* motion: start states only when JS says motion is fine */
.t-identity .oi-stage.is-pre .oi-rec { opacity: 0; transform: translateY(4px); }
.t-identity .oi-stage.is-pre .oi-card { opacity: 0; transform: translateY(6px); }
.t-identity .oi-stage .oi-rec, .t-identity .oi-stage .oi-card { transition: opacity .24s var(--oi-ease), transform .24s var(--oi-ease); }

/* ---------- Four answers ---------- */
.t-identity .oi-anss { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.t-identity .oi-ans { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.t-identity .oi-ans__n { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.t-identity .oi-ans__k { font: 500 11px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.t-identity .oi-ans .title { margin: 0; }
.t-identity .oi-ans > p:not(.oi-ans__k) { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.t-identity .oi-ans__ex { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--line); }
.t-identity .oi-ans__ex .oi-rec__sys { grid-column: 1 / -1; }
.t-identity .oi-ans__ex b { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.t-identity .oi-ans__ex em { font-style: normal; font: 500 11px/1 var(--font-mono); padding: 4px 7px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); white-space: nowrap; }
.t-identity .oi-ans--same .oi-ans__ex em { background: var(--surface-sunk); color: var(--ink-2); }
.t-identity .oi-ans--held { border-color: var(--oi-held); border-style: dashed; }
.t-identity .oi-ans--held .oi-ans__ex em { background: transparent; color: var(--oi-held); border: 1px dashed var(--oi-held); }

.t-identity .oi-rules { margin-top: var(--space-16); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.t-identity .oi-rules__col { display: grid; align-content: start; gap: var(--space-4); padding: var(--space-8) var(--space-8) 0 0; }
.t-identity .oi-rules__col + .oi-rules__col { padding: var(--space-8) 0 0 var(--space-8); border-left: 1px solid var(--line); }
.t-identity .oi-rules__col > p { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.t-identity .oi-rules__col .title { margin: 0; }
.t-identity .oi-nums { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.t-identity .oi-nums li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.t-identity .oi-nums span { font: 500 10.5px/1 var(--font-mono); color: var(--muted); }
.t-identity .oi-nums b { font-weight: 600; color: var(--ink); }
.t-identity .oi-nums small { color: var(--muted); font-size: 11.5px; }
.t-identity .oi-held { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t-identity .oi-held li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.t-identity .oi-held i { width: 22px; border-top: 1.5px dashed var(--oi-held); flex: none; }
.t-identity .oi-rules__note { font-size: 14px !important; color: var(--muted) !important; }
.t-identity .oi-decide { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface); border: 1px dashed var(--oi-held); }
.t-identity .oi-decide__q { font-size: 14px; color: var(--ink-2); margin-right: auto; }
.t-identity .oi-decide__b { padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; color: var(--ink); }
.t-identity .oi-decide__b.is-main { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Merge and undo ---------- */
.t-identity .oi-mg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.t-identity .oi-log { padding: 0; overflow: hidden; }
.t-identity .oi-log__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.t-identity .oi-log__bar code { text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.t-identity .oi-log ol { list-style: none; margin: 0; padding: 4px 20px 8px; }
.t-identity .oi-log__row { display: grid; grid-template-columns: 76px 74px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.t-identity .oi-log__row:last-child { border-bottom: 0; }
.t-identity .oi-log__row time { font: 500 12px/1.4 var(--font-mono); color: var(--muted); }
.t-identity .oi-log__tag { justify-self: start; font: 500 10.5px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--radius-pill); background: var(--surface-sunk); color: var(--ink-2); }
.t-identity .oi-log__row--join .oi-log__tag, .t-identity .oi-log__row--merge .oi-log__tag { background: var(--ink); color: var(--paper); }
.t-identity .oi-log__row--held .oi-log__tag { background: transparent; border: 1px dashed var(--oi-held); color: var(--oi-held); }
.t-identity .oi-log__row--undo .oi-log__tag { background: var(--ok-soft); color: var(--ok); }
.t-identity .oi-log__row p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); min-width: 0; }
.t-identity .oi-log__row p b { font-weight: 600; color: var(--ink); }
.t-identity .oi-log__row p small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.t-identity .oi-log__who { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.t-identity .oi-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.t-identity .oi-facts li { display: grid; gap: 4px; padding-left: var(--space-6); border-left: 2px solid var(--ink); }
.t-identity .oi-facts b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.t-identity .oi-facts span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Ask first, hear every change ---------- */
.t-identity .oi-conn__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: stretch; }
.t-identity .oi-code { padding: 0; overflow: hidden; display: grid; align-content: start; }
.t-identity .oi-code__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.t-identity .oi-code__bar em { font: 500 11px/1.4 var(--font-mono); font-style: normal; color: var(--muted); }
.t-identity .oi-code pre { margin: 0; padding: 16px 20px; background: var(--surface-sunk); color: var(--ink); font-size: 13px; white-space: pre-wrap; word-break: break-all; }
.t-identity .oi-code pre .k { color: var(--frost-ink); font-weight: 600; }
.t-identity .oi-code__ans { margin: 0; padding: 6px 20px 14px; }
.t-identity .oi-code__ans div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.t-identity .oi-code__ans div:last-child { border-bottom: 0; }
.t-identity .oi-code__ans dt { color: var(--muted); font-size: 13px; }
.t-identity .oi-code__ans dd { margin: 0; color: var(--ink); }
.t-identity .oi-code__ans dd b { display: block; margin-top: 4px; font-weight: 600; color: var(--ok); }
.t-identity .oi-sure { display: inline-block; padding: 3px 8px; margin-right: 4px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: 500 11px/1.2 var(--font-mono); }
.t-identity .oi-deliv { list-style: none; margin: 0; padding: 8px 20px; }
.t-identity .oi-deliv li { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.t-identity .oi-deliv li b { font-weight: 600; color: var(--ink); }
.t-identity .oi-deliv li span { color: var(--ok); }
.t-identity .oi-deliv li.is-retry span { color: var(--oi-held); }
.t-identity .oi-deliv li small { font: 500 11.5px/1 var(--font-mono); color: var(--muted); }
.t-identity .oi-code__note { padding: 0 20px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.t-identity .oi-health { margin: 14px 20px 20px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--oi-held-soft); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.t-identity .oi-health i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--oi-held); flex: none; }
.t-identity .oi-health b { color: var(--ink); font-weight: 600; }
.t-identity .oi-safe { list-style: none; margin: var(--space-12) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.t-identity .oi-safe li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.t-identity .oi-safe svg { width: 18px; height: 18px; color: var(--ink); margin-top: 1px; }
.t-identity .oi-safe b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }

/* ---------- Our own desk ---------- */
.t-identity .oi-desk__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: start; padding: var(--space-12); border-radius: var(--radius-xl); background: var(--surface-sunk); }
.t-identity .oi-desk__in .lead { margin-top: var(--space-6); }
.t-identity .oi-desk__nums { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
.t-identity .oi-desk__nums dt { font-size: 15px; color: var(--ink-2); }
.t-identity .oi-desk__nums dt b { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.t-identity .oi-desk__nums dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Who it is for ---------- */
.t-identity .oi-for__head { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); max-width: 760px; }
.t-identity .oi-for { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.t-identity .oi-for__item { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 48px 22px 22px; background: var(--paper); text-decoration: none; transition: background-color .15s ease; }
.t-identity .oi-for__item:hover { background: var(--surface); }
.t-identity .oi-for__item b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.t-identity .oi-for__item span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.t-identity .oi-for__item em { position: absolute; right: 20px; top: 22px; font-style: normal; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.t-identity .oi-for__item:hover em { transform: translateX(3px); color: var(--ink); }
[dir=rtl] .t-identity .oi-for__item:hover em { transform: translateX(-3px); }

/* ---------- Close ---------- */
.t-identity .oi-close { padding: var(--space-8) 0 var(--space-24); }
.t-identity .oi-close__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-12); align-items: end; padding-top: var(--space-16); border-top: 1px solid var(--line); }
.t-identity .oi-close__grid .lead { margin-top: var(--space-6); }
.t-identity .oi-close__side { display: grid; gap: var(--space-6); }
.t-identity .oi-close__mail { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.t-identity .oi-close__mail a { color: var(--ink); text-underline-offset: 3px; }
.t-identity .oi-other { margin-top: var(--space-16); display: grid; gap: var(--space-4); }
.t-identity .oi-other__k { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-identity .oi-other__list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.t-identity .oi-other__list a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.t-identity .oi-other__list a:hover { border-color: var(--line-strong); background: var(--surface); }
.t-identity .oi-other__list b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.t-identity .oi-other__list small { display: block; font-size: 12px; color: var(--muted); }
.t-identity .oi-other__list .oi-other__all { padding-left: 14px; font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .t-identity .oi-anss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-identity .oi-for { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-identity .oi-safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .t-identity .oi-hero { padding-top: var(--space-8); padding-bottom: var(--space-16); }
  .t-identity .oi-hero__top, .t-identity .oi-mg, .t-identity .oi-conn__grid, .t-identity .oi-desk__in, .t-identity .oi-close__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .t-identity .oi-stage { margin-top: var(--space-12); grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .t-identity .oi-threads { display: none; }
  .t-identity .oi-card { grid-column: auto; }
  .t-identity .oi-rules { grid-template-columns: minmax(0, 1fr); }
  .t-identity .oi-rules__col, .t-identity .oi-rules__col + .oi-rules__col { padding: var(--space-8) 0; border-left: 0; }
  .t-identity .oi-rules__col + .oi-rules__col { border-top: 1px solid var(--line); }
  .t-identity .oi-desk__in { padding: var(--space-8); }
}
@media (max-width: 640px) {
  .t-identity .oi-anss, .t-identity .oi-for, .t-identity .oi-safe { grid-template-columns: minmax(0, 1fr); }
  .t-identity .oi-rec { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .t-identity .oi-rec__how { grid-column: 1; }
  .t-identity .oi-card__head, .t-identity .oi-card__vals, .t-identity .oi-card__foot { padding-left: 16px; padding-right: 16px; }
  .t-identity .oi-card__row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .t-identity .oi-src { margin-left: 0; width: 100%; }
  .t-identity .oi-log ol { padding: 4px 16px 8px; }
  .t-identity .oi-log__row { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 10px; }
  .t-identity .oi-log__tag { grid-column: 2; grid-row: 1; }
  .t-identity .oi-log__row p { grid-column: 2; }
  .t-identity .oi-log__who { grid-column: 2; }
  .t-identity .oi-deliv li { grid-template-columns: 80px minmax(0, 1fr); }
  .t-identity .oi-deliv li small { grid-column: 2; }
  .t-identity .oi-code__ans div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .t-identity .oi-desk__in { padding: var(--space-6); }
  .t-identity .oi-desk__nums dt b { font-size: 34px; }
  .t-identity .oi-for__item { padding: 18px 44px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-identity .oi-box__caret { animation: none; }
  .t-identity .oi-stage .oi-rec, .t-identity .oi-stage .oi-card, .t-identity .oi-threads path { transition: none !important; }
}
