/* ./styles/base.css */
:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #101113;
  color: #f1eee8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
}

.desktop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #101113;
}

.window {
  position: absolute;
  min-width: 160px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #15171b;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.4);
}

.window.focused {
  border-color: #333741;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.4);
}

.window.minimized {
  display: none;
}

.window.expanded {
  border-radius: 0;
}

.titlebar {
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid #333741;
  background: #20232a;
  cursor: grab;
  user-select: none;
}

.titlebar:active {
  cursor: grabbing;
}

.window-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.window-content > * {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.46);
  border-radius: 50%;
  color: #111111;
  background: #555566;
  cursor: pointer;
}

.button-icon {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.window.focused .close,
.close:hover,
.close:focus-visible {
  background: #c95f5a;
}

.window.focused .minimize,
.minimize:hover,
.minimize:focus-visible {
  background: #d3a852;
}

.window.focused .maximize,
.maximize:hover,
.maximize:focus-visible {
  background: #789b6d;
}

.button:hover .button-icon,
.button:focus-visible .button-icon {
  opacity: 1;
}

.button-glyph {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 22px 26px;
  line-height: 1.55;
}

.content h1,
.content h2,
.content h3 {
  margin: 0 0 14px;
  line-height: 1.15;
}

.content p {
  margin: 0 0 14px;
  max-width: 72ch;
}

.content pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.resize-handle {
  position: absolute;
  z-index: 2;
}

.resize-t,
.resize-b {
  left: 10px;
  right: 10px;
  height: 5px;
}

.resize-l,
.resize-r {
  top: 10px;
  bottom: 10px;
  width: 5px;
}

.resize-t {
  top: 0;
  cursor: ns-resize;
}

.resize-b {
  bottom: 0;
  cursor: ns-resize;
}

.resize-l {
  left: 0;
  cursor: ew-resize;
}

.resize-r {
  right: 0;
  cursor: ew-resize;
}

.resize-tl,
.resize-tr,
.resize-bl,
.resize-br {
  width: 10px;
  height: 10px;
}

.resize-tl {
  left: 0;
  top: 0;
  cursor: nwse-resize;
}

.resize-tr {
  right: 0;
  top: 0;
  cursor: nesw-resize;
}

.resize-bl {
  left: 0;
  bottom: 0;
  cursor: nesw-resize;
}

.resize-br {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.snap-preview {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border: 2px solid rgba(211, 168, 82, 0.62);
  border-radius: 8px;
  background: rgba(211, 168, 82, 0.1);
}


/* ./styles/terminal.css */
.terminal {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: auto;
  padding: 14px 16px;
  background: #101113;
  color: #e4e0d7;
  font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.terminal-scrollback {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.terminal-line {
  min-height: 18.85px;
  line-height: inherit;
  overflow-wrap: anywhere;
}

.terminal-suggestions {
  z-index: 3;
  display: none;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-height: 72px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #7f95b8;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.terminal-suggestions.visible {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.terminal-prompt-row {
  display: flex;
  align-items: baseline;
  min-height: 18.85px;
  line-height: inherit;
}

.terminal-prompt {
  flex: 0 0 auto;
}

.terminal-input-wrap {
  position: relative;
  min-width: 1ch;
  flex: 1;
  line-height: inherit;
}

.terminal-input-mirror {
  display: inline;
  white-space: pre;
}

.terminal input {
  position: absolute;
  inset: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: none;
  color: transparent;
  background: transparent;
  caret-color: #f1eee8;
  font: inherit;
  line-height: inherit;
}


/* ./styles/music.css */
.music-player {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(90px, 1fr);
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  background: #15171b;
  color: #e4e0d7;
}

.music-now-playing {
  min-width: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.music-artwork {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #20232a;
}

.music-artwork-glyph {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #d3a852;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-track-details {
  min-width: 0;
}

.music-eyebrow,
.music-queue-title,
.music-queue-count {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.music-eyebrow {
  margin-bottom: 5px;
  color: #9da3ad;
}

.music-title {
  overflow: hidden;
  color: #f1eee8;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-subtitle {
  margin-top: 7px;
  overflow: hidden;
  color: #9da3ad;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-playback {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #101113;
}

.music-timeline {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}

.music-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.music-button {
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #333741;
  border-radius: 6px;
  color: #f1eee8;
  background: #20232a;
  font: inherit;
  font-weight: 680;
  cursor: pointer;
}

.music-button.emphasis {
  border-color: #d3a852;
  color: #171a20;
  background: #d3a852;
}

.music-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.music-button.icon-only {
  width: 34px;
  padding: 0;
}

.music-controls .music-button.icon-only.emphasis {
  width: 42px;
  height: 42px;
}

.music-glyph {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-controls .music-button.icon-only.emphasis .music-glyph {
  width: 19px;
  height: 19px;
}

.music-button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-button:not(:disabled):hover,
.music-button:not(:disabled):focus-visible {
  border-color: #e4e0d7;
  outline: none;
}

.music-volume-row {
  display: grid;
  grid-template-columns: auto 112px 28px;
  align-items: center;
  gap: 10px;
  justify-self: end;
  opacity: 0.82;
}

.music-time,
.music-volume-label,
.music-volume-value,
.music-message {
  color: #c6cbd3;
  font-size: 12px;
}

.music-time:last-child,
.music-volume-value {
  text-align: right;
}

.music-error {
  color: #f08a8d;
  font-size: 12px;
}

.music-timeline input[type="range"] {
  min-width: 0;
  accent-color: #d3a852;
}

.music-volume-row input[type="range"] {
  min-width: 0;
  accent-color: #7f95b8;
}

.music-queue {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.music-queue-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #333741;
}

.music-queue-title {
  color: #f1eee8;
}

.music-queue-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #171a20;
  background: #7f95b8;
  text-align: center;
}

.music-queue-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}

.music-queue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}

.music-queue-row.active {
  border-color: #333741;
  background: #20232a;
}

.music-queue-row:hover,
.music-queue-row:focus-visible {
  border-color: #4b5260;
  outline: none;
}

.music-queue-row .music-button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
}

.music-queue-row .music-glyph {
  width: 14px;
  height: 14px;
}

.music-queue-name {
  min-width: 0;
  overflow: hidden;
  color: #d8dbe0;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-empty {
  color: #8d949f;
  font-size: 13px;
}

.music-dialog-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 17, 19, 0.72);
}

.music-dialog {
  width: min(100%, 380px);
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #20232a;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

.music-dialog-title {
  color: #f1eee8;
  font-size: 14px;
  font-weight: 700;
}

.music-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.music-url {
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #333741;
  border-radius: 6px;
  color: #f1eee8;
  background: #101113;
  font: inherit;
  outline: none;
}

.music-url:focus {
  border-color: #d3a852;
}


/* ./styles/file-manager.css */
.file-manager {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  background: #15171b;
  color: #e4e0d7;
  font: 13px/1.35 Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.file-toolbar {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #333741;
  background: #181b21;
}

.file-toolbar-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #333741;
  border-radius: 6px;
  background: #20232a;
  color: #f1eee8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.file-toolbar-button:disabled {
  color: #6a7080;
  cursor: default;
  opacity: 0.72;
}

.file-toolbar-button:not(:disabled):hover,
.file-toolbar-button:not(:disabled):focus-visible {
  border-color: #4b5260;
  background: #272b33;
  outline: none;
}

.file-path {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 0 8px;
  color: #9aa6bd;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px 0;
}

.file-row {
  width: 100%;
  height: 34px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  color: #d8d4cc;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: default;
}

.file-row:hover,
.file-row:focus-visible {
  background: #20232a;
  outline: none;
}

.file-row.selected {
  background: rgba(211, 168, 82, 0.18);
}

.file-entry-icon {
  width: 18px;
  height: 18px;
  justify-self: center;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-entry-icon.folder {
  stroke: #d3a852;
}

.file-entry-icon.file {
  stroke: #7f95b8;
  stroke-width: 2.55;
}

.file-entry-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-entry-meta {
  color: #7a8292;
  font-size: 11px;
}

.file-message {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid #333741;
  font-size: 12px;
}

.file-message.error {
  color: #ef9c9c;
  background: rgba(201, 95, 90, 0.12);
}

.file-message span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-message-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #d8d4cc;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.file-message-close:hover,
.file-message-close:focus-visible {
  color: #f1eee8;
  outline: none;
}

.file-empty {
  flex: 1;
  display: grid;
  place-items: center;
  color: #7a8292;
  font-size: 13px;
}

.file-dialog-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(16, 17, 19, 0.62);
}

.file-dialog {
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #20232a;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.42);
}

.file-dialog-title {
  color: #f1eee8;
  font-size: 14px;
  font-weight: 650;
}

.file-dialog-input {
  height: 32px;
  min-width: 0;
  padding: 0 9px;
  border: 1px solid #4b5260;
  border-radius: 6px;
  outline: none;
  color: #f1eee8;
  background: #15171b;
  font: inherit;
}

.file-dialog-input:focus {
  border-color: #d3a852;
}

.file-dialog-error {
  color: #ef9c9c;
  font-size: 12px;
}

.file-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.file-dialog-button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #333741;
  border-radius: 6px;
  color: #f1eee8;
  background: #20232a;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.file-dialog-button.primary {
  border-color: #b89143;
  background: #d3a852;
  color: #171a20;
}

.file-dialog-button:hover,
.file-dialog-button:focus-visible {
  filter: brightness(1.08);
  outline: none;
}


/* ./styles/code-editor.css */
.code-editor {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  background: #101113;
  color: #e4e0d7;
  font: 13px/1.35 Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.code-editor-toolbar {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #333741;
  background: #181b21;
}

.code-editor-button {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #333741;
  border-radius: 6px;
  background: #20232a;
  color: #f1eee8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.code-editor-button:disabled {
  color: #6a7080;
  cursor: default;
  opacity: 0.72;
}

.code-editor-button:not(:disabled):hover,
.code-editor-button:not(:disabled):focus-visible {
  border-color: #4b5260;
  background: #272b33;
  outline: none;
}

.code-editor-path {
  min-width: 120px;
  height: 28px;
  flex: 1;
  padding: 0 8px;
  border: 1px solid #333741;
  border-radius: 6px;
  outline: none;
  background: #101113;
  color: #e4e0d7;
  font: 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
}

.code-editor-path:focus {
  border-color: #d3a852;
}

.code-editor-status {
  min-width: 58px;
  flex: 0 0 auto;
  color: #9aa6bd;
  font-size: 12px;
  text-align: right;
}

.code-editor-status.saved {
  color: #789b6d;
}

.code-editor-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.code-editor-files {
  width: 190px;
  min-width: 150px;
  display: flex;
  flex: 0 0 190px;
  flex-direction: column;
  border-right: 1px solid #333741;
  background: #15171b;
}

.code-editor-files-header {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #333741;
}

.code-editor-file-header-button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #333741;
  border-radius: 6px;
  color: #e4e0d7;
  background: #20232a;
  font: inherit;
  font-size: 12px;
}

.code-editor-file-header-button:disabled {
  color: #6a7080;
}

.code-editor-cwd {
  min-width: 0;
  overflow: hidden;
  color: #9aa6bd;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-editor-file-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 6px 0;
}

.code-editor-file-row {
  width: 100%;
  height: 30px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #d8d4cc;
  font: inherit;
  text-align: left;
}

.code-editor-file-row:hover,
.code-editor-file-row:focus-visible {
  background: #20232a;
  outline: none;
}

.code-editor-file-row.active {
  background: rgba(211, 168, 82, 0.16);
}

.code-editor-entry-icon {
  width: 16px;
  height: 16px;
  justify-self: center;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.code-editor-entry-icon.folder {
  stroke: #d3a852;
}

.code-editor-entry-icon.file {
  stroke: #7f95b8;
  stroke-width: 2.55;
}

.code-editor-entry-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-editor-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.code-editor-tabs {
  flex: 0 0 34px;
  display: flex;
  align-items: end;
  gap: 2px;
  padding: 5px 6px 0;
  overflow-x: auto;
  border-bottom: 1px solid #333741;
  background: #15171b;
}

.code-editor-tab {
  max-width: 190px;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: #9aa6bd;
  font: inherit;
  font-size: 12px;
}

.code-editor-tab.active {
  border-color: #333741;
  background: #101113;
  color: #f1eee8;
}

.code-editor-tab-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-editor-tab-close {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  color: #7a8292;
}

.tab-close-glyph {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.code-editor-stack {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #101113;
}

.code-editor-highlight,
.code-editor-textarea {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border: 0;
  font: 13px/1.48 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  letter-spacing: 0;
  tab-size: 2;
  white-space: pre;
}

.code-editor-highlight {
  pointer-events: none;
  color: #d8d4cc;
}

.code-editor-textarea {
  z-index: 1;
  resize: none;
  outline: none;
  background: transparent;
  color: transparent;
  caret-color: #f1eee8;
}

.code-editor-textarea::selection {
  background: rgba(127, 149, 184, 0.42);
}

.code-editor-empty,
.code-editor-empty-editor {
  display: grid;
  place-items: center;
  min-height: 0;
  flex: 1;
  color: #7a8292;
}

.code-editor-completions {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 3;
  width: min(280px, calc(100% - 32px));
  max-height: 210px;
  overflow: auto;
  border: 1px solid #333741;
  border-radius: 8px;
  background: #20232a;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.42);
}

.code-editor-completion {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  color: #f1eee8;
  background: transparent;
  font: inherit;
  text-align: left;
}

.code-editor-completion:hover,
.code-editor-completion:focus-visible {
  background: #272b33;
  outline: none;
}

.code-editor-completion-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-editor-completion-detail {
  color: #9aa6bd;
  font-size: 11px;
}

.code-editor-terminal-panel {
  flex: 0 0 150px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #333741;
  background: #101113;
}

.code-editor-terminal-header {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 4px 12px;
  color: #d8d4cc;
  font-size: 12px;
  font-weight: 650;
}

.code-editor-terminal-panel > .terminal {
  flex: 1;
  min-height: 0;
  padding: 8px 12px 12px;
  font-size: 12px;
}

.syntax-comment {
  color: #7a8292;
}

.syntax-string {
  color: #789b6d;
}

.syntax-number {
  color: #c59f6b;
}

.syntax-keyword {
  color: #7f95b8;
  font-weight: 650;
}

.syntax-type,
.syntax-function {
  color: #d3a852;
  font-weight: 650;
}

.syntax-member,
.syntax-annotation {
  color: #b891a8;
}

.syntax-punctuation {
  color: #9aa6bd;
}


/* ./styles/dock.css */
.dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: calc(100vw - 32px);
  min-height: 72px;
  padding: 10px 16px 9px;
  overflow-x: auto;
  transform: translateX(-50%);
  border: 2px solid #333741;
  border-radius: 20px;
  background: #14161a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.dock-item {
  position: relative;
  width: 52px;
  height: 54px;
  display: grid;
  grid-template-rows: 45px 8px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #f1eee8;
  background: transparent;
  cursor: pointer;
  outline: none;
}

.dock-item:focus-visible {
  box-shadow: 0 0 0 1px rgba(211, 168, 82, 0.72);
}

.dock-item.running::after {
  grid-row: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d3a852;
  content: "";
}

.dock-icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  grid-row: 1;
  place-items: center;
  border-radius: 10px;
  background: #e8e1d4;
  overflow: hidden;
  transition:
    transform 120ms ease,
  filter 120ms ease;
}

.dock-icon-blog {
  background: #d3a852;
}

.dock-icon-notes {
  background: #7f95b8;
}

.dock-icon-terminal {
  background: #789b6d;
}

.dock-icon-music {
  background: #c56963;
}

.dock-icon-files {
  background: #d3a852;
}

.dock-icon-code {
  background: #b891a8;
}

.dock-glyph {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #171a20;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-item:hover .dock-icon,
.dock-item:focus-visible .dock-icon {
  filter: brightness(1.06);
}


/* ./styles/tooltip.css */
.web-tooltip {
  position: fixed;
  z-index: 10001;
  max-width: min(220px, calc(100vw - 16px));
  padding: 9px 12px;
  color: #f1eee8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.web-tooltip.arrow-down {
  padding-bottom: 15px;
}

.web-tooltip.arrow-up {
  padding-top: 15px;
}

.web-tooltip.arrow-left {
  padding-left: 18px;
}

.web-tooltip.arrow-right {
  padding-right: 18px;
}

.web-tooltip.visible {
  opacity: 1;
}

.web-tooltip-shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.38));
}

.web-tooltip-shape-path {
  fill: #20232a;
  stroke: #333741;
  stroke-linejoin: round;
  stroke-width: 1;
}

.web-tooltip-label {
  position: relative;
  z-index: 2;
}