.tool-workspace {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 70vh;
    padding-bottom: 2rem;
}

.tool-panel {
    width: 100%;
    max-width: 1200px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toolbar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 1rem;
}

.split-pane {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pane label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

textarea {
    flex: 1;
    width: 100%;
    min-height: 500px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    resize: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

textarea[readonly] {
    background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .split-pane {
        flex-direction: column;
    }
}
