/* The Auditor — standalone styles (phosphor law: same face in every house) */

.auditor-btn-fixed {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #5a7a5e; /* dim green */
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(90, 122, 94, 0.5);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.auditor-btn-fixed:hover {
  opacity: 1;
}

.auditor-btn-fixed.is-active {
  color: #00ff41; /* phosphor bright */
  border-color: #00ff41;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.55), inset 0 0 6px rgba(0, 255, 65, 0.15);
  opacity: 1;
  animation: auditor-pulse 2.4s ease-in-out infinite;
}

@keyframes auditor-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 255, 65, 0.4), inset 0 0 4px rgba(0, 255, 65, 0.1); }
  50% { box-shadow: 0 0 14px rgba(0, 255, 65, 0.75), inset 0 0 10px rgba(0, 255, 65, 0.25); }
}

/* Modal */

.auditor-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auditor-modal {
  width: min(560px, 100%);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border: 1px solid rgba(0, 255, 65, 0.4);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.25);
  border-radius: 4px;
  overflow: hidden;
}

.auditor-modal-header {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #00ff41;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.25);
}

.auditor-modal-summary {
  flex: 1;
  overflow: auto;
  margin: 0;
  padding: 14px 18px;
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 11.5px;
  line-height: 1.6;
  color: #b8dcc0;
  white-space: pre-wrap;
  word-break: break-word;
}

.auditor-modal-actions {
  display: flex;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid rgba(0, 255, 65, 0.25);
}

.auditor-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #00ff41;
  background: transparent;
  border: 1px solid rgba(0, 255, 65, 0.5);
  border-radius: 3px;
  padding: 7px 16px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.auditor-btn:hover {
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.35);
}

.auditor-btn-quiet {
  color: #5a7a5e;
  border-color: rgba(90, 122, 94, 0.5);
}

.auditor-btn-quiet:hover {
  box-shadow: none;
}
