
            @font-face {
                font-family: "Frygia-Bold";
                src: /* url("fonts/Frygia-Bold.woff2") format("woff2"), */
                    /* url("fonts/Frygia-Bold.woff") format("woff"), */
                    /* url("fonts/Frygia-Bold.ttf") format("truetype"); */;
                font-weight: bold;
                font-style: normal;
                font-display: swap;
            }

            @font-face {
                font-family: "Frygia";
                src: /* url("fonts/Frygia-Regular.woff2") format("woff2"), */
                    /* url("fonts/Frygia-Regular.woff") format("woff"), */
                    /* url("fonts/Frygia-Regular.ttf") format("truetype"); */;
                font-weight: normal;
                font-style: normal;
                font-display: swap;
            }

            html,
            body {
                height: 100%;
                margin: 0;
                padding: 0;
                overflow: hidden;
                font-family:
                    "Frygia",
                    -apple-system,
                    BlinkMacSystemFont,
                    "Segoe UI",
                    Roboto,
                    Helvetica,
                    Arial,
                    sans-serif;
                background-color: #f0f2f5;
                color: #333;
            }

            .title-area {
                position: absolute;
                top: 20px;
                left: 25px;
                z-index: 10;
            }
            .title-area h1 {
                margin: 0 0 4px 0;
                font-size: 26px;
                color: #161616;
                font-family: "Frygia-Bold", "Frygia", sans-serif;
            }
            .title-area a {
                font-size: 14px;
                color: #555;
                text-decoration: none;
            }
            .title-area a:hover {
                text-decoration: underline;
            }

            .app-container {
                display: flex;
                flex-direction: column;
                align-items: center;
                height: 100vh; /* Full viewport height */
                padding-top: 80px; /* Space for title */
                padding-bottom: 20px; /* Space at the bottom */
                box-sizing: border-box;
            }

            .main-content {
                display: flex;
                width: 70vw;
                max-width: 1400px;
                height: 60vh;
                min-height: 400px;
                border: 1px solid #d9d9d9;
                background-color: #fff;
                border-radius: 6px;
                overflow: hidden;
                flex-shrink: 0; /* Prevent shrinking if console grows */
            }

            .editor-pane {
                flex: 1 1 auto;
                min-width: 300px;
                display: flex;
                flex-direction: column;
                border-right: 1px solid #d9d9d9;
                overflow: hidden;
            }

            #editor {
                flex-grow: 1;
                width: 100%;
                height: 100%;
                border: none;
            }

            .canvas-pane {
                height: 100%;
                flex-shrink: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #f7f7f7;
            }

            #colorCanvas {
                width: 100%;
                height: 100%;
                display: block;
                background-color: white;
            }

            .buttons-area {
                width: 70vw;
                max-width: 1400px;
                margin-top: 20px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-shrink: 0; /* Prevent shrinking */
            }

            .action-button,
            .control-button {
                padding: 10px 18px;
                cursor: pointer;
                border: none;
                background-color: #161616;
                color: white;
                border-radius: 5px;
                font-size: 14px;
                font-family: "Frygia", sans-serif;
                font-weight: 500;
                transition:
                    background-color 0.2s ease,
                    opacity 0.2s ease;
                display: inline-flex;
                align-items: center;
                gap: 8px;
            }
            .action-button:hover,
            .control-button:hover {
                background-color: #333333;
            }
            .action-button:active,
            .control-button:active {
                opacity: 0.85;
            }
            .action-button:disabled,
            .control-button:disabled {
                background-color: #555;
                cursor: not-allowed;
                opacity: 0.7;
            }

            .action-button svg,
            .control-button svg {
                width: 18px;
                height: 18px;
                fill: none;
                stroke: currentColor;
                stroke-width: 2;
                stroke-linecap: round;
                stroke-linejoin: round;
            }

            .right-buttons {
                display: flex;
                gap: 10px;
            }

            #consoleOutput {
                width: 70vw;
                max-width: 1400px;
                margin-top: 20px;
                border: 1px solid #d9d9d9;
                background-color: #161616;
                color: #e0e0e0;
                padding: 12px 15px;
                overflow-y: auto;
                display: none;
                box-sizing: border-box;
                font-family: "SFMono-Regular", Consolas, "Liberation Mono",
                    Menlo, Courier, monospace;
                font-size: 0.85em;
                white-space: pre-wrap;
                border-radius: 5px;
                flex-grow: 1; /* Takes up remaining vertical space in app-container */
                min-height: 40px; /* Minimum visible height */
                max-height: 25vh; /* Maximum height to prevent it taking too much space */
            }
            #consoleOutput .error {
                color: #ff6b6b;
                font-weight: bold;
            }
            #consoleOutput .warn {
                color: #f9ca24;
            }
            #consoleOutput .log {
                color: #555555;
            }
            #consoleOutput .info {
                color: #555555;
            }