/* t792 duplicate-AN dialog. Class-only styling (site CSP forbids inline styles). */
.ir-box{max-width:720px;width:100%;max-height:92vh;overflow:auto}
.ir-title{margin:0 0 8px}
.ir-sub{margin:14px 0 6px;font-size:15px}
.ir-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ir-table{width:100%;border-collapse:collapse;font-size:14px}
.ir-table th,.ir-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--md-border,#e7e5e4);vertical-align:top}
.ir-table th{color:var(--md-muted,#57534e);font-weight:600}
.ir-name{word-break:break-all;overflow-wrap:anywhere}
.ir-exists td:nth-child(2){color:var(--md-muted,#57534e)}
.ir-fresh td:nth-child(2){color:var(--md-ok-fg,#166534);font-weight:600}
.ir-conflict td:nth-child(2){color:var(--md-danger-fg,#b45309);font-weight:600}
.ir-choice{max-width:100%;min-height:36px}
.ir-warn{background:var(--md-warn-bg,#fef3c7);color:var(--md-warn-fg,#78350f);padding:8px 10px;border-radius:8px;margin:8px 0}
.ir-blocked{border-left:3px solid var(--md-danger-fg,#b45309);padding-left:10px;margin:8px 0}
.ir-blocked ul,.ir-list{margin:4px 0 4px 18px;padding:0}
.ir-hint{margin:8px 0 0}
.ir-check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;cursor:pointer}
.ir-check input{margin-top:4px;width:20px;height:20px;flex:none}
.ir-actions .btn{min-height:44px}
.ir-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ir-archive{margin:10px 0;padding:10px 12px;border-radius:10px;border:1px solid var(--md-border,#e7e5e4);background:var(--md-surface,#fff)}
.ir-archive-msg{margin:0 0 6px}
.ir-box button:focus-visible,.ir-box select:focus-visible,.ir-box input:focus-visible{outline:3px solid var(--md-focus,#2563eb);outline-offset:2px}
@media(max-width:480px){.ir-box{padding:14px}.ir-actions{flex-direction:column-reverse}.ir-actions .btn{width:100%}.ir-table{font-size:13px}}
/* t801 mobile fix: the dialog sits above the sticky STAGING banner (z 99999) and its tables are never squeezed into tiny inner scroll boxes */
.modal.ir-overlay{z-index:100000}
.ir-box>*{flex-shrink:0}
.ir-scroll{overflow-y:visible}
@media(max-width:480px){
  .modal.ir-overlay{padding:0}
  .ir-box{max-height:100vh;max-height:100dvh;padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .ir-table thead{display:none}
  .ir-table,.ir-table tbody,.ir-table tr,.ir-table td{display:block;width:100%}
  .ir-table tr{border-bottom:1px solid var(--md-border,#e7e5e4);padding:6px 0}
  .ir-table td{border-bottom:0;padding:3px 4px}
  .ir-scroll{overflow-x:visible}
}
/* t804: big-PDF split hint/link on the upload queue */
.item-split{font-size:13px;margin-top:6px;color:var(--md-muted,#57534e);overflow-wrap:anywhere}
.item-split .btn{margin-left:4px}
