@scope (#original-content) {

    .shap-container {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      max-width: 1000px;
      margin: 0 auto;
      padding: 20px;
      line-height: 1.6;
      color: #333;
    }
    
    .shap-container h1 {
      font-size: 2.2rem;
      color: #2c3e50;
      margin-bottom: 1rem;
      text-align: center;
    }
    
    .shap-container h2 {
      font-size: 1.8rem;
      color: #2c3e50;
      margin-top: 2.5rem;
      margin-bottom: 1rem;
      border-bottom: 2px solid #eee;
      padding-bottom: 0.5rem;
    }
    
    .shap-container h3 {
      font-size: 1.4rem;
      color: #3498db;
      margin-top: 1.5rem;
      margin-bottom: 1rem;
    }
    
    .shap-container p {
      margin-bottom: 1.2rem;
      text-align: justify;
    }
    
    .shap-container ul, .shap-container ol {
      margin-bottom: 1.2rem;
      padding-left: 2rem;
    }
    
    .shap-container li {
      margin-bottom: 0.5rem;
    }
    
    .shap-container strong {
      font-weight: bold;
      color: #2c3e50;
    }
    
    .shap-container .highlight {
      background-color: #f9f9f9;
      border-left: 4px solid #3498db;
      padding: 1rem;
      margin: 1.5rem 0;
      border-radius: 0 4px 4px 0;
    }
    
    .shap-container code {
      font-family: 'Courier New', Courier, monospace;
      background-color: #f5f5f5;
      padding: 2px 5px;
      border-radius: 3px;
      font-size: 0.9em;
    }
    
    .shap-container .formula {
      background-color: #f9f9f9;
      padding: 15px;
      border-radius: 5px;
      text-align: center;
      font-style: italic;
      margin: 20px 0;
    }
    
    .shap-container img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 2rem auto;
      border-radius: 5px;
    }
    
    .shap-container a {
      color: #3498db;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .shap-container a:hover {
      color: #2980b9;
      text-decoration: underline;
    }
    
    .shap-container blockquote {
      border-left: 4px solid #3498db;
      padding-left: 1rem;
      margin-left: 0;
      margin-right: 0;
      font-style: italic;
      color: #555;
    }
    
    .shap-container .table-container {
      overflow-x: auto;
      margin: 2rem 0;
    }
    
    .shap-container table {
      width: 100%;
      border-collapse: collapse;
      margin: 2rem 0;
    }
    
    .shap-container th, .shap-container td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }
    
    .shap-container th {
      background-color: #f2f2f2;
      font-weight: bold;
    }
    
    .shap-container tr:hover {
      background-color: #f5f5f5;
    }
    
    /* Interactive visualization styling */
    .shap-container .visualization-container {
      margin: 2rem 0;
      padding: 20px;
      background-color: #f9f9f9;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .shap-container .controls-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .shap-container .control-group {
      flex: 1;
      min-width: 250px;
    }
    
    .shap-container .control-group h4 {
      margin-top: 0;
      margin-bottom: 10px;
      color: #2c3e50;
    }
    
    .shap-container .form-group {
      margin-bottom: 15px;
    }
    
    .shap-container label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
    }
    
    .shap-container select,
    .shap-container input {
      width: 100%;
      padding: 8px 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      background-color: white;
      font-size: 14px;
    }
    
    .shap-container button {
      background-color: #3498db;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.3s;
    }
    
    .shap-container button:hover {
      background-color: #2980b9;
    }
    
    .shap-container .visualization-area {
      position: relative;
      height: 500px;
      border: 1px solid #ddd;
      border-radius: 4px;
      background-color: white;
      margin-top: 20px;
    }
    
    .shap-container .plot-canvas {
      width: 100%;
      height: 100%;
    }
    
    .shap-container .results-container {
      margin-top: 20px;
      padding: 15px;
      background-color: #f0f7ff;
      border-radius: 4px;
      border-left: 4px solid #3498db;
    }
    
    .shap-container .results-title {
      font-weight: bold;
      margin-bottom: 10px;
      font-size: 1.1em;
    }
    
    .shap-container .result-item {
      margin-bottom: 8px;
    }
    
    .shap-container .tabs {
      display: flex;
      margin-bottom: 20px;
      border-bottom: 1px solid #ddd;
    }
    
    .shap-container .tab {
      padding: 10px 20px;
      cursor: pointer;
      background-color: #f5f5f5;
      border: 1px solid #ddd;
      border-bottom: none;
      border-radius: 4px 4px 0 0;
      margin-right: 5px;
    }
    
    .shap-container .tab.active {
      background-color: white;
      border-bottom: 1px solid white;
      margin-bottom: -1px;
      font-weight: bold;
    }
    
    .shap-container .tab-content {
      display: none;
    }
    
    .shap-container .tab-content.active {
      display: block;
    }
    
    .shap-container .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 15px;
    }
    
    .shap-container .legend-item {
      display: flex;
      align-items: center;
      font-size: 14px;
    }
    
    .shap-container .legend-color {
      width: 20px;
      height: 20px;
      border-radius: 3px;
      margin-right: 6px;
    }
    
    .shap-container .explanation {
      background-color: #f9f9f9;
      padding: 15px;
      border-radius: 5px;
      margin-top: 20px;
    }
    
    .shap-container .tooltip {
      position: absolute;
      padding: 8px 12px;
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      border-radius: 4px;
      font-size: 14px;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s;
      z-index: 100;
    }
    
    /* Force plot specific styling */
    .shap-container .force-plot {
      position: relative;
      width: 100%;
      height: 100px;
      margin: 20px 0;
      overflow: hidden;
    }
    
    .shap-container .force-bar {
      position: relative;
      height: 30px;
      margin: 20px 0;
      background-color: #f5f5f5;
      border-radius: 4px;
    }
    
    .shap-container .force-segment {
      position: absolute;
      height: 100%;
      transition: all 0.3s ease;
    }
    
    .shap-container .force-segment-label {
      position: absolute;
      font-size: 12px;
      white-space: nowrap;
      transition: all 0.3s ease;
    }
    
    .shap-container .force-feature-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }
    
    .shap-container .force-feature-item {
      padding: 6px 10px;
      border-radius: 15px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .shap-container .force-feature-item:hover {
      transform: translateY(-2px);
    }
    
    /* Summary plot specific styling */
    .shap-container .summary-plot {
      position: relative;
      height: 400px;
      margin: 20px 0;
    }
    
    .shap-container .summary-bar {
      position: relative;
      height: 25px;
      margin: 5px 0;
      background-color: #f5f5f5;
      border-radius: 4px;
      transition: all 0.3s ease;
    }
    
    .shap-container .summary-bar-fill {
      position: absolute;
      height: 100%;
      background-color: #3498db;
      border-radius: 4px;
      transition: width 0.5s ease;
    }
    
    .shap-container .summary-label {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
    }
    
    .shap-container .summary-value {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      font-weight: bold;
    }
    
    /* Dependency plot specific styling */
    .shap-container .dependency-plot {
      position: relative;
      height: 300px;
      margin: 20px 0;
    }
    
    .shap-container .data-point {
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .shap-container .data-point:hover {
      transform: scale(1.5);
    }
    
    .shap-container .axis {
      position: absolute;
      background-color: #333;
    }
    
    .shap-container .axis-x {
      height: 1px;
      bottom: 40px;
      left: 50px;
      right: 20px;
    }
    
    .shap-container .axis-y {
      width: 1px;
      left: 50px;
      top: 20px;
      bottom: 40px;
    }
    
    .shap-container .axis-label {
      position: absolute;
      font-size: 12px;
    }
    
    .shap-container .axis-tick {
      position: absolute;
      background-color: #333;
    }
    
    .shap-container .x-tick {
      width: 1px;
      height: 5px;
      bottom: 40px;
    }
    
    .shap-container .y-tick {
      height: 1px;
      width: 5px;
      left: 50px;
    }
    
    .shap-container .tick-label {
      position: absolute;
      font-size: 10px;
      text-align: center;
    }
    
    /* Example model section styling */
    .shap-container .model-container {
      background-color: #f9f9f9;
      padding: 20px;
      border-radius: 5px;
      margin: 20px 0;
    }
    
    .shap-container .feature-inputs {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin: 20px 0;
    }
    
    .shap-container .feature-input {
      flex: 1;
      min-width: 150px;
    }
    
    .shap-container .prediction-result {
      padding: 15px;
      background-color: #e8f4fc;
      border-radius: 5px;
      margin-top: 20px;
      text-align: center;
    }
    
    .shap-container .prediction-value {
      font-size: 24px;
      font-weight: bold;
      color: #2c3e50;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .shap-container .controls-container {
        flex-direction: column;
      }
      
      .shap-container .control-group {
        width: 100%;
      }
      
      .shap-container .visualization-area {
        height: 400px;
      }
    }
  
}
