@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: "";
  content: none;
}

q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --font-body: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  --font-code: Lucida Console, DejaVu Sans Mono, Ubuntu Mono, Monaco, monospace;
  --color-primary: #206ea7;
  --color-primary-light: rgba(32,110,167,0.15);
  --color-link: #206ea7;
  --color-page: #206ea7;
  --color-page-draft: #7e50b1;
  --color-chapter: #af4d0d;
  --color-book: #077b70;
  --color-bookshelf: #a94747;
  --color-positive: #0f7d15;
  --color-negative: #ab0f0e;
  --color-info: #0288D1;
  --color-warning: #cf4d03;
  --bg-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='19' height='19' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(143)'%3E%3Crect width='100%25' height='100%25' fill='rgba(42, 67, 101,0)'/%3E%3Cpath d='M-10 30h60v20h-60zM-10-10h60v20h-60' fill='rgba(26, 32, 44,0)'/%3E%3Cpath d='M-10 10h60v20h-60zM-10-30h60v20h-60z' fill='rgba(0, 0, 0,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E");
}

:root.dark-mode {
  --bg-disabled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='19' height='19' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(143)'%3E%3Crect width='100%25' height='100%25' fill='rgba(42, 67, 101,0)'/%3E%3Cpath d='M-10 30h60v20h-60zM-10-10h60v20h-60' fill='rgba(26, 32, 44,0)'/%3E%3Cpath d='M-10 10h60v20h-60zM-10-30h60v20h-60z' fill='rgba(255, 255, 255,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E");
  color-scheme: only dark;
  --color-positive: #4aa850;
  --color-negative: #e85c5b;
  --color-warning: #de8a5a;
}

:root:not(.dark-mode) {
  color-scheme: only light;
}

.m-none {
  margin: 0 !important;
}

.mx-none {
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}

.my-none {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mt-none {
  margin-top: 0 !important;
}

.mr-none {
  margin-inline-end: 0 !important;
}

.mb-none {
  margin-bottom: 0 !important;
}

.ml-none {
  margin-inline-start: 0 !important;
}

.m-xxs {
  margin: 3px !important;
}

.mx-xxs {
  margin-inline-start: 3px !important;
  margin-inline-end: 3px !important;
}

.my-xxs {
  margin-top: 3px !important;
  margin-bottom: 3px !important;
}

.mt-xxs {
  margin-top: 3px !important;
}

.mr-xxs {
  margin-inline-end: 3px !important;
}

.mb-xxs {
  margin-bottom: 3px !important;
}

.ml-xxs {
  margin-inline-start: 3px !important;
}

.m-xs {
  margin: 6px !important;
}

.mx-xs {
  margin-inline-start: 6px !important;
  margin-inline-end: 6px !important;
}

.my-xs {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.mt-xs {
  margin-top: 6px !important;
}

.mr-xs {
  margin-inline-end: 6px !important;
}

.mb-xs {
  margin-bottom: 6px !important;
}

.ml-xs {
  margin-inline-start: 6px !important;
}

.m-s {
  margin: 12px !important;
}

.mx-s {
  margin-inline-start: 12px !important;
  margin-inline-end: 12px !important;
}

.my-s {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

.mt-s {
  margin-top: 12px !important;
}

.mr-s {
  margin-inline-end: 12px !important;
}

.mb-s {
  margin-bottom: 12px !important;
}

.ml-s {
  margin-inline-start: 12px !important;
}

.m-m {
  margin: 16px !important;
}

.mx-m {
  margin-inline-start: 16px !important;
  margin-inline-end: 16px !important;
}

.my-m {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

.mt-m {
  margin-top: 16px !important;
}

.mr-m {
  margin-inline-end: 16px !important;
}

.mb-m {
  margin-bottom: 16px !important;
}

.ml-m {
  margin-inline-start: 16px !important;
}

.m-l {
  margin: 24px !important;
}

.mx-l {
  margin-inline-start: 24px !important;
  margin-inline-end: 24px !important;
}

.my-l {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.mt-l {
  margin-top: 24px !important;
}

.mr-l {
  margin-inline-end: 24px !important;
}

.mb-l {
  margin-bottom: 24px !important;
}

.ml-l {
  margin-inline-start: 24px !important;
}

.m-xl {
  margin: 32px !important;
}

.mx-xl {
  margin-inline-start: 32px !important;
  margin-inline-end: 32px !important;
}

.my-xl {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}

.mt-xl {
  margin-top: 32px !important;
}

.mr-xl {
  margin-inline-end: 32px !important;
}

.mb-xl {
  margin-bottom: 32px !important;
}

.ml-xl {
  margin-inline-start: 32px !important;
}

.m-xxl {
  margin: 48px !important;
}

.mx-xxl {
  margin-inline-start: 48px !important;
  margin-inline-end: 48px !important;
}

.my-xxl {
  margin-top: 48px !important;
  margin-bottom: 48px !important;
}

.mt-xxl {
  margin-top: 48px !important;
}

.mr-xxl {
  margin-inline-end: 48px !important;
}

.mb-xxl {
  margin-bottom: 48px !important;
}

.ml-xxl {
  margin-inline-start: 48px !important;
}

.m-auto {
  margin: auto !important;
}

.mx-auto {
  margin-inline-start: auto !important;
  margin-inline-end: auto !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mr-auto {
  margin-inline-end: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ml-auto {
  margin-inline-start: auto !important;
}

.p-none {
  padding: 0 !important;
}

.px-none {
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
}

.py-none {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pt-none {
  padding-top: 0 !important;
}

.pr-none {
  padding-inline-end: 0 !important;
}

.pb-none {
  padding-bottom: 0 !important;
}

.pl-none {
  padding-inline-start: 0 !important;
}

.p-xxs {
  padding: 3px !important;
}

.px-xxs {
  padding-inline-start: 3px !important;
  padding-inline-end: 3px !important;
}

.py-xxs {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.pt-xxs {
  padding-top: 3px !important;
}

.pr-xxs {
  padding-inline-end: 3px !important;
}

.pb-xxs {
  padding-bottom: 3px !important;
}

.pl-xxs {
  padding-inline-start: 3px !important;
}

.p-xs {
  padding: 6px !important;
}

.px-xs {
  padding-inline-start: 6px !important;
  padding-inline-end: 6px !important;
}

.py-xs {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.pt-xs {
  padding-top: 6px !important;
}

.pr-xs {
  padding-inline-end: 6px !important;
}

.pb-xs {
  padding-bottom: 6px !important;
}

.pl-xs {
  padding-inline-start: 6px !important;
}

.p-s {
  padding: 12px !important;
}

.px-s {
  padding-inline-start: 12px !important;
  padding-inline-end: 12px !important;
}

.py-s {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.pt-s {
  padding-top: 12px !important;
}

.pr-s {
  padding-inline-end: 12px !important;
}

.pb-s {
  padding-bottom: 12px !important;
}

.pl-s {
  padding-inline-start: 12px !important;
}

.p-m {
  padding: 16px !important;
}

.px-m {
  padding-inline-start: 16px !important;
  padding-inline-end: 16px !important;
}

.py-m {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.pt-m {
  padding-top: 16px !important;
}

.pr-m {
  padding-inline-end: 16px !important;
}

.pb-m {
  padding-bottom: 16px !important;
}

.pl-m {
  padding-inline-start: 16px !important;
}

.p-l {
  padding: 24px !important;
}

.px-l {
  padding-inline-start: 24px !important;
  padding-inline-end: 24px !important;
}

.py-l {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.pt-l {
  padding-top: 24px !important;
}

.pr-l {
  padding-inline-end: 24px !important;
}

.pb-l {
  padding-bottom: 24px !important;
}

.pl-l {
  padding-inline-start: 24px !important;
}

.p-xl {
  padding: 32px !important;
}

.px-xl {
  padding-inline-start: 32px !important;
  padding-inline-end: 32px !important;
}

.py-xl {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.pt-xl {
  padding-top: 32px !important;
}

.pr-xl {
  padding-inline-end: 32px !important;
}

.pb-xl {
  padding-bottom: 32px !important;
}

.pl-xl {
  padding-inline-start: 32px !important;
}

.p-xxl {
  padding: 48px !important;
}

.px-xxl {
  padding-inline-start: 48px !important;
  padding-inline-end: 48px !important;
}

.py-xxl {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.pt-xxl {
  padding-top: 48px !important;
}

.pr-xxl {
  padding-inline-end: 48px !important;
}

.pb-xxl {
  padding-bottom: 48px !important;
}

.pl-xxl {
  padding-inline-start: 48px !important;
}

.p-auto {
  padding: auto !important;
}

.px-auto {
  padding-inline-start: auto !important;
  padding-inline-end: auto !important;
}

.py-auto {
  padding-top: auto !important;
  padding-bottom: auto !important;
}

.pt-auto {
  padding-top: auto !important;
}

.pr-auto {
  padding-inline-end: auto !important;
}

.pb-auto {
  padding-bottom: auto !important;
}

.pl-auto {
  padding-inline-start: auto !important;
}

.gap-none {
  gap: 0 !important;
}

.gap-x-none {
  column-gap: 0 !important;
}

.gap-y-none {
  row-gap: 0 !important;
}

.gap-xxs {
  gap: 3px !important;
}

.gap-x-xxs {
  column-gap: 3px !important;
}

.gap-y-xxs {
  row-gap: 3px !important;
}

.gap-xs {
  gap: 6px !important;
}

.gap-x-xs {
  column-gap: 6px !important;
}

.gap-y-xs {
  row-gap: 6px !important;
}

.gap-s {
  gap: 12px !important;
}

.gap-x-s {
  column-gap: 12px !important;
}

.gap-y-s {
  row-gap: 12px !important;
}

.gap-m {
  gap: 16px !important;
}

.gap-x-m {
  column-gap: 16px !important;
}

.gap-y-m {
  row-gap: 16px !important;
}

.gap-l {
  gap: 24px !important;
}

.gap-x-l {
  column-gap: 24px !important;
}

.gap-y-l {
  row-gap: 24px !important;
}

.gap-xl {
  gap: 32px !important;
}

.gap-x-xl {
  column-gap: 32px !important;
}

.gap-y-xl {
  row-gap: 32px !important;
}

.gap-xxl {
  gap: 48px !important;
}

.gap-x-xxl {
  column-gap: 48px !important;
}

.gap-y-xxl {
  row-gap: 48px !important;
}

.gap-auto {
  gap: auto !important;
}

.gap-x-auto {
  column-gap: auto !important;
}

.gap-y-auto {
  row-gap: auto !important;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

* {
  box-sizing: border-box;
  outline-color: var(--color-primary);
  outline-width: 1px;
}

*:focus {
  outline-style: dotted;
}

html {
  height: 100%;
  overflow-y: scroll;
  background-color: #F2F2F2;
}
html.flexbox {
  overflow-y: hidden;
}
html.dark-mode {
  background-color: #111;
}

body {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  display: flex;
  flex-direction: column;
}
html.dark-mode body {
  color: #AAA;
}

/**
 * Fonts
 */
body, button, input, select, label, textarea {
  font-family: var(--font-body);
}

pre, #markdown-editor-input, .text-mono, .code-base, span.code, code {
  font-family: var(--font-code);
}

/*
 * Header Styles
 */
h1 {
  font-size: 3.425em;
  line-height: 1.22222222em;
  margin-top: 0.48888889em;
  margin-bottom: 0.48888889em;
}

h2 {
  font-size: 2.8275em;
  line-height: 1.294117647em;
  margin-top: 0.8627451em;
  margin-bottom: 0.43137255em;
}

h3 {
  font-size: 2.333em;
  line-height: 1.221428572em;
  margin-top: 0.78571429em;
  margin-bottom: 0.43137255em;
}

h4 {
  font-size: 1.666em;
  line-height: 1.375em;
  margin-top: 0.78571429em;
  margin-bottom: 0.43137255em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  position: relative;
  display: block;
  font-family: var(--font-heading, var(--font-body));
  color: #222;
}
html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode h5, html.dark-mode h6 {
  color: #BBB;
}

h5 {
  font-size: 1.4em;
}

h5, h6 {
  line-height: 1.2em;
  margin-top: 0.78571429em;
  margin-bottom: 0.66em;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.8275em;
  }
  h2 {
    font-size: 2.333em;
  }
  h3 {
    font-size: 1.666em;
  }
  h4 {
    font-size: 1.333em;
  }
  h5 {
    font-size: 1.161616em;
  }
}
.list-heading {
  font-size: 2rem;
}

h2.list-heading {
  font-size: 1.333rem;
}

/*
 * Link styling
 */
a {
  color: var(--color-link);
  fill: currentColor;
  cursor: pointer;
  text-decoration: none;
  transition: filter ease-in-out 80ms;
  line-height: 1.6;
}
a:hover {
  text-decoration: underline;
}
a.icon {
  display: inline-block;
}
a svg {
  position: relative;
  display: inline-block;
}
a:focus img:only-child {
  outline: 2px dashed var(--color-link);
  outline-offset: 2px;
}

a.no-link-style {
  color: inherit;
}
a.no-link-style:hover {
  text-decoration: none;
}

.blended-links a {
  color: inherit;
}
.blended-links a svg {
  fill: currentColor;
}

/*
 * Other HTML Text Elements
 */
p, ul, ol, pre, table, blockquote {
  margin-top: 0.3em;
  margin-bottom: 1.375em;
}

hr {
  border: 0;
  height: 1px;
  background: #eaeaea;
  margin-bottom: 24px;
}
html.dark-mode hr {
  background: #555;
}
hr.faded {
  background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);
}
hr.darker {
  background: #DDD;
}
html.dark-mode hr.darker {
  background: #666;
}
hr.margin-top, hr.even {
  margin-top: 24px;
}

strong, b, .bold, .strong {
  font-weight: bold;
}
strong > strong, strong > b, strong > .bold, strong > .strong, b > strong, b > b, b > .bold, b > .strong, .bold > strong, .bold > b, .bold > .bold, .bold > .strong, .strong > strong, .strong > b, .strong > .bold, .strong > .strong {
  font-weight: bolder;
}

em, i, .italic {
  font-style: italic;
}

small, p.small, span.small, .text-small {
  font-size: 0.75rem;
}

sup, .superscript {
  vertical-align: super;
  font-size: 0.8em;
}

sub, .subscript {
  vertical-align: sub;
  font-size: 0.8em;
}

pre {
  font-size: 12px;
  border: 1px solid #DDD;
  background-color: #FFF;
  border-color: #DDD;
  border-radius: 4px;
  padding-inline-start: 26px;
  position: relative;
  padding-top: 3px;
  padding-bottom: 3px;
}
html.dark-mode pre {
  background-color: #2B2B2B;
}
html.dark-mode pre {
  border-color: #111;
}
pre:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 22.4px;
  inset-inline-start: 0;
  height: 100%;
  background-color: #f5f5f5;
  border-inline-end: 1px solid #DDD;
}
html.dark-mode pre:before {
  background-color: #313335;
}
html.dark-mode pre:before {
  border-inline-end: none;
}

@media print {
  pre {
    padding-left: 12px;
  }
  pre:before {
    display: none;
  }
}
blockquote {
  display: block;
  position: relative;
  border-left: 4px solid transparent;
  border-left-color: var(--color-primary);
  background-color: #f8f8f8;
  padding: 12px 16px 12px 32px;
  overflow: auto;
}
html.dark-mode blockquote {
  background-color: #333;
}
blockquote:before {
  content: "“";
  font-size: 2em;
  font-weight: bold;
  position: absolute;
  top: 12px;
  left: 12px;
  color: #777;
}

.text-mono {
  font-family: var(--font-code);
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitals {
  text-transform: capitalize;
}

.code-base, span.code, code {
  font-size: 0.84em;
  border: 1px solid #DDD;
  border-radius: 3px;
  background-color: #f8f8f8;
  border-color: #DDD;
}
html.dark-mode .code-base, html.dark-mode span.code, html.dark-mode code {
  background-color: #2b2b2b;
}
html.dark-mode .code-base, html.dark-mode span.code, html.dark-mode code {
  border-color: #444;
}

code {
  display: inline;
  padding: 1px 3px;
  white-space: pre-wrap;
  line-height: 1.2em;
}

span.code {
  padding: 1px 6px;
}

pre code {
  background-color: transparent;
  border: 0;
  font-size: 1em;
  display: block;
  line-height: 1.6;
}

span.highlight {
  font-weight: bold;
  padding: 2px 4px;
}

/*
 * Lists
 */
ul, ol {
  padding-left: 32px;
  padding-right: 32px;
  display: flow-root;
}
ul p, ol p {
  margin: 0;
}

ul {
  list-style: disc;
}
ul ul {
  list-style: circle;
}
ul label {
  margin: 0;
}

ol {
  list-style: decimal;
}

li > ol, li > ul {
  margin-top: 0;
  margin-bottom: 0;
  margin-block-end: 0;
  margin-block-start: 0;
  padding-block-end: 0;
  padding-block-start: 0;
  padding-left: 19.2px;
  padding-right: 19.2px;
}

/**
 * Checkbox lists
 * Some styles duplicated for supporting logical units (eg. inline-end) while
 * providing fallbacks to non-logical rules, so RTL is natively supported where possible.
 */
li.checkbox-item, li.task-list-item {
  display: list-item;
  list-style: none;
  margin-left: -19.2px;
  margin-inline-start: -19.2px;
  margin-inline-end: 0;
}
li.checkbox-item input[type=checkbox], li.task-list-item input[type=checkbox] {
  margin-right: 6px;
  margin-inline-end: 6px;
  margin-inline-start: 0;
}
li.checkbox-item li.checkbox-item, li.checkbox-item li.task-list-item, li.task-list-item li.checkbox-item, li.task-list-item li.task-list-item {
  margin-left: 6px;
  margin-inline-start: 6px;
  margin-inline-end: 0;
}

/*
 * Generic text styling classes
 */
.underlined {
  text-decoration: underline;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: start;
}

.text-right {
  text-align: end;
}

@media screen and (min-width: 361px) {
  .text-xxs-center {
    text-align: center;
  }
  .text-xxs-left {
    text-align: start;
  }
  .text-xxs-right {
    text-align: end;
  }
}
@media screen and (min-width: 401px) {
  .text-xs-center {
    text-align: center;
  }
  .text-xs-left {
    text-align: start;
  }
  .text-xs-right {
    text-align: end;
  }
}
@media screen and (min-width: 601px) {
  .text-s-center {
    text-align: center;
  }
  .text-s-left {
    text-align: start;
  }
  .text-s-right {
    text-align: end;
  }
}
@media screen and (min-width: 881px) {
  .text-m-center {
    text-align: center;
  }
  .text-m-left {
    text-align: start;
  }
  .text-m-right {
    text-align: end;
  }
}
@media screen and (min-width: 1001px) {
  .text-l-center {
    text-align: center;
  }
  .text-l-left {
    text-align: start;
  }
  .text-l-right {
    text-align: end;
  }
}
@media screen and (min-width: 1101px) {
  .text-xl-center {
    text-align: center;
  }
  .text-xl-left {
    text-align: start;
  }
  .text-xl-right {
    text-align: end;
  }
}
.text-bigger {
  font-size: 1.1em;
}

.text-large {
  font-size: 1.6666em;
}

.no-color {
  color: inherit;
}

.break-text {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.text-limit-lines-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-limit-lines-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/**
 * Grouping
 */
.header-group {
  margin: 16px 0;
}
.header-group h1, .header-group h2, .header-group h3, .header-group h4, .header-group h5, .header-group h6 {
  margin: 0;
}

span.sep {
  color: #BBB;
  padding: 0 6px;
}

.list > * {
  display: block;
}

/**
  * Icons
  */
.svg-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  position: relative;
  bottom: -0.105em;
  margin-inline-end: 6px;
  pointer-events: none;
  fill: currentColor;
}

/**
 * Background colors
 */
.primary-background {
  background-color: var(--color-primary) !important;
}

.primary-background-light {
  background-color: var(--color-primary-light);
}
html.dark-mode .primary-background-light {
  background: #000;
}
html.dark-mode .primary-background-light .text-link {
  color: #AAA !important;
}

.link-background {
  background-color: var(--color-link) !important;
}

/*
 * Status text colors
 */
.text-pos, .text-pos:hover, .text-pos-hover:hover {
  color: var(--color-positive) !important;
  fill: var(--color-positive) !important;
}

.text-warn, .text-warn:hover, .text-warn-hover:hover {
  color: var(--color-warning) !important;
  fill: var(--color-warning) !important;
}

.text-neg, .text-neg:hover, .text-neg-hover:hover {
  color: var(--color-negative) !important;
  fill: var(--color-negative) !important;
}

/*
 * Style text colors
 */
.text-primary, .text-primary:hover, .text-primary-hover:hover {
  color: var(--color-primary) !important;
  fill: var(--color-primary) !important;
}

.text-link, .text-link:hover, .text-link-hover:hover {
  color: var(--color-link) !important;
  fill: var(--color-link) !important;
}

.text-muted {
  color: #575757 !important;
  fill: currentColor !important;
}
html.dark-mode .text-muted {
  color: #888888 !important;
}

.text-dark {
  color: #222 !important;
  fill: currentColor !important;
}
html.dark-mode .text-dark {
  color: #ccc !important;
}

.text-white {
  color: #fff;
  fill: currentColor !important;
}

/*
 * Entity text colors
 */
.text-bookshelf, .text-bookshelf:hover {
  color: var(--color-bookshelf);
  fill: var(--color-bookshelf);
}

.text-book, .text-book:hover {
  color: var(--color-book);
  fill: var(--color-book);
}

.text-page, .text-page:hover {
  color: var(--color-page);
  fill: var(--color-page);
}

.text-page.draft, .text-page.draft:hover {
  color: var(--color-page-draft);
  fill: var(--color-page-draft);
}

.text-chapter, .text-chapter:hover {
  color: var(--color-chapter);
  fill: var(--color-chapter);
}

/*
 * Standard & Entity background colors
 */
.bg-white {
  background-color: #FFFFFF;
}

.bg-book {
  background-color: var(--color-book);
}

.bg-chapter {
  background-color: var(--color-chapter);
}

.bg-bookshelf {
  background-color: var(--color-bookshelf);
}

/**
 * Generic content container
 */
.container {
  max-width: 1400px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding-inline-start: 16px;
  padding-inline-end: 16px;
}
.container.medium {
  max-width: 1100px;
}
.container.small {
  max-width: 840px;
}
.container.very-small {
  max-width: 480px;
}

/**
 * Core grid layout system
 */
.grid {
  display: grid;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.grid > * {
  min-width: 0;
}
.grid.half {
  grid-template-columns: 1fr 1fr;
}
.grid.third {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid.left-focus {
  grid-template-columns: 2fr 1fr;
}
.grid.right-focus {
  grid-template-columns: 1fr 3fr;
}
.grid.gap-y-xs {
  grid-row-gap: 6px;
}
.grid.gap-xl {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
}
.grid.gap-xxl {
  grid-column-gap: 48px;
  grid-row-gap: 48px;
}
.grid.v-center {
  align-items: center;
}
.grid.v-end {
  align-items: end;
}
.grid.no-gap {
  grid-row-gap: 0;
  grid-column-gap: 0;
}
.grid.no-row-gap {
  grid-row-gap: 0;
}

@media screen and (max-width: 880px) {
  .grid.third:not(.no-break) {
    grid-template-columns: 1fr 1fr;
  }
  .grid.half:not(.no-break), .grid.left-focus:not(.no-break), .grid.right-focus:not(.no-break) {
    grid-template-columns: 1fr;
  }
  .grid.half.collapse-xs {
    grid-template-columns: 1fr 1fr;
  }
  .grid.gap-xl {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
  }
  .grid.right-focus.reverse-collapse > *:nth-child(2) {
    order: 0;
  }
  .grid.right-focus.reverse-collapse > *:nth-child(1) {
    order: 1;
  }
}
@media screen and (max-width: 600px) {
  .grid.third:not(.no-break) {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 400px) {
  .grid.half.collapse-xs {
    grid-template-columns: 1fr;
  }
}
#content {
  flex: 1 0 auto;
}

/**
 * Flexbox layout system
 */
body.flexbox {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
}
body.flexbox #content {
  flex: 1;
  display: flex;
  min-height: 0;
}

.flex-fill {
  display: flex;
  align-items: stretch;
  min-height: 0;
  max-width: 100%;
  position: relative;
}

.flex-container-row {
  display: flex;
  flex-direction: row;
}
.flex-container-row.v-center {
  align-items: center;
}

.flex-container-column {
  display: flex;
  flex-direction: column;
}

.flex-container-row.inline, .flex-container-column.inline {
  display: inline-flex !important;
}

.flex-container-column.wrap, .flex-container-row.wrap {
  flex-wrap: wrap;
}

.flex {
  min-height: 0;
  flex: 1;
  max-width: 100%;
}
.flex.fit-content {
  flex-basis: auto;
  flex-grow: 0;
}
.flex.fill-area {
  flex-grow: 1;
  flex-shrink: 0;
  min-width: fit-content;
}

.flex-2 {
  min-height: 0;
  flex: 2;
  max-width: 100%;
}

.flex-3 {
  min-height: 0;
  flex: 3;
  max-width: 100%;
}

.flex-none {
  flex: none;
}

.justify-flex-start {
  justify-content: flex-start;
}

.justify-flex-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-space-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

/**
 * Min width utilities
 */
.min-width-xxxxs {
  min-width: 60px;
}

.min-width-xxxs {
  min-width: 80px;
}

.min-width-xxs {
  min-width: 100px;
}

.min-width-xs {
  min-width: 120px;
}

.min-width-s {
  min-width: 160px;
}

.min-width-m {
  min-width: 200px;
}

.min-width-l {
  min-width: 240px;
}

.min-width-xl {
  min-width: 280px;
}

.min-width-xxl {
  min-width: 320px;
}

/**
 * Display and float utilities
 */
.block {
  display: block !important;
  position: relative;
}

.inline {
  display: inline !important;
}

.block.inline {
  display: inline-block !important;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
  z-index: 20;
}
.fixed.top-right {
  top: 0;
  right: 0;
}

.hidden {
  display: none !important;
}

.overflow-hidden {
  overflow: hidden;
}

.height-fill {
  height: 100%;
}

.height-auto {
  height: auto !important;
}

.float {
  float: left;
}
.float.right {
  float: right;
}

.sticky-top-m {
  position: sticky;
  top: 16px;
}

/**
 * Visibility
 */
@media screen and (max-width: 360px) {
  .hide-under-xxs {
    display: none !important;
  }
}
@media screen and (min-width: 361px) {
  .hide-over-xxs {
    display: none !important;
  }
}
@media screen and (max-width: 400px) {
  .hide-under-xs {
    display: none !important;
  }
}
@media screen and (min-width: 401px) {
  .hide-over-xs {
    display: none !important;
  }
}
@media screen and (max-width: 600px) {
  .hide-under-s {
    display: none !important;
  }
}
@media screen and (min-width: 601px) {
  .hide-over-s {
    display: none !important;
  }
}
@media screen and (max-width: 880px) {
  .hide-under-m {
    display: none !important;
  }
}
@media screen and (min-width: 881px) {
  .hide-over-m {
    display: none !important;
  }
}
@media screen and (max-width: 1000px) {
  .hide-under-l {
    display: none !important;
  }
}
@media screen and (min-width: 1001px) {
  .hide-over-l {
    display: none !important;
  }
}
@media screen and (max-width: 1100px) {
  .hide-under-xl {
    display: none !important;
  }
}
@media screen and (min-width: 1101px) {
  .hide-over-xl {
    display: none !important;
  }
}
[hidden] {
  display: none !important;
}

.screen-reader-only {
  position: absolute;
  inset-inline-start: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/**
 * Border radiuses
 */
.rounded {
  border-radius: 4px;
}

/**
 * Inline content columns
 */
.dual-column-content {
  columns: 2;
}

@media screen and (max-width: 880px) {
  .dual-column-content {
    columns: 1;
  }
}
/**
 * Fixes
 */
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/**
 * View Layouts
 */
.tri-layout-container {
  display: grid;
  margin-inline-start: 32px;
  margin-inline-end: 32px;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-areas: "a b c";
  grid-column-gap: 32px;
  position: relative;
}

.tri-layout-sides {
  grid-column-start: a;
  grid-column-end: c;
  grid-row: 1;
  min-width: 0;
  z-index: 4;
}

.tri-layout-sides-content {
  display: grid;
  grid-template-areas: "a b c";
  grid-template-columns: 1fr 4fr 1fr;
  height: 100%;
}

.tri-layout-middle {
  grid-area: b;
  padding-top: 16px;
  min-width: 0;
  z-index: 5;
}

.tri-layout-right {
  grid-area: c;
  min-width: 0;
}

.tri-layout-left {
  grid-area: a;
  min-width: 0;
}

@media screen and (min-width: 1401px) {
  .tri-layout-left-contents, .tri-layout-right-contents {
    padding: 32px 16px;
    position: sticky;
    top: 0;
    max-height: 100vh;
    min-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tri-layout-left-contents::-webkit-scrollbar, .tri-layout-right-contents::-webkit-scrollbar {
    display: none;
  }
  .tri-layout-middle-contents {
    max-width: 940px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1401px) and (max-width: 1700px) {
  .tri-layout-sides-content, .tri-layout-container {
    grid-template-columns: 1fr 972px 1fr;
  }
  .tri-layout-container {
    grid-column-gap: 12px;
    margin-inline-start: 16px;
    margin-inline-end: 16px;
  }
}
@media screen and (max-width: 1400px) {
  .tri-layout-container {
    grid-template-areas: "a b b";
    grid-template-columns: 1fr 3fr;
    grid-template-rows: min-content min-content 1fr;
    padding-inline-end: 24px;
  }
  .tri-layout-sides {
    grid-column-start: a;
    grid-column-end: a;
  }
  .tri-layout-sides-content {
    display: block;
  }
}
@media screen and (min-width: 1001px) and (max-width: 1400px) {
  .tri-layout-sides-content {
    position: sticky;
    top: 0;
    max-height: 100vh;
    min-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tri-layout-sides-content::-webkit-scrollbar {
    display: none;
  }
}
@media screen and (min-width: 1001px) {
  .tri-layout-mobile-tabs {
    display: none;
  }
  .tri-layout-left-contents > *, .tri-layout-right-contents > * {
    opacity: 0.6;
    transition: opacity ease-in-out 120ms;
  }
  html.dark-mode .tri-layout-left-contents > *, html.dark-mode .tri-layout-right-contents > * {
    opacity: 0.75;
  }
  .tri-layout-left-contents > *:hover, .tri-layout-left-contents > *:focus-within, .tri-layout-right-contents > *:hover, .tri-layout-right-contents > *:focus-within {
    opacity: 1 !important;
  }
}
@media screen and (min-width: 1001px) and (prefers-contrast: more) {
  .tri-layout-left-contents > *, .tri-layout-right-contents > * {
    opacity: 1 !important;
  }
}
@media screen and (max-width: 1000px) {
  .tri-layout-container {
    grid-template-areas: none;
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    padding-inline-end: 6px;
    padding-inline-start: 6px;
  }
  .tri-layout-container .tri-layout-sides {
    padding-inline-start: 16px;
    padding-inline-end: 16px;
    grid-column: 1/1;
  }
  .tri-layout-container .tri-layout-left > *, .tri-layout-container .tri-layout-right > * {
    display: none;
    pointer-events: none;
  }
  .tri-layout-container .tri-layout-left, .tri-layout-container .tri-layout-right {
    padding-top: 0 !important;
  }
  .tri-layout-container .tri-layout-middle {
    grid-area: none;
    grid-row: 3;
    grid-column: 1/1;
    z-index: 1;
    overflow: hidden;
    transition: transform ease-in-out 240ms;
  }
  .tri-layout-container .tri-layout-left {
    grid-row: 2;
  }
  .tri-layout-container.show-info {
    overflow: hidden;
  }
  .tri-layout-container.show-info .tri-layout-middle {
    display: none;
  }
  .tri-layout-container.show-info .tri-layout-right > *, .tri-layout-container.show-info .tri-layout-left > * {
    display: block;
    pointer-events: auto;
  }
}
@media screen and (max-width: 880px) {
  .tri-layout-container {
    margin-inline-start: 0;
    margin-inline-end: 0;
  }
}
/**
 * Card-style blocks
 */
.card {
  background-color: #FFF;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  break-inside: avoid;
}
html.dark-mode .card {
  background-color: #222;
}
.card .body, .card p.empty-text {
  padding-block: 16px;
}
.card a, .card p {
  word-wrap: break-word;
  word-break: break-word;
}

.card-title {
  padding: 16px 16px 6px;
  margin: 0;
  font-size: 14px;
  color: #222;
  fill: #222;
  font-weight: 400;
}

.card-title a {
  line-height: 1;
}

.card-footer-link, button.card-footer-link {
  display: block;
  padding: 12px 16px;
  line-height: 1;
  border-top: 1px solid;
  width: 100%;
  text-align: left;
  border-color: #DDD;
  border-radius: 0 0 3px 3px;
  font-size: 0.9em;
  margin-top: 6px;
}
html.dark-mode .card-footer-link, html.dark-mode button.card-footer-link {
  border-color: #555;
}
.card-footer-link:hover, button.card-footer-link:hover {
  text-decoration: none;
  background-color: #f2f2f2;
}
html.dark-mode .card-footer-link:hover, html.dark-mode button.card-footer-link:hover {
  background-color: #2d2d2d;
}
.card-footer-link:focus, button.card-footer-link:focus {
  background-color: #eee;
  outline: 1px dotted #666;
  outline-offset: -2px;
}
html.dark-mode .card-footer-link:focus, html.dark-mode button.card-footer-link:focus {
  background-color: #222;
}

.card.border-card {
  border: 1px solid;
  border-color: #ddd;
}
html.dark-mode .card.border-card {
  border-color: #000;
}

.card.drag-card {
  border: 1px solid #DDD;
  border-color: #ddd;
  background-color: #fff;
  border-radius: 4px;
  display: flex;
  padding: 0 0 0 40px;
  margin: 12px 0;
  position: relative;
}
html.dark-mode .card.drag-card {
  border-color: #000;
}
html.dark-mode .card.drag-card {
  background-color: #333;
}
.card.drag-card .drag-card-action {
  cursor: pointer;
}
.card.drag-card .handle, .card.drag-card .drag-card-action {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 28px;
  flex-grow: 0;
  padding: 0 6px;
}
.card.drag-card .handle:hover, .card.drag-card .drag-card-action:hover {
  background-color: #eee;
}
html.dark-mode .card.drag-card .handle:hover, html.dark-mode .card.drag-card .drag-card-action:hover {
  background-color: #2d2d2d;
}
.card.drag-card .handle .svg-icon, .card.drag-card .drag-card-action .svg-icon {
  margin-inline-end: 0px;
}
.card.drag-card .outline input {
  margin: 12px 0;
  width: 100%;
}
.card.drag-card .outline {
  position: relative;
}
.card.drag-card .handle {
  background-color: #eee;
  left: 0;
  position: absolute;
  top: 0;
  bottom: 0;
}
html.dark-mode .card.drag-card .handle {
  background-color: #2d2d2d;
}
.card.drag-card > div {
  padding: 0 12px;
  max-width: 80%;
  flex: 1;
}

.grid-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-color: #ddd;
  margin-bottom: 24px;
  border-radius: 4px;
  overflow: hidden;
  min-width: 100px;
  color: #444;
  transition: border-color ease-in-out 120ms, box-shadow ease-in-out 120ms;
}
html.dark-mode .grid-card {
  border-color: #000;
}
.grid-card:hover {
  color: #444;
  text-decoration: none;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
}
html.dark-mode .grid-card:hover {
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.5);
}
.grid-card h2 {
  width: 100%;
  font-size: 1.5em;
  margin: 0 0 10px;
}
.grid-card p {
  font-size: 0.7rem;
  margin: 0;
  line-height: 1.6em;
}
.grid-card .grid-card-content {
  flex: 1;
  border-top: 0;
  border-bottom-width: 2px;
}
.grid-card .grid-card-content, .grid-card .grid-card-footer {
  padding: 24px;
}
.grid-card .grid-card-content + .grid-card-footer {
  padding-top: 0;
}

.book-grid-item .grid-card-footer p.small {
  font-size: 0.8em;
  margin: 0;
}

.content-wrap.card {
  padding: 16px 48px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  margin-bottom: 24px;
  overflow: initial;
  min-height: 60vh;
  border-radius: 8px;
}
.content-wrap.card.auto-height {
  min-height: 0;
}
.content-wrap.card.fill-width {
  width: 100%;
}

@media screen and (max-width: 1400px) {
  .content-wrap.card {
    padding: 16px 32px;
  }
}
@media screen and (max-width: 880px) {
  .content-wrap.card {
    padding: 16px 24px;
  }
}
@media screen and (max-width: 600px) {
  .content-wrap.card {
    padding: 16px 16px;
  }
}
.sub-card {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1.5px solid;
  border-color: #E2E2E2;
  border-radius: 4px;
}
html.dark-mode .sub-card {
  border-color: #444;
}

.outline-hover {
  border: 1px solid transparent !important;
}
.outline-hover:hover {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.fade-in-when-active {
  opacity: 0.6;
  transition: opacity ease-in-out 120ms;
}
html.dark-mode .fade-in-when-active {
  opacity: 0.7;
}
.fade-in-when-active:hover, .fade-in-when-active:focus-within {
  opacity: 1 !important;
}
@media (prefers-contrast: more) {
  .fade-in-when-active {
    opacity: 1 !important;
  }
}

/**
 * Tags
 */
.tag-item {
  display: inline-flex;
  margin-bottom: 6px;
  margin-inline-end: 6px;
  border-radius: 4px;
  border: 1px solid;
  overflow: hidden;
  font-size: 0.85em;
  border-color: #CCC;
}
html.dark-mode .tag-item {
  border-color: #666;
}
.tag-item a, .tag-item span, .tag-item a:hover, .tag-item a:active {
  padding: 4px 8px;
  color: rgba(0, 0, 0, 0.7);
  transition: background-color ease-in-out 80ms;
  text-decoration: none;
}
html.dark-mode .tag-item a, html.dark-mode .tag-item span, html.dark-mode .tag-item a:hover, html.dark-mode .tag-item a:active {
  color: rgba(255, 255, 255, 0.8);
}
.tag-item a:hover {
  background-color: rgba(255, 255, 255, 0.7);
}
html.dark-mode .tag-item a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.tag-item svg {
  fill: rgba(0, 0, 0, 0.5);
}
html.dark-mode .tag-item svg {
  fill: rgba(255, 255, 255, 0.5);
}
.tag-item .tag-value {
  border-inline-start: 1px solid;
  border-color: #DDD;
  background-color: rgba(255, 255, 255, 0.5);
}
html.dark-mode .tag-item .tag-value {
  border-color: #666;
}
html.dark-mode .tag-item .tag-value {
  background-color: rgba(255, 255, 255, 0.2);
}

.tag-name.highlight, .tag-value.highlight {
  font-weight: bold;
}

.tag-list div:last-child .tag-item {
  margin-bottom: 0;
}

.item-list-row .tag-item {
  margin-bottom: 0;
}

/**
 * API Docs
 */
.api-method {
  font-size: 0.75rem;
  background-color: #888;
  padding: 6px;
  line-height: 1.3;
  opacity: 0.7;
  vertical-align: top;
  border-radius: 3px;
  color: #FFF;
  display: inline-block;
  min-width: 60px;
  text-align: center;
  font-weight: bold;
}
.api-method[data-method=GET] {
  background-color: #077b70;
}
.api-method[data-method=POST] {
  background-color: #cf4d03;
}
.api-method[data-method=PUT] {
  background-color: #0288D1;
}
.api-method[data-method=DELETE] {
  background-color: #ab0f0e;
}

.sticky-sidebar {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
}

button {
  background-color: transparent;
  border: 0;
  font-size: 100%;
}

.button {
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4em;
  padding: 7.8px 16px;
  margin-top: 6px;
  margin-bottom: 6px;
  display: inline-block;
  font-weight: 400;
  outline: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color ease-in-out 120ms, filter ease-in-out 120ms, box-shadow ease-in-out 120ms;
  box-shadow: none;
  background-color: var(--color-primary);
  color: #FFF;
  border: 1px solid var(--color-primary);
  vertical-align: top;
}
.button:hover, .button:focus, .button:active {
  background-color: var(--color-primary);
  text-decoration: none;
  color: #FFFFFF;
}
.button:hover {
  box-shadow: 0 0 4px 1px #CCC;
  filter: brightness(110%);
}
html.dark-mode .button:hover {
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
}
.button:focus {
  outline: 1px dotted currentColor;
  outline-offset: -6px;
  box-shadow: none;
  filter: brightness(90%);
}
.button:active {
  outline: 0;
}

.button.outline {
  background-color: transparent;
  color: #666;
  fill: currentColor;
  border: 1px solid;
  border-color: #CCC;
}
html.dark-mode .button.outline {
  color: #AAA;
}
html.dark-mode .button.outline {
  border-color: #666;
}
.button.outline:hover, .button.outline:focus, .button.outline:active {
  color: #444;
  border: 1px solid #CCC;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  background-color: #F2F2F2;
  background-color: #f8f8f8;
  filter: none;
}
html.dark-mode .button.outline:hover, html.dark-mode .button.outline:focus, html.dark-mode .button.outline:active {
  color: #BBB;
}
html.dark-mode .button.outline:hover, html.dark-mode .button.outline:focus, html.dark-mode .button.outline:active {
  background-color: #444;
}
.button.outline:active {
  border-color: #BBB;
  background-color: #DDD;
  color: #666;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

.button + .button {
  margin-inline-start: 12px;
}

.button.small {
  font-size: 0.75rem;
  padding: 7.2px 12px;
}

.text-button {
  cursor: pointer;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border: none;
  user-select: none;
  font-size: 0.75rem;
  line-height: 1.4em;
  color: var(--color-link);
}
.text-button:active {
  outline: 0;
}
.text-button:hover {
  text-decoration: none;
}
.text-button:hover, .text-button:focus {
  color: var(--color-link);
  fill: var(--color-link);
}

.text-button.hover-underline:hover {
  text-decoration: underline;
}

.button.block {
  width: 100%;
  text-align: start;
  display: block;
}

.button.icon .svg-icon, .icon-button .svg-icon, .text-button.icon .svg-icon {
  margin-inline-end: 0;
}

.icon-button {
  text-align: center;
  border: 1px solid transparent;
}

.icon-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  border-color: #DDD;
  cursor: pointer;
}
html.dark-mode .icon-button:hover {
  border-color: #444;
}

.button.svg {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  padding-bottom: 10px;
  width: 100%;
}
.button.svg svg {
  display: inline-block;
  width: 24px;
  height: 24px;
  bottom: auto;
  margin-inline-end: 16px;
}

.button[disabled] {
  background-color: #BBB;
  cursor: default;
  border-color: #CCC;
}
.button[disabled]:hover {
  background-color: #BBB;
  cursor: default;
  box-shadow: none;
}

table {
  min-width: 100px;
  max-width: 100%;
}
table thead {
  background-color: #f8f8f8;
  font-weight: 500;
}
html.dark-mode table thead {
  background-color: #333;
}
table td, table th {
  min-width: 10px;
  padding: 6px 8px;
  border: 1px solid #DDD;
  overflow: auto;
  line-height: 1.2;
  word-break: break-word;
  vertical-align: top;
}
table td p, table th p {
  margin: 0;
}

table.table {
  width: 100%;
}
table.table tr td, table.table tr th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
table.table th, table.table td {
  text-align: start;
  border: none;
  padding: 12px 12px;
  vertical-align: middle;
  margin: 0;
  overflow: visible;
}
table.table th {
  font-weight: bold;
}
table.table tr:hover {
  background-color: #F2F2F2;
}
html.dark-mode table.table tr:hover {
  background-color: #333;
}
table.table .text-right {
  text-align: end;
}
table.table .text-center {
  text-align: center;
}
table.table td.actions {
  overflow: visible;
}
table.table a {
  display: inline-block;
}
table.table.expand-to-padding {
  margin-left: -12px;
  margin-right: -12px;
  width: calc(100% + 2 * 12px);
  max-width: calc(100% + 2 * 12px);
}

table.no-style td {
  border: 0;
  padding: 0;
}

table.list-table {
  margin: 0 -6px;
}
table.list-table td {
  border: 0;
  vertical-align: middle;
  padding: 6px;
}

.input-base, input[type=text], input[type=number], input[type=email], input[type=date], input[type=search], input[type=url],
input[type=color], input[type=password], select, textarea, .fake-input {
  border-radius: 3px;
  border: 1px solid #D4D4D4;
  background-color: #fff;
  border-color: #d4d4d4;
  color: #666;
  display: inline-block;
  font-size: 14px;
  padding: 10.8px;
  height: 40px;
  width: 250px;
  max-width: 100%;
}
html.dark-mode .input-base, html.dark-mode input[type=text], html.dark-mode input[type=number], html.dark-mode input[type=email], html.dark-mode input[type=date], html.dark-mode input[type=search], html.dark-mode input[type=url],
html.dark-mode input[type=color], html.dark-mode input[type=password], html.dark-mode select, html.dark-mode textarea, html.dark-mode .fake-input {
  background-color: #333;
}
html.dark-mode .input-base, html.dark-mode input[type=text], html.dark-mode input[type=number], html.dark-mode input[type=email], html.dark-mode input[type=date], html.dark-mode input[type=search], html.dark-mode input[type=url],
html.dark-mode input[type=color], html.dark-mode input[type=password], html.dark-mode select, html.dark-mode textarea, html.dark-mode .fake-input {
  border-color: #111;
}
html.dark-mode .input-base, html.dark-mode input[type=text], html.dark-mode input[type=number], html.dark-mode input[type=email], html.dark-mode input[type=date], html.dark-mode input[type=search], html.dark-mode input[type=url],
html.dark-mode input[type=color], html.dark-mode input[type=password], html.dark-mode select, html.dark-mode textarea, html.dark-mode .fake-input {
  color: #AAA;
}
.input-base.neg, input.neg[type=text], input.neg[type=number], input.neg[type=email], input.neg[type=date], input.neg[type=search], input.neg[type=url],
input.neg[type=color], input.neg[type=password], select.neg, textarea.neg, .neg.fake-input, .input-base.invalid, input.invalid[type=text], input.invalid[type=number], input.invalid[type=email], input.invalid[type=date], input.invalid[type=search], input.invalid[type=url],
input.invalid[type=color], input.invalid[type=password], select.invalid, textarea.invalid, .invalid.fake-input {
  border: 1px solid var(--color-negative);
}
.input-base.pos, input.pos[type=text], input.pos[type=number], input.pos[type=email], input.pos[type=date], input.pos[type=search], input.pos[type=url],
input.pos[type=color], input.pos[type=password], select.pos, textarea.pos, .pos.fake-input, .input-base.valid, input.valid[type=text], input.valid[type=number], input.valid[type=email], input.valid[type=date], input.valid[type=search], input.valid[type=url],
input.valid[type=color], input.valid[type=password], select.valid, textarea.valid, .valid.fake-input {
  border: 1px solid var(--color-positive);
}
.input-base.disabled, input.disabled[type=text], input.disabled[type=number], input.disabled[type=email], input.disabled[type=date], input.disabled[type=search], input.disabled[type=url],
input.disabled[type=color], input.disabled[type=password], select.disabled, textarea.disabled, .disabled.fake-input, .input-base[disabled], input[disabled][type=text], input[disabled][type=number], input[disabled][type=email], input[disabled][type=date], input[disabled][type=search], input[disabled][type=url],
input[disabled][type=color], input[disabled][type=password], select[disabled], textarea[disabled], [disabled].fake-input {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==);
}
.input-base[readonly], input[readonly][type=text], input[readonly][type=number], input[readonly][type=email], input[readonly][type=date], input[readonly][type=search], input[readonly][type=url],
input[readonly][type=color], input[readonly][type=password], select[readonly], textarea[readonly], [readonly].fake-input {
  background-color: #f8f8f8;
}
.input-base:focus, input[type=text]:focus, input[type=number]:focus, input[type=email]:focus, input[type=date]:focus, input[type=search]:focus, input[type=url]:focus,
input[type=color]:focus, input[type=password]:focus, select:focus, textarea:focus, .fake-input:focus {
  border-color: var(--color-primary);
  outline: 1px solid var(--color-primary);
}

.input-fill-width {
  width: 100% !important;
}

.fake-input {
  overflow: auto;
}

#html-editor {
  display: none;
}

#markdown-editor {
  position: relative;
  z-index: 5;
}
#markdown-editor #markdown-editor-input {
  font-style: normal;
  font-weight: 400;
  padding: 6px 16px;
  color: #444;
  border-radius: 0;
  max-height: 100%;
  flex: 1;
  border: 0;
  width: 100%;
}
#markdown-editor #markdown-editor-input:focus {
  outline: 0;
}
#markdown-editor.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
}

.markdown-editor-wrap {
  border-top: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  border-color: #ddd;
  position: relative;
  flex: 1;
  min-width: 0;
}
html.dark-mode .markdown-editor-wrap {
  border-color: #000;
}

.markdown-editor-wrap + .markdown-editor-wrap {
  flex-basis: 50%;
  flex-shrink: 0;
  flex-grow: 0;
}

.markdown-editor-wrap .cm-editor {
  flex: 1;
  max-width: 100%;
  border: 0;
  margin: 0;
}

.markdown-panel-divider {
  width: 2px;
  background-color: #ddd;
  cursor: col-resize;
}
html.dark-mode .markdown-panel-divider {
  background-color: #000;
}

@media screen and (max-width: 880px) {
  #markdown-editor {
    flex-direction: column;
  }
  #markdown-editor .markdown-editor-wrap {
    width: 100%;
    max-width: 100%;
    flex-grow: 1;
    flex-basis: auto !important;
    min-height: 0;
  }
  .editor-toolbar-label {
    float: none !important;
    border-color: #DDD;
    display: block;
  }
  html.dark-mode .editor-toolbar-label {
    border-color: #555;
  }
  .markdown-editor-wrap:not(.active) .editor-toolbar + div,
  .markdown-editor-wrap:not(.active) .editor-toolbar .buttons,
  .markdown-editor-wrap:not(.active) .markdown-display {
    display: none;
  }
  #markdown-editor .markdown-editor-wrap:not(.active) {
    flex-grow: 0;
    flex: none;
  }
}
.markdown-editor-display {
  background-color: #fff;
}
.markdown-editor-display body {
  display: block;
  background-color: #fff;
  padding-inline-start: 12px;
  padding-inline-end: 12px;
  max-width: 864px;
}
.markdown-editor-display [drawio-diagram]:hover {
  outline: 2px solid var(--color-primary);
}

html.markdown-editor-display.dark-mode {
  background-color: #222;
}
html.markdown-editor-display.dark-mode body {
  background-color: #222;
}

.editor-toolbar {
  height: 32px;
  width: 100%;
  font-size: 11px;
  line-height: 1.6;
  border-bottom: 1px solid #CCC;
  background-color: #FFF;
  border-color: #CCC;
  flex: none;
}
html.dark-mode .editor-toolbar {
  background-color: #333;
}
html.dark-mode .editor-toolbar {
  border-color: #000;
}
html.dark-mode .editor-toolbar button {
  color: #AAA;
}

.editor-toolbar .buttons {
  font-size: 14px;
}
.editor-toolbar .buttons .dropdown-menu {
  padding: 0;
}
.editor-toolbar .buttons .toggle-switch {
  margin: 12px 0;
}

.editor-toolbar .buttons button {
  font-size: 0.9rem;
  width: 2rem;
  text-align: center;
  border-left: 1px solid;
  border-color: #DDD;
}
html.dark-mode .editor-toolbar .buttons button {
  border-color: #555;
}
.editor-toolbar .buttons button svg {
  margin-inline-end: 0;
}
.editor-toolbar .buttons button:hover {
  background-color: #DDD;
}
html.dark-mode .editor-toolbar .buttons button:hover {
  background-color: #222;
}

label {
  color: #666;
  display: block;
  line-height: 1.4em;
  font-size: 0.94em;
  font-weight: 400;
  padding-bottom: 2px;
  margin-bottom: 0.2em;
}
html.dark-mode label {
  color: #ddd;
}
label.inline {
  display: inline-block;
}

label.radio, label.checkbox {
  font-weight: 400;
  user-select: none;
}
label.radio input[type=radio], label.radio input[type=checkbox], label.checkbox input[type=radio], label.checkbox input[type=checkbox] {
  margin-inline-end: 6px;
}

label.inline.checkbox {
  margin-inline-end: 16px;
}

label + p.small {
  margin-bottom: 0.8em;
}

table.form-table {
  max-width: 100%;
}
table.form-table td {
  overflow: hidden;
  padding: 1.5px 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23666666'><polygon points='0,0 100,0 50,50'/></svg>");
  background-size: 10px 12px;
  background-position: calc(100% - 20px) 64%;
  background-repeat: no-repeat;
}
html[dir=rtl] select {
  background-position: 20px 70%;
}

input[type=date] {
  width: 190px;
}

input[type=color] {
  height: 60px;
}
input[type=color].small {
  height: 42px;
  width: 60px;
  padding: 2px;
}

.toggle-switch {
  user-select: none;
  display: inline-grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  margin: 16px 0;
}
.toggle-switch .custom-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  display: inline-block;
  border: 2px solid currentColor;
  overflow: hidden;
  fill: currentColor;
}
.toggle-switch .custom-checkbox .svg-icon {
  width: 100%;
  height: 100%;
  margin: 0;
  bottom: auto;
  top: -1.5px;
  left: 0;
  transition: transform ease-in-out 120ms;
  transform: scale(0);
  transform-origin: center center;
}
.toggle-switch input[type=checkbox] {
  display: none;
}
.toggle-switch input[type=checkbox]:checked + .custom-checkbox .svg-icon {
  transform: scale(1);
}
.toggle-switch .custom-checkbox:hover {
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 0.8;
}
.toggle-switch input[type=checkbox][disabled] ~ * {
  opacity: 0.8;
  cursor: not-allowed;
}
.toggle-switch input[type=checkbox][disabled] ~ .custom-checkbox {
  border-color: #999;
  color: #999 !important;
  background: #f2f2f2;
}

.toggle-switch-list .toggle-switch {
  margin: 6px 0;
}
.toggle-switch-list.compact .toggle-switch {
  margin: 1px 0;
}

.form-group {
  margin-bottom: 12px;
}

.setting-list > div {
  border-bottom: 1px solid #DDD;
  padding: 32px 0;
}
.setting-list > div:last-child {
  border-bottom: none;
}

.setting-list-label {
  color: #222;
  color: #222;
  font-size: 1rem;
}
html.dark-mode .setting-list-label {
  color: #DDD;
}

.setting-list-label + p.small {
  margin-bottom: 0;
}

.setting-list-label + .grid {
  margin-top: 16px;
}

.setting-list .grid input[type=text], .setting-list .grid input[type=email], .setting-list .grid input[type=password], .setting-list .grid select, .stretch-inputs input[type=text], .stretch-inputs input[type=email], .stretch-inputs input[type=password], .stretch-inputs select {
  width: 100%;
}

.simple-code-input {
  background-color: #F8F8F8;
  font-family: monospace;
  font-size: 12px;
  min-height: 100px;
  display: block;
  width: 100%;
}

.form-group div.text-pos, .form-group div.text-neg, .form-group p.text-post, .form-group p.text-neg {
  padding: 6px 0;
}

.form-group.collapsible {
  padding: 0 16px;
  border: 1px solid;
  border-color: #DDD;
  border-radius: 4px;
}
html.dark-mode .form-group.collapsible {
  border-color: #000;
}
.form-group.collapsible .collapse-title {
  margin-inline-start: -16px;
  margin-inline-end: -16px;
  padding: 12px 16px;
  display: block;
  width: calc(100% + 32px);
  text-align: start;
}
.form-group.collapsible .collapse-title, .form-group.collapsible .collapse-title label {
  cursor: pointer;
}
.form-group.collapsible .collapse-title label {
  padding-bottom: 0;
  margin-bottom: 0;
  color: inherit;
}
.form-group.collapsible .collapse-title label:before {
  display: inline-block;
  content: "▸";
  margin-inline-end: 16px;
  transition: all ease-in-out 400ms;
  transform: rotate(0);
}
.form-group.collapsible .collapse-content {
  display: none;
  padding-bottom: 16px;
}
.form-group.collapsible.open .collapse-title label:before {
  transform: rotate(90deg);
}

.form-group.ambrosia-container, .form-group.ambrosia-container * {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  background: transparent !important;
  color: transparent !important;
  border: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.title-input input[type=text] {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 0;
  font-size: 2em;
  height: auto;
}

.description-input textarea {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  color: #666;
  height: auto;
}

.description-input > .tox-tinymce {
  border: 1px solid #DDD !important;
  border-color: #DDD !important;
  border-radius: 3px;
}
html.dark-mode .description-input > .tox-tinymce {
  border-color: #000 !important;
}
.description-input > .tox-tinymce .tox-toolbar__primary {
  justify-content: end;
}

.search-box {
  max-width: 100%;
  position: relative;
}
.search-box button[tabindex="-1"] {
  background-color: transparent;
  border: none;
  color: #666;
  padding: 0;
  cursor: pointer;
  position: absolute;
  inset-inline-start: 8px;
  top: 10px;
}
html.dark-mode .search-box button[tabindex="-1"] {
  color: #AAA;
}
.search-box input {
  display: block;
  padding: 9px;
  padding-inline-start: 28px;
  width: 300px;
  max-width: 100%;
  height: auto;
}
.search-box.flexible input {
  width: 100%;
}
.search-box button.search-box-cancel {
  left: auto;
  right: 0;
}

.contained-search-box {
  display: flex;
  height: 38px;
  z-index: -1;
}
.contained-search-box.floating {
  box-shadow: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
  border-radius: 4px;
  overflow: hidden;
}
html.dark-mode .contained-search-box.floating {
  border: 1px solid #000;
}
.contained-search-box input, .contained-search-box button {
  height: 100%;
  border-radius: 0;
  border: 1px solid #ddd;
  border-color: #ddd;
  margin-inline-start: -1px;
}
html.dark-mode .contained-search-box input, html.dark-mode .contained-search-box button {
  border-color: #000;
}
.contained-search-box input:last-child, .contained-search-box button:last-child {
  border-inline-end: 0;
}
.contained-search-box input {
  border: 0;
  flex: 5;
  padding: 6px 12px;
}
.contained-search-box input:focus, .contained-search-box input:active {
  outline: 1px dotted var(--color-primary);
  outline-offset: -2px;
  border: 0;
}
.contained-search-box button {
  border: 0;
  width: 48px;
  border-inline-start: 1px solid #DDD;
  background-color: #FFF;
  background-color: #FFF;
  color: #444;
}
html.dark-mode .contained-search-box button {
  background-color: #333;
}
html.dark-mode .contained-search-box button {
  color: #AAA;
}
.contained-search-box button:focus {
  outline: 1px dotted var(--color-primary);
  outline-offset: -2px;
}
.contained-search-box svg {
  margin: 0;
}
@media screen and (max-width: 600px) {
  .contained-search-box {
    width: 180px;
  }
}

.outline > input {
  border: 0;
  border-bottom: 2px solid #DDD;
  border-radius: 0;
}
.outline > input:focus, .outline > input:active {
  border: 0;
  border-bottom: 2px solid #AAA;
  outline: 0;
}

.image-picker img {
  background-color: #BBB;
  max-width: 100%;
}

.custom-file-input {
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.custom-file-input:focus + label {
  border-color: var(--color-primary);
  outline: 1px solid var(--color-primary);
}

.custom-simple-file-input {
  max-width: 100%;
  border: 1px solid;
  border-color: #DDD;
  border-radius: 4px;
  padding: 12px 16px;
}
html.dark-mode .custom-simple-file-input {
  border-color: #666;
}

.custom-simple-file-input::file-selector-button {
  background-color: transparent;
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4em;
  padding: 6px 12px;
  border: 1px solid;
  font-weight: 400;
  outline: 0;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 16px;
  color: #666;
  border-color: #CCC;
}
html.dark-mode .custom-simple-file-input::file-selector-button {
  color: #AAA;
}
html.dark-mode .custom-simple-file-input::file-selector-button {
  border-color: #666;
}
.custom-simple-file-input::file-selector-button:hover, .custom-simple-file-input::file-selector-button:focus, .custom-simple-file-input::file-selector-button:active {
  color: #444;
  border: 1px solid #CCC;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  background-color: #F2F2F2;
  background-color: #f8f8f8;
  filter: none;
}
html.dark-mode .custom-simple-file-input::file-selector-button:hover, html.dark-mode .custom-simple-file-input::file-selector-button:focus, html.dark-mode .custom-simple-file-input::file-selector-button:active {
  color: #BBB;
}
html.dark-mode .custom-simple-file-input::file-selector-button:hover, html.dark-mode .custom-simple-file-input::file-selector-button:focus, html.dark-mode .custom-simple-file-input::file-selector-button:active {
  background-color: #444;
}
.custom-simple-file-input::file-selector-button:active {
  border-color: #BBB;
  background-color: #DDD;
  color: #666;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

input.shortcut-input {
  width: auto;
  max-width: 120px;
  height: auto;
}

.anim.fadeIn {
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 120ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.search-suggestions-animation {
  animation-name: searchSuggestions;
  animation-duration: 120ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99);
}

@keyframes searchSuggestions {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loadingBob {
  0% {
    transform: translate3d(0, 0, 0);
  }
  30% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
  70% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes pointer {
  0% {
    transform: translate3d(0, 20px, 0) scale3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}
.anim.pointer {
  transform-origin: 50% 100%;
  animation-name: pointer;
  animation-duration: 180ms;
  animation-delay: 0s;
  animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99);
}

.tox.tox-fullscreen {
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  z-index: 100;
}

.tox.tox-tinymce {
  border-inline: 0;
  border-bottom: 0;
}

.page-content.mce-content-body {
  padding-block-start: 1rem;
  padding-block-end: 1rem;
  outline: 0;
  display: block;
  max-width: 870px;
}

.wysiwyg-input.mce-content-body {
  padding-block-start: 1rem;
  padding-block-end: 1rem;
  outline: 0;
  display: block;
}

.wysiwyg-input.mce-content-body:before {
  padding: 1rem;
  top: 4px;
  font-style: italic;
  color: rgba(34, 47, 62, 0.5);
}
html.dark-mode .wysiwyg-input.mce-content-body:before {
  color: rgba(155, 155, 155, 0.5);
}

.page-content.mce-content-body doc-root {
  display: block;
}

.page-content.mce-content-body code-block {
  display: block;
}

body.page-content.mce-content-body {
  padding-bottom: 5rem;
}

.tox .tox-pop__dialog .tox-toolbar {
  background: transparent !important;
}

.tox-toolbar__primary {
  justify-content: center;
}

.page-content.mce-content-body code-block > * {
  pointer-events: none;
}

.page-content.mce-content-body code-block pre {
  display: none;
}

.page-content.mce-content-body details summary {
  pointer-events: none;
}

.page-content.mce-content-body details doc-root {
  padding: 12px;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: -10px;
  margin-top: -10px;
  overflow: hidden;
}

.page-content.mce-content-body .mce-preview-object.align-right {
  float: right !important;
  margin: 6px 0 6px 12px;
}

.page-content.mce-content-body .mce-preview-object.align-left {
  float: left !important;
  margin: 6px 16px 16px 0;
}

.page-content.mce-content-body .mce-preview-object.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-content.mce-content-body .mce-preview-object iframe,
.page-content.mce-content-body .mce-preview-object video {
  display: block;
  margin: 0 !important;
  float: none !important;
}

.page-content.mce-content-body td[data-mce-selected]::after,
.page-content.mce-content-body th[data-mce-selected]::after {
  top: 1px;
  left: 1px;
  bottom: 1px;
  right: 1px;
  outline: 1px dashed #1a85ff;
  outline-offset: 0;
}

/**
 * Dark Mode Overrides
 */
.dark-mode .tox .tox-toolbar__primary,
.dark-mode .tox .tox-menu,
.dark-mode .tox .tox-dialog__header,
.dark-mode .tox .tox-dialog,
.dark-mode .tox .tox-dialog__footer,
.dark-mode .tox .tox-pop__dialog,
.dark-mode .tox.tox-tinymce-aux .tox-toolbar__overflow {
  background-color: #333 !important;
}

.dark-mode .tox .tox-tbtn svg,
.dark-mode .tox .tox-tbtn,
.dark-mode .tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
  color: #dbdbdb;
  fill: #dbdbdb;
}

/**
 * Format Menu Hacks
 */
.tox .tox-tbtn--bespoke .tox-tbtn__select-label {
  width: 6em !important;
}

.tox-menu .tox-collection__item blockquote::before {
  content: none;
}

.tox-menu .tox-collection__item blockquote {
  border-left: 4px solid var(--color-primary) !important;
  padding: 4px 6px !important;
}

.tox-menu .tox-collection__item blockquote {
  border-left: 4px solid var(--color-primary) !important;
  padding: 4px 6px !important;
}

.tox-menu .tox-collection__item p[style*=background-color] {
  padding: 4px 6px !important;
  border-left: 3px solid currentColor !important;
}

.tox-menu .tox-collection__item[title^="<"] > div > div {
  font-family: var(--font-code) !important;
  border: 1px solid #DDD !important;
  background-color: #EEE !important;
  padding: 4px 6px !important;
}

.tox-menu .tox-collection__item-label {
  line-height: normal !important;
}

/**
 * Fake task list checkboxes
 */
.page-content.mce-content-body .task-list-item {
  margin-inline-start: 0;
  position: relative;
}

.page-content.mce-content-body .task-list-item > input[type=checkbox] {
  display: none;
}

.page-content.mce-content-body .task-list-item:before {
  content: "";
  display: inline-block;
  border: 2px solid #CCC;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-inline-end: 8px;
  vertical-align: text-top;
  cursor: pointer;
  position: absolute;
  inset-inline-start: -24px;
  top: 4px;
}

.page-content.mce-content-body .task-list-item[checked]:before {
  background-color: #CCC;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m8.4856 20.274-6.736-6.736 2.9287-2.7823 3.8073 3.8073 10.836-10.836 2.9287 2.9287z" stroke-width="1.4644"/></svg>');
  background-position: 50% 50%;
  background-size: 100% 100%;
}

:root {
  --editor-color-primary: #206ea7;
}

.editor-container {
  background-color: #FFF;
  position: relative;
}
html.dark-mode .editor-container {
  background-color: #222;
}
.editor-container.fullscreen {
  z-index: 500;
}

.editor-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  border-color: #DDD;
}
html.dark-mode .editor-toolbar-main {
  border-color: #000;
}

@media screen and (max-width: 1100px) {
  .editor-toolbar-main {
    overflow-x: scroll;
    flex-wrap: nowrap;
    justify-content: start;
  }
}
body.editor-is-fullscreen {
  overflow: hidden;
}
body.editor-is-fullscreen .edit-area {
  z-index: 20;
}

.editor-content-area {
  min-height: 100%;
  padding-block: 1rem;
}
.editor-content-area:focus {
  outline: 0;
}

.editor-content-wrap {
  position: relative;
  overflow-y: scroll;
  padding-inline: 12px;
  flex: 1;
}

.editor-button {
  font-size: 12px;
  padding: 4px;
  color: #444;
  color: #444;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
}
html.dark-mode .editor-button {
  color: #999;
}

.editor-button:hover {
  background-color: #EEE;
  background-color: #EEE;
  cursor: pointer;
  color: #000;
}
html.dark-mode .editor-button:hover {
  background-color: #333;
}

.editor-button[disabled] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.editor-button-active, .editor-button-active:hover {
  background-color: #ceebff;
  color: #000;
}
html.dark-mode .editor-button-active, html.dark-mode .editor-button-active:hover {
  background-color: #444;
}

.editor-button-long {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}

.editor-button-text {
  font-weight: 400;
  color: #000;
  font-size: 14px;
  flex: 1;
  padding-inline-end: 4px;
}
html.dark-mode .editor-button-text {
  color: #AAA;
}

.editor-button-format-preview {
  padding: 4px 6px;
  display: block;
}

.editor-button-long .editor-button-icon {
  width: 24px;
  height: 24px;
}

.editor-button-icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
  fill: currentColor;
  display: block;
}

.editor-menu-button-icon {
  width: 24px;
  height: 24px;
}
.editor-menu-button-icon svg {
  fill: #888;
}

.editor-container[dir=rtl] .editor-menu-button-icon {
  rotate: 180deg;
}

.editor-button-with-menu-container {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  border-radius: 4px;
}
.editor-button-with-menu-container .editor-dropdown-menu-container {
  display: flex;
}
.editor-button-with-menu-container .editor-dropdown-menu-container > .editor-dropdown-menu {
  top: 100%;
}
.editor-button-with-menu-container .editor-dropdown-menu-container > .editor-button {
  padding-inline: 4px;
  margin-inline-start: -3px;
}
.editor-button-with-menu-container .editor-dropdown-menu-container > .editor-button svg {
  width: 12px;
  height: 12px;
}
.editor-button-with-menu-container:hover {
  outline: 1px solid;
  outline-color: #DDD;
  outline-offset: -3px;
}
html.dark-mode .editor-button-with-menu-container:hover {
  outline-color: #111;
}

.editor-dropdown-menu-container {
  position: relative;
}

.editor-dropdown-menu {
  position: absolute;
  border: 1px solid;
  background-color: #FFF;
  border-color: #FFF;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
  z-index: 99;
  display: flex;
  flex-direction: row;
  border-radius: 3px;
}
html.dark-mode .editor-dropdown-menu {
  background-color: #292929;
}
html.dark-mode .editor-dropdown-menu {
  border-color: #333;
}
html.dark-mode .editor-dropdown-menu {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4);
}

.editor-dropdown-menu-vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 160px;
}

.editor-dropdown-menu-vertical .editor-button {
  border-bottom: 0;
  text-align: start;
  display: block;
  width: 100%;
}

.editor-dropdown-menu-vertical > .editor-dropdown-menu-container .editor-dropdown-menu {
  inset-inline-start: 100%;
  top: 0;
}

.editor-separator {
  display: block;
  height: 1px;
  opacity: 0.8;
  background-color: #DDD;
}
html.dark-mode .editor-separator {
  background-color: #000;
}

.editor-format-menu-toggle {
  width: 130px;
  height: 32px;
  font-size: 13px;
  overflow: hidden;
  padding-inline: 12px;
  justify-content: start;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23666" d="M7.41 8L12 12.58 16.59 8 18 9.41l-6 6-6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: 98% 50%;
  background-size: 28px;
}

.editor-container[dir=rtl] .editor-format-menu-toggle {
  background-position: 2% 50%;
}

.editor-format-menu .editor-dropdown-menu {
  min-width: 300px;
}
.editor-format-menu .editor-dropdown-menu .editor-dropdown-menu {
  min-width: 220px;
}
.editor-format-menu .editor-dropdown-menu .editor-button-icon {
  display: none;
}

.editor-format-menu .editor-dropdown-menu .editor-dropdown-menu-container > .editor-button {
  padding: 8px 10px;
}

.editor-overflow-container {
  display: flex;
  border-inline: 1px solid #DDD;
  padding-inline: 4px;
  border-color: #DDD;
}
html.dark-mode .editor-overflow-container {
  border-color: #000;
}
.editor-overflow-container:first-child {
  border-inline-start: none;
}
.editor-overflow-container:last-child {
  border-inline-end: none;
}
.editor-overflow-container + .editor-overflow-container {
  border-inline-start: none;
}

.editor-context-toolbar {
  position: fixed;
  border: 1px solid #DDD;
  background-color: #FFF;
  border-color: #DDD;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  padding: 0.2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
}
html.dark-mode .editor-context-toolbar {
  background-color: #222;
}
html.dark-mode .editor-context-toolbar {
  border-color: #333;
}
html.dark-mode .editor-context-toolbar {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4);
}
.editor-context-toolbar:before {
  content: "";
  z-index: -1;
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  background-color: #FFF;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-color: #DDD;
  transform: rotate(45deg);
  left: 50%;
  margin-left: -4px;
  top: -5px;
}
html.dark-mode .editor-context-toolbar:before {
  background-color: #222;
}
html.dark-mode .editor-context-toolbar:before {
  border-color: #333;
}
.editor-context-toolbar.is-above:before {
  top: calc(100% - 5px);
  transform: rotate(225deg);
}

.editor-modal-wrapper {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

.editor-modal {
  background-color: #FFF;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  margin: 6px;
  max-height: 100%;
  overflow-y: auto;
}
html.dark-mode .editor-modal {
  background-color: #222;
}

.editor-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: var(--color-primary);
  color: #FFF;
}

.editor-modal-title {
  padding: 8px 16px;
}

.editor-modal-close {
  color: #FFF;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.editor-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.editor-modal-close svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  display: block;
}

.editor-modal-body {
  padding: 16px;
}

.editor-color-select-row {
  display: flex;
}

.editor-color-select-option {
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-color-select-option:hover {
  border-radius: 3px;
  box-sizing: border-box;
  z-index: 3;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.25);
}

.editor-color-select-option[data-color=""] svg {
  width: 20px;
  height: 20px;
  fill: #888;
}

.editor-table-creator-row {
  display: flex;
}

.editor-table-creator-cell {
  border: 1px solid;
  border-color: #DDD;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
html.dark-mode .editor-table-creator-cell {
  border-color: #000;
}
.editor-table-creator-cell.active {
  background-color: var(--editor-color-primary);
}

.editor-table-creator-display {
  text-align: center;
  padding: 0.2em;
}

.editor-external-content {
  min-width: 500px;
  min-height: 500px;
}
.editor-external-content h4:first-child {
  margin-top: 0;
}

.editor-image-wrap {
  position: relative;
  display: inline-flex;
}

.editor-node-resizer {
  position: absolute;
  left: 0;
  right: auto;
  display: inline-block;
  outline: 2px dashed var(--editor-color-primary);
  direction: ltr;
  pointer-events: none;
}

.editor-node-resizer-handle {
  pointer-events: auto;
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--editor-color-primary);
  z-index: 3;
  background-color: #FFF;
  user-select: none;
}
html.dark-mode .editor-node-resizer-handle {
  background-color: #000;
}
.editor-node-resizer-handle.nw {
  inset-inline-start: -5px;
  inset-block-start: -5px;
  cursor: nw-resize;
}
.editor-node-resizer-handle.ne {
  inset-inline-end: -5px;
  inset-block-start: -5px;
  cursor: ne-resize;
}
.editor-node-resizer-handle.se {
  inset-inline-end: -5px;
  inset-block-end: -5px;
  cursor: se-resize;
}
.editor-node-resizer-handle.sw {
  inset-inline-start: -5px;
  inset-block-end: -5px;
  cursor: sw-resize;
}

.editor-node-resizer-ghost {
  opacity: 0.5;
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-color: var(--editor-color-primary);
}

.editor-node-resizer.active .editor-node-resizer-ghost {
  display: block;
}

.editor-table-marker {
  position: fixed;
  background-color: var(--editor-color-primary);
  z-index: 99;
  user-select: none;
  opacity: 0;
}
.editor-table-marker:hover, .editor-table-marker.active {
  opacity: 0.4;
}

.editor-table-marker-column {
  width: 4px;
  cursor: col-resize;
}

.editor-table-marker-row {
  height: 4px;
  cursor: row-resize;
}

.editor-code-block-wrap {
  user-select: none;
}
.editor-code-block-wrap > * {
  pointer-events: none;
}
.editor-code-block-wrap.selected .cm-editor {
  border: 1px dashed var(--editor-color-primary);
}

.editor-diagram.selected {
  outline: 2px dashed var(--editor-color-primary);
}

.editor-media-wrap {
  display: inline-block;
  cursor: not-allowed;
}
.editor-media-wrap iframe {
  pointer-events: none;
}
.editor-media-wrap.align-left {
  float: left;
}
.editor-media-wrap.align-right {
  float: right;
}
.editor-media-wrap.align-center {
  display: block;
  margin-inline: auto;
}

/**
 * Fake task list checkboxes
 */
.editor-content-area .task-list-item {
  margin-left: 0;
  position: relative;
}

.editor-content-area .task-list-item > input[type=checkbox] {
  display: none;
}

.editor-content-area .task-list-item:before {
  content: "";
  display: inline-block;
  border: 2px solid #CCC;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: text-top;
  cursor: pointer;
  position: absolute;
  left: -24px;
  top: 4px;
}

.editor-content-area .task-list-item[checked]:before {
  background-color: #CCC;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m8.4856 20.274-6.736-6.736 2.9287-2.7823 3.8073 3.8073 10.836-10.836 2.9287 2.9287z" stroke-width="1.4644"/></svg>');
  background-position: 50% 50%;
  background-size: 100% 100%;
}

/**
 * Form elements
 */
.editor-form-field-wrapper {
  margin-bottom: 0.5rem;
}

.editor-form-field-input {
  display: block;
  width: 260px;
  min-width: 100px;
  max-width: 100%;
  border: 1px solid;
  border-color: #DDD;
  padding: 0.5rem;
  border-radius: 4px;
  color: #444;
}
html.dark-mode .editor-form-field-input {
  border-color: #000;
}
html.dark-mode .editor-form-field-input {
  color: #BBB;
}

@media screen and (max-width: 400px) {
  .editor-form-field-input {
    min-width: 160px;
  }
}
textarea.editor-form-field-input {
  font-family: var(--font-code);
  width: 350px;
  height: 250px;
  font-size: 12px;
}

.editor-form-field-label {
  color: #444;
  font-weight: 700;
  font-size: 12px;
}

.editor-form-actions {
  display: flex;
  justify-content: end;
  gap: 12px;
  margin-top: 16px;
}

.editor-form-actions > button {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4em;
  padding: 7.8px 16px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: none;
}
.editor-form-actions > button:focus {
  outline: 1px dotted currentColor;
  outline-offset: -6px;
  box-shadow: none;
  filter: brightness(90%);
}

.editor-form-action-primary {
  background-color: var(--color-primary);
  color: #FFF;
  border: 1px solid var(--color-primary);
}
.editor-form-action-primary:hover {
  box-shadow: 0 0 4px 1px #CCC;
  filter: brightness(110%);
}
html.dark-mode .editor-form-action-primary:hover {
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
}

.editor-form-action-secondary {
  border: 1px solid;
  border-color: #CCC;
  color: #666;
}
html.dark-mode .editor-form-action-secondary {
  border-color: #666;
}
html.dark-mode .editor-form-action-secondary {
  color: #AAA;
}
.editor-form-action-secondary:hover, .editor-form-action-secondary:focus, .editor-form-action-secondary:active {
  color: #444;
  border: 1px solid #CCC;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  background-color: #F2F2F2;
  background-color: #f8f8f8;
  filter: none;
}
html.dark-mode .editor-form-action-secondary:hover, html.dark-mode .editor-form-action-secondary:focus, html.dark-mode .editor-form-action-secondary:active {
  color: #BBB;
}
html.dark-mode .editor-form-action-secondary:hover, html.dark-mode .editor-form-action-secondary:focus, html.dark-mode .editor-form-action-secondary:active {
  background-color: #444;
}
.editor-form-action-secondary:active {
  border-color: #BBB;
  background-color: #DDD;
  color: #666;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

.editor-form-tab-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.editor-form-tab-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

@media screen and (max-width: 880px) {
  .editor-form-tab-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .editor-form-tab-controls {
    flex-direction: row;
  }
}
.editor-form-tab-control {
  font-weight: bold;
  font-size: 14px;
  color: #444;
  border-bottom: 2px solid transparent;
  position: relative;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  text-align: start;
}
html.dark-mode .editor-form-tab-control {
  color: #666;
}
.editor-form-tab-control[aria-selected=true] {
  border-color: var(--editor-color-primary);
  color: var(--editor-color-primary) !important;
}
.editor-form-tab-control[aria-selected=true]:after, .editor-form-tab-control:hover:after {
  background-color: var(--editor-color-primary);
  opacity: 0.15;
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.editor-form-tab-contents {
  width: 260px;
  max-width: 100%;
}

.editor-action-input-container {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 0.1rem;
}
.editor-action-input-container .editor-button {
  margin-bottom: 12px;
}
.editor-action-input-container input {
  width: 220px;
}

.editor-color-field-container {
  position: relative;
}
.editor-color-field-container input {
  padding-left: 36px;
}
.editor-color-field-container .editor-dropdown-menu-container {
  position: absolute;
  bottom: 0;
}

.editor-theme-bold {
  font-weight: bold;
}

.editor-theme-italic {
  font-style: italic;
}

.editor-theme-strikethrough {
  text-decoration-line: line-through;
}

.editor-theme-underline {
  text-decoration-line: underline;
}

.editor-theme-underline-strikethrough {
  text-decoration: underline line-through;
}

/**
 * Custom CodeMirror BookStack overrides
 */
.cm-editor {
  font-size: 12px;
  border: 1px solid #ddd;
  line-height: 1.4;
  margin-bottom: 24px;
}

.page-content .cm-editor,
.CodeMirrorContainer .cm-editor {
  border-radius: 4px;
}

.cm-editor .cm-line {
  line-height: 1.6;
}

.cm-editor .cm-line, .cm-editor .cm-gutter {
  font-family: var(--font-code);
}

.dark-mode .cm-editor {
  border-color: #444;
}

/**
 * Custom Copy Button
 */
.cm-copy-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -1px;
  inset-inline-end: -1px;
  background-color: #EEE;
  border: 1px solid #DDD;
  border-start-end-radius: 4px;
  background-color: #eee;
  border-color: #ddd;
  color: #444;
  line-height: 0;
  cursor: pointer;
  z-index: 5;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  width: 32px;
  height: 32px;
  transition: background-color linear 60ms, color linear 60ms;
}
html.dark-mode .cm-copy-button {
  background-color: #333;
}
html.dark-mode .cm-copy-button {
  border-color: #444;
}
html.dark-mode .cm-copy-button {
  color: #888;
}
.cm-copy-button svg {
  fill: currentColor;
}
.cm-copy-button.success {
  background: var(--color-positive);
  color: #FFF;
}
.cm-copy-button:focus {
  outline: 0 !important;
}

.cm-editor:hover .cm-copy-button {
  user-select: all;
  opacity: 0.6;
  pointer-events: all;
}

.notification {
  position: fixed;
  top: 0;
  right: 0;
  margin: 32px;
  padding: 16px 24px;
  background-color: #FFF;
  background-color: #fff;
  border-radius: 4px;
  border-inline-start: 6px solid currentColor;
  box-shadow: 0 1px 6px 1px rgba(22, 22, 22, 0.2);
  z-index: 999999;
  cursor: pointer;
  max-width: 360px;
  transition: transform ease-in-out 280ms;
  transform: translateX(580px);
  display: grid;
  grid-template-columns: 42px 1fr 12px;
  color: #444;
  font-weight: 700;
}
html.dark-mode .notification {
  background-color: #444;
}
.notification span, .notification svg {
  vertical-align: middle;
  justify-self: center;
  align-self: center;
}
.notification svg {
  width: 2.8rem;
  height: 2.8rem;
  padding-inline-end: 12px;
  fill: currentColor;
}
.notification .dismiss {
  margin-top: -8px;
}
.notification .dismiss svg {
  height: 1rem;
  color: #444;
}
html.dark-mode .notification .dismiss svg {
  color: #888;
}
.notification span {
  vertical-align: middle;
  line-height: 1.3;
}
html.dark-mode .notification span {
  color: #BBB;
}
.notification.pos {
  color: var(--color-positive);
}
.notification.neg {
  color: var(--color-negative);
}
.notification.warning {
  color: var(--color-warning);
}
.notification.showing {
  transform: translateX(0);
}
.notification.showing:hover {
  transform: translate3d(0, -2px, 0);
}

.chapter-contents-toggle {
  cursor: pointer;
  margin: 0;
  transition: all ease-in-out 180ms;
  user-select: none;
}
.chapter-contents-toggle svg[data-icon=caret-right] {
  margin-inline-end: 0;
  font-size: 1rem;
  transition: all ease-in-out 180ms;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
}
.chapter-contents-toggle.open svg[data-icon=caret-right] {
  transform: rotate(90deg);
}
.chapter-contents-toggle svg[data-icon=caret-right] + * {
  margin-inline-start: 3px;
}

[overlay], .popup-background {
  background-color: rgba(0, 0, 0, 0.333);
  position: fixed;
  z-index: 95536;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  display: none;
}
html.dark-mode [overlay], html.dark-mode .popup-background {
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-body-wrap {
  display: flex;
}

.popup-body {
  background-color: #fff;
  max-height: 90%;
  max-width: 1200px;
  width: 90%;
  height: auto;
  margin: 2% auto;
  border-radius: 4px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 999;
  display: flex;
  flex-direction: column;
  position: relative;
}
html.dark-mode .popup-body {
  background-color: #333;
}
.popup-body.small {
  margin: 2% auto;
  width: 800px;
  max-width: 90%;
}
.popup-body.very-small {
  margin: 2% auto;
  width: 600px;
  max-width: 90%;
}
.popup-body:before {
  display: flex;
  align-self: flex-start;
}
.popup-body .popup-content {
  overflow-y: auto;
}
.popup-body:focus {
  outline: 0;
}

.popup-header button, .popup-footer button {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  color: #FFF;
  padding: 6px 16px;
  cursor: pointer;
}

.popup-header button:not(.popup-header-close) {
  font-size: 0.8rem;
}

.popup-header button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.popup-footer {
  justify-content: end;
  background-color: var(--color-primary-light);
  min-height: 41px;
}
.popup-footer button {
  padding: 10px 16px;
}

.popup-header-close {
  border: 0;
  color: #FFF;
  font-size: 16px;
  cursor: pointer;
}
.popup-header-close svg {
  margin-right: 0;
}

.popup-header, .popup-footer {
  display: flex;
  position: relative;
  height: 40px;
  flex: 0;
}
.popup-header .popup-title, .popup-footer .popup-title {
  color: #FFF;
  margin-inline-end: auto;
  padding: 8px 16px;
}
.popup-header.flex-container-row, .popup-footer.flex-container-row {
  display: flex !important;
}

body.flexbox-support #entity-selector-wrap .popup-body .form-group {
  height: 444px;
  min-height: 444px;
}

#entity-selector-wrap .popup-body .form-group {
  margin: 0;
}

.popup-body .entity-selector-container {
  flex: 1;
}

.dropzone-overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.333rem;
  width: 98%;
  height: 98%;
  left: 1%;
  top: 1%;
  border-radius: 4px;
  border: 1px dashed var(--color-primary);
  font-style: italic;
  box-sizing: content-box;
  background-clip: padding-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a9a9a9' fill-opacity='0.52' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-color: var(--color-primary);
  color: #FFF;
  opacity: 0.8;
  z-index: 9;
  pointer-events: none;
  animation: dzAnimIn 240ms ease-in-out;
}

.dropzone-landing-area {
  background-color: var(--color-primary-light);
  padding: 16px 24px;
  width: 100%;
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
  border-radius: 4px;
}

@keyframes dzAnimIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
@keyframes dzFileItemIn {
  0% {
    opacity: 0.5;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dzFileItemOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.5;
    transform: translateY(28px);
  }
}
.dropzone-file-item {
  width: 260px;
  height: 80px;
  position: relative;
  display: flex;
  margin: 1rem;
  flex-direction: row;
  background: #FFF;
  box-shadow: 0 1px 6px 1px rgba(22, 22, 22, 0.2);
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 3px;
  animation: dzFileItemIn ease-in-out 240ms;
  transition: transform ease-in-out 120ms, box-shadow ease-in-out 120ms;
  cursor: pointer;
}
html.dark-mode .dropzone-file-item {
  background: #444;
}
.dropzone-file-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px 1px rgba(22, 22, 22, 0.2);
}

.dropzone-file-item.dismiss {
  animation: dzFileItemOut ease-in-out 240ms;
}

.dropzone-file-item .loading-container {
  text-align: start !important;
  margin: 0;
}

.dropzone-file-item-image-wrap {
  width: 80px;
  position: relative;
  background-color: var(--color-primary-light);
}
.dropzone-file-item-image-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.dropzone-file-item-text-wrap {
  flex: 1;
  display: block;
  padding: 1rem;
  overflow: auto;
}

.dropzone-file-item-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0;
  height: 3px;
  background-color: var(--color-primary);
  transition: width ease-in-out 240ms;
}

.dropzone-file-item-label {
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.dropzone-file-item-label,
.dropzone-file-item-status {
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.dropzone-file-item-status[data-status] {
  display: flex;
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.2;
}

.dropzone-file-item-status[data-status=success] {
  color: var(--color-positive);
}

.dropzone-file-item-status[data-status=error] {
  color: var(--color-negative);
}

.dropzone-file-item-status[data-status] + .dropzone-file-item-label {
  display: none;
}

.image-manager-body {
  min-height: 70vh;
}

.image-manager-filter-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.85);
}
html.dark-mode .image-manager-filter-bar {
  background-color: rgba(80, 80, 80, 0.85);
}

.image-manager-filter-bar-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: -1;
}

.image-manager-filters {
  box-shadow: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
  border-radius: 4px;
  overflow: hidden;
  border-bottom: 0 !important;
}
html.dark-mode .image-manager-filters {
  border: 1px solid #000 !important;
}
.image-manager-filters button {
  line-height: 0;
  background-color: #FFF;
}
html.dark-mode .image-manager-filters button {
  background-color: #333;
}
.image-manager-filters svg {
  margin: 0;
}

.image-manager-list {
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(140px, 17%), 1fr));
  gap: 3px;
  z-index: 3;
}
.image-manager-list > div {
  aspect-ratio: 1;
}

.image-manager-list .image {
  display: block;
  position: relative;
  border-radius: 0;
  margin: 0;
  width: 100%;
  text-align: start;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  border-color: #ddd;
  transition: all linear 80ms;
  overflow: hidden;
}
html.dark-mode .image-manager-list .image {
  border-color: #000;
}
.image-manager-list .image.selected {
  background-color: var(--color-primary-light);
  outline: currentColor 3px solid;
  border-radius: 3px;
  transform: scale3d(0.95, 0.95, 0.95);
}
.image-manager-list .image img {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}
.image-manager-list .image .image-meta {
  opacity: 0;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  color: #EEE;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 10px;
  padding: 3px 4px;
  pointer-events: none;
  transition: opacity ease-in-out 80ms;
}
.image-manager-list .image .image-meta span {
  display: block;
}
.image-manager-list .image.selected .image-meta, .image-manager-list .image:hover .image-meta, .image-manager-list .image:focus .image-meta {
  opacity: 1;
}
@media screen and (max-width: 880px) {
  .image-manager-list .image .image-meta {
    display: none;
  }
}

.image-manager .load-more {
  text-align: center;
  padding: 12px 16px;
  clear: both;
}
.image-manager .load-more .loading-container {
  margin: 0;
}

.image-manager .loading-container {
  text-align: center;
}

.image-manager-list .image-manager-list-warning {
  grid-column: 1/-1;
  aspect-ratio: auto;
}

.image-manager-warning {
  background: #FFF;
  color: var(--color-warning);
  font-weight: bold;
  border-inline: 3px solid var(--color-warning);
}
html.dark-mode .image-manager-warning {
  background: #333;
}

.image-manager-sidebar {
  width: 300px;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  border-inline-start: 1px solid #DDD;
  border-color: #ddd;
}
html.dark-mode .image-manager-sidebar {
  border-color: #000;
}
.image-manager-sidebar .inner {
  min-height: auto;
  padding: 16px;
}
.image-manager-sidebar .image-manager-viewer img {
  max-width: 100%;
  max-height: 180px;
  display: block;
  margin: 0 auto 16px auto;
  box-shadow: 0 1px 21px 1px rgba(76, 76, 76, 0.3);
}
.image-manager-sidebar .image-manager-viewer {
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-manager-sidebar .image-manager-viewer a {
  display: inline-block;
}

@media screen and (max-width: 880px) {
  .image-manager-sidebar {
    border-inline-start: 0;
  }
}
.image-manager-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: scroll;
}
.image-manager-content .container {
  width: 100%;
}
.image-manager-content .full-tab {
  text-align: center;
}

.tab-container.bordered [role=tablist] button[role=tab] {
  border-inline-end: 1px solid #DDD;
  border-inline-end-color: #DDD;
}
html.dark-mode .tab-container.bordered [role=tablist] button[role=tab] {
  border-inline-end-color: #000;
}
.tab-container.bordered [role=tablist] button[role=tab]:last-child {
  border-inline-end: none;
}

.tab-container [role=tablist] {
  display: flex;
  align-items: end;
  justify-items: start;
  text-align: start;
  border-bottom: 1px solid #DDD;
  border-color: #ddd;
  margin-bottom: 16px;
}
html.dark-mode .tab-container [role=tablist] {
  border-color: #444;
}

.tab-container [role=tablist] button[role=tab] {
  display: inline-block;
  padding: 12px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
html.dark-mode .tab-container [role=tablist] button[role=tab] {
  color: rgba(255, 255, 255, 0.5);
}
.tab-container [role=tablist] button[role=tab][aria-selected=true] {
  color: var(--color-link) !important;
  border-bottom-color: var(--color-link) !important;
  outline: 0 !important;
}
.tab-container [role=tablist] button[role=tab]:hover, .tab-container [role=tablist] button[role=tab]:focus {
  color: rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(0, 0, 0, 0.2);
}
html.dark-mode .tab-container [role=tablist] button[role=tab]:hover, html.dark-mode .tab-container [role=tablist] button[role=tab]:focus {
  color: rgba(255, 255, 255, 0.8);
}
html.dark-mode .tab-container [role=tablist] button[role=tab]:hover, html.dark-mode .tab-container [role=tablist] button[role=tab]:focus {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.tab-container [role=tablist] button[role=tab]:focus {
  outline: 1px dotted var(--color-primary);
  outline-offset: -2px;
}

.tab-container [role=tablist].controls-card {
  margin-bottom: 0;
  border-bottom: 0;
  padding: 0 6px;
}

.image-picker .none {
  display: none;
}

.code-editor .CodeMirror {
  height: auto;
  min-height: 50vh;
  border-bottom: 0;
}

.code-editor .lang-options {
  overflow-y: scroll;
  flex-basis: 200px;
  flex-grow: 1;
}

.code-editor .lang-options button {
  display: block;
  padding: 6px 16px;
  border-bottom: 1px solid;
  color: #333;
  border-bottom-color: #EEE;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-code);
  font-size: 0.7rem;
  padding-left: 30px;
}
html.dark-mode .code-editor .lang-options button {
  color: #AAA;
}
html.dark-mode .code-editor .lang-options button {
  border-bottom-color: #000;
}
.code-editor .lang-options button:hover, .code-editor .lang-options button.active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.code-editor button.lang-option-favorite-toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  font-size: 1rem;
  border: 0;
  line-height: 1;
  padding: 2px;
  z-index: 2;
  height: 100%;
  text-align: center;
  color: var(--color-primary);
}
.code-editor button.lang-option-favorite-toggle svg {
  margin: 0;
}

.code-editor button[data-favourite=true] ~ .action-favourite,
.code-editor button[data-favourite=false] ~ .action-unfavourite {
  display: none;
}

.code-editor .action-favourite {
  opacity: 0.5;
}

.code-editor button:hover ~ .action-favourite {
  opacity: 1;
}

.code-editor label {
  background-color: var(--color-primary-light);
  width: 100%;
  color: var(--color-primary);
  padding: 3px 12px;
  margin-bottom: 0;
}

.code-editor-language-list {
  position: relative;
  width: 160px;
  z-index: 2;
  align-items: stretch;
}

.code-editor-language-list input {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #DDD;
  padding: 6px 12px;
  height: auto;
}

.code-editor-main {
  flex: 1;
  min-width: 0;
}
.code-editor-main .cm-editor {
  margin-bottom: 0;
  z-index: 1;
  max-width: 100%;
  width: 100%;
}

.code-editor-body-wrap {
  height: 80vh;
}

@media screen and (max-width: 600px) {
  .code-editor .lang-options {
    display: none;
  }
  .code-editor-body-wrap {
    flex-direction: column;
  }
  .code-editor-language-list, .code-editor-language-list input {
    width: 100%;
  }
}
.comments-container {
  padding-inline: 32px;
}
@media screen and (max-width: 880px) {
  .comments-container {
    padding-inline: 6px;
  }
}

.comment-box {
  border-radius: 4px;
  border: 1px solid #DDD;
  border-color: #ddd;
  background-color: #FFF;
}
html.dark-mode .comment-box {
  border-color: #000;
}
html.dark-mode .comment-box {
  background-color: #222;
}
.comment-box .content {
  font-size: 0.666em;
  padding: 6px 12px;
}
.comment-box .content p, .comment-box .content ul, .comment-box .content ol {
  font-size: 14px;
  margin: 0.5em 0;
}
.comment-box .actions {
  opacity: 0;
  transition: opacity ease-in-out 120ms;
}
.comment-box:hover .actions, .comment-box:focus-within .actions {
  opacity: 1;
}
.comment-box .actions button:focus {
  outline: 1px dotted var(--color-primary);
}
@media screen and (max-width: 880px) {
  .comment-box .actions {
    opacity: 1;
  }
}

.comment-box .header {
  border-bottom: 1px solid #DDD;
  padding: 6px 12px;
  border-color: #DDD;
}
html.dark-mode .comment-box .header {
  border-color: #000;
}
.comment-box .header a {
  color: inherit;
}
.comment-box .header .text-muted {
  color: #999;
}
.comment-box .header .meta a, .comment-box .header .meta span {
  white-space: nowrap;
}
.comment-box .header .right-meta .text-muted {
  opacity: 0.8;
}

.comment-thread-indicator {
  border-inline-start: 3px dotted #DDD;
  border-color: #DDD;
  margin-inline-start: 6px;
  width: 24px;
  height: calc(100% - 16px);
}
html.dark-mode .comment-thread-indicator {
  border-color: #444;
}

.comment-branch .comment-branch .comment-branch .comment-branch .comment-thread-indicator {
  display: none;
}

.comment-reply {
  display: none;
  margin: 0 !important;
  margin-bottom: -3px !important;
}

.comment-branch .comment-branch .comment-branch .comment-branch .comment-reply {
  display: block;
}

.comment-container-compact .comment-box .meta {
  font-size: 0.8rem;
}
.comment-container-compact .comment-box .header {
  padding: 6px;
}
.comment-container-compact .comment-box .right-meta {
  display: none;
}
.comment-container-compact .comment-box .content {
  padding: 6px 12px;
}

.comment-container-compact .comment-thread-indicator {
  width: 16px;
}

#tag-manager .drag-card {
  max-width: 500px;
}

.template-item {
  cursor: pointer;
  position: relative;
}
.template-item:hover, .template-item .template-item-actions button:hover {
  background-color: #F2F2F2;
}
.template-item .template-item-actions {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-inline-start: 1px solid;
  border-color: #ddd;
}
html.dark-mode .template-item .template-item-actions {
  border-color: #000;
}
.template-item .template-item-actions button {
  cursor: pointer;
  flex: 1;
  background-color: #FFF;
  border: 0;
  border-top: 1px solid;
  border-color: #DDD;
}
html.dark-mode .template-item .template-item-actions button {
  background-color: #222;
}
html.dark-mode .template-item .template-item-actions button {
  border-color: #000;
}
.template-item .template-item-actions button svg {
  margin: 0;
}
.template-item .template-item-actions button:first-child {
  border-top: 0;
}

.dropdown-search {
  position: relative;
}

.dropdown-search-toggle-breadcrumb {
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: normal;
  padding: 6px;
}
.dropdown-search-toggle-breadcrumb:hover {
  border-color: #DDD;
}
.dropdown-search-toggle-breadcrumb .svg-icon {
  margin-inline-end: 0;
}

.dropdown-search-toggle-select {
  display: flex;
  gap: 12px;
  line-height: normal;
}
.dropdown-search-toggle-select .svg-icon {
  height: 26px;
  width: 26px;
  margin: 0;
}
.dropdown-search-toggle-select .avatar {
  height: 22px;
  width: 22px;
}
.dropdown-search-toggle-select .avatar + span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-search-toggle-select .dropdown-search-toggle-caret {
  font-size: 1.15rem;
}

.dropdown-search-toggle-select-label {
  min-width: 0;
  white-space: nowrap;
}

.dropdown-search-toggle-select-caret {
  line-height: 0;
  margin-left: auto;
  margin-top: -2px;
  display: flex;
  align-items: center;
}

.dropdown-search-dropdown {
  box-shadow: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
  overflow: hidden;
  min-height: 100px;
  width: 240px;
  display: none;
  position: absolute;
  z-index: 80;
  right: 0;
  top: 0;
  margin-top: 16px;
}
html[dir=rtl] .dropdown-search-dropdown {
  right: auto;
  left: -16px;
}
.dropdown-search-dropdown .dropdown-search-search .svg-icon {
  position: absolute;
  left: 12px;
  top: 11px;
  fill: #888;
  pointer-events: none;
}
html[dir=rtl] .dropdown-search-dropdown .dropdown-search-search .svg-icon {
  right: 12px;
  left: auto;
}
.dropdown-search-dropdown .dropdown-search-list {
  max-height: 400px;
  overflow-y: scroll;
  text-align: start;
}
.dropdown-search-dropdown .dropdown-search-item {
  padding: 12px 16px;
}
.dropdown-search-dropdown .dropdown-search-item:hover, .dropdown-search-dropdown .dropdown-search-item:focus {
  background-color: #F2F2F2;
  text-decoration: none;
}
.dropdown-search-dropdown input, .dropdown-search-dropdown input:focus {
  padding-inline-start: 32px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #DDD;
}
.dropdown-search-dropdown input:focus {
  outline: 0;
}

@media screen and (max-width: 1000px) {
  .dropdown-search-dropdown {
    inset-inline: 16px auto;
  }
  .dropdown-search-dropdown .dropdown-search-list {
    max-height: 240px;
  }
}
.item-list {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.item-list-row {
  border: 1.5px solid;
  border-color: #E2E2E2;
  border-bottom-width: 0;
}
html.dark-mode .item-list-row {
  border-color: #444;
}
.item-list-row label {
  padding-bottom: 0;
}
.item-list-row:hover {
  background-color: #F6F6F6;
}
html.dark-mode .item-list-row:hover {
  background-color: #333;
}

.item-list-row:first-child {
  border-radius: 4px 4px 0 0;
}

.item-list-row:last-child {
  border-radius: 0 0 4px 4px;
  border-bottom-width: 1.5px;
}

.item-list-row:first-child:last-child {
  border-radius: 4px;
}

.item-list-row-toggle-all {
  visibility: hidden;
}

.item-list-row:hover .item-list-row-toggle-all {
  visibility: visible;
}

.status-indicator-active, .status-indicator-inactive {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator-active {
  background-color: var(--color-positive);
}

.status-indicator-inactive {
  background-color: var(--color-negative);
}

.shortcut-container {
  background-color: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.shortcut-linkage {
  position: fixed;
  box-shadow: 0 0 4px 0 #FFF;
  border-radius: 3px;
}

.shortcut-hint {
  position: fixed;
  padding: 3px 3px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
  color: #333;
}

.back-to-top {
  background-color: var(--color-primary);
  position: fixed;
  bottom: 16px;
  right: 24px;
  padding: 5px 7px;
  cursor: pointer;
  color: #FFF;
  fill: #FFF;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  transition: all ease-in-out 180ms;
  opacity: 0;
  z-index: 999;
  overflow: hidden;
}
.back-to-top svg {
  width: 26.6666666667px;
  height: 26.6666666667px;
  margin-inline-end: 4px;
}
.back-to-top:hover {
  width: 136px;
  opacity: 1 !important;
}
.back-to-top .inner {
  width: 136px;
}
.back-to-top span {
  position: relative;
  vertical-align: top;
  line-height: 2;
}

.scroll-box {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 280px;
  overflow-y: scroll;
  border: 1px solid;
  border-color: #DDD;
  border-radius: 3px;
  min-height: 20px;
  background-color: #EEE;
}
html.dark-mode .scroll-box {
  border-color: #000;
}
html.dark-mode .scroll-box {
  background-color: #000;
}

.scroll-box-item {
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-color: #DDD;
  margin-top: -1px;
  background-color: #FFF;
  display: flex;
  align-items: flex-start;
  padding: 1px;
}
html.dark-mode .scroll-box-item {
  border-color: #000;
}
html.dark-mode .scroll-box-item {
  background-color: #222;
}
.scroll-box-item:last-child {
  border-bottom: 0;
}
.scroll-box-item:hover {
  cursor: pointer;
  background-color: #f8f8f8;
}
html.dark-mode .scroll-box-item:hover {
  background-color: #333;
}
.scroll-box-item.items-center {
  align-items: center;
}
.scroll-box-item .handle {
  color: #AAA;
  cursor: grab;
}
.scroll-box-item button {
  opacity: 0.6;
  line-height: 1;
}
.scroll-box-item .handle svg {
  margin: 0;
}
.scroll-box-item > * {
  padding: 6px 16px;
}
.scroll-box-item .handle + * {
  padding-left: 0;
}
.scroll-box-item:hover .handle {
  color: #444;
}
html.dark-mode .scroll-box-item:hover .handle {
  color: #FFF;
}
.scroll-box-item:hover button {
  opacity: 1;
}
.scroll-box-item a:hover {
  text-decoration: none;
}

input.scroll-box-search, .scroll-box-header-item {
  font-size: 0.8rem;
  border: 1px solid;
  border-color: #DDD;
  background-color: #FFF;
  margin-bottom: -1px;
  border-radius: 3px 3px 0 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  line-height: 1.4;
  color: #666;
}
html.dark-mode input.scroll-box-search, html.dark-mode .scroll-box-header-item {
  border-color: #000;
}
html.dark-mode input.scroll-box-search, html.dark-mode .scroll-box-header-item {
  background-color: #222;
}

.scroll-box-search + .scroll-box,
.scroll-box-header-item + .scroll-box {
  border-radius: 0 0 3px 3px;
}

.scroll-box.configured-option-list [data-action=add] {
  display: none;
}

.scroll-box.available-option-list [data-action=remove],
.scroll-box.available-option-list [data-action=move_up],
.scroll-box.available-option-list [data-action=move_down] {
  display: none;
}

.scroll-box > li.empty-state {
  display: none;
}

.scroll-box > li.empty-state:last-child {
  display: list-item;
}

/**
 * Includes the main navigation header and the faded toolbar.
 */
header.grid {
  grid-template-columns: minmax(max-content, 2fr) 1fr minmax(max-content, 2fr);
}

@media screen and (max-width: 1000px) {
  header.grid {
    grid-template-columns: 1fr;
    grid-row-gap: 0;
  }
}
header {
  position: relative;
  display: block;
  z-index: 11;
  top: 0;
  color: rgb(250, 250, 250);
  border-bottom: 1px solid #DDD;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
  border-bottom-color: #DDD;
}
html.dark-mode header {
  border-bottom-color: #000;
}
header .header-links {
  display: flex;
  align-items: center;
  justify-content: end;
}
header .links {
  display: inline-block;
  vertical-align: top;
}
header .links a {
  display: inline-block;
  padding: 10px 16px;
  color: #FFF;
  border-radius: 3px;
}
header .links a:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
}
header .dropdown-container {
  padding-inline-start: 16px;
  padding-inline-end: 0;
}
header .avatar, header .user-name {
  display: inline-block;
}
header .avatar {
  width: 30px;
  height: 30px;
}
header .user-name {
  vertical-align: top;
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  margin: 0 -12px;
  border-radius: 3px;
  gap: 6px;
}
header .user-name > span {
  padding-inline-start: 6px;
  display: inline-block;
  line-height: 1;
}
header .user-name > svg {
  font-size: 18px;
  margin-top: -2px;
  margin-inline-end: 0;
}
header .user-name:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
@media screen and (min-width: 1001px) and (max-width: 1100px) {
  header .user-name {
    padding-inline-start: 6px;
  }
  header .user-name .name {
    display: none;
  }
}

.header *, .primary-background * {
  outline-color: #FFF;
}

header .search-box {
  display: inline-block;
}
header .search-box input {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  color: #EEE;
  z-index: 2;
  height: auto;
  padding: 9px;
  padding-inline-start: 40px;
}
header .search-box input:focus {
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
header .search-box input::placeholder {
  color: #FFF;
  opacity: 0.6;
}
@media screen and (min-width: 1001px) and (max-width: 1100px) {
  header .search-box {
    max-width: 200px;
  }
}
header .search-box:focus-within #header-search-box-button {
  opacity: 1;
}

#header-search-box-button {
  z-index: 1;
  inset-inline-start: 16px;
  top: 10px;
  color: #FFF;
  opacity: 0.6;
  color: rgba(255, 255, 255, 0.8);
}
html.dark-mode #header-search-box-button {
  color: #AAA;
}
#header-search-box-button svg {
  margin-inline-end: 0;
}

.global-search-suggestions {
  display: none;
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  z-index: -1;
  margin-left: -48px;
  margin-right: -48px;
  padding-top: 56px;
  border-radius: 3px;
  box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.13);
  transform-origin: top center;
  opacity: 0.5;
  transform: scale(0.9);
}
.global-search-suggestions .entity-item-snippet p {
  display: none;
}
.global-search-suggestions .entity-item-snippet {
  font-size: 0.8rem;
}
.global-search-suggestions .entity-list-item-name {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.global-search-suggestions .global-search-loading {
  position: absolute;
  width: 100%;
}

header .search-box.search-active:focus-within .global-search-suggestions {
  display: block;
}
header .search-box.search-active:focus-within input {
  background-color: #EEE;
  border-color: #DDD;
}
html.dark-mode header .search-box.search-active:focus-within input {
  background-color: #333;
}
html.dark-mode header .search-box.search-active:focus-within input {
  border-color: #111;
}
header .search-box.search-active:focus-within #header-search-box-button, header .search-box.search-active:focus-within input {
  color: #444;
}
html.dark-mode header .search-box.search-active:focus-within #header-search-box-button, html.dark-mode header .search-box.search-active:focus-within input {
  color: #AAA;
}

.logo {
  display: inline-flex;
  padding: 6px 12px;
  margin: 6px -12px;
  gap: 12px;
  align-items: center;
  border-radius: 4px;
}
.logo:hover {
  color: #FFF;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.logo-text {
  font-size: 1.8em;
  color: #fff;
  font-weight: 400;
  line-height: 1;
}

.logo-image {
  height: 43px;
}

.mobile-menu-toggle {
  color: #FFF;
  fill: #FFF;
  font-size: 2em;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 0 6px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
.mobile-menu-toggle svg {
  margin: 0;
  bottom: -2px;
}

@media screen and (max-width: 1000px) {
  header .header-links {
    background-color: #fff;
    display: none;
    z-index: 10;
    inset-inline-end: 16px;
    border-radius: 4px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.13);
    margin-top: 16px;
    padding: 6px 0;
  }
  html.dark-mode header .header-links {
    background-color: #333;
  }
  header .header-links.show {
    display: block;
  }
  header .links a, header .dropdown-container ul li a, header .dropdown-container ul li button {
    text-align: start;
    display: grid;
    align-items: center;
    padding: 8px 16px;
    gap: 16px;
    color: #444;
    grid-template-columns: 16px auto;
    line-height: 1.4;
    color: #444;
  }
  html.dark-mode header .links a, html.dark-mode header .dropdown-container ul li a, html.dark-mode header .dropdown-container ul li button {
    color: #eee;
  }
  header .links a svg, header .dropdown-container ul li a svg, header .dropdown-container ul li button svg {
    margin-inline-end: 12px;
    width: 16px;
  }
  header .links a:hover, header .dropdown-container ul li a:hover, header .dropdown-container ul li button:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    text-decoration: none;
  }
  header .links a:focus, header .dropdown-container ul li a:focus, header .dropdown-container ul li button:focus {
    background-color: #eee;
    outline-color: var(--color-primary);
    color: var(--color-primary);
  }
  html.dark-mode header .links a:focus, html.dark-mode header .dropdown-container ul li a:focus, html.dark-mode header .dropdown-container ul li button:focus {
    background-color: #333;
  }
  header .dropdown-container {
    display: block;
    padding-inline-start: 0;
  }
  header .links {
    display: block;
  }
  header .dropdown-container ul {
    display: block !important;
    position: relative;
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
}
.tri-layout-mobile-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: #FFF;
  border-bottom: 1px solid #DDD;
  border-bottom-color: #DDD;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
}
html.dark-mode .tri-layout-mobile-tabs {
  border-bottom-color: #333;
}

.tri-layout-mobile-tab {
  text-align: center;
  border-bottom: 3px solid #BBB;
  cursor: pointer;
  margin: 0;
  background-color: #FFF;
  border-bottom-color: #BBB;
}
html.dark-mode .tri-layout-mobile-tab {
  background-color: #222;
}
html.dark-mode .tri-layout-mobile-tab {
  border-bottom-color: #333;
}
.tri-layout-mobile-tab:first-child {
  border-inline-end: 1px solid #DDD;
  border-inline-end-color: #DDD;
}
html.dark-mode .tri-layout-mobile-tab:first-child {
  border-inline-end-color: #000;
}
.tri-layout-mobile-tab[aria-selected=true] {
  border-bottom-color: currentColor !important;
}

.breadcrumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0.7;
}
.breadcrumbs .icon-list-item {
  width: auto;
  padding-top: 6px;
  padding-bottom: 6px;
}
.breadcrumbs .separator {
  display: inline-block;
  fill: #aaa;
  font-size: 1.6em;
  line-height: 0.8;
  margin: -2px 0 0;
}
.breadcrumbs:hover, .breadcrumbs:focus-within {
  opacity: 1;
}
@media (prefers-contrast: more) {
  .breadcrumbs {
    opacity: 1;
  }
}

@media screen and (max-width: 1000px) {
  .breadcrumbs .icon-list-item {
    padding: 6px;
  }
  .breadcrumbs .icon-list-item > span + span {
    display: none;
  }
  .breadcrumbs .icon-list-item > span:first-child {
    margin-inline-end: 0;
  }
}
.faded a, .faded button, .faded span, .faded span > div {
  color: #666;
  fill: #666;
}
.faded .text-button {
  opacity: 0.5;
  transition: all ease-in-out 120ms;
}
.faded .text-button:hover {
  opacity: 1;
  text-decoration: none;
}

.faded span.faded-text {
  display: inline-block;
  padding: 12px;
}

/**
 * Includes the footer links.
 */
footer {
  flex-shrink: 0;
  padding: 1rem 1rem 2rem 1rem;
  text-align: center;
}

footer a {
  margin: 0 0.5em;
}

body.flexbox footer {
  display: none;
}

.book-contents .entity-list-item .icon {
  width: 4px;
  border-radius: 1px;
  justify-self: stretch;
  align-self: stretch;
  height: auto;
  margin-inline-end: 6px;
}
.book-contents .entity-list-item .icon:after {
  opacity: 0.5;
}
.book-contents .entity-list-item .icon svg {
  display: none;
}
.book-contents .entity-list-item p {
  margin-bottom: 0;
}
.book-contents .entity-list-item .inner-page {
  padding-top: 0;
  padding-bottom: 0;
}

.entity-list-item + .chapter-expansion {
  display: flex;
  padding: 0 16px 16px 16px;
  align-items: center;
  border: 0;
  width: 100%;
  position: relative;
}
.entity-list-item + .chapter-expansion > .icon {
  width: 4px;
  height: auto;
  border-radius: 0 0 1px 1px;
  align-self: stretch;
  flex-shrink: 0;
}
.entity-list-item + .chapter-expansion > .icon:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  content: "";
  opacity: 0.5;
}
.entity-list-item + .chapter-expansion > .icon:after {
  opacity: 0.5;
}
.entity-list-item + .chapter-expansion .icon svg {
  display: none;
}
.entity-list-item + .chapter-expansion > .content {
  flex: 1;
}
.entity-list-item + .chapter-expansion .chapter-contents-toggle {
  border-radius: 0 4px 4px 0;
  padding: 6px 19px;
  width: 100%;
  text-align: start;
}
.entity-list-item + .chapter-expansion .chapter-contents-toggle:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.entity-list-item.has-children {
  padding-bottom: 0;
}
.entity-list-item.has-children > .icon {
  border-radius: 4px 4px 0 0;
}

.inset-list {
  display: none;
}
.inset-list .entity-list-item-name {
  font-size: 1rem;
}
.inset-list .entity-list-item-children {
  padding-top: 0;
  padding-bottom: 0;
}

.sidebar-page-nav {
  list-style: none;
  margin-block-start: 12px;
  margin-block-end: 16px;
  margin-inline-start: 6px;
  margin-inline-end: 0;
  position: relative;
}
.sidebar-page-nav:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  width: 2px;
  top: 5px;
  bottom: 5px;
  z-index: 0;
}
html[dir=rtl] .sidebar-page-nav:after {
  left: auto;
  right: 0;
}
html.dark-mode .sidebar-page-nav:after {
  background-color: rgba(255, 255, 255, 0.2);
}
.sidebar-page-nav li {
  margin-bottom: 4px;
  font-size: 0.95em;
  position: relative;
}
.sidebar-page-nav .h1 {
  padding-inline-start: 16px;
}
.sidebar-page-nav .h2 {
  padding-inline-start: 24px;
}
.sidebar-page-nav .h3 {
  padding-inline-start: 32px;
}
.sidebar-page-nav .h4 {
  padding-inline-start: 40px;
}
.sidebar-page-nav .h5 {
  padding-inline-start: 48px;
}
.sidebar-page-nav .h6 {
  padding-inline-start: 56px;
}
.sidebar-page-nav .current-heading {
  font-weight: bold;
}
.sidebar-page-nav li:not(.current-heading) .sidebar-page-nav-bullet {
  background-color: #BBB !important;
}
html.dark-mode .sidebar-page-nav li:not(.current-heading) .sidebar-page-nav-bullet {
  background-color: #666 !important;
}
.sidebar-page-nav .sidebar-page-nav-bullet {
  width: 6px;
  height: 6px;
  position: absolute;
  left: -2px;
  top: 30%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #F2F2F2;
  box-shadow: 0 0 0 6px #F2F2F2;
  z-index: 1;
}
html.dark-mode .sidebar-page-nav .sidebar-page-nav-bullet {
  box-shadow: 0 0 0 6px #111;
}
html[dir=rtl] .sidebar-page-nav .sidebar-page-nav-bullet {
  left: auto;
  right: -2px;
}

.book-tree .sidebar-page-list {
  list-style: none;
  margin-block-start: 6px;
  margin-block-end: 0;
  margin-inline-start: -12px;
  margin-inline-end: -12px;
  padding-inline-start: 0;
  padding-inline-end: 0;
}
.book-tree .sidebar-page-list ul {
  list-style: none;
  padding-inline-start: 1rem;
  padding-inline-end: 0;
}
.book-tree .sidebar-page-list .entity-list-item {
  padding-top: 2px;
  padding-bottom: 2px;
  background-clip: content-box;
  border-radius: 0 3px 3px 0;
  padding-inline-end: 0;
}
.book-tree .sidebar-page-list .entity-list-item .content {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
  max-width: calc(100% - 20px);
}
.book-tree .sidebar-page-list .entity-list-item.selected {
  background-color: rgba(0, 0, 0, 0.06);
}
html.dark-mode .book-tree .sidebar-page-list .entity-list-item.selected {
  background-color: rgba(255, 255, 255, 0.06);
}
.book-tree .sidebar-page-list .entity-list-item.no-hover {
  margin-top: -6px;
  padding-inline-end: 0;
}
.book-tree .sidebar-page-list .entity-list-item-name {
  font-size: 1em;
  margin: 0;
  margin-inline-end: 16px;
}
.book-tree .sidebar-page-list .chapter-child-menu {
  font-size: 0.8rem;
  margin-top: -0.2rem;
  margin-inline-start: -1rem;
}
.book-tree .sidebar-page-list .chapter-contents-toggle {
  display: block;
  width: 100%;
  text-align: start;
  padding: 3px 12px 6px 12px;
  border-radius: 0 3px 3px 0;
  line-height: 1;
  margin-top: -3px;
  margin-bottom: -3px;
}
.book-tree .sidebar-page-list .chapter-contents-toggle:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
html.dark-mode .book-tree .sidebar-page-list .chapter-contents-toggle:hover {
  background-color: rgba(255, 255, 255, 0.06);
}
.book-tree .sidebar-page-list .entity-list-item .icon {
  z-index: 2;
  width: 4px;
  height: auto;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 1px;
  opacity: 0.8;
}
.book-tree .sidebar-page-list .entity-list-item .icon:after {
  opacity: 1;
}
.book-tree .sidebar-page-list .entity-list-item .icon svg {
  display: none;
}

.chapter-child-menu ul.sub-menu {
  display: none;
  padding-inline-start: 0;
  position: relative;
  margin-bottom: 0;
}

.sortable-page-list, .sortable-page-sublist {
  list-style: none;
}

.sort-box {
  margin-bottom: 16px;
  padding: 16px 32px;
  position: relative;
}
.sort-box summary:focus {
  outline: 1px dashed var(--color-primary);
  outline-offset: 5px;
}
.sort-box::before {
  pointer-events: none;
  content: "";
  border-radius: 4px;
  opacity: 0.5;
  border: 2px solid var(--color-book);
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.sort-box-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sort-box-options .button {
  margin-inline-start: 0;
}

.sortable-page-list {
  margin-inline-start: 0;
  padding: 0;
}
.sortable-page-list .entity-list-item > span:first-child {
  align-self: flex-start;
}
.sortable-page-list .sortable-selected, .sortable-page-list .sortable-selected:hover {
  outline: 1px dotted var(--color-primary);
  background-color: var(--color-primary-light) !important;
}
.sortable-page-list .entity-list-item > div {
  display: block;
  flex: 1;
}
.sortable-page-list > ul {
  margin-inline-start: 0;
}
.sortable-page-list .sortable-page-sublist {
  margin-bottom: 16px;
  margin-top: 0;
  padding-inline-start: 16px;
}
.sortable-page-list li {
  background-color: #FFF;
  border: 1px solid;
  border-color: #DDD;
  margin-top: -1px;
  min-height: 38px;
}
html.dark-mode .sortable-page-list li {
  background-color: #222;
}
html.dark-mode .sortable-page-list li {
  border-color: #666;
}
.sortable-page-list li.text-page, .sortable-page-list li.text-chapter {
  border-inline-start: 2px solid currentColor;
}
.sortable-page-list li:first-child {
  margin-top: 6px;
}

.sortable-page-list li.placeholder {
  position: relative;
}

.sortable-page-list li.placeholder:before {
  position: absolute;
}

.sort-box summary {
  list-style: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.sort-box summary::-webkit-details-marker {
  display: none;
}

details.sort-box summary .caret-container svg {
  transition: transform ease-in-out 120ms;
}

details.sort-box[open] summary .caret-container svg {
  transform: rotate(90deg);
}

.sort-box-actions .icon-button {
  opacity: 0.6;
}

.sort-box .flex-container-row:hover .sort-box-actions .icon-button,
.sort-box .flex-container-row:focus-within .sort-box-actions .icon-button {
  opacity: 1;
}

.sort-box-actions .icon-button[disabled] {
  visibility: hidden;
}

.sort-box-actions .dropdown-menu button[disabled] {
  display: none;
}

.sort-list-handle {
  cursor: grab;
}

.activity-list-item {
  padding: 12px 0;
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-column-gap: 16px;
  font-size: 0.9em;
}

.card .activity-list-item {
  padding-block: 12px;
}

.user-list-item {
  display: inline-grid;
  padding: 12px;
  grid-template-columns: min-content 1fr;
  grid-column-gap: 16px;
  font-size: 0.9em;
  align-items: center;
}
.user-list-item > div:first-child {
  line-height: 0;
}

ul.pagination {
  display: inline-flex;
  list-style: none;
  margin: 16px 0;
  padding-inline-start: 1px;
}
ul.pagination li:first-child a, ul.pagination li:first-child span {
  border-radius: 3px 0 0 3px;
}
ul.pagination li:last-child a, ul.pagination li:last-child span {
  border-radius: 0 3px 3px 0;
}
ul.pagination a, ul.pagination span {
  display: block;
  padding: 3px 12px;
  border: 1px solid #CCC;
  margin-inline-start: -1px;
  user-select: none;
  color: #555;
  border-color: #ccc;
}
html.dark-mode ul.pagination a, html.dark-mode ul.pagination span {
  color: #eee;
}
html.dark-mode ul.pagination a, html.dark-mode ul.pagination span {
  border-color: #666;
}
ul.pagination li.disabled {
  cursor: not-allowed;
}
ul.pagination li.active span {
  color: #111;
  background-color: rgba(0, 0, 0, 0.05);
}
html.dark-mode ul.pagination li.active span {
  color: #eee;
}
html.dark-mode ul.pagination li.active span {
  background-color: rgba(0, 0, 0, 0.5);
}

.compact ul.pagination {
  margin: 0;
}

.entity-list, .icon-list {
  margin: 0 -16px;
}
.entity-list h4, .icon-list h4 {
  margin: 0;
}
.entity-list hr, .icon-list hr {
  margin: 0;
}
.entity-list .text-small.text-muted, .icon-list .text-small.text-muted {
  color: #AAA;
  font-size: 0.75em;
  margin-top: 6px;
}
.entity-list .text-muted p.text-muted, .icon-list .text-muted p.text-muted {
  margin-top: 0;
}
.entity-list .page.draft .text-page, .icon-list .page.draft .text-page {
  color: var(--color-page-draft);
  fill: var(--color-page-draft);
}
.entity-list > .dropdown-container, .icon-list > .dropdown-container {
  display: block;
}

.icon-list hr {
  margin: 12px 16px;
  max-width: 140px;
  opacity: 0.25;
  height: 1.1px;
}

.icon-list hr + hr, .icon-list hr:first-child, .icon-list hr:last-child {
  display: none;
}

.entity-list-item, .icon-list-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: transparent;
  border: 0;
  width: 100%;
  position: relative;
  word-break: break-word;
}
.entity-list-item h4 a, .icon-list-item h4 a {
  color: #666;
}
.entity-list-item > span:first-child, .icon-list-item > span:first-child {
  flex-basis: 1.88em;
  flex: none;
}
.entity-list-item > span:last-child, .icon-list-item > span:last-child {
  flex: 1;
  text-align: start;
}
.entity-list-item > .content, .icon-list-item > .content {
  min-width: 0;
}
.entity-list-item:not(.no-hover), .icon-list-item:not(.no-hover) {
  cursor: pointer;
}
.entity-list-item:not(.no-hover):hover, .icon-list-item:not(.no-hover):hover {
  background-color: rgba(0, 0, 0, 0.06);
  text-decoration: none;
  border-radius: 4px;
}
html.dark-mode .entity-list-item:not(.no-hover):hover, html.dark-mode .icon-list-item:not(.no-hover):hover {
  background-color: rgba(255, 255, 255, 0.06);
}
.entity-list-item.outline-hover:hover, .icon-list-item.outline-hover:hover {
  background-color: transparent;
}
.entity-list-item:focus, .icon-list-item:focus {
  background-color: #eee;
  outline: 1px dotted #666;
  outline-offset: -2px;
}
html.dark-mode .entity-list-item:focus, html.dark-mode .icon-list-item:focus {
  background-color: #222;
}

.entity-list-item.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.8;
  user-select: none;
  background: var(--bg-disabled);
}

.entity-list-item-path-sep {
  display: inline-block;
  vertical-align: top;
  position: relative;
  top: 1px;
}
.entity-list-item-path-sep svg {
  margin-inline-end: 0;
}

.split-icon-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: transparent;
  border: 0;
  width: 100%;
  position: relative;
  word-break: break-word;
  border-radius: 4px;
}
.split-icon-list-item > a {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.split-icon-list-item > a:hover {
  text-decoration: none;
}
.split-icon-list-item .icon {
  flex-basis: 1.88em;
  flex: none;
}
.split-icon-list-item:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
html.dark-mode .split-icon-list-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.icon-list-item-dropdown {
  margin-inline-start: auto;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  border-inline-start: 1px solid rgba(0, 0, 0, 0.1);
  visibility: hidden;
}

.split-icon-list-item:hover .icon-list-item-dropdown,
.split-icon-list-item:focus-within .icon-list-item-dropdown {
  visibility: visible;
}

.icon-list-item-dropdown-toggle {
  padding: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #888;
}
html.dark-mode .icon-list-item-dropdown-toggle {
  color: #999;
}
.icon-list-item-dropdown-toggle svg {
  margin: 0;
}
.icon-list-item-dropdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
html.dark-mode .icon-list-item-dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.card .entity-list-item:not(.no-hover, .book-contents .entity-list-item):hover {
  background-color: #F2F2F2;
  border-radius: 0;
}
html.dark-mode .card .entity-list-item:not(.no-hover, .book-contents .entity-list-item):hover {
  background-color: #2d2d2d;
}

.card .entity-list-item .entity-list-item:hover {
  background-color: #EEEEEE;
}

.entity-list-item-children {
  padding: 16px 24px;
}
.entity-list-item-children > div {
  overflow: hidden;
  padding: 0 0 6px 0;
}
.entity-list-item-children .entity-chip {
  text-overflow: ellipsis;
  height: 2.5em;
  overflow: hidden;
  text-align: start;
  display: block;
  white-space: nowrap;
}
.entity-list-item-children > .entity-list > .entity-list-item:last-child {
  margin-bottom: -6px;
}

.entity-list-item-image {
  align-self: stretch;
  width: 140px;
  flex: none;
  background-size: cover;
  background-position: 50% 50%;
  border-radius: 3px;
  position: relative;
  margin-inline-end: 24px;
}
.entity-list-item-image.entity-list-item-image-wide {
  width: 220px;
}
.entity-list-item-image .svg-icon {
  color: #fff;
  font-size: 1.66rem;
  margin-inline-end: 0;
  position: absolute;
  bottom: 6px;
  left: 6px;
}
html.dark-mode .entity-list-item-image .svg-icon {
  color: rgba(255, 255, 255, 0.6);
}
@media screen and (max-width: 880px) {
  .entity-list-item-image {
    width: 80px;
  }
}

.chapter > .entity-list-item-image {
  width: 60px;
}

.entity-list.compact {
  font-size: 8.4px;
}
.entity-list.compact h4, .entity-list.compact a {
  line-height: 1.2;
}
.entity-list.compact .entity-item-snippet {
  display: none;
}
.entity-list.compact .entity-list-item p {
  font-size: 11.2px;
  padding-top: 6px;
}
.entity-list.compact .entity-list-item p:empty {
  padding-top: 0;
}
.entity-list.compact p {
  margin: 0;
}
.entity-list.compact > p.empty-text {
  display: block;
  font-size: 14px;
}
.entity-list.compact hr {
  margin: 0;
}
@media screen and (max-width: 880px) {
  .entity-list.compact h4 {
    font-size: 1.666em;
  }
}

.entity-item-tags {
  font-size: 0.75rem;
  opacity: 1;
}
.entity-item-tags .primary-background-light {
  background: transparent;
}
.entity-item-tags .tag-name {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-container {
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  z-index: 999;
  top: 0;
  list-style: none;
  inset-inline-end: 0;
  margin: 16px 0;
  background-color: #fff;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.18);
  border-radius: 3px;
  min-width: 180px;
  padding: 6px 0;
  color: #555;
  fill: currentColor;
  text-align: start !important;
  max-height: 500px;
  overflow-y: auto;
}
html.dark-mode .dropdown-menu {
  background-color: #333;
}
html.dark-mode .dropdown-menu {
  color: #eee;
}
.dropdown-menu.anchor-left {
  inset-inline-end: auto;
  inset-inline-start: 0;
}
.dropdown-menu.wide {
  min-width: 220px;
}
.dropdown-menu.xl-limited {
  width: 280px;
  max-width: 100%;
}
.dropdown-menu .text-muted {
  color: #999;
  fill: #999;
}
.dropdown-menu li.active a {
  font-weight: 600;
}
.dropdown-menu button {
  width: 100%;
  text-align: start;
}
.dropdown-menu li.border-bottom {
  border-bottom: 1px solid #DDD;
}
.dropdown-menu li hr {
  margin: 6px 0;
}
.dropdown-menu .icon-item, .dropdown-menu .text-item, .dropdown-menu .label-item {
  padding: 8px 16px;
  color: #555;
  fill: currentColor;
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
}
html.dark-mode .dropdown-menu .icon-item, html.dark-mode .dropdown-menu .text-item, html.dark-mode .dropdown-menu .label-item {
  color: #eee;
}
.dropdown-menu .icon-item.break-text, .dropdown-menu .text-item.break-text, .dropdown-menu .label-item.break-text {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.dropdown-menu .icon-item:hover, .dropdown-menu .icon-item:focus, .dropdown-menu .text-item:hover, .dropdown-menu .text-item:focus, .dropdown-menu .label-item:hover, .dropdown-menu .label-item:focus {
  text-decoration: none;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}
.dropdown-menu .icon-item:focus, .dropdown-menu .text-item:focus, .dropdown-menu .label-item:focus {
  outline: 1px solid var(--color-primary);
  outline-offset: -2px;
}
.dropdown-menu .icon-item svg, .dropdown-menu .text-item svg, .dropdown-menu .label-item svg {
  margin-inline-end: 12px;
  display: inline-block;
  width: 16px;
}
.dropdown-menu .text-item {
  display: block;
}
.dropdown-menu .label-item {
  display: grid;
  align-items: center;
  grid-template-columns: auto min-content;
  gap: 16px;
}
.dropdown-menu .label-item > *:nth-child(2) {
  opacity: 0.7;
}
.dropdown-menu .label-item > *:nth-child(2):hover {
  opacity: 1;
}
.dropdown-menu .icon-item {
  display: grid;
  align-items: start;
  grid-template-columns: 16px auto;
  gap: 16px;
}
.dropdown-menu .icon-item svg {
  margin-inline-end: 0;
  margin-block-start: 1px;
}

.tri-layout-right .dropdown-menu,
.tri-layout-left .dropdown-menu {
  inset-inline-end: 6px;
}

.featured-image-container {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  background-size: cover;
  background-position: 50% 50%;
  transition: opacity ease-in-out 240ms;
}
.featured-image-container a {
  display: block;
}
.featured-image-container img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.featured-image-container-wrap {
  position: relative;
}
.featured-image-container-wrap .svg-icon {
  color: #fff;
  font-size: 2rem;
  margin-inline-end: 0;
  position: absolute;
  bottom: 10px;
  left: 6px;
}
html.dark-mode .featured-image-container-wrap .svg-icon {
  color: rgba(255, 255, 255, 0.6);
}

.grid-card:hover .featured-image-container {
  opacity: 0.5;
}

.action-link {
  background: transparent;
  border: none;
  color: currentColor;
  padding: 16px 0;
}

.active-link-list a {
  display: inline-block;
  padding: 12px;
}
.active-link-list a:not(.active) {
  color: #444;
}
html.dark-mode .active-link-list a:not(.active) {
  color: #888;
}
.active-link-list a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  text-decoration: none;
}
html.dark-mode .active-link-list a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.active-link-list.in-sidebar a {
  display: block;
  margin-bottom: 6px;
}
.active-link-list.in-sidebar a.active {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.05);
}
html.dark-mode .active-link-list.in-sidebar a.active {
  background-color: rgba(255, 255, 255, 0.05);
}

.entity-meta-item {
  display: flex;
  line-height: 1.2;
  margin: 0.6em 0;
  align-content: start;
  gap: 12px;
}
.entity-meta-item a {
  line-height: 1.2;
}
.entity-meta-item svg {
  flex-shrink: 0;
  width: 1em;
  margin: 0;
}

.page-editor {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.page-editor .edit-area {
  flex: 1;
  flex-direction: column;
  z-index: 10;
  border-radius: 0 0 8px 8px;
}
.page-editor .mce-tinymce {
  box-shadow: none;
}
.page-editor .mce-top-part::before {
  box-shadow: none;
}

.page-editor-page-area {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  background-color: #FFF;
}
html.dark-mode .page-editor-page-area {
  background-color: #333;
}

.page-edit-toolbar {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(max-content, 2fr) 1.5fr minmax(max-content, 2fr);
  align-items: center;
}

@media screen and (min-width: 1401px) {
  .page-editor-wysiwyg2024 .page-edit-toolbar,
  .page-editor-wysiwyg2024 .page-editor-page-area,
  .page-editor-wysiwyg .page-edit-toolbar,
  .page-editor-wysiwyg .page-editor-page-area {
    max-width: 1140px;
  }
  .page-editor-wysiwyg .floating-toolbox,
  .page-editor-wysiwyg2024 .floating-toolbox {
    position: absolute;
  }
}
@media screen and (max-width: 880px) {
  .page-edit-toolbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
.title-input.page-title {
  font-size: 0.8em;
}
.title-input.page-title .input {
  border: 0;
  margin-bottom: -1px;
}
.title-input.page-title input[type=text] {
  max-width: 840px;
  margin: 0 auto;
  border: none;
  height: auto;
  display: block;
  width: 100%;
  font-size: 20px;
  border-radius: 8px;
}
.title-input.page-title input[type=text]:focus {
  position: relative;
  outline-offset: -1px;
  outline: 1px dashed var(--color-primary);
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.page-editor-markdown .title-input.page-title input[type=text] {
  max-width: 100%;
}

body.tox-fullscreen .page-editor .edit-area,
body.markdown-fullscreen .page-editor .edit-area {
  z-index: 12;
}

body.tox-fullscreen .page-editor, body.tox-fullscreen .flex-fill, body.markdown-fullscreen .page-editor, body.markdown-fullscreen .flex-fill {
  overflow: visible;
}

@media screen and (max-width: 600px) {
  .page-edit-toolbar {
    overflow-x: scroll;
    overflow-y: visible;
  }
  .page-edit-toolbar {
    white-space: nowrap;
  }
  .page-edit-toolbar > div {
    display: inline-block;
  }
}
.page-save-mobile-button {
  position: fixed;
  z-index: 30;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 26px;
  inset-inline-end: 6px;
  bottom: 12px;
  box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.13);
  background-color: currentColor;
  text-align: center;
}
.page-save-mobile-button svg {
  fill: #FFF;
  margin-inline-end: 0;
}

.draft-notification {
  pointer-events: none;
  transform: scale(0);
  transition: transform ease-in-out 120ms;
  transform-origin: 50% 50%;
}
.draft-notification.visible {
  transform: scale(1);
}

.page-style.editor {
  padding: 0 !important;
}

.pointer-container {
  position: fixed;
  display: none;
  left: 0;
  z-index: 10;
}

.pointer {
  border: 1px solid #CCC;
  border-color: #ccc;
  border-radius: 4px;
  box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  width: 275px;
}
html.dark-mode .pointer {
  border-color: #000;
}
html.dark-mode .pointer {
  background-color: #333;
}
.pointer.is-page-editable {
  width: 328px;
}
.pointer:before {
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  margin-inline-start: -8px;
  content: "";
  display: block;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  z-index: 56;
  background-color: #fff;
  border-color: #ccc;
}
html.dark-mode .pointer:before {
  background-color: #333;
}
html.dark-mode .pointer:before {
  border-color: #000;
}
.pointer input, .pointer button, .pointer a {
  position: relative;
  border-radius: 0;
  height: 28px;
  font-size: 12px;
  vertical-align: top;
  padding: 5px 16px;
}
.pointer input {
  background-color: #FFF;
  border: 1px solid #DDD;
  border-color: #ddd;
  color: #666;
  width: 160px;
  z-index: 40;
  padding: 5px 10px;
}
html.dark-mode .pointer input {
  border-color: #000;
}
.pointer .text-button {
  color: #444;
}
html.dark-mode .pointer .text-button {
  color: #AAA;
}
.pointer .input-group .button {
  line-height: 1;
  margin: 0 0 0 -4px;
  box-shadow: none;
}
.pointer a.button {
  margin: 0;
}
.pointer .svg-icon {
  width: 1.2em;
  height: 1.2em;
}
.pointer .button {
  border-color: #ddd;
}
html.dark-mode .pointer .button {
  border-color: #000;
}

.floating-toolbox {
  background-color: #FFF;
  overflow: hidden;
  align-items: stretch;
  flex-direction: row;
  display: flex;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: auto;
  margin-inline-start: 24px;
  position: relative;
}
html.dark-mode .floating-toolbox {
  background-color: #222;
}
.floating-toolbox.open {
  position: relative;
  right: 0;
  max-width: 480px;
  margin-bottom: 0;
}
.floating-toolbox:not(.open) .toolbox-tab-content {
  display: none !important;
}
.floating-toolbox .toolbox-toggle svg {
  transition: transform ease-in-out 180ms;
}
.floating-toolbox .toolbox-toggle {
  transition: background-color ease-in-out 180ms;
}
.floating-toolbox.open .toolbox-toggle {
  background-color: rgba(255, 0, 0, 0.2);
}
.floating-toolbox.open .toolbox-toggle svg {
  transform: rotate(180deg);
}
.floating-toolbox > div {
  flex: 1;
  position: relative;
}
.floating-toolbox .tabs {
  border-inline-end: 1px solid #DDD;
  border-inline-end-color: #DDD;
  width: 40px;
  flex: 0 1 auto;
  margin-inline-end: -1px;
}
html.dark-mode .floating-toolbox .tabs {
  border-inline-end-color: #000;
}
.floating-toolbox .tabs-inner {
  background-color: #FFFFFF;
}
html.dark-mode .floating-toolbox .tabs-inner {
  background-color: #222;
}
.floating-toolbox .tabs svg {
  padding: 0;
  margin: 0;
}
.floating-toolbox .tabs-inner > button {
  color: rgba(0, 0, 0, 0.7);
  display: block;
  cursor: pointer;
  padding: 10px 6px;
  font-size: 18px;
  line-height: 1.6;
}
html.dark-mode .floating-toolbox .tabs-inner > button {
  color: rgba(255, 255, 255, 0.5);
}
.floating-toolbox .tabs-inner > button:hover, .floating-toolbox.open .tabs-inner > button.active {
  color: var(--color-link) !important;
  position: relative;
}
.floating-toolbox .tabs-inner > button:hover:after, .floating-toolbox.open .tabs-inner > button.active:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 100%;
  background-color: currentColor;
  opacity: 0.075;
}
.floating-toolbox.open .tabs-inner > button.active {
  border-inline-end: 1px solid var(--color-link);
  margin-inline-end: -1px;
}
.floating-toolbox h4 {
  font-size: 24px;
  margin: 16px 0 0 0;
  padding: 0 24px 12px 24px;
}
.floating-toolbox .tags input {
  max-width: 100%;
  width: 100%;
  min-width: 50px;
}
.floating-toolbox .tags td, .floating-toolbox .inline-start-table > div > div > div {
  padding-inline-end: 12px;
  padding-top: 12px;
  position: relative;
}
.floating-toolbox .handle {
  user-select: none;
  cursor: move;
  fill: #999;
}
.floating-toolbox form {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: scroll;
}
.floating-toolbox table td, .floating-toolbox table th {
  overflow: visible;
}

@media screen and (max-width: 1400px) {
  .floating-toolbox {
    margin-inline-start: 12px;
  }
}
@media screen and (max-width: 600px) {
  .page-editor-page-area-wrap {
    margin: 4px !important;
  }
  .floating-toolbox {
    margin-inline-start: 4px;
  }
  .floating-toolbox .tabs {
    width: 32px;
  }
  .floating-toolbox .tabs-inner > button {
    font-size: 12px;
  }
  .page-edit-toolbar {
    padding-block: 0 !important;
  }
  .page-editor.toolbox-open .page-editor-page-area {
    display: none;
  }
}
.toolbox-tab-content {
  display: none;
  overflow-y: auto;
  padding-bottom: 45px;
}

.suggestion-box {
  top: auto;
  margin: -4px 0 0;
  right: auto;
  left: 0;
  padding: 0;
}
.suggestion-box li {
  display: block;
  border-bottom: 1px solid #DDD;
}
.suggestion-box li:last-child {
  border-bottom: 0;
}

.comments-container h5 {
  color: #888;
  font-weight: normal;
  margin-top: 0.5em;
}

.comment-editor .CodeMirror, .comment-editor .CodeMirror-scroll {
  min-height: 175px;
}

/* FIXME - Ugly hack to modify the media plugin for TinyMCE */
.mce-floatpanel[aria-label="Insert/edit media"] .mce-open {
  display: none;
}

.entity-list-item > span:first-child,
.icon-list-item > span:first-child,
.split-icon-list-item > a > .icon,
.chapter-expansion > .icon {
  font-size: 0.8rem;
  width: 1.88em;
  height: 1.88em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 1em;
  position: relative;
  overflow: hidden;
}
.entity-list-item > span:first-child svg,
.icon-list-item > span:first-child svg,
.split-icon-list-item > a > .icon svg,
.chapter-expansion > .icon svg {
  margin: 0;
  bottom: 0;
}
.entity-list-item > span:first-child:after,
.icon-list-item > span:first-child:after,
.split-icon-list-item > a > .icon:after,
.chapter-expansion > .icon:after {
  content: "";
  position: absolute;
  background-color: currentColor;
  opacity: 0.2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.entity-chip {
  display: inline-block;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9em;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  padding: 6px 12px;
  fill: currentColor;
  opacity: 0.85;
  transition: opacity ease-in-out 120ms;
}
.entity-chip:after {
  content: "";
  position: absolute;
  background-color: currentColor;
  opacity: 0.15;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.entity-chip:hover {
  text-decoration: none;
  opacity: 1;
}
@media (prefers-contrast: more) {
  .entity-chip {
    opacity: 1;
  }
}

/**
 * Page Content
 * Styles specific to blocks used within page content.
 */
.page-content {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  overflow-wrap: break-word;
}
.page-content .align-left {
  text-align: left;
}
.page-content img.align-left, .page-content table.align-left, .page-content iframe.align-left, .page-content video.align-left {
  float: left !important;
  margin: 6px 16px 16px 0;
}
.page-content .align-right {
  text-align: right !important;
}
.page-content img.align-right, .page-content table.align-right, .page-content iframe.align-right, .page-content video.align-right {
  float: right !important;
  margin: 6px 0 6px 12px;
}
.page-content .align-center {
  text-align: center;
}
.page-content img.align-center, .page-content video.align-center, .page-content iframe.align-center {
  display: block;
}
.page-content img.align-center, .page-content table.align-center, .page-content iframe.align-center, .page-content video.align-center {
  margin-left: auto;
  margin-right: auto;
}
.page-content .align-justify {
  text-align: justify;
}
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6, .page-content pre {
  clear: left;
}
.page-content hr {
  clear: both;
  margin: 16px 0;
}
.page-content table {
  hyphens: auto;
  table-layout: fixed;
  max-width: 100%;
  height: auto !important;
}
.page-content ins,
.page-content del {
  text-decoration: none;
}
.page-content ins {
  background: #dbffdb;
}
.page-content del {
  background: #FFECEC;
}
.page-content details {
  border: 1px solid;
  border-color: #DDD;
  margin-bottom: 1em;
  padding: 12px;
}
html.dark-mode .page-content details {
  border-color: #555;
}
.page-content details > summary {
  margin-top: -12px;
  margin-left: -12px;
  margin-right: -12px;
  margin-bottom: -12px;
  font-weight: bold;
  background-color: #EEE;
  padding: 6px 12px;
}
html.dark-mode .page-content details > summary {
  background-color: #333;
}
.page-content details[open] > summary {
  margin-bottom: 12px;
  border-bottom: 1px solid;
  border-color: #DDD;
}
html.dark-mode .page-content details[open] > summary {
  border-color: #555;
}
.page-content details > summary + * {
  margin-top: 0.2em;
}
.page-content details:after {
  content: "";
  display: block;
  clear: both;
}
.page-content li > input[type=checkbox] {
  vertical-align: top;
  margin-top: 0.3em;
}
.page-content p:empty {
  min-height: 1.6em;
}
.page-content.page-revision pre code {
  white-space: pre-wrap;
}
.page-content .cm-editor {
  margin-bottom: 1.375em;
}
.page-content video, .page-content iframe {
  max-width: 100%;
}
.page-content a {
  text-decoration: underline;
}

body .page-content img,
.page-content img:not([data-mce-object]) {
  max-width: 100%;
  height: auto;
}

/**
 * Callouts
 * Some styles duplicated for supporting logical units (eg. inline-end) while
 * providing fallbacks to non-logical rules, so RTL is natively supported where possible.
 */
.callout {
  border-left: 3px solid #BBB;
  border-inline-start: 3px solid #BBB;
  border-inline-end: none;
  background-color: #EEE;
  padding: 12px;
  padding-left: 32px;
  padding-inline-start: 32px;
  padding-inline-end: 12px;
  display: block;
  position: relative;
  overflow: auto;
}
.callout:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiMwMTUzODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTEgMTVoLTJ2LTZoMnY2em0wLThoLTJWN2gydjJ6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  content: "";
  width: 1.2em;
  height: 1.2em;
  left: 8px;
  inset-inline-start: 8px;
  inset-inline-end: unset;
  top: 50%;
  margin-top: -9px;
  display: inline-block;
  position: absolute;
  line-height: 1;
  opacity: 0.8;
}
.callout.success {
  border-color: #0f7d15;
  background-color: #eafdeb;
  color: #063409;
}
html.dark-mode .callout.success {
  border-color: #4aa850;
}
html.dark-mode .callout.success {
  background-color: #122913;
}
html.dark-mode .callout.success {
  color: #4aa850;
}
.callout.success:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiMzNzZjMzkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bS0yIDE1bC01LTUgMS40MS0xLjQxTDEwIDE0LjE3bDcuNTktNy41OUwxOSA4bC05IDl6Ii8+PC9zdmc+");
}
.callout.danger {
  border-color: #ab0f0e;
  background-color: #fcdbdb;
  color: #4d0706;
}
html.dark-mode .callout.danger {
  border-color: #e85c5b;
}
html.dark-mode .callout.danger {
  background-color: #250505;
}
html.dark-mode .callout.danger {
  color: #e85c5b;
}
.callout.danger:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNiOTE4MTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0xNS43MyAzSDguMjdMMyA4LjI3djcuNDZMOC4yNyAyMWg3LjQ2TDIxIDE1LjczVjguMjdMMTUuNzMgM3pNMTIgMTcuM2MtLjcyIDAtMS4zLS41OC0xLjMtMS4zIDAtLjcyLjU4LTEuMyAxLjMtMS4zLjcyIDAgMS4zLjU4IDEuMyAxLjMgMCAuNzItLjU4IDEuMy0xLjMgMS4zem0xLTQuM2gtMlY3aDJ2NnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==");
}
.callout.info {
  border-color: #0288D1;
  background-color: #d3efff;
  color: #01466c;
}
html.dark-mode .callout.info {
  border-color: #0288D1;
}
html.dark-mode .callout.info {
  background-color: #001825;
}
html.dark-mode .callout.info {
  color: #0288D1;
}
.callout.warning {
  border-color: #cf4d03;
  background-color: #fee3d3;
  color: #6a2802;
}
html.dark-mode .callout.warning {
  border-color: #de8a5a;
}
html.dark-mode .callout.warning {
  background-color: #30170a;
}
html.dark-mode .callout.warning {
  color: #de8a5a;
}
.callout.warning:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNiNjUzMWMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEgMjFoMjJMMTIgMiAxIDIxem0xMi0zaC0ydi0yaDJ2MnptMC00aC0ydi00aDJ2NHoiLz48L3N2Zz4=");
}
.callout a {
  color: inherit;
  text-decoration: underline;
}

@media print {
  html, body {
    font-size: 12px;
    background-color: #FFF;
  }
  .page-content {
    margin: 0 auto;
  }
  .print-hidden {
    display: none !important;
  }
  .tri-layout-container {
    grid-template-columns: 1fr;
    grid-template-areas: "b";
    margin-inline-start: 0;
    margin-inline-end: 0;
    display: block;
  }
  .card {
    box-shadow: none;
  }
  .content-wrap.card {
    padding-inline-start: 0;
    padding-inline-end: 0;
  }
}
.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

body.dragging, body.dragging * {
  cursor: move !important;
}

.avatar {
  border-radius: 100%;
  background-color: #eee;
  width: 30px;
  height: 30px;
}
html.dark-mode .avatar {
  background-color: #000;
}
.avatar.med {
  width: 40px;
  height: 40px;
}
.avatar.large {
  width: 80px;
  height: 80px;
}
.avatar.huge {
  width: 120px;
  height: 120px;
}
.avatar.square {
  border-radius: 3px;
}
html.dark-mode .avatar[src$="user_avatar.png"] {
  filter: invert(1);
}

.loading-container {
  position: relative;
  display: block;
  margin: 32px auto;
}
.loading-container > div {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  display: inline-block;
  vertical-align: top;
  transform: translate3d(-10px, 0, 0);
  margin-top: 6px;
  animation-name: loadingBob;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.62, 0.28, 0.23, 0.99);
  margin-inline-end: 4px;
  background-color: var(--color-page);
  animation-delay: -300ms;
}
.loading-container > div:first-child {
  left: -16px;
  background-color: var(--color-book);
  animation-delay: -600ms;
}
.loading-container > div:last-of-type {
  left: 16px;
  background-color: var(--color-chapter);
  animation-delay: 0ms;
}
.loading-container > span {
  margin-inline-start: 12px;
  font-style: italic;
  color: #888;
  vertical-align: top;
}

.inline.block .loading-container {
  margin: 6px 12px;
}

.skip-to-content-link {
  position: fixed;
  top: -52px;
  left: 0;
  background-color: #FFF;
  z-index: 15;
  border-radius: 0 4px 4px 0;
  display: block;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.skip-to-content-link:focus {
  top: 32px;
  outline-offset: -10px;
  outline: 2px dotted var(--color-link);
}

.entity-selector {
  border: 1px solid #DDD;
  border-color: #ddd;
  border-radius: 3px;
  overflow: hidden;
  font-size: 0.8em;
}
html.dark-mode .entity-selector {
  border-color: #111;
}
.entity-selector input[type=text] {
  width: 100%;
  display: block;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #DDD;
  font-size: 16px;
  padding: 12px 16px;
}
.entity-selector input[type=text]:focus {
  outline: 1px solid var(--color-primary);
  border-radius: 3px 3px 0 0;
  outline-offset: -1px;
}
.entity-selector .entity-list {
  overflow-y: scroll;
  height: 400px;
  background-color: #eee;
  margin-inline-end: 0;
  margin-inline-start: 0;
}
html.dark-mode .entity-selector .entity-list {
  background-color: #222;
}
.entity-selector .entity-list-item {
  background-color: #fff;
}
html.dark-mode .entity-selector .entity-list-item {
  background-color: #222;
}
.entity-selector .entity-list-item p {
  margin-bottom: 0;
}
.entity-selector .entity-list-item:focus {
  outline: 2px dotted var(--color-primary);
  outline-offset: -4px;
}
.entity-selector .entity-list-item.selected {
  background-color: rgba(0, 0, 0, 0.05);
}
html.dark-mode .entity-selector .entity-list-item.selected {
  background-color: rgba(255, 255, 255, 0.05);
}
.entity-selector .loading {
  height: 400px;
  padding-top: 24px;
}
.entity-selector.compact {
  font-size: 10px;
}
.entity-selector.compact .entity-item-snippet {
  display: none;
}
.entity-selector.compact h4 {
  font-size: 14px;
}
.entity-selector.small .entity-list-item {
  padding: 6px 16px;
}
.entity-selector.small .entity-list, .entity-selector.small .loading {
  height: 300px;
}
.entity-selector.small input[type=text] {
  font-size: 13px;
  padding: 6px 16px;
  height: auto;
}

.fullscreen {
  border: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
}

@media screen and (min-width: 601px) and (max-width: 880px) {
  #home-default > .grid.third {
    display: block;
    columns: 2;
    column-gap: 24px !important;
  }
}
.list-sort-container {
  display: inline-block;
}
.list-sort-container form {
  display: inline-block;
}
.list-sort-container .list-sort {
  display: inline-grid;
  margin-inline-start: 12px;
  grid-template-columns: minmax(120px, max-content) 40px;
  font-size: 0.9rem;
  border: 2px solid #DDD;
  border-color: #ddd;
  border-radius: 4px;
}
html.dark-mode .list-sort-container .list-sort {
  border-color: #444;
}
.list-sort-container .list-sort-label {
  font-weight: bold;
  display: inline-block;
  color: #555;
}
html.dark-mode .list-sort-container .list-sort-label {
  color: #888;
}
.list-sort-container .list-sort-type {
  text-align: start;
}
.list-sort-container .list-sort-type, .list-sort-container .list-sort-dir {
  padding: 6px 12px;
  cursor: pointer;
}
.list-sort-container .list-sort-dir {
  border-inline-start: 2px solid #DDD;
  color: #888;
  border-color: #ddd;
}
html.dark-mode .list-sort-container .list-sort-dir {
  border-color: #444;
}
.list-sort-container .list-sort-dir .svg-icon {
  transition: transform ease-in-out 120ms;
}
.list-sort-container .list-sort-dir:hover .svg-icon {
  transform: rotate(180deg);
}

.import-item {
  border-inline-start: 2px solid currentColor;
  padding-inline-start: 6px;
}

/*# sourceMappingURL=styles.css.map */
