/* File Integrity Monitor — visual parity with the existing ACR public demo.
   All rules scoped to this page. The ACR and Order Profit templates stay untouched. */
.pvd-fim-viewer{width:100%;max-width:1330px;margin:0 auto 42px}
.pvd-fim-viewer .pvd-fim-intro-actions{display:flex;flex-direction:column;align-items:flex-end;gap:11px}
.pvd-fim-viewer .pvd-fim-languages{display:flex;align-items:center;gap:10px;font-size:12px;color:#73819c}
.pvd-fim-viewer .pvd-fim-languages a{color:#5b55b9;font-weight:750;text-decoration:none}
.pvd-fim-viewer .pvd-fim-languages a[aria-current="page"]{color:#2f267f;text-decoration:underline;text-underline-offset:3px}
.pvd-fim-viewer .pvd-fim-languages a:hover{text-decoration:underline}
.pvd-fim-viewer .pvd-fim-panel[hidden]{display:none!important}
.pvd-fim-viewer .pvd-fim-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.pvd-fim-viewer .pvd-fim-highlight{background:linear-gradient(110deg,#f0edff,#f9f7ff);border-color:#dbd4ff}
.pvd-fim-viewer .pvd-fim-highlight strong{color:#5540ca;font-size:clamp(20px,2.6vw,30px)}
.pvd-fim-viewer .pvd-fim-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pvd-fim-viewer .pvd-fim-card-grid>.pv2-surface{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.pvd-fim-viewer .pvd-fim-card-grid p,.pvd-fim-viewer .pvd-fim-settings-grid p{font-size:13px;line-height:1.72;color:#5e6e89;margin:0}
.pvd-fim-viewer .pvd-fim-open-events{margin-top:auto!important;font-weight:750}
.pvd-fim-viewer .fim-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.pvd-fim-viewer .fim-controls label{display:flex;flex:1 1 225px;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#52607b}
.pvd-fim-viewer .fim-controls label:nth-child(2){flex:0 1 180px}
.pvd-fim-viewer input[type="search"],.pvd-fim-viewer select{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd4e4;border-radius:9px;background:#fff;color:#1e293b;font:inherit;font-size:14px}
.pvd-fim-viewer input[type="search"]:focus,.pvd-fim-viewer select:focus{outline:2px solid #9282fa;outline-offset:1px}
.pvd-fim-viewer .fim-controls button{min-height:44px;border-radius:9px;padding:10px 15px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.pvd-fim-viewer .pvd-fim-primary{border:1px solid #7252f5;background:#7252f5;color:white}
.pvd-fim-viewer .pvd-fim-primary:hover{background:#5e3ce9}
.pvd-fim-viewer .pvd-fim-secondary{border:1px solid #cbd4e4;background:#fff;color:#4f46a5}
.pvd-fim-viewer .pvd-fim-secondary:hover{background:#f5f3ff}
.pvd-fim-viewer button:disabled{opacity:.55;cursor:not-allowed}
.pvd-fim-viewer .pvd-fim-status{font-size:12px;color:#5d6c83;background:#f1f4fc;padding:10px 13px;border-radius:9px;margin:14px 0}
.pvd-fim-viewer progress{width:100%;height:10px;accent-color:#7252f5;margin-bottom:12px}
.pvd-fim-viewer progress[hidden]{display:none!important}
.pvd-fim-viewer .pvd-fim-events-surface{margin-top:14px}
.pvd-fim-viewer .fim-table-wrap{overflow-x:auto;max-width:100%}
.pvd-fim-viewer .fim-table-wrap table{width:100%;min-width:900px;border-collapse:collapse;margin:14px 0 0!important;font-size:13px;white-space:normal}
.pvd-fim-viewer .fim-table-wrap th,.pvd-fim-viewer .fim-table-wrap td{padding:12px 10px;text-align:left;border-bottom:1px solid #e9ecf3;color:#283652}
.pvd-fim-viewer .fim-table-wrap th{background:#fafbff;color:#5c6b84;font-size:12px;font-weight:800}
.pvd-fim-viewer .fim-table-wrap td:first-child{max-width:340px;min-width:230px;font:500 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.pvd-fim-viewer .fim-table-wrap td:last-child{min-width:170px}
.pvd-fim-viewer .fim-table-wrap td button{display:block;width:100%;margin:4px 0;padding:8px 9px;border:1px solid #ddd5ff;border-radius:7px;background:#f5f2ff;color:#5140a9;font-size:11px;font-weight:750;line-height:1.3;cursor:pointer}
.pvd-fim-viewer .fim-table-wrap td button:hover{border-color:#9788ed;background:#eee8ff}
.pvd-fim-viewer .fim-badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#f1f3f7;color:#606c80}
.pvd-fim-viewer .fim-badge-new{background:#fff4dc;color:#916100}
.pvd-fim-viewer .fim-badge-notified{background:#eaf0ff;color:#435fbb}
.pvd-fim-viewer .fim-badge-acknowledged{background:#e9f0fc;color:#426d91}
.pvd-fim-viewer .fim-badge-accepted{background:#e4f8ee;color:#177453}
.pvd-fim-viewer .pvd-fim-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pvd-fim-viewer .pvd-fim-settings-grid>.pv2-surface{min-width:0;display:flex;flex-direction:column;gap:15px}
.pvd-fim-viewer .pvd-fim-setting-label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:750;color:#52607b}
.pvd-fim-viewer .pvd-fim-checkbox{display:flex;align-items:flex-start;gap:11px;font-size:13px;font-weight:750;line-height:1.5;color:#3d4b65}
.pvd-fim-viewer .pvd-fim-checkbox input{flex:none;width:17px;height:17px;margin-top:2px;accent-color:#7252f5}
.pvd-fim-viewer .pvd-fim-settings-note{margin-top:18px;border:1px solid #d9d4ff;border-radius:10px;background:#f4f1ff;padding:13px 15px;color:#57459b;font-size:12px}
.pvd-fim-viewer .fim-scroll-hint{display:none;font-size:12px;color:#66758c;margin:9px 0}
.pvd-fim-viewer .pv2-bottom-note{margin-top:24px}
@media(max-width:980px){.pvd-fim-viewer .pvd-fim-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pvd-fim-viewer .pvd-fim-intro-actions{align-items:flex-start}.pvd-fim-viewer .pvd-fim-card-grid,.pvd-fim-viewer .pvd-fim-settings-grid{grid-template-columns:1fr}}
@media(max-width:650px){.pvd-fim-viewer .pvd-fim-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pvd-fim-viewer .pvd-fim-highlight{flex-direction:column;align-items:flex-start;padding:16px}.pvd-fim-viewer .pvd-fim-highlight>div:last-child{text-align:left}.pvd-fim-viewer .fim-controls label,.pvd-fim-viewer .fim-controls label:nth-child(2){flex:1 1 100%}.pvd-fim-viewer .fim-controls button{flex:1}.pvd-fim-viewer .fim-scroll-hint{display:block}.pvd-fim-viewer .pvd-fim-intro-actions{gap:9px}}
