/* Shared RDF / Turtle code viewer */

.code-panel {
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #f3f3f3;
    overflow: hidden;
  }
  
  .code-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e9e9e9;
    border-bottom: 1px solid #d6d6d6;
  }
  
  .code-tab {
    background: var(--ui-accent);
    color: #fff;
    padding: 10px 16px;
    font-weight: 600;
  }
  
  .copy-btn {
    margin-right: 10px;
  }
  
  .ttl-wrap {
    background: #f5f5f5;
    padding: 16px;
    overflow: auto;
    max-height: 50vh;
  }
  
  .ttl-table {
    width: 100%;
    font-family: Consolas, monospace;
    font-size: 13px;
    border-collapse: collapse;
  }
  
  .ttl-line-no {
    width: 40px;
    text-align: right;
    color: #999;
    padding-right: 10px;
    vertical-align: top;
    user-select: none;
  }
  
  .ttl-line-code {
    padding-left: 10px;
    white-space: pre;
  }
  
  .ttl-curie { color: #0086b3; }
  .ttl-iri { color: #1a0dab; }
  .ttl-literal { color: #a31515; }
  .ttl-keyword { color: #0000cc; font-weight: 600; }
  .ttl-prefixdecl { color: #7a3e9d; font-weight: 600; }
  .ttl-prefixname { color: #0086b3; font-weight: 600; }
  .ttl-lang { color: #795e26; }
  .ttl-dtype { color: #795e26; }