html,body,#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body { overflow: hidden; }
/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
      background-color: black;
      color: white;
  }
}
.drag {
  -webkit-app-region: drag;
}
.noDrag {
  -webkit-app-region: no-drag;
}

ol.number, ol.subnumber, ol.alpha, ol.roman {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ol.number { counter-reset: item; }
ol.subnumber { counter-reset: subitem; }
ol.alpha { counter-reset: alphaitem; margin-left: 3em; }
ol.roman { counter-reset: romanitem; }

ol.number > p, ol.subnumber > p, ol.alpha > p, ol.roman > p {
  margin-left: 3em;
}
ol.roman > p, ol.alpha > p {
  margin-left: 0;
}

ol.alpha > li:before {
  content: "(" counter(alphaitem, lower-alpha) ") ";
  display: table-cell;
  width: 3em;
}
ol.alpha > li {
  display: table;
  counter-increment: alphaitem;
  margin-bottom: 0.6em;
}
ol.roman > li:before {
  content: "(" counter(romanitem, lower-roman) ") ";
  display: table-cell;
  width: 3em;
}
ol.roman > li {
  display: table;
  counter-increment: romanitem;
  margin-top: 0.6em;
}
ol.number > li {
  display: table;
  counter-increment: item;
  margin-bottom: 0.6em;
}
ol.number > li.section {
  margin-top: 2em;
}
ol.subnumber > li {
  display: table;
  counter-increment: subitem;
  margin-bottom: 0.6em;
}

ol.number > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  width: 3em;
}
ol.subnumber > li:before {
  content: counters(item, ".") "." counters(subitem, ".") ". ";
  display: table-cell;
  width: 3em;
}

ol.number li ol > li, ol.subnumber li ol > li, ol.alpha li ol > li, ol.roman li ol > li {
  margin: 0;
}

ol.number li ol > li:before, ol.subnumber li ol > li:before, ol.alpha li ol > li:before, ol.roman li ol > li:before {
  content: counters(item, ".") " ";
}

@media screen and (min-width: 450px) {
  .intercom-messenger-frame {
    bottom: 180px !important;
    height: min(704px, 100% - 200px) !important;
  }
  .intercom-app>iframe {
    bottom: 160px !important;
  }
}

