
:root {
  --bg-landing: #0a0a0a;
  --bg-editor: #1e1e1e;
  --bg-sidebar: #252526;
  --bg-titlebar: #3c3c3c;
  --bg-tabs: #252526;
  --bg-tabbar: #2d2d2d;
  --bg-terminal: #1a1a1a;
  --bg-status: #007acc;
  --bg-input: #3c3c3c;

  --border: #333333;
  --border-soft: #2b2b2b;

  --text: #d4d4d4;
  --text-bright: #e8e8e8;
  --text-dim: #9d9d9d;
  --text-faint: #6e6e6e;

  --accent: #007acc;
  --accent-hover: #1f8ad2;
  --accent-soft: rgba(0, 122, 204, 0.18);
  --indigo: #6366f1;
  --indigo-hover: #7375f3;

  --tl-ok: #89d185;
  --tl-err: #f14c4c;
  --tl-warn: #cca700;
  --tl-info: #3794ff;

  --syn-kw: #569cd6;
  --syn-str: #ce9178;
  --syn-num: #b5cea8;
  --syn-com: #6a9955;
  --syn-fn: #dcdcaa;
  --syn-type: #4ec9b0;
  --syn-prop: #9cdcfe;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --code-size: 13px;
  --line-h: 20px;
  --code-pad-x: 16px;
  --code-pad-y: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg-editor);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: var(--syn-prop);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--accent-hover);
  outline-offset: -1px;
}

.is-hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #4f4f4f transparent;
}

*::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: #4f4f4f80;
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #5f5f5f;
  background-clip: content-box;
  border: 3px solid transparent;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

.landing {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-landing);
  overflow-y: auto;
}

.landing.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-inner {
  text-align: center;
  padding: 48px 24px;
  max-width: 680px;
}

.landing-brand {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.landing-title {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--indigo);
}

.landing-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.landing-desc {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}

.landing-table {
  margin: 36px auto 0;
  border-collapse: collapse;
  text-align: left;
}

.landing-table th {
  padding: 0 32px 8px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid #2a2a2a;
}

.landing-table td {
  padding: 6px 32px 6px 0;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid #1d1d1d;
}

.landing-table tbody tr:last-child td {
  border-bottom: 0;
}

.landing-table td:first-child {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.landing-table td:last-child {
  color: var(--text-dim);
}

.landing-cta {
  margin-top: 40px;
  display: inline-block;
  padding: 11px 34px;
  background: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
}

.landing-cta:hover {
  background: var(--indigo-hover);
}

.landing-cta:active {
  background: #5457d6;
}

.landing-note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-faint);
}

.landing-faq {
  margin-top: 44px;
  text-align: left;
}

.landing-faq-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.landing-faq h3 {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.landing-faq p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.landing-seo {
  margin-top: 40px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
}

.ide {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 36px;
  min-height: 36px;
  padding: 0 8px 0 0;
  background: var(--bg-titlebar);
  border-bottom: 1px solid #2a2a2a;
  user-select: none;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 35px;
  color: var(--text-dim);
  border-radius: 4px;
}

.icon-btn:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.06);
}

.icon-btn.is-active {
  color: var(--text-bright);
}

.titlebar-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.titlebar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-label {
  pointer-events: none;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8cdf8;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.workbench {
  flex: 1;
  display: flex;
  min-height: 0;
}

.sidebar {
  width: 232px;
  min-width: 232px;
  display: flex;
  flex-direction: column;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-soft);
  overflow-y: auto;
  transition: margin-left 160ms ease;
}

body.sidebar-collapsed .sidebar {
  margin-left: -232px;
}

.side-section {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.side-section:last-of-type {
  border-bottom: 0;
}

.side-header {
  padding: 10px 18px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  user-select: none;
}

.file-tree {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 4px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 10px 4px 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.file-item:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.035);
}

.file-item.is-active {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--accent);
}

.file-ico {
  flex-shrink: 0;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-tag {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  padding: 1px 4px;
}

.setting {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
}

.setting-label {
  flex: 0 0 52px;
  font-size: 11px;
  color: var(--text-dim);
  user-select: none;
}

.setting-select,
.setting-input {
  flex: 1;
  min-width: 0;
  height: 26px;
  padding: 0 8px;
  background: var(--bg-input);
  border: 1px solid #4a4a4a;
  border-radius: 3px;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.setting-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 24px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239d9d9d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
}

.setting-select:hover,
.setting-input:hover {
  border-color: #5a5a5a;
}

.setting-select:focus,
.setting-input:focus {
  outline: none;
  border-color: var(--accent);
}

.setting-select option {
  background: var(--bg-sidebar);
  color: var(--text-bright);
}

.setting-input::placeholder {
  color: var(--text-faint);
}

.setting.is-off,
.setting-check.is-off {
  opacity: 0.45;
  pointer-events: none;
}

.vm-note {
  margin: 6px 14px 8px;
  padding: 8px 10px;
  background: rgba(204, 167, 0, 0.08);
  border: 1px solid rgba(204, 167, 0, 0.3);
  border-left: 3px solid var(--tl-warn);
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.55;
  color: #e4c975;
}

.vm-note a {
  color: #f0d98c;
}

.setting-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px;
  cursor: pointer;
  user-select: none;
}

.setting-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.setting-check-box {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #5a5a5a;
  border-radius: 3px;
  background: var(--bg-input);
  display: grid;
  place-content: center;
  transition: background 100ms ease, border-color 100ms ease;
}

.setting-check-box::before {
  content: "";
  width: 8px;
  height: 4.5px;
  border-left: 1.7px solid #fff;
  border-bottom: 1.7px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}

.setting-check input:checked + .setting-check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.setting-check input:checked + .setting-check-box::before {
  opacity: 1;
}

.setting-check input:focus-visible + .setting-check-box {
  outline: 1px solid var(--accent-hover);
  outline-offset: 1px;
}

.setting-check-text {
  font-size: 12px;
  color: var(--text-dim);
}

.setting-check:hover .setting-check-text {
  color: var(--text-bright);
}

.side-footer {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.6;
}

.side-footer a {
  color: var(--text-dim);
  border-bottom: 1px solid #3a3a3a;
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  background: var(--bg-tabs);
  border-bottom: 1px solid var(--border-soft);
  user-select: none;
}

.tabs-left {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-left::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  background: var(--bg-tabbar);
  border-right: 1px solid var(--border-soft);
  box-shadow: inset 0 1.5px 0 transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 100ms ease, background 100ms ease;
}

.tab:hover:not(.is-active) {
  color: var(--text-dim);
  background: #303030;
}

.tab.is-active {
  color: var(--text-bright);
  background: var(--bg-editor);
  box-shadow: inset 0 1.5px 0 var(--accent);
}

.tab-ico {
  flex-shrink: 0;
}

.tab-tag {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  padding: 1px 4px;
}

.tabs-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.tabs-divider {
  width: 1px;
  height: 18px;
  background: #3d3d3d;
}

.output-stats {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}

.output-stats:not(:empty) {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kbd-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  border: 1px solid #474747;
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 1px 5px;
  background: var(--bg-tabbar);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 4px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 100ms ease, color 100ms ease;
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-bright);
}

.btn-ghost:disabled {
  opacity: 0.35;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  padding: 0 16px;
  background: var(--accent);
  border-radius: 4px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 120ms ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.spinner {
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-primary.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.editor-zone {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.editor-stack {
  flex: 1;
  min-height: 0;
  background: var(--bg-editor);
  overflow: hidden;
}

.code-scroll {
  height: 100%;
  display: flex;
  overflow: hidden;
}

.gutter {
  flex: 0 0 auto;
  min-width: 58px;
  padding: var(--code-pad-y) 0;
  background: var(--bg-editor);
  overflow: hidden;
  user-select: none;
}

.gutter-inner {
  font-family: var(--font-mono);
  font-size: var(--code-size);
  line-height: var(--line-h);
  color: #6e7681;
  text-align: right;
  padding-right: 16px;
  will-change: transform;
}

.gutter-inner .ln {
  position: relative;
  padding-left: 14px;
}

.gutter-inner .ln.ln-err {
  color: var(--tl-err);
}

.gutter-inner .ln.ln-err::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' stroke='%23f14c4c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gutter-inner .ln.ln-active {
  color: var(--text-bright);
}

.editor-body {
  position: relative;
  flex: 1;
  min-width: 0;
  background: var(--bg-editor);
  overflow: hidden;
}

.code-layer {
  margin: 0;
  padding: var(--code-pad-y) var(--code-pad-x);
  font-family: var(--font-mono);
  font-size: var(--code-size);
  font-weight: 400;
  line-height: var(--line-h);
  letter-spacing: 0;
  font-kerning: none;
  font-variant-ligatures: none;
  tab-size: 4;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}

.highlight {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  color: var(--text);
}

.highlight code {
  display: block;
  font: inherit;
  min-height: 100%;
}

.editor-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: transparent;
  caret-color: #aeafad;
  overflow: auto;
  white-space: pre;
}

#editor-input::selection,
#editor-output::selection {
  background: rgba(99, 102, 241, 0.35) !important;
  color: transparent;
}

#editor-input:focus::selection {
  background: rgba(99, 102, 241, 0.35);
  color: #e5e5e5;
}

.editor-input::placeholder {
  color: #5a5a5a;
  -webkit-text-fill-color: #5a5a5a;
}

.current-line {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--line-h);
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid rgba(160, 160, 160, 0.25);
  pointer-events: none;
  display: none;
}

.editor-body.has-cursor .current-line {
  display: block;
}

.bracket-mark {
  position: absolute;
  width: 9px;
  height: var(--line-h);
  border: 1px solid #8889a0;
  border-radius: 2px;
  background: rgba(136, 137, 160, 0.12);
  pointer-events: none;
  display: none;
}

.bracket-mark.is-visible {
  display: block;
}

.tk-kw    { color: var(--syn-kw); }
.tk-str   { color: var(--syn-str); }
.tk-num   { color: var(--syn-num); }
.tk-com   { color: var(--syn-com); font-style: italic; }
.tk-fn    { color: var(--syn-fn); }
.tk-type  { color: var(--syn-type); }
.tk-prop  { color: var(--syn-prop); }
.tk-glob  { color: var(--syn-type); }

.tk-err {
  border-bottom: 2px solid var(--tl-err);
  background: rgba(241, 76, 76, 0.08);
  cursor: help;
}

.terminal {
  flex: 0 0 auto;
  max-height: 40%;
  display: flex;
  flex-direction: column;
  background: var(--bg-terminal);
  border-top: 1px solid var(--border-soft);
  min-height: 34px;
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 0 6px 0 0;
  border-bottom: 1px solid var(--border-soft);
  user-select: none;
}

.terminal-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 6px 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.terminal-title:hover {
  color: var(--text-bright);
}

.terminal-label {
  font-size: 11px;
  font-weight: 500;
}

.terminal-hint {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0;
}

.chev {
  transition: transform 140ms ease;
}

.terminal.is-collapsed .chev {
  transform: rotate(180deg);
}

.terminal-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-term-clear {
  height: 24px;
}

.terminal-body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: max-height 160ms ease;
  max-height: 260px;
}

.terminal.is-collapsed .terminal-body {
  max-height: 0;
  border-bottom: 0;
}

.terminal-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 12px 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

.tl {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.tl-time {
  flex-shrink: 0;
  color: #585c6c;
  font-size: 11px;
}

.tl-msg {
  white-space: pre-wrap;
  word-break: break-word;
}

.tl-ok   { color: var(--tl-ok); }
.tl-err  { color: var(--tl-err); }
.tl-warn { color: var(--tl-warn); }
.tl-info { color: #9cdcfe; }
.tl-plain { color: var(--text-dim); }

.tl .tl-msg {
  color: inherit;
}

.tl-prefix {
  font-weight: 700;
}

.terminal-prompt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal.is-collapsed .terminal-prompt-row {
  display: none;
}

.terminal-prompt-sign {
  color: var(--tl-ok);
  font-weight: 700;
}

.terminal-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  caret-color: #aeafad;
}

.terminal-input::placeholder {
  color: #4b4f5a;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 24px;
  min-height: 24px;
  padding: 0 0 0 12px;
  background: var(--bg-status);
  color: #fff;
  font-size: 11.5px;
  user-select: none;
  overflow: hidden;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  white-space: nowrap;
}

.status-item {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  height: 100%;
  color: rgba(255, 255, 255, 0.9);
}

.status-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

button.status-item {
  font: inherit;
}

.status-problems.has-errors {
  color: #ffd7d7;
  background: rgba(0, 0, 0, 0.22);
}

.status-right {
  padding-right: 4px;
}

.status-beta {
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
  .sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    height: 100%;
    margin-left: 0 !important;
    transform: translateX(0);
    transition: transform 160ms ease;
    box-shadow: 12px 0 30px rgba(0, 0, 0, 0.45);
  }

  body.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .workbench {
    position: relative;
  }

  .kbd-hint,
  .tabs-divider {
    display: none;
  }

  .output-stats {
    display: none;
  }

  .titlebar-title {
    font-size: 11px;
  }

  .status-item {
    padding: 0 6px;
  }

  #len-info,
  .status-spaces {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
