:root {
  --bg: #1e1e1e;
  --bg-elev: #252526;
  --bg-soft: #333337;
  --line: #3c3c3c;
  --txt: #d4d4d4;
  --txt-dim: #9da0a6;
  --brand: #3794ff;
  --activity: #007acc;
  --v1-panel-head-bg: var(--bg-elev);
  --v1-tabs-strip-bg: color-mix(in oklab, var(--bg-elev) 84%, #000 16%);
  --v1-tabs-scroll-overlay-bg: color-mix(in oklab, var(--bg-elev) 74%, #000 26%);
  --v1-empty-state-bg: var(--v1-tabs-strip-bg);
  --v1-empty-logo-opacity: 0.2;
  --v1-empty-logo-filter: grayscale(100%) brightness(0.62) contrast(0.92) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  --v1-faux-scrollbar-size: 10px;
  --v1-scroll-safe-gutter: 14px;
  --font-ui: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
}

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

html {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  font-family: var(--font-ui);
  color: var(--txt);
  background: linear-gradient(165deg, #1e1e1e 0%, #171717 100%);
}

.v1-shell {
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr) 24px;
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }

  .v1-shell {
    inset: 0;
  }
}

/* Flat shell: disable rounding globally in this UI */
.v1-shell,
.v1-shell * {
  border-radius: 0 !important;
}

.v1-shell button,
.v1-shell [data-tool],
.v1-shell [data-menu-action],
.v1-shell [data-v1-console-tab],
.v1-shell [data-panel-toggle] {
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
