/* ─────────────────────────────────────────────────────────────
   Security stance panel — floating "what's protecting you now"
   ───────────────────────────────────────────────────────────── */

.sec-panel { position: fixed; right: 16px; bottom: 16px; z-index: 70; }
@media (max-width: 720px) { .sec-panel { right: 12px; bottom: 76px; } }

.sec-panel-fab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--bg-1) 92%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--line);
  color: var(--fg-1);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.4);
}
.sec-panel-fab:hover { border-color: var(--accent); color: var(--fg-0); }
.sec-panel-fab:active { transform: translateY(1px); }
.sec-panel-fab svg { color: var(--accent); }
.sec-panel-fab .mono { letter-spacing: 0.12em; font-size: 10px; color: var(--fg-2); }

.sec-panel.is-open .sec-panel-fab {
  background: var(--bg-2);
  border-color: var(--accent);
  color: var(--fg-0);
}

.sec-panel-card {
  position: absolute;
  right: 0; bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  padding: 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  animation: secPanelIn 0.22s cubic-bezier(.2,.7,.2,1);
}
@keyframes secPanelIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.sec-panel-close {
  background: none;
  border: 0;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
}
.sec-panel-close:hover { color: var(--fg-0); background: var(--bg-2); }

.sec-list {
  list-style: none; padding: 8px 0; margin: 0;
  max-height: 56vh; overflow-y: auto;
}
.sec-list::-webkit-scrollbar { width: 6px; }
.sec-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.sec-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px; align-items: flex-start;
  padding: 9px 18px;
}
.sec-item .sec-check {
  width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--success) 22%, transparent);
  border: 1px solid color-mix(in oklch, var(--success) 50%, var(--line));
  color: var(--success);
  flex-shrink: 0;
}
.sec-item .sec-check svg { width: 11px; height: 11px; }
.sec-item.is-off .sec-check {
  background: color-mix(in oklch, var(--warning) 18%, transparent);
  border-color: color-mix(in oklch, var(--warning) 50%, var(--line));
  color: var(--warning);
}
.sec-body strong { display: block; font-size: 13px; color: var(--fg-0); margin-bottom: 2px; font-weight: 500; }
.sec-body span { display: block; font-size: 12px; color: var(--fg-2); line-height: 1.45; }

.sec-panel-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--fg-2);
}
.sec-panel-foot a { color: var(--fg-1); text-decoration: underline; }
.sec-panel-foot a:hover { color: var(--accent); }

/* Honeypot extras — make absolutely sure it's invisible */
input[name="company_url"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
