.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.align-center {
  align-items: center;
}
.align-baseline {
  align-items: baseline;
}
.align-stretch {
  align-items: stretch;
}
.spinner-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s opacity;
  background-color: var(--rgb-gray-11);
  pointer-events: none;
  z-index: 3000;
}
.spinner-bg .spinner {
  border: 2px solid var(--rgb-app-color);
  border-top-color: var(--rgb-gray-8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  animation: rotating 1s linear infinite;
}
.loading .spinner-bg {
  opacity: 1;
  background-color: var(--rgba-gray-11-10);
  pointer-events: all;
}
@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
:root {
  --font-size-dyn: 14px;
}
.last-changed-mixin {
  background-color: var(--rgba-red-20) !important;
}
.last-read-mixin {
  color: var(--rgb-darkgreen) !important;
  font-weight: 500;
}
#vm-buttons .buttons {
  width: 40ch;
}
#vm-buttons .buttons #btn-assemble {
  flex: 1;
}
#vm-buttons .buttons #step-group {
  width: 12ch;
}
#vm-buttons .buttons #step-group > * {
  flex: 1;
}
#app {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#editors {
  position: absolute;
  top: calc(40px * 2);
  left: 0;
  right: 0;
  bottom: 40px;
}
#editors.console-shown {
  bottom: calc(35vh + 40px);
}
#components-container {
  z-index: 10;
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: calc(100% - 40px);
  display: flex;
  pointer-events: none;
}
#components-container #console-container {
  pointer-events: none;
  flex: 1 1 auto;
  min-width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#components-container #console-container > * {
  pointer-events: auto;
}
#components-container #memory,
#components-container #registers {
  pointer-events: auto;
  flex: 0 0 auto;
}
.title .icon {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
}
.rotate-icon .title .icon {
  transform: rotate(180deg);
}
#memory.memory-shown .title .icon {
  transform: rotate(180deg);
}
#registers.registers-shown .title .icon {
  transform: rotate(180deg);
}
#console.console-shown .title .icon {
  transform: rotate(180deg);
}
#registers {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
  max-width: 30%;
}
#registers .col.value,
#registers .title .long {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
  overflow: hidden;
  max-width: 100%;
}
#registers:not(.registers-shown) {
  max-width: 9ch;
}
#registers:not(.registers-shown) .title .long {
  max-width: 0;
}
#registers:not(.registers-shown) .cols-names .col.value {
  visibility: hidden;
}
#registers:not(.registers-shown) .col.value {
  width: 0 !important;
  padding: 0;
}
#registers:not(.registers-shown) .col.name {
  width: 100% !important;
}
#memory {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
  min-width: 8ch;
  max-width: 10%;
  position: relative;
}
#memory .title .long {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
  overflow: hidden;
  max-width: 0;
}
#memory #memorymap-container {
  position: absolute;
  padding: 2.5px;
  padding-left: 0;
  width: 45px;
  z-index: 12;
  height: calc(100% - 40px);
  top: 40px;
  right: 0;
}
#memory #memorymap-container #memorymap {
  width: 10px;
  height: 100%;
  float: right;
}
#memory #memorymap-container #memorymap-glowup {
  z-index: 15;
  opacity: 0.3 !important;
  pointer-events: none;
  position: absolute;
  width: calc(10px + 4px);
  height: calc(100% + 2.5px * 2);
  top: calc(-1 * 2.5px);
  right: 0.5px;
}
#memory #memorymap-container #memorymap-connections {
  position: absolute;
  top: 2.5px;
  right: calc(2.5px + 10px);
  width: calc(100% - 10px - 2.5px);
  height: 100%;
}
#memory #memory-tables {
  max-width: 0;
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
}
#memory:not(.memory-shown) .cols-names {
  opacity: 0;
  visibility: hidden;
}
#memory.memory-shown {
  min-width: 1%;
  max-width: 80%;
}
#memory.memory-shown #memory-tables {
  max-width: 70vw;
}
#memory.memory-shown .title .long {
  max-width: 100%;
}
#console {
  position: relative;
  width: 100%;
}
#console .console {
  transition: max-width 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, height 0.2s ease-out;
  padding: 0;
  height: 0;
  border: none;
}
#console.console-shown .console {
  border: 12px solid var(--rgb-gray-10);
  border-top: none;
  padding: 12px;
  height: 35vh;
}
#popover {
  z-index: 1000;
}
#forms-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2000;
}
.ace_editor {
  background-color: var(--rgb-gray-11) !important;
  font-family: monospace;
}
.ace_gutter-layer {
  background-color: var(--rgb-gray-10) !important;
}
.ace_active-line {
  background-color: var(--rgb-gray-7) !important;
  opacity: 0.2 !important;
}
.ace_selection {
  background-color: var(--rgb-blue) !important;
  opacity: 0.2 !important;
}
.ace_print-margin {
  background-color: var(--rgb-gray-10) !important;
}
.ace_gutter-cell {
  color: var(--rgb-gray-4) !important;
}
.ace_gutter-active-line {
  background-color: var(--rgb-gray-9) !important;
}
.ace_section {
  color: var(--rgb-ace-section) !important;
}
.ace_tag {
  color: var(--rgb-gray-2) !important;
}
.ace_modifier {
  color: var(--rgb-ace-modifier) !important;
}
.ace_string {
  color: var(--rgb-ace-string) !important;
}
.ace_function {
  color: var(--rgb-ace-function) !important;
}
.ace_variable {
  color: var(--rgb-ace-variable) !important;
  font-style: normal !important;
}
.ace_numeric {
  color: var(--rgb-gray-2) !important;
}
.ace_comment {
  color: var(--rgb-gray-7) !important;
  font-style: normal !important;
}
.ace_text-layer {
  color: var(--rgb-gray-2) !important;
}
.ace_completion-highlight {
  color: var(--rgb-blue) !important;
}
.ace_tooltip {
  background-color: var(--rgb-gray-10) !important;
}
.ace_tooltip > p {
  margin: 0;
}
button {
  background: none;
  border: none;
  outline: none;
}
.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}
.button {
  color: var(--rgb-gray-1);
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-right: 8px;
  cursor: pointer;
}
.button:last-child {
  margin: 0;
}
.button .label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  pointer-events: none;
  text-wrap: nowrap;
  padding: 0 4px;
}
.button.default {
  border-radius: 4px;
  border: 1px solid var(--rgb-gray-9);
  background-color: var(--rgb-gray-10);
}
.button.default:hover {
  background-color: var(--rgb-gray-9);
  border-color: var(--rgb-gray-8);
}
.button.default:active {
  background-color: var(--rgb-gray-8);
  border-color: var(--rgb-gray-7);
}
.button.default .label {
  color: var(--rgb-gray-4);
}
.state-btn {
  color: var(--rgb-gray-1);
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  margin-right: 8px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--rgb-gray-9);
  background-color: var(--rgb-gray-10);
  background-color: var(--rgb-gray-11);
}
.state-btn:last-child {
  margin: 0;
}
.state-btn .label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  pointer-events: none;
  text-wrap: nowrap;
  padding: 0 4px;
}
.state-btn.default {
  border-radius: 4px;
  border: 1px solid var(--rgb-gray-9);
  background-color: var(--rgb-gray-10);
}
.state-btn.default:hover {
  background-color: var(--rgb-gray-9);
  border-color: var(--rgb-gray-8);
}
.state-btn.default:active {
  background-color: var(--rgb-gray-8);
  border-color: var(--rgb-gray-7);
}
.state-btn.default .label {
  color: var(--rgb-gray-4);
}
.state-btn:hover {
  background-color: var(--rgb-gray-9);
  border-color: var(--rgb-gray-8);
}
.state-btn:active {
  background-color: var(--rgb-gray-8);
  border-color: var(--rgb-gray-7);
}
.state-btn .label {
  color: var(--rgb-gray-4);
}
.state-btn:disabled {
  color: var(--rgb-gray-7);
  cursor: default;
  pointer-events: none;
}
.button-group {
  display: flex;
  margin-right: 8px;
}
.button-group > .button {
  margin: 0;
  border-radius: 0;
  border-right: none;
}
.button-group > .button:first-child {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.button-group > .button:last-child {
  border-right: 1px solid var(--rgb-gray-9);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.toggle {
  position: relative;
  margin-right: 8px;
}
.toggle:last-child {
  margin: 0;
}
.toggle .button.toggle-button {
  margin: 0;
  border: 1px solid transparent;
  border-radius: 4px;
}
.toggle .button.toggle-button:hover {
  border: 1px solid var(--rgb-gray-8);
  background-color: var(--rgb-gray-9);
}
.toggle .button.toggle-button:active,
.toggle .button.toggle-button.active {
  background-color: var(--rgb-gray-8);
  border-color: var(--rgb-gray-7);
}
.toggle .toggle-content {
  display: none;
}
.opened-files .button {
  margin: 0;
}
.opened-files .button svg {
  opacity: 0.5;
}
.opened-files .button:hover svg {
  opacity: 1;
}
.popover .buttons {
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
}
.popover .buttons .button {
  margin-right: 0;
  margin-bottom: 4px;
  border-radius: 4px;
}
.popover .buttons .button:last-child {
  margin: 0;
}
.popover .buttons .button:hover {
  background-color: var(--rgb-gray-9);
}
.popover .buttons .button .label {
  pointer-events: none;
  text-wrap: nowrap;
  padding-right: 12px;
  overflow-x: hidden;
  text-overflow: ellipsis;
  width: 149px;
}
.popover.file-menu {
  padding: 0;
  border-radius: 0;
}
.popover.file-menu .buttons .button {
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--rgb-gray-9);
  border-radius: 0;
}
body {
  color: var(--rgb-gray-1);
  background-color: var(--rgb-gray-11);
  margin: 0;
  font-family: "Prompt", sans-serif;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.5s;
  overflow: hidden;
}
* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  display: none;
}
input {
  background-color: var(--rgb-gray-11);
  border: 1px solid transparent;
  color: var(--rgb-gray-1);
  outline: none;
  box-shadow: none;
  border-radius: 4px;
  font-family: "Prompt", sans-serif;
  font-size: 14px;
}
input:focus {
  border: 1px solid var(--rgb-gray-8);
}
.toolbar {
  background-color: var(--rgb-gray-10);
  height: 40px;
  border-bottom: solid 1px var(--rgb-gray-11);
}
.toolbar .left {
  height: 100%;
}
.address.hexadecimal::before,
.value.hexadecimal::before {
  content: "0𝗑";
  font-size: calc(12px - 2px);
  user-select: none;
  opacity: 0.3;
}
.icon {
  width: 16px;
  height: 16px;
  margin: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon svg {
  transition: opacity 0.5s;
  width: 100%;
  height: 100%;
}
.icon.app-logo {
  width: 24px;
  height: 24px;
  margin: 8px;
}
.app-name {
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  padding: 0 12px;
  color: var(--rgb-app-color);
}
.body {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--rgb-gray-11);
}
.error-message {
  color: var(--rgb-red);
}
.editor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.5s;
}
.opened-files {
  width: 100%;
  height: 100%;
  display: flex;
}
.opened-files .files-tabs {
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow-y: auto;
  background-color: var(--rgb-gray-10);
  border-bottom: 1px solid var(--rgb-gray-9);
}
.opened-files .files-tabs .new-file {
  position: relative;
  padding: 0 16px !important;
}
.opened-files .files-tabs .new-file > .icon {
  margin: auto;
}
.opened-files .files-tabs .new-file svg {
  fill: var(--rgba-app-color-80);
}
.opened-files .files-tabs .new-file:hover svg {
  fill: var(--rgb-app-color);
}
.opened-files .files-tabs.sortable .file-tab:hover {
  background-color: var(--rgb-gray-10) !important;
}
.opened-files .files-tabs .file-tab {
  height: 40px;
  padding-left: 10px;
  overflow: hidden;
  user-select: none;
  display: flex;
  background-color: var(--rgb-gray-10);
  border-bottom: 2px solid transparent;
}
.opened-files .files-tabs .file-tab:hover {
  border-bottom-color: var(--rgba-app-color-50);
}
.opened-files .files-tabs .file-tab > .buttons {
  padding: 0;
}
.opened-files .files-tabs .file-tab.selected {
  border-bottom-color: var(--rgb-app-color);
}
.opened-files .files-tabs .file-tab .file-name {
  flex: 1;
  max-width: 140px;
  margin: auto 0;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
  color: var(--rgb-app-color);
}
.settings .line {
  margin-bottom: 5px;
  display: flex;
  gap: 5px;
}
.settings .line .help {
  background-color: var(--rgb-gray-8);
  border-radius: 50%;
  user-select: none;
  margin: auto 0;
  width: 1.5ch;
  height: 1.5ch;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 80%;
  padding: 1.2ch;
}
.settings .line .help:hover {
  background-color: var(--rgb-gray-7);
}
.settings .error {
  background-color: var(--rgba-red-60);
}
.table {
  font-size: 12px;
  overflow-x: hidden;
  font-family: monospace;
}
.table .cols-names {
  display: flex;
}
.table .cols-names > .col {
  border: none !important;
}
.table .cols-names > .col > * {
  font-family: "Prompt", sans-serif;
  font-size: 14px;
}
.table .cols-names .col {
  display: flex;
  justify-content: space-between;
  gap: 0.2em;
}
.table .cols-names .col .col-name {
  display: flex;
  flex-wrap: wrap;
  padding: 2px;
  transition: all 0.5s;
  overflow: scroll;
  font-size: 14px;
}
.table .cols-names .col .col-format {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.table .rows .row {
  display: flex;
}
.table .rows .row:first-of-type .col.name,
.table .rows .row:first-of-type .col.address {
  border-top: solid 1px var(--rgb-gray-10);
}
.table .rows .row:first-of-type .col.value {
  border-top: solid 1px var(--rgb-gray-9);
}
.table .rows .row .col {
  display: flex;
  align-items: center;
  padding: 2px 4px;
  overflow: scroll;
  line-height: 14px;
  justify-content: flex-end;
  position: relative;
}
.table .rows .row .col.name,
.table .rows .row .col.address {
  border-bottom: solid 1px var(--rgb-gray-10);
}
.table .rows .row .col.value {
  border-bottom: solid 1px var(--rgb-gray-9);
}
.table .rows .row .col.binary {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
}
.table .rows .row .col.binary span {
  font-family: Lekton;
  font-size: 12px;
  transform-origin: left;
}
.form.help {
  width: 75%;
  height: 60%;
  padding: 1em;
}
.form.help .title-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.form.help .title-container span {
  font-size: calc(16px + 5px);
}
.form.help .title-container .section-title {
  transition: opacity 0.3s;
  opacity: 0.5;
}
.form.help .title-container .section-title:hover {
  cursor: pointer;
  opacity: 1;
}
.form.help .title-container .section-title.active {
  opacity: 1;
  font-weight: bold;
}
.form.help .content {
  height: 100%;
  overflow-y: scroll;
}
.form.help .content .table .cols-names p {
  font-size: inherit;
  margin: 0;
  font-weight: bold;
}
.form.help .content .table .cols-names > * {
  justify-content: flex-start !important;
  align-items: normal !important;
}
.form.help .content .table .row {
  min-height: 20px;
}
.form.help .content .table .row.even .col {
  background-color: var(--rgb-gray-9);
}
.form.help .content .table .col {
  font-family: "Prompt", sans-serif;
  padding: 2px 5px;
  border: 0.5px solid var(--rgb-gray-8) !important;
}
.form.help .content .table .col.code {
  width: 5ch;
}
.form.help .content p {
  margin: 2px;
}
.form.help .content span.mnemonic {
  font-weight: bold;
  text-transform: lowercase;
  display: inline-block;
}
.form.help .content.ascii {
  display: flex;
  gap: 5px;
  overflow-y: scroll;
}
.form.help .content.ascii .table {
  overflow: visible;
}
.form.help .content.ascii .table .row {
  height: 20px;
}
.form.help .content.ascii .table .col.desc {
  width: 14ch;
}
.form.help .content.ascii .table .col.dec {
  width: 5ch;
}
.form.help .content.ascii .table .col.char {
  width: 5ch;
}
.form.help .content.ascii .table .col.dec,
.form.help .content.ascii .table .col.char {
  font-family: monospace;
}
.form.help .content.ascii .table .rows .col.char {
  justify-content: center;
}
.form.help .content.ascii .table .rows .col.char p {
  font-weight: bold;
  color: var(--rgb-blue);
}
.form.help .content.ascii .table .rows .col.char.special p {
  font-weight: normal;
}
.form.help .content.ascii .table .rows .col.desc > * {
  text-wrap: nowrap;
  overflow-x: scroll;
  font-size: calc(12px - 2px);
}
.form.help .content.directives .col.symbol,
.form.help .content.directives .col.example {
  font-family: monospace;
}
.form.help .content.directives .col.symbol {
  width: 12ch;
}
.form.help .content.directives .col.example {
  justify-content: flex-start;
  width: 28ch;
}
.form.help .content.directives .col.desc {
  justify-content: flex-start;
  flex: 1;
}
.form.help .content.directives .col.desc p {
  font-family: "Prompt", sans-serif;
}
.form.help .content.registers span.invariant {
  color: var(--rgba-red-80);
  font-weight: bold;
}
.form.help .content.registers .regs {
  display: flex;
  flex-direction: column;
}
.form.help .content.registers .regs .reg-row {
  display: flex;
  flex: 1;
}
.form.help .content.registers .col {
  justify-content: center;
}
.form.help .content.registers .col.num,
.form.help .content.registers .col.name {
  font-family: monospace;
}
.form.help .content.registers .col.num {
  width: 5ch;
}
.form.help .content.registers .col.name {
  width: 6ch;
}
.form.help .content.registers .col.longName {
  display: block;
  align-content: center;
  text-align: left;
  width: 23ch;
}
.form.help .content.registers .col.desc {
  flex: 1;
  justify-content: flex-start;
}
.form.help .content.instr .row.pseudo .col.name {
  color: var(--rgb-blue);
}
.form.help .content.instr .col.name,
.form.help .content.instr .col.params {
  font-family: monospace;
}
.form.help .content.instr .col.name {
  width: 9ch;
  font-weight: bold;
}
.form.help .content.instr .col.longname {
  display: block;
  align-content: center;
  text-align: left;
  width: 25ch;
}
.form.help .content.instr .col.params {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 27ch;
}
.form.help .content.instr .col.desc {
  justify-content: flex-start;
  width: 60%;
}
.form.help .content.instr .col.desc p {
  font-family: "Prompt", sans-serif;
}
.form.help .content.about .app-name {
  padding: 10px 0;
  font-size: calc(16px + 5px);
  line-height: calc(16px + 5px);
  color: var(--rgb-gray-1);
}
.form.help .content.about .ver {
  margin: 5px 0;
  opacity: 0.8;
}
.form.help .content.about .WIP {
  font-weight: bold;
  color: var(--rgba-red-80);
}
.form.help .content.about a {
  color: var(--rgb-gray-3);
}
.form.help .content.about a:visited {
  color: var(--rgb-gray-5);
}
.form.help .content.about a:hover {
  color: var(--rgb-gray-3);
}
.form.help .content.syscalls .col.code {
  font-family: monospace;
  width: 13ch;
}
.form.help .content.syscalls .col.name {
  width: 20ch;
}
.form.help .content.syscalls .col.desc {
  justify-content: flex-start;
  flex: 1;
}
.component {
  height: 100%;
  overflow-y: scroll;
}
.component .title {
  z-index: 20;
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.3em 1em;
  background-color: var(--rgb-gray-11);
  border-bottom: solid 1px var(--rgb-gray-11);
}
.component > .tables,
.component > .table {
  margin-top: 0.5em;
}
.component .title {
  border-bottom: solid 1px var(--rgb-gray-10);
}
.component .title .icon {
  margin-left: 0;
}
.component .title:hover {
  cursor: pointer;
  background-color: var(--rgb-gray-9);
}
#no-files {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#no-files .buttons {
  margin: auto;
  display: flex;
  gap: 0.5em;
  flex-direction: column;
}
#no-files .buttons .button {
  z-index: 5;
  height: 2.5em;
  width: 100%;
  margin-right: 0;
}
#files-buttons {
  display: flex;
  gap: 0;
  padding: 0;
  height: 100%;
}
#files-buttons .section {
  height: 100%;
  margin: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--rgb-gray-9);
}
#files-buttons .section:first-child {
  border-left: 1px solid var(--rgb-gray-9);
}
#files-buttons .section .button:hover {
  background-color: var(--rgb-gray-9);
  border-color: var(--rgb-gray-8);
}
#files-buttons .section.project {
  gap: 5px;
}
#files-buttons .section.project .project {
  user-select: none;
  opacity: 0.6;
}
#files-buttons .section.project .name {
  max-width: 15vw;
  text-overflow: ellipsis;
  overflow: hidden;
}
#console {
  font-size: var(--font-size-dyn);
}
#console .component {
  background-color: var(--rgb-gray-10);
}
#console .component .title {
  border-top: 2px solid var(--rgb-gray-10);
  border-bottom: 1px solid transparent;
}
#console .component .console {
  font-family: monospace;
  background-color: var(--rgb-gray-11);
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}
#console .component .console::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: var(--rgba-gray-3-40);
  transition: opacity 0.2s ease-out;
}
#console .component .console.blinking::after {
  opacity: 1;
}
#console .component .console .line.error {
  color: var(--rgb-red);
}
#console .component .console .line.warn {
  color: var(--rgb-yellow);
}
#console .component .console .line .clickable-pos {
  cursor: pointer;
  user-select: none;
  padding: 0 2px;
}
#console .component .console .line .clickable-pos:hover {
  background-color: var(--rgba-red-20);
}
#console .component .console textarea {
  border: none;
  outline: none;
  font-family: "Prompt", sans-serif;
  font-size: 14px;
  background-color: var(--rgb-gray-11);
  color: var(--rgb-gray-1);
  width: 100%;
  padding: 0;
  resize: none;
  overflow: hidden;
}
#editors .next-instruction {
  position: absolute;
  background-color: var(--rgba-blue-10) !important;
}
#editors .error {
  position: absolute;
  background-color: var(--rgba-red-20);
}
#editors .breakpoint-line {
  background-color: var(--rgba-red-20);
}
#editors .breakpoint-line::before {
  content: "●";
  color: var(--rgb-red);
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
#registers .component {
  background-color: var(--rgb-gray-11);
  border-left: 2px solid var(--rgb-gray-10);
}
#registers .component .table {
  padding: 0 12px;
  padding-bottom: 12px;
}
#registers .component .table .cols-names {
  margin-bottom: 5px;
}
#registers .component .table .cols-names .col.name {
  justify-content: center;
}
#registers .component .table .cols-names .col.value {
  width: calc(100% - 7ch);
}
#registers .component .table .col-format {
  padding-left: 0;
}
#registers .component .table .row {
  background-color: var(--rgb-gray-10);
}
#registers .component .table .col {
  height: 22px;
}
#registers .component .table .col.name {
  width: 7ch;
  background-color: var(--rgb-gray-11);
}
#registers .component .table .col.value {
  width: 12ch;
}
#registers .component .table .col.value.binary {
  width: 18ch;
}
#registers.registers-shown .row.last-changed .col.value {
  background-color: var(--rgba-red-20) !important;
}
#registers.registers-shown .row.last-read .col.value {
  color: var(--rgb-darkgreen) !important;
  font-weight: 500;
}
#registers:not(.registers-shown) .row.last-changed .col.name {
  background-color: var(--rgba-red-20) !important;
}
#registers:not(.registers-shown) .row.last-read .col.name {
  color: var(--rgb-darkgreen) !important;
  font-weight: 500;
}
#memory {
  --tags-width: 15ch;
}
#memory #memorymap-container {
  opacity: 0.6;
  transition: opacity 0.5s;
}
#memory #memorymap-container:has(#memorymap:hover) {
  opacity: 0.9;
}
#memory #memorymap-container #memorymap {
  background-color: var(--rgb-gray-7);
  filter: saturate(250%);
}
#memory .component {
  background-color: var(--rgb-gray-11);
  border-left: 2px solid var(--rgb-gray-10);
  overflow-y: scroll;
}
#memory .component .tables {
  height: 100%;
  overscroll-behavior: contain;
  padding-right: 45px;
  padding-top: 0;
}
#memory .component .tables .table {
  margin-bottom: 12px;
  overflow: visible;
  padding: 0;
}
#memory .component .tables .table:last-of-type {
  padding-bottom: 20vh;
}
#memory .component .tables .table .cols-names .col {
  background-color: transparent !important;
}
#memory .component .tables .table .cols-names .col.tags {
  padding: 0 2ch;
}
#memory .component .tables .table .cols-names .col.tags .col-name.section {
  font-size: 12px;
  font-family: monospace;
  font-weight: bold;
  color: var(--rgb-ace-section);
}
#memory .component .tables .table .cols-names .dots.icon {
  opacity: 0.3;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-6px) scale(1.2);
}
#memory .component .tables .table .cols-names .dots.icon svg {
  fill: var(--rgb-gray-4);
}
#memory .component .tables .table .rows {
  position: relative;
}
#memory .component .tables .table .rows::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: var(--rgba-gray-3-40);
  transition: opacity 0.2s ease-out;
  left: var(--tags-width);
  width: calc(100% - var(--tags-width));
}
#memory .component .tables .table .rows.highlighted::after {
  opacity: 1;
}
#memory .component .tables .table .rows .row {
  justify-content: flex-end;
  position: relative;
}
#memory .component .tables .table .rows .row::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: var(--rgba-gray-3-40);
  transition: opacity 0.2s ease-out;
  left: var(--tags-width);
  width: calc(100% - var(--tags-width));
}
#memory .component .tables .table .rows .row.highlighted::after {
  opacity: 1;
}
#memory .component .tables .table .rows .row.selected-instruction .col.address {
  background-color: var(--rgb-gray-9);
}
#memory .component .tables .table .rows .row.selected-instruction .col.value {
  background-color: var(--rgb-gray-8);
}
#memory .component .tables .table .rows .row.curr-pc .col.address {
  background-color: var(--rgba-blue-20) !important;
}
#memory .component .tables .table .rows .row.curr-pc .col.value {
  background-color: var(--rgba-blue-30) !important;
}
#memory .component .tables .table .rows .row .col {
  line-height: 12px;
  height: 22px;
}
#memory .component .tables .table .rows .row .col.hexadecimal,
#memory .component .tables .table .rows .row .col.binary,
#memory .component .tables .table .rows .row .col.ascii {
  justify-content: center;
}
#memory .component .tables .table .rows .row .col.asm {
  justify-content: flex-start;
}
#memory .component .tables .table .rows .row .col.tags {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  justify-content: flex-end;
}
#memory .component .tables .table .rows .row .col.tags.has-overflow {
  border-bottom: 1px dashed var(--rgb-gray-8);
}
#memory .component .tables .table .rows .row .col.tags.has-overflow:hover {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  z-index: 1000;
  border-bottom-style: solid;
  background-color: var(--rgb-gray-11);
}
#memory .component .tables .table .rows .row .col.tags .static-tags {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}
#memory .component .tables .table .rows .row .col.tags .dynamic-tags {
  flex: 0 1 auto;
  overflow: scroll;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
#memory .component .tables .table .rows .row .col.tags .tag {
  font-size: 12px;
  border-radius: 4px;
  padding: 2px;
  margin: 0 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
#memory .component .tables .table .rows .row .col.tags .tag.register {
  padding: 2px 4px;
  color: var(--rgb-ace-variable);
  border: 1px solid var(--rgb-ace-variable);
  font-weight: bold;
}
#memory .component .tables .table .rows .row .col.tags .tag.pc {
  padding: 2px 4px;
  font-weight: bold;
  color: var(--rgb-blue);
  border: 1px solid var(--rgb-blue);
}
#memory .component .tables .table .col.last-changed {
  background-color: var(--rgba-red-20) !important;
}
#memory .component .tables .table .col.last-read {
  color: var(--rgb-darkgreen) !important;
  font-weight: 500;
}
#memory .component .tables .table .col.tags {
  width: var(--tags-width);
}
#memory .component .tables .table .col.address {
  width: 12ch;
  background-color: transparent;
}
#memory .component .tables .table .col.value {
  width: 25ch;
  background-color: var(--rgb-gray-10);
}
#memory .component .tables .table .col.granular {
  display: flex;
  width: 25ch;
  padding: 0;
  border: none;
}
#memory .component .tables .table .col.granular .value {
  border-right: solid 1px var(--rgb-gray-9);
  height: 100%;
  width: 100%;
}
#memory .component .tables .table .col.granular .value:last-of-type {
  border-right: none;
}
.ghost-class {
  background-color: var(--rgb-gray-11) !important;
}
.popover {
  padding: 8px;
  border: 1px solid var(--rgb-gray-8);
  background-color: var(--rgb-gray-10);
  border-radius: 4px;
  pointer-events: auto;
  z-index: 2001;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--rgba-gray-8-70);
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
#forms-bg {
  background-color: var(--rgba-gray-11-60);
  display: none;
  justify-content: center;
  align-items: center;
}
#forms-bg .form {
  max-width: 80%;
}
.form {
  background-color: var(--rgb-gray-10);
  padding: 8px;
  border: 1px solid var(--rgb-gray-9);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.form.syscall .msg {
  color: var(--rgb-gray-4);
  max-width: 100%;
  overflow-wrap: break-word;
}
.form.unimi-login {
  min-width: 40%;
  max-width: 80%;
}
.form.unimi-login .email-input {
  display: flex;
}
.form .input {
  width: 100%;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form .input input {
  width: 100%;
}
.form .text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}
.blur {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.pointer-events-none {
  pointer-events: none !important;
}
select {
  outline: none;
  background-color: var(--rgb-gray-11);
  border-radius: 4px;
  border: 1px solid var(--rgb-gray-9);
  font-size: 12px;
  color: var(--rgb-gray-1);
  font-family: "Prompt", sans-serif;
}
span.code {
  border: 0.5px solid var(--rgb-gray-7) !important;
  border-radius: 5px !important;
  padding: 0px 2px;
  font-family: monospace;
  font-weight: normal;
}
