/* SERtool resource page-specific styles */

    @media (max-width: 768px) {

      .nav-links li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
        position: relative;
      }

      .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background-color: #2d3748;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 8px;
        border-radius: 6px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
      }

      .nav-links li:hover .dropdown,
      .nav-links li:focus-within .dropdown {
        max-height: 300px;
        padding: 8px 0;
      }

      .dropdown a {
        padding: 10px 0;
        text-align: center;
        font-size: 15px;
        color: #cbd5e0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: background-color 0.2s;
      }

      .dropdown a:hover {
        background-color: #4a5568;
        color: white;
      }

    }

    /* ===== 主容器（与User Guide风格对齐） ===== */
    .main-container {
      max-width: 960px;
      margin: 40px auto;
      padding: 0 20px;
      width: 100%;
      flex: 1;
    }

    .page-header {
      text-align: center;
      margin: 0 auto 28px;
      padding: 28px 24px;
      background: linear-gradient(135deg, #14304f 0%, #1c4a76 50%, #266a9c 100%);
      border-radius: 12px;
      color: white;
      box-shadow: 0 6px 20px rgba(20, 48, 79, 0.18);
    }

    .page-title {
      font-size: 26px;
      color: #ffffff;
      margin: 0 0 12px;
      font-weight: 700;
      text-shadow: 0 1px 10px rgba(0, 20, 45, 0.5);
    }

    .page-sub {
      font-size: 14px;
      color: #dbeafe;
      text-shadow: 0 1px 6px rgba(0, 20, 45, 0.4);
      margin: 0 auto;
      max-width: 820px;
      line-height: 1.7;
      text-align: left;
    }

    .page-sub strong {
      color: #ffffff;
    }

    .page-sub a {
      color: #bee3f8;
      text-decoration: underline;
    }

    .page-sub a:hover {
      color: #ffffff;
    }

    /* ===== 区块卡片 ===== */
    .section {
      background-color: #ffffff;
      padding: 28px 32px;
      border-radius: 12px;
      margin-bottom: 30px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
      border: 1px solid #e2e8f0;
    }

    .section > h2 {
      color: #1a365d;
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 2px solid #ebf8ff;
      letter-spacing: 0.01em;
    }

    .section h3 {
      color: #2c5282;
      font-size: 16px;
      font-weight: 700;
      margin: 24px 0 10px;
      letter-spacing: 0.01em;
    }

    p {
      color: #4a5568;
      margin-bottom: 14px;
      text-align: left;
      font-size: 15px;
    }

    p a {
      color: #3182ce;
      text-decoration: underline;
    }

    p a:hover {
      color: #2b6cb0;
    }

    .table-container {
      width: 100%;
      overflow-x: auto;
      margin: 20px 0;
      border-radius: 10px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      background: white;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      min-width: 800px;
      table-layout: fixed;
    }

    .col-group   { width: 24%; }
    .col-species { width: 13%; }
    .col-counts  { width: 10%; }
    .col-rar     { width: 10%; }
    .col-targz   { width: 10%; }
    .col-tarxz   { width: 10%; }
    .col-release { width: 12%; }

    th, td {
      padding: 12px 14px;
      text-align: left;
      border-bottom: 1px solid #edf2f7;
      vertical-align: middle;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    th {
      background-color: #1a365d;
      color: white;
      font-weight: 600;
      font-size: 13.5px;
      letter-spacing: 0.02em;
      border-bottom: none;
      position: sticky;
      top: 0;
    }

    tbody tr:nth-child(even) { background-color: #f8fafc; }
    tbody tr:hover { background-color: #ebf8ff; }
    tbody tr:last-child td { border-bottom: none; }

    .dl-btn {
      display: inline-block;
      text-decoration: none;
      color: #1a365d;
      font-size: 12.5px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 6px;
      transition: all 0.2s;
      white-space: nowrap;
      background: #f0f7ff;
      border: 1px solid #bee3f8;
    }

    .dl-btn:hover {
      background: #1a365d;
      color: #ffffff !important;
      border-color: #1a365d;
      transform: translateY(-1px);
    }

    .dl-btn.primary {
      color: #c53030;
      background: #fff5f5;
      border-color: #feb2b2;
    }

    .dl-btn.primary:hover {
      background: #c53030;
      color: #ffffff !important;
      border-color: #c53030;
    }

    .inline-card {
      background: #f0f9ff;
      border: 1px solid #bee3f8;
      border-radius: 8px;
      padding: 14px 18px;
      margin: 14px 0;
      font-size: 14px;
      color: #2c5282;
      line-height: 1.7;
    }

    .inline-card a {
      color: #1a365d;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .main-container {
        margin: 24px auto;
        padding: 0 14px;
      }

      .page-header {
        padding: 20px 16px;
        margin-bottom: 20px;
      }

      .section {
        padding: 20px 18px;
      }

      .section > h2 {
        font-size: 17px;
      }

      table {
        font-size: 13px;
        min-width: 700px;
      }

      th, td {
        padding: 10px 10px;
      }

      .dl-btn {
        font-size: 11.5px;
        padding: 3px 8px;
      }
    }

    .navbar-logo {
      height: 30px !important;
      width: auto !important;
      margin-right: 8px;
      border-radius: 0 !important;
    }
  
  
