.irv1-shell{display:flex;flex-direction:column;gap:16px;min-width:0;color:var(--text)}
#modal:has(.irv1-shell){box-sizing:border-box;width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);inset:12px auto auto 50%!important;transform:translateX(-50%)!important}
#modal:has(.irv1-shell) .modal-b,#modal:has(.irv1-shell) .tabc{min-width:0;overflow:auto}
.irv1-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid rgba(96,165,250,.24);border-radius:14px;background:linear-gradient(135deg,rgba(30,41,59,.92),rgba(15,23,42,.9))}
.irv1-intro h3,.irv1-title{margin:0;color:#fff;font-size:18px;line-height:1.3}.irv1-intro p{margin:5px 0 0;color:var(--sub);max-width:780px}
.irv1-contract{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid rgba(34,197,94,.35);border-radius:999px;color:#bbf7d0;background:rgba(22,163,74,.1);font-size:11px;white-space:nowrap}
.irv1-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.irv1-tile{position:relative;display:flex;min-height:230px;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:16px;background:rgba(11,18,33,.86);box-shadow:0 10px 28px rgba(0,0,0,.2);transition:border-color .18s,transform .18s,background .18s;cursor:pointer}
.irv1-tile:hover,.irv1-tile:focus-within,.irv1-tile.is-dragging{border-color:#60a5fa;background:rgba(30,41,59,.95);transform:translateY(-1px)}
.irv1-tile-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:rgba(79,70,229,.2);color:#c7d2fe;font-size:20px;font-weight:800}.irv1-tile h4{margin:0;font-size:15px}.irv1-tile p{margin:0;color:var(--sub);font-size:12px;line-height:1.45}
.irv1-drop{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:13px;border:1px dashed rgba(148,163,184,.55);border-radius:12px;text-align:center}.irv1-drop strong{color:#fff}.irv1-drop span{color:#94a3b8;font-size:11px}
.irv1-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.irv1-client-select{width:100%;min-height:38px}
.irv1-history{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:rgba(11,18,33,.72)}.irv1-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line)}
.irv1-history-list{display:grid}.irv1-history-row{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(130px,.8fr) minmax(150px,.9fr) auto;gap:12px;align-items:center;padding:12px 15px;border-top:1px solid rgba(51,65,85,.65)}.irv1-history-row:first-child{border-top:0}.irv1-history-row small{display:block;color:#94a3b8}.irv1-status{display:inline-flex;width:max-content;padding:3px 8px;border-radius:999px;background:rgba(245,158,11,.12);color:#fde68a;font-size:11px}.irv1-status.is-success{background:rgba(34,197,94,.16);color:#86efac;border:1px solid rgba(34,197,94,.4)}
.irv1-btn{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:9px;background:#0f172a;color:#f8fafc;cursor:pointer;font:inherit}.irv1-btn:hover:not(:disabled){border-color:#60a5fa;background:#172554}.irv1-btn:disabled{opacity:.45;cursor:not-allowed}.irv1-btn.primary{border-color:#4f46e5;background:#4f46e5}.irv1-btn.danger{border-color:rgba(239,68,68,.55);color:#fecaca;background:rgba(127,29,29,.18)}
.irv1-coverage-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.irv1-choice{display:grid;grid-template-columns:20px 1fr;gap:9px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#0b1221;cursor:pointer}.irv1-choice:has(input:checked){border-color:#60a5fa;background:rgba(37,99,235,.13)}.irv1-choice strong{display:block}.irv1-choice span{display:block;margin-top:3px;color:#94a3b8;font-size:11px}
.irv1-scope-summary{display:flex;flex-wrap:wrap;gap:8px}.irv1-chip{padding:4px 8px;border:1px solid var(--line);border-radius:999px;background:#111827;color:#cbd5e1;font-size:11px}.irv1-scope-chip{display:inline-flex;align-items:center;gap:5px}.irv1-scope-chip.is-matched{border-color:rgba(34,197,94,.62);background:rgba(22,101,52,.34);color:#dcfce7}.irv1-scope-chip.is-unmatched{border-color:rgba(248,113,113,.72);background:rgba(127,29,29,.4);color:#fee2e2}
.irv1-candidate-picker{border:1px solid var(--line);border-radius:12px;overflow:hidden}.irv1-candidate-row{display:grid;grid-template-columns:22px minmax(180px,1fr) minmax(140px,.7fr);gap:10px;align-items:center;padding:9px 12px;border-top:1px solid rgba(51,65,85,.55)}.irv1-candidate-row:first-child{border-top:0}.irv1-candidate-row small{color:#cbd5e1}.irv1-candidate-row.is-matched{background:rgba(22,101,52,.24)}.irv1-candidate-row.is-unmatched{background:rgba(127,29,29,.3)}.irv1-candidate-row.is-matched small{color:#bbf7d0}.irv1-candidate-row.is-unmatched small{color:#fecaca}.irv1-candidate-marker{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:999px;background:rgba(15,23,42,.64);font-weight:800}.irv1-candidate-row.is-matched .irv1-candidate-marker{color:#86efac}.irv1-candidate-row.is-unmatched .irv1-candidate-marker{color:#fca5a5}
.irv1-review-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.irv1-review-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.irv1-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.irv1-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.irv1-card-filter{padding:12px;border:1px solid var(--line);border-radius:12px;background:#0b1221;color:var(--text);text-align:left;cursor:pointer}.irv1-card-filter.is-active{border-color:#60a5fa;background:rgba(37,99,235,.13)}.irv1-card-filter strong,.irv1-card-filter span,.irv1-card-filter small{display:block}.irv1-card-filter strong{font-size:20px}.irv1-card-filter span{color:#cbd5e1;font-size:11px}.irv1-card-filter small{margin-top:3px;color:#94a3b8;font-size:11px;line-height:1.35}
.irv1-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#0b1221}.irv1-toolbar-group{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.irv1-toolbar label{display:flex;align-items:center;gap:7px;color:#cbd5e1;font-size:11px}.irv1-toolbar select{min-height:34px}
.irv1-sort{border:0;background:transparent;color:#cbd5e1;padding:5px 7px;border-radius:7px;cursor:pointer;font:inherit;font-size:11px}.irv1-sort:hover,.irv1-sort.is-active{background:rgba(79,70,229,.18);color:#fff}
.irv1-groups{display:flex;flex-direction:column;gap:10px}.irv1-group{border:1px solid var(--line);border-radius:12px;background:rgba(11,18,33,.8);overflow:hidden}.irv1-group>summary{display:flex;align-items:center;gap:8px;padding:11px 13px;cursor:pointer;font-weight:700;list-style:none}.irv1-group>summary::-webkit-details-marker{display:none}.irv1-group>summary:before{content:'+';display:grid;width:18px;height:18px;place-items:center;border:1px solid var(--line);border-radius:5px;color:#93c5fd}.irv1-group[open]>summary:before{content:'−'}.irv1-group .irv1-group{margin:0 10px 10px;background:#0f172a}.irv1-group .irv1-group .irv1-group{background:#111827}
.irv1-branch-toggle{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:1px solid #60a5fa;border-radius:9px;background:rgba(37,99,235,.18);color:#dbeafe;font-size:25px;font-weight:500;line-height:1;cursor:pointer}.irv1-branch-toggle:hover{background:rgba(37,99,235,.34)}.irv1-group-label{min-width:0}.irv1-branch-badges{display:flex;flex:1;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin-left:auto}.irv1-branch-badge{display:inline-flex;padding:3px 7px;border:1px solid rgba(245,158,11,.5);border-radius:999px;background:rgba(120,53,15,.22);color:#fde68a;font-size:10px;font-weight:700;white-space:nowrap}.irv1-branch-badge.is-ready{border-color:rgba(34,197,94,.65);background:rgba(20,83,45,.35);color:#bbf7d0}.irv1-branch-badge.is-completed{border-color:rgba(148,163,184,.48);background:rgba(51,65,85,.42);color:#cbd5e1}.irv1-branch-badge.is-deferred{border-color:rgba(148,163,184,.38);background:rgba(30,41,59,.45);color:#94a3b8}
.irv1-shifts{width:100%;border-collapse:collapse}.irv1-shifts th,.irv1-shifts td{padding:8px 9px;border-top:1px solid rgba(51,65,85,.62);text-align:left;vertical-align:top;font-size:11px}.irv1-shifts th{color:#94a3b8;font-weight:600}.irv1-shifts td strong{display:block;color:#f8fafc}.irv1-reason{display:block;color:#fbbf24;margin-top:3px}.irv1-advisory{display:block;color:#cbd5e1;margin-top:3px}.irv1-email-group{padding:12px;border:1px solid rgba(96,165,250,.35);border-radius:12px;background:rgba(30,41,59,.72);margin-bottom:10px}.irv1-email-group h4{margin:0 0 8px}.irv1-email-contract{margin:10px 0 0;padding:9px;border-left:3px solid #6366f1;background:rgba(15,23,42,.8)}
.irv1-evidence-list{display:grid;gap:2px;margin:0;min-width:150px}.irv1-evidence-list div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px}.irv1-evidence-list dt{color:#94a3b8}.irv1-evidence-list dd{margin:0;color:#e2e8f0;overflow-wrap:anywhere}.irv1-evidence-rows{display:grid;gap:8px}.irv1-evidence-rows section{display:grid;gap:4px;padding-bottom:8px;border-bottom:1px solid rgba(51,65,85,.65)}.irv1-evidence-rows section:last-child{padding-bottom:0;border-bottom:0}.irv1-evidence-row-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#93c5fd}.irv1-differences{margin:0;padding-left:16px;color:#fbbf24}.irv1-confirm-section{display:grid;gap:9px;padding:14px;border:1px solid var(--line);border-radius:12px;background:rgba(11,18,33,.72)}.irv1-confirm-section h4{margin:0}.irv1-confirm-item{display:grid;gap:8px;padding:11px;border:1px solid rgba(51,65,85,.7);border-radius:10px;background:#0f172a}.irv1-confirm-item>div:first-child{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.irv1-confirm-item>div:first-child span{color:#94a3b8}.irv1-confirm-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.irv1-confirm-evidence>div{padding:8px;border-radius:8px;background:rgba(2,6,23,.55)}.irv1-confirm-evidence b{display:block;margin-bottom:5px;color:#93c5fd}.irv1-confirm-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:9px;border:1px solid rgba(51,65,85,.7);border-radius:9px}.irv1-confirm-line span{color:#cbd5e1}
.irv1-confirm-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.irv1-confirm-section>summary::-webkit-details-marker{display:none}.irv1-confirm-section>summary:before{content:'+';display:grid;flex:0 0 24px;width:24px;height:24px;place-items:center;border:1px solid #60a5fa;border-radius:7px;color:#bfdbfe}.irv1-confirm-section[open]>summary:before{content:'−'}.irv1-confirm-section>summary span{flex:1;font-size:14px;font-weight:800}.irv1-confirm-section>summary strong{display:inline-flex;min-width:30px;justify-content:center;padding:3px 8px;border-radius:999px;background:rgba(79,70,229,.24);color:#c7d2fe}.irv1-confirm-section-body{display:grid;gap:10px;padding-top:4px}.irv1-confirm-summary{display:flex;flex-wrap:wrap;gap:8px}.irv1-confirm-summary span{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#0f172a;color:#cbd5e1;font-size:11px}.irv1-confirm-summary strong{color:#fff;font-size:13px}.irv1-confirm-client{display:grid;gap:8px;padding:10px;border:1px solid rgba(96,165,250,.3);border-radius:10px;background:rgba(15,23,42,.72)}.irv1-confirm-client h5{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;color:#dbeafe;font-size:13px}.irv1-confirm-client h5 small{color:#94a3b8;font-weight:500}.irv1-confirm-candidate{border:1px solid rgba(51,65,85,.75);border-radius:9px;background:#0b1221;overflow:hidden}.irv1-confirm-candidate>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none}.irv1-confirm-candidate>summary::-webkit-details-marker{display:none}.irv1-confirm-candidate>summary:before{content:'+';display:grid;width:20px;height:20px;place-items:center;border:1px solid var(--line);border-radius:5px;color:#93c5fd}.irv1-confirm-candidate[open]>summary:before{content:'−'}.irv1-confirm-candidate>summary span{font-weight:750}.irv1-confirm-candidate>summary small{margin-left:auto;color:#94a3b8}.irv1-confirm-table-wrap{max-width:100%;overflow-x:auto;border-top:1px solid rgba(51,65,85,.7)}.irv1-confirm-table{width:100%;border-collapse:collapse;min-width:760px}.irv1-confirm-table.is-comparison{min-width:980px}.irv1-confirm-table th,.irv1-confirm-table td{padding:9px 10px;border-bottom:1px solid rgba(51,65,85,.55);text-align:left;vertical-align:top;font-size:11px}.irv1-confirm-table th{color:#94a3b8;background:rgba(2,6,23,.42);font-weight:650}.irv1-confirm-table tr:last-child td{border-bottom:0}.irv1-confirm-table .nowrap{white-space:nowrap}.irv1-confirm-action{display:inline-flex;padding:4px 7px;border:1px solid rgba(148,163,184,.35);border-radius:999px;color:#cbd5e1;white-space:normal}.irv1-confirm-action.is-ready{border-color:rgba(34,197,94,.55);background:rgba(20,83,45,.24);color:#bbf7d0}.irv1-confirm-compact{display:grid;grid-template-columns:repeat(2,minmax(90px,1fr));gap:4px 8px;min-width:230px}.irv1-confirm-compact span{display:grid;gap:1px;color:#e2e8f0}.irv1-confirm-compact b{color:#94a3b8;font-size:9px;text-transform:uppercase;letter-spacing:.03em}.irv1-confirm-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px}.irv1-confirm-pager label,.irv1-confirm-pager>div{display:flex;align-items:center;gap:8px;color:#94a3b8;font-size:11px}.irv1-confirm-pager select{min-width:74px}.irv1-confirm-pager span{min-width:90px;text-align:center;color:#cbd5e1}
.irv1-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px}.irv1-pager span{color:#94a3b8;font-size:11px;min-width:100px;text-align:center}.irv1-save-state{color:#94a3b8;font-size:11px}.irv1-save-state.is-error{color:#fca5a5}.irv1-save-state.is-ok{color:#86efac}
.irv1-empty{padding:28px;border:1px dashed var(--line);border-radius:12px;color:#94a3b8;text-align:center}.irv1-alert{padding:11px 12px;border:1px solid rgba(245,158,11,.45);border-radius:10px;background:rgba(120,53,15,.14);color:#fde68a}.irv1-alert.error{border-color:rgba(239,68,68,.5);background:rgba(127,29,29,.15);color:#fecaca}.irv1-alert.ok{border-color:rgba(34,197,94,.45);background:rgba(20,83,45,.16);color:#bbf7d0}
.irv1-settings-card{margin-top:14px;padding:14px;border:1px solid rgba(96,165,250,.3);border-radius:12px;background:rgba(15,23,42,.72)}.irv1-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}.irv1-settings-card label{display:flex;flex-direction:column;gap:5px;color:#cbd5e1}.irv1-settings-card .mini{color:#94a3b8}
.irv1-overlap{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(245,158,11,.4);border-radius:12px;background:rgba(120,53,15,.08)}.irv1-overlap-list{display:grid;gap:8px}.irv1-overlap-actions{display:flex;flex-wrap:wrap;gap:8px}.irv1-overlap-actions [aria-pressed="true"]{border-color:#60a5fa;background:#1e3a8a}.irv1-resolution{display:flex;min-width:250px;flex-direction:column;gap:6px}.irv1-evidence{margin-top:8px;color:#94a3b8}.irv1-history-pager{padding:12px;border-top:1px solid var(--line)}
@media(max-width:980px){.irv1-tiles,.irv1-coverage-options{grid-template-columns:1fr}.irv1-cards{grid-template-columns:repeat(2,1fr)}.irv1-history-row{grid-template-columns:1fr auto}.irv1-history-row>:nth-child(2),.irv1-history-row>:nth-child(3){display:none}.irv1-confirm-evidence{grid-template-columns:1fr}}
@media(max-width:640px){#modal:has(.irv1-shell){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);inset:8px auto auto 50%!important}.irv1-review-head{grid-template-columns:1fr}.irv1-review-actions{justify-content:flex-start}.irv1-cards{grid-template-columns:1fr 1fr}.irv1-settings-grid{grid-template-columns:1fr}.irv1-candidate-row{grid-template-columns:22px minmax(0,1fr)}.irv1-candidate-row small{grid-column:2}.irv1-shifts{display:block;overflow-x:auto}.irv1-intro{flex-direction:column}.irv1-confirm-pager{align-items:stretch;flex-direction:column}.irv1-confirm-pager>div{justify-content:space-between}.irv1-confirm-compact{grid-template-columns:1fr 1fr}}
