@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap";

/* ../../../../../tmp/anafero-dist-git_https___github_com_metanorma_firelight_main_packages_plateau_layout-Pz6P56/layout.css */
.layout_descendantNavigation {
  padding: 1.5em 2em 1em 2em;
  container-type: inline-size;
  line-height: 1.6;
  text-wrap-style: balance;
  background-color: var(--spectrum-accent-color-100);
  background-image:
    linear-gradient(
      180deg,
      var(--spectrum-alias-dropshadow-color),
      transparent .7rem);
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
    > li {
      word-break: auto-phrase;
      display: flex;
      gap: .75em;
      &::before {
        html:not([lang=ja], [lang=ko], [lang=zh]) & {
          line-height: 1.8;
        }
        content: "\23f5";
        color: var(--spectrum-accent-color-1200);
      }
      > a {
        font-weight: 400;
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        &:link,
        &:visited {
          color: var(--spectrum-accent-color-1200);
        }
        &:link {
          text-decoration: none;
        }
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}
@container (width < 680px) {
  .layout_descendantNavigation ul {
    columns: 1;
  }
}
@counter-style layout_jis-style {
  system: extends lower-alpha;
  suffix: ") ";
}
.layout_overall {
  html[lang=ja] & {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 330;
    font-size: 18px;
    line-height: 1.3;
    font-style: normal;
  }
  > article {
    line-height: 1.42;
    overflow-wrap: anywhere;
    word-break: auto-phrase;
    > :first-child {
      padding-block-start: 0.83em;
      padding-block-end: 0.83em;
      margin-block-start: 0;
      margin-block-end: 0;
      padding-left: 2rem !important;
      padding-right: 2rem !important;
      background-image:
        linear-gradient(
          179deg,
          var(--spectrum-alias-highlight-hover) 20px,
          transparent 5rem);
    }
    > :not(:first-child) {
      margin-left: 2rem !important;
      margin-right: 2rem !important;
    }
    html:not([lang=ja], [lang=ko], [lang=zh]) & h1 + p:not(:only-of-type):first-letter {
      font-size: 3em;
      float: left;
      line-height: 2rem;
      margin-right: .25rem;
      padding: .1em 0;
    }
    > h1 {
      font-size: 2em;
      line-height: 1.3;
    }
    > h1 + * {
      margin-block-start: 2em !important;
    }
    > :not(h1):last-child {
      margin-block-end: 2em !important;
    }
    sup {
      line-height: 1;
    }
    &[contenteditable=false] br.ProseMirror-trailingBreak {
      display: none;
    }
    p {
      margin: 0;
      text-wrap-style: pretty;
    }
    ul,
    ol {
      margin: 0;
      padding: 0;
      padding-left: 2em;
    }
    p + p {
      text-indent: 1em;
    }
    p + figure,
    figure + p,
    ul + figure,
    figure + ul,
    ol + figure,
    figure + ol,
    figure + figure {
      margin-top: 1em;
    }
    dl {
      display: grid;
      grid-template-columns: 25% 75%;
    }
    ol {
      list-style: lower-latin;
      html[lang=ja] & {
        list-style: layout_jis-style;
      }
    }
    li:has(figure) {
      margin-bottom: 1em;
    }
    pre {
      white-space: pre-wrap;
      word-break: break-all;
    }
    figure {
      margin: 0;
      padding: 0;
      > pre {
        padding: .5em;
        margin: 0;
        overflow: auto;
      }
      &:has(> img) {
        padding: .5em 1em;
        border-radius: 5px;
        text-align: center;
        background: white;
        > img {
          margin: .5em;
        }
        > figcaption {
          color: var(--spectrum-global-color-static-black);
        }
      }
    }
    figcaption {
      font-weight: 400;
      text-wrap-style: balance;
    }
    img {
      max-width: 100%;
    }
    blockquote {
      --width: 40px;
      --font-size: 100px;
      position: relative;
      margin: 1em 0;
      padding: 0 0 0 var(--width);
      &:before {
        content: "\201c";
        position: absolute;
        font-size: var(--font-size);
        line-height: 1;
        display: block;
        opacity: 1;
        left: 0;
        top: 0;
        transform: translateY(-25%);
        width: var(--width);
        height: var(--width);
      }
    }
    table {
      --table-highlight-background: var(--spectrum-gray-200);
      --table-border: 1px solid var(--spectrum-alias-border-color-mid);
      width: 100%;
      border-collapse: collapse;
      border: var(--table-border);
      overflow: visible;
      font-size: 16px;
      tr:last-child td:only-child:has(dl:only-child) {
        padding: 0 10px;
        dl {
          grid-template-columns: fit-content(10px) 100%;
          dd {
            margin: 0;
          }
        }
      }
      tr {
        border-bottom: var(--table-border);
      }
      td,
      th {
        border-right: var(--table-border);
        word-break: break-word;
        vertical-align: top;
        text-align: left;
        padding: 0.25em;
      }
      td:nth-child(1),
      td:nth-child(2),
      td:nth-child(3) {
        word-break: unset !important;
      }
      th {
        font-weight: 400;
        background: var(--table-highlight-background);
      }
    }
  }
}
/*# sourceMappingURL=index.css.map */
