/*
.note-danger, .note-warning, .note-caution, .note-notice, .note-environment {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;

  .note-content {
    grid-column: 1 / span 2;
  }
  img {
    height: 100%;
    padding: 0 .3rem;
  }
  .note-signal {
    padding: .1rem;
    font-size: bold;
  }
  border: thin solid var(--red);
  margin-bottom: .5rem;
}
.note-notice {
  grid-template-columns: 1fr;

}

.note-info, .note-reference {
  img {
    height: 2.5rem;
    padding: 0 .2rem;
  }
}

.note-content {
  padding: .4rem;
}

.note-danger {
  border-color: var(--red);
  img {
    content:url('/images/danger.svg');
    background-color: var(--red);
    color: white;
    fill: white;
  }
  .note-signal {
    background-color: var(--red);
    color: white;
  }
}

.note-warning {
  border-color: var(--warning);
  img {
    content:url('/images/danger.svg');
    background-color: var(--warning);
  }

  .note-signal {
    background-color: var(--warning);
    color: white;
  }
}

.note-caution {
  border-color: var(--caution);
  img {
    content:url('/images/danger.svg');
    background-color: var(--caution);
  }

  .note-signal {
    background-color: var(--caution);
    color: white;
  }
}

.note-notice {
  border-color: var(--manual-info);

  .note-signal {
    background-color: var(--manual-info);
    color: white;
    font-style: italic;
  }
}

ol:has(li>div[data-type="preaction"]), ol:has(div.action) {
  list-style-type: none;
  counter-reset: item;
  padding-left: 0;
}

li:has(> div.item)::before {
  content: none !important;
  display: none !important;
}

li:has(div[data-type="preaction"]){
list-style-type: none;
  position: relative;
  padding-left: 1.5em;
  &:before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 0.5em;
    height: 0.5em;
    background-color: var(--red);
    border-radius: 50%;
  }
  &::marker{
    display: none;
  }
}
div.action {
list-style-type: none;
  position: relative;
  padding-left: 1.5em;
  &:before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 0;
    height: 0;
    border-top: 0.5em solid transparent;
    border-bottom: 0.5em solid transparent;
    border-left: 0.5em solid var(--black);
  }
  &::marker{
    display: none;
  }
}

div[data-type="result"] {
  list-style-type: none;
  position: relative;
  padding-left: 1.5em;
  display: flex;
  align-items: center;
  &:before {
    content: '✓';
    position: absolute;
    line-height: 1rem;
    left: 0;
  }
}

aside[data-type="xe"] {
  display: none;
}


dl[data-type="legend"]{
  display: grid;
  grid-template-columns: 3rem 1fr;
  grid-gap: 1rem;
  margin: 1rem 0;
}

img[data-type="symbol"] {
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding: .5rem;
}
dt {
  display: flex;
  align-items: center;
}

dd {
  margin-left: 0;
}

*/