.canvas-panel {
    width: 500px;
    min-width: 300px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: var(--bg-secondary);
    min-height: 0;
}

.canvas-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    height: 42px;
}

.canvas-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 10px;
    min-height: 0;
    overflow: hidden;
}

#canvas {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.h-resize-handle {
    height: 6px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    cursor: row-resize;
    flex-shrink: 0;
    transition: background 0.15s;
    z-index: 10;
    position: relative;
}

.h-resize-handle:hover,
.h-resize-handle.active {
    background: var(--accent-green);
}

.console-wrapper {
    flex: 0 0 auto;
    height: 140px;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}
