.identity-loading {min-height:180px;}
.identity-panel {max-width:800px;}
.identity-panel .panel-head {
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
.identity-mobile-hint {margin:0 0 18px;}
.identity-consent-notice {
  padding:12px 15px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface-subtle);
  color:var(--text);
  font-size:12px;
  line-height:1.75;
  overflow-wrap:anywhere;
}
.identity-consent-notice summary {color:var(--ink);font-weight:650;cursor:pointer;}
.identity-consent-notice p {margin:8px 0 0;}
.identity-instructions {color:var(--text);margin-bottom:14px;}
.identity-qr {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 22px;
  margin-top:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface-subtle);
}
.identity-qr[hidden],.identity-qr canvas[hidden] {display:none;}
.identity-qr canvas {width:min(320px,100%);height:auto;display:block;image-rendering:pixelated;}
.identity-qr h3 {margin:0 0 8px;}
.identity-qr p {margin:4px 0;}
.identity-qr>div {max-width:320px;}
.identity-qr>.error {flex:1 0 100%;}
.identity-more {border-top:1px solid var(--line);margin-top:18px;padding-top:9px;}
.identity-more>.btn {margin-left:-11px;}
.identity-details {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));
  gap:12px 18px;
  padding:14px 16px;
  margin:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface-subtle);
}
.identity-details dt {color:var(--muted);font-size:11px;}
.identity-details dd {margin:3px 0 0;overflow-wrap:anywhere;}
.identity-filters {display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px 24px 18px;}
.identity-filters .field:first-child {flex:1 1 220px;max-width:390px;}
.identity-filters select {min-width:135px;}
.identity-empty {padding:24px;margin:0;color:var(--muted);border-top:1px solid var(--line);}
.identity-table td {overflow-wrap:anywhere;}
.identity-panel-body .notice:last-child {margin-bottom:0;}
@media(max-width:560px) {
  .page-head .identity-refresh.btn.secondary {display:inline-flex;}
  .identity-filters {padding:12px 16px 14px;}
  .identity-table,.identity-table tbody {display:block;}
  .identity-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .identity-table tbody tr {display:block;padding:8px 15px;border-top:1px solid var(--line);}
  .identity-table tbody td,.identity-table tbody td:first-child,.identity-table tbody td:last-child {
    display:grid;
    grid-template-columns:90px minmax(0,1fr);
    gap:0 8px;
    align-items:center;
    justify-items:start;
    padding:6px 0;
    border:0;
    text-align:left;
    white-space:normal;
  }
  .identity-table tbody td::before {content:attr(data-label);color:var(--muted);}
  .identity-table tbody td small {grid-column:2;}
}
