.pdf-tool-shell {
  background:
    radial-gradient(circle at top left, rgba(0, 103, 184, 0.14), transparent 30%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 60%);
  min-height: 100vh;
}

.pdf-tool-breadcrumbs {
  font-size: 0.95rem;
  color: #567;
}

.pdf-tool-breadcrumbs a {
  color: #0067b8;
  text-decoration: none;
}

.pdf-tool-breadcrumbs span {
  margin: 0 0.35rem;
}

.pdf-tool-hero {
  background: #ffffff;
  border: 1px solid #d8e5f1;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 78, 140, 0.08);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.pdf-tool-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: #e8f3ff;
  color: #0067b8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdf-tool-hero h1 {
  margin: 0 0 0.75rem;
  color: #14324a;
  font-size: clamp(2rem, 4vw, 3rem);
}

.pdf-tool-hero p {
  margin: 0;
  max-width: 60rem;
  color: #4c6477;
  font-size: 1.05rem;
}

.pdf-workbench-drop-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(9, 24, 38, 0.62);
  pointer-events: none;
}

.pdf-workbench-drop-overlay.is-active {
  display: flex;
}

.pdf-workbench-drop-overlay__panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(440px, 94vw);
  padding: 1.35rem;
  border: 2px dashed #7bb7e4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.pdf-workbench-drop-overlay__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eef6ff;
  color: #0067b8;
  font-weight: 800;
}

.pdf-workbench-drop-overlay__panel strong,
.pdf-workbench-drop-overlay__panel span {
  display: block;
}

.pdf-workbench-drop-overlay__panel strong {
  color: #14324a;
  font-size: 1.05rem;
}

.pdf-workbench-drop-overlay__panel span {
  margin-top: 0.2rem;
  color: #4c6477;
}

.pdf-tool-section-title {
  margin: 1.5rem 0 0.85rem;
  color: #14324a;
  font-size: 1.35rem;
}

.pdf-tool-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pdf-tool-card-grid--single {
  grid-template-columns: 1fr;
}

.pdf-tool-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 78, 140, 0.06);
}

.pdf-tool-card__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0067b8, #00a1d6);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.pdf-tool-card__body {
  flex: 1;
}

.pdf-tool-card__body h2,
.pdf-tool-card__body h3 {
  margin: 0 0 0.5rem;
  color: #14324a;
  font-size: 1.15rem;
}

.pdf-tool-card__body p {
  margin: 0 0 0.85rem;
  color: #4c6477;
}

.pdf-tool-meta {
  margin-bottom: 0.9rem;
  color: #60788b;
  font-size: 0.92rem;
}

.pdf-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pdf-tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #0067b8;
  background: #0067b8;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pdf-tool-button:hover {
  background: #00599f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 103, 184, 0.18);
}

.pdf-tool-button--ghost {
  background: #fff;
  color: #0067b8;
}

.pdf-tool-button--ghost:hover {
  background: #eef6ff;
  color: #00599f;
}

.pdf-tool-list {
  margin: 0 0 1rem 1.15rem;
  color: #4c6477;
}

.pdf-tool-list li + li {
  margin-top: 0.4rem;
}

.pdf-tool-workspace {
  display: block;
}

.pdf-tool-workspace__main {
  min-width: 0;
}

.pdf-security-panel {
  background: #fff;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 78, 140, 0.06);
}

.pdf-security-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
}

.pdf-security-form {
  display: grid;
  gap: 1rem;
}

.pdf-security-field {
  display: grid;
  gap: 0.45rem;
}

.pdf-security-field label {
  color: #14324a;
  font-weight: 600;
}

.pdf-security-field input,
.pdf-security-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.9rem;
  border: 1px solid #c8d8e6;
  border-radius: 12px;
  background: #fff;
}

.pdf-security-checkboxes {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pdf-security-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d8e5f1;
  border-radius: 12px;
  background: #f9fcff;
}

.pdf-security-submit {
  justify-self: start;
}

.pdf-security-status {
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #eef6ff;
  color: #24516f;
}

.pdf-security-status[data-state="error"] {
  background: #fff1f0;
  color: #a4382a;
}

.pdf-security-status[data-state="success"] {
  background: #edf9f0;
  color: #1d6c35;
}

.pdf-security-aside {
  display: grid;
  gap: 1rem;
}

.pdf-security-note {
  background: #fff;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 78, 140, 0.06);
}

.pdf-security-note h2 {
  margin: 0 0 0.6rem;
  color: #14324a;
  font-size: 1.05rem;
}

.pdf-security-note p,
.pdf-security-note li {
  color: #4c6477;
}

@media (max-width: 900px) {
  .pdf-security-layout {
    grid-template-columns: 1fr;
  }

  .pdf-tool-hero {
    padding: 1.6rem;
  }
}
