.abstract p {
  margin-left: 10%;
  margin-right: 10%;
}

.sectionHead {
  margin-top: 2em;
}

.subsectionHead {
  padding-top: 1em;
  font-size: 16px;
  font-weight: bold;
}

.subsubsectionHead {
  font-size: 14px;
  font-weight: bold;
}

code {
  background: none;
  padding: 0;
  margin: 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

pre {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 16px;
  margin: 1.5em 0;
  overflow: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  color: #000;
}

code {
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  border: 1px solid #e1e1e1;
}

pre code {
  background: none;
  padding: 0;
  border: none;
  color: #000;
}

pre[class*="language-"] code {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

code[class*="language-"] {
  background: none;
  padding: 0;
  margin: 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

code[class="compiler-error"] {
  background: none;
  padding: 0;
  margin: 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 12px;
}

.rustc-error {
  all: unset;
  color: #f14c4c !important;
  font-weight: bold !important;
  display: inline;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.code-line-highlight {
  background-color: rgba(255, 255, 0, 0.2);
  display: block;
  margin: 0 -1em;
  padding: 0 1em;
  border-left: 3px solid #ffd700;
  transition: background-color 0.2s ease;
}

.line-numbers .line-numbers-rows {
  border-right: none;
}

.line-numbers-rows > span::before {
  color: #b0b0b0;
}

pre[class*="language-"].line-numbers {
  padding-left: 3.8em;
}

.caption {
  font-size: 11pt;
  margin-top: 2em;
}

.id {
  font-size: 11pt;
  font-weight: bold;
}

.figure {
  margin-top: 4em;
  margin-bottom: 4em;
}

.accordion-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.booktabs:not(.accordion-table) {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.accordion-table thead,
.booktabs thead {
  background-color: white;
  border-bottom: 2px solid #333;
}

.accordion-table th,
.booktabs th {
  padding: 10px;
  text-align: center;
  font-weight: bold;
  background-color: #f9f9f9;
}

.accordion-table th:first-child,
.booktabs th:first-child {
  text-align: left;
}

.accordion-table th.cmidrule,
.booktabs th.cmidrule {
  border-bottom: none;
  text-align: center;
  position: relative;
  padding-bottom: 8px;
}

.accordion-table th.cmidrule::after,
.booktabs th.cmidrule::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  border-bottom: 1px solid #999;
}

.suite-header {
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.suite-header:hover {
  background-color: #e8e8e8;
}

.suite-header td {
  padding: 10px 8px;
}

.toggle {
  display: inline-block;
  width: 20px;
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.suite-header.collapsed .toggle {
  transform: rotate(0deg);
}

.suite-header:not(.collapsed) .toggle {
  transform: rotate(90deg);
}

.suite-row {
  transition: opacity 0.2s ease;
  border-bottom: 1px solid #eee;
}

.suite-row.hidden {
  display: none;
}

.suite-row td {
  padding: 8px;
}

.accordion-table .suite-row:nth-child(even):not(.hidden) {
  background-color: #f9f9f9;
}

.accordion-table .suite-row:nth-child(odd):not(.hidden) {
  background-color: white;
}

.accordion-table td.number,
.booktabs td.number {
  text-align: right;
}

.booktabs:not(.accordion-table) td {
  padding: 8px;
}

.booktabs:not(.accordion-table) .suite-name {
  font-variant: small-caps;
  font-weight: 500;
}

.booktabs:not(.accordion-table) tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.booktabs:not(.accordion-table) tbody tr:nth-child(odd) {
  background-color: white;
}

.ci {
  color: #666;
  font-size: 0.9em;
}

.booktabs {
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

.booktabs thead {
  border-bottom: 1px solid #333;
}

.booktabs .has-cmidrule th {
  padding-bottom: 4px;
}

.footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #333;
  font-size: 0.9em;
  color: #333;
}

.footnotes ol {
  counter-reset: footnote;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footnotes li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 1em;
  line-height: 1.6;
  counter-increment: footnote;
}

.footnotes li::before {
  content: counter(footnote) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #666;
}

.footnotes .footnote-mark {
  display: none;
}

.footnotes a {
  color: #0066cc;
  text-decoration: none;
  word-break: break-all;
}

.footnotes a:hover {
  text-decoration: underline;
}

.footnotes code {
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.95em;
}

.footnotes [style*="font-variant: small-caps"] {
  font-variant: small-caps;
  font-weight: 500;
}

.bibliography {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
}

.bibliography .bibitem {
  position: relative;
  padding-left: 3.5em;
  margin-bottom: 1.2em;
  line-height: 1.6;
  font-size: 0.95em;
  text-align: left;
}

.bibliography .biblabel {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #333;
  text-align: right;
  width: 2.5em;
}


.bibliography a {
  color: #0066cc;
  text-decoration: none;
}

.bibliography a:hover {
  text-decoration: underline;
}

.bibliography a.url {
  word-break: break-all;
  display: inline-block;
}

.bibliography em {
  font-style: italic;
}

