/* RPC – CSS variables, root resets, base typography */

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

        :root {
            --bg-dark: #1a1a1a;
            --bg-panel: #2a2a2a;
            --bg-surface: #333;
            --accent: #0099CC;
            --canvas-bg: #0E0E10;
            --text: #ffffff;
            --text-dim: #ffffff;
            --border: #444;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-dark);
            color: var(--text);
            overflow: hidden;
        }

        .mobile-warning {
            display: none; /* hidden — touch devices now supported */
        }

        html, body {
            overflow-x: hidden;
            height: 100%;
        }
        .app-container {
            display: grid;
            grid-template-columns: 280px 1fr 280px;
            height: 100vh;
            height: 100dvh; /* dynamic viewport height — respects mobile browser chrome */
            min-height: 500px;
        }

        .sidebar, .right-sidebar {
            background: var(--bg-panel);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .sidebar { border-right: 1px solid var(--border); }
        .right-sidebar { border-left: 1px solid var(--border); }

