/* PKCS#11 reference. Scoped additions on top of the baseof styles, same
   shape as fips.css. */

.p11-summary {
  font-size: 1.02rem; line-height: 1.75; margin: 1.4rem 0 1.8rem;
  color: var(--ink);
}
.p11-summary strong { color: var(--bright); }

/* The value three ways, above the fold. Half the arrivals typed a number,
   not a name, so they need their own string echoed back first. */
.p11-banner {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem;
  border: 1px solid var(--rule); border-left: 3px solid var(--orange);
  background: #0d1014; border-radius: 4px;
  padding: 0.85rem 1.1rem; margin: 1.4rem 0; font-size: 0.92rem;
}
.p11-banner b {
  color: var(--muted); font-weight: 400; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.45rem;
}
.p11-banner code { color: var(--bright); }
.p11-vendor-flag { color: var(--yellow); }

.p11-count {
  color: var(--muted); font-size: 0.8rem; font-weight: 400;
}

.p11-diagnose, .p11-fix {
  border-left: 2px solid var(--rule); padding-left: 0.9rem;
  margin: 0.7rem 0 1.2rem; font-size: 0.94rem; color: var(--ink);
}
.p11-diagnose b { color: var(--orange); font-weight: 600; }
.p11-fix b { color: var(--bright); font-weight: 600; }

.p11-prov {
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  border-top: 1px solid var(--rule); padding-top: 0.5rem; margin-top: 0.9rem;
}

.p11-sources { font-size: 0.9rem; color: var(--muted); }
.p11-sources a { color: var(--ink); }

.p11-crumbs {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  border-top: 1px solid var(--rule); margin-top: 2.4rem; padding-top: 1rem;
  font-size: 0.88rem;
}

/* Decoder */
.p11dec { margin: 2rem 0; }
.p11dec label {
  display: block; color: var(--muted); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem;
}
.p11dec input {
  width: 100%; box-sizing: border-box;
  font-family: var(--mono); font-size: 1rem;
  background: #0d1014; color: var(--bright);
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 0.7rem 0.9rem;
}
.p11dec input:focus { outline: none; border-color: var(--orange); }

.p11-hit {
  border: 1px solid var(--rule); border-left: 3px solid var(--orange);
  background: #0d1014; border-radius: 4px;
  padding: 0.9rem 1.1rem; margin: 1.1rem 0; font-size: 0.94rem;
}
.p11-hit h3 { margin: 0 0 0.6rem; font-size: 1rem; color: var(--bright); }
.p11-hit p { margin: 0.5rem 0; }
.p11-hit ul, .p11-list { margin: 0.5rem 0; padding-left: 1.1rem; }
.p11-list li, .p11-hit li { margin: 0.3rem 0; font-size: 0.92rem; }
.p11-miss { color: var(--muted); }

/* A vendor value that does not match the one it is being compared against.
   The whole reason the two Thales pages are separate. */
.p11-differs { color: var(--yellow); }
