body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    height: 100vh;
    background-color: #2f3640;
    color: #f5f6fa;
    user-select: none;
    overflow: hidden;
}
#sidebar {
    width: 280px;
    background-color: #20242c;
    border-right: 1px solid #487eb0;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    height: 100vh;
}
h3 {
    font-size: 12px;
    text-transform: uppercase;
    color: #487eb0;
    margin: 4px 0 1px 0;
    border-bottom: 1px solid #3f4754;
    padding-bottom: 3px;
    letter-spacing: 0.5px;
}
.control-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    background: #2c313c;
    padding: 8px;
    border-radius: 6px;
}
label { font-weight: bold; color: #dcdde1; }
input, select, textarea {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #485460;
    background-color: #1e222b;
    color: #ffffff;
    font-family: monospace;
    font-size: 11px;
    outline: none;
}
textarea { height: 100px; resize: vertical; background: #11141a; color: #2ecc71; }
button {
    padding: 8px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    transition: background 0.1s ease;
}
button:hover { background-color: #2980b9; }
button.secondary { background-color: #8e44ad; }
button.secondary:hover { background-color: #732d91; }
button.success { background-color: #27ae60; }
button.success:hover { background-color: #219a52; }
button.danger { background-color: #e74c3c; }
button.danger:hover { background-color: #c0392b; }
.row { display: flex; gap: 6px; }
.row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }

#workspace {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1e222b;
    height: 100vh;
}
.canvas-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #ffffff;
}