/* ============================================================
   PDF SECURITY — locked vault visual
   ============================================================ */
.psec {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 8px 0;
}
.psec-page {
  position: relative;
  aspect-ratio: 8.5/11;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 24px 22px;
  color: #0a2540;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(10, 37, 64, 0.04),
    0 24px 48px -28px rgba(10, 37, 64, 0.25);
}
[data-theme="dark"] .psec-page { background: #f4f7fb; color: #0a2540; }
.psec-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(11, 102, 194, 0.05), rgba(11, 102, 194, 0.0));
  z-index: 0;
}
.psec-page > * { position: relative; z-index: 1; }
.psec-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
  letter-spacing: 0.05em;
}
.psec-tag {
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-size: 9.5px;
}
.psec-body {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.psec-line {
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  opacity: 0.55;
  filter: blur(0.6px);
}
.psec-line.w94 { width: 94%; }
.psec-line.w82 { width: 82%; }
.psec-line.w76 { width: 76%; }
.psec-line.w88 { width: 88%; }
.psec-line.w65 { width: 65%; }
.psec-line.w58 { width: 58%; }
.psec-vault {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 24px;
  box-shadow:
    0 0 0 6px rgba(11, 102, 194, 0.14),
    0 0 0 14px rgba(11, 102, 194, 0.06),
    0 18px 30px -10px rgba(11, 102, 194, 0.5);
  z-index: 2;
}
.psec-vault svg { color: white; width: 60px; height: 60px; display: block; }
.psec-foot {
  position: absolute;
  bottom: 14px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #64748b;
  z-index: 3;
}
.psec-foot .ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
}

/* Callout pills around the secured PDF */
.psec-pill {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 4px 10px -6px rgba(10, 37, 64, 0.18);
}
.psec-pill::before {
  content: "";
  position: absolute;
  background: var(--accent);
  height: 1px;
}
.psec-pill .dot { color: var(--accent); margin-right: 4px; opacity: 0.65; }
.psec-pill.pp-tl { top: 10%; left: -84px; }
.psec-pill.pp-tl::before { right: -32px; top: 50%; width: 32px; }
.psec-pill.pp-tr { top: 10%; right: -110px; }
.psec-pill.pp-tr::before { left: -32px; top: 50%; width: 32px; }
.psec-pill.pp-ml { top: 50%; left: -94px; transform: translateY(-50%); }
.psec-pill.pp-ml::before { right: -32px; top: 50%; width: 32px; }
.psec-pill.pp-mr { top: 50%; right: -96px; transform: translateY(-50%); }
.psec-pill.pp-mr::before { left: -32px; top: 50%; width: 32px; }
.psec-pill.pp-bl { bottom: 12%; left: -86px; }
.psec-pill.pp-bl::before { right: -32px; top: 50%; width: 32px; }
.psec-pill.pp-br { bottom: 12%; right: -106px; }
.psec-pill.pp-br::before { left: -32px; top: 50%; width: 32px; }

@media (max-width: 1000px) {
  .psec { max-width: 360px; }
  .psec-pill.pp-tl, .psec-pill.pp-tr { display: none; }
  .psec-pill.pp-ml, .psec-pill.pp-bl { left: 4px; }
  .psec-pill.pp-mr, .psec-pill.pp-br { right: 4px; }
  .psec-pill::before { display: none; }
}
@media (max-width: 760px) {
  .psec { max-width: 280px; }
  .psec-pill.pp-ml, .psec-pill.pp-mr { display: none; }
  .psec-vault { width: 96px; height: 96px; border-radius: 18px; }
  .psec-vault svg { width: 44px; height: 44px; }
}
