body[data-tool="lock-pdf"] .lock-pdf-result-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  margin-top: 20px;
  padding: 18px 20px;
  /* Matches the shared file card: a plain hairline on every side and a flat
     surface, with no orange edge or tinted wash behind the summary line. */
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(34, 43, 38, .06);
}

body[data-tool="lock-pdf"] .lock-pdf-result-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.45rem;
}

body[data-tool="lock-pdf"] .lock-pdf-result-copy {
  min-width: 0;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-label {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-main {
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.03em;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details[hidden] {
  display: none;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details > div {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details > div + div::before {
  content: "·";
  margin: 0 7px;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box .result-details b {
  display: inline;
  margin: 0;
  color: inherit;
  font-weight: 650;
  white-space: normal;
}

body[data-tool="lock-pdf"] .lock-pdf-download {
  min-width: 205px;
  min-height: 48px;
  padding-inline: 20px;
  white-space: nowrap;
}

body[data-tool="lock-pdf"] .lock-pdf-download[hidden] {
  display: none !important;
}

body[data-tool="lock-pdf"] .lock-pdf-result-box[data-result-state="error"] .lock-pdf-result-icon {
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  color: var(--danger);
}

[data-theme="dark"] body[data-tool="lock-pdf"] .lock-pdf-result-box {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

[data-theme="dark"] body[data-tool="lock-pdf"] .lock-pdf-result-box .result-main {
  color: var(--ink);
}

@media (max-width: 760px) {
  body[data-tool="lock-pdf"] .lock-pdf-result-box {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
  }

  body[data-tool="lock-pdf"] .lock-pdf-download {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 390px) {
  body[data-tool="lock-pdf"] .lock-pdf-result-box {
    grid-template-columns: 1fr;
  }

  body[data-tool="lock-pdf"] .lock-pdf-result-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }
}
