:root {
    --header-height: 40px;
    --bg-color: #0d1117;
    --header-bg: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --border-color: #30363d;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.unity-header {
    height: var(--header-height);
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-left h1 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#viz-selector {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 32px 6px 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    min-width: 220px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#viz-selector:hover {
    border-color: var(--text-secondary);
}

#viz-selector:focus {
    outline: none;
    border-color: var(--accent-color);
}

.select-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 10px;
}

.viz-container {
    flex: 1;
    position: relative;
    width: 100%;
    background-color: #000;
    /* iframe placeholder bg */
}

#viz-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}