.tct-wrap {
    max-width: 880px;
    margin: 32px auto;
}

.tct-input {
    width: 100%;
    min-height: 220px;
    padding: 18px;
    font-size: 18px;
    line-height: 1.55;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    resize: vertical;
    box-sizing: border-box;
    background: #fff;
    color: #111827;
}

.tct-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.tct-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.tct-case-buttons,
.tct-utility-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tct-case-buttons button,
.tct-icon-button {
    appearance: none;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.tct-case-buttons button {
    border: 1px solid #111827;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    padding: 11px 18px;
}

.tct-case-buttons button:hover,
.tct-icon-button:hover {
    opacity: 0.9;
}

.tct-case-buttons button:active,
.tct-icon-button:active {
    transform: translateY(1px);
}

.tct-utility-buttons {
    margin-left: auto;
}

.tct-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
}

.tct-icon-button:hover {
    background: #f9fafb;
    color: #111827;
}

.tct-status {
    min-height: 22px;
    margin-top: 10px;
    font-size: 14px;
    color: #4b5563;
}

@media (max-width: 600px) {
    .tct-wrap {
        margin: 24px auto;
    }

    .tct-input {
        min-height: 190px;
        font-size: 16px;
    }

    .tct-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tct-case-buttons button {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    .tct-utility-buttons {
        justify-content: flex-end;
        margin-left: 0;
    }
}
