.tct-wc-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.tct-wc-input {
    width: 100%;
    min-height: 260px;
    padding: 18px;
    border: 1px solid #dcdcdc;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

.tct-wc-input:focus {
    outline: none;
    border-color: #9f9f9f;
}

.tct-wc-control-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    margin-top: 14px;
}

.tct-wc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tct-wc-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #111827;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    cursor: default;
    user-select: none;
    white-space: nowrap;
}

.tct-wc-pill span {
    color: rgba(255,255,255,.88);
    font-weight: 500;
}

.tct-wc-pill strong {
    color: #ffffff;
    font-weight: 700;
}

.tct-wc-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.tct-wc-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.tct-wc-icon-btn:hover {
    border-color: #bdbdbd;
    background: #fafafa;
    transform: translateY(-1px);
}

.tct-wc-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tct-wc-status {
    min-height: 22px;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
}

@media (max-width: 900px) {
    .tct-wc-control-row {
        grid-template-columns: 1fr;
    }

    .tct-wc-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .tct-wc-input {
        min-height: 220px;
    }

    .tct-wc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tct-wc-pill {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .tct-wc-icon-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .tct-wc-stats {
        grid-template-columns: 1fr;
    }
}
