/* Compact staff-only identity comparison. */
.identity-review{min-width:0;border:1px solid #dfb779;background:#fff9ef;color:var(--text,#302c27);border-radius:5px;padding:5px 7px;font-size:10px;line-height:1.3;margin:6px 0}
.identity-review>summary{cursor:pointer;font-size:10px;font-weight:700;min-height:18px;color:#8b4b0b}
.identity-review .ir-body{min-width:0;padding-top:5px}
.identity-review p{margin:3px 0;overflow-wrap:anywhere}
.identity-review small,.identity-review-label{font-size:9px;color:var(--muted,#80756c)}
.identity-review-label{display:block;color:#a35311}
.identity-review .ir-toolbar,.identity-review .ir-actions,.identity-review .ir-orders-head{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}
.identity-review .ir-toolbar{margin-bottom:5px;min-height:24px}
.identity-review .ir-toolbar[role=status],.identity-review [role=status]{overflow-wrap:anywhere}
.identity-review button,.identity-review .ir-source-links a{height:24px;min-height:24px;padding:3px 6px;font-size:10px;border:1px solid #dec9ad;border-radius:4px;background:var(--surface,#fff);color:inherit;cursor:pointer;box-shadow:none;max-width:100%}
.identity-review button:disabled{cursor:wait;opacity:.6}
.identity-review .ir-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.identity-review .ir-candidate{min-width:0;background:var(--surface,#fff);border:1px solid #e6d7c5;border-radius:4px;padding:6px}
.identity-review .ir-candidate-head{display:flex;gap:4px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.identity-review .ir-candidate-head>b{font-size:11px;overflow-wrap:anywhere}
.identity-review .ir-owner{font-size:9px;border-radius:3px;background:#e5f4ec;color:#21674c;padding:2px 4px}
.identity-review .ir-candidate dl{margin:4px 0;display:grid;gap:2px}
.identity-review .ir-candidate dl>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:5px;min-height:15px}
.identity-review dt{color:var(--muted,#80756c)}
.identity-review dd{margin:0;overflow-wrap:anywhere}
.identity-review .ir-code{font-size:10px;font-weight:650}
.identity-review .ir-actions{justify-content:flex-start;margin-top:4px}
.identity-review .ir-orders-head{margin:7px 0 4px}
.identity-review .ir-orders-head>span{font-size:9px;color:var(--muted,#80756c)}
.identity-review .ir-order-table-wrap{min-width:0;width:100%;overflow-x:auto;background:var(--surface,#fff)}
.identity-review table.ir-order-table{table-layout:fixed;width:100%;border-collapse:collapse;margin:0;font-size:10px;line-height:1.2}
.identity-review .ir-order-table th,.identity-review .ir-order-table td{padding:4px 5px;border-bottom:1px solid #e7dbce;text-align:left;vertical-align:top;height:29px;min-width:0;overflow-wrap:anywhere;font-size:10px}
.identity-review .ir-order-table th{height:22px;font-size:9px;color:var(--muted,#80756c);background:#f5f0e8}
.identity-review .ir-order-table th:first-child{width:13%}.identity-review .ir-order-table th:nth-child(2){width:10%}.identity-review .ir-order-table th:nth-child(3){width:23%}.identity-review .ir-order-table th:nth-child(4){width:13%}.identity-review .ir-order-table th:nth-child(5){width:12%}.identity-review .ir-order-table th:nth-child(6){width:18%}.identity-review .ir-order-table th:last-child{width:11%}
.identity-review .ir-order-table td small{display:block;margin-top:1px;font-size:9px}
.identity-review button.ir-order-link{border:0;background:none;padding:0;height:auto;min-height:16px;color:var(--accent,#c34714);text-align:left;font-weight:650}
.identity-review .ir-order-detail{position:relative;font-size:10px}
.identity-review .ir-order-detail>summary{cursor:pointer;min-height:18px;font-size:10px}
.identity-review .ir-order-detail>div{min-width:170px;max-width:230px;padding:4px 0;overflow-wrap:anywhere}
.identity-review .ir-evidence{margin-top:6px;padding-top:5px;border-top:1px solid #e1d3bf}
.identity-review .ir-evidence>summary{cursor:pointer;font-size:10px;font-weight:650}
.identity-review .ir-evidence small{display:block;margin-top:4px}
.identity-review .ir-source-links{display:flex;flex-wrap:wrap;gap:4px;margin:5px 0}
.identity-review .ir-source-links a{display:inline-flex;align-items:center;text-decoration:underline;height:auto}
.identity-review .ir-empty{padding:5px 0}
html[data-theme=dark] .identity-review{background:#30291f;border-color:#785c34;color:#f3e5d1}html[data-theme=dark] .identity-review>summary{color:#f0bd76}html[data-theme=dark] .identity-review .ir-candidate{background:#26231f;border-color:#68523b}html[data-theme=dark] .identity-review .ir-order-table th{background:#322c24}html[data-theme=dark] .identity-review .ir-order-table td,html[data-theme=dark] .identity-review .ir-order-table th{border-color:#5d4d3d}
@media(max-width:600px){
 .identity-review{padding:6px;font-size:11px}.identity-review>summary{display:list-item;min-height:32px;line-height:1.4;padding:5px 0;font-size:11px}.identity-review .ir-candidates{grid-template-columns:minmax(0,1fr)}.identity-review .ir-candidate-head>b{font-size:12px}.identity-review .ir-candidate dl>div{grid-template-columns:99px minmax(0,1fr);min-height:18px}.identity-review dd{font-size:11px}.identity-review small{font-size:10px}.identity-review button,.identity-review .ir-source-links a{min-height:40px;height:auto;font-size:11px}.identity-review .ir-toolbar>button{flex:1}.identity-review .ir-orders-head{align-items:flex-start;flex-direction:column;gap:2px}
 .identity-review .ir-order-table-wrap{overflow:visible}.identity-review table.ir-order-table,.identity-review .ir-order-table tbody{display:block;width:100%;min-width:0}.identity-review .ir-order-table thead{display:none}.identity-review .ir-order-table tr{display:grid;grid-template-columns:1fr 1fr;gap:3px 7px;border:1px solid #e7dbce;border-radius:4px;margin:4px 0;padding:5px}.identity-review .ir-order-table td{display:block;min-width:0;width:auto;height:auto;padding:1px 0;border:0;font-size:11px}.identity-review .ir-order-table td::before{content:attr(data-label);display:block;font-size:9px;color:var(--muted,#80756c);margin-bottom:1px}.identity-review .ir-order-table td:nth-child(3),.identity-review .ir-order-table td:nth-child(6),.identity-review .ir-order-table td:last-child{grid-column:1/-1}.identity-review .ir-order-table td small{font-size:10px}.identity-review button.ir-order-link{min-height:34px;font-size:11px}.identity-review .ir-order-detail>summary{min-height:36px;display:flex;align-items:center}.identity-review .ir-order-detail>div{max-width:none;min-width:0}.identity-review .ir-evidence>summary{min-height:40px;display:flex;align-items:center}.identity-review .ir-actions button{flex:1 1 100px}
}
