/* --- Tool Interface --- */
.tool-interface {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    margin-bottom: 24px;
    border: 1px solid #EAEAEA;
}

.input-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 16px; 
    font-weight: 700; 
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
}

.btn-text-action { 
    background: none; 
    border: none; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    font-size: 13px; 
}
.text-blue { color: var(--color-primary); }

#tool-input {
    width: 100%;
    height: 250px;
    background: transparent;
    border: none;
    font-family: var(--font-primary);
    font-size: 16px;
    resize: vertical;
    outline: none;
    color: var(--color-text-primary);
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #EAEAEA;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}
.text-dark { color: var(--color-text-primary); }

/* --- Desktop Adjustments --- */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}