* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
    background-color: var(--bg-body);
    color: var(--text-base);
    width: 100%;
    overflow-x: hidden;
}

/* IDE-specific: lock viewport for the compiler workspace */
body:not(.page-static) {
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

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

input,
textarea {
    font-family: inherit;
}