:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --accent: #ff6b81;
    --muted: #6b7280;
    --border: #e6e8ee;
  }
  
  html, body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: #111;
  }
  
  .container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 28px;
  }
  
  h1 {
    margin: 0 0 18px;
    font-size: 26px;
  }
  
  p.lead {
    margin: 0 0 24px;
    color: var(--muted);
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(13,16,22,0.04);
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  thead th {
    background: #fbfbff;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
  }
  
  tbody td {
    padding: 10px 12px;
    border-bottom: 1px dashed #f0f2f6;
  }
  
  tbody tr:last-child td {
    border-bottom: none;
  }
  
  .muted {
    color: var(--muted);
    font-size: 13px;
  }
  
  /* DER */
  .der-wrap {
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #fbfbff 100%);
    border: 1px solid var(--border);
  }
  
  .entity {
    display: inline-block;
    vertical-align: top;
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 8px;
    min-width: 170px;
    margin: 10px;
  }
  
  .entity h4 {
    margin: 0 0 8px;
    font-size: 15px;
  }
  
  .entity ul {
    margin: 0;
    padding: 0 0 0 16px;
    font-size: 13px;
    color: #222;
  }
  
  .line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #111;
    margin: 32px 8px 0 8px;
    vertical-align: middle;
  }
  
  .crow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .line-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
  }
  
  
  @media (max-width: 820px) {
    .grid {
      grid-template-columns: 1fr;
    }
    .entity {
      min-width: 140px;
    }
  }
  