  .semantic-dependency-layout {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 12px;
    overflow: auto;
  }

  .semantic-tree-left {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #d4e1d7;
    border-radius: 8px;
    padding: 10px;
    background: #fbfdfb;
    overflow: hidden;
  }

  .semantic-side-stack {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
  }

  .semantic-tree-host {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
  }

  .semantic-exchange-focus {
    font-size: 13px;
    color: #476072;
    line-height: 1.45;
  }

  .semantic-empty-state {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px;
    border: 1px dashed #c5d3dd;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf8 100%);
    color: #476072;
  }

  .semantic-empty-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f3447;
  }

  .semantic-empty-state p {
    margin: 0;
    max-width: 300px;
    line-height: 1.5;
  }

  .semantic-tree-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #005423;
  }

  .semantic-tree-left .radio-wrapper {
    margin-bottom: 8px;
    flex: 0 0 auto;
  }

  .semantic-tree-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
  }

  .tab-pane.semantic-dependency-pane {
    overflow: auto;
  }

  .tab-pane.semantic-dependency-pane.active {
    display: flex;
    overflow: auto;
  }

  .tab-pane.semantic-dependency-pane > .semantic-dependency-layout {
    flex: 1;
    min-height: 0;
  }
  
  .definition-sidebar {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
  }

  .definition-sidebar.open {
    right: 0;
  }

  .sidebar-header {
    background: linear-gradient(90deg, #00662C, #0b7d3c);
    padding: 20px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
  }

  .sidebar-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #FFFFFF;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    color: #2c3e50;
  }

  .sidebar-content h4 {
    margin-top: 0;
    color: #00662C;
    font-size: 18px;
  }

  .sidebar-content p {
    line-height: 1.6;
    font-size: 14px;
  }

  .sidebar-loading {
    text-align: center;
    padding: 40px;
    color: #7b7b7b;
  }

  .technical-busy-anchor {
    position: relative;
  }

  .technical-busy-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 16px;
    background: rgba(241, 247, 244, 0.72);
    backdrop-filter: blur(6px);
  }

  .technical-busy-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    max-width: 400px;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid rgba(110, 144, 124, 0.28);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(237, 245, 240, 0.95) 100%);
    box-shadow: 0 18px 40px rgba(27, 47, 36, 0.16);
    text-align: center;
  }

  .technical-busy-spinner {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 4px solid rgba(0, 102, 44, 0.14);
    border-top-color: #00662c;
    animation: technicalBusySpin 0.8s linear infinite;
  }

  .technical-busy-title {
    font-size: 18px;
    font-weight: 800;
    color: #17312a;
  }

  .technical-busy-copy {
    font-size: 14px;
    line-height: 1.55;
    color: #486057;
  }

  @keyframes technicalBusySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
