.browser-tool-breadcrumbs {
  padding-top: 18px;
}

.browser-tool-breadcrumbs .breadcrumbs {
  margin-bottom: 0;
}

.unlock-tool-hero {
  border-bottom: 1px solid var(--line);
  padding: 24px 0 30px;
  background: linear-gradient(135deg, var(--detail-start), var(--detail-end));
}

.unlock-hero-copy {
  max-width: 850px;
}

.unlock-hero-copy h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.unlock-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.unlock-privacy-note {
  display: inline-flex;
  max-width: 800px;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  border: 1px solid var(--success-border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--success-text);
  background: var(--success-bg);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.unlock-privacy-icon {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #198754;
  font-size: 12px;
  font-weight: 950;
}

.unlock-tool-section {
  padding-top: 30px;
}

.unlock-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.unlock-workspace {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.unlock-workspace-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.unlock-pdf-mark,
.unlock-selected-icon {
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--primary-button-text);
  background: var(--primary-button);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.035em;
}

.unlock-pdf-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.unlock-workspace-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.25;
}

.unlock-workspace-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.unlock-message {
  margin: 0 0 16px;
  border: 1px solid;
  border-radius: 11px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.unlock-message:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.unlock-message-error {
  border-color: var(--danger-border);
  color: var(--danger-text);
  background: var(--danger-bg);
}

.unlock-message-info {
  border-color: var(--info-border);
  color: var(--info-text);
  background: var(--info-bg);
}

.unlock-drop-zone {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 11px;
  border: 2px dashed var(--border-strong);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  background: var(--surface-subtle);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.unlock-drop-zone:hover,
.unlock-drop-zone.is-dragover {
  border-color: var(--blue);
  background: var(--info-bg);
}

.unlock-drop-zone:focus-visible {
  border-color: var(--focus-ring);
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.unlock-drop-zone[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.unlock-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  padding: 0;
  white-space: nowrap;
}

.unlock-upload-symbol {
  position: relative;
  display: grid;
  width: 72px;
  height: 82px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 11px;
  color: var(--blue);
  background: var(--surface);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.unlock-upload-symbol::before {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--blue);
  border-right: 0;
  border-bottom: 0;
  content: "";
  transform: translateX(-50%) rotate(45deg);
  background: var(--surface-subtle);
}

.unlock-upload-symbol::after {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 2px;
  height: 34px;
  content: "";
  transform: translateX(-50%);
  background: var(--blue);
}

.unlock-drop-zone > strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.unlock-drop-or,
.unlock-drop-zone small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.unlock-choose-button,
.unlock-submit-button,
.unlock-download-button {
  cursor: pointer;
}

.unlock-choose-button {
  min-width: 190px;
}

.unlock-selected-file {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface-subtle);
}

.unlock-selected-icon {
  width: 44px;
  height: 50px;
}

.unlock-selected-copy {
  min-width: 0;
}

.unlock-selected-copy h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
}

.unlock-selected-copy p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.unlock-selected-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.unlock-change-file {
  min-height: 40px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--blue);
  background: var(--surface);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.unlock-inspecting,
.unlock-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid var(--info-border);
  border-radius: 13px;
  padding: 16px;
  color: var(--info-text);
  background: var(--info-bg);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.unlock-processing > div {
  display: grid;
  gap: 2px;
}

.unlock-processing strong {
  color: var(--navy);
  font-size: 15px;
}

.unlock-processing span:not(.unlock-spinner) {
  color: var(--muted);
  font-size: 12px;
}

.unlock-spinner {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 3px solid var(--info-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: unlock-spin 0.8s linear infinite;
}

@keyframes unlock-spin {
  to {
    transform: rotate(360deg);
  }
}

.unlock-password-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface-subtle);
}

.unlock-password-field {
  display: grid;
  gap: 8px;
}

.unlock-password-field > label {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.unlock-password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.unlock-password-control input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--input-border);
  border-right: 0;
  border-radius: 11px 0 0 11px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 16px;
}

.unlock-password-control button {
  min-width: 122px;
  border: 1px solid var(--input-border);
  border-radius: 0 11px 11px 0;
  padding: 9px 12px;
  color: var(--blue);
  background: var(--surface);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.unlock-password-control input:focus-visible,
.unlock-password-control button:focus-visible {
  position: relative;
  z-index: 1;
}

.unlock-password-control input[aria-invalid="true"] {
  border-color: var(--danger-text);
  box-shadow: inset 0 0 0 1px var(--danger-text);
}

.unlock-password-field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.unlock-submit-button {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.unlock-workspace button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.unlock-success {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  margin-top: 0;
  border: 1px solid var(--success-border);
  border-radius: 16px;
  padding: 20px;
  background: var(--success-bg);
}

.unlock-success:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.unlock-success-check {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #198754;
  font-size: 22px;
  font-weight: 950;
}

.unlock-success h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.unlock-success p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.unlock-success-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.unlock-download-button {
  flex: 1 1 230px;
  min-height: 50px;
  font-size: 15px;
}

.unlock-another-button {
  flex: 1 1 180px;
  border-color: var(--input-border);
  color: var(--blue);
  background: var(--surface);
  cursor: pointer;
}

body.ads-enabled .unlock-tool-ad-slot {
  width: 100%;
  min-height: 118px;
  margin: 0;
}

.unlock-supporting-content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.unlock-supporting-content .content-card,
.unlock-supporting-content .guide-faq {
  max-width: none;
  margin: 0;
}

.unlock-supporting-content .content-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  background: var(--surface);
}

.unlock-supporting-content .content-card h2,
.unlock-supporting-content .guide-faq > h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.3;
}

.unlock-supporting-content .content-card p,
.unlock-supporting-content .content-card li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.unlock-supporting-content .content-card p:last-child {
  margin-bottom: 0;
}

.unlock-supporting-content .compact-steps {
  margin: 0;
  padding-left: 22px;
}

.unlock-supporting-content .compact-steps li + li {
  margin-top: 6px;
}

.unlock-attention {
  border-color: var(--ad-border) !important;
  background: var(--ad-bg) !important;
}

.unlock-attention h2,
.unlock-attention p {
  color: var(--ad-text) !important;
}

.unlock-supporting-content .guide-faq details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.unlock-supporting-content .guide-faq details + details {
  margin-top: 9px;
}

.unlock-supporting-content .guide-faq summary {
  min-height: 48px;
  padding: 13px 16px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
}

.unlock-supporting-content .guide-faq details div[itemprop="acceptedAnswer"] p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 13px 16px 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .browser-tool-breadcrumbs {
    padding-top: 14px;
  }

  .unlock-tool-hero {
    padding: 20px 0 24px;
  }

  .unlock-hero-copy h1 {
    font-size: clamp(30px, 9.4vw, 39px);
    line-height: 1.14;
  }

  .unlock-hero-copy > p {
    font-size: 16px;
  }

  .unlock-workspace {
    padding: 16px;
  }

  .unlock-workspace-heading h2 {
    font-size: 22px;
  }

  .unlock-drop-zone {
    min-height: 290px;
    padding: 26px 14px;
  }

  .unlock-drop-zone > strong {
    font-size: 18px;
  }

  .unlock-selected-file {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .unlock-selected-icon {
    width: 40px;
    height: 46px;
  }

  .unlock-change-file {
    grid-column: 1 / -1;
    width: 100%;
  }

  .unlock-password-control {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .unlock-password-control button {
    min-width: 104px;
    padding-inline: 8px;
  }

  body.ads-enabled .unlock-tool-ad-slot {
    min-height: 104px;
  }
}

@media (max-width: 420px) {
  .unlock-success {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
  }

  .unlock-success-check {
    width: 38px;
    height: 38px;
  }

  .unlock-success h3 {
    font-size: 19px;
  }

  .unlock-success-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unlock-drop-zone {
    transition: none;
  }

  .unlock-spinner {
    animation-duration: 1.6s;
  }
}
