ul {
    padding-left: 4; /* remove left padding */
    margin-left: 0; /* remove left margin */
    margin-bottom: 0; /* remove bottom margin */
    margin-top: 0; /* remove bottom margin */

}
.block {
    margin-bottom: 6px;
    margin-top: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 5px;
    padding-right: 5px;
}

.indent {
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.section {
    background: #d7e3d1;
}

.observation {
    background: #dce2e3;
    border: 1px solid #d9fae8;
}

.patient {
    background: #f1e2f5;
}

.diagnosticReport {
    background: #dee3dc;
}

.serviceRequest {
    background: #ffc4ae;
}


#project-nav {
  line-height: 50px;
  float: left;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #808080;
}
#project-logo {
  float: left;
  margin-left: 3px;
}

#family-nav {
    line-height: 50px;
    float: right;
    margin-top: 4px;
    margin-bottom: 8px;
    color: #808080;
}

.info-callout {
  border: 1px solid #aaaa00;
  border-radius: 4px;
  background-color: #ffff99;
  padding: 0.8em 1em;
  margin: 1em 0;
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.9em;
  line-height: 1.5;
}

.info-callout__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-callout__icon-img {
  height: 28px;
  width: 28px;
  filter: invert(35%) sepia(70%) saturate(400%) hue-rotate(25deg) brightness(85%);
}

.info-callout__text {
  flex: 1 1 auto;
  text-align: left;
  color: #333;
}

.info-callout__text p {
  margin: 0;
}

@media (max-width: 600px) {
  .info-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

.table-wrap {
  overflow: auto;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
thead th {
  background: #f6f8fa;
  font-weight: 600;
  text-align: center;
}
th,
td {
  border: 1px solid #d0d7de;
  padding: 4px 6px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
}
caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.relhead {
  background-color: #6f2e80 !important;
  color: #ffffff !important;
}
.relsub {
  background-color: #e6d7ec !important;
  font-weight: bold;
}
.src-head {
  background-color: #1f54d1;
  color: #ffffff;
}
.tgt-head {
  background-color: #be072f;
  color: #ffffff;
}
.src-sub {
  background-color: #adc3f6;
  font-weight: bold;
}
.tgt-sub {
  background-color: #d78496;
  font-weight: bold;
}
.highlight-yellow {
  background-color: #fff3b0; /* soft yellow */
}

/****************************
     * SCOPED STYLES
     ****************************/
    .model-map-block h3 {
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
    }
    .model-map-block h4 {
      margin-top: 2rem;
      margin-bottom: 0.5rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .model-map-block p {
      line-height: 1.4;
      margin-top: 0.5rem;
      margin-bottom: 1rem;
      max-width: 100%;
    }
    /****************************
     * CALLOUT BOX
     ****************************/
    .model-map-block .callout-wrapper {
      margin: 1rem 0 2rem 0;
    }
    .model-map-block .callout-box {
      border-radius: 8px;
      border: 1px solid #d6c78a;
      background: #fff8d6;
      padding: 0.75rem 1rem;
      line-height: 1.4;
    }
    .model-map-block .callout-box strong {
      display: block;
      margin-bottom: 0.4rem;
    }
    /****************************
     * TABLE STYLE (reused for each group)
     ****************************/
    .model-map-block .table-wrapper {
      border: 1px solid #d0d7de;
      border-radius: 10px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.04);
      overflow: hidden;
      max-width: 100%;
      background: #fff;
      margin-top: 0.75rem;
      margin-bottom: 2rem;
    }
    .model-map-block table.model-index {
      border-collapse: collapse;
      width: 100%;
      table-layout: auto;
      background: #fff;
    }
    .model-map-block .model-index thead th {
      background: #f6f8fa;
      font-weight: 600;
      text-align: left;
      border-bottom: 1px solid #d0d7de;
      padding: 8px;
      white-space: nowrap;
    }
    .model-map-block .model-index tbody td {
      border-top: 1px solid #d0d7de;
      padding: 8px;
      vertical-align: top;
    }
    .model-map-block .model-index code {
      background: #eef2ff;
      border: 1px solid #c7d2fe;
      border-radius: 4px;
      padding: 0 2px;
    }
    .model-map-block a.pill {
      display: inline-block;
      background: #ffffff;
      border: 1px solid #d0d7de;
      border-radius: 999px;
      padding: 3px 8px;
      line-height: 1.2;
      text-decoration: none;
      white-space: nowrap;
    }
    .model-map-block a.pill:hover {
      background: #f6f8fa;
    }
    /* small helper so emoji headers align nicely on some renderers */
    .model-map-block .group-emoji {
      font-size: 1.4rem;
      line-height: 1;
    }