

  /* 顶部横向工具切换 tabs */
  .tool-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 36px;
    border-bottom: 1px solid #e5e7eb;
  }

  .tool-nav__item {
    position: relative;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    text-indent: 0;
    transition: color 0.2s;
  }

  .tool-nav__item::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(135deg, #4f6ef7, #6a5af9);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  .tool-nav__item:hover {
    color: #4f6ef7;
  }

  .tool-nav__item:hover::after {
    transform: scaleX(0.5);
  }

  .tool-nav__item.is-active {
    color: #4f6ef7;
  }

  .tool-nav__item.is-active::after {
    transform: scaleX(1);
  }

  
  /* 选项卡 */
  .pdf-tabs {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .pdf-tab-list {
    flex: 0 0 150px;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  }

  .pdf-tab-panels {
    flex: 1;
    min-width: 0;
  }

  .pdf-tab {
    flex: none;
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    text-indent: 0;
    transition:
      color 0.2s,
      background 0.2s;
  }

  .pdf-tab:hover {
    color: #4f6ef7;
    background: rgba(79, 110, 247, 0.08);
  }

  .pdf-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #4f6ef7, #6a5af9);
    box-shadow: 0 6px 16px rgba(79, 110, 247, 0.28);
  }

  .pdf-tab:focus-visible {
    outline: 2px solid #4f6ef7;
    outline-offset: 2px;
  }

  /* 小屏改为上下堆叠 */
  @media (max-width: 640px) {
    .pdf-tabs {
      flex-direction: column;
      gap: 16px;
    }

    .pdf-tab-list {
      flex: none;
      width: 100%;
      flex-direction: row;
      overflow-x: auto;
    }

    .pdf-tab {
      flex: 1;
      min-width: 96px;
    }
  }

  .pdf-tab-panel {
    display: none;
  }

  .pdf-tab-panel.is-active {
    display: block;
  }

  /* 说明 / 常见问题内容 */
  .pdf-doc-list,
  .pdf-faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-indent: 0;
  }

  .pdf-doc-list li {
    position: relative;
    padding: 0 0 14px 34px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #f0f0f0;
  }

  .pdf-doc-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .pdf-doc-list li::before {
    content: counter(doc-step);
    counter-increment: doc-step;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #4f6ef7, #6a5af9);
    border-radius: 50%;
  }

  .pdf-doc-list {
    counter-reset: doc-step;
  }

  .pdf-doc-item-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    text-indent: 0;
    line-height: 1.6;
  }

  .pdf-doc-item-desc,
  .pdf-faq-a {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    text-indent: 0;
    line-height: 1.8;
  }

  .pdf-faq-list li {
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
  }

  .pdf-faq-list li:last-child {
    margin-bottom: 0;
  }

  .pdf-faq-q {
    margin: 0 0 4px 0;
    text-indent: 0;
    line-height: 1.6;
    color: #1f2937;
  }

  .pdf-faq-a a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
  }



  h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 32px;
  }

  strong {
    font-weight: bold;
    font-size: 17px;
  }

  p,
  ul {
    line-height: 34px;
    text-indent: 40px;
  }

  .pdf-page-head {
    text-align: center;
    margin-bottom: 40px;
  }

  .pdf-page-title {
    font-size: 30px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 10px 0;
  }

  .pdf-page-sub {
    margin: 0;
    font-size: 15px;
    color: #6b7280;
    text-indent: 0;
    line-height: 1.6;
  }

  .pdf-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }


  @media (min-width: 900px) {
    /* .pdf-tools-grid {
      grid-template-columns: 1fr 1fr;
    } */
  }

  .pdf-card {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 28px 30px;
    border: 1px solid #f0f0f0;
    /* transition:
      transform 0.2s ease,
      box-shadow 0.2s ease; */
  }

  .pdf-card:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
  }

  .pdf-card-accent {
    border-top: 4px solid #f59e0b;
  }

  .pdf-card-header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #eee;
  }

  .pdf-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4f6ef7;
    background: rgba(79, 110, 247, 0.12);
    border-radius: 999px;
  }

  .badge-orange {
    color: #b45309;
    background: rgba(245, 158, 11, 0.15);
  }

  .pdf-card-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
  }

  .pdf-card-desc {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    text-indent: 0;
    line-height: 1.6;
  }

  .pdf-form .form-group {
    margin-bottom: 20px;
  }

  .pdf-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
  }

  .pdf-form .file-wrap {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 8px;
    background: #fafafa;
    transition: border-color 0.2s;
  }

  .pdf-form .file-wrap:hover {
    border-color: #4f6ef7;
  }

  .pdf-form input[type="file"] {
    width: 100%;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
  }

  .pdf-form .text-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-size: 15px;
    color: #1f2937;
    background: #fafafa;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition:
      border-color 0.2s,
      box-shadow 0.2s;
  }

  .pdf-form .text-input:focus {
    border-color: #4f6ef7;
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
    background: #ffffff;
  }

  .pdf-form .hint {
    display: block;
    min-height: 22px;
    margin: 6px 0 0 0;
    font-size: 12px;
    color: #9ca3af;
    text-indent: 0;
    line-height: 1.5;
  }

  .pdf-form .spacer-label {
    display: block;
    height: 20px;
    margin-bottom: 8px;
  }

  .pdf-form .spacer-block {
    height: 44px;
    box-sizing: border-box;
  }

  .pdf-form .submit-btn {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4f6ef7, #6a5af9);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    /* transition:
      opacity 0.2s,
      transform 0.1s; */
  }

  .pdf-form .submit-btn.btn-accent {
    background: linear-gradient(135deg, #f59e0b, #f97316);
  }

  .pdf-form .submit-btn:hover {
    opacity: 0.9;
    /* transform: translateY(-1px); */
  }

  .pdf-form .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  /* 遮罩层样式 */
  .mask-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* transition:
      opacity 0.3s ease,
      visibility 0.3s ease; */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* -webkit-transform: translateZ(0);
    transform: translateZ(0); */
  }

  .mask-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .mask-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 32px 28px 28px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    /* transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease; */
  }

  .mask-overlay.show .mask-content {
    /* transform: scale(1) translateY(0); */
  }

  .mask-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    /* transition:
      background 0.2s,
      color 0.2s; */
  }

  .mask-close-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
  }

  .pdf-step {
    margin-bottom: 16px;
    font-size: 20px;
    display: flex;
    flex-direction: row;
    font-weight: bold;
  }

  .pdf-step img {
    margin-right: 10px;
  }

  .pdf-result {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.8;
    display: none;
  }

  .pdf-result.show {
    display: block;
  }

  .pdf-result.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
  }

  .pdf-success-msg {
    margin: 0 0 4px 0;
    text-indent: 0;
    font-size: 15px;
    font-weight: 600;
    color: #047857;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }

  .pdf-success-msg img {
    vertical-align: middle;
  }

  .pdf-download-wrap {
    margin: 0;
    text-indent: 0;
  }

  .pdf-download-link {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    color: #2563eb;
    /* transition:
      opacity 0.2s,
      transform 0.1s; */
  }

  .pdf-download-link:hover {
    opacity: 0.92;
    /* transform: translateY(-1px); */
  }

  .pdf-result.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
  }

  .pdf-result a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
  }

  .pdf-result-text {
    margin-left: 30px;
  }