/* node_modules/@xterm/xterm/css/xterm.css */
.xterm {
  cursor: text;
  position: relative;
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}
.xterm.focus,
.xterm:focus {
  outline: none;
}
.xterm .xterm-helpers {
  position: absolute;
  top: 0;
  z-index: 5;
}
.xterm .xterm-helper-textarea {
  padding: 0;
  border: 0;
  margin: 0;
  position: absolute;
  opacity: 0;
  left: -9999em;
  top: 0;
  width: 0;
  height: 0;
  z-index: -5;
  white-space: nowrap;
  overflow: hidden;
  resize: none;
}
.xterm .composition-view {
  background: #000;
  color: #FFF;
  display: none;
  position: absolute;
  white-space: nowrap;
  z-index: 1;
}
.xterm .composition-view.active {
  display: block;
}
.xterm .xterm-viewport {
  background-color: #000;
  overflow-y: scroll;
  cursor: default;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
}
.xterm .xterm-screen {
  position: relative;
}
.xterm .xterm-screen canvas {
  position: absolute;
  left: 0;
  top: 0;
}
.xterm-char-measure-element {
  display: inline-block;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: -9999em;
  line-height: normal;
}
.xterm.enable-mouse-events {
  cursor: default;
}
.xterm.xterm-cursor-pointer,
.xterm .xterm-cursor-pointer {
  cursor: pointer;
}
.xterm.column-select.focus {
  cursor: crosshair;
}
.xterm .xterm-accessibility:not(.debug),
.xterm .xterm-message {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  color: transparent;
  pointer-events: none;
}
.xterm .xterm-accessibility-tree:not(.debug) *::selection {
  color: transparent;
}
.xterm .xterm-accessibility-tree {
  font-family: monospace;
  user-select: text;
  white-space: pre;
}
.xterm .xterm-accessibility-tree > div {
  transform-origin: left;
  width: fit-content;
}
.xterm .live-region {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.xterm-dim {
  opacity: 1 !important;
}
.xterm-underline-1 {
  text-decoration: underline;
}
.xterm-underline-2 {
  text-decoration: double underline;
}
.xterm-underline-3 {
  text-decoration: wavy underline;
}
.xterm-underline-4 {
  text-decoration: dotted underline;
}
.xterm-underline-5 {
  text-decoration: dashed underline;
}
.xterm-overline {
  text-decoration: overline;
}
.xterm-overline.xterm-underline-1 {
  text-decoration: overline underline;
}
.xterm-overline.xterm-underline-2 {
  text-decoration: overline double underline;
}
.xterm-overline.xterm-underline-3 {
  text-decoration: overline wavy underline;
}
.xterm-overline.xterm-underline-4 {
  text-decoration: overline dotted underline;
}
.xterm-overline.xterm-underline-5 {
  text-decoration: overline dashed underline;
}
.xterm-strikethrough {
  text-decoration: line-through;
}
.xterm-screen .xterm-decoration-container .xterm-decoration {
  z-index: 6;
  position: absolute;
}
.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
  z-index: 7;
}
.xterm-decoration-overview-ruler {
  z-index: 8;
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}
.xterm-decoration-top {
  z-index: 2;
  position: relative;
}
.xterm .xterm-scrollable-element > .scrollbar {
  cursor: default;
}
.xterm .xterm-scrollable-element > .scrollbar > .scra {
  cursor: pointer;
  font-size: 11px !important;
}
.xterm .xterm-scrollable-element > .visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0);
  transition: opacity 100ms linear;
  z-index: 11;
}
.xterm .xterm-scrollable-element > .invisible {
  opacity: 0;
  pointer-events: none;
}
.xterm .xterm-scrollable-element > .invisible.fade {
  transition: opacity 800ms linear;
}
.xterm .xterm-scrollable-element > .shadow {
  position: absolute;
  display: none;
}
.xterm .xterm-scrollable-element > .shadow.top {
  display: block;
  top: 0;
  left: 3px;
  height: 3px;
  width: 100%;
  box-shadow: var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset;
}
.xterm .xterm-scrollable-element > .shadow.left {
  display: block;
  top: 3px;
  left: 0;
  height: 100%;
  width: 3px;
  box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
}
.xterm .xterm-scrollable-element > .shadow.top-left-corner {
  display: block;
  top: 0;
  left: 0;
  height: 3px;
  width: 3px;
}
.xterm .xterm-scrollable-element > .shadow.top.left {
  box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
}

/* src/theme.css */
@property --hue { syntax: "<number>|<angle>"; inherits: true; initial-value: 240deg; }
@property --fg-light { syntax: "<percentage>"; inherits: true; initial-value: 73%; }
@property --bg-light { syntax: "<percentage>"; inherits: true; initial-value: 13.3%; }
@property --light-step { syntax: "<percentage>"; inherits: true; initial-value: 6.6%; }
@property --bg-light-status { syntax: "<percentage>"; inherits: true; initial-value: 33%; }
html {
  --bg-normal: hsl(0 0 var(--bg-light));
  --bg-menu: hsl(0 0 calc(var(--bg-light) - var(--light-step)));
  --bg-accent: hsl(var(--hue) 15 calc(var(--bg-light) + (var(--light-step) * 2)));
  --bg-alt: hsl(var(--hue) 5 calc(var(--bg-light) + var(--light-step)));
  --bg-strong: hsl(var(--hue) 20 calc(var(--bg-light) + var(--light-step)));
  --bg-elevated: hsl(from var(--bg-menu) h s l / 95%);
  --bg-danger: hsl(from var(--bg-strong) 0 s l);
  --bg-error: hsl(0 40 var(--bg-light-status));
  --bg-warning: hsl(60 40 var(--bg-light-status));
  --bg-success: hsl(120 40 var(--bg-light-status));
  --fg-normal: hsl(0 0 var(--fg-light));
  --fg-accent: hsl(var(--hue) 15 var(--fg-light));
  --fg-strong: hsl(var(--hue) 25 calc(var(--fg-light) - var(--light-step)));
  --fg-disabled: hsl(0 0 calc(var(--fg-light) - var(--light-step)));
  --fg-danger: hsl(0 33 var(--fg-light));
  --fg-error: hsl(0 50 calc(var(--fg-light) - var(--light-step)));
  --fg-warning: hsl(60 50 calc(var(--fg-light) - var(--light-step)));
  --green: hsl(140 50 50);
  --border-disabled: 1px solid hsl(0 5 calc(var(--bg-light) - var(--light-step)));
  --border-accent: 1px solid hsl(var(--hue) 10 calc(var(--bg-light) + (var(--light-step) * 3)));
  --border-alt: 1px solid var(--bg-alt);
  --border-strong: 1px solid hsl(var(--hue) 20 calc(var(--bg-light) + (var(--light-step) * 3)));
  --border-elevated: 1px solid hsl(var(--hue) 10 calc(var(--fg-light) - var(--light-step)));
  --border-error: 1px solid hsl(0 50 var(--fg-light));
  --border-warning: 1px solid hsl(60 50 var(--fg-light));
  --border-success: 1px solid hsl(120 50 var(--fg-light));
}

/* src/styles.css */
:root {
  --hue: 240deg;
  --fg-light: 80%;
  --bg-light: 16%;
  --light-step: 8%;
  color-scheme: dark;
}
* {
  color: var(--fg-normal);
}
body {
  font-family: sans-serif;
  background-color: var(--bg-normal);
}
ul {
  list-style: none;
}
button {
  background-color: var(--bg-alt);
  border: var(--border-accent);
  border-radius: 0.5em;
  padding: 0.5em;
  cursor: pointer;
  line-height: 1.25;
  vertical-align: middle;
}
button:disabled {
  background-color: var(--bg-normal);
  border: var(--border-disabled);
  color: var(--fg-disabled);
  border-radius: 0.5em;
  padding: 0.5em;
  cursor: pointer;
}
input,
textarea,
select {
  background-color: var(--bg-menu);
  border: var(--border-accent);
  border-radius: 0.25em;
  padding: 0.25em;
  accent-color: var(--fg-normal);
  resize: none;
}
:focus {
  outline: none;
}
dialog {
  border: var(--border-elevated);
  border-radius: 0.5em;
  background-color: var(--bg-menu);
  min-width: 25em;
}
#location {
  padding: 0.25em 1em;
  border-radius: 0.5em;
  flex-grow: 1;
}
#nav {
  z-index: 9;
  position: fixed;
  top: 0.5em;
  height: 2em;
  left: 0.5em;
  width: calc(100% - 1em);
  display: flex;
  gap: 0.25em;
  align-items: center;
  button {
    border-radius: 0.5em 0.5em 0 0;
  }
  button:hover {
    background-color: var(--bg-accent);
  }
  button.active {
    border-bottom: none;
  }
  * {
    padding: 0.5em 1em;
    background-color: var(--bg-alt);
    border: var(--border-accent);
  }
}
.tab {
  border: var(--border-accent);
  border-radius: 1em;
  position: fixed;
  inset: 3em 0.5em 0.5em;
  margin: 0;
  .top {
    position: absolute;
    left: 1em;
    top: 0.5em;
  }
  ul {
    position: absolute;
    inset: 6em 1em 0;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-left: 0;
  }
  li {
    border-radius: 0.25em;
    padding: 0.25em;
  }
}
#config {
  display: flex;
  flex-direction: column;
  padding: 0.5em 1em 4em;
  .top,
  ul {
    position: static;
    inset: auto;
  }
  .top p {
    margin: 0 0 0.5em;
  }
  .cmdline {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
    label {
      white-space: nowrap;
    }
    input {
      flex: 1;
      min-width: 0;
      font-family: monospace;
    }
  }
  ul {
    flex: 1;
    margin: 0.5em 0 0;
  }
  .add {
    position: absolute;
    left: 1em;
    bottom: 1em;
    padding: 0.5em 1em;
  }
  .manage {
    position: absolute;
    right: 1em;
    bottom: 1em;
  }
}
#explorer {
  padding: 1em;
  ul {
    inset: 8em 1em 0;
  }
  li {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 0.25em;
    p {
      white-space: nowrap;
      margin: 0;
      padding: 0.25em;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    p.name {
      flex-grow: 1;
    }
    p.size {
      flex: 0 0 5em;
    }
    p.mtime {
      flex: 0 0 12em;
    }
  }
  li.header {
    font-weight: bold;
    position: relative;
    top: 6em;
  }
  li.entry {
    border: var(--border-alt);
    border-radius: 0.5em;
    input.entry-rename {
      display: inline;
    }
  }
  li.entry.selected {
    border: var(--border-strong);
    border-radius: 0.5em;
  }
  .menu {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
  }
  .menu .contents {
    padding: 1em;
    display: flex;
    flex-direction: column;
    border: var(--border-elevated);
    background-color: var(--bg-elevated);
    border-radius: 0.5em;
    user-select: none;
    div {
      padding: 0.5em;
    }
    div:hover {
      background-color: var(--bg-strong);
      border-radius: 0.5em;
    }
  }
  dialog.create {
    .inputs {
      display: flex;
      flex-direction: column;
      gap: 0.5em;
      margin-bottom: 3em;
    }
    .error {
      height: 0;
    }
    label {
      font-size: 0.75em;
      display: inline-block;
    }
    button.cancel {
      position: absolute;
      left: 0.5em;
      bottom: 0.5em;
    }
    button.create {
      position: absolute;
      right: 0.5em;
      bottom: 0.5em;
    }
  }
}
#editor textarea.content {
  position: absolute;
  inset: 9em 1em 1em;
  border-radius: 0.5em;
  border: none;
}
#terminal-container {
  position: absolute;
  inset: 5em 1em 1em;
  overflow-y: scroll;
}
dialog.page {
  button.cancel {
    position: absolute;
    left: 0.5em;
    bottom: 0.5em;
  }
  button.okay {
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
  }
  :last-child {
    margin-bottom: 3em;
  }
}
#confirm,
#alert {
  text-align: center;
}
::selection {
  background-color: var(--bg-accent);
}
/*! Bundled license information:

@xterm/xterm/css/xterm.css:
  (**
   * Copyright (c) 2014 The xterm.js authors. All rights reserved.
   * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
   * https://github.com/chjj/term.js
   * @license MIT
   *
   * Permission is hereby granted, free of charge, to any person obtaining a copy
   * of this software and associated documentation files (the "Software"), to deal
   * in the Software without restriction, including without limitation the rights
   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   * copies of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be included in
   * all copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   * THE SOFTWARE.
   *
   * Originally forked from (with the author's permission):
   *   Fabrice Bellard's javascript vt100 for jslinux:
   *   http://bellard.org/jslinux/
   *   Copyright (c) 2011 Fabrice Bellard
   *   The original design remains. The terminal itself
   *   has been extended to include xterm CSI codes, among
   *   other features.
   *)
*/
/*# sourceMappingURL=index.css.map */
