@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--app-bg);
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* === SIDEBAR LAYOUT HYDRATION BRIDGE === */
.sidebar-bridge {
  position: relative;
  width: var(--sidebar-width-desktop, 300px);
  transform: none;
  opacity: var(--sidebar-opacity-desktop, 1);
  visibility: var(--sidebar-visibility-desktop, visible);
}

@media (max-width: 768px) {
  .sidebar-bridge {
    position: absolute;
    width: var(--sidebar-width-mobile, 100vw);
    transform: var(--sidebar-transform-mobile, translateX(-100%));
    opacity: var(--sidebar-opacity-mobile, 0);
    visibility: var(--sidebar-visibility-mobile, hidden);
  }
}
