body {
  /* Normal */
  font-size: 14px;
  font-family: "Arial", sans-serif;
  color: #000; /* Standard black text for readability */
}

td {
  /* Table */
  font-size: 14px;
  font-family: "Arial", sans-serif;
  color: #000;
}

h2 {
  /* Header 2 */
  font-size: 22px;
  font-family: "Arial", sans-serif;
  color: #333; /* Neutral dark gray */
  padding-top: 40px;
}

h4 {
  font-size: 14px;
  font-family: "Arial", sans-serif;
  font-style: italic;
  color: #555; /* Subtle lighter gray for secondary emphasis */
}

.title {
  font-size: 38px;
  font-family: "Arial", sans-serif;
  color: #333; /* Neutral dark gray to avoid overly vibrant tones */
}

.tabset-dropdown {
  /* Dropdown setting */
  text-align: right;
  font-size: 14px;
  font-family: "Arial", sans-serif;
  color: #000; /* Black for dropdown text */
}

.tocify-item {
  /* Table of content */
  overflow: hidden;
  height: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333; /* Neutral dark gray for TOC items */
}

.level3 {
  /* Level 3 plot */
  font-size: 12px;
  font-family: "Arial", sans-serif;
  color: #555; /* Subtle lighter gray */
}

.main-container {
  /* Max main container */
  max-width: 85% !important;
}

.show-modal {
  font-weight: 600;
  border: none;
  background-color: #fff;
  color: #1a73e8; /* Subtle blue for interactivity */
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 2rem; /* Adjusted size for consistency */
  color: #666; /* Neutral gray */
  cursor: pointer;
  border: none;
  background: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95); /* Light backdrop */
  backdrop-filter: blur(4px); /* Slightly enhanced blur */
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.1); /* Reduced shadow intensity */
  z-index: 5;
}

.hidden {
  display: none;
}

.header {
  font-size: 22px;
  font-family: "Arial", sans-serif;
  color: #333; /* Neutral dark gray */
  padding-top: 40px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent background */
}

.modal-content {
  margin: 5% auto;
  background-color: #f9f9f9; /* Light gray background for content */
  padding: 20px;
  border: 1px solid #ddd; /* Soft border */
  width: 80%;
  color: #000; /* Standard black for content text */
}

.close-modal {
  color: #666; /* Neutral gray */
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #000; /* Black for hover focus */
  text-decoration: none;
  cursor: pointer;
}

.open-modal {
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  background-color: #0073e6; /* Subtle blue for buttons */
  color: #fff;
  border: none;
  border-radius: 4px;
}

.open-modal:hover {
  background-color: #005bb5; /* Slightly darker blue on hover */
}
