.case-container {
    max-width: 900px;
    margin: 0 auto;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.case-btn {
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s;
}

.case-btn:hover {
    background: #f7f7fb;
    border-color: #d0d5dd;
    transform: translateY(-1px);
}

.case-btn:active {
    transform: translateY(0);
}

.btn--code {
    font-family: monospace;
    background: #f0f0f5;
    color: #555;
}

.divider-v {
    width: 1px;
    background: var(--line);
    margin: 0 4px;
}

.text-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}

#inputText {
    width: 100%;
    min-height: 400px;
    padding: 20px;
    border: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    color: #333;
}

#inputText:focus {
    outline: none;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid var(--line);
}

.counts {
    font-size: 13px;
    color: var(--muted);
    font-family: monospace;
}

.actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 600px) {
    .toolbar {
        justify-content: center;
    }
    .bottom-bar {
        flex-direction: column;
        gap: 10px;
    }
}
