/* Scan-first flow: no email before the scan; Critical/High blurred until a work email unlocks the report. */
.field:has(> #email) { display: none !important; }
#resultsList .finding-row.sx-locked .finding-name,
#resultsList .finding-row.sx-locked .finding-desc { filter: blur(6px); user-select: none; pointer-events: none; }
#resultsList .finding-row.sx-locked .finding-meta::after { content: '🔒 Unlock to view'; margin-left: 10px; font-weight: 700; color: var(--pink, #E4007C); }
.sx-unlock { margin: 14px 0 18px; padding: 22px 22px 18px; border-radius: 14px; background: #fff; color: #14141F;
  border: 1px solid rgba(20,20,31,.1); box-shadow: 0 10px 30px rgba(20,20,31,.08); position: relative; overflow: hidden; }
.sx-unlock::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, #00A3D4 0 33.3%, #E10886 33.3% 66.6%, #FBE116 66.6%); }
.sx-unlock h3 { margin: 4px 0 6px; font-size: 1.15rem; line-height: 1.3; color: #14141F; }
.sx-unlock p { margin: 0 0 14px; font-size: .92rem; line-height: 1.55; color: #3D3D4E; }
.sx-unlock .sx-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sx-unlock input[type=email] { flex: 1 1 240px; min-width: 0; background: #F3F3F6 !important; color: #14141F !important;
  border: 1.5px solid rgba(20,20,31,.15) !important; border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.sx-unlock input[type=email]:focus { border-color: #E10886 !important; outline: none; }
.sx-unlock input.invalid { border-color: #dc2626 !important; }
.sx-unlock button { flex: 0 0 auto; background: #E10886; color: #fff; border: 0; border-radius: 10px; padding: 12px 22px;
  font-weight: 700; font-size: 15px; cursor: pointer; }
.sx-unlock button:hover { background: #b8005f; } .sx-unlock button:disabled { opacity: .6; cursor: wait; }
.sx-unlock label.sx-opt { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .8rem; color: #7A7A8C; cursor: pointer; }
.sx-unlock label.sx-opt input { margin-top: 3px; accent-color: #E10886; }
.sx-unlock .sx-err { min-height: 1.2em; margin-top: 8px; font-size: .85rem; color: #dc2626; }
.sx-unlock .sx-fine { margin-top: 4px; font-size: .78rem; color: #7A7A8C; }
.sx-done { margin: 12px 0 16px; padding: 12px 16px; border-radius: 10px; background: #ecfdf5; color: #065f46; font-size: .9rem; border: 1px solid #a7f3d0; }
.sx-unlock input[type=email]::placeholder { color: #9A9AA8 !important; opacity: 1; }
.sx-pending { margin: 12px 0 16px; padding: 12px 16px; border-radius: 10px; background: #f3f4f6; color: #374151; font-size: .9rem; border: 1px solid #e5e7eb; }
.sx-warn { margin: 12px 0 16px; padding: 12px 16px; border-radius: 10px; background: #fffbeb; color: #78350f; font-size: .9rem; border: 1px solid #fcd34d; }
.sx-warn b, .sx-done b { display: block; margin-bottom: 4px; }
.sx-retry { margin-top: 10px; padding: 8px 16px; border: 0; border-radius: 8px; background: #E10886; color: #fff; font-weight: 700; cursor: pointer; }
.sx-retry[disabled] { opacity: .6; cursor: default; }
.sx-unlock .sx-who { margin-bottom: 8px; }
.sx-unlock .sx-who input { flex: 1 1 0; min-width: 0; }
@media (max-width: 560px) { .sx-unlock .sx-who { flex-direction: column; } }
