.app {
    max-width: 600px;
    font-family: Arial, sans-serif;
}

.toolbar {
    display: flex;
    gap: 8px;
    background: #C0C0C0;
    min-height: 20px;
    justify-content: space-between;
}

.toolbar__panel {
    display: flex;
    gap: 8px;
    min-height: 20px;
    flex-wrap: wrap;
}

.toolbar button {
    background: transparent;
    color: #000;
    border: none;
    height: 20px;
    cursor: pointer;
}

.toolbar button:hover {
    background: #5A9B54;
}

.toolbar button:last-child {
    margin-left: auto;
}

button.disabled {
    opacity: 0.5;
}

.editor {
    border: 3px double #C0C0C0;
    height: 100px;
    outline: none;
    padding: 16px;
    background: #0000A5;
    color: #FFFF42;
    position: relative;
}

.editor.changed::before {
    content: '[  ]';
    position: absolute;
    top: -5px;
    left: 16px;
    background: #0000A5;
    font-size: 10px;
    padding: 0 2px;
    font-family: monospace
}

.editor.changed::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 25px;
    background: #51FF4C;
    width: 4px;
    height: 8px;
}

.logger {
    border: 3px double #C0C0C0;
    background: #008080;
    margin: 0;
    padding: 8px;
    color: #fff;
}

.footer {
    height: 30px;
    overflow: hidden;
}
