/* Reset, Base, Utilities, Typography, App Container */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
    font-family: var(--font-family-sans);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: var(--line-height-normal);
}

/* Utilities */
.hidden { display: none !important; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.flex-center { display: flex; align-items: center; justify-content: center; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-footer-spacer { flex: 1; }
.toolbar-divider {
    width: 1px; height: var(--space-16);
    background: var(--color-border); margin: 0 var(--space-4);
}

/* Typography */
.log-error { color: var(--color-accent-danger); font-weight: var(--font-weight-medium); }
.log-warning { color: var(--color-accent-warning); }
.CodeMirror-linenumber { opacity: 0.4; }

/* App Container */
.app-container { display: flex; flex-direction: column; height: 100vh; }

/* Main Content & Content Panes */
.main-content { flex: 1; overflow: hidden; position: relative; }
.content-pane {
    display: none; position: absolute; inset: 0;
    flex-direction: column; overflow: hidden;
}
.content-pane.active { display: flex; }
