/* SecureVault File Inspector PRO v25 - local UI/report/history patch */
.sv-file-inspector-pro-page .file-phase2-panel,
.sv-file-inspector-pro-page .lab-critical,
.sv-file-inspector-pro-page .lab-disclaimer,
.sv-file-inspector-pro-page .lab-selftest-panel,
.sv-file-inspector-pro-page #attachment-risk-mode{
  position:relative;
  overflow:hidden;
}
.sv-file-inspector-pro-page .file-phase2-grid{
  align-items:stretch;
}
.sv-file-inspector-pro-page .file-phase2-grid > div,
.sv-file-inspector-pro-page .file-next-box,
.sv-file-inspector-pro-page .file-history-box{
  border:1px solid rgba(100,239,255,.14);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(3,13,29,.74),rgba(11,13,32,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 36px rgba(0,0,0,.18);
  padding:18px;
}
.sv-file-inspector-pro-page .file-report-output,
.sv-file-inspector-pro-page .lab-report-output,
.sv-file-inspector-pro-page .lab-selftest-output{
  width:100%;
  min-height:240px;
  max-height:430px;
  overflow:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(100,239,255,.14);
  background:rgba(2,8,18,.62);
  color:rgba(236,247,255,.88);
  line-height:1.58;
}
.sv-file-inspector-pro-page .file-v25-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.sv-file-inspector-pro-page .file-v25-actions .lab-chip:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.sv-file-inspector-pro-page .lab-check-grid .lab-check{
  position:relative;
  padding:14px 14px 14px 16px;
  border-radius:16px;
  border:1px solid rgba(130,180,255,.13);
  background:rgba(4,12,28,.66);
}
.sv-file-inspector-pro-page .lab-check-grid .lab-check:before,
.sv-file-inspector-pro-page .lab-history-row:before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:99px;
  background:#65ecff;
}
.sv-file-inspector-pro-page .lab-check.ok:before,
.sv-file-inspector-pro-page .lab-history-row.ok:before{background:#34f5a0;}
.sv-file-inspector-pro-page .lab-check.warn:before,
.sv-file-inspector-pro-page .lab-history-row.warn:before{background:#f7c948;}
.sv-file-inspector-pro-page .lab-check.bad:before,
.sv-file-inspector-pro-page .lab-check.danger:before,
.sv-file-inspector-pro-page .lab-history-row.danger:before{background:#ff5577;}
.sv-file-inspector-pro-page .lab-check small{
  display:block;
  color:#8defff;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  font-size:.72rem;
  margin-bottom:6px;
}
.sv-file-inspector-pro-page .lab-check b{
  display:block;
  color:#f6fbff;
  line-height:1.42;
}
.sv-file-inspector-pro-page .lab-check em{
  display:block;
  margin-top:6px;
  color:rgba(228,241,255,.68);
  font-style:normal;
  line-height:1.5;
}
.sv-file-inspector-pro-page .lab-history-list{
  display:grid;
  gap:10px;
}
.sv-file-inspector-pro-page .lab-history-row{
  position:relative;
  padding:12px 12px 12px 18px;
  border-radius:16px;
  border:1px solid rgba(140,180,255,.12);
  background:rgba(3,10,23,.58);
}
.sv-file-inspector-pro-page .lab-history-row:nth-child(even){background:rgba(10,18,40,.62);}
.sv-file-inspector-pro-page .lab-history-row b{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#fff;
  margin-bottom:5px;
}
.sv-file-inspector-pro-page .lab-history-row span,
.sv-file-inspector-pro-page .lab-history-row small{
  display:block;
  color:rgba(226,239,255,.7);
  line-height:1.45;
}
.sv-file-inspector-pro-page .file-history-empty,
.sv-file-inspector-pro-page .lab-history-empty{
  padding:16px;
  border:1px dashed rgba(100,239,255,.16);
  border-radius:16px;
  color:rgba(230,240,255,.72);
}
.sv-file-inspector-pro-page .file-next-head p,
.sv-file-inspector-pro-page .file-history-head{
  color:rgba(230,240,255,.75);
}
@media(max-width:900px){
  .sv-file-inspector-pro-page .file-phase2-grid{grid-template-columns:1fr;}
  .sv-file-inspector-pro-page .file-report-output{min-height:220px;}
}
