/* Report page – modern, animated, professional */
:root {
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-card: #161b22;
  --border: #21262d;
  --border-light: #30363d;
  --accent: #A6F3DA;
  --accent-hover: #b8f7e4;
  --accent-dim: rgba(166, 243, 218, 0.15);
  --accent-glow: rgba(166, 243, 218, 0.25);
  --text: #f0f6fc;
  --text-muted: #8b949e;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-input: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --danger: #f85149;
  --danger-dim: rgba(248, 81, 73, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.report-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body.report-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(166, 243, 218, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(166, 243, 218, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}
@keyframes reportPageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reportFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.report-body:not(.loading-done) .report-header,
.report-body:not(.loading-done) .report-main,
.report-body:not(.loading-done) .report-footer {
  opacity: 0;
}
.report-body.loading-done .report-header {
  animation: reportPageIn 0.5s var(--ease-out) forwards;
}
.report-body.loading-done .report-main {
  animation: reportPageIn 0.55s var(--ease-out) 0.06s forwards;
}
.report-body.loading-done .report-footer {
  animation: reportFadeIn 0.5s var(--ease-out) 0.12s forwards;
}

/* Loading screen – polished */
.report-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.report-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.report-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.report-loading-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: reportSpin 0.85s linear infinite;
}
@keyframes reportSpin {
  to { transform: rotate(360deg); }
}
.report-loading-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: reportPulse 1.4s var(--ease) infinite;
}
@keyframes reportPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.report-header {
  position: relative;
  z-index: 1;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1.5rem;
}
.report-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.report-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.report-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.report-brand:hover { color: var(--accent); transform: translateY(-1px); }
.report-logo { width: 40px; height: 40px; object-fit: contain; transition: transform 0.3s var(--ease); }
.report-brand:hover .report-logo { transform: scale(1.05); }
.report-brand-text { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.report-nav-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--border);
  flex-shrink: 0;
}
.report-nav-link,
.report-nav-link:link,
.report-nav-link:visited {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}
.report-nav-link:hover,
.report-nav-link:visited:hover { color: var(--accent); text-decoration: none; }
.report-nav-submit,
.report-nav-submit:link,
.report-nav-submit:visited {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}
.report-nav-submit:hover,
.report-nav-submit:visited:hover { color: var(--accent); text-decoration: none; }
.report-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.report-quick-exit {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-input);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.report-quick-exit:hover { color: var(--accent); background: var(--accent-dim); }

/* Portal: email blurred until click to reveal; severity first letter blurred */
.portal-email-reveal { cursor: pointer; user-select: none; display: inline-block; min-width: 1em; }
.portal-email-reveal[data-blurred="true"] .portal-email-text { filter: blur(5px); pointer-events: none; }
.portal-email-reveal[data-blurred="false"] .portal-email-text { filter: none; }
.portal-email-reveal[data-blurred="true"] { color: var(--text-muted); }
.portal-sev-first { filter: blur(4px); display: inline-block; min-width: 0.6em; text-align: center; }

.report-main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 2.5rem 1.5rem 4rem;
}
.report-container { max-width: 640px; margin: 0 auto; }
.report-page-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.report-heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.report-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.report-intro-strong { font-weight: 600; margin-top: 1rem; color: var(--text); }
.report-bullets { list-style: none; margin-bottom: 1rem; padding-left: 0; }
.report-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.report-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: 0 0 8px var(--accent-glow);
}
.report-bullets-compact { margin-top: 0.5rem; margin-bottom: 1rem; }
.report-bullets-compact li { margin-bottom: 0.25rem; font-size: 0.875rem; }
.report-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.report-portal-cta {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.report-portal-cta p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.report-portal-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #0a0e14;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.report-portal-link:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.report-progress-wrap {
  position: relative;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.report-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 999px;
  transition: width 0.5s var(--ease-out);
  box-shadow: 0 0 12px var(--accent-glow);
}
.report-progress-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  text-align: right;
}

.report-form { margin-top: 0.5rem; }
/* When intro panel is hidden (steps 2–6), give the form a bit more top air under the page title */
.report-intro-panel[hidden] + .report-form { margin-top: 1.25rem; }
.report-intro-panel[hidden] { display: none !important; }
.report-step {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  animation: reportStepIn 0.45s var(--ease-out) forwards;
}
.report-step.active { display: block; }
.report-step[hidden] { display: none !important; }
@keyframes reportStepIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.report-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  position: relative;
  padding-bottom: 0.5rem;
}
.report-step-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0.9;
}
.report-step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.report-field {
  margin-bottom: 1.125rem;
}
.report-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.report-field input[type="text"],
.report-field input[type="email"],
.report-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.report-field textarea {
  resize: vertical;
  min-height: 120px;
  /* Modern scrollbar – Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border);
}
/* Modern scrollbar – WebKit (Chrome, Safari, Edge) */
.report-field textarea::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.report-field textarea::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
  margin: 4px 0;
}
.report-field textarea::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
.report-field textarea::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}
.report-field textarea::-webkit-scrollbar-corner {
  background: var(--border);
  border-radius: 4px;
}
.report-field input::placeholder,
.report-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.report-field input:focus,
.report-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.report-field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(248, 81, 73, 0.5);
}
.report-field:not(.report-invalid) input:hover:not(:focus),
.report-field:not(.report-invalid) textarea:hover:not(:focus) {
  border-color: var(--border-light);
}

/* Required field validation – red animated outline when trying to continue without filling */
.report-invalid.report-check-wrap .report-checkbox-box {
  border-color: var(--danger) !important;
  background: var(--danger-dim) !important;
  animation: reportInvalidOutline 1.25s var(--ease) infinite;
  box-shadow: 0 0 0 2px var(--danger);
}
.report-field.report-invalid input,
.report-field.report-invalid textarea {
  border-color: var(--danger) !important;
  background: var(--danger-dim) !important;
  animation: reportInvalidOutline 1.25s var(--ease) infinite;
  box-shadow: 0 0 0 2px rgba(248, 81, 73, 0.4);
}
.report-field.report-invalid input:focus,
.report-field.report-invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.35);
}
@keyframes reportInvalidOutline {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(248, 81, 73, 0.5);
    border-color: var(--danger);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(248, 81, 73, 0.15), 0 0 0 2px var(--danger);
    border-color: var(--danger);
  }
}
.report-step-validation-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--danger);
  background: var(--danger-dim);
  border: 1px solid rgba(248, 81, 73, 0.4);
  border-radius: var(--radius-input);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.report-step-validation-error::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f85149' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.report-step-validation-error.hidden {
  display: none !important;
}

/* Modern checkbox */
.report-check-wrap {
  margin-bottom: 1.25rem;
}
.report-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.report-check-label:hover .report-checkbox-box {
  border-color: var(--accent);
  background: rgba(166, 243, 218, 0.08);
}
.report-checkbox {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.report-checkbox input {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.report-checkbox-box {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}
.report-checkbox input:focus-visible + .report-checkbox-box {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.report-checkbox input:checked + .report-checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
}
.report-checkbox input:checked + .report-checkbox-box::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  margin-left: -2.5px;
  margin-top: -4.5px;
  border: solid #0a0e14;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
  transform-origin: center center;
}
.report-check-label-text {
  user-select: none;
}
.report-warning {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  background: var(--accent-dim);
  border: 1px solid rgba(166, 243, 218, 0.2);
  border-radius: var(--radius-input);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease);
}
.report-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.btn-report-next,
.btn-report-back,
.btn-report-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  border: none;
  text-decoration: none;
}
.btn-report-next,
.btn-report-submit {
  background: linear-gradient(180deg, var(--accent) 0%, #94e8cc 100%);
  color: #0a0e14;
  box-shadow: 0 2px 8px rgba(166, 243, 218, 0.2);
}
.btn-report-next:hover:not(:disabled),
.btn-report-submit:hover:not(:disabled) {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-report-next:active:not(:disabled),
.btn-report-submit:active:not(:disabled) {
  transform: translateY(0);
}
.btn-report-next:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn-report-back {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-report-back:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(166, 243, 218, 0.35);
  transform: translateY(-1px);
}
.btn-report-submit:focus-visible,
.btn-report-next:focus-visible:not(:disabled),
.btn-report-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.report-review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.report-review:hover {
  border-color: var(--border-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.report-review dl { margin: 0; }
.report-review dt {
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.report-review dt:first-child { margin-top: 0; }
.report-review dd {
  margin: 0.3rem 0 0;
  color: var(--text);
  word-break: break-word;
}
.report-review dd:empty::before { content: '—'; color: var(--text-muted); }

.report-form-error {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: var(--danger-dim);
  border: 1px solid rgba(248, 81, 73, 0.35);
  border-radius: var(--radius-input);
  color: var(--danger);
  font-size: 0.9375rem;
}
.report-form-error.hidden { display: none; }

.report-success {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(166, 243, 218, 0.4);
  border-radius: var(--radius-input);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  animation: reportFadeIn 0.5s var(--ease-out);
}
.report-success.hidden { display: none; }

.report-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(13, 17, 23, 0.6);
}
.report-footer a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.report-footer a:hover { color: var(--accent); }
.report-footer-sep {
  color: var(--border);
  margin: 0 0.5rem;
  font-size: 0.875rem;
}

/* Secure bootstrap overlay (step 1 → 2) */
.report-body.report-secure-open {
  overflow: hidden;
}
.report-secure-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: reportSecureFade 0.35s var(--ease-out) both;
}
.report-secure-overlay.hidden {
  display: none !important;
}
@keyframes reportSecureFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.report-secure-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(166, 243, 218, 0.08);
  text-align: center;
}
.report-secure-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: reportSpin 0.85s linear infinite;
}

/* Screenshot shortcut detected — blur page behind dialog */
.report-body.report-screenshot-block-open {
  overflow: hidden;
}
.report-body.report-screenshot-block-open .report-loading,
.report-body.report-screenshot-block-open .report-header,
.report-body.report-screenshot-block-open .report-main,
.report-body.report-screenshot-block-open .report-footer {
  filter: blur(14px);
  -webkit-filter: blur(14px);
  transition: filter 0.25s var(--ease-out);
  pointer-events: none;
  user-select: none;
}
.report-screenshot-block-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 90% 60% at 50% 20%, rgba(94, 233, 181, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(6, 38, 30, 0.94) 0%, rgba(8, 22, 20, 0.96) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: reportSecureFade 0.25s var(--ease-out) both;
}
.report-screenshot-block-overlay.hidden {
  display: none !important;
}
.report-screenshot-block-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid rgba(166, 243, 218, 0.28);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card), 0 0 40px rgba(45, 212, 163, 0.12);
  text-align: center;
}
.report-screenshot-block-shield {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 28px rgba(45, 212, 163, 0.35));
}
.report-screenshot-block-shield-svg {
  display: block;
}
.report-screenshot-block-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #5ee9b5;
  margin: 0 0 0.65rem;
}
.report-screenshot-block-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.report-screenshot-block-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  background: linear-gradient(180deg, var(--accent) 0%, #94e8cc 100%);
  color: #0a0e14;
  box-shadow: 0 2px 8px rgba(166, 243, 218, 0.25);
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.report-screenshot-block-dismiss:hover {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.report-screenshot-block-dismiss:active {
  transform: translateY(0);
}
.report-screenshot-block-dismiss:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.report-secure-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.report-secure-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.report-secure-checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
}
.report-secure-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease);
}
.report-secure-row:last-of-type {
  border-bottom: none;
}
.report-secure-row[data-state="ok"] {
  color: var(--text);
}
.report-secure-row[data-state="warn"] {
  color: #e3b341;
}
.report-secure-row-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1em;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
}
.report-secure-row[data-state="pending"] .report-secure-row-icon {
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}
.report-secure-row[data-state="ok"] .report-secure-row-icon {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.report-secure-row[data-state="ok"] .report-secure-row-icon::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.report-secure-row[data-state="warn"] .report-secure-row-icon {
  border-color: #e3b341;
  background: rgba(227, 179, 65, 0.12);
}
.report-secure-row[data-state="warn"] .report-secure-row-icon::after {
  content: '!';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #e3b341;
  line-height: 1;
}
.report-secure-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .report-secure-overlay {
    animation: none;
  }
  .report-screenshot-block-overlay {
    animation: none;
  }
  .report-body.report-screenshot-block-open .report-loading,
  .report-body.report-screenshot-block-open .report-header,
  .report-body.report-screenshot-block-open .report-main,
  .report-body.report-screenshot-block-open .report-footer {
    transition: none;
  }
  .report-secure-spinner {
    animation: none;
    border-top-color: var(--accent);
    opacity: 0.85;
  }
}

@media (max-width: 600px) {
  .report-header-inner { flex-wrap: wrap; }
  .report-brand-text { font-size: 0.9rem; }
  .report-page-title { font-size: 1.5rem; }
  .report-heading { font-size: 1.2rem; }
  .report-step { padding: 1.25rem 1.25rem; }
}


/* Mobile: Quick Exit + View my report as proper buttons */
@media (max-width: 700px) {
  .report-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
  }
  .report-header-left { flex-wrap: wrap; gap: 0.5rem; align-items: center; }
  .report-nav-divider { display: none; }
  .report-nav-link,
  .report-nav-link:link,
  .report-nav-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(166, 243, 218, 0.35);
    border-radius: 8px;
    background: rgba(166, 243, 218, 0.07);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
  }
  .report-header-right { width: 100%; }
  .report-quick-exit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(248, 113, 113, 0.4);
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.08);
    color: #f87171 !important;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
  }
  .report-quick-exit:hover { background: rgba(248, 113, 113, 0.15); }
}
