.tamper-test { margin: 28px 0; padding: 24px; border: 1px solid #7cafd136; border-radius: 8px; background: linear-gradient(120deg, #8abfe909, transparent 70%); }
.tamper-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.tamper-heading > div { min-width: 0; }
.tamper-test h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -.4px; line-height: 1.4; }
.tamper-test p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.tamper-test .tamper-trigger { flex-shrink: 0; gap: 10px; min-height: 46px; border-color: #8abfe956; color: var(--text); }
.tamper-trigger:hover { background: #8abfe913; }
.tamper-trigger:disabled { opacity: .65; cursor: wait; }
.tamper-test button:focus-visible, .tamper-test summary:focus-visible { outline: 2px solid #b8dbf4; outline-offset: 4px; }
.tamper-result:empty { display: none; }
.tamper-result:not(:empty) { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.tamper-outcome, .tamper-running { display: flex; gap: 14px; align-items: flex-start; }
.tamper-test h4 { font-size: 18px; font-weight: 500; line-height: 1.5; margin: 0 0 5px; letter-spacing: -.25px; }
.tamper-marker { display: grid; place-items: center; flex: 0 0 30px; height: 30px; font-family: var(--mono); font-size: 24px; border: 1px solid #eaadab66; border-radius: 50%; color: #f0b7b4; background: #e595950a; }
.tamper-rejected h4 { color: #f0b7b4; }
.tamper-inconclusive .tamper-marker { color: #f1d199; border-color: #f1d19966; font-size: 18px; }
.tamper-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.tamper-test dt { font-size: 12px; color: var(--muted); line-height: 1.6; }
.tamper-test dd { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
.tamper-test dd small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tamper-test .tamper-details { padding: 0; margin: 20px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.tamper-test summary { min-height: 44px; padding: 14px 0 6px; font-size: 13px; }
.tamper-details dl { display: grid; gap: 14px; margin: 16px 0 0; }
.tamper-details code { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
.tamper-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.tamper-footer p { font-size: 12px; }
.tamper-footer .tamper-back { min-height: 44px; white-space: nowrap; color: #cee5f6; }
.tamper-pulse { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #b8dbf4; margin: 9px 8px 0 0; }
@media (max-width: 1000px) {
  .tamper-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 760px) {
  .tamper-test { padding: 18px 16px; margin: 22px 0; }
  .tamper-test h3 { font-size: 18px; }
  .tamper-test .section-caption { font-size: 10px; letter-spacing: .7px; }
  .tamper-heading, .tamper-footer { align-items: stretch; }
  .tamper-test .tamper-trigger { width: 100%; justify-content: center; white-space: normal; }
  .tamper-checks { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .tamper-outcome { gap: 10px; }
  .tamper-test h4 { font-size: 17px; }
  .tamper-footer { flex-direction: column; gap: 10px; }
  .tamper-footer .tamper-back { justify-content: flex-start; white-space: normal; }
}
