/* Define colors here */

:root {

  --ig-status-text-color: #002060;
  /* 1. IG Title and status text color */
  /* --navbar-bg-color: #26407e; 2. Header container color */
  --navbar-bg-color: #015085;
  /* 2. Header container color */
  /* --footer-bg-color: #777799;  3. Footer background color*/
  --footer-bg-color: #4ED998;
  /* 3. Footer background color*/
  /* 4 --footer-container-bg-color: #2d457e; . Footer container color */
  --footer-container-bg-color: #015085;
  /* 4. Footer container color */

  --stripe-bg-color: #4ED998;
  /* 5. Header strip color */

  --btn-hover-color: #44aabb;
  /* 6. Menu button hover color */
  --btn-active-color: #60a0f0;
  /* 7. Menu button active color */
  --btn-text-color: #f5f5f0;
  /* 8. Menu button text color */
  --btn-gradient-start-color: #428bca;
  /* 9. Menu item gradient start color */
  --btn-gradient-end-color: #357ebd;
  /* 10. Menu item gradient end  color */
  --btn-gradient-start-color-alpha: #ff428bca;
  /* 11. Menu item gradient start color (with alpha) */
  --btn-gradient-end-color-alpha: #ff357ebd;
  /* 12. Menu item gradient end color (with alpha) */
  --link-color: #334c99;
  /* 13. Hyperlink text color */
  --link-hover-color: #492f7a;
  /* 14. Hyperlink text hover color */

  --publish-box-bg-color: #ffff99;
  /* 15. Publish box background color */
  --publish-box-border: 1px solid #aaaa00;
  /* 16.  Publish box border definition */

  --toc-box-bg-color: #ddeeff;
  /* 17.  TOC box background color */
  --toc-box-border: 1px solid navy;
  /* 18. TOC box border definition */

  --stu-note-background-color: #f2f2ff;
  /* 19. (STU) Note box background color */
  --stu-note-border-left-color: #a0a0ff;
  /* 20. (STU) Note box border color */

  --ig-header-color: #c9ebdb;
  /* 21. Header color (sides) */
  --ig-header-container-color: #ffffff;
  /* 22. Header container color (center) */
  --footer-nav-bg-color: #f5f5f5;
  /* 23. Footer navigation background color*/
  --footer-text-color: #ffffff;
  /* 24. Footer highlight font color */
  --footer-hyperlink-text-color: #dadacc;
  /* 25. Footer hyperlinks font color */
  --footer-highlight-text-color: #ffff77;
  /* 26. Footer highlight font color */
  --breadcrumb-bg-color: #e7e7e7;
  /* 27. Breadcrumb background color */
  --breadcrumb-text-color: #000000;
  /* 28. Breadcrumb font color */
  --dragon-background-color: #ebe7ee;
  /* 29. Dragon background color */
  --dragon-font-color: #c76139;
  /* 30. Dragon font color */


}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1em 0 0.4em 0;
  color: #2d457e;
}

p,
li {
  font-size: 13px;
}

table.grid td {
  font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1em 0 0.4em 0;
  color: #2d457e;
}

p,
li {
  font-size: 13px;
}

table.grid td {
  font-size: 13px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 1rem;
  background: #f5f7fb;
  color: #1a1a1a;
  line-height: 1.4;
}
h3 {
  margin-bottom: 0.5rem;
}
p.lead {
  max-width: 70ch;
}
/* warning box */
blockquote.dragon {
  background: #fff1f0;
  border: 1px solid #ffccc7;
  border-left: 4px solid #ff4d4f;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
/* Legend box full width – keep in case you reuse it elsewhere */
.legend {
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 1rem 0;
  width: 100%;
  box-sizing: border-box;
}
.legend dt {
  font-weight: 600;
  float: left;
  width: 6rem;
}
.legend dd {
  margin-left: 6rem;
  margin-bottom: 0.5rem;
}
.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;
}