html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  touch-action: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  color-scheme: dark;
}

body a {
  color: var(--primary);
  text-decoration: underline;
  cursor: var(--cursor-pointer) 5 0, auto !important;
}

body a:hover {
  filter: brightness(1.5);
}

*:not(
    .resize-grips,
    .resize-grip,
    input,
    textarea,
    button,
    button *,
    select,
    select *,
    a
  ) {
  cursor: var(--cursor-default) 2 2, auto !important;
}

button,
button *,
select,
select *,
.desktop .dock .menu .app,
.desktop .dock .menu .app *,
.pointer,
a {
  cursor: var(--cursor-pointer) 5 0, auto !important;
}

input[type="range"],
input[type="range"]:focus {
  outline: none !important;
}

input:not([type="checkbox"], [type="range"]),
textarea,
.ace_content {
  cursor: var(--cursor-text) 10 9, auto !important;
}

/* p,
span,
a {
  cursor: default !important;
} */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  accent-color: var(--primary);
  --primary: hsl(222, 80%, 40%);
  --negative: hsl(0, 80%, 40%);
  --negative-light: hsl(0, 80%, 73%);
  --negative-dark: hsl(0, 79%, 25%);
  --positive: hsl(133, 80%, 40%);
  --positive-light: hsl(134, 81%, 72%);
  --positive-dark: hsl(133, 79%, 25%);
  --warning: hsla(60, 90%, 40%, 0.8);
  --warning-light: rgba(247, 247, 120, 1);
  --warning-light-translucent: rgba(247, 247, 120, 0.4);
  --warning-dark: hsla(60, 96%, 25%, 0.2);
  --root: hsl(222, 25%, 8%);
  --root-rgb: 15, 18, 25;
  --header: hsl(219, 28%, 12%);
  --unfocused: hsl(218, 31%, 5%);
  --text: hsl(0, 0%, 100%);
  --text-rgb: 255, 255, 255;
  --text-alt: hsl(222, 33%, 80%);
  --text-light: hsl(0, 0%, 100%);
  --label: hsl(222, 16%, 38%);
  --label-light: hsl(222, 15%, 50%);
  --neutral: hsl(222, 26%, 18%);
  --neutral-focus: hsl(222, 27%, 20%);
  --outline: hsl(222, 23%, 22%);
  --easing-function: cubic-bezier(0.65, 0, 0.35, 1);
  --short-animation-duration: 0.15s;
  --animation-duration: 0.45s;
  --long-animation-duration: 1s;
}

:root[data-theme="red"] {
  color-scheme: dark;
  --primary: hsl(0, 81%, 21%);
  --negative: #b81414;
  --negative-light: #f18383;
  --negative-dark: #710d0d;
  --positive: #14b838;
  --positive-light: #7cf197;
  --positive-dark: #0d7123;
  --root: hsl(0, 27%, 8%);
  --root-rgb: 15, 18, 25;
  --header: hsl(0, 28%, 12%);
  --unfocused: hsl(0, 31%, 5%);
  --text: #ffffff;
  --text-rgb: 255, 255, 255;
  --text-alt: #bbc5dd;
  --text-light: #ffffff;
  --label: hsl(0, 16%, 38%);
  --label-light: hsl(0, 15%, 50%);
  --neutral: hsl(0, 26%, 18%);
  --neutral-focus: hsl(0, 27%, 20%);
  --outline: hsl(0, 23%, 22%);
}

:root[data-theme="green"] {
  color-scheme: dark;
  --primary: hsl(131, 81%, 21%);
  --negative: #b81414;
  --negative-light: #f18383;
  --negative-dark: #710d0d;
  --positive: #14b838;
  --positive-light: #7cf197;
  --positive-dark: #0d7123;
  --root: hsl(131, 27%, 8%);
  --root-rgb: 15, 18, 25;
  --header: hsl(131, 28%, 12%);
  --unfocused: hsl(131, 31%, 5%);
  --text: #ffffff;
  --text-rgb: 255, 255, 255;
  --text-alt: #bbc5dd;
  --text-light: #ffffff;
  --label: hsl(131, 16%, 38%);
  --label-light: hsl(131, 15%, 50%);
  --neutral: hsl(131, 26%, 18%);
  --neutral-focus: hsl(131, 27%, 20%);
  --outline: hsl(131, 23%, 22%);
}

:root[data-theme="purple"] {
  color-scheme: dark;
  --primary: hsl(270, 84%, 21%);
  --negative: #b81414;
  --negative-light: #f18383;
  --negative-dark: #710d0d;
  --positive: #14b838;
  --positive-light: #7cf197;
  --positive-dark: #0d7123;
  --root: hsl(268, 32%, 8%);
  --root-rgb: 20, 14, 27;
  --header: hsl(270, 31%, 12%);
  --unfocused: hsl(270, 34%, 5%);
  --text: #ffffff;
  --text-rgb: 255, 255, 255;
  --text-alt: #bbc5dd;
  --text-light: #ffffff;
  --label: hsl(270, 19%, 38%);
  --label-light: hsl(270, 18%, 50%);
  --neutral: hsl(270, 29%, 18%);
  --neutral-focus: hsl(270, 30%, 20%);
  --outline: hsl(270, 26%, 22%);
}

:root[data-theme="grey"] {
  color-scheme: dark;
  --primary: #124b31;
  --negative: #b81414;
  --negative-light: #f18383;
  --negative-dark: #710d0d;
  --positive: #14b838;
  --positive-light: #7cf197;
  --positive-dark: #0d7123;
  --root: #1c1c1c;
  --root-rgb: 31, 31, 31;
  --header: #232323;
  --unfocused: #151515;
  --text: #ffffff;
  --text-rgb: 255, 255, 255;
  --text-alt: #bbc5dd;
  --text-light: #ffffff;
  --label: #acd3a6;
  --label-light: #acd3a6;
  --neutral: #252525;
  --neutral-focus: #282828;
  --outline: #fff3;
}

:root[data-theme="light"] {
  color-scheme: light;
  --primary: #2864b8;
  --negative: #db4e4e;
  --negative-light: #ea4848;
  --negative-dark: #710d0d;
  --positive: #3dcf5d;
  --positive-light: #199937;
  --positive-dark: #0d7123;
  --root: #f3f3f3;
  --root-rgb: 243, 243, 243;
  --header: #e6e6e6;
  --unfocused: #f7f7f7;
  --text: #1f1f1f;
  --text-rgb: 31, 31, 31;
  --text-alt: #222c44;
  --text-light: #ffffff;
  --label: #767f92;
  --label-light: #868fa2;
  --neutral: #cccccc;
  --neutral-focus: #aaaaaa;
  --outline: #bbbbbb;
  --warning: hsla(60, 100%, 30.2%, 0.8);
  --warning-light: rgb(152, 152, 0);
  --warning-light-translucent: rgba(247, 247, 120, 0.4);
  --warning-dark: hsla(60, 96%, 25%, 0.2);
}

body {
  background-color: #000;
  color: var(--text);
  font-family: "Inter", "Segoe UI Variable Display", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
  background-color: var(--neutral-focus);
}

audio::-webkit-media-controls-enclosure {
  border-radius: 10px;
}

.win-window.closing {
  animation: slide-down var(--animation-duration) var(--easing-function)
    forwards;
  pointer-events: none !important;
}

.win-window.dragging {
  transition: none !important;
}

.win-window,
.win-window-decorative {
  pointer-events: auto !important;
  user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  background-color: var(--root);
  border: 1px solid var(--outline);
  border-radius: 5px;
  overflow: visible;
  flex-direction: column;
  min-width: 140px;
  min-height: 80px;
  transition-property: top, left, width, height, box-shadow, border-radius;
  transition-duration: var(--animation-duration);
  transition-timing-function: var(--easing-function);
  box-shadow: 0px 0px 28px 2px rgba(0, 0, 0, 0.41);

  animation: slide-up var(--animation-duration) var(--easing-function) forwards;
}

.slideUp {
  animation: slide-up var(--animation-duration) var(--easing-function) forwards;
}

input.shake {
  animation: shake var(--animation-duration) var(--easing-function) forwards;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(5%);
  }

  50% {
    transform: translateX(-5%);
  }

  75% {
    transform: translateX(5%);
  }

  100% {
    transform: translateX(0);
  }
}

.win-window.max {
  width: 100% !important;
  height: calc(100% - 54px) !important;
  left: 0px !important;
  top: 0px !important;
  /* z-index: 1000 !important; */
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.win-window.max > .win-titlebar > .buttons > .win-btn.win-minimize {
  visibility: collapse;
}

.desktop ~ .win-window.max {
  height: calc(100% - 42px - 12px) !important;
}

.win-window.max > .win-titlebar,
.win-window.max > .win-content {
  border-radius: 0;
}

.win-window.max > .resize-grips {
  display: none;
}

.win-window.min {
  min-height: 0;
  height: auto !important;
  border-radius: 5px;
}

.win-window.min > .win-titlebar {
  border-radius: 5px;
}

.win-window.min .win-content {
  display: none;
}

.win-window.min .resize-grips {
  display: none;
}

.win-titlebar,
.win-window-decorative .win-titlebar {
  user-select: none;
  display: flex;
  background-color: var(--root);
  border-radius: 5px 5px 0 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.win-window:not(.focus) > .win-titlebar .title,
.win-window-decorative:not(.focus) > .win-titlebar .title {
  opacity: 0.5;
}

.win-window:not(.focus) > .win-titlebar button,
.win-window-decorative:not(.focus) > .win-titlebar button {
  filter: brightness(0.5);
}

.win-window.focus > .win-titlebar,
.win-window-decorative.focus > .win-titlebar {
  background-color: var(--header);
}

.win-window.snapped {
  box-shadow: none;
  border-radius: 0;
}

.win-titlebar .buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.win-titlebar .outer-title {
  flex: 1;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.win-titlebar .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  text-align: center;
  height: 100%;
  line-height: 32px;
}

.win-titlebar button {
  width: 42px;
  height: 24px;
  border: none;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  appearance: none;
  font-size: 0;
  padding: 0;
  mask-size: auto;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: auto;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  background-color: var(--text);
}

.win-titlebar button:hover,
.win-titlebar button:active {
  background-color: var(--text-alt) !important;
}

.win-titlebar button:target,
.win-titlebar button:focus {
  background-color: var(--text);
}

.win-titlebar button:focus {
  outline: none;
  border: none;
}

.win-titlebar button.win-minimize {
  mask-image: url("data:image/svg+xml,%3Csvg width='12' height='1' viewBox='0 0 12 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='0.5' x2='7.15256e-07' y2='0.5' stroke='white'/%3E%3C/svg%3E%0A");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='12' height='1' viewBox='0 0 12 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='0.5' x2='7.15256e-07' y2='0.5' stroke='white'/%3E%3C/svg%3E%0A");
}

.win-titlebar button.win-close {
  mask-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.778198' y='10.0707' width='13.1416' height='1.31416' transform='rotate(-45 0.778198 10.0707)' fill='white'/%3E%3Crect x='1.70746' y='0.778198' width='13.1416' height='1.31416' transform='rotate(45 1.70746 0.778198)' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.778198' y='10.0707' width='13.1416' height='1.31416' transform='rotate(-45 0.778198 10.0707)' fill='white'/%3E%3Crect x='1.70746' y='0.778198' width='13.1416' height='1.31416' transform='rotate(45 1.70746 0.778198)' fill='white'/%3E%3C/svg%3E");
}

.win-window.min .win-titlebar button.win-minimize {
  mask-image: url("data:image/svg+xml,%3Csvg width='12' height='11' viewBox='0 0 12 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='5.5' x2='7.15256e-07' y2='5.5' stroke='white'/%3E%3Cline x1='5.5' y1='11' x2='5.5' y2='-3.27825e-07' stroke='white'/%3E%3C/svg%3E%0A");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='12' height='11' viewBox='0 0 12 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='5.5' x2='7.15256e-07' y2='5.5' stroke='white'/%3E%3Cline x1='5.5' y1='11' x2='5.5' y2='-3.27825e-07' stroke='white'/%3E%3C/svg%3E%0A");
}

.win-content.with-sidebar {
  padding: 0;
}

[data-sidebar-type="horizontal"] .with-sidebar {
  flex-direction: column;
}

.win-content {
  padding: 10px;
  flex: 1;
  background: var(--root);
  overflow: auto;
  touch-action: pan-y !important;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  position: relative;
}

.container {
  padding: 10px;
}

.tooltip {
  position: fixed;
  display: flex;
  flex-direction: column;
  background-color: var(--unfocused);
  border: 1px solid var(--outline);
  color: var(--text-light);
  border-radius: 6px;
  user-select: none;
  z-index: 9999999;
  pointer-events: none;
}

.tooltip .text {
  align-self: flex-start;
  padding: 4px 8px;
}

.win-content h1 {
  margin: 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.win-window .resize-grips {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
}

@media (pointer: coarse) {
  .win-window .resize-grips {
    position: absolute;
    width: calc(100% + 3rem);
    height: calc(100% + 3rem);
    pointer-events: none;
    top: -1.5rem;
    left: -1.5rem;
  }

  .win-window .resize-grips div {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
}

.win-window .resize-grips div {
  position: absolute;
  width: 6px;
  height: 6px;
  opacity: 0.9;
  /*   z-index: 1; */
  pointer-events: auto;
  /*   background-color: #f003; */
}

.win-window .resize-grips div[data-resize-type="top"] {
  top: -6px;
  left: 0;
  width: 100% !important;
  cursor: var(--cursor-resize-ns) 8 10, auto !important;
}

.win-window .resize-grips div[data-resize-type="right"] {
  top: 0 !important;
  right: -6px !important;
  height: 100% !important;
  cursor: var(--cursor-resize-ew) 10 6, auto !important;
}

.win-window .resize-grips div[data-resize-type="bottom"] {
  bottom: -6px;
  left: 0;
  width: 100% !important;
  cursor: var(--cursor-resize-ns) 8 10, auto !important;
}

.win-window .resize-grips div[data-resize-type="left"] {
  top: 0;
  left: -6px;
  height: 100% !important;
  cursor: var(--cursor-resize-ew) 10 6, auto !important;
}

.win-window .resize-grips div[data-resize-type="top-right"] {
  top: -6px;
  right: -6px;
  cursor: var(--cursor-resize-nesw) 8 8, auto !important;
}

.win-window .resize-grips div[data-resize-type="bottom-right"] {
  bottom: -6px;
  right: -6px;
  cursor: var(--cursor-resize-nwse) 8 8, auto !important;
}

.win-window .resize-grips div[data-resize-type="bottom-left"] {
  bottom: -6px;
  left: -6px;
  cursor: var(--cursor-resize-nesw) 8 8, auto !important;
}

.win-window .resize-grips div[data-resize-type="top-left"] {
  top: -6px;
  left: -6px;
  cursor: var(--cursor-resize-nwse) 8 8, auto !important;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #0009;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
  top: 0;
  left: 0;
  animation: fadeIn var(--animation-duration) linear;
}

.modal.closing {
  animation: fadeOut var(--animation-duration) linear;
  pointer-events: none !important;
}

.modal.closing .modal-content {
  animation: shortSlideDown var(--animation-duration) var(--easing-function)
    forwards;
}

.modal-content {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--outline);
  border-radius: 8px;
  min-width: 200px;
  min-height: 140px;
  max-width: 480px;
  max-height: 440px;
  overflow: clip;
  animation: shortSlideUp var(--animation-duration) var(--easing-function);
}

.win-window .win-content .modal {
  padding: 16px;
}

.win-window .win-content .modal-content {
  max-width: 100%;
  max-height: 100%;
}

.modal .modal-content .modal-header {
  padding: 8px;
  display: flex;
  justify-content: center;
  background-color: var(--header);
  flex-shrink: 0;
  border-radius: 5px 5px 0 0;
}

.modal .modal-content .modal-body {
  padding: 16px 18px;
  background-color: var(--root);
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 0 0 5px 5px;
  overflow: auto;
}

.modal-body > :first-child {
  flex: 1;
  white-space: pre-wrap;
}

.modal-body > :first-child table {
  white-space: normal;
}

.modal-body .flex-group {
  justify-content: flex-end;
}

.flex-group {
  display: flex;
  gap: 8px;
}

button {
  padding: 4px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  background-color: var(--neutral);
  appearance: none;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  margin: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button.transparent {
  background-color: transparent;
}

button.transparent:hover {
  background-color: rgba(var(--text-rgb), 0.25);
}

button.transparent:active {
  background-color: rgba(var(--text-rgb), 0.5);
}

button.small {
  padding: 4px 8px;
}

button.square {
  padding: 4px;
}

button:target,
button:focus {
  background-color: var(--neutral);
}

button:hover {
  background-color: var(--neutral);
}

button.primary {
  background-color: var(--primary);
  color: var(--text-light);
}

button.danger {
  background-color: var(--negative);
  color: var(--text-light);
}

summary {
  display: list-item !important;
}

button.success {
  background-color: var(--positive);
  color: var(--text-light);
}

.success {
  color: var(--positive-light);
}

.danger {
  color: var(--negative-light);
}

.warning {
  color: var(--warning-light);
}

.info {
  color: var(--primary);
}

select,
option {
  padding: 4px 8px;
  border-radius: 8px;
  border: none;
  outline: none;
  background-color: var(--neutral);
  text-align: left;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  margin: 4px;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.win-content.iframe {
  padding: 0;
  overflow: hidden;
}

.win-window:not(.focus) iframe,
.win-window.dragging iframe {
  pointer-events: none;
}

.small-label {
  font-size: 80%;
  color: #999;
  font-weight: 500;
}

.superscript {
  align-self: flex-start;
}

.loading-screen {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  background-color: #0004;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 99999999999999999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: none !important;
}

.loading-screen .logo {
  display: flex;
  gap: 6px;
  font-size: 3vmax;
  font-style: italic;
}

.fsterminal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.desktop {
  display: flex;
}

/* Utility */
.row {
  display: flex;
  flex-direction: row;
}

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

.row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.padded {
  padding: 16px 18px;
}

.pad {
  padding: 8px;
}

.ml-auto {
  margin-left: auto;
}

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

.mr-auto {
  margin-right: auto;
}

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

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

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

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 4px !important;
}

.mt-2 {
  margin-top: 8px;
}

.mr-0 {
  margin-right: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.ml-0 {
  margin-left: 0;
}

.o-h {
  overflow: hidden !important;
}

p {
  margin: 8px 0;
}

.transparent {
  background-color: transparent;
  border: none;
}

input,
textarea {
  color: var(--text) !important;
  background-color: var(--neutral);
  border: 1px solid var(--outline);
  margin: 4px;
  padding: 4px 6px;
  border-radius: 8px;
  outline: none;
  resize: none;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--label);
}

.fg {
  flex: 1;
}

.ovh {
  min-height: 0;
  overflow: auto;
  margin: 0;
  touch-action: unset !important;
}

/* Scroll ovh surfaces on mobile */
.ovh * {
  touch-action: unset !important;
}

/* Table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

table > tbody > tr > td div {
  width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

tr {
  transition: none !important;
}

tr:hover {
  background-color: var(--header);
}

thead::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--outline);
  transition: background-color 1.5s var(--easing-function);
}

thead {
  position: sticky;
  top: 0;
  background: var(--root);
}

thead tr {
  height: 30px;
}

th {
  padding: 4px 8px;
  font-weight: normal;
  text-align: left;
}

td {
  padding: 4px 8px;
}

.table-selected {
  background-color: var(--neutral) !important;
  color: var(--text);
}

.sidebar {
  background-color: var(--unfocused);
  display: flex;
  /* overflow-y: scroll; */
  overflow-y: auto;
  padding: 4px;
  gap: 2px;
  min-width: 32px;
  flex-shrink: 0;
}

.menu-bar {
  display: flex;
  width: 100%;
  gap: 0;
  flex-wrap: wrap;
  background-color: var(--unfocused);
}

.menu-bar button {
  margin: 0;
  border-radius: 0;
  padding: 6px 16px;
}

[data-sidebar-type="horizontal"] .sidebar,
[data-sidebar-type="horizontal"] .text-sidebar {
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  flex-shrink: 0;
  width: 100%;
}

.sidebar button {
  padding: 4px;
  display: flex;
  border-radius: 4px;
  margin: 2px;
  width: 32px;
  flex-shrink: 0;
}

.sidebar button:hover {
  background-color: var(--neutral);
}

.sidebar button:focus,
.sidebar button:active {
  background-color: transparent;
}

@keyframes slide-up {
  0% {
    transform: translateY(50%) scale(0.85);
    opacity: 0;
    pointer-events: all;
  }

  99% {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-down {
  0% {
    transform: translateY(0);
    opacity: 1;
    pointer-events: none;
  }

  100% {
    transform: translateY(50%) scale(0.85);
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes shortSlideUp {
  0% {
    transform: translateY(25%) scale(0.85);
    opacity: 0;
    pointer-events: none;
  }

  99% {
    transform: translateY(0);
    opacity: 1;
    pointer-events: none;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shortSlideDown {
  0% {
    transform: translateY(0);
    opacity: 1;
    pointer-events: none;
  }

  100% {
    transform: translateY(25%) scale(0.85);
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

[disabled] {
  background-color: var(--unfocused) !important;
  color: rgba(var(--text-rgb), 0.5) !important;
  cursor: var(--cursor-not-allowed) 10 10, not-allowed !important;
}

.desktop .dock {
  display: flex;
  z-index: 1;
  position: fixed;
  bottom: 6px;
  left: 6px;
  width: calc(100% - 12px);
  z-index: 9999999;
  background-color: var(--root);
  border-radius: 8px;
  border: 1px solid var(--outline);
  box-shadow: 0px 0px 28px 2px rgba(0, 0, 0, 0.41);

  animation: simpleSlideUp var(--long-animation-duration) var(--easing-function)
    forwards;
}

.desktop .dock.hiding {
  animation: simpleSlideDown var(--long-animation-duration)
    var(--easing-function) forwards;
}

[data-dock-style="compact"] .desktop .dock {
  max-width: 680px;
  left: 50%;
  animation: compactSimpleSlideUp var(--long-animation-duration)
    var(--easing-function) forwards;
}

[data-dock-style="compact"] .desktop .dock.hiding {
  animation: compactSimpleSlideDown var(--long-animation-duration)
    var(--easing-function) forwards;
}

[data-dock-style="minimal"] .desktop .dock {
  width: max-content;
  max-width: 680px;
  left: 50%;
  animation: compactSimpleSlideUp var(--long-animation-duration)
    var(--easing-function) forwards;
}

[data-dock-style="minimal"] .desktop .dock.hiding {
  animation: compactSimpleSlideDown var(--long-animation-duration)
    var(--easing-function) forwards;
}

.desktop .dock.collapse {
  animation: slideLeft var(--long-animation-duration) var(--easing-function)
    forwards;
}

.desktop .dock .toolbar-button {
  margin: 0;
  padding: 8px 12px;
  background: var(--header);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  outline: 0;
  border-radius: 0;
}

.desktop .dock > .toolbar-button:first-child {
  border-right: 1px solid var(--outline);
  border-radius: 8px 0 0 8px;
}

.desktop .dock > .border-left {
  border-left: 1px solid var(--outline);
}

.desktop .dock > .border-right {
  border-right: 1px solid var(--outline);
}

.desktop .dock > .toolbar-button:last-child {
  border-left: 1px solid var(--outline);
  border-radius: 0 8px 8px 0;
}

.desktop .dock .dock-item {
  background-color: var(--root);
  padding: 4px 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0;
}

.desktop .dock .dock-item.selected {
  background-color: var(--neutral);
}

.desktop .dock .items {
  display: flex;
  flex: 1;
  overflow: auto;
  background-color: var(--root);
}

.list-item {
  display: block;
  width: 100%;
  padding: 4px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.list-item:not(:last-child) {
  border-top: 1px solid var(--outline) 54;
}

.monospace {
  font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
    "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
    "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
}

.log-error,
.log-warn {
  padding-left: 28px;
  position: relative;
}

.log-error::before,
.log-warn::before {
  content: "";
  width: 20px;
  height: 24px;
  top: 0px;
  left: 4px;
  position: absolute;
}

.log-error {
  background-color: #4b2f36;
  border-top: 1px solid #743e4c !important;
  border-bottom: 1px solid #743e4c !important;
  color: #ffb3d2;
}

.log-error::before {
  background-color: #ff3b6b;
  -webkit-mask: url("./assets/icons/error.svg") no-repeat center center;
  -webkit-mask-size: 100% 100%;
  mask: url("./assets/icons/error.svg") no-repeat center center;
  mask-size: 100% 100%;
}

.log-warn {
  background-color: #42381f;
  border-top: 1px solid #56562e !important;
  border-bottom: 1px solid #56562e !important;
  color: #fce2a1;
}

.log-warn::before {
  background-color: #d7b600;
  -webkit-mask: url("./assets/icons/warn.svg") no-repeat center center;
  -webkit-mask-size: 100% 100%;
  mask: url("./assets/icons/warn.svg") no-repeat center center;
  mask-size: 100% 100%;
}

.ace-search {
  background-color: var(--neutral);
  color: var(--text);
  border: 1px solid var(--outline);
}

.ace_editor.ace_autocomplete {
  border: 1px var(--outline) solid;
  background: var(--unfocused);
  color: var(--text);
}

.ace_editor.ace_autocomplete .ace_line {
  transition: none;
}

.ace_editor.ace_autocomplete .ace_line-hover {
  background-color: var(--neutral);
  border-color: var(--outline);
}

.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
  background-color: var(--neutral-focus);
}

.ace_editor.ace_autocomplete .ace_line.ace_selected {
  background-color: var(--neutral-focus);
}

code,
pre,
ul {
  margin: 0;
  outline: 0;
}

*:focus:not(.transparent, details, summary) {
  outline: 1px solid white;
}

.pre-wrap {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: keep-all;
}

/* misc ace */
.ace-tm .ace_gutter {
  background: var(--unfocused);
  color: var(--text);
}

.ace-tm .ace_print-margin {
  width: 1px;
  background: var(--header);
}

.ace-tm .ace_fold {
  background-color: #6b72e6;
}

.ace-tm {
  background-color: var(--root);
  color: var(--text);
}

.ace-tm .ace_cursor {
  color: var(--text);
}

.ace-tm .ace_invisible {
  color: rgb(191, 191, 191);
}

.ace-tm .ace_variable,
.ace-tm .ace_storage {
  color: #569cd6;
}

.ace-tm .ace_keyword {
  color: #c586c0;
}

.ace-tm .ace_constant {
  color: rgb(6, 156, 197);
}

.ace-tm .ace_constant.ace_buildin {
  color: rgb(88, 72, 246);
}

.ace-tm .ace_constant.ace_language {
  color: rgb(88, 92, 246);
}

.ace-tm .ace_constant.ace_library {
  color: rgb(6, 150, 14);
}

.ace-tm .ace_invalid {
  background-color: rgba(255, 0, 0, 0.1);
  color: red;
}

.ace-tm .ace_support.ace_function {
  color: #dcdcaa;
}

[data-theme="light"] .ace-tm .ace_support.ace_function {
  color: #29bd78;
}

.ace-tm .ace_support.ace_constant {
  color: rgb(6, 150, 14);
}

.ace-tm .ace_support.ace_type,
.ace-tm .ace_support.ace_class {
  color: rgb(109, 121, 222);
}

.ace-tm .ace_operator {
  color: #48befd;
}

.ace-tm .ace_keyword.ace_operator {
  color: rgb(104, 118, 135);
}

.ace-tm .ace_string {
  color: #ce9178;
}

.ace-tm .ace_comment {
  color: #6a9955;
}

.ace-tm .ace_comment.ace_doc {
  color: rgb(0, 102, 255);
}

.ace-tm .ace_comment.ace_doc.ace_tag {
  color: rgb(128, 159, 191);
}

.ace-tm .ace_tag {
  color: rgb(128, 159, 191) !important;
}

.ace-tm .ace_constant.ace_numeric {
  color: #b5cea8;
}

.ace-tm .ace_punctuation {
  color: var(--label);
}

.ace-tm .ace_boolean {
  color: #569cd6;
}

.ace-tm .ace_entity.ace_name.ace_function,
.ace-tm .ace_function.ace_ts,
.ace-tm .ace_name.ace_ts {
  color: #569cd6;
}

.ace-tm .ace_xml-pe {
  color: rgb(104, 104, 91);
}

.ace-tm .ace_heading {
  color: rgb(12, 7, 255);
}

.ace-tm .ace_list {
  color: rgb(185, 6, 144);
}

.ace-tm .ace_meta.ace_tag {
  color: rgb(0, 22, 142);
}

.ace-tm .ace_string.ace_regex {
  color: rgb(255, 0, 0);
}

.ace_search {
  background-color: var(--root);
  border-color: var(--outline);
  color: var(--text);
}

.ace-tm .ace_marker-layer .ace_selected-word,
.ace-tm .ace_marker-layer .ace_selection {
  background: var(--unfocused);
  border: 0;
}

.ace-tm.ace_multiselect .ace_selection.ace_start {
  box-shadow: 0 0 3px 0px white;
}

.ace-tm .ace_marker-layer .ace_step {
  background: rgb(252, 255, 0);
}

.ace-tm .ace_marker-layer .ace_stack {
  background: rgb(164, 229, 101);
}

.ace-tm .ace_marker-layer .ace_bracket {
  margin: -1px 0 0 -1px;
  border: 1px solid var(--neutral-focus);
}

.ace-tm .ace_marker-layer .ace_active-line {
  background: var(--header);
}

.ace-tm .ace_gutter-active-line {
  background-color: var(--header);
}

.ace-tm .ace_indent-guide {
  position: relative;
}

.ace-tm .ace_indent-guide::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--neutral);
}

.ace-tm .ace_indent-guide-active::before {
  background-color: var(--neutral-focus);
}

.ace-tm .ace_identifier {
  color: #82aaff;
}

.ace_paren {
  color: var(--text-alt);
}

.ace_search_field,
.ace_searchbtn,
.ace_button {
  background-color: var(--neutral);
  border-color: var(--outline);
  color: var(--text);
}

.ace_button:hover,
.ace_searchbtn:hover {
  background-color: var(--neutral-focus);
}

.ace_search_options,
.ace_button {
  color: var(--text);
}

#ace_settingsmenu,
#kbshortcutmenu {
  background-color: var(--root);
  position: fixed;
  color: var(--text);
  z-index: 99999999;
  height: calc(100% - 54px);
}

.ace_optionsMenuEntry button {
  background: var(--neutral);
  border: 1px solid var(--outline);
}

.ace_optionsMenuEntry button:hover {
  background: var(--neutral-focus);
  border: 1px solid var(--outline);
}

.ace_optionsMenuEntry button[ace_selected_button="true"] {
  background: var(--unfocused);
  box-shadow: unset !important;
  border: 1px solid var(--outline);
}

/* ::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--neutral);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: var(--root);
} */

*::-webkit-scrollbar {
  border: none;
  box-shadow: none;
  background-color: transparent;
  width: 0.5vw;
  z-index: -100;
}

*::-webkit-scrollbar-track {
  border: none;
  box-shadow: none;
  background-color: transparent;
  opacity: 0;
  z-index: -100;
}

*::-webkit-scrollbar-track-piece {
  border: none;
  box-shadow: none;
  background-color: transparent;
  opacity: 0;
  z-index: -100;
}

*::-webkit-scrollbar-thumb {
  opacity: 1;
  background-color: var(--neutral);
  border-radius: 2000px;
  z-index: 999999;
}

::-webkit-scrollbar {
  border: none;
  box-shadow: none;
  background-color: transparent;
  width: 0.5vw;
  z-index: -100;
}

::-webkit-scrollbar-track {
  border: none;
  box-shadow: none;
  background-color: transparent;
  opacity: 0;
  z-index: -100;
}

::-webkit-scrollbar-track-piece {
  border: none;
  box-shadow: none;
  background-color: transparent;
  opacity: 0;
  z-index: -100;
}

::-webkit-scrollbar-thumb {
  opacity: 1;
  background-color: var(--neutral);
  border-radius: 2000px;
  z-index: 999999;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--neutral) var(--root);
  box-sizing: border-box;
  touch-action: none !important;
  transition-property: background-color, color, border-color;
  transition-duration: 0.1s;
  transition-timing-function: var(--easing-function);
}

*:empty {
  transition-property: background-color, color, border-color;
  transition-duration: 0.5s;
  transition-timing-function: var(--easing-function);
}

#snap-preview {
  border: 1px solid var(--outline);
  z-index: 1;
  backdrop-filter: brightness(1.2) blur(9px) contrast(0.76);
  border-radius: 8px;
  display: none;
  opacity: 0.4;
}

svg.lucide:not(.ignore-css) {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.desktop-icon svg.lucide {
  width: 48px;
  height: 48px;
  stroke-width: 1.5px;
}

.desktop-apps {
  display: flex;
  gap: 12px;
  flex-direction: row;
  padding: calc(1.08vmax) 1.5vmax;
  flex-wrap: wrap;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  min-width: 90px;
  max-width: 140px;
  border-radius: 8px;
  padding: 8px;
  animation: shortSlideUp var(--long-animation-duration) var(--easing-function)
    forwards;
}

.desktop-icon:hover {
  background-color: var(--header);
}

.desktop-icon .icon {
  width: 48px;
  height: 48px;
}

.desktop-icon .text-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.desktop-icon .text {
  text-align: center;
  text-shadow: 0 0 20px #000;
  width: 100%;
  display: flex;
  justify-content: center;
  word-break: break-word;
}

.separator {
  margin: auto;
}

.text-sidebar {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
  background-color: var(--unfocused);
}

.text-sidebar .sidebar-item {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  align-items: center;
}

.sidebar-item .sidebar-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nf {
  display: block !important;
}

.fc {
  justify-content: center;
  align-items: center;
}

.jc {
  justify-content: center;
}

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

.ac {
  align-items: center;
}

.as {
  align-items: flex-start;
}

/* Weather App */

.weather-jumbo {
  --bg: url("https://wallpapercave.com/wp/doNuhh5.jpg");
  display: flex;
  flex-direction: column;
  height: 174px;
  padding: 10% 8%;
  background-image: linear-gradient(
      0deg,
      rgba(var(--root-rgb), 0.8),
      rgba(var(--root-rgb), 0.8)
    ),
    var(--bg);
  background-size: cover;
  background-position: center;
}

.weather-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.weather-jumbo .wrapper {
  position: relative;
  width: 100%;
}

.weather-jumbo .top-label {
  position: absolute;
  bottom: calc(100% + 6px);
  font-size: 12px;
  color: var(--text-alt);
  font-weight: 500;
}

.label-bar {
  display: flex;
  color: var(--label-light);
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.label-bar .bar {
  display: flex;
  flex: 1;
  height: 2px;
  background-color: currentColor;
}

.weather-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.weather-emoji {
  font-size: 185%;
}

.weather-header {
  font-size: 130%;
  font-weight: 600;
  display: inline-flex;
}

.weather-header sup {
  font-size: 100%;
  font-weight: 600;
}

.spaced-horizontally {
  margin: 0 48px;
}

.gap {
  gap: 8px;
}

.gap-mid {
  gap: 6px;
}

.gap-small {
  gap: 4px;
}

.padding {
  padding: 8px;
}

.padding-mid {
  padding: 6px;
}

.padding-small {
  padding: 4px;
}

hr {
  border: 1px solid rgba(128, 128, 128, 0.3);
  width: 100%;
}

.card {
  padding: 8px;
  background-color: var(--unfocused);
  border-radius: 8px;
  border: 1px solid var(--outline);
}

.h1,
.h2,
.h3 {
  display: flex;
  font-weight: bold;
  margin: 0;
}

.h1 {
  font-size: 24px;
  font-weight: 600;
}

.h2 {
  font-size: 18px;
  font-weight: 500;
}

.h3 {
  font-size: 16px;
  font-weight: 600;
}

.label {
  color: var(--label);
  font-size: 12px;
}

.label-light {
  color: var(--label-light);
  font-size: 12px;
}

.if {
  display: inline-flex;
}

.mc {
  width: max-content;
}

.mhc {
  height: max-content;
}

.fadeIn {
  animation: fadeIn var(--animation-duration) linear forwards;
}

.fadeOut {
  animation: fadeOut var(--animation-duration) linear forwards;
}

.fadeInShort {
  animation: fadeIn var(--short-animation-duration) linear forwards;
}

.fadeOutShort {
  animation: fadeOut var(--short-animation-duration) linear forwards;
}

.fadeInLong {
  animation: fadeIn var(--long-animation-duration) linear forwards;
}

.fadeOutLong {
  animation: fadeOut var(--long-animation-duration) linear forwards;
}

.desktop .menu {
  display: flex;
  padding: 0 12px;
  width: 350px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;

  border-radius: 4px;
  border: 1px solid var(--outline);
  background: var(--root);

  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;

  max-height: 360px;
  height: 50vh;
}

.desktop .menu.tray {
  left: 50%;
  transform: translateX(-50%);
  max-width: 160px;
  overflow: auto;
  max-height: 100vh;
  width: unset;
  height: unset;
  padding: 0;
  text-align: center;
  z-index: -1;
}

.desktop .menu.tray .tray-item {
  padding: 4px;
}

.desktop .menu.tray .tray-item,
.desktop .menu.tray .tray-item .app-icon {
  display: flex;
  justify-content: center;
  align-content: center;
}

.desktop .menu.tray .tray-item .app-icon svg {
  width: 100%;
  height: 100%;
}

.icon svg {
  width: 100% !important;
  height: 100% !important;
}

.desktop .menu.tray.opening {
  animation: minimalMenuOpen var(--animation-duration) var(--easing-function)
    forwards !important;
}

.desktop .menu.tray.closing {
  animation: minimalMenuClose var(--animation-duration) var(--easing-function)
    forwards !important;
}

.desktop .menu > .me {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  margin-top: 12px;
}

.desktop .menu > .me .pfp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image: var(--url);
  background-size: cover;
  background-position: center;
  --url: url("./assets/user-avatar.svg");
}

.desktop .menu > .me > .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1 0 0;
}

.desktop .menu > .me > .text > .subheading {
  color: var(--label-light);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.spacer {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  color: var(--label);
  font-weight: 550;
}

.spacer .space:first-child {
  width: 12px;
}

.spacer .space:last-child {
  flex: 1 0 0;
}

.spacer .space,
.space {
  width: 100%;
  height: 2px;
  background: var(--label);
}

.desktop .menu > .apps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  overflow: auto;
  touch-action: pan-y !important;
}

.desktop .menu > .apps > .app {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 8px;
  cursor: pointer;
}

.desktop .menu > .apps > .app:hover {
  background-color: var(--header);
}

.desktop .menu > .apps > .app > .app-icon,
.desktop .menu > .apps > .app > .app-icon svg,
.desktop .menu > .apps > .app > .app-icon img {
  width: 42px !important;
  height: 42px !important;
  stroke-width: 1.3px;
}

.desktop .menu > .apps > .app > .app-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.desktop .menu > .apps > .app > .app-text > .app-heading {
  color: var(--text);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.desktop .menu > .apps > .app > .app-text > .app-description {
  color: var(--text-alt);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@keyframes menuOpen {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes menuClose {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-150%);
  }
}

@keyframes simpleSlideUp {
  from {
    transform: translateY(150%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes simpleSlideDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(150%);
  }
}

@keyframes compactMenuOpen {
  from {
    transform: translateY(120%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes compactMenuClose {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(150%);
  }
}

@keyframes minimalMenuOpen {
  from {
    transform: translate(-50%, 120%);
    left: 50%;
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    left: 50%;
    opacity: 1;
  }
}

@keyframes minimalMenuClose {
  from {
    transform: translate(-50%, 0);
    left: 50%;
    opacity: 1;
  }

  to {
    transform: translate(-50%, 150%);
    left: 50%;
    opacity: 0;
  }
}

@keyframes compactSimpleSlideUp {
  from {
    transform: translate(-50%, 150%);
  }

  to {
    transform: translate(-50%, 0);
  }
}

@keyframes compactSimpleSlideDown {
  from {
    transform: translate(-50%, 0);
  }

  to {
    transform: translate(-50%, 150%);
  }
}

.desktop .menu.opening {
  animation: menuOpen var(--animation-duration) var(--easing-function) forwards;
}

.desktop .menu.closing {
  animation: menuClose var(--animation-duration) var(--easing-function) forwards;
}

[data-dock-style="compact"] .desktop .menu.opening {
  animation: compactMenuOpen var(--animation-duration) var(--easing-function)
    forwards;
}

[data-dock-style="compact"] .desktop .menu.closing {
  animation: compactMenuClose var(--animation-duration) var(--easing-function)
    forwards;
}

[data-dock-style="compact"] .desktop .menu {
  z-index: -1;
}

[data-dock-show-tray="false"] .desktop .dock button.tray {
  display: none;
}

[data-dock-show-assistant="false"] .desktop .dock button.assistant {
  display: none;
}

[data-dock-style="minimal"] .desktop .menu.opening {
  animation: minimalMenuOpen var(--animation-duration) var(--easing-function)
    forwards;
}

[data-dock-style="minimal"] .desktop .menu.closing {
  animation: minimalMenuClose var(--animation-duration) var(--easing-function)
    forwards;
}

[data-dock-style="minimal"] .desktop .menu {
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
}

.card-box {
  display: inline-flex;
  padding: 12px;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid var(--outline);
  background: var(--root);
  max-width: fit-content;
  position: relative;
}

.card-box.max {
  max-width: 240px;
}

.blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px) brightness(0.65);
  -webkit-backdrop-filter: blur(10px) brightness(0.65);
}

.blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: var(--below-wallpaper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px) brightness(0.7);
}

.blur::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: var(--above-wallpaper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-box .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--url);
  background-size: cover;
  background-position: center;
  --url: linear-gradient(147deg, #005be3 0%, #3d00e3 42.71%);
}

.card-box .text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-box .label {
  color: var(--label-light);
  font-size: 12px;
}

.card-box.list {
  padding: 12px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.card-box.list .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  gap: 8px;
}

.terminal-prev-commands {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal-prev-command {
  display: flex;
  flex-direction: column;
}

.terminal-prev-command-text {
  font-size: 14.5px;
  color: var(--positive-dark);
  font-weight: 500;
}

.terminal-current-line-input {
  width: 100%;
}

.alert {
  display: inline-flex;
  background-color: var(--header);
  border: 1px solid var(--warning-light);
  color: var(--text);
  padding: 8px 12px 8px 40px;
  border-radius: 8px;
  position: relative;
  max-width: fit-content;
}

.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--warning);
  mask-image: url("./assets/icons/warn.svg");
  mask-size: 24px;
  mask-repeat: no-repeat;
  mask-position: 12px center;
}

.alert.warning {
  background-color: var(--warning-dark);
  color: var(--text);
}

.app-store {
  line-height: 1.25rem;
}

.app-store .search-bar {
  display: flex;
  padding: 4px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid var(--outline);
}

.app-store .search-bar input {
  flex: 1;
}

.app-store .app {
  display: flex;
  padding: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.app-store .app:not(.in-menu) {
  margin: 8px;
  border-radius: 6px;
  border: 1px solid var(--header);
}

.app-store .app:not(.in-menu),
.app-store .app:not(.in-menu) * {
  cursor: var(--cursor-pointer) 5 0, auto !important;
}

.app-store .app:not(.in-menu):hover {
  background-color: var(--header);
}

.app-store .app.in-menu {
  flex-direction: column;
  align-items: stretch;
}

.app-store .app-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 10px;
}

.app-store .app-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.app-store .app-text span {
  white-space: pre-wrap;
}

.app-store .app-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.app-store .app-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-store .app-banner {
  display: flex;
  flex-shrink: 0;
  height: 150px;
  background-image: var(--url);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* border-radius: 8px; */
}

.app-store .app-banner.no-banner {
  background: var(--unfocused);
  position: relative;
}

.app-store .app-banner.no-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  background-image: var(--url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.app-store h2 {
  padding: 0 12px;
  margin: 8px 0;
}

.app-store .app-whats-new {
  padding: 0 12px;
}

.app-store .app-whats-new h2 {
  padding: 0;
  margin: 8px 0;
}

.app-store .app-sub-details {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 12px;
  margin-bottom: 1rem;
}

.app-store .app-sub-details-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8px;
  border: 1px solid var(--outline);
  border-radius: 4px;
  gap: 8px;
  min-width: 250px;
  flex: 1;
}

.app-store .app-sub-details-item h3 {
  margin: 4px 0;
}

.window-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.25s var(--easing-function);
  z-index: 999;
}

.window-box.hidden {
  opacity: 0;
}

#snap-indicator {
  background-color: rgba(var(--root-rgb), 0.3);
  border: 1px solid var(--outline);
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  border-radius: 8px;
  /* backdrop-filter: blur(10px) brightness(0.9) contrast(1.2);
  background-image: var(--background-image);
  background-blend-mode: multiply;
  image-rendering: pixelated; */
}

#snap-indicator.animated {
  transition: opacity 0.15s linear, width 0.25s var(--easing-function),
    height 0.25s var(--easing-function), top 0.25s var(--easing-function),
    left 0.25s var(--easing-function);
}

.blur [class^="display-"] {
  text-align: center;
}

.display-heading {
  font-size: min(64px, max(48px, 5vmax));
  font-weight: 600;
}

.display-subheading {
  font-size: min(48px, max(18px, 1.5vmax));
  font-weight: 550;
}

.display-padding {
  padding: 15vmax;
}

.browser .selected {
  background-color: var(--header) !important;
}

.no-ui {
  font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
    "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
    "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
  padding: 8px;
  font-size: 1rem;
  user-select: text !important;
  height: 100%;
  overflow: auto;
}

.no-ui .input {
  outline: none;
}

.no-ui .output {
  white-space: pre-wrap;
}

.muted {
  color: var(--label-light);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.ctx-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  background-color: var(--unfocused);
  border: 1px solid var(--outline);
  color: var(--text);
  border-radius: 6px;
  user-select: none;
  min-width: 120px;
  min-height: 16px;
  max-height: 80vh;
  overflow: auto;
  z-index: 9999999;
}

.ctx-menu .header {
  color: var(--text-alt);
  font-weight: 550;
  font-size: 0.8em;
  align-self: flex-start;
  padding: 0 14px;
  margin: 6px 0;
  text-transform: uppercase;
}

.ctx-menu .item {
  user-select: none;
  padding: 6px 14px;
}

.ctx-menu .item:hover,
.ctx-menu .item.over {
  background-color: var(--neutral-focus);
}

.win-content .modal {
  position: absolute !important;
}

.tab-text {
  pointer-events: none;
}

.desktop ~ .notify-box {
  bottom: 54px;
  right: 14px;
}

.notify-box {
  display: flex;
  flex-direction: column-reverse;
  position: fixed;
  z-index: 999999;
  bottom: 1.5rem;
  right: 1.5rem;
  gap: 0.5rem;
}

.win-content .notify-box {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  padding: 0.5rem;
}

.notify-box > .notify {
  background-color: var(--root);
  border: 0.125rem solid var(--outline);
  border-radius: 0.32rem;
  padding: 0.75rem 0.8rem;
  min-width: 4rem;
  /* min-width: 18rem; */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notify-box > .notify .notify-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.notify-box > .notify .notify-description {
  opacity: 1;
}

.slideIn {
  animation: slideIn var(--animation-duration) var(--easing-function) forwards;
}

.slideOut {
  animation: slideOut var(--animation-duration) var(--easing-function) forwards;
}

.slideInFromLeft {
  animation: slideInFromLeft var(--animation-duration) var(--easing-function)
    forwards;
}

.slideInFromRight {
  animation: slideInFromRight var(--animation-duration) var(--easing-function)
    forwards;
}

.shortSlideInFromLeft {
  animation: slideInFromLeft var(--short-animation-duration)
    var(--easing-function) forwards;
}

.shortSlideInFromRight {
  animation: slideInFromRight var(--short-animation-duration)
    var(--easing-function) forwards;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(50%);
    opacity: 0;
  }
}

.badge {
  display: inline-flex;
  max-width: max-content;
  padding: 4px 8px;
  border-radius: 99px;
  text-transform: capitalize;
  background-color: var(--neutral);
  color: var(--text);
  font-weight: bold;
  font-size: 11px;
}

.calc-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-buttons.one {
  width: 75%;
}

.calc-buttons.two {
  width: 25%;
  margin-left: 15px;
}

.calc-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.calc-row * {
  width: 100%;
}

.desktop.welcome-mode * {
  display: none;
}

.desktop.welcome-mode .bg {
  display: inherit !important;
}
