@layer pages {
.identity-workspace{min-width:0;max-width:100%;font-size:12px;line-height:1.8}
.identity-workspace *{box-sizing:border-box}
.identity-workspace .btn{border-radius:4px;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;min-height:36px}
.identity-workspace .identity-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.identity-workspace .identity-status-line{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.identity-workspace .identity-badge{display:inline-block;padding:3px 7px;border:1px solid var(--line);border-radius:4px;background:var(--bg);font-size:10px;max-width:100%;overflow-wrap:anywhere}
.identity-workspace .identity-danger{border-color:var(--danger,#b7443b);color:var(--danger,#b7443b)}
.identity-workspace .identity-warning{color:var(--ink);border-color:var(--line)}
.identity-workspace .identity-success{color:var(--accent);border-color:var(--accent)}
.identity-workspace .identity-layout{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:20px;min-width:0;align-items:start}
.identity-workspace .identity-case-list{padding:14px;border:1px solid var(--line);border-radius:4px;background:var(--surface);min-width:0;max-width:100%}
.identity-workspace .identity-search{display:flex;flex-direction:column;gap:7px;font-size:10px}
.identity-workspace .identity-case-list ul,.identity-workspace .identity-source-list,.identity-workspace .identity-relations,.identity-workspace .identity-issues,.identity-workspace .identity-flags,.identity-workspace .identity-findings{list-style:none;margin:12px 0 0;padding:0;min-width:0}
.identity-workspace .identity-case-list li{border-top:1px solid var(--line);padding:10px 0;min-width:0}
.identity-workspace .identity-case-list li>.btn{width:100%;justify-content:flex-start}
.identity-workspace small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}
.identity-workspace .is-selected{background:var(--bg);color:var(--accent);border-color:var(--accent)}
.identity-workspace .identity-content,.identity-workspace .identity-panel,.identity-workspace .identity-panel-body{min-width:0;max-width:100%}
.identity-workspace .identity-case-heading{display:flex;gap:12px;align-items:start;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;min-width:0}
.identity-workspace .identity-case-heading>div{min-width:0;flex:1}
.identity-workspace .identity-case-heading h2{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.identity-workspace .identity-case-heading p{font-size:10px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.identity-workspace .identity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.identity-workspace .identity-summary>div{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid var(--line);border-radius:4px;background:var(--surface);min-width:0}
.identity-workspace .identity-summary strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.identity-workspace .identity-summary span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.identity-workspace .identity-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:18px;min-width:0}
.identity-workspace .identity-panel{margin-bottom:18px}
.identity-workspace .identity-panel .panel-heading{flex-wrap:wrap;gap:10px;min-width:0}
.identity-workspace .identity-panel .panel-heading h2{overflow-wrap:anywhere}
.identity-workspace .identity-panel-body{padding:0 18px 18px}
.identity-workspace .identity-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;min-width:0}
.identity-workspace .identity-two-columns .identity-panel{margin-bottom:0}
.identity-workspace .identity-facts{margin:0 0 14px}
.identity-workspace .identity-facts>div,.identity-workspace .identity-criteria>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:10px;border-bottom:1px solid var(--line);padding:7px 0;min-width:0}
.identity-workspace dt{color:var(--muted);font-size:10px;overflow-wrap:anywhere}
.identity-workspace dd{margin:0;overflow-wrap:anywhere}
.identity-workspace .identity-readings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;min-width:0}
.identity-workspace .identity-readings section{padding:12px;border:1px solid var(--line);border-radius:4px;min-width:0;background:var(--bg)}
.identity-workspace .identity-readings h3{font-size:11px;margin-bottom:7px}
.identity-workspace .identity-readings p,.identity-workspace .identity-reading{white-space:pre-wrap;overflow-wrap:anywhere}
.identity-workspace .identity-note{font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.identity-workspace .identity-source-list li{padding:10px 0;border-top:1px solid var(--line);min-width:0}
.identity-workspace .identity-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;min-width:0}
.identity-workspace .identity-card{padding:14px;border:1px solid var(--line);border-radius:4px;min-width:0;background:var(--surface);overflow-wrap:anywhere}
.identity-workspace .identity-card-heading{display:flex;align-items:start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.identity-workspace .identity-card h3{font-size:13px;min-width:0}
.identity-workspace .identity-score{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap;margin:14px 0}
.identity-workspace .identity-score strong{font-size:28px;font-variant-numeric:tabular-nums;line-height:1.2}
.identity-workspace .identity-score strong>span{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:7px}
.identity-workspace .identity-score p{font-size:10px;color:var(--muted)}
.identity-workspace .identity-criteria{margin:10px 0 14px}
.identity-workspace .identity-card ul{padding-left:18px;font-size:11px;line-height:1.8}
.identity-workspace .identity-card .identity-actions{margin-top:14px}
.identity-workspace .identity-relations>li,.identity-workspace .identity-issues>li{display:flex;align-items:start;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line);min-width:0}
.identity-workspace .identity-relations>li>div,.identity-workspace .identity-issues>li>div:first-child{flex:1;min-width:150px;overflow-wrap:anywhere}
.identity-workspace .identity-issues h3{font-size:12px;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.identity-workspace .identity-flags>li{padding:12px;border:1px solid var(--line);border-radius:4px;margin:8px 0;min-width:0}
.identity-workspace .identity-flags p{margin-top:8px;overflow-wrap:anywhere;color:var(--ink)}
.identity-workspace .identity-findings>li{padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.identity-workspace .identity-report{font:inherit;font-size:12px;line-height:1.95;white-space:normal;overflow-wrap:anywhere;word-break:break-word;max-width:100%;min-width:0;max-height:70vh;overflow:auto;border:1px solid var(--line);border-radius:4px;background:var(--bg);padding:16px;margin-top:15px}
.identity-workspace .identity-report h3{font-size:13px;line-height:1.8;margin:20px 0 12px;break-after:avoid}
.identity-workspace .identity-report h3:first-child{margin-top:0}
.identity-workspace .identity-report p,.identity-workspace .identity-report li{margin:7px 0}
.identity-workspace .identity-report ul{margin:10px 0;padding-left:20px}
.identity-workspace .identity-report .identity-report-subitem{margin-left:14px}
.identity-workspace .identity-report .table-wrap{margin:14px 0;max-width:100%;min-width:0;overflow:auto}
.identity-workspace .identity-report table{width:100%;min-width:0;table-layout:fixed}
.identity-workspace .identity-report th,.identity-workspace .identity-report td{font-size:10px;padding:9px 8px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;vertical-align:top;min-width:0}
.identity-workspace .identity-error{padding:14px;border:1px solid var(--danger,#b7443b);border-radius:4px;margin-bottom:16px;font-size:12px;overflow-wrap:anywhere}
.identity-workspace .identity-error p{margin-bottom:10px}
.identity-workspace .data-table td{overflow-wrap:anywhere;vertical-align:top}
.identity-workspace input,.identity-workspace select,.identity-workspace textarea{max-width:100%;min-width:0;border-radius:4px}
.identity-workspace button:focus-visible,.identity-workspace input:focus-visible,.identity-workspace select:focus-visible,.identity-workspace textarea:focus-visible,.identity-workspace pre:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.identity-picker,.identity-evidence-form{border:1px solid var(--line);border-radius:4px;padding:12px;min-width:0;max-width:100%}
.identity-picker legend,.identity-evidence-form legend{padding:0 5px;font-size:11px}
.identity-picker>div{max-height:210px;overflow:auto;display:grid;gap:8px}
.identity-picker label,.identity-check{display:flex;gap:8px;align-items:start;min-width:0;font-size:12px;line-height:1.8}
.identity-picker label span{min-width:0;overflow-wrap:anywhere}
.identity-picker input,.identity-check input{margin-top:5px;flex-shrink:0}
.identity-evidence-form .form-grid{padding:0;gap:12px}
.identity-evidence-form .field,.identity-evidence-form .field span{min-width:0;overflow-wrap:anywhere}
.identity-evidence-form textarea{width:100%;min-width:0;max-width:100%;border-radius:4px;resize:vertical}
}
@layer responsive {
@media(max-width:1250px){.identity-workspace .identity-two-columns,.identity-workspace .identity-candidate-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){.identity-workspace .identity-layout{grid-template-columns:minmax(0,1fr)}.identity-workspace .identity-case-list ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;max-height:240px;overflow:auto}.identity-workspace .identity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.identity-workspace .identity-case-list ul,.identity-workspace .identity-readings{grid-template-columns:minmax(0,1fr)}.identity-workspace .identity-panel-body{padding:0 12px 12px}.identity-workspace .identity-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}.identity-workspace .identity-summary strong{font-size:17px}.identity-workspace .identity-relations>li>div,.identity-workspace .identity-issues>li>div:first-child{min-width:0;flex-basis:100%}.identity-workspace .identity-report{padding:11px}}
}
@media print {
body.identity-printing>:not(.workspace),body.identity-printing .workspace>:not(#main-content),body.identity-printing #main-content .app-page>:not(.identity-workspace){display:none!important}
body.identity-printing .identity-workspace>*:not(.identity-layout),body.identity-printing .identity-case-list,body.identity-printing .identity-content>*:not(.identity-panel),body.identity-printing .identity-panel:not(:has(.identity-report)),body.identity-printing .identity-panel:has(.identity-report) .panel-heading,body.identity-printing .identity-panel:has(.identity-report) .identity-note{display:none!important}
body.identity-printing .workspace,body.identity-printing #main-content,body.identity-printing .app-page,body.identity-printing .identity-workspace,body.identity-printing .identity-layout,body.identity-printing .identity-content,body.identity-printing .identity-panel,body.identity-printing .identity-panel-body{display:block!important;position:static!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;width:100%!important;max-width:none!important}
body.identity-printing .identity-report{border:0;max-height:none;overflow:visible;padding:0;font-size:10pt;color:#000;background:#fff;white-space:normal}
body.identity-printing .identity-report .table-wrap{overflow:visible!important}
body.identity-printing .identity-report table{width:100%!important;min-width:0!important;table-layout:fixed}
body.identity-printing .identity-report thead{display:table-header-group}
body.identity-printing .identity-report tr{break-inside:avoid}
}
