:root {
  --prominentButton: #445a86;
  --primary-color-dark: #021c3f;
  --primary-color-medium: #2279b7;
  --primary-color-light: #7f6d48;
  --primary-color-lighter: #ebebeb;
  --primary-color-lightest: #e4e4e4;
  --primary-color-contrast: #ddd6cd;
  --primary-color-accent: #3f83b4;
  --secondary-color-darker: #414141;
  --secondary-color-dark: #979797;
  --secondary-color-medium: #c6e7ff;
  --secondary-color-light: #c0b6a4;
  --secondary-color-lighter: #d8e7f2;
  --secondary-color-lightest: #fbf9f3;
  --secondary-color-contrast: #707070;
  --secondary-color-accent: #f8f1e5;
  --gradient-light: linear-gradient(90deg, #faf5ed, #e5e6e5);
  --gradient-dark: linear-gradient(45deg, #3f83b4, #73b9db);
  --box-shadow-primary: 0px 2px 6px 0px rgba(0, 0, 0, .5);
  --work-page-footer-shadow: 0px 3px 17px 6px rgba(0, 0, 0, .5);
  --scrollbar-track: #f5f5f5;
  --scrollbar-thumb: #898989;
  --primary-border-light: #949494;
  --primary-font: "Montserrat", sans-serif;
  --secondary-font: "Libre Baskerville", serif;
  --answerColor: #353a5a;
  --primary-color-error: darkred;
  --primary-color-success: green;
  --pageNumberAndPlaceholderColor: #505f74;
  --actionButtonColor: #fff;
  --actionButtonBackground: #2f6896;
  --pageNumberColor: var(--pageNumberAndPlaceholderColor);
  --rightNotesBG: #dad1c2;
  --noteCallsColor: #8b0000;
  --placeholderColor: var(--pageNumberAndPlaceholderColor);
  --maxHeadingsWidth: 37em;
  --h1HeadingsFontSize: 1.3;
  --h2HeadingsFontSize: 1.2;
  --topSectionBG: #edf7ff;
  --topSectionColor: #353a5a;
  --bottomSectionOddColor: #d6e7f1;
  --bottomSectionEvenColor: #fff;
  --navigationColor: #686868;
  --variant-color-1: #3d007a;
  --variant-color-2: #1d3557;
  --variant-color-3: #006400;
  --variant-color-4: #0604b3;
  --variant-color-5: #654321;
  --variant-color-6: #1f1f1f;
  --variant-color-7: #c71585;
  --variant-color-8: #1c3829;
  --content-zoom: 100;
  --sidebar-width: 20em;
  --sticky-breadcrumb-offset: 2.2em;
  --scroll-margin-top: 4.3em;
}

@font-face {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fa-solid-900-760584609.woff2") format("woff2");
}

@font-face {
  font-family: FontAwesomeBrands;
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fa-brands-400-936214316.woff2") format("woff2");
}

@font-face {
  font-family: Material Symbols Outlined;
  font-style: normal;
  font-weight: 400;
  src: url("/material-symbols-outlined-3979979951.woff2") format("woff2");
}

.material-symbols-outlined {
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-family: Material Symbols Outlined;
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
}

:not(#main) {
  scroll-margin-top: var(--scroll-margin-top);
}

html, body {
  font-family: var(--primary-font);
}

html {
  font-size: 81.25%;
}

body {
  line-height: 1.7;
}

#app {
  min-height: 100vh;
}

b, strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

p {
  margin-bottom: 1em;
}

.p {
  color: var(--primary-color-dark);
  margin-bottom: 1em;
  font-family: inherit;
  font-weight: 500;
  display: block;
}

h1 {
  font-family: var(--secondary-font);
  margin-bottom: .5em;
  font-size: 2em;
  line-height: 1.2;
}

h2 {
  font-family: var(--secondary-font);
  margin-bottom: .65em;
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-family: var(--secondary-font);
  margin-bottom: .7em;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.4;
}

h4 {
  font-family: var(--secondary-font);
  margin-bottom: .8em;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.4;
}

h5 {
  font-family: var(--secondary-font);
  color: var(--primary-color-dark);
  margin-bottom: 1em;
  font-size: 1em;
  font-weight: 700;
}

h6 {
  color: var(--secondary-color-darker);
  font-weight: 700;
}

textarea {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="text"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="url"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="date"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="search"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="email"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="password"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="datetime-local"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

[type="number"] {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 1.5em;
  outline: none;
  width: 100%;
  padding: .4em;
  font-weight: bold;
  display: block;
}

:where(input)[disabled] {
  background-color: var(--scrollbar-track);
  color: var(--secondary-color-contrast);
  cursor: not-allowed;
}

:where(input)[readonly] {
  background-color: var(--scrollbar-track);
  color: var(--secondary-color-contrast);
  cursor: not-allowed;
}

:where(input[disabled]):focus {
  border-color: var(--primary-color-contrast);
  outline: none;
}

[type="radio"] {
  margin: 0;
}

th, td {
  padding: .5em;
}

th {
  text-align: left;
  font-weight: bold;
}

img {
  max-width: 100%;
}

.fa, .fa-brands, .fa-solid {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-variant: normal;
  text-rendering: auto;
  font-style: normal;
  line-height: 1;
  display: inline-block;
}

.fa:before, .fa-solid:before {
  font-family: FontAwesome;
  display: inline;
}

.fa-brands:before {
  font-family: FontAwesomeBrands;
  display: inline;
}

hr {
  background-color: #ccc;
  border: 0;
  width: 100%;
  height: .125em;
  margin: 0;
  display: block;
}

button:hover {
  opacity: .7;
}

a {
  color: var(--primary-color-dark);
  transition: opacity .3s;
}

a:hover {
  opacity: .7;
}

button:focus, a:focus {
  outline: 2px solid var(--secondary-color-medium);
}

pre {
  font-family: monospace;
}

sup {
  font-size: 80%;
  position: relative;
  top: -.5em;
}

x-vo, x-ed, x-page, x-pi, x-lw, .block {
  display: block;
}

x-wi {
  margin-bottom: 3em;
  display: block;
}

:where(.p) :-webkit-any(x-lw, x-wi) {
  display: inline;
}

:where(.p) :is(x-lw, x-wi) {
  display: inline;
}

x-nc {
  display: block;
}

x-sn {
  font-size: 80%;
  line-height: 1.4;
  display: block;
}

.side-note-wrap {
  grid-template-columns: 85% 15%;
  gap: 1em;
  display: grid;
}

.side-note-main-content {
  position: relative;
}

x-vo > x-ch, x-vo > x-chw, x-vo > x-wt {
  width: 100%;
  display: inline-block;
  position: relative;
  left: 1em;
}

x-pi {
  position: relative;
  left: 1em;
}

x-lg {
  color: var(--primary-color-dark);
  margin-bottom: 1em;
  font-family: inherit;
  font-weight: 500;
  display: block;
}

x-l, x-lb {
  display: block;
}

x-cg {
  flex-direction: column;
  align-items: flex-start;
  width: -webkit-fit-content;
  width: fit-content;
  padding-right: 20px;
  display: flex;
  position: relative;
}

.brace {
  align-items: center;
  height: 100%;
  font-size: 3em;
  display: flex;
  position: absolute;
  top: 0;
  right: -.2em;
}

x-cg > x-rd {
  align-items: center;
  height: 100%;
  display: flex;
  position: absolute;
  right: -5em;
}

x-ch h3 {
  font-style: italic;
}

x-ul {
  text-decoration: underline;
}

x-spe {
  font-variant: all-small-caps;
  max-width: calc(var(--maxHeadingsWidth) / 1.1);
  text-align: center;
  margin-top: 1.2em;
  font-size: 1.1em;
  display: block;
}

x-par {
  grid-column: 2;
  display: block;
}

x-cl {
  margin-bottom: 2.5em;
  display: block;
}

x-qu .p {
  font: inherit;
}

x-wdt {
  margin: 1em 0;
  text-decoration: underline;
  display: block;
}

[data-kind="x-nt"]:where([sup="1"]) {
  font-size: calc(.85rem * var(--content-zoom) / 100);
  position: relative;
  top: -.5em;
}

[data-kind="x-nt"] {
  color: var(--noteCallsColor);
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
}

.page-number-content {
  color: var(--pageNumberColor);
  text-align: right;
  align-items: center;
  gap: .5em;
  display: flex;
}

.page-number-content span {
  font-style: normal;
}

.line-number-content {
  color: var(--pageNumberColor);
  text-align: right;
  font-family: var(--primary-font);
}

.pull-up {
  margin-top: -1.5em;
}

.page-number-inner {
  border-bottom: .13em solid var(--pageNumberColor);
  display: block;
}

.page-number {
  float: right;
}

.page-number-wrap {
  align-items: center;
  gap: .5em;
  display: flex;
}

ul {
  margin-bottom: 1em;
  padding-left: 2em;
  line-height: 2em;
  list-style: disc;
}

ol {
  margin-bottom: 1em;
  padding-left: 2em;
  line-height: 2em;
  list-style: decimal;
}

mark {
  color: var(--primary-color-dark);
  background-color: var(--primary-color-contrast);
}

select {
  border: 1px solid var(--primary-color-dark);
  color: var(--primary-color-dark);
  box-sizing: border-box;
  font-family: inherit;
  font-weight: bold;
  font-size: inherit;
  background-color: #fff;
  border-radius: 1.5em;
  width: 100%;
  padding: .4em;
}

form {
  vertical-align: middle;
}

.highlight-page-number {
  color: var(--primary-color-dark);
  background-color: var(--primary-color-contrast);
  padding: .2em;
  display: block;
}

.vfoee-spacer {
  white-space: pre;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.vfoee-text-spacer {
  visibility: hidden;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
}

button {
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-color: var(--primary-color-dark);
  color: var(--secondary-color-lightest);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  border: 0;
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1em 1.6em;
  font-weight: bold;
  transition: opacity .3s;
  display: flex;
}

button:where(:disabled) {
  opacity: .3;
  pointer-events: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.parallel-pages {
  grid-template-columns: 1fr 1fr;
  gap: 7em;
  width: 100%;
  display: grid;
}

.parallel-pages > :where(:first-child) {
  grid-column: 1;
}

.parallel-pages > :where(:last-child) {
  grid-column: 2;
}

.master-commentary-row {
  grid-template-columns: 50% 50%;
  align-items: baseline;
  gap: 1.5em;
  display: grid;
}

.master-commentary-row c {
  grid-column: 1;
}

.master-commentary-row m {
  grid-column: 2;
}

.master-commentary-row m x-lb {
  position: unset;
}

.small-caps {
  font-variant: all-small-caps;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  margin-bottom: 1em;
}

table:where(.border) td {
  border: 1px solid var(--primary-border-light);
}

table:not(.border) td:where(.border-top) {
  border-top: 1px solid var(--primary-border-light);
}

table:not(.border) td:where(.border-bottom) {
  border-bottom: 1px solid var(--primary-border-light);
}

table:not(.border) td:where(.border-left) {
  border-left: 1px solid var(--primary-border-light);
}

table:not(.border) td:where(.border-right) {
  border-right: 1px solid var(--primary-border-light);
}

x-qu:where(:not(:-webkit-any(.p > x-qu, x-qu > x-qu, x-vn > x-qu))) {
  margin-bottom: 1em;
  display: block;
}

x-qu:where(:not(:is(.p > x-qu, x-qu > x-qu, x-vn > x-qu))) {
  margin-bottom: 1em;
  display: block;
}

del strong {
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
  text-decoration-thickness: .16em;
}

x-vn {
  font-family: var(--primary-font);
  font-style: italic;
}

:where(x-vn):before {
  content: " [";
  font-style: normal;
}

:where(x-vn):after {
  content: "] ";
  font-style: normal;
}

x-qu:where(.indent) {
  margin-left: 1.5em;
  display: block;
}

x-page[hidden="1"] {
  visibility: hidden;
  height: 0;
}

x-pen {
  white-space: nowrap;
}

@keyframes highlightFade {
  0% {
    background-color: rgba(151, 151, 151, .5);
  }

  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}

[data-scroll-highlight="1"] {
  animation: 1.5s ease-out highlightFade;
}

x-ep {
  flex-direction: column;
  align-items: center;
  max-width: 65%;
  margin: 1em auto;
  display: flex;
}

x-ep > :where(x-qu) {
  align-self: flex-start;
  margin-bottom: 0;
}

x-ep > :where(x-attrb) {
  align-self: flex-end;
  margin-left: 4em;
}

.entity-span {
  cursor: default;
  text-decoration: none;
}

x-ch {
  position: relative;
}

[role="dialog"] {
  touch-action: none;
}

x-abb {
  display: none;
}
